<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.2" -->
<rss version="0.92">
<channel>
	<title>Nicollet.Net</title>
	<link>http://www.nicollet.net</link>
	<description>Go crazy with computers</description>
	<lastBuildDate>Thu, 04 Mar 2010 21:38:05 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>PHP 5.3 Closures as Block Literals?</title>
		<description>I explained earlier a few things about writing reusable CSS code, and how it interacted with PHP. Let's start with this basic HTML for generating two columns, with the right one being flexible and resizing to fill all available space:
&#60;div class="col2"&#62;
  &#60;div class="col2-l"&#62;
    [Content of left ...</description>
		<link>http://www.nicollet.net/2010/03/php-closures-as-block-literals/</link>
			</item>
	<item>
		<title>Lorem Ipsum</title>
		<description>Lorem Ipsum is a sample phrase used as a filler in typesetting, to illustrate how some text would look. Here's a sample paragraph:
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco ...</description>
		<link>http://www.nicollet.net/2010/03/lorem-ipsum/</link>
			</item>
	<item>
		<title>Reusable CSS</title>
		<description>Woe unto CSS, for it provides no refactoring-friendly tools! The CSS beast has neither functions nor variables, and its definition of inheritance is perverted beyond words. Pain and suffering await those who hope to keep their CSS from one project to the next, or even share the CSS between pages ...</description>
		<link>http://www.nicollet.net/2010/02/reusable-css/</link>
			</item>
	<item>
		<title>JavaScript (Un)Maintenance Trick</title>
		<description>You're hunting your codebase for bugs, and doing some refactoring and cleanup along the way. You stumble across a classic WTF, if (x == true), and decide to replace it with the shorter if (x).

The trouble is that you're playing with JavaScript here, and the two are not the same.
This ...</description>
		<link>http://www.nicollet.net/2010/02/javascript-unmaintenance-trick/</link>
			</item>
	<item>
		<title>How to build a page client-side?</title>
		<description>The basic philosophy of jQuery is to start with some existing HTML sent over vanilla HTTP by the server. That HTML should be all you need (so that people without a JavaScript-enabled browser can still use the web site). Then, jQuery enhances that HTML by adding new behavior (usually changing ...</description>
		<link>http://www.nicollet.net/2010/02/jquery-build-page/</link>
			</item>
	<item>
		<title>That DOM removal thing, again</title>
		<description>Earlier this month, I pondered what looked like a bug in JavaScript/DOM/jQuery: removing an element from the DOM with jQuery (either manually with remove() or by setting the html() of its parent to something else) kept most of the data bound to the element around, but removed all event handlers ...</description>
		<link>http://www.nicollet.net/2010/01/that-dom-removal-thing-again/</link>
			</item>
	<item>
		<title>Shouldn&#8217;t Happen&#8230;</title>
		<description>Design and development is turning the great unknown chaos into tiny bits of controlled functionality with promises about what the result will be, and expectations about what the input should be.

There is an interesting duality between two categories of expectations, depending on whether they are the responsibility of the user, ...</description>
		<link>http://www.nicollet.net/2010/01/shouldnt-happen/</link>
			</item>
	<item>
		<title>DOM removal and events</title>
		<description>Let's try something... go to a page with jQuery enabled (such as this one), and run the following code in your Javascript debugger console (such as Firebug):
var button =
  $('&#60;button&#62;Click me&#60;/button&#62;')
  .click(function(){alert('Clicked!')})
  .appendTo('body')
In case you were wondering, this creates a brand new button, causes it to display ...</description>
		<link>http://www.nicollet.net/2010/01/dom-removal-and-events/</link>
			</item>
	<item>
		<title>Interest(ing) rates</title>
		<description>The most common way of investing money is putting it in a savings account. You lend a fixed amount of money to someone, and they pay interest over that money at a predetermined rate. Let's say you lend 1,000 € at an interest rate of 3%, paid every year: at ...</description>
		<link>http://www.nicollet.net/2010/01/interesting-rates/</link>
			</item>
	<item>
		<title>December 2009 PDF Vulnerability</title>
		<description>All file formats follow the same evolution.

	They start by grouping together some static content, with some nifty features for presenting and editing that data. Think text files, bitmaps, RTF documents... The file format is reasonably easy to understand, and the reader/writer is so simple that it would take a bad ...</description>
		<link>http://www.nicollet.net/2010/01/december-2009-pdf-vulnerability/</link>
			</item>
</channel>
</rss>
