dangrie158

Joined 10 years ago

Karma
46
Submissions
40
Member since
Feb 7
meet.hn/city/de-Stuttgart
View on Hacker News

Recent submissions

Comment · 1 year ago
Not in all traditions. E.g. in Germany Christmas Eve is typically the last day so you only get 24.
Comment · 1 year ago
Comment · 1 year ago
Rink: https://github.com/tiffany352/rink-rs/ Is an Open Source CLI implementation
Comment · 1 year ago
I love the name Altstore PAL for the app only usable in Europe.
Comment · 2 years ago
You can directly hash the code using inspect: https://docs.python.org/3/library/inspect.html#inspect.getso...

And do something similar for the arguments (maybe pickling to get a bytes object you can hash without relying on specific types). Using just the hash function could come with footguns for mutable objects

Comment · 3 years ago
Well, sort of. The original downtime was caused by the reverse proxy dying for no apparent reason. This state could be detected by healthchecks. However the quick solution after the second time the container went away while on holiday was to use ‚restart: unless-stopped‘ and I could see a case where the container was down 90% of the time but just-so-happend to be freshly restarted while the healthchecks were looking.

That’s why I decided to use the docker API’s /events endpoint to get notified about all changes. Using dockers healthcheck features you can even monitor the availability of the http server with this solution as well. I did not find a project that went the same route.

The downside to this approach of course is, that if docker goes down you won’t get notified, also if you just use curl inside the container for healthchecks, you won’t notice external network problems. So something that is hosted on the outside like healthchecks.io is a great addition.

Comment · 3 years ago
Thanks, appreciate it. It was a fun exercise and if you end up with a tool that you and hopefully others can use even better.
Comment · 3 years ago
Comment · 3 years ago
You can run any command in the shell by prefixing them with ! In the jupyter cell. However I don‘t think jupyter notebooks are super useful for that usecase as you can’t simply double click to open them
Comment · 3 years ago
Well my dog is called Lizzy. That’s apparently close enough. The first times I freaked out a bit when a voice answered to something I said to my dog when I was alone at home
Comment · 3 years ago
This is a different scope aimed at hosting a production service.

The Python included http Server is super useful but for completely different use cases.

Comment · 3 years ago
So you mean feature complete and it only needs updates to fix bugs or security issues? Since it still is maintained (which is what maintenance mode means or not) why would you not include it in a comparison?
Comment · 4 years ago
„Locked device after first unlock“ => the device is locked but was unlocked at least once after boot. I guess this loads some keys from the tpm into ram. Using Face ID for example requires an initial unlock via the users pin
Comment · 4 years ago
Don‘t know about the US market but in Germany there were many audio books available in Spotify already that you could access via the normal premium subscription. Few days after I read about the launch of purchasable audio books in the US all of those vanished so I canceled my subscription and got Apple Music via Apple one which was a little cheaper for the whole family when adding the extra iCloud storage I needed anyway. Happy with the decision so far. I just had to move all my playlists to Apple Music which was easy due to a random online tool I found

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton