- 1 Post
- 9 Comments
sjmulder@lemmy.sdf.orgto
Linux@programming.dev•You Don’t Need A Terminal Multiplexer on Your Desktop
23·1 year agoIt’s how non-Latin Unicode domain names are encoded, in this case one made out of Japanese characters. I suppose it depends on the browser whether or not it shows them.
sjmulder@lemmy.sdf.orgto
Programmer Humor@lemmy.ml•Conveniently enter your phone number with a single input
12·2 years ago2-Factor authentication
Click Continue when your authenticator app shows a code with two leading zeroes.
We don’t even have that rule with CVS. Sometimes you have a merge conflict after cvs up, well then you fix it. That’s how it’s supposed to work.
Two of my favourite tools!
sjmulder@lemmy.sdf.orgto
Programmer Humor@lemmy.ml•[meta] thanks for not camel casing your post titles
2·3 years agoThat’s handled by virtue of
GetWittyReplyExbeingd toGetWittyReplyExAandGetWittyReplyExWright? Just be aware thatnMaxReplyMessageneeds to be specified in bytes (excluding the null terminator!) but the returned length is in characters.
sjmulder@lemmy.sdf.orgto
Programmer Humor@lemmy.ml•[meta] thanks for not camel casing your post titles
4·3 years agoNote that while Visual C++'s msvcrt doesn’t implement this POSIX function officially, there’s a nonstandard
_ofcyfpos_s()and it will in fact warn you that any use of the officialofcyfpos()is unsafe. The semantics are slightly different (it’ll return 1 on success instead of the length of the reply) so you can’t justthe problem away.
sjmulder@lemmy.sdf.orgto
Programmer Humor@lemmy.ml•[meta] thanks for not camel casing your post titles
5·3 years agoDon’t forget to set the
cbSizeof theGETWITTYREPLYEXINFOstructure before passing it toGetWittyReplyEx()or you’ll get funny things happening to your stack!
sjmulder@lemmy.sdf.orgto
Linux@lemmy.ml•what are some advanced linux distros that don't have me compiling everything?
121·3 years agoI like Void, it feels a little more like a BSD. But I’ve only really used it for experimentation, no idea what it’s like as a daily driver.
You could also try an actual BSD. OpenBSD has a very clear style and direction which I like but be careful when partitioning, they have their own ‘disklabel’ system. Updates are really streamlined with syspatch and sysupgrade.
NetBSD had a nice TUI installer. It may appear a bit less focussed on its aims but has a lot going for it: many supporter platforms, a friendly community, etc.
There’s also FreeBSD, DragonflyBSD, possibly more but I don’t have much experience with those.

Luckily the .exe’s MZ header is pretty small. But in this case it was necessary: when DOS loads a .com binary, it can’t know how much memory it will need, so DOS just gives it all free memory. But then the program can’t launch another, because all memory is in use. So that’s why I had to add the MZ header which allows specifying the memory needs.