WTF Bites





  • @tsaukpaetra said in WTF Bites:

    @dreikin said in WTF Bites:

    @anotherusername said in WTF Bites:

    @anotherusername ...oh wow, I just noticed that Firefox doesn't even trigger a re-layout when I resize the window sometimes... :wtf: clearly, I'm pushing the edges of what can (should?) be done with CSS. But ultimately I'm pretty pleased with the way it works... and really it doesn't even take that long to load, considering...

    File size of HTML document: 997,738
    Size of movie list array-of-objects literal: 973,690*
    Number of items in movies array, after de-dup: 779*
    CSS rules (after breaking up the long ones that broke Chrome): 8,779
    innerText.length of style element (generated by script): 873,689
    outerHTML.length of body element before onLoad event script runs: 79
    outerHTML.length of body element after onLoad event script runs: 2,173,585
    outerHTML.length of html element after whole page is loaded: 4,043,573

    *I have several dozen to add to it still, probably.

    :wtf: are you trying to do?

    Single page App for a movie database.

    "All the movies my wife owns plus the few dozen that I've downloaded and liked enough to keep copies of".

    Here's an abbreviated sample.

    0_1505431891004_movies.html

    Note that WTDWTF blocks scripts in uploads, so I directly added all the HTML and styles that the script would generate if it was permitted to run. Other than that, it's pretty much unchanged... and pretty much everything works -- without Javascript.

    The scripts are all still there (just blocked from running); if they are able to run (e.g. if you save it to your computer and open it), they'll:

    • first, erase the stylesheet/page contents before proceeding to re-create them (I tweaked it to add this, only because I included all of the styles and HTML in the source in case the script couldn't run; they shouldn't be added twice, so if it runs, it needs to remove them first)
    • add click events which either inhibit the default (to prevent :focus from being lost due to the click activating something else) or, in the case of the full-size overlay, add a style that locks its visibility (instead of having it be purely based on :focus) so clicking anywhere inside it doesn't make it disappear (and the IMDb links actually work, because they don't disappear when you click on it)
    • add all/none buttons to the filter groups (when opened) which have a Javascript event that toggles every one of the filters inside that group
    • add Shift+click events to the filters, which toggle/untoggle all of the filters between the one you clicked and the one you'd clicked before it

    Other than that, the script just builds what you'll see anyhow in the no-script version, because all the CSS/HTML that it builds is included in the page source already.


  • Winner of the 2016 Presidential Election

    @anotherusername said in WTF Bites:

    @tsaukpaetra said in WTF Bites:

    @dreikin said in WTF Bites:

    @anotherusername said in WTF Bites:

    @anotherusername ...oh wow, I just noticed that Firefox doesn't even trigger a re-layout when I resize the window sometimes... :wtf: clearly, I'm pushing the edges of what can (should?) be done with CSS. But ultimately I'm pretty pleased with the way it works... and really it doesn't even take that long to load, considering...

    File size of HTML document: 997,738
    Size of movie list array-of-objects literal: 973,690*
    Number of items in movies array, after de-dup: 779*
    CSS rules (after breaking up the long ones that broke Chrome): 8,779
    innerText.length of style element (generated by script): 873,689
    outerHTML.length of body element before onLoad event script runs: 79
    outerHTML.length of body element after onLoad event script runs: 2,173,585
    outerHTML.length of html element after whole page is loaded: 4,043,573

    *I have several dozen to add to it still, probably.

    :wtf: are you trying to do?

    Single page App for a movie database.

    "All the movies my wife owns plus the few dozen that I've downloaded and liked enough to keep copies of".

    Here's an abbreviated sample.

    0_1505431891004_movies.html

    Note that WTDWTF blocks scripts in uploads, so I directly added all the HTML and styles that the script would generate if it was permitted to run. Other than that, it's pretty much unchanged... and pretty much everything works -- without Javascript.

    If the scripts are able to run (e.g. if you save it to your computer and open it), they'll:

    • first, erase the stylesheet/page contents before proceeding to re-create them (I tweaked it to add this, only because I included all of the styles and HTML in the source in case the script couldn't run; they shouldn't be added twice, so if it runs, it needs to remove them first)
    • add click events which either inhibit the default (to prevent :focus from being lost due to the click activating something else) or, in the case of the full-size overlay, add a style that locks its visibility (instead of having it be purely based on :focus) so clicking anywhere inside it doesn't make it disappear (and the IMDb links actually work, because they don't disappear when you click on it)
    • add all/none buttons to the filter groups (when opened) which have a Javascript event that toggles every one of the filters inside that group
    • add Shift+click events to the filters, which toggle/untoggle all of the filters between the one you clicked and the one you'd clicked before it

    Other than that, the script just builds what you'll see anyhow in the no-script version, because all the CSS/HTML that it builds is included in the page source already.

    That's really cool. Can you share more about it?



  • @dkf said in WTF Bites:

    @anotherusername said in WTF Bites:

    a CSS rule that had 2201 selectors

    Either you're giving every pixel its own style, or you could perhaps find a way to express yourself more briefly.

    It's a demand of using CSS to do everything. If I used Javascript to run all of the filtering, I wouldn't need any of that.

    F'rinstance:

    <span class="filters year_2010s">
      <span class="filters year_2016">
        <span class="filters rating_PG-13">
          <span class="filters runtime_130_min-138_min">
            <span class="filters director_David_Yates">
              <span class="filters stars_Alison_Sudol stars_Eddie_Redmayne stars_Katherine_Waterston">
                <span class="filters genres_Adventure genres_Family genres_Fantasy">
                  <span class="filters IMDb_rating_7.1-7.9">
                    <span class="filters quality_DVD">
                      <span class="filters location_Binder">
                        <div tabindex="0" class="movie tt3183660">
                          <div class="title">Fantastic Beasts and Where to Find Them</div>
                          <img src="https://images-na.ssl-images-amazon.com/images/M/MV5BMjMxOTM1OTI4MV5BMl5BanBnXkFtZTgwODE5OTYxMDI@._V1_UX182_CR0,0,182,268_AL_.jpg">
                        </div>
                        <div class="details">
                          <!--​snip-->
                        </div>
                      </span>
                    </span>
                  </span>
                </span>
              </span>
            </span>
          </span>
        </span>
      </span>
    </span>
    

    Each of those span class="filters" is going to be hidden by default. Each filter class that's enabled (by clicking its label -- which toggles a hidden checkbox) makes it visible. If at least one filter for each filter group is enabled, the movie's shown; otherwise it's not.

    The .details element immediately following the .movie element contains the popup, and is also hidden by default. There's a .movie:focus+.details rule that makes it visible when the movie is clicked.


  • Winner of the 2016 Presidential Election

    @anotherusername said in WTF Bites:

    @dkf said in WTF Bites:

    @anotherusername said in WTF Bites:

    a CSS rule that had 2201 selectors

    Either you're giving every pixel its own style, or you could perhaps find a way to express yourself more briefly.

    It's a demand of using CSS to do everything. If I used Javascript to run all of the filtering, I wouldn't need any of that.

    F'rinstance:

    <span class="filters year_2010s">
      <span class="filters year_2016">
        <span class="filters rating_PG-13">
          <span class="filters runtime_130_min-138_min">
            <span class="filters director_David_Yates">
              <span class="filters stars_Alison_Sudol stars_Eddie_Redmayne stars_Katherine_Waterston">
                <span class="filters genres_Adventure genres_Family genres_Fantasy">
                  <span class="filters IMDb_rating_7.1-7.9">
                    <span class="filters quality_DVD">
                      <span class="filters location_Binder">
                        <div tabindex="0" class="movie tt3183660">
                          <div class="title">Fantastic Beasts and Where to Find Them</div>
                          <img src="https://images-na.ssl-images-amazon.com/images/M/MV5BMjMxOTM1OTI4MV5BMl5BanBnXkFtZTgwODE5OTYxMDI@._V1_UX182_CR0,0,182,268_AL_.jpg">
                        </div>
                        <div class="details">
                          <!--​snip-->
                        </div>
                      </span>
                    </span>
                  </span>
                </span>
              </span>
            </span>
          </span>
        </span>
      </span>
    </span>
    

    Each of those span class="filters" is going to be hidden by default. Each filter class that's enabled (by clicking its label -- which toggles a hidden checkbox) makes it visible. If at least one filter for each filter group is enabled, the movie's shown; otherwise it's not.

    That's neat, but it seems fragile and limiting if you want to do any filtering more complex than what you have now (e.g., free-text or number fields). Why do it all through CSS? Just to see if you can?



  • @dreikin said in WTF Bites:

    That's neat, but it seems fragile and limiting if you want to do any filtering more complex than what you have now (e.g., free-text or number fields).

    I'm not sure what other sort of filtering I'd want to do. Can you give an example?

    It does allow some extra flexibility with the numbers; it generates "decade" based on the year, and "IMDb rating" based on ranges of decimal values (e.g. "7.1-7.9"). The cross-reference function that I created does that automatically; you just tell it that the interval size is 10 or 1, and it does the rest. The nesting of filter spans is done automatically based on the list of cross-references that were built.

    @dreikin said in WTF Bites:

    Why do it all through CSS? Just to see if you can?

    Mainly.


  • 🚽 Regular

    @anotherusername Disclaimer: not putting too much thought into this, excuse me if I'm being dumb.

    What's preventing you from writing

    <span class="filters year_2010s year_2016 rating_PG-13">
    

    instead of

    <span class="filters year_2010s">
      <span class="filters year_2016">
        <span class="filters rating_PG-13">
          ...
    

    @anotherusername said in WTF Bites:

    The .details element immediately following the .movie element contains the popup, and is also hidden by default. There's a .movie:focus+.details rule that makes it visible when the movie is clicked.

    Would it be possible to use .movie:checked + .details where .movie is input[type=radio] for this? (with a full-page background radio input for the null option)


  • 🚽 Regular

    Hmm, you can use tabindex on a div to make it focusable. TIL.



  • 0_1505473198543_eddd2f15-2d2a-4d20-8f00-bef3ec9e843f-image.png

    No comment.


  • FoxDev

    @bulb said in WTF Bites:

    0_1505473198543_eddd2f15-2d2a-4d20-8f00-bef3ec9e843f-image.png

    Remark 5.


  • Grade A Premium Asshole

    One of our clients uses a webapp that seems to be a huge WTF. We have been going back and forth on an issue with their support people. I just realized how fucked we are when the guy starts his email to me with:

    Okay. So what I know, because I am not an IT person

    You're not? Then :wtf: are you doing in support? Are you their fucking receptionist? Do issues start with the first support tier being their janitor? Accountant?



  • @polygeekery
    That's the polite way for him to translate "fuck you, you arrogant dickhead asshole prick" :P


  • Grade A Premium Asshole

    @izzion you might have a point if we had gotten to that point yet. Get back with me about 12 emails from now.



  • @zecc said in WTF Bites:

    @anotherusername Disclaimer: not putting too much thought into this, excuse me if I'm being dumb.

    What's preventing you from writing

    <span class="filters year_2010s year_2016 rating_PG-13">
    

    instead of

    <span class="filters year_2010s">
      <span class="filters year_2016">
        <span class="filters rating_PG-13">
          ...
    

    That was originally how I did it, but that means that any matching filter will make the movie display. So in order to filter by, say, the rating, you'd have to turn all the other filters off -- in all of the filter groups.

    Making one layer per filter group means you need one filter turned on for each group in order for the movie to display. So since the only filter in the "year" group is year_2016, turning that filter off will hide the movie, as expected, even if all the other filters remained enabled.

    @zecc said in WTF Bites:

    Would it be possible to use .movie:checked + .details where .movie is input[type=radio] for this? (with a full-page background radio input for the null option)

    That's actually not a bad idea. It should work, and it wouldn't require adding any more classes because I could put the checkbox inside the same container as the movie and then use a sibling selector.

    There'd need to be a way to toggle the checkbox back off again, so the dark background would probably just need to also be a label for it, so clicking it would hide the details.


  • 🚽 Regular

    @anotherusername said in WTF Bites:

    that means that any matching filter will make the movie display.

    Only if you show the movie if it matches the filter, rather than hide it if it doesn't.

    @anotherusername said in WTF Bites:

    So in order to filter by, say, the rating, you'd have to turn all the other filters off -- in all of the filter groups.

    😕 Isn't that correct behaviour? If you have more than one filter active they all apply.

    Oh, you mean you'd get false positives otherwise, I get it. But again, this shouldn't be a problem if you hide rather than show.



  • @zecc said in WTF Bites:

    Only if you show the movie if it matches the filter, rather than hide it if it doesn't.

    Hiding the movie if it doesn't match would hide the movie if any filter didn't match... so, for instance, of you wanted to see all movies starring Johnny Depp, you'd turn off all the "starring" filters except Johnny Depp, and you'd see nothing because the movies have multiple "starring" actors, all the other actors are hidden by the filters, and if any are hidden the whole movie's hidden.

    @zecc said in WTF Bites:

    😕 Isn't that correct behaviour? If you have more than one filter active they all apply.

    Yes... sort of.

    All the filters are enabled (green) by default; otherwise it'd show nothing at all initially, and I'd prefer that it show everything instead. But then, since all of the movies match at least one filter in each filter group, if any group of filters remains in that "all enabled" state then all the movies would remain visible regardless of what you tried to filter by (red) in other filter groups.

    I did puzzle through the advantages and disadvantages of each of those before it occurred to me that the behavior I really wanted would just require a series of nested elements with one layer for each filter group. That provides the most logical, intuitive behavior, and you can easily filter for something like "action movies from the 2000s": turn off all the decades except "2000s" and all the genres except "action". The other filter groups wouldn't have to be changed.


  • 🚽 Regular

    @anotherusername said in WTF Bites:

    Hiding the movie if it doesn't match would hide the movie if any filter didn't match...

    I think the problem here is I had a different definition of filter in mind.

    By my definition, turned off filters woulnd't hide anything.

    In particular, all filters off would mean "show everything". More than one "starring" filter active would mean "show only movies having all of these stars in their cast".

    In other words, I was thinking something like:

    .movie {
    	display: unset; /* By default don't hide */
    }
    
    .filters:has(.year_1981:checked) ~ .list .movie:not(.year_1981) {
    	display: none; /* Hide movies that have been filtered out *(
    }
    

    Of course, no browser currently supports :has() so... 🤷



  • @zecc said in WTF Bites:

    In particular, all filters off would mean "show everything". More than one "starring" filter active would mean "show only movies having all of these stars in their cast".

    That could be accomplished with very minor changes to how it is currently. The only difference is that, as you describe it, it'd only hide based on a filter type if at least one of those filters is checked. So, I'd need to add a class name to each .filters element in the nesting to indicate which level of nesting it was, and then adjust the .filters CSS that sets display:none; for the .filters element so that it only does that if at least one of those filters is checked, for example,

    input[id^="year_"]:checked~* .filters.year{display:none;}
    

    ...if any of the checkboxes that has an ID starting with year_ is checked, then the year level of filtering will be hidden by default (of course, I'd also need to make it so that decade is prefixed by decade_ so that it won't clash with year). I'd have to tweak a few other things, also (for instance, change it so that all of those filter checkboxes are not checked by default).

    Like this:

    0_1505506692352_Movies.htm

    Also, I'm curious whether anyone's noticed that "keep series together" button. I had a hard time deciding what label to use to describe it. When it's turned off, movies are simply sorted alphabetically; when it's turned on (the default), the movies are still sorted alphabetically, but any series is kept in order immediately following the first movie in that series, regardless of where they'd be sorted normally.

    I accomplished it without Javascript using a bit of a hack: the movie is located in both places, and the CSS hides either the one or the other based on the state of the button.


  • Notification Spam Recipient

    @raceprouk said in WTF Bites:

    @bulb said in WTF Bites:

    0_1505473198543_eddd2f15-2d2a-4d20-8f00-bef3ec9e843f-image.png

    Remark 5.

    Function 27.


  • FoxDev

    @tsaukpaetra said in WTF Bites:

    @raceprouk said in WTF Bites:

    @bulb said in WTF Bites:

    0_1505473198543_eddd2f15-2d2a-4d20-8f00-bef3ec9e843f-image.png

    Remark 5.

    Function 27.

    Meme 69.



  • @raceprouk said in WTF Bites:

    @tsaukpaetra said in WTF Bites:

    @raceprouk said in WTF Bites:

    @bulb said in WTF Bites:

    0_1505473198543_eddd2f15-2d2a-4d20-8f00-bef3ec9e843f-image.png

    Remark 5.

    Function 27.

    Meme 69.

    Answer 42.


  • Fake News

    @anotherusername said in WTF Bites:

    @raceprouk said in WTF Bites:

    @tsaukpaetra said in WTF Bites:

    @raceprouk said in WTF Bites:

    @bulb said in WTF Bites:

    0_1505473198543_eddd2f15-2d2a-4d20-8f00-bef3ec9e843f-image.png

    Remark 5.

    Function 27.

    Meme 69.

    Answer 42.

    /Thread



  • @bulb said in WTF Bites:

    0_1505473198543_eddd2f15-2d2a-4d20-8f00-bef3ec9e843f-image.png

    No comment.

    No, that's not No comment dammit. FILE_NOT_FOUND



  • @maciejasjmj said in WTF Bites:

    @maciejasjmj said in WTF Bites:

    Dear Vivaldi developers: you can either have dragging a tab outside the window have it open a new window with that tab, or you can have the tab behave like a text selection that can be dropped into a text field. But don't do both.

    Dear Vivaldi developers: you can either have dragging with the middle mouse button pressed scroll the page, or you can have it select text. But... you know what not to do:

    Dear Vivaldi developers: if I have multiple windows open and want to search for something in one of the windows, I want the search tab to open in that window, not all windows.


  • area_can

    Problem: some site that I signed up for while I was living in the US keeps sending me emails.

    Solution: click the unsubscribe link in their email (vrv.co/unsubscribe?...)

    Problem: I'm not allowed to unsubscribe.

    0_1505657563341_e93d5a39-caf0-44c1-8845-2b04509458ed-image.png


  • Notification Spam Recipient

    @bb36e said in WTF Bites:

    Problem: some site that I signed up for while I was living in the US keeps sending me emails.

    Solution: click the unsubscribe link in their email (vrv.co/unsubscribe?...)

    Problem: I'm not allowed to unsubscribe.

    0_1505657563341_e93d5a39-caf0-44c1-8845-2b04509458ed-image.png

    Post the unsubscribe link here, I'm sure plenty of WTDWTF denizens would love to click it for you!


  • area_can

    @tsaukpaetra said in WTF Bites:

    Post the unsubscribe link here, I'm sure plenty of WTDWTF denizens would love to click it for you!

    It's ok, the same site kept sending me anime stuff by email so I think I'll just flag it and let Gmail send it all to the rubbish



  • @anonymous234 said in WTF Bites:

    An article explaining how easy it is to change a MAC address specifically to evade MAC filtering restrictions, and then immediately recommending using MAC address filtering.

    That said, they're not actually wrong; using MAC filtering requires an attacker to find out what MACs they need to impersonate, so it adds some difficulty.

    Meanwhile, my own contribution to the thread:
    0_1505718347620_cfee5d00-3817-4f48-9801-a7ad0f7dec4b-image.png

    Yep, that's some quality font support there.


  • Considered Harmful

    @scarlet_manuka said in WTF Bites:

    Meanwhile, my own contribution to the thread:
    0_1505718347620_cfee5d00-3817-4f48-9801-a7ad0f7dec4b-image.png

    Yep, that's some quality font support there.

    You can't expect it to be anything worthwhile - you'd only use it as a last resort.



  • @scarlet_manuka said in WTF Bites:

    Yep, that's some quality font support there.

    The LastResort appears to be some kind of self-test font that contains all codepoints, but none of them actually represents the intended character:

    0_1505721390944_23d480a7-1353-4b53-bbc3-866d5e96ad53-image.png

    The Symbola font does show correct glyph for me, plus the Segoe UI does:

    0_1505721359716_ed1c1e18-72d0-4c39-a906-f439768ccf45-image.png



  • Parsing XML input with an .xsd: 👍

    Parsing XML input without an .xsd: :doing_it_wrong:

    Parsing XML input with an .xsd, but the XML input doesn't actually meet the .xsd*, and you have to parse it anyway: :wtf: :doing_it_wrong: 🔥 :headdesk: 🤮

    Posting here instead of doing any of the dozens of things I should be working on: 🤷♂

    (text values in numeric fields, oh what joy)
    (also the input XML is long enough that Informatica's text functions choke on it, so I can't just check for problems and modify the string before it gets passed to the XML parser)**

    At some point I need to verify what version of the schema is running in Prod, make a local copy of that version, and modify the element that's currently giving me trouble to be a string instead of a number, then reimport the schema into Informatica.*** Then I can put logic in after the parser to say "look, if it's not a number, just forget it." That should hold it until I get the next surprise field.

    Of course, any such changes will have to be redone on a local copy of the schema each time the schema is upgraded, unless I can get the app guys to update the schema source, which in a case like this is questionable (the field really should be a number).

    * If we enable validation against the schema in the application, it just gives a "validation failed" error on invalid input, with no way to indicate to the user what fields need to be corrected. So we disable schema validation and check the more important fields explicitly, and everything else just takes its chances.

    ** My current solutionhack around this: a DB table storing custom replacement strings for specific records, so I can join to it in the source query and get the database to do a replacement where the problematic text is found. Still breaks each time a new record has fun stuff added to it, but that's manageable, and provides an easy temporary fix for the next field that starts to exhibit a similar problem.

    *** Bonus :wtf:: in Informatica, if you create an XML parser from a schema, you can't modify any data types in it (lengths yes, types no). To update a data type you need to reimport from an .xsd that has the updated type definition. If you created your parser from a random XML file, then you can update it however you like, so it's not like the capability to edit the data types isn't there.



  • @bulb said in WTF Bites:

    The [LastResort] appears to be some kind of self-test font that contains all codepoints, but none of them actually represents the intended character:

    I was going to say that in that case you really should exclude it from your list of "here are some fonts that support this character". But i can see some cases for keeping it (what if we don't find any other fonts that support our new super-important character?), so perhaps that's a bit harsh. I do think it should at least be separated from the regular fonts.


  • Considered Harmful

    @bulb said in WTF Bites:

    0_1505473198543_eddd2f15-2d2a-4d20-8f00-bef3ec9e843f-image.png

    No comment.

    Looks like a standard MacOS error message.



  • @scarlet_manuka said in WTF Bites:

    @bulb said in WTF Bites:

    The [LastResort] appears to be some kind of self-test font that contains all codepoints, but none of them actually represents the intended character:

    I was going to say that in that case you really should exclude it from your list of "here are some fonts that support this character". But i can see some cases for keeping it (what if we don't find any other fonts that support our new super-important character?), so perhaps that's a bit harsh. I do think it should at least be separated from the regular fonts.

    … and more appropriately named. Or at least more appropriately named. It is not last resort. It is totally useless for that. It is just a test. It should be called a test (but we don't really expect anything sensible from Apple, do we?).


  • Java Dev

    @laoc That's way too much information for a macOS error message. A correct error message would just say that something happened and the program had to quit/restart.


  • Considered Harmful

    @atazhaia said in WTF Bites:

    @laoc That's way too much information for a macOS error message. A correct error message would just say that something happened and the program had to quit/restart.

    They used to have useful™ messages:
    macrash
    At least you could guess the cause (if not the responsible code) from the error number, "type 10" was an "Line-A Emulator Exception".
    User-friendliness at its best.


  • Java Dev

    @laoc You mean that having iTunes installed isn't the real error? 🚎


  • Considered Harmful

    @scarlet_manuka said in WTF Bites:

    Parsing XML input with an .xsd: 👍

    Parsing XML input without an .xsd: :doing_it_wrong:

    Parsing XML input with an .xsd, but the XML input doesn't actually meet the .xsd*, and you have to parse it anyway: :wtf: :doing_it_wrong: 🔥 :headdesk: 🤮

    At least you're not parsing it via regex.





  • @bulb said in WTF Bites:

    The LastResort appears to be some kind of self-test font that contains all codepoints, but none of them actually represents the intended character:

    It's the font that cuts your life into pieces


  • Considered Harmful

    @ben_lubar said in WTF Bites:

    https://twitter.com/fasterthanlime/status/909832047765663746

    The 'billion dollar' part of 'billion dollar mistake' is evident when the owning company itself pulls shit like this.


  • :belt_onion:

    @scarlet_manuka said in WTF Bites:

    @anonymous234 said in WTF Bites:

    An article explaining how easy it is to change a MAC address specifically to evade MAC filtering restrictions, and then immediately recommending using MAC address filtering.

    That said, they're not actually wrong; using MAC filtering requires an attacker to find out what MACs they need to impersonate, so it adds some difficulty.

    Meanwhile, my own contribution to the thread:
    0_1505718347620_cfee5d00-3817-4f48-9801-a7ad0f7dec4b-image.png

    Yep, that's some quality font support there.

    Did it come from Providence?

    (the one in Rhode Island)



  • Changing the font for a Notepad document also sets the font to be used for previewing text and CSV attachments in Outlook. (Global solution to a local problem, anyone?)

    It took me a while to work out why all my previews were suddenly showing up in some huge font. "You used Notepad yesterday to see a symbol character at bigger size" was not the first thing that sprang to mind.




  • Notification Spam Recipient

    @scarlet_manuka said in WTF Bites:

    Changing the font for a Notepad document also sets the font to be used for previewing text and CSV attachments in Outlook. (Global solution to a local problem, anyone?)

    It took me a while to work out why all my previews were suddenly showing up in some huge font. "You used Notepad yesterday to see a symbol character at bigger size" was not the first thing that sprang to mind.

    😱 🙀 :eek: :mlp_baffle: :mlp_fear:



  • I'm assuming that Notepad doesn't have any idea of its own font, so whenever you change the font it just sets some system default text font somewhere. (Without any indication that this is more than a temporary change for the document you're looking at, or any confirmation, naturally.)


  • Java Dev

    @scarlet_manuka Today I noticed that someone had changed their Notepad font to Impact at 18px or so. Which he was using because his computer didn't have Office installed. Which is part of the standard Windows image used for all laptops here. (And even if he uses a custom install I'm sure the IT support could sort him out with Office. Or he could just download LibreOffice or something. Seriously, this raises several questions.)


  • Discourse touched me in a no-no place

    @scarlet_manuka said in WTF Bites:

    That said, they're not actually wrong; using MAC filtering requires an attacker to find out what MACs they need to impersonate, so it adds some difficulty.


  • :belt_onion:

    @pjh said in WTF Bites:

    That works for Wi-Fi (and I was going to bring it up), but I'm unsure if you can get the same level of information on an Ethernet network before you're authenticated. (It's been a while since I last tried.)



  • This post is deleted!

Log in to reply