Well y275.8k will certainly be interesting
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
They’ll work on a solution in the year 275,759
They’ll work on a solution in the year 275,759
…written in ES5, Python 2 and mostly Rust++
It's fun how oddly close that year is with 0°C in Kelvin: 273.15. Seeing 275.8K just instantly brought me back to chemistry...
Bold of you to assume no one will come up with a replacement date library rather than just getting rid of JS.
It’s javascript. We’ll have gone through 275,760 new datetime libraries before then, it’ll be fine.
String based date processing
Of course! There's already a proposal for a replacement Temporal object.
It’s not just a proposal, it’s already fully defined and almost completely implemented - I believe they’re just waiting on a standards update from ISO for time zone stuff.
slides £20 across the table make it end tomorrow
reserve me tickets for the inevitable shit show that follows 🍿
Also means you can't reference anything earlier than the late Pleistocene.
Nothing happens before c. 4000 AD anyway.
Sorry, that's also wrong. The entire universe, in its current state, popped into existence last Tuesday. It's been terribly inconvenient tho.
I wish we would have popped into a better existence.
We should never have coalesced from the quantum foam.
I thought it was last Thursday.
GODDAMMIT
there goes my plans to build a time machine in javascript
What people fail to see is that this is the largest date the API can store, not a magical cutoff date in the distant future.
You could create a date today and send it to the API, and it could potentially crash it, or create a buffer overrun.
The definition of the Date object explicitly states that any attempt to set the internal timestamp to a value outside of the maximum range must result in it being set to "NaN". If there's an implementation out there that doesn't do that, then the issue is with that implementation, not the standard.
No programming language should last 200,000 years
JavaScript shouldn't have lasted as long as it has and it's still used widely
Javascript 2 release date
please hide this. this is how john connor defeats skynet.
That's because this is the maximum integer that can be stored in a double precision floating point number without loss of precision, lol
I've got a bunch of freeze dried food from my backpacking days. Who wants to jump in on a business selling Y275.76K Survival Kits?
past 13 September
Yes, but will that be a Friday??
2036 to 2038 is gonna be wicked.
This will be a tough one to fix. There must be millions upon millions of embedded systems out there with 16-bit epoch burned in.
They'll all be much tougher to find than "YEAR PIC(99)" in COBOL was.
Y2K wasn't a problem because thousands upon thousands of programmers worked on it well in advance (including myself) we had source code and plenty of static analysis tools, often homegrown.
The 2038 bugs are already out there...in the wild...their source code nothing but a distant dream.
Well, I am comfortable leaving the upcoming disaster this will cause to the next generations.
Too far away for my comfort.
Maybe by then my system will have recovered from this unresponsive javascript page
I'll open a bug report
Be sure to cross-post it to the Usenet group for visibility.
We survived the 2000 crash, we will survive this