Hacker Newsnew | past | comments | ask | show | jobs | submit | aseure's commentslogin

Reminds me of the challenge that a former colleague of mine threw to himself to make all country flags in pure CSS [1].

[1] https://pixelastic.github.io/css-flags/


> There seems to be no way to efficiently replay concurrent programs in a deterministic fashion

I wish there was something like Jepsen [1] broadly available to mainstream programming languages to do just that.

[1] https://jepsen.io/consistency


Disclaimer: I'm a developer at Algolia.

IMHO the two main advantages in favor of Algolia, are the sane defaults for relevancy and speed and the fact that the service is hosted and can grow with your business without having dedicated engineers to manage both the configuration and the infrastructure.

Also, on top of the Algolia services per se (search, analytics, recommendation, etc.), we're providing a lot of backend and frontend libraries which one would otherwise need to reimplement when using an elastic- or Solr-based implementations.


Disclaimer: I'm maintaining the Java/Scala/C#/Go API clients at Algolia.

Exilir and Rust would indeed be great additions to our integrations. However, we are really cautious when considering to support new languages. As said in the interview, we try to provide those API clients in the most idiomatic way for each language.

At the moment, we do not have a lot of demands for those languages nor the necessary workforce to onboard on those two languages (only very few people are proficient with those languages at Algolia and we don't have any production code using them IIRC).


Sure, I understand. It was a purely selfish request since 100% of my production code is currently Elixir and I'm also interested in Rust.

Can't blame a dev for being drawn to newer languages!


I would also recommend the good awk blog post series of Jonathan Palardy:

  * http://blog.jpalardy.com/posts/why-learn-awk/
  * http://blog.jpalardy.com/posts/awk-tutorial-part-1/
  * http://blog.jpalardy.com/posts/awk-tutorial-part-2/
  * http://blog.jpalardy.com/posts/awk-tutorial-part-3/


glanced a bit, looks good.. will add it to further reading section, thanks :)

has some minor issues though

> modern (i.e. Perl) regular expressions

nope, supports only ERE.. doesn't have non-greedy, lookarounds, etc

> $ cat netflix.tsv | awk '{printf "%s %15s %.1f\n", $1, $6, $5}' | sed 1d

could have just added NR>1 condition..


Yeah that’s really tough for me. PCRE really sets the bar for modern regular expression engines. Awk predates it by a decade.


TWO decades!


Not to mention that awk takes filename arguments, so this is an egregiously useless use of cat.


From the second post,

> Alternatively, awk '{print $2}' netflix.tsv would have given us the same result. For this tutorial, I use cat to visually separate the input data from the AWK program itself. This also emphasizes that AWK can treat any input and not just existing files.


Not to mention this is the point of the < operator.


Thanks to you... and OP! I have been using posix systems for years but never really touched awk because what I have seen have seemed like archaic chants of dark magic, very good resources for learning about this nifty tool.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: