• dandelion@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    15
    ·
    3 hours ago

    All dates should be formatted according to ISO 8601 standard (YYYY-MM-DD).

    Months should be adjusted so September, October, November, and December are the 7th, 8th, 9th, and 10th month respectively (so the literally meaning of the names accords with their actual meaning).

    Not cleaning your kitchen knife after sharpening is trashy and contaminates your food with metal shavings.

  • HiddenLayer555@lemmy.ml
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    5
    ·
    edit-2
    4 hours ago
    void main() {
        //code
    }
    

    Is better than

    void main()
    {
        //code
    }
    

    Why would you want to put it on a separate line? Are you paid by the height of the source file or something?

    • LeGrognardOfLove@lemmygrad.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 hours ago

      Why is it better ?

      I don’t have a strong opinion, taking the style of the team I work with but why do you feel it is better?

      It’s not like putting it on the other line causes any issue.

      • HiddenLayer555@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        30 minutes ago

        Both are usable, but I just don’t understand why you’d choose the separate line style if you were starting a new codebase. I can’t see the benefit of it, but that could also be me not having enough experience with the separate line style to see it’s advantages.

        On the other hand, having the brace on the next line means that the parent statement and the code in the braces are further from each other, also more lines in the source file is more scrolling in general. You can fit less lines of code on the same vertical screen height if you have a lot of nested blocks or just generally use a lot of blocks. Especially for things like many small functions or many if blocks, being able to fit a few more on your screen is really convenient IMO.

    • pineapple@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      3 hours ago

      void main() { //code }

      No, all in one line baby!! I haven’t done JavaScript in a while but I think that will work. After coming from python I thought it was funny you could just put everything in one line.

  • CaptainAmeristan@lemmy.zip
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    6 hours ago

    English verbs have historically had present form, past form, and past participle form, eg. go / went / gone. I’m sad to see the past participle form being phased out of American English. People I went to school with and who I’m sure were taught differently (not to mention innumerable podcasters and public radio personalities), now say things like: “By the time I got home I found he’d already went,” eliminating the past participle and instead using the past form. Had saw is not uncommon either. I am old enough I refuse to incorporate this development in the language. If I ever encounter had was/were in the wild I might blow a gasket. Now entering my fuddy-duddy years :(

    • JillyB@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      I’ve also noticed an increase in using “had [done]” instead of [did] in places I wouldn’t expect. I’m sure a linguist could break that down more thoroughly.

  • superkret@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    5 hours ago

    Single-speed bicycles suck.
    They combine the drawbacks of a geared bike with the drawbacks of a fixed gear bike.

    • null_dot@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 hours ago

      Whaaat.

      I’m not necessarily challenging your opinion because aparently you’re going to die on this hill, but …

      This is not a tiny hill.

      But most people would say that single speed has none of the disadvantages of fixed.

      As an aside, I have 3 bikes. I’ve never ridden a fixie but holy fuck I would love to have one.

    • pineapple@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 hours ago

      I had and endless argument with some someone about this a while ago here’s how it works (in my opinion) wetness is not a fundamental property of water instead wetness is having water on or inside something so a towel is wet when it has water in it. But a singular water particle by itself is not wet because it is not surrounded by water but most water is wet because they are all surrounded by other water particles.

      • null_dot@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        A particle of water may be surrounded by water but when we talk about water we’re usually referring to a body of water like that in a glass or pot rather than one particle thereof.

        Is the water in that glass wet? No. The glass is wet.

        A room can be “airy” but the air in that room is not “airy”.

        A car can be painted but paint is not painted.

        … and so on and so forth.

        • pineapple@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 hours ago

          I disagree if there is paint on the paint which there would be unless the paint is 1 particle thick then the paint has been painted. I don’t know what airy means so I can’t comment on that though.

  • mub@lemmy.ml
    link
    fedilink
    arrow-up
    4
    arrow-down
    3
    ·
    5 hours ago

    There is a letter G in the word recognise. Bloody use it. What people all say is “reckonise” which is not the same word. Also driving on the left just makes way more sense.

    • Libra00@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 hours ago

      driving on the left just makes way more sense.

      Only because it’s what you’re used to. Also I know there are countries (Sweden, or was it Norway?) that have switched which side they drive on, and as far as I know no one has switched from right to left.

      • mub@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        57 minutes ago

        I have a reason. Most people are right handed. In a Right hand drive car with manual gears your preferred hand remains on the steering wheel when you change gears. Also messing with the stereo or climate controls also leaves your preferred hand on the wheel.

  • greedytacothief@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    1
    ·
    13 hours ago

    I live in a pretty mountainous area, but I can think of a couple blind corners on small hills near me. So probably the one on the way to the bakery while running or biking.

    But I do a lot of ski touring so I’d rather die on one of the big ones.

  • seeigel@feddit.org
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    7 hours ago

    None. I rather change myself than wasting time on changing something that won’t last forever anyway.

  • starman2112@sh.itjust.works
    link
    fedilink
    arrow-up
    43
    ·
    20 hours ago

    Anyone who puts always-on blue LEDs in electronics deserve the oubliette. People who put such LEDs in electronics meant for the bedroom deserve an oubliette that’a slowly filling with water.

    • Tenderizer78@lemmy.ml
      link
      fedilink
      English
      arrow-up
      11
      ·
      15 hours ago

      Or just excessively bright LEDs. Just because LEDs are super efficient, doesn’t mean they should take them as bright as they can go.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      8
      ·
      16 hours ago

      Allow me to try and persuade you. The problem is bright blue LEDs. It’s still stupid that they make them so bright, but the problem isn’t the color. A hypothetical bright red, green, or amber LED would also be a problem.

      • starman2112@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        11 hours ago

        This is fair. I have had to put tape over a red alarm clock because it was too bright before. Those manufacturers also get the oubliette

      • deathbird@mander.xyz
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        13 hours ago

        Shorter wavelengths hit different though. That’s why we have blue light filtering glasses, Redshift, etc.

        • desktop_user@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          1
          ·
          5 hours ago

          a non-diffused, bright, monocromatic red led would still be painful to look at in the dark, it’s just that blue LEDs tend to be brighter + our eyes are more sensitive to blueish green light at night + the damn companies don’t bother putting a diffuser in front of the diode.

    • hactar42@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      My company has standardized document templates and none of them have Oxford commas. I will go through and add them any time I have to use one.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      12
      ·
      24 hours ago

      Fuck yeah.

      Also missing from sub-clauses, at least in America, is the trailing delimiter comma.

      • Psychadelligoat@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        8
        ·
        19 hours ago

        Took me a minute of googling to be vaguely sure you meant what I think you mean: the comma marking the end of your dependant interjectory clause there?

        at least in America**,**

        If so: I have no idea what you are talking about, that’s drilled into us in school. Maybe people get lazy on the Internet but it is part of the rules and gets taught and used here

        If I’ve misunderstood: what are you talking about, then?

    • Wilco@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      15 hours ago

      Are you for or against it? I mean, it does have it’s uses.

      • some_guy@lemmy.sdf.org
        link
        fedilink
        arrow-up
        9
        ·
        12 hours ago

        For it. Its lack of use in a union contract was a factor in a court ruling some years back. That’s when it went from pedantry to real-world consequence for me. Something was ruled similar to A and B rather than A or B.

    • Rai@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      I had someone speed up to scare me and call me a bitch when I was using a zebra crossing… he wouldn’t have even been close if he was going the posted speed.