by pavlov · 3y ago · 0 comments
My idea of enjoyable high-quality programming isn’t to dip a spoon into an ocean of soup made of other people’s random design decisions and bugs accumulated over fifteen years, hoping to get a spoonful without hidden crunchy insect bits.
I know the soup is nutritious and healthy 98% of the time, and eating it saves so much time compared to preparing a filet mignon myself. But it’s still brown sludge.
By averaging, a lot of imperfections get diluted away.
Like in Anna Karenina "happy families are all alike, unhappy ones are each in its own way". The defects are idiosyncratic, the commonalities are good.
[1] https://fstoppers.com/portraits/average-faces-women-around-w...
Multi-sourced accumulated unmaintained amateur software without clear provenance or ownership is more like creating a feature I'll call "insta-legacy": now you're responsible for a bunch of code you didn't write that by definition nobody you have access to understands.
This is absurd.
It's not going to stop people from doing it. The industry is clinically insane.
It allows people who do bad work to do more of it quickly. Before they had to manually shovel garbage into projects but now they have a dumptruck.
You know what? It might be fine. Maybe we're going to have a world of fast food programming where minimum wage coders pump out trash and there's going to be Michelin star programmers where you go to for the real stuff.
If that's the case, we'll have to somehow educate the public on the difference so they don't think it's the same thing. McDonald's and The French Laundry are both successful restaurants. That world is possible in programming as well.
It might already be like that. The cheap rates for shady contracting firms that do trash work are probably already using these things
https://arxiv.org/abs/2206.08896
The idea is: LLMs know how to modify code in semantically useful ways. Evolutionary algorithms are great at search, but don't learn new mutations by themselves. So combine them together to generate new data and retrain the models.
So the old system is: scrape human code and train on it. the new system is: generate code, keep the good parts and retrain. It only costs electricity and is open-ended.
> Maybe we're going to have a world of fast food programming where minimum wage coders pump out trash and there's going to be Michelin star programmers where you go to for the real stuff.
It sounds like your concern isn't that it's going to to a poor job, it's that it's actually going to do a good job and you will no longer be able to differentiate your work.
If what you're delivering is so much more valuable then there is no threat and no concern to be had. I believe the concern is that this actually will solve peoples problems or much cheaper to almost free and as a result people will use it. And use it tons. And that's a legit fear to have, but I don't think it should be wrapped up in calling it's output McDonalds's of code.
The better analogy in my mind is a collection of wine connoisseurs seeing the rise of something like 2 buck chuck and trashing it for not being snobby. Deriding it for not having "grapefruit mouthfeel" or something. When in fact most people just want a easy to drink wine that goes with what they're having or dinner - and none of the the extra.
If this code doesn't help people out then people won't use it, if it does, and the "French Laundry" of code is important only to the chef's working there and not anyone else, then we'll find that out pretty soon.
The real issue is potentially getting "French Laundry" quality (or a step just shy) for an every day meal price .
No it's not about me. I won the startup lottery. This was called "RAD" in the 90s, OOP in the 80s and was the promise of "structured programming" in the 70s. The effort to deprofessionalize software development goes back decades.
I care about the craft and the well-being of my fellow engineers. Requiring less knowledge is a mixed bag. Sometimes it's fine, such as compilers handling your C code, and other times it's a problem, such as Word handling your HTML code. It's best when some tooling sophistication is still exposed.
> If this code doesn't help people out then people won't use it
Incorrect! Human behavior and planning is aspirational and emotional, not rational. Choices are made based on narrative appeal and mistakes take years to unravel.
Think of all the once hot frameworks that you'd be simply crazy not to love that are now unmitigated disasters to maintain and lead to mass abandonment and rewrites. People do this stuff, it's how they decide things. Not everybody, but enough to fuck things up for the rest of us.
Also known as:
• Getting hired at a software company that already exists
• Having co-workers leave the project
• Importing frameworks or libraries you didn't write
(1) and (3) are different. In (3) you have access to the people, documentation, things are versioned and bugs are fixed and there's forums of people using identical software.
In (1) the people are still there, you can open tickets against them, go and talk to them, etc
(2) is correct and that's not a good thing. It's snowflake code where you can't do the other things.
The point is you're producing this worst case scenario that good companies try to avoid at great cost, instantly.
Software on the other hand is a logical environment with clear, logical requirements. It ought to work, not just fall apart randomly.
There is no guarantee that sticking the average of one software into a completely different one will satisfy the logical requirements by any means whatsoever.
I can see us switching from programing languages to some new type of logical construct that AI excels at.
They're called humans.
We had built computers also to overcome the human limitations of fuzziness and imperfection.
Now apparently we think putting these limitations back into computers is a good thing.
Also, when you average you don't really kill "defects", but rather outliers. An "outlier" statement within a program is very likely to do something important, e.g. taking care of a corner case, otherwise it wouldn't be there.
(My experience with Copilot and ML-assisted programming has been extremely positive, I would not choose to go without it at this point)
Also, unrelated: Leo Tolstoy had his number of problems with his wife and wrote them into Anna Karenina. In fact, it is quite contrary: most disfunctional families fall into several textbook scenarios, while happy families has their own distinct inner dynamics, just looking the same on the outside.
This "study" and your argument are meaningless.
> Futurists in 1950: Automation will free mankind from meaningless tedium to focus on creative pursuits only humans can master.
> Techbros in 2023: We coded AI to write all your books, music, and TV so you can focus on the meaningless tedium of your cubicle farm.
From this popular tweet by @stealthygeek https://twitter.com/stealthygeek/status/1618997354199400449Are they going to follow the luddites and call for people to storm data centers and smash the GPUs?
Most creative work companies need can likely be substantially automated either now or soon.
Most creative work individuals want will take much longer to automate. Things like movies, where even humans can't robustly figure out which ideas will work, will take more human discretion.
Moreover, math is NOT hard for AI. Anytime the LLM detects a numerical math problem, it should be smart enough to go to a calculator and enter the numbers and give you the answer. This is not hard to implement and I'm sure someone has already done this.
a big part of me not liking windows and preferring the open source world was also not wanting to use the lowest common denominator quality operating system and applications.
handmade, handcrafted stuff will be always head and shoulders above the rest, software included.
In both cases the problem is the same, and hearkens back to Reflections on Trusting Trust. The total amount of code necessary to implement a useful system is far too large for anyone to fully understand and audit.
A question of volume, surely? It might be OK for snippets, but once you've added a million lines of AI code to your codebase, when are you going to get around to reading it?
Like libraries, you hit a button and add thousands to millions of LOC. If it appears to work, are you going to read it?
What I see is a person who copy and pastes crap around until it works and calls it a day. I think code assistants can and will compete with them.
I love to solve _problems_ and to help people with it, but sometimes I just hate to write code to solve them. I wish my computer could have a clear picture of the solution that is in my mind so I didnt have to write a single line of code, so I could focus on the creative part of the problem solving
But I totally agree with you that it would be a positive outcome if we spent less time writing lines of code and more time using better tools to direct computers in solving problems and (I think just as critically) understanding the dynamics of those solutions. A major facet of my skepticism is that I think progress on that second part seems to be lagging way behind...
I foresee a lot of "we had a team, who have all now left, that used AI to write this system and it's mostly working right except in all these ways, and you need to fix it, good luck!" in all of our futures.
It is going to be incredibly easy for people to be the 100x programmer who always delivers on time and promptly leaves for a higher paying job, leaving the debris in the hands of some poor sod who knows nothing about the code or the decisions that led to it.
What AI will do in this scenario is make the "creative" part much easier and jolly and the maintenance part much more painful and frustrating.
So I'm not sure what exactly AI would worse here?
[0]: https://www.semafor.com/article/01/27/2023/openai-has-hired-...
The six figure salaries won't last another decade. For some of us, maybe, but certainly not most of us.
Learn AI now.
Good luck, everyone.
It really doesn't take that much time to teach the CS fundamentals needed to help you figure out where to put the generated code. Or even to know how to prompt it.
Our careers as high earners are collectively doomed. I really didn't expect LLMs to get this good until 2025 minimum. Pretty sad that "learn to code" is gonna be dead. It was the only place where the American dream was still alive.
Right now we don't punch cards or write asm; we write in higher-level languages with lots of existing libraries and autocomplete suggestions. These current AIs are just moving our work up another level. Instead of writing the function with the for loop directly, which turns into the appropriate machine code, we write a natural-language-ish instruction that turns into the function with the for loop.
As the coding help becomes more sophisticated, we'll just do more design and architect-ing and less typing individual lines of C# or whatever. I suspect there will be fewer "programming" jobs available eventually, but they will be just as important to business, if not more so.
------
*If the AGI can even be convinced to spend its time making chat apps for dimwitted meatbags...
But I don't buy the "joy of writing code" argument. Coding is all about making a computer work for you, and I think that taming AIs to be more efficient without letting it introduce random crap will become both important and enjoyable. I think the techniques we have now are too crude for that, but it will improve. Keep in mind that even if you are writing C, you are already at high level, using libraries and compilers other people wrote, bugs included.
Now there is a certain charm being close to "hands on" programming, but if that's the case, go get an Amiga and make a few demos. It won't pay the bills, but it can be fun.
That is an absolutely valid point of view. But it doesn't apply to everyone. Programming is something that can take me into the zone like nothing else. And it has the added side effect of making me think more precisely about higher level problems as well. It's one of those excercises that help me stop fooling myself (in the Feynman sense).
Traditionally you'd put a list of recipe ratios into a spreadsheet and then calculate what you need. But there's a mod called Helm that can handle all those calculations for you, so you just need to specify what logistics components you'll be using.
His immediate comment was "that takes all the fun out of it", to which I responded "it just moves the fun elsewhere."
In this case, the programmer still provides intent and strategy for the bot. We know roughly how efficient the final algorithm should be, and roughly what the data model might be-- being able to get 90% of the code written in 30s-1min should free up more time to think about the system as a whole, I think. (Though this point has been beaten nearly to death, now that I ruminate on it.)
At least in my own experience with Copilot it's been very convenient not having to worry about the finer details. More "should I model the problem this way?" and less "and now I bring in the inner for loop, then I overwrite the first part of the buffer up to index j...".
As a human programmer, is this not what your own brain looks like? What are you doing to the information you take in that allows you to avoid regurgitating the "crunchy insect bits" of your own training corpus?
Maybe something like GPT, style transfer, and OpenAPI combined.
That's not to say plumbing doesn't take skill, it certainly does, but the point of it is that nobody except the next plumber cares how the pipes are laid out, so long as it works and works well. It's when one blows and you have to fix it, or install a second bathroom, that shit really tends to come out. If I'm the one that has to do the work, I can only hope the previous plumber had some idea of what they were doing, and didn't just leave it entirely to automation.
But if they did I'd hope they trust, but verify.
depends what you are working on, I suppose the average web developer could probably be considered this. But there are people working on problems that require major CS knowledge, domain expertise, etc. Those types would definitely be closer to engineers building the tools that the plumber uses
Programmers when the plumbing works: But I don’t want to just stitch components together! This is boring.
There's a reason they call Europeans "europoors". There are advantages to identifying yourself by your work.
What I meant by that is that there are no source images that have previously existed, and especially not in these animated latent space forms. And no, I’m not the only person to be using the tools like this and I never claimed to be.
https://williamcotton.com/articles/the-making-of-distant-des...
What I think I’m doing with this is revisiting some live audio visual stuff I was working with over a decade ago, but instead of having to hand draw as I did in this video:
Around 2:20 has some landscape animations. There’s some really low quality temp imagery in that video as well because it take a lot of time to draw stuff! I basically stopped doing this kind of stuff because it was already too much work to do on top of writing and performing music let alone all the nonsense related to getting shows and managing a band…
I don’t have time to make these base visuals, animate them, program, etc.
Also, I want to try to map audio inputs like amplitude to vectors in the latent space… snare hit increases (lightning:1.0) vector, kick the (ocean:1.0) vector, etc.
Or maybe I don’t do anything other than explore and get inspired.