[–] 1 point 2 weeks ago

Honestly, I would argue about the complexity of it. The discord API is straightforward, and what you're describing doesn't sound that complicated.

And we have seen fairly complex stuff that AI did, but if it does pull it off somehow, the next question is quality.

I just read a bit of AI code a few minutes ago, and it didn't take long to step over a chain of if / else if statements where only the first if statement if reachable, the rest is not. The code should've been one if statement followed by a match statement. Not sure why the LLM thought "combine" two logically completely separate statements into one. And that was in 1.5kloc it generated, so not much. There's probably even more, I just read a fraction of it.

  • source
  • parent
  • context
  • [–] 3 points 4 weeks ago (3 children)

    Honestly, I think what you consider „good code“ is just shifted from what the previous commenter considers „good code“. Prompting is about giving enough information so the AI can solve the task without needing to reconstruct a lot of context. Most people using AI somewhat regularly will have figured out to write good enough prompts. I‘ve never seen AI generate perfectly good code beyond hello world and the fibonacci sequence. And by perfectly good I mean I wouldn’t change beyond 30% of what it produces, which is not a high bar.

  • source
  • parent
  • context
  • [–] 9 points 1 month ago

    Personally, I feel that over time this becomes less of a problem. It was very annoying for me as well, but as you get used to the language and the ecosystem, you get better at it and you will need less rebuilds to incorporate something into your config. And if it's only every couple of days, then I am completely fine with waiting 10-30 seconds for the rebuild.

    If I'm trying to brute-force my way through something I usually continue to look for the next possible solution while the system is rebuilding, so it doesn't feel like time-loss to me.

  • source
  • [–] 1 point 1 month ago

    I was generalizing. There is a difference between calling a specific corporation fascist and calling the system that that corporation lives in fascist. Which also doesn’t mean that that corporation is not fascist.

    And yeah I will actually go out of my way to call Facebook and Reddit fascist (I don’t know about substack, but it’s more likely than not), because they (to at least some degree ideologically and definitely monetarily) support those systems. But it’s not just that, the interests of capitalism today align (at least in the economic sense) extremely closely with those of fascism.

  • source
  • parent
  • context
  • [–] 0 points 1 month ago* (2 children)

    Fascism and capitalism go hand in hand (in our age at least). Someone supporting capitalism is so likely to imply fascist views that it's basically impossible to find someone who's genuinely going to say capitalism is a good thing AND I don't have a problem with immigration and I want all human beings to be equal & free regardless of gender, skin color, etc.

    TLDR: capitalism is fascism. fascism is capitalism. it's the same thing. at least today. maybe not in yesterday, and hopefully not tomorrow.

  • source
  • parent
  • context
  • [–] 3 points 1 month ago

    It's not just about technical problems, it's much much more. It's ads everywhere, AI everywhere, no privacy everywhere, it's like literally intruding your computer. They are trying to own your computer. If that isn't a problem for you, I have to sadly tell you: you have a problem.

  • source
  • parent
  • context
  • [–] 1 point 1 month ago

    That’s true. I have a MacBook as well (M1, gift from a couple of years ago) and I don’t use it. Okay it’s fast, but what I do on a laptop doesn’t need that power at all. Battery life is very valid (which is a problem with my old ThinkPad), but with Framework catching up, it’s less of an argument in the future.

    And I honestly don’t feel much of a difference when using my MacBook compared to my ThinkPad in terms of performance (and my ThinkPad has 2 cores and 4 threads mind you), but I mostly just browse and do C programming (I know that there is a massive difference in power, I just don’t need it in day to day use). For everything that needs a lot power I use my desktop computer.

    In the end it just comes down to priorities I suppose. For me personally, privacy has become one of the most important concerns because I think it’s fucked up how much companies are allowed to know about us individually, and I don’t want them to keep getting information about me.

    No battery life, no ARM processor, no retina display, no broken glass design and no other gimmick I don’t really need can justify what they are doing, at least in my opinion. I‘d rather need to inconveniently charge my laptop every 2 hours because the battery is dead then to have some company know more about myself then I do.

  • source
  • parent
  • context
  • [–] 1 point 1 month ago

    By definition, that in itself isn’t gatekeeping. And I personally wouldn’t feel gatekept, just excluded. In the article the author evaluates the usefulness of AI for a field which they admit to have no clue about. And it reads like that AI gives you the knowledge of that field, just 3 seconds away, and everyone is obsolete now, which isn’t true. While it can give you the knowledge, you still need the understanding, and understanding is what makes people good at something, not knowledge in itself. I don’t understand your argument. The situation you described is not what I‘ve been talking about.

    1. It‘s not about making friends
    2. It‘s about factual discussions
    3. It‘s about people trying to contribute to those discussions with arguments they can’t reason about, which normally isn’t particularly helpful, and if someone acts like a knowledgeable dick, then I don’t feel bad excluding them at all
  • source
  • parent
  • context
  • [–] 3 points 1 month ago (2 children)

    You have it plain sight. Refusing to engage with someone is not gatekeeping. Your definition pretty much aligns with what I said.

    And if someone doesn’t have any idea what they’re talking about, then maybe they shouldn’t take part in the talking. You can’t tell me that you‘ll take cybersecurity advice from someone who saw a movie about hacking.

    Which doesn’t mean that clueless people have nothing of value to add, but it’s unlikely (especially in highly factual discussions).

  • source
  • parent
  • context
  •  

    Hey guys, I have a project which I want to cross-compile to windows (because I don't want to install windows on my machine, nor do I plan on developing on windows) and eventually MacOS.

    All I really need is to know that it will compile for & run on windows.

    This is what I tried, but I'm not sure what the best approach is here. Searching online didn't yield any conclusive results either.

    {
      description = "cross-compile dev env";
    
      inputs = {
        nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
      };
    
      outputs = { nixpkgs, ... }:
        let
          supportedSystems = ["x86_64-linux"];
          eachSystem = fn: nixpkgs.lib.genAttrs supportedSystems (system:
            fn nixpkgs.legacyPackages.${system}
          );
        in
        {
          #1 this is what I tried at first,
          # but it created conflicts in the environment (obviously)
          devShells = eachSystem (pkgs: {
            default = pkgs.mkShell.override { stdenv = pkgs.gcc15.stdenv; } {
              packages = with pkgs; [
                ...
                pkgsCross.mingwW64.buildPackages.gcc15
              ];
            };
          });
    
          #2 this is probably a better solution?
          devShells = eachSystem (pkgs: let packages = with pkgs; [
            ...
          ]; in {
            default = pkgs.mkShell.override { stdenv = pkgs.gcc15.stdenv; } {
              inherit packages;
            };
    
            windows = pkgs.pkgsCross.mingwW64.mkShell { 
              inherit packages;
            };
          });
        };
    }
    

    The project is just a C program which compiles using a Makefile. I stripped out dependencies etc. from the flake.

    view more: next ›