HNHacker News
TopNewBestAskShowJobs

dezgeg

2,900 karma · joined August 7, 2013

[ my public key: https://keybase.io/dezgeg; my proof: https://keybase.io/dezgeg/sigs/T97m4HN4fIeKVsJzfbIsXEgnHunf6ut9z2hZbtMU3BM ]
submissionscomments
dezgeg··on Rsync's defaults are not always enough
I wish checksumming filesystems had some interface to expose the internal checksums. Maybe it wouldn't be useful for rsync though as filesystems should have the freedom to pick the best algorithm (so filesystem checksum of a file on different machines would be allowed to differ e.g. if filesystem block size was different). But so that e.g. git and build systems could use it to tell 'these 2 files under a same directory tree are definitely identical'.
dezgeg··on How reliable are MicroSD cards?
Do you have any concrete evidence of the type of power supply being the culprit?

My personal feeling is the write patterns of Linux distros and filesystems are way more punishing to the card when compared to write patterns done other use cases. For example most writes done by digital cameras are fairly big and sequential, and done on FAT/exFAT where there is no journalling.

dezgeg··on Precision Clock Mk IV
However, it seems that extra SIBs aren't necessarily broadcast but may be available on demand... and it wasn't clear to me whether making a on-demand SIB request can be done without SIM card.
dezgeg··on Negotiating PoE+ Power in the Pre‑Boot Environment
Yecchh, 5000+ lines! USB-PD is truly cursed...
dezgeg··on The Ingredients of a Productive Monorepo
What a weird take, "millions of lines of code, written over decades" applies to quite many C (or C++) codebases where using a high-level language is not a possibility (and companies that do have such codebases are pretty conservative and don't even talk about Rust no matter how great fit it would be).
dezgeg··on The Ingredients of a Productive Monorepo
That's not a nice workflow from pipelines/CI point of view.

Let's take for example a service 'foobar' that depends on in-house library 'libfoo'. And now you need to add a feature to foobar that needs some changes to libfoo at same time (and for extra fun let's say those changes will break some other users of libfoo). Of course during development you want to run pipelines for both libfoo and foobar.

In such 'super module' system it gets pretty annoying to push changes for testing in CI when every change to either libfoo or foobar needs to be followed by a commit to the super repo.

In a monorepo that's just another Tuesday.

dezgeg··on The Ingredients of a Productive Monorepo
> Take your monorepo, split it into n repos by directory at certain depth from root, write very a rudimentary VCS wrapper script to sync all the repos in tandem and you have already solved a lot of pain points.

Then you lose the capability to atomically make a commit that crosses repoes. I'm not sure if there is any forge that allows that, except Gerrit might with its topics feature (I've not gotten the opportunity to try that).

dezgeg··on The Ingredients of a Productive Monorepo
> Every time I've been monorepos compares with polyrepos it's always "monorepo plus millions of dollars of custom tool engineering" vs "stock polyrepo"

The costs of the infra/build/CI work are of course more visible when there is a dedicated team doing it. If there is no such central team, the cost is just invisibly split between all the teams. In my experience this is more costly overall, due to every team rolling their own thing and requiring them to be jack-of-all-trades in rolling their own infra/build/CI.

> And I don't see how discovery changes significantly from browsing through loads of repositories instead of loads of directories in a repository

If repository permissions aren't set centrally but every team gets to micromanage them, then they usually end up too restrictive and you don't get even read-only access.

dezgeg··on Seagate claims spinning disks beat SSDs on carbon footprint
Is the controller really going to be that much simpler on a HDD? On HDD you still have things like command queuing, caching, checksumming and bad block remapping just as with SSD. Sure you don't have the flash translation layer, but I'd expect processing of the analog signal going to/from the heads to be a processing headache too. I wouldn't be surprised if they have to do temperature compensation and factory and/or runtime calibration of the analog path. Of course much of that will be done in fixed-function custom hardware blocks, but almost certainly so would a SSD for eg. ECC calculations.

https://spritesmods.com/?art=hddhack&page=3 has some data points on a 10+ year old HDD - 3 ARM9 feroceon cores + Cortex-M3 core. Doesn't sound too simple.

dezgeg··on Flattening Rust’s learning curve
Better analogy is std::string_view vs std::string
dezgeg··on Mozilla Firefox – Official GitHub repo
git request-pull is.
dezgeg··on Rust’s dependencies are starting to worry me
What architectures that are missing from LLVM are commercially relevant today and not on well-earned retirement?
dezgeg··on Espressif's ESP32-C5 Is Now in Mass Production
Maybe 320KB is the size of the bootrom? Although I don't see why that would be worth mentioning.
dezgeg··on Espressif's ESP32-C5 Is Now in Mass Production
Usually in secure systems you can't read out all of the data from the old chip.
dezgeg··on Restoring the Galaxian3 Theatre 6, 1992 six player arcade machine
It looks extremely expensive piece of hardware. I have to wonder how much profit this made for Namco or the arcades.
dezgeg··on Why is this site built with C
autotools would like a word with you
dezgeg··on Why Anthropic's Claude still hasn't beaten Pokémon
It's also a detriment to some extent, as Claude's now believing things that apply only to later generations of the game (doesn't help that those beliefs would apply to the FireRed remake). Also it made Claude try to perform quests out of order and waste lots of time trying to do things he could only do later in the game (the thirsty guards blocking some routes-sidequest).
dezgeg··on NixOS and reproducible builds could have detected the xz backdoor
autoconf itself doesn't need xz, but in Nixpkgs xz is part of the stdenv, meaning essentially every package has a build-time dependency on xz.

For the case of xz not using the upstream-generated configure would probably be doable with some effort but doing the same for glibc, gcc, gnumake etc. would be much more difficult.

dezgeg··on Yocto, RockPi and SBOMs: Building modern embedded Linux images
Yocto cross compiles. I don't think Gentoo can do that?
dezgeg··on Resigning as Asahi Linux project lead
Try following your favourite distro's bug tracker during GCC upgrade. Practically every update breaks some packages, sometimes less, sometimes more (esp. when GCC changes their default flags).

Here's one example of workarounds in ~100 packages that broke when upgrading to GCC 10: https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20fcommon...

dezgeg··on Resigning as Asahi Linux project lead
Rust compiler upgrades being backwards incompatible has nothing to do whatsoever with keeping userspace ABI compatible.

GCC also occassionally breaks compability with the kernel, btw.

dezgeg··on Is NixOS truly reproducible?
By accidentally writing out uninitialized memory contents to the file with the game still working. It's even worse in DOS era where there is no memory protection so uninitialized memory can contain data used by other processes, so for example parts of source code can get leaked that way. There's a big list of those in https://tcrf.net/Category:Games_with_uncompiled_source_code
dezgeg··on AMD adds RF-sampling data converters to Versal adaptive SoCs (2024)
5G basestations are on dedicated silicon already.
dezgeg··on Reverse-engineering and analysis of SanDisk High Endurance microSDXC card (2020)
Are there other SBCs / SoMs that are as widely used with SD cards though? That's certainly a source of bias.
dezgeg··on I'll think twice before using GitHub Actions again
You can have pipelines trigger child pipelines in gitlab, but usability of them is pretty bad, viewing logs/results of those always needs extra clicking.
dezgeg··on I'll think twice before using GitHub Actions again
I'm not sure if there's a monorepo vs polyrepo difference; just that anything complex is pretty painful in gitlab. YAML "programming" just doesn't scale.
dezgeg··on Who would buy a Raspberry Pi for $120?
Cross compilation is much less tested so it's not uncommon to have hidden bugs in the package's build system that break cross compilation. Or that developers straight up disregard cross compilation if they're e.g. hand-rolling Makefiles.
dezgeg··on Steve Langasek, one of Ubuntu Linux's leading lights, has died
According to his Mastodon, stage 4 colon cancer
dezgeg··on Show HN: My C compiler compiled itself
The 'tup' build system also works this way.
dezgeg··on Somebody moved the UK's oldest satellite in the mid 1970s, but no one knows who
Holy hell
← PreviousPage 4 of 14Next →