Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Will this be taken down? Summer 2008 Form? (news.ycombinator.com)
5 points by nextmoveone on Jan 17, 2008 | hide | past | favorite | 8 comments


(defopr s2008form req (item-url (item 99665)))


what does defopr do? google search for 'defopr, lisp' returned nothing, google code has 'defopr' as parts of other words or variable names? I want to understand the joke. Is it a joke?


This is the source code for what made that link stop working and instead go to the comment containing it. All the operators in it are specific to Arc (if not to News), so I didn't expect anyone to really understand it. But if you want to:

(defopr foo ...) means news.ycombinator.com/foo will redirect to whatever url the body returns.

(item n) returns the item (e.g. story or comment) whose id is n, loading it if necessary

(item-url i) returns the url that leads to the item page of i

Actually I was in a hurry when I wrote this. I could have just said (defopr s2008form req "item?id=99665").


It's an Arc macro. Currently, public Arc documentation is pretty spotty :)

In http://news.ycombinator.com/item?id=98265, pg said that defop was to define an operation, and defopa was to define one only for admins. But the 99665 is the id of the comment where pg used defopr. Not sure what it means.


Why would it get taken down? I imagine that pg et al. are reviewing and tweaking it in advance of announcing that they're accepting applications.


Doesn't look like it's ready yet, note the (asterisks) instead of the due date.


I meant will pg be taking the link to it down.


It is now the first recurrent piece of news?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: