Viewing profile — drougge
drougge
HN member- Joined
- Mon, Mar 13, 2023, 5:24 PM UTC
- HN karma
- 35
- Public activity
- 21 items
- HN profile
- View on Hacker News ↗
About drougge
No profile information was provided.
Recent public activity
-
comment
Comment #47599398
Those that have some git status information in their shell prompts should probably make sure they are not bitten by the same git issues. I currently have to following (zsh syntax) …
-
comment
Comment #46846950
Probably inspired by Vinum's "NO FUTURE" for destructive operations. (Vinum was a raid system used on older versions of FreeBSD.)
-
comment
Comment #45856781
This seems interesting, but I got stuck fairly early on when I read "all 32,385 possible input combinations". There are two 8 bit numbers, 16 totally independent bits. That's 65_53…
-
comment
Comment #45721401
There's probably a lot of other memory bugs though. The first thing I looked at was the shell, and almost immediately I spotted an out of bounds write (input[n] = '\0' where n coul…
-
comment
Comment #45646012
The C= 1084S he uses is a more a (very good) PAL TV than a computer monitor, even if it was sold as a monitor. So "576i" in your terminology. (It was also sometimes sold with a TV …
-
comment
Comment #45557259
Surely that 20+ year old CRT didn't run at more than 240Hz? Something other than framerate is at play here.
-
comment
Comment #45273730
I have a related complaint about modern consoles: They are frequently unreadable, because they just have to use all the pixels. I booted Debian (IIRC) on a laptop with a 13" 4K scr…
-
comment
Comment #43855050
One thing that really annoys me about the HTTP standards is that some older version used to say that text/* without a declared charset was definitely latin-1 (don't remember which …
-
comment
Comment #43839385
Using "#!sh" at the top of the file does work, but not predictably. It may execute sh in your current directory, which is what Linux does, but your shell may override that (zsh doe…
-
comment
Comment #42945017
I think it's worth pointing out that the example in the article contains a bug caused by not having shadowing: "const foo3 = try foo.addFeatureB();" should not be using the origina…
-
comment
Comment #42757219
I have now found the documentation for ExecStop (in systemd.service(5)), which hopefully improves my understanding. It definitely seems to be both "cause to stop" and "after (unexp…
-
comment
Comment #42753250
The name sounds like it means "this is how I want you to cause the service to stop" to me (and clearly to others as well). That would be symmetrical with ExecStart meaning "this is…
-
comment
Comment #42109415
VGA is much easier to produce, and the RP2040 can do 1280x1024@60 no problem. The official examples use several clock cycles per pixel (2 IIRC, but it might be even more), but you …
-
comment
Comment #39492340
I have felt for a long time that this half closed state was a mistake. It fails to match naive expectations and can be hard to handle correctly even if you know about it. And as fa…
-
comment
Comment #38956701
I consider myself an old unix person, but I use dc. Possibly to make it more confusing to anyone who looks at what I'm doing. It also gives the math result here of course. % dc 999…
-
comment
Comment #37100434
If you're using a somewhat modern shell there is $RANDOM which gives you a 15 bit random number. So e.g. sleep $((RANDOM / 546)) but I guess most cron jobs run with an extremely co…
-
comment
Comment #36932253
These modern useless scrollbars really anger me. I can theme some things (unless some modern packaging tech makes the app ignore my theme), I can make the ones in Firefox usable bu…
-
comment
Comment #35608314
His mention of Google also links to DDG, so I think it's all intentional. Possibly because the modern word for searching the internet is "to google".
-
comment
Comment #35452695
I'm someone who likes to use fork() and then actually use both processes as they are, with shared copy-on-write memory. I'm happy to use it on things consuming much more than 100MB…
-
comment
Comment #35139880
Part of the problem is probably that termcap uses : as a separator between capabilities. There is \C for colon, but there are implementations that don't support it. If nothing else…
-
comment
Comment #35139213
Colon is the correct separator there. Semicolon separates different instructions, a group of values that is a single instruction is colon separated. For example \e[38:5:196;1m spec…