WTF Bites


  • Dupa

    @sloosecannon said in WTF Bites:

    @sloosecannon Now I'm irritated, because these types of apps are shitty and annoying so

    2b65e8a9-45a2-4986-ac3f-a1435351a847-image.png

    1. [Design] Navbar does not follow standard Material Design patterns (even though it's clearly attempting to - it looks vaguely Material).

    It's a good thing, cause Material is positively awful.


  • 🚽 Regular

    @Bulb said in WTF Bites:

    What is the point of abbreviating most identifiers by one vowel? E.g. Cntroller, Hndle

    As someone who's just renamed a variable from prdcntr to productCount, I sympathize.

    Edit: you know, it could be argued that mispelling variable names like this makes it possible to search for them without getting false positives from class names.

    This argument would be done by stupid people, of course.



  • @Zecc said in WTF Bites:

    As someone who's just renamed a variable from prdcntr to productCount, I sympathize.

    That is unreadable, but it at least also half the length. In my case each identifier is shortened by one character out of average maybe fifteen (they are Something_Hndle and Cntroller_Whatever—also, that capitalisation).

    @Zecc said in WTF Bites:

    Edit: you know, it could be argued that mispelling variable names like this makes it possible to search for them without getting false positives from class names.

    Except in this case it applies to the function and type names (it is C, so no classes) as well. Inconsistently, for good measure.

    @Zecc said in WTF Bites:

    This argument would be done by stupid people, of course.

    At this day and age the IDE should be able to do contextua… err, we've got a mostly unconfigured Eclipse (and messy build scripts it has no hope of understanding) when we came to the project and I didn't get around to configuring either ViM or VSCode (or Eclipse) completion correctly yet so that much for IDE.


  • Discourse touched me in a no-no place

    @Bulb said in WTF Bites:

    they are Something_Hndle and Cntroller_Whatever

    It's dangerous to go alone. Take this:

    7fd59f80-978d-4131-b0d7-ee79d93b2963-image.png


  • ♿ (Parody)

    @Zecc said in WTF Bites:

    @Bulb said in WTF Bites:

    What is the point of abbreviating most identifiers by one vowel? E.g. Cntroller, Hndle

    As someone who's just renamed a variable from prdcntr to productCount, I sympathize.

    Edit: you know, it could be argued that mispelling variable names like this makes it possible to search for them without getting false positives from class names.

    This argument would be done by stupid people, of course.

    What gets me is when the abbreviations aren't consistent. So, sometimes counter becomes cntr and sometimes ctr. Or double consonants are sometimes kept and sometimes not:

    collection
    col
    coll

    :angry:



  • @boomzilla said in WTF Bites:

    What gets me is when the abbreviations aren't consistent. So, sometimes counter becomes cntr and sometimes ctr.

    Yup. I noticed this one has both Cntroller and Controllr, plus the correct spelling…

    @boomzilla said in WTF Bites:

    collection
    col
    coll

    Hm, I would tend to read col as column(s) and coll as collate. I wanted to :trollface: that correct abbreviation for collection is coln, but it's too silly even for 🚎.



  • @Bulb said in WTF Bites:

    correct abbreviation for collection is coln

    Something something colon something 💩.


  • :belt_onion:

    @kt_ said in WTF Bites:

    @sloosecannon said in WTF Bites:

    @sloosecannon Now I'm irritated, because these types of apps are shitty and annoying so

    2b65e8a9-45a2-4986-ac3f-a1435351a847-image.png

    1. [Design] Navbar does not follow standard Material Design patterns (even though it's clearly attempting to - it looks vaguely Material).

    It's a good thing, cause Material is positively awful.

    That's just like, your opinion man.

    You might not like it (I personally do, but UI styles are a very subjective thing) but the fact is it's the design standard for the OS, and going again it will only cause confusion for the people that use the app.


  • Considered Harmful

    @kt_ No U.


  • Dupa

    @sloosecannon said in WTF Bites:

    @kt_ said in WTF Bites:

    @sloosecannon said in WTF Bites:

    @sloosecannon Now I'm irritated, because these types of apps are shitty and annoying so

    2b65e8a9-45a2-4986-ac3f-a1435351a847-image.png

    1. [Design] Navbar does not follow standard Material Design patterns (even though it's clearly attempting to - it looks vaguely Material).

    It's a good thing, cause Material is positively awful.

    That's just like, your opinion man.

    You might not like it (I personally do, but UI styles are a very subjective thing) but the fact is it's the design standard for the OS, and going again it will only cause confusion for the people that use the app.

    Sure. I just hope material would die already. 😕


  • Considered Harmful

    @dkf

    I recommend the Anvil Chorus.

    OADS_incus_superne.png


  • Considered Harmful

    @sloosecannon
    Awful or not, however, it is that most of these guidelines - Skudomorphic, Rounded Corners™, Flat, Material, Fisher-Price, Aero, Metro, Fluent - will be inevitably deprecated soon enough to make place for another type of vogue.

    And even when they aren't, they do not remain the same over the course of their lifecycle, especially the mobile ones (in case of Android made even worse by manufacturers' own pitiful attempts).
    And regardless of that there are configuration (such as gestures) that do not play well with all types of applications, but have to be considered nevertheless.

    I'd think it's a fool's hope that cross-platform can ever be completely realized at a click of a button.



  • @Rhywden said in WTF Bites:

    So I may be forced to implement our own chat solution. Thankfully, the user administration and access levels side is already solved, I just need to connect to our local LDAP and get the stuff from there

    Openfire?

    @dcon said in WTF Bites:

    Hey, nice security hole you just opened there TB.

    Known issue, but not considered to be a security hole. Will be fixed with auto-update to v60.5.3.

    @sloosecannon said in WTF Bites:

    And if someone's so inclined to point out issues with the other versions of the demo app...

    For Windows Phone,

    • Hamburger button is not appropriate on this platform; instead, use a dedicated hub activity/page and make it reachable from a button on the app bar (at the bottom). If there are only a few entries in the menu, it's acceptable but not recommended to put them under the app bar, accessed with the "⋮" button.
    • Activity titles should be lowercase, left-aligned, and on the same background as the rest of the activity.
    • "Refresh" glyph (wtf is that?) should be enclosed in a circle if it's a button.
    • "Store Login" button should be square, not pill-shaped.
    • The title bar of the WP emulator shows a salmon accent color. The Store Login button should be that same accent color. Also, that's not the real WP emulator.
    • Typically, generic activities like login have a flat black or white background. Background images should be reserved for hubs (where it promotes your app's brand) or item-detail pages (so it's identifiable at a glance).
    • Windows Phone doesn't use scrollbars. An elevator pill appears in a virtual scroll bar while finger-scrolling, just like iOS and Android, but that's it.
    • Small icons should be one single color, preferably white, so they're more easily identifiable.
    • If this is Metro, and not Windows Phone, there should be no navbar, and the hamburger menu should be elevated into the title bar. All the other guidance still applies, though you can choose an app-specific accent color rather than respecting the user's accent color.

    @dkf said in WTF Bites:

    IIRC, there's an extension that adds a history service that your client can just query to get what it missed.

    There's a spec for it (XEP-0013) but both the client and the server have to support it. Most servers that don't support it just forward stored messages on next login with backdated timestamps.

    Today's WTF: I can't read any MSDN blogs, because my Passport account isn't a valid WordPress credential. All blogs redirect to this:
    ca0bf364-fa10-4a98-a25b-a104b29f590b-image.png



  • @Bulb said in WTF Bites:

    What is the point of abbreviating most identifiers by one vowel? E.g. Cntroller, Hndle

    Duh. Vowels cost money. Isn't that right Vanna?



  • @HardwareGeek said in WTF Bites:

    @Bulb said in WTF Bites:

    correct abbreviation for collection is coln

    Something something colon something 💩.

    while (coln.DrinkThs())
       coln.Prge()
    


  • @dcon I'll get to do that again in (probably) August. 😬



  • @HardwareGeek said in WTF Bites:

    @dcon I'll get to do that again in (probably) August. 😬

    The last time I did, the drink function had changed significantly (for the better!) from the previous time. (Instead of 1 gallon of hideous liquid at the rate of 1 glass/hr starting 24hrs before, it was 1/2 gal starting about 12hrs before - if my memory is working)



  • @dcon I mentioned it in a thread here at the time. 4 liters of PEG-numbers, 125 or 250 ml at a time. This was an improvement over the old 1 liter (?) of magnesium citrate. The PEG goes right through you, but that's it; you stop drinking it, and you're done. You even get to take a break and go to bed half-way through it — drink half the night before and half the morning of the procedure.

    OTOH, the magnesium citrate attempted to turn your gut inside-out, and it was long-acting. You stop drinking it at midnight, but you were still trying to poop even after you were on your way to the doctor's office the next day to have additional indignity committed upon your body.



  • @boomzilla said in WTF Bites:

    Or double consonants are sometimes kept and sometimes not:
    collection
    col
    coll

    I agree. I must also admit that I'm guilty of using both buf and buff. And buffer, but that one is mostly in public interfaces (the former are mostly for temporary/internal stuff).



  • @Applied-Mediocrity said in WTF Bites:

    I'd think it's a fool's hope that cross-platform can ever be completely realized at a click of a button

    I'd be happy with a single platform being coherent and functional throughout. Preferably in as toned down way as possible.



  • @dcon said in WTF Bites:

    @Bulb said in WTF Bites:

    What is the point of abbreviating most identifiers by one vowel? E.g. Cntroller, Hndle

    Duh. Vowels cost money. Isn't that right Vanna?

    But if you buy a vowel, you're supposed to get all of it. Cntroller is still :wtf:



  • @coderpatsy said in WTF Bites:

    @dcon said in WTF Bites:

    @Bulb said in WTF Bites:

    What is the point of abbreviating most identifiers by one vowel? E.g. Cntroller, Hndle

    Duh. Vowels cost money. Isn't that right Vanna?

    But if you buy a vowel, you're supposed to get all of it. Cntroller is still :wtf:

    These are high cost vowels. You only get 1 per purchase. Character bytes (🚎) are expensive (as that "other" thread I'm about to ignore proves!)



  • @sloosecannon
    I never thought Delphi has the ability to make native applications (on any platform besides Windows/x86). afaik there's something finicky going on with programming for mobile platforms, as they function more like interpreters then 'binary assemblers' (or what should I call it). And actually I don't know how Delphi builds mobile apps as I only used it for Windows/x86 applications.

    @sloosecannon said in WTF Bites:

    X. [Design] Navbar/Textfields/Buttons does not follow standard Material Design patterns [...]

    However I did develop apps some time ago. Though I never grasped how I could build anything with Material Design, or a visual nice interface in general. So my one (released) app looks somewhat the same.

    I definitely lack knowledge for creating a professional looking app... To the point I preferred another method for creating easy, flexible and good-looking interfaces: OpenGL :wtf:


  • BINNED

    @Flips said in WTF Bites:

    To the point I preferred another method for creating easy, flexible and good-looking interfaces: OpenGL :wtf:

    From the Blender school of make your Open File dialog suck on all platforms.

    Filed under: just when you thought it couldn't get any worse than GTK's


  • 🚽 Regular

    @topspin said in WTF Bites:

    @Flips said in WTF Bites:

    To the point I preferred another method for creating easy, flexible and good-looking interfaces: OpenGL :wtf:

    From the Blender school of make your Open File dialog suck on all platforms.

    Filed under: just when you thought it couldn't get any worse than GTK's

    I just find it infuriating when people don't make their Open/Save File dialogs default to where you were last. Of course I want to navigate to that folder deep down in the tree again for the ten billionth time...


  • Notification Spam Recipient

    Status: Wow, it's been ages since I've seen this dialog box. What is this, Windows 9x?

    5396da74-297f-4111-85f0-8276fa1db7ed-image.png


  • ♿ (Parody)

    Anonymized (pseudo-ized) query fragment I just discovered in one of our reports:

    select distinct (foo stuff) where foo.bar is null
    union
    select distinct  (same foo stuff) where foo.bar is not null
        and foo.name not in (select foo.name where foo.bar is not null)
    

    EDIT: forgot to put in the 100% useless and redundant distincts


  • I survived the hour long Uno hand

    @boomzilla
    Is the second half overly psuedoized, or do you have a legitimate reason to commit a post-birth abortion on the coder who wrote that exciting performance "enhancing" noop?


  • ♿ (Parody)

    @izzion said in WTF Bites:

    @boomzilla
    Is the second half overly psuedoized, or do you have a legitimate reason to commit a post-birth abortion on the coder who wrote that exciting performance "enhancing" noop?

    It's legit.


  • Java Dev

    @boomzilla said in WTF Bites:

    Anonymized (pseudo-ized) query fragment I just discovered in one of our reports:

    select distinct (foo stuff) where foo.bar is null
    union
    select distinct  (same foo stuff) where foo.bar is not null
        and foo.name not in (select foo.name where foo.bar is not null)
    

    EDIT: forgot to put in the 100% useless and redundant distincts

    A significant proportion of people do not grok SQL. Since I do grok SQL, my main tactic is to try to persuade the people in question to have others write their SQL.


  • Trolleybus Mechanic

    Was browsing the website of the college I'm an alumni of. Curious what's up with the program I went through (Bachelor of Software Development). Interesting, the entry-level web development course is now almost completely front-end-- learn the DOM, learn HTML, learn Javascript, do things. It used to be an intro course with ASP.Net. I guess the web is getting web-3.0-ier every day so sure.

    Ah, hey, they do have web development with .Net as an elective now. Cool, wonder what the course outline is these days-- you know, read up on the web development course on a website for a college degree about web development. I'll just click that old hyperlink:

    74c98a79-ec86-4a4e-8509-2f3d86d38871-image.png

    And get this:

    84535478-75e3-4a4d-9e3b-6dc9315dfde6-image.png

    Guys. No.

    edit uploaded new image. Old screenshot I had clicked on DSP943, Web Development in PHP. So it turns out that NEITHER of their Web Development courses have working hyperlinks.


  • I survived the hour long Uno hand

    @Lorne-Kates
    It's part of their new partnership with Micro$oft, which led them to offering the .NET variation of the course. They're also using TechNet's architecture for generating documentation links. 🍹



  • Holy open source, Stallman! Microsoft open sourced a piece of Windows!



  • @DCoder said in WTF Bites:

    we’re excited to announce that we are open sourcing Windows Calculator on GitHub under the MIT License.

    That's nothing to get excited about :rolleyes:



  • @DCoder said in WTF Bites:

    Windows Calculator...product roadmap

    👀



  • @DCoder I wish they would open source Windows XP Paint





  • @hungrier I wish they would open source MS Bob :trollface:


  • I survived the hour long Uno hand

    So, in ye olden days, the only real way to set up an Anonymous Relay on an Exchange server was to set up a (highly IP restricted) receive connector that was marked as Externally Secured, and add the source IPs of your application server(s) to those connectors so their mail would be sent that way. Modern best practices are to set the ms-Exch-SMTP-Accept-Any-Recipient for anonymous senders instead and not mark the connector as Externally secured, so that your relay connector still applies several of Exchange's other limits to help control possible abuse or badmail.

    Except that when you use that approach, one of the other limits that gets applied to mail now is that Anonymous senders aren't counted as "authenticated" for purposes of sending to your internal distribution lists, so if your monitoring mail is going to a distribution list that only accepts "internal" (authenticated) mail, well now it's going to get blackholed. But wait, there's a property ms-Exch-SMTP-Accept-Authentication-Flag you can assign that:

    Controls whether messages from SMTP clients or servers are treated as authenticated. If this permission isn't granted, messages from theses sources are identified as external (unauthenticated). This setting is important for distribution groups that are configured to accept mail only from internal recipients (for example, the RequireSenderAuthenticationEnabled parameter value for the group is $true).

    Except that (from what I can tell), as of Exchange 2013 and newer, applying that setting on the Frontend receive connector the client connects to isn't sufficient to actually mark the message as Authenticated the rest of the way through the chain, so once it gets proxied through to the HubTransport receive connector that will actually route the mail to the target mailbox(es), the HubTransport connector sees this is unauthenticated mail and bounces it back with an error that "dumbass, you have to authenticate to send to that distribution list"

    And hell if I can find a way to fix that behavior :kermit_flail:


  • Considered Harmful

    @DCoder
    So... has anybody submitted a PR for the grid bug yet?


  • Notification Spam Recipient

    @Applied-Mediocrity said in WTF Bites:

    @DCoder
    So... has anybody submitted a PR for the grid bug yet?

    I was going to mention that, but held off until I got to the end of the thread. Look ma, such restraint!


  • Discourse touched me in a no-no place

    @izzion said in WTF Bites:

    And hell if I can find a way to fix that behavior :kermit_flail:

    We “fixed” it by having all mailing lists served by an entirely different mail server.


  • Notification Spam Recipient

    Status: Investigating unexpected non-determinism between Development and Shipping builds:

    Apparently, setting coordinates on a thing just doesn't work the same if you're building for release. Fuck knows why...


  • Considered Harmful

    @DCoder You mean like when they open sourced Windows Forms? Or WPF? Or PowerShell?


  • BINNED

    @TimeBandit said in WTF Bites:

    @hungrier I wish they would open source MS Bob :trollface:

    public string getBob() {
        return “brillant”;
    }
    

    There you go. 🏆


  • Considered Harmful

    @topspin said in WTF Bites:

    Mobile keyboard?


  • BINNED

    @pie_flavor said in WTF Bites:

    @topspin said in WTF Bites:

    Mobile keyboard?

    Yeah, got me. Stupid “smart” quotes.

    That would really mess things up if anyone actually tried to execute this. But why would they.



  • @topspin said in WTF Bites:

    Yeah, got me. Stupid “smart” quotes.

    This would have been better if auto-correct had managed to do its job and fix the “typo”, in a meta-funny way.


  • Notification Spam Recipient

    @topspin said in WTF Bites:

    Stupid “smart” quotes.

    "my keyboard so dumb it has attentive quotes."
    …¬|¦§© but it includes many others!



  • @Tsaukpaetra said in WTF Bites:

    Look ma, such restraint!

    👩 liar, I saw your porn stash!


Log in to reply