Better HN
topnewbestaskshowjobs
Log inSign up

dangrie158

46 karma · joined Feb 7, 2016 (10y ago) · 40 submissions

meet.hn/city/de-Stuttgart
Submissions

comment 1y ago · link · parent

Not in all traditions. E.g. in Germany Christmas Eve is typically the last day so you only get 24.

comment 1y ago · link · parent

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

comment 1y ago · link · parent

Rink: https://github.com/tiffany352/rink-rs/ Is an Open Source CLI implementation

comment 1y ago · link · parent

I love the name Altstore PAL for the app only usable in Europe.

comment 2y ago · link · parent

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 3y ago · link · parent

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 3y ago · link · parent

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.

8.

Show HN: Dolce – Get notified if something (bad) happens to your containers(github.com ↗)

4 points · by dangrie158 · 3y ago · 4 comments

comment 3y ago · link · parent

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/

comment 3y ago · link · parent

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 3y ago · link · parent

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 3y ago · link · parent

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 3y ago · link · parent

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 4y ago · link · parent

„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 4y ago · link · parent

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

comment 4y ago · link · parent

Wait, is the printers story over?

comment 4y ago · link · parent

Looks like bond wires, probably for some FETs that are glued down to the board. I guess part of the motor controller

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

Should be more like 35^2 considering the same area but scaled down features?

comment 4y ago · link · parent

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

comment 4y ago · link · parent

Ha! Did exactly the same for some time

comment 4y ago · link · parent

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)

comment 4y ago · link · parent

Does not seem Privilege free as it seems to need sudo to run the client to connect to the service?

comment 4y ago · link · parent

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

comment 4y ago · link · parent

https://youtu.be/SAaESb4wTCM

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 5y ago · link · parent

Well, IMO Bild [1] is basically the German version of The Sun based on sensationalism.

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

12