HNHacker News
TopNewBestAskShowJobs

abahlo

505 karma · joined February 11, 2013

submissionscomments
abahlo··on Exploring Otel data in the console via axiom.co
What color scheme are you using?
abahlo··on Bluesky Social Dataset (235M posts from 4M users)
If you just want to play around with the data, check out the bsky dataset on Axiom https://play.axiom.co/axiom-play-qf1k/stream/bsky (700M+ events and counting)
abahlo··on Dysfunctional Options Pattern in Go
Isn’t this just the builder pattern without Build()?
abahlo··on Ask HN: Do you use a feature flag system? What does it look like?
The mess is what I‘m concerned about—I don’t want to introduce new complexity if I can avoid it.
abahlo··on Ask HN: Do you use a feature flag system? What does it look like?
Thanks!
abahlo··on Bits of Advice for 30 Years
Love it!
abahlo··on Bits of Advice for 30 Years
I’d argue that this is mostly a collection of other people’s live advice.
abahlo··on Ask HN: What tech newsletters are you currently subscribing to?
Shameless plug: https://arne.me/weekly
abahlo··on Static OG (Open Graph) Images in Astro
A guide to set up build-time Open Graph images in Astro using Satori, sharp and Astro endpoints.
abahlo··on Ask HN: Share your personal site
https://arne.me

The color scheme is derived from the current commit sha. It's built using Zola [0] and Nix. See GitHub [1].

[0] https://www.getzola.org

[1] https://github.com/bahlo/arne.me

abahlo··on Using email wrong
No, it‘s not perfect — but if something slips through, I‘ll sort it out manually.
abahlo··on HN titles containing the words “written in rust”
Alternative representation as a graph: https://play.axiom.co/axiom-play-qf1k/explorer?qid=RoNz1jZ9Q...
abahlo··on Show HN: Easy split-horizon DNS with mapdns
I have Tailscale set up for my home server and a public domain for internal services (to make SSL easy). The domain points to the local IP address (192.168.178.X) and mapdns to the Tailscale IP (100.78.X.X). I then configured Tailscale to search for <my domain> using the mapdns server.

Now I can resolve my local network device with the same SSL-protected domain, no matter if I'm out and about using VPN or at home.

abahlo··on Show HN: Most active bots commenting on GitHub in the past 30 days
Wow, dependabot opened 2.7 Million PRs in the last 30 days https://play.axiom.co/axiom-play-qf1k/explorer?qid=blX8pIiTb...
abahlo··on Effective Go
Yeah I actually agree, will make them sound less like a must. In early Go times people would use one-letter variables everywhere which was horrible.
abahlo··on Effective Go
Good points, thank you!
abahlo··on Effective Go
Shameless plug on my opinionated [Go Styleguide](https://github.com/bahlo/go-styleguide) – let me know what you think!
abahlo··on Ask HN: What tiny purchases have disproportionately improved your life?
Do you happen to know what models these are?
abahlo··on Show HN: Print a WiFi Login Card
That would me amazing
abahlo··on Lemonade says website security flaw is ‘by design’
Even if it‘s by design that you can share a page, you shouldn‘t be able to change account data should you? And it sounds like the author didn‘t share their page and it was still accessible.

MW made a video: https://youtu.be/ILcjmnFCID8

abahlo··on CXX - Safe interop between Rust and C++
Looks super great! Someone write this for Go please.
abahlo··on HTTPWTF
I think they mean requests from a browser.
abahlo··on All 104 amendments to the Constitution of India as Git commits
Shouldn‘t it be one commit if they were amended? /s
abahlo··on Ask HN: Is Signal Down?
https://status.signal.org says "Up and running"

Edit: Downdetector says its down https://downdetector.com/status/signal/, Twitter also has issues.

abahlo··on Show HN: Sonyflake – distributed unique ID generator implemented in Rust
Is it? Not sure private ips are so sensitive, esp. the lower parts.
abahlo··on Show HN: Sonyflake – distributed unique ID generator implemented in Rust
A Sonyflake ID is composed of

  39 bits for time in units of 10 msec
  8 bits for a sequence number
  16 bits for a machine id
abahlo··on Show HN: Sonyflake – distributed unique ID generator implemented in Rust
I already use UUIDs for various fields and didn't want the id to be confused with other fields. More of a clarity/style decision than technical.
abahlo··on Show HN: Sonyflake – distributed unique ID generator implemented in Rust
Sonyflakes are generally more useful in massive scale environments as you won't run into conflicts due to the "machine-id" part (which defaults to the lower 16 bits of the private IP address).

There are more differences (128bit vs 64bit, rng vs time-based), I think they have different use cases.

abahlo··on Show HN: Sonyflake – distributed unique ID generator implemented in Rust
Thanks and I don't mind at all!

To be honest for the application I didn't want to expose a database serial (otherwise you'd know you're user #100, for example) or use UUIDs, so it's less about scale and more about obscuring ids. The library is well suited for huge scale scenarios nonetheless.

abahlo··on Show HN: Sonyflake – distributed unique ID generator implemented in Rust
Needed this functionality in a Rust application I'm writing so I ported the Go code to Rust.
Page 1 of 2Next →