Recent submissions

Comment · 4 months ago
Hm, on each interview since ever, every time the inevitable "where do you see yourself in X years" question popped up, I was like, I have no ambition of getting promoted to managers, if that's what you mean. I like coding. I want to keep coding. I can advise juniors if _that's_ what you mean. But I want to code.

And here I am. Coding is becoming management in front of my eyes.

Meh :-|

Comment · 7 months ago
> Over the past few months, our former payment provider Nexi S.p.A. (“Nexi”) requested access to private data, which we understood to be specifically the usernames and passwords of our supporters.

I must be missing something, but why is there an expectation that clear text passwords would even be known?

Comment · 2 years ago
Comment · 2 years ago
I'm probably missing something obvious, but diff seems to be handling this just fine?

    # diff -u <(echo '[{"a": "b"}, {"c": "d"}, {"e": "f"}]' | jq) <(echo '[{"a": "b"}, {"e": "f"}]' | jq)
    --- /dev/fd/63 2024-09-09 16:31:23.376841575 +0200
    +++ /dev/fd/62 2024-09-09 16:31:23.376841575 +0200
    @@ -3,9 +3,6 @@
       "a": "b"
       },
       {
    -    "c": "d"
    -  },
    -  {
         "e": "f"
       }
     ]
Comment · 2 years ago
Yeah. The design pattern sounds like there is one state, and it is shared. What STL has looks like, all instances look the same, hence only one state is possible. They are homonyms with slightly different etymologies.
Comment · 2 years ago
Yeah, I have my doubts about the claim. I forgot what I read way back when as an intro book, but I suspect it was more like a month in my case, if that. But I remember having been surprised at various points that there was an undo (C-_), and a clipboard (C-y to paste) including a history (M-y). So yeah, I guess it depends on the scope.

Maybe it's a hyperbole? Dunno, doesn't really read that way.

Comment · 2 years ago
An option if it gets way off would be to just express it as TZ shift. Current rate seems to be about a second every two years, so we have some hundreds of years before we need to even shift by 15 minutes. An amount of divergence that I suspect would not really be even noticeable, especially as it develops over hundreds of years. The TZ code is used widely and regularly and systems tend to know how to handle it. Leap seconds are always a bit of an adventure from what I understand. (I'm not a sysadmin, so I don't know the details.)

Like -- I don't know, but is it actually important that the solar day is tied to "wall clock day" so snugly? So what if it's a couple minutes off...?

Comment · 2 years ago
I think you meant "I don't doubt"? Because none of what you said sounds like a counterargument to what the parent said.
Comment · 2 years ago
Plug in a second mouse then?

The trick that I heard is to just place the mouse on a clock. The second hand jiggles the mouse every minute. Can be stashed away in a drawer or something. Never tried this though.

Comment · 2 years ago
OK, I suppose this could be arranged. The seal has to be over the whole of the "back side" of the envelope, where the flap is. Then put the address and the postage over that, and the post office stamps it.

What confused me was how you would achieve post office stamping over a seal that's on the wrong side of the envelope, where the flap is.

Comment · 2 years ago
You send the envelope unsealed, then seal & stamp it later.
Comment · 2 years ago
I think they mean that a lot of runtime of any benchmark is going to be spent in the C bits of the standard library, and therefore not subject to the JIT. Only the glue code and the bookkeeping or whatnot that the benchmark introduces would be improved by the JIT. This reduces the impact that the JIT can make.
Comment · 2 years ago
I used m4 to that effect to generate some set-like and map-like strongly-typed classes for a j2me project. Must have been 15 years ago.

For C and C++ in particular, X macros are another technique that can be used to generate boilerplate nicely. I use that quite a bit to this day, even in C++, where it's not needed as much due to templates.

Comment · 2 years ago
I think it is. The capitalization is like that because the project name is xCurl, with x. Maybe they should have called it eCurl?
Comment · 3 years ago
FWIW even in my metal days I recognized that the kind of (mostly black) metal that I enjoyed was fairly close to some of my brother's techno that I happened liking. All those droning guitars, layers of synth and screeching vocals are, experience-wise, quite similar to a deep techno DJ set. A music to work to, rather than to analyze -- I guess that's the value I find in it.

Also, I don't listen to hardcore / horror core techno much, but I find it striking how the artists adopt the imagery and themes that I would traditionally associate with metal: horrors, monsters, final battles for future of humanity, etc.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton