frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
530•klaussilveira•9h ago•146 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
860•xnx•15h ago•519 comments

How we made geo joins 400× faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
72•matheusalmeida•1d ago•13 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
180•isitcontent•9h ago•21 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
182•dmpetrov•10h ago•80 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
294•vecti•11h ago•130 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
70•quibono•4d ago•13 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
343•aktau•16h ago•168 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
339•ostacke•15h ago•90 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
434•todsacerdoti•17h ago•226 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
237•eljojo•12h ago•147 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
373•lstoll•16h ago•252 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
13•romes•4d ago•2 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
6•videotopia•3d ago•0 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
41•kmm•4d ago•3 comments

Show HN: ARM64 Android Dev Kit

https://github.com/denuoweb/ARM64-ADK
14•denuoweb•1d ago•2 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
220•i5heu•12h ago•162 comments

Why I Joined OpenAI

https://www.brendangregg.com/blog/2026-02-07/why-i-joined-openai.html
91•SerCe•5h ago•75 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
62•phreda4•9h ago•11 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
162•limoce•3d ago•82 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
38•gfortaine•7h ago•11 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
127•vmatsiiako•14h ago•53 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
18•gmays•4h ago•2 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
261•surprisetalk•3d ago•35 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1029•cdrnsf•19h ago•428 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
55•rescrv•17h ago•18 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
83•antves•1d ago•60 comments

WebView performance significantly slower than PWA

https://issues.chromium.org/issues/40817676
18•denysonique•6h ago•2 comments

Zlob.h 100% POSIX and glibc compatible globbing lib that is faste and better

https://github.com/dmtrKovalenko/zlob
5•neogoose•2h ago•1 comments

I'm going to cure my girlfriend's brain tumor

https://andrewjrod.substack.com/p/im-going-to-cure-my-girlfriends-brain
109•ray__•6h ago•54 comments
Open in hackernews

You're Wrong About Dates – and Your Code Is Lying to You

https://metaduck.com/youre-wrong-about-dates/
16•pgte•6mo ago

Comments

pgte•6mo ago
Why your mental model of dates is broken, how programming languages gaslight us about time, and how Decipad’s interval-based approach fixes it.
re•5mo ago
> Every date library you’ve ever used is lying to you.

I feel like you haven't used most date libraries.

https://docs.oracle.com/javase/8/docs/api/java/time/YearMont... / https://docs.python.org/3/library/datetime.html#date-objects / https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

windock•5mo ago
Java date/time handling is plain beautiful. I'm glad other languages like js started adopting the same approach.
croisillon•5mo ago
it's an interesting feature, shame there is no immediate link to the product (and shame the article has been produced by AI) ; i've recently managed the relaunch of one product at work and some of the best user-friendly advances come from proper time understanding
chao-•5mo ago
I forget where I first heard it, but "Dates are not real. Only times with zones are real."

When you need to be precise, you specify a time and a zone.

When your application has users in different geographies, you need to be precise.

Displaying the date attached to a time is a presentational convenience. Only the time is real.

bryanrasmussen•5mo ago
>When your application has users in different geographies, you need to be precise.

depends how important it is. app for tracking celebrity hairstyles forego precision for easy understanding, stock markets precision needed.

OptionOfT•5mo ago
Example of dates not being real:

You celebrate your birthday on January 5th, whether you're in Hawaii or New Zealand.

You might get texts from friends & family earlier and later than that.

Outlook had a funny bug where when you stored a birthday on a certain date (which is then an all-day event), it would shift that all-day event by x-hours when you changed timezones.

01HNNWZ0MV43FF•5mo ago
> midnight to 23:59:59 that day.

What day is it at 23:59:59.500 then?

You're wrong about intervals! </jk only serious>

gmokki•5mo ago
There are occasionally 61 seconds in a minute when they insert leap seconds - or did they stop that to avoid crashing millions of computer systems?
JimDabell•5mo ago
> This isn’t just “nicer syntax” — it’s a fundamental shift in how your software thinks.

I’m sorry, I just can’t get past this awful hyperbolic AI drivel.

ksenzee•5mo ago
I don’t think this is related to AI at all. (Unless you’re suggesting it’s AI-generated?) It’s “thinking” as a metaphor for the abstraction being used.
kranner•5mo ago
> And it’s not harmless — it leads to broken logic, messy hacks, and subtle bugs that only show up in production.

The AI-specific use of em dash with the list of three near-synonyms following, the "it's not just this", the "it's a fundamental shift". This article seems AI-generated or at the very least AI-massaged.

Once you suspect AI has been used to write something, you're not sure if the 'author' has bothered to double-check the article for veracity, or if you're going to be doing this work for them.

quesera•5mo ago
Humans taught LLMs how to write, and now LLMs are teaching humans how to write.

It's terrible.

> The truth: your current date system isn’t just awkward — it’s wrong. We fixed it. And if that feels unsettling… maybe it’s time your code grew up.

Whoever wrote this (whether carbon or silicon; I lean toward the latter) ... should find another line of work.

JimDabell•5mo ago
> Unless you’re suggesting it’s AI-generated?

It’s this. The current crop of LLMs have latched onto a small number of mannerisms that they constantly overuse, along with a weird TEDx voice and belief that everything is game-changing. It wasn’t so bad until recently, but it’s gotten so much worse lately – the overuse of these things would practically be a verbal tic if a human used them so often.

It’s incredibly tiring to read, especially as it uses so many words to say so little. Take this for instance:

> it’s a fundamental shift in how your software thinks.

This is pure, unmitigated horseshit. We’re talking about date representation not a major paradigm shift. But LLMs spit out this crap all the time. It’s not saying anything, it’s just putting one word in front of another.

The human who publishes this should be reviewing it to catch it when it goes off the rails like this, but it seems like it was published with no human oversight at all, or at least none that is able to catch it talking nonsense.

jillesvangurp•5mo ago
Where this stuff gets hard is time zones and localization. Add some daylight savings to the mix and you are going to get lots of subtle issues. These range checks only make sense in the context of localized dates. For example 2025 started almost a day earlier in Sydney then it did in LA.

And then there are cultural differences. Do weeks start on a Sunday or a Monday? People wielding different calendars (Chinese new year is not on the 1st of January). So what is the beginning of the year is dependent on where you are as well.

If you are not localizing your dates before doing the checks that the author is proposing, it's probably wrong. This stuff is complicated for good reasons.

Anyway, store UTC times. Deal with making it look pretty and culturally & geographically appropriate in your UI. You shouldn't have to update your database just because the user took a plane to the other side of the planet.

Anyway, intervals and range checks are pretty easy to do with decent libraries. I like Kotlin and Java's way of using Durations for arbitrary time intervals. Kotlin's version of that supports operators. And has useful extension functions. And a thing called LocalDate which is a date without the time part, exactly like the author proposes. There's also LocalDateRange, which you can use to represent intervals. There's no LocalDateTimeRange equivalent for that. But that's where you'd switch to instants and durations probably.

Relative date and time expressions are surprisingly hard. A little known feature in Elasticsearch is that somebody at some point hacked in a date math thing that allows you to specify "now-2d" and "now+7d" as a valid input for range queries on dates. Surprisingly hard to do more complicated expressions and parse them correctly. I had a go at that problem at some point. Cron parsers are tricky for the same reason. And there are a few dialects of that to add some features that people needed.

There's a rich history of people having tried a whole bunch of things with times and dates.

torium•5mo ago
Meh. People know dates are intervals. You just have to use it properly. All libs make assumptions.

For example, this lib makes the assumption that years and months have a fixed length, e.g. date(2024Q2) - date(2024Q1) = 3 months

Humphrey•5mo ago
I've been working as a software dev for over 20 yrs and not really ever got caught in the precise moment issue that the author is talking about. You just need to pick the correct datatype for the kind of thing that you want. Eg

Eg, in Python

year = int

month = str (yyyy-mm)

day = naive date

exact moment = timezone aware datetime

flufluflufluffy•5mo ago
My mental model includes both precise moments and intervals. As does PHP’s native date/time functionality, which can do all the same things exemplified in the article. Stop telling me I’m wrong and that you’ve thought of something paradigm-shifting.
alextingle•5mo ago
This is dangerous nonsense.

Even the example used on the blog post is wrong (in my timezone)...

Start = date(2020-02-23) End = date(2020-04-05)

Duration = End - Start // 42 days Duration as hours // 1008 hours

2020-03-29 was the start of Summer Time, so only 23 hours long. So the duration in question should be 1007 hours.

Having a span of time using days as the only unit is fine. But there no way to convert that into a different time unit without knowing which specific days we mean.

What happens if the duration concerns something that physically moves? Was the software running on a ship that travelled from Europe to Australia between February and April?

Honestly, gushing about how dumb everyone else is, without mentioning even basic wrinkles like this just screams Dunning Kruger.

rich_sasha•5mo ago
The article clearly aims to be inflammatory, but I'd restate: dates and times are not the same. Ditto for time intervals etc. But lots of libraries skim over this, leading to terrible bugs.

Python date time library, for example, essentially has dates as low precision timestamps. If you subtract a second from a time at midnight, you get what you expect. But subtract it from a date and you are where you started.

You can't add 24hrs to a midnight timestamp to increment date by 1 because DST.

Etc etc.

zvr•5mo ago
There are timestamps, time intervals, and time differences -- and you'd better not confuse the different types.