HNHacker News
TopNewBestAskShowJobs

dangrie158

46 karma · joined February 7, 2016

meet.hn/city/de-Stuttgart
submissionscomments
dangrie158··on Advent of Code 2025: Number of puzzles reduce from 25 to 12 for the first time
Not in all traditions. E.g. in Germany Christmas Eve is typically the last day so you only get 24.
dangrie158··on Foreign visits into the U.S. fell off a cliff in March
This is linked right in the article: https://www.axios.com/2025/03/23/allies-issue-usa-travel-gui...

In it you’ll find several direct links to the official warnings

dangrie158··on Frink
Rink: https://github.com/tiffany352/rink-rs/ Is an Open Source CLI implementation
dangrie158··on EU's AltStore Gets First Native iOS Pornography App
I love the name Altstore PAL for the app only usable in Europe.
dangrie158··on Show HN: Mandala – Automatically save, query and version Python computations
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

dangrie158··on Show HN: Dolce – Get notified if something (bad) happens to your containers
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.

dangrie158··on Show HN: Dolce – Get notified if something (bad) happens to your containers
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.
dangrie158··on Nextcloud and OpenBSD = <3
Wow that’s expensive. If you are willing to get away from those highly dynamic providers and commit for a month or a year (which seems reasonable for that sort of thing) I currently rent a VPS at strato [1] with 1.5TB SSD/8 cores&16GB Ram guaranteed for 15€/month inkl an ipv4 and a TLD

[1]: https://www.strato.de/server/linux-vserver/

dangrie158··on Ask HN: Is there a Jupyter Notebook for terminal/shell
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
dangrie158··on Why Alexa won't wake up when hearing "Alexa" in Amazon's Super Bowl ad (2019)
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
dangrie158··on Granian – a Rust HTTP server for Python applications
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.

dangrie158··on Granian – a Rust HTTP server for Python applications
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?
dangrie158··on Apple security bounty upgraded
„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
dangrie158··on Audiobooks on Spotify
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
dangrie158··on Ask HN: What is your fav “I can't believe in 2022 this still doesn't work right”
Wait, is the printers story over?
dangrie158··on Students break acceleration world record for electric vehicles
Looks like bond wires, probably for some FETs that are glued down to the board. I guess part of the motor controller
dangrie158··on How to download all of Wikipedia onto a USB flash drive
In the old days :tm: I remember doing this as well with a 1GB drive ( and room to spare for some mobile apps).

Would be interesting to see a graph of usb size easily available vs. Wikipedia dump size.

dangrie158··on 3dfx Voodoo 5 6000 recreated via reverse engineering (2021)
Should be more like 35^2 considering the same area but scaled down features?
dangrie158··on Show HN: WakaQ - a Python distributed task queue
Why not just use a simple FTP server with curlftps to replace Dropbox then? ;)

But honestly, it seems like you did not read the article at all. That’s seems to be exactly what they do for the queue part, but you still need to manage the workers executing the tasks, lifecycle management and interfacing/serialization/deserialization for the tasks and results

dangrie158··on Ask HN: Who else can only fall asleep listening to audio content?
Ha! Did exactly the same for some time
dangrie158··on Lowbar – The simplest no-nonsense loading bar for Python
You may want to use Format specifiers or fstrings (>py36) for a „more pythonic“ code.

Also why do you annotate every variable, even if the type can be deduced automatically? That’s going to be a real PITA if you want to refactor the code e.g to support floats instead of ints any time in the future (in this case it’s probably just a hypothetical problem)

dangrie158··on Critical SIP Bypass Vulnerabilities in macOS PackageKit.framework
Does not seem Privilege free as it seems to need sudo to run the client to connect to the service?
dangrie158··on Has the world become less colourful?
Maybe the problem is cheap LED lamps. Check for a high color rendering index [1] (CRI >>90)

[1]: https://en.wikipedia.org/wiki/Color_rendering_index

dangrie158··on How does a USB keyboard work? (2021) [video]
https://youtu.be/SAaESb4wTCM
dangrie158··on Accelerated PyTorch Training on M1 Mac
You must have installed it a while ago then :). I just recently did and only needed to I stall 2 packages via pip (i think tensoflow-macos and tenderfoot-metal ) which I found much better than wrangling with cuda and cudnn versions for Nvidia cards
dangrie158··on Tried to charge my phone (with USB-C), but my laptop started getting charged
This is really weird, most laptops require 20V PD to charge since the internal cells are typically at ~17V. So if true one of the decices (probably the laptop) has a boost converter. Still probably really inefficient
dangrie158··on Tried to charge my phone (with USB-C), but my laptop started getting charged
There are cables with an IC connected to the CC pins. However this is AFAIK only used to determine if the cable can handle higher charging currents, still the MacBook could detect if the cable was plugged in before the device in the other side https://www.inviolabs.com/blogs/news/what-is-e-marker-and-wh...
dangrie158··on A Simple-as-Possible 8-Bit Breadboard Computer
I also build a SAP variant inspired by the Ben Eater series on YouTube. You can check it out here: https://github.com/dangrie158/SAP-1 Interestingly my docs are very similar to the linked article: https://dangrie158.github.io/SAP-1/

I think building such a low-level computer made me appreciate and understand current technology much more

dangrie158··on Politico sells to German publishing giant Axel Springer for $1B
Well, IMO Bild [1] is basically the German version of The Sun based on sensationalism.

[1]: https://en.m.wikipedia.org/wiki/Bild

dangrie158··on I made Ben Eater's 8-bit breadboard computer Emulator in C++
Nice, I built a version in python with curses visualization of all states. It emulates all chips ob the hardware level (chips.py) and does not need any dependencies except py3.7: https://github.com/dangrie158/SAP-1/tree/master/Emulator
Page 1 of 2Next →