News for hackers. Stuff that matters.
Re:It Takes Two Neurons to Ride a Bicycle (2004) by chrischen on Tuesday January 23, 2018 @01:31PM (#16215994)
I wish math notation becomes substitued with pseudocode. I can never figure out all the greek letters!
Re:It Takes Two Neurons to Ride a Bicycle (2004) by lucb1e on Tuesday January 23, 2018 @01:59PM (#16216298)
But then it wouldn't look as "scientific" (i.e. anyone could understand it, it wouldn't look complicated). At least that's what I feel like, reading and writing a bunch of papers for my master's. We are encouraged to put math stuff in ours just because it looks more theoretical that way. Whenever I do something of worth I also make sure to blog about it so I can write down in normal terms what we did and found, with code, (online) demo, and anything else that might be useful.
Re:It Takes Two Neurons to Ride a Bicycle (2004) by chestervonwinch on Tuesday January 23, 2018 @03:13PM (#16217181)
1) Sometimes it's actually helpful to use greek letters when a convention is used. For example: capitals for matrices (A), lowercase for column vectors (a), and Greek for scalars (α).

2) I agree with the gist of your point, but I'm guessing you're being down-voted because you come off as sort of flippant. Anyhow, I've long thought that mathematics should have hover-text to help remove the mental overhead of translating the concise notation to meaningful interpretation. Obviously, using variables names like `velocity_of_thing` is much too verbose in mathematics (papers would 1000's of pages); however, β with hover-text "This is the velocity vector of the thing." would be super helpful IMO.

Re:It Takes Two Neurons to Ride a Bicycle (2004) by slavik81 on Tuesday January 23, 2018 @04:07PM (#16217700)
Just the other day I spent a solid 30 minutes trying to distinguish between I and Iⱼ in an equation of motion. Turns out that the former was the identity matrix and the later was the inertial matrix of body j.

If there's a way to add that sort of hover annotation in LaTeX, I'd gladly use that for my thesis.

Re:It Takes Two Neurons to Ride a Bicycle (2004) by slavik81 on Tuesday January 23, 2018 @06:19PM (#16218848)
It seems there is a method to add tooltips, though it looks a little rough. Worth a shot, I suppose. https://tex.stackexchange.com/q/155518/77180
Re:It Takes Two Neurons to Ride a Bicycle (2004) by lucb1e on Tuesday January 23, 2018 @04:54PM (#16218133)
> Obviously, using variables names like `velocity_of_thing` is much too verbose in mathematics

That is not obvious to me. Perhaps in a purely mathematical paper with dozens of formulas, but that's not my field of study. In any paper I read of any discipline, I never came across any paper filled with enough formulas that it would make sense to compress at the cost of clarity.

I fully agree, though, on following conventions (that only conveys extra context) and using hover text to act as a quick lookup function. I actually looked for the latter in the past but couldn't find a way to do it in LaTeX.

Re:It Takes Two Neurons to Ride a Bicycle (2004) by andrewflnr on Tuesday January 23, 2018 @07:51PM (#16219397)
It's like programming languages: people want loud syntax for things that are new, but short syntax for familiar concepts.

Math is heavily optimized for peope already familiar with the topic at hand. In many cases, that's the only way you have a chance of understanding the paper at all. So long names would just be noise to the main audience of the paper.

Re:It Takes Two Neurons to Ride a Bicycle (2004) by chestervonwinch on Tuesday January 23, 2018 @05:35PM (#16218512)
> I never came across any paper filled with enough formulas that it would make sense to compress at the cost of clarity

Fair point, but with this approach, even simple formulae could really clutter up a page if the variable names are long and descriptive (imagine just a rational function!). Also, as with programming, folks might abbreviate (e.g., `vel_thg`) and then we're nearly back at square one.

Re:It Takes Two Neurons to Ride a Bicycle (2004) by lucb1e on Tuesday January 23, 2018 @05:53PM (#16218660)
Also in programming, when my girlfriend (the mathematician[1]) used single letters in code and I helped her with the coding part of it, she had to remind me what some letters stood for. With acronyms or abbreviations I might need to ask a first time (or maybe not even that, especially if you put a comment with the full version upon declaration), but it's definitely easier to remember what is what.

But anyway that's programming. Papers are a little different of course, with limited space so usually there are no big code parts with declarations and comments. Which is also why I like blog posts: things are clickable and interactive. A PDF is super static and you can't expect a reader to click through to the code or to be able to zoom in.

[1] well, she claims not to be, but from my POV it's math even if she says it's a subfield.

Re:It Takes Two Neurons to Ride a Bicycle (2004) by dvirsky on Tuesday January 23, 2018 @04:06PM (#16217696)
Is there a standard notation that can produce both? I don't know much LaTex but I don't think it holds sufficient information. Does MathML maybe?
Re:It Takes Two Neurons to Ride a Bicycle (2004) by jahewson on Tuesday January 23, 2018 @04:20PM (#16217809)
The MathML standard is split into two parts, Presentation MathML, which is widely used and contains roughly the same information as TeX, and Semantic MathML which is used by a handful of computer algebra systems. The latter does what you want.

Both formats have their origins in Wolfram Mathematica.

Re:It Takes Two Neurons to Ride a Bicycle (2004) by telchar on Wednesday January 24, 2018 @12:51AM (#16220631)
Somehow I never considered hover-text for math. Now I'm actually rather angry that it's not already standard, what with papers being distributed digitally. Keeping track of notation when reading papers is the bane of my existence.
Re:It Takes Two Neurons to Ride a Bicycle (2004) by Joe-Z on Tuesday January 23, 2018 @02:40PM (#16216841)
I got the same feeling while I was still in university. I mean if the mathematical notation would at least make it more concise, because there are definitely computations which are easier explained using this notation.

But more often than not I look at papers, where I know what they were doing and how and just have to ask myself: Why would you go through the work of translating what you did back into formulas, which bring exactly zero benefit and are harder to understand than the code you wrote?!

Re:It Takes Two Neurons to Ride a Bicycle (2004) by jmkirby on Tuesday January 23, 2018 @05:51PM (#16218650)
I'm old enough to have never been tested for dyslexia, because I scored high in average tests..

But come high school years, or in British sixth form studying for"A levels", I scored in the top decile for my class and for Applied Math, but the bottom dectile for Pure Math.

I think you can make a very good argument that math notation is not doing the potentially career changing job it could be doing, by not expanding the keys. Darn, even a key table index alongside would be night and day better. Edit - didn't remember the length of my comment after coming back to it after a break, so culled the excess. The punchline was that when we got a new young and enthusiastic Pure tutor, who was French, so he in true anger would explain to us in great eloquent depth, my marks equalized in two semesters.

There's surely something like a formal study of students to show if comprehension is the main reason math is hard?

Re:It Takes Two Neurons to Ride a Bicycle (2004) by hyeonwho3 on Wednesday January 24, 2018 @02:14AM (#16220955)
At the level of arithmetic, there are studies of children performing math in the marketplace, but then being unable to do the same calculation on paper. So translation from notation to reality (and back) is probably a significant barrier to success in math.
Re:It Takes Two Neurons to Ride a Bicycle (2004) by Safyia on Tuesday January 23, 2018 @02:08PM (#16216412)
It would be great to have a website where the writers of the paper, or well, anyone who understood it well, would write an article about it in a more accessible way with some examples included etc. I am a big fan of blogs explaining such things.
Re:It Takes Two Neurons to Ride a Bicycle (2004) by AnsemWise on Tuesday January 23, 2018 @03:52PM (#16217575)
Re:It Takes Two Neurons to Ride a Bicycle (2004) by lucb1e on Tuesday January 23, 2018 @02:12PM (#16216479)
That's an interesting idea! Might be something indeed.
Re:It Takes Two Neurons to Ride a Bicycle (2004) by robotresearcher on Tuesday January 23, 2018 @03:31PM (#16217362)
> We are encouraged to put math stuff in ours just because it looks more theoretical that way.

If that's really true, you are getting bad advice.

Re:It Takes Two Neurons to Ride a Bicycle (2004) by andars on Tuesday January 23, 2018 @02:31PM (#16216725)
Would you mind sharing your field of study?
Re:It Takes Two Neurons to Ride a Bicycle (2004) by lucb1e on Tuesday January 23, 2018 @05:43PM (#16218588)
Security, software and network engineering. (Previous study was software and security, this one is security and network; and I've always liked to play with tech in those three subfields.)
Re:It Takes Two Neurons to Ride a Bicycle (2004) by grawprog on Tuesday January 23, 2018 @03:14PM (#16217187)
Ya science has this way with needing to look and seem self important. Or at least the scientists reviewing journals.
Re:It Takes Two Neurons to Ride a Bicycle (2004) by kbenson on Tuesday January 23, 2018 @04:13PM (#16217764)
Then we would just have a bunch of mathematicians wondering what some of the function names meant, since English isn't always definitive of obvious in definition (not to mention the non-English speakers who have to learn a combination of symbols instead of one).

All you're really doing is substituting something you're unfamiliar (or less familiar) with, common mathematics symbols, with something you specifically happen to be more familiar with (programming pseudocode).

It's really no different than someone looking at your pseudocode and saying "why can't they just write it in plain English?"

Re:It Takes Two Neurons to Ride a Bicycle (2004) by my_ghola on Tuesday January 23, 2018 @04:24PM (#16217842)
Then maybe something that can translate math notation to pseudocode and back?
Re:It Takes Two Neurons to Ride a Bicycle (2004) by Robotbeat on Tuesday January 23, 2018 @03:28PM (#16217334)
I often feel the opposite. Pseudocode makes me lost.

Ideally, you'd have both. The clean math notation AND pseudocode.

Re:It Takes Two Neurons to Ride a Bicycle (2004) by jonbarker on Tuesday January 23, 2018 @04:10PM (#16217738)
Or at least spell them out like lambda