<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>All Night Diner &#187; o rly</title>
	<atom:link href="http://micropipes.com/blog/tag/o-rly/feed/" rel="self" type="application/rss+xml" />
	<link>http://micropipes.com/blog</link>
	<description>because at 3am anything sounds good</description>
	<lastBuildDate>Mon, 03 May 2010 17:34:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SQLite more laid back than the D-O-double-G</title>
		<link>http://micropipes.com/blog/2008/11/10/sqlite-more-laid-back-than-the-d-o-double-g/</link>
		<comments>http://micropipes.com/blog/2008/11/10/sqlite-more-laid-back-than-the-d-o-double-g/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 00:18:44 +0000</pubDate>
		<dc:creator>Wil Clouser</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[o rly]]></category>
		<category><![CDATA[SQLite]]></category>

		<guid isPermaLink="false">http://micropipes.com/blog/?p=61</guid>
		<description><![CDATA[SQLite only supports a simple set of data types and the only one that really matters is &#8220;INTEGER PRIMARY KEY&#8221; so you can have it auto-increment.  In fact, by default, I can declare the columns as anything I want and it doesn&#8217;t even throw a warning.

sqlite> CREATE TABLE t2(c1 wtf, c2 yomama);
sqlite> INSERT INTO [...]]]></description>
			<content:encoded><![CDATA[<p>SQLite only supports a <a href="http://www.sqlite.org/datatype3.html">simple set of data types</a> and the only one that really matters is &#8220;INTEGER PRIMARY KEY&#8221; so you can have it auto-increment.  In fact, by default, I can declare the columns as anything I want and it doesn&#8217;t even throw a warning.</p>
<pre><code>
sqlite> CREATE TABLE t2(c1 wtf, c2 yomama);
sqlite> INSERT INTO t2 VALUES(1, 'blah');
sqlite> SELECT * FROM t2;
1, blah
</code></pre>
<p>This is all documented and explained so I can&#8217;t complain to much but it&#8217;s still an interesting concept.</p>
]]></content:encoded>
			<wfw:commentRss>http://micropipes.com/blog/2008/11/10/sqlite-more-laid-back-than-the-d-o-double-g/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>When is a TINYINT(1) not a TINYINT(1)?</title>
		<link>http://micropipes.com/blog/2008/03/07/when-is-a-tinyint1-not-a-tinyint1/</link>
		<comments>http://micropipes.com/blog/2008/03/07/when-is-a-tinyint1-not-a-tinyint1/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 23:50:30 +0000</pubDate>
		<dc:creator>Wil Clouser</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[o rly]]></category>

		<guid isPermaLink="false">http://micropipes.com/blog/2008/03/07/when-is-a-tinyint1-not-a-tinyint1/</guid>
		<description><![CDATA[When you&#8217;re using CakePHP!
Turns out CakePHP considers a TINYINT(1) to be a Boolean.  Judging from all the support tickets that have been filed, I&#8217;m not the first person to get taken off guard by this behavior.  When I asked about it on IRC, the response was that since MySQL considers a TINYINT(1) to [...]]]></description>
			<content:encoded><![CDATA[<p>When you&#8217;re using <a href="http://cakephp.org/">CakePHP</a>!</p>
<p>Turns out CakePHP considers a TINYINT(1) to be a Boolean.  Judging from all <a href="https://trac.cakephp.org/ticket/1253">the</a> <a href="https://trac.cakephp.org/ticket/3903">support</a> <a href="https://trac.cakephp.org/ticket/4026">tickets</a> that have been filed, I&#8217;m not the first person to get taken off guard by this behavior.  When I asked about it on IRC, the response was that since MySQL considers a TINYINT(1) to be a Boolean, CakePHP does too.  That&#8217;s not true.</p>
<p>From the <a href="http://dev.mysql.com/doc/refman/5.0/en/numeric-types.html">MySQL manual</a>:</p>
<blockquote><p>As of MySQL 5.0.3, a BIT data type is available for storing bit-field values. (Before 5.0.3, MySQL interprets BIT as TINYINT(1).)</p></blockquote>
<p>That&#8217;s saying if I request a BIT it will make it a TINYINT, not if I request a TINYINT it will make it a BIT.  Having a framework change the definitions of my database columns sounds crazy to me, but judging from <a href="https://trac.cakephp.org/ticket/1253">the ticket filed in 2006</a> this has been CakePHP&#8217;s policy for a long time.  Despite the long standing precedent I can&#8217;t find any documentation about it online other than the closing remarks of those support tickets.  </p>
]]></content:encoded>
			<wfw:commentRss>http://micropipes.com/blog/2008/03/07/when-is-a-tinyint1-not-a-tinyint1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mmmm…. scams… (part 2)</title>
		<link>http://micropipes.com/blog/2008/02/08/mmmm%e2%80%a6-scams%e2%80%a6-part-2/</link>
		<comments>http://micropipes.com/blog/2008/02/08/mmmm%e2%80%a6-scams%e2%80%a6-part-2/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 05:10:03 +0000</pubDate>
		<dc:creator>Wil Clouser</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[drama]]></category>
		<category><![CDATA[grey area]]></category>
		<category><![CDATA[o rly]]></category>

		<guid isPermaLink="false">http://micropipes.com/blog/2008/02/08/mmmm%e2%80%a6-scams%e2%80%a6-part-2/</guid>
		<description><![CDATA[I think it must be my old age shining through but rather than go down to the meeting and cause hate and discontent I decided to repair a hole in my kitchen floor instead.  As much as I enjoy awkward conversations (when I&#8217;m the instigator), it just seemed like a lot of effort &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>I think it must be my old age shining through but rather than go down to the meeting and cause hate and discontent I decided to repair a hole in my kitchen floor instead.  As much as I enjoy awkward conversations (when I&#8217;m the instigator), it just seemed like a lot of effort &#8211; and for what?  Not much.</p>
<p>I remembered my neighbor left his phone number so I gave him a quick call about an hour before the meeting to let him know I wouldn&#8217;t be able to make it.  After confirming that he wasn&#8217;t the one giving the presentation tonight I told him that it was all a <a href="http://en.wikipedia.org/wiki/Multi-level_marketing">multi-level marketing scam</a> and was wondering if he was aware of that.  He started to get a little defensive and said his friends we&#8217;re all involved (<a href="http://www.scam.com/showthread.php?t=10697">where have I heard that?</a>) and it sounded pretty good.  I don&#8217;t think he knew much about the internet so I told him I just wanted to give him a heads up and that there were a lot of stories online about people getting scammed with madebig.  Hell, google for madebig and scam.com is the second link.  Here&#8217;s a short excerpt and also my final realization that going down there would be a huge waste of time:</p>
<blockquote><p>
<b>Me:</b> <em>Just do a little research on them before you give them your money.  The entire scam is documented online.</em><br />
<b>Him:</b> <em>Ok, thanks.  I&#8217;ll ask them about that at the meeting.</em><br />
<b>Me:</b> <em>You&#8217;ll ask them if they are a scam?</em><br />
<b>Him:</b> <em>Yeah.</em>
</p></blockquote>
<p>And with that I wished him good-luck and got off the phone.  What a waste.</p>
<p>Moral of the story: People don&#8217;t give money away.  Use your head.  Also, I should care less about what other people do.</p>
<p>(For the record, turns out pyramid schemes are actually illegal in Oregon under <a href="http://www.leg.state.or.us/ors/646.html">ORS 646.609</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://micropipes.com/blog/2008/02/08/mmmm%e2%80%a6-scams%e2%80%a6-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mmmm&#8230;. scams&#8230; (part 1?)</title>
		<link>http://micropipes.com/blog/2008/02/07/mmmm-scams-part-1/</link>
		<comments>http://micropipes.com/blog/2008/02/07/mmmm-scams-part-1/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 00:55:40 +0000</pubDate>
		<dc:creator>Wil Clouser</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[drama]]></category>
		<category><![CDATA[grey area]]></category>
		<category><![CDATA[o rly]]></category>

		<guid isPermaLink="false">http://micropipes.com/blog/2008/02/07/mmmm-scams-part-1/</guid>
		<description><![CDATA[This afternoon my neighbor (who I&#8217;d never met before) showed up at my door with a bundle of bright pink papers.  He explained to me that he was inviting me to a meeting tomorrow at our local library that would help me make vast amounts of money.  Oh really?
I probed for some details [...]]]></description>
			<content:encoded><![CDATA[<p>This afternoon my neighbor (who I&#8217;d never met before) showed up at my door with a bundle of bright pink papers.  He explained to me that he was inviting me to a meeting tomorrow at our local library that would help me make vast amounts of money.  Oh really?</p>
<p>I probed for some details but apparently he&#8217;s only been a member of this money-laden organization for a week so he didn&#8217;t know much.  He did drop some key words like Internet, Ebay, and social networking. With an endorsement like that, how could I resist?  A guy with no knowledge of a company claiming it can make big money and asking others to join?  Sounds like a <a href="http://en.wikipedia.org/wiki/Pyramid_scheme">pyramid scheme</a> to me.</p>
<p>So, I had a look at this flyer, and it&#8217;s actually for <a href="http://madebig.com">madebig.com</a>.  Hoping to get smacked in the face with some web 2.0 goodness I checked it out and was disappointed to see everything is hidden behind a login.  A mysterious club I have to join with the promise of money?  I can&#8217;t sign up fast enough!  Also, the flyer says I can join their &#8220;Fast Start Bonus&#8221; plan.</p>
<p>Some brief googling looks like it will reveal the details of the scam, but I kind of want to be surprised.  Since I&#8217;ve never made a poll before, and I&#8217;m not planning on making another one in the future, I&#8217;m going old school and just providing four options.  If you care enough, vote in the comments &#8211; and if you want to go, let me know.</p>
<ol>
<li>Give into the siren call.  Go to the meeting.  Sign up. Get rich.</li>
<li>Go to the meeting.  Take a bunch of pictures of whoever is presenting it and at the end raise my hand and ask how it&#8217;s not a scam.</li>
<li>Get to the meeting early, change their signs to point to a different meeting room and host my own scam when everyone shows up.</li>
<li>Don&#8217;t go to the meeting.  They&#8217;re actually planning on mugging you.</li>
</ol>
<p>(Sorry for the <24 hour notice <img src='http://micropipes.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  )</p>
]]></content:encoded>
			<wfw:commentRss>http://micropipes.com/blog/2008/02/07/mmmm-scams-part-1/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
