WTF Bites
-
Effing T-Mobile.
Details? Really, isn't that enough said?
For years, I've had a cheap, prepaid plan. (I recently upgraded to a plan that's still cheap, but has at least a useful amount of data.) It kinda sucks (it's T-Mobile, after all), but it does what I need. Normally, they start sending me texts to notify me that my phone will turn into an expensive paperweight unless I give them money within 3 days. But not this month. No, they didn't bother notifying at all until after I tried to use my phone and it didn't work. Thanks so much.
-
-
Who the fuck designed this inconsistent shit?
The same people who thought it would be awesome to have the same data structure acting as both a list and a dictionary?
The same people who used
strlen
as a hashing function?The same people who previously thought that
'0xFF' == '255.0'
makes sense?
-
The same people who thought it would be awesome to have the same data structure acting as both a list and a dictionary?
Alas, that particular brainworm is widespread.
-
The same people who used
strlen
as a hashing function?It is so rarely that I am rendered completely speechless by a software practice. But it's an interesting feeling when it does happen.
-
-
@hardwaregeek Is your payment not automatic? Presumably you're going to continue using your phone month after month, until you switch plans or providers or whatever.
-
@hardwaregeek said in WTF Bites:
my phone will turn into an expensive paperweight unless I give them money within 3 days
Why don't you have automatic payments set up? :?
-
@heterodox I really should set that up, but in the not-so-distant past, my financial situation was such that I couldn't count on having the money available when it was due, and I might need to wait a few days; an automatic might both fail and cost me more in bank fees than the actual payment. Even now, I tend to be a bit leery of automatic payments, since they can be hard to cancel; once a vendor has its fingers in the cookie jar, they don't like giving up the cookies.
-
@hardwaregeek said in WTF Bites:
@heterodox I really should set that up, but in the not-so-distant past, my financial situation was such that I couldn't count on having the money available when it was due, and I might need to wait a few days; an automatic might both fail and cost me more in bank fees than the actual payment. Even now, I tend to be a bit leery of automatic payments, since they can be hard to cancel; once a vendor has its fingers in the cookie jar, they don't like giving up the cookies.
Over here we also have the option of creating automatic payments yourself - for instance, during my time at university my parents automatically transferred a bit of money into my account every month.
-
Thanks God there's this Polish Reddit-wannabe website which didn't see any update since 2009, because it all works over HTTP and after logging in I can access HTTPS just fine.
The WiFi on busses and in some pubs round here is similar. I use http://example.com (literally) to get to the landing page.
-
Dear Chrome: you don't need to open a PDF right after I save it. I already have it open. It's where I saved it from.
-
2064: Read Only Memories. A game where you can type in your own custom pronouns, but the barman needs a reminder how to serve beer. Where you can choose if you eat halal or gluten-free, but the only responses to Tomcat's exposition about operating systems is "I don't understand a word" and "sarcastic I don't understand a word".
-
Apparently
cell
is a bad word on that site... excellent!
-
@tsaukpaetra said in WTF Bites:
Apparently
cell
is a bad word on that site... excellent!Not only did they censor
cell
but they censored it to five asterisks.
-
Tomcat's exposition about operating systems
Apache Tomcat? Are OSes programmed by a Java server in the future?
-
@ben_lubar no, Tomcat the hackergirl slash bisexual redneck.
-
@ben_lubar no, Tomcat the hackergirl slash bisexual redneck.
I prefer my explanation
-
@pie_flavor said in WTF Bites:
The whole login page bullshit is a serious for me. Like, if I connect to a WiFi network with a login page on my phone, it immediately opens a browser frame for login. There's no 'go to a page and hope'. There's no SSL from Chrome. It just immediately opens the login page, and closes it once you've logged in. Simple. Why the hell can't my laptop do the same thing? What's so special about a phone?
elementary OS does that by default. I think they started supporting captive portals correctly like a year and a half ago.
-
@dcoder go easy on rasmus, he's not a real programmer!:
I'm not a real programmer. I throw together things until it works then I move on. The real programmers will say "Yeah it works but you're leaking memory everywhere. Perhaps we should fix that." I’ll just restart Apache every 10 requests.
I don't know how to stop it, there was never any intent to write a programming language [...] I have absolutely no idea how to write a programming language, I just kept adding the next logical step on the way.
I was really, really bad at writing parsers. I still am really bad at writing parsers.
-
The same people who used strlen as a hashing function?
What
The
To be fair, it wasn't used for anything that required a terribly good hashing method. It was basically a bucket sort. When a built-in function was invoked, a lookup had to be done to get the code for that function. To speed up the lookup, the functions were sorted into a bunch of different buckets; since it knew which bucket the function would be found in, it only had to look through the things in that bucket to find it. The buckets he used were arranged by the length of the function name. Not the best, but fairly easy to calculate -- even mentally.
There was a small performance benefit in keeping the number of things in each bucket roughly the same (putting too much stuff in a few of the buckets defeats the purpose), so he intentionally named the built-in PHP functions so that the name lengths had a good distribution.
I also feel like this is kind of running afoul of our rule about not making fun of personal pet projects, because that's what PHP was at the time.
-
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
Apparently
cell
is a bad word on that site... excellent!Not only did they censor
cell
but they censored it to five asterisks.Maybe there's a typo, and some 5-letter sequence that was supposed to be "cell" got censored...
Can't imagine what it might've been, though.
-
@anotherusername said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
Apparently
cell
is a bad word on that site... excellent!Not only did they censor
cell
but they censored it to five asterisks.Maybe there's a typo, and some 5-letter sequence that was supposed to be "cell" got censored...
Can't imagine what it might've been, though.
Maybe they censor the name of the protagonist of Portal?
-
I didn't know PDF files were printed anywhere at all.
Or maybe it's preemptive in case I actually print it?
-
@anonymous234 said in WTF Bites:
I didn't know PDF files were printed anywhere at all.
Or maybe it's preemptive in case I actually print it?
It kinda makes sense. Since PDFs are often generated by "printing" to a file, the same headers and footers would get added to the page as when physically printing it.
-
-
-
-
Over here we also have the option of creating automatic payments yourself - for instance, during my time at university my parents automatically transferred a bit of money into my account every month.
Yeah, that's how I set up all of my bills, including T-Mobile; I set them up at my bank's Web site so I can modify pending payments or modify/delete the recurrence without having to go to twenty different payees' Web sites.
-
@anotherusername said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
Apparently
cell
is a bad word on that site... excellent!Not only did they censor
cell
but they censored it to five asterisks.Maybe there's a typo, and some 5-letter sequence that was supposed to be "cell" got censored...
Can't imagine what it might've been, though.
Maybe they made a really bad typo and instead of cell typed "elgiu"
-
@hungrier Exelgiuent? Bcellm?
-
-
@ben_lubar said in WTF Bites:
@pie_flavor said in WTF Bites:
@hungrier Ex*****ent?
pls no swear
-
@pie_flavor said in WTF Bites:
I can't type that 'ą' on US-INTL.
Liar.
Oh, by the way, I couldn't find a way to add ą to the character pool, even with the binary edits I used to remove first names from a bunch of people.
-
@pie_flavor said in WTF Bites:
@tsaukpaetra Just actually tested. E_NO_REPRO.
Oh, someone here using a fancy ligature font, neat! Which is it?
-
@dreikin FiraCode. Makes things a lot more readable IMO.
-
@ben_lubar said in WTF Bites:
@pie_flavor said in WTF Bites:
I can't type that 'ą' on US-INTL.
Liar.
Oh, by the way, I couldn't find a way to add ą to the character pool, even with the binary edits I used to remove first names from a bunch of people.
Huh? What pool? What edits?
-
@ben_lubar said in WTF Bites:
@pie_flavor said in WTF Bites:
I can't type that 'ą' on US-INTL.
Liar.
Oh, by the way, I couldn't find a way to add ą to the character pool, even with the binary edits I used to remove first names from a bunch of people.
Huh? What pool? What edits?
-
@ben_lubar oh, that. Well that's weird, considering that X-COM 2 has been fully localized to Polish, and some names include Polish diacritics.
-
@pie_flavor said in WTF Bites:
@dreikin FiraCode. Makes things a lot more readable IMO.
I wouldn't call or or particularly readable.
-
@gąska The first one is more readable, since the brackets closely align with the dollar sign. Both can be read faster, because your brain parses it as a single symbol since it's a single glyph. And the third one just looks cool. I think it's unique in that regard; the rest fulfill the first and/or second of those purposes there while looking cool.
-
Status: I have another one.
https://i.imgur.com/bpjSyrp.png
And I think I saw this one being created. Explorer crashed after the FTP connection it was copying from abruptly dropped off the network.
Edit: Got it in one. Thanks @anotherusername!
https://i.imgur.com/U6L8Wld.png
-
@pie_flavor said in WTF Bites:
Both can be read faster, because your brain parses it as a single symbol since it's a single glyph.
Separate characters can be parsed just as fast as single glyphs. Hell, most humans read text by parsing whole words at once - this is why we take several times longer to read unfamiliar words and why we misread words that are similar to others.
This Firacode font is like Dvorak keyboard - it doesn't help you in anything except feeling superior to others.
-
-
@zecc I disabled custom fonts so that's probably it. Dunno why they would use a hero icon, though
-
@gąska Well, I enjoy my code being superior to yours. But seriously, it just looks cleaner to me. If you don't think that it looks cleaner, then don't install it. Stick with good old whatever-you-use. But it definitely appeals to me.
-
No unread topics, my ass. Didn't disappear until I reloaded the page.
-
@gąska Would you like a small victory?
https://i.imgur.com/CHlj4pP.pngApparently Rider doesn't like the OTF font. Changing it to TTF fixed it.
-
And then we wonder why web pages are slow these days...
This is almost realtime (I think it's slightly slower in reality) recording of web development console. I'm looking for a JS library that lets you set a mask on any input field and, hopefully, makes it easy to handle date inputs with multiple formats (most of them only seem to support MM/DD/YYYY and nothing else). This is me logging a value in a function that just returns the mask string for the field (it happens to be
undefined
, this is not important, the returned mask is correct).I'm not typing. I'm not moving my mouse. It's just sitting there, polling the contents of the
<input>
element every 300ms (according to docs).Why? Why in the fuck would you not just use the
change
event? Why in the fuck is this looping every 300 fucking milliseconds? What possible explanation is there for this other than fucking laziness and/or incompetence?I... just... I give up. I'm throwing out all the C++ and as-optimized-as-I-can-get-it PHP, I'm dropping our well tuned Postgres DB, I'm rewriting everything in Node and fucking Redis. Because if no one else cares any more, why the fuck should I?
-
I'm throwing out all the C++ and as-optimized-as-I-can-get-it PHP, I'm dropping our well tuned Postgres DB, I'm rewriting everything in Node and fucking Redis