WTF Bites


  • Notification Spam Recipient

    @BernieTheBernie said in WTF Bites:

    Azure charges for disk space used...

    Incorrect. They charge for disk space allocated.

    Also, don't you need to switch to Release type before doing Clean? Clean/Build/etc only affects the target folder of the currently-selected build type.


  • Notification Spam Recipient

    @Arantor said in WTF Bites:

    @Bulb yes but they don’t generally make that part the user’s problem to have to deal with.



  • @Tsaukpaetra “generally” does not mean “always”.

    If we relied on people writing two spaces before a line break I’m fairly sure I’d see one paragraph emails forever.



  • @Arantor said in WTF Bites:

    If we relied on people writing two spaces before a line break I’m fairly sure I’d see one paragraph emails forever.

    Paragraphs are separated by a blank line. That also has been the case in text e-mails since ever, and matches the markdown usage.



  • @Bulb and yet I look at an arbitrary email I have (smells like sent from Gmail) both at its HTML and text source and… that doesn’t look like what it’s doing there.

    The quoted printable is hard wrapped to 76 characters with equals signs for continuations where the word breaks but it’s treating the text as-is, no trailing spaces. (Though I thought the cut off was 72. But I’m seeing 76 here in this email.)

    The HTML version is a div infested nightmare that uses hard br tags to line break, but that’s expected.

    My knowledge of this shit at low level is rusty but my memory of it is that the whole thing is a disaster zone and that trailing spaces weren’t a thing because it would just take what was given and run with it.

    Email is a :wtf_owl: like it ever was.



  • @Arantor said in WTF Bites:

    Email is a like it ever was.

    Also the server side.
    When I sent emails as president@whitehouse.gov in the early 2000s, that was quite simple because no mail server checked if the From header was ok.
    Later on, some checks were added. But some providers still struggle with a simple validation: does the domain mentioned in the From header exist at all?
    Some fucktard sends annoyingly many emails to one of my email addresses claiming that I have to urgenzly refresh my antivirus license, and my machine is already infected with 758 viruses blah blah blah.
    From header in the style of
    =?UTF-8?B?emFobHghVuasdfZ3Nysdf7xja3N0YW5kIEJpdfgIOmn78JKZV9BbnRpdmlydXM=?=<ui8jfd@hjdfg89jdfn87gbsjksdf8jsda8jgmnxcaf.edu>
    That should be denied at delivery. There are error codes for such a shit. But there are providers which just fail...



  • @BernieTheBernie too many webhostsidiots run their onw mail servers when they shouldn't be let near them because it's a cheap way for spammers to send emails with some legitimacy for a bit.



  • @Arantor Yes yes, that's how sent the president@whitehouse.gov mails from my linux box 20 years ago :belt_onion: . But a standard mail provider should reject such mails when the mail is received there for delivery to me.
    Not because of a "spam" filter looking at the contents, but by virtue of the sender machine not being a legitimate sender for the domain (since the domain does not exist at all).
    If you have a linux machine with a mail server near you, just try to send an email with sender president@whitehouse.gov to your private mail address at some standard email provider like gmail, yahoo, what ever: they will reject it.



  • @BernieTheBernie a standard mail provider should; most don't nearly as much as they should - precisely because there's so many shit senders out there that can't be trusted to do it properly.



  • @Arantor said in WTF Bites:

    there's so many shit senders out there

    Don't deliver their mail. Maybe they'll eventually figure it out and become less shit. Or not, but nobody will care because they'll not even notice those senders exist.



  • Do we have a topic specifically about password WTFs? I didn't find one, or rather, I found a bunch that were really old, but nothing remotely recent.

    My employer (client) is moving from passwords to passphrases. Accordingly, they are imposing new rules:

    • >= 16 characters
    • At least 1 upper case
    • At least 1 lower case
    • 1 (exactly?) digit
    • 1 (exactly?) special character
    • No repeated (more than twice) characters
    • Not a palindrome
    • Not more than 5 consecutive characters from username (Your username? Anyone's username? Doesn't specify.)
    • No restricted patterns
    • No restricted dictionary words

    What patterns are restricted? What words are restricted? 🤷♂ People seem to be assuming that all dictionary words are restricted. In which case, it's not really a phrase, which is supposed to be easy to remember; it's just an extra-long, extra-difficult to remember password, which exactly contradicts the purpose of using passphrases.

    Edit: All my info comes from Teams chat, since I have not yet been forced to change my random character password. According to a later message, it's not checking for dictionary words (except, presumably, the restricted list, whatever that is). And whatever checking it's doing, it's only doing in English, so if you want to use kurwa as one of the words in your passphrase, I guess it won't stop you.



  • @HardwareGeek Send them War and Peas.
    They deserve it.



  • @HardwareGeek said in WTF Bites:

    Don't deliver their mail. Maybe they'll eventually figure it out and become less shit.

    Delivery Distortion Field as a weapon?



  • @HardwareGeek I have a good supply of those 1x1.5in postit notes...



  • @HardwareGeek said in WTF Bites:

    • No repeated (more than twice) characters

    :pendant:🤓: Is the x in …x…x…x… repeated once xor twice?


  • I survived the hour long Uno hand

    @HardwareGeek said in WTF Bites:

    Do we have a topic specifically about password WTFs? I didn't find one, or rather, I found a bunch that were really old, but nothing remotely recent.

    My employer (client) is moving from passwords to passphrases. Accordingly, they are imposing new rules:

    • >= 16 characters
    • At least 1 upper case
    • At least 1 lower case
    • 1 (exactly?) digit
    • 1 (exactly?) special character
    • No repeated (more than twice) characters
    • Not a palindrome
    • Not more than 5 consecutive characters from username (Your username? Anyone's username? Doesn't specify.)
    • No restricted patterns
    • No restricted dictionary words

    What patterns are restricted? What words are restricted? 🤷♂ People seem to be assuming that all dictionary words are restricted. In which case, it's not really a phrase, which is supposed to be easy to remember; it's just an extra-long, extra-difficult to remember password, which exactly contradicts the purpose of using passphrases.

    Edit: All my info comes from Teams chat, since I have not yet been forced to change my random character password. According to a later message, it's not checking for dictionary words (except, presumably, the restricted list, whatever that is). And whatever checking it's doing, it's only doing in English, so if you want to use kurwa as one of the words in your passphrase, I guess it won't stop you.

    Time to break out Qwertyuiop[1asdfghjklzxcvbnm


  • 🚽 Regular

    @HardwareGeek said in WTF Bites:

    I found a bunch that were really old, but nothing remotely recent.

    Hello there, @!fbmac.



  • @izzion said in WTF Bites:

    @HardwareGeek said in WTF Bites:

    Do we have a topic specifically about password WTFs? I didn't find one, or rather, I found a bunch that were really old, but nothing remotely recent.

    My employer (client) is moving from passwords to passphrases. Accordingly, they are imposing new rules:

    • >= 16 characters
    • At least 1 upper case
    • At least 1 lower case
    • 1 (exactly?) digit
    • 1 (exactly?) special character
    • No repeated (more than twice) characters
    • Not a palindrome
    • Not more than 5 consecutive characters from username (Your username? Anyone's username? Doesn't specify.)
    • No restricted patterns
    • No restricted dictionary words

    What patterns are restricted? What words are restricted? 🤷♂ People seem to be assuming that all dictionary words are restricted. In which case, it's not really a phrase, which is supposed to be easy to remember; it's just an extra-long, extra-difficult to remember password, which exactly contradicts the purpose of using passphrases.

    Edit: All my info comes from Teams chat, since I have not yet been forced to change my random character password. According to a later message, it's not checking for dictionary words (except, presumably, the restricted list, whatever that is). And whatever checking it's doing, it's only doing in English, so if you want to use kurwa as one of the words in your passphrase, I guess it won't stop you.

    Time to break out Qwertyuiop[1asdfghjklzxcvbnm

    I suspect things like qwerty and asdf violate the "restricted patterns" rule.


  • I survived the hour long Uno hand

    @HardwareGeek said in WTF Bites:

    @izzion said in WTF Bites:

    @HardwareGeek said in WTF Bites:

    Do we have a topic specifically about password WTFs? I didn't find one, or rather, I found a bunch that were really old, but nothing remotely recent.

    My employer (client) is moving from passwords to passphrases. Accordingly, they are imposing new rules:

    • >= 16 characters
    • At least 1 upper case
    • At least 1 lower case
    • 1 (exactly?) digit
    • 1 (exactly?) special character
    • No repeated (more than twice) characters
    • Not a palindrome
    • Not more than 5 consecutive characters from username (Your username? Anyone's username? Doesn't specify.)
    • No restricted patterns
    • No restricted dictionary words

    What patterns are restricted? What words are restricted? 🤷♂ People seem to be assuming that all dictionary words are restricted. In which case, it's not really a phrase, which is supposed to be easy to remember; it's just an extra-long, extra-difficult to remember password, which exactly contradicts the purpose of using passphrases.

    Edit: All my info comes from Teams chat, since I have not yet been forced to change my random character password. According to a later message, it's not checking for dictionary words (except, presumably, the restricted list, whatever that is). And whatever checking it's doing, it's only doing in English, so if you want to use kurwa as one of the words in your passphrase, I guess it won't stop you.

    Time to break out Qwertyuiop[1asdfghjklzxcvbnm

    I suspect things like qwerty and asdf violate the "restricted patterns" rule.

    :thinking-ahead: they won’t have blocked forwards AND backwards AND every other.


  • Java Dev

    I was browsing a course list and as I was not sure what name the course I was looking for was under so I wanted to list by a specific initial letter only. Now, the courses have several levels helpfully named Level 1, Level 2, etc.

    Now, what I was looking for I was pretty certain started with L. Just that the filter goes by both main headings and subheadings. And since every course has at least one subheading named "Level 1"... Have fun looking through the complete A-Z list if you were looking for a course beginning with L!



  • @izzion
    qwerty:
    07557459-e420-45d0-b6c0-7bfffbc744e6-image.png
    qazwsxedc:
    cd8aba5f-10bf-4e7c-a34a-9f3c69efb050-image.png


  • Considered Harmful

    316de8e3-c7d7-47fa-84ae-810df82357ef-image.png

    Go home debugger, you're drunk. (Current line is empty region between methods.)

    Update: now it's inside a comment



  • @error said in WTF Bites:

    Go home debugger, you're drunk

    Sounds like you're debugging optimized code. That's always beyond weird...


  • Java Dev

    @dcon The weirdest I've ever had gcc/gdb go was inside a call to a function which was tagged as noreturn. No tail call optimization had been applied, so the caller's stack frame still existed. It had a return address, which as usual was the first byte of the first instruction after the call instruction. But because the callee would never return, the return address byte was not actually part of the calling function, and actually was the first byte of the text of a different, completely unrelated function.


  • Banned

    @error this looks like line number mismatch between source and symbols. Are you sure the build was made from the same code you're looking at?


  • Considered Harmful

    @Gustav said in WTF Bites:

    @error this looks like line number mismatch between source and symbols. Are you sure the build was made from the same code you're looking at?

    It should be, given that I'm looking at disassembled bytecode.


  • Banned

    @error oh, that explains everything. You found a bug in the disassembler. Did you try recompiling it before running?


  • Discourse touched me in a no-no place

    @error said in WTF Bites:

    @Gustav said in WTF Bites:

    @error this looks like line number mismatch between source and symbols. Are you sure the build was made from the same code you're looking at?

    It should be, given that I'm looking at disassembled bytecode.

    Why? That looks like part of Apache Sling, the source is freely available.



  • @error said in WTF Bites:

    It should be, given that I'm looking at disassembled bytecode.

    :um-actually: I think I see something which looks like a comment. Bytecode is genereally not assumed to contain comments.
    :um-nevermind: that's Java, not C#.


  • Banned

    @BernieTheBernie Java's doesn't contain comments either. Looks like @error added extra lines here and there to put his own comments in... and then wonders why line numbers have changed.


  • Discourse touched me in a no-no place

    @Gustav I'm guessing that the version of the bytecode and the version of the source don't match. Which isn't a big deal really, just the IDE getting a bit confused.


  • Considered Harmful

    @Gustav said in WTF Bites:

    @BernieTheBernie Java's doesn't contain comments either. Looks like @error added extra lines here and there to put his own comments in... and then wonders why line numbers have changed.

    I did not do that, and I also do not have the source. I do not know where the IDE found the source.


  • Java Dev

    Today in translation be hard I found a translation of "key travel" (when talking about keyboards) to "nyckelfärd" in swedish. Now, if I would translate that back to english we'd have key (as in a 🔑) and journey.

    It's kinda impressive that in translating the term they got both parts completely wrong for the subject at hand. OTOH I dunno how to translate that into swedish as I dunno the correct term (if there is one). But it's certainly not that one.


  • Discourse touched me in a no-no place

    @error said in WTF Bites:

    I do not know where the IDE found the source.

    If it came from Maven (or Gradle, which uses the same library metadata model) then the location of the source package is optionally part of the metadata. It's commonly defined for OSS packages, and not for commercial ones (well duh!).

    I really liked that I had almost all the sources when debugging, even for most of Java itself.



  • @Atazhaia tangentrörelse?


  • Java Dev

    @TwelveBaud Yeah, that works. I am too tired to think of things atm. Also, doing so would go against :kneeling_warthog:


  • Notification Spam Recipient

    @Atazhaia said in WTF Bites:

    OTOH I dunno how to translate that into swedish

    Travel distance of the stick.



  • @Tsaukpaetra said in WTF Bites:

    Travel distance of the stick.

    :giggity:


  • Notification Spam Recipient

    @TimeBandit said in WTF Bites:

    @Tsaukpaetra said in WTF Bites:

    Travel distance of the stick.

    :giggity:

    I am the KEY MASTER!



  • Tsaukpaetra: Who're you gonna call?
    : TSAUK-PAETRAAAAA! 🎵


  • Java Dev

    Today we sort a list:

    sorting.png



  • @Atazhaia There's an error in there. The correct order is 1, 10, 2, ... 🤡


  • Notification Spam Recipient


  • ♿ (Parody)

    @Atazhaia said in WTF Bites:

    Today we sort a list:

    Someone ate all the fruit!


  • Considered Harmful

    It's -22°C in Chicago and everything in our data center is shutting down because it's 42°C inside.
    Bloody aircon froze, and apparently they don't have any way of just doing the datacenter-safe equivalent of opening a window :facepalm:

    Edit: OK, could be worse …


  • Java Dev

    This is getting even more silly. Lenovo are selling laptops where the palmrest includes AI.

    ai-palm.png

    As a bonus :wtf: this was on the swedish site and they did not translate the word "palmrest" to "handledsstöd". If I would translate that word to english we instead get something similar to "remains of a palm tree". Well, the word "coco" springs to mind...


  • Java Dev

    @Atazhaia As an additional :wtf: they were also offering a "wallmounted power adapter" as an option. I guess in case you don't want to be able to charge the laptop while out travelling.



  • @Atazhaia said in WTF Bites:

    they did not translate the word "palmrest" to "handledsstöd".

    Toby Faire, I wouldn't either. I wouldn't want to handle a handledsstöd; you don't know who handled it before you.



  • status Annoyed. Facebook has evidently added a new feature. If you switch tabs away from FB for too long, when you come back, it auto-refreshes.

    HEY! I wanted to continue from where I was!


  • Discourse touched me in a no-no place

    @Atazhaia said in WTF Bites:

    @Atazhaia As an additional :wtf: they were also offering a "wallmounted power adapter" as an option. I guess in case you don't want to be able to charge the laptop while out travelling.

    Do you think that would have been in addition to the normal one? I used to like having an extra one so that I didn't need to haul the power supply with me back and forth.


Log in to reply