"Writing software" = "writing down math". Consider: * "Writing software" means arranging symbols (bits in a machine language, UTF or ASCII characters in a high-level language) in certain permitted ways, to transform an input sequence of symbols (e.g., a stream of byte values representing user actions from a video game controller) into an output sequence of symbols (e.g., byte values representing pixel RGB colors for…
The Mathematical Hacker (2012)
21–30 of 186 posts
Re: The Mathematical Hacker (2012)
#22In Steve Yegge’s linked post: > Math is a lot easier to pick up after you know how to program. In fact, if you're a halfway decent programmer, you'll find it's almost a snap. This couldn’t be more wrong. Mathematics is the hardest thing I have ever done. I’m sorry, but mathematics is orders of magnitude more intensive and difficult than most programming. A simple fact that shows this is the amount of programmers who…
Granted, I think get the impression we might be overloading the term "mathematics".
Re: The Mathematical Hacker (2012)
#23"Writing software" = "writing down math". Consider: * "Writing software" means arranging symbols (bits in a machine language, UTF or ASCII characters in a high-level language) in certain permitted ways, to transform an input sequence of symbols (e.g., a stream of byte values representing user actions from a video game controller) into an output sequence of symbols (e.g., byte values representing pixel RGB colors for…
I fear that's a very narrow view of mathematics. Nevertheless, most of the time you can see the output of what you created while programming, check if it's the correct result, etc. I don't think it's like that in math, where you deal in a much more abstract realm.
Re: The Mathematical Hacker (2012)
#24> Rather, mathematics is a tool for understanding phenomena in the world: the motion of the planets, the patterns in data, the perception of color, or any of a myriad things in the world that might be understood better by manipulating equations. OK, so on one hand I love this point, and I'd love for it to be more broadly understood and appreciated, especially since my educational background is Mathematics and my CS h…
1. LISP based text/books always present the same two cliche examples
2. They never go beyond (1) given how much they talk about recursion. He mentions sqrt of 5 in the explicit formula of Fibonacci sequence and how that could be explored in more detail to find out where that comes from. For that you need to know [0]. That's part of a larger suit of theorems on sequences. This stuff together with theory that surrounds the Gamma function can easily take up a whole book. But there are a ton of books that treat either one really nicely: most textbooks on discrete math and real analysis.
Re: The Mathematical Hacker (2012)
#25Re: The Mathematical Hacker (2012)
#26The suggested "efficient" solutions for fibonacci and factorial only work on small inputs as they return the result as a long int. For these small instances the use of floating point functions like pow, sqrt, and exp is likely less efficient than a simple iterative solution. For larger instances using bignums as output, floating point computations do not even offer an alternative. It's true though that mathematics of…
Re: The Mathematical Hacker (2012)
#27In Steve Yegge’s linked post: > Math is a lot easier to pick up after you know how to program. In fact, if you're a halfway decent programmer, you'll find it's almost a snap. This couldn’t be more wrong. Mathematics is the hardest thing I have ever done. I’m sorry, but mathematics is orders of magnitude more intensive and difficult than most programming. A simple fact that shows this is the amount of programmers who…
I’d be curious what people’s coolest math tricks are that they’ve used at work. I did like one Taylor Series expansion and felt cool for a week.
Re: The Mathematical Hacker (2012)
#28Re: The Mathematical Hacker (2012)
#29Earlier quoted context omitted.
I fear that's a very narrow view of mathematics. Nevertheless, most of the time you can see the output of what you created while programming, check if it's the correct result, etc. I don't think it's like that in math, where you deal in a much more abstract realm.
"Mathematics" is not the same as "writing down math."
Re: The Mathematical Hacker (2012)
#30> Rather, mathematics is a tool for understanding phenomena in the world: the motion of the planets, the patterns in data, the perception of color, or any of a myriad things in the world that might be understood better by manipulating equations. OK, so on one hand I love this point, and I'd love for it to be more broadly understood and appreciated, especially since my educational background is Mathematics and my CS h…
I think the author is making two points among others: 1. LISP based text/books always present the same two cliche examples 2. They never go beyond (1) given how much they talk about recursion. He mentions sqrt of 5 in the explicit formula of Fibonacci sequence and how that could be explored in more detail to find out where that comes from. For that you need to know [0]. That's part of a larger suit of theorems on seq…