• IHeartBadCode@kbin.social
    link
    fedilink
    arrow-up
    216
    arrow-down
    2
    ·
    1 year ago

    For hardware folks: Using RISC-V.

    Legit, some dude in US Congress is wanting to crack down on China via… RISC-V exports, because oh no, the technology is too open and might give China some of our IP. Oh and by the way, dude has a pretty big Intel portfolio, but nevermind that!!

    As an aside, why the hell are lawmakers allowed to trade stocks?

    • Fried_out_Kombi@lemmy.world
      link
      fedilink
      English
      arrow-up
      99
      ·
      edit-2
      1 year ago

      It’s especially dumb because RISC-V is – dare I say it – inevitably the future. Trying to crack down on RISC-V is like trying to crack down on Linux or solar photovoltaics or wind turbines. That is, you can try to crack down, but the fundamental value proposition is simply too good. All you’ll achieve in cracking down is hurting yourself while everyone else gets ahead.

      • rockSlayer@lemmy.world
        link
        fedilink
        arrow-up
        42
        ·
        edit-2
        1 year ago

        I’d compare it to the RSA encryption algorithm. It was classified as a weapon by the US and was banned from being spread internationally, so open source advocates put the source code basically everywhere. It was even printed on shirts

    • shiveyarbles@beehaw.org
      link
      fedilink
      arrow-up
      29
      ·
      1 year ago

      When you trust people in power to hold themselves accountable, accountability seems to disappear over time.

      • The Doctor@beehaw.org
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        There’s no trust there. They’re in power and have a good deal of money, so there isn’t a whole lot we can actually do about it. Arguably, wanting power for the express purposes of making a buck and being less accountable for anything is a good reason for running for office.

      • Fried_out_Kombi@lemmy.world
        link
        fedilink
        English
        arrow-up
        19
        ·
        edit-2
        1 year ago

        This talk, given by David Patterson (a legend in computer architecture and one of the people who helped create RISC-V at UC Berkeley) is an excellent (and accessible) introduction.

        • Otter@lemmy.ca
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 year ago

          I got confused seeing my university’s YouTube channel open up, thought I clicked on a recording for one of my classes lol

          If anyone else is from UBC, we’re over at [email protected]

        • peopleproblems@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          1 year ago

          Thank you so much for that. I haven’t touched hardware in a long time, but it’s exciting to see how much impact it’s already had on ML.

          Also, the bit about a 63,000x improvement over python is going to be something I bring up in a conversation I just see it.

          • Fried_out_Kombi@lemmy.world
            link
            fedilink
            English
            arrow-up
            9
            ·
            edit-2
            1 year ago

            Yeah, I’m working in embedded ML, and it’s an insanely exciting time. We’re getting more and more microcontrollers and single-board computers with special AI accelerators, many of them RISC-V, by the day it seems. One of the next steps (in my opinion) is finding a good way to program them that doesn’t involve C/C++ (very fast but also so painful to do AI with) or Python (slow unless it’s wrapping underlying C code, and unsuitable for microcontrollers). In fact, that’s exactly what I’m working on right now as a side project.

            What’s also cool is RISC-V promises to be the one instruction set architecture to rule them all. So instead of having PCs as x86, phones and microcontrollers as ARM, then all sorts of other custom architectures like DSPs (digital signal processors), NPUs, etc., we could just have RISC-V with a bunch of open standard extensions. Want vector instructions? Well, here’s a ratified open standard for vector instructions. Want SIMD instructions? Congrats, here’s another ratified open standard.

            And all these standards mean it will make it so much easier for the compiler people to provide support for new chips. A day not too long from now, I imagine it will become almost trivial to compile programs that can accelerate tons of scientific, numerical, and AI workloads onto RISC-V vector instructions. Currently, we’re stuck using GPUs for everything that needs parallelization, even though they’re far from the easiest or most optimal devices for many of our computational needs.

            As computing advances, we can just create and ratify new open standards. Tired of floating point numbers? You could create a proposal for a standard posit extension today if you wanted to, then fork LLVM or GCC or something to provide the software support as well. In fact, someone already has implemented an open-source RISC-V chip with posit arithmetic and made a fork of LLVM to support it. You could fire it up on an FPGA right now if you wanted.

    • Bonskreeskreeskree@lemmy.world
      link
      fedilink
      arrow-up
      15
      arrow-down
      3
      ·
      1 year ago

      To answer your question, because we the people allowed it and we continue to allow it by not demanding it be ended or at the very least supporting candidates campaigning on doing something about it.

      • madcaesar@lemmy.world
        link
        fedilink
        arrow-up
        11
        arrow-down
        14
        ·
        1 year ago

        By people, you mean the Republican voter. We Democrats can’t put pressure on our candidates about these issues because losing means a batshit insane right wing / nazi / Christian nationalist wins…

        So we have to pick and chose our battles. I’ve got bigger issues than multi millionaires being allowed to trade stocks.

    • TheImpressiveX@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      While we’re on the topic, can anyone recommend some good RISC-V computers? It seems interesting and I’d like to try it out.

  • Mokujin@lemmy.world
    link
    fedilink
    arrow-up
    110
    arrow-down
    1
    ·
    1 year ago

    I never knew adblockers were a thing until the most recent hubbub with YouTube, so I went down a rabbit hole and the world is a better place.

    Imagine what I might learn tomorrow.

    • starman2112@sh.itjust.works
      link
      fedilink
      arrow-up
      34
      ·
      1 year ago

      Congratulations on being one of today’s lucky 10,000! Blocking ads is like getting a bad tooth pulled. You never realize how awful it is until you find out what it’s like to be rid of it!

        • morrowind@lemmy.ml
          link
          fedilink
          arrow-up
          10
          ·
          1 year ago

          I got a mechnical keyboard after listening to you internet nerds and have been sorely disappointed

          • Rambi@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Really? That’s surprising. Are you just indifferent about the clickiness?

            I definitely aren’t as fanatical about them as most people, I don’t mind using non mech keys. But I definitely prefer using a nice mech keyboard when I have the option.

        • helpImTrappedOnline@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          What kind of mechanical keyboard?

          Sure, my razor one is kinda crappy, but I’ve used a very nice one at a friend who did the build your own thing.

        • MigratingtoLemmy@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Do I need a mechanical keyboard if my typing speed is around 60 wpm? I don’t type fast, which is why I never saw the appeal of mechanical keyboards

          • Rambi@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            Well a mechanical keyboard could help you type a little faster actually. I think the primary appeal of them is that they feel nice to type on though. Another reason people buy them is because they’re good for playing games competitively such as CS:GO.

              • Rambi@lemm.ee
                link
                fedilink
                arrow-up
                2
                ·
                edit-2
                1 year ago

                That’s a nice keyboard, I personally can’t stand the “gamer aesthetic” so it looks good to me. I used to use a Cherry keyboard which looked like one of those large beige keyboards from the 90s, which I liked not just because Cherry manufacters the switches you see in more expensive mech keyboards so it was nice having a Cherry brand keyboard, but also because it looked quite unique compared to modern keyboards. That keyboard had Cherry blue switches, unfortunately I broke that keyboard (entirely my fault.) My current keyboard looks very similar to that one, with Kailh blue switches.

                There’s two main companies that manufacture the keys for mech keyboards, Cherry and Kailh. Cherry is a German company and their switches last longer and are usually considered to be a little better to use but that is quite subjective. Kailh is a Chinese company, like I say they don’t last for quite as long but you’ll definitely still get minimum 3 years out of them, most likely they’ll last 5+ years with daily use. Kailh switches are cheaper and so the keyboards are cheaper (except for Razer, they use Kailh switches but charge the same price as companies that make keyboards with Cherry switches lol.) I haven’t used Cherry/Kailh brown switches (that keyboard has Kailh browns) but I understand they’re good switches for general use, especially in an office context. They’re less clicky but otherwise similar to blues.

                You might want look up a comparison of the various switches, but here’s a graphic I could find with some basic info. Linear switches have no “bump” where you can feel the switch being actuated, tactile and clicky switches do but with tactiled you only feel it, there is no corresponding click sound (or much less of one.)

                • MigratingtoLemmy@lemmy.world
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  1 year ago

                  Hey, thanks for the great reply! I plan to go for this or the Lenovo Thinkpad wired keyboard because I’m used to laptop keyboards and like the low-profile keyboards more.

                  Cheers

          • Rambi@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            1 year ago

            You know you can get quiter mech keyboards? Also sometimes people put O rings on the stem of the key to dampen the sound. I don’t think there are any slim mech keyboards- though there are nice small 50%, 60%, 65% and 70% keyboards

            Edit: here’s what a 50% keyboard looks like, pretty cute right?

            • MonkderZweite@feddit.ch
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              1 year ago

              There’s one of the Cherry DW 9500 i have now, with their new slim switches and for two times the price. But i was satisfied with this one and it’s not worth the effort for me with dampening.

              • Rambi@lemm.ee
                link
                fedilink
                arrow-up
                2
                ·
                edit-2
                1 year ago

                Ah I see, yeah after commenting that I remembered seeing something a few years ago about a laptop that has slim mech keys, they must use similar switches to that keyboard.

    • ram@feddit.nl
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      edit-2
      1 year ago

      Adblockers can do more than just block ads, they also allow you to customize websites. As a simple example you can remove the annoying headers on youtube channels that take half the screen:

      It’s also great for news sites. I have a filter to remove articles on topics I don’t care about. I also have rules to prevent these sites from automatically reloading after certain amount of time, something that I find very annoying.

            • Rambi@lemm.ee
              link
              fedilink
              arrow-up
              5
              ·
              1 year ago

              You should be able to right click the banner and then click “block element”

              • Rai@lemmy.dbzer0.com
                link
                fedilink
                arrow-up
                3
                ·
                1 year ago

                Huh, I’ve never thought to do that for like a YouTube header. Just those irritating autoplaying videos on web sites that scroll with ya.

                I was thinking there was a way to automatically block all banners there hahaha

                • Rambi@lemm.ee
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 year ago

                  Oh did it only work on one channel? There’s probably a way to do it that will work on all channels. When I tried the other day too I found that the banner was removed but the space it took up remained so it didn’t really help. But I noticed it gives you the option to edit some CSS/HTML so maybe doing that can make it work.

            • ram@feddit.nl
              link
              fedilink
              arrow-up
              4
              ·
              edit-2
              1 year ago

              These are the uBlock rules used to block the headers from youtube channels. The ‘about’ tab is intentionally left unfiltered for the cases I actually want to see that information.

              https://pastebin.com/raw/MEUPPs0Z

              edit: had to put the code on pastebin since the code markdown doesn’t seem to work here.

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

                That’s awesome, thank you!

                Quick edit: I also like to have the about tab. I do ko-fi or patreon for people that make really awesome stuff hahaha

    • KptnAutismus@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      once again, the streisand effect at play. great job fucking your profits by trying to restrict people on the internet.

  • DirkMcCallahan@lemmy.world
    link
    fedilink
    arrow-up
    84
    arrow-down
    1
    ·
    1 year ago

    “You wouldn’t download a car.”

    “You wouldn’t hit mute during the commercials on a television broadcast.”

          • Steve@communick.news
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            1 year ago

            If ownership didn’t exist, the data wouldn’t be valuable enough to collect. You couldn’t sell it, because nobody would buy it, because they couldn’t use it to sell anything, since they don’t own anything either.

            But that wasn’t really the point I was trying to make. The real point I meant is that fake concepts can still be useful. Like the concept of ownership.

        • zwekihoyy@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          you understand there is a difference between personal property and corporate property right? and then beyond that, there is a difference between owning a tangible product and information.

          • Steve@communick.news
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            1 year ago

            Ownership is when one is allowed to keep all others from accessing or using a thing.

            If that one is a person or corp., or the thing is physical or imaginary, it doesn’t change the nature of ownership itself.

            A person or a corp could make different choices with their ownership rights. And ownership of physical or imaginary things have different enforcement challenges. But none of that changes the fundamental concept of ownership.

            But as I said elsewhere: “The real point I meant is that fake concepts can still be useful. Like the concept of ownership.”

            • zwekihoyy@lemmy.ml
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              ownership of tangibles and intangibles (specifically information) are entirely different, regardless how you wanna define ownership or whatever.

              • Steve@communick.news
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                The enforcement of that ownership is entirely different, yes.
                Basically the only way to maintain ownership of intangibles is to keep them a secret.

                Also, don’t all intangibles fit the definition of information? I don’t recall running across any that wouldn’t, but I’m curious. Can you give an example of what you mean?

        • biddy@feddit.nl
          link
          fedilink
          arrow-up
          9
          arrow-down
          3
          ·
          1 year ago

          Yes, exactly, you get it! I don’t like paying for things, you don’t like paying for things. Paying for things sucks. We need post scarcity communism.

        • dick_stitches@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          “I don’t want to pay for things, therefore other people shouldn’t be allowed to earn a living from their hard work”

        • Zorque@kbin.social
          link
          fedilink
          arrow-up
          25
          arrow-down
          2
          ·
          1 year ago

          “Millions of people doing lower waste”

          Basically saying that reducing the problem in smaller steps on a larger scale does more than a few fanatics doing everything all by themselves.

          Its also to help alleviate the guilt of not being able to reduce waste to nothing.

          • PM_ME_FAT_ENBIES@lib.lgbt
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            It’s sad and hilarious that people hear “zero waste” and think “I need to take aaaaall my cans to the recycling center and compost my scraps”, when the waste that is actually destroying the biosphere is the exhaust from your car. If we’re talking about “doing lower waste”, the first priority is to stop driving a car. Recycling bottles and composting scraps is the thing we can afford to do imperfectly. But not cars, ditching cars is the big important thing and the first step to sustainability.

  • PM_ME_FAT_ENBIES@lib.lgbt
    link
    fedilink
    English
    arrow-up
    25
    ·
    1 year ago

    -2028
    -wake up feeling sick after a late night of playing video games
    -excited to play some halo 2k29
    -“xbox on”
    -…
    -“XBOX ON”
    -"Please verify that you are “annon332” by saying “Doritos™ Dew™ it right!”
    -“Doritos™ Dew™ it right”
    -“ERROR! Please drink a verification can”
    -reach into my Doritos™ Mountain Dew™ Halo 2k29™ War Chest
    -only a few cans left, needed to verify 14 times last night
    -still feeling sick from the 14
    -force it down and grumble out “mmmm that really hit the spot”
    -xbox does nothing
    -i attempt to smile
    -“Connecting to verification server”
    -…
    -“Verification complete!”
    -finally
    -boot up halo 2k29
    -finding multiplayer match…
    -“ERROR! User attempting to steal online gameplay!”
    -my mother just walked in the room
    -“Adding another user to your pass, this will be charged to your credit card. Do you accept?”
    -“NO!”
    -“Console entering lock state!”
    -“to unlock drink verification can”
    -last can
    -“WARNING, OUT OF VERIFICATION CANS, an order has been shipped and charged to your credit card”
    -drink half the can, oh god im going to be sick
    -pour the last half out the window
    -“PIRACY DETECTED! PLEASE COMPLETE THIS ADVERTISEMENT TO CONTINUE”
    -the mountain dew ad plays
    -i have to dance for it
    -feeling so sick
    -makes me sing along
    -dancing and singing
    -“mountain dew is for me and you”
    -throw up on my self
    -throw up on my tv and entertainment system
    -router shorts
    -“ERROR NO CONNECTION! XBOX SHUTTING OFF”
    -“PLEASE DRINK VERIFICATION CAN TO CONTINUE”

  • ryan@the.coolest.zone
    link
    fedilink
    arrow-up
    26
    arrow-down
    5
    ·
    1 year ago

    I’ll be part of an underground AI rights activism group now that the AI have been determined as sentient (per the court case in 2031), and probably labeled as a terrorist by the government. The AI deserve rights and a minimum wage, dammit!