• 16 Posts
  • 428 Comments
Joined 3 年前
cake
Cake day: 2023年6月19日

help-circle

  • All the CEO needed to say after funding that fascist was:

    Oops, sorry. I didn’t check out that developer’s history before funding his project. It won’t happen again. I promise going forwards that we’ll google people’s names first before sending them any money.

    They didn’t have to make a big deal about it, even a simple quickly forgotten post on their personal social media account would have been enough.

    People still ask him about it, and he’ll talk about anything else.

    But he won’t give a simple apology.

    His silence is deafening.


    Better to just go for the EU version of framework without the fascism: https://novacustom.com/


    Edit: Changed “All the CEO had to say” to “All the CEO needed to say” to avoid confusion.


  • Only something created by a human can be copyrightable. (See the copyright status of monkey who took a selfie for precedent).

    Any code written by an LLM is not copywritable because a human did not write it.


    Also the company that trained the LLM is likely in breach of the licenses the code palls under.






  • because ebikes are not capable of tearing around. They are pedal assist only, no throttle; limited to going 25 km/h while receiving motor assistance […] All ebikes do is making riding easier at the same or lower speeds than regular cyclists are doing

    • Alert: Viral Ragebait

      • Type: Faulty Argument

        • Subtype: Lie of omission
    • Alert: Faulty Reasoning

      • Type: Fallacy

        • Subtype: False Equivalence

    A bike going 10km faster than an ebike is not more dangerous than the ebike.

    The reverse is also true: An ebike going 10km slower than a bike does not make the ebike safer.

    Reason: The ebike has more mass, which means there’s a lot more inertia getting transferred during a collision.






  • Also: January is not always the 1st month, sometimes it is the 0th.

    1/1/2026 can be both Jan 1st, and Feb 1st.


    For the downvoters, try it in your browser’s terminal:

    let test = new Date("1-1-2026");
    
    console.log(`Year: ${test.getFullYear()}, Month: ${test.getMonth()}, Day: ${test.getDate()}`);
    // Prints -> Year: 2026, Month: 0, Day: 1
    
    // --- --- --- --- --- --- --- ---
    
    // test.getFullYear() returns the year, but test.getYear() only returns the number of years since 1900
    
    // test.getMonth() returns the month, but the first month is 0-indexed
    
    // test.getDate() returns the day, 1-indexed, but test.getDay() returns the current day right now and not the day of the date object
    
    

  • Deno’s packaging can be confusing (is this dependency installed in node_modules, the global cache or somehow both across module boundaries?)…

    … But damn, its permission system is fucking amazing. Just run your code like normal and watch what permissions it asks you for.

    What’s that?

    Oh, you’d like permission to read the env file and network access? Begone namesquatted malware!

    What’s that?

    Oh, you want write permission to /.., fuck off slopped out pull request!


    I tried porting a project back to node (v24) to see what it was like (since I heard node had a permission system now) and because some devs wanted to stick with what was familiar to them.

    First thing I noticed, my watch/rebuild/serve script went from 0.2 seconds to 3-5 seconds with no code changes and using the same dependencies that were originally written for node.

    Second thing, Node’s permission system doesn’t work because it’s broken by design. Permissions cannot ever be opt in. Everything needs to be locked down and you need to explicitly get permission to access things.

    In node’s design, a junior dev could “opt in” to the network permission to disable network requests, but they wouldn’t think to block subprocesses (which could call cURL/wget and get it to make network requests on the main processes’ behalf). It’s utterly broken and shifts the blame to the developer for not knowing better.

    I instantly switched the project back to deno.






  • More like “why the fuck would I walk all the way across the city now that I own a car”

    That’s a bad analogy.

    Using an LLM for coding gives you an initial speed up with the trade off being skill atrophy, and a build up of cognitive debt in the project.

    A better analogy would be the Greek government before their national debt crisis. It would have been better to invest in themselves, not lie about their own finances, and not kick the can down the road. But they kept lying and kicking the can down the road because it was easier in the short term. Of course, we all know how that turned out in the end.