Recently posted comments
AI could help
Posted Oct 11, 2026 14:20 UTC (Sun) by Wol (subscriber, #4433)In reply to: AI could help by Cyberax
Parent article: Last rites for Gentoo's Chromium package
This is why, when I designed the project management system I was working on many moons ago, it was an explicit design goal that the only thing the parent project knew about the subproject was the standard task data. To the parent, the sub was an opaque blob that filled in the standard "this job" task info, and in return read the standard parent task data to find out what resources it had available.
Looking at the fun with SHA-1 / SHA-256 in git, I now realise that was probably one heck of an ask (but the company nearly sank before I found that out).
If we want a monorepo, we really need to provide some way of telling git "this directory contains a repo with its own git structure, DON'T TOUCH". And some way of exporting the status of that sub-repo up that simply says "this is the live head", with a matching mechanism (maybe manual) of updating the sub-repo to its parent to report "this is the upstream live head" and maybe triggering the subrepo to do its own update/rebuild. Problem is, I think this is going to be a rather tricky problem ...
Cheers,
Wol
46 Days Would Have Been Better
Posted Oct 11, 2026 14:20 UTC (Sun) by linuxrocks123 (subscriber, #34648)Parent article: Let's Encrypt moving to 64-day certificate lifetimes in 2027
zram?
Posted Oct 11, 2026 12:19 UTC (Sun) by intelfx (subscriber, #130118)In reply to: zram? by fraetor
Parent article: The [vx]swap showdown
So the xswap approach described in the article is for getting the diskless behaviour of zram out of zswap, without all the associated baggage of treating it as a block device?
Yes, that’s about it. Using zram for swap is really in many ways an unacceptable abuse of mm, but people insist on doing it because they do not want, for whatever reasons, to allocate real disk space to back zswap.
Cost increases?
Posted Oct 11, 2026 11:01 UTC (Sun) by tialaramex (subscriber, #21167)In reply to: Cost increases? by LtWorf
Parent article: Let's Encrypt moving to 64-day certificate lifetimes in 2027
Suppose an ISRG intermediate key gets compromised†, a zero day in the issuance systems for example, bad guys steal one of the private signing keys, then just post it on X for some reason. The book says inside 48 hours the browsers can distrust this whole swathe of certificates and ISRG has that long to replace them, so they need to issue for every name they'd usually certify in 90 days, but within 48 hours, knowing that it's going to spike really badly when they do this.
Now historically for-profit CAs mostly did not hit that 48 hour deadline when they should have - citing various operational and business reasons and often just plainly bullshitting us, and none of them had anywhere close to the same volumes that ISRG deals with now, but of course the ambition is the same and ISRG takes it more seriously than they ever did - so ISRG actually believe they know how you do all that extra work.
Compared to that, going from 90 to 64 is no big deal. Even if your users are trying to keep 30 days validity and so now they're renewing every 34 days instead of every 60 days that's only 2x usage.
† The roots aren't online, they're probably in an actual real world safe, so, realistically those won't get compromised unless you've got a culpable issuer and in that case we want to distrust their entire organisation anyway so recovery is irrelevant.
Useful, however...
Posted Oct 11, 2026 9:32 UTC (Sun) by Lionel_Debroux (subscriber, #30014)Parent article: Adding kernel control-flow-integrity checking to GCC
Meanwhile, another software implementation of forward-edge + backward-edge CFI for GCC, applied to the Linux kernel, has been available for a decade or so, and the way it is implemented makes it available to past toolchains as well.
AI could help
Posted Oct 11, 2026 9:23 UTC (Sun) by intelfx (subscriber, #130118)In reply to: AI could help by cyphar
Parent article: Last rites for Gentoo's Chromium package
so a little more intellectual curiousity might be worthwhile
That’s why I posted (as an invitation to object), so please don’t accuse me of lack of intellectual curiosity of all things, thank you very much.
Relying on optimizations to remove UB
Posted Oct 11, 2026 9:20 UTC (Sun) by farnz (subscriber, #17727)In reply to: Current state of in-place initialization by matthias
Parent article: An update on Rust's project goals
Your final paragraph underplays it, if anything; relying on optimizations to remove UB is a bad idea because of how UB is defined; by definition, the optimizer could choose another route that removes the UB from the final executable, even if it's not what you want, since it can do anything that replaces UB with defined behaviour (even if it's unwanted, like the "nasal demons" traditional quip), but can't add new UB where the language defined the meaning of the program already.
You need the language to define the meaning of your code so that the optimizer has only one allowed route for handling this code, otherwise you risk a future change (even something as "trivial" as rearranging the order of optimization passes to reduce optimizer run time) breaking your output binary.
Cost increases?
Posted Oct 11, 2026 9:18 UTC (Sun) by LtWorf (subscriber, #124958)Parent article: Let's Encrypt moving to 64-day certificate lifetimes in 2027
Depleting entropy
Posted Oct 11, 2026 9:13 UTC (Sun) by farnz (subscriber, #17727)In reply to: Depleting entropy by cesarb
Parent article: Python's two modules for random numbers
FWIW, if these attacks are of concern to you, there's /proc/sys/kernel/random/entropy_avail to read how much entropy the kernel estimates it has in the CSPRNG pool, and /proc/sys/kernel/random/poolsize to find out how large the pool is (both numbers in bits).
On my laptop, at the time of writing, they're both at 256 bits. A brute force attack has a worst case time of 2256 guesses to get the pool contents, and an average time of 2255 guesses. Assuming a guesser making guesses at a rate of 100 GHz, you'd need approximately 1056 guessers in parallel to bring the brute forcing time down to single digit centuries on average (or roughly a million guessers for each atom in the Earth).
For some applications, that might be unacceptably easy - for the things I do with my laptop, it's fine.
Fantastic! I love to see systemic security improvements!
Posted Oct 11, 2026 8:27 UTC (Sun) by david.a.wheeler (subscriber, #72896)Parent article: Adding kernel control-flow-integrity checking to GCC
zram?
Posted Oct 11, 2026 7:58 UTC (Sun) by fraetor (subscriber, #161147)In reply to: zram? by tux3
Parent article: The [vx]swap showdown
Current state of in-place initialization
Posted Oct 11, 2026 6:40 UTC (Sun) by matthias (subscriber, #94967)In reply to: Current state of in-place initialization by donald.buczek
Parent article: An update on Rust's project goals
We are talking about types that are not allowed to be moved. So the code might be unsound (contain UB) before this optimization. So this optimization has to be performed before any other optimization that might trigger this UB. This optimization would also need to be applied in debug mode where optimizations are turned off.
This might sound plausible. But the biggest issue is: Why do we need in-place initialization in the first place? Usually for self-referential types. So the initialization code will at some point take the address of the struct and write it into the struct. In the unoptimized code this initialization happend before the move. So it is not only necessary to optimize the move, but we must also make sure that the optimized code never sees the address the struct has on the stack. By some compiler magic it would need to initialize the struct with the address that it will get on the heap (or wherever it will end up), from some allocation that might happen after the initialization in program order. And the compiler cannot simply reorder initialization and allocation, as the memory allocator surely involves some memory barriers.
I have to admit that I have no expertise in compiler development. But I am quite sure that you do not want to rely on compiler optimizations to remove UB from your code. The unoptimized code should never have UB in the first place.
AI could help
Posted Oct 11, 2026 6:01 UTC (Sun) by ras (subscriber, #33059)In reply to: AI could help by pizza
Parent article: Last rites for Gentoo's Chromium package
They are definitely biased towards "official" sources - man pages, documentation, RFC's, Python PEP's and the writings and reasoning of people whose names appear on those documents. For example, if you ask an AI (ChatGPT, Claude, Gemini - I tried them all) to give you the references they used for "does bash allow numbers in bases other than 10" they to the man refer you to https://www.gnu.org/software/bash/manual/html_node/Shell-... Stack overflow is definitely ranked below sources like that. I'm suspect it's ranked below most Wikipedia articles too.
My guess is what they get from sites like Stack Overflow is how themselves clearly to software engineers. Don't underestimate the value of that - how to express themselves clearly to mathematicians was notable by absence is the recent Mathocalypse paper dump.
AI could help
Posted Oct 11, 2026 2:41 UTC (Sun) by Kangie (guest, #161139)In reply to: AI could help by Baughn
Parent article: Last rites for Gentoo's Chromium package
I don't have the depth of Rust or C++ knowledge to dig into Crubit and work out how to make it work in a distro context with only stable and released LLVM and Rust for example, and I couldn't trust the output without a lot of validation (and probably spending a lot on tokens for what's supposed to be volunteering.)
There's definitely a place and time for the technology, but it's not the solution to every single problem. I'll continue to use LLMs where they make sense, but they're not a silver bullet either; they don't save me from 6+ hours of compilation a week, or from having to actually think about problems.
Igalia support?
Posted Oct 11, 2026 2:35 UTC (Sun) by Kangie (guest, #161139)In reply to: Igalia support? by dilinger
Parent article: Last rites for Gentoo's Chromium package
Please do contribute if you have something to add, or even a +1 on the concerns; I don't want to dogpile upstream but the situation they've left us with isn't one that can be easily solved.
It's either carry ever-growing reverts or use unreleased LLVM and Rust rolls. :(
Thanks and an alternative
Posted Oct 11, 2026 2:30 UTC (Sun) by Kangie (guest, #161139)In reply to: Thanks and an alternative by q3cpma
Parent article: Last rites for Gentoo's Chromium package
https://groups.google.com/a/chromium.org/g/embedder-dev/c...
Tarballs?
Posted Oct 11, 2026 2:29 UTC (Sun) by Kangie (guest, #161139)In reply to: Tarballs? by smurf
Parent article: Last rites for Gentoo's Chromium package
Tarballs are the canonical way that Linux distributions get their source code for a particular release. A git clone of Chromium is _massive_ and has overheads versus a tarball that's generated once, for example.
A good reason for wanting to use a tarball over a live git repo, even if you're targeting a tag, is working in an offline or air-gapped environment - you want the tarball to contain everything that you need to build the software (except for dependencies).
Gentoo isn't alone in using tarballs, and upstream do provide them; they just don't notice when it fails to generate because their CI is entirely based on git (which is fine - it's their workflow)
AI could help
Posted Oct 11, 2026 2:24 UTC (Sun) by Kangie (guest, #161139)In reply to: AI could help by notriddle
Parent article: Last rites for Gentoo's Chromium package
But why is compiling Chromium so difficult in the first place?
Recently ex-downstream package maintainer here.
There are a few reasons.
-
Google / upstream only care about their developer workflow. That's understandable - it's their browser, but that means doing things like using system compilers is almost completely unsupported.
-
Chromium is huge. It's the largest package that I'm aware of in terms of lines of code. It has tons of vendored dependencies, and the compilers that they're targeting shift regularly (as in, they pick a new rust and llvm commit and start using those).
-
It's huge. I said that, but to put it in perspective, a build with 32 threads, all I/O on ramdisk and no paging can take 3+ hours locally. Google work around this by having a ton of build nodes that you can farm out work to.
-
Upstream don't really care about consumers. The purpose of Chromium is to support Google Chrome. That's really about it. If their workflow works they don't even notice thousands of CI failures where tarballs stop being generated.
Packaging Chromium with limited manual effort
Posted Oct 11, 2026 2:15 UTC (Sun) by Kangie (guest, #161139)In reply to: Packaging Chromium with limited manual effort by DemiMarie
Parent article: Last rites for Gentoo's Chromium package
Gentoo ebuilds must run offline - it's a requirement for air gapped networks (etc.)
Cross compilation is reasonable - it's how upstream produce binaries, but at that point we're talking about building a full set of Chromium binary CI infrastructure.... which is on upstream to provide; we'd happily consume the binary but they don't want it distributed that way to compete with Chrome.
> Automate not only checking when a new version is released, but the entire fetch-build-upload process. This means that updates are shipped with no human intervention
Part of distro packaging is doing the testing and validation before pushing out a package to your users; you can automate and abstract a lot of that but eventually you need to test your package (or risk shipping a horrible regression).
Sharing efforts?
Posted Oct 10, 2026 23:43 UTC (Sat) by Hi-Angel (guest, #110915)Parent article: How KDE got funding to add enterprise features
It was unclear which instant-messaging protocols KDE should support
I mean, why do it yourself, you could just share efforts with libpurple/Pidgin maintainers.
