by rcshubhadeep on 11/10/22, 9:00 AM with 241 comments
by dang on 11/10/22, 5:20 PM
GitHub Blocks – waiting list signup - https://news.ycombinator.com/item?id=33537706 - Nov 2022 (41 comments)
GitHub code search – waiting list signup - https://news.ycombinator.com/item?id=33537614 - Nov 2022 (48 comments)
A good HN discussion needs more than a waiting list signup. A good time to have a thread would be when something is actually available.
by dustedcodes on 11/10/22, 9:44 AM
For that reason I think this will be less appealing to developers than GitHub may think, otherwise I think it's a cool idea.
by ggerganov on 11/10/22, 9:11 AM
I have been playing with using Whisper + Github Copilot in Vim [0]. The Whisper text transcription runs offline with a custom C/C++ inference and I use Copilot through the copilot.nvim plugin for Neovim. The results were very satisfying.
Edit: And just in case there is interest in this, the code is available [1]. It would be very awesome if someone helps to wrap this functionality in a proper Vim plugin.
[0] https://youtu.be/3flN9kTcZJY
[1] https://github.com/ggerganov/whisper.cpp/tree/master/example...
by Sheeny96 on 11/10/22, 11:16 AM
by tweetle_beetle on 11/10/22, 9:39 AM
Then it seemed to just die off. I don't think it was bad technology, because I don't think novelty value was enough to account for its popularity - you had to put hours in to get it to work well, it wasn't a casual toy.
What's changed since then in terms of technology? Unless it's very significant, I suspect it will go the same way. Apart from an assistive technology viewpoint, my gut instinct is that it's not that satisfying or rewarding talking to a computer all day.
by chocolatkey on 11/10/22, 9:13 AM
The problem with current voice programming systems is they're just too slow so I end up getting impatient and using my fingers anyway
by FloatArtifact on 11/10/22, 1:20 PM
There's only two ways to do this effectively and unfortunately no one has taken the true path to accessibility. The more common way is plugins/extensions to grab a information from the editor.
Accessibility is more than just one editor. It's the OS and all the applications. Microsoft needs to take the hard route to make an accessibility UI automation server to grab that information and only make up the difference through plugins as needed.
It's all about grabbing information from the application and generating on the fly commands, not just parsing free dictation in order to get the best accuracy.
It takes a lot of expertise to make any sort of UI automation, fast and efficient for navigating and selecting text or out of focus menu items.
I've fussed around and managed to get tree sitter to navigate across code. For example generic commands are like 'next function'. Code simply isn't pronounceable when it's written by others. Therefore, navigating across generic tokens is really the best method. Then other methods can be used for fine navigation if needed.
My hope is that they develop a grammar system that is open source and integrates with accessibility frameworks focused on performance.
I wish I could have a phone call with the development team.
by Cort3z on 11/10/22, 10:33 AM
Let’s hope that I never get in a serious accident or get an disabling disease, but if I do I am not planning on giving up coding. What would you do if you lost your hands, or became permanently paralyzed. This is the tool we need to combat that. Hats off to github on this one.
by MauranKilom on 11/10/22, 9:38 AM
It does look like we've made some progress in the 15 years since. I do wonder how this would work in an office setting though - so much noise, so much distraction, and so much crosstalk between programmers...
by geewee on 11/10/22, 3:14 PM
Inputting code with voice is generally difficult, often due to variable names, casing, punctuation etc being hard to get right in voice-to-text. I think this might help quite a lot with that.
_However_, some of the hardest things in voice coding isn't necessarily just the input. Navigating large codebases is hard, and particularly editing existing code can be extremely difficult, probably much more difficult than just inputting new code.
I have my doubt that with the demonstration shown here, that it's able to make complex editing tasks simple, but if it does - I cannot overstate how huge of a leap forward it is.
[0]: https://www.gustavwengel.dk/state-of-voice-coding-2017/ [1]: https://www.gustavwengel.dk/state-of-voice-coding-2019/
by birriel on 11/10/22, 10:56 AM
by pfd1986 on 11/10/22, 11:22 AM
I'm bullish.
by onion2k on 11/10/22, 9:45 AM
by singularity2001 on 11/10/22, 9:55 AM
FEATURES
Write/edit code
Just state your intent in natural language and let Hey, GitHub! do the heavy lifting of suggesting a code snippet. And if you don't like what was generated, ask for a change in plain English. Go to the next method
Code navigation
No more using mouse and arrow keys. Ask Hey, GitHub! to...
go to line 34
go to method X
go to next block
Control the IDE"Toggle zen mode", “run the program”, or use any other VisualStudio Code command.
Code Summarization Don’t know what a piece of code does? No problem! Ask Hey, GitHub! to explain lines 3-10 and get a summary of what the code does.
Explain lines 3 - 10
by susrev on 11/10/22, 9:42 AM
"insert curly brace", "insert semicolon", "insert insertion", etc. does not sound to fun.
by pmontra on 11/10/22, 10:10 AM
1) import matplotlib.pyplot as plt
Why "as plt"?! Let the import alone. But this is a matter of style.
2) Get titanic csv data from the web [...]
Surprise, it turns out that "the web" is an URL on raw.githubusercontent.com Hopefully I'll be able to spell an URL of my choice
3) clean records from titanic data where age is null
Somehow I already know that there is an Age field and somehow it knows that it must capitalize age into Age
4) fill null values of column Fare with average column values
The generated code looks great but somehow I managed to spell a capitalized Fare this time :-) (this is probably a typo in the demo)
5) Hey,Github! New line
Inserting a new line can't take so many words. We're going to do without new lines or rely on a formatter or something equivalent.
6) plot line graph of age vs fare column
This is where it becomes evident that there was no need to import as plt because I'm not pressing those keys anyway. But this is style and it's going to be uniform across all the users of these tools.
7) Hey, Github! Run program
Good.
Considerations:
A) Why do commands (new line, run) need "Hey, Github!" which is pretty long and terrible to repeat all the day long (just imagine having to say Hey Joe every time we have to say a sentence to Joe, withing a long conversation with Joe) and text-to-code doesn't?
B) We got a graph at the end. Now what should I do to edit the code in those 99% of cases where I got the graph wrong? An acceptable answer could be mouse and keyboard. It's a little underwhelming but voice to code already gave me the structure of the code.
C) Does that mean that Microsoft and GitHub are going to know all the closed source code we'll write for our customers (there might be contractual implications) or is this something that will be self hosted in our machines?
by hcnews on 11/10/22, 9:28 AM
https://www.theverge.com/2022/11/8/23446821/microsoft-openai...
by nightski on 11/10/22, 9:34 AM
So all the more power to them, but I am very skeptical. Especially since co-pilot has zero knowledge of the formal semantics of programming languages.
This is a lot different than the half ass auto complete that it already does since that at least has some context.
by jasonlfunk on 11/10/22, 9:33 AM
“Go to line 35” “Open the model controller” “Show the get method and set method side by side”
by amarant on 11/10/22, 12:42 PM
For me, I got a ergonomical keyboard before my wrists went bad, and so far they seem to be holding up!
Moral of the story: get a good keyboard early, or you might need a tool like this one someday!
by wooptoo on 11/10/22, 10:17 AM
by evnix on 11/10/22, 9:55 AM
I have looked at some tools for the blind, but you need just way too much dedication for it to work for you and since you have working eyes it is usually easier to just open your eyes.
by glenjamin on 11/10/22, 9:43 AM
https://www.youtube.com/watch?v=YKuRkGkf5HU
The demos are in Ruby, but I could imagine that languages with strong type-aware auto-completion could be easier to do.
by philmander on 11/10/22, 11:31 AM
The voice part seems like an (albeit important) accessibility add on.
I'm sure it won't be perfect but an amazing step forward in the evolution of programming languages
by silverlake on 11/10/22, 1:57 PM
I don’t think the voice part is necessary. It’s easy enough to slap ASR on the front. But going from natural language -> full problem spec -> code is hard in the general case, but doable in well-understood domains. Why can’t Scotty talk to a computer? (https://youtube.com/watch?v=hShY6xZWVGE&feature=share)
by lakomen on 11/10/22, 10:14 AM
If err unequal nil opening bracket, no no don't open the racket opening bracket... BRACKET, do you know what a bracket is No don't do a do while, delete delete. Don't delete everything... sigh
Well something like that, I imagine it being a very painful experience.
by Quequau on 11/10/22, 9:29 AM
by nxpnsv on 11/10/22, 10:14 AM
by raidicy on 11/10/22, 11:04 AM
by pcj-github on 11/10/22, 10:28 AM
by falcor84 on 11/10/22, 12:28 PM
I'm thinking about this in terms of the navigator-pilot pair programming approach, and believe that as a senior, if it's even half-as-good as working with a fresh out of uni hire, then it could have real value. When there's a piece of code that I would like written, when I have good test cases in mind, but would prefer to offload it on someone, I could perhaps write the test cases and function signatures (maybe with the bot's help), get the bot to fill in the blanks until it passes the tests, and then give it direct feedback on how to refactor the code.
I've signed up for the waiting list and am excited to try this out.
by kgrax01 on 11/10/22, 9:29 AM
I can see this helping as an accessibility tool, but beyond that I don’t think it will be useful. This kind of assumes you know everything about what you’re doing, most of the time you don’t.
by boredumb on 11/10/22, 1:37 PM
by ddevault on 11/10/22, 10:02 AM
https://numen.johngebbie.com/index.html
It's free software, it's local to your machine, you don't have to sign up for it, and it works today.
by okasaki on 11/10/22, 10:06 AM
by tempodox on 11/10/22, 12:25 PM
by danwee on 11/10/22, 4:00 PM
by kevmo314 on 11/10/22, 1:58 PM
by lkrubner on 11/10/22, 4:17 PM
https://www.amazon.com/Destroy-Tech-Startup-Easy-Steps/dp/09...
But at the end of the book I struck an upbeat note, about how the technology was advancing quickly and within 3 or 4 years someone would achieve something much greater than our own limited successes.
But I was wrong. 7 years later I'm surprised at how little progress there has been. I don't see any startup that's done much better than what we did in 2015. Voice interfaces remain limited in accuracy and use.
by hintymad on 11/11/22, 12:31 AM
by lleontop on 11/10/22, 12:40 PM
by squarefoot on 11/10/22, 12:25 PM
by karmasimida on 11/10/22, 10:41 AM
If this is reliable I would pay to use it to some capacity, like add an argument.
by crucialfelix on 11/10/22, 9:36 AM
But for a glimpse of the future watch The Expanse or read William Gibson's Agency.
by darepublic on 11/10/22, 1:18 PM
by Tade0 on 11/10/22, 9:57 AM
by tabasselejambon on 11/10/22, 9:55 AM
by troelsSteegin on 11/10/22, 1:24 PM
by mtkhaos on 11/10/22, 10:02 AM
by gopheryourshelf on 11/10/22, 9:52 AM
by P5fRxh5kUvp2th on 11/10/22, 12:44 PM
by mindvirus on 11/10/22, 12:23 PM
by manesioz on 11/10/22, 2:15 PM
by kdmytro on 11/10/22, 1:20 PM
by WormholeCreator on 11/10/22, 11:43 AM
Also, imagine you are sitting in an office with other team mates - what happens if all of them talk together but are working on different projects. It will disturb others in terms of noise pollution.
but it will definitely be a fun project and might work perfectly when you are working alone from home.
by iillexial on 11/10/22, 9:37 AM
by dimazhlobo on 11/10/22, 9:39 AM
:/
by qntmfred on 11/10/22, 2:46 PM
by karmasimida on 11/10/22, 11:09 AM
by teratron27 on 11/10/22, 9:34 AM
by ausudhz on 11/10/22, 9:26 AM
by hdjjhhvvhga on 11/10/22, 10:59 AM
by jenscow on 11/10/22, 11:59 AM
bool success equals user dot no i mean ah fuck stop stop quit
by polishdude20 on 11/10/22, 10:12 AM
by v3ss0n on 11/11/22, 3:29 AM
by akuji1993 on 11/10/22, 11:30 AM
by danjc on 11/10/22, 11:59 AM
by polyterative on 11/10/22, 4:47 PM
by nicolas_lorenzi on 11/10/22, 3:27 PM
by hbarka on 11/10/22, 10:15 AM
by eurasiantiger on 11/10/22, 10:39 AM
by mezobeli on 11/10/22, 9:18 AM
by univue on 11/10/22, 11:16 AM
by anshumankmr on 11/10/22, 9:40 AM
by kashanjunaid on 11/10/22, 2:03 PM
by univue on 11/10/22, 11:16 AM
by singularity2001 on 11/10/22, 9:17 AM
VERY PROMISING, in any case you can just manually fill the gaps with the keyboard!
by kajaktum on 11/10/22, 10:11 AM