bori's comments

bori | 3 years ago | on: Compiler Explorer

I'm looking at the C maxArray example and see that the for loop:

  for (i = 0; i < 65536; i++)
gets compiled as

  .L2:
          add     rax, 8
          cmp     rax, 524288
          jne     .L4
Is there any fundamental reason why the loop increments with 8 instead of 1? Or is this completely arbitrary? Thanks.

bori | 5 years ago | on: 8 Bits Are Enough for a Version Number

Theoretically, the version "number" in this case is technically not a number, because you wouldn't do any math operations with it, it's more like a string. So 3.1415926535897932384626433832795 and 3.14159265358979323846264338327950 are two different strings.

Practically, since TeX will have no new features as they only fix bugs now and the last bugfix release 3.14159265 was 7 years ago, I think we'll actually never get there.

bori | 5 years ago | on: How hard should I push myself?

> Stress isn’t good or bad. It’s a tool. In small doses it’s good, but too much of a good thing becomes a bad thing pretty quickly.

Actually, I think this is a wrong rule of thumb. In my experience, there is more of a "barbell dynamics" (Taleb):

I can take a lot of stress at once, but then I need some time to recover. I find this perfectly healthy and it grows me as a human being. On the other hand, when I'm under constant stress with no relief in sight, that's the real killer.

bori | 5 years ago | on: Don’t pay for 95% (2016)

I think it is useful to not over-optimize your life. You want to be prepared for the 5%. That's why I bought a car recently, even though I advocated for the OP's philosophy before and rented where I could.

"Don't cross a river because it is 4 feet deep on average."

page 1