Formerly known as arc@lemm.ee / server shuts down end June 25

  • 0 Posts
  • 116 Comments
Joined 4 months ago
cake
Cake day: June 10th, 2025

help-circle

  • If the code doesn’t compile, or is badly mangled, or uses the wrong APIs / imports or forgets something really important then it’s broken. I can use AI to inform my opinion and sometimes makes use of what it outputs but critically I know how to program and I know how to spot good and bad code.

    I can’t speak for how you use it, but if you don’t have any real programmers and you’re iterating until something works then you could be producing junk and not know it. Maybe it doesn’t matter in your case if its a bunch for throwaway scripts and helpers but if you have actual code in production where money, lives, reputation, safety or security are at risk then it absolutely does.


  • I have never seen an AI generated code which is correct. Not once. I’ve certainly seen it broadly correct and used it for the gist of something. But normally it fucks something up - imports, dependencies, logic, API calls, or a combination of all them.

    I sure as hell wouldn’t trust to use it without reviewing it thoroughly. And anyone stupid enough to use it blindly through “vibe” programming deserves everything they get. And most likely that will be a massive bill and code which is horribly broken in some serious and subtle way.




  • arc99@lemmy.worldtome_irl@lemmy.worldme_irl
    link
    fedilink
    English
    arrow-up
    11
    ·
    23 days ago

    Reusing things that are reusable is definitely people don’t do enough of these days. If a box / jar / container / bottle / bag / piece of paper can enjoy a second or third life then why not do it? Too many objects are treated as “disposable”, “single use” and then they get tossed - sometimes for recycling but often straight into the general trash.





  • You think if they used another licence it would be any different? Countless open source projects have a GPLv3 + proprietary licence which is way more evil than Apache - they poison the open source with GPLv3 so no competitor can contribute without revealing their changes while they themselves can use the proprietary licence. e.g. Trolltech and QT for example but there are many others.

    And frankly you should be blessed that you have a fully fledged, open source phone OS you may fork and build from. The OP wants a Linux phone OS and AOSP is a Linux phone OS. There are many forks of Android, closed and open that wouldn’t exist if Google had just decided to be proprietary from the get go. They were under no compulsion to do this but they did. If you have used LineageOS, or GrapheneOS for example then you are a beneficiary of this. You are completely at liberty to have a de-Googled modern phone OS powered by Linux right now.




  • Android is Linux. It uses a Linux kernel paired with a BSD based user land. Also there is an AOSP version of Android which is Android without all the Google bits. LineageOS and some other security oriented firmwares derive from it. That isn’t to say Google are necessarily happy about this entirely but at the same time, they open sourced most of Android and probably see it as a useful antitrust defence and the impact of flashed devices barely more than background noise.

    The issue of bootloaders is an orthogonal matter since Linux or not does not mean bootloader or not - many black box devices use Linux but you won’t be flashing them any time soon - TVs, set top boxes etc. I would argue that regardless of OS, there should be a right to repair law (e.g. in Europe) that allows people to maintain devices beyond their warranty. And if Samsung et al don’t want to do it, then they should have an obligation to unlock devices upon request.




  • Code signing offers slight protection from malware but not as you might think. If a company signs an installer, or executable then it tells you it came from them but not what it does. It could still be malicious, or it could be inadvertently bundled with malware in DLLs or scripts and you wouldn’t know. You’re just hoping the company has done its due diligence and you trust them to run.

    Microsoft does have an antivirus system on top and fingerprints downloads too and applies some kind of trust score that is better if an exe is signed. There is probably no single mitigation that stops malware infection but apply lots of smaller mitigations in in depth and most people will be safe.

    The irony is Microsoft still lets people run files ending with .scr way too easily. Much of the malware on torrent websites is a file ending with .scr knowing the OS will hide the extension, e.g. movie.mp4.scr appears as movie.mp4 in File Explorer and people click through and get infected.



  • Some people just don’t appreciate the irony of killing turtles with fish-shaped plastic, what can you do

    PLA isn’t food safe in 3d printing mostly because of layers on a print trap foreign material / bacteria and water can also seep into microscopic gaps into infill and it becomes a breeding ground. I doubt it would be useful for anything squeezy but it might be useful for single use forks and other utensils. But paper / wood can do those things already so I don’t see PLA being much use. For sachets I expect the answer is paper with some kind of biodegradable lining which gives a product a shelf life of a few years but does degrade in time.

    Also, some “biodegradable” products are only compostable in specialist facilities where it can be shredded and broken down with water / heat / pressure. I think PLA is a bit like that. If you print something out of PLA and stick it out in the garden or even toss it into a compost bin it’ll still be there in 10 years although it might be faded, warped & brittle. Maybe it eventually biodegrades but it’s not quick enough.