News for hackers. Stuff that matters.

bddbbdb

Tech/business jargon: "leverage" (when used as a verb) anywhere: "utilize" (when used as a word)
Re:Ask HN: Best Mathematics book for complete noobie? on Tuesday August 11, 2009 @02:29PM (#755941)
Concrete Mathematics is (as it says itself) intended for first year grad students. It is certainly good, but it is NOT for a "complete noobie". I am in a similar situation, and am finding Vellman's "How to Prove It" extremely useful. Having poked around the edges of math for about a year, I finally realized that proofs are central to mathematical maturity... No more eyes crossing when I read a new CS textbook!
Stonemason, artist, (unemployed) mathematician.
Re:Ask HN: Thinking in Functional programming on Monday July 20, 2009 @12:31PM (#714639)
Little Schemer, then SICP. For sure. As for TDD, take a look at SchemeUnit, which I've found very handy in testing the exercises in Little Schemer.

SICP is one of the single most valuable and important texts in CS. Little Schemer is structured as a real training regimen to get your mental muscles ready to handle that theory.

Re:Poll HN: Do you smoke Cigarettes? on Saturday July 18, 2009 @11:13PM (#712536)
Please provide ashtrays and convenient places to dispose of them. We'll use them when they are available.
Re:Poll: Do you smoke marijuana? on Saturday July 18, 2009 @11:11PM (#712532)
THC does not make you a better programmer, though I suppose there could be some Balmer-peak like point of intoxication out there. I did once have an interesting insight into the my mind on drugs, though, in writing a simple TI-83+ program for use in a rangefinder my friends and I decided to build while high. The final product worked exactly correctly, but when I examined the code in a non-intoxicated state, I saw that I had used some fairly elaborate trig identities, when the most appropriate solution would have simply been the tangent. That said, cannabis does tend to get me doing something right away, even if I dispense with the original work half the time. The sense of pure fascination is sometimes of great value.

Now the real question is whether LSD improves my math skills.

Unit test procedures as returned values?

I've been having a fantastic experience working through the Lil Schemer using Schemeunit to test my progress. I have, however, hit a stumbling block. Maybe i'm missing something, but I can't see how to go about testing for correct procedures as my returned values. Anyone have any suggestions? I am not terribly axed to do this in any particular lisp, though I do seem to prefer Scheme so far.

( Read More... | no comments | on HN )