Better HN
topnewbestaskshowjobs
Log inSign up

morazow

71 karma · joined Apr 21, 2011 (15y ago) · 44 submissions

Submissions

comment 4y ago · link · parent

Hey,

Thanks for the recipe! I am also into fermented recipes.

Quick question, where do you buy Habanero Chilis in Germany? I somehow never saw them in supermarkets or "wochenmarkt"s.

comment 4y ago · link · parent

I also read it this year.

It came very close to me. The society of the book was very similar to the society in which I grew up, Soviet Union in 90s.

Some of the lines from the book:

".. the social consience completely dominates the individual conscience, instead of striking a balance with it. We don't cooperate - we obey. We fear being outcast, being called lazy, dysfunctional, egoizing. We fear our neighbor's opinion more than we respect our own freedom of choice."

"No matter what their society's like, some of them must be decent. People vary here, don't they? Are we all perfect Odonians? But in a sick organism, even a healthy cell is doomed."

comment 5y ago · link · parent

I always remember this exchange with real writer when I see & hear WordStar :)

https://www.youtube.com/watch?v=X5REM-3nWHg

comment 5y ago · link · parent

https://monkey.org/~marius/

Marius also has great profile, I am happy user of his libraries (e.g, finagle)!

comment 5y ago · link · parent

Books:

Introduction to Reliable and Secure Distributed Programming (https://www.amazon.de/-/en/Christian-Cachin/dp/3642152597).

I took a class with Luis Rodrigues (one of the authors), the book introduces the fundamentals of distributed systems. For example, you would build leader election from first principles.

comment 6y ago · link · parent

Looks nice!

I have similar setup and custom unbound docker container based on distroless.

One suggestion: In unbound use more privacy-centric dns providers. https://www.privacytools.io/providers/dns/

comment 6y ago · link · parent

Wow. This was one of the most watched movies around our household during my childhood.

The place in the movie is just near my hometown, old Merv in Turkmenistan.

comment 7y ago · link · parent

ohh wow,

I remember being fascinated with Pascal program that makes snow fall.

Basically, it was white dots on a blue background in an infinite loop. :)

comment 7y ago · link · parent

This is very interesting!

Recently, my colleagues used Voronoi graphs to show how each player controls the field during a football (soccer) game [0].

[0]: https://www.exasol.com/en/blog/controlling-space-in-football...

comment 7y ago · link · parent

Read code reviews of senior developers.

I follow several public and private projects that I do not contribute at all. Any time there is a review comment on a pull request from senior devs, I try to check if it is new to me. If so, I note down the problem and suggestions.

Here are some examples:

- Aleks suggested to limit the try to the places where exceptions can be thrown and move everything else out of the try.

- Thomas suggested to use =StringBuilder= instead of =String.format=. The former is faster and more robust.

- Oscar suggested to use a =parameter object= or a =builder= when there are many (more than 3-4) parameters.

comment 7y ago · link · parent

Off-topic.

Does anyone know how I can convert AST into stream of bytecodes? Are there any good example language implementations to learn?

comment 8y ago · link · parent

Opening the page and seeing first picture made me smile :) That is a place in Turkmenistan!

Coming from there and living in Germany, I wish someday to be able to travel the world possibly with German passport though..

comment 8y ago · link · parent

https://youtu.be/r8RxkpUvxK0?t=536

comment 8y ago · link · parent

How would you rate this solution? Assuming we have static keypad grid.

  long moves(int start = 1, int len) {
    assert(len > 0);
    long[] cur = new long[10];
    for (int i = 0; i < 10; i++) {
      cur[i] = 1;
    }
  
    long[] nxt = new long[10];
    while (len-- > 0) {
      nxt[0] = cur[4] + cur[6];
      nxt[1] = cur[8] + cur[6];
      nxt[2] = cur[7] + cur[9];
      nxt[3] = cur[4] + cur[8];
      nxt[4] = cur[3] + cur[9] + cur[0];
      nxt[5] = 0;
      nxt[6] = cur[1] + cur[7] + cur[0];
      nxt[7] = cur[2] + cur[6];
      nxt[8] = cur[1] + cur[3];
      nxt[9] = cur[4] + cur[2];

      for (int i = 0; i < 10; i++) {
        cur[i] = nxt[i];
      }
    }
  
    return cur[start];
  }

comment 8y ago · link · parent

I did watch live where Nikola solves this problem, https://www.youtube.com/watch?v=kKhnYLpME3w. It covered most of requirements of dynamic programming. For me the interesting part was coming up with algorithmic complexity (Big-O) of the solution.

comment 8y ago · link · parent

If anyone is interested on making compilers / programming languages, there is another recent initiative from Per Vognsen, Bitwise: https://github.com/pervognsen/bitwise.

I occasionally watch streams so far it was very helpful to observe how he makes design decisions, thought process and implementations.

comment 9y ago · link · parent

I thought it was about Linear Discriminant Analysis..

comment 9y ago · link · parent

I would suggest "Introduction to Reliable and Secure Distributed Programming" (https://www.amazon.de/Introduction-Reliable-Secure-Distribut...).

I never read the book, but took a course with author based on this book. It was fun and interesting; covering both basic and advanced concepts in distributed systems.

comment 9y ago · link · parent

I would recommend S3.

Using S3 with EMR in production was breeze for us. Even cost effective, since you can play with spot instances depending on your jobs. You also improve utilization of your resources.

With recent Athena it is possible also to do ad hoc queries directly :) Before it required starting "QA" cluster.

comment 10y ago · link · parent

I recently used https://www.honeypot.io/. And the experience was quite good.

comment 10y ago · link · parent

I usually watch the Apache projects.

Apache Arrow (https://github.com/apache/arrow/) is very interesting and promising project. It is in early state; you can watch the design decisions taken and how they are implemented. Plus it is multi-language project, you can find code in C++, Java and Python.

comment 10y ago · link · parent

Offtopic, I know one person who still uses Wordstar heavily. And I hope he keeps using it :) https://www.youtube.com/watch?v=X5REM-3nWHg

comment 10y ago · link · parent

It is legal in some European countries, for example, Germany and Netherlands.

In Germany, they pay income tax and charge VAT for their services.

comment 10y ago · link · parent

In Ottoman empire the Sultans do not get married, I think it was forbidden. They have Harem, the women are concubines.

The story is that Roxelana (aka Hürrem Sultan) got herself freed and when Süleyman wants her, refuses and tells him "he needs to marry her" since she is not a slave anymore. She was only woman marring a sultan.

His was interesting fact for me also, because it means all sultans are kinda bastards. But a little research shows that children are not considered bastards. Also from religion point of view.

comment 11y ago · link · parent

I highly recommend, Uncertainty: Einstein, Heisenberg, Bohr, and the Struggle for the Soul of Science by Lindley, David

Great read about the beginning of quantum mechanics. I really liked how Lindley depicted thoughts and reactions of great minds to one of controversial topics in physics, quantum mechanics.

comment 11y ago · link · parent

Even though Spoj is great, nowadays contest programming people use some other online judges. http://codeforces.com/ and http://www.codechef.com/ are mostly used platforms.

comment 11y ago · link · parent

I also use org-mode, mostly for writing documents. Customizing embedded code, referencing the lines and in the end publishing to beautiful pdf, html, markdown is really awesome.

comment 12y ago · link · parent

Data is usually replicated across datacenters.

comment 12y ago · link · parent

I think some German corporations will still be reluctant to use it due to replication, etc.
12