WTF Bites


  • Java Dev

    @boomzilla said in WTF Bites:

    @Gąska said in WTF Bites:

    How long does it take to upload a 3kB file? For MS Teams, the answer is full 20 seconds. 20 seconds of the progress bar slowly filling up.

    @ben_lubar called. He doesn't want his internet back.

    Does he? Well, it beats nothing I guess.


  • ♿ (Parody)

    @PleegWat what?



  • Amazon suddenly has 2FA on my account. They send me a one-time password (OTP) via SMS which I enter. Then, it immediately prompts me for a second OTP and I have to wait for a second SMS and enter that one, too. After that, I had to enter my normal password.

    I think I'll call that 2.5FA.





  • @TimeBandit said in WTF Bites:

    Sonic the Hedgehog movie advertisement?

    https://www.youtube.com/watch?v=pexqV2N1zvg


  • Considered Harmful

    @levicki said in WTF Bites:

    @error said in WTF Bites:

    You get rewarded for doing the wrong thing (morally and canonically).

    The main point of "doing the right thing" morally is doing it for the right reason, not because you expect to profit from it.

    I mean, it works for life, but as a game mechanic, it feels like poor design.

    On the other hand, choosing the neutral path ("Witcher's" path) involves alienating both factions and making them your enemies, which actually feels like making a hard-but-right choice.

    Also, I really wanted to empathize with the Scoia'tael, but they're just too terrorist-y.


  • Considered Harmful

    @levicki said in WTF Bites:

    The main point of "doing the right thing" morally is doing it for the right reason, not because you expect to profit from it.

    Part of the reason this doesn't land for me is the stakes aren't made clear before the choice is made. You're not informed that you will receive a reward for doing the bad thing, so there's no conflict in making that choice. Instead, it's after-the-fact, "here's a gold star for doing the wrong thing!"

    And there's a broader frustration in general, because most choices in the game don't foreshadow their consequences, so I end up checking the wiki before I make any consequential decision. (Though, that's actually a big point in the books: the uncertainty of whether a choice is the right one.)


  • Discourse touched me in a no-no place

    @error said in WTF Bites:

    Also, I really wanted to empathize with the Scoia'tael, but they're just too terrorist-y.

    Both sides are a bunch of jerkwads. Whatever either had right to start with has long ago been squandered on a mountain of wrong.

    It's glorious!


  • Notification Spam Recipient

    @levicki said in WTF Bites:

    @Tsaukpaetra I don't understand that PHP code...

    What is the purpose of checking if $id !== false? You cut the screenshot so I don't see if there is else below or is that entire if totally useless (i.e. if it does nothing in else then it could have just returned $id as is and still be equally broken with less code).

    The collapsed code just adds in extraneous details about the order, but which obviously wouldn't work if creating the initial entry failed.



  • IIRC either Oregon or New Jersey had passed legislation a couple years ago, allowing motorists to pump their own gas like they can everywhere else. But apparently, now Illinois wants to join the elite club of states where that will no longer be allowed


  • Considered Harmful

    I just got an unsolicited text message... Asking me to misrepresent my ethnicity on the 2020 Census.




  • Considered Harmful

    @Mason_Wheeler said in WTF Bites:

    @error ⁉

    They want me to report as Armenian, saying it will help them secure funding and services for Armenians.



  • @error said in WTF Bites:

    @Mason_Wheeler said in WTF Bites:

    @error ⁉

    They want me to report as Armenian, saying it will help them secure funding and services for Armenians.

    <:trollface:> weren't they all genocided? </:trollface: >



  • @error Weird! I wonder if they're aware that lying to a federal official is a serious crime, as is solicitation of the same?



  • @levicki

    I'm not trying to win. I'm not doing this because I want to beat someone, because I hate someone, or because I want to blame someone. It's not because it's fun. God knows it's not because it's easy. It's not even because it works, because it hardly ever does. I do what I do because it's RIGHT!
    —The Doctor


  • Banned

    @error said in WTF Bites:

    @levicki said in WTF Bites:

    @error said in WTF Bites:

    You get rewarded for doing the wrong thing (morally and canonically).

    The main point of "doing the right thing" morally is doing it for the right reason, not because you expect to profit from it.

    I mean, it works for life, but as a game mechanic, it feels like poor design.

    Well, I disagree. Locking "good" players out of some very minor content that really doesn't mean much is a great way to paint that moralism-materialism dilemma while not making the players unable to progress.

    Also, I really wanted to empathize with the Scoia'tael, but they're just too terrorist-y.

    Imagine if Scoia-tael weren't terrorist-y. Why would common people hate them? I think they've nailed this part of the setting.


  • Banned

    @error said in WTF Bites:

    @levicki said in WTF Bites:

    The main point of "doing the right thing" morally is doing it for the right reason, not because you expect to profit from it.

    Part of the reason this doesn't land for me is the stakes aren't made clear before the choice is made.

    Oh right, that is also a big thing about Witcher games. That's what makes it unique. Make a few minor choices differently in early chapters and the late game looks quite a bit different, and it's not always nice.

    And there's a broader frustration in general, because most choices in the game don't foreshadow their consequences, so I end up checking the wiki before I make any consequential decision.

    For this reason, I consider the series one of those games that must be played blind the first time around. Half the fun is in not knowing what comes next. Like Undertale or The Return of Obra Dinn (both excellent games BTW, in case someone hasn't played).


  • Considered Harmful

    I still like the game - I would have abandoned it if I didn't. It just feels... a bit dated.

    I have high hopes for the sequel.



  • VK_EXT_subgroup_size_control is a prime example of a common (and somewhat annoying) pattern in OpenGL and Vulkan. It's an extension, so devices don't have to support it.

    Anyway, VK_EXT_subgroup_size_control:

    Enables an implementation to control the subgroup size by allowing a varying subgroup size and also specifying a required subgroup size.

    (FWIW- "Subgroup" is OpenGL/Vulkan speak for CUDA warps / OpenCL wavefronts.)

    The corresponding size has been 32 for NVIDIA for forever, and 64 for AMD for not-quite-as-forever-but-still-a-pretty-long-time.

    I was a bit surprised to see NVIDIA (and AMD) claim to support the extension. But according to gpuinfo it's there. On NVIDIA you get the glorious choice of picking any possible subgroup size between a minimum of 32 and a maximum of 32. (AMD does the same, but with 64.)


  • Notification Spam Recipient

    @Tsaukpaetra said in WTF Bites:

    Grrr....

    You know you're gonna have a bad time...

    b71fb97f-d2df-4fe2-8e36-75938273f8dd-image.png

    First off, the application is sending the (parameterized! 😌 ) SQL query it actually used back to the client.

    Second, DISTINCT ? Okay, I guess I understand it's the easiest way when doing a search? But still...

    Now I gotta figure out why the generated SQL is failing to sort properly...

    sql-query: "SELECT DISTINCT i.`id`, (SELECT i0.`value` FROM `app_search_index_e` i0 WHERE i0.`id` = i.`id` AND i0.`key` = ? /* id-string */) o0, (SELECT i1.`value` FROM `app_search_index_e` i1 WHERE i1.`id` = i.`id` AND i1.`key` = ? /* application-status */) o1 FROM `app_search_index_e` i WHERE i.`key` = '' AND TRUE ORDER BY o1 ASC, o0 ASC"
    

    It's supposed to be sorting by o1 (which is searching for application-status), but that's flat-out not working for... reasons.

    Edit: Just did a global search for error_log, the "Well if you don't have a real logger, at least shit into the default error log" function.

    c448e8d4-fe57-4487-9a2a-c51d71012d50-image.png

    It fucking doesn't exist anywhere in the codebase.

    Forget the head-in-sand concept, this is almost malicious!


  • Notification Spam Recipient

    @Gąska said in WTF Bites:

    How long does it take to upload a 3kB file? For MS Teams, the answer is full 20 seconds. 20 seconds of the progress bar slowly filling up.

    Your file may be 3kB, but the SOAP envelope with metadata is 5MB.


  • Discourse touched me in a no-no place

    @MrL said in WTF Bites:

    Your file may be 3kB, but the SOAP envelope with metadata is 5MB.

    It's probably spending a lot of the time negotiating a secure conversation or something equally nuts which requires downloading a WSDL at runtime and instantiating it to create a session context object that can be used to process the upload. Which I always thought was a completely crazy way of doing SOAP: just secure the comms channel itself (you know, with proper HTTPS) and job's done (because streaming XML producers and consumers are a thing and have been for decades).



  • @dkf said in WTF Bites:

    Which I always thought was a completely crazy way of doing SOAP

    Why repeat yourself like that?


  • Discourse touched me in a no-no place

    @Mason_Wheeler Crazy for SOAP…



  • @levicki said in WTF Bites:

    Teams is actually uploading file to OneDrive, and then creating a link for sharing it with a person you are sending it to.

    But what kind of protocol? I thought it is just a plain old WebDAV, but that sounds too simple for Microsoft.


  • ♿ (Parody)

    @hungrier said in WTF Bites:

    IIRC either Oregon or New Jersey had passed legislation a couple years ago, allowing motorists to pump their own gas like they can everywhere else. But apparently, now Illinois wants to join the elite club of states where that will no longer be allowed

    It was Oregon. NJ is still mandatory full service.


  • Banned

    @dkf said in WTF Bites:

    @MrL said in WTF Bites:

    Your file may be 3kB, but the SOAP envelope with metadata is 5MB.

    It's probably spending a lot of the time negotiating a secure conversation or something equally nuts which requires downloading a WSDL at runtime and instantiating it to create a session context object that can be used to process the upload.

    Usually when initiation overhead is the culprit, you don't get the progress bar frozen at 0% for a while and then slowly filling up. I'm nearly certain there's some fuckery that makes transmitting the actual bytes of the file slow.



  • @Atazhaia said in WTF Bites:

    As we don't have a "Software that can't handle non-ASCII letters" topic, here's todays :wtf: in having a name with a swedish letter in it.

    no-special-letters-allowed.png

    Don't you see it? One the "ä"s is a Swedish ä, another one is German, and still another one is Slowak. They are different!

    Come on, just remember those Russian phishermen who used to spell "bank" with a Russian "a"...
    😛


  • Considered Harmful

    @error said in WTF Bites:

    Also, I really wanted to empathize with the Scoia'tael, but they're just too terrorist-y

    @Gąska said in WTF Bites:

    Imagine if Scoia-tael weren't terrorist-y. Why would common people hate them?

    Fuck 'em. They've got the goddamn fantasy apo'strophe, they die.



  • @BernieTheBernie said in WTF Bites:

    Don't you see it? One the "ä"s is a Swedish ä, another one is German, and still another one is Slowak. They are different!

    They are not. Unicode only has U+00E4 LATIN SMALL LETTER A WITH DIAERESIS. …

    … you did make me realize what it is though …

    @Atazhaia said in WTF Bites:

    As we don't have a "Software that can't handle non-ASCII letters" topic, here's todays :wtf: in having a name with a swedish letter in it.

    no-special-letters-allowed.png

    … there is one more option: The DECOMPOSED NORMAL FORM: U+0061 LATIN SMALL LETTER A + U+0308 COMBINING DIAERESIS.

    Because this is a MacOS. And Apple had this “great” idea that the filesystem will normalize unicode names. And unlike everybody else, who uses the COMPOSED normal form (so the character is a single U+00E4), they choose the DECOMPOSED normal form. And then they failed to use the same normalization in their software like XCode, so the .xcodeproj probably contains the composed form.

    Why? Dunno. Because excavator?


  • Banned

    @Applied-Mediocrity said in WTF Bites:

    @error said in WTF Bites:

    Also, I really wanted to empathize with the Scoia'tael, but they're just too terrorist-y

    @Gąska said in WTF Bites:

    Imagine if Scoia-tael weren't terrorist-y. Why would common people hate them?

    Fuck 'em. They've got the goddamn fantasy apo'strophe, they die.

    Śćóią'tąęl :trollface:

    Alternative joke: maybe elves speak Lojban 🐠



  • @Bulb said in WTF Bites:

    And Apple had this “great” idea that the filesystem will normalize unicode names.

    … the right thing would be to make the filesystem normalization-insensitive, but normalization-preserving. So you find the file if you have the string differently normalized, but if you list the directory, you get back what you put in, so applications that do binary comparisons still mostly work. But Apple instead made it always return the NFD, forcing every other application to do the same or things don't work.



  • WTF Bite: Gmail keeps autocorrecting "acyclic" to "acrylic". This is why I always turn autocorrect off whenever possible. It always screws up technical terms.



  • @mott555 said in WTF Bites:

    WTF Bite: Gmail keeps autocorrecting "acyclic" to "acrylic". This is why I always turn autocorrect off whenever possible. It always screws up technical terms.

    I prefer acrylic graphs myself. They're easier to clean.



  • @mott555 Borrowing a meme from elsewhere on this forum...



  • @TimeBandit said in WTF Bites:

    Samsung says it was sent out by accident to a number of Galaxy phones as part of "internal testing."

    :I_dont_always_test_but_when_I_do_I_do_it_in_production.raw:



  • @Gąska said in WTF Bites:

    @dkf said in WTF Bites:

    @MrL said in WTF Bites:

    Your file may be 3kB, but the SOAP envelope with metadata is 5MB.

    It's probably spending a lot of the time negotiating a secure conversation or something equally nuts which requires downloading a WSDL at runtime and instantiating it to create a session context object that can be used to process the upload.

    Usually when initiation overhead is the culprit, you don't get the progress bar frozen at 0% for a while and then slowly filling up. I'm nearly certain there's some fuckery that makes transmitting the actual bytes of the file slow.

    You believe the progress bar?
    progress += ((double) random() / RAND_MAX) - 0.2; // 20% chance of negative progress


  • Banned

    @HardwareGeek said in WTF Bites:

    @Gąska said in WTF Bites:

    @dkf said in WTF Bites:

    @MrL said in WTF Bites:

    Your file may be 3kB, but the SOAP envelope with metadata is 5MB.

    It's probably spending a lot of the time negotiating a secure conversation or something equally nuts which requires downloading a WSDL at runtime and instantiating it to create a session context object that can be used to process the upload.

    Usually when initiation overhead is the culprit, you don't get the progress bar frozen at 0% for a while and then slowly filling up. I'm nearly certain there's some fuckery that makes transmitting the actual bytes of the file slow.

    You believe the progress bar?

    No, but I believe it will lie in a certain way.



  • @Bulb said in WTF Bites:

    make the filesystem normalization-insensitive, but normalization-preserving.

    That sounds vaguely familiar. But no, I think that was a different case.



  • @HardwareGeek said in WTF Bites:

    But no, I think that was a different case.

    :icwydt.pelican:



  • @mott555 said in WTF Bites:

    WTF Bite: Gmail keeps autocorrecting "acyclic" to "acrylic". This is why I always turn autocorrect off whenever possible. It always screws up technical terms.



  • @levicki said in WTF Bites:

    Nonsense, I have no problems whatsoever with Google's auto-collect. 🍹

    That's what they do with your personal data, right?


  • Notification Spam Recipient

    Status: What's the option to "Don't show and turn off everything"?

    8d6d605a-d2a5-4910-a556-1172b8a61c32-image.png

    Edit: And if you think "3" means what I asked for, it does not. Instead, it merely skips the "Use Express Settings" and forces you into the customize settings screen with all the toggles enabled.


  • Banned

    700 words in this article, and not a single one about how to play handball.


  • :belt_onion:

    @hungrier said in WTF Bites:

    IIRC either Oregon or New Jersey had passed legislation a couple years ago, allowing motorists to pump their own gas like they can everywhere else.

    Years ago, when pumping your own gas started to become a thing, the city I lived in had an ordinance that prohibited it. After a while, all the gas stations in town just started doing it anyway. Apparently, the city decided there wasn't much they could do about it and started allowing it.

    where that will no longer be allowed

    E_LAW_TOO_SIMPLE


  • :belt_onion:

    @Gąska said in WTF Bites:

    700 words in this article, and not a single one about how to play handball.

    :wtf:

    Handball is a fast-flowing game. The aim is to is to throw the ball into the opponent’s goal as many times as possible within two 30-minute periods of play.

    I've played handball and that is not handball. Handball is played by hitting a ball with your hand and bouncing it off a wall. There is no "throwing" or "goal".


  • 🚽 Regular

    @El_Heffe Well, that's not what I know as handball.

    I think we need some sort of

    Edit:

    "Handballing" redirects here. For the sexual activity, see Fisting.

    Well, that's not something I expected to see there.



  • ASP.NET Core applications run inside a ".NET Core Generic Host". What's a Host you ask? Well it's basically an arbitrary collection of services (which are arbitrary classes). OK, fine, whatever.

    So you create a Host object and... WRONG. You don't create a Host, you create a HostBuilder. Then you call IHostBuilder.Build(). DUH.

    OK so you create a HostBuilder in Main and you add a bunch of stuff to it and... WRONG AGAIN IDIOT. You create it in Main, then you call HostBuilder.UseStartup<Startup>. Where Startup is a class that will get instantiated, and then get its .ConfigureServices and .Configure methods called. Because why use methods as callbacks like some sort of troglodyte, when you can use types?


  • Banned

    @anonymous234 said in WTF Bites:

    Because why use methods as callbacks like some sort of troglodyte, when you can use types?

    Future compatibility anyone?


Log in to reply