<?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:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>The B-Log</title>
	
	<link>http://www.btjones.com</link>
	<description>Stuff and Things</description>
	<lastBuildDate>Sat, 29 May 2010 17:31:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</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/btjones" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="btjones" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>NSUserDefaults nil Setting Problem</title>
		<link>http://www.btjones.com/2010/05/nsuserdefaults-nil-setting-problem/</link>
		<comments>http://www.btjones.com/2010/05/nsuserdefaults-nil-setting-problem/#comments</comments>
		<pubDate>Wed, 26 May 2010 18:25:38 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iphone dev]]></category>

		<guid isPermaLink="false">http://www.btjones.com/?p=824</guid>
		<description><![CDATA[
The iPhone has a handy system Settings app that has a unified location to make changes to different apps on you phone. Within your application, Settings.bundle allows the app to display settings in the iPhone Settings application and NSUserDefaults allows an application to programmatically interact with the phone&#8217;s default system. When changing a value in [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="http://www.btjones.com/?p=824"><!-- &nbsp; --></abbr>
<p>The iPhone has a handy system Settings app that has a unified location to make changes to different apps on you phone. Within your application, Settings.bundle allows the app to display settings in the iPhone Settings application and NSUserDefaults allows an application to programmatically interact with the phone&#8217;s default system. When changing a value in the Settings app it will be updated in the phone&#8217;s default system so you can retrieve these settings programmatically within your application.</p>
<p>The problem is if your application settings are never opened in the Settings app, when using NSUserDefaults to retrieve setting values within your application, they will be nil even if a DefaultValue is set in your settings bundle. The reason is the settings bundle and the shared NSUserDefaults object are not one in the same. NSUserDefaults needs to be populated with data either through the iPhone Settings app or programmatically in your application. There are few solutions to this floating around the web to initialize the default values but I didn&#8217;t find any that I really liked.</p>
<p>Below is a pretty simple method that I call in the application:didFinishLaunchingWithOptions: method of my app delegate. What it does is grab the settings from the settings bundle, and if any item value is nil it will update the value of that item with the specified DefaultValue (if there is one). This ensures that all values that need a default value will have that default value set in the NSUserDefaults shared defaults object. For more information check out the documentation for <a href="http://developer.apple.com/iphone/library/documentation/PreferenceSettings/Conceptual/SettingsApplicationSchemaReference/Introduction/Introduction.html">Settings Application Schema Reference</a> and <a href="http://developer.apple.com/iphone/library/documentation/cocoa/reference/Foundation/Classes/NSUserDefaults_Class/Reference/Reference.html">NSUserDefaults Class Reference</a>.</p>
<div class="dean_ch" style="white-space: nowrap;">- <span class="br0">&#40;</span><span class="kw4">void</span><span class="br0">&#41;</span>setupDefaults <span class="br0">&#123;</span></p>
<p>&nbsp; &nbsp; <span class="co1">//get the plist location from the settings bundle</span><br />
&nbsp; &nbsp; <a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSString.html"><span class="kw5">NSString</span></a> *settingsPath = <span class="br0">&#91;</span><span class="br0">&#91;</span><span class="br0">&#91;</span><a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSBundle.html"><span class="kw5">NSBundle</span></a> mainBundle<span class="br0">&#93;</span> bundlePath<span class="br0">&#93;</span> stringByAppendingPathComponent:@<span class="st0">&quot;Settings.bundle&quot;</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; <a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSString.html"><span class="kw5">NSString</span></a> *plistPath = <span class="br0">&#91;</span>settingsPath stringByAppendingPathComponent:@<span class="st0">&quot;Root.plist&quot;</span><span class="br0">&#93;</span>;</p>
<p>&nbsp; &nbsp; <span class="co1">//get the preference specifiers array which contains the settings</span><br />
&nbsp; &nbsp; <a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSDictionary.html"><span class="kw5">NSDictionary</span></a> *settingsDictionary = <span class="br0">&#91;</span><a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSDictionary.html"><span class="kw5">NSDictionary</span></a> dictionaryWithContentsOfFile:plistPath<span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; <a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSArray.html"><span class="kw5">NSArray</span></a> *preferencesArray = <span class="br0">&#91;</span>settingsDictionary objectForKey:@<span class="st0">&quot;PreferenceSpecifiers&quot;</span><span class="br0">&#93;</span>;</p>
<p>&nbsp; &nbsp; <span class="co1">//use the shared defaults object</span><br />
&nbsp; &nbsp; <a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSUserDefaults.html"><span class="kw5">NSUserDefaults</span></a> *defaults = <span class="br0">&#91;</span><a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSUserDefaults.html"><span class="kw5">NSUserDefaults</span></a> standardUserDefaults<span class="br0">&#93;</span>;</p>
<p>&nbsp; &nbsp; <span class="co1">//for each preference item, set its default if there is no value set</span><br />
&nbsp; &nbsp; <span class="kw1">for</span><span class="br0">&#40;</span><a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSDictionary.html"><span class="kw5">NSDictionary</span></a> *item in preferencesArray<span class="br0">&#41;</span> <span class="br0">&#123;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//get the item key, if there is no key then we can skip it</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSString.html"><span class="kw5">NSString</span></a> *key = <span class="br0">&#91;</span>item objectForKey:@<span class="st0">&quot;Key&quot;</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>key<span class="br0">&#41;</span> <span class="br0">&#123;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//check to see if the value and default value are set</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//if a default value exists and the value is not set, use the default</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw4">id</span> value = <span class="br0">&#91;</span>defaults objectForKey:key<span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw4">id</span> defaultValue = <span class="br0">&#91;</span>item objectForKey:@<span class="st0">&quot;DefaultValue&quot;</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>defaultValue &amp;&amp; !value<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span>defaults setObject:defaultValue forKey:key<span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span></p>
<p>&nbsp; &nbsp; <span class="co1">//write the changes to disk</span><br />
&nbsp; &nbsp; <span class="br0">&#91;</span>defaults synchronize<span class="br0">&#93;</span>;<br />
<span class="br0">&#125;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.btjones.com/2010/05/nsuserdefaults-nil-setting-problem/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hide UISearchBar Background (iPhone SDK 3.2 &amp; 4.0)</title>
		<link>http://www.btjones.com/2010/05/hide-uisearchbar-background-iphone-sdk-3-2-4-0/</link>
		<comments>http://www.btjones.com/2010/05/hide-uisearchbar-background-iphone-sdk-3-2-4-0/#comments</comments>
		<pubDate>Mon, 10 May 2010 22:42:21 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.btjones.com/?p=767</guid>
		<description><![CDATA[
Dear Non-Developer Readers,
I may start posting some technical stuff up here from time to time. I&#8217;ll try to not let it dominate my bi-annual blog posts. Also, I&#8217;m testing out this code highlighting plugin which seems to work pretty well.
My Problem:
I want to hide the background of a UISearchBar and the methods I found only [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="http://www.btjones.com/?p=767"><!-- &nbsp; --></abbr>
<p>Dear Non-Developer Readers,<br />
I may start posting some technical stuff up here from time to time. I&#8217;ll try to not let it dominate my bi-annual blog posts. Also, I&#8217;m testing out this <a href="http://www.deanlee.cn/wordpress/code_highlighter_plugin_for_wordpress/">code highlighting plugin</a> which seems to work pretty well.</p>
<p><strong>My Problem:</strong><br />
I want to hide the background of a UISearchBar and the methods I found only worked on SDK versions 3.1.3 and below. That method basically grabs the subview (of class UISearchBarBackground) that contains the background image and sets it to hidden:</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="br0">&#91;</span><span class="br0">&#91;</span>searchBar.subviews objectAtIndex:<span class="nu0">0</span><span class="br0">&#93;</span> setHidden:YES<span class="br0">&#93;</span>;</div>
<p>Well that only works in versions of the iPhone SDK prior to 3.2. In 3.2 and beyond this technique no longer works (which is exactly why these sort of whatever.subviews hacks should generally be avoided).</p>
<p><strong>My Solution:</strong><br />
In iPhone SDK 3.2 and 4.0 I&#8217;ve found this alternative technique that works:</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="br0">&#91;</span><span class="br0">&#91;</span>searchBar.subviews objectAtIndex:<span class="nu0">0</span><span class="br0">&#93;</span> removeFromSuperview<span class="br0">&#93;</span>;</div>
<p>And if you want to go all out and attempt to future-proof your code give this a try (no guarantee that it won&#8217;t still break though &#8211; Apple could still change the class name or change the structure of the UISearchBar in a future SDK update):</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="kw1">for</span> <span class="br0">&#40;</span>UIView *subview in searchBar.subviews<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="br0">&#91;</span>subview isKindOfClass:NSClassFromString<span class="br0">&#40;</span>@<span class="st0">&quot;UISearchBarBackground&quot;</span><span class="br0">&#41;</span><span class="br0">&#93;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span>subview removeFromSuperview<span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">break</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.btjones.com/2010/05/hide-uisearchbar-background-iphone-sdk-3-2-4-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The B-Log</title>
		<link>http://www.btjones.com/2010/04/the-b-log/</link>
		<comments>http://www.btjones.com/2010/04/the-b-log/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 19:15:56 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Sports]]></category>

		<guid isPermaLink="false">http://www.btjones.com/?p=738</guid>
		<description><![CDATA[
As I was watching the Orioles pre-game show last night (before watching the Capitals miserable loss) I saw that MASN was promoting a video blog created by one of my favorite Orioles, Brian Roberts! Well he picked the best name possible for his blog, &#8220;The B-Log&#8220;.


]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="http://www.btjones.com/?p=738"><!-- &nbsp; --></abbr>
<p>As I was watching the Orioles pre-game show last night (before watching the Capitals miserable loss) I saw that <a href="http://masnsports.com/">MASN</a> was promoting a video blog created by one of my favorite Orioles, Brian Roberts! Well he picked the best name possible for his blog, &#8220;<a href="http://masnsports.com/brian_roberts/">The B-Log</a>&#8220;.<br />
<br />
<a href="http://www.btjones.com/2010/04/the-b-log/brian_roberts/" rel="attachment wp-att-744"><img src="http://www.btjones.com/wp-content/uploads/brian_roberts-550x84.jpg" alt="" title="The B-Log (Brian Roberts)" width="550" height="84" class="aligncenter size-large wp-image-744" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.btjones.com/2010/04/the-b-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Orioles Van to the Rescue</title>
		<link>http://www.btjones.com/2009/08/orioles-van-to-the-rescue/</link>
		<comments>http://www.btjones.com/2009/08/orioles-van-to-the-rescue/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 18:42:46 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Sports]]></category>
		<category><![CDATA[Story]]></category>
		<category><![CDATA[Weird]]></category>

		<guid isPermaLink="false">http://www.btjones.com/?p=729</guid>
		<description><![CDATA[

Saturday I went to to see the Orioles lose to the Angels in Baltimore. On our way out of Oriole Park at Camden Yards we saw the van pictured above and I must say that it is awesome and I must own one. Obviously vans are pretty cool to begin with, but adding an Orioles [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="http://www.btjones.com/?p=729"><!-- &nbsp; --></abbr>
<p><img title="Orioles Van" src="http://farm3.static.flickr.com/2573/3831602277_28cde6df0a.jpg" alt="Orioles Van" width="500" height="333" /></p>
<p>Saturday I went to to see the Orioles lose to the Angels in Baltimore. On our way out of <a href="http://en.wikipedia.org/wiki/Oriole_Park_at_Camden_Yards">Oriole Park at Camden Yards</a> we saw the van pictured above and I must say that it is awesome and I must own one. Obviously vans are pretty cool to begin with, but adding an Orioles paint job adds to the grandeur.</p>
<p>About 10 minutes after I took this photo, we walked through the Inner Har and happened upon people fleeing one of the buildings. Apparently, <a href="http://weblogs.baltimoresun.com/news/crime/blog/2009/08/shooting_at_inner_harbor.html">there was a shooting moments before we arrived</a> after a few rival gang members happened upon each other in the most tourist filled area of Baltimore. Fortunately, no one was killed though it was still a pretty nasty scene &#8211; we saw police attending to a shot gang member through a doorway and we almost stepped in some blood outside&#8230;ugh.</p>
<p>Thankfully I spotted this van and stopped to snap a few photos, otherwise we might have arrived at the Inner Harbor a minute earlier&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.btjones.com/2009/08/orioles-van-to-the-rescue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Who Killed the Electric Car?</title>
		<link>http://www.btjones.com/2009/07/who-killed-the-electric-car/</link>
		<comments>http://www.btjones.com/2009/07/who-killed-the-electric-car/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 21:45:19 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.btjones.com/?p=706</guid>
		<description><![CDATA[
A while back someone (my Dad I think) recommended I add Who Killed the Electric Car? to my Netflix queue. I had completely forgoten about it until it showed up in my mailbox last week.
I really knew nothing about General Motors&#8217; foray into the electric car market in the late nineties, but after watching this movie, [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="http://www.btjones.com/?p=706"><!-- &nbsp; --></abbr>
<p>A while back someone (my Dad I think) recommended I add <em><a href="http://en.wikipedia.org/wiki/Who_killed_the_electric_car">Who Killed the Electric Car?</a><span style="font-style: normal;"> to my Netflix queue. I had completely forgoten about it until it showed up in my mailbox last week.</span></em></p>
<p><em><span style="font-style: normal;">I really knew nothing about General Motors&#8217; foray into the electric car market in the late nineties, but after watching this movie, I really want to get a <a href="http://en.wikipedia.org/wiki/Plug_in_hybrid">plug-in hybrid</a>. Basically, GM built the first mass produced 100% electic power car, the <a href="http://en.wikipedia.org/wiki/Ev1">EV1</a>. The long and the short of it is GM stopped producing it after California zero emission laws were rescended. The car no longer exists (except a few non-functioning museum cars) because GM actually reposessed every single car (which were all leased and not available for purchase) and literally crushed and shredded them. Check out the trailor below.</span></em></p>
<p><em><span style="font-style: normal;">Well today I came across <a href="http://www.pcworld.com/article/169078/nissan_dials_iphone_for_car_remote_control.html">this article about a new Nissan electric car</a> that will be unveiled this Sunday (and suppossedly available for purchase in 2010). The article has little to do with the car itself and more to do with an iPhone app Nissan has built. Basically, while you car is charging you can monitor the battery power so you will know when it&#8217;s all charged.</span></em></p>
<p><em><span style="font-style: normal;">Nissan seems to just be scratching the surface with what they can do (the only other announced feature of the software is to remotely control the air conditioning). This is the kind of stuff companies need to start doing with smart phones. There are so many apps that are rehashed and non-innovative&#8230;I can&#8217;t wait until we start seeing more smart integration like this.</span></em></p>
<p><object type="application/x-shockwave-flash" width="550" height="340" data="http://www.youtube.com/v/nsJAlrYjGz8&#038;hl=en&#038;fs=1&#038;color1=0x3a3a3a&#038;color2=0x999999"><param name="movie" value="hhttp://www.youtube.com/v/nsJAlrYjGz8&#038;hl=en&#038;fs=1&#038;color1=0x3a3a3a&#038;color2=0x999999" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.btjones.com/2009/07/who-killed-the-electric-car/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ROCK!</title>
		<link>http://www.btjones.com/2009/07/rock/</link>
		<comments>http://www.btjones.com/2009/07/rock/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 04:38:53 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://www.btjones.com/?p=703</guid>
		<description><![CDATA[

I&#8217;ve done a photo shoot and two live shows with Elementary (the band!).  I gotta say, live music photography is fun. The above was my favorite shot from the Velvet Lounge show. I&#8217;d like to revamp my blog to cater more to being a photo-blog. Don&#8217;t hold your breath though&#8230;since all I do all day [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="http://www.btjones.com/?p=703"><!-- &nbsp; --></abbr>
<p><a title="Elementary @ Velvet Lounge by Brandon-J, on Flickr" href="http://www.flickr.com/photos/btjones/3756360130/"><img src="http://farm3.static.flickr.com/2567/3756360130_365c6fed46.jpg" alt="Elementary @ Velvet Lounge" width="375" height="500" /></a></p>
<p>I&#8217;ve done a <a href="http://www.flickr.com/photos/btjones/sets/72157620197839097/">photo shoot</a> and two <a href="http://www.flickr.com/photos/btjones/sets/72157620615454029/">live</a> <a href="http://www.flickr.com/photos/btjones/sets/72157621828218584/">shows</a> with <a href="http://www.elementarytheband.com/">Elementary (the band!)</a>.  I gotta say, live music photography is fun. The above was my favorite shot from <a href="http://www.flickr.com/photos/btjones/sets/72157621828218584/">the Velvet Lounge show</a>. I&#8217;d like to revamp my blog to cater more to being a photo-blog. Don&#8217;t hold your breath though&#8230;since all I do all day is build web sites, I&#8217;m kind of slow to actually update my own. It will happen at some point, but it could be a couple years.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.btjones.com/2009/07/rock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Color Profiles</title>
		<link>http://www.btjones.com/2009/07/color-profiles/</link>
		<comments>http://www.btjones.com/2009/07/color-profiles/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 05:38:29 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[profiles]]></category>
		<category><![CDATA[raw]]></category>
		<category><![CDATA[srgb]]></category>

		<guid isPermaLink="false">http://www.btjones.com/?p=616</guid>
		<description><![CDATA[
Since your hero last blogged I had some visitors, traveled to a destination wedding in Bermuda, moved to a different state, and I&#8217;m sure some other blog-worthy things&#8230;none of which will be discussed today! No, first I have something much more exciting&#8230; a short word on color profiles!
Super high level overview: Color profiles basically tell your [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="http://www.btjones.com/?p=616"><!-- &nbsp; --></abbr>
<p>Since your hero last blogged <a href="http://stanus.net/index.php/2009/philly-part-iii-give-me-death-or-give-me-doh/">I had some visitors</a>, traveled to a <a href="http://www.flickr.com/photos/btjones/sets/72157619443702683/">destination wedding in Bermuda</a>, moved to a different state, and I&#8217;m sure some other blog-worthy things&#8230;none of which will be discussed today! No, first I have something much more exciting&#8230; a short word on <a href="http://en.wikipedia.org/wiki/Color_profile">color profiles</a>!</p>
<p>Super high level overview: Color profiles basically tell your computer how to output images for a certain device &#8211; be it your monitor, you printer, etc. Beyond that, they are also software dependent &#8211; most browsers only support the sRGB color profile.</p>
<p>Now you may be wondering why I&#8217;m talking about all this. I might even say this is embarassing considering the thousands of hours I&#8217;ve probably spent using Photoshop&#8230; I realized a couple months ago that I&#8217;ve been saving and uploading all of my photos to the web with the Adobe RGB color profile and I&#8217;ve been doing it for <strong>more than two years</strong> (approximately 700 photos). Why did I do this? Well Adobe RGB was set as the default color profile in the Photoshop &#8220;Camera Raw&#8221; plug-in that I used when processing my photos.</p>
<p>What happens when you view an Adobe RGB image with software that only does sRGB? Basically it sucks the life out of your image. Colors are dulled and people are turned into zombies. On some photos it&#8217;s not that noticable&#8230;on others it&#8217;s definitely noticable.</p>
<p>Here are two screen shots from a browser that only supports sRGB. The left photo is sRGB, the right is Adobe RGB. Can you see a difference? I think it looks like my skin is going to fall off in the right photo (both due to the <a href="http://www.jowlers.com/">jowling</a> and the grayish hue).</p>
<p><a href="http://www.flickr.com/photos/btjones/3461151416/"><img class="alignnone" title="sRGB vs Adobe RGB" src="http://farm4.static.flickr.com/3449/3705657625_055021cb3b_o.jpg" alt="" width="540" height="270" /></a></p>
<p>After a few marathon sessions spanning a couple months, I&#8217;ve finally finished replacing all of <a href="http://www.flickr.com/photos/btjones/">my flickr photos</a> with sRGB versions! Huzzah! Lesson learned. I imagine in a couple years that this won&#8217;t be a big deal &#8211; some browsers already support multiple profiles, and hopefully that trend spreads.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.btjones.com/2009/07/color-profiles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Mic</title>
		<link>http://www.btjones.com/2009/04/open-mic/</link>
		<comments>http://www.btjones.com/2009/04/open-mic/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 01:26:10 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Story]]></category>
		<category><![CDATA[Weird]]></category>
		<category><![CDATA[bar]]></category>
		<category><![CDATA[sword swallower]]></category>
		<category><![CDATA[tritone]]></category>

		<guid isPermaLink="false">http://www.btjones.com/?p=597</guid>
		<description><![CDATA[
I&#8217;ve been to a few open mic night events over the years. Last night at Tritone was easily the weirdest combination of performers I&#8217;ve seen with acts like a solo guitarists (one playing the Beatles &#8220;Let It Be&#8221; sung all in Spanish), stand up comedians, a solo death/scream metal performer, and finally the highlight of [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="http://www.btjones.com/?p=597"><!-- &nbsp; --></abbr>
<p>I&#8217;ve been to a few open mic night events over the years. Last night at <a href="http://www.tritonebar.com/">Tritone</a> was easily the weirdest combination of performers I&#8217;ve seen with acts like a solo guitarists (one playing the Beatles &#8220;Let It Be&#8221; sung all in Spanish), stand up comedians, a solo death/scream metal performer, and finally the highlight of the night for me was the sword swallower! So much entertainment they ran out of time for the tenor saxophonist which could have been cool.</p>
<p>I was about the closest person to the stage which is tough when you&#8217;re staring at a comedian who isn&#8217;t funny. When the solo screaming guy performed (he had a CD for his backing music) I had to actually get up and go to the bar to keep myself from chuckling in front of him. He might have come out and bit me or something.</p>
<p>Tritone is definitely a rockin&#8217; dive bar. I didn&#8217;t see &#8220;the special&#8221; on the menu until we were about to leave: $3 for a PBR and a shot of whiskey! Without further ado, the sword swallower:</p>
<p><img src="http://farm4.static.flickr.com/3645/3405820054_0f769d6988.jpg" alt="Sword Swallower" /> <img src="http://farm4.static.flickr.com/3601/3405017503_012ed07a50.jpg" alt="Sword Swallower" /></p>
<p>&#8230;and yes, that&#8217;s a tattoo of a sword on her throat!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.btjones.com/2009/04/open-mic/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>I’m a Balla</title>
		<link>http://www.btjones.com/2009/03/im-a-balla/</link>
		<comments>http://www.btjones.com/2009/03/im-a-balla/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 14:16:19 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Sports]]></category>
		<category><![CDATA[basketball]]></category>

		<guid isPermaLink="false">http://www.btjones.com/?p=592</guid>
		<description><![CDATA[
Third place! That&#8217;s where my basketball team, The Dream Team, finished in this year&#8217;s Philadelphia Sport Network winter Thursday night ref league. At least that&#8217;s where I think we finished since our last game was supposed to be last night and I believe the other team forfeited (seems both teams lost interest since we weren&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="http://www.btjones.com/?p=592"><!-- &nbsp; --></abbr>
<p>Third place! That&#8217;s where my basketball team, The Dream Team, finished in this year&#8217;s <a href="http://www.philadelphiasportsnetwork.com/">Philadelphia Sport Network</a> winter Thursday night ref league. At least that&#8217;s where I think we finished since our last game was supposed to be last night and I believe the other team forfeited (seems both teams lost interest since we weren&#8217;t in the championship game not to mention the NCAA tournament starting).</p>
<p>I averaged 6.83 points per game with a single game high of 14 and a single game low of 2. Sadly, unlike <a href="http://stanus.net">Stanus.butt</a>, I did not video tape any of our games so I cannot accurately report on any other stats (which I know my faitful reader are clamoring for!).</p>
<p>I had fun, and I may look into playing in a similar league when returning to the DC area. Really it&#8217;s the only thing I&#8217;ve done in recent months that got me excercising.</p>
<p>In other news, it seems my 2 week long flu/cold combo is just about gone. Finally.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.btjones.com/2009/03/im-a-balla/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sick!</title>
		<link>http://www.btjones.com/2009/03/sick/</link>
		<comments>http://www.btjones.com/2009/03/sick/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 21:17:35 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Sports]]></category>
		<category><![CDATA[Story]]></category>
		<category><![CDATA[capitals]]></category>
		<category><![CDATA[flu]]></category>
		<category><![CDATA[flyers]]></category>
		<category><![CDATA[hockey]]></category>
		<category><![CDATA[sick]]></category>

		<guid isPermaLink="false">http://www.btjones.com/?p=586</guid>
		<description><![CDATA[
I&#8217;m sick. I&#8217;ve been sick for a week and it only got worse today when I realized I had a fever. The doctor gave me some heavy duty cough syrup to knock me out tonight since the NyQuil didn&#8217;t have much effect so that should be fun. Apparently I have some sort of flu-like thing, [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="http://www.btjones.com/?p=586"><!-- &nbsp; --></abbr>
<p>I&#8217;m sick. I&#8217;ve been sick for a week and it only got worse today when I realized I had a fever. The doctor gave me some heavy duty cough syrup to knock me out tonight since the NyQuil didn&#8217;t have much effect so that should be fun. Apparently I have some sort of flu-like thing, but not the typical flu that&#8217;s going around&#8230;whatever that means.</p>
<p>But, before I realized I had a fever, Katie and I attended the Flyers / Capitals game yesterday to watch the Caps win 2-1! We&#8217;ve had the tickets since Christmas as a present from my brother and I&#8217;d been looking forward to it for a while. I didn&#8217;t realize how easy it would be for us to get to the stadium area (Phillies, Eagles, 76ers, and Flyers all play in buildings within walking distance of each other) and it was a short subway ride to get there. Going to definitely attend a Phillies game or two once the season kicks off.</p>
<p>Flyers fans (and I guess Philly fans in general) were pretty brutal. They booed the refs before the game even started and cheered when one got knocked down mid-game. Then after each of the Capitals starters names were announced the entire sold out crowd yelled together, &#8220;SUCKS!&#8221;. Not to mention the boos every time the league&#8217;s best player (and Washington Capital) Alex Ovechkin touched the puck.</p>
<p>Unfortunately, I forgot my camera so I only snapped <a href="http://twitpic.com/21htv">one quick photo of warmups</a> with my phone. Katie and I quietly cheered for our team and respectfully clapped when we scored. A louder Caps fan near us was being heavily berated by those around him and I wasn&#8217;t much in the mood for that being sick and all &#8230; plus it&#8217;s not like it&#8217;s a baseball game or something, it&#8217;s hockey.</p>
<p>On a related note, I just realized the Phillies play the Orioles in June! Though I&#8217;m not sure we&#8217;ll still be in Philly then&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.btjones.com/2009/03/sick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 4.437 seconds --><!-- Cached page served by WP-Cache -->
