frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Languages

https://forgottenlanguages-full.forgottenlanguages.org
1•rob•1m ago•0 comments

Robust Mouse Rejuvenation: Study 2

https://www.levf.org/projects/robust-mouse-rejuvenation-study-2
1•birriel•2m ago•0 comments

Show HN: Paket Tour Dieng – Static Site in Astro with Netlify Deployment

https://paketwisatadieng.netlify.app/paket-tour/
1•lakonewsb•6m ago•0 comments

I find journaling indispensable (2019)

https://jon.bo/posts/journaling/
1•dvrp•7m ago•1 comments

Windows 11 24H2 updates failing again with 0x80240069 errors

https://www.bleepingcomputer.com/news/microsoft/windows-11-24h2-updates-failing-again-with-0x80240069-errors/
2•kPwn•8m ago•0 comments

Sick as a Dog

https://privatebank.jpmorgan.com/nam/en/insights/latest-and-featured/eotm/sick-as-a-dog
2•johntfella•15m ago•0 comments

Why operating system package maintainers matter

https://briancallahan.net/blog/20250813.html
2•LorenDB•20m ago•0 comments

Structured binding packs in GCC 16

https://old.reddit.com/r/cpp/comments/1moebfm/structured_binding_packs_in_gcc_16/
2•ibobev•23m ago•0 comments

Show HN: Cromulant

https://github.com/madprops/cromulant/blob/main/screenshots.md
2•Toby1VC•23m ago•0 comments

Reflections on LeetCode and LSAT in my 30s

https://andreagao.com/posts/reflection-standardized-tests/
2•gytrcrt•25m ago•0 comments

China Uses the Cppcc to Conduct "United Front Diplomacy" with North Korea

https://www.38north.org/2025/08/keeping-the-door-open-how-china-uses-the-cppcc-to-conduct-united-front-diplomacy-with-north-korea/
2•EA-3167•26m ago•0 comments

Great Ideas in Theoretical Computer Science

https://ocw.mit.edu/courses/6-080-great-ideas-in-theoretical-computer-science-spring-2008/
2•ibobev•27m ago•0 comments

A poet's long-forgotten daughter created the first algorithm

https://adamgrant.micro.blog/2025/08/13/how-a-poets-longforgotten-daughter.html
2•hidelooktropic•28m ago•3 comments

sshrc: Bring your .bashrc, .vimrc, etc. with you when you SSH

https://github.com/cdown/sshrc
2•thunderbong•30m ago•0 comments

Kubernetes will solve YAML headaches with KYAML

https://thenewstack.io/kubernetes-is-getting-a-better-yaml/
2•thecosmicfrog•31m ago•0 comments

A virtual machine with native AI instructions

3•noreplydev•31m ago•0 comments

Realbotix

https://www.realbotix.com/
2•fcpguru•34m ago•0 comments

Ask HN: What's stopping Guix from building static binaries for various targets?

2•tetris11•35m ago•0 comments

Vibe Coding Awareness Month

https://hellotonic.com/blog/vibe-coding
1•chadmckenna•38m ago•1 comments

Management of IP numbers by peg-DHCP (1998)

https://datatracker.ietf.org/doc/html/rfc2322
1•sjmulder•44m ago•0 comments

Max Read's 'A Literary History of Fake Texts in Apple's Marketing Materials'

https://daringfireball.net/2025/08/max_read_literary_history_fake_apple_texts
1•Bogdanp•46m ago•0 comments

Z-Wave Reborn – Home Assistant Connect ZWA-2

https://www.home-assistant.io/blog/2025/08/13/home-assistant-connect-zwa-2/
2•mike-cardwell•47m ago•0 comments

Is McKinsey losing its crown to AI? [video]

https://www.youtube.com/watch?v=QXAXNcRs7gQ
2•mgh2•49m ago•1 comments

Amazon Ads Multi-Touch Attribution

https://arxiv.org/abs/2508.08209
1•dakial1•50m ago•0 comments

Show HN: Cinematic Rolplay with Wan 2.2

https://www.reveriedr.com
1•amit0365•50m ago•0 comments

Ask HN: Is there an AI that can read code aloud and explain it?

2•djfobbz•52m ago•0 comments

Evals as Code: CI for LLMs with Dagger

https://dagger.io/blog/evals-as-code
2•shad42•53m ago•1 comments

Ask HN: Is https://web.whatsapp.com/ loading for you atm?

2•gjvc•53m ago•2 comments

A Good Find

https://justinjackson.ca/good-find
1•mooreds•55m ago•0 comments

If You Could Fix One Thing About AI Search, What Would It Be?

1•zyruh•56m ago•2 comments
Open in hackernews

The Factory Timezone

https://data.iana.org/time-zones/tzdb-2025a/factory
92•todsacerdoti•13h ago

Comments

codingminds•13h ago
Explanation from https://lists.iana.org/hyperkitty/list/tz@iana.org/thread/EX...

> It is intended for use as a factory default, to clearly indicate an unconfigured system rather than one that is intentionally configured to run on UTC.

wodenokoto•13h ago
So its a valid time zone used to indicate that the clock is off?
jon-wood•12h ago
A valid time zone used to indicate that the clock isn't configured yet. It may be accurate to UTC, but the offset shouldn't be trusted.
DaiPlusPlus•11h ago
A clock can exist in more states than just "UTC with unconfigured local offset" and "maybe-local-maybe UTC, but at least it's configured!" - what about "Dallas RTC battery died, lol" or "we honestly have no idea because we use GPS for UTC, but China/Russia/etc are conducting GPS spoofing"?

...the way I see it, 1980s VCRs got it right the first time with "+00:00" on a flashing VFD display, taunting you to re-set it again - all because someone unplugged it by mistake (dumb-question: why couldn't VCRs get the time from the TV signal?).

(What I mean, is that I think all systems (hardware and software) around the world just should standardize on flashing a message simply reading "+00:00" for all unintentional clock states. Clocks are one thing that I feel should not feature graceful-degradation - consider that's the whole origin of the idiom that "a stopped clock is still correct twice a day"; I'd very much rather a stopped-clock's hands broke-off entirely instead of risking it being misinterpreted by people who think the clock works just fine but they themselves have a bad case of saccade chronostasis[1].

[1] https://en.wikipedia.org/wiki/Chronostasis

netsharc•9h ago
> dumb-question: why couldn't VCRs get the time from the TV signal?

Later VCRs have that feature...

Huh, but a computer without time would be confusing indeed. A process would ask the OS, "What time is it?", "0:00", it can't even sleep for 5 seconds because the hardware clock will never tell the OS "it's 0:00:05 now" -- if the OS counts itself (doing something rudimentary like, "well it's a 1 GHz CPU, let's increment the counter every billion cycles"), then it's implemented a clock!

Horffupolde•9h ago
OS have millisecond uptime counters.
LgWoodenBadger•6h ago
How does the OS know what a millisecond is without a clock?
DaiPlusPlus•5h ago
…philosophically? Or technologically?

I’m not a philosopher; but on a technical basis, lots of OS work just fine on embedded systems that don’t provide a real-time time-of-day clock and only have time-since-booted to work on - but I don’t believe either are strictly necessary for a preemptive OS to work just fine provided the CPU itself supports millisecond-scale interrupts for the thread scheduler to work. But that made me wonder if it matters at all that a process’ time quanta have a wall-clock-based unit of quanta (e.g. people say Windows uses a 16ms quanta for foreground processes and something else (possibly variable?) for background processes. I imagine a scheduler could use a simple cpu clock cycle counter instead. Even though clock cycles themselves are also variable. And if it’s variable then it cannot be used as a clock.

…so who needs a clock? Turns out you don’t need one. I suppose that means we should just live in the present. Take each day… hour… second as it comes.

…or something. I dunno. As I said, I’m not a philosopher.

dingnuts•6h ago
the CPU itself uses a clock, that's why the speed is called clock speed!
DaiPlusPlus•5h ago
> Later VCRs have that feature...

…huh, turns out some US-market VCRs would automatically tune to PBS specifically for a special time-signal embedded within the TV signal, and apparently not all PBS stations participated so it would never work for some people.

I’m guessing it was something encoded into the VBI like Closed Captions and Teletext, etc? I couldn’t find the name for such a time system let alone a spec. Can you tell me where to look?

netsharc•4h ago
Asking one of the planet-killing oracles got me this:

https://www.researchgate.net/figure/The-XDS-Line-21-Time-Cod...

brookst•6h ago
Ah, the old VCR on a switched outlet mayhem. I don’t miss those days.
DaiPlusPlus•11h ago
> to clearly indicate an unconfigured system rather than one that is intentionally configured to run on UTC

...everything should be based on UTC though!

defrost•11h ago
Tinder dates and market moves, maybe.

Real time scientific, physics, and engineering data acquisition and processing applications? Goodness no.

Certainly nothing that might want to generate a waypoint heading update via a division of elapsed time. Not with those random UTC leap seconds that can go either way (although, until now, they've all fallen in one direction).

There's a reason serious real time real world data processing goes with epoch based time, lapsed time since <mark>, it has the nice feature of being monotonically increasing.

poly2it•10h ago
Something which bugs me about UNIX time is that, contradictory to its colloquial name (epoch time), UNIX time does not increase linearly and does funny stuff on leap seconds.
defrost•10h ago
UNIX time is _an_ example of a type of epoch time, with extra rules and conditions.

Not all epoch time counters are UNIX time though.

The usual case, when referring to an epoch time counter being used, is a uniform, increasing count of elapsed time in a standard fixed length unit (seconds, cycles, orbits, etc.).

cluckindan•10h ago
Even CLOCK_MONOTONIC doesn’t increase linearly, it is affected by NTP updates.

Apparently newer Linux kernels support CLOCK_MONOTONIC_RAW which is not affected by NTP, but even that may not increase linearly: it’s not updated when the system is in standby.

Then there is also CLOCK_BOOTTIME which is monotonic and accounts for time spent in standby.

Neither of these seem to be POSIX standardised, though.

grodriguez100•10h ago
CLOCK_MONOTONIC is affected by NTP skewing but should still always increase monotonically (i.e. never decrease)
DaiPlusPlus•9h ago
What happens if someone makes an honest mistake (or is just malicious) and makes their NTP server run fast?
kevindamm•6h ago
It's system dependent but Linux will generally speed up or slow down the time advancement until the delta from adjtime(...) matches up:

https://linux.die.net/man/2/clock_gettime

   This clock is not affected by discontinuous jumps in the system time (e.g., if the system administrator manually changes the clock), but is affected by the incremental adjustments performed by adjtime(3) and NTP.
https://linux.die.net/man/3/adjtime

   If the adjustment in delta is positive, then the system clock is speeded up by some small percentage (i.e., by adding a small amount of time to the clock value in each second) until the adjustment has been completed. If the adjustment in delta is negative, then the clock is slowed down in a similar fashion.
Joker_vD•10h ago
I am fairly certain POSIX define a day to be exactly 86400 seconds for the matter of calendar conversions/calculations, and deliberately ignores leap seconds: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1...
rtpg•8h ago
There’s an argument to say that the datetimes should be stored in UTC. But if a user wants to see datetimes in their local time zone (a config or w/e), then you gotta hold onto a time zone!

Not really defending the Factory timezone but I do think we gotta think about timezones

eirikbakke•8h ago
A subscription will renew at 2025-08-16 04:04Z, and the billing system must send an email to the user reminding them of this. What date do you show in the email?

A meeting happens every Tuesday at 9am, starting February 18, 2025. What time does the calendar show once DST kicks in?

DaiPlusPlus•7h ago
Systems can always translate UTC to a user’s own time-zone for display purposes, including accommodating DST; but internally all values are stored as UTC and all calculations are performed on UTC values.
Hackbraten•7h ago
That doesn’t answer the question of „What time does the calendar show once DST kicks in?“.
DaiPlusPlus•5h ago
That’s up to the user’s preferences: their phone/computer’s timezone.
pbh101•5h ago
The meeting is at a different time in UTC when DST kicks in.
DaiPlusPlus•5h ago
Yes, but that’s handled by the user’s software when they access or edit the appointment. All calendaring software I know uses UTC internally like that, where the tz adjustments (including daylight savings rules - and historical too! are the responsibility of the topmost, user-facing parts of the system. I don’t know why I’m getting downvoted for saying this - am I missing something?
rmah•3h ago
If you set a recurring meeting, every Friday at 10:00AM, New York time, the time in UTC varies (either 14:00 UTC or 15:00 UTC) depending on the date. Further, what is displayed depends on the viewer's location (because daylight savings times change differently based on location/date). IOW, the time of the meeting occurs on TWO UTC times, not one. You can't just store UTC and be done with it. You need the originating timezone too. In other cases you may need the date the item was created as well.

More sophisticated calendar software will take into account holidays or use offsets from month start/end. i.e. "we'll have a meeting at 9:00pm Tokyo time, every last business day of each month".

jgalt212•10h ago
Sort of like Django defaulting to Chicago time.
echoangle•10h ago
For me, the latest django defaults to "TIME_ZONE = 'UTC'" in the settings.py.
jgalt212•8h ago
I wonder what version they swapped it.
throw0101a•8h ago
"settings.py" is your local configuration. The global default is still Chicago:

* https://github.com/django/django/blob/main/django/conf/globa...

echoangle•8h ago
settings.py is automatically generated when creating a new project and overrides this global default. If you create a new django project and run it, it uses UTC.
xp84•5h ago
> unconfigured system

Does this mean:

1. a system which believes it has an accurate idea what the current UTC time is, but doesn't know where it is on Earth (or where its operator conceptually wants it to pretend it is)?

2. Or a system which has had its clock set manually, but its TZ has never been set (therefore it has no idea what the UTC time is, and therefore cannot reliably generate or store a valid time with offset.

3. Or a system which knows both its clock and its TZ have never been set?

For the first one, it seems silly, since as long as you're recording correct timestamps, fixing the display timezone later is easy and nondestructive. For 2 it seems like the OS should require setting TZ to set a time. For 3, I suppose this is actually mildly useful, since it's easy for an OS to detect if you have inited the RTC from its original starting point, and specially flagging datetimes stored while it's in that state could help to clean them up later when the correct time is known.

willvarfar•12h ago
Trivia: a long time ago when an sqlite file was found on the iphone that has a full location history, some random HNer connected with me to make a web app that let the user see their location history if they uploaded their file.

And IIRC all iphones had a first test GPS fix from somewhere in the mid US. We speculated that it was part of a factory quality check or something.

randomfool•10h ago
Sounds more like https://theweek.com/articles/624040/how-internet-mapping-gli...
boredpudding•8h ago
That's turning locations into coordinates (ip geolocation). It's to be expected that the gps log only bases their logs on the coordinates from the GPS from the phone.
netsharc•9h ago
It'd be more practical to have a faraday cage and several GPS transmitters to spoof a location (let's say 33.783, -118.14899); turn on the device, if it tells you it's located at 33.783, -118.14899, then it's GPS receiver is working correctly, anywhere else, then there's something wrong...

Reminds me of an anecdote that getting a rideshare in Moscow is difficult nowadays, because GPS for the whole city is jammed and the driver won't be able to find you.

cenamus•9h ago
Probably don't even need a cage, GPS signals are so weak you could probably overpower them with even the weakest jammer/transmitter
antiframe•8h ago
My GPS location doesn't work in most buildings (with locating via WiFi turned off).
IanCal•7h ago
Is it easier to spoof GPS transmissions such that the phone will calculate it's at a specific coordinate? Rather than just check where they are reporting?
ciupicri•7h ago
I thought that Russians used GLONASS, not the GPS.
xp84•6h ago
If they're worried about someone guiding missiles with satnav, they are probably jamming those both plus the European one, would be my guess, or since they control their own GLONASS system they could be encrypting it if it supports that, or shutting it down in those areas.
namibj•1h ago
There are 4 major global coverage ones plus the JP one (QZSS) and iirc also some recent Indian.

The major ones are GPS, Galileo, Glonass, Baidou.

taneq•12h ago
GM Island IRL. :D
jonathanlydall•11h ago
As in WoW’s GM Island?

(Which was way more boring than most people might expect, unless you were a GM and could see the hundreds of GM WoW avatars standing at precisely the same coordinates.)

Towaway69•12h ago
And I thought this was a timezone to be used exclusively in factories - something like “always use utc on a server”, I thought this was meant to be used in factories!
bravesoul2•12h ago
Factory time zone is UTC+2 in the morning then switches to UTC-2 in the afternoon.
xp84•5h ago
I see what you did there
randyrand•10h ago
I use UTC-15 as my factory timezone :)

Currently, no country uses that. And it has the nice property of making time go forward when it’s configured.

pveierland•9h ago
Another fun "timezone" is the "Anywhere on Earth" designation referring to when a time has passed everywhere on Earth. It does not seem to be referenced in the IANA database though :)

https://en.wikipedia.org/wiki/Anywhere_on_Earth

xp84•5h ago
We need some island nation to adopt a -72:00:00 time zone, so they people can book a flight there to beat deadlines defined as AoE.