<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Cognitive Sandbox</title>
	<link>http://cognitivesandbox.com</link>
	<description>Vegan cooking, unix tidbits and other minor discoveries</description>
	<lastBuildDate>Mon, 22 Feb 2010 09:06:20 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Macaroni casserole</title>
		<description><![CDATA[The following details Greg Opperman&#8217;s recipe for vegan macaroni and &#8220;cheese&#8221;. Likely one of the tastiest of dishes I&#8217;ve ever had. It&#8217;s a touch elaborate, but well worth the effort.

Veggie Beef

1 cup TVP
2 cups water
2 tbsp vegetable oil
2 tbsp mild chili powder
1 tbsp cumin
1 tsb soy sauce
1 veggie broth cube
1 tbsp Sriracha
¼ cup chopped sage [...]]]></description>
		<link>http://cognitivesandbox.com/posts/macaroni-casserole/</link>
			</item>
	<item>
		<title>Invasive browser sniffing</title>
		<description><![CDATA[Take the a:visited pseudo-class and use it to determine if the client&#8217;s browser has visited a site. Do this en masse with a subset of Alexa&#8217;s top 1m websites and you can build up a fairly detailed profile of a visiting brower&#8217;s history.
var sites = [
  'http://google.com',
  'http://facebook.com'
];

$(function(){
  for (var i in [...]]]></description>
		<link>http://cognitivesandbox.com/posts/history-scanner/</link>
			</item>
	<item>
		<title>Fondue and fudge</title>
		<description><![CDATA[
This recipe works well both as fondue (while hot) and a soft fudge (while cold).

¼ cup margarine
225 grams dark chocolate
½ tbsp flour
½ cup corn syrup
½ tsp vanilla
2 tbsp soy milk


Melt the chocolate and liquids in a double boiler.
Sift in the flour to thicken the mixture up.

]]></description>
		<link>http://cognitivesandbox.com/posts/fondue-and-fudge/</link>
			</item>
	<item>
		<title>Misinterpreting problem spaces</title>
		<description><![CDATA[Polls and elections aren&#8217;t the same type of thing. The former asks for descriptive data, the latter for prescriptive preferences. To illustrate the hazards of this common misunderstanding, let&#8217;s go over some other ways data can partitioned and the problems that arise from confusing them.
Ordered data vs unordered data
Ordered data has an innate linear ordering, [...]]]></description>
		<link>http://cognitivesandbox.com/posts/misinterpreting-problem-spaces/</link>
			</item>
	<item>
		<title>Implementing Schulze STV</title>
		<description><![CDATA[Thus far, my implementation of Schulze STV has worked fairly well. The downside I&#8217;ve recently run into is in simulating real world multiple winner elections. Take Vancouver&#8217;s 2008 municipal election as an example, in which 32 candidates ran for 10 seats. The problem-space we&#8217;re looking at consists of 32 choose 10 nodes and (32 choose [...]]]></description>
		<link>http://cognitivesandbox.com/posts/implementing-schulze-stv/</link>
			</item>
	<item>
		<title>Vancouver Open Data</title>
		<description><![CDATA[Some months ago, there was talk in Vancouver about opening up the city&#8217;s data. As of yesterday, that data is now widely accessible in open formats at data.vancouver.ca. One such data layer is the bike routes in the city. There&#8217;s a lot more and it&#8217;ll be fun to see where it leads.

]]></description>
		<link>http://cognitivesandbox.com/posts/vancouver-open-data/</link>
			</item>
	<item>
		<title>Short codes</title>
		<description><![CDATA[With the advent of Twitter, shortened URLs have become all the rage: http://bit.ly/5dk33b, http://imgur.com/9G2rL, http://www.reddit.com/9dfo1. This kind of thing really isn&#8217;t all that hard to do.
$short_code = substr(preg_replace(
  array('/\//', '/\+/'),
  array('-', '_'),
  base64_encode(sha1(serialize($data, $salt), true))
), 0, 7);
Your $salt might be something as simple as a manually generated random string. If your data [...]]]></description>
		<link>http://cognitivesandbox.com/posts/short-codes/</link>
			</item>
	<item>
		<title>Root latke waffles</title>
		<description><![CDATA[
8 cups shredded root vegetables (e.g. yam, sweet potato, beet, carrot, onion, etc.)
1 cup flour
½ cup cornstarch
1 tsp salt
½ cup water
¼ cup oil
spices to taste

Shred the vegetables in a food processor (if you try this by hand, you&#8217;re likely to be at it all day). Mix the dry and wet separately before combining. Fry them [...]]]></description>
		<link>http://cognitivesandbox.com/posts/root-latke-waffles/</link>
			</item>
	<item>
		<title>Motivated hobbies</title>
		<description><![CDATA[Start a project around a subject you feel passionate about. It&#8217;s surprising how quickly you can get things done when there&#8217;s internal motivation. My most recent project went from prototype to useful application in about 10 days. I have to say, there&#8217;s a bit of pride that goes along with reaching a presentable milestone.

]]></description>
		<link>http://cognitivesandbox.com/posts/motivated-hobbies/</link>
			</item>
	<item>
		<title>Modern Ballots</title>
		<description><![CDATA[One of the difficulties I&#8217;ve run into with my recent project is explaining what it is a back-end web service does. In response, I&#8217;ve put a small web app up at modernballots.com. This front-end lets you create elections, but has no direct knowledge of voting systems. The winner is calculated remotely through the election web [...]]]></description>
		<link>http://cognitivesandbox.com/posts/modern-ballots/</link>
			</item>
</channel>
</rss>
