WTF Bites



  • @pie_flavor said in WTF Bites:

    @topspin What, the one that's right on the website?
    https://i.imgur.com/ETQByBP.png

    @topspin said in WTF Bites:

    As seen in the emails, the professor himself wrote that "experimental service" thing.

    A professor, not the professor.

    https://en.wikipedia.org/wiki/The_Professor_(Gilligan's_Island)
    0_1517350130242_The_Professor_(Gilligan's_Island).jpg
    Russell Johnson may be gone, but Dr. Roy Hinkley will live on forever (in Syndication).



  • It's like they're going out of their way to ensure none of their own products work with any other of their own products.


  • Java Dev

    @blakeyrat said in WTF Bites:

    It's like they're going out of their way to ensure none of their own products work with any other of their own products.

    So Microsoft is becoming the anti-Apple? While Apple works really hard to have full interoperability between their own products (and zero with those from other vendors), Microsoft makes sure their products doesn't work with their other products (or even the products working with itself, based off that Excel example posted elsewhere on the forum recently).



  • @atazhaia to be fair, .csv isn't Microsoft's format, and Excel's .csv support is hacky.

    @atazhaia said in WTF Bites:

    or even the products working with itself, based off that Excel example posted elsewhere on the forum recently

    To be fair, that was an example of Excel fucking up exporting/importing a .csv. Excel's support for .csv files has always been pretty hacky, and if you want Excel to work with Excel, you should really be using one of Excel's formats, not .csv.



  • Odd Bite (although if anyone knows how to fix it...):

    On my Surface Pro 3, Chrome has the nasty habit of disappearing the mouse cursor. Switching to any other program brings it back, but it just doesn't show up in Chrome. Restarting the computer usually fixes it, but it's super annoying.



  • @benjamin-hall You could always use Edge.

    Oh, right. Nevermind 🚎



  • @timebandit I'm too deep into Chrome (specially the sync) to switch, even though I don't mind edge.

    I use chrome on all 4 OSs I use: 2x Windows, Android phone, iPad, and work-provided Mac. Without those saved credentials I'd actually have to load my actual password manger. Too much work.



  • @lolwhat said in WTF Bites:

    Well, I guess it's a place to do your business...

    The guy who thought this up must be of the opinion that no publicity is bad publicity. No other explanation is within a billion light-years of reasonable or sensible.

    I don't know, I can almost see it making a kind of sense in locations where people do long commutes. As long as you don't look at it too hard.

    I wouldn't mind having a mini-office near my home that I could use instead of commuting in to work. The monthly fee would be more than offset by my transport savings, so it makes sense on that level.

    Unfortunately there are some serious problems. For instance, it would be an ideal place to plant a bunch of keyloggers. I'd expect bandwidth limitations to be a problem once the facility's being shared between a whole bunch of people. And of course you would miss out on the whole face to face interaction part of working with your team, which is one of the main obstacles to just working at home all the time. It's unlikely that it would make sense for you all to use the same facility, chances are you don't all live in the same place.

    I could see this being useful for the independent types who either don't want to set up a home office or can't (due to lack of space, for instance), or are just outgrowing the home office stage. It gives them some of the benefits of a bigger office complex without the associated expenses. As long as they don't care about security and like buying furniture.

    @onyx said in WTF Bites:

    1. I created a new sheet with that first row filled in as you can see it on the screen

    Surely you didn't actually fill it in as "??žš??š"?

    None of the encodings work! NONE! It's not UTF, it's not Windows-1250 as I'd expect it, it's nothing. It's just broken. Excel cannot handle its own fucking file, I'm not handling it.

    Did you try Windows-1252? What's the original string and the actual hex contents of the file? Shouldn't be too hard to figure out what encoding it thought you might like.

    And as @anotherusername said, you can't really blame Excel for not being able to guess the encoding of a tiny file that you've saved in a format that doesn't have encoding information included.

    Newer versions of Excel actually have a separate CSV (UTF8) option, this may work better for you if you have it available. Also check out the Tools dropdown near the Save button in the Save As dialog - in the Web Options section you can select an encoding to save in.


  • Fake News

    @scarlet_manuka Sure, the concept itself is fine. But who would like to work in an outhouse? 💩



  • @lolwhat said in WTF Bites:

    @scarlet_manuka Sure, the concept itself is fine. But who would like to work in an outhouse? 💩

    People who want to boast that their outhouse has a gaming area, etc?


  • :belt_onion:

    @cvi said in WTF Bites:

    Needed to look up some info on a paper (removed the DOI because mildly doxy). Took forever to load and I ended up at the following URL:

    http://onlinelibrary.wiley.com/doi/DOIGOESHERE/abstract?systemMessage=Please+be+advised+that+we+experienced+an+unexpected+issue+that+occurred+on+Saturday+and+Sunday+January+20th+and+21st+that+caused+the+site+to+be+down+for+an+extended+period+of+time+and+affected+the+ability+of+users+to+access+content+on+Wiley+Online+Library.+This+issue+has+now+been+fully+resolved.++We+apologize+for+any+inconvenience+this+may+have+caused+and+are+working+to+ensure+that+we+can+alert+you+immediately+of+any+unplanned+periods+of+downtime+or+disruption+in+the+future.

    The system message isn't shown anywhere on the page. But I suppose that it's featured in a rather prominent location right above the page...

    I like how that's basically like saying "hey, here's a piece of paper with a note on it, please leave then come right back and give that to me so I can read it to you"



  • Yesterday I was working on a feature that needs to make some requests over https. Near the end of the day I finally managed to tie all the Java, JNI and C++ spaghetti together and make that request, only to get a 400 back. The garbage of a client does not log the body, so I asked someone from the team writing the server to look at the logs. Well, turned out they don't have the reason for 400 errors there either. They simply don't log reasons for request validation failures at all. And that's a C# application in IIS and IIS normally logs everything and then a bit more. I can't even begin to imagine how much they raped it to lose those logs.


  • Notification Spam Recipient

    @bulb said in WTF Bites:

    And that's a C# application in IIS and IIS normally logs everything and then a bit more. I can't even begin to imagine how much they raped it to lose those logs.

    I managed to do that, but that's because I'm starting an HttpListener basically by hand. Apparently, if you just return false from some cookie validator callback thing, it just 400's without any further logging (even internally).



  • @tsaukpaetra said in WTF Bites:

    starting an HttpListener basically by hand

    Well, if they do that… :wtf:


  • Notification Spam Recipient

    @bulb said in WTF Bites:

    @tsaukpaetra said in WTF Bites:

    starting an HttpListener basically by hand

    Well, if they do that… :wtf:

    I hear the OWIN authentication service does that, actually....


  • BINNED

    @scarlet_manuka said in WTF Bites:

    I can almost see it making a kind of sense

    :wtf: this is a proven concept and if it exists here in 🇧🇪 I'm sure it does exist in other places. You rent a desk and all surrounding facilities like network, conference rooms, front desk, break room, ...


  • Fake News

    @bulb said in WTF Bites:

    And that's a C# application in IIS and IIS normally logs everything and then a bit more. I can't even begin to imagine how much they raped it to lose those logs.

    I use log4net in my MVC 5 / Web API 2 applications and it does take a non-trivial amount of work for it to log everything.

    If IIS can log stuff, does it contain more info than "caller so and so received a 400 response"? I would think it 'd be similar to Apache HTTPD request logs.


  • 🚽 Regular

    @blakeyrat tweeted:

    Microsoft's attention to detail in 2018:
    Their Certificates snap-in shows the fingerprint with lowercase hex letters

    And that's fine. They had to pick one and run with it.

    @blakeyrat tweeted:

    Their VSTS web deploy task only allowed fingerprints in all-caps

    Now that... I can't think of a single good reason why one would require an hex string to be inputted in a specific character case.


  • BINNED

    @scarlet_manuka said in WTF Bites:

    Did you try Windows-1252?

    Yes. It's mangled.

    @scarlet_manuka said in WTF Bites:

    Shouldn't be too hard to figure out what encoding it thought you might like.

    Apparently, it thought I wanted Windows-1252. Somehow. Despite regional settings.

    @scarlet_manuka said in WTF Bites:

    Newer versions of Excel actually have a separate CSV (UTF8) option,

    I have seen that on a different machine (Office 2013?). Not present in 2016.

    @scarlet_manuka said in WTF Bites:

    Also check out the Tools dropdown near the Save button in the Save As dialog - in the Web Options section you can select an encoding to save in.

    Yeah, that lists Windows-1252. For raisins.

    All of this is 🐄 though. I can fix it manually in multiple ways, yes. But I did all this to check what kind of files I can expect to consume and fix it programaticaly. Fat chance. I also don't intend to train all my clients on "how to Excel when it's being an ass", and then teach all of their clients who might send them files the same. In short, I'm washing my hands of this thing.


  • Dupa

    @anotherusername said in WTF Bites:

    @atazhaia to be fair, .csv isn't Microsoft's format, and Excel's .csv support is hacky.

    @atazhaia said in WTF Bites:

    or even the products working with itself, based off that Excel example posted elsewhere on the forum recently

    To be fair, that was an example of Excel fucking up exporting/importing a .csv. Excel's support for .csv files has always been pretty hacky, and if you want Excel to work with Excel, you should really be using one of Excel's formats, not .csv.

    Excel should be able to open a file it saved. Period.


  • Considered Harmful

    @onyx said in WTF Bites:

    🐄

    ❓


  • kills Dumbledore

    @pie_flavor It's a moo point. It doesn't have anything to say, like a cow


  • Considered Harmful

    @jaloopa Oh. I thought it was referring to some acronym (Copy On Write made a bit of sense? like none of the changes they make will affect the original problem?)


  • kills Dumbledore

    @pie_flavor Sounds like you were 🛎


  • Discourse touched me in a no-no place

    @scarlet_manuka said in WTF Bites:

    Did you try Windows-1252? What's the original string and the actual hex contents of the file? Shouldn't be too hard to figure out what encoding it thought you might like.

    Ho ho ho. You'd think so, but no.

    The problem is that Microsoft's testing of their own CSV importer is rather incomplete, even with the output from their own tools. I could understand them not coping well with output from random other programs, since who knows what sort of breakage exists out there, but not testing with what your own product — the one that you are developing — produces is totally inexcusable.


  • Considered Harmful

    @jaloopa said in WTF Bites:

    @pie_flavor Sounds like you were 🛎

    Now you're just messing with me.


  • BINNED

    @jaloopa said in WTF Bites:

    🛎

    why is there an emoji from a tit under a golden shower?

    these things are getting awfully specific


  • Fake News


  • BINNED

    @luhmann said in WTF Bites:

    @jaloopa said in WTF Bites:

    🛎

    why is there an emoji from a tit under a golden shower?

    these things are getting awfully specific

    seal-of-approval


  • BINNED

    @onyx
    the small scale thing just doesn't cut it for me



  • @onyx said in WTF Bites:

    @luhmann said in WTF Bites:

    @jaloopa said in WTF Bites:

    🛎

    why is there an emoji from a tit under a golden shower?

    these things are getting awfully specific

    ☑

    FTFold school.



  • @scarlet_manuka said in WTF Bites:

    @lolwhat said in WTF Bites:

    @scarlet_manuka Sure, the concept itself is fine. But who would like to work in an outhouse? 💩

    People who want to boast that their outhouse has a gaming area, etc?

    Just because playing with balls takes place there, it doesn't make it a gaming area.



  • @scarlet_manuka said in WTF Bites:

    Surely you didn't actually fill it in as "??žš??š"?

    No, he filled it in as čćžšđđš it looked like. It's in the screenshot just above the top of the import window.

    More than likely, it actually saved ? characters in the csv.

    edit: confirmed, it automatically replaces characters that it can't encode with ? characters when saving the csv file. And I don't even see a way to change the character encoding in this version of Excel.



  • @kt_ said in WTF Bites:

    Excel should be able to open a file it saved. Period.

    It did. The problem was that it wasn't able to save the file without losing information. It was unable to save characters that do not exist in the encoding format that it was using. And when opening the file, it could not replace information that was never in the file to begin with.

    The WTF that it doesn't have a Unicode CSV option for save-as, or give you a way to select a character encoding that includes the special characters your file contains when you save-as.

    Also the WTF is that he was using csv to begin with.

    @scarlet_manuka said in WTF Bites:

    Also check out the Tools dropdown near the Save button in the Save As dialog - in the Web Options section you can select an encoding to save in.

    I'm pretty sure "Web Options" are just for when you're exporting one of the web formats (.mht/.mhtml and .htm/.html). I selected "Unicode (UTF-8)", and it had no effect when I saved as "CSV (Comma delimited) (*.csv)". Notepad++ still says the file encoding is ANSI and the č, ć, and đ characters have been replaced by ?.

    @Onyx What should actually work (if you absolutely must use a text format :doing_it_wrong:) is "Unicode Text (*.txt)". Then it produces a tab delimited text file, but it should be able to import that just fine because the importer supports tabs as the delimiter. And since it's Unicode it doesn't have any text encoding issues.


  • Java Dev

    These network latency reports, seen today at work...

    "My ping to Google is 50 meters per second."

    "I tested the connection from $office to Pornhub and the ping was 26ms."

    At least not specifying what site to run the ping against gave results for several sites, so that's good I guess... Google, Facebook, Pornhub and World of Tanks for example. All the sites used for workplace productivity!


  • BINNED

    @anotherusername said in WTF Bites:

    (if you absolutely must use a text format :doing_it_wrong:)

    Once again, it's not that I need it, but I wanted to make my importer that might get such data fed into it work as reliably as possible. Clearly, my code is not the problem here, it's that the exported file is broken on its own. Meaning, it's not my fault, fuck not given. It's still silly, though.

    Also, the UTF-8 option for CSV was apparently removed, why, fuck knows 🤷♀



  • @atazhaia said in WTF Bites:

    "My ping to Google is 50 meters per second."

    Let me guess ... this response is from the CTO?


  • Discourse touched me in a no-no place

    @onyx said in WTF Bites:

    Also, the UTF-8 option for CSV was apparently removed, why, fuck knows

    “What's this option do? I've never needed it when working with my (American) numerical data! Get rid of it!”



  • @onyx said in WTF Bites:

    I wanted to make my importer that might get such data fed into it work as reliably as possible. Clearly, my code is not the problem here, it's that the exported file is broken on its own. Meaning, it's not my fault, fuck not given. It's still silly, though.

    Yeah. Nothing you can do. But you did seem to indicate that the users could be told whatever specific incantation was required to be performed so that Excel wouldn't mangle the files you received.

    Also, the UTF-8 option for CSV was apparently removed, why, fuck knows 🤷♀

    I think it's probably only in the very latest edition of Excel.

    https://excel.uservoice.com/forums/304921-excel-for-windows-desktop-application/suggestions/10006149-support-saving-csv-in-utf-8-encoding


  • Java Dev

    @cvi Thankfully, no. It's all reports from people not in management, and only from this local office. The C-level is in Gothenburg so we don't have to deal with them too much.

    Edit: Remembered that it's our parent company that has their offices in Stockholm. We don't.


  • BINNED

    @anotherusername said in WTF Bites:

    I think it's probably only in the very latest edition of Excel.

    I have Microsoft® Excel® 2016 MSO (16.0.4266.1003)

    I'm not sure if updates are turned on on this Windows® 10® VM, maybe there's an update? I saw that shit about 6 months ago somewhere though.



  • @onyx said in WTF Bites:

    Also, the UTF-8 option for CSV was apparently removed, why, fuck knows

    Excel does let you select character encoding when exporting to CSV files

    0_1517412205547_730bf0a0-0f14-4fc9-821b-166ddd3f024b-image.png

    Oh wait.... that's LibreOffice Calc 🍹



  • @luhmann said in WTF Bites:

    @scarlet_manuka said in WTF Bites:

    I can almost see it making a kind of sense

    :wtf: this is a proven concept and if it exists here in 🇧🇪 I'm sure it does exist in other places. You rent a desk and all surrounding facilities like network, conference rooms, front desk, break room, ...

    Yes, it does exist. The main problem with the specific implementation is the name, Outhouse. I will explain for the benefit of those of you from other countries/cultures/languages: An outhouse is an outdoor pit latrine, typically enclosed by a crude wooden shed. It is where one does one's "business," not business.


  • BINNED

    @timebandit And that's why I don't test with Calc only - it works too well.

    🍹



  • @onyx

    There is an update, especially considering it looks like the build number of your Excel 2016 is the "initial release" build number.

    I'm running Microsoft® Excel® 2016 MSO (16.0.8827.2131) and it has a "CSV UTF-8" option in the save list, and the output file is correct.



  • 0_1517419879075_dbcc8eb1-1033-45f8-bf0e-b57f5baa47f0-image.png

    :wtf:

    user@user-Ubuntu:~$ cat /proc/2721/cmdline 
    /usr/lib/firefox/firefox-contentproc-childID2-isForBrowser-intPrefs5:50|6:-1|18:0|28:1000|33:20|34:10|43:128|44:10000|49:0|51:400|52:1|53:0|54:0|59:0|60:120|61:120|92:2|93:1|107:5000|118:0|120:0|131:10000|156:24|157:32768|159:0|160:0|168:5|172:1048576|173:100|174:5000|176:600|177:4|178:1|187:2|201:60000|-boolPrefs1:0|2:0|4:0|26:1|27:1|30:0|35:1|36:0|37:0|38:0|41:1|42:1|45:0|46:0|47:0|48:0|50:0|55:1|56:1|57:0|58:1|62:1|63:1|64:0|65:1|66:1|67:0|68:1|71:0|72:0|75:1|76:1|80:1|81:1|82:1|83:0|84:0|86:0|87:0|88:1|89:0|94:1|95:0|101:0|106:0|109:1|110:1|112:1|113:1|115:1|119:0|121:0|123:0|125:1|126:1|132:0|133:0|134:1|136:0|147:0|154:0|155:0|158:1|161:1|163:1|165:1|166:0|171:0|175:1|180:0|181:0|182:0|183:1|184:0|185:0|186:1|189:1|193:0|194:0|195:1|196:1|197:0|198:1|199:1|200:1|202:0|203:0|205:0|213:1|214:1|215:0|216:0|217:0|-stringPrefs3:7;release|135:3;1.0|152:332;  ¼½¾ǃː̷̸։֊׃״؉؊٪۔܁܂܃܄ᅟᅠ᜵           ​‎‏‐’․‧

‪‫‬‭‮ ‹›⁁⁄⁒ ⅓⅔⅕⅖⅗⅘⅙⅚⅛⅜⅝⅞⅟∕∶⎮╱⧶⧸⫻⫽⿰⿱⿲⿳⿴⿵⿶⿷⿸⿹⿺⿻ 。〔〕〳゠ㅤ㈝㈞㎮㎯㏆㏟꞉︔︕︿﹝﹞./。ᅠ�|153:8;moderate|-greomni/usr/lib/firefox/omni.ja-appomni/usr/lib/firefox/browser/omni.ja-appdir/usr/lib/firefox/browser2331truetabuser@user:~$ 
    

    :wtf::wtf::wtf:



  • @atazhaia said in WTF Bites:

    "My ping to Google is 50 meters per second."

    Wow. That latency really sucks!



  • @anonymous234 Some part of that looks ‮sdrawkcab


  • BINNED

    @anonymous234 said in WTF Bites:

    user@user-Ubuntu:~$ cat /proc/2721/cmdline 
    /usr/lib/firefox/firefox-contentproc-childID2-isForBrowser-intPrefs5:50|6:-1|18:0|28:1000|33:20|34:10|43:128|44:10000|49:0|51:400|52:1|53:0|54:0|59:0|60:120|61:120|92:2|93:1|107:5000|118:0|120:0|131:10000|156:24|157:32768|159:0|160:0|168:5|172:1048576|173:100|174:5000|176:600|177:4|178:1|187:2|201:60000|-boolPrefs1:0|2:0|4:0|26:1|27:1|30:0|35:1|36:0|37:0|38:0|41:1|42:1|45:0|46:0|47:0|48:0|50:0|55:1|56:1|57:0|58:1|62:1|63:1|64:0|65:1|66:1|67:0|68:1|71:0|72:0|75:1|76:1|80:1|81:1|82:1|83:0|84:0|86:0|87:0|88:1|89:0|94:1|95:0|101:0|106:0|109:1|110:1|112:1|113:1|115:1|119:0|121:0|123:0|125:1|126:1|132:0|133:0|134:1|136:0|147:0|154:0|155:0|158:1|161:1|163:1|165:1|166:0|171:0|175:1|180:0|181:0|182:0|183:1|184:0|185:0|186:1|189:1|193:0|194:0|195:1|196:1|197:0|198:1|199:1|200:1|202:0|203:0|205:0|213:1|214:1|215:0|216:0|217:0|-stringPrefs3:7;release|135:3;1.0|152:332;  ¼½¾ǃː̷̸։֊׃״؉؊٪۔܁܂܃܄ᅟᅠ᜵           ​‎‏‐’․‧

‪‫‬‭‮ ‹›⁁⁄⁒ ⅓⅔⅕⅖⅗⅘⅙⅚⅛⅜⅝⅞⅟∕∶⎮╱⧶⧸⫻⫽⿰⿱⿲⿳⿴⿵⿶⿷⿸⿹⿺⿻ 。〔〕〳゠ㅤ㈝㈞㎮㎯㏆㏟꞉︔︕︿﹝﹞./。ᅠ�|153:8;moderate|-greomni/usr/lib/firefox/omni.ja-appomni/usr/lib/firefox/browser/omni.ja-appdir/usr/lib/firefox/browser2331truetabuser@user:~$ 
    

    Ph'nglui mglw'nafh Firefox R'lyeh wgah'nagl fhtagn


    Filed under: > echo $HOME ⏎ > /home/tony-the-pony


  • Notification Spam Recipient


Log in to reply