Securing your server

Ilya Grigorik: Securing your Rails environment.

But really this is "securing your server" with lots of good tips for closing down some typical security holes as well as preventing brute force attacks on your remaining open services.

— October 17, 2006

MediaWiki Templates: Turing Complete?

I've been struggling with MediaWiki templates for a new wiki I am trying to launch, and so reading Wikimedia Proves Greenspun's Tenth Law which suggests that MediaWiki templates may be turing complete made me chuckle.

These things are insane and MediaWiki is totally getting out of hand. At this point, a limited sub-set of HTML with some sort of scripting/template language would have been preferable. And the documentation for the templates is terrible.

Check out the template docs.

Here's an example template:

{{call|={{{1}}}|{{{2}}}=x0|1={{{2}}}|2={{{3}}}|3={{{4}}}}}

WTF? This code looks like brainfuck. And that's a simple one.

Here's the template that produces the company infobox. Look at that source code!

But I guess mainly I'm just bitter because I can't get conditionals working.

— October 17, 2006

Gimme back my Google!

Give me back my Google is a searchbox you can use to filter out all the annoying product "review" sites from your searches. It translates this search "nikon d200" into "nikon d200 -site:kelkoo -site:ciao -site:bizrate -site:pixmania.co.uk -site:pixmania.com -site:dealtime.com -site:dealtime.co.uk -site:pricerunner.co.uk -site:pricerunner.com -site:pricegrabber -site:pricewatch -site:shopping.msn.com -site:resellerratings -site:epinions.com -site:nextag -site:comparestoreprices.co.uk -site:unbeatable.co.uk -site:ebay -site:shopping.com -site:shopbot".

Via Daring Fireball.

— October 17, 2006