<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1" -->
<rss version="0.92">
<channel>
	<title>miceda</title>
	<link>http://weblog.miceda.org</link>
	<description>011011010110100101100011011001010110010001100001</description>
	<lastBuildDate>Wed, 30 Jul 2008 02:48:17 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Mochiweb to Scalaris example</title>
		<description>I've created a simple HTTP interface with MochiWeb that allows you to read and write key/Value pairs to Scalaris. The REST "like" interface is very simple:

To write, send a request to: "http://localhost:8002/scalaris/write" with the parameters key="your_key", value="your_value"

To read, "http://localhost:8002/scalaris/read" with the parameters key="your_key"

The code uses a gen_server process that makes ...</description>
		<link>http://weblog.miceda.org/2008/07/26/mochiweb-to-scalaris-example/</link>
			</item>
	<item>
		<title>How Scalaris stores your data</title>
		<description>After installing Scalaris, running a few nodes, and playing with the API, I wanted to figure out how it actually stores the data. Using this diagram: supervisor.pdf I tracked down the source in the file cs_db_otp.erl ( the db was the obvious clue). 

The database is a gen_server that wraps ...</description>
		<link>http://weblog.miceda.org/2008/07/26/how-scalaris-stores-your-data/</link>
			</item>
	<item>
		<title>Getting started with Scalaris</title>
		<description>After installing Scalaris earlier today, I couldn't help but jump into the code to see how things work.  The users guide shows how to use the Java API and there are some nice examples. But as far as Erlang goes, I couldn't find any information. Fortunately there are a ...</description>
		<link>http://weblog.miceda.org/2008/07/25/getting-started-with-scalaris/</link>
			</item>
	<item>
		<title>First Look at Scalaris on OS X 10.5</title>
		<description>I've been itching to try out Scalaris since it hit Google code. Well, I finally got the chance today.  Why am I so excited about it? Two reasons: 1) I've been playing with my own Erlang version of Amazon SQS I built and would like to see if I ...</description>
		<link>http://weblog.miceda.org/2008/07/25/first-look-at-scalaris-on-os-x-105/</link>
			</item>
	<item>
		<title>Using ErlyWeb templates with MochiWeb</title>
		<description>Here's a very simple way to add dynamic templates (views) to a MochiWeb based web front-end.  I wouldn't want to build an entire web application this way, but it's a quick way to add a simple web interface to your Erlang application.

First I pulled the simple template code from ...</description>
		<link>http://weblog.miceda.org/2008/05/05/using-erlyweb-templates-with-mochiweb/</link>
			</item>
	<item>
		<title>Install Erlang on Ubuntu with Capistrano</title>
		<description>Here's a simple task that I use to install Erlang on remote servers using Capistrano and Deprec. Assuming you have an SSH key setup with the remote server, you can run this task from a terminal like this: "miceda:erlang:install". This downloads the source and does the make/make install dance.


Capistrano::Configuration.instance(:must_exist).load do ...</description>
		<link>http://weblog.miceda.org/2008/05/05/install-erlang-on-ubuntu-with-capistrano/</link>
			</item>
	<item>
		<title>Deprec, Ubuntu 7.0.4 (Feisty), and your Proxy server</title>
		<description>
The Problem
Your trying to deploy a Rails app using Deprec on Ubuntu running behind a proxy server and getting connection errors.
Possible solution
You need to tell apt-get about your proxy server. Here’s how I did it:

	Create a file ”/etc/apt/apt.conf”
	In the file add the following:


Acquire { Retries "0"; HTTP {Proxy "http://YOURPROXY:PORT";};};
Now edit ...</description>
		<link>http://weblog.miceda.org/2007/09/05/deprec-ubuntu-704-feisty-and-your-proxy-server/</link>
			</item>
	<item>
		<title>Software to detect when words rhyme</title>
		<description>The other night my daughter was telling me about some interesting facts she read in one of her school books. One fact in particular caught my interest:

Orange and Silver are the only two words in the (American)English language that do not ryhme with any other word

My first thought was “How ...</description>
		<link>http://weblog.miceda.org/2007/08/25/software-to-detect-when-words-rhyme/</link>
			</item>
	<item>
		<title>Create a ShapeFile with Ruby</title>
		<description>Here’s a quick snippet on how to install and create a ShapeFile from data in your Model.
The setup

	Download and Install ShapeLib.  Make sure to note where the install puts the libshp.so and the shapefil.h (you may need that information later).
	Download ruby-shapelib
	Unzip ruby-shapelib and run: “ruby ./extconfig.rb”. Depending where step ...</description>
		<link>http://weblog.miceda.org/2007/08/20/create-a-shapefile-with-ruby/</link>
			</item>
	<item>
		<title>Scrape the Wayback machine with this little script</title>
		<description>Here’s a little script I use to scrape archived pages from the Alexa Wayback Machine . Basically, it works like this:

	Query Alexa for an old URL you’re looking for and the Years you’re interested in
	Use Hpricot to look in the results for links to archived pages. The pattern is http://web.archive.org/web/200301../url. ...</description>
		<link>http://weblog.miceda.org/2007/08/17/scrap-the-wayback-machine-with-this-little-script/</link>
			</item>
</channel>
</rss>
