HNHacker News
TopNewBestAskShowJobs

binaryturtle

539 karma · joined January 3, 2025

Two Turtles, One, and Zero.
submissionscomments
binaryturtle··on Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi
If they are behind a NAT/ stateful firewall there is just so much connections it will handle at once. I think OpenWRT has like 16K max by default, f.ex. So for less than 16K requests by different users/IPs… each is kept for about 1 minute I think… it quickly will go down, I guess. :)

cat /proc/sys/net/netfilter/nf_conntrack_max

Should give some details.

binaryturtle··on Geneva makes public transport temporarily free to combat pollution spike
Many people do not know: "smog" is short for "smoke fog".
binaryturtle··on Weathering Software Winter (2022)
You can't even get Rust of Go to run easily on a slightly older machine (e.g. try it on a OS X Yosemite machine) because all the compatibility issues. That's not even getting to all the "online" dependencies. This are two of the worst language ecosystems in this regard (I don't know anything that would be worse actually.)

No such problems with complex C compiler packages.

Hopefully the gcc Rust project can mitigate some of the issues for Rust (since everyone wants to rust-ify long standing projects these days and hence breaking backwards compatibility of the respective packages just to be "hip & trendy")

binaryturtle··on Truchet Tiles
https://github.com/the-real-tokai/macuahuitl/blob/master/tem...

(how about this fancy version with SVG output? :D No longer a single line though.)

binaryturtle··on Apache HTTP Server: 'RewriteCond expr' always evaluates to true
That feels like something some form of automatic build/feature testing should have caught.
binaryturtle··on Urban Design and Adaptive Reuse in North Korea, Japan, and Singapore
I'm from the EU, not the US.
binaryturtle··on Why does Debian change software?
Why can't I get GNOME stop calling home? (on a Debian installation) Each time I fire up my Debian VM with GNOME here on my OSX host system Little Snitch pops up because some weird connection to a GNOME web endpoint. One major pet peeve of mine.
binaryturtle··on Careless People
It's called the Streisand Effect. :)
binaryturtle··on Better typography with text-wrap pretty
With the current state of Websites and how much resources they waste any text wrapping is probably not an issue at all. :)

I hardly can open any website w/o some anti-bot check burning my CPU to the ground for 1/2 minute or something (if it doesn't manage to entirely crash my Firefox in the process like cloudflare). I rather would wait for 0.2s text wrapping than that, that's for sure. :)

binaryturtle··on Playstation Mod Turns the PSOne into a Crustacean
The site has two different titles. One in the HMTL <title> tag and another one on the page itself. At the time of this writing:

Title Tag: "This Playstation Mod Turns the PSOne Into a Crustacean"

Site Title: "The Carcinisation of PlayStation Is Complete: Say Hello to ‘Playstacean’"

Title here on HN: "Playstation Mod Turns the PSOne into a Crustacean"

So there was no title rewrite, except the omission of the "This" word at the start of the title, and a slightly different word capitalisation.

binaryturtle··on Trapping misbehaving bots in an AI Labyrinth
I don't even use Tor, just an older Firefox. I'm no longer able to visit any site that uses that Cloudflare "human check". Once I whitelist Cloudflare in uBlock and reload to see the captcha the browser starts to busy-loop. Even closing the tab won't fix that. I have to hard kill the whole thing. I consider it straight malware whatever they do.
binaryturtle··on How to GIF (2025 Edition)
Time to block webp by default too. It's still a way too immature format to be relied upon. In fact it already was exploitable (via libwebp), AFAIR. :^)
binaryturtle··on Why do regexes use `$` and `^` as line anchors? (2024)
But isn't the $ usually at the end of the prompt? :)
binaryturtle··on Build a Database in Four Months with Rust and 647 Open-Source Dependencies
Isn't that something that should be posted April 1? I'm really not sure if the author is proud about the fact that his project has so many dependencies. Is that something modern coders aim for these days? I usually try to achieve the exact opposite in my projects.
binaryturtle··on PrivTracker – Private BitTorrent tracker for everyone
If you flip the "private" flag it would change the infohash of the torrent. The "private" flag is part of the info block in the torrent file's data. With an infohash mismatch between the two peers no download would happen.

Obviously after a non-compliant party to the transfer has fully downloaded the file(s) it can do whatever it wants with it afterwards… flip any flags and share via DHT, etc.

I recently shared some —more or less— private data to someone else via BitTorrent. We just used DHT for convenience. It took like 15 minutes for other random peers to pop into the transfer. All of those random peers just fetched the meta data. And indeed, a check on btdig confirmed the whole metadata (file names, file sizes, etc.) leaked. So there's a lot of DHT network scanning going on for sure. It was rather fascinating. No actual data was downloaded/leaked at least.

binaryturtle··on Getting silly with C, part (void*)2
Indeed, enforcing brackets here would be the proper fix, IMHO. :)

I always use brackets too. That's simply a less error-prone style.

← PreviousPage 8 of 8