<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8" -->
<rss version="0.92">
<channel>
	<title>KevBurnsJr - Blog</title>
	<link>http://blog.kevburnsjr.com</link>
	<description>Web Application Engineer</description>
	<lastBuildDate>Fri, 25 Nov 2011 21:15:21 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Asynchronous RSA key generation in Javascript</title>
		<description>Source on GitHub - https://github.com/KevBurnsJr/rsasync
--

Generating RSA keys is a characteristically CPU intensive operation. This presents problems when operating on weak devices (such as the iPhone 3G) in environments under strict computation restrictions (such as safari mobile's 10 second javascript execution timeout).

What is needed is an RSA key generation library that ...</description>
		<link>http://blog.kevburnsjr.com/javascript-asynchronous-rsa-key-generation</link>
			</item>
	<item>
		<title>Domain specific media types and REST</title>
		<description>Below is a thread posted to rest-discuss. I've reposted my response here for easy linking and reading.
http://tech.groups.yahoo.com/group/rest-discuss/message/17650

Daniel Roussel posts:

Hi,

I've been reading a lot about how to do "proper" REST this week and the more I read, the more I'm lost, especially the HATEOAS part I fear.

First, to give some context, ...</description>
		<link>http://blog.kevburnsjr.com/domain-specific-media-types-and-rest</link>
			</item>
	<item>
		<title>Three Line Ternaries</title>
		<description>These little buggers are so much more readable than their single-line brethren:

$yourmom['fat_joke'] = $yourmom['dinner'] instanceof Elephant
	? "so fat she ate Dumbo" 
	: "so skinny Africa sends her food";
 </description>
		<link>http://blog.kevburnsjr.com/three-line-ternaries</link>
			</item>
	<item>
		<title>Anonymous Functions in Mustache</title>
		<description>When using Anonymous Functions in Mustache, it's important to note this line from the spec:
https://github.com/mustache/spec/blob/master/specs/~lambdas.yml#L82

Lambdas used for sections should receive the raw section string.

This means that the inputs to your lambda will not be pre-rendered. The output of the lambda will be rendered.

So I had a lambda that looked like ...</description>
		<link>http://blog.kevburnsjr.com/anonymous-functions-in-mustache</link>
			</item>
	<item>
		<title>The Cloud is not a silver bullet.</title>
		<description>Many decisions are made at the outset of a brand new product/company. Recently I participated in an all-hands meeting to kick off development of a company's first product (CEO guy, Product guy, Engineering guy [me]). We talked about the product and the architeture and came around to the infrastructure. It ...</description>
		<link>http://blog.kevburnsjr.com/the-cloud-is-not-a-silver-bullet</link>
			</item>
	<item>
		<title>PHP Fatal Error 500</title>
		<description>How to force PHP to return an empty 500 response when it encounters a fatal error:
Add this to the very beginning and very end of your bootstrap file

register_shutdown_function(function(){	
	if(!defined('REQUEST_SUCCEEDED')) {
		header("HTTP/1.1 500 Internal Server Error");
		if(getenv('APP_ENV') != 'dev') {
			ob_clean();
		}
	}
});

// ...
// ... your whole application ...
// ... from top to bottom ...
// ...

define('REQUEST_SUCCEEDED', true);
 </description>
		<link>http://blog.kevburnsjr.com/php-fatal-error-500</link>
			</item>
	<item>
		<title>How to prevent a leak like Tumblr&#8217;s</title>
		<description>Tumblr took a bit of a tumble today. 
http://news.ycombinator.com/item?id=2343330

One of Tumblr's engineers (presumably) deployed a file to production which contained a critical flaw. 
The first character of the file was replaced with an `i` instead of a ` 'tumblr3',
        'password' => 'm3MpH1C0Koh39AQD83TFhsBPlOM1Rx9eW55Z8YWStbgTmcgQWJvFt4',
  ...</description>
		<link>http://blog.kevburnsjr.com/how-to-prevent-a-leak-like-tumblrs</link>
			</item>
	<item>
		<title>A letter from momtrepreneur</title>
		<description>Hi, its me again ;-).

I was thinking about what you said about focusing on your stuff in the US.  I was driving along the road to Supetar today, passing the olive orchards and thinking of you.

I was thinking about how one's 20s are the time for learning and exploring, ...</description>
		<link>http://blog.kevburnsjr.com/a-letter-from-momtrepreneur</link>
			</item>
	<item>
		<title>Mixing it up</title>
		<description>I have 6 books on my nightstand, each on a different topic:

	Lean Thinking
	process engineering
	
	Metaphors We Live By
	role of language in psychology
	
	Just Enough Software Architecture
	software architecture
	
	Drive
	psychology of motivation
	
	Web Operations
	operations
	
	Leading Geeks
	management
	
	Programming Erlang
	programming


This gives me the opportunity to jump around to follow whatever impulse is fueling me at any given time.  If ...</description>
		<link>http://blog.kevburnsjr.com/mixing-it-up</link>
			</item>
	<item>
		<title>Pretty JSON : Pipe to pj</title>
		<description>&#160;&#160;&#160;&#160;google image search for&#160;&#160;&#160;&#160;pipe and pjs
If you wind up doing a lot of curl from the command line (like you will using Riak),  add this line to the bottom of ~/.bashrc
# ...
alias pj='python -mjson.tool'
Now when you're curling, you can just pipe curl output to pj:
$ curl -s http://localhost:8098/riak/stats &#124; ...</description>
		<link>http://blog.kevburnsjr.com/pretty-json-pipe-to-pj</link>
			</item>
</channel>
</rss>

