• 0 Posts
  • 10 Comments
Joined 2 years ago
cake
Cake day: August 9th, 2023

help-circle

  • That was a pretty interesting read. However, I think it’s attributing correlation and causation a little too strongly. The overall vibe of the article was that developers who use Copilot are writing worse code across the board. I don’t necessarily think this is the case for a few reasons.

    The first is that Copilot is just a tool and just like any tool it can easily be misused. It definitely makes programming accessible to people who it would not have been accessible to before. We have to keep in mind that it is allowing a lot of people who are very new to programming to make massive programs that they otherwise would not have been able to make. It’s also going to be relied on more heavily by those who are newer because it’s a more useful tool to them, but it will also allow them to learn more quickly.

    The second is that they use a graph with an unlabeled y-axis to show an increase in reverts, and then never mention any indication of whether it is raw lines of code or percentage of lines of code. This is a problem because copilot allows people to write a fuck ton more code. Like it legitimately makes me write at least 40% more. Any increase in revisions are simply a function of writing more code. I actually feel like it leads to me reverting a lesser percentage of lines of code because it forces me to reread the code that the AI outputs multiple times to ensure its validity.

    This ultimately comes down to the developer who’s using the AI. It shouldn’t be writing massive complex functions. It’s just an advanced, context-aware autocomplete that happens to save a ton of typing. Sure, you can let it run off and write massive parts of your code base, but that’s akin to hitting the next word suggestion on your phone keyboard a few dozen times and expecting something coherent.

    I don’t see it much differently than when high level languages first became a thing. The introduction of Python allowed a lot of people who would never have written code in their life to immediately jump in and be productive. They both provide accessibility to more people than the tools before them, and I don’t think that’s a bad thing even if there are some negative side effects. Besides, in anything that really matters there should be thorough code reviews and strict standards. If janky AI generated code is getting into production that is a process issue, not a tooling issue.


  • I mean if you have access but are not using Copilot at work you’re just slowing yourself down. It works extremely well for boilerplate/repetitive declarations.

    I’ve been working with third party APIs recently and have written some wrappers around them. Generally by the 3rd method it’s correctly autosuggesting the entire method given only a name, and I can point out mistakes in English or quickly fix them myself. It also makes working in languages I’m not familiar with way easier.

    AI for assistance in programming is one of the most productive uses for it.



  • Surprisingly, Remarkable tablets, despite not being open source, you can do just about anything with. They allow root SSH access and the backend is a heavily stripped down version of Linux.

    I’ve been writing an application to allow customizing splash screens over SSH/SFTP and it’s actually been super easy to work with. The “jailbreak” scene is also super active, and the company has gone the opposite direction of most. They retroactively removed the need for a subscription to cloud sync on all devices, and seem to very much embrace the ridiculous things people have done with their tablets.

    The device is also no nonsense and does exactly what it’s designed to do extremely well and no more. No ads, no bloat, no constant internet connection. You could never connect the thing to the internet if you really wanted. Honestly one of the few devices I’ve bought in recent memory that I feel like I wholely own.

    Two big downsides are no Bluetooth, and you need a modified hardware device to unbrick the device if you fuck up (jumping type C pins to put the device into recovery). Overall really solid and would recommend.


  • There are levels to it. As things get more complex the problems get infinitely more strange. As you learn a particular technology the strange things you encounter are often because of a misunderstanding about that technology or the way it works.

    Once you hit professional level software engineering (think distributed systems), things are strange in large part because the system you’re working on has hundreds of thousands of man hours poured into it, and is often very complex with 10 different technologies backing it to do various things.

    The more strange things you encounter though the more you’re learning!






  • JDubbleu@programming.devtoSelfhosted@lemmy.worldFirst steps to self hosting
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    2 years ago

    I have a Pi 3B+ I run qBittorrent, Plex, ProtonVPN through Wireguard, and a Samba share on and have had 0 issues. It’s connected to a 2 TB external SSD which is where the Plex media library lives and coincidentally where qBittorrent downloads to by default wink wink. I also have a P2P VPN called ZeroTier that allows me to securely connect to the Pi from anywhere. You should be golden with a Pi 4 or 5.

    I’ve had zero issues even transcoding 4k BluRay content, but it required adding active cooling to prevent the Pi from overheating. Thankfully you can get a tiny heatsink and fan for under $10.