News for hackers. Stuff that matters.
Re:AI learns to write its own code by stealing from other pr... by unprepare on Thursday February 23, 2017 @07:42AM (#13713405)
making people in an industry more efficient at their jobs == job losses for that industry.

if one programmer can now do the work of 5 with the help of an AI, companies will quickly be hiring less developers.

yet everytime i mention this, im told that "software developers are the one job that will never be at risk of automation"

Re:AI learns to write its own code by stealing from other pr... by rorykoehler on Thursday February 23, 2017 @07:45AM (#13713423)
All jobs are at risk of automation. Jobs by themselves are a pointless construct. It is the living that they provide us that is of value. I'm looking forward to the day this is accepted in mainstream political thought.
Re:AI learns to write its own code by stealing from other pr... by syrrim on Thursday February 23, 2017 @08:26AM (#13713636)
You're making the assumption that companies need to accomplish a constant amount of work, and that they only hire enough developer to perform this work. I would argue that many companies have a limited budget, and will continue hiring developers to expend this budget. Once hired, there is effectively indefinite work that can be done, and which will better the position of the company. If each developer can do 5x more, then the company will accomplish 5x more, not spend 5x less.
Re:AI learns to write its own code by stealing from other pr... by cabalamat on Thursday February 23, 2017 @07:51AM (#13713449)
> im told that "software developers are the one job that will never be at risk of automation"

The AI is itself a program. If the AI can write programs, it can write a better version of itself. A few iterations of this, and it will have far surpassed human intelligence.

So it would be more accurate to say that writing programs is the last job that will be automated.

Re:AI learns to write its own code by stealing from other pr... by thinkpad20 on Thursday February 23, 2017 @09:11AM (#13713954)
> The AI is itself a program. If the AI can write programs, it can write a better version of itself.

Not necessarily (or even likely). There's a huge difference between being able to write "programs" (for example the ones described here are ~5 lines) and being able to write a large and very complex piece of software, which such an AI would undoubtedly be.

There's also the question of what constitutes "better." Improvements in e.g. speed or memory efficiency (hard enough as it is, but conceivable for an AI) are a quite different thing than improvements in capabilities or understanding.

Re:AI learns to write its own code by stealing from other pr... by cabalamat on Friday February 24, 2017 @05:32AM (#13722512)
> There's a huge difference between being able to write "programs" (for example the ones described here are ~5 lines) and being able to write a large and very complex piece of software, which such an AI would undoubtedly be.

That's true. real-life programs that programmers get paid to write are typically more complex than 5 lines. Any AI good enough to replace real programmers is going to be very close to good enough to rewrite itself.

Re:AI learns to write its own code by stealing from other pr... by falcolas on Thursday February 23, 2017 @08:44AM (#13713757)
This makes the assumption that every program it writes is somehow guaranteed to be better than the original. Why would it not run into the Multiplicity problem, where each subsequent copy is a bit dumber than the original?

I would think it would be much more likely follow a normal evolutionary model - improve itself to a local maxima, then just stall while the random mutations fail to make the huge leap required to hit the next maxima.

We can't even properly model the human mind in computers yet - not enough processing power - so it follows that an AI which is "better" than humans would require even more processing power than that required to ape humans.

Re:AI learns to write its own code by stealing from other pr... by adangert on Thursday February 23, 2017 @10:15AM (#13714501)
The difference here is the "intelligence" of an AI can be described as a loss function, so if an AI can build and then train another AI which can achieve a better overall score from many examples in its loss function, then that AI, with perhaps a deep neural network will start to "understand" or the components that make a successful neural network. Thus it could use intelligence rather than random mutations to evolve.
Re:AI learns to write its own code by stealing from other pr... by unprepare on Thursday February 23, 2017 @08:08AM (#13713502)
I think things like psychology/psychiatry, social work, child protective services, and other jobs that rely on a lot of interpersonal communication will be around longer than development; at least at any scale worth talking about.
Re:AI learns to write its own code by stealing from other pr... by kk_cz on Thursday February 23, 2017 @07:50AM (#13713446)
I would argue that every year programmers ARE more efficient at their jobs with adoption of new tools, frameworks and methodologies. Yet there is still not enough good developers.
Re:AI learns to write its own code by stealing from other pr... by unprepare on Thursday February 23, 2017 @08:01AM (#13713483)
yes and each new tool or helpful framework reduces the total number of developers needed. Just because we have yet to meet the demand for developers, doesn't mean that that demand is not decreasing over time.

software development is quite a young industry, so its growth can easily outpace the efficiency gains resulting in more developers, until it doesnt. Development as an industry will need to maintain stronger growth than efficiency gains through innovation, and i just dont see that happening long term.

edit: in my first paragraph i should have said " Just because we have yet to meet the demand for developers, doesn't mean that growth of that demand is not decreasing over time."

Re:AI learns to write its own code by stealing from other pr... by michaelmrose on Thursday February 23, 2017 @12:32PM (#13715763)
You start out with n amount of programmer time demanded from projects a b and c, given that you can do x with y number of programmer hours. So imagine that increased efficiency means you can now do 2x as much fantastic now you only need n/2 right!

Not so fast now that you can do more with less d, e, and f are worth doing and n+ are now demanded.

Basically simple economics says that decreasing price, the price for a given unit of work going down increases the demand for such. This is not realistically infinite however most of the world has a long way to go to catch up with the developed world and the developed world itself seems to have no end in sight as far as demand for automation and tech.

It would strongly look like until it doesn't is so far out on the time horizon that it is hard to predict anything at all on that scale.

Re:AI learns to write its own code by stealing from other pr... by unprepare on Thursday February 23, 2017 @01:16PM (#13716223)
>economics says that decreasing price, the price for a given unit of work going down increases the demand for such

an AI costs nothing in the long term, so you are agreeing here that demand for AI produced software will rise more sharply than demand for human developers, because they are more expensive.

So if you accept that basic law of economics, then you must arrive at the conclusion that human labor will inevitably be outpaced by cheaper labor. the fact that that labor is coding seems to be where people get really stuck here. I dont really understand why this is where people get stuck.

the population of the world, and thus its demand for food has very much grown over time, and is still growing. Yet we have fewer people producing food than ever before. The reason for this is that the augmentation of technology outpaced the increase in demand. So we had fewer farmers making more food than ever.

similarly with software development, the demand for software will continue to increase over time, but the demand for human developers will inevitably fall, due to augmentations of technology enabling fewer workers to produce vastly more output. So we will have fewer developers working than we have, say, today[1], but those fewer developers will be producing orders of magnitude more[2] software

[1]im not actually trying to predict the inflection point of this growth curve as today, i meant this only as an example to make my point easy to understand

[2] where more could mean more complex, more efficient, etc.

Re:AI learns to write its own code by stealing from other pr... by michaelmrose on Thursday February 23, 2017 @01:43PM (#13716488)
There is zero reason to believe that software less capable than artificial general intelligence will provide any non trivial software.
Re:AI learns to write its own code by stealing from other pr... by jononor on Friday February 24, 2017 @07:32AM (#13723003)
Neural nets already provide superhuman performance for many computer vision tasks. Both in terms of output of the algorithm compared to a human judgement. And it does better than most human hand-written algorithm. An automated image captioning algorithm is a non-trivial piece of software.
Re:AI learns to write its own code by stealing from other pr... by unprepare on Thursday February 23, 2017 @01:52PM (#13716591)
There is zero reason to believe it will not.

look i too can make baseless assertions.

Re:AI learns to write its own code by stealing from other pr... by michaelmrose on Thursday February 23, 2017 @02:11PM (#13716766)
I don't need to prove a negative.

It seems inevitable that on some time scale AGI will be achieved if we don't commit species suicide or bomb ourselves back to the stone age. It doesn't follow that AI less capable than AGI can produce non trivial software guided by non programmers. This requires proof because it has never been done in human history and thus without any examples it requires if not proof a coherent argument in its favor.

The most obvious flaw is that software that is capable of composing/improving software ought to be able to improve itself and with improvements in a finite amount of time ought to BE AGI.

This looks like the start of a great tool for people to find example code relevant to the current code. In other words new tools for programmers not a replacement thereof.

Re:AI learns to write its own code by stealing from other pr... by unprepare on Thursday February 23, 2017 @03:13PM (#13717327)
can you quote me saying non-programmers would be making software?

have you read my comments here?

Im talking about tools that enable a single developer to do the work of a great many developers, thus lowering the demand for developers in the marketplace over time.

you are talking about non programmers writing software(no clue where you got that from at all?) and you even admit that this looks like a great tool to enable developers to get more work done?

Go back and read my comments before you respond please, otherwise im not interesting in having a discussion with someone who isnt even reading my responses.

Re:AI learns to write its own code by stealing from other pr... by michaelmrose on Thursday February 23, 2017 @03:30PM (#13717456)
Sorry I conflated 2 related but distinct discussions. On your front I disagree that programmer productivity will have a substantial negative impact on employment for the earlier stated reasons.

Demand for software will continue to increase quickly as the rest of the planet catches up to the developed world and increased productivity just increases demand.

I also disagree with the notion that this will substantially increase productivity in and of itself.

Re:AI learns to write its own code by stealing from other pr... by michaelmrose on Thursday February 23, 2017 @03:42PM (#13717585)
Basically this seems like it could help you find similar example code on github or in your company's codebase I'm dubious about it being used to generate nontrivial code of any variety.
Re:AI learns to write its own code by stealing from other pr... by collyw on Thursday February 23, 2017 @08:26AM (#13713635)
And every 6 months you need to learn the latest and greatest new framework if you live in JS land.
Re:AI learns to write its own code by stealing from other pr... by senior_james on Thursday February 23, 2017 @11:16AM (#13715062)
Open source has already started doing this to some degree. At my last few companies, we used open source projects as a base for many of our software.

Instead of having to hire multiple senior level developers, all they needed to do was hire one project manager (me) and a bunch of junior developers (which are much cheaper). This is because all of the engineering-level software was given out for free and the company only needs to make changes, which takes much less experienced employees.

Re:AI learns to write its own code by stealing from other pr... by michaelmrose on Thursday February 23, 2017 @11:59AM (#13715432)
Were you complying with the licenses?
Re:AI learns to write its own code by stealing from other pr... by kapv89 on Thursday February 23, 2017 @08:08AM (#13713503)
Here's my 2 cents on why software developers will never be at the risk of automation: https://medium.com/@kapv89/code-will-always-be-written-207d3...
Re:AI learns to write its own code by stealing from other pr... by unprepare on Thursday February 23, 2017 @08:23AM (#13713608)
Immediately i see you have this line:

>And until we develop an AI powerful enough to write clear, step by step instructions for any random task, code will be written.

so its "will never be at risk of automation UNTIL" which is vastly different from "will never be at risk of automation"

The article we are commenting on is about an AI writing code, so im not sure im seeing a convincing argument here.

secondly, automation isnt about some industry disappearing overnight, its about an ever decreasing amount of jobs in that industry. You cant imagine a system/tool/framework that allows such greater efficiency that a single developer can now reach the output of 5 or 10 developers?

Re:AI learns to write its own code by stealing from other pr... by williamdclt on Thursday February 23, 2017 @08:07AM (#13713499)
Automation is always a good thing. Should we stop progress to allow humans to do some inefficient work? Society will have to change so that work is something done by machines, not humans.
Re:AI learns to write its own code by stealing from other pr... by unprepare on Thursday February 23, 2017 @08:12AM (#13713530)
I'm not making an argument that it is bad by any means, im only countering a common thread in development circles that 'development will never be at risk of automation'

for an example, see kapv89's response to my comment. Its a seemingly very prevalent view that somehow development will not suffer job losses from the efficiency gains innovation is able to create.

Re:AI learns to write its own code by stealing from other pr... by mk89 on Thursday February 23, 2017 @12:59PM (#13716044)
I actually think that together with psychologists we are the only two categories of people killing their own job :) we really strive to automate and to use the component there etc. to make our life easier and write less code. However, as someone else said above, software engineering is not coding, this is just a subset. Our job eventually will also evolve, it's inevitable :) it has already, it will not stop certainly now.
Re:AI learns to write its own code by stealing from other pr... by naikrovek on Friday February 24, 2017 @03:51PM (#13727772)
You're right. This could happen tomorrow, if even a small percentage of Excel users suddenly knew how to use it properly. We'd be at 50% unemployment if everyone who uses Excel knew how to take advantage of it.