HNHacker News
TopNewBestAskShowJobs

TacticalCoder

10,158 karma · joined December 4, 2013

email: I'll add a suitable email one of these days
submissionscomments
TacticalCoder··on We could save petabytes of cache storage with Zstandard and Pingora
Yeah, the following sentence in TFA is weird:

> Transcoding does not mean compressing everything. Images, video, and fonts are usually compressed already.

It's because they're already lossily compressed that, precisely, they're the typical targets for transcoding.

EDIT: oops, wrote lossless instead of lossy, sorry about that

TacticalCoder··on Commodore 64 released September 1, 1982
> So would I and I didn't have a great life but if I alter the past I don't meet my missus/have my family so as much as it did suck, I'm happy now and don't want to change anything.

That's the thing right? I love the missus (only met her at 38 y/o but it's been 15 years of love) and our daughter she's now 11 y/o. And it's perfect.

I just wish life would play in slow-mo. The same life, but in slow-mo.

TacticalCoder··on I wanna live an NPC life
Commented elsewhere in the thread before reading the comment (a terrible habit of mine) and I fully agree. The way I explained it to my daughter is this:

"We're all someone else's NPC".

TacticalCoder··on I wanna live an NPC life
We are all someone else's NPC. Even the worldwide famous movie stars. Even the billionaires.

My 11 y/o daughter loves the concept: there's this guy, he always walk his dog at the same hours. We always see him in the neighborhood: same route, same hours, same dog (obviously). And we just call him "the NPC". And seeing the NPC is something for us: if one of us sees it, we mention it to the others. But we always keep in mind that every single one of us are someone else's NPC.

Just to be clear: we're not making fun of the NPC. And we're totally okay with others calling us NPCs.

> be an npc. drive a boring car—who gives a fuck?

Or, you know, don't give a fuck and drive the car you want to drive: a boring car, or an old wreck (which can be either boring or not), a 2CV [1] (a friend drives one --and the same one-- daily since... 35 years), a Toyota Corolla, a Porsche 911... Whatever the heck you feel like owning. For you, not for what the others think.

[1] https://en.wikipedia.org/wiki/Citro%C3%ABn_2CV

TacticalCoder··on Muse Spark 1.3
Meta and Microsoft are two of the absolute worst evil companies on earth and Amodei is trying very hard to join them.

These Effective Altruists are despicable people: a bunch of thieves working to line up their own pockets while posturing as a force of good.

Remember that they schemed to not only present SBF as the 2nd coming of Christ (including in the NYT and in Forbes) but to also give him a voice after his scam had been uncovered. Thankfully, the judge didn't have any of this Effective Altruist bullshit.

SBF invested 500 millions of misappropriated funds in his buddy from the EA movement's Anthropic company (and, thankfully, the judge forced those shares to be sold: so SBF didn't get to be a billionaire).

You cannot hate enough people who say that harming others for the greater good is justified.

Then of course, already mentioned in this thread, there's the whole Epstein/Amodei's "I'm in the porn business" wife connection (where you don't need to squint much to see young women abused).

These kind of people are the absolute worst scum on this earth.

TacticalCoder··on Commodore 64 released September 1, 1982
> Disk drive luxury, all I had was the tape deck.

A friend's father had an incredible stereo-stack, full Nakamishi stuff. We tried hard to copy C64 tapes of commercial games using his stereo gear but got nowhere: I was maybe 12 years old or so.

Eventually noticed (through a window) the neighbors also had a C64, but with a floppy disk drive: so my mom pushed us to dare go ring the bell next door and present ourselves and ask for help. They showed next day at our place with... Their 1541 floppy disk drive and 200 floppies. They explained my mom it'd be much easier if she were to buy me a floppy disk drive...

We're still friends to this day and exchange Telegram messages on a near daily basis.

TacticalCoder··on Commodore 64 released September 1, 1982
It's even a bit crazier than that: the Commodore Amiga 1000 came out in 1985, a bit less than three years after the C64, in july 1985.

A friend of mine, whose father was an art teacher, had an Amiga 1000 at home. Mind blown (I'm super lucky for later on another friend had an early SGI Indy at home for his stepfather was president of SGI Benelux). So I got to see and salivate on those mythic machines early on.

Of course I was stuck on the C64 until the Amiga 500, way more affordable, came out.

Still have my C128 and it was still working last time I cleaned it/tried it (when I was locked inside during Covid) and a few floppy disks were still reading fine (so I took a NOS --new old stock-- pack of 5"1/4 floppies and made a copy of Fast Hack'em and a copy of the Commando game): pure time capsule.

Fetched two C64s too: I know the PSU is tricky on the C64 and I don't know if those work or not. I've got floppy disk readers too.

But reading that headline is bittersweet: I was nine in 1982, I'm now 53. Where have all those years gone? Don't get me wrong, I had a great life (so far) and I'd replay it just the same but... It's still bittersweet to think about my mates and I learning to code on those 8-bit machines. And the games. So many games...

TacticalCoder··on How bicycle coaster brakes work (2018)
> Also for every skid you get on a coaster brake I'll raise you a nose Endo with the front disc brake!

This guy fox!

TacticalCoder··on How bicycle coaster brakes work (2018)
We used to call coaster brakes "torpedo" when I was a kid and, yup, they're totally horrible.

If you've got coaster brakes I don't even know if you can learn to trackstand (you need to both slightly pedal forward and brake, and adjust by slightly pedaling backward): trackstand looks like you're idle but micro-adjustments are constantly happening.

Then I take it probably could wheelie a bicycle with coaster brakes but I fear it'd be hard: same things, you do micro-adjustements and they're not only done with the rear brake. I'm pretty sure I do pedal backward a bit when I do wheelies.

And when I readjust the position of my feet on a bicycle: I do it while backpedalling.

Last time I used a bike with coaster brakes I realized how dependent I became on being able to pedal backwards.

TacticalCoder··on Highlighting My Code Based on How Much I Care
> I disagree with the premise that you need to be able to actively recall facts like this

Same. The goal is to differentiate things. I code mostly in Clojure and I love functional code, so the one thing that really stands out is anything that does mutable things: for example there's swap! in Clojure and that one is "bold fluo blue on a near dark background". I don't use it often, so it sticks out like a sore thumb. But I don't need to remember which hexcode I used for the fluorescent blue: I just know it's obvious.

Same for "rainbow parentheses": it helps visually see where the matching closing parenthesis is without needing to put the cursor on the opening parenthesis (which I can do too if I want).

My color code is mostly toned down too.

TacticalCoder··on uv: Deduplicate all files in the wheel cache
> It's annoying that most file formats don't checksum their own content.

I agree.

> Even formats which should know better, like SQLite, delegate that to the filesystem, most of which are also not checksumed and which delegate that further to the storage.

I mostly run ext4 (desktop, laptops, etc.) but for my main server at home, it's a ZFS (mirrored) tank on an old server with ECC RAM.

And backups. So much backups.

TacticalCoder··on uv: Deduplicate all files in the wheel cache
No sadly I don't have any public repo: it's mostly really a collection of shell scripts and then the database one (for the berzerker/renamer) is in Clojure and I run it from my always-on REPL.

But I know others did similar thing so maybe there are public repos out there. But in any case: it should now be the kind of thing relatively easy to vibe-code if it's for your own use.

TacticalCoder··on uv: Deduplicate all files in the wheel cache
Yup sorry if I mislead people. I usually use 10 hexdigits (40 bits) but no matter how many there are, it's the x bits of the beginning of the checksum that are verified against the hash (in the examples I gave 40 bits).

I wasn't very clear.

TacticalCoder··on uv: Deduplicate all files in the wheel cache
> deduplication at the file level: every file is now stored under its BLAKE3 hash

Blake3 is really a wonderfully fast cryptographic hash. I use it for my own "deduplication / integrity / berzerker" utility (which I made before LLMs were a thing).

If I've got a file named:

    DSC98731-b3-7b39197a22.JPG
then:

    - if that file doesn't checksum back to 7b39197a22 there's a file integrity problem (amazing and it already helped me troubleshoot issues)

    - if any other file has the same Blake3 7b39197a22 hash, it's a duplicate

    - if that 7b39197a22 checksum is in my database, "things can happen".
For example my DB can say "any file with a Blake3 hash of 7b39197a22 can always be deleted" or "any file with a Blake3 hash of 887463c09e, if it's got a generic filename like "dscXXXXX" can always be renamed to "20260722jackJohnAtTheBeach-b3-778463c09e.jpg" (or whatever suits you).

It's really great (and I know several here independently made similar schemes) and Blake3 is an amazing hash for those kind of use.

TacticalCoder··on Damn fine tiny cafe
At some point I was good at making coffee using a moka pot. Strong coffee.

I learned to stop worrying and bought a full-auto machine: I put whole grains in it and coffee comes out. And as a bonus it's cheaper than, say, Nespresso-style capsules (ultra expensive) or drip coffee (if you buy grounded coffee, it's pricier than whole grains).

Neighbor has got the whole professional machine at its place and making coffee is a long ritual for him: it's good if you like to obsess over that kind of thing.

But full-auto coffee machine is easy peasy and I'd say it's 99% of the result (especially with quality grains).

TacticalCoder··on Europe's summer drought is so extreme that desertification is a growing threat
> Tourism is a terrible industry that doesn't even contribute that much to our economy

Portugal is heavily dependent on tourism: it's 10% of the GDP. In the EU not even France is that high: Spain is higher but Portugal's economy definitely depends on tourism.

When stats says: "10% is tourism, 40% is services", if you remove the 10% linked to tourism, the services economy does crash too. And so does the 20% that is "construction": a part of that is second effects from tourism.

You can't just say: "We'll just remove 10% of our GDP and we'll be fine". Firstly even at "only" 10% you'd be totally screwed and then anyway the actual number would be much higher.

TacticalCoder··on Hacking IKEA Furniture
> Take two drawer units, and instead of putting the tops on them they were supplied with, put a slab of desktop across both of them with a gap between and you’ve got yourself a desk.

Definitely. My go-to is three units (I explained it in another comment too): two horizontal along the back wall and the third one in the middle, perpendicular to the wall. Then I put two kitchen countertops: that's now an ultra bad ass T-shaped desk for me and the wife. Plenty of room for monitors, laptops, the printer, physical notebooks, even plants (!) etc.

TacticalCoder··on Hacking IKEA Furniture
> I can just remove some of the dividers

How it's better than that: you can not only rotate them 90 degrees, but you also move the dividers. Now due to how their built, it may not be the sturdiest thing to do but you definitinely can turn a 2x 32 cm into a 1x40cm and 1x24cm. I do that for my PC tower (and the wife's): it's too tall to fit in 32 cm, but then I don't want to waste space. I simply make new holes for dowels (once again, YMMV but I do it since years) and move a divider up.

TacticalCoder··on Hacking IKEA Furniture
> For those of you who look down on IKEA furniture, I'd like to hear about what alternatives you think need mentioning.

Word! My desk at home is a very wide T-shaped desk made of three Kallax and two kitchen countertops: I share it with my wife and there are four monitors, two desktop PC towers (inside modded Kallax), two laptops, one shared printer, etc. and we've still got plenty of room on the desk.

Our chairs: we've each got an Aeron (mine is just out of warranty, 13 years old and the wife's got an used one, don't know how old but older than mine). That's quality stuff (it took me a few minutes to set up correctly: when you put your hands behind your head, an Aeron should lean back and then when you put your hands above the keyboard, it should move forward)... Fun fact: neighbor's kid sat in my chair (by himself, I wasn't offering him to try it) and exclamed "wow, that's a good chair!". My Aeron has already been to four countries with me. The "hit hurts my leg" is bullshit from people who haven't spend the 15 minutes needed to read the manual to set it up correctly.

TacticalCoder··on Cores in space: The core memory module from a 1980 Spacelab computer
Funny to see that frontpage as earlier on today I made a comment saying that with LLMs I'm betting we'll see N-modular redundancy systems soon, with a ultra-hardened, minimal, part picking the majority votes of N LLM-written implementations (in different languages, on different stacks, all running at the same time). Not 100% TFA but "computing in space" involved a lot of N-modular redundancy systems.

The reason I'm 99.9% sure we'll see that is that it'll help catch both bugs in the LLMs implementations themselves (and we know there are plenty of those) but also in the stacks/platforms/VMs running those software.

Imagine one spec and five implementations (Rust, Go, Java, Python, whatever) and one minimal system, with the tiniest of the tiniest attack surface, returning the answer as soon as 3-of-5 agree. And, as a bonus, if later on one the two "missing" answer arrives and doesn't match, it's cause for enquiry and bugs be smashed.

Basically (and although I don't care about Ethereum or cryptocurrencies except for the cryptographic aspect), we already witnessed that: 3 different implementations of Ethereum and, in the early days, one of the implementation whose result differed from the two others. And hence the implementation not respecting the spec (in that case it was the only one that was faulty) got instantly detected (and promptly patched). My memory is fuzzy but I know this happened.

Heck, I may write a proof-of-concept for fun.

I've got other ideas as to what will be possible in the future but I'm keeping them for another day.

TacticalCoder··on Building my own network stack
My bet is one ultra-hardened, minimal, front-facing system which does N-modular redundancy which N systems, each written on a different stack/different language.

The hardened software picks the computation that wins the majority.

It's not an issue to write all the implementations in the various stacks/languages: we'll have better and better LLMs to help us.

This shall bring security and shall allow to detect shitload of bugs (both in the implementation itself but also in the stack).

Heck, this could even be compatible with GP: one of the implementation could be JIT'e by a LLM, others could be written in advance (and Lean formally verified). Not sure which sense it'd make though.

I'm 99.9% sure it's coming for if it's not, I'll make one.

TacticalCoder··on California lawmakers unanimously pass Linux exemption from age-verification law
> ... why aren't we seeing European countries mass-banning 3D printers?

Dunno, because most europeans are way more responsible with their guns than many people in the US?

For example in the EU (and in Switzerland) before you can buy a gun, you get specific training about safe and responsible handling. And in many countries the cops shall come to your place and verify that you've got a gun safe and a separate safe for the ammo.

And we don't offer AR-15 to our kids when they turn 14 y/o (well I say that but my daughter wants to shoot my weapons and, once she turns 14, she can switch from air rifles to the real thing as long as she's accompanied).

Just to be clear: we have shitloads of guns and ammos in Europe. There's even one EU country with concealed carry. I think it's estimated there are twice as many non-registered weapons as registered ones. We've got big guns factories and gun brands in the EU. And there are millions of illegal full-auto weapons like kalashnikovs (well Zastava M70, which is the same) from the war in Yougoslavia in the hands of criminals. And shitloads of fully functional weapons, including handguns, from WWII circulating.

In my native city (Brussels, Belgium), at the moment there are drug dealers firing kalashnikov on police stations regularly (it's a big issue, it's in the news daily and the authorities don't know what to do).

In addition to people shooting at the range (and, sadly, to drug dealers/criminals ruining our cities), we've got lots of hunters too.

Many people at my shooting range have their official gun transport license full (that is 30 weapons) and some have more than 100 weapons in their collection.

It's a fantasy that europeans don't have guns: we're (mostly) responsible with them.

It's maybe because we're responsible with our guns that the EU hasn't banned 3D printers... Yet (it's the EU, so nothing is unthinkable).

TacticalCoder··on Arbitrary code execution in QubesOS via copy-to-VM error reporting backchannel
I do really like the following in the bulletin:

> Important: At this point, you still don’t know whether the key you just imported is the genuine QMSK or a forgery. In order for this entire procedure to provide meaningful security benefits, you must authenticate the QMSK out-of-band. Do not skip this step! The standard method is to obtain the QMSK fingerprint from multiple independent sources in several different ways and check to see whether they match the key you just imported. For more information, see How to import and authenticate the Qubes Master Signing Key.

It looks like Qubes is ran by people who take security seriously, which is refreshing.

TacticalCoder··on What we want is a hunter gatherer lifestyle with space age tools (2022)
> in a “civilized” lifestyle that you no longer even notice because you’re just so used to accommodating them: traffic noise, pollution, artificial light, etc.

But I don't have any of those for there's a whole spectrum between "go one week hiking" and "live in a city".

TacticalCoder··on What we want is a hunter gatherer lifestyle with space age tools (2022)
The amazing thing technology brought me is that I can now have optic fiber in my house in the middle of nowhere. I'm literally typing this while hearing the sound of waves and if I look above my laptop's screen, I see the reflections of the (near full apparently) moon on the sea.

It's a bit of a remote place (closest village is a 10 minutes drive and closest highway is a 45+ minutes drive) so I've got to fix many things around the house myself. My new toy, a 3D printer, is helping me with that: today the wife asked for me to fix the parasol (she wanted to enjoy being outside, without getting sunburned), which I did by 3D printing a few parts. I'm in the middle of nowhere but I'm hardly a luddite.

This afternoon we walked to the beach and my daughter caught two crabs and played with them for half an hour before releasing them: you can have both actual nature and technology: those aren't mutually exclusive.

P.S: my SO needs a lifelong treatment (nothing life-threatening as long as she gets her medication) so the "no tech" / "no modernity" stops right there for me.

TacticalCoder··on Debugging my new network, when 10 Gigabit Ethernet Runs at 300 Megabits
> I think the TLDR for this article comes down to "Windows networking sucks", which everybody should already know anyway.

You can even safely remove the word "networking" from that sentence.

TacticalCoder··on Stopping the smart TV from being used against you
> https://www.s-config.com/microslop/

For that link only TFA is worth it.

TacticalCoder··on Nvidia agrees to acquire Hugging Face for $13B
> Some people say it's a loss for EU sovereign AI but HF is technically an American corporation.

The company was founded in NYC. Anyone saying that is really a clown.

There's no EU sovereign AI. My EU is absolutely nowhere when it comes to AI or tech. No NVidia, no Google, no Meta (I hate Meta but it's a big company), no StarLink, no Alibaba, no Tencent.

No nothing. The biggest EU software company is SAP for f--k's sake.

SAP.

Let that sink in: the biggest EU software company is ranked 65th biggest company in the world. There's, thankfully, ASML but that's it.

> ... which they are likely to pour into a new frontier AI lab in Europe. So potentially it's a big win.

Wishful thinking. I don't buy it for a second that it's going to be a "big win".

And France is a country that hates its rich with a passion: they'll now be seen as demons, not just for having sold to the US... But simply for being very rich.

People have no idea at which point we in the EU are totally screwed.

Why would these guys come back to France only to see their wealth confiscated? I certainly wouldn't. Screw the EU.

TacticalCoder··on 507 Mechanical Movements
I've got a book, hand-written, from the early 20th century where my great-great-grandfather (or something like that) made drawings while he was studying to become an engineer. The drawings are really wonderful and I wonder if I should scan them so that AI can have even more data or if I should selfishly keep them just for my daughter. Maybe something in between: maybe scan one page once in a while and post it.

Those drawings aren't animated but they look much better than the originals on that site: they're in colors and both work of art and engineering.

TacticalCoder··on We found a division by zero bug in FFmpeg with a vibecoded fuzzer
> It is interesting that FFmpeg has its own Git server. Maybe we should move there too?

Git is a DVCS. I know many people only ever used Git through Github and forgot what the 'D' in DVCS means but whether or not they remember what the 'D' stands for, running your own Git server is trivial. Especially in this day and age of LLMs were you can just ask: "Clone this repo and convert it to base Git repo and serve it on the LAN PLZ KTHX".

The result is going to be more stable than Github and, arguably, more secure too.

← PreviousPage 4 of 34Next →