• (disco)

    I should start naming my SCCM deployments base64-encoded versions of their actual name...the helpdesk oughta love that...:smiling_imp:

  • (disco)

    Error 404: Not yet uploaded

    http://thedailywtf.com/images/15/q4/e191/Pic-2.jpg http://thedailywtf.com/images/15/q4/e191/Pic-7.jpg http://thedailywtf.com/images/15/q4/e191/Pic-8.jpg

    rc4:
    start naming my SCCM deployments base64-encoded versions of their actual name
    Well, at least you could be fairly certain it would be more easily identifiable than microsoft's_stuff_that's_named_so_long_it_often_cuts_off_inside_the_"Modern"_Control_Panel_App. [image]
  • (disco) in reply to Tsaukpaetra
    Tsaukpaetra:
    Error 404: Not yet uploaded

    So meta...

  • (disco)

    Wrong extension for the missing images. Just change to .png:

    http://thedailywtf.com/images/15/q4/e191/Pic-2.png http://thedailywtf.com/images/15/q4/e191/Pic-7.png http://thedailywtf.com/images/15/q4/e191/Pic-8.png

  • (disco)

    Wow, the article is live with the broken images o_o

  • (disco) in reply to LB_

    Yeah, Mark must have figured we all need more irony in our day.

  • (disco)

    Can someone explain why http://thedailywtf.com/images/15/q4/e191/Pic-6.jpg is rendered upside-down if displayed alone in the browser (or with some image display programs) but in the right orientation when embedded into a html page (or with some other image display programs)?

    That different image programs do that is not so strange - they might handle embedded metadata differently or not at all, but why does the browser handle embedded images differently?

    (Tried with Firefox, Konqueror, Chromium; Opera shows it both times in the correct orientation.)

  • (disco) in reply to PWolff
    PWolff:
    Can someone explain why http://thedailywtf.com/images/15/q4/e191/Pic-6.jpg is rendered upside-down if displayed alone in the browser (or with some image display programs) but in the right orientation when embedded into a html page (or with some other image display programs)?

    at a guess.... EXIF rotation info.

    some of those programs respect it and rotate the image 180, others don't and show it as is.

    which is which would require investigation that i can't be arsed to do right now.

  • (disco) in reply to PWolff
    PWolff:
    Opera shows it both times in the correct orientation.

    Assuming 12 then, because Chromiclone shows it upside-down.

  • (disco) in reply to Onyx
    Onyx:
    Assuming 12 then

    Opera 12 FFFOOORRREEEVVVAAARRR!!!!!!!!1!1!!1!1!eleven!

  • (disco) in reply to accalia

    Can confirm. The EXIF orientation tag is set to 3 (upside-down, or "start from lower-left" in EXIF-speak). This all but guarantees it's going to bork up in exceptionally random places.

    Some amusing thing I found after a couple of seconds of googling: http://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/

  • (disco) in reply to Simen
    Simen:
    Wrong extension for the missing images. Just change to .png

    So, my userscript used to do that... apparently I wiped it out by mistake when I wiped out the CS-specific and started writing Discourse-specific. Oops. Time to fix...

    // detect whether images have loaded correctly and if any are broken try changing the file type
    function checkImgs(e) {
        function fixImg(img) {
            var ext = img.src.split(".").pop().toLowerCase();
            ["jpg", "gif", "png"].filter(e => e != ext).forEach(e => {
                var i = document.createElement("img");
                i.onload = function () {
                    if (this.complete && this.naturalWidth) img.src = this.src;
                };
                i.src = img.src.split(".").slice(0, -1).concat(e).join(".");
            });
        }
        
        if (e) {
            [].concat.apply([], e.querySelectorAll("img[src^='http:\/\/thedailywtf.com\/']")).forEach(img => {
                if (img.complete) {
                    if (!img.naturalWidth) fixImg(img);
                } else {
                    img.onerror = fixImg.bind(this, img);
                }
            });
        }
    }
    window.addEventListener("DOMContentLoaded", function () {
        checkImgs(document.querySelector(".article-body"));
    });
    
  • (disco) in reply to rc4

    If you use git just use the concatenation of all the commit md5's for the commits that made the update.

    I should start naming my SCCM deployments base64-encoded versions of their actual name...the helpdesk oughta love that.

  • (disco) in reply to Onyx
    Onyx:
    PWolff:
    Opera
    Assuming 12 then

    Yes, that's the last one that would run on 32 bit Linux (afaik)

  • (disco) in reply to boomzilla

    second one isn't a WTF. that's a google play or a project fi order, and that's just the format of order number they use.

  • (disco)

    The one about Windows update is actually one of Microsoft's recent snafus: http://arstechnica.com/security/2015/09/nerves-rattled-by-highly-suspicious-windows-update-delivered-worldwide/

  • Axel (unregistered)

    8 out of 17 comments "held for moderation." WTF! Hey, Moderators, how about fixing this shit? Not every comment with a link in it is spam.

    This site is like Ned Flanders' T.V. "500 channels, all blocked!"

Leave a comment on “Online Shopping Magic”

Log In or post as a guest

Replying to comment #:

« Return to Article