News for hackers. Stuff that matters.

emersion

Re:I Changed My License on Sunday September 06, 2026 @08:00AM (#49585664)
This works as long as you're the only copyright holder. If other developers contribute, weakening the license requires their approval.
Re:Git hosting that never leaves Europe on Saturday September 05, 2026 @12:07PM (#49577899)
Do you have plans to publish the source code under an open-source license?
Re:Building a Shell on Tuesday March 17, 2026 @08:04AM (#47411520)
Some time ago I've written an article about a particular aspect of shells, job control: https://emersion.fr/blog/2019/job-control/
Re:Many Hells of WebDAV: Writing a Client/Server in Go on Thursday January 08, 2026 @04:54AM (#46539238)
Library maintainer here. Why not send a PR?
My go-to small event loop library is https://github.com/any1/aml
Re:Go Away Python on Tuesday December 30, 2025 @05:21PM (#46438745)
No, it just felt a tad cleaner to have the comment slashes separate from the path leading slash.
Re:Go Away Python on Tuesday December 30, 2025 @07:02AM (#46432470)
The following would probably be more portable:

    ///usr/bin/env go run "$0" "$@"; exit
Note, the exit code isn't passed through due to: https://github.com/golang/go/issues/13440
AFAIU not yet because the underlying GUI framework doesn't support this, but the developer mentioned they'd definitely be interested in adding it.
Re:vali, a C library for Varlink on Tuesday October 14, 2025 @02:51AM (#45576996)
"you lost compile-time type checking" makes it sound like you haven't been using code generation? Varlink has an interface definition language which makes everything type-safe.
Re:vali, a C library for Varlink on Tuesday October 14, 2025 @01:38AM (#45576634)
The main use-case is different: gRPC and Cap'n'Proto are designed for networked servers, while D-Bus and Varlink are designed for local IPC. Varlink is a lot simpler than other alternatives.
Re:The product of the railways is the timetable on Friday October 10, 2025 @06:12AM (#45537141)
There are open-source projects trying to replace older closed-source software used to produce these timetables:

- Netzgrafik-Editor: https://github.com/OpenRailAssociation/netzgrafik-editor-fro...

- OSRD: https://osrd.fr/en/

(Disclaimer: I'm working on OSRD.)

Re:FFmpeg 8.0 on Friday August 22, 2025 @08:52PM (#44991851)
Pretty much reverse engineered: https://mk.pars.ee/notes/a9ihgynpvdo6003w
Similar (but more mature) client : https://sr.ht/~delthas/senpai/
Re:Reassessing Wayland on Thursday February 13, 2025 @08:14AM (#43035486)
The Wayland library has upstream support for FreeBSD and OpenBSD. Some compositors also have upstream support for these.
Re:I failed moving my Google calendar to Proton on Wednesday January 15, 2025 @06:09AM (#42709636)
Another option would be to try this hydroxide patch (that i need to find time to review...):

https://github.com/emersion/hydroxide/pull/282

Re:Git-absorb: Git commit –fixup, but automatic on Thursday September 26, 2024 @12:40PM (#41660500)
With a shell such as fish, one can "git commit --fixup <tab>" and a list of commits will be displayed.
Re:OSRD: Open-Source Railway Designer on Thursday June 20, 2024 @12:26PM (#40740479)
Part of the answer is that some of these services need to be scaled horizontally to be able to handle a significant number of users (e.g. tile servers, the core server), another part of the answer is architectural constraints (e.g. the core server needs to keep quite a bit of per-infrastructure data in RAM).

(Of course, it's completely possible to build a single container which runs all of the services in parallel, but then monitoring/scaling/availability/etc are more difficult to handle.)

Re:OSRD: Open-Source Railway Designer on Thursday June 20, 2024 @07:30AM (#40737430)
The database needs to be shared between multiple actors: several teams of multiple people working in different companies. For instance, a team may be working on a single project such as a new railway or a large timetable change. Another example would be multiple freight companies requesting new routes.

Additionally, the UI contains complicated elements such as custom maps with the railway network and custom graphs to visualize trains. There is a large ecosystem to implement this kind of stuff via Web technologies. A webapp also removes the need to distribute an installable binary on many different platforms (some may be quite restricted due to company policies) and many different machines (there are many users, see above).

Note that the system uses a client-server architecture but isn't really distributed.

Re:OSRD: Open-Source Railway Designer on Thursday June 20, 2024 @07:21AM (#40737367)
Shouldn't be too hard, the tool is designed to be intuitive. That said, it may not be obvious how to use the planning part of the tool if you're not familiar with trains.

The README contains instructions to start OSRD with docker-compose, if you want to try it out. Would be nice to have a public demo instance for sure!

The userspace components (GL/Vulkan driver, NVENC, etc) and the firmware remain closed source.
Re:You can't make an open source HDMI 2.1 driver on Sunday March 10, 2024 @10:59AM (#39659668)
The Steam Deck dock supports this, for instance.
Re:You can't make an open source HDMI 2.1 driver on Friday March 01, 2024 @06:13AM (#39560698)
A possible workaround for users is to use an active HDMI adapter, e.g. a USB-C dock or DisplayPort → HDMI converter.
Re:WebKit switching to Skia for 2d graphics rendering on Tuesday February 20, 2024 @03:15AM (#39439053)
FWIW Flutter is now moving sway from Skia, they are migrating to a dedicated custom GPU renderer (Impeller).
Yes. I'd argue the problem is not on the project's side, it's on the Google side (they have ridiculously high requirements for registering OAuth clients for IMAP/SMTP use, especially for a small open-source project).
Unfortunately this requires users to setup their own OAuth client, which is a pretty manual/cumbersome process.
Note that Google has a very complicated process to migrate an IMAP/SMTP app to OAuth. There is a long list of requirements to register an OAuth client for these protocols: https://developers.google.com/terms/api-services-user-data-p...
Re:Statement regarding the ongoing Sourcehut outage on Friday January 12, 2024 @08:03AM (#38967462)
AMS ≠ AWS :P

Older »