Hacker Newsnew | past | comments | ask | show | jobs | submit | nickswalker's favoriteslogin

I have a hobby project where I am using UHF tags for counting poultry. The advantage that it gives me is long range (few meters) compared to LF / HF tags. QR code also wouldn't work due to size and distance.

Here's a video.

https://youtu.be/_iGn_pZ3IkY


Best advice I ever got on logging:

    log all major logical branches within code (if/for)
    if "request" span multiple machine in cloud infrastructure, include request ID in all so logs can be grouped
    if possible make log level dynamically controlled, so grug can turn on/off when need debug issue (many!)
    if possible make log level per user, so can debug specific user issue
- https://grugbrain.dev/

The only one I'll add is: If your logs are usually read in a log aggregator like Splunk or Grafana instead of in a console or text file, log as JSON objects instead of lines of text. It makes searches easier.


Caveat: Google Fonts, and by extension Fontsource which mostly just mirrors Googles files, strips out nearly all of the advanced OpenType features to reduce the filesize. It's worth checking the upstream version of your font to see which features it actually offers.

e.g. Wakamai Fondue lists 11 features for Googles version of Inter (some essential ones plus fractions, tabular numbers, numerators, denominators and contextual alts), while the full fat version of Inter has a whopping 44 features (too many to list, see https://rsms.me/inter/).


For me, that's the beauty of Web Components. You can find (or build) a base class that works the way you need it. I like a React class component style class with an XState-inspired state machine built in.

https://github.com/codewithkyle/supercomponent/blob/master/s...


Unless it's internal/admin-only I can't see myself building on top of Google Maps APIs again. It's just too dang expensive. Maybe if some of the products I wrote were making money per-user (directly to me at least, I'm mainly B2B and so I could pass on the cost but the businesses don't care enough to pay it) I could justify it but just showing an interactive map of restaurant locations for a local food week ran up a couple hundred dollars. I spent a few hours and switched over to use ProtonMaps [0] and I've been very happy. I still use the Google API on the admin side to aid in looking up addresses but that usage is tiny compared to all the people viewing the data.

That's all for a personal project but I've seen Google Maps costs spiral out of control at 2 different companies I've worked at. I pushed for OSM/etc at one company but was essentially told "Nobody ever got fired for buying Google Maps" (we were just drawing polygons on a map) and I think I might be successful at pushing for ProtonMaps (OSM under the covers) at my current.

Google Maps lets you get your foot in the door "for free" but once you pass the free tier it's insane.

[0] https://protomaps.com/



I was a Spotify subscriber for about a decade (I was successfully hooked by their discounted college student rates), but I switched back to my own music curation recently: I noticed that Spotify would consistently "rabbithole" me into the same ~150 songs, most of which I didn't even like. They would also frequently lack small artists or independent labels, so I ended up having two media libraries anyways.

I switched over to Navidrome[1] as a self-hosted solution about a year ago, and I've been extremely happy with it (especially since it exposes a Subsonic-compatible API that most clients know how to use). The only thing I really miss is the mobile client experience: Spotify handled periodic disconnects (like on public transit) very gracefully, while no Subsonic clients that I've tried do so nearly as well.

[1]: https://github.com/navidrome/navidrome


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: