Better HN
topnewbestaskshowjobs
Log inSign up

paul_reiners

117 karma · joined Aug 31, 2007 (19y ago) · 54 submissions

I'm a professional programmer and an amateur musician and live in Minnesota.
Submissions

1.

10 Great Tech Books(spectrum.ieee.org ↗)

11 points · by paul_reiners · 18y ago · 7 comments

comment 18y ago · link · parent

I don't think it is, but I saw a test case here claiming it is:

http://www.cs.northwestern.edu/academics/courses/325/program...

3.

Q about car-circularity

1 points · by paul_reiners · 18y ago · 1 comment

4.

You Get What You Pay for With Online Q&A Sites(www1.umn.edu ↗)

2 points · by paul_reiners · 18y ago · discuss

comment 18y ago · link · parent

A watched kettle never boils.

comment 18y ago · link · parent

They concentrate on algorithms. Good for them. That is how it should be taught.

7.

Soccer Robots Compete for the Title(fraunhofer.de ↗)

2 points · by paul_reiners · 18y ago · discuss

8.

Solutions to Exercises in "ANSI Common Lisp"(automatous-monk.com ↗)

23 points · by paul_reiners · 18y ago · discuss

comment 18y ago · link · parent

* Sherlock Holmes: Because he was the coolest guy ever, even if he was fictional.

* Bobby Fischer: The world had never seen such monomania before and probably never will again. (Of course, he went mad in the end.)

* Lennon and McCartney: The greatest popular music composers since the Gershwins.

* Kurt Gödel: The greatest logician of all time.

* Bach and Chopin: The greatest composers for the keyboard of all time.

comment 18y ago · link · parent

Read "Smart & Gets Things Done" by Joel Spolsky:

http://www.joelonsoftware.com/items/2007/06/05.html

comment 18y ago · link · parent

That's exactly it. Saying that learning a new language is just a matter of learning a new syntax is like saying that an English-speaking, non-German speaker could translate a German text to English by taking a German-English dictionary and going through and translating the words one-by-one. It's not quite as simple as that.

comment 18y ago · link · parent

I've noticed that the most effective way to get a programming project finished is to just let everything else slide for a few weeks: paying bills, exercising, being social. Probably not a very healthy way to live in the long run, though.

13.

Nim Chimpsky: The Chimp Who Would Be Human(salon.com ↗)

1 points · by paul_reiners · 18y ago · discuss

14.

Once An Algorithms Guy, Always An Algorithms Guy(ddj.com ↗)

7 points · by paul_reiners · 18y ago · discuss

comment 18y ago · link · parent

That's a compliment, right?

comment 18y ago · link · parent

People always like talking about what they're working on.

comment 18y ago · link · parent

I can't get any speed-up by using declarations. If anyone does, please let me know.

comment 18y ago · link · parent

Right now I'm in the middle of a study group that I started here at work. We're studying Graham's book "ANSI Common Lisp" and studying inference in particular, so we're also covering some of "Paradigms of Artificial Intelligence Programming".

After that's done, I'm going to either spend some time working on the Netflix Prize (just to learn more, not in a real attempt to win) or doing some music programming in either Lisp, using the Common Music API, or Mathematica.

comment 18y ago · link · parent

Sarosh,

Thanks!

I know about Csound, but I've never actually used it. Lately I've been playing around with Common Music, which is written in Lisp and has a Lisp API.

Now that Mathematica supports MIDI, I want to do some music programming in Mathematica also.

Here's a site I maintain on music programming, by the way:

http://www-128.ibm.com/developerworks/spaces/algomusic

Paul

20.

Back to Basics: Algorithms(computerworld.com ↗)

2 points · by paul_reiners · 18y ago · discuss

comment 18y ago · link · parent

Here's an article I wrote on the same topic:

http://www.ibm.com/developerworks/java/library/j-camusic/

They did an excellent job with WolframTones. Mathematica is a powerful language.

comment 18y ago · link · parent

Eric Raymond is an excellent writer and you can't go wrong reading this article.

Also, learn how to do mathematical proofs. I don't know what the best way to do this is. I learned from 10th-grade Euclidean geometry class. Maybe you can pick up a good book on Euclidean geometry that has a lot of exercises in it.

Finally, pick up a good book on Lisp that has a lot of exercises in it and do all the exercises in it. Winston and Horn is good. "The Little Lisper" is also good.

23.

Q about Exercise 13.3(b) in "ANSI Common Lisp"

2 points · by paul_reiners · 18y ago · 1 comment

24.

Django Wired(artima.com ↗)

1 points · by paul_reiners · 18y ago · discuss

comment 18y ago · link · parent

Actually, I take back my statement that this is not set-theoretic union.

If I'm willing to accept '(a a) as representing the set '(a) when I use it as an input to union, I should be just as willing to accept '(a a b) as representing the set '(a b) when I receive it back from union.

comment 18y ago · link · parent

Yes, you're right. The fact that they leave the behavior of union in this case undefined in the standard is surprising to me. The fact that SBCL and GNU CLISP implement it the way they do is just bizarre to me.

27.

Q about Lisp union

5 points · by paul_reiners · 18y ago · 7 comments

28.

Party of One: The Loners' Manifesto(dir.salon.com ↗)

4 points · by paul_reiners · 18y ago · 1 comment

comment 18y ago · link · parent

Thanks, I figured it out now.

comment 18y ago · link · parent

I'm not sure, but I think you need to use labels, rather than flet, in this case, since local functions defined using flet cannot be recursive. At least that's how I interpret what it says on page 319.

At any rate, this solution works using labels:

  (defmacro ntimes (n &rest body)
      (let ((h (gensym))
            (g (gensym)))
        `(let ((,h ,n))
           (labels ((ntimes-local (,g) 
                    (if (> ,g 0) 
                        ,@body)
                    (if (zerop ,g)
                        nil
                        (ntimes-local (1- ,g)))))
             (ntimes-local ,h)))))
(Sorry, but again I don't know how to preserve the formatting of my code in this newsgroup.)
12