Better HN
topnewbestaskshowjobs
Log inSign up

derhuerst

254 karma · joined Jun 26, 2015 (11y ago) · 81 submissions

pronouns: he https://github.com/derhuerst
Submissions

comment 6d ago · link · parent

Currently, the Ubuntu [1] & Debian [2] packages seem unpatched.

[1] https://launchpad.net/ubuntu/+source/nginx [2] https://tracker.debian.org/pkg/nginx

comment 2w ago · link · parent

previous discussion on the predecessor post, 69 days ago, 547 comments: https://news.ycombinator.com/item?id=49550772

comment 1y ago · link · parent

In case you are in (or IP-geolocated to) the EU: https://www.arte.tv/en/videos/115068-000-A/nuclear-putin-s-d...

comment 1y ago · link · parent

to give a example: https://en.m.wikipedia.org/wiki/2019%E2%80%932021_Jammu_and_...

i'm not sure if in this case "only" the 4G network was shut off, but IMO it still serves as a good reminder of when such an event might happen again.

also: https://ooni.org/reports/

comment 1y ago · link · parent

blog post with the background story why this was created: https://asahilinux.org/2025/03/progress-report-6-14/#is-this...

comment 1y ago · link · parent

remotely related:

libinput (handles touchpad input in most Linux distributions) now supports three-finger dragging [0].

[0] https://who-t.blogspot.com/2025/02/libinput-and-3-finger-dra...

comment 1y ago · link · parent

remotely related: When I used nearley.js [0], it had a very good learning curve. Tooling also looks quite nice.

[0] https://nearley.js.org/

comment 1y ago · link · parent

This [0] seems to be the closest to your parent's statement:

> The common ground is that I have absolutely no interest in helping to spread a multi-language code base. I absolutely support using Rust in new codebase, but I do not at all in Linux.

[0] https://lwn.net/ml/all/20250204052916.GA28741@lst.de/

comment 1y ago · link · parent

similar project: https://www.trainconnections.com/

comment 2y ago · link · parent

https://github.com/AsahiLinux/speakersafetyd

comment 2y ago · link · parent

for Node.js, consider retry: https://www.npmjs.com/package/retry

comment 2y ago · link · parent

It looks like you have to manually add a 10G uplink to dedicated boxes: https://docs.hetzner.com/robot/dedicated-server/network/10g-...

comment 2y ago · link · parent

I built a JavaScript library for my needs: https://github.com/derhuerst/parse-human-relative-time

comment 2y ago · link · parent

I think it would be great to be able to embed the workflow in the URL, so that I can share pre-made workflows with people who can then apply it to their data.

comment 2y ago · link · parent

A while ago I made this: https://derhuerst.github.io/berlin-subway-guide/

It is based on someone's enormous body of CC-licensed photos of cities in Europe, especially their public transportation systems. [1] – I re-use the photos by assigning them to the station IDs in Berlin's official transit dataset. [2]

[1] https://flickr.com/photos/ingolfbln/albums/ [2] https://github.com/derhuerst/vbb-station-photos

comment 2y ago · link · parent

I do the same, but because it became tedious to insert the query & query plan manually, I wrote pev2-cli [1].

[1] https://github.com/derhuerst/pev2-cli

comment 2y ago · link · parent

PRQL [1] is a compile-to-SQL relational querying language that puts FROM first.

[1] https://prql-lang.org

comment 2y ago · link · parent

AFAIK mininet [0] can help you with this. It allows configuring latency and/or jitter dynamically using Python [1].

[0] https://mininet.org [1] https://mininet.org/api/classmininet_1_1link_1_1TCIntf.html#...

comment 2y ago · link · parent

apparently the author is responding to questions in a sibling post: https://news.ycombinator.com/item?id=38666139

comment 3y ago · link · parent

This has been discussed recently [1] in another post.

[1] https://news.ycombinator.com/item?id=36815705 (4 days ago, 202 points, 32 comments)

comment 3y ago · link · parent

some past HN discussions: - https://news.ycombinator.com/item?id=20783006 - https://news.ycombinator.com/item?id=27525031 - https://news.ycombinator.com/item?id=33419944

comment 3y ago · link · parent

see also https://news.ycombinator.com/item?id=34982889

comment 3y ago · link · parent

I have used cscreen [1][2] for a while to switch resolutions beyond what macOS offers via its GUI. You can install it via `brew install cscreen`.

It seems like displayplacer is the spiritual and de facto successor to screen. [3]

[1] https://www.pyehouse.com/cscreen/#comments [2] https://apple.stackexchange.com/a/73696 [3] https://apple.stackexchange.com/a/173875

comment 3y ago · link · parent

The extension could also use Wikidata [1] entries – which (AFAIK almost always) hold the data that is displayed in Wikipedia article's infobox – because then it wouldn't have to resort to parsing HTML.

Specifically, Wikidata has a "official website" property [2] that seems to be used. If there are multiple extensions, like in Sci-Hub's case [3], it could pick one based on user preferences.

[1] https://www.wikidata.org/ [2] https://www.wikidata.org/wiki/Property:P856 [3] https://www.wikidata.org/wiki/Q21980377

comment 4y ago · link · parent

related: chisel [1] does TCP over HTTP

[1] https://github.com/jpillora/chisel

comment 4y ago · link · parent

According to this tweet [1] by someone at a German climate NGO it is about 15 Mt CO2e, looking at the greenhouse effect of the Methane in the next 20 years.

[1] https://twitter.com/SaschaBay/status/1574664872293715968

comment 4y ago · link · parent

> When I changed 'my-awesome-program' to 'ubahnchen' or something else when creating the hafas-client, it stopped getting valid responses.

Please report this as an Issue in the hafas-client repo, so we can discuss this further.

> So I thought I should wait for VBB to give me an ID that works.

This is not how it works: - The official VBB API is an entirely different API, which they give you an auth token for when you ask. - hafas-client uses the "mobile" API, which has a static universal auth token. But it sends a (slightly randomised) User-Agent in order to communicate who/what is making requests. It might be that some User-Agents are blocked.

comment 4y ago · link · parent

> v5.vbb.transport.rest's frames were missing something I needed, if I recall correctly. With a fork of hafas-client, I got something to work okay.

It would be great if you could create an Issue in hafas-client about this, so everyone can benefit from the changes.

> I realised I should use another user agent than 'my-awesome-program' which only VBB can provide, I think

If you're talking about hafas-client: No, you can use anything! It's merely about being transparent towards VBB who/what is using their API, but they don't have to approve it beforehand; They can't in fact, because the "mobile" HAFAS API just uses a static auth token.

comment 4y ago · link · parent

There is a project called Peermaps that is building a full P2P stack for OSM-based maps:

They convert Planet OSM and Natural Earth OSM dumps into the storage format used by their geospatial DB [1] and then distribute them using P2P file storage tools like IPFS [3] or hyperdrive [4].

Because those storage tools make use of content addressing [5] and clever chunking [6], you can download only changes to the (converted) OSM dump.

Because those tools are inherently P2P-focused and come with pluggable transports, the data representing the changes in the (converted) OSM dump don't have to be sent via the internet. For example, Mapeo [7] allows syncing "local" changes to OSM via USB sticks [8].

[1] https://github.com/peermaps/eyros [2] https://github.com/peermaps/data [3] https://ipfs.io/#why [4] https://hypercore-protocol.org/guides/modules/hyperdrive/ [5] https://docs.ipfs.tech/concepts/how-ipfs-works/#content-addr... [6] https://blog.gopheracademy.com/advent-2018/split-data-with-c... [7] https://www.digital-democracy.org/mapeo/ [8] https://docs.mapeo.app/complete-reference-guide/mapeo-deskto...

comment 4y ago · link · parent

Author of hafas-client here!

Do you know about v5.vbb.transport.rest's /radar API [1]? Because it wraps VBB's de-facto-open unofficial API [2][3], it doesn't require authentication or even signing a contract.

If you have problems using it, please get in touch with me!

[1] https://v5.vbb.transport.rest/api.html#get-radar [2] https://github.com/public-transport/hafas-client/tree/5.25.0... [3] https://github.com/public-transport/transport-apis/blob/8e05...

123