Live data from Hacker News

The hidden cost of AI coding

terriblesoftware.org

461–470 of 475 posts

Re: The hidden cost of AI coding

#461

This comment section really shows the stark divide between people who love coding and thus hate AI, and people who hate coding and thus love AI. Honestly, I suspect the people who would prefer to have someone or something else do their coding, are probably the devs who are already outputting the worst code right now.

I replaced "code" for "singing" to make a point. > This comment section really shows the stark divide between people who love singing and thus hate AI-assisted singing, and people who hate singing and thus love AI-assisted singing. > Honestly, I suspect the people who would prefer to have someone or something else do their singing, are probably the singers who are already outputting the worst singing right now. The p…

> And while it is easier to become good at coding than at singing - for professional purposes at least - I believe that the effect still holds.

I can't reconcile this with my own view of things but I think "for professional purposes at least" is doing a lot of work in your sentence and I get the feeling you intend to say "good enough" by adding that bit.

Most programmers are very bad at programming (and problem solving) and only if they were compared to absolute beginners with zero insight could they be said to be "good" (and most of that comes down to them at least knowing the names of maybe a couple of concepts, etc., which makes for at least a partial map of the knowledge space). Most of them will never become good at what they do either, but will stay middling because they basically just glue libraries together and learn surface level things over and over.

If all you've ever done is learn a language, a backend framework in that language, learn how to use SQL, learn JavaScript, learn a couple of frontend frameworks for JavaScript, you've just basically learned a bunch of trivia that at best could be considered table stakes for a certain part of the industry.

If you're not actually doing free form problem solving, implementing things from scratch, reading code you didn't have to read and building and reinforcing your own fundamentals in other ways you won't ever be a good programmer.

I've worked with people who've spent 10+ years in the industry only to be essentially useless without frameworks and libraries and it regularly showed in how poor their output was. It wasn't any better when they did have frameworks and libraries to use, but they could pretend it was because at least a solution was reached. The truth is that in most of those cases a much better version could've been reached by simply re-implementing only the parts that were needed, but these types of programmers don't have the capability to do so.

Re: The hidden cost of AI coding

#462

Earlier quoted context omitted.

I replaced "code" for "singing" to make a point. > This comment section really shows the stark divide between people who love singing and thus hate AI-assisted singing, and people who hate singing and thus love AI-assisted singing. > Honestly, I suspect the people who would prefer to have someone or something else do their singing, are probably the singers who are already outputting the worst singing right now. The p…

I love coding - but I am not very good at it. I can describe what I want in great detail, with great specificity. But I am not personally very good at turning that detailed specification into the proper syntax and incantations. AI is like jet fuel for me. It’s the translation layer between specs and code I’ve always wanted. It’s a great advisor for implementation strategies. It’s a way to try new strategies in code q…

> To extend your metaphor: AI is like a magic microphone that makes all of my singing sound like Tony Rice, my personal favorite singer. I’ve always wanted to sound like him - but I never will. I don’t have the range or the training. But AI allows my coding level to get to that corresponding level with writing software.

My experience with LLMs leads me to believe that it's more likely that the magic microphone in this case makes you sound still very, very bad, but being that you're not a good singer you can't tell the difference between very, very bad and Tony Rice's singing. You sang the song, though, i.e. the solution was reached.

Re: The hidden cost of AI coding

#463
post #90

Earlier quoted context omitted.

Got it, you're talking about workers getting ahead as a category -- no objections to that. I doubt the displaced computers managed to find a better job on average. Probably even their kids were disadvantaged since the parents had fewer options to support their education. So, who knows if this specific group of people and their descendants ever fully recovered let alone got ahead.

Why should one be entitled to do one thing for their entire career? The world changes. Those changes cause a need, a job fulfills that need. The world changes again, the need disappears. Why should the job then persist?

> Why should one be entitled to do one thing for their entire career?

Because if you pursue a career and invest time and money into it over the course of your life, especially in the highly Americanized way which involves both a substantial time and MORE substantial outlay of money to achieve that, and you then go on to live in a society that demands you earn a living or starve/freeze to death, it is unconscionably immoral to fuck with other people's means to earn that living for your own profit.

And to be clear, that doesn't mean "you can never change your career," that's nonsense. People do that all the time, out of necessity or just desire. However currently the ability to do that is heavily gate-kept via the income of the person wanting to do the switching, and for a lot of the people most likely to be automated, they barely make enough to survive right now, where in the hell are they getting capital to retrain themselves on a new career?

And that's not even going into the physiological challenges. You objectively, factually, learn better when you are younger, and it's also worth noting that society at large benefits more from you learning at a younger age like we traditionally do, because you spend the first few years rolling around your house annoying your mother, you spend up to age 18 (usually) in mandatory K-12 education, you spend between 2 and 8 years in college after that if you decide to go or alternatively, a few years learning a trade or something, and then you have what we generally aim for about 40 years of being a productive member of society. If you have to retrain in the middle of that, that's just less efficient on every front. It costs you money and time, it costs society your productivity for however long you leave the workforce and return to education, and of course that's assuming you can afford to do it at all, and don't end up just lurching from one job that's about to nix you to the next, being miserable and depressed, until you can't find another and then you end up in the homeless system.

In my mind at least, the only way I can comprehend anyone being in favor of this sort of system is they imagine themselves one day being on the top of it, because that's the only group of people who are actually benefiting from this sort of instability. The looming threat of and execution of job automation has massive boons for employers; fewer employees can produce at higher rates, the job market is flooded with recently laid off people which lowers the value of labor and lets employers pay the ones who are hired on after less money, and the overall instability "vibes" present makes employees more willing to tolerate bullshit from their employer because they know how much the job market sucks and they don't want to find another, or, who knows, maybe they are trying and literally can't for the previous reasons.

Like in my mind, this just comes down to whether you think you're more likely to be the boot or the neck under the boot, and that's going to decide how you feel about this.

Re: The hidden cost of AI coding

#464

Earlier quoted context omitted.

I suspect it has to do with a lot of things: * Everything is more expensive. You say "food has never been more affordable" but I'll absolutely challenge that. Food banks and kitchens are heavily locale-dependent type resources, and are not distributed according to the needs of the populace, but rather according to the ability and willingness of given communities to sustain them. * You skated right past the need for a…

I'm really struggling to understand your argument, are you trying to argue in short-term or long-term trends? I'm trying to argue that in aggregate, life is getting better for people, while also awknowledging that there's not an equal distribution. For example, food has decreased in price 4x since 1900 in real terms[1]. I don't see how that's not more affordable. > You skated right past the need for a smartphone. Hmm…

> I'm trying to argue that in aggregate, life is getting better for people, while also awknowledging that there's not an equal distribution.

I bet you like Steven Pinker. He does this shit too where he goes "people 50 years ago didn't even have air conditioning, and now a poor person has one in their car and one in their home" which ignores several things that are going to be their own rabbit holes so I'm just going to not, but that doesn't mean things are better. Yeah, poor people have more stuff, more creature comforts, more "luxuries" today than kings had in the 1400's. That doesn't change the fact that they're barely getting by, living perpetually on a debt and stress treadmill that studies too numerous to count have shown decrease their quality of life, shorten their overall lifespan and lead to health problems, in a country where having health problems is also, totally but coincidence I'm sure, the fastest ticket one can have to poverty.

And the worst part is, it doesn't NEED to be that way. We have more of... basically everything than we ever have, yet it all costs more, and tons of businesses go under, and everybody gets poorer, while the richest grow ever, ever, ever richer.

2 trillion was transferred from the working class to the 1% during COVID. 2. Fucking. Trillion. Dollars.

> Hmm? Like when I said "Another cost is it's pretty much impossible to do anything without a smartphone and internet"?

"Pretty much impossible" and "impossible" are not the same. It is not possible to do gig work without a smartphone.

> Source? That doesn't line up with what I found.

It's going to vary widely based on locale. Mine when I commented was the suburbs of Chicago.

> This is just FUD if you haven't cited your sources on average/median/distribution of pay in whatever area.

Yeah, it is. Because gig work is inconsistent. Would you be okay working your job when your salary was completely dependent on your performance, sure, but also just how much work you had to do during that particular day, and if there was a decent chance that one day you show up to your office, sit on your ass for 8 hours, and go home without a penny?

I doubt it.

> Thus increasing prices of rides

This just in: products and services should cost what it costs for them to be created/rendered unto you, with a little more at the end so the person doing it earns a living. If you can't afford to have a person pick up a burrito for you, drive it across town in a car, and drop it on your doorstep, I would humbly suggest you get in your own car, and get your own burrito.

> Uber just started being profitable after dumping billions of dollars in subsidies

Then shut the doors! If what you're doing doesn't work, close up shop! Why does Uber have to exist? Are people better off being Uber drivers than being homeless? I mean, I guess? I wouldn't call that an open and shut case. If all the people doing gig work were instead completely unemployed, and out protesting in the streets of their capital cities, maybe society would actually do something about the rampant exploitation? Maybe all these companies couldn't get away with paying people utterly shit wages if we didn't mandate that those on assistance programs find jobs, any jobs, even if those jobs don't get them off the assistance?

I would turn this back to you: instead of asking me why people are entitled to food, why are these massive companies entitled to exist? Why are we funneling people with few options towards them to work as many hours as they can while remaining firmly below the poverty line? Why do we demand people who are starving take a certain number of interviews every week so we give them access to a menial amount of sustenance, while judging them for taking it?

> Uber won because they offered a superior service to taxis. I'm not going to open the can of worms of their predatory behavior,

Yeah I bet you're not, because you don't want to think about HOW that victory was achieved, be it the financial cost, or the human cost. Now you have a shiny app and can get rides around your city. Nobody gives a shit about the fate of labor as long as they get instant gratifications, same as it ever was.

Re: The hidden cost of AI coding

#465

Earlier quoted context omitted.

I'm really struggling to understand your argument, are you trying to argue in short-term or long-term trends? I'm trying to argue that in aggregate, life is getting better for people, while also awknowledging that there's not an equal distribution. For example, food has decreased in price 4x since 1900 in real terms[1]. I don't see how that's not more affordable. > You skated right past the need for a smartphone. Hmm…

> I'm trying to argue that in aggregate, life is getting better for people, while also awknowledging that there's not an equal distribution. I bet you like Steven Pinker. He does this shit too where he goes "people 50 years ago didn't even have air conditioning, and now a poor person has one in their car and one in their home" which ignores several things that are going to be their own rabbit holes so I'm just going…

I think at this point we're at an impasse, so agree to disagree. I'm glad there is another person who is wanting to help these people, even if I disagree with their solution :)

Re: The hidden cost of AI coding

#466

Earlier quoted context omitted.

Why should one be entitled to do one thing for their entire career? The world changes. Those changes cause a need, a job fulfills that need. The world changes again, the need disappears. Why should the job then persist?

> Why should one be entitled to do one thing for their entire career? Because if you pursue a career and invest time and money into it over the course of your life, especially in the highly Americanized way which involves both a substantial time and MORE substantial outlay of money to achieve that, and you then go on to live in a society that demands you earn a living or starve/freeze to death, it is unconscionably i…

I think this is all a great argument for a strong social safety net. It’s not a great argument for keeping people in pointless jobs doing work that has been made obsolete by automation.

Re: The hidden cost of AI coding

#467
post #384

Earlier quoted context omitted.

I love AI as a concept. I hate the reality of our current AI, which is benefitting corporations over workers, being used for surveillance and censorship (nevermind direct social control via misinformation bots), and is copying the work of millions without compensating them in order to do it. And the push for coders to use it to increase their output, will likely just end up meaning expectations of more LoC and more f…

How is using Claude over Llama benefitting corporations over workers? I work with AI every day and sum total of my token spend across all providers is less than a single NVidia H100 card I'd have to buy (from a pretty big corporation!), at the very least, for comparable purpose? How are self-hosted LLMs not copying the work of millions without compensating them for it? How is the push for more productivity through be…

> How is using Claude over Llama benefitting corporations over workers?

I'm not sure why you took the very general statement about AI being corp-over-worker to mean paid models vs free models? The technology itself heavily favors corporations, because the resources needed to create and operate the technology is massive, and is largely not available to individuals. Most of the freely downloadable models (and certainly the most popular ones) were trained by corporations. And there are many more models that are not available to individuals, only to corps.

> I work with AI every day and sum total of my token spend across all providers is less than a single NVidia H100 card I'd have to buy (from a pretty big corporation!), at the very least, for comparable purpose?

You don't need an H100 to run SLMs. You don't need LLMs that require commercial-grade memory capacities.

> How are self-hosted LLMs not copying the work of millions without compensating them for it?

Most are, especially when they're training data is closed-source. The ones that have open-source training data tend not to contain infringed-upon copywritten data. There is a huge issue right now with ML models being falsely called "open source", when in fact the source material needed to recreate them is not even known, much less provided publicly, which is probably the cause of the confusion.

> How is the push for more productivity through better technology somehow bad?

It's not, inherently. In practice though, it almost always means that workers are expected to be additionally productive, without being additionally compensated.

Re: The hidden cost of AI coding

#468

Earlier quoted context omitted.

I love coding but I also love AI. I don't know if I'm a minority but I'd like to think there are a lot of folks like me out there. You can compare it to someone who is writing assembly code and now they've been introduced to C. They were happy writing assembly but now they're thrilled they can write things more quickly. Sure, AI could lead us to write buggier code. Sure, AI could make us dumber because we just have A…

We're the silent majority, I'm pretty sure. If you love coding, you probably love technology, and if you love technology, you probably love AI, which is inarguably the most interesting tech advancement in this decade. The others, who are not like us? They've got other priorities. If you hate coding but you love AI, you're probably into software engineering because of the money, not love of technology. If you love cod…

> throw your cellphone into the river and find a nice cabin in the woods somewhere

Would that I could...

Re: The hidden cost of AI coding

#469

Earlier quoted context omitted.

All major tokenisers have explicit support for encoding arbitrary byte sequences. There's usually a consecutive range of tokens reserved for 0x00 to 0xFF, and you can encode any novel UTF-8 words or structures with it. Including emoji and characters that weren't a part of the model's initial training, if you show it some examples.

Pretty sure that we’re talking apples and oranges. Yes to the arbitrary byte sequences used by tokenizers, but that is not the topic of discussion. The question is will the tokenizer come up with words not in the training vocabulary. Word tokenizers don’t, but character tokenizers do. Source: Generative Deep Learning by David Foster, 2nd edition, published in 2023. From “Tokenization” on page 134. “If you use word to…

Those tokens won't come up during training, but LLMs are capable of In-Context Learning. If you give it some examples of how to create new words/characters in this manner as a part of the prompt, they will be able to use those tokens at inference time. Show it some examples of how to compose a Thai or Chinese sentence out of byte tokens, and give them a description of the hypothetical Unicode range of a custom alphabet, and a sufficiently strong LLM will be able to just output bytes despite those codepoints not technically existing.

And like I said, single-byte tokens very much are a part of word tokenisers, or to be precise, their token selection. "Word tokeniser" is a misnomer in any case - they are word piece tokenisers. English is simple enough that word pieces can be entire words. With languages where you have numerous suffixes, prefixes, and even in-fixes as a part of one "word" (as defined by "one or more characters preceded or followed by a space" - because the truth is more complicated than that), you have not so much "word tokenisers" as "subword tokenisers". A character tokeniser is just a special case of a subword tokeniser where the length of each subword is exactly 1.

Re: The hidden cost of AI coding

#470
post #455
post #84

So long as your experience and skill allows you to produce work of higher quality than average for your industry, then you will always have a job which is to review that average quality work, and surgically correct it when it is wrong. This has always been true in every craft, and it remains true for programmers in a post LLL world. Most training data is open source code written by novice to average programmers publi…

The problem with FOSSland is that it is increasingly driven by commercial interests, not by volunteers. I don't know the last time I encountered a used (not random hobby projects) FOSS project that wasn't funded and supported by a company (with exceptions maybe only in the GNU software suite, but even then lots of authors there are making submissions using company email addresses). I think it's totally acceptable to…

Companies pay with money for specific features they want, just like individuals pay with their even more valuable time to add features they want.

This is fine, so long as the community decides what features they actually want to create the "menu" of unfunded objectives donors can sponsor

Post reply on HN