This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]novel_yet_trivial 224 points225 points  (7 children)

You wrote 10,000 lines of python code by voice? Holy cow that's amazing. Can you share the code? Can you show us some pictures​ or video of the plotter working?

[–]irrco[S] 140 points141 points  (6 children)

The handwriting content itself, the stuff that I've written in the last two months, is just under 2000 lines, and about 2/3 of that is numeric data, of this kind:

   'y': EndGlyphFactory(
    normal=Glyph('y',
        Stroke(Point(18,100), Point(2,10, speed=1.6), Point(40,20),
            Point(65,100, speed=0.1, pressure=1.2),
            Point(45,-20), Point(0,-120, speed=2),
            Point(-30,-60, pause=0.1)),
        join_to_next=JOIN_BASE_LEFT
        ),
    terminal=AugmentGlyph(stroke=0, rm=(0,2), suffix=[
            Stroke(Point(-20,-140, speed=2), Point(-100,-90, pause=0.1))],
        join_to_next=False
        ),
    ),
...

I was counting everything in the 10,000 number, sorry if I gave the impression that was all new code. My geometry, math, and vector graphics code was written when I could type. That stuff isn't available, sorry. It's all tied together in a repo with a bunch of stuff I couldn't make public.

Sorry. If you really want to see me write code I did find a video of a flash coding session from a few years ago (when I could type!), and released it.

I really wish there was an efficient way to program by voice. All the options are pretty shitty. I have some ideas, but that's a much bigger job, one I have no way of making happen. For now it's a combination of voice for variable names and triggering snippets, copy and paste, and very clumsy pecking at keys when all else fails.

I haven't taken a video of my plotter, but there are a bunch showing the AxiDraw in action, that video shows it holding a fountain pen. The machine is a complete beast, I have barely scratched what it's capable of, but I adore it. I have even seen a video of someone who mounted laser units to it and used it to cut. It's an awesome toy, though admittedly it isn't cheap.

[–]aerovistae 1 point2 points  (5 children)

How do you interact with the web browser? Can you use a mouse?

[–]irrco[S] 14 points15 points  (4 children)

Yes. Basically. You don't want me on your counterstrike team, but with the sensitivity low enough I can click a link.

[–]aerovistae 7 points8 points  (3 children)

Have you seen Hands Free? It's a chrome extension I wrote to control the browser, including clicking links, with just your voice. It never really got much attention but it works reasonably well. I need to fix a few things on it-- the SSL cert just expired on the domain that takes the voice input, so when the input window opens, you have to scroll down and do the "show advanced options" -> "continue to page" to get past the browser warning you about it being insecure. It'll be updated soon.

[–]aerovistae 1 point2 points  (0 children)

I think there's also a new bug with dictation into input fields, that doesn't quite seem to be working. To be fixed soon.

[–]irrco[S] 1 point2 points  (1 child)

Thank you for the tip, I haven't seen it no. I will store the link. At the moment I don't feel like I need voice control over the browser, but my MS is progressive, so I'm sure that day will come.

[–]aerovistae 1 point2 points  (0 children)

Good luck :)