<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>All Things Patrick</title>
	
	<link>http://blog.whitelionsoft.com</link>
	<description>Working Hard to be Lazy!</description>
	<pubDate>Tue, 27 Oct 2009 05:49:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/AllThingsPatrick" /><feedburner:info uri="allthingspatrick" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>My Epic Bank Saga: Continues</title>
		<link>http://feedproxy.google.com/~r/AllThingsPatrick/~3/fzrj3jOmY-8/</link>
		<comments>http://blog.whitelionsoft.com/2009/07/24/my-epic-bank-saga-continues/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 07:29:03 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.whitelionsoft.com/?p=285</guid>
		<description><![CDATA[AKA I don&#8217;t want to see the inside of a bank for 2 years&#8230; or I might go postal  
For those of you familiar with my recent Bank of Amerika issues, you can skip to today&#8217;s (this week&#8217;s?) events.

To give some pre-historic background on this, I used to bank at Capitol Federal (CapFed), a [...]]]></description>
			<content:encoded><![CDATA[<p>AKA I don&#8217;t want to see the inside of a bank for 2 years&#8230; or I might go postal <img src='http://blog.whitelionsoft.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>For those of you familiar with my recent Bank of Amerika issues, you can skip to <a href="/2009/07/24/my-epic-bank-saga-continues/#todays-events">today&#8217;s (this week&#8217;s?) events</a>.<br />
<span id="more-285"></span></p>
<p>To give some pre-historic background on this, I used to bank at <a href="http://capfed.com/">Capitol Federal</a> (CapFed), a <strong>Kansas only</strong> bank that only deals with personal accounts.  I emphasis Kansas because while some loans (like possibly car loans) they may give out to anyone, they only do home loans as long as the house is in Kansas.  Local <q>Investigative News</q> didn&#8217;t bother to do any research a couple of years ago and gave them a bad rap because they gave a home loan to a white family, but not a black family. Um, the 1 home was in Kansas and the other was in Missouri&#8230;  Anyways, I hadn&#8217;t had any issues with them other than an ATM &amp; 3 checks in 1 deposit.</p>
<p>A friend of mine, Eric Gometz, had been trying to get me to try out Bank of America&#8217;s online banking for a number of years, but I&#8217;d resisted.  CapFed did what I needed it to for the most part.  Then I moved to Eric&#8217;s home town, Pittsburg, KS&#8230; apparently the only college town in Kansas that CapFed does not have a local branch in.  Bank of America does and I needed someplace I could deposit checks from work until I was able to get things set up for direct deposit.  Bank of America also made it easy for me to transfer money to Eric for a car loan.</p>
<hr />
<p>I think it was around 2005 that I opened my personal account with Bank of America (BoA).  I&#8217;ve not had any problems with BoA, but like many big companies apparently lots of people have had issues with them.  The online banking has been great and is so easy to deal with I rarely even go to the bank&#8230; usually it&#8217;s only to withdraw cash from the ATM for the few rare things I can&#8217;t pay with credit card or can&#8217;t easily do bill pay for.</p>
<p>With my recent gig I&#8217;ve made enough to actually get an incorporated business and try to get a business banking account set up&#8230;  This is where the real fun begins&#8230;</p>
<hr />
<p>I went to BoA and set up a business account.  The account manager didn&#8217;t say much about me having all the paper work, but it made everything go smoothly.  He was a nice guy and remembered they were having a promotion for new business accounts - whatever, but extra is nice I guess.</p>
<p>I then had him deposit a check (greather than $10k USD) from a client as the initial deposit.  This is probably where I went wrong, but considering what transpired later I&#8217;m not sure it would have mattered.</p>
<p>The client is a new start up with 2 partners.  There must have been some miscommunication as 1 had written a couple other checks to pay some employees and forgot to add more money.  A week later (always have to wait a week before seeing if it went through, right?) and boing! Check bounced.</p>
<p>Considering all of the businesses BoA does business with I can&#8217;t believe they&#8217;d have a cow over a measley $10k.  Oh well, they had a cow (to bad it wasn&#8217;t an angus), charged me a $6 return fee, marked my business EIN as a risky business, and shut down my account.</p>
<p>I&#8217;m in the next day (too late to do anything the day I discovered it) to see why I can&#8217;t add money to it.  The same guy that helped me set it up the week before is helping me and he runs into a problem.  He tries something else and still can&#8217;t fix it.  After a couple more tries he gives up and calls the 800 number.  He went round and round with whoever he was talking to (yes, a BoA employee trying to be helpful - they do exist!).  He&#8217;s trying to explain that it was the client&#8217;s check that was bad.  Trying to explain I&#8217;m here to take money from my personal BoA account and put into this business account.  Doesn&#8217;t matter&#8230;  maybe he&#8217;s talking to 1 of the BoA employees who really doesn&#8217;t care?  He&#8217;s left with no authority and can&#8217;t do anything to help other than refund me the $6 charge.  I&#8217;m thankful for him trying, but I&#8217;m frustrated&#8230;  And now wondering what the rest of the banking world will look like.</p>
<p>After calling Eric and talking with him and Carol, getting a different perspective on it&#8230;  Eric and Carol also being baffled at why a client&#8217;s check bouncing means BoA doesn&#8217;t want my money, suggesting I call the 800 number to see what I can do&#8230;</p>
<p>I call the 800 number while being frustrated, angry, and depressed - I just want this to get fixed and go away&#8230;  I didn&#8217;t even think about asking to talk to a supervisor.  I get the same baffling <q>we don&#8217;t want your business</q> that the guy who helped me earlier at the bank got.  I asked if they were sure they didn&#8217;t want any of my business because I&#8217;ll take all my accounts elsewhere and be sure to tell my friends.  <q>Oh, we&#8217;re happy to take care of your personal accounts.  We just can&#8217;t do business with your business.</q>&#8230;  Which means I&#8217;ll be taking all of my business elsewhere and everybody will hear about this.  Fine, whatever.</p>
<hr />
<p>Asking around somebody suggested <a href="http://www.fnbk.com/">1st National Bank</a> (of Kansas, not of Missouri, Olathe, or the billion other 1st Nationals).  I called <a href="http://usaa.com/">USAA</a> Savings Bank (I have my car insurance, renter&#8217;s insurance, and a credit card through them as well) and set up a personal bank account after reading <a href="http://matthutter.com/2007/04/11/why-usaa-is-the-greatest-bank-ever/">Why USAA Is The Greatest Bank Ever</a> and discovered #3 - using a scanner to scan and upload a check in order to deposit it.  Although USAA is the greatest ever (see #2 for why mentioning USAA shuts up any insurance salesman), they don&#8217;t handle commercial bank accounts.</p>
<p>So I went to CapFed and that&#8217;s when I discovered they don&#8217;t handle commercial bank accounts either&#8230;  But the lady that helped me stated her and her husband opened their business bank account at <a href="http://metcalfbank.com/">Metcalf Bank</a> and it was a great bank.  Ok, whatever.</p>
<hr />
<p>I went over to 1st National Bank of Kansas, walked in, and looked completely confused.  A nice lady came over and asked if I needed help.  After informing her that I needed to set up a business account she asked if I had an appointment (I need an appointment to bank?).  She let me know that the business account manager had a couple of appointments, but he&#8217;d be available later&#8230;  She also made sure I had all of the paperwork I needed for a commercial account.</p>
<p>I went home, worked on some stuff, got a phone call from 1st National, drove back over, and when I walked in the lady was there to greet me and ushered me over to meet with the business account manager.  He was impressed that I had everything organized in a nifty binder and I even had every piece of necessary paperwork to open the business account (it pays to pay a good accountant).  A couple hours (eons?) later, a photocopy of my drivers license and a credit card, lots of typing, and a $100 deposit (making sure there&#8217;s at least something in it this time) everything is set up.  I head home, jump on the computer to sign up for online banking, go grab my paperwork from the other room, get halfway through filling out the 1st page of the form when the page reloads and <q>Due to inactivity your session has timed out for your safety!</q>&#8230;  I was logged in?  Am I missing something?</p>
<p>Not only did it push me off the form page it didn&#8217;t bother to save any of my information.  Fine, maybe they got the kid down the street to write this part.  I go back to the 1st page, click my way back to the form, &#038; this time I&#8217;m typing all the crap into a text editor, copy &amp; paste it into the browser, and then click continue&#8230; page 2, ugh!  I continue the text editor, copy &amp; paste game until I get through all of the pages of the form&#8230;</p>
<p>It then asks me to download this PDF, print it out, and mail it in.  I&#8217;ll repeat that - they want me to snail mail a printed on paper PDF.  Green?</p>
<hr />
<p>I get a new check from the client that night with the information that the 1 partner just deposited almost 3x as much as the check is for into the account so there wouldn&#8217;t be a problem&#8230;  I notice that the check is not from 1st National Bank, it&#8217;s from Metcalf Bank.</p>
<p>I don&#8217;t want to be sitting on this for yet another entire week before I can get moving on dumping my current hate relationship with BoA.  Next day I head over to Metcalf Bank, and go through the process to open a business account.  Less than an eon later (an eon in these instances is the time it takes for me to go from hot or comfortable to frozen to the bone), a trip out to my car to get auto insurance (yay, made me remember to print out my latest auto insurance card from USAA - the card I had expired in Feb *whistles innocently*), photocopies of that and drivers license, another $100 deposit to start it off, and I was almost done&#8230;  I also had her deposit the check I got from the client, which she informed me she was able to transfer the money directly to my account because the account was also with the bank.</p>
<p>Yay!  I have money!</p>
<p>When I got home I couldn&#8217;t log into the online banking even though it had been set up.  Next day I try to login and still can&#8217;t.  I call customer service and discover I&#8217;m using the wrong login (you know, the 1 that&#8217;s not written/printed in any of the paper work I got).  I hang up thinking that&#8217;s all I need, successfully get through the signup/login screens, and I can&#8217;t see any account information.  Unfortunately it&#8217;s already past 5pm and nobody&#8217;s home&#8230;  Yay for 24 hour banking =)</p>
<p>Next day I login, click the chat link, and ask for help via a nifty Java applet.  I get disconnected, but apparently the person was able to get enough information to do something as I got an email stating everything has been fixed and my login (the original 1 that&#8217;s in the paper work) and secret word should be all I need&#8230;</p>
<p>Eureka!  I can see my account details!  It&#8217;s now 2 days later I don&#8217;t have money and the initial $100 deposit is $95&#8230;</p>
<p>I keep clicking through all sorts of stuff, but the only info I&#8217;m able to get on the check is the scanned image.  I click the chat link again and ask for help.  I explain I&#8217;d like any information possible on why the check was removed from my account.  After a couple of minutes the helpful person replies that the only information is that there was an <q>irregular signature</q> probably meaning that the person who signed it was not authorized.</p>
<p>ROFLMAO.  I have to or else I&#8217;d go postal <img src='http://blog.whitelionsoft.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The person who signed the check is the primary partner and the primary on the bank account&#8230;  If anybody is authorized, it&#8217;s him.</p>
<p>I call my contact up and let him know.  He&#8217;s ticked off cause he still can&#8217;t pay me.  I laughed cause he&#8217;s more upset than I am about it.  I send him account information for a wire transfer or direct deposit and go on with my day.</p>
<hr />
<p>A day or 2 later I get a cashier&#8217;s check from the client&#8230;  Made out personally to me.  I&#8217;m hoping it&#8217;s not a problem and send an email to my accountant.  He replies that I just need to endorse it over to my corporation, deposit it directly to the business account, and make sure the client fixes their paperwork.</p>
<p>I deposited the cashier&#8217;s check on Tuesday.  The teller asked for ID to make sure I was the initial receiver of it and made sure each and every letter matched.  So there <strong>shouldn&#8217;t be</strong> any problems with the check this time around.</p>
<hr id="todays-events"/>
<p>So today I figure I&#8217;ll work on messing around with trying to get some external bank accounts set up so I can transfer money from my business account to my personal accounts&#8230;  I need to reimburse myself for all the business expenses I&#8217;ve been putting on the credit card while trying to get this check deposited.  I knew it would at least be slightly annoying because when I asked via the online chat yesterday they responded that I&#8217;d need to call customer service to do that.</p>
<p>I went in to work at the client&#8217;s office today as we were going to have a work night.  I left for lunch and figured I&#8217;d be gone for an hour&#8230; it ended up being 2 hours (a 3 hour tour?)</p>
<p>After picking up lunch I called thinking I just needed to talk to customer service.  They informed me I needed to download and fillout the forms available online.  I asked where they were at and they asked if I was near a computer.  When I said no, they said they couldn&#8217;t help.  So, I drove home (it was nearer than the office at this point) and called again.  They then transferred me to the person that could help me find the documents I needed online.  He promptly informed me that I would need to go in to an office branch to fill out the forms, any branch should have the needed forms available&#8230;</p>
<p>Oh, like that branch I drove past on my way home? /me smacks forehead</p>
<p>I ended up driving over to the branch and figured I&#8217;d just go ahead and get a cashier&#8217;s check to deal with the BoA account and try to get set up to do a transfer, direct deposit, bill pay, whatever to my USAA account.  I did get the cashier&#8217;s check, but was informed the receiving bank is supposed to initiate the direct deposit (this sounds weird, but I was informed by another person that this is correct) so apparently I didn&#8217;t need those forms I drove over there for&#8230;</p>
<hr />
<p>Since I had the cashier&#8217;s check and I was driving by a BoA on my way back to the client&#8217;s office I figured I&#8217;d stop by and drop off the cashier&#8217;s check.  I was hoping this would go quick as rush hour was nearing and the past 2 weeks.  It. Took. Too. Long&#8230;  And not only that, but then she states she noticed I&#8217;m using their super duper platinum credit card, but wanted to know if I wanted to upgrade to their super duper uber platinum super saver credit card.  I just wanted to yell out that I&#8217;m closing my accounts next week, but I figured I&#8217;d have to sit an extra hour of grilling about why I wanted to leave, are you really sure you want to leave, are you really really sure you want to leave&#8230;  Which I know I&#8217;ll have to sit through next week when I close the account anyways >.<</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fblog.whitelionsoft.com%2F2009%2F07%2F24%2Fmy-epic-bank-saga-continues%2F&amp;linkname=My%20Epic%20Bank%20Saga%3A%20Continues"><img src="http://blog.whitelionsoft.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://blog.whitelionsoft.com/2009/07/24/my-epic-bank-saga-continues/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.whitelionsoft.com/2009/07/24/my-epic-bank-saga-continues/</feedburner:origLink></item>
		<item>
		<title>Color Picker App v2 update</title>
		<link>http://feedproxy.google.com/~r/AllThingsPatrick/~3/ugssIw5g7Sk/</link>
		<comments>http://blog.whitelionsoft.com/2009/07/16/color-picker-app-v2-update/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 09:07:56 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[browsers]]></category>

		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://blog.whitelionsoft.com/?p=281</guid>
		<description><![CDATA[I haven&#8217;t forgotten v2 of the Color Picker App &#38; it&#8217;s something I&#8217;ve been wanting to work on.  Unfortunately I have other projects that pay the bills taking priority.  I wanted to share a couple of ideas I&#8217;ve been toying with and get some feedback.
I&#8217;m planning to completely drop reliance on the X [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t forgotten v2 of the Color Picker App &amp; it&#8217;s something I&#8217;ve been wanting to work on.  Unfortunately I have other projects that pay the bills taking priority.  I wanted to share a couple of ideas I&#8217;ve been toying with and get some feedback.</p>
<p>I&#8217;m planning to completely drop reliance on the <a href="http://cross-browser.com/">X Library</a>.  I had toyed with the idea of doing some sort of flash based thing, but I&#8217;m thinking of using jQuery, YUI, or both instead.</p>
<p>I&#8217;m keeping the server side code PHP based and thinking of using Symfony, the Zend Framework, or something with user handling already built in - like Drupal (unlikely).  Part of the reason for user logins is so people can submit/maintain color schemes.</p>
<p>I&#8217;m thinking of making it open source so people can host their own server full of color schemes.  I&#8217;ll pull out the <a href="http://www.firewheeldesign.com/widgets/">Firewheel Design ColorBurn</a> feed and make the color feed section pluggable so people could write their own plugins for other services or completely random color schemes.</p>
<p>I&#8217;m hoping to make the color schemes more dynamic, but I&#8217;m not quite sure how to go about wrapping color swatches.  From what I remember v1 requires 4 colors (that&#8217;s how many is in the ColorBurn widget).  Most of the code is dynamic and simply loops through the array of color swatches, but the current floating &amp; such will more than likely break if it doesn&#8217;t have exactly 4 colors.</p>
<p>I&#8217;m wanting to set it up so that there will be more choices than just the 3 of default color order, light to dark, &amp; dark to light.  I&#8217;d like to set it up so that the color feed could specify which color belonged to which class category (i.e. page text, page background, etc) by default.  Maybe even define a default reverse order.  I will still have the light to dark &amp; dark to light.  I may include a <q>default color order</q> based on the order the colors are first added to an array in order to have yet another possible way of viewing the colors.</p>
<p>I&#8217;m wanting to add drag &amp; drop as well as color wheel / RGB / hex color selector for each class.</p>
<p>I&#8217;d like to make it a full page view with a draggable/clickable icon to pop open the color picker app.</p>
<p>That last brings me to something I was thinking about, but considering all of the various possibilities I&#8217;m not sure how viable it would be.  Call me crazy, but I think it&#8217;d be cool if people could include the color app js file and whatever external js libs were needed to their own site page.  It would then scan through all of the html elements; make a list of elements, classes, and id&#8217;s; and present them for possibly color changing/styling.  The other possibility which might be better is for it to scan through the attached css files and only add the given css selectors to the list - thus giving the end user more control over what they were able to style.</p>
<p>This does cause problems with trying to automatically display color sets on a page.  The end user would have to manually set all of the elements/classes/id&#8217;s or css selectors and their resulting color set may be near completely useless to somebody else who&#8217;s using different classes &amp; id&#8217;s.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fblog.whitelionsoft.com%2F2009%2F07%2F16%2Fcolor-picker-app-v2-update%2F&amp;linkname=Color%20Picker%20App%20v2%20update"><img src="http://blog.whitelionsoft.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://blog.whitelionsoft.com/2009/07/16/color-picker-app-v2-update/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.whitelionsoft.com/2009/07/16/color-picker-app-v2-update/</feedburner:origLink></item>
		<item>
		<title>Annoying Failure to Auto-Complete</title>
		<link>http://feedproxy.google.com/~r/AllThingsPatrick/~3/6NUYgay9DNU/</link>
		<comments>http://blog.whitelionsoft.com/2009/06/21/annoying-failure-to-auto-complete/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 22:27:17 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
		
		<category><![CDATA[Firefox/Mozilla]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[browsers]]></category>

		<guid isPermaLink="false">http://blog.whitelionsoft.com/?p=271</guid>
		<description><![CDATA[I&#8217;ve not bothered much with the adobe groups website&#8230;  Partly because I don&#8217;t use adobe products, but also because Adobe is using the autocomplete=&#8221;off&#8221; attribute on the password input field&#8230;  This means due to my already decreased interest in actually using the website this makes it even more of a pain to do [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve not bothered much with the adobe groups website&#8230;  Partly because I don&#8217;t use adobe products, but also because Adobe is using the autocomplete=&#8221;off&#8221; attribute on the password input field&#8230;  This means due to my already decreased interest in actually using the website this makes it even more of a pain to do things that <strong>*should*</strong> be very very <strong>*simple*</strong> like saying &#8220;Yes, I do want to go to &lt;CFLunch/&gt;&#8221;.</p>
<p>Considering all I do with my adobe groups account is RSVP for these &amp; considering I only sign up for them on <strong>*my*</strong> computer&#8230;  Does adobe really need to go to this annoying extent to chase me away?</p>
<p>Yay for greasemonkey.</p>
<p>I found a dreadfully simple greasemonkey script to do the trick, but it wouldn&#8217;t really handle a range of forms and didn&#8217;t have any validation checks (does the form really exist? does that form element really let you set an attribute?).</p>
<p>The way greasemonkey for firefox is set up it only works on the sites you specify anyways&#8230; So if you do want it on certain other sites (like your banking site), don&#8217;t add the URL to the list&#8230;</p>
<p>Please note that this will go through all forms on the given page &amp; check to see if either the form or any of the form elements have the autocomplete attribute set - if so it should turn the attribute back on.</p>
<p>The name I gave this was <q>Enable Login Forms</q>.</p>
<p>The namespace <q>http://blog.whitelionsoft.com/</q>.</p>
<p>And currently the only page to include this script on is <q><a href="https://www.adobe.com/cfusion/entitlement/index.cfm?e=ca&amp;returnUrl=http://groups.adobe.com/groups/4b06154553/summary">https://www.adobe.com/cfusion/entitlement/index.cfm?e=ca&amp;returnUrl=http://groups.adobe.com/groups/4b06154553/summary</a></q>.</p>
<pre><code>
<span class="keyword1">for</span> <span class="brackets">(</span> <span class="keyword1">var</span> i <span class="keyword1">in</span> <span class="keyword2">document</span>.<span class="keyword2">forms</span> <span class="brackets">)</span> <span class="brackets">{</span>
	<span class="keyword1">var</span> frm <span class="operators">=</span> <span class="keyword2">document</span>.<span class="keyword2">forms</span><span class="brackets">[</span>i<span class="brackets">]</span>;
	<span class="keyword1">if</span> <span class="brackets">(</span> frm.<span class="keyword2">autocomplete</span> <span class="operators">&amp;&amp;</span> frm.<span class="keyword2">setAttribute</span> <span class="brackets">)</span> <span class="brackets">{</span>
		frm.<span class="keyword2">setAttribute</span><span class="brackets">(</span> <span class="string">'autocomplete'</span>, <span class="string">'on'</span> <span class="brackets">)</span>;
	<span class="brackets">}</span>
	<span class="keyword1">for</span> <span class="brackets">(</span> <span class="keyword1">var</span> j <span class="keyword1">in</span> frm.<span class="keyword1">elements</span> <span class="brackets">)</span> <span class="brackets">{</span>
		<span class="keyword1">var</span> ele <span class="operators">=</span> frm.<span class="keyword1">elements</span><span class="brackets">[</span>j<span class="brackets">]</span>;
		<span class="keyword1">if</span> <span class="brackets">(</span> ele.<span class="keyword1">autocomplete</span> <span class="operators">&amp;&amp;</span> ele.<span class="keyword1">setAttribute</span> <span class="brackets">)</span> <span class="brackets">{</span>
			ele.<span class="keyword1">setAttribute</span><span class="brackets">(</span> <span class="string">'autocomplete'</span>, <span class="string">'on'</span> <span class="brackets">)</span>;
		<span class="brackets">}</span>
	<span class="brackets">}</span>
<span class="brackets">}</span>
</code></pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fblog.whitelionsoft.com%2F2009%2F06%2F21%2Fannoying-failure-to-auto-complete%2F&amp;linkname=Annoying%20Failure%20to%20Auto-Complete"><img src="http://blog.whitelionsoft.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://blog.whitelionsoft.com/2009/06/21/annoying-failure-to-auto-complete/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.whitelionsoft.com/2009/06/21/annoying-failure-to-auto-complete/</feedburner:origLink></item>
		<item>
		<title>PHP|tek ‘09</title>
		<link>http://feedproxy.google.com/~r/AllThingsPatrick/~3/yOOOt4jxi3s/</link>
		<comments>http://blog.whitelionsoft.com/2009/06/17/phptek09/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 12:42:36 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.whitelionsoft.com/?p=266</guid>
		<description><![CDATA[People keep asking me about Chicago and if it was any good.  It was good &#38; I&#8217;ve been working on a blog post, but I&#8217;ve not had time to finish it&#8230;  So for now I&#8217;ll just post a link to Terry Chay&#8217;s closing keynote speech.
http://lavalantern.org/wwfm_blog/?p=272
Also, Paul Reinheimer has video up from the Dutch [...]]]></description>
			<content:encoded><![CDATA[<p>People keep asking me about <q>Chicago</q> and if it was any good.  It was good &amp; I&#8217;ve been working on a blog post, but I&#8217;ve not had time to finish it&#8230;  So for now I&#8217;ll just post a link to Terry Chay&#8217;s closing keynote speech.</p>
<p><a href="http://lavalantern.org/wwfm_blog/?p=272">http://lavalantern.org/wwfm_blog/?p=272</a></p>
<p>Also, Paul Reinheimer has video up from the Dutch PHP Conference at <a href="http://blog.preinheimer.com/">http://blog.preinheimer.com/</a>.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fblog.whitelionsoft.com%2F2009%2F06%2F17%2Fphptek09%2F&amp;linkname=PHP%7Ctek%20%26%238216%3B09"><img src="http://blog.whitelionsoft.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://blog.whitelionsoft.com/2009/06/17/phptek09/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.whitelionsoft.com/2009/06/17/phptek09/</feedburner:origLink></item>
		<item>
		<title>Pirate Bay Proves Lawyers Wrong</title>
		<link>http://feedproxy.google.com/~r/AllThingsPatrick/~3/dDsQBmZbd6M/</link>
		<comments>http://blog.whitelionsoft.com/2009/05/06/pirate-bay-proves-lawyers-wrong/#comments</comments>
		<pubDate>Wed, 06 May 2009 07:34:14 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
		
		<category><![CDATA[entertainment]]></category>

		<category><![CDATA[funny]]></category>

		<guid isPermaLink="false">http://blog.whitelionsoft.com/?p=255</guid>
		<description><![CDATA[For those that aren&#8217;t familiar with Pirate Bay, it provides links to lots and lots of torrents, both legal and illegal&#8230;  Well, at least illegal in certain places in the world.  Where Pirate Bay exists Copyright Law does not apply to software and is therefore operating legally according to it&#8217;s local laws.
Pirate Bay [...]]]></description>
			<content:encoded><![CDATA[<p>For those that aren&#8217;t familiar with Pirate Bay, it provides links to lots and lots of torrents, both legal and illegal&#8230;  Well, at least illegal in certain places in the world.  Where Pirate Bay exists Copyright Law does not apply to software and is therefore operating legally according to it&#8217;s local laws.</p>
<p>Pirate Bay has recently been dealing with several lawyers (yet again).  More details can be found in the blog post <a href="http://torrentfreak.com/pirate-bay-ips-assigned-to-prosecution-lawyers-090426/">Pirate Bay IP Addresses Assigned to Prosecution Lawyers</a>.</p>
<p>For those that don&#8217;t understand why this is so funny, let me try to explain.  Every domain can be looked up in a &#8216;whois&#8217; database that will provide information for the domain.  Typically it&#8217;s contact information in order to contact the owner of the domain.  However, information is not guaranteed to be accurate.</p>
<p>These lawyers presented information based on these &#8216;whois&#8217; records as fact.  As this information is unreliable you can&#8217;t possibly represent the &#8216;whois&#8217; records alone as fact&#8230;  Maybe, possibly, but probably not as supplemental to some other more accurate data.  Definitely by no means as fact.</p>
<p>To show the court (and everybody else in the world) how little the prosecuting lawyers know, Pirate Bay changed their &#8216;whois&#8217; records to state that they were owned by the prosecuting lawyers and listed the lawyers&#8217; email addresses as contact information.  So if the prosecuting lawyers were to continue to insist that these records are fact they would need to start prosecuting themselves.  Oops.</p>
<p>Considering the prevalence of spam bots in this day and age I&#8217;m pretty sure they scrape email information from these &#8216;whois&#8217; records as well&#8230;</p>
<p>I think with just this much people should understand the hilarity of the situation.</p>
<p>This is in no way an endorsement of using Pirate Bay for illegal distribution of software.  Some people have used it to distribute home made video capture of online game tournaments that youtube would have turned into pixelated junk and other legal (as defined by US law) activities.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fblog.whitelionsoft.com%2F2009%2F05%2F06%2Fpirate-bay-proves-lawyers-wrong%2F&amp;linkname=Pirate%20Bay%20Proves%20Lawyers%20Wrong"><img src="http://blog.whitelionsoft.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://blog.whitelionsoft.com/2009/05/06/pirate-bay-proves-lawyers-wrong/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.whitelionsoft.com/2009/05/06/pirate-bay-proves-lawyers-wrong/</feedburner:origLink></item>
		<item>
		<title>Cycles of Life</title>
		<link>http://feedproxy.google.com/~r/AllThingsPatrick/~3/baStpnVPy5s/</link>
		<comments>http://blog.whitelionsoft.com/2009/04/27/cycles-of-life/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 20:17:25 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
		
		<category><![CDATA[Job]]></category>

		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.whitelionsoft.com/?p=249</guid>
		<description><![CDATA[I&#8217;m sorry for waiting so long to type this up.  I&#8217;ve been thinking about this for a while and something that happened this weekend prompted me to sit down and type.
Recently I was able to talk to an old high school friend of mine.  We discussed what we&#8217;d been up to since the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sorry for waiting so long to type this up.  I&#8217;ve been thinking about this for a while and something that happened this weekend prompted me to sit down and type.</p>
<p>Recently I was able to talk to an old high school friend of mine.  We discussed what we&#8217;d been up to since the last time we&#8217;d talked and while it lasted longer than it should have (got to love questions for detail and then complaints about the discussion lasting too long ;)) we discovered that both of us had been going through some crap at about the same time.  He thought my ordeal was worse, but on the flip side I wouldn&#8217;t want his troubles.</p>
<p>The question he asked of me though was, <q>did you ask God why you were going through all of that</q>.  As Phillipe [Matthew Broderick] said in Ladyhawke, <q>&#8230;the truth is I talk to God all the time&#8230;</q>.  On the other side of that I never asked about my ordeal - the part that bothered me wasn&#8217;t necessarily getting fired, it was that someone I trusted stabbed me in the back due to their insecurity about their job.  Either it was my fault for being too trusting (this isn&#8217;t the first time something similar has happened) or God was simply reminding me that people are human.</p>
<p>However, I think what my friend was more worried about has been my erratic <q>career</q>.  I think the best thing my consulting career has taught me thus far is that no job is <q>permanent</q>.  And looking back to several times when my dad was worried about his own job, even government jobs are not <q>secure</q>.  Plus, I&#8217;m not sure that my goal has ever been to have a safe, secure, permanent job so it&#8217;s not been something I&#8217;ve worried about.</p>
<p>We should all be familiar with the basic principal of the circle of life.  We&#8217;re born, we consume, we die, and are consumed.  Everything in nature has it&#8217;s part to play in the circle of life.<br />
<span id="more-249"></span></p>
<hr />
<p>Let me diverge somewhat and bring another ray of light to bear on my thought process here.  This is greatly generalized in order to take in the history of mankind as well as, on a separate level, each human.</p>
<p>At a young age baby&#8217;s seem to have no perception of things not within their field of vision.  In this way it is seen that the baby is the center of the universe and all things revolve around the baby.</p>
<p>As humanity grew older it realized (or at least some of us realize) that the world does not revolve around us.  But we, as the gods&#8217; chosen, the divine, or that it&#8217;s just plain obvious&#8230;  The rest of the galaxy must revolve around our planet.  While we as individuals are not as important to have everything revolve around us, our planet must be overly important and therefore this reasoning - it still made us feel as though the galaxy still sort of revolved around us.</p>
<p>Growing even older we realized this falsehood and recognized that our planet is just 1 of several planets that revolve around the same sun.  Oh well, perhaps we were trying to be too self important.  Everything doesn&#8217;t revolve around our planet, but at least the rest of the galaxy revolves around our sun.  Surely our solar system is the center of the galaxy.</p>
<p>And then as we grew even older still we come to find out how insignificant we truly are.  Not only is our solar system not the center of the galaxy, but we&#8217;re way out in the fringe of a flailing arm of a whirlpool as the milky way galaxy spirals through it&#8217;s life.  Oh well, at least ours is the only galaxy in the universe.</p>
<p>Oh, we&#8217;re not the only galaxy in the universe?  Well, at least ours is the only universe&#8230;</p>
<p>Space and time continuum, multiple universes, multiple dimensions, etc.</p>
<p>Our dimension is supposedly just an accident that occurred when 2 other dimensions collided.  And yet in this dimension, even with the few galaxies we&#8217;ve already discovered in our universe, I&#8217;m quite sure there are several more galaxies we&#8217;ve yet to discover and most probably several universes each with it&#8217;s own multiple galaxies within this sliver of a dimension.</p>
<p>Our sliver of a dimension is part of the circle of life and has meaning.  It was born, it is consuming, it will die, and it will be consumed.</p>
<hr />
<p>What people forget however is that the circle of life is also cyclical.  Life requires the cycles of spring, summer, fall, and winter.  Each year forms a circle and we&#8217;re back to where we started the year before.  This cyclical is easy to see because it happens in a short enough period of time that our short lived memories can remember that this cycle does exist.</p>
<p>However, there are larger cycles that we don&#8217;t see or aren&#8217;t normally aware of.  100 year floods and 1,000 year floods are larger cycles, are very general approximations, and most of us may only live to see 1 of these.  <a href="http://en.wikipedia.org/wiki/Halley%27s_Comet">Halley&#8217;s Comet</a> I saw when I was 11 years old (1986) and hope to see again when I&#8217;m 86 in 2061, a cycle of 75-76 years, which I will be very lucky if I&#8217;m able to share it again with my parents.</p>
<p>There are yet other cycles to our lives, some of which we don&#8217;t necessarily see as a complete circle, but may refer to as pendulums.  There is still a cycle to these as they repeat and can be predicted.  Some of these cycles are overly drastic to a point where they require a complete paradigm shift.</p>
<hr />
<q>The significant problems we face cannot be solved at the same level of thinking we were at when we created them.</q> &#8212; Albert Einstein</p>
<hr />
<p>We are currently experiencing a drastic economic paradigm shift.  People are panicking because their jobs, <q>divinely</q> handed to them by overly large corporations, are in jeopardy.  When the age of Kings and Queens, who <q>divinely</q> handed out parcels of land and protected the peasants, came to an end people were panicking and rightly so.  Such chaos and paranoia would follow in the wake of deposing a ruler (or the attempted deposing) that people would be killed simply because they were <em>assumed</em> to be associated in some way.</p>
<p>We&#8217;ve been living fat off the hog for the past 15 years (honestly, the dot bust was just a blip on the radar compared to the &#8217;80s and what&#8217;s coming) that we&#8217;ve forgotten that we survived the &#8217;80s.  Many of us, me included, were still just kids and didn&#8217;t realize or understand the worries of the work force.</p>
<p>What will make this worse is that not only is this a cyclical down turn of the economy, but we are also facing a paradigm shift.  And this will be a much larger paradigm shift than any we as humankind have seen in quite a while.  As we&#8217;re already seeing there will be consolidation of giant corporations and many will collapse.  What makes this frightening is that it will be on a massive scale and without government intervention will happen lightening fast.  I&#8217;m guessing that the paradigm shift (or pendulum swing) that we are facing will be similar to the paradigm shift to industrialization.</p>
<p>On the downside, the longer we prolong this painful paradigm shift the more we bankrupt the very financiers that will help us get through this.  Also, many of those whose companies would have closed down in the early days of this painful shift (rather than being postponed until the middle of it) will realize the shift is needed early and be able to act.  Early innovation will make the paradigm shift shorter and less painful.</p>
<p>If we prolong these dying companies by trying to prop them up they will eventually close anyways.  At which point we will have such a large influx of unemployed in the middle of this painful process causing an even larger drain on an artificially created situation of limited resources (money).  The economic trickle will make it even harder, but never impossible, to get funding causing innovation to stagnate and the creation of new jobs will slow.</p>
<hr />
<q>Necessity, who is the mother of invention.</q> - Plato</p>
<hr />
<p>I hope you do not gather that I am predicting yet another <a href="http://en.wikipedia.org/wiki/Great_Depression">Great Depression</a> as I hope we do not fall that far.  Where as with the Great Depression I see that giant corporations were few and far between as compared to today.  During the Great Depression the average person had a mom and pop company - typically farming.  The issue that made the Great Depression even more of a problem was a combination of famine causing farmers to be unable to pay bank loans followed by the banks foreclosing on these small business farms putting willing workers out of work.  Thousands of these unemployed small business owners would converge on a single location that promised work for a small few.</p>
<p>Today the average person seems to work for a large over sized conglomeration or a medium to large sized business.  I see this as an opportunity for all of those people who&#8217;ve been debating, thinking about, or wanting to start their own business, but didn&#8217;t think they were ready.  They will now be put in a position of necessity and many will see no other option than to make the leap of faith in themselves and produce.  We will be lucky in that what we are facing isn&#8217;t a famine of food, but a famine of money.  This has been coming, we&#8217;ve seen the increase in start up home based businesses, and this has been predicted by several people.</p>
<p>The economic cycles are just yet another aspect of the circle of life.</p>
<ul>
<li><a href="http://www.quotedb.com/quotes/11">The significant problems we face cannot be solved at the same level of thinking we were at when we created them. by Albert Einstein - on quotedb.com</a></li>
<li><a href="http://philosophersnotes.com/quotes/by_topic/Albert+Einstein">PhilosophersNotes - Albert Einstein Quotes</a></li>
<li><a href="http://www.quotationspage.com/quote/33942.html">Quote Details: Plato: Necessity, who is the&#8230; - The Quotations Page</a></li>
</ul>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fblog.whitelionsoft.com%2F2009%2F04%2F27%2Fcycles-of-life%2F&amp;linkname=Cycles%20of%20Life"><img src="http://blog.whitelionsoft.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://blog.whitelionsoft.com/2009/04/27/cycles-of-life/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.whitelionsoft.com/2009/04/27/cycles-of-life/</feedburner:origLink></item>
		<item>
		<title>thus spake the Oracle: “all your MySQL are belong to us!”</title>
		<link>http://feedproxy.google.com/~r/AllThingsPatrick/~3/V8qNZEg7obE/</link>
		<comments>http://blog.whitelionsoft.com/2009/04/21/thus-spake-the-oracle-all-your-mysql-are-belong-to-us/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 20:05:20 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
		
		<category><![CDATA[Hardware]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://blog.whitelionsoft.com/?p=246</guid>
		<description><![CDATA[If you&#8217;ve not seen the news yet, Oracle is buying Sun for 10 cents a share more than IBM&#8217;s final offer (Oracle Agrees to Acquire Sun Microsystems).  And if you&#8217;re really lagging in tech news, MySQL was purchased by Sun a while ago.
Many people were worried about Sun&#8217;s purchase of MySQL and what that [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve not seen the news yet, Oracle is buying Sun for 10 cents a share more than IBM&#8217;s final offer (<a href="http://www.nytimes.com/2009/04/21/technology/companies/21sun.html?_r=1&amp;ref=technology">Oracle Agrees to Acquire Sun Microsystems</a>).  And if you&#8217;re really lagging in tech news, MySQL was purchased by Sun a while ago.</p>
<p>Many people were worried about Sun&#8217;s purchase of MySQL and what that would mean.  MySQL is an open source database and is in use all over the internet.  I was somewhat worried about where they might decide to push the commercial product as that somewhat leads the open source project.</p>
<p>I&#8217;m thinking Oracle is primarily purchasing Sun for their hardware, not for MySQL - MySQL is just a bonus.  However, as someone else pointed out, Oracle hasn&#8217;t really been making anything new.  Oracle has been buying out companies that make great 3rd party apps for Oracle, repackaging it with the Oracle brand, and selling as is - bugs and all.<br />
<span id="more-246"></span></p>
<blockquote>
<div>&lt;MinceR&gt; maybe Oracle will beat some sense into Sun management</div>
<div>&lt;MinceR&gt; and i think it&#8217;s certainly better than IBM, Novell or m$ buying them</div>
<div>&lt;Dot&gt; that&#8217;s what i&#8217;m hoping too, oracle makes very professional programs&#8230; they are really worth</div>
<div>&lt;Dot&gt; even the free version of oracle 9.11g is impressive</div>
<div>&lt;MinceR&gt; <abbr title="as far as I know">afaik</abbr> oracle makes crap</div>
<div>&lt;Dot&gt; why?</div>
<div>&lt;MinceR&gt; but then sun will be in good company</div>
<div>&lt;MinceR&gt; <abbr title="as far as I can tell">afaict</abbr> all they were doing lately was buying third-parties developing new management tools for oracle and just bundling the new stuff</div>
<div>&lt;MinceR&gt; without integrating them in any way</div>
<div>&lt;MinceR&gt; so oracle is a mess</div>
<div>&lt;Dot&gt; apart MySQL and PostgreSQL, i don&#8217;t see any other good db system apart from oracle</div>
</blockquote>
<p>There&#8217;s 3 ways I can see this going.  The worst still doesn&#8217;t make MySQL go away simply because it&#8217;s open source and it&#8217;s license makes it impossible for it not to be branched and continued by the <abbr title="Free Open Source Software">FOSS</abbr> community.</p>
<ol>
<li>Oracle takes Oracle off the market (at some point, probably not immediately), fully embraces MySQL, buys up companies making management software and resells that for MySQL - just like they&#8217;ve been doing with Oracle.  I highly doubt this will happen, but it is possible.</li>
<li>Oracle accepts MySQL as it&#8217;s new red-headed step child and only offers it as a last resort.  As it now also owns the commercial license for MySQL it will probably also cannibalize any useful parts of MySQL, that it legally can without having to worry about legal ramifications from the license, for use in Oracle.</li>
<li>Oracle continues to see MySQL as a competitor and does everything it can to squash it&#8217;s (Oracle&#8217;s) new product line.  Oracle will refuse to give up the MySQL commercial license, refuse official support for clients, try to move existing commercial clients to Oracle, and generally be as much of a nuisance as possible to try to chase people away from using MySQL.  While Oracle can&#8217;t kill MySQL outright, Oracle will do as much as possible to prevent anybody else from pushing MySQL forward.</li>
</ol>
<p>Considering the current economy, Sun&#8217;s current position, and Oracle&#8217;s current position I think if Oracle decides to squash MySQL will be a good indicator as to when Oracle is going under.</p>
<p>While I&#8217;m not anti-Oracle (I am anti-Microsoft <em>software</em> and willing to admit it) I am somewhat worried about Oracle acquiring MySQL.  Competition between database companies has been greatly beneficial to where databases are today and will be in the next couple of years.  With 1 company owning 2 (not the only 2) of the most popular databases I&#8217;m worried that the innovation will slow.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fblog.whitelionsoft.com%2F2009%2F04%2F21%2Fthus-spake-the-oracle-all-your-mysql-are-belong-to-us%2F&amp;linkname=thus%20spake%20the%20Oracle%3A%20%26%238220%3Ball%20your%20MySQL%20are%20belong%20to%20us%21%26%238221%3B"><img src="http://blog.whitelionsoft.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://blog.whitelionsoft.com/2009/04/21/thus-spake-the-oracle-all-your-mysql-are-belong-to-us/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.whitelionsoft.com/2009/04/21/thus-spake-the-oracle-all-your-mysql-are-belong-to-us/</feedburner:origLink></item>
		<item>
		<title>VLC kicks even more butt - it streams!</title>
		<link>http://feedproxy.google.com/~r/AllThingsPatrick/~3/Cu6mzl5rwNM/</link>
		<comments>http://blog.whitelionsoft.com/2009/03/04/vlc-kicks-even-more-butt-it-streams/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 16:16:13 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
		
		<category><![CDATA[development]]></category>

		<category><![CDATA[freelance]]></category>

		<category><![CDATA[friends]]></category>

		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.whitelionsoft.com/?p=234</guid>
		<description><![CDATA[I knew VLC was great for playing video files, especially those files I hadn&#8217;t been able to play using other players&#8230;  &#38; it&#8217;s even cross-platform!  What I hadn&#8217;t paid attention to before was it&#8217;s ability to stream videos.
My friend, Craig Fowler (aka ToreadorVampire), recently ran me through the process rather quickly&#8230;  I [...]]]></description>
			<content:encoded><![CDATA[<p>I knew <a href="http://www.videolan.org/vlc/">VLC</a> was great for playing video files, especially those files I hadn&#8217;t been able to play using other players&#8230;  &amp; it&#8217;s even cross-platform!  What I hadn&#8217;t paid attention to before was it&#8217;s ability to stream videos.</p>
<p>My friend, Craig Fowler (aka ToreadorVampire), recently ran me through the process rather quickly&#8230;  I didn&#8217;t have much time and he didn&#8217;t have anything really written up&#8230;  It was a last minute discussion over <abbr title="Instant Messenger">IM</abbr> and I thought it could help to at least get people pointed in the right direction.</p>
<p>There is some documentation up at videolan.org (<a href="http://wiki.videolan.org/VLM">Streaming HowTo/VLM - VideoLAN Wiki</a>) that shows how to set VLC up to do the streaming, talks about the HTTP interface, etc, but isn&#8217;t an instant answer.<br />
<span id="more-234"></span></p>
<p>Here&#8217;s what Craig set up for /etc/init.d/vlc (modified slightly to fit the blog):</p>
<pre><code>#!/bin/sh
STARTUP_COMMAND=/usr/local/bin/cvlc
PID_LOCATION=/var/run/vlc/vlc.pid
LOG_LOCATION=/var/log/vlc.log
CONFIG_LOCATION=/etc/vlc/vlm.conf

case $1 in
    start)
        if [ ! -f $PID_LOCATION  ]; then
            start-stop-daemon --pidfile $PID_LOCATION \
                --chuid vlc --exec $STARTUP_COMMAND \
                --start -- --vlm-conf $CONFIG_LOCATION \
                --file-logging --logfile $LOG_LOCATION \
                --quiet --daemon --pidfile $PID_LOCATION
        fi
        ;;
    stop)
        if [ -f $PID_LOCATION ]; then
            start-stop-daemon --pidfile $PID_LOCATION \
                --stop --signal 15
        fi
        ;;
    restart)
        if [ -f $PID_LOCATION ]; then
            start-stop-daemon --pidfile $PID_LOCATION \
                --stop
        fi
        start-stop-daemon --pidfile $PID_LOCATION \
            --chuid vlc --exec $STARTUP_COMMAND \
            --start -- --vlm-conf $CONFIG_LOCATION \
            --file-logging --logfile $LOG_LOCATION \
            --quiet --daemon --pidfile $PID_LOCATION
        ;;
esac
</code></pre>
<p>Here&#8217;s what he set up for /etc/vlc/vlm.conf (also slightly modified for blog):</p>
<pre><code># VLM Config file, used to configure automated streams

# ====================================================================
# Someone's webcams

# --------------------------------------------------------------------
# Camera 2

# For reference, the original VLC command to stream from this camera
# vlc "http://username:pass@webcam.example.com/nphMotionJpeg?Resolution=320x240&amp;Quality=Standard"
# --sout "#transcode{vcodec=FLV1,acodec=mp3,sameplerate=44100}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8081/stream.flv}" --noaudio

new camNumber2 broadcast enabled
setup camNumber2 input http://username:pass@webcam.example.com/nphMotionJpeg?Resolution=320x240&amp;Quality=Standard
setup camNumber2 output #transcode{vcodec=FLV1}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=127.0.0.1:8081/directory/camera2.flv}
setup camNumber2 loop
control camNumber2 play
# --------------------------------------------------------------------
# ====================================================================
</code></pre>
<blockquote>
<p>The URLs /nphMotionJpeg etc are just specific to the HTTP stream I was connecting to (in that instance motion JPEG)</p>
<p>The &#8220;setup camNumber2 loop&#8221; line tells VLC that if the origin stream goes down or it loses its connection, it should just keep trying to reconnect</p>
<p>The output line is obviously telling it to convert to FLV, and make the result stream available at http://127.0.0.1:8081/directory/camera2.flv</p>
<p>I then used some mod_rewrite magic to proxy http://bsgc.co.uk/webcam-streams/ to http://127.0.0.1:8081/directory/</p>
</blockquote>
<p>If this is missing anything I&#8217;ll try to get more info up later, but for now it should get anybody interested in this a good start.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fblog.whitelionsoft.com%2F2009%2F03%2F04%2Fvlc-kicks-even-more-butt-it-streams%2F&amp;linkname=VLC%20kicks%20even%20more%20butt%20-%20it%20streams%21"><img src="http://blog.whitelionsoft.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://blog.whitelionsoft.com/2009/03/04/vlc-kicks-even-more-butt-it-streams/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.whitelionsoft.com/2009/03/04/vlc-kicks-even-more-butt-it-streams/</feedburner:origLink></item>
		<item>
		<title>The Peoplehood of Mini Cooper Owners</title>
		<link>http://feedproxy.google.com/~r/AllThingsPatrick/~3/3z1GfjRpIb8/</link>
		<comments>http://blog.whitelionsoft.com/2009/03/01/the-peoplehood-of-mini-cooper-owners/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 04:06:22 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
		
		<category><![CDATA[Mini Cooper]]></category>

		<category><![CDATA[Personal]]></category>

		<category><![CDATA[entertainment]]></category>

		<category><![CDATA[friends]]></category>

		<guid isPermaLink="false">http://blog.whitelionsoft.com/?p=227</guid>
		<description><![CDATA[
I got my Mini Cooper last October (about 4 months ago).  While I thought I realized before getting one that they were an enthusiast car, apparently I had no idea&#8230;


Sure, growing up we went through a couple of VW Vanagons and we&#8217;d get a wave every once in a while when we were out [...]]]></description>
			<content:encoded><![CDATA[<p>
I got my Mini Cooper last October (about 4 months ago).  While I thought I realized before getting one that they were an enthusiast car, apparently I had no idea&#8230;
</p>
<p>
Sure, growing up we went through a couple of <a href="http://en.wikipedia.org/wiki/Volkswagen_Type_2_(T3)">VW Vanagons</a> and we&#8217;d get a wave every once in a while when we were out on vacation&#8230;  In almost any car driving down back roads running into the occasional farmer will yield a wave or a hat off.  The only other recognition I think I&#8217;ve gotten from other people as I&#8217;m driving down the road is when I had my really sad and pathetic <a href="http://en.wikipedia.org/wiki/Saturn_S-Series">&#8216;95 Saturn S-1</a> - people had a tendancy to give me the finger &lt;sarcasm&gt;telling me I was #1&lt;/sarcasm&gt;.
</p>
<p>I think about 80% of the other Mini Cooper drivers I&#8217;ve come across have waved or nodded at me&#8230;  After realizing it wasn&#8217;t because they thought they knew me, I&#8217;ve started waving back.  I&#8217;ve not waved at people since&#8230;  well, as a kid in the back of the Vanagon when I&#8217;d also pump my arm at <a href="http://en.wikipedia.org/wiki/Semi-trailer_truck">tractor trailer rigs</a> to get them to blow their horns.<br />
<span id="more-227"></span></p>
<p>
This is the first time my sister has stated she wanted to get a car like what I bought (even though she also got a Cavalier after I had had 1).
</p>
<p>
This is the first time I&#8217;ve had people at work and at parties say they&#8217;ve been looking at the kind of car I have and want a test drive.
</p>
<p>
While not the first time I&#8217;ve had multiple conversations with the person in the drive-thru window it is the first time I&#8217;ve had them about a car.
</p>
<p>
It&#8217;s the first time the mechanics at the garage I&#8217;ve taken all my cars to have been overly excited at looking at a new car and had yet to do maintenance on any.
</p>
<p>
It&#8217;s the first time I keep getting asked by people I see fairly regularly if I still like my new car&#8230;  Which is funny, because&#8230;
</p>
<p>
This is the first car I&#8217;ve had where the more I drive it the more I like&#8230; Let&#8217;s do that again!
</p>
<p>
For testing a car&#8217;s reflexes I like driving it southbound through Meyer&#8217;s Circle (Meyer Circle Fountain - <a href="http://www.flickr.com/photos/catastrophy/834485859/" title="picture of Meyer Circle Fountain">flickr</a> | <a href="http://www.kcphotos.com/view_image/649/Meyer_Circle_Fountain" title="picture of Meyer Circle Fountain">kcphotos.com</a> | <a href="http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=Meyer+Blvd+and+Ward+Parkway&#038;sll=39.011881,-94.601233&#038;sspn=0.009504,0.019011&#038;ie=UTF8&#038;ll=39.012615,-94.602048&#038;spn=0.009503,0.019011&#038;z=16&#038;iwloc=addr">Google Maps</a>).  It&#8217;s a non-normal traffic circle as traffic entering the circle from a street other than Ward Parkway must stop before it can enter the circle.  Ward Parkway has 3 northbound through lanes and 3 southbound through lanes - and so it has quite the curve to the traffic circle.  Ward Parkway has a posted speed limit of 35mph and the circle has a warning speed of 25mph, but I think rush hour is lucky to get through it at 20mph.  During <em>good weather conditions</em> the best test is to start at a complete stop at 63rd Street (the block just north of the circle) and when the light turns green floor the gas pedal, take a hard cut to the right into the turn so the turn back to the left and straightening out is much easier&#8230;  I&#8217;ve been able to do this at at least 40mph in every car I&#8217;ve had (the <a href="http://en.wikipedia.org/wiki/Chevrolet_K5_Blazer">&#8216;85 Chevy Blazer</a> was the hardest and the <a href="http://en.wikipedia.org/wiki/Chevrolet_Cavalier">2-door &#8216;97 Chevy Cavalier</a> &amp; <a href="http://en.wikipedia.org/wiki/Honda_Civic">&#8216;98 Honda Civic</a> I could get up to 45mph)&#8230;  This is the first time I&#8217;ve hit 50mph <em>easily</em> and I actually feel bad about it because I&#8217;m worried the cops will pull me over.
</p>
<p>
This is the first time I&#8217;ve even looked at joining a car group of some kind (I&#8217;ve been looking on <a href="http://www.facebook.com/">facebook</a> and added Mini Coopers to my <a href="http://www.meetup.com/members/4103972/">meetup interests</a>).
</p>
<p>
Due to looking at the car groups and the members apparent need to name their cars&#8230; Not to be left out of the nutcase bunch I&#8217;m thinking I may need to name my car as well, but I&#8217;m not sure what to name it&#8230;  Oh the peer pressure.
</p>
<p>
Also, I&#8217;ve yet to find another Mini Cooper, at least in the Kansas City area, that has the same color scheme as mine.  There are plenty of grey Mini Coopers, but I&#8217;m not sure I&#8217;ve even seen any <em>silver</em> Mini Cooper&#8230;  Not to mention a silver with 2 black racing stripes on both the engine hood and the roof&#8230;  Oh and the racing stripes on mine are <em>straight</em> on the hood rather than curved or angled.
</p>
<p>
Keep waving <abbr title="stick figure head and arm waving">o/</abbr></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fblog.whitelionsoft.com%2F2009%2F03%2F01%2Fthe-peoplehood-of-mini-cooper-owners%2F&amp;linkname=The%20Peoplehood%20of%20Mini%20Cooper%20Owners"><img src="http://blog.whitelionsoft.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://blog.whitelionsoft.com/2009/03/01/the-peoplehood-of-mini-cooper-owners/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.whitelionsoft.com/2009/03/01/the-peoplehood-of-mini-cooper-owners/</feedburner:origLink></item>
		<item>
		<title>Bohemian Rhapsody on Digg and Chad After Dentist</title>
		<link>http://feedproxy.google.com/~r/AllThingsPatrick/~3/YwBfAreV6Bg/</link>
		<comments>http://blog.whitelionsoft.com/2009/02/12/bohemian-rhapsody-on-digg-and-chad-after-dentist/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 09:00:08 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
		
		<category><![CDATA[YouTube]]></category>

		<category><![CDATA[entertainment]]></category>

		<category><![CDATA[friends]]></category>

		<guid isPermaLink="false">http://blog.whitelionsoft.com/?p=226</guid>
		<description><![CDATA[Some people just have way too much time on their hands&#8230;
Somebody posted a link in IRC to this very long screenshot of the Bohemian Rhapsody with each user posting a single line&#8230;  Geeze, the things that take talent and social engineering these days&#8230;



Shortly after seeing that I saw an email a friend of mine [...]]]></description>
			<content:encoded><![CDATA[<p>Some people just have way too much time on their hands&#8230;</p>
<p>Somebody posted a link in <abbr title="Internet Relay Chat">IRC</abbr> to this very long screenshot of the Bohemian Rhapsody with each user posting a single line&#8230;  Geeze, the things that take talent and social engineering these days&#8230;<br />
<span id="more-226"></span></p>
<p><a href="http://img11.imageshack.us/img11/74/diggbohemianrhapsodyxw2.jpg"><img src="http://img11.imageshack.us/img11/74/diggbohemianrhapsodyxw2.jpg" width="110" height="638" title="Bohemian Rhapsody on Digg" /></a></p>
<hr />
<p>Shortly after seeing that I saw an email a friend of mine sent.  I&#8217;m not sure which is more amusing&#8230;  The <a href="http://www.youtube.com/watch?v=txqiwrbYGrs">video of the 7 year old boy after visiting the dentist</a> or the <a href="http://www.youtube.com/watch?v=sGTAnXqn9Jc&#038;feature=channel" title="Chad parody of the 7 year old boy after visiting the dentist">Chad parody</a> (as in Chad Vader)&#8230;</p>
<p>I was somewhat disappointed after having just seen the Bohemian Rhapsody lyrics&#8230;  When the kid asks, <q>is this real life?</q>, I wanted to hear the rest of the song from both the kid and Chad.  Oh well&#8230; at least it&#8217;s better than getting Rickrolled.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fblog.whitelionsoft.com%2F2009%2F02%2F12%2Fbohemian-rhapsody-on-digg-and-chad-after-dentist%2F&amp;linkname=Bohemian%20Rhapsody%20on%20Digg%20and%20Chad%20After%20Dentist"><img src="http://blog.whitelionsoft.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://blog.whitelionsoft.com/2009/02/12/bohemian-rhapsody-on-digg-and-chad-after-dentist/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.whitelionsoft.com/2009/02/12/bohemian-rhapsody-on-digg-and-chad-after-dentist/</feedburner:origLink></item>
	</channel>
</rss>
