Standard Search
About 82 results
https://dev-stream.pckt.blog/til-join-over-dfm23ru · 23 Jan 2026
I discovered a neat pattern: using join with the function arrow ((->)) as a Monad. When you join over functions, you get: This lets you pass the same argument twice: once to determine what to do, and another to actually do it. In , we have validators with ...
https://dev-stream.pckt.blog/til-abortsignaltimeout-62fkgjz · 23 Jan 2026
For Promise timeouts, I was overworrying about doing setTimeouts with an AbortController, and cleaning them up afterwards to avoid memory leaks: The gods of JS smiled in my favor this week when I found out about AbortSignal.timeout (thanks to ). It simplif...
https://fischr.org/the-best-job-at-google/ · 31 Dec 2025
Recently, I came across two things I would call "Easter Eggs" in Google. The first happened while I was researching Cordyceps to add some facts to my review of Last of Us. I noticed that Google lets you "infect" the search results with the mushroom from th...
https://fischr.org/haben-flugzeuge-eigentlich-hupen/ · 18 Dec 2025
Mit über 2 Tagen im Flieger dieses Jahr, stellt man sich mitunter auch mal merkwürdige Fragen, während man in der Blechbüchse gefangen ist. So begab es sich, dass der Flieger von Paris zurück nach Hause relativ lange auf der Startbahn hinter einem and...
https://fischr.org/amy/ · 5 Dec 2025
Ich bin gerade mal wieder beruflich in Sofia und nach einem langen Tag mit viel zu vielen Meetings fragten die Kollegen, ob wir, die deutschen Besucher, Lust auf den deutschen Weihnachtsmarkt hätten. Ich dachte zuerst das sei ein Scherz, es stellte sich a...
https://kranti.me/3mm2qfcvzik2x · 14 Sep 2025
Cloudflare offers generous limits with their free offering. One of the products included is Cloudflare workers. You can host serverless projects without having to worry about how and where to host them. Cloudflare has another product Cloudflare Pages wh...
til
https://rednafi.com/go/prevent-struct-copies/ · 21 Apr 2025
Prevent dangerous struct copies with noCopy sentinel and go vet's copylock checker. Protect mutexes and sync primitives from value copies.
https://rednafi.com/go/tool-directive/ · 13 Apr 2025
Pin tool versions in Go 1.24 with the new 'tool' directive. Replace tools.go pattern with native go.mod support for project tooling.
https://rednafi.com/go/capture-console-output/ · 12 Apr 2025
Test functions that write to stdout/stderr in Go by capturing output with os.Pipe. Learn patterns to avoid deadlocks in concurrent tests.
https://rednafi.com/go/io-reader-signature/ · 8 Feb 2025
Understand why io.Reader takes a byte slice parameter instead of returning one. Learn about heap allocations and buffer reuse in Go streams.