Better HN
topnewbestaskshowjobs
Log inSign up

pengaru

11,162 karma · joined Feb 18, 2020 (6y ago) · 4,287 submissions

Free software advocate and developer

https://pengaru.com

Submissions

comment 1d ago · link · parent

> Not really, it's about as close to OpenWrt as all other makers are using

eeros don't run anything remotely resembling openwrt

comment 2w ago · link · parent

> Heat and plastic don't mix

actually they do, and that's the problem

comment 3w ago · link · parent

While it's certainly not the right product for the openwrt crowd wanting to flash their own firmware and look under the covers, I wouldn't work here if we were obviously doing such things to the degree your comment implies.

comment 3w ago · link · parent

eero updates its APs OTA, they run linux. Even stuff sold > 5 years ago is still receiving updates.

full disclosure: they're my employer

comment 3w ago · link · parent

"You own the work"

comment 3w ago · link · parent

If you're a McKusick fan, there's a series of recordings from his classroom lectures about operating systems. I saw some on VHS ages ago in a group setting. They were quite amusing from what I recall, for such an otherwise dry subject.

comment 3w ago · link · parent

disclaimer: I didn't read TFA

drive-by comment: unintentional napping seems likely to occur more in those failing to get actual restful sleep on the regular. Don't we already know chronic sleep deprivation correlates with dementia/alzheimers risk?

comment 3w ago · link · parent

Wow, not much left of the semi - would love to see a photo of the metallic puddle it's presumably become...

comment 4w ago · link · parent

I suspect massive companies like late stage GOOG and AMZN will always be dominated by an oppressive machine in the rank and file. It seems inevitable at this scale.

But the wonderful thing about these places is they can create/acquire/prop-up small subsidiaries. If they're self-aware enough to know the oppressive force at their size, they leave these offshoots alone (until too big, where the cycle repeats anyways). These are the parts where you can still experience the magic being discussed.

Presumably working at X Development (formerly Google X) still has a lot of this energy and autonomy.

comment 4w ago · link · parent

What percentage of cybertrash depositors are TSLA hodlers and musk apologists?

I'm pretty confident in saying it's far from zero.

comment 4w ago · link · parent

Your comment in this thread led me to Vilos Cohaagen of Total Recall vibes...

comment 4w ago · link · parent

I believe it was Eric Schmidt at Google who once famously said "revenue solves all known problems" in an all hands

There's a reason he didn't say profit...

Not saying I agree with the sentiment, just noteworthy and perhaps something to reflect upon while judging behaviors aligned with this perspective.

comment 4w ago · link · parent

I'm decades older, and it seems to have always been a rare thing to be part of a small team of talented people building something special and relevant to the future. These were and are exceptional places and that's arguably why they produced something we're talking about today.

Watch Office Space if you haven't already. That's what most of the irl white-collar existence really reflected throughout my career. And unless you actively pursued (and arguably created in part yourself by seeking out, showing up, and participating) something special even back then at a startup, you were very likely missing out then as much as now.

There are still people making things, irl even. I'd be surprised if Tenstorrent didn't have an environment like you're pining for, or Tilt Five.

comment 1mo ago · link · parent

good riddance - subaru ICEs are mediocre at best, totally overrated fanboy junk

- a subaru forester owner who wanted to like the vehicle but is tired of oil leaks and counting the days before a head gasket lets go

comment 1mo ago · link · parent

The three famous examples of this tech are:

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

https://en.wikipedia.org/wiki/Brabham_BT46#BT46B_%E2%80%93_t...

https://en.wikipedia.org/wiki/Gordon_Murray_Automotive_T.50

I don't know of any others, and it's a horrible idea for anything used on public roads.. even on the race track these cars were notorious for leaving a cloud of debris/dust in their wake

comment 1mo ago · link · parent

TL;DR fear

comment 1mo ago · link · parent

> 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...

comment 2mo ago · link · parent

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

comment 2mo ago · link · parent

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.

comment 3mo ago · link · parent

https://archive.is/w3KpI

comment 3mo ago · link · parent

"fake think tank" sounds a bit redundant

comment 3mo ago · link · parent

> btrfs is in the HN thread title.

as is ext4

comment 3mo ago · link · parent

When did this become a discussion limited to journald on btrfs?

and that seems like something btrfs should fix at some point

comment 3mo ago · link · parent

> 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.

comment 3mo ago · link · parent

The format is documented

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

comment 3mo ago · link · parent

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.

comment 3mo ago · link · parent

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.

comment 3mo ago · link · parent

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.

comment 3mo ago · link · parent

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.

12345
143