<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:georss="http://www.georss.org/georss" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0"><id>tag:blogger.com,1999:blog-8004750663131770467</id><updated>2009-07-09T20:18:31.813-04:00</updated><title type="text">ericd.net blog</title><subtitle type="html" /><link rel="alternate" type="text/html" href="http://www.ericd.net/eed.php" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default?start-index=26&amp;max-results=25" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.ericd.net/rss.xml" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>683</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link rel="self" href="http://feeds.feedburner.com/EricdV7MediaTemple" type="application/atom+xml" /><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-5629080476820669996</id><published>2009-07-09T16:36:00.003-04:00</published><updated>2009-07-09T17:09:11.114-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Timer Class" /><title type="text">AS3 Timer accuracy</title><content type="html">I've just bit into some weirdness. I have a Timer that I want to fire every 100th of a second. So it would be new Timer( 10, x ); However when testing this isn't not accurate (I am printing the time to the screen). So if I drop the Timer down to fire every 7ms instead of 10, it aligns with my watch, my computer, and my stop watch on my iPhone. &lt;br /&gt;&lt;br /&gt;That's great, but what when I move this to another machine? It will probably be slightly off. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;What is even stranger is that when I do new Timer( 7, 1800 ); - it still reaches 18 seconds, even though it should have fired a complete before that.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Is there a really accurate way of timing something as close to possible? I know this is a pretty old topic, maybe someone has found something really reliable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-5629080476820669996?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/5629080476820669996/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=5629080476820669996&amp;isPopup=true" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/5629080476820669996" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/5629080476820669996" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/f6IJp6mkU0k/as3-timer-accuracy.html" title="AS3 Timer accuracy" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/as3-timer-accuracy.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-1599596698344266053</id><published>2009-07-09T12:38:00.004-04:00</published><updated>2009-07-09T14:53:19.508-04:00</updated><title type="text">Flash is amazing, my quick random PSA</title><content type="html">&lt;div id="twoColumns"&gt;We all know it, and we've known it for a long time. Just about anything you want to do can be done using Flash Player 10. Sometimes we lose sight of the power of this technology when we're knee deep in the slop of application development and we're just focused on doing and getting the job done.&lt;br /&gt;&lt;br /&gt;Today I had a moment when I stepped back from my desk and marveled at what I was doing. Not in that way. It's just that an hour before an idea had already formulated itself into a working, beautiful, and easy to use thing. Any kind of functionality I wanted to create simply happened and wasn't a struggle.&lt;br /&gt;&lt;br /&gt;Flash is beautiful. To those whose only experience with it are those online advertisements... think about how lousy those advertisements would be without Flash. Think of the good ones you've seen that respected your audio space. The ones incorporating video and games and inclusion of dynamic data with cool visualizations. &lt;br /&gt;&lt;br /&gt;Yes, sometimes people take it too far. But so what. It's all good. Enjoy the freedom to express yourself and do cool things. That's all for this PSA, back to work. Which I love.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-1599596698344266053?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/1599596698344266053/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=1599596698344266053&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/1599596698344266053" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/1599596698344266053" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/quY_MTM9rYc/flash-is-amazing-my-quick-random-psa.html" title="Flash is amazing, my quick random PSA" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/flash-is-amazing-my-quick-random-psa.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-1142156707939216071</id><published>2009-07-08T22:30:00.010-04:00</published><updated>2009-07-09T14:59:04.468-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Slider" /><category scheme="http://www.blogger.com/atom/ns#" term="Component" /><category scheme="http://www.blogger.com/atom/ns#" term="AS3" /><title type="text">AS3 range slider with multiple thumbs?</title><content type="html">&lt;div&gt;&lt;b&gt;Update 2:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal; color: rgb(51, 51, 255); "&gt;Here is a quick example of the working component as it stands right now. Implements setting thumb positions and all that jazz.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;object width="500" height="150"&gt;&lt;param name="movie" value="/swf/base.swf"&gt;&lt;embed src="/swf/base.swf" width="500" height="150"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Update:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#3333FF;"&gt;I started coding up an AS3 quasi-component and it's working pretty well. It's kind of hard-coded for my immediate needs, but I may just release it so you can implement custom events for it and roll it as a proper component. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#3333FF;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#3333FF;"&gt;It doesn't look like the sample below, the thumbs carry along their current value based on the max value set for the whole slider, use color-coded sections to better help visualize, etc.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#3333FF;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#3333FF;"&gt;If I get some spare time, I'll probably roll it into a proper component since it's not too hard but rather time-consuming. As most things I suppose.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#3333FF;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#3333FF;"&gt;If you are at all interested in using a range (partition) slider outside of Flex (that doesn't require Flex at all), then you may want to pay a little extra attention to this blog in the near future.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;I've seen sliders, I've seen Flex sliders with two thumbs, but I have yet to see a slider that has more than two thumbs. I've been searching all over the place and I just haven't found one yet. I was hoping to locate one to save me the time and energy of coding one up myself from scratch. It's not terribly difficult, just really time consuming.&lt;br /&gt;&lt;br /&gt;If you've seen one of these around, please let me know. I am hoping to save development time for my actual application and not having to cut out some of that time to create a multi-range slider.&lt;br /&gt;&lt;br /&gt;Yes, I know the use case for a slider that can support 2+ thumbs is rare. Any help would be appreciated.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Here is an image of a component I already started:&lt;/i&gt;&lt;br /&gt;&lt;img src="http://www.ericd.net/post_images/july_2009/slider.png" alt="slider" /&gt;&lt;br /&gt;How I imagine it. The slider has a base min and max. Defaults to 1 thumb maybe. You can add thumbs and when you do you specify a value for it's initial placement.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To make it easy, any time any of the thumbs are moved, values for all are set for the change event, in the order of the thumbs, say an array of values. You can't drag a thumb over another thumb.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-1142156707939216071?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/1142156707939216071/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=1142156707939216071&amp;isPopup=true" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/1142156707939216071" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/1142156707939216071" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/PZFx4LeQ78w/as3-range-slider-with-multiple-thumbs.html" title="AS3 range slider with multiple thumbs?" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/as3-range-slider-with-multiple-thumbs.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-9009411229087359395</id><published>2009-07-08T13:24:00.003-04:00</published><updated>2009-07-08T13:36:08.853-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iPhone" /><category scheme="http://www.blogger.com/atom/ns#" term="Graphing" /><title type="text">iPhone: CorePlot</title><content type="html">&lt;div id="twoColumns"&gt;&lt;img src="http://core-plot.googlecode.com/files/AnalyticsApp.png" style="display:block; float:left; margin-right:8px" alt=""/&gt;There is an open-source graphing library available for both Mac OS X and the iPhone called &lt;a href="http://code.google.com/p/core-plot/"&gt;CorePlot&lt;/a&gt;. If you've gotten accustomed to the graphing packages available for Flex and Flash applications, you'll get a little tingle when you see this graphic library.&lt;br /&gt;&lt;br /&gt;In order to integrate into your iPhone application, after checking the code out of the repository or downloading you can follow this information:&lt;br /&gt;&lt;br /&gt;Because frameworks cannot be used in Cocoa Touch applications in the same way as on the Mac, the means of including Core Plot within an iPhone application are slightly different.&lt;br /&gt;&lt;br /&gt;First, drag the CorePlot-CocoaTouch.xcodeproj file into your iPhone application's Xcode project (making sure that nothing's copied and the paths are relative to your project). Then go to the Targets tab in Xcode, select your application's target, and bring up the inspector. Go to the General settings page and add the CorePlot-CocoaTouch library as a direct dependency.&lt;br /&gt;&lt;br /&gt;Core Plot is built as a static library for iPhone, so you'll need to drag the libCorePlot-CocoaTouch.a static library from under the CorePlot-CocoaTouch.xcodeproj group to your target's Link Binary With Libraries folder.&lt;br /&gt;&lt;br /&gt;You'll also need to point to the right header location. Under your Build settings, set the Header Search Paths to the relative path from your application to the framework/ subdirectory within the Core Plot source tree. Make sure to make this header search path recursive. You need to add -ObjC to Other Linker Flags as well.&lt;br /&gt;&lt;br /&gt;Core Plot is based on Core Animation, so if you haven't already, add the QuartzCore framework to your application project.&lt;br /&gt;&lt;br /&gt;Finally, you should be able to import all of the Core Plot classes and data types by inserting the following line in the appropriate source files within your project:&lt;pre name="code" class="obj-c"&gt;#import "CorePlot-CocoaTouch.h&lt;/pre&gt;&lt;br /&gt;I have yet to try this out myself since I don't immediately have a need for it, but I am seeing some people encountering problems with the steps outlined. They get a EXC_BAD_ACCESS error. Perhaps this library isn't set up in it's downloaded form properly and may require some tinkering to get it rolling properly. Here is the &lt;a href="http://code.google.com/p/core-plot/issues/list"&gt;Issues List&lt;/a&gt; where you can tool around to see what problems currently exist that have been commented upon.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-9009411229087359395?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/9009411229087359395/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=9009411229087359395&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/9009411229087359395" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/9009411229087359395" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/2vt-psdEoCg/iphone-coreplot.html" title="iPhone: CorePlot" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/iphone-coreplot.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-2001815152164568088</id><published>2009-07-08T08:22:00.006-04:00</published><updated>2009-07-08T08:32:21.771-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="Vector" /><title type="text">Raphaël—JavaScript Library: vector graphics on the web</title><content type="html">&lt;div id="twoColumns"&gt;I received a cool message from a friend of mine to go and check out the Raphaël—JavaScript Library. What is it? Here are the introductory paragraphs from their website:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="example" cite="http://raphaeljs.com/"&gt;Raphaël is a small JavaScript library that should simplify your work with vector graphics on the web. If you want to create your own specific chart or image crop and rotate widget, for example, you can achieve it simply and easily with this library.&lt;br /&gt;&lt;br /&gt;Raphaël uses the SVG W3C Recommendation and VML as a base for creating graphics. This means every graphical object you create is also a DOM object, so you can attach JavaScript event handlers or modify them later. Raphaël’s goal is to provide an adapter that will make drawing vector art compatible cross-browser and easy.&lt;br /&gt;&lt;br /&gt;Raphaël currently supports Firefox 3.0+, Safari 3.0+, Opera 9.5+ and Internet Explorer 6.0&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;It's as easy to implement as this. Include the raphael.js into your page and start having fun like so:&lt;pre name="code" class="js"&gt;// Creates canvas 320 × 200 at 10, 50&lt;br /&gt;var paper = Raphael(10, 50, 320, 200);&lt;br /&gt;// Creates circle at x = 50, y = 40, with radius 10&lt;br /&gt;var circle = paper.circle(50, 40, 10);&lt;br /&gt;// Sets the fill attribute of the circle to red (#f00)&lt;br /&gt;circle.attr("fill", "#f00");&lt;br /&gt;// Sets the stroke attribute of the circle to white (#fff)&lt;br /&gt;circle.attr("stroke", "#fff");&lt;/pre&gt;There are plenty of demos to &lt;a href="http://raphaeljs.com/"&gt;check out at the site&lt;/a&gt;, it looks pretty interesting to say the least.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-2001815152164568088?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/2001815152164568088/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=2001815152164568088&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/2001815152164568088" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/2001815152164568088" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/XPp5qiOgERI/raphaeljavascript-library-vector.html" title="Raphaël—JavaScript Library: vector graphics on the web" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/raphaeljavascript-library-vector.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-6577272678859455629</id><published>2009-07-07T20:30:00.010-04:00</published><updated>2009-07-07T21:53:05.264-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iPhone" /><category scheme="http://www.blogger.com/atom/ns#" term="Amazon" /><title type="text">Are you using Amazon's Product Advertising APIs? You could be in trouble.</title><content type="html">&lt;div id="twoColumns"&gt;If you are using Amazon's Product Advertising APIs in your iPhone application, guess what? You could be libel and be on the tail-end of some legal action.&lt;br /&gt;&lt;br /&gt;You see, the APA APIs stipulate that use of the API is prohibited from use on a mobile device.&lt;br /&gt;&lt;br /&gt;From the agreement: 4. Usage Requirements, (e):&lt;blockquote cite="https://affiliate-program.amazon.com/gp/advertising/api/detail/agreement.html" class="example"&gt;You will not, without our express prior written approval requested via &lt;a href="http://affiliate-program.amazon.com/gp/advertising/api/detail/contactus.html/ref=amb_link_84099551_3?pf_rd_m=ATVPDKIKX0DER&amp;pf_rd_s=assoc-center-1&amp;pf_rd_r=&amp;pf_rd_t=501&amp;pf_rd_p=&amp;pf_rd_i=assoc-api-license-text"&gt;this link&lt;/a&gt;, use any Product Advertising Content on or in connection with any site or application designed or intended for use with a mobile phone or other handheld device.&lt;/blockquote&gt;&lt;br /&gt;So you might be in violation and not know it yet. I'd imagine an application with a small user footprint will probably go unnoticed. You may want to look into this if you are using Amazon's service.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-6577272678859455629?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/6577272678859455629/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=6577272678859455629&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/6577272678859455629" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/6577272678859455629" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/Gw0keYQ02OA/are-you-using-amazons-product.html" title="Are you using Amazon's Product Advertising APIs? You could be in trouble." /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/are-you-using-amazons-product.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-2060964171234116724</id><published>2009-07-07T12:32:00.003-04:00</published><updated>2009-07-08T08:34:40.112-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Champions" /><category scheme="http://www.blogger.com/atom/ns#" term="Penguins" /><category scheme="http://www.blogger.com/atom/ns#" term="Pennsylvania" /><category scheme="http://www.blogger.com/atom/ns#" term="Steelers" /><title type="text">Pennsylvania State of Champions</title><content type="html">&lt;div id="twoColumns"&gt;&lt;img src="http://www.ericd.net/post_images/july_2009/trophies.jpg" style="display:block; width: 100%" alt=""/&gt;&lt;br /&gt;The city of Pittsburgh has reclaimed its reign as the "City of Champions" with the Steelers' Super Bowl XLIII title and Penguins' Stanley Cup victory just months removed from each other. But if you include the defending World Series Champion Philadelphia Phillies, the state of Pennsylvania could probably adopt the moniker "State of Champions." &lt;br /&gt;&lt;br /&gt;In an unprecedented event, all three championship trophies - the Stanley Cup, the Lombardi Trophy and the World Series Trophy - were all on hand in Harrisburg Tuesday afternoon to commemorate the outstanding achievements of Pennsylvania's professional sports teams.&lt;br /&gt;&lt;br /&gt;The three reigning championship teams brought their respective trophies to Harrisburg for the festivities. The trophies made their way to Governor Ed Rendell's office (photo taken from the Governor's Reception Room). Later, the championship trophies made an appearance at the Capitol Rotunda, which is where important ceremonial events take place. &lt;br /&gt;&lt;br /&gt;The event was an opportunity to recognize a very unique situation in which with three current professional championship teams all hail from the same state. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-2060964171234116724?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/2060964171234116724/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=2060964171234116724&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/2060964171234116724" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/2060964171234116724" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/EXcxFYfKbcw/pennsylvania-state-of-champions.html" title="Pennsylvania State of Champions" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/pennsylvania-state-of-champions.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-7042273429992162616</id><published>2009-07-07T11:12:00.002-04:00</published><updated>2009-07-07T11:20:41.960-04:00</updated><title type="text">A new template system activated</title><content type="html">&lt;div id="twoColumns"&gt;After a number of after-the-fact template tweaks being pushed online, the main template here has been upgraded. Nothing too fancy, and that's the point. I have a version that I painstakingly developed over a month at night that is very, very cool and "designy" -- but it failed in it's purpose outside looking cool.&lt;br /&gt;&lt;br /&gt;It didn't deliver information in a easily digestible way. It had scripts to place my last 20 twits in a sidebar (not Flash but rather Javascript). Who cares? If you were interested in my tweets, you'd be following me anyway. I printed previous posts, previous comments, a calendar of posts, all with a lot of animation and AJAX goodness.&lt;br /&gt;&lt;br /&gt;I removed the sidebar altogether. Most everyone with a blog has one, and they seem to look alike in some respects. Since I am posting some Objective-C code from time to time, the extra width is going to really help since the language and methods are so incredibly verbose.&lt;br /&gt;&lt;br /&gt;Because of the extra width, I realize that sometimes that's too wide for the eye to follow when reading a text-heavy post. So I am using CSS3 for columned information... two and three columns. I try to keep the posts short enough to avoid having to scroll up and down in order to read a columned post.&lt;br /&gt;&lt;br /&gt;The search still needs tweaked a bit, and the blog doesn't match the rest of the site, but for now it works, it's a lot cleaner, and it's made me rethink what this whole domain is going to evolve into. Enjoy.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-7042273429992162616?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/7042273429992162616/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=7042273429992162616&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/7042273429992162616" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/7042273429992162616" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/ifndf5jVe7c/new-template-system-activated.html" title="A new template system activated" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/new-template-system-activated.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-8559664022499792612</id><published>2009-07-07T00:41:00.004-04:00</published><updated>2009-07-07T00:45:30.405-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Saffron UML" /><title type="text">WTF: Level of Industry?</title><content type="html">&lt;div id="twoColumns"&gt;I was tooling around online and was reading up on some UML things when it struck me: whatever happened to &lt;a href="http://www.levelofindustry.com/journal/category/saffron-uml"&gt;Saffron UML&lt;/a&gt;? I went to the website and found nothing at the URL I just linked, and the root of the site now some website design service company, website design from A to Z or some such thing. It has a 2009 copyright in the footer, so these are fairly new bits. What gives? What happened? Now I know Saffron is doomed. At least it could have been open-sourced if it's not in another possession... or I should say... if it &lt;span style="font-weight:bold;"&gt;ever existed&lt;/span&gt; it would have been nice to open-source it. Boo.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-8559664022499792612?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/8559664022499792612/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=8559664022499792612&amp;isPopup=true" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/8559664022499792612" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/8559664022499792612" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/lxeOGnkhI3Q/wtf-level-of-industry.html" title="WTF: Level of Industry?" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/wtf-level-of-industry.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-1490913200503508877</id><published>2009-07-06T23:50:00.004-04:00</published><updated>2009-07-07T00:08:24.706-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kielbasa" /><category scheme="http://www.blogger.com/atom/ns#" term="cooking" /><title type="text">Kielbasa Mysliwska: Golemo Market in Worcester, MA</title><content type="html">&lt;div id="twoColumns"&gt;As with many worthy Polish Markets, Golemo offers up various types of kielbasa. As a rule there are about one hundred different kinds of kielbasa, and Golemo has about twelve or so. I can't say exactly how many, but that looks like what they have out on display behind the counters. They do offer fresh kielbasa that has not yet been smoked, you have to ask for that.&lt;br /&gt;&lt;br /&gt;As I had my order in hand, I stepped in line at the tail of a smiling ethnic serpentine of patience. Not a word of English was spoken, except if the youngsters behind the counter believed a customer to be non-Polish speaking. I finally made it to the register, handed over my mustard, periogies of various kinds, and asked for three pounds of Kielbasa Mysliwska. &lt;br /&gt;&lt;br /&gt;This is known as "Hunter's Sausage" and by it's coloring, it's the closest thing I have found to the stuff I was raised on. We used t get Wardinsky's from Buffalo a bit, and some from Oil City, PA.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;This is a smoked, dried, firm and full-bodied sausage made from select cuts of pork and beef with a hint of juniper for flavoring. In addition to its delicious taste, this kielbasa requires no refrigeration. (Drying removes the sausage’s excess moisture – the main reason for spoilage.) As its name suggests, this sausage was eagerly taken into the wilds by hunters, fishermen and other outdoorsmen. The only other things they needed to keep body and soul together was some good Polish rye bread and a nip of jalowcowka (a juniper vodka similar to gin)." (&lt;a href="http://www.polana.com/product/44/Polish_Products_for_Barbeque_and_Grilling"&gt;Polana&lt;/a&gt;).&lt;/blockquote&gt;&lt;br /&gt;You can boil it, bake it, grill it, etc. But I like my perogie fried in a skillet, the same for my kielbasa. I cut it into slices and cook both sides. If you think kielbasa is that Hillshire Farms junk at the grocer, you haven't experienced good kielbasa yet.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-1490913200503508877?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/1490913200503508877/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=1490913200503508877&amp;isPopup=true" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/1490913200503508877" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/1490913200503508877" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/sS_0LWWnR28/kielbasa-mysliwska-golemo-market-in.html" title="Kielbasa Mysliwska: Golemo Market in Worcester, MA" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/kielbasa-mysliwska-golemo-market-in.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-6667882127357164588</id><published>2009-07-06T17:02:00.001-04:00</published><updated>2009-07-06T17:03:28.320-04:00</updated><title type="text">Google Book Search Settlement</title><content type="html">I just received some snail mail in regards to a Google Book Search Settlement. Has anyone else received this? What are your plans in regards to it?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-6667882127357164588?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/6667882127357164588/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=6667882127357164588&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/6667882127357164588" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/6667882127357164588" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/kPTZAzT1dpA/google-book-search-settlement.html" title="Google Book Search Settlement" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/google-book-search-settlement.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-6650414969595275846</id><published>2009-07-06T16:55:00.002-04:00</published><updated>2009-07-06T17:00:18.642-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Simulator" /><category scheme="http://www.blogger.com/atom/ns#" term="iPhone" /><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C" /><title type="text">iPhoneSimulatorExchange</title><content type="html">&lt;div id="twoColumns"&gt;There is a new program out for iPhone developers that allows you to create a one-click installer of your iPhone application that allows you to package up your app so it can be run on someone else's Simulator. It's said to help with testing and also for allowance of screencasts for review purposes.&lt;br /&gt;&lt;br /&gt;I can see the value for the screencasts certainly, and use for other developers is neat without them having to worry about your frameworks, etc. I do think that it might almost be easy enough to zip up a project file and have another developer just compile the thing you want tested, but I could certainly be wrong about that. &lt;a href="http://www.grandtotal.biz/iPhoneSimulatorExchange/"&gt;Check it out&lt;/a&gt;. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-6650414969595275846?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/6650414969595275846/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=6650414969595275846&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/6650414969595275846" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/6650414969595275846" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/h_Kb8-_7uvs/iphonesimulatorexchange.html" title="iPhoneSimulatorExchange" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/iphonesimulatorexchange.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-7008057799028058430</id><published>2009-07-06T14:17:00.003-04:00</published><updated>2009-07-06T14:47:18.521-04:00</updated><title type="text">This is a test posting of some CSS3 content</title><content type="html">&lt;div id="twoColumns"&gt;"Heavens! what a virulent attack!" replied the prince, not in the least disconcerted by this reception. He had just entered, wearing an embroidered court uniform, knee breeches, and shoes, and had stars on his breast and a serene expression on his flat face. He spoke in that refined French in which our grandfathers not only spoke but thought, and with the gentle, patronizing intonation natural to a man of importance who had grown old in society and at court. He went up to Anna Pavlovna, kissed her hand, presenting to her his bald, scented, and shining head, and complacently seated himself on the sofa.&lt;br /&gt;&lt;br /&gt;"First of all, dear friend, tell me how you are. Set your friend's mind at rest," said he without altering his tone, beneath the politeness and affected sympathy of which indifference and even irony could be discerned.&lt;br /&gt;&lt;br /&gt;"Can one be well while suffering morally? Can one be calm in times like these if one has any feeling?" said Anna Pavlovna. "You are staying the whole evening, I hope?"&lt;br /&gt;&lt;br /&gt;"And the fete at the English ambassador's? Today is Wednesday. I must put in an appearance there," said the prince. "My daughter is coming for me to take me there."&lt;br /&gt;&lt;br /&gt;"I thought today's fete had been canceled. I confess all these festivities and fireworks are becoming wearisome."&lt;br /&gt;&lt;br /&gt;"If they had known that you wished it, the entertainment would have been put off," said the prince, who, like a wound-up clock, by force of habit said things he did not even wish to be believed.&lt;br /&gt;&lt;br /&gt;"Don't tease! Well, and what has been decided about Novosiltsev's dispatch? You know everything."&lt;br /&gt;"What can one say about it?" replied the prince in a cold, listless tone. "What has been decided? They have decided that Buonaparte has burnt his boats, and I believe that we are ready to burn ours."&lt;br /&gt;&lt;br /&gt;Prince Vasili always spoke languidly, like an actor repeating a stale part. Anna Pavlovna Scherer on the contrary, despite her forty years, overflowed with animation and impulsiveness. To be an enthusiast had become her social vocation and, sometimes even when she did not feel like it, she became enthusiastic in order not to disappoint the expectations of those who knew her. The subdued smile which, though it did not suit her faded features, always played round her lips expressed, as in a spoiled child, a continual consciousness of her charming defect, which she neither wished, nor could, nor considered it necessary, to correct.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-7008057799028058430?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/7008057799028058430/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=7008057799028058430&amp;isPopup=true" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/7008057799028058430" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/7008057799028058430" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/VPcC_LHdekk/this-is-test-posting-of-some-html5.html" title="This is a test posting of some CSS3 content" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/this-is-test-posting-of-some-html5.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-2465248759102223988</id><published>2009-07-01T21:09:00.005-04:00</published><updated>2009-07-06T15:08:46.772-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Penguins" /><category scheme="http://www.blogger.com/atom/ns#" term="awesome" /><category scheme="http://www.blogger.com/atom/ns#" term="Steelers" /><title type="text">A Glimpse of Awesome on 128 in Boston</title><content type="html">&lt;div style="padding-right: 10px; float: left;"&gt;&lt;img src="http://www.ericd.net/post_images/july_2009/truck.jpg" alt=""/&gt;&lt;/div&gt;My wife was in really slow moving traffic on 128 tonight heading up to Winchester, MA. She sent me this picture from her Blackberry. That's right, a little bit of awesomeness all the way from the City of Champions right here. Sweet.&lt;br /&gt;&lt;br /&gt;I'll be traveling near there this summer, so I'll be visiting Primanti Bros, Heinz Field to see the Magnificent Six, probably the zoo and of course the new rink being built for the Penguins.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-2465248759102223988?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/2465248759102223988/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=2465248759102223988&amp;isPopup=true" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/2465248759102223988" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/2465248759102223988" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/jQ0rGnAX_8Y/glimpse-of-awesome-on-128-in-boston.html" title="A Glimpse of Awesome on 128 in Boston" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://www.ericd.net/2009/07/glimpse-of-awesome-on-128-in-boston.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-68594016989959515</id><published>2009-06-29T21:04:00.002-04:00</published><updated>2009-06-29T21:14:05.356-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Xcode" /><title type="text">How you target 2.x with the 3.0 SDK...</title><content type="html">If you are using the 3.0 iPhone SDK, you'll notice that by default Xcode only shows you 3.0 as a target (Simulator and device). Before you were able to target all the SDKs you had installed. I personally don't worry about this default behavior, but when you're building an iPhone application, you may want to target previous SDKs.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I read about this online someplace, and this will get 2.x available again.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Select your project file and Get Info.&lt;/li&gt;&lt;li&gt;Under the General tab, you'll see a drop down for Base SDK for All Configurations and choose your SDK there.&lt;/li&gt;&lt;li&gt;You're done. You'll see all the SDKs listed now in the normal drop down you're used to using.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-68594016989959515?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/68594016989959515/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=68594016989959515&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/68594016989959515" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/68594016989959515" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/BjgPtEXu1dM/how-you-target-2x-with-30-sdk.html" title="How you target 2.x with the 3.0 SDK..." /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/06/how-you-target-2x-with-30-sdk.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-243146482931038302</id><published>2009-06-29T13:20:00.008-04:00</published><updated>2009-07-06T14:54:59.171-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Music" /><category scheme="http://www.blogger.com/atom/ns#" term="James Last" /><category scheme="http://www.blogger.com/atom/ns#" term="Russia" /><title type="text">James Last: Russia (1973)</title><content type="html">&lt;div id="threeColumns"&gt;&lt;div style="padding: 10px; float: left;"&gt;&lt;img src="http://www.ericd.net/post_images/june_2009/russia.jpg" /&gt;&lt;/div&gt;This one goes back quite a while, and you've probably never heard of James Last. Which is a bit understandable, because the only reason I know of James Last is through my father.&lt;br /&gt;&lt;br /&gt;When I was a child (not too much older than the age my own son is right now), my father had a pretty extensive collection of classical LPs and some 8-tracks. He had a large home system with huge BA wooden speakers, tube-powered amplifiers, the best needle in the business, etc.&lt;br /&gt;&lt;br /&gt;We used to make fun of his collection of music as being old fogey-type stuff, but we were really just trying to act cool. Some of it was amazing and fun. I've apologized several times in the past about how we used to make fun of this stuff. In many ways, classical and ethnic music is more powerful than any "spirit of the decade" music could dream of being.&lt;br /&gt;&lt;br /&gt;My sister and I used to play the 8-track of James Last's Russia. A few of the tracks any way. You'd have to click through spots on the tape and wait for your song to start, I remember four rectangular green lights that would tell you which approximate spot the tape was currently in. I don't remember if you could flip the tape upside down or not, I think so.&lt;br /&gt;&lt;br /&gt;Anyway... we used to play song two: "Kalinka" (an example only video link) which slowly builds up with choir to result in ripping horns and a thunderous beat with some Russian chanting (well, perhaps not chanting but we didn't know what they were singing). We used to bounce off the walls laughing and having a good time.&lt;br /&gt;&lt;br /&gt;Another favorite was "Russian Folk Dance" (Russischer Volkstanz) - which has a similar pattern to Kalinka. Mad fun.&lt;br /&gt;&lt;br /&gt;A few years ago my father gave me that 8-track from his collection in the hopes to transfer it to CD. I never got around to it, I'd have to go to a place with the capability, pay cash, etc. But it always burned there in the back of my mind. For a few years whenever I remembered that album, I'd take a spin around the internet looking for it.&lt;br /&gt;&lt;br /&gt;Now that I actually have this album, you might want to look it up, it's extremely hard to find (I don't do torrents or anything like that so I can't help you there), but if you're up for some really awesome ethnic music with true power behind it (I'm not talking about Polkas here, I'm taking about great horns, moving compositions, a big symphony sound with some modern instrumentation, and a great choir) then you should look into it. It's different.&lt;br /&gt;&lt;br /&gt;It's not on iTunes, unfortunately. Get the LP if you can (if you can play those anymore).&lt;br /&gt;&lt;br /&gt;Perhaps my father, my sister and myself will be the only ones who really enjoy this album and that's fine with me, I just wanted to put it out there. I am going to soak in "Nicht der Wind" (Not the Wind) for the fifth time now. Headphones up.&lt;br /&gt;&lt;br /&gt;Ahhh.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-243146482931038302?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/243146482931038302/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=243146482931038302&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/243146482931038302" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/243146482931038302" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/WRb9o6_peMc/james-last-russia-1973.html" title="James Last: Russia (1973)" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/06/james-last-russia-1973.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-3088351819293940250</id><published>2009-06-29T13:08:00.003-04:00</published><updated>2009-06-29T13:15:27.025-04:00</updated><title type="text">CocoaREST rocks -- build the next great Twitter client</title><content type="html">I just looked into sdegutis's &lt;a href="http://github.com/sdegutis/CocoaREST/tree/master"&gt;CocoaREST library&lt;/a&gt; (for Cocoa and Cocoa Touch platforms) - which allows developers to interact with RESTful APIs.&lt;br /&gt;&lt;br /&gt;It's mainly targeted at Twitter at the moment, but many more services are under development and you can add extend support for others (ie. extend Twitter support for use with it's Search API). Using it is actually fairly easy... build the next great Twitter client!&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here is a quick screen-shot taken of Tweetie running beneath the included example OS X desktop application:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://www.ericd.net/post_images/june_2009/cocoaREST.png" alt="" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://github.com/sdegutis/CocoaREST/tree/master"&gt;Check this library out&lt;/a&gt; if you're at all interested in using it. It rocks.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-3088351819293940250?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/3088351819293940250/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=3088351819293940250&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/3088351819293940250" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/3088351819293940250" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/OSV67rVRu44/cocoarest-rocks-build-next-great.html" title="CocoaREST rocks -- build the next great Twitter client" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/06/cocoarest-rocks-build-next-great.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-247696788934514969</id><published>2009-06-29T08:57:00.002-04:00</published><updated>2009-06-29T09:07:51.608-04:00</updated><title type="text">Could not support development</title><content type="html">I have no idea why it happens, but I do know that it's an annoying part of developing for the iPhone. For the most part developing for OS 3 on the iPhone is a joy, really it is. But every Monday I come in to work and connect the device, fire up XCode and try to build to it finding out that I need to reboot the device before XCode can deploy to it.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It costs me only a few minutes time, but I wish it was something that would magically go away in the near future. It's monday, my caffeine quotient has not been met, it's rainy in Boston, and perhaps I'm a little gray at the moment.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-247696788934514969?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/247696788934514969/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=247696788934514969&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/247696788934514969" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/247696788934514969" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/H2HQFSpCSVY/could-not-support-development.html" title="Could not support development" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/06/could-not-support-development.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-5408067671405520197</id><published>2009-06-25T17:38:00.005-04:00</published><updated>2009-06-26T14:53:17.031-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iPhone" /><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C" /><title type="text">[iPhone] Getting images from your bundle without hardcoding</title><content type="html">Update 3. Better yet:&lt;pre name="code" class="obj-c"&gt;totalCount = 0;&lt;br /&gt;NSArray *d = [[NSBundle mainBundle] pathsForResourcesOfType:@"jpg" inDirectory:nil];&lt;br /&gt; for(NSString *s in d){&lt;br /&gt;  if([[s lastPathComponent] hasPrefix:@"image_"]){&lt;br /&gt;   totalCount++;&lt;br /&gt;  }&lt;br /&gt; }&lt;/pre&gt;Update 2. Since the file structure normally gets flattened out within your iPhone application (I guess there are some compiler tricks you can do), you'll always be targeting the root of the app directory. With that in mind, you'll want to probably use some kind of naming convention to separate any special files you'd like to collect from the bundle. You can also use extension. Say collect up and get the count of all images in your bundle that are JPGs and contain "image_" in the title:&lt;pre name="code" class="obj-c"&gt;totalCount = 0;&lt;br /&gt;NSArray *d = [[NSBundle mainBundle] pathsForResourcesOfType:@"jpg" inDirectory:nil];&lt;br /&gt;for( int i=0;i&lt;[d count];i++){&lt;br /&gt;  NSString *searchForMe = @"image_";&lt;br /&gt;  NSString *s = [[NSString alloc] initWithString:[d objectAtIndex:i]];&lt;br /&gt;  NSRange range = [s rangeOfString:searchForMe];&lt;br /&gt;  if( range.location != NSNotFound ){&lt;br /&gt;   totalCount++;&lt;br /&gt;  }&lt;br /&gt; }&lt;/pre&gt;Boom.&lt;br /&gt;&lt;br /&gt;Update. I'm a moron. I should have just looked into NSBundle.h.&lt;pre name="code" class="obj-c"&gt;NSUInteger jpegCount = [[[NSBundle mainBundle] pathsForResourcesOfType:@"jpg" inDirectory:subDirName] count];&lt;/pre&gt;&lt;br /&gt;You can get the number of a type of item in your bundle on the iPhone, and this can come in very handy. No magic numbers. This code example doesn't look in a resource directory, but you could supply the inDirectory with something like @"backgrounds" and thus build up arrays of images of differing types, etc. There may be a better way of doing this (ie. if you only want to get the count of the items), but I don't know about it yet.&lt;pre name="code" class="obj-c"&gt;NSMutableArray * imageArray = [[NSMutableArray alloc] init];&lt;br /&gt;    NSEnumerator * imageBundlePathEnumerator = [[[NSBundle mainBundle] pathsForResourcesOfType: @"jpg" inDirectory: nil] objectEnumerator];&lt;br /&gt;    NSString * imageBundlePath = nil;&lt;br /&gt;&lt;br /&gt;    while (imageBundlePath = [imageBundlePathEnumerator nextObject])&lt;br /&gt;    {&lt;br /&gt;        [imageArray addObject: [[[NSImage alloc] initWithContentsOfFile: imageBundlePath] autorelease]];&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    NSLog(@"Number of images loaded : %d", [imageArray count]);&lt;br /&gt;&lt;br /&gt;    NSImage * anImage = nil;&lt;br /&gt;    NSEnumerator * imageEnumerator = [imageArray objectEnumerator];&lt;br /&gt;&lt;br /&gt;    while (anImage = [imageEnumerator nextObject])&lt;br /&gt;    {&lt;br /&gt;        NSLog(@"image = %@", anImage);&lt;br /&gt;    }&lt;/pre&gt;Tada. I hope to find some more examples.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-5408067671405520197?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/5408067671405520197/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=5408067671405520197&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/5408067671405520197" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/5408067671405520197" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/Dy1VocrbGFg/iphone-getting-images-from-your-bundle.html" title="[iPhone] Getting images from your bundle without hardcoding" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/06/iphone-getting-images-from-your-bundle.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-5325200835672272005</id><published>2009-06-12T23:47:00.004-04:00</published><updated>2009-06-13T00:54:45.601-04:00</updated><title type="text">City of Champions</title><content type="html">Pittsburgh is yet again the City of Champions. We win a SuperBowl and a Stanley Cup. For a city to win one championship is special. Amazing win tonight beating Detroit in their own building where they had been so dominant.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Well done. Enjoy Pittsburgh... get to raise that banner in a new barn.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I ordered my gear a few minutes after the players skated around with the cup and it's all already backordered. Oh well, I can wait a little while.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;"Lord Stanley, Lord Stanley, gimme the brandy!"&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-5325200835672272005?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/5325200835672272005/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=5325200835672272005&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/5325200835672272005" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/5325200835672272005" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/Lz5fVAypAAA/city-of-champions.html" title="City of Champions" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/06/city-of-champions.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-8892158209900659152</id><published>2009-06-12T16:54:00.003-04:00</published><updated>2009-06-12T17:00:34.983-04:00</updated><title type="text">Flashbelt Fiasco</title><content type="html">I didn't attend Flashbelt. I have only read multiple tweets and blog postings about what happened. &lt;a href="http://www.geekgirlsguide.com/blog/2009/06/11/98/prude_or_professional_by_courtney_remes"&gt;You can read more about that here&lt;/a&gt;.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I personally think that there is no place for this kind of thing at a paid professional conference. If it was held in the corner of a bar with cigars, beers, a laptop &amp;amp; a projector, I wouldn't think it was appropriate either.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There, I said it. Let's just hope this kind of thing never happens again.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-8892158209900659152?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/8892158209900659152/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=8892158209900659152&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/8892158209900659152" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/8892158209900659152" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/73WHTeo09HI/flashbelt-fiasco.html" title="Flashbelt Fiasco" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/06/flashbelt-fiasco.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-560159134000483729</id><published>2009-06-11T20:43:00.002-04:00</published><updated>2009-06-11T20:45:50.635-04:00</updated><title type="text">Flash rant for the day</title><content type="html">1. I can't wait for Apple to include Safari-specific audio controls. Too many websites activate Flash video audio by default and it's jarring.&lt;br /&gt;&lt;br /&gt;2. I can't wait for Safari for Snow Leopard to allow plugins to crash without bringing the browser down with it. &lt;br /&gt;&lt;br /&gt;Thread 14 Crashed:&lt;br /&gt;0   com.apple.CoreFoundation       0x914663cb CFReadStreamGetStatus + 43&lt;br /&gt;1   ...romedia.Flash Player.plugin 0x176939d1 0x173b8000 + 2996689&lt;br /&gt;2   ...romedia.Flash Player.plugin 0x1768c43f 0x173b8000 + 2966591&lt;br /&gt;3   ...romedia.Flash Player.plugin 0x1768c713 0x173b8000 + 2967315&lt;br /&gt;4   ...romedia.Flash Player.plugin 0x1768c7c1 0x173b8000 + 2967489&lt;br /&gt;5   ...romedia.Flash Player.plugin 0x1746b727 0x173b8000 + 735015&lt;br /&gt;6   ...romedia.Flash Player.plugin 0x1746bab3 0x173b8000 + 735923&lt;br /&gt;7   ...romedia.Flash Player.plugin 0x1746bf69 0x173b8000 + 737129&lt;br /&gt;8   ...romedia.Flash Player.plugin 0x1746c362 0x173b8000 + 738146&lt;br /&gt;9   ...romedia.Flash Player.plugin 0x1746c68d 0x173b8000 + 738957&lt;br /&gt;10  ...romedia.Flash Player.plugin 0x176935ff 0x173b8000 + 2995711&lt;br /&gt;11  libSystem.B.dylib              0x91fdc155 _pthread_start + 321&lt;br /&gt;12  libSystem.B.dylib              0x91fdc012 thread_start + 34&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-560159134000483729?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/560159134000483729/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=560159134000483729&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/560159134000483729" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/560159134000483729" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/SWej1aRbaHY/flash-rant-for-day.html" title="Flash rant for the day" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/06/flash-rant-for-day.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-3533866691893296289</id><published>2009-06-10T08:54:00.002-04:00</published><updated>2009-06-10T08:56:41.487-04:00</updated><title type="text">[ot.steelernews rings]</title><content type="html">The Pittsburgh Steelers got their rings yesterday and then many proceeded to go over to watch the Penguins playoff game versus the Red Wings. These rings are simply enormous, gaudy, and I think are pretty beautiful.&lt;br /&gt;&lt;center&gt;&lt;img src="http://www.ericd.net/post_images/june_2009/ring.jpg" alt=""/&gt;&lt;/center&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-3533866691893296289?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/3533866691893296289/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=3533866691893296289&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/3533866691893296289" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/3533866691893296289" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/zoacVufBhtA/otsteelernews-rings.html" title="[ot.steelernews rings]" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/06/otsteelernews-rings.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-2891463823236225524</id><published>2009-05-28T09:54:00.003-04:00</published><updated>2009-05-28T10:07:53.777-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Xcode" /><category scheme="http://www.blogger.com/atom/ns#" term="breakpoints" /><category scheme="http://www.blogger.com/atom/ns#" term="exceptions" /><title type="text">Xcode: Uncaught exceptions with breakpoint!</title><content type="html">While developing for the Mac or the iPhone, you're going to bump heads with the TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION a bit. While this is nominally useful information, you never are told where the exception happened, only the reason that it did. If your application isn't very large in scope, this may be all the information you'll need to debug the problem. However, for larger applications this isn't the best. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;One thing I just discovered is that you can have Xcode automagically place a breakpoint where the exception occurs, thus showing you just where the exception was thrown. Paired with the information on why, this is a big help in debugging.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To set this up, open up your Breakpoints window (in my version of Xcode I double-click on the Breakpoints items in the editor window Groups &amp;amp; Files tree control. You'll see a breakpoint item "Double-Click for Symbol" - set the breakpoint to "objc_exception_throw" and you're done. It should look something like this:&lt;center&gt;&lt;img src="http://www.ericd.net/post_images/may_2009/window.png" alt="" /&gt;&lt;/center&gt;&lt;/div&gt;&lt;div&gt;Now when you get an exception, you should be able to click the exposed line in the debugger stack trace which will take you to the offending line of code in your project.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-2891463823236225524?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/2891463823236225524/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=2891463823236225524&amp;isPopup=true" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/2891463823236225524" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/2891463823236225524" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/VW8vxX8LyL0/xcode-uncaught-exceptions-with.html" title="Xcode: Uncaught exceptions with breakpoint!" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://www.ericd.net/2009/05/xcode-uncaught-exceptions-with.html</feedburner:origLink></entry><entry><id>tag:blogger.com,1999:blog-8004750663131770467.post-5384034194723265910</id><published>2009-05-28T08:26:00.002-04:00</published><updated>2009-05-28T08:29:20.900-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="pixel format" /><category scheme="http://www.blogger.com/atom/ns#" term="cocos2d" /><category scheme="http://www.blogger.com/atom/ns#" term="iPhone" /><title type="text">Pixel formats in cocos2d v0.7.3+</title><content type="html">[per riq] Since cosos2d v0.7.3, you can specify the texture's pixel format of your PNG/TIFF/BMP/GIF images.&lt;br /&gt;The texture's pixel format is the way the image is stored in GPU memory.&lt;br /&gt;&lt;br /&gt;Possible pixel formats:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;RGBA8888 (32-bit) (kTexture2DPixelFormat_RGBA8888)&lt;/li&gt;&lt;li&gt;RGBA4444 (16-bit) (kTexture2DPixelFormat_RGBA4444)&lt;/li&gt;&lt;li&gt;RGB5_A1 (16-bit)(kTexture2DPixelFormat_RGB5A1)&lt;/li&gt;&lt;li&gt;RGB565 (16-bit) (kTexture2DPixelFormat_RGB565)&lt;/li&gt;&lt;/ul&gt;RGBA8888:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;8 bits are assigned to the red channel, 8 bits to the green channel, 8 bits to the blue channel and 8 bits to the alpha channel.&lt;/li&gt;&lt;li&gt;Use this pixel format when you need the maximum possible quality for your image.&lt;/li&gt;&lt;li&gt;But it will consume the double of memory compared to 16-bit textures. Memory is a precious resource on the iPhone&lt;/li&gt;&lt;li&gt;Usually it is also slower to render.&lt;/li&gt;&lt;li&gt;Useful for: background image of your intro scene, and for images with lots of gradient colors&lt;/li&gt;&lt;/ul&gt;RGBA4444:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;4 bits are assigned to the red channel, 4 bits to the green channel, 4 bits to the blue channel, and 4 bits to the alpha channel&lt;/li&gt;&lt;li&gt;It gives you good quality in all channels, good speed, good memory consumption.&lt;/li&gt;&lt;li&gt;Useful for: sprites that have different values of transparency&lt;/li&gt;&lt;/ul&gt;RGB5A1:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;5 bits are assigned to the red channel, 5 bits to the green channel, 5 bits to the blue channel, and only 1 bit to the alpha channel&lt;/li&gt;&lt;li&gt;It gives you good quality in RGB channels but poor quality on the A channel. It also gives you good speed and good memory consumption.&lt;/li&gt;&lt;li&gt;Useful for: sprites that have transparent parts, but the transparency is either On or Off&lt;/li&gt;&lt;/ul&gt;RGB565:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;5 bits are assigned to the red channel, 6 bits to the green channel, and 5 bits to the blue channel. It has no alpha channel support&lt;/li&gt;&lt;li&gt;It gives you the best possible quality for 16-bit textures, but without alpha channel support.&lt;/li&gt;&lt;li&gt;Useful for: background images in your game.&lt;/li&gt;&lt;/ul&gt;The default pixel format in v0.7.3 is RGBA8888.&lt;br /&gt;&lt;br /&gt;How to use it:&lt;br /&gt;&lt;pre name="code" class="obj-c"&gt;// Set the pixel format before loading the image&lt;br /&gt;// RGBA 8888 image (32-bit)&lt;br /&gt;[Texture2D setDefaultAlphaPixelFormat:kTexture2DPixelFormat_RGBA8888];&lt;br /&gt;Sprite *sprite1 = [Sprite spriteWithFile:@"test-rgba1.png"];&lt;br /&gt;&lt;br /&gt;// Set the pixel format before loading the image&lt;br /&gt;// RGBA 4444 image (16-bit)&lt;br /&gt;[Texture2D setDefaultAlphaPixelFormat:kTexture2DPixelFormat_RGBA4444];&lt;br /&gt;Sprite *sprite2 = [Sprite spriteWithFile:@"test-rgba2.png"];&lt;br /&gt;&lt;br /&gt;// Set the pixel format before loading the image&lt;br /&gt;// RGB5A1 image (16-bit)&lt;br /&gt;[Texture2D setDefaultAlphaPixelFormat:kTexture2DPixelFormat_RGB5A1];&lt;br /&gt;Sprite *sprite3 = [Sprite spriteWithFile:@"test-rgba3.png"];&lt;br /&gt;&lt;br /&gt;// Set the pixel format before loading the image&lt;br /&gt;// RGB565 image (16-bit)&lt;br /&gt;[Texture2D setDefaultAlphaPixelFormat:kTexture2DPixelFormat_RGB565];&lt;br /&gt;Sprite *sprite4 = [Sprite spriteWithFile:@"test-rgba4.png"];&lt;br /&gt;&lt;br /&gt;// restore the default pixel format&lt;br /&gt;[Texture2D setDefaultAlphaPixelFormat:kTexture2DPixelFormat_Default];&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8004750663131770467-5384034194723265910?l=www.ericd.net%2Feed.php'/&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/5384034194723265910/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8004750663131770467&amp;postID=5384034194723265910&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/5384034194723265910" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8004750663131770467/posts/default/5384034194723265910" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/EricdV7MediaTemple/~3/if3J5N_CbzU/pixel-formats-in-cocos2d-v073.html" title="Pixel formats in cocos2d v0.7.3+" /><author><name>e.dolecki</name><uri>http://www.blogger.com/profile/03633115256729368462</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="00496555172753117608" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.ericd.net/2009/05/pixel-formats-in-cocos2d-v073.html</feedburner:origLink></entry></feed>
