News for hackers. Stuff that matters.
Re:Draw a math symbol and get the corresponding LaTeX code by tdedecko on Sunday July 12, 2009 @03:58PM (#700515)
Just showed this to a math PhD grad student. Her eyes immediately lit up. She instantly determined that who ever made this, is in fact a genius.

Great idea and great implementation. I have seen so much LaTeX frustration. This will definitely ease a lot of pain.

Re:Draw a math symbol and get the corresponding LaTeX code by scott_s on Sunday July 12, 2009 @08:34PM (#700796)
I got a similar reaction from a physics postodc.
Re:Draw a math symbol and get the corresponding LaTeX code by scott_s on Sunday July 12, 2009 @10:34AM (#700180)
Great idea. It got my attempts and an integral and delta right off, but I had to try a few times with a lower-case sigma.

edit: It allows you to submit training examples, which is a great idea. Just did two for lower-case sigma.

Re:Draw a math symbol and get the corresponding LaTeX code by nopassrecover on Sunday July 12, 2009 @12:32PM (#700287)
Wow it even picked up a backwards lambda as lambda.
Re:Draw a math symbol and get the corresponding LaTeX code by burke on Sunday July 12, 2009 @10:46PM (#700967)
I remember in my first year statics class, we decided a backwards lambda is called "Rhonda".
Re:Draw a math symbol and get the corresponding LaTeX code by eru on Monday July 13, 2009 @09:17AM (#701607)
Why?
Re:Draw a math symbol and get the corresponding LaTeX code by burke on Tuesday July 14, 2009 @01:33PM (#704153)
I've wondered that sometimes. I think it's because a lambda opens to the left, and starts with "l". Rhonda opens to the right, and is a similar word starting with "r". It's not supposed to make sense; it just cracks me up :P
Re:Draw a math symbol and get the corresponding LaTeX code by gjm11 on Sunday July 12, 2009 @01:18PM (#700331)
Missing feature: the ability, after training a symbol, to click a button whose meaning is "Whoops, I didn't mean to do that". (I gave it some training examples for a couple of arrow-type symbols. I forgot to click to switch from one sort of arrow to the other. It now has a left-pointing arrow as a training case for a right-pointing arrow symbol. Or maybe the other way around; I forget which.)

Of course that was an utterly boneheaded mistake. But most people -- even among the likely users of this thing -- are boneheaded occasionally.

(Looking at the source, it seems that un-training would be quite easy; the app is doing nearest-neighbour classification, and what it stores is just all the examples it's been given.)

Re:Draw a math symbol and get the corresponding LaTeX code by dmhouse on Sunday July 12, 2009 @03:39PM (#700498)
A brilliant idea! Would love to see a blog post overviewing how it works.
Re:Draw a math symbol and get the corresponding LaTeX code by kinghajj on Sunday July 12, 2009 @06:12PM (#700635)
Maybe it just uses a CAPTCHA solver to get a list of likely characters?
Re:Draw a math symbol and get the corresponding LaTeX code by greendestiny on Sunday July 12, 2009 @08:25PM (#700788)
Well hopefully the author of this will give a real summary, but I had a quick squiz at the code at its nothing like a CAPTCHA solver.

Basically its a nearest neighbour classifier based on turning the actual stroke data in sets of equally spaced points after being centred and scaled. The direction between points is recoded as compass directions (so sequences of N,E,NE). These strings are matched against the training data to find the closest matches.

Re:Draw a math symbol and get the corresponding LaTeX code by zackattack on Sunday July 12, 2009 @06:18PM (#700641)
Seconded. Please.
Re:Draw a math symbol and get the corresponding LaTeX code by gz on Sunday July 12, 2009 @02:55PM (#700449)
This might be nitpicking but I feel like the "Clear" button is misplaced. There must be another position for it that allows me to quickly reset and start drawing another character. Come to think of it, it would be great if there was a key for it. Click and drag with the mouse, reset with a keystroke. Almost like playing a first person shooter!
Re:Draw a math symbol and get the corresponding LaTeX code by kirel on Sunday July 12, 2009 @03:02PM (#700458)
That is actually a good Idea. Thanks for the suggestion. :)
Re:Draw a math symbol and get the corresponding LaTeX code by lutorm on Sunday July 12, 2009 @12:43PM (#700301)
This is awesome, and it works. My only quibble is that it doesn't seem to handle accented characters, ie it finds \aa, presumably because that's a single symbol, but it doesn't find \"{a} and it doesn't even seem to show up in the training list.
Re:Draw a math symbol and get the corresponding LaTeX code by cellis on Sunday July 12, 2009 @09:06PM (#700836)
Suggestion: turn off the ajax that auto-submits as soon as I "lift up" my pencil. Alot of symbols require more than one stroke.

Instead just give me a "done" button.

Re:Draw a math symbol and get the corresponding LaTeX code by rkowalick on Sunday July 12, 2009 @11:56PM (#701059)
I definitely agree with this. I tried for several minutes to get it to recognize pi, Pi, product, or coproduct. \oint isn't easy either...

and good luck with /leq ...

Re:Draw a math symbol and get the corresponding LaTeX code by andreyf on Monday July 13, 2009 @01:44AM (#701164)
\leq and \pi work consistently now, just trained it to do \geq, and also did \otimes and \circledast. Be careful what you say about it, it looks like a fast learner ;)
Re:Draw a math symbol and get the corresponding LaTeX code by wlievens on Thursday July 16, 2009 @10:26AM (#707983)
HN should autoformat tex symbols, because I have no idea what \oint is, by heart.
Re:Draw a math symbol and get the corresponding LaTeX code by lunchbox on Sunday July 12, 2009 @10:46PM (#700965)
It would be awesome if this were integrated into a LaTeX editor, so I could (e.g.) click a "draw" button in the toolbar. Then I'd get a little drop-down canvas, and when I get the suggestions back from the server, I could click on the right macro, and it would be automatically inserted into my diagram.
Re:Draw a math symbol and get the corresponding LaTeX code by pbhj on Sunday July 12, 2009 @06:47PM (#700665)
No surface integrals!? (see eg http://en.wikipedia.org/wiki/Divergence_theorem, the one with the circle showing integral over the boundary surface, there's a triple version of that too).
Re:Draw a math symbol and get the corresponding LaTeX code by akho on Monday July 13, 2009 @08:29AM (#701551)
Have you guys seen Windows 7's math input thingie? It does the same thing for formulas (as opposed to symbols) and MathML. I was amazed to see this in a default install of a Microsoft OS.
Re:Draw a math symbol and get the corresponding LaTeX code by netweirdo on Sunday July 12, 2009 @07:33PM (#700717)
Re:Draw a math symbol and get the corresponding LaTeX code by TriinT on Sunday July 12, 2009 @08:18PM (#700778)
There's no LaTeX symbol for "+".
Re:Draw a math symbol and get the corresponding LaTeX code by JacobAldridge on Sunday July 12, 2009 @11:03PM (#700988)
Yes, noticed this also for the Ampersand symbol. LaTeX (which I'd not previously been familiar with) must have a specific purpose, which seems great and appears to be made greater by this nifty tool.
Re:Draw a math symbol and get the corresponding LaTeX code by xel02 on Monday July 13, 2009 @12:45AM (#701106)
LaTeX is a typesetting program (related to TeX which was made by Knuth). Its quite popular in academia (sciences at least) because it handles equations really well.

Its analogous to a markup language in that it is not a WYSIWYG typesetting program.

Re:Draw a math symbol and get the corresponding LaTeX code by eru on Monday July 13, 2009 @09:23AM (#701624)
LaTeX is also useful [1] for controlling Mars rovers. See page 5 of the current Monad Reader (http://www.haskell.org/sitewiki/images/8/85/TMR-Issue13.pdf).

[1] OK, not actual useful, but it can be done.

Re:Draw a math symbol and get the corresponding LaTeX code by tybris on Monday July 13, 2009 @10:50AM (#701796)
That's one of the most useful tools I've seen in a long time. Especially being a non-native English speaker this is always a pain.
Re:Draw a math symbol and get the corresponding LaTeX code by NonEUCitizen on Sunday July 12, 2009 @01:58PM (#700374)
works on firefox, but somehow on safari it didn't detect mouse (trackpad) button up.
Re:Draw a math symbol and get the corresponding LaTeX code by harpastum on Sunday July 12, 2009 @02:20PM (#700404)
My Macbook's trackpad works just fine in safari 4.
Re:Draw a math symbol and get the corresponding LaTeX code by zackattack on Sunday July 12, 2009 @06:17PM (#700640)
I am also experiencing this bug. Safari 3.1.2, MacBook.
Re:Draw a math symbol and get the corresponding LaTeX code by agravier on Sunday July 12, 2009 @08:59PM (#700822)
Pople who couldn't get somehting to work can click on "Symblos" and train it.
Re:Draw a math symbol and get the corresponding LaTeX code by zandorg on Sunday July 12, 2009 @11:20AM (#700224)
I couldn't get Pi to work (like a little hut).
Re:Draw a math symbol and get the corresponding LaTeX code by nopassrecover on Sunday July 12, 2009 @12:33PM (#700290)
I managed it, though it thought it was Omega first (I had a curve to my Pi though). When I used straight-line Pi it got it first go. Maybe it's more trained now.
Re:Draw a math symbol and get the corresponding LaTeX code by dmhouse on Sunday July 12, 2009 @03:38PM (#700496)
Works perfectly for me now. Maybe the training's working!
Re:Draw a math symbol and get the corresponding LaTeX code by zandorg on Sunday July 12, 2009 @05:51PM (#700616)
Works now.
Re:Draw a math symbol and get the corresponding LaTeX code by zackattack on Sunday July 12, 2009 @06:20PM (#700643)
I would love if you could get it to also interpret equations...
Re:Draw a math symbol and get the corresponding LaTeX code by 321abc on Wednesday July 15, 2009 @01:31AM (#705208)
A while back I thought of doing the same thing for Unicode characters... am I a genius too?