News for hackers. Stuff that matters.
Re:GitHub Copilot X: The AI-powered developer experience by hu3 on Wednesday March 22, 2023 @10:52AM (#35261958)
Scary. For the first time in my life, I feel like my expertise is at risk of being rendered obsolete. Maybe not this year, but the writing is on the wall.

Soon coding without an AI will feel as antiquated as delivering food by horse. And resistance is futile because markets will punish those who refuse.

We'll probably need less and less developers as AI advance. Just like we need less manual labor in farms today.

And coding is just one of the many applications where AI can replace brains.

Governments will have to ponder about what to do with a world of people who became inferior to machines at almost everything. Universal Basic Income?

It's amazing and terrifying at the same time.

Perhaps our first contact with an alien will be with one we created ourselves.

Re:GitHub Copilot X: The AI-powered developer experience by fn-mote on Wednesday March 22, 2023 @11:02AM (#35262128)
> For the first time in my life, I feel like my expertise is at risk of being rendered obsolete. Maybe not this year, but the writing is on the wall.

My expertise is in designing, understanding, and debugging complex systems. I will just apply my expertise to the AI.

Another angle: just think of how many mom and pop shops are still contracting out to get web sites, and not getting what we consider quality. Now maybe you're going to see a larger and larger gap between F500 companies and the rest (surely you do already), but playing out the consequences is a long and interesting story.

> coding without AI will feel as antiquated and inefficient [...]. And resistance is futile because markets will punish those who refuse.

Fortunately, the "punishment" by the market will just be reduced salaries. Move out of the Bay Area now. :)

> And coding is just one of the many applications where AI an replace brains.

And writing about those is interesting. With the development of DALL-E (etc), I would say coding isn't even the primary interesting application. (If "it's not AI", whatever... that's not the point.) Or not yet.

Re:GitHub Copilot X: The AI-powered developer experience by golergka on Wednesday March 22, 2023 @11:30AM (#35262584)
> Another angle: just think of how many mom and pop shops are still contracting out to get web sites

They used to, 10 to 15 years ago. Now they just hire a SMM specialist to set up their Instagram account. Why would they bother with a website?

Re:GitHub Copilot X: The AI-powered developer experience by waboremo on Wednesday March 22, 2023 @11:48AM (#35262915)
Even those places that do have their own website (as opposed to just relying on Facebook Pages and Google's information sidebar), they just use Squarespace or Shopify. Shopify in particular has also been incorporating a lot of AI into their tooling as well, reducing the need to hire copywriters, translators, etc.
Re:GitHub Copilot X: The AI-powered developer experience by teaearlgraycold on Wednesday March 22, 2023 @11:13AM (#35262273)
Nah, I’ll leave the bay once salaries drop. Not years before.
Re:GitHub Copilot X: The AI-powered developer experience by sharemywin on Wednesday March 22, 2023 @11:15AM (#35262306)
I wouldn't own housing there.
Re:GitHub Copilot X: The AI-powered developer experience by teaearlgraycold on Wednesday March 22, 2023 @11:25AM (#35262495)
I don’t!
Re:GitHub Copilot X: The AI-powered developer experience by tauntz on Wednesday March 22, 2023 @11:53AM (#35262985)
> My expertise is in designing, understanding, and debugging complex systems. I will just apply my expertise to the AI.

That might be true for you and me but imagine somebody fresh out from university - the job market for junior devs will totally collapse in the near-near future. And then what? Where do the mid-level engineers come from if there are no* junior roles? Where will the future senior level engineers come from? We're certainly living in interesting times..

*: There will be some artisanal companies who will pride themselves in having hand-written, AI-free code. These companies will be a minority and 90% of junior level software development jobs will disappear in no time.

Re:GitHub Copilot X: The AI-powered developer experience by immawizard on Wednesday March 22, 2023 @12:31PM (#35263530)
Mid level engineers will come from building something like GitHub, Netflix or Gmail over the weekend using powerful AI. The skills of current senior engineers will be much easier to gain since the feedback loop for software architecture and design will be down to hours instead of quarters. Being able to architect massive software systems well, will be expected from a new graduates.

The role of junior software developers will not be needed, just as we don’t need people doing multiplication by hand.

Re:GitHub Copilot X: The AI-powered developer experience by dgb23 on Wednesday March 22, 2023 @01:04PM (#35263999)
Senior developer aren't senior because they can type code very fast. They are senior because they can take on responsibilities and make decisions. A junior that types code very fast is a junior that types code very fast.
Re:GitHub Copilot X: The AI-powered developer experience by immawizard on Wednesday March 22, 2023 @01:39PM (#35264455)
I think we’re in agreement.

The key here is what are you taking responsibilities and decisions for. Senior engineers take decisions which consequences will be apparent in a year or two. If productivity increases to the point where features that take months to deliver take days, the decisions made _currently_ by senior engineers can be taken by fresh graduates.

There’re still going to be senior roles, but their scope will be much bigger and expertise sought will be different than what senior engineers do currently. No one will hire a senior engineer just because they can architect and deliver a scalable SaaS product on a short timeline.

Engineers who learn and adapt will be fine. Engineers who dropped learning the moment they graduated from college… not so much.

Re:GitHub Copilot X: The AI-powered developer experience by intelVISA on Wednesday March 22, 2023 @01:41PM (#35264490)
This seems the likely end result. We'll always need SWEs, of course, but gone will be the days of entire dev teams working toward a common product.

I suspect SWE may trend toward other ailing fields like law with individual devs working on entire 'cases' and it being very competitive; rather than the recent "20min Js tutorial on YT to SF startup" industry.

Re:GitHub Copilot X: The AI-powered developer experience by visarga on Wednesday March 22, 2023 @01:03PM (#35263973)
Mid level engineers will be surpassed two years later. And then seniors. But we'll still need humans in the loop, humans who understand.
Re:GitHub Copilot X: The AI-powered developer experience by nivenkos on Wednesday March 22, 2023 @11:33AM (#35262654)
UBI is a half-measure, we need democratic, communal control of industry.
Re:GitHub Copilot X: The AI-powered developer experience by czbond on Wednesday March 22, 2023 @12:03PM (#35263140)
Treasury just needs to "print those dollas" and make Musk even more so richest person in the world. I'm being serious.

Retaining the profits and placing them back as UBI could work.... although if we do that, the politicians will just find a tax or another project that needs the money before giving it to people.

Re:GitHub Copilot X: The AI-powered developer experience by what-no-tests on Wednesday March 22, 2023 @12:04PM (#35263154)
Agreed - we don't control our destiny as a people by buying what they're selling with free money we get as a door prize for existing.
Re:GitHub Copilot X: The AI-powered developer experience by skybrian on Wednesday March 22, 2023 @12:06PM (#35263199)
We do have that for many government projects and they often don’t go well, so I’m not sure what improvements you’re expecting?
Re:GitHub Copilot X: The AI-powered developer experience by 0xDEF on Wednesday March 22, 2023 @12:50PM (#35263794)
>we need democratic, communal control of industry

That is called socialism. I don't mind socialism and state owned enterprises as long as the force of market competition is still at play. That is the reason state owned enterprises don't suck in China. They have multiple SOEs within the same fields like car manufacturing and telecommunication competing against each other.

Re:GitHub Copilot X: The AI-powered developer experience by pleb_nz on Wednesday March 22, 2023 @01:17PM (#35264162)
The state doesn't own SOE in pure socialism, society and the workers do. This is the idea behind socialism and I don't think anywhere on the planet practises true socialism and instead it's morphed or combined where it is said to be used.
Re:GitHub Copilot X: The AI-powered developer experience by RivieraKid on Wednesday March 22, 2023 @11:15AM (#35262300)
> Governments will have to ponder about what to do with a world of people who became inferior to machines at almost everything. Universal Basic Income?

Inferior to machines at almost everything? Most jobs are safe, look at the 25 most common jobs in the US - cashier, food preparation worker, stocking associate, laborer, janitor, construction worker, bookkeeper, server, medical assistant, bartender, administrative assistant, marketing specialist, police officer, electrician, mechanic, etc.

In theory, if all developers are replaced, they should be able to find a different job. The problem is that the different job may have lower pay and status.

There's really no need for UBI.

Re:GitHub Copilot X: The AI-powered developer experience by realharo on Wednesday March 22, 2023 @11:41AM (#35262798)
If there is no more demand for developers for the kind of projects that most work on today, what do you think will be the next area that they'll all try to get into?

Automating all the other stuff that's left on the table.

Re:GitHub Copilot X: The AI-powered developer experience by waboremo on Wednesday March 22, 2023 @11:33AM (#35262651)
Do you genuinely believe machines can't handle most of those jobs with ease?

The only reason why they haven't already been replaced is because humans can be exceptionally cheap. Much easier to hire somebody to sit at a desk for $10/hour doing repetitive tasks than spend millions implementing systems across the board to do what they do (for now).

Re:GitHub Copilot X: The AI-powered developer experience by zeroonetwothree on Wednesday March 22, 2023 @11:58AM (#35263070)
While we have seem some huge leaps in AI, robotics is still far behind human capability. Things like food preparation are not anywhere close to being feasible right now.

So perhaps in the medium future humans will be "stuck" doing only physical tasks, while AIs take over everything that can be done virtually.

Re:GitHub Copilot X: The AI-powered developer experience by czbond on Wednesday March 22, 2023 @12:05PM (#35263183)
There is a display at Meow Wolf (absurdist immersive art experience) which paraphrased is "Thinking is for machines, labor is for humans". May turn to be true...
Re:GitHub Copilot X: The AI-powered developer experience by intelVISA on Wednesday March 22, 2023 @01:45PM (#35264543)
I'll reply to this once GPT4 provides a thought for me to borrow.
Re:GitHub Copilot X: The AI-powered developer experience by czbond on Wednesday March 22, 2023 @02:35PM (#35265269)
It should only cost you a few credits
Re:GitHub Copilot X: The AI-powered developer experience by qup on Wednesday March 22, 2023 @07:16PM (#35268413)
Just classify these images to help the algorithm and it will reward you with 1 token per dozen classifications!
Re:GitHub Copilot X: The AI-powered developer experience by waboremo on Wednesday March 22, 2023 @12:43PM (#35263717)
That is one of the common outcomes talked about. Certainly nothing more stable right now than being an Electrician or Machinist!

I will say though, that for a lot of those jobs human-replicating robotics isn't even necessary. We exaggerate the difficulty required because we're still assuming that the exact current system should stay in place. However, sticking within food preparation example, look at those elaborate cake vending machines found primarily in asian countries. There really isn't a reason why McDonalds can't do the same for some of their offerings, after all most of their stuff is frozen anyways.

Re:GitHub Copilot X: The AI-powered developer experience by RivieraKid on Wednesday March 22, 2023 @12:05PM (#35263176)
Yes, I believe machines can't handle most of the jobs I listed with ease.
Re:GitHub Copilot X: The AI-powered developer experience by waboremo on Wednesday March 22, 2023 @12:56PM (#35263882)
Cashiers, already replaced by self scanners, fewer and fewer of them are found in stores, even if you do get hired as a cashier you usually make horrible hours now. Food preparation is another one hit huge by automation, where it's become normal now for companies to announce automated locations (like McDonalds and Taco Bell did last year). Server, bartender, same thing applies. There have already been police officer bots being tested. I mean truly the list goes on, out of the ones you listed really only electrician, construction worker, and mechanic would be hardest to automate.
Re:GitHub Copilot X: The AI-powered developer experience by RivieraKid on Thursday March 23, 2023 @03:53AM (#35271650)
Cashiers - yes, the others no. Police office bots? Lol... Maybe you can replace some very specific case.
Re:GitHub Copilot X: The AI-powered developer experience by cidergal on Wednesday March 22, 2023 @11:01AM (#35262108)
There is something to say about how we will not push UBI until automation comes for our job.
Re:GitHub Copilot X: The AI-powered developer experience by sharemywin on Wednesday March 22, 2023 @11:14AM (#35262282)
I call it Universal Pet Income. Because at that point won't we just be AI's pets?

Not that I'm against it. just call it for what it is.

Re:GitHub Copilot X: The AI-powered developer experience by kapperchino on Wednesday March 22, 2023 @11:40AM (#35262780)
Not AI’s pets, but oligarch’s pets
Re:GitHub Copilot X: The AI-powered developer experience by RivieraKid on Wednesday March 22, 2023 @11:18AM (#35262347)
No, the AI will work for us, it's our pet.
Re:GitHub Copilot X: The AI-powered developer experience by mkaic on Wednesday March 22, 2023 @11:23AM (#35262448)
Why would something smarter than us be our pet?
Re:GitHub Copilot X: The AI-powered developer experience by RivieraKid on Wednesday March 22, 2023 @11:30AM (#35262578)
Because we will have full control over it. It will do what we ask. The AI has no motivation or personality, it's just a tool used by humans.
Re:GitHub Copilot X: The AI-powered developer experience by pferde on Wednesday March 22, 2023 @11:40AM (#35262784)
Maybe it's time to start differentiating between artificial intelligence and artificial consciousness? Surely I can't be the first one to think of this...
Re:GitHub Copilot X: The AI-powered developer experience by mkaic on Wednesday March 22, 2023 @12:06PM (#35263192)
I agree with the sentiment, but I also don't think such differentiation is possible, because we have no testable definition of consciousness. I genuinely look forward to the day we discover/understand the physical processes underlying our own consciousness, and how to detect/disprove it in machines, but until then... it's unfortunately unfalsifiable.
Re:GitHub Copilot X: The AI-powered developer experience by pferde on Thursday March 23, 2023 @06:56PM (#35282628)
Sure, but for now, we can have a crude differentiation between an AI - a tool which has to be given an objective to work towards, and an "AC" - an entity (an intentionally vague noun) which can devise its own objectives and motivations and work toward them.
Re:GitHub Copilot X: The AI-powered developer experience by cubefox on Wednesday March 22, 2023 @11:44AM (#35262865)
Agentic AIs are more useful than mere tools, therefore they will be built, and agents have motivation. The alignment problem is how to give them exactly the right motivation, such that they keep us as pets instead of killing or factory farming us. Like humans keep cats.
Re:GitHub Copilot X: The AI-powered developer experience by mkaic on Wednesday March 22, 2023 @12:08PM (#35263225)
And what if a human tells it to control other people? What if a rogue third party terrorist group replicates OpenAI's latest and greatest in the year 2030, but explicitly tasks it with hurting people instead of helping them?

I don't agree with "we will have full control over it." I'm more concerned about how much control it will have over us.

Re:GitHub Copilot X: The AI-powered developer experience by klibertp on Wednesday March 22, 2023 @02:31PM (#35265219)
That's completely backwards. Pets don't have to work. Try to convince my cat to do something useful. I'd switch places with him in heartbeat if could. If an AI, or anybody else for that matter, offers to make me their pet without me having to grow fur and losing the opposite thumb (but I still could learn to purr if needed), I'd be even more for it...
Re:GitHub Copilot X: The AI-powered developer experience by airstrike on Wednesday March 22, 2023 @11:22AM (#35262426)
> Perhaps our first contact with an alien will be with one we created ourselves.

Man, that is some food for thought. Beautifully put.

Re:GitHub Copilot X: The AI-powered developer experience by pastor_bob on Wednesday March 22, 2023 @11:25AM (#35262493)
>We'll probably need less and less developers as AI advance.

We've always progressed to needing fewer developers to do what we currently do. Companies like Squarespace, Shopify, AWS, etc have allowed people to do more with less. Long gone are the days an artist would hire a developer to build them a website they could host a portfolio on.

But growth has filled in the voids with more ambitious work.

It's daunting, but you can also look at this from the opposite perspective. Why work for someone on a 5 person team, when you can try and run the same business with 1 person (i.e. you).

The people who should be afraid are actually those that run companies like Meta and Twitter. Better developer productivity means competitors can chomp at their heels with much smaller teams.

Re:GitHub Copilot X: The AI-powered developer experience by agentultra on Wednesday March 22, 2023 @11:44AM (#35262845)
It feels absurd.

A Chat-GPT4 model will generate unit tests? Hallelujah! I hate writing tests! Yay!

Except how do you know it's generating the right tests? Can it explain its reasoning? Unit tests are a weak form of automated specification. Why are we inferring our specifications from examples to begin with? Who is going to walk through the reasoning and verify these are the right tests and make sense and specify the correct properties? Can Chat-GPT discover properties and prove theorems?

We used to do this in code review where humans could explain their reasoning. Now we have Chat-GPT4 which will give you a plausible-sounding answer that is completely wrong and makes no sense. We have to read every line it generates and make sure it contains no errors, is properly specified, makes sense, etc... something we're extremely ill-equipped to do.

The problem of programming, for me, hasn't been about how much code I write or how quickly I write it. It has always been about solving the right problems with elegant solutions. The code itself is an artifact of the real work.

CoPilot just doesn't really help here. It doesn't understand specifications and doesn't do any reasoning. It can't take a specification, generate a program, discover new abstractions that make the solution more elegant, and explain its reasoning. It can generate a heck of a lot of code though! Wow! Is it the right code? Maybe!

But that's what we get with humans, right? No!

Humans can explain their reasoning.

Re:GitHub Copilot X: The AI-powered developer experience by IanCal on Wednesday March 22, 2023 @12:33PM (#35263567)
Just a note I think it's 3.5 for the code work. 4 would probably be prohibitively expensive to run and they carefully mention that they use 4 for the PRs and a few other bits but not the code gen - there they just talk about chatgpt. I'd love to be wrong about this.
Re:GitHub Copilot X: The AI-powered developer experience by waboremo on Wednesday March 22, 2023 @12:21PM (#35263414)
I'm not sure this works out in the long run. We're currently using extremely generalized tools here, it's difficult for it to establish any "reasoning" when it does not have a "history" to rely on so to speak. Which is where our reasoning stems from, history. We opt for Solution B because we previously tested Solution A in another similar project.

I just don't see this as being a barrier for too long. Not when more companies opt into training data internally.

Re:GitHub Copilot X: The AI-powered developer experience by geraneum on Wednesday March 22, 2023 @12:57PM (#35263901)
That won't happen only using text. Language does not capture the full spectrum of thought which is what is at work in case of an expert. Companies training their custom models or increasing the model size, etc. won't change this fundamentally but it might help in some aspects. We need models that can observe/capture the "history" from everything else (i.e. physical world) in addition to text. Or perhaps mix LLMs with other models in order for our models to posses something we call "common sense". This common sense is needed when you transition from "Solution B" to "because we previously tested Solution A in another similar project". There are a LOT going on with this transition between A and B that might not be apparent to you.

But in general I agree with the basic premise of what you say in that, it will eventually happen.

Re:GitHub Copilot X: The AI-powered developer experience by wfeefwfwe on Wednesday March 22, 2023 @12:29PM (#35263509)
this all sounds very plausible and convincing until this part:

> But that's what we get with humans, right? No!

> Humans can explain their reasoning.

can you explain your reasoning as to why a language model would never be able to match a human's ability to explain its reasoning?

i've met a lot of humans that are quite bad at this, and i will likely never know for sure why they wrote the unit tests that they wrote unless i rewrite those tests to myself.

but if you have them explain their reasoning enough, and if that reasoning is plausible enough, and if the relationship between that reasoning and what they did is strong enough, consistently enough — you start to trust them.

you don't trust gpt4 to write code for you. which makes sense. but that doesn't mean as much as you think it means, i think.

Re:GitHub Copilot X: The AI-powered developer experience by havelhovel on Wednesday March 22, 2023 @12:52PM (#35263836)
> can you explain your reasoning as to why a language model would never be able to match a human's ability to explain its reasoning?

It’s a language model, not a reasoning model. A lot of its training data happens to be logical, so it sounds logical, but it’s still just acting on probability. Thinking it’s “explaining” anything it produces is a mistake.

Re:GitHub Copilot X: The AI-powered developer experience by deeviant on Wednesday March 22, 2023 @12:19PM (#35263383)
Based on your statement, I feel you haven't used GPT based code much. The code it generates is generally beautifully organized and commented.

Sure, it can be flat out wrong, but it is always eminently readable. Self-documentating code with clean comments, far above the standard I see on average human code. That's about as good as "explaining it's reasoning" as you get.

Also, you can literally ask chatGPT to explain the code, line by the line, and it will. So there's that.

Is it ready now? Certainly not if it will be expected to the do the entire job of a SWE. But it is already extremely useful, especially to less experienced devs as both a production for specific tasks and as learning tool. And it will only get better.

Re:GitHub Copilot X: The AI-powered developer experience by ogogmad on Wednesday March 22, 2023 @12:43PM (#35263708)
Why is it absurd? If it writes readable code, you can check it. Writing the first version often takes a long time, so this is clearly a breakthrough.
Re:GitHub Copilot X: The AI-powered developer experience by joshvm on Wednesday March 22, 2023 @01:06PM (#35264019)
Then there's a vicious circle. You need to have technical expertise to evaluate whether the code from these models is fit for purpose. Until these models get sufficiently reliable that you can use them without worrying if the results are correct then you still need developers. This may be much better than Stack Overflow, but I imagine it will still suffer from the same problems with regard to copying "answer" code.

I would give an answer from ChatGPT where it confidently told me that I should evaluate an object detection model by ranking matches using negative IoU (and it indeed generated code to do it and gave a confident explanation of how this was normal in computer vision, but it was completely backwards).

Re:GitHub Copilot X: The AI-powered developer experience by bhj on Wednesday March 22, 2023 @01:18PM (#35264176)
I would much rather use it as a code review tool than become the code review tool. I suspect the latter will happen at a lot of companies, though.
Re:GitHub Copilot X: The AI-powered developer experience by sh4rks on Wednesday March 22, 2023 @01:31PM (#35264345)
Why? When the latter is just as effective but also much quicker?
Re:GitHub Copilot X: The AI-powered developer experience by jeremyjh on Wednesday March 22, 2023 @03:16PM (#35265855)
It isn't just as effective for me. No matter how much I'd like to, I can't review code with the same thoughtfulness and thoroughness that I apply when I write it. I know the same is true for the people who have reviewed my PRs as well, but maybe its different for others. I do use Copilot but mostly it only generates one liners for me that save a little time.
Re:GitHub Copilot X: The AI-powered developer experience by agentultra on Wednesday March 22, 2023 @04:25PM (#35266620)
Empirical studies on large-scale projects employing informal code review (the study I'm talking about monitored the Qt project repositories) suggest that humans have a very low impact on error rates. Reviewing more than ~200LOC every couple of hours makes the effect disappear.

So you're not alone. You can even point to the plethora of "find the undefined behaviour," tests: humans are really bad at finding errors in code.

Re:GitHub Copilot X: The AI-powered developer experience by steve_adams_86 on Wednesday March 22, 2023 @01:19PM (#35264178)
> Except how do you know it's generating the right tests? Can it explain its reasoning?

In my own project I've got it generating solutions to errors, and if possible, it also generates simple unit tests to validate the fix. What I haven't implemented yet (and likely won't, because Copilot does it now) but I have tested is generating a pull request describing the fix, why it works, and the same for the tests.

> Now we have Chat-GPT4 which will give you a plausible-sounding answer that is completely wrong and makes no sense.

With limited scopes, it works quite well. For example, something fails because a DOM reference is undefined in a React component. GPT will add a condition to assert that the reference is present, then generate a simple test which mounts the component with stubbed references that are present or undefined using jsdom. The tests makes sense. A quick scan shows they're sensible, and upon running them, they do work.

I began adding a recursive feature which would automatically debug issues with its own solutions, but it can get a little weird in some cases. Likely due to bad prompting – I haven't dedicated enough time to it. But it can also make it so tests with errors are revised and corrected so they will at least run.

All of that with a coherent explanation of what was changed, why, tests, and why they assert the fix is valid.

Is it perfect? No. Could it be useful? Absolutely. I'm a little sad Copilot makes my project redundant because it was actually very exciting to build. There is real potential here. I started the project in order to learn and validate GPT, and I'm very convinced it has genuine utility and massive potential.

> CoPilot just doesn't really help here. It doesn't understand specifications and doesn't do any reasoning. It can't take a specification, generate a program, discover new abstractions that make the solution more elegant, and explain its reasoning. It can generate a heck of a lot of code though! Wow! Is it the right code? Maybe!

I think the key is limited scopes. Like with the React component example, the solution is small, easy to reason about, and tedious to resolve yourself. I understand why it doesn't work, I get the error, and spinning up an entire branch and PR to clean up the mistake is a bad use of my time. I don't want Copilot/AI to work magic, but I'm okay with it resolving minor mistakes and misuses of languages and libraries here and there.

I do think it will grow from here to do more and actually be good at it, though.

Re:GitHub Copilot X: The AI-powered developer experience by adambard on Wednesday March 22, 2023 @01:30PM (#35264332)
Copilot user here.

Copilot (the existing gpt-3 one) definitely helps at writing unit tests. Yeah, sometimes it doesn't nail it, but one thing it can do reliably is to repeat a pattern, and I don't know about you, but my unit tests tend to repeat the same pattern (with some tweaks to test this-or-that-case). Quite often it infers the correct change from the name I gave the test method, but even if it doesn't it'll write a 90% correct case for me. I imagine the GPT-4 version will do more of the same with better results.

It cannot replace reasoning, but it can augment it (by suggesting patterns and implementations from its latent space that I hadn't thought of), and worst case it can replace quite a bit of typing.

Long-term, it remains to be seen how far bigger/better/stronger LLMs can push the illusion of rationality. In many fields, they may be able to simply build their ability to pattern-match to beyond some threshold of usefulness. Perhaps (some subset of) programming will be one of them.

Re:GitHub Copilot X: The AI-powered developer experience by Xelynega on Wednesday March 22, 2023 @01:44PM (#35264538)
> one thing it can do reliably is repeat a pattern

Isn't this something we've built into every modern language(and arguably the entire point of languages)? If you have multiple pieces of code that share code with tweaks(to test this or that case for example), shouldn't you parameterize the bulk of the code instead of getting autocomplete to parameterize it for you and dump it into your source file multiple times?

Re:GitHub Copilot X: The AI-powered developer experience by thornewolf on Wednesday March 22, 2023 @02:02PM (#35264818)
Testing best practices have the opposite philosophy for the most part. Avoid abstraction as much as possible. Do repeat yourself. Because a bug in tests is insidious, so you want to minimize that. One of the best ways to minimize bugs is to explicitly avoid abstraction.
Re:GitHub Copilot X: The AI-powered developer experience by adambard on Wednesday March 22, 2023 @01:59PM (#35264765)
Oh shit, you're right, I forgot about loops. Guess I'll go uninstall copilot now.
Re:GitHub Copilot X: The AI-powered developer experience by simonw on Wednesday March 22, 2023 @02:44PM (#35265430)
Copilot helps me write parametrized unit tests. You might find this example useful: https://til.simonwillison.net/gpt3/writing-test-with-copilot
Re:GitHub Copilot X: The AI-powered developer experience by SergeAx on Wednesday March 22, 2023 @01:53PM (#35264665)
I have a "Generate... -> Test for function" in my JetBrais IDE out of the box for several years, and it takes care of boilerplate pretty well.
Re:GitHub Copilot X: The AI-powered developer experience by adambard on Wednesday March 22, 2023 @02:06PM (#35264866)
That just generated an empty test function in a convenient place for me. I'm not just talking about boilerplate, it's definitely a more... organic-feeling sort of pattern matching. In fact, one of the things I find most interesting about it is the sort of mistakes it makes, like generating wrong field names (as if it simply took a guess). This is the sort of thing that I've grown to expect the deterministic tooling of IDEs to get right, so it always surprises me a bit.

By the same token, often it takes a stab at generating code based on something's name (plus whatever context it's looking at) and does a better job than the IDE could, because the IDE just sees datatypes and code structure. It really does feel like a complementary tool.

Re:GitHub Copilot X: The AI-powered developer experience by rat9988 on Wednesday March 22, 2023 @04:43PM (#35266810)
You haven't tested how powerful copilot is, have you?
Re:GitHub Copilot X: The AI-powered developer experience by bavila on Wednesday March 22, 2023 @01:51PM (#35264632)
> Can it explain its reasoning?

Yes, actually, it can.

Re:GitHub Copilot X: The AI-powered developer experience by jeremyjh on Wednesday March 22, 2023 @03:19PM (#35265878)
That's interesting, considering the fact that it doesn't do any reasoning. Sure, it can generate plausible sounding explanations, but it generates those just like it generates everything: one token at a time, based on the expected probability of that token appearing next if this text were found in the wild.
Re:GitHub Copilot X: The AI-powered developer experience by soiler on Wednesday March 22, 2023 @11:54AM (#35263012)
> We'll probably need less and less developers as AI advance. Just like we need less manual labor in farms today.

When my team gets crunched, it's not usually because we can't write the code fast enough. It's because of product requirements (changing, needing to be fleshed out, being unrealistic, being understood properly by QA, being adapted to the realities of reasonable code, not existing, etc.).

On top of that, needing fewer workers to do X work !== getting X work done cheaper. Quite often, it means getting 2X, 3X, 10X work done. As an overall trend, modern society has increased worker productivity dramatically over the last few decades, yet many work as many or more hours than they used to. We could get the same results with fewer workers, or we could make them work more. We know what 99% of CEOs will choose.

Of course, maybe it will reduce developer jobs. I'm not ruling that out entirely. But when (not if) we create an alien intelligence that can wipe out our industry, we may have bigger concerns than steady employment.

Re:GitHub Copilot X: The AI-powered developer experience by goldfeld on Wednesday March 22, 2023 @12:03PM (#35263153)
Almost a decade ago I jumped ship as a programmer for several reasons, and since '18 I am definitely not coding at all. Friends and family have wondered much at my path and letting go of what has become the one promised career for ever larger parts of the population, and making my inroads into the arts and literature, finally settling a bit with the profession of writing on many capacities. Now I look back more gadly than before, as I hadn't really imagined that coders would be on the very frontline of impacted jobs. I think the 10x will become a sad concrete thing, with salaries crunching and a team lead expected to take up the work of teams being fired, resorting to AI minions. It's a crazy tables have turned situation.

So that really I'm writing with and about AI[0] to get the best of my technical and literary backgrounds, and to reach good audiences.

Meanwhile writing is safer because contrary to code, a personality and a personal life will ever be valued in flesh and blood writers. And how could an AI, ever write love poems with a soul if it has not opportunities for falling desperately in love, suffering, changing wholesale because of an experience like that? It could emulate it. But readers want to read real sufferers, mortals who get old and lose their looks and so forth, not little gods of sillicon.

[0]: https://generativereview.substack.com/p/the-generative-revie...

Re:GitHub Copilot X: The AI-powered developer experience by substation13 on Wednesday March 22, 2023 @12:33PM (#35263571)
I think replacing a SWE with AI means we have reached AGI levels.

However, GPT 4, which is amazing but not able to do what a SWE does, is already making concept artists, voice actors and content marketers obsolete. The arts are far more susceptible to this technology.

Anyone who thinks SWE is generating Python snippets doesn't really understand the role.

Re:GitHub Copilot X: The AI-powered developer experience by causi on Wednesday March 22, 2023 @12:10PM (#35263253)
I think the 10x will become a sad concrete things, with salaries crunching and a team lead expected to take up the work of teams being fired, resorting to AI minions. It's a crazy tables have turned situation.

I don't really see that it's sad. Imagine truly democratized programming. Not like how the refrigerator did the ice man, but in how Youtube and smartphone cameras did video production. A rising tide that lifts all boats and can give absolutely anyone a taste of what they could achieve with a little effort.

Re:GitHub Copilot X: The AI-powered developer experience by naillo on Wednesday March 22, 2023 @12:13PM (#35263311)
HNs version of ads
Re:GitHub Copilot X: The AI-powered developer experience by goldfeld on Wednesday March 22, 2023 @12:25PM (#35263457)
Point taken, though I have long thought the ads were officially the hiring and also the Launch HNs that are now popping left and right from YC W23, and every single one naturally abou ML.
Re:GitHub Copilot X: The AI-powered developer experience by Arkhaine_kupo on Wednesday March 22, 2023 @12:06PM (#35263197)
People said the same thing about Excel in the 80s and 90s. There are more accountants now than then.

There might be more programmers out of this developments than before. It just will lower the barrier of entry, and increase productivity. Like most tools

Re:GitHub Copilot X: The AI-powered developer experience by devrob on Wednesday March 22, 2023 @12:34PM (#35263578)
This would be the contrarian perspective, and it's an interesting thought to consider. If memory serves, I think Marc A points out in an old Youtube conference video how most new technologies follow the Promethean myth in their relationship to society.

Funny enough your observation of

> "There are more accountants now than then."

could be extrapolated from in two ways

The optimistic perspective might suppose technological development gives rise to new marketplace adaptations and creation of new and tangential jobs. For example, Facebook / Social Networks / Search creating new roles like: Influencers, Social Media Managers, Search Engine Optimization, et cetera.

For the pessimist perspective, I think you could suppose the "end state" of all technological progress in human societies is, eventually, an oligopoly of two industries: bureaucracy (legal) and politics (marketing).

Re:GitHub Copilot X: The AI-powered developer experience by pleb_nz on Wednesday March 22, 2023 @01:11PM (#35264082)
Companies are there to make money. If the same job currently dinner by 5 people can now be done by 3, and it means more profit for shareholders, what do you think shareholder will want?

While profit is the main driver, it'll mean smaller teams

Not today, not with current tech, maybe in the near future though

Re:GitHub Copilot X: The AI-powered developer experience by Arkhaine_kupo on Wednesday March 22, 2023 @01:37PM (#35264442)
Well productivity is up 240% since the 1950s. So due to a single person being more efficient than 2 in 1950 and the 43.5 million workforce we can extrapolate that no more than 20 million workers will be needed nowadays.

Except in 2020 there were 152 million employed americans, with a productivity 2.4x higher than 1950s, or a cummulative workforce of 365 million 1950 americans working. And somehow they all had stuf to do and work on

Re:GitHub Copilot X: The AI-powered developer experience by pleb_nz on Wednesday March 22, 2023 @02:50PM (#35265521)
I dont think that's a fair and direct comparison tbh. There's a lot of new industries now that people have diverged into and population growth has exploded which I hope for the sake of the planet and human kind is going to slow , at least until we're in a better position to manage bigger populations without killing the planet and other life.

I'll be happy if I'm wrong, but are you confident enough to bet that there won't be less need for general developers and engineers and not have a plan in case? Personally I would be looking at my options In case I needed to pivot and not waiting 5o find out.

Re:GitHub Copilot X: The AI-powered developer experience by Arkhaine_kupo on Wednesday March 22, 2023 @04:22PM (#35266589)
> There's a lot of new industries now

And if this tech is really revolutionary there won't be new industries? Have we peaked?

> but are you confident enough to bet that there won't be less need for general developers and engineers and not have a plan in case?

I am confident there will not be a lack of work. Whether the roles are similar is a different question. Actuaries and accountants look very different now to before excel was common place. Web developers were not a thing before the internet.

If the revolution comes, and jobs are no longer needed, perhpas there is an industry for prompt engineers. Or model fine tunning experts. Dev ops roles to connect super computers to Modelling APIs. Who knows, but the skills of a decent Engineer are on problem solving, on learning new ideas, on applying problem solving laterally those are such broad skills that is hard for a job market to exist without needing them.

Re:GitHub Copilot X: The AI-powered developer experience by istjohn on Wednesday March 22, 2023 @01:28PM (#35264297)
But just like building more roads induces more demand by making driving more attractive, this will lower the cost of custom software development and create new demand. Perhaps one day soon it will be affordable for every company of every size to have a fully custom ERP solution instead of shoehorning their business processes into Salesforce or the like. Perhaps every family will have a custom app managing their household's smart home appliances, childrens' allowances, autonomous vehicles, home maintenance, bill payment, child homework tracking, etc. in an integrated system.
Re:GitHub Copilot X: The AI-powered developer experience by pleb_nz on Wednesday March 22, 2023 @02:51PM (#35265532)
Are you saying don't worry, don't have a fallback plan, everything will be honky dory?
Re:GitHub Copilot X: The AI-powered developer experience by nemo44x on Wednesday March 22, 2023 @12:33PM (#35263577)
> We'll probably need less and less developers as AI advance. Just like we need less manual labor in farms today.

I don't think that's right. Farms may have less manual labor but there's man, many times more people building farming tools, software, tech, etc.

What will happen is you will be able to do more with your time. We are limited by how many people we can actually hire and the output of those people. Now each person can output more and more. So much that we want to build but we don't is because we are limited by output. We need to prioritize certain things for everything has an opportunity cost. Now we will be able to burn down more things more quickly.

Also the math. Imagine developers just became about 30% more efficient. I want MORE of them now as my money is better spent! If my competitor downsizes to remain at their current capacity then I will crush them because I want 30% MORE developers that are coding 30% more efficiently allowing me to release 40% more things for the same money! I crush my competition then and they know this so they have to keep up as it's an arms race.

Re:GitHub Copilot X: The AI-powered developer experience by gjulianm on Wednesday March 22, 2023 @12:35PM (#35263598)
Honestly, this just seems like another tool. An amazing one, yes, but a tool nevertheless.

> Soon coding without an AI will feel as antiquated as delivering food by horse. And resistance is futile because markets will punish those who refuse.

The same way coding without Internet feels antiquated, or coding without autocomplete, or coding without fast compilation times...

If anything, progression of tools has shown several things:

- That the more tools we have, the faster we can work and iterate, the more value we can deliver in less time.

- That IT work doesn't ever end. Tons of IT jobs exist only to support IT itself. The arrival of AWS made sysadmins "obsolete" but on the other hand created the need for SRE and DevOps engineers.

- The existence of tools that let "laypeople" do IT work do not really delete those jobs. Tons of "nocode" tools exist so that people can build their own websites, applications, etc. But designers, coders still exist.

- People still stay behind. Tons of companies still run on a crappy NFS that's hosted in the IT guy closet. Others don't have a webpage and use an @hotmail.com address for email (if they even have email!). The market punishes, yeah, but not that hard.

Re:GitHub Copilot X: The AI-powered developer experience by CalinR2 on Wednesday March 22, 2023 @01:40PM (#35264479)
Screenshooting both comments for a guaranteed agedlikemilk
Re:GitHub Copilot X: The AI-powered developer experience by gjulianm on Thursday March 23, 2023 @05:46AM (#35272265)
Thank you for your insightful comment.
Re:GitHub Copilot X: The AI-powered developer experience by bwanab on Wednesday March 22, 2023 @12:44PM (#35263721)
Historically, this response doesn't make a lot of sense. Yes, farm labor became redundant, but it became redundant because of machines that had to be built, maintained and repaired. People who would have been on the farm their whole lives moved to the city and got jobs that paid well and lived possibly better lives as a result.
Re:GitHub Copilot X: The AI-powered developer experience by nbar1 on Wednesday March 22, 2023 @12:50PM (#35263798)
> Governments will have to ponder about what to do with a world of people who became inferior to machines at almost everything. Universal Basic Income?

Try mass culling

Re:GitHub Copilot X: The AI-powered developer experience by globular-toast on Wednesday March 22, 2023 @12:56PM (#35263876)
Good. I'd rather not have to work forever. The whole point of this job is that I'm lazy. I don't want to do any work so I make machines do it for me. Why are people so attached to having to work?
Re:GitHub Copilot X: The AI-powered developer experience by hatefulmoron on Wednesday March 22, 2023 @04:08PM (#35266442)
I'm in my 20s, I'm a bit sad to think of the possibility that I've missed the boat of human ingenuity. It's not like if AI puts me out of work I'll be free to create works of art -- GPT-12 will do that much better than me, too.

Maybe this sounds naive to you, but if I'm not good for anything, what am I supposed to be doing? How should I see myself?

Re:GitHub Copilot X: The AI-powered developer experience by eggsmediumrare on Wednesday March 22, 2023 @05:13PM (#35267162)
I'm not attached to having to work, I'm attached to paying my mortgage and buying groceries.
Re:GitHub Copilot X: The AI-powered developer experience by visarga on Wednesday March 22, 2023 @01:00PM (#35263939)
> We'll probably need less and less developers as AI advance. Just like we need less manual labor in farms today.

There will be more developing than ever, but humans will sit on a different place in the stack. We'll be more like team managers. Stable Diffusion can make pretty pictures by itself, but only when a human directs it then it can have value.

Re:GitHub Copilot X: The AI-powered developer experience by pleb_nz on Wednesday March 22, 2023 @01:07PM (#35264031)
The point is you'll need less humans to do the same work. Possible far less, maybe it'll be a smaller ratio to start with but eventually that ratio will grow.

Most organizations are there to make profit for shareholders, if more profit can be obtained through less hires while still meeting money making goals the you can bet your bottom dollar they will hire less people where possible.

People early in their careers should be ready for this as one day there may be far less times available to them in this field.

Re:GitHub Copilot X: The AI-powered developer experience by wilsonnb3 on Wednesday March 22, 2023 @04:51PM (#35266924)
Literally every programming advancement from punch cards to now has made you need less people to do the same amount of work but we have more programmers working today than ever before.

Your outlook sounds plausible in a vacuum but doesn’t match reality.

Re:GitHub Copilot X: The AI-powered developer experience by pleb_nz on Thursday March 23, 2023 @09:29AM (#35274459)
Happy if it is it different for sure. And It's not quite there yet, but if it keeps going the way it is this will be the first time a tool will have significant impact and a single person can do the work of 5 in a lot of industries and domains, not just software.

This might be a bigger evolution in the coming iterations and might be the biggest thing since electricity and the internet.

Pretty exciting, but I would also have options or be deep in the thick of it if I were younger.

Re:GitHub Copilot X: The AI-powered developer experience by brachika on Wednesday March 22, 2023 @01:03PM (#35263972)
I remember reading Ray Kurzweil's book 'The Singularity is Near' (a book with bold predictions about human development and future) and thinking this guy is nuts, we are decades if not centuries away from these predictions. Well, now I don't feel so comfortable.
Re:GitHub Copilot X: The AI-powered developer experience by substation13 on Wednesday March 22, 2023 @01:08PM (#35264043)
The book was way over optimistic but many of his predictions are coming true, a few decades late.

I might have to revisit it!

Re:GitHub Copilot X: The AI-powered developer experience by mrinterweb on Wednesday March 22, 2023 @01:26PM (#35264275)
I use copilot, and I feel that it is useful about 40% of the time. Most of the time the suggestions are not what I'm going for, sometime the suggestions are close or help me think through the solution easier, and occasionally spot on and I can tab complete the code.

I've noticed that the suggestion quality/usefulness varies considerably between projects and programming languages. For a self-contained bash script, it is incredibly useful. For a rails application, less so.

Re:GitHub Copilot X: The AI-powered developer experience by mrinterweb on Wednesday March 22, 2023 @03:44PM (#35266175)
Still most of the time, the suggestions are not helpful, and it takes time to look at the suggestion and dismiss it. So I'm usually torn between is this useful or distracting. Curiosity keeps it around, but I keep getting closer to dropping it as the novelty wears.
Re:GitHub Copilot X: The AI-powered developer experience by idkwhoiam on Wednesday March 22, 2023 @01:33PM (#35264379)
Translating ideas into code has never been the bottle neck in software development. Well, not in web dev anyways. Developers spend very little time writing code compared to reading. You still need all your expertise to guide copilot & evaluate its suggestions.

I see copilot as just another productivity tool. Combined with ChatGPT it may save a few roundtrips to Stack Overflow too.

Re:GitHub Copilot X: The AI-powered developer experience by danwee on Wednesday March 22, 2023 @01:37PM (#35264441)
I have the opposite feeling by watching their mini video demos. All I see is: engineers blindly commiting and pushing what copilots spits at them. Not only that, also the PRs descriptions/comments will all be one TAB+enter away. That means many things will go wrong and more engineering time will be spent reviewing nice-looking code good that only does that it's supposed to do in 80% of the cases. Meaning, it's gonna be hard to debug those 20% remaining cases.

Besides, coding is probably the least of my problems. Dealing with people is harder. AI can help there as well, but ultimately people like to interact with people (see the whole trend about RTO)... we cannot stand each other faces via Zoom => we are not gonna stand talking to an AI.

Re:GitHub Copilot X: The AI-powered developer experience by snickerbockers on Wednesday March 22, 2023 @01:42PM (#35264500)
>Scary. For the first time in my life, I feel like my expertise is at risk of being rendered obsolete. Maybe not this year, but the writing is on the wall.

I'm extremely skeptical about this happening. I haven't seen any evidence that GPT is capable of creating something new or even thinking logically. What's going to happen if you ask it to create something that isn't like anything in its training set?

My experience is that GPT just makes shit up that looks plausible at a glance when it doesn't have an answer instead of just admitting that it doesn't know; this is obviously very dangerous when it's supposed to be writing computer programs. That OpenAI hasn't made any progress towards fixing this makes me wonder if it's even possible for the GPT to understand that sometimes it doesn't understand. At the very least it must be a non-trivial problem.

Re:GitHub Copilot X: The AI-powered developer experience by ctoth on Wednesday March 22, 2023 @02:14PM (#35264977)
Counterpoint: how often do you as a developer create something totally novel that has never been built before?
Re:GitHub Copilot X: The AI-powered developer experience by snickerbockers on Wednesday March 22, 2023 @02:48PM (#35265480)
I have to make new things pretty often. If you step outside of the high-level cloud/webdev stuff that most people seem to be obsessed with these days, there are a lot of non-trivial problems being solved in lower-level software such as device drivers, kernels, and compilers.

EDIT: i misinterpreted what you were saying, initially i thought you were asking how i make new things, not how often i make new things. my original reply is below.

weelll, i think about it real hard and do research? Not sure what your point is, but I definitely don't solve these problems by trying to find somebody else's solution to copy, or just dumping a bunch of C code that doesn't do anything and calling it a day like GPT would.

Re:GitHub Copilot X: The AI-powered developer experience by runald on Wednesday March 22, 2023 @10:37PM (#35269845)
I'm not sure what you mean by novel, but every development project will always have requirements that are unique to solve their own respective business/domain problems. These unique, specialized requirements are further compounded by cultural and personal quirks that human stakeholders demand, making developments project essentially "novel". Current language models fail even with simple minor variations on existing problems that it hasn't seen before, so until then, current AI's won't be replacing any humans when it comes to actual problem solving.

Also, it was recently proven by experts that aliens are living on the earth's core, they breed spherical cows and flying pigs.

Re:GitHub Copilot X: The AI-powered developer experience by tropicalbeach on Thursday March 23, 2023 @12:49AM (#35270659)
I can guarantee for most people 95% of what anyone is doing has been done before. AI can do all that in no time at all. Give it a few years.
Re:GitHub Copilot X: The AI-powered developer experience by runald on Thursday March 23, 2023 @03:53AM (#35271647)
Sure, most of what we're doing have been doing has already been done before, but that doesn't mean general intelligence is deprecated. It's not like we just keep repeating actions over and over without thought. For each problem we have, we adapt them and make changes to fit our specific context and needs. As long as humans and nature are involved, there's no such thing as a generalized solution that can be mechanistically applied to a general problem. I speak in the context software development and other activities that are creative or requires human judgment.

But yeah, I somewhat agree with you that a lot of the grunt work are going to be affected, jobs that are by nature purely mechanical, algorithmic or just plain parroting facts. But even then, I still highly doubt language models (today or with the following years) would deprecate those jobs. In the end, it's still a language model that is incapable of thought or reasoning.

If there one's thing I'm optimistic about the recent advances in AI, it's that more jobs will now be creative in nature. Hopefully gone are the days where schools are just mere factories for producing factoid parrots, where intelligence is measured by the size of one's esophagus to regurgitate.

Re:GitHub Copilot X: The AI-powered developer experience by SergeAx on Wednesday March 22, 2023 @01:50PM (#35264627)
We already had several tectonic shifts in software engineering in the last ~50 years, and there was never a consequential redice if engineering workforce, only otherwise.
Re:GitHub Copilot X: The AI-powered developer experience by layer8 on Wednesday March 22, 2023 @01:55PM (#35264696)
Maybe you need to get yourself into an application domain with more bespoke protocols and tooling, and domain-specific expertise, that aren’t public on the internet and that AI therefore doesn’t have much of an idea of. At least at this point, AI is only of little help in my daily work, unfortunately, because I’d have to first explain it orders of magnitude more context than fits into its token buffer.
Re:GitHub Copilot X: The AI-powered developer experience by kiviuq on Wednesday March 22, 2023 @02:05PM (#35264851)
Porn?

(scnr)

Re:GitHub Copilot X: The AI-powered developer experience by ChancyChance on Wednesday March 22, 2023 @02:15PM (#35264987)
Here's a simple way to tell if your expertise is at risk:

- If you can get more done by working more hours, your job is at risk.

When I was a programmer for most of past life, this was this case. Now I've got multiple decades under my belt and am a h/w and system architect. I can't get more done by grinding. My job depends on sharing information with other people, that have their own schedules, resource dependencies, supply chains, and pricing, and arriving at best fit solutions to move complex projects forward.

I think if you want to protect yourself from being replaced by AI, you need to be part of a larger network where the challenges are more about synthesizing information than grinding.

My $0.02.

Re:GitHub Copilot X: The AI-powered developer experience by lugu on Wednesday March 22, 2023 @02:27PM (#35265172)
I feel you, in the same time we have been through so many changes. Some people still prefer Vim (at least i do) over full fledge IDE with refactoring helpers. Think of stack overflow, not a habit for everyone. Using macros/snippet to generate code, not that popular. Iterative development in a debugger (think Smalltalk), didn't make printf obsolete. The bottom line is: all software is legacy. Deleting code is the preferred way to debug. Finding the correct abstraction or most simple way to get what you need takes more than the ability to dump code into a computer. Free software didn't ruin the profession, quite the opposite.
Re:GitHub Copilot X: The AI-powered developer experience by randomdata on Wednesday March 22, 2023 @02:31PM (#35265226)
> Just like we need less manual labor in farms today.

Back of the napkin suggests we have approximately the same amount of manual labor in farms today. The difference is that the same amount of labor today is able to feed a much larger population.

This may simply mean much more software written, not fewer developers.

Re:GitHub Copilot X: The AI-powered developer experience by ra1231963 on Wednesday March 22, 2023 @02:36PM (#35265290)
At one time, people programmed without google or search engines. They literally used thick ass books, and had to read through them and then type out what they saw in the book.

Then came stack overflow and google.

Then came this. I'm not exactly sure what's next, but I do think coding without some type of AI assistant will be extremely antiquated very soon (it already is for me...).

The next generation will look at finding answers via SO, google, and random forums just as we look at people use used books.

Re:GitHub Copilot X: The AI-powered developer experience by DeathArrow on Wednesday March 22, 2023 @04:01PM (#35266368)
> At one time, people programmed without google or search engines. They literally used thick ass books, and had to read through them and then type out what they saw in the book. Today, that sounds absurd.

Even if it's absurd I still like to buy physical books. The information is better structured and I like holding a book and turning pages.

Re:GitHub Copilot X: The AI-powered developer experience by randomdata on Wednesday March 22, 2023 @02:37PM (#35265298)
> Governments will have to ponder about what to do with a world of people who became inferior to machines at almost everything. Universal Basic Income?

Why would the machines want to pay us once we can no longer provide them value? Maybe they'll keep a few of us as pets and for sport, but the rest will be sent to the human equivalent of Bovine University.

Re:GitHub Copilot X: The AI-powered developer experience by prewett on Wednesday March 22, 2023 @03:47PM (#35266216)
I think you're doing that thing that makes software developers' estimates chronically low: we find a pathway to the solution and think, great, that's basically 80% done, and we don't think about everything else. Let's take a login screen for iPads, should be easy, right?

---- MagicAI, write me a login screen for iPads. The project should be configured to be iPad only. I want a logo in the center and under it the login and password entry textboxes. The password entry should not be in plaintext. Put a login button underneath the password entry.

Actually, the logo + textboxes + login button should be centered as a group. The logo should be centered horizontally within the group as well. Make the login button right-aligned.

The login button should be right aligned within the group, but the text of the button should be centered within the button.

Put "Username" and "Password" labels to the left of the appriopriate text fields

Make sure that the labels are the same width, so that the left edges of the text fields are aligned.

Put a half em margin in-between the labels and text fields. Actually, make the vertical margin between elements in the group a half em, too.

By "margin" previously, I meant "spacing", my mistake. Please fix.

Does the German translation of "username" or "password" cause the text field to be too short, especially on an iPad Mini in portrait mode?

Fix the alignment to work correctly in both portrait and landscape mode. The group should have a 10% left and right margin in both modes.

The keypad enter button should say "Login" when entering text for the password field, but should remain "Done" for the username field.

Great, now add a waiting indicator while waiting for verification from the server.

Actually, put the indicator to the right of the login button, but do not make it part of the group for alignment purposes; it should be in the margin. And turn the indicator off if the server times out. Oh, add some error text for the error.

I said error text, not error dialog. Never give me a disruptive dialog if there is a way to obviously display the error text. Make this a permanent setting on my account. Also, make this a permanent setting on all my colleagues' accounts, and especially the accounts of the low-cost outsourcing companies that make the apps I use.

File bug report to MagicAI HQ that there is no way to make some directions permanent. Include in the report that there should be a way to look at the set of permanent instructions, and automatic reporting if new instructions contradict old instructions.

Disable the login button if there is no text in the username or password field, or if the password is too short.

Whoah, make sure that the text field scrolls so that it is visible above the keyboard, especially on an iPad mini in landscape mode. It should scroll back down to its original position when the keyboard disappears. ----

I guess I'm not seeing how this is too much different from what I actually did in creating the login page in the first place. That's even without the dialogue where you try to figure out why the alignment isn't doing what you told it.

You might also want to keep your instructions in a text file some place, in case you need to change them and regenerate the code. Maybe there should be a preprocessor of sorts, so that you can add comments to the file explaining your reasoning for certain instructions, or to not include some instructions on certain environments. You might also want some way to refer to a set of previous instructions, so you could say "do these things what we did over here". We could call this a "function" since "procedure" sounds too much like ancient Pascal, and math is cool.

Re:GitHub Copilot X: The AI-powered developer experience by sumitkumar on Wednesday March 22, 2023 @07:27PM (#35268495)
Any new technology will create new work of its own. AI will automate the repeated loops in the previous workflows and free up workforce but create much more new work than it will be automating.