- Feature Articles
- CodeSOD
- Error'd
-
Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
900719925474099 is JavaScript's Number.MAX_SAFE_INTEGER, i.e. 2^53–1
Admin
9,007,199,254,740,991 = 0x001F_FFFF_FFFF_FFFF (i.e. 2^53 - 1)
Admin
Which happens to be the maximum value for an integer in Javascript, Number.MAX_SAFE_INTEGER. Surely a coincidence.
Admin
so 2^53 is a multiple of 100?
Admin
Addendum 2025-04-11 08:37: Goddamn markdown quoting syntax.
Edit Admin
If you don't use a Sentinel, perhaps you could use a Terminator.
Admin
I actually prefer sentinels like this--by making the in-band answer impossible you ensure nobody get plausible but wrong results. If it's going to fail make it fail obviously. (Not to say that there shouldn't be something out of band, just that even if there is the in-band should be obviously wrong.)
Admin
The GENERIC_ERROR_MESSAGE seems like it's coming from the common usage of angular's translate plugin when the translations fail to load.
This BTW is why the generic error translations should be a static file to avoid potential issues where loading the translations can fail(even if you just write that static file any time you update your translations).
Edit Admin
I'd have liked to see a button labeled "Re-Unsubscribe".
That would be a great head scratcher.
Admin
For those of you lucky enough not to have been in the States or reading the news while this dumb story played out, products with names like "Nichole floral velvet reversible throw pillow" with obviously incorrect prices, specifically on Wayfair, were the subject of a QAnon conspiracy theory that these were not pillows for sale, but an actual human named, e.g., Nichole.
Yes, it's as dumb as it sounds, & now I think about it, if they're offering "Free Delivery" worldwide, that price is probably too low anyway.