News for hackers. Stuff that matters.
Re:Google's Plop is implemented in Lisp by enomar on Wednesday November 12, 2008 @06:48PM (#362493)
Plop appears to be part of a Google-summer-of-code project.

I don't think that makes it a Google product/project. It just means Google paid a student to work on an open source project.

That student appears to have written some of that code in Lisp. Why is that interesting?

Re:Google's Plop is implemented in Lisp by moshe on Wednesday November 12, 2008 @07:38PM (#362537)
Actually, I work full-time for Google Research (and have written all of the plop code, so far). Google happens to have sponsored a bunch of summer-of-code students through opencog.org, one of whom I supervised, but he coded in C++.

I think that the idea of a Lisp system that learns Lisp programs via probabilistic modeling is intrinsically interesting regardless of who funds it, but that could be personal bias ;->.

Re:Google's Plop is implemented in Lisp by enomar on Wednesday November 12, 2008 @08:09PM (#362565)
I meant no offense. The work does appear to be interesting, but not for the reason indicated in this post's title.
Re:Google's Plop is implemented in Lisp by moshe on Wednesday November 12, 2008 @08:39PM (#362582)
None taken. Thanks!
Re:Google's Plop is implemented in Lisp by frisco on Wednesday November 12, 2008 @10:20PM (#362644)
moshe: by the way, you have the greatest email address ever.
Re:Google's Plop is implemented in Lisp by staticshock on Wednesday November 12, 2008 @11:10PM (#362681)
madscience at google com? wow, i second that sentiment
Re:Google's Plop is implemented in Lisp by moshe on Thursday November 13, 2008 @01:26PM (#363368)
Heh, thanks. moshe at google dot com was already taken, it was my second choice...
Re:Google's Plop is implemented in Lisp by axod on Wednesday November 12, 2008 @06:58PM (#362504)
if (submission.title.indexOf("lisp")!=-1) submission.voteUp();

surely...

Re:Google's Plop is implemented in Lisp by DavidSJ on Wednesday November 12, 2008 @08:22PM (#362575)
I think you mean:

(if (search "lisp" (submission-title submission)) (incf (submission-score submission)))

Re:Google's Plop is implemented in Lisp by ken on Wednesday November 12, 2008 @09:14PM (#362603)
Oh dear, I hope axod wouldn't have used IF with a single then-form. That's just asking for trouble. :-)
Re:Google's Plop is implemented in Lisp by DavidSJ on Wednesday November 12, 2008 @09:15PM (#362604)
Are you worried about the return value or something?
Re:Google's Plop is implemented in Lisp by ken on Wednesday November 12, 2008 @09:26PM (#362614)
No. I'm worried somebody will add another form, without realizing it has the opposite meaning (i.e., else) from the INCF call. Traditionally, if you have only one then-form, you'd use WHEN.
Re:Google's Plop is implemented in Lisp by DavidSJ on Wednesday November 12, 2008 @09:57PM (#362635)
Ah, fair point. I actually made that mistake a couple days ago, in fact.
Re:Google's Plop is implemented in Lisp by Maascamp on Thursday November 13, 2008 @12:26AM (#362747)
I think you mean

if(strpos(strtolower($title.$body), 'lisp') !== false) ++$votes;

Oh wait, this is Hacker news. Apologies.

Re:Google's Plop is implemented in Lisp by aswanson on Wednesday November 12, 2008 @09:29PM (#362617)
That student appears to have written some of that code in Lisp. Why is that interesting?

Yes, I distrust all language zealots and I avoid them. Committment to a language is a lack of integrity.

Re:Google's Plop is implemented in Lisp by thomasmallen on Wednesday November 12, 2008 @10:38PM (#362656)
Unless you know that language best and deliver the best results in it. I used to always be completely technology-agnostic, until I realized that not everyone has time to learn the best technology for the job (unless your company is filthy rich with talent). A coworker of mine was preaching "you can't just go with what you know" the other day, and I thought to myself, "hold on, that may be good and PC, but if I'm the head developer on this project, and I'm not using anything too exotic, why not, assuming that the app is stable and can be reasonably supported?"

I know that when I work with other developers, I want them to use what they will do best with, because I know that I and others are more than smart enough to make minor changes without breaking the thing. Now, it better be well documented, but that's another matter...

Edit: And dammit, why does this topic title tempt me so much to say "your mom is implemented in Lisp"? That's gotta mean something, and I'll bet it's cold as ice.

Re:Google's Plop is implemented in Lisp by jodrellblank on Thursday November 13, 2008 @06:34AM (#362975)
Nah, it just means she's been collecting the garbage since the 70's. :/