There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

rockSlayer ,

Well y275.8k will certainly be interesting

danc4498 ,

They’ll work on a solution in the year 275,759

lars ,

They’ll work on a solution in the year 275,759

…written in ES5, Python 2 and mostly Rust++

Quoth_The_Revan ,

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…

call_me_xale ,

Bold of you to assume no one will come up with a replacement date library rather than just getting rid of JS.

__init__ ,

It’s javascript. We’ll have gone through 275,760 new datetime libraries before then, it’ll be fine.

towerful ,

String based date processing

Redkey ,

Of course! There’s already a proposal for a replacement Temporal object.

LPThinker ,

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.

lugal ,

We survived the 2000 crash, we will survive this

mckean ,
@mckean@programming.dev avatar

We definitely will not…

Aux ,

Speak for yourself, mere mortal!

xantoxis ,

Also means you can’t reference anything earlier than the late Pleistocene.

sik0fewl ,

Nothing happens before c. 4000 AD anyway.

NegativeInf ,

Sorry, that’s also wrong. The entire universe, in its current state, popped into existence last Tuesday. It’s been terribly inconvenient tho.

LinuxSBC ,

I thought it was last Thursday.

sik0fewl ,

I wish we would have popped into a better existence.

NegativeInf ,

We should never have coalesced from the quantum foam.

PunnyName ,

GODDAMMIT

psycho_driver ,

Maybe by then my system will have recovered from this unresponsive javascript page

dadGPT ,

please hide this. this is how john connor defeats skynet.

FiniteLooper ,

No programming language should last 200,000 years

normanwall ,

deleted_by_author

  • Loading...
  • wreckedcarzz ,
    @wreckedcarzz@lemmy.world avatar

    Replaced. Hotel? Trivago.

    DudeDudenson ,

    JavaScript shouldn’t have lasted as long as it has and it’s still used widely

    30p87 ,

    C

    shiveyarbles ,

    Cockroaches will go extinct before JavaScript is dead

    nailbar ,

    The last cockroach writes an AI in JavaScript to carry on the legacy

    viking ,
    @viking@infosec.pub avatar

    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.

    Redkey ,

    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.

    EmergMemeHologram ,

    Partitioning by integer secobds is dumb.

    Just assign 0 to the start of time, 1 to the end of time, and every point between is represented by a double precision floating point number.

    For all those who believe time is infinite please apply a logistic transformation to your dates.

    chaorace ,
    @chaorace@lemmy.sdf.org avatar

    Um excuse me time actually already ended in 1991

    interolivary ,
    @interolivary@beehaw.org avatar
    schnurrito ,

    No, that was the world that ended in 2012.

    interolivary , (edited )
    @interolivary@beehaw.org avatar

    please apply a logistic transformation to your dates

    Which is definitely a totally normal and everyday operation that normal people do with dates

    EmergMemeHologram ,

    It’s a little out of the ordinary for now, but for thousands of years dates counted upwards from a negative number, which this new method easily avoids.

    interolivary ,
    @interolivary@beehaw.org avatar

    for thousands of years dates counted upwards from a negative number

    wat

    rekabis ,

    Fun fact: infinities can be different sizes, such that one infinity can be larger than another.

    They’re still infinities, with no end. Just of different absolute sizes. Fun stuff to rabbithole down into if you want to melt your brain on a lazy afternoon.

    CanadaPlus , (edited )

    Even more fun: nobody can agree on how many there are (some people say none!), and mathematics is self-consistent regardless of if you assume certain ones definitely do or definitely don’t exist.

    EmergMemeHologram ,

    My nephew refuses to talk to me because of this.

    He said I smelled like farts, then I said he did times 10, he replied times a hundred, I pulled out the infinity card, then he replied with times infinity plus one, activating my trap card. I sat him down and for 90 minutes, starting with binary finger counting and Cantor’s diagonalisation argument, I rigorously walked him through infinities and Aleph numbers (only the first 2 in detail, I’m not a monster).

    Now he knows the proper retort (not infinity plus one, use Aleph 1). Unfortunately now he’s not sure if numbers are “real” or not because I taught him that natural numbers are the cardinal numbers.

    CanadaPlus ,

    For all those who believe time is infinite please apply a logistic transformation to your dates.

    In what unit? They’re not scale invariant.

    Also in case you’re serious, I’m sure (by the pigeonhole principle) you’ll run out of exponents just about as fast as you would run out of integers.

    EmergMemeHologram ,

    You can derive the date by first taking the largest unit, checking if it makes sense, then moving to a smaller time unit iteratively until the date comes out right.

    14th_cylon ,

    boy do i have a bad news for you… en.wikipedia.org/wiki/Floating-point_arithmetic#A…

    pm_me_your_quackers ,
    cupcakezealot ,
    @cupcakezealot@lemmy.blahaj.zone avatar

    slides £20 across the table make it end tomorrow

    ARk ,

    reserve me tickets for the inevitable shit show that follows 🍿

    Gentoo1337 ,
    @Gentoo1337@sh.itjust.works avatar

    Javascript 2 release date

    Turun ,

    That’s because this is the maximum integer that can be stored in a double precision floating point number without loss of precision, lol

    interolivary ,
    @interolivary@beehaw.org avatar

    That’s one thing that really bugs me about Javascript (weirdly enough I’m okay with eg prototypal inheritance and how this works, or at least worked before the bolted on classes that were added because apparently I’m like one of the dozen or so people who had no problems with those concepts). The fact that all numbers are floats can lead to a lot of fun and exciting bugs that people might not even realize are there until they suddenly get a weird decimal where they expected an integer

    darcy ,
    @darcy@sh.itjust.works avatar

    there goes my plans to build a time machine in javascript

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines