• HiddenLayer555@lemmy.ml
    link
    fedilink
    English
    arrow-up
    42
    arrow-down
    6
    ·
    edit-2
    2 months 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?

  • phantomwise@lemmy.ml
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    1
    ·
    2 months ago

    Having devices require a USB-C charger might be great for small devices, but it’s awful for laptops. That thing is so flimsy it’s only a matter of time until it starts having faulty contacts. I’ve had one for a year and now it connects/disconnects everytime I touch the cable. Gimme back my huge Dell barrel jacks 😭 😭 😭

    • ByteSorcerer@beehaw.org
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      Grab a thin needle or piece of wire, thin enough to easily insert into the USB-C port, and scratch all of the dirt and lint out of it. Always point the needle towards the outer surface so you don’t scratch the electrical contacts in the middle.

      There is often a surprising amount of junk inside even if you can’t see it from the outside, and that can greatly affect the connection quality.

      My phone recently had a similar issue where it would only charge if the cable was inserted in a specific way, and any movement would cause it to stop charging. The cable also wasn’t really held well even though it looked like it was fully inserted. I cleaned out the port even though I couldn’t see anything inside, and managed to pull out a bit of dust anyway. And now my phone no longer has charging issues and holds on to the cable much better.

      USB-C unfortunately just seems to have a design that makes it very easy for dust to get stuck in it, while also having a relatively low tolerance for foreign material buildup before the connection quality gets affected, making this a quite common issue.

      • phantomwise@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        Thanks for the tip I’ll try that ! I’ve had the same problem on a tablet, but there it was definitely caused by the port being bend out of shape (it won’t be horizontal) so I had assumed it was the same problem on the laptop. But I’ll try cleaning it to see if it fixes it ! I assume a toothpick or something else or wood or plastic would be better than metal ?

        • ByteSorcerer@beehaw.org
          link
          fedilink
          arrow-up
          2
          ·
          2 months ago

          A wooden toothpick is probably a bit too thick. You’d want something thin enough that it can be inserted without touching the electrical contacts. If you do have something plastic then that’s probably better, but if you do the cleaning when the device is off the USB port should be unpowered and there shouldn’t be a risk of causing a short, and modern USB ports are quite well protected again shorts anyway so it’s very unlikely to cause damage just by being conductive. You mainly want something that is long and thin enough to get all the way to the bottom of the port without having to apply any force. If the only things you have that are long and thin enough to reach the bottom of the port without having to be forced in are made of metal, then that’s still a safer option than jamming something too thick into the port that can deform the center contacts.

    • GooberEar@lemmy.wtf
      link
      fedilink
      English
      arrow-up
      13
      ·
      2 months ago

      The main problem I have with USB-C is that the “U” is a lie. Always has been to some extent, but seems like it’s particularly true with USB-C. This is closer to that meme that’s like “There are 12 competing standards. We created a new universal standard to replace them all.” Except instead of there now being 13 competing standards, USB-C is a fractured mess so instead it’s like there’s now 20 competing standards. This cord supports passthrough power, this one doesn’t, but even the one that does only supports 20W so you have to have a special one to deliver 65, and that USB-C power brick only gives 15W, so you have to buy a special one that does 80W, and this USB-C port on my phone doesn’t support the USB-C to Aux jack adapter I bought, so now I have to buy a different adapter. It goes on and on and on and frankly I’m old and tired.

      • GoodLuckToFriends@lemmy.today
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 months ago

        The issue with that is the old cables had the same problem, they just were less noticeable because you didn’t expect them to do what the USB-C is capable of. I had some USB micro cables that would pass power only, and it drove me nuts if they ended up near my computer.

      • phantomwise@lemmy.ml
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 months ago

        After further reflection, the hill I’ll die on is that we should replace ALL types of USB by barrel jacks, not only USB-C. Cause circular connectors rule! Make a standard one, I don’t care, as long as I never have to plug a USB-A three times to find the right way.

    • teije9@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      7
      ·
      2 months ago

      barrel jacks were great until you lost them and had to buy a new one for way too much money. but, I’d rather have a standardized barrel jack than usb c

      • phantomwise@lemmy.ml
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 months ago

        yeah my problem is not with having a standard, but with choosing USB-C for it instead of something better.

        I get that USB-C was probably the more pragmatic choice since it already existed and a lot of devices were already using it. But I’m still team “Let’s make a new good standard rather than use one that’s just okayish”

    • Player2@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 months ago

      I have also had issues with type C connection reliability, but every single time so far it has been an issue with the cable. I thought that the port on my phone of 4+ years was dying, the connection felt loose and it would charge unreliably, but changing out the cable has completely removed all issues.

      • GoodLuckToFriends@lemmy.today
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        the connection felt loose and it would charge unreliably, but changing out the cable has completely removed all issues.

        Isn’t that because the attachments are placed on the cable side, purposefully, because changing cables is easier than replacing parts of the phone/device? I think that’s one of the more noticeable issues with the iIdiot lightning chargers: Once the grabbing parts of the port are borked in the device, no cable ever stays in.

    • beastlykings@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      As an American, this disagrees with my worldview. But I also don’t know enough about the British version to say your wrong 🤷‍♂️

      I never watched the British one, and I don’t care for the American one, too cringey. Makes me sympathetic cringe.

      • Darleys_Brew@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        lol. I get that. I say what I say cause the British one came first.

        Also, if you feel like that about The American Office, you will not like the British one.

  • Noxy@pawb.social
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 months ago

    “an historic” is wrong and terrible if you pronounce the “h”

  • LinkOpensChest.wav@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    74
    arrow-down
    1
    ·
    2 months ago

    Search engines should not use locational data including IP address to provide “more relevant” results. Checking for restaurants or weather forecast? You should have to manually add the relevant search terms. Want results in a specific language? You should have to manually apply this filter.

    Convenience is not worth the potential harm of locationally biased search results.

    For example, where I live is like White Nationalist Central Station. My search results are thus far more likely to net me results with a pro-US/nationalist skew, thus potentially entrenching or normalizing harmful beliefs.

    Whenever I’ve tried bringing this up with Techlords, I get a feeble, “B-but then you couldn’t say ‘restaurants near me’ UnU” and like … good? It’s not like it’s hard to type city and state in the search field.

    I’ve never found a search engine that even has this as an option. Even Sear XNG instances net results that are clearly aligned with the location of the instances server.

    A Kagi dev even lied to me when I was looking into that as an alternative, saying they don’t use location, when it’s pretty easy to determine that they do.

    I also don’t want a “good” algorithm. I also don’t want to see big corporate sites prioritized either. If some backwoods nobody has a site that’s more relevant, show it to me. I feel like pre-Google search engines were better, but that’s another vent for another day.

    Now where did I put my false teeth and walker???

    • werty@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      The first time i searched for a business online the results came from a city on the other side of the planet. I’m ok with getting search results in my area.

      • LinkOpensChest.wav@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 months ago

        That’s on you for not entering the proper search terms. User error.

        Edit: Also, good. That’s the way it should be! Which search engine did you use to get that result? I’ve been looking for something like that.

    • teije9@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      5
      arrow-down
      2
      ·
      2 months ago

      ip adress only gives the nearest big city. information like this is pretty useful to show you info based on your state/province.

    • eatham 🇦🇺@aussie.zone
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      2 months ago

      With duckduckgo you can disable the country filter thingo to get international results, and you can also change it to another country

      • LinkOpensChest.wav@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        6
        ·
        2 months ago

        Oh believe me, I know. DDG was the first one I tried, and I tested it with every configuration possible. Like many other search engines such as startpage and kagi, you sure can do this in the settings, but it will do absolutely nothing to stop it from using your IP address to net locationally biased results specific to your current location. You may assume it would function like this, but it doesn’t.

        I even tried their html and lite versions, but although it was less cluttered and much more pleasant to use, it still provided results that were very clearly based on my IP address.

        I’m not even sure what those settings do because they appear to have no function. Maybe they change language and currency on some sites for convenience, but again, that’s not what I’m talking about in my comment! I’m saying a search engine should not use any locational data whatsoever to adjust results. And if you reply “well, good luck finding one because it doesn’t exist,” then congratulations, you understand my comment! They don’t exist because we’ve all sacrificed our societal wellbeing for the sake of the smallest convenience.

        Even if changing it to another country/region worked (it doesn’t), we’d still have the problem of netting biased results based on what country I switch it to. That would be akin to searching while using my VPN, which once again, does not solve the problem of search engines using IP address to provide locationally biased results.

          • LinkOpensChest.wav@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            7
            arrow-down
            1
            ·
            2 months ago

            You know what’s hilarious about this basically non-functional setting? If I toggle the switch off, it provides results based on my IP address’s location, but if I toggle it to “UK” it will also provide some results for the UK city that my town is named after, without me ever providing the name of my town lol

            DDG is a for-profit brand that’s a lot more nefarious than people think. They’ve even succumbed to AI.

      • superkret@feddit.org
        link
        fedilink
        arrow-up
        4
        ·
        2 months ago

        Just tried setting no country, then ducked “wine”.
        Results were definitely still from my country first.
        When I set display language to US English, results came up from the US, instead.
        When I set it to French, it shows French websites at the top.
        So the language you set affects what websites you are shown in the results. That sucks.

        But you can actually just turn off ads in the settings. That’s pretty fucking neat!

        • LinkOpensChest.wav@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          2
          ·
          2 months ago

          Even the lite and html versions of DDG will provide locationally biased search results. There’s no way around this. Best you can do is use a VPN, but then you’ve still got the problem of reading locationally biased results, just for a different location. It sucks.

    • PeacfulForest@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      2 months ago

      Not a small hill and I could not agree more. This is relevant to Noam Chomsky “manufacturing consent”.

    • neidu3@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      3
      ·
      edit-2
      2 months ago

      100% agree.

      To add to this, when I’m looking up something online I want info provided by the internet in general, not just by my next door hillbilly.

      EDIT: Downvoted by my next door hillbilly and his siblings

  • Melllvar@startrek.website
    link
    fedilink
    English
    arrow-up
    52
    arrow-down
    1
    ·
    2 months ago

    If a motorcycle has to be ear-splittingly loud for “safety”, then it’s too dangerous to be road legal.

    • Psychadelligoat@lemmy.dbzer0.comBanned
      link
      fedilink
      English
      arrow-up
      16
      ·
      2 months ago

      It’s explicitly the opposite, scientifically, according to my safety class

      The deep rumble being loud overwhelms anyone’s ability to properly locate the bike quickly, and they demonstrated this live. It’s definitely harder to locate a LOUDER bike

    • davel [he/him]@lemmy.ml
      link
      fedilink
      English
      arrow-up
      24
      ·
      edit-2
      2 months ago

      I used to ride. People who say that know it’s just a bullshit excuse to be a dick. Just roll your eyes and/or flip them the bird. Actually, most of them get off on you flipping them the bird, because they’re dicks 🤷

      • GoodLuckToFriends@lemmy.today
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 months ago

        No, it’s morphed into one of those pearls of wisdom that people pass down and truly believe. They all have their ‘true story’ of blipping the throttle and “suddenly the car that was moving over to smush me stopped!!!” The assholes who know it isn’t true can be discerned from the true believers by the humor they find in their tales of blasting people with sounds.

  • andrewta@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    2 months ago

    If a company has a bad interface on their electronic item I’ll not buy it. To me it’s a big hill but I guess it’s how you want to look at it. I’ll stop buying anything from that company if they keep doing it

    • GooberEar@lemmy.wtf
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      My new corollary: If your online e-commerce site asks customers to add a tip, even if $0 / no tip is an option, I’m not buying shit from you.

    • lemmy_outta_here@lemmy.world
      link
      fedilink
      arrow-up
      19
      ·
      2 months ago

      If i need wifi, bluetooth, or an app to use a product that shouldn’t need it (eg a toaster, toothbrush) i will not buy it. i also won’t buy a wireless device (say a bluetooth speaker) if it requires an app. I would be willing to pay $500 more to have a tv with no smart features than a ‘smart’ tv. corporations: keep your shitty malware. my phone is a temple.

    • davidgro@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      2 months ago

      I would agree with you, but I still want to own a microwave. There are none with reasonable UI behavior as far as I can tell.

      (Edit) For example: Opening the door a few seconds early always leaves time on the display which should just automatically clear after a minute or two. Obviously if the user doesn’t use that leftover time immediately then they aren’t going to.

  • the_riviera_kid@lemmy.world
    link
    fedilink
    English
    arrow-up
    128
    ·
    2 months ago

    Appliances and cars should never have an internet connection for any reason.

    Also fuck touch screens give me buttons.

  • JillyB@beehaw.org
    link
    fedilink
    arrow-up
    17
    ·
    2 months ago

    A steel ball is not a ball bearing. A bearing is something that bears load and allows for motion, usually rotation. There are sleeve bearings which are just one material or journal bearings which have pressurized oil to separate the spinning shaft. A ball bearing is an assembly with rolling elements (balls, rather than rollers). Those steel balls are just called balls. The whole assembly is called a ball bearing. I used to work in bearing manufacturing and they were just called balls.

    • azimir@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      Would it be better if I clarified by calling them “ball bearing balls”? Or would that lead to my unpleasant pummeling by steel balls?

        • call_me_xale@lemmy.zip
          link
          fedilink
          arrow-up
          5
          ·
          2 months ago

          Yeah, I think this is the best option. It sounds a little weird at first, because we’re so used to hearing it the other way around, but it makes more sense if you think about it.

  • superniceperson@sh.itjust.works
    link
    fedilink
    arrow-up
    39
    arrow-down
    8
    ·
    2 months ago

    There absolutely was a cornucopia in the fruit of the loom logo. That is the sole reason I know what a cornucopia is. It wasn’t on any table or in any thanksgiving decoration in my childhood, it isn’t a popular thing to exist in media, it was an obscure item that was a main part of an underwear logo.

    Anyone that says differently is objectively wrong. I don’t know why the logo changed and why besides a patent entry even the company itself denies it. I don’t really care if this is an alternate earth or aliens or time travellers or an entirely natural quirk of existing in a quantum universe, but I know for an absolute fact the sole reason I know what a cornucopia is is because of my underwear, and not because my dick is coincidentally called the horn of plenty.

    • hactar42@lemmy.world
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      2 months ago

      I honestly believe this one is a gorilla marketing gimmick. Like they purposely went back and removed references to it so any time someone brings up the Mandela Effect their name gets mentioned.

    • JakenVeina@lemm.ee
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      4
      ·
      2 months ago

      Denying that the logo used to have a cornucopia is a thing? Sheesh, TIL.

      • superniceperson@sh.itjust.works
        link
        fedilink
        arrow-up
        10
        arrow-down
        4
        ·
        edit-2
        2 months ago

        Yeah, snopes isn’t a trustworthy source, and more importantly, there absolutely was. I know that for an absolute certainty, and gaslighting isnt going to work.

    • GoldenQuetzal@lemmy.world
      link
      fedilink
      arrow-up
      7
      arrow-down
      4
      ·
      2 months ago

      I remember this as well, just like I remember Mandela dying in prison. Felt like I was Looney Tunes when I found out as an adult he was still alive.

      • frightful_hobgoblin@lemmy.ml
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        edit-2
        2 months ago

        Nobody thought Mandela died in prison. He was one of the most high-profile people in the world in the 1990s, constantly in the papers after his release from prison. How could you believe he died in prison?

          • frightful_hobgoblin@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            2 months ago

            But then how could he have been released to huge fanfare and shaken up politics?

            Do these people believe Narendra Modi died in 2009? It just doesn’t fit major world events.

            • AngryCommieKender@lemmy.world
              link
              fedilink
              arrow-up
              4
              arrow-down
              1
              ·
              2 months ago

              Most people aren’t really familiar with the history of the world, especially the period of time that would correspond to ≈ 30-50 years before they graduated secondary school. I assume this is because there seems to be a pattern where you just don’t actually catch up to current events in many history classes.

              Also expecting the average person in the US to be familiar enough with world events to even know who Nelson Mandala or Narendra Modi are, is a good way to have a bad time. I don’t like it either, but as Carlin said, “think of the average person, now remember that 50% of people are stupider than that.”

              • frightful_hobgoblin@lemmy.ml
                link
                fedilink
                arrow-up
                2
                ·
                2 months ago

                Maybe the real Mandela effect is we were all tricked into thinking there are people out there believing Nelson Mandela died before leading the ANC, being president, winning the Nobel, and ending apartheid.

        • SwingingTheLamp@midwest.social
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          2 months ago

          Steve Biko died in prison in 1977. There were a bunch of movies about Biko that came out in the late '80s to early '90s, the most famous was Cry Freedom starring Denzel Washington. Nelson Mandela was famously imprisoned, and released around that same time. My guess is that since most Americans don’t really pay deep attention to the news, especially world news, it just got all blended into a miasma of vague memories about some South African anti-apartheid activist.

    • GoodLuckToFriends@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      I definitely got the cornucopia from the saccharine depictions of ‘the origin’ of thanksgivings. I always thought the logo came from those.