HNHacker News
TopNewBestAskShowJobs

derhuerst

233 karma · joined June 26, 2015

pronouns: he https://github.com/derhuerst
submissionscomments
derhuerst··on Show HN: Ubähnchen – Animated subway map of Berlin
Note that this also just interpolates the vehicles' positions based on their delay, which in turn is calculated based on periodic pings that the vehicle sends AFAIK.

So the map does not show realtime positions in the same sense as e.g. HSL's trip planner does. [1][2]

[1] In the departures section on the left, tap on one of the upcoming departures to see the vehicle in realtime: https://reittiopas.hsl.fi/terminaalit/HSL%3A1000105?locale=e... [2] https://digitransit.fi/en/developers/apis/4-realtime-api/veh...

derhuerst··on Show HN: Ubähnchen – Animated subway map of Berlin
AFAIK they do in some places where realtime data is available under and open license and in an acceptable format, e.g. in Switzerland.

shameless plug: I build a tool that polls VBB's (or any other compatible) API and produces a GTFS-Realtime feed. [1]

[1] https://github.com/derhuerst/berlin-gtfs-rt-server

derhuerst··on Show HN: Ubähnchen – Animated subway map of Berlin
It's such a shame that the official Tram network map [1] almost fits the U-Bahn/S-Bahn map [2], but not exactly.

My assumption is that, when BVG designed these, they had separate maps in mind already early in the process, because including all station names on a tiny printed map is not feasible. With those transparent maps at the trams' windows though, or especially with a digital zoomable map, this would be completely feasible.

According to a BVG email from a few years ago, there isn't even a machine-readable version of this map, which is why I hand-digitised it. [3] So sad because the creativeness of the internet combined with a "remixabe" [4] (or at least forkable) version would likely kick off cool projects!

If anyone wants to attempt merging them, please open an Issue in [5] to let me know!

PS: Do you know about the (experimental) BVG bus map? [6]

[1] https://www.bvg.de/dam/jcr:d45105f2-6752-4ec5-b882-893657205... [2] https://www.bvg.de/dam/jcr:60a89e3b-f88d-4d48-b8a6-98ab340ad... [3] https://github.com/derhuerst/bvg-topological-map/issues/7#is... [4] https://github.com/derhuerst/remix-bvg-map-frontend [5] https://github.com/derhuerst/bvg-topological-map [6] https://www.bvg.de/dam/jcr:ee4647c3-ce1e-4b0a-9546-b1848b85e...

derhuerst··on Show HN: Ubähnchen – Animated subway map of Berlin
Even though it is a great project/product, note that it does not have realtime data in Berlin/Brandenburg. It interpolates the position based on schedule data [1].

[1] I assume based on https://daten.berlin.de/datensaetze/vbb-fahrplandaten-gtfs

derhuerst··on Apple Cash
Among many reasons why exchanging an IBAN and submitting a SEPA transfer in the EU is so cumbersome is that there were at least two standards to encode those details in a QR code.

It seems that, by now, except Czech Republic & Slovakia [1], the EPC QR code [2] has won.

[1] https://en.wikipedia.org/wiki/Short_Payment_Descriptor [2] https://en.wikipedia.org/wiki/EPC_QR_code

derhuerst··on 9-Euro-Ticket
https://de.wikipedia.org/wiki/Berliner_Verkehrsbetriebe#Fina... the 2020 results are probably not very represenative, but you can find them on page 19: https://unternehmen.bvg.de/wp-content/uploads/2022/02/BVG-Ge...
derhuerst··on DigitalOcean: New $4 Droplet and updated pricing
A few months ago, I compiled this list to come up with cheap, mostly EU-based VPS providers: https://gist.github.com/derhuerst/4ef9a832e031bf82d6e640e2dd...

It doesn't take into account though: - update guarantees - quality of customer support (I had very bad experiences with Scaleway for example) - score normalisation across many instances, to compensate different loads on VM hosts into account

derhuerst··on Backblaze S-1 IPO
I use restic, so far it has worked very well.

https://restic.net/

derhuerst··on CodeMirror 6
specifically, Codemirror got funding [0] via the Prototype Fund [1], which is a partnership beteeen the Open Knowledge Foundation Germany [2] and the German federal ministry of education and research [3].

they fund public-interest open source projects, several per funding round.

[0] https://prototypefund.de/en/project/codemirror/

[1] https://prototypefund.de/en/about-2/

[2] https://okfn.de/en/

[3] https://www.bmbf.de/en/index.html

derhuerst··on DNS Push Notifications
Just speculating here, but they still have a Back-to-my-Mac-like feature: The HomePod allows for remote access to things in your home WiFi, e.g. IoT devices.

As IP addresses of home routers change often enough, this might be a use case for DNS push. Access has to work across work across carrier-grade NAT though, so they might still need more than DNS.

derhuerst··on Image Scrubber: tool for anonymizing photographs taken at protests
I opened https://github.com/everestpipkin/image-scrubber/issues/5 to discuss how to encourage people to use this tool responsibly. Please contribute your knowledge!
derhuerst··on Show HN: JavaScript lib to read tags from audio formats
sorry for the clickbait, but i didn't feel the need to reinvent the wheel. it doesn't work in the browser though.
derhuerst··on Tunnel TCP Through WebSockets (CLI Tool)
you're right, i was wrong, there is no core `socket` module (anymore?). but you were not right either.

node core can only tell if a file is a socket, but not read from it, at least that's what the docs say.

for people interested in this: https://github.com/santigimeno/node-unix-stream

derhuerst··on Tunnel TCP Through WebSockets (CLI Tool)
i'm aware that it usually is a bad practice. but mostly it is about handling errors as a valid state of the application, whereas in this case i'm not interested in any connection errors whatsoever.
derhuerst··on Tunnel TCP Through WebSockets (CLI Tool)
thanks for mentioning chisel!
derhuerst··on Tunnel TCP Through WebSockets (CLI Tool)
yup, the core `socket` module in Node.js is meant for that.
derhuerst··on Tunnel TCP Through WebSockets (CLI Tool)
if i understand you correctly, you want to set up the tunnelling server on the App Engine instance and the client on your local machine, right?

in this case, accessing google over HTTPS locally would not work properly, as the `Origin` header as well as the SSL cert wouldn't match.

derhuerst··on Tunnel TCP Through WebSockets (CLI Tool)
well the idea is not to trust any company or service or even reveal my password/key to it. my use case was only escaping the restricted wifi, not managing machines.
derhuerst··on Tunnel TCP Through WebSockets (CLI Tool)
Is it? At least my client is for the command line.
derhuerst··on Tunnel TCP Through WebSockets (CLI Tool)
Thanks for the tip! I stumbled upon corkscrew when quickly researching possible solutions, but eventually, I didn't have a second look at it.
derhuerst··on List of JavaScript modules for Berlin public transport
> This looks great, and useful. It must have been the result of a lot of figuring out […].

It was! Months, in fact.

> I wish my city (Prague) had something like this, in fact, should be publicly funded! ;)

I wish it was funded as well. I'd like to do open source & open data full time, but the government doesn't really recognise the value of community-based open data projects.

derhuerst··on Show HN: Generate SVG patterns (without D3)
> My first question was: why without D3, but to be honest it's pretty good and simple :) you don't always need all D3 just for _some_ features.

Even for bigger projects, I prefer not to use D3. Coming from a data journalism / data science background this may make sense, but from a web programming perspective, D3 has a pretty weird way of create DOM nodes etc.

I prefer a straightforward solution: a function that gets data and returns dom/virtual-dom.

> PS: the link for your github repo is kinda tricky to find at first :)

Will do something about it, thanks.

derhuerst··on Show HN: Node.js ANSI colors in template literals
Check out https://github.com/derhuerst/terminal-styles ! The description is a bit aggressive though.
derhuerst··on Show HN: Berlin public transport REST API (no key required)
> The public websites like vbb.de work well for me.

I intended this API mostly for web & app developers who want to combine the data with something else.

> I longed for a widget that always has the relevant timetable loaded, but then I don't wanna use GPS.

See https://github.com/JayBrown/VBBar

derhuerst··on Show HN: Command line autocompletion prompt
I know Inquirer.js, but my experience writing a plugin for it hasn't been nice. Also, the Inquirer.js autocompletion prompt feels quite slow.

The major reason is that I want really tiny modules to keep them focused on a specific thing and avoid mainteance overhead. I wanted one module for each kind of prompt and since I wrote my own helper modules (https://github.com/derhuerst/prompt-skeleton and https://github.com/derhuerst/cli-styles), it really felt like a breeze.

← PreviousPage 2 of 2