Better HN
topnewbestaskshowjobs
Log inSign up

emersion

1,402 karma · joined Apr 1, 2016 (10y ago) · 253 submissions

[ my public key: https://keybase.io/emersion; my proof: https://keybase.io/emersion/sigs/rG1cF4bsomhCCfaFB7BmHYZMsbof0h0CWXBO5SfxpiQ ]
Submissions

comment 1w ago · link · parent

Another open-for-everyone tile server is Tuiles en Libertés : https://tuiles.enliberte.fr/

comment 2mo ago · link · parent

This works as long as you're the only copyright holder. If other developers contribute, weakening the license requires their approval.

comment 2mo ago · link · parent

Do you have plans to publish the source code under an open-source license?

comment 8mo ago · link · parent

Some time ago I've written an article about a particular aspect of shells, job control: https://emersion.fr/blog/2019/job-control/

comment 10mo ago · link · parent

Library maintainer here. Why not send a PR?

comment 10mo ago · link · parent

My go-to small event loop library is https://github.com/any1/aml

comment 10mo ago · link · parent

No, it just felt a tad cleaner to have the comment slashes separate from the path leading slash.

comment 10mo ago · link · parent

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

comment 1y ago · link · parent

AFAIU not yet because the underlying GUI framework doesn't support this, but the developer mentioned they'd definitely be interested in adding it.

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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

comment 1y ago · link · parent

Pretty much reverse engineered: https://mk.pars.ee/notes/a9ihgynpvdo6003w

comment 1y ago · link · parent

Similar (but more mature) client : https://sr.ht/~delthas/senpai/

comment 1y ago · link · parent

The Wayland library has upstream support for FreeBSD and OpenBSD. Some compositors also have upstream support for these.

16.

IRC technology news from the second half of 2024(ilmarilauhakangas.fi ↗)

5 points · by emersion · 1y ago · 1 comment

comment 1y ago · link · parent

Another option would be to try this hydroxide patch (that i need to find time to review...):

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

comment 2y ago · link · parent

With a shell such as fish, one can "git commit --fixup <tab>" and a list of commits will be displayed.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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!

comment 2y ago · link · parent

https://git.sr.ht/~ntietz/hurl-lang/tree/main/item/LICENSE/G...

comment 2y ago · link · parent

The userspace components (GL/Vulkan driver, NVENC, etc) and the firmware remain closed source.

comment 2y ago · link · parent

The Steam Deck dock supports this, for instance.

comment 2y ago · link · parent

A possible workaround for users is to use an active HDMI adapter, e.g. a USB-C dock or DisplayPort → HDMI converter.

comment 2y ago · link · parent

FWIW Flutter is now moving sway from Skia, they are migrating to a dedicated custom GPU renderer (Impeller).

comment 2y ago · link · parent

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27...

comment 2y ago · link · parent

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).
12345
9