HackerTrans
TopNewTrendsCommentsPastAskShowJobs

knagy

no profile record

Submissions

The Recursive Descent

deadlime.hu
2 points·by knagy·vor 2 Monaten·0 comments

Something's in the air – Atomic clocks, radio signals, and time synchronization

deadlime.hu
3 points·by knagy·vor 2 Jahren·2 comments

Technologies Left Behind

deadlime.hu
1 points·by knagy·vor 3 Jahren·1 comments

comments

knagy
·vor 10 Monaten·discuss
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...
knagy
·letztes Jahr·discuss
I went down this rabbit hole a while ago[1], it's a fun experience to try out technologies that nowadays are considered unconventional or outdated.

[1]: https://deadlime.hu/en/2023/11/24/technologies-left-behind/
knagy
·vor 2 Jahren·discuss
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...
knagy
·vor 2 Jahren·discuss
Related xkcd: https://xkcd.com/632/
knagy
·vor 2 Jahren·discuss
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).
knagy
·vor 3 Jahren·discuss
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...
knagy
·vor 3 Jahren·discuss
https://deadlime.hu/en/

A bit of a mixed bag, just what I'm currently interested in, with potentially huge time gaps between posts.
knagy
·vor 3 Jahren·discuss
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.
knagy
·vor 3 Jahren·discuss
I did something similar as an AutoHotkey[1] script on Windows[2].

I just hit Win+N, a small window appears, I write a line of text, hit enter and it gets saved to the quicklog.txt.

[1] https://www.autohotkey.com/

[2] https://gist.github.com/knagy/4cdb5af48e23a6b33299d3f2fb2d4f...

edit: replaced the inline code with a Gist link
knagy
·vor 3 Jahren·discuss
Reminds me of this article from Riot Games about how they deliver patches: https://technology.riotgames.com/news/supercharging-data-del...