[Noisebridge-discuss] Wiki spam

Seth David Schoen schoen at loyalty.org
Thu Nov 18 23:34:00 UTC 2010


Ken Mankoff writes:

> I have seen success with the topic-specific question that must be 
> answered in order to submit a change. For example, "What is forty 
> plus two?" and then a small dialog box.

This might be totally plausible, but perhaps arithmetic is the wrong
domain to use to tell computers and humans apart.

head -1 | sed "$(number $(seq 100) | tr -d . | grep . | nl | tac | awk '{print "s/" $2 "/" $1 "/g"}'; echo 's/What is//; s/?//; s/plus/+/g; s/times/*/g; s/minus/-/g; s/divided by/\//g' )" | bc | number | tr -d . | xargs

(You can find number in the bsdgames package.)

-- 
Seth David Schoen <schoen at loyalty.org> | Qué empresa fácil no pensar en
     http://www.loyalty.org/~schoen/   | un tigre, reflexioné.
     http://vitanuova.loyalty.org/     |            -- Borges, El Zahir



More information about the Noisebridge-discuss mailing list