HN user

morazow

71 karma
Posts0
Comments43
View on HN
No posts found.

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."

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.

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.

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..

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];
  }
A Virtual Machine 8 years ago

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.

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.

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

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

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.

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.

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.