HNHacker News
TopNewBestAskShowJobs

binaryturtle

539 karma · joined January 3, 2025

Two Turtles, One, and Zero.
submissionscomments
binaryturtle··on Int a = 5; a = a++ + ++a; a =? (2011)
It's defined. And called "operator precedence", both post/pre-increment have a higher precedence than the single "+".

At least according to this: https://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Exp...

I think the main confusion here comes from the fact that "a" is just a value, not a pointer, where it matters when the value/address which the pointer points at is accessed (before of after the increment of the pointer's own 'value').

Anyway… my C skills are rusty. Maybe I get it wrong. :) In any case I always would use brackets to avoid any ambiguity in constructs like this.

binaryturtle··on CERT is releasing six CVEs for serious security vulnerabilities in dnsmasq
That's a bit shameless, indeed.

dnsmasq has served me well for like an eternity in multiple setups for different use cases. As all software it has bugs. And once located those get fixed. Its author is also easy to communicate with.

Why should I switch over to something way less proven? I'm quite sure your software also has bugs, many still not located. Maybe because it's less popular/ less well known nobody cares to hunt for those bugs? Which means even if the numbers of found bugs is less in your software at the moment, and it may look more audited for this reason, it may actually be way less secure.

binaryturtle··on Just Use Go
Bootstrapping a modern/ up-to-date C/C++ compiler works, getting an up-do-date Python onto the system works too. No such issues with either of those. But try the same with Go or Rust and you hit nasty roadblocks (in both cases the older OS was previously supported just fine.)
binaryturtle··on Scaffold a 1990s Geocities-themed static website
Nothing really changed then. Same old, same old. :)
binaryturtle··on Scaffold a 1990s Geocities-themed static website
It doesn't work properly in Netscape 4 actually. B)
binaryturtle··on Guy Goma's Accidental BBC Interview Lives on After 20 Years
But this needs a Cloudflare subscription, or something? I can't open it either. :)
binaryturtle··on Removing fsync from our local storage engine
To truly guarantee things you probably also would need an uncached read afterwards (to verify the data comes back properly from the device). Now that would kill any sort of performance, of course.
binaryturtle··on Just Use Go
Dunno about Homebrew (haven't used that since many years for various reasons), but Apple is certainly pushing things in a way that makes 3rd party developers quickly abandon old systems too. That's true. At least lots of 3rd party developers are very quick to give up if their new Xcode will not cooperate.
binaryturtle··on Just Fucking Use Go
The post was about Go and uses the "The boring choice is the right choice." point at the end. But a compiler that's so quick to abandoned previously perfectly fine supported systems, and basically is bleeding edge, is anything but the "boring right choice". I personally prefer long term stability in the toolchains I use for my projects at least.
binaryturtle··on Just Use Go
Go, similar to Rust, has a horrible ecosystem, IMHO. I want to like it, but they already broke backwards compatibility with older systems (try to get the Go compiler running on a slightly older OS X, f.ex.), and for a compiler that's a no-go to me.
binaryturtle··on AI slop is killing online communities
I can't access gnu.org, because their extreme measurements against the AI bots blocking my slightly older browser.
binaryturtle··on Dithering with CSS
I have to admit I don't think it's visually very appealing like that. It looks more like some sort of error/ glitch. Maybe my old Firefox does it weirdly?
binaryturtle··on From CVS to Git, thirty years of source control
It used to be possible to use GitHub via svn too (but I think they removed that feature a while ago.)
binaryturtle··on From CVS to Git, thirty years of source control
I use Subversion w/o a server too. You can have your repositories locally (file:///Path/to/repository). All my own (single man) projects are in local SVN repositories. For my use case git is just too much extra friction, and I still love to have my one single unique global revisions number that is linearly increasing with each commit. :)
binaryturtle··on Do_not_track
This is just sad. Luckily I do not use any of the listed programs. I threw out Homebrew many years ago when they started this nonsense.

The only tool I have installed currently that does %/"($& like this is Deno (required for yt-dlp now). It phones happily home even if you wrap it into a wrapper script that forces the env variable (in no way I'll pollute my default environment with stuff like this):

    $ cat /usr/local/bin/deno
    #!/bin/sh
    exec env DENO_NO_UPDATE_CHECK=1 /usr/local/packages/deno/latest/bin/deno "$@"

I wish bad dreams to whoever puts such crap into their software! Thankfully I have Little Snitch to catch most of those kind of invasions of my privacy.
binaryturtle··on I'm done making desktop applications (2009)
No, "grass always looks greener on the other side" is a perspective thing. If you stand on your own grass then you look down onto it and see the dirt, but if you look over to the other side you see the gras from the side which makes it look more dense and hides the dirt. But it's the same boring grass everywhere. :)
binaryturtle··on I cancelled Claude: Token issues, declining quality, and poor support
I have a simple rule: I won't pay for that stuff. First they steal all my work to feed into those models, afterwards I shall pay for it? No way!

I use AI, but only what is free-of-charge, and if that doesn't cut it, I just do it like in the good old times, by using my own brain.

binaryturtle··on Kernel code removals driven by LLM-created security reports
I used GitHub's Copilot once and let it check one of my repositories for security issues. It found countless (like 30 or 40 or so for a single PHP file of some ~400 lines). Some even sounded reasonable enough, so I had a closer look, just to make sure. In the end none of it was an issue at all. In some cases it invented problems which would have forced to add wild workaround code around simple calls into the PHP standard library. And that was the only time I wasted my time with that. :D
binaryturtle··on GitHub CLI now collects pseudoanonymous telemetry
Wouldn't telemetry solve this problem automatically? I mean: they should get some signal back when people opt-out no? :)
binaryturtle··on All phones sold in the EU to have replaceable batteries from 2027
How about computers to have replaceable SSDs? There's no point you can exchange the battery when the hard-soldered SSD dies first. (I had more dead SSDs than batteries)
binaryturtle··on Amiga Graphics
Once I played a similar prank to a computer science teacher. Back in the Windows 3.x for Workgroups era this was. I made a screenshot of the desktop (showing a window), and put it on as wallpaper. Took the man a little while to figure out why that window couldn't be closed (after a hard reboot later when the window popped back up :) )
binaryturtle··on Is Your Site Agent-Ready? (By Cloudflare)
It's probably for "agents" that want to make websites for other agents. This has nothing to do with us humanoids.
binaryturtle··on FSF trying to contact Google about spammer sending 10k+ mails from Gmail account
I'm getting a lot, and I mean A LOT, spam recently from various "<IP in reverse notation>.bc.googleusercontent.com" domains. Not sure what can be done about that. But the uptick is very noticeable.
binaryturtle··on Someone bought 30 WordPress plugins and planted a backdoor in all of them
I always force myself to do this too. The only 3rd party python library I regularly use is "requests" basically —a dependency that comes with its own baggage, see the recent controversy about "chardet"— but I go out of my way to grab it from pip instead installing it via pip. :-)

Something like this:

    try:
        import requests
    except ImportError:
        from pip._vendor import requests
binaryturtle··on Dark Castle
I thought it was only me. Or it's temporarily down because some HN overload or something.
binaryturtle··on JSON formatter Chrome plugin now closed and injecting adware
I guess you really need to unpack each and every extensions before installation and carefully inspect the code manually to see if it only would be doing what the extensions is advertising.

Darn…

and I thought that the JSLibCache extension was forcing every site into UTF-8 mode (even those that need to run with a legacy codepage) was a critical issue. A problem I encountered yesterday… took me a while to figure out too.

binaryturtle··on You can't trust macOS Privacy and Security settings
I never used the ~/Documents folder. Lots of apps just trashed their stuff in there over the years making that folder entirely unusable for my actual document files. I would have to dig through the mess to find them. So I have to admit that I don't really understand the extra "care" Apple is doing to this particular folder. Same for the ~/Downloads folder: all my actual downloads go to some other disk, since the system disk is so small. Protecting this two folders would be entirely useless here.

IMHO where it really needs to be protected from when iCloud suddenly starts grabbing everything w/o the user's permission to upload it to some random Apple servers.

binaryturtle··on Muse Spark: Scaling towards personal superintelligence
Looks like it needs a meta account? As soon you hit enter it wants to log-in. I guess I won't try this any time soon. :)
binaryturtle··on Show HN: BAREmail ʕ·ᴥ·ʔ – minimalist Gmail client for bad WiFi
I recall we could dial up a super slow connection over telephone lines, get all our mails into such client in less than 4 minutes over said slow line, just to dial off again.¹ Afterwards we would read all our mails offline with all the time in the world, carefully crafting replies and put those into an "Outgoing" folder for the next time we could dial up a connection again (usually the next day). :)

¹) back then you paid Internet by the minute, or in case of the Deutsche Telekom it was a 4 minute tact in the evening, so you had to wait until after 21:00 to get the cheaper prices.

binaryturtle··on A macOS bug that causes TCP networking to stop working after 49.7 days
Macs that no longer get reboot-requiring updates by Apple usually have long(er) uptimes. :) My record here with my primary Mac mini was a bit over a year. Only to be forced to reboot because of a power outage.

Generally it feels like sometimes you boot into a stable "session" that can go on forever, but often enough you boot in a "session" and something goes wrong quickly and you'll have to reboot after a week or two. But I do experience the same with my Raspberry PI. :)

← PreviousPage 4 of 8Next →