Live data from Hacker News

AI-enhanced development makes me more ambitious with my projects

simonwillison.net

151–160 of 519 posts

Re: AI-enhanced development makes me more ambitious with my projects

#152

I think that Chat GPT will make programmers jobs more tedious but always in demand. That is the leakiest abstraction of them all people. There will always be subtle bugs to fix 2-3 levels down.

The interesting thing will be how they find them. It will be a discussion with a chatbot, rather than debugging code like we're used to doing.

Re: AI-enhanced development makes me more ambitious with my projects

#153

I still have a hard time just trusting the LLM and explaining my code request in plain english. I keep thinking like I'm on Google >_<

> I still have a hard time just trusting the LLM

Good because it generates a lot of bullshit.

Re: AI-enhanced development makes me more ambitious with my projects

#154
post #6

@Simon, I love this. And one day, in the not too distant future, a few old wizened graybeards, like you and I and the other folks on this site who have been writing code from scratch for 20 years, will be the magicians who walk the earth among mere mortals who only learned to code with the assistance of ChatGPT. We will be the ones with the preattentive syntax parsing in our brains that let us simply see basic syntax…

That would be nice for us, but it's unlikely. Knowing the subtlelties of memory management in the 80' didn't help the Ruby coders to create RoR and run Basecamp, or the Python coders to create Django and run the Washington Post. People jumped at ORM, CSS frameworks and JS wrappers, and won the day because they traded memory and CPU for what the user wanted. The new generation will do the same. They will figure out ho…

You are sort of ignoring the bias in your own AI extremist prediction.

People who have decided to go all in in learning an interpreted language like Perl or even PHP, had to continuously also learn react, js, ruby,... and gazillions of other languages and frameworks to remain in business over the last two decades.

While people who invested in learning C, Java or SQL have as much healthy opportunities to pursue today with almost the same amount of knowledge that they had accumulated three decades ago. Their life has been much less stressful, pretty much on auto-pilot, while those who were pursuing the latest technology are constantly living on the edge having to continuously relearn entire new framework on average every 3-5 years to remain relevant.

So yes all these glitzy languages have "won" but it wasn't by these "ancient" languages losing.

If I had to bet I would say a decade from now, based on the last 50 years history of computing, I can easily imagine the same amount of jobs for C programmers as we have today but there will be as many Ruby jobs as we have perl jobs today.

Re: AI-enhanced development makes me more ambitious with my projects

#156

> This doesn’t just make me more productive: it lowers my bar for when a project is worth investing time in at all. This is the real benefit here. AI isn't taking jobs, it's going to enhance them - once we learn how to use the tools we have available to us.

Exactly. Let say AI makes us 100x more productive. What would happen?

1. 99% of devs will be out of work and the current work will be done by 1%.

2. More and better software will be developed. About 100x effort more.

I'm pretty confident the 2nd will happen. I already have lots of work that will take a long time, and more after that. 100x improvement on productivity would mean more, faster and better (because of more tests etc) output.

Re: AI-enhanced development makes me more ambitious with my projects

#157
I used it that way too to make a fast-and-dirty browser-based, old-school hack n' slash.

https://one-map.netlify.app/

An artist that I follow makes procedurally generated dungeons and villages and such.

https://watabou.github.io/

I noticed that he made it possible to export JSON and SVG files from his one-page dungeons. I decided that was enough to turn them into an actual mini-game. This app takes his procedurally generated static maps and makes them interactive.

There's nothing here I did not already know how to do, but I leaned on Chat GPT to generate code. e.g.

  Me: As the avatar moves around the map, it would be nice to center it. Possibly zoom in and such. I'm thinking that the `transform` attribute of the map could help.

  Chat GPT: Yes, you could use the transform attribute of the map to achieve this effect. The transform attribute allows you to apply various transformations to the SVG element, including scaling and translation.

   To center the avatar, you could use the translate transformation to shift the map so that the avatar is in the center of the viewport. For example, if the avatar is at position (x, y) on the map, you could center it using: 
To be honest, parsing through the SVG was just so tedious I would have moved on and not completed the project. As it was, a few nights. Boom! Little game toy thing.

Some other tasks I had for it that saved tons of time:

  * Given these  css rules below, can you combine them so that each is declared once?
  * Could you suggest a mysterious, dark, but not black color for the background of the dungeon map?
  * Could you give me a nice CSS dropshadow for the avatar?
  * Could you suggest several Google fonts that would be good for a dramatic Dungeon title/headline?  Please include links.

Re: AI-enhanced development makes me more ambitious with my projects

#158
post #27

Earlier quoted context omitted.

Our experience coding from scratch will have about as much validity as the experience of people who coded in assembly has today. It'll be a specialized skill with its own niche but without much value in the broader tech industry.

If that was all they were doing, sure.. but if they wrote language parsers, understood computing from the nand-gate up and worked their way up and down the stack over-and-over.. these types of guys will blow past all of us. The understanding you get from going up and down stacks is ridiculous.

Being a polymath is generally very advantageous.

Re: AI-enhanced development makes me more ambitious with my projects

#159
ChatGPT is great when the time consuming bit is googling the details of libraries, APIs, languages, algorithms, etc, and wiring them together in the right way for a small bit of functionality or some boilerplate. But when the time consuming bit is thinking about the best way to solve a problem / introduce new abstractions in the context of a larger system, it seems less useful. Maybe this will improve with the context size.

Re: AI-enhanced development makes me more ambitious with my projects

#160
Yesterday I asked chatgpt to compute the probability that two words of five letters both began with the same three letters and it could not solve it. It gave me about 10 different results but all were wrong, it seems the number five mislead the algorithm. Another question was computing the variance of the sum of 60 dices but omitting the results where the sum was greater than 200, the reasoning was incorrect in all cases, finally I suggested creating a simulation to estimate the variance in R, but it made an error about the var command in R suggesting that it has an option for the degree of freedom.
Post reply on HN