.files (thelemmy.club)
submitted 3 weeks ago by to c/linuxmemes@lemmy.world
 

top 50 comments

sorted by: hot top controversial new old
[–] 73 points 3 weeks ago* (last edited 3 weeks ago) (16 children)

DHH on artificial inteligence:

Not only they got good, they got amazing. Agents are better than me at almost all forms of programming. […] In terms of comparative intelligence here, I'm accepting that I'm becoming a little of a pointy head boss here.

  • source
  • hideshow 16 child comments
  • [–] 76 points 3 weeks ago (1 child)

    he wasn't much of a programmer to begin with and if you look at the repo for Omarchy...i highly doubt he touched most of it by hand. many scripts in that thing leave you scratching your head as to why the guy from Ruby On Rails would write that and then you realize "ah, yeah, Claude wrote this."

    it's slop. it's all slop. They also have well over 1000 "user made" plugins of which NONE are vetted, most are broken, and some just straight up exploit the users system. I found one that just straight up takes the users .ssh directory. It's the wild west of idiocy amongst Omarchy users.

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (1 reply)
  • I’m accepting that I’m becoming a little of a pointy head boss here.

    Dilbert fans are almost always as big of losers as Scott Adams was.

    Scott Adams once made a sockpuppet account on MetaFilter to make positive comments about himself, got outed almost immediately, then claimed that was always his goal. What a fucking loser.

  • source
  • parent
  • [–] 25 points 3 weeks ago* (9 children)

    I'm not a programmer so maybe i can't be too harsh of a judge on this, but i've heard multiple programmers claim that AI writes better code than them, and i just find that alarming, cause based on what i've seen genAI do in every other field surely it can't be that good right? Makes me wonder how good they really are at their craft to begin with.

  • source
  • parent
  • hideshow 9 child comments
  • [–] 36 points 3 weeks ago* (last edited 3 weeks ago) (1 child)

    I am a programmer with 25 years of professional experience, mostly embedded C/C++, with a decent amount of Python and the last year has been mostly Rust with no prior experience.

    Current LLMs write both worse and better code than me, often at the same time. Let me explain.

    LLMs are very good at syntax, with an encyclopedic knowledge of libraries, languages, and algorithms that is a few years out of date. I particularly notice this in Rust, which has a lot of syntax and features, like the 482ish ways to chain Options and Results that I still haven’t memorized all of.

    So for a relatively simple function in a language that I’m not very famialiar with they will often produce a bit tighter code that makes better use of the language features. They will also sometimes come up with an obscure algorithm that I haven’t though about in decades or even heard of that can solve the problem better than my first attempt.

    On the other hand, they are terrible at larger scale work, generally building fragile code while protecting against things that can’t actually happen, using overly complex architecture, organizing code in dumb ways, missing obvious opportunities for simplicity, and relying too much on existing bad patterns instead of fixing them along the way, etc. They also tend to be a terrible judge of when to use a library vs roll their own, leaning heavily towards rolling their own instead of just adding a single include, which means more new untested code.

    On the third hand, I do find that they can be pretty good at reviewing code, and it is nice to have them write tests, since we all hate writing tests and tend to write as little as we can get away with.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 3 weeks ago

    Re: bad with large code -- that's been something I've been noticing as well. A project I've been working on for work has gotten larger now and it seems more often that it makes goofy mistakes. Like removing something somewhere but leaving something related somewhere else. My best guess is that it's all context window stuff. As humans, we can learn a lot and keep it all in our heads. But an AI model, if it's not something from its training set and it's not in its context window, then it just straight up does not know it exists. I'm guessing because context windows have gotten bigger that ai coding has gotten more impressive. But we'll see if they're able to keep scaling that. I imagine at some point it's gonna hit a soft wall (or at least a price wall lol).

  • source
  • parent
  • [–] 13 points 3 weeks ago* (1 child)

    Not a programmer either but I'll throw in my anecdotes:

    • I was writing a "cog" for pycord (Python Discord bot framework). I wanted a slash command to hit an API for some reason or another. Whatever AI I was using hallucinated a non-existent endpoint to achieve that so, of course, it didn't work. I wasted a half hour reading past and upcoming specs of the API to find that endpoint never existed and wasn't going to exist in the next release. The code was structurally sound, pretty much identical to other functions I'd written by hand, but it reached out to something that does not exist. It did this with a popular, well-documented piece of software.
    • Speaking of structurally sound, there's no real time save if I have to double back to make sure it filled in all the blanks correctly. If the AI can fuck up with an API that it should "know," it's a guarantee that will be necessary to correct everything when an AI has no knowledge of it whatsoever. So now time is spent making sure it isn't referencing variables it failed to define, pointing to API endpoints that aren't there, etc. I can define boilerplates and snippets in any decent text editor. An autocomplete plugin will fill out the entire structure of a function being defined the second I type def and leave me to fill in the blanks - all without deferring to a water and energy sucking, data mining, douchebag of a company. What's being gained that isn't costing me privacy, depriving myself the use of my own cognitive abilities, and ultimately making the world a little worse off?
    • Last one, I wrote a bash script years ago using exiv2 to pull the EXIF data and sort unsorted photos into ../YYYY/MM/DD/. directories. When the AI hype started gaining traction I tasked one with doing the same to see what it would do differently. Aside from some capitalization and variable names, it was identical. Now it's not exactly a complicated task but my takeaway was either I'm a better programmer/scripter than I thought (not likely) or AI is just as bad (or worse) of a programmer as me. I'm leaning towards worse, considering I manage to actually know if an endpoint or variable exists before referencing it.

    Anyway, the only conclusion I can draw is those "programmers" are developing unmaintainable blackboxes out of twigs and playing cards. If some big bad wolf by the name of "Intellectual Debt" doesn't inevitably come along to huff and puff, they'll just end up collapsing under their own weight.

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (1 reply)
  • [–] 7 points 3 weeks ago (1 child)

    It's shades of gray honestly. Sometimes they are very good (especially if you need some small tool that scratches a particular itch or want something that is 50% there right now), other times they're extremely dumb and write horrible code. Especially of you want them to use some modern feature of your language that they don't know anything about, or when the language in question isn't very popular, or when the library you are using at the same time isn't very popular, changed a lot recently and is big. They can go in circles for hours with 'wait actually ..., actually ..., but wait ..., but actually ..., ad nauseam. But when you limit them in scope, give realistic goals and constraints they more often than not work good.

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (1 reply)
  • [–] 7 points 3 weeks ago

    Makes me wonder how good they really are at their craft to begin with.

    That is exactly the point.

    LLM's are great at what they already do, they simply statistically predict the output text from an input text. This means that if an expert needs LLM's in their line of work they were never an expert. Unless of course they are trying to brute-force solutions to extremely complex theorems were humans would take a lifetime (literally) to answer.

  • source
  • parent
  • [–] 6 points 3 weeks ago

    I'll preface this by saying I'm not trying to sound like a tech bro. I'm really trying to give a level and measured response.

    Over the past year, AI coding has gotten very good. It can catch weird mistakes that are not obvious. But it can also just totally miss obvious things and get caught up in shit that doesn't matter. The best way to describe it is like an extremely eager and very smart junior developer. They get easily distracted. They get easily caught up in edge cases that don't matter. That can easily miss extremely critical things.

    The biggest thing is that it's fast.

    We'll see how cheap it is long term when companies need to be profitable and run out of investors to convince.

  • source
  • parent
  • [–] 72 points 3 weeks ago (12 children)
  • [–] 29 points 3 weeks ago (10 children)

    Or Artix ^^

    Or, for the bravest and boldest: NetBSD.

  • source
  • parent
  • hideshow 10 child comments
  • [–] 2 points 3 weeks ago* (1 child)

    I love pkgsrc. Thought flatpak, snaps, and appimages solved fragmentation, well pkgsrc solved OS fragmentation across ALL UNIX-LIKE SYSTEMS. I want netBSD to keep working on their rumpkernels as well, so we run their drivers ON ANY OS.

    (I wanted to put emphasis to show how amazing NetBSD is)

  • source
  • parent
  • hideshow 1 child comment
  • [–] 30 points 3 weeks ago (28 children)

    I’m trying to understand the hype. Is it cause this stuff is normally a pain to configure? I thought the point of Arch was to define your own system. Why would I use Omarchy? Also every tech influencer is pushing this distro like it’s the best thing since Linux was released but the use case seems very narrow to me. Tiling wm aren’t for everyone so why are they all so excited for this? It does look sleek depending on the theme but I just don’t get it.

  • source
  • hideshow 28 child comments
  • [–] 40 points 3 weeks ago* (13 children)

    Tiling wm aren’t for everyone so why are they all so excited for this?

    There seems to be an expectation in the Linux community that everybody who sticks with Linux long-term will eventually "graduate" to a tiling wm someday. Even though I've used Linux for 20 years and still prefer KDE.

  • source
  • parent
  • hideshow 13 child comments
  • [–] 16 points 3 weeks ago* (last edited 3 weeks ago) (9 children)

    In theory I really like tiling window managers. I generally want to have 1-4 windows open in full screen per workspace/monitor and prefer to use just my keyboard as much as possible.

    In practice, I haven’t found one that works well with dialog, fixed sized, or modal windows well enough to not get annoying, while most traditional window managers/desktop environments have good enough keyboard shortcuts and window snapping.

  • source
  • parent
  • hideshow 9 child comments
  • [–] 10 points 3 weeks ago (1 child)

    while most traditional window managers/desktop environments have good enough keyboard shortcuts and window snapping.

    The secret that the tiling wm people don't want you to know: with a little effort of configuring settings and setting up/learning some keyboard shortcuts, KDE can behave an awful lot like a tiling wm when you want it to ... while also still behaving like a normal DE when you want it to.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 3 weeks ago

    That's kinda why I'm waiting for COSMIC to mature more. Based on what I'm doing I sometimes prefer floating, sometimes floating. So a DE where both modes are supported equally and can be mixed and matched would be perfect for my preferences.

  • source
  • parent
  • [–] 3 points 3 weeks ago (1 child)

    ... I haven’t found one that works well with dialog, fixed sized, or modal windows well enough to not get annoying,

    This so, so much. I:ve been on Sway (and i3 before) for a long time and this is such a pain in the ass.

    Most gui programs that do more than a simple window just don't work well with them, dialogs filling up half your screen because of tiling, programs with detachable panels that turn into windows cannot be attached again because the main window doesn't detect it (puddletag is an example I've came across recently).

    I know I can setup some rules to make the windows float or have the correct behavior, but it's just too much to fix every single broken dialog I encounter.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 3 weeks ago

    I feel like tiling window managers mostly are a throwback to an era where gui applications were generally just single windows that did one thing, but even then most people were just using them to tile a bunch of xterms. Nowadays I’d rather use a single full screen emulator that either has native split support, or tmux.

  • source
  • parent
  • load more comments (4 replies)
  • [–] 18 points 3 weeks ago (6 children)

    It appeals to the people who think a tiling WM looks cool but can't be bothered to do the most basic documentation reading to install and configure it.

    every tech influencer is pushing this distro

    Not any of the ones that I follow. Perhaps that's a signal to curate who you listen to.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 2 points 3 weeks ago (5 children)

    You can just get a tiling extension for GNOME and it just works, or use sway or i3 there's no reason for hyprland to exist.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 4 points 3 weeks ago (1 child)

    I've been using tiling window managers for 15+ years (Mostly awesomewm but also ion/i3). I tried using the tiling extension for GNOME and it was pretty awful. Maybe it has improved since then but last time I checked GNOME still couldn't handle multiple workspaces on multiple monitors the way I want so that's a nonstarter for me. I'm currently using Hyprland on Fedora because i3 and sway couldn't easily replicate some functionality I had in AwesomeWM when I migrated to wayland.

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (1 reply)
  • load more comments (3 replies)
  • [–] 17 points 3 weeks ago*

    Hate the asshole but I'll be generous. I think it speaks to a badly underserved market; a desire for a highly curated, opinionated, 'turn-key' solution. SteamOS is getting hype for similar reasons; Omarchy is just the techie version of the idea; someone else did the configuration for you.

    Part of why I like nixos so much: makes it easy to leverage the work others have done.

  • source
  • parent
  • [–] 6 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

    I'd definitely be down for a well-maintained, Debian-based (not Ubuntu-based) distro that comes with i3 or sway out of the box and isn't run by a chud. Configuring your distro of choice with a tiling WM by hand everytime you install on a new device or virtual machine is a chore. There's certainly a prominent niche of Linux users who like tiling WMs, and those have a lot of overlap with the kind of user who would be interested in a niche distro.

    Also, many smaller distros are explicitly anti-chud (indeed even many of the bigger ones talk positively about "diversity" and "inclusiveness"), so chud users would naturally be drawn to the few distros that are run by outspoken chuds.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 3 weeks ago (2 children)

    Don't know how you feel about fedora, but their atomic sway spin has been great. Rock solid with a sane, functional sway config.

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (1 reply)
    [–] 9 points 3 weeks ago (1 child)

    Nah, NixOS is better since you can configure a system from one repo.

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 8 points 3 weeks ago (4 children)

    What's supposed to say on behind the image?

  • source
  • hideshow 4 child comments
  • [–] 16 points 3 weeks ago

    probably "OLARPY". a play on words with:

    "omarchy": the distro criticised for just being arch linux with someones dotfiles

    "larp": stands for Live Action Role Playing. Usually used to mean a poser or someone pretending/convinced they are something they're not.

  • source
  • parent
  • load more comments (3 replies)

    but how many of the debian developers are racing drivers

  • source
  • [–] 3 points 3 weeks ago

    Just use ghostBSD

  • source
  • load more comments
    view more: next β€Ί