frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

At Google I/O, everything is changing and normal and scary and chill

https://www.platformer.news/google-io-2025-ai-everything-everywhere/
1•spenvo•2m ago•0 comments

Astronomy: Time Is an Angle

https://oliverkwebb.github.io/articles/astronomy-angles/
1•oliverkwebb•4m ago•0 comments

Show HN: Toffu AI is a Vibe Marketing agent

https://toffu.ai
1•orarbel1•7m ago•0 comments

DoorDash Driver Ends Up on Chicago O'Hare Taxiway by Mistake

https://onemileatatime.com/news/doordash-driver-chicago-ohare-taxiway/
1•randerson•16m ago•0 comments

Teen swimmer caught in rip current rescued by drone [video]

https://www.youtube.com/watch?v=CdGxAbDFQDQ
1•handfuloflight•19m ago•0 comments

Build with Jules, your asynchronous coding agent

https://blog.google/technology/google-labs/jules/
1•badmonster•19m ago•1 comments

Code Improvement Practices at Meta

https://arxiv.org/abs/2504.12517
1•Gigacore•20m ago•0 comments

Relume

https://www.relume.io/
1•handfuloflight•22m ago•0 comments

Ask HN: Trivial things that you have weirdly strong opinions about

1•kaycebasques•26m ago•0 comments

Magnus Carlsen forced into a draw by more than 143000 people playing against him

https://apnews.com/article/chess-magnus-carlsen-match-world-freestyle-grandmaster-963a977765fa02d05a14d701666dfcd7
4•namanyayg•27m ago•0 comments

Good Design Comes from Looking, Great Design Comes from Looking Away

https://www.chrbutler.com/good-design-comes-from-looking-great-design-comes-from-looking-away
1•MBCook•27m ago•0 comments

A broken thruster jeopardized Voyager 1, but engineers executed a remote fix

https://www.npr.org/2025/05/20/nx-s1-5403501/voyager-thruster-nasa-interstellar
3•namanyayg•27m ago•1 comments

Waymo says it reached 10M robotaxi trips, doubling in five months

https://www.cnbc.com/2025/05/20/waymo-ceo-tekedra-mawakana-10-million.html
3•carbocation•28m ago•0 comments

The Agentic Web and Original Sin

https://stratechery.com/2025/the-agentic-web-and-original-sin/
1•VignuB•29m ago•0 comments

AI could keep us dependent on natural gas for decades to come

https://www.technologyreview.com/2025/05/20/1116272/ai-natural-gas-data-centers-energy-power-plants/
1•kawera•30m ago•0 comments

AI in Search: Going beyond information to intelligence

https://blog.google/products/search/google-search-ai-mode-update/
1•ruidlopes•30m ago•0 comments

You Won't Learn This in School: Disabling Kernel Functions in Your Process(2009)

https://chadaustin.me/2009/03/disabling-functions/
1•rolph•34m ago•0 comments

The data center boom in the desert

https://www.technologyreview.com/2025/05/20/1116287/ai-data-centers-nevada-water-reno-computing-environmental-impact/
1•gnabgib•36m ago•0 comments

Gemma 3n

https://deepmind.google/models/gemma/gemma-3n/
1•mromanuk•38m ago•1 comments

Firebase MCP Server

https://firebase.blog/posts/2025/05/firebase-mcp-server/
1•LyalinDotCom•39m ago•0 comments

Ask HN: Are AI Agents a Lie?

2•David1238•39m ago•3 comments

The unlikely rise of the Indian space program [video]

https://www.youtube.com/watch?v=8jQzwxS8vxA
1•namanyayg•39m ago•0 comments

Windows ML: The future of machine learning development on Windows

https://blogs.windows.com/windowsdeveloper/2025/05/19/introducing-windows-ml-the-future-of-machine-learning-development-on-windows/
2•T-A•42m ago•0 comments

A Secret Trove of Rare Guitars Heads to the Met

https://www.newyorker.com/magazine/2025/05/26/a-secret-trove-of-rare-guitars-heads-to-the-met
12•bookofjoe•42m ago•2 comments

Show HN: Interactive AI vibe analysis and edit agent for connected data

https://www.trynexus.io
1•nikhilpil•43m ago•0 comments

New Microbe Discovered Aboard Chinese Space Station

https://www.newsweek.com/new-microbe-chinese-space-station-2074452
2•freedomben•43m ago•0 comments

Adreno Control Panel for Devices with Snapdragon X Elite

https://www.qualcomm.com/developer/blog/2025/05/introducing-adreno-control-panel-snapdragon-x-elite-2025-1-beta
1•xgdgsc•45m ago•0 comments

Wolfspeed prepares to file for bankruptcy within weeks

https://www.reuters.com/business/wolfspeed-prepares-file-bankruptcy-within-weeks-wsj-reports-2025-05-20/
2•jand•48m ago•0 comments

Practical AI techniques for daily engineering work

https://www.seangoedecke.com/practical-ai-techniques/
1•swah•49m ago•0 comments

Show HN: Gen-ts-type – Code Generate TS Type from JSON data with collapsed field

https://gen-ts-type.surge.sh
1•aabbcc1241•53m ago•0 comments
Open in hackernews

Show HN: A Simple Server to Match Long/Lat to a TimeZone

https://github.com/LittleGreenViper/LGV_TZ_Lookup
35•ChrisMarshallNY•5h ago
I figured this might be useful to folks.

It's a simple PHP server that requires a single-table database (It's fairly "agnostic," but all my uses are in MySQL).

I won't publish any of the servers that I've set up for my apps, because someone is bound to write an application that drives my bandwidth into the stratosphere.

I could definitely take it further, but this gives me all I need for my purposes.

Here's an app I wrote, that uses it: https://apps.apple.com/us/app/we-are-never-alone/id650482602...

Comments

cyberax•5h ago
Super nice! I wanted to do an Arduino-based GPS clock that always shows the correct local time, but got bogged down getting the exact timezone boundaries.

Thanks for bringing up https://github.com/evansiroky/timezone-boundary-builder !

ChrisMarshallNY•4h ago
It's a great project. If you are involved, you have my thanks (also, the thanks of a lot of people that have no idea it exists).
kevmo314•4h ago
Since the geojson for the timezone data is a static file you can avoid using a database entirely and ship it to your app.

If you'd like to avoid shipping a giant geojson, with the generosity of CDN providers you can actually hit the npm-hosting servers with HTTP Range requests and do this completely on demand from the client: https://github.com/kevmo314/browser-geo-tz

edoceo•4h ago
How should we get right bits by range? Wouldn't we get chunks of JSON that aren't delimited nicely?
kevmo314•3h ago
Good question, the geojson data is actually broken down into two parts, a true JSON file and a quad tree: https://github.com/evansiroky/node-geo-tz/tree/master/data

So I guess it's a bit of a lie that it's only geojson :)

The way it works is you load the index file which contains the large regions (in other words, the first level or two of the quad tree) and if the time zone can't be resolved, it relies on querying the data file which is actually a multi-record protobuf file so you can load the specific range of data you're looking for. The algorithm is here: https://github.com/evansiroky/node-geo-tz/blob/master/src/fi...

Here's the step that resolves individual tree nodes: https://github.com/kevmo314/browser-geo-tz/blob/main/src/fin...

edoceo•1h ago
Ack. Like so many managers I asked the question before code review. I see the curTz and getting offset bytes for a proper blob decode. Very legal and very cool.
akhenakh•4h ago
Look at this library embedding the TZ data, implemented in multiple languages, even providing an HTTP server https://github.com/ringsaturn/tzf
SahAssar•4h ago
I'm guessing this does not try to handle things like terra nullius (Bir Tawil, Marie Byrd Land, etc.) or where there might not be a "correct" answer over which timezone is in a place (like https://www.972mag.com/the-worlds-only-ethnic-time-zone/)?
ChrisMarshallNY•4h ago
It just uses the map that was generated by the TimeZone Boundary Builder[0]. It does fine for my purposes.

I just figured it might be useful. One reason that I wrote it, was because I couldn't find a decent SaaS that didn't charge eye-watering prices, for a fairly slow response. I wrote it in an afternoon or two. Not really an ambitious project.

I don't usually do "Show HN." Not interested in competing with anyone. If you like it, use it. If you don't like it, don't use it. If there are clear bugs, I'm always open to feedback.

[0] https://github.com/evansiroky/timezone-boundary-builder

lowercased•1h ago
FWIW, I'd found https://www.geocod.io/ to be a good service a couple years back. They sponsored some conferences I went to, and I needed some geocoding->timezone info. IIRC, at the time, it was $5/month which covered everything we needed. Dunno if that's eye-watering or not.

Seems to have changed pricing a bit since. The 'pay as you go' model now has 2500 API calls/day for free, and $1/2000 API calls after that. My needs never grew in to needing much more than what we hit for that $5/month, so I can't vouch for their service at a large scale, but I enjoyed using it.

No affiliation just a happy former customer.

ChrisMarshallNY•1h ago
Well the model that I would use, would be about 20,000 or so lookups, every 4 hours.

Might add up.

lowercased•13m ago
well... yes, at that rate, it could. :)

thanks for sharing your tool!

OsrsNeedsf2P•4h ago
I recently had this issue with an Android app I made, it was surprisingly difficult to resolve. I ended up going with some OpenStreetMap mirror endpoint for my solution
ChrisMarshallNY•1h ago
Well, I looked at all kinds of “clever” approaches, and kept coming back to needing to use a map.

I found a project that is under active development, that generates a very precise shapefile, and figured out how to use it.

I load a database, as opposed to doing shapefile parsing on the fly, for performance reasons.

The magic juice is the domain rect. It’s a superfast triage, that gets us into the ballpark, and then I use a fast winding number test, to get precise.

I think that I could probably do a whole lot to optimize it, but PHP/SQL is not my forte, so I kept it simple. It works great for the manner in which I use it.

The unit tests have a lot of points, close together, on either side of a TZ boundary. The edges are where the Devil lives.