Live data from Hacker News

A Programmer's Introduction to Mathematics

jeremykun.com

41–50 of 223 posts

Re: A Programmer's Introduction to Mathematics

#41
I am basically trying to understand the formulas in machine learning papers, will this book help achieve improvements in speed?

I just realize I fear math because the educational system I grew up in was violent (like beating kids for getting a quiz wrong wtf).

It was only through psilocybin mushrooms did I discover math and calculus again.

Re: A Programmer's Introduction to Mathematics

#42

Jeremy, been reading your blog for years. Just wanted to say thanks for the wealth of readable intros to interesting mathematics.

I'd like to tag onto this: I've been reading your blog for nearly a decade and can say that you were one of my inspirations for studying math and CS.

Re: A Programmer's Introduction to Mathematics

#43
post #41

I am basically trying to understand the formulas in machine learning papers, will this book help achieve improvements in speed? I just realize I fear math because the educational system I grew up in was violent (like beating kids for getting a quiz wrong wtf). It was only through psilocybin mushrooms did I discover math and calculus again.

Plenty of cliffhangers in this comment

Re: A Programmer's Introduction to Mathematics

#44

Do the exercises have solutions? The most annoying things about math books is the lack of solutions. A beginner absolutely needs to know whether or not their solutions are correct. The “the reader should know if they are correct” logic doesn’t apply here. A beginner could easily have faulty logic and fool themselves into thinking their solutions are correct. I usually don’t buy math books without solutions if I’m sel…

I would pay for the solutions as a book on its own. Solutions are essential for self learning, specially for tricky parts in mathematics i.e writing proofs, probability problems. I think the book “how to prove it” has good examples

Re: A Programmer's Introduction to Mathematics

#45

Do the exercises have solutions? The most annoying things about math books is the lack of solutions. A beginner absolutely needs to know whether or not their solutions are correct. The “the reader should know if they are correct” logic doesn’t apply here. A beginner could easily have faulty logic and fool themselves into thinking their solutions are correct. I usually don’t buy math books without solutions if I’m sel…

I read once, the key to mastery is perceptual exposure and deliberate practice.

Don't know how the first part would work with Math.

Re: A Programmer's Introduction to Mathematics

#46
post #16

The description got me excited, but looking at the table of contents, the level is ultra basic - appears to roughly correspond to first year of a cs degree.

Certainly more than just the first year, and I don't think the majority of CS degrees require multivariable calc or any group theory. I do wish there were more of a preview than just the TOC to see how novel the examples are and how much it helps with intuition for these mathematical concepts beyond what you would learn in a plain CS sequence. That would be my reason for buying the book and I wouldn't write it off ju…

My uni did this weird thing where they put all the math courses into the first year (except for one stat course in the second year). The first semester had highschool basics like calc and trig, followed up by another two courses the following semesters that covered linear algebra and ... something else. I don't remember, I because I was too busy with girl problems.

Looking back, that first year was brutal with each successive year getting way easier and way more fun.

Re: A Programmer's Introduction to Mathematics

#47
From the bit I've read from https://pimbook.org/pdf/pim_first_pages.pdf it seems to be very very poor.

* 19 pages of droning before you start with something concrete. Much talk talk talk about your experiences before you get to the point. I can't put into words how much it frustrates me when I'm expecting to read something interesting and the author takes 3 paragraphs talking about nothing (usually with lots of overexcited exclamation marks).

[sorry if I am being blunt, but it's how I feel]

* Imprecise definitions. This defeats the purpose of learning mathematics. Like Leslie Lamport says, rigour in mathematics is not a hurdle or a chore one must endure, it's the whole point of learning the damn thing. You give imprecise definitions, and then obscure it even further with neverending paragraphs of confusing explanations. This to me kills the whole pedagogical value the book might have. Here is a rule of thumb that in my experience applies well to almost everything in mathematics: the simpler your explanation is, the better. Your goal is to explain a concept as succintly and beautifully as possible. This exposes the idea behind it. A long and meandering explanation only serves to obscure the idea behind. Less is more.

* Attempting to shoe-horn programming "lingo" into mathematics. Sometimes, the best way to explain something, even to programmers themselves, is not to force an awkward analogy with Java programming. EDIT: 5 pages later: "The best way to think about this is like testing software." oh boy...

* The graph in e.g. page 8 (20 of the pdf) is terribly typeset. The axes text is way too small to read and in a font that doesn't match the rest of the content.

Re: A Programmer's Introduction to Mathematics

#48
post #6

It's good to have something that lowers the bar for programmers so they could learn themselves some math without much fear. Knowing math is very important if you are a coder - and not just linear algebra: knowing a formula, for example, might let you do certain things in constant rather than linear time or, perhaps, reduce the cost of the iteration. Unfortunately, too many of those who can call themselves programmers…

I'm sorry if this isn't your intent but the way you structured your comment comes off as very condescending. Aside from that, I'm also skeptical that the frequency in which these maths apply to practical, commercial programming is really that high. Im not anti math or something. I just think the practical value gets way over sold by some people. And sometimes it feels like it's because of the dislike of "those who ca…

If anything, I think the practical value of mathematics is generally undersold. It seems OK if some people tend to oversell it.
Post reply on HN