frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Mac history echoes in current Mac operating systems

http://tenfourfox.blogspot.com/2025/08/mac-history-echoes-in-mac-operating.html
40•classichasclass•1h ago•7 comments

Claude Code IDE integration for Emacs

https://github.com/manzaltu/claude-code-ide.el
588•kgwgk•14h ago•193 comments

Rules by Which a Great Empire May Be Reduced to a Small One (1773)

https://founders.archives.gov/documents/Franklin/01-20-02-0213
78•freediver•4h ago•25 comments

A Candidate Giant Planet Imaged in the Habitable Zone of α Cen A

https://arxiv.org/abs/2508.03814
26•pinewurst•2h ago•9 comments

Project Hyperion: Interstellar ship design competition

https://www.projecthyperion.org
162•codeulike•7h ago•136 comments

Litestar is worth a look

https://www.b-list.org/weblog/2025/aug/06/litestar/
198•todsacerdoti•8h ago•50 comments

We'd be better off with 9-bit bytes

https://pavpanchekha.com/blog/9bit.html
102•luu•8h ago•192 comments

Jules, our asynchronous coding agent

https://blog.google/technology/google-labs/jules-now-available/
241•meetpateltech•11h ago•164 comments

Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

https://github.com/KittenML/KittenTTS
790•divamgupta•22h ago•322 comments

The Day MOOCs Died: Coursera's Preview Mode Kills Free Learning

https://www.classcentral.com/report/coursera-preview-mode-paywall/
34•deepakkarki•3d ago•20 comments

Writing a Rust GPU kernel driver: a brief introduction on how GPU drivers work

https://www.collabora.com/news-and-blog/blog/2025/08/06/writing-a-rust-gpu-kernel-driver-a-brief-introduction-on-how-gpu-drivers-work/
224•losgehts•11h ago•28 comments

Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs

https://www.baseten.co/blog/sota-performance-for-gpt-oss-120b-on-nvidia-gpus/
5•philipkiely•1h ago•0 comments

More than two hard disks in DOS

https://www.os2museum.com/wp/more-than-two-hard-disks-in-dos/
5•userbinator•3d ago•0 comments

You know more Finnish than you think

https://dannybate.com/2025/08/03/you-know-more-finnish-than-you-think/
62•infinate•2d ago•28 comments

A fast, growable array with stable pointers in C

https://danielchasehooper.com/posts/segment_array/
143•ibobev•9h ago•58 comments

The Bluesky Dictionary

https://www.avibagla.com/blueskydictionary/
119•gaws•7h ago•41 comments

Apple increases US commitment to $600B, announces American Manufacturing Program

https://www.apple.com/newsroom/2025/08/apple-increases-us-commitment-to-600-billion-usd-announces-ambitious-program/
26•Zenbit_UX•4h ago•10 comments

301party.com: Intentionally open redirect

https://301party.com/
69•nahikoa•7h ago•13 comments

Multics

https://www.multicians.org/multics.html
102•unleaded•10h ago•21 comments

Out-Fibbing CPython with the Plush Interpreter

https://pointersgonewild.com/2025-08-06-out-fibbing-cpython-with-the-plush-interpreter/
23•Bogdanp•4h ago•0 comments

Show HN: HMPL – Small Template Language for Rendering UI from Server to Client

https://github.com/hmpl-language/hmpl
7•aanthonymax•17h ago•5 comments

Comptime.ts: compile-time expressions for TypeScript

https://comptime.js.org/
104•excalo•3d ago•17 comments

A Man Who Beat IBM

https://every.to/feeds/b0e329f3048258e8eeb7/the-man-who-beat-ibm
45•vinnyglennon•3d ago•14 comments

Breaking the sorting barrier for directed single-source shortest paths

https://www.quantamagazine.org/new-method-is-the-fastest-way-to-find-the-best-routes-20250806/
139•baruchel•13h ago•43 comments

The Inkhaven Blogging Residency

https://www.inkhaven.blog/
29•venkii•3h ago•28 comments

Zig Error Patterns

https://glfmn.io/posts/zig-error-patterns/
124•Bogdanp•12h ago•33 comments

Automerge 3.0

https://automerge.org/blog/automerge-3/
250•surprisetalk•3d ago•21 comments

303Gen – 303 acid loops generator

https://303-gen-06a668.netlify.app/
180•ankitg12•15h ago•62 comments

AI in Search is driving more queries and higher quality clicks

https://blog.google/products/search/ai-search-driving-more-queries-higher-quality-clicks/
46•thm•10h ago•60 comments

Show HN: Sinkzone DNS – Forwarder that blocks everything except your allowlist

https://github.com/berbyte/sinkzone
72•dominis•11h ago•38 comments
Open in hackernews

Converting existing users to systemd-homed managed users

https://systemd.io/CONVERTING_TO_HOMED/
23•modinfo•4d ago

Comments

Valodim•6h ago
> Please note that this specification assumes that JSON numbers may cover the full integer range of -2^63 … 2^64-1 without loss of precision (i.e. INT64_MIN … UINT64_MAX). Please read, write and process user records as defined by this specification only with JSON implementations that provide this number range.

Wait, so.. not javascript?

chao-•5h ago
Interesting catch. Don't many desktop Linux utilities from the GNOME project use JavaScript?
mpyne•3h ago
And from KDE as well, through Qt's Qt Declarative libraries that use QML.

Judging by the Qt source, if the internal JS runtime JSON parser is used then it will not support full range of 64-bit integers, since the double floating point type is used for any integers x where abs(x) > 1^^25.

stonogo•3h ago
Most (all?) systems running systemd are going to have a javascript interpreter as a polkit dependency anyway.
deathanatos•4h ago
It's not the default, but JS is capable of this. (JavaScript has a big integer type nowadays, and the JSON.parse function's "reviver" parameter I think should be capable of parsing to bigints, but you'd need to specify such a reviver.)

Something like this, I think:

  JSON.parse(
    /* just a test input JSON */
    `{"a": 1.1, "b": 22222222222222222222222222222222, "c": {"d": 999999999999999999999999}}`,
    /* a reviver that returns BigInts, if it's an integer. */
    (key, value, context) => {
      if(typeof value === "number" && /^[0-9]+$/.test(context.source)) {
        return BigInt(context.source);
      } else {
        return value;
      }
    }
  );
WCSTombs•5h ago
> With the advent of systemd-homed it might be desirable to convert an existing, traditional user account to a systemd-homed managed one.

As someone unfamiliar with systemd-homed, I have a very basic question: why would someone want (or not want) to do this?

ocdtrekkie•5h ago
Based on... a web search: https://wiki.archlinux.org/title/Systemd-homed

The big thing appears to be moving the user metadata into the home directory itself rather than it being around the system, and enabling home folder encryption, which has been like... a single button press feature on Windows since like Windows XP. Sounds like a step forward.

yjftsjthsd-h•5h ago
I'm slightly confused. I understand the appeal to putting user configuration inside the home directory, and I definitely approve of encrypting each home directory individually, but doesn't doing both of them together mean that you can't read the user data until it's been decrypted?
0xCMP•4h ago
The encrypted volume has an encrypted copy of the `~/.identity` file in it's metadata fields.

The same key which encrypts the volume decrypts the metadata, but they use different IVs.

You could assume that most systems the key would be secured with the TPM so this won't be much of a big deal to the user, but otherwise when they try to login it would prompt for this password first.

throw0101d•3h ago
> * I understand the appeal to putting user configuration inside the home directory* […]

I'm not sure I understand the appeal. What does "putting user configuration inside the home directory" mean in this context? Is there a file with the UID, GIDs (primary, secondaries), GECOS, etc?

What is put inside the homedir?

JdeBP•2h ago
A lot of JSON in a big file.

* https://systemd.io/USER_RECORD/

You'll enjoy the bit about the umask. Yes, this is short on details of where all of the privileged and secret stuff lives.

bluGill•2h ago
You home dir including password is on a usb drive and so can move from machine to machine with all your files.
sgarland•5h ago
I don’t understand the obsession with systemd managing everything. I do not want it to manage my logs, NTP, DNS resolution, and I sure as hell don’t want it to manage /home.
bluGill•5h ago
I want something to manage home though. I shouldn't be unable to access my files just because I'm on a different computer from last time.

i'm not sure if that is what it does but I think that is a goal

strawhatguy•4h ago
Manage it do what now? Copy files between computers? Like rsync?

Or… like iCloud? No on that last one, having Linux require some server seems to defeat the point. Why not a Mac then?

bluGill•4h ago
I don't want to think about it, just login and everything is there where and as I left it. I had this in college in the early 1990's with yp and nfs. However setting that up is hard on a dedicated network. Getting it to work with a laptop which might not even be connected to a network (as happened to me last night on amtrak in the middle of nowhere, North Dakota)
yjftsjthsd-h•4h ago
Okay, but systemd can't teleport data. This could let you carry your home directory on a thumbdrive or such, but it's not a synchronization daemon. It kinda sounds like you just want syncthing or the like?
bluGill•4h ago
Roaming home directories are a goal of this project. It can work via home on a usb stick. I'm not sure how/if it works with network shares and usb both - something I want as I have several computers on my desk and lahtops I use for travel.
strawhatguy•2h ago
I remember the systemd folks talking about this thumb drive portability of your homedir . Seems very niche. Is that the only advantage of homed?
yjftsjthsd-h•2h ago
It would also work over NFS, which could have value.

My interest is actually in the opposite direction; I want a single machine with all home directories on its own internal hard disk, but where each user encrypts their home directory separately. That's doable other ways, but homed could be a nice way to do it that works out of the box.

whartung•4h ago
Yea I’ve been curious about this.

As mentioned, back in the day, you’d connect to a terminal server which would connect you to a random host. You’d login to that host (using a shared credential managed by yellow pages, maybe — this was pre-LDAP). Once logged in, something like mountd would mount your home directory from the NFS server and off you go.

Not a lot of these kinds of systems out there today. Curious how a modern one would be managed and secured.

appease7727•3h ago
I've been digging into this for years and it seems the consensus is simply RDP of some flavor. Mainly VNC derivatives and NX. NoMachine ticks all the boxes, it can manage spawning shells and passing audio and files. But I dunno, I just don't like it that much. It's not at all the same kind of magic that X forwarding is.
immibis•22m ago
Well, we had this at university. I think it's just running some protocol to sync user database (yp/nis/ldap/something) and amd to automount home dirs. You want to mount all home dirs on first access, not just who's logged in, unless you want to prevent people sharing files by Unix file permissions. Or mount the whole of /home, but then it has to go through one server.
strawhatguy•5h ago
Yeah big nope on this. Needs to be separate, if it’s useful at all, not systemd “separate”.

I don’t run systemd at all, to be safe.

aryonoco•4h ago
Stay safe!

Meanwhile, I want to be able to mount my home directory on an external drive, and have it shared between systems without UID/GID hell.

And,

Have an encrypted home directory and boot the system and be able to enter my password with my keyboard which is connected to a thunderbolt dock during boot. Something which has been possible on Mac and windows for a decade or two.

Systemd-homed is the ONLY way to achieve these (and many others) in Linux.

Criticisms of systemd just because “it doesn’t smell like Unix” is all nice and fine, but ignores real quality of life and security features it provides. If you don’t have these usecases, you’re welcome to continue to ignore systemd, but some of us actually want these feature.

msgodel•3h ago
You're comfortable sharing secret keys between systems?
bombcar•3h ago
The keys would definitely be secreted hehehe
yjftsjthsd-h•2h ago
> Systemd-homed is the ONLY way to achieve these (and many others) in Linux.

It absolutely is not. [Full] disk encryption has been fine for... at least 15 years, probably more. Sharing a home directory requires consistent UID/GID, but that's not hard even fully manually (which is fine if you're just one person).

quotemstr•4h ago
The free software world needed an API for managing system resources. Poettering came along and provided one. It's not perfect, but it solved problems. The resistance to systemd isn't proposing alternative ways of solving these problems. It's instead insisting these problems remain unfixed. Is it any wonder that the anti-systemd camp has become irrelevant?
bluGill•4h ago
i wouldn't mind the api where it must be different but all too often he had not invented here syndrom and reinvented things that worked great already while fixing what was broke. He also suffers from all the world is linux syndrom and so bsd needs to figure out how to solve the problem from scratch (mostly has not)
quotemstr•1h ago
Worked great already? Like 3,000 line shell scripts parsing dependency information out of comments? That's what I mean when I say about insisting problems not be solved.
bluGill•1h ago
That dependency problem needed to be fixed. However many other things go with it - I object to some
AlotOfReading•2h ago
A lot of the resistance to systemd isn't resistance to the problems being solved, it's resistance to solving the problems with a big ball of interdependent components. As we saw in the xz attack, that's a huge attack surface to consider and the project's general hostility to producing small, focused libraries means that people often depend on it where they shouldn't.
ocdtrekkie•4h ago
If you come from any other platform, the idea of needing to look up which version of which flavor of Linux you have to find what specific commands you need to use to do basic things looks insane.

systemd has done leaps and bounds for making Linux platforms look reasonably manageable and standardized.

inferiorhuman•4h ago

  systemd has done leaps and bounds
No it hasn't. For example going from Raspberry Pi OS to stock Debian I have to be mindful of where network manager is used in place of systemd. I have to be mindful of what version systemd is being used. Same hassle as before but now with less POSIX and more binary blobs.
throw0101d•3h ago
> If you come from any other platform, the idea of needing to look up which version of which flavor of Linux you have to find what specific commands you need to use to do basic things looks insane.

As opposed to jumping between IRIX and AIX and Solaris? See Rosetta Stone for Unix:

* https://bhami.com/rosetta.html

* https://bhami.com/unix-rosetta.pdf

Wasn't one of the points of multiple distributions was to allow experimentation and allowing for different philosophies of doing things? If you're going to homogenize things what's the point of having multiple distributions in the first place?

> systemd has done leaps and bounds for making Linux platforms look reasonably manageable and standardized.

So I've gone from service foo start/stop (which also works on BSD) to systemctl foo start/stop. Yay! (Of course some distros use "ssh" and others "sshd", or "apache2" versus "httpd".)

yjftsjthsd-h•2h ago
> If you come from any other platform, the idea of needing to look up which version of which flavor of Linux you have to find what specific commands you need to use to do basic things looks insane

Right, which is why Windows home edition is managed via GPO and iOS exposes the same APIs as macOS. /s

Different operating systems are different, even if they share a kernel.

IAmNotACellist•3h ago
When systemd came out people said you were a conspiracy theorist if you said it would be anything more than an init system. Now in the year of our Lord 2025 we're discussing "systemd-homed" as if that should ever be a real thing.
ants_everywhere•25m ago
I see the appeal. Imagine all the points of failure that are spread out all over the place in classical Unix.

Systemd kind of combs these all into one place so there's a single point of failure. Now there's just one of them, so it's DRY.

themafia•4h ago
The continued pathology of systemd.

You can't use d-bus for this because d-bus isn't available early enough, relies on user accounts, and can't enumerate through large sets of objects with optional filtering they had to create and invoke the completely separate "Varlink." Which is _closer_ to the traditional Unix/Plan9 service model without actually achieving it meaningfully.

The infamous part of d-bus, that it helps inject arbitrary binary payloads into existing text protocols, is now reversed in varlink, it takes what should be arbitrary binary payloads (user records, certificates, etc..) and instead forces you to manage them as JSON objects. Signing and conveying signatures for this object are predictably painful.

"The signature section contains one or more cryptographic signatures of a reduced version of the user record. This is used to ensure that only user records defined by a specific source are accepted on a system, by validating the signature against the set of locally accepted signature public keys. The signature is calculated from the JSON user record with all sections removed, except for regular, privileged, perMachine. Specifically, binding, status, signature itself and secret are removed first and thus not covered by the signature. This section is optional, and is only used when cryptographic validation of user records is required (as it is by systemd-homed.service for example)."

This all seems very brittle and I don't see the kinds of testing that would project confidence in this system. Good luck to all who use this and trust it.

surajrmal•1h ago
Ultimately ipc, service discovery, and security all need to be codesigned to work together. Systemd is unfortunately trying to work in an ecosystem where it does not have the luxury of a clean first principles approach. Generally I would argue moving off of dbus and onto varlink is in the right direction. I'm not sure what you think is brittle about the approach of using ipc and a schema for the data sent over it. If they had gone in the other direction and mandated grpc ala http instead, would that have been "less brittle"?
amluto•44m ago
That IMO does not, in any respect, excuse the signature design. This JSON+blobs design is totally new other than needing to support a handful of preexisting fields. And it’s very much the case that a lot of the record is trusted in the sense that loading malicious data could compromise the integrity or availability of the machine.

So structure it like that! Have a whole file that is signed or otherwise integrity-checked in its entirely. Have another file with fields that are per-(user,machine) and integrity-check that. “Integrity-check” means that you validate the binary contents of the file before you even attempt to parse it, and then you parse the literal bytes that you checked.

It’s not the nineties anymore, and architects should know better.

aryonoco•4h ago
For those curious about systemd-homed, lwn had a writeup about a discussion in Fedora about it which provides a good summary of the pros and cons of systemd-homed.

https://lwn.net/Articles/995915/

throw0101d•2h ago
It seems to be that a lot of what systemd is doing (over and above being 'just' an init system) seems to be focused on standalone systems.

And that's fine and all for some folks, but for those of us sysadmin-ing servers/VMs, it's all sorts of annoying that these sub-systems exist for dynamic environments (laptops using networkd/resolvd/etc to handle moving around), but I just want my system to be static and not have (e.g.) resolv.conf futzed around with (I've taken to doing a chattr +i on the file quite often).

nixosbestos•2h ago
Hm. So then don't use (systemd-)resolved? Alternatively, I've accepted that it's built to work with a decades-old ecosystem and that resolv.conf is effectively a generated, read-only-except-resolved file. And in turn, resolved's configuration is perfectly static and equally immutable. /shrug

My* only problem is that it's pretty good at what it does, and can be... more helpful than you might like at providing consistent global DNS resolution. For example, it's use over dbus makes processes in `netns`s susceptible to leaking DNS requests. Though arguably I should've been going more full-containery than just a netns maybe, given my expectations.

throw0101a•2h ago
> Hm. So then don't use (systemd-)resolved?

The number of ways and things that twiddle with /etc/resolv.conf nowadays is quite unreasonable.

Changing the IP address was also fairly simple in editing a file, but now there's networkd sometimes, and NetManager other times, and netplan too, and perhaps make sure your YAML file is indented with the right number of spaces in the right place…

yjftsjthsd-h•25m ago
> The number of ways and things that twiddle with /etc/resolv.conf nowadays is quite unreasonable.

In many years of daily-driving unix-likes and being an amateur and professional sysadmin, I think resolv.conf is the only time I've ever actually used `chattr +i`.

erlkonig•59m ago
<tirade style="justified">

F*k systemd, and systemd-homed along with it.

Their docs don't even mention homes mounted over NFS, or LDAP managed users. This is the same sort of pathetically marginal garbage that damns Snaps, which somehow think that large environments put all user directories in /home - even that that is NOT a standard and doesn't scale worth a damn.

Systemd is a curse, the TRON MCP that doesn't even seem have a system for alternate solutions to compete. Before systemd we saw a more lively environment of alternatives for each service area, but systemd strangles this with a collection of mediocrities, and lack of foresight.

Looking through the doc at https://systemd.io/HOME_DIRECTORY/ shows a entire webpage built of ideas many would rightfully reject, some defy standards, some defy common sense, and best practices, fail to scale, add arbitrary constraints, or have other problems.

I've been a sysadmin at large sites before. systemd-homed looks a lot like unusable trash.

</tirade>