News for hackers. Stuff that matters.
Re:Land of Lisp is finally out...and has a music video. by drcode on Tuesday October 26, 2010 @09:59PM (#1836937)
Hi HNers- I'm Conrad (aka drcode) the author of said book. Thanks guys for helping build the buzz around LOL! (I should also thank pg for getting me into this stuff in the first place.)

I'll be lurking in this thread today and tomorrow... feel free to post any questions about the book or about Lisp in general and I will answer them.

Here's the only coupon code currently for the book. I'm posting it exclusively on HN and proggit: 76738380768586 (ASCII for LISPLUV :-)

It gives a 35% discount on the Book+eBook combo on the No Starch site (http://nostarch.com/lisp.htm). It expires 11/3. (FYI- If you just want the eBook, No Starch already has a 50% off sale right now across the board. If you only want the print copy, Amazon has a heavily discounted price already, for reasons that are mysterious to me. Oh, and if you've already pre-ordered, just cancel and reorder to get the discount.)

Re:Land of Lisp is finally out...and has a music video. by speek on Wednesday October 27, 2010 @02:48AM (#1837573)
Congrats on the release. I'm excited to finish reading the book. I just thought you should know, however, that there's a minor mistake (I think) in some of the walkthrough stuff in the pdf. On page 56:

  >  (defun pudding-eater (person)
      (cond ((eq person 'henry) (setf *arch-enemy* 'stupid-lisp-alien) '(curse you lisp alien – you ate my pudding))
  	    ((eq person 'johnny) (setf *arch-enemy* 'useless-old-johnny) '(i hope you choked on my pudding johnny))
  	    (t '(why you eat my pudding stranger ?))))

  > (pudding-eater 'johnny)
  (I HOPE YOU CHOKED ON MY PUDDING JOHNNY)

  > *arch-enemy*
  JOHNNY
arch-enemy at this time should hold the value 'useless-old-johnny, not 'johnny
Re:Land of Lisp is finally out...and has a music video. by drcode on Wednesday October 27, 2010 @06:41AM (#1838028)
Yes, you are right- You found the first errata!

At least the intent of the code is still clear.

Re:Land of Lisp is finally out...and has a music video. by ponnap on Friday October 29, 2010 @06:32AM (#1846803)
It seems to work for me.

  CL-USER> (defvar *arch-enemy* nil)
           (defun pudding-eater (person)
             (cond  ((eq person 'henry)(setf *arch-enemy* 'stupid-lisp-alien)'(curse you lisp alien - you ate my pudding))
           	    ((eq person 'johnny)(setf *arch-enemy* 'useless-old-johnny)'(i hope you choked on my pudding johnny)) 
          	    (t'(why you ate my pudding stranger?)))) 

  PUDDING-EATER
  CL-USER> *arch-enemy* 
  NIL 
  CL-USER> (pudding-eater 'johnny) 
  (I HOPE YOU CHOKED ON MY PUDDING JOHNNY) 
  CL-USER> *arch-enemy* 
  USELESS-OLD-JOHNNY 
  CL-USER>
Re:Land of Lisp is finally out...and has a music video. by kaffiene on Wednesday October 27, 2010 @07:26PM (#1840919)
But LISP is immune to bugs!?! What gives??
Re:Land of Lisp is finally out...and has a music video. by swannodette on Wednesday October 27, 2010 @01:00AM (#1837322)
You've also put together an amazing site for the book! Both the video and comic are hilarious and top notch. I'd send anybody curious about Lisp to your book site in a heartbeat.

Long Live Lisp.

Re:Land of Lisp is finally out...and has a music video. by Keyframe on Wednesday October 27, 2010 @11:22AM (#1838958)
Hah this is awesome. Not only from a coding perspective, but from one artist to another - congrats. I really enjoyed that comic about Lisp fleet. Comic also exposes one nasty thing about it - there is no single implementation that has all of the fleet's features. Do you recommend some specific implementation to go with your book? Anyways, first check that comes in November and I'm buying. Congrats on your project once again, really looks like something special!
Re:Land of Lisp is finally out...and has a music video. by drcode on Wednesday October 27, 2010 @11:29AM (#1839000)
I think Common Lisp, Scheme, and Clojure each have a lot to offer. I wish there was one perfect Lisp :)
Re:Land of Lisp is finally out...and has a music video. by mahmud on Wednesday October 27, 2010 @09:37PM (#1841304)
I think it was Appel who had a funny proof for the non-existence of the Perfect Compiler, it can be applied to Lisp quite easily.

FWIW, the proof used the halting problem and went like this. Assume there is a an unoptimized program that, when ran, would go through a series of motions but ultimately halt without any useful output or side-effect. Assume there existed a perfect compiler, PC; that compiler would need to be sufficiently smart enough to translate the problem to a single HALT instruction (or "Label X: goto X".) But since the halting of programs can not be proven analytically, it stands to reason that PC does not exist.

Re:Land of Lisp is finally out...and has a music video. by phob on Thursday October 28, 2010 @09:34PM (#1845694)
Actually, this could be done if the program didn't use any print or input commands. In general, it still cannot be done.
Re:Land of Lisp is finally out...and has a music video. by mahmud on Friday October 29, 2010 @12:07PM (#1847761)
I said "without any useful output or side-effect". I/O falls under those categories.
Re:Land of Lisp is finally out...and has a music video. by drcode on Thursday October 28, 2010 @09:37AM (#1842786)
I should mention that the book primarily uses Common Lisp.
Re:Land of Lisp is finally out...and has a music video. by aiurtourist on Wednesday October 27, 2010 @01:27AM (#1837377)
What a wonderful step in the direction of making Lisp "cool." The site is great, the comic is witty and wonderful, and — after meeting the No Starch guy a few years ago — you chose a great publisher.
Re:Land of Lisp is finally out...and has a music video. by jast on Wednesday October 27, 2010 @05:32AM (#1837894)
Thanks for this wonderfull book! I have just bought the printed book with the pdf. Very very good!

This might be just the perfect companion to "Pratical Common Lisp" by Peter Seibel. I always thought PCL is an excellent book for someone who already knows some Lisp. With these two books, I believe you really achieve a powerfull combo to start learning and using Lisp!

And the music is very cool too :-)

Re:Land of Lisp is finally out...and has a music video. by alrex021 on Wednesday October 27, 2010 @02:53AM (#1837591)
Firstly, congratulations on completing the book.

Will this book be available for Kindle by any chance?

Re:Land of Lisp is finally out...and has a music video. by drcode on Wednesday October 27, 2010 @06:58AM (#1838050)
My understanding is it will appear on the kindle in the near future (though I don't know the process for this 100%)
Re:Land of Lisp is finally out...and has a music video. by dpapathanasiou on Wednesday October 27, 2010 @06:22PM (#1840722)
If your contract with NoStarch permits, my startup (http://fifobooks.com/) could do this for you.

I.e., we could produce a native ebook (not pdf) file for the Kindle, iPad, Nook, Sony, and a bunch of other dedicated e-reader devices.

Re:Land of Lisp is finally out...and has a music video. by mark_l_watson on Wednesday October 27, 2010 @01:50AM (#1837442)
Thanks for the discount code Conrad, I just used it to buy the print+PDF book.

Also: I have really enjoyed your writing on the web for a long time!

Re:Land of Lisp is finally out...and has a music video. by Sikul on Wednesday October 27, 2010 @01:54AM (#1837450)
I enjoyed the comic. There is a typo in the last panel. It says "Doug the developer and and the others could now return to their programming, no longer in fear of bugs." The word "and" is repeated.
Re:Land of Lisp is finally out...and has a music video. by drcode on Wednesday October 27, 2010 @07:10AM (#1838072)
Thanks
Re:Land of Lisp is finally out...and has a music video. by mhd on Wednesday October 27, 2010 @06:37PM (#1840758)
And you found yourself a happy customer. You had me at balancing weasels on a rake. (Or, well, at the discount. Hard to fight against my poor German genes.)
Re:Land of Lisp is finally out...and has a music video. by silentbicycle on Wednesday October 27, 2010 @08:47AM (#1838303)
Sweet! Your Casting SPELs in Lisp was one of the things that first got me interested in Lisp years and years ago. :)

Just ordered. (The ebook seems to be working fine now.)

Re:Land of Lisp is finally out...and has a music video. by rsmaniak on Tuesday October 26, 2010 @11:19PM (#1837096)
Hey I just bought a copy of the e-book but I can't download it yet there's only a dummy file.
Re:Land of Lisp is finally out...and has a music video. by drcode on Tuesday October 26, 2010 @11:29PM (#1837118)
Hi- I just talked to my No Starch contact and they said the PDF should appear any moment- apologies... a little glitch on take-off.
Re:Land of Lisp is finally out...and has a music video. by rsmaniak on Tuesday October 26, 2010 @11:36PM (#1837138)
Great, thanks!
Re:Land of Lisp is finally out...and has a music video. by drcode on Tuesday October 26, 2010 @11:38PM (#1837141)
Hi- The glitch is fixed- You should have just received the correct PDF... Email me at [email protected] if this is not the case.
Re:Land of Lisp is finally out...and has a music video. by natep on Wednesday October 27, 2010 @06:36PM (#1840754)
Congratulations on getting the book out (and for the 30% off you gave me)! My only question so far is about the comic...what's the point of the 3 panels in the training facility? Is the 'hug' joke supposed to be funny?
Re:Land of Lisp is finally out...and has a music video. by drcode on Wednesday October 27, 2010 @08:13PM (#1841075)
I was trying to make fun of the Wii controller... oh well, you can't win them all...
Re:Land of Lisp is finally out...and has a music video. by natep on Thursday October 28, 2010 @09:29AM (#1842760)
Oh, OK. I think I got the joke and then thought 'oh, that can't be it'. It did give a nice break to the pacing of the story, though.
Re:Land of Lisp is finally out...and has a music video. by moogatronic on Wednesday October 27, 2010 @12:46AM (#1837290)
awesome! I was putting off ordering this while I finished reading Joy of Clojure, but the coupon code forced my hand. Thanks - Looking forward to the print copy arrival.
Re:Land of Lisp is finally out...and has a music video. by bjhess on Wednesday October 27, 2010 @06:36PM (#1840753)
Thanks for the book, and the discount. I've never took the time to really learn Lisp, even though I took a class on it in college. Excited to dig in to Land of Lisp!
Re:Land of Lisp is finally out...and has a music video. by vu3rdd on Wednesday October 27, 2010 @02:03AM (#1837469)
Thanks. I had been waiting for this book for a long time.

After some 3 attempts of download, I could download the book. All I can say is that this book is really awesome!

Re:Land of Lisp is finally out...and has a music video. by dytrivedi on Friday October 29, 2010 @04:02AM (#1846557)
Greetings from India. Just purchased eBook + Print. Thanks a bunch for discount. I look forward to become a LISPer. Cheers!
Re:Land of Lisp is finally out...and has a music video. by macmac on Wednesday October 27, 2010 @08:52AM (#1838315)
Will there be a Kindle version of the ebook?
Re:Land of Lisp is finally out...and has a music video. by drcode on Thursday October 28, 2010 @06:13AM (#1842376)
yes- takes a couple more weeks to get the mobi file, free with pdf purchase.
Re:Land of Lisp is finally out...and has a music video. by apgwoz on Wednesday October 27, 2010 @12:27PM (#1839273)
I'm really glad you made an mp3/ogg version of the song available. It's been on repeat all morning.
Re:Land of Lisp is finally out...and has a music video. by projectileboy on Wednesday October 27, 2010 @07:57AM (#1838163)
Awesome!! Congratulations - I know it was a long haul, but it looks like it was well worth it.
Re:Land of Lisp is finally out...and has a music video. by rlm on Wednesday October 27, 2010 @04:23AM (#1837768)
Any plans for a epub version? :)
Re:Land of Lisp is finally out...and has a music video. by drcode on Wednesday October 27, 2010 @06:59AM (#1838054)
Yes- I believe it will show up in a week or two.
Re:Land of Lisp is finally out...and has a music video. by rlm on Wednesday October 27, 2010 @09:36AM (#1838509)
Will it be available if I purchase the PDF or should I wait?
Re:Land of Lisp is finally out...and has a music video. by drcode on Wednesday October 27, 2010 @09:40AM (#1838525)
Someone else asked this... I'll let you know as soon as I find out.
Re:Land of Lisp is finally out...and has a music video. by TY on Wednesday October 27, 2010 @02:46PM (#1839910)
Please do lets us know about this, I read PDFs on my computers and ePubs on my portable devices.

And thank you for the book and the awesome video and comic! :-)

Re:Land of Lisp is finally out...and has a music video. by drcode on Wednesday October 27, 2010 @03:26PM (#1840097)
Yes, it'll be free to download a couple of weeks after you buy the PDF.
Re:Land of Lisp is finally out...and has a music video. by airfoil on Wednesday October 27, 2010 @11:01AM (#1838876)
Conrad, this was awesome! Excellent work! Ordering...
Re:Land of Lisp is finally out...and has a music video. by forwardslash on Wednesday October 27, 2010 @12:41AM (#1837282)
I preordered your book, can't wait for it to come!
Re:Land of Lisp is finally out...and has a music video. by spoon16 on Wednesday October 27, 2010 @01:29AM (#1837382)
purchased, looks fun!