News for hackers. Stuff that matters.
Re:Twice as happy customers means half the marketing spend by smallnamespace on Friday June 23, 2017 @04:17AM (#14617710)
I'm constantly amazed at the lengths some coders will go to in order to avoid doing a couple of lines of algebra. Have seen people code up complicated Monte Carlo simulations, with all the attendant estimation noise, when basic stats and algebra gives the exact answer, sometimes even as a one-liner.

Serious question: Is it simply a strong math phobia, or have people neglected the skill for so long that they've actually forgotten middle school level maths?

Re:Twice as happy customers means half the marketing spend by Grustaf on Friday June 23, 2017 @05:26AM (#14617944)
I think it's just lack of basic algebra skills. If you have never been taught to think about math in an abstract way, you will naturally approach problems this way instead.

In Ancient Egypt for example when they needed to explain things like the Pythagorean theorem they would give examples, because there was no concept of abstract variables yet. I think this is similar.

In the same way, many people are comfortable working with vectors, transforming them with matrices etc but they have never been taught to think of transforms in an abstract way. So if they want to check if a certain matrix actually performs the transformation they want, they apply it to a bunch of random vectors to see if it's reasonable instead of just checking what it does to the base vectors, because they have no real concept of linear transforms, and only vague ideas about dimensionality and degrees of freedom.

To some extent it IS phobia, because if you just want to rotate a vector 90 degrees you don't really need concepts of orthonormal transformations so you might be reluctant to look at it that way, but if on the other hand abstract algebra is very natural then the abstraction is trivial to do, it just makes things easier.

Re:Twice as happy customers means half the marketing spend by sdiq on Friday June 23, 2017 @07:30AM (#14618378)
Any linear algebra book you would recommend for self study?
Re:Twice as happy customers means half the marketing spend by afarrell on Friday June 23, 2017 @07:53AM (#14618484)
If you are open to videos, you might be interested in https://www.youtube.com/watch?v=kjBOesZCoqc&index=1&list=PLZ...
Re:Twice as happy customers means half the marketing spend by TeMPOraL on Friday June 23, 2017 @07:36AM (#14618412)
I'd like to shift this question a bit - there are plenty of resources for "linear algebra for coders" (since they're in high-demand in gamedev circles). But what about recommended books for the abstract, general algebra? You know, all those rings and stuffs.
Re:Twice as happy customers means half the marketing spend by patrickthebold on Friday June 23, 2017 @08:34AM (#14618668)
I'm going to plug Linear Algebra Done Right (even though you asked for general algebra)

It's explicitly about shifting your thinking to a more abstract level. It's great if already have a working knowledge of matrices.

Re:Twice as happy customers means half the marketing spend by bjl on Friday June 23, 2017 @10:41AM (#14619479)
Visual Group Theory by Nathan Carter is a great introduction. There's a free preview online with the first few chapters, and you can find the whole thing for free through the usual channels.
Re:Twice as happy customers means half the marketing spend by mikebenfield on Friday June 23, 2017 @01:12PM (#14620824)
Abstract algebra is a massive field, the vast majority of which has little applicability to writing code, so it's hard to know what to recommend without knowing why you want to learn it.

If you're ready to get very serious with mathematics, I like Algebra by Mac Lane and Birkhoff. (Note that this is a different book from A Survey of Modern Algebra by the same authors, which I'm sure is okay, but... a different book.)

If you're not ready to get very serious with mathematics... well, then why do you want to learn algebra?

Re:Twice as happy customers means half the marketing spend by Grustaf on Friday June 23, 2017 @05:05PM (#14622784)
It may have little direct application to writing code but abstract algebra will definitely make you a better person... And like so many other things, it helps you indirectly to tackle problems in different ways and see them in a new light. Just being the most efficient coder possible is a pretty sad goal.

PS I agree about Mac Lane, he's great

Re:Twice as happy customers means half the marketing spend by mikebenfield on Saturday June 24, 2017 @12:31AM (#14624365)
> Just being the most efficient coder possible is a pretty sad goal.

Well, I agree, but life is short. Why learn algebra rather than complex analysis or probability theory or functional analysis or differential geometry or mathematical logic or general relativity or quantum mechanics or any one of dozens of other topics from physics or mathematics that will almost surely seem more interesting and fun to a non-mathematician? (Not to mention non-mathematical topics...)

Re:Twice as happy customers means half the marketing spend by Grustaf on Saturday June 24, 2017 @06:05AM (#14625077)
I think group theory is both very useful and interesting. There’s no need to get into Galois theory but the basics are definitely applicable in everyday life.

I agree there are tons of other things that people should study, like basic linguistics, relativity, quantum physics, optics etc. Geometry should be on top of the list, for as Plato said “let no one ignorant of geometry enter”.

But I don’t think time is an issue really, if you just spend an hour or so each evening reading you csn quickly get a basic understanding of lots of topics in not thst many years.

Re:Twice as happy customers means half the marketing spend by padthai on Friday June 23, 2017 @07:56AM (#14618496)
Abstract algebra is an old field so plenty of good options.I would recommend Abstract Algebra by Dummit and Foote. Clear theory, great examples and good writing:

http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0471433349...

Re:Twice as happy customers means half the marketing spend by Grustaf on Friday June 23, 2017 @08:17AM (#14618590)
I like Fraleigh's "Abstract Algebra", though some chapters can be a bit esoteric. Everyone should know the basics of group theory and the abstract vector notion.
Re:Twice as happy customers means half the marketing spend by Sean1708 on Friday June 23, 2017 @08:54AM (#14618774)
It's not a textbook but Khan Academy's Linear Algebra[0] course is a good start.

[0]: https://www.khanacademy.org/math/linear-algebra

Re:Twice as happy customers means half the marketing spend by mherrmann on Friday June 23, 2017 @04:22AM (#14617725)
I think it's that they don't have enough confidence in their mathematical ability to get to the correct answer. Programming lets you experiment and play around with the numbers more easily so you can convince yourself whether what you're doing is correct.
Re:Twice as happy customers means half the marketing spend by pdkl95 on Friday June 23, 2017 @04:57AM (#14617836)
I know I've had a few situations where the "play around with the numbers" part happened first. Usually once the actual goal was known the algebra (or similar details) would be obvious... but sometimes the inefficient/toy implementation was good enough.

Sometimes half-assed is ok, if it's the the right half of the ass.[1] The wrong half becomes yet another type of technical debt to be refactored "someday".

(this is not an excuse to ignore algebra or blindly assume the easiest/most-fun method is correct/useful/sane)

[1] https://twitter.com/jimweirich/status/29662011323326464 via https://www.youtube.com/watch?v=sCZJblyT_XM

Re:Twice as happy customers means half the marketing spend by dguest on Friday June 23, 2017 @04:41AM (#14617791)
I think it has as much to do with how math is taught as anything: it's easy to learn how to solve an equation, but convincing yourself that you didn't screw up without looking at the back of the textbook is another thing entirely.

Of course there are a lot of softer tricks (like checking limiting cases) which would boost people's confidence, but for some reason this is only really taught in college level physics.

Re:Twice as happy customers means half the marketing spend by fovc on Friday June 23, 2017 @04:46AM (#14617803)
I've seen both banking and consulting analysts try to solve this exact problem in excel. The ambitious ones will use circular references and let excel find the fixed point.

In (good) excel, most formulas you write have a clear input => output relationship. Solving a system of equations (no matter how simple) breaks this relationship down. I suspect a similar thing happens when programming.

Re:Twice as happy customers means half the marketing spend by Grustaf on Friday June 23, 2017 @05:31AM (#14617971)
Solving equations with circular references is a beautiful hack!
Re:Twice as happy customers means half the marketing spend by ssharp on Friday June 23, 2017 @08:13AM (#14618567)
I've done this exact thing before -- writing a Monte Carlo simulation where stats and algebra would have given me the same answer. I think it was less phobia and more that I'm completely out of practice with math and stats by hand, but spend enough time in code to be comfortable with it.

I knew my code would give me the right answer and I lacked the confidence in math, where even if I did do it by hand, I would have written the code to check it. The less time-risk way won.

Re:Twice as happy customers means half the marketing spend by falsedan on Friday June 23, 2017 @07:05AM (#14618275)
> I found that with a monthly cancel rate of 50% you need 500 new members each month to sustain 1000 subscribers

aka I found out that 500 is half of 1000.

I think it is tunnel-vision & familiarity: algebra requires different techniques than coding (API docs? REPL?)

Re:Twice as happy customers means half the marketing spend by corobo on Friday June 23, 2017 @09:45AM (#14619078)
> Serious question: Is it simply a strong math phobia, or have people neglected the skill for so long that they've actually forgotten middle school level maths?

One bit of anecdata - I started using computers because I was terrible with maths and they did the numbers thing for me.

Re:Twice as happy customers means half the marketing spend by preben on Friday June 23, 2017 @04:58AM (#14617846)
It's not negligence. The hardest part about the above calculation is, as usual is, the first step. This is true in general in mathematics; the calculations of a proof are similiar to that of another proof, but the tricks are what makes them difficult to figure out the first time. Setting leavers = joiners is a trick. The rest is just arithmetics.