- 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
I have noticed that Google Play Music (I miss that service) would do the same thing once in a while. It would just "loop" a song randomly, which results in play time almost double the actual song length.
Admin
I'm more amused that the receipt contained a base64-encoded digital signature & public key on it. Like, is someone ever going to type/scan that in & run it through ECDSA to verify that the signature is valid? Yeah, right.
Admin
Looks to me like someone left debug output turned on on that point of sale machine.
Admin
If someone came in to complain about a receipt and there was a possibility that the receipt was faked, this would provide very strong evidence either way. Maybe you wouldn't do it for a few bucks but if it was a large amount or repeated claim, it would be useful
Admin
No, it's pretty much standard here. Yes, you MIGHT want to verify those hashes/keys/signatures
Admin
That's probably legally required electronic billing transaction ID (also seen in other EU countries).
Admin
Or perhaps "superuser" is a special admin only user meant for developers and there is a bunch of code for debugging that basically ties to if(superuser) print. And someone, maybe a service person, might have logged in as superuser and left their credentials on and nobody bothered changing things since lest it break. I've seen stuff like that far too often.
Admin
I notice that Peter G didn't comment on TRWTF he received from Quantum Spirits...
What kind of barbaric country makes people wait until they are 21 before they can legally buy alcoholic drinks?
Admin
Nah. It just proves that their system is running on Windows.
Admin
The same barbaric country that allows you to buy a rifle at 18.
Admin
If you say yes, the next page says they're closed and thanks customers for 5 years of business. I think they're out of business for everyone.
Admin
Regarding receipts, I recently got one with an encoding Error, where the German eszet letter ß was replaced by two nonsensical ones. I.e. probably UTF-8 being decoded as latin1.
Classic issues, I've just never seen it printed on paper before.
Fun detail: If you enter
as URL in Chrome on my Android phone, it displays it as
Now I wonder what makes which part of the program assume what encoding. Now I wonder which part of the process
Addendum 2024-08-17 03:24: What happened with my last paragraph Oo
Admin
Yes, the common "from UTF-8 over ISO-8859-1 to HTML and back" journey... just ask Mr. Lampampasuppez on Schlatildefracterstrasse in Berlin. Oh, and Firefox makes "data:text/html,Stra%C3%9Fe" from the provided text, so lots of opportunities to turn "Straße" into "Stracfe" or "Straprozentprozentfe".
Admin
I think "Straße" is the phonetic spelling of "Australia".
Admin
habibi 🤣
Admin
The default text encoding for HTTP is ISO 8859-1.
For reference, Safari does the same thing as Chrome.
Addendum 2024-08-19 09:15: Try this: