News for hackers. Stuff that matters.
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by adrusi on Thursday February 18, 2016 @07:41PM (#11130629)
I think a big barrier to understanding math for a lot of people, and definitely for me, is names. Things get named for people instead of what they are: "the Kronecker delta function". You came up with some genius model and proved it, and after all that work you decided that your name and some greek letter are what people need to think of when they hear about it and not anything about what it is? Fuck you Kronecker!

The problem extends beyond mathematics, to essentially everything except programming. And in fairness out of all the fields with shitty names, mathematics has the best excuse: unlike the natural sciences and engineering, math is completely abstract. But programming is also pretty abstract, and yet we don't call stacks Hawk-elbower's double-u structure! No, we notice a semantic similarity between our abstract concept and something more familiar, and we come up with a monosyllabic, five-letter word that conveys a lot of information about the construct to someone completely uninitiated. This both makes it more approachable and easier to learn, serving as a mnemonic device. And once you've internalized it it makes no difference whatsoever.

I hear people whine that naming abstract concepts after concrete objects will only give people a harder time thinking abstractly. Bullshit, I say: have you ever heard of a novice programmer thinking that stacks are only good for representing stacks of paper or dictionaries for looking up definitions of human words.

I understand that naming things nicely in math is harder than in programming, and that in some more cutting-edge branches there might simply be no good analogies to draw, but I don't think it's impossible for more mundane topics. Math professors teach by drawing analogies and thinking of applications all the time. In any case we can do a lot better than "Kronecker's delta function".

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by jhanschoo on Thursday February 18, 2016 @08:23PM (#11130859)
There are a lot of names in mathematics that are common names; limits, sequences, absolute, smooth, continuous, etc.. I daresay the named-after-people definitions are in the minority.

You also have definitions named after common intuitions like openness and closeness in topology that end up confusing people because after some thought, mathematicians have found that some sets are open and closed at the same time, but that's not possible in most physical objects.

Ultimately, I think that the unfamiliar-name problem is just something that people have to get over with. We learn all the time the difference Coca-Cola and Pepsi, Apple and Google, and so many other unfamiliar names.

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by yummyfajitas on Friday February 19, 2016 @07:09AM (#11133033)
Closed sets are actually well named - a closed set is a set which is closed under the operation of taking limits.

It's open sets which are badly named. Open sets are used for distinguishing between points - i.e., two points (x,y) are topologically distinct if you can find two disjoint open sets x \in X, y \in Y with X \cap Y == \emptyset. Coming up with a collection of sets which are good for this purpose is totally NOT the opposite of being closed. "Distinguishing sets" might have been a better name.

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by jandrese on Friday February 19, 2016 @11:58AM (#11134668)
Yes, but when someone is writing down the equation they don't say:

"Sum of this set from 1 to infinity"

They use a capital Sigma, and scatter the symbols around it. The terms exist, but they're not present in the equations!

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by archgoon on Thursday February 18, 2016 @07:48PM (#11130659)
I know, right? Seriously, it'd be like naming a popular javascript framework 'Angular' or some other nondescript name like 'Hadoop'.
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by keithwhor on Thursday February 18, 2016 @08:02PM (#11130756)
I don't know why you're being downvoted. You're exactly right. "Oh, our stack is Rails on top of Postgres, we interface with Neo4j for some things. We use Ionic (which is of course Angular) for mobile and are playing with React."

To pretend that anything above the most fundamental abstractions doesn't involve domain-specific, obtuse, arbitrary lingo is just silly.

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by archgoon on Thursday February 18, 2016 @08:12PM (#11130803)
Because it was overly sarcastic. Hacker News, correctly, prefers commenters to make extended comments arguing a point rather than engaging in 'gotcha!' soundbite counterarguments.

This is both for improved civility (so that actual discussions can take place), and so that people flesh out their counterarguments more.

I apologize to adrusi for my response.

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by keithwhor on Thursday February 18, 2016 @09:20PM (#11131080)
Don't beat yourself up. Life's no fun without a little sarcasm. I don't think your intentions were misplaced and I don't think the rules are there to prevent fun. Just to put a reasonable limit on cynicism / negativity.
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by DannoHung on Friday February 19, 2016 @04:47AM (#11132584)
I agree, but JavaScript-framework-primeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprimeprime would also be hard to remember.
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by draven on Friday February 19, 2016 @06:05AM (#11132827)
They'd rename it prime^26 or p128e.
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by iheartmemcache on Thursday February 18, 2016 @08:25PM (#11130868)
This is true of any sufficiently advanced ecosystem. You're going to develop your own lexicon based on the historical advancement of your field. In our field, functor can mean at least 3 different things[1], which I argue is even worse, because without sufficient context you could make a false presumption. (Granted in mathematics, greek-letters are polymorphic, the polymorphism tends to be isolated in between branches).

Computer science has only had about 50 years to develop - we may have seen our Issac Newtons and Leibniz's but once we have 200 years of Gausses and Riemann's there'll be a lot of additional abstraction that's implicit depending on which subset of study you choose. CS will fork off into various subsets just like any other formal science, and a greek symbol to someone who finished their PhD in complex analysis might mean something entirely different to someone who's been working specifically in combinatorics for 30 years. At that point, our level of abstraction won't be pieces of paper on a stack.

It's not exclusive to CS or mathematics, ask someone who hasn't taken O-chem what "R" means in a Lewis Diagram. Ask a non-linguistic (of either type (ugh pun not intended)) what a 'terminal symbol' is. I'm sure they'll answer differently from someone who works at the airport, that's for sure.

[1] http://www.catonmat.net/blog/on-functors/

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by catnaroek on Thursday February 18, 2016 @10:03PM (#11131265)
The ML module language, as well as the scientific literature on it, consistently uses analogies from category theory. For instance, mappings between signatures (viewed as categories whose objects are structures) are called “functors”. Also, the act of making a signature less abstract by specifying one of its abstract type components is called (parameterization by) “fibration”. This analogy has some merit. For instance, the technique of structural abstraction shown in section 10.2 of Okasaki's book “Purely Functional Data Structures” can be viewed as defining monads - in categories other than Hask (or Scal or whatever)!

The analogy isn't 100% precise, though: If structures with the same signature (and perhaps equational laws) form the objects of a category, then what exactly are the morphisms? There are several possibilities. My favorite one is pre-ordering structures by the asymptotic complexity of their operations. (Every preorder can be viewed as a thin category.)

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by ced on Thursday February 18, 2016 @09:15PM (#11131060)
You came up with some genius model and proved it, and after all that work you decided that your name and some greek letter are what people need to think of when they hear about it and not anything about what it is? Fuck you Kronecker!

I believe the usual story is that Kronecker called it a delta function, then someone other than Kronecker decided to call it a Kronecker delta. It would be ridiculously presumptuous otherwise!

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by j2kun on Thursday February 18, 2016 @09:19PM (#11131076)
FWIW, it never happens that someone names a mathematical thing after him/herself. It is almost always named after them by a subsequent author as a sign of respect for the inventor.
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by SilasX on Thursday February 18, 2016 @09:47PM (#11131202)
Agreed. Fortunately, the Heaviside function gives us the best of both worlds. It's named after Heaviside, and it has a heavy side!
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by jaybosamiya on Friday February 19, 2016 @07:42AM (#11133134)
When I first came across the Heaviside function, I actually thought it was named as such due to its heavy side. It was only about a year later, that I realized -- "Why would they spell Heavy wrong? I need to Google this..." and found out about Oliver Heaviside
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by droque on Thursday February 18, 2016 @08:34PM (#11130900)
Some concepts can't be understood by drawing an analogy to an already known object. For example, the famous "a Monad is a Burrito" (non)explanation.
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by spion on Friday February 19, 2016 @06:16AM (#11132857)
A monad is an associative wrappable flatMappable. There, all done :)
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by jgh on Thursday February 18, 2016 @07:53PM (#11130704)
Although I don't agree with the sarcastic answer the sibling post here gave, I also don't entirely agree with your point -- nor do I entirely disagree with it.

Software development still has plenty of algorithms and data structures named after their inventors. Could you guess what a Duff's device is based on the name? How about a Merkle tree? (Although arguably you could call the Merkle tree a hash tree and get the point across)

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by archgoon on Thursday February 18, 2016 @07:57PM (#11130724)
What do you disagree with? That programmers have a long history of giving things arbitrary and sometimes non-sensical names that only make sense in context? Like GNU?

That the original article is directly trying to convince people that programming and math really aren't that different, but you do have to learn the other's culture?

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by jgh on Thursday February 18, 2016 @08:00PM (#11130741)
All these things you're naming are brand names for software and companies.
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by archgoon on Thursday February 18, 2016 @08:05PM (#11130771)
So? They're also solutions, or parts of a solution, to larger problems. They're tools, just like the kronecker delta.

'awk '{print $1'/'$2}' | xargs curl | jq .'

None of the those programs things have any meaningful names. but they're all used in a common programming, or scripting, expression.

If someone says "Oh, you should use Hadoop for that", this is a proposal to solving a problem.

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by zumatic on Thursday February 18, 2016 @08:15PM (#11130817)
Agreed, but in your example 'xargs', 'curl' and 'print' are arguably meaningful.
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by iheartmemcache on Thursday February 18, 2016 @08:36PM (#11130911)
If you know the term 'argument' sure. Your mind thinks "ok.. args.. x ..variable, so this could be variable in the categorical sense or cardinal sense". Curl? Really? When I first saw that after 10 years of wget'ing (yeah I've been at this a while), I had no intuition what it was until I saw the arguments being passed. My first thought was literally "like the weird Olympics sport with brushes on ice?" It took me half a minute to realize it had to do with URLs (and I still don't know what the 'c' means - though I'm sure GNUinfo or a man page would easily answer that).

Print is semi intuitive, but it could mean so many things. Print in awk vs print in tcsh might have entirely different behavior. Is there a \n appended? How do you delimit it? It might give you a vague idea, but you're still going to have to go to your informational resource of choice in order to figure out: a) the parameters to pass to it, b) the output formatting/delimiters/implicit \r or \n's, etc. (e.g. Hell, in Python 2 you add a comma to prevent a new-line - I'm not even sure that syntax was influenced from (though logically I can understand the comma-suffix implies additional components and thus you want to suppress any line-break), I'd be hard-pressed to the etymology of that).

Brings me right back to the 'functor' issue. But hey, at least a ML functor is entirely different from C++. They overloaded the term (like delta or mu might be overloaded in math) but at least I don't have the risk of using it and getting 'partially consistent' behavior. (For example, having print exhibit the same properties as bash would plus a side-cases added by the author as 'feature enhancements' which work great for him, but if his side-project gains traction will just lead to more ambiguity.)

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by tome on Friday February 19, 2016 @04:58AM (#11132625)
> It took me half a minute to realize it had to do with URLs

Oh! "curl" is "c url". It's taken me several years to understand that, and I knew exactly what it did! I imagined my data "curling" off the website, down the intertubes to my filesystem.

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by bmcorser_ on Saturday February 20, 2016 @07:46PM (#11142742)
more than that, i remember reading it was pronounced "see url" .. which makes sense when you look at its default behaviour of printing whatever's at the url you give it; especially compared to wget, which 'gets' whatever's at a url

:)

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by archgoon on Thursday February 18, 2016 @08:51PM (#11130978)
The name 'Kronecker delta' is meaningful to me.

There are two delta functions commonly used in mathematics, the Dirac Delta function, and Kronecker's delta. One is a discrete function, the other is continuous.

Kronecker, a mathematician who was obsessed with the finite, who tried to destroy Cantor's Set Theory, and to some extent, Cantor himself, is unsurprisingly the one associated with the discrete version.

Dirac, a physicist, used in in his book on Quantum Mechanics, and finds lots of use in Physics. Unsurprisingly, it's going to be the continuous version of the thing.

In mathematics, the history of ideas is caught up in the function of the ideas. Sometimes, to understand something, the easiest way is to look back at the problems that resulted in the development of the idea. In times before source control and git blame, it's actually quite helpful to attach the inventor's name to the concept. This is not, of course, the primary reason for the attachment (and many times, the history is more complicated and interesting), but it doesn't mean that it isn't useful.

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by jandrese on Friday February 19, 2016 @11:56AM (#11134657)
I've always been annoyed that mathematicians are stuck on one letter variable names. Worse, when they ran out of letters instead of rethinking the policy and considering descriptive variable names they instead decided to use foreign alphabets instead.

Regular mathematical notation is like what you would get when you run a program through one of those obfuscators that blows away all of the comments and whitespace, reduces variables down to a single letter, and renames all of the functions to single letters.

But we can't change it because it would confuse all of the existing mathematicians who spent years memorizing all of the quirks of the system.

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by catnaroek on Thursday February 18, 2016 @10:37PM (#11131365)
I'm no professional mathematician, but, as someone who studies mathematics in his free time, I've never struggled with “scary-sounding” terminology that tells me up-front how abstract a concept is. On the other hand, I have struggled with familiar-sounding names being used for unfamiliar structures. For instance, non-Hausdorff “spaces” totally baffle my (admittedly not very well-trained) geometric intuition about space.
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by hjek on Thursday February 18, 2016 @09:57PM (#11131240)
A counter-example is "Currying"/"Schönfinkelisation" (although it is also a mathematical concept).
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by OscarCunningham on Thursday February 18, 2016 @07:49PM (#11130673)
What would you call the Kronecker delta?
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by pash on Thursday February 18, 2016 @08:15PM (#11130814)
It's often called an indicator function. (The Kronecker delta is a special case of the more generally defined set-indicator function [0], the notation for which is also more obvious. The Kronecker delta can be described in this notation as something like 1_{i=j}(i, j).) Similarly, the Dirac delta function is often more descriptively called an impulse function. The Heavyside step function does what it says on the box.

A great many things in mathematics do have descriptive names, although it often helps to know a bit of Latin or Greek or to "get" the metaphor. That said, I don't think naming things in mathematics is particularly akin to naming things in programming. In programming, a good name can tell you enough about an object to be able to use it without understanding anything further about it, but in mathematics it's rare to be able to get much use from an object unless you assimilate its definition and the major consequences of its definition in the context you're working in.

There are few "user-facing APIs" in mathematics, and mostly for good reason.

0. https://en.m.wikipedia.org/wiki/Indicator_function

Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by abecedarius on Thursday February 18, 2016 @08:13PM (#11130806)
The equality function? Actually Knuth advocated a notation that went something like [x=y] for the Kronecker delta of x and y, with the obvious generalization to other conditionals.
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by mrob on Thursday February 18, 2016 @08:12PM (#11130804)
"equality operator"
Re:Why There Is No Hitchhiker’s Guide to Mathematics for Pro... by exgrv on Thursday February 18, 2016 @09:58PM (#11131247)
Except it is not the equality operator, but a special case of an indicator function (c.f. comment by pash).