News for hackers. Stuff that matters.
Re:AlphaCode as a dog speaking mediocre English by mark_l_watson on Sunday February 06, 2022 @10:24AM (#30233292)
Right on, I couldn’t agree more. We are living during a period of exponential progress. I like AlphaCode’s approach of using language models with search. In the last year I have experimented with mixing language models for NLP with semantic web/linked data tasks, so much simpler than what AlphaCode does, but I have been having fun. I have added examples for this in new additions to two of my books, but if you want a 90 second play-time, here is a simple colab notebook https://colab.research.google.com/drive/1FX-0eizj2vayXsqfSB2...

We live in exciting times. Given exponential rates of progress, I can’t really even imagine what breakthroughs we will see in the next year, let alone the next five years.

EDIT: I forgot to mention: having GitHub/OpenAI tools like CoPilot always running in the background in PyCharm and VSCode has in a few short months changed my workflow, for the better.

Re:AlphaCode as a dog speaking mediocre English by vain_cain on Sunday February 06, 2022 @12:04PM (#30234364)
I mostly work with data mining on my personal projects(which is a couple of hours every day), and I'm pretty sure I didn't have to write a single regex since I've started using Copilot. It's hard for me to even imagine how I used to do it before, and how much time I've wasted on stupid mistakes and typos. Now I just write a comment of what I want and an example string. It does the job without me having to modify anything 99% of the time, even for complex stuff. Sure, sometimes it gives an overly complicated solution but it almost always works. Exciting times.
Re:AlphaCode as a dog speaking mediocre English by 37ef_ced3 on Sunday February 06, 2022 @12:28PM (#30234647)
How do you know the regular expressions are correct, without understanding them?
Re:AlphaCode as a dog speaking mediocre English by vain_cain on Sunday February 06, 2022 @04:38PM (#30237279)
I never said anything about not understanding them. If it's something simple, like getting a date from a string, a quick glance will tell me if it'll work. If it's more complex, a quick glance or two will give me the general idea and then I can test it against what I think will be edge cases. If you don't know what kind of a string you'll have to process then you can't really know if any regex is correct, and if you do testing it in most cases is pretty easy and quick. You'd have to test even if you write it yourself. And in the cases where it's wrong it usually gives me a good starting point.
Re:AlphaCode as a dog speaking mediocre English by incrudible on Sunday February 06, 2022 @12:48PM (#30234889)
All regular expressions are incorrect, but some are useful.
Re:AlphaCode as a dog speaking mediocre English by incrudible on Sunday February 06, 2022 @02:22PM (#30235957)
Re:AlphaCode as a dog speaking mediocre English by whatshisface on Sunday February 06, 2022 @01:33PM (#30235416)
Who cares if they're correct? If they fail a test, you can fix them. If they turn out to be wrong in production you can isolate the example and add it as a test. Producing regexes that pass all current tests but contain a subtle bug satisfy 100% of what programmers are incentivized to do. Producing them very quickly will get you promoted.
Re:AlphaCode as a dog speaking mediocre English by nlitened on Sunday February 06, 2022 @02:17PM (#30235892)
I think we will very soon start seeing a clear separation between programmers ("co-pilot operators") and software engineers (those who do the thinking and understanding when there's someone "who cares").
Re:AlphaCode as a dog speaking mediocre English by ThrowawayR2 on Monday February 07, 2022 @11:15AM (#30246810)
We already have that bifurcation in the sense that the majority of programmers can use frameworks, libraries, etc. to get work done but don't have the deeper knowledge to build them well.
Re:AlphaCode as a dog speaking mediocre English by p1esk on Sunday February 06, 2022 @05:08PM (#30237512)
This separation has existed since the first computer was built.
Re:AlphaCode as a dog speaking mediocre English by oh_sigh on Sunday February 06, 2022 @02:39PM (#30236147)
I feel like you only see programmers as cogs, and not programmers as invested in the success of their product with the statement like "satisfy 100% of what programmers are incentivized to do"

Generally the people using regexes care if they're correct. Frequently, all possible input variants are not enumerated in tests. Frequently, companies want to have confidence in their production code. Imagine this regex is deployed on a sign up flow, and its failures invisibly increase your churn rate. Can it happen with a hand crafted regex? Yes, of course. But I'd imagine it will happen even more frequently with an AI produced custom regex plus a person who doesn't actually understand regexes.

Re:AlphaCode as a dog speaking mediocre English by whatshisface on Sunday February 06, 2022 @02:59PM (#30236371)
Programmers often feel invested in the success of their product but that's not what they're incentivized to do. They're incentivized to produce fast results that are bad in ways that you have to be a programmer to understand.

If you have to be a programmer to understand why something's bad, who's going to prevent it? This is a major unsolved problem in the structure and organization of working.

Re:AlphaCode as a dog speaking mediocre English by solveit on Sunday February 06, 2022 @05:05PM (#30237484)
The CTO who used to be a dev. More generally anyone in management with a technical background. They may not exist in some companies, but that's not because it's "a major unsolved problem in the structure and organization of working", it's because the company sucks in that regard.
Re:AlphaCode as a dog speaking mediocre English by Retric on Sunday February 06, 2022 @05:53PM (#30237898)
Except testers and users aren’t programmers. Code reviews are what’s supposed to catch this stuff, but it’s rare for a team lead or other programmer to investigate every single commit.
Re:AlphaCode as a dog speaking mediocre English by nradov on Sunday February 06, 2022 @02:11PM (#30235836)
You're not wrong, but hopefully someone is at least doing a code review.
Re:AlphaCode as a dog speaking mediocre English by mark_l_watson on Sunday February 06, 2022 @12:15PM (#30234483)
Thanks for the good example. The first time I tried OpenAI's assistant (before I had access to GitHub CoPilot) I wrote a comment in Javascript code that read something like "perform SPARQL query to find out where Bill Gates works" and code was generated using an appropriate library, the SPARQL (like SQL) query was correct, and the code worked. Blew my mind.
Re:AlphaCode as a dog speaking mediocre English by jonas_kgomo on Sunday February 06, 2022 @05:25PM (#30237657)
would like to talk about the paintpoints you experienced while doing data preparation and mining
Re:AlphaCode as a dog speaking mediocre English by vain_cain on Sunday February 06, 2022 @06:44PM (#30238317)
I have an e-mail in my description, you can ask me what you'd like to know there.
Re:AlphaCode as a dog speaking mediocre English by skybrian on Sunday February 06, 2022 @11:21AM (#30233922)
Could you say a bit more about how you use CoPilot? What are the "other tools" you use?
Re:AlphaCode as a dog speaking mediocre English by mark_l_watson on Sunday February 06, 2022 @11:31AM (#30234024)
I installed the VSCode and PyCharm CoPilot plugins, and signed in with my GitHub account (you first need to request CoPilot access and wait until you get it).

As you type in comments or code, CoPilot will sometime autocomplete up to about 10 lines of code, based on the content of the file you are editing (maybe just the code close to the edit point?).

My other tools? I use LispWorks Professional, Emacs with Haskell support, and sometimes IntelliJ. I work a lot on remote servers so I depend on SSH/Mosh and tmux also.

Re:AlphaCode as a dog speaking mediocre English by skybrian on Sunday February 06, 2022 @12:36PM (#30234765)
Do you usually find the autocomplete from CoPilot useful enough to keep without editing, or is it wrong often enough to be annoying?
Re:AlphaCode as a dog speaking mediocre English by crummy on Sunday February 06, 2022 @02:43PM (#30236193)
In my opinion it's wrong most of the time but it's so harmless that it's absolutely worth it for the times it's right.

Kind of like regular autocomplete. If it's wrong you just keep typing.

Re:AlphaCode as a dog speaking mediocre English by mark_l_watson on Sunday February 06, 2022 @01:05PM (#30235096)
If it is wrong, I hit the escape key and the suggested code disappears.
Re:AlphaCode as a dog speaking mediocre English by zarzavat on Sunday February 06, 2022 @11:09PM (#30240306)
For me both are true. The suggestions are usually annoying and wrong, however sometimes copilot makes an observation that is non-obvious, i.e it suggests code that makes me realize that I was about to write a subtle bug. I keep it on as a sanity check.
Re:AlphaCode as a dog speaking mediocre English by stephc_int13 on Sunday February 06, 2022 @11:47AM (#30234182)
We're not seeing exponential rates of progress, in my opinion.

We've been on the steep part of an S-curve.

Re:AlphaCode as a dog speaking mediocre English by axg11 on Sunday February 06, 2022 @12:05PM (#30234385)
When you're on that curve, it's indistinguishable until you hit the plateau. We're in an era where AI is continuing to improve and has already surpassed a level that many people doubted was achievable. Nobody knows when that progress will plateau. It's entirely possible that we plateau _after_ surpassing human-level intelligence.
Re:AlphaCode as a dog speaking mediocre English by oblvious-earth on Sunday February 06, 2022 @04:09PM (#30237020)
If you have actual data you can take the derivative of the curve and see you're on the S curve with a lot of confidence by the time you hit the middle and long before the plateau: https://miro.medium.com/max/700/1*6A3A_rt4YmumHusvTvVTxw.png
Re:AlphaCode as a dog speaking mediocre English by solveit on Sunday February 06, 2022 @05:07PM (#30237493)
Even small errors in measurement will greatly change the location of the projected plateau so this is not usually useful in practice.
Re:AlphaCode as a dog speaking mediocre English by mark_l_watson on Sunday February 06, 2022 @12:16PM (#30234502)
Exactly correct. We really don't know if the progress is exponential or like a Sigmoid squashing function. You just changed my opinion, a bit, on this.
Re:AlphaCode as a dog speaking mediocre English by antisthenes on Sunday February 06, 2022 @12:49PM (#30234904)
If we're limited to Earth and fossil fuels, then it's a sigmoid.
Re:AlphaCode as a dog speaking mediocre English by nradov on Sunday February 06, 2022 @02:05PM (#30235771)
The AI technology today has practical value for some use cases but it's basically just clever parlor tricks. There has been near zero discernable progress toward artificial general intelligence. We don't yet have a computer that can learn and make optimal resource usage decisions in an open world environment as well as a mouse. In most respects we're not even at the insect level yet.
Re:AlphaCode as a dog speaking mediocre English by folli on Sunday February 06, 2022 @03:05PM (#30236425)
You're making the point that the linked article is trying to argue against.
Re:AlphaCode as a dog speaking mediocre English by robrorcroptrer on Sunday February 06, 2022 @03:54PM (#30236904)
How good is this model at fighting other insects?
Re:AlphaCode as a dog speaking mediocre English by dnautics on Monday February 07, 2022 @11:14AM (#30246780)
> The AI technology today has practical value for some use cases but it's basically just clever parlor tricks.

Come on, you could have said the same thing about excel 30 years ago.

Re:AlphaCode as a dog speaking mediocre English by nradov on Monday February 07, 2022 @04:18PM (#30251321)
Yes Excel has more features today. So what? We're still not making any measurable progress towards true AGI. We don't even know what the development path or ultimate goal looks like except for some vague hand waving about passing the Turing Test.
Re:AlphaCode as a dog speaking mediocre English by dnautics on Monday February 07, 2022 @05:47PM (#30252499)
I work for a company that provides "ai" services in a "boring" domain. The Time saved and accuracy (for a legally audited result) we provide is quantifiable, and when I saw the numbers I was surprised. So while a lot of the "AI" hype is stupid marketing bs, some of us are actually doing real stuff, it's not just parlor tricks. You might also be surprised in how many domains a small improvement has huge yield in terms of raw money and/or quality of life improvements.
Re:AlphaCode as a dog speaking mediocre English by shawnz on Sunday February 06, 2022 @03:36PM (#30236716)
The steep part of a sigmoid curve DOES grow almost exponentially though. What's the point of saying this? It's like saying, "sure we are making great progress, but eventually the universe will come to an end and we'll all be dead." Who cares? Why not worry about that when we're there?
Re:AlphaCode as a dog speaking mediocre English by stephc_int13 on Sunday February 06, 2022 @04:29PM (#30237206)
The point is that it is a completely different framework to think about the future.

The exponential model is something close than what is behind Ray Kurzweil reasoning about the Great Singularity and how the future will be completely different and we're all going to be gods or immortals or doomed or something dramatic in that vein.

The S-Curve is more boring, it means that the future of computing technology might not be that mind blowing after all, we might already have reaped most of the low-hanging fruits.

A bit like airplanes, or space tech you know, have you seen those improving by a 10x factor recently?

Re:AlphaCode as a dog speaking mediocre English by drusepth on Sunday February 06, 2022 @05:47PM (#30237840)
>A bit like airplanes, or space tech you know, have you seen those improving by a 10x factor recently?

Is space tech included ironically here? There's been 10x (or more) improvements across dozens of space tech problems in the last couple decades.

Re:AlphaCode as a dog speaking mediocre English by stephc_int13 on Sunday February 06, 2022 @07:12PM (#30238522)
Could we send people on the Moon if we wanted? We might but I am honestly not completely sure.

Would that be 1000x, 100x or even 10x easier than 60 years ago? Well, I don't think so.

From my perspective space tech has never quite leaved the prototype phase, for some reason.

Re:AlphaCode as a dog speaking mediocre English by hutzlibu on Sunday February 06, 2022 @11:53AM (#30234239)
No one knows the future for sure. But with current trend of dividing the world again, I would agree on your assumption.

But I still have hope for a undivided world, that one day even abolish the patent system. Then I would see potential for exponentional progress.

Re:AlphaCode as a dog speaking mediocre English by CuriouslyC on Sunday February 06, 2022 @11:51AM (#30234226)
100% this. Exponential progress is only a thing if potential progress is infinite. If the potential progress is finite (hint: it is), eventually the rate of progress hit progressively diminishing returns.
Re:AlphaCode as a dog speaking mediocre English by globalise83 on Sunday February 06, 2022 @12:24PM (#30234597)
What is the limit you foresee on computation, especially when such computations can optimise themselves without human intervention?
Re:AlphaCode as a dog speaking mediocre English by stephc_int13 on Sunday February 06, 2022 @12:40PM (#30234811)
The underlying rule here, in my opinion, is the law of diminishing returns. (log shaped curve)

AlphaZero is already capable of optimizing itself in the limited problem space of Chess.

Infinitely increasing the computing power of this system won't give it properties it does not already have, there is no singularity point to be found ahead.

And I am not sure that there are any singularities lying ahead in any other domains with the current approach of ML/AI.

Re:AlphaCode as a dog speaking mediocre English by notahacker on Sunday February 06, 2022 @01:22PM (#30235307)
And building on that, the real bottleneck in most domains isn't going to be computer power, it's going to be human understanding of how to curate data or tweak parameters.

We've already seen in games with simple rules and win conditions that giving computers data on what we think are good human games can make them perform worse than not giving them data. Most problems aren't possible for humans to ebncapsulate perfectly in a set of rules and win conditions to just leave the processing power to fill in the details, and whilst curating data and calibrating learning processes is an area we've improved hugely on to get where we are with ML, it's not something where human knowledge seems more likely to reach an inflection point than hit diminishing returns.

Re:AlphaCode as a dog speaking mediocre English by stephc_int13 on Sunday February 06, 2022 @04:34PM (#30237240)
We've seen with ML and Chess (an go to some extent) that brute forcing the problem space is clever than using heuristics.

I think this is only true because, so far, our heuristics are not that clever.

Re:AlphaCode as a dog speaking mediocre English by globalise83 on Sunday February 06, 2022 @02:33PM (#30236086)
But, godlike though the human variants may appear to be, what happens when the system reaches the skill level of an above-average software architect?
Re:AlphaCode as a dog speaking mediocre English by drdeca on Sunday February 06, 2022 @06:00PM (#30237961)
There are physical limits to computation.

The number of orders of magnitude remaining, is not that large.

Re:AlphaCode as a dog speaking mediocre English by WithinReason on Sunday February 06, 2022 @06:50PM (#30238369)
There is no such thing as truly unbounded exponential growth, it's always an S curve