• 2 Posts
  • 891 Comments
Joined 1 year ago
cake
Cake day: September 24th, 2023

help-circle


  • This is a common sentiment people say about C, and I have a the same opinion about it. I would rather we use systems in place that don’t give people the opportunity to make mistakes.

    The issue with C is it lets you make mistakes that commonly lead to security vulnerabilities - allowing a malicious third party to do bad stuff.

    The Bash examples you linked are not security vulnerabilities. They don’t let malicious third parties do anything. They done have CVEs, they’re just straight up data loss bugs. Bad ones, sure. (And I fully support not using Bash where feasible.)

    Viable alternative for what? Packaging.

    A viable way to install something that works on all Linux distros (and Mac!), and doesn’t require root.

    The reason people use curl | bash is precisely so they don’t have to faff around making a gazillion packages. That’s not a good answer.








  • Based on my experience of AI coding I think this will only work for simple/common tasks, like writing a Python script download a CSV file and convert it to JSON.

    As soon as you get anywhere that isn’t all over the internet it starts to bullshit.

    But if you’re working in a domain it’s decent at, why not? I found in those cases fixing the AI’s mistakes can be faster than writing it myself. Actually often I find it useful for helping me decide how I want to write code because the AI does something dumb, and I go “no I obviously don’t want it like that”…