knagy
knagy on Hacker News
Posted by
knagy on Monday May 11, 2026 @06:45AM
from the deadlime.hu dept.
One interesting thing I learned while I tried to handle local time and NTP on a Raspberry Pico is that the TZ environment variable (that's usually something like "Etc/UTC" pointing to a zoneinfo file) can contain a TZ config as well, like "CET-1CEST,M3.5.0/2,M10.5.0/3". [1]
[1] https://sourceware.org/glibc/manual/2.42/html_node/TZ-Variab...
That unix domain socket solution sounds really nice. I wonder if it would be possible to send something naughty in the host header (like something with ../../.. in it) to misuse this or nginx does some validation before it reaches the proxy_pass...
I also tried to hack together my own solution [0] just for fun, but I didn't know about the unix socket part, so at the end I went with traefik and redis. :)
[0] https://deadlime.hu/en/2023/10/29/light-at-the-end-of-the-tu...
I'm by no means an expert, but it could be interference caused by other electronic devices, the direction of the ferrite rod antenna inside the clock (it cannot get signal if it's pointing in the direction of the transmitter), or maybe the battery running low in the clock could also cause something like this (based on that the Pico wasn't able to power the receiver module in my experiments).
Posted by
knagy on Tuesday January 30, 2024 @11:29AM
from the deadlime.hu dept.
Posted by
knagy on Thursday December 28, 2023 @03:53AM
from the deadlime.hu dept.
I have a vague memory about a security talk where they used TXT records to deliver a payload to a machine and they had to write such code that the rows returned in the TXT records could be run in any order because the order the TXT records are returned is not deterministic.
I couldn't find the talk, but I found this nice article: https://unit42.paloaltonetworks.com/dns-tunneling-how-dns-ca...
https://deadlime.hu/en/A bit of a mixed bag, just what I'm currently interested in, with potentially huge time gaps between posts.
After I first encountered with GPT4, I was pessimistic about the future of my job too. Now I think it will be a productivity multiplier in the right hands (or I hope). You can get proper answers from it if you somewhat know the domain. I can ask GPT4 about programming and I get mostly what I want, but I'm useless if I have to get a decent picture from DALL-E.
The question is what will companies do with this productivity multiplier. My pessimistic guess would be cost cutting and letting people go. A bit more optimistic view could be better software, better test coverage, improvement in code quality, more features quicker or maybe more native applications if companies only need to develop one native app and AI can generate the app for other platforms.