- 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.
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).
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.
Admin
When we started our journey to Teams Phones we ran into a ton of accounts we couldn't migrate because of phone numbers like 111-111-1111 or all 5's.
After digging into it the new user workflow required a phone number, but many of our users don't have them. So fake numbers were used to get around the validation.
I had to explain why fake data is worse than no data, for something that wasn't actually required anyway. Just a bad requirement given to the guy that built the workflow however many years ago.
Admin
9 007 199 254 740 992 IS a power of 2. It's 2^54
Edit Admin
Oh lawks-a-mussy! Really?? No wonder this country is the dumpster fire that it has become. "I say, that bit of bogroll looked awfully like a piece of parchment written in September 1787..."
I could make a couple of dark dark sad jokes around that. However, since I am a gentleman and a scholar, I shall refrain.