HNHacker News
TopNewBestAskShowJobs

raffraffraff

4,410 karma · joined March 26, 2016

submissionscomments
raffraffraff··on Deathbed Advice/Regret
It's a bit like climate change. Every day we wake up in our comfy beds, we have aircon, gore tex, big cars, hurricane proof buildings. We see that there's a big problem unfolding over the next generation or two. Or three. Maybe a crop failure or two will lead to high coffee prices. Perhaps avocados will disappear from the shelves of the supermarket for a month or two and we'll just pause, say "huh?". Someone might mention a species of shellfish we never heard of which is now extinct, or there'll be even more wildfires "somewhere I don't live" that are awful and everything but does this transatlantic flight really make a difference or does it matter if I upgrade my phone/laptop/car every year... Anyways I need to get the kids to creche and get to work. I don't have time to think about this stuff.

Slow burning problems are the worst because they're so easy to ignore until it's to late.

raffraffraff··on Asahi Linux with Sway on the MacBook Air M2 (2024)
Agree. If you use a rolling release you definitely need a strategy for stability. I turn off automatic updates and schedule planned full updates that I can easily roll back from. I've had two breakages over the years that required snapper rollback. (Rolling back from a major distro upgrade isn't that easy)

It's a tradeoff that I'm happy with. I get to have a very up to date system.

raffraffraff··on I spent a week without IPv4 (2023)
So why bother with v6?
raffraffraff··on I spent a week without IPv4 (2023)
This! I guess a good number of tech people will have IPv4 home networks long after their non-tech parents, neighbors and friends will be using IPv6 (without even knowing it).

IPv4 in the home is dead easy. You only need to remember the last digit (unless you've got multiple networks, but most won't). You can ssh to any device by remembering that ".1" is router, ".2" is NAS etc. Firewalls are simple.

You can buy a cheap domain and use it as your home DNS (eg "router.myhome.net" -> "192.168.0.1") so it works anywhere! In the home or roaming (over VPN). I don't really need to run DNS at home. My domain runs on Cloudflare DNS, my devices use NextDNS (with rebind protection disabled for my home domain).

I run OpenWRT and preallocate DHCP addresses for all known devices. Then I shrink the DHCP pool to a blacklisted range. A script automatically creates DNS records for all preallocated devices. If a new device appears in the blacklisted DHCP pool, I can manually allocate its MAC address a proper IP.

It's easy to get TLS certs for any service in the house using the ACME DNS01 challenge.

Tailscale is sexy and it worked fine until one day while roaming it wouldn't connect without "admin work", so I instantly dropkicked it. I'm now using the very unsexy OpenVPN Cloud (free for limited use) and in over two years it has never failed me. Plus it doesn't fuck with the IP addresses with fancypants tailnet addresses - I access devices directly using their DNS names which resolve to private addresses.

So, from inside or outside the home I can access the NAS to watch a movie, sync photos to Immich, print a document, check my IP cameras or ask my wife to put a document on the ancient scanner and access it via the raspberry pi phpscan website (which is on https://scanner.myhome.net)

I'm sure there's a very good reason not to do this and someone will now point it out.

raffraffraff··on Is America's jobs market nearing a cliff?
As an "Old" who was a kid in the late 70s to early 90s, I'm telling young folks that there is no first world poverty like there was then. Not just because "we" were poor, but because you couldn't get "stuff" anyway. Like, the biggest TV I ever saw back them was 25". Nobody had a computer. Unemployment across the board was high. I saw my first kiwi fruit or avocado when I was 10. Clothes were expensive (even thrift / store brand). "Stuff" of any kind was expensive or non existent.

Yesterday my BIL threw a perfectly working tower PC in the recycling because he couldn't find anyone (not even a charity shop) to take it. Last time I was at e-waste I saw half a dozen 42 inch TVs that I'm willing to bet we're working.

However we were wealthy in one way: we had a stable home, and optimism. I may have had old clothes, one pair of worn shoes and a 4th-hand uncool bicycle, but there was no question of ever losing the roof over my head. And there was a future that looked like it was full of possibilities. "Stuff" was getting cheaper and more available. I remember our family being able to afford our first microwave oven. Our first VCR (1991). We didn't get rich, things got cheaper.

Today, it's like we're looking at the future as if we're already post-peak, and it's all downhill from here. There's tons of stuff around but nobody wants it. People have also lost the positive attitude, optimism. It'll get you through a lot of bad times. Years and years of shit. Lose optimism, and it's all bleak no matter how big your TV is.

If I could choose a safe to be reborn in, I'd take "our" poverty of the past over this.

raffraffraff··on Stopping bad guys from using my open source project (feedback wanted)
No.

Take at any conflict in the world. Ok, nothing that China or Russia are involved in. IDK, let's keep it complicated and say, "waring factions in some African country that doesn't regularly make the news", or "skirmishing Muslim groups in the middle east" (So a hard no to Israel/Palestine which everybody has strongly polarised opinions about whether they're right or not).

Now, wait for every other npm package in the world to get polarised on whether or not to block your shitty package because you picked the wrong side in some faraway war that, to be honest, you don't give a shit about anyway. Or maybe you didn't even voice an opinion about said war? WHY DIDN'T YOU? WHAT ARE YOUR HIDING? WEAR THE RIBBON! CHANT THE CHANT!

Because that's all some people seem to have time for these days, and it's practically impossible to avoid the purity spiral if you show up on their radar. I've seen well known people (celebrities, academics, billionaires) get cancelled for not supporting some specific thing. Once you make this part of your software license people will rightly run like fuck from it.

What's your stance on:

- veganism

- India / Pakistan

- Climate change (no fly stickers, do you fly??)

- GM

- You country's immigration policy

- Some other country's immigration policy

- Trump (even if you're not American)

- Taiwan

- Taxation

- Houtis

- Sulki racing (Irish travellers)

- Islam Vs Christianity / Judaism / Hinduism

- Communism / Socialism

Or, just maybe, this is a few lines of code that is concerned with X and not (all these things, Jesus give me a break)

The end result of this would be a completely broken ecosystem. Package version hell, but worse.

raffraffraff··on Build desktop applications using Go and Web Technologies
Not just UI. I just wrote a KDE Plasma 6 widget for systemd-networkd / networkd and it was a nightmare.
raffraffraff··on What influence has the BBC had on history?
I think that everybody looks back with rose tinted specs. Off the cuff, I'd say that the BBC isn't as honest and transparent as I thought it was back in the 80s, 90s.

Then I remember the Jimmy Saville cover-up. Britain's pound shop/ dollar store Epstein.

> senior managers were not told of complaints about Savile because of an "atmosphere of fear" which still exists in the BBC

Written 10 years ago and still true today. It's just that the lies de jour depend on who currently holds political and (to a far grater extent today) cultural power. The elites, in a modern cultural sense, are not necessarily people with traditional money and power (royalty, politicians, famous stars and billionaires). Undoubtedly they have power, but these days that type of power doesn't protect you from the mob. Today, power is wielded by people who claim to have none, yet somehow set the tone on social media (moderation rules), influence rules within universities, influence charities and NGOs, and from there, media outlets. Politicians today are just landing to all. The BBC has is right up there with all the other liars.

raffraffraff··on Affinity Studio now free
TY!
raffraffraff··on Affinity Studio now free
Does the latest version actually work under wine? I remember trying a while back and only v1 was usable.
raffraffraff··on Affinity Studio now free
Still doesn't work on Linux :(
raffraffraff··on Mathematicians have found a hidden 'reset button' for undoing rotation
How does this help solve a rubix cube?
raffraffraff··on Galleri test: Exciting results from blood test for 50 cancers
But if you got one test saying "Detected a fragment of pancreatic cancer DNA" two days later another saying "Didn't see any cancerous DNA fragments" what would the actual effect on the doctor or patient be? Who'll take the risk and say "the first was a false positive"?

Also, these tests are a grand a pop if I'm reading it directly (which I may not be)

raffraffraff··on Galleri test: Exciting results from blood test for 50 cancers
Party pooper?

https://pmc.ncbi.nlm.nih.gov/articles/PMC11886625/

raffraffraff··on Old Computer Challenge – Modern Web for the ZX Spectrum
I had the Datel Genius mouse for my spectrum. It came bundled with the OCP Art Studio (which never worked on my spectrum). You could 'peek' into memory addresses to find the position and button state, so I wrote silly little BASIC programs for it.
raffraffraff··on MD RAID or DRBD can be broken from userspace when using O_DIRECT
I asked my question in the wrong place!

"So is the original requirement for O_DIRECT addressed completely by O_SYNC and O_DSYNC"

I'm guessing you'd say "no"

raffraffraff··on MD RAID or DRBD can be broken from userspace when using O_DIRECT
So is the original requirement for O_DIRECT addressed completely by O_SYNC and O_DSYNC?

The way I was told it, if the database engine implements it's own cache (like InnoDB and presumably Oracle), are just "doubling up" if you also use the OS cache?. Perhaps Oracle is happy with its own internal caching (for reads).

I've seen a DB guy insist on O_DIRECT without implementing array controller cache battery alerting, or checking if drives themselves had caches disabled. Nope "O_DIRECT fixes everything!" ... although these days enterprise class SSDs have little batteries and capacitors to handle power loss so in the right circumstances that's kinda resolved too, but like the array controller cache batteries, this is one more thing you have to monitor if you're running your own hardware

raffraffraff··on Ask HN: What's the best hackable smart TV?
I got a nice Philips Evnia 43" OLED monitor. 12 years belt that, I bought a 42" 1080p LG monitor. Monitors all the way.
raffraffraff··on Gemini 2.5 Computer Use model
Actually the super power of having the LLM in the bowser may be that it vastly simplifies using LLMs to write Playwright scripts.

Case in point, last week I wrote a scraper for Rate Your Music, but found it frustrating. I'm not experienced with Playwright, so I used vscode with Claude to iterate in the project. Constantly diving into devtools, copying outter html, inspecting specific elements etc is a chore that this could get around, making for faster development of complex tests

raffraffraff··on Offline card payments should be possible no later than 1 July 2026
Indeed. But still, there must be some sort of "credit score" behind these devices. It can't just give money to a vendor. It must be based on some prior amount agreed between Garmin Pay and the bank or card provider.

Take a debit card for example. It's connected to a bank account, and cannot give credit. Garmin must be taking some of the risk on board, since the bank or card provider do not.

There's also the fact that anecdotally people are reporting different spend limits. On a thread I saw one person claim that £30 was their limit and another saying "My largest payment so far on the watch has been £275"

raffraffraff··on Offline card payments should be possible no later than 1 July 2026
My Garmin watch has Garmin Pay, which works even if I don't have my phone with me. I think I just presumed that there is a bank balance cached somewhere in the app so that an attempt to spend up to a hard limit or that amount will work.
raffraffraff··on Anti-aging breakthrough: Stem cells reverse signs of aging in monkeys
If you had asked me how I reckoned they reversed aging in Monkeys, I honestly would have said "stem cells". But then again, my answer to a lot of questions these days is "stem cells".
raffraffraff··on Unix philosophy and filesystem access makes Claude Code amazing
True, it fails to get past the Cloudflare check if my playwright script is connected to the browser. But since these checks only happen on first visit to the site I'm ok with that.
raffraffraff··on Unix philosophy and filesystem access makes Claude Code amazing
It's extremely handy too! If you try to use web automation tools like selenium or playwright on a website that blocks them, starting chrome browser with the debug port is a great way to get past Cloudflare's "human detector" before kicking off your automation. It's still a pain in the ass but at least it works and it's only once per session
raffraffraff··on Handy – Free open-source speech-to-text app written in Rust
Honestly the only thing I avoid these days is python. If something is written in python I generally give it a miss, especially if it has a GUI.
raffraffraff··on ChatControl: EU wants to scan all private messages, even in encrypted apps
Ireland's Supreme Court decided in 1987 to make a referendum mandatory before they would ratify EU treaty amendments. Not that it mattered, because they got a "no" vote but their puppet masters wanted a "yes", so they just reran the referendum the following year...

https://en.m.wikipedia.org/wiki/Twenty-eighth_Amendment_of_t...

Only 59% turn out, and the vote won 67%. So in reality less than 40% of the population were for it.

I have vague memories of people saying that the treaty was indecipherable. The EU were like, "Here, vote yes for this big bag of 'misc', or else"

This wasn't the first time they reran a referendum for an EU treaty. They did it back in 2003!

https://en.m.wikipedia.org/wiki/Twenty-sixth_Amendment_of_th...

If the UK wanted to avoid BREXIT all they had to do was look a few miles to the west for the knack.

raffraffraff··on Thundering herd problem: Preventing the stampede
If anything I'd say that "excellent formatting" with fancy headings and formatting is the hallmark of llm
raffraffraff··on Thundering herd problem: Preventing the stampede
Cool. That's reminds of an approach I took back in 2011 when implementing a Linux build / update system in a (small) bank. 8000 machines across hundreds of branches, no servers in the branches, no internet access, limited bandwidth. The goal was to wake one machine (WOL) which detects an update (via LDAP attribute) and then rsyncs repo update + torrent file. Once complete, that machine would load the torrent, verify the synced files, update it's version in LDAP and wake all of its peers. Each peer host would also query LDAP, detect the need to update, but also notice a peer with the latest version, so skip repo rsync and grab the torrent file and load it. So a branch with hundreds of hosts would torrent the repo update pretty quickly to each other. Pretty cool tbh, you could PXE boot and rebuild a bunch of hosts remotely, and once built, any one of them could act as an installation point. I even used this to do a distribution change, switching from SLES to Ubuntu.
raffraffraff··on Linux Compose Key Sequences (2007)
I should use weird characters on my passwords. Especially weird characters that look like normal characters. Then I can learn off the compose key sequences and instead of a password manager I can write down all of the passwords on paper and laminate them and stick them to my monitor.

I will not actually do this

raffraffraff··on You did this with an AI and you do not understand what you're doing here
Verification Status: CONFIRMED bullet points

Pity HN doesn't support all of those green checkboxes and bold bullet points. Every time I see these in supposedly humans generated documents and pull requests I laugh.

← PreviousPage 5 of 34Next →