HNHacker News
TopNewBestAskShowJobs

pengaru

11,143 karma · joined February 18, 2020

Free software advocate and developer

https://pengaru.com

submissionscomments
pengaru··on In an $80 Motel Room, a Discovery to Shed Light on the Origins of Life
> for many of the same reasons you don’t carpet a bathroom.

someone should inform the orange POTUS of this: https://www.architecturaldigest.com/story/did-donald-trump-j...

pengaru··on Back and shoulder surgery is often worse than useless
It's not strictly a US health care problem either - I've been dumbfounded by foreign coworkers pressing for totally unnecessary medical interventions as if there's no risk associated with doing such things. It's most apparent from the socialized states where the healthcare is ~free.

My impression is this is a modern civilization stupidity in general.

apropos Dead Kennedys track: https://www.youtube.com/watch?v=lVULKYbAeEo

pengaru··on Tech's New Rich Are Suffering from 'Sudden Wealth Syndrome'
It doesn't take much life experience to learn bosses are generally bossy people. Even before they've ossified into retirement it's a rare breed that can control the behavior contextually.
pengaru··on Japan's Gen X workers are struggling
https://archive.is/w3KpI
pengaru··on Israel creates fake think tank in likely attempt to dupe AI chatbots
"fake think tank" sounds a bit redundant
pengaru··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
> btrfs is in the HN thread title.

as is ext4

pengaru··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
When did this become a discussion limited to journald on btrfs?

and that seems like something btrfs should fix at some point

pengaru··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
> journald does do a rewrite of the log file on rotation, so you're paying that IO anyway even if you ignore the dumb hash table updates.

You linked copy_file_atomic_at_full(), why? That function is not in the normal rotation path for journald, it's only used in a workaround when clearing FS_NOCOW_FL fails.

Rotation does not rewrite the log file normally, but there is a hole-punching operation though for reclaiming unused space.

pengaru··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
The format is documented

https://github.com/systemd/systemd/blob/main/docs/JOURNAL_FI...

pengaru··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
FWIW the journal file signature is "LPKSHHRH" for Lennart, Kay Sievers, Harald Hoyer, Red Hat... I presumed it was at least Lennart, Kay, and Harald who collaborated on the design.
pengaru··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
I'm not the architect of journald and wasn't really around when these decisions were made, so I can't really speak authoritatively on that particular topic.

There was mailing list discussion at the time journald was conceived though, you can find it if you look.

https://0pointer.de/blog/projects/the-journal.html might be a good entry-point.

pengaru··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
it has bad scaling properties esp. if you have many journal files

the last time I contributed to journald upstream was to fix a degenerate behavior with many journal files: https://github.com/systemd/systemd/commit/176f73272e6e3116ca...

that makes a dramatic difference for those hitting this case, but it only gets things from nearly unusable to slow-as-usual.

pengaru··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
I'm probably the main person responsible for making journald usable at all.

But I never really made any effort to change the on-disk structure or how writes were performed. My focus was more on the read performance for journalctl and stability of the daemon.

Back when I was paid to fix things in journald at CoreOS ages ago, it couldn't even avoid getting killed by its own service watchdog.

My impression back then was the on-disk format dispersed the information too much within the same file, and those individual datums being written at discontiguous offsets were quite small, far smaller than an IO block size or even a disk sector size.

Seemed like a write amplification problem due to the file format. If you write a few bytes into some arbitrary position within a file, the storage has to write back the whole block, despite your only changing a tiny fraction of it. If those few bytes happened to cross a block boundary, guess what? two blocks get written.

The format had no consideration for these block-oriented storage details, then doing the IO via mmap rubs salt into the wound since the kernel has to try guess what to prefetch asynchronously... but I don't think that aspect amplifies the writes above what plain buffered IO would do - maybe I'm wrong. I'd expect the mmap aspect to be causing more/mispredicted reads, and polluting the page cache with unrelated contents (you tend to end up with the entire journal cached IIRC, if you have enough memory). I suppose there's probably compounding of the write amplification problem since the kernel will be dirtying pages at page size granularity vs. 512b sectors, and you have the same issue of small writes landing on page boundaries dirtying two pages. So that aspect of using mmap for the writes probably is exacerbating the problem.

pengaru··on AI is removing the middle class of software engineering
Mind sharing where you're at?
pengaru··on The Alpha 21264 CPU: NT's Greatest RISC (1998)

  > Intel developed QPI at its Massachusetts Microprocessor Design Center (MMDC) by
  > members of what had been the Alpha Development Group, which Intel had acquired
  > from Compaq and HP and in turn originally came from Digital Equipment
  > Corporation (DEC).[8] Its development had been reported as early as 2004
from https://en.wikipedia.org/wiki/Intel_QuickPath_Interconnect#B...

QPI was Intel's answer to the competition AMD's Athlon / HyperTransport had created

pengaru··on Lost my phone at the office. Claude suggested tracking Bluetooth signal strength
It's not like this is an unknown gimp problem - conventional search turns up plenty of results describing this class of bugs and advising to disable the previews.
pengaru··on Europe's fires are just the start
Politicians are selling to their audiences, there's no more truth in their words than any other sales/marketing scheme.

Of course we're fucked.

pengaru··on REO Trucks I4 4WD Pickup Truck Starts at $21,500
> In the end, it's basically a Toyota Hilux.

that's quite the optimistic end! There's absolutely zero chance this ends with a pickup powered by the venerable Toyota 22R-E I4 or an equivalent.

"I4, proven" proven to be genai slop and nothing more.

pengaru··on Fake food delivery site for the dopamine
think window shopping

which upon writing I realized may not even be something folks born after 2010 have even heard of...

https://en.wikipedia.org/wiki/Window_shopping

pengaru··on REO Trucks I4 4WD Pickup Truck Starts at $21,500
fiction
pengaru··on FreeBSD 16 Retires the Last of Its GPL Code from Its Base System
FreeBSD has never played a significant role in the Free Software Movement.

Frankly I'm surprised there was any GPL code at all in the FreeBSD base repo in 2026.

pengaru··on The shingles vaccine may reduce the risk of dementia
will we ever be free from the curse of believing correlation == causation
pengaru··on BMW iX5 Blows Away the Competition with 460-KW Charging, 435-Mile Range
My impression of new car design aesthetics is they're mostly ugly to me because they're optimizing for selling to a different market than mine (USA).

New automobiles starting looking Alien after China started buying more of them than the US, and it's continued ever since.

pengaru··on Streaming services' obnoxiously loud ads become illegal on July 1 in California
It's arguably a good strategy to make mountains out of mole hills from their perspective. It drains the regulators' finite resources on relatively trivial matters, and I think it goes without saying there are less trivial and more egregious exploits continuing, more unchecked now as a result.

TL;DR distract the enemy with resource sinks

pengaru··on PR spam today looks like email spam in the early 2000s
it's externalizing the real work all the way down
pengaru··on Big Banana Car
In the context of US roads, it's an extremely rare specimen which by itself makes it interesting.

But even beyond that, lightweight, mid front engine, rwd, turbo variants, this is the stuff of proper race cars. Anything Colin Chapman would approve of is automatically interesting.

pengaru··on San Francisco Weighs PG&E Takeover Amid Soaring Utility Costs
AIUI This relationship between PG&E and SF/CPUC has a corrupt history dating back to the 90s with Willie Brown and later even Kamala Harris.

It's a part of why Republicans actually have some grounds for calling Harris corrupt - Willie Brown's office when mayor of SF was notorious for being a pay-to-play situation, she worked there (and even dated him).

  > Or, as Supervisor Aaron Peskin described it, “mind-boggling.” He said
  > the “city family” that grew up under Mayor Willie Brown, continued
  > working under Mayor Gavin Newsom, flourished under Mayor Ed Lee and
  > stayed on under Breed “were all doing favors for one another and
  > living in their own little bubble.”
  >
  > “They all convinced each other that they were like a family, and
  > family can give gifts to their children,” Peskin said, noting those
  > same family members took the city’s required annual ethics training
  > like everybody else and must have known what they were doing was
  > wrong.
  >
  > “They just got too cozy over too much time, and they lost their way,”
  > Peskin said. “Now I have to look at everybody going, ‘Are you a
  > crook?’ It’s not the way I want to see the world.”
from: https://www.sfchronicle.com/bayarea/heatherknight/article/S-...

It's trivial to find articles about the conflicts of interests between Brown and PG&E, I think even to this day he still represents their interests.

pengaru··on How memory safety CVEs differ between Rust and C/C++
"extreme pro level"

how old are you?

pengaru··on Copper transport drug restores memory and clears toxic Alzheimer's proteins
There's no need for missing answers as to why copper is appreciated as a water transport/storage medium. It's the same reason it's traditionally used as cladding on boat hulls, and is still added to many anti-fouling bottom paints - it's antimicrobial, but also toxic.
pengaru··on Improvement in advanced Alzheimer’s disease following high-dose psilocybin
Rogan is obviously pro psychedelics, and was even featured in the oval office during the recent Ibogaine approval signing. I think it's worth noting if this N=1 "study" has any association with such an obviously biased and influential individual.
Page 1 of 34Next →