RE: Scheme Cookbook spam

"Anton van Straaten" <[email protected]> Mon, 31 Jan 2005 15:19:50 -0500
Newsgroups gmane.lisp.scheme.plt.schematics
Message-ID <[email protected]>
> Ah, never mind that rel=nofollow idea, it's a wiki, there's no
> template to modify.  Doh!

Not so doh! - the BlackListPlugin says "To fight Wiki-spam, the Plugin can
also add a rel="nofollow" parameter to external URLs.":
http://twiki.org/cgi-bin/view/Plugins/BlackListPlugin

I'll take a look at it.

> I don't see much harm in letting people sign up, but the first
> indication they're mucking with cookbook content and they get the
> boot, IMO.

We could end up with a pretty unmanageable user list, though.  I'd rather do
something to discourage bogus accounts from being created, if we can.

Continuing on my quest for a qualifying question for signing up, how about
providing a Scheme code snippet which people can paste into their favorite
implementation to run it, and then enter the result on the signup page?

I'm thinking of something short & simple but not too obvious, maybe
rearranging a list with car/cdr/cons.

But slightly tongue in cheek, we could provide something like this:

(let ((k (call-with-current-continuation (lambda (k) k)))
      (seeds (list 7 4 3 2 11)))
  (cond
    ((procedure? k) (k (list k 1 car caddr cadddr)))
    ((null? (cddr k)) (cadr k))
    (else ((car k) `(,(car k) ,(* (cadr k) ((caddr k) seeds)) ,@(cdddr
k))))))

;o)

Anton



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl