Skip Navigation

Posts
13
Comments
389
Joined
3 yr. ago

  • Unpopular decision, potentially smart politics:

    Albo knows taxing gas exporters is a popular decision.

    He also knows that:

    • The Greens are for it
    • The Liberals are against it
    • One Nation's follows are for it, but their politicians get paid by big resources execs and they'll withhold funding or move funding back to the liberal party if One Nation politicians back the tax on exporters.


    The politically smart move for Albo now is to say they're not going to add the tax, then 6 months before the next election he switches to wanting it implemented and makes it one of their primary running issues.

    • The libs won't have any support for it (further hurting their chances of being elected)
    • People will say that One Nation is only pretending to support it since they get funding from the resource extraction sector.
    • And the greens will already be running on it with most of their preferences flowing to labor anyway.
  • Hosting LLMs is different from pushing AI crap down end users’ throats Copilot style.

    That feels a lot like "War profiteers aren't guilty of shooting the gun".

  • You misunderstood the first sentence in my comment.

    I've edited the word had to needed to make it more clear.

  • 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.

  • If the rewrite is based on something which has a license that your company can't use, then the rewrite likely can't be used either

  • write something that already exists so it doesn’t need to think

    If something already exists, it shouldn't need to be rewritten.

    Doing otherwise is a sign that something has gone wrong.

    That was the case before LLMs and it is still the case today.

  • There's a lot of "classless" css frameworks.

    Custom hand-rolled css will always be best, but when I need something fast I've been using the confusingly named purecss for years this since it's compartmentalised in such a way that you can just exclude the parts that you don't use (e.g. tables) to save on network size.

  • The first month is inputted with a 1 and exported as a 0.

    The first day is inputted with a 1 and exported as a 1.

  • WTF is with some of the tests using a 6144 x 2560 resolution?

    What the hell kind of display are they using?

    The only one I could find at that weird-ass resolution was a 52 inch?! dell monitor.

    Is anyone seriously using a 52 inch display?


    I think they should probably be using normal resolutions for all the tests so they don't end up benchmarking some weird corner case optimisation issue that no one is going to run into.

  • Respectfully disagree.

    Gnome is the environment not implementing Server-side window decorations.

    That makes everything harder for app developers since they have to implement client side window decorations to make apps movable just for Gnome.

    When apps can't be moved around on Gnome because they don't have a window handle to drag, it doesn't really fit the "it just works" requirement.

  • 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:

     js
        
    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.

  • it’s good at answering questions like that

    Are you sure about that: https://www.youtube.com/watch?v=JtBI2BvPKBQ

    Remember: if you don't know enough about the topic in question to grade its answers then you're not judging its ability to answer accurately, you're judging it's ability to convince you.

  • Ah yes, the ol' people are annoyed at the actions I chose to take, so I'll call it a joke defence

  • It's for the best.

    Learning how code works is better than getting an LLM to produce convincing looking code without anyone having an understanding of how it works.

    LLMs just teach students to paint themselves into a corner without them even realising why bad things keep happening to them.

  • How is that my problem

    Well let's break it down...

    You thought:

    Yeah, it’s called .deb

    Was an acceptable response to:

    Because it’s nice for devs to have a single package type to build per OS


    Your problem was your stupidity.

    But now your problem is everyone knowing about it.

  • 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.

  • They published a release without release notes.

    The release notes came later.

  • Why not find a way to automate this,

    Why not find a way to automate every single change that the vscode team makes that may break something?


    Or why not let users do whatever?

    Ultimately, users can do whatever.

    But when they need help, they come to me.

    I have a recommended list of settings for things that should already be defaults, to guide them away from footguns, and to prevent themselves from needing my help in the first place. But I also sometimes need to go around with a critical (usually temporary) list of changes for when a vscode update truly borks something up.

    My concern was potentially needing to go around the office once a month for those critical fixes to once a week.

    This is why I suggested multiple release channels. Have a weekly release for developers who are okay with the trade-off of more frequently broken setups for newer features faster, and have a monthly release for developers who want more stable environments.

    It'd be a lot easier for me to run the weekly channel to be kept abreast of any changes, and I can support other coworkers on a monthly cycle.

  • Web Development @programming.dev

    I made a thing

    codepen.io /spartanatreyu/pen/Yzbmvbr
  • Web Development @programming.dev

    I made a thing

    codepen.io /spartanatreyu/pen/YzbPjwg
  • Software Gore @lemmy.world

    Googling a message warning of potential corruption, confirms that corruption in an unexpected way.

  • Web Development @programming.dev

    I made a little oklch color widget

    codepen.io /spartanatreyu/pen/wvReaWG
  • Web Development @programming.dev

    Typescript 5.2 Released

    devblogs.microsoft.com /typescript/announcing-typescript-5-2/
  • Web Development @programming.dev

    Opinions on using CSS' last few years of features

    www.smashingmagazine.com /2023/07/writing-css-2023/
  • Web Development @programming.dev

    High End CSS: Abusing scroll-based-animation to interpolate values through children in a container

    kizu.dev /position-driven-styles/
  • Web Development @programming.dev

    Typescript 5.2 beta announcement

    devblogs.microsoft.com /typescript/announcing-typescript-5-2-beta/
  • Programming @programming.dev

    A breakdown of how the Redis source code got comments right.

    antirez.com /news/124
  • Bad UI Battles @programming.dev

    I think this experiment I made in 2021 counts

    codepen.io /spartanatreyu/full/dyzyRQX
  • JavaScript @programming.dev

    A simple hack to compose two js objects together

    developer.mozilla.org /en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
  • Programming @programming.dev

    When/Why you can't use multiple booleans to represent multiple booleans (AKA: What are incorrect states)

    note89.github.io /state-of-emergency/
  • Programming @programming.dev

    The Grand Unified Theory of Documentation (AKA: Your project needs all 4 types or you have bad documentation)

    documentation.divio.com