<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>I make mobile apps.</description><title>siancu.net</title><generator>Tumblr (3.0; @siancu)</generator><link>http://siancu.net/</link><item><title>Review: Cocos2d for iPhone 1 Game Development Cookbook by Alex</title><description>&lt;p&gt;[shared via Google Reader from &lt;a href="http://bit.ly/xoW2dm"&gt;Under The Bridge » Blog&lt;/a&gt;]&lt;/p&gt;
&lt;p&gt;So, now that we’re all up on &lt;a href="http://bit.ly/xoXjlx"&gt;the latest in cocos2d web events&lt;/a&gt;, let’s take a look as promised at the latest in cocos2d publishing events:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bit.ly/yZ9QbZ"&gt;Cocos2d for iPhone 1 Game Development Cookbook&lt;/a&gt;&lt;/p&gt;
&lt;div style="text-align:center"&gt;
  &lt;img src="http://bit.ly/zj5VvY" width="250" height="309" alt="cover_image_250w.jpg"/&gt;&lt;/div&gt;
&lt;p&gt;SHORT REVIEW:&lt;/p&gt;
&lt;p&gt;Buy it now. No, seriously. Buy it now.&lt;/p&gt;
&lt;p&gt;SOMEWHAT LONGER REVIEW:&lt;/p&gt;
&lt;p&gt;We absolutely guarantee that just about anyone will find the book worth way more than its price in time saved. To see for yourself, head over to the book’s website&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bit.ly/xl6Wnz"&gt;&lt;a href="http://bit.ly/xl6Wnz"&gt;http://bit.ly/xl6Wnz&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and check out the &lt;a href="http://bit.ly/y16596"&gt;Explore The Book&lt;/a&gt; section for videos and explanations of the recipes in each … and download the demo apps. Yep, the demo apps, there’s free demo apps up on the store for you to check out the recipes in action:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bit.ly/AzD9dt"&gt;Cocos2d Cookbook Ch1-3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bit.ly/ykKn4h"&gt;Cocos2d Cookbook Ch4-6&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bit.ly/wgJPtE"&gt;Cocos2d Cookbook Ch7-8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now &lt;i&gt;that’s&lt;/i&gt; how you go about supporting a book!&lt;/p&gt;
&lt;p&gt;Also check out &lt;a href="http://bit.ly/yw3zsw"&gt;the book’s thread on the cocos2d-iphone forums&lt;/a&gt; for some subtle understated commentary like&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;“This book looks like it is going to be a requirement in every developer’s library!”&lt;/li&gt;
&lt;li&gt;“Ok, I have read a handful of recipes and I am completely sold. This is an awesome book.”&lt;/li&gt;
&lt;li&gt;“…every developer needs to have this book.”&lt;/li&gt;
&lt;li&gt;“this book is an absolute must for anyone developing cocos2d apps.”&lt;/li&gt;
&lt;li&gt;“Great book, instant buy!”&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Gee, gushing much? But it actually does deserve all that and more. Let us take the very first recipe, “Drawing sprites”. Oh for crying out loud, you think, how does that merit a recipe? Is this thing going to be full of fluff I already know? Well, no actually, that simple sounding recipe goes over drawing from files, images, textures, and frames; explains mipmapping and batch nodes; and tops it off with colorizing rectangles. Well, that is pretty good for a first recipe, isn’t it now.&lt;/p&gt;
&lt;p&gt;The first graphics chapter goes on to cover not only common drawing and animating but movie playing, particle effects, simple 3D effects, texture animation, palette swapping, screenshots, parallax, and lighting. Pretty much a worthwhile purchase already, and we’re barely started!&lt;/p&gt;
&lt;p&gt;Second chapter covers user input of varying types, including virtual joysticks, d-pads, and accelerometer; nothing too novel here, but useful time savers here if you’re newish to cocos2d.&lt;/p&gt;
&lt;p&gt;Third chapter covers data management; reading and saving plist/JSON/XML … and even SQLite and Core Data. Probably not much completely new to you here either, but the details of working with sprites and the like are handy.&lt;/p&gt;
&lt;p&gt;Fourth chapter is on physics and is a particularly valuable one for those of us weak on the background there; focusing on Box2D, takes you from basic setup through impulses and forces to joints, bullets, ropes, and ending up with a 2.5D isometric game engine! That’s a pretty standout one there.&lt;/p&gt;
&lt;p&gt;Fifth chapter, ‘Scenes and Menus’, is mostly pretty straightforward but still handy code. The sliding menu grid and minimap are particularly nice.&lt;/p&gt;
&lt;p&gt;Sixth chapter, “Audio” is another notably useful one, nice explanations of sound manipulating, positioning, metering, recording, iPod library usage, and finishing up with creating a MIDI synthesizer with &lt;a href="http://bit.ly/w5Gw1I"&gt;MobileSynth&lt;/a&gt; and then speech recognition/synthesis.&lt;/p&gt;
&lt;p&gt;Seventh chapter, “AI and Logic” is well-nigh invaluable for those without a background in it; basic waypoints, targeting, line of sight, flocking, pathfinding (the “in a Box2D world” getting special mention, good luck figuring that one out without some help!) and finishing off with discussion of Lua integration.&lt;/p&gt;
&lt;p&gt;We figured the last chapter “Tips, Tools, and Ports” was a bit weaker; the tools picked here mostly aren’t up to the currently regarded best of breed mentioned in yesterday’s roundup, and the cocos2d-x and cocos3d intros were too short to really be of much use. But hey, still worth a read.&lt;/p&gt;
&lt;p&gt;Closest thing we have to a real complaint is that you have to &lt;a href="http://bit.ly/wdd19X"&gt;email the author&lt;/a&gt; to get &lt;a href="http://bit.ly/AfmIrj"&gt;the extra chapter&lt;/a&gt; which was omitted from the print versions; really, how hard would it be to put it as an addenda in the electronic versions most of us are going to be buying anyways? But hey, if mild inconvenience is the worst whine we can come up with, that’s pretty solid.&lt;/p&gt;
&lt;p&gt;So, yeah. We pretty much can’t imagine anyone developing with cocos2d who won’t find something in here well worth the price; for those just starting out it might be a bit over your head, but it would make a perfect second step after one of the introductory books or our starting recommendation &lt;a href="http://bit.ly/xxQMJg"&gt;The iPhone Game Kit&lt;/a&gt;. So buy it now!&lt;/p&gt;}}</description><link>http://siancu.net/post/16822793834</link><guid>http://siancu.net/post/16822793834</guid><pubDate>Tue, 31 Jan 2012 17:49:38 +0100</pubDate><category>ifttt</category><category>reader</category></item><item><title>Use ATrack to Track Your Favorite Authors by Jon Westfall</title><description>&lt;p&gt;[shared via Google Reader from &lt;a href="http://bit.ly/ypOUIT"&gt;Windows Phone Thoughts.com&lt;/a&gt;]&lt;/p&gt;
&lt;div&gt;
&lt;a href="http://bit.ly/xAYUZK"&gt;&lt;a href="http://bit.ly/zVU3Gg"&gt;http://bit.ly/zVU3Gg&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;p&gt;&lt;em&gt;“ATrack allows you to track your favorite authors and keep up with their new releases.  Search for your favorite authors, and add them your list to view the latest and upcoming releases.  Click on the name of any book in your booklist to view more details.  Upcoming versions will provide a background agent to alert you of new releases.”&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://bit.ly/zyglHW" style="border:1px solid #d2d2bb"/&gt;&lt;/p&gt;&lt;p&gt;Our own Adan Galvan has released his first Windows Phone app, and it’s pretty cool if you’re an avid reader who doesn’t have the time to keep up on your favorite authors. ATrack will keep the list nicely organized, and let you find out what’s new with just a tap. Future versions promise background notifications so you’ll always know when your favorite authors have something new out!&lt;/p&gt;}}</description><link>http://siancu.net/post/15584482083</link><guid>http://siancu.net/post/15584482083</guid><pubDate>Mon, 09 Jan 2012 23:22:28 +0100</pubDate><category>ifttt</category><category>reader</category></item><item><title>The Rise of Digital Omnivores by John Gruber</title><description>&lt;p&gt;[shared via Google Reader from &lt;a href="http://bit.ly/sFrEW5"&gt;Daring Fireball&lt;/a&gt;]&lt;/p&gt;
&lt;p&gt;Interesting usage data from ComScore. Check out the graph showing which devices are used at which hours of the day — “tablets” skew heavily toward morning coffee and after-dinner usage. And by “tablets” they mean the iPad:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Although tablets have yet to be widely adopted, they already
contribute nearly 2 percent of all U.S. Web browsing traffic,
driven almost exclusively by the iPad, which currently accounts
for more than 97 percent of all tablet traffic. More notably,
iPads have also begun to account for a higher share of Internet
traffic than iPhones (46.8 percent vs. 42.6 percent of all iOS
device traffic), despite accounting for only half of the number of
iPhones in use.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div&gt;
&lt;a title="Permanent link to ‘The Rise of Digital Omnivores’" href="http://bit.ly/u3Ar1g"&gt; ★ &lt;/a&gt;
&lt;/div&gt;}}</description><link>http://siancu.net/post/12967773629</link><guid>http://siancu.net/post/12967773629</guid><pubDate>Fri, 18 Nov 2011 15:32:07 +0100</pubDate><category>ifttt</category><category>reader</category></item><item><title>Fun with Objective-C: How to learn Cocoa</title><description>&lt;a href="http://funwithobjc.tumblr.com/post/3956963435/how-to-learn-cocoa"&gt;Fun with Objective-C: How to learn Cocoa&lt;/a&gt;: &lt;p&gt;&lt;a href="http://quatermain.tumblr.com/post/3962386405"&gt;quatermain&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://funwithobjc.tumblr.com/post/3956963435/how-to-learn-cocoa"&gt;funwithobjc&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This is something any experienced Cocoa developer has been asked at least half a dozen times:&lt;/p&gt;
&lt;p&gt;“What’s the best way to learn Objective-C/Cocoa?”&lt;/p&gt;
&lt;p&gt;I have two answers to this question:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Be curious&lt;/li&gt;
&lt;li&gt;Don’t be satisfied&lt;/li&gt;
&lt;/ol&gt;&lt;/blockquote&gt;
&lt;p&gt;He goes on to finish with the following epithet:&lt;/p&gt;
&lt;blockquote&gt;&lt;ol&gt;&lt;li&gt;Know what a pointer is.&lt;/li&gt;
&lt;li&gt;Memorize the memory management rules.&lt;/li&gt;
&lt;li&gt;Never invoke &lt;code&gt;-retainCount&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;&lt;/blockquote&gt;
&lt;p&gt;The second item there is the one I most frequently hear is ‘really difficult’ to understand. It’s not. It’s really not. It looks like this:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Only the owner of an object needs to think about its memory management.&lt;/li&gt;
&lt;li&gt;You only own an object if you get it from a method whose name contains any one of:  
&lt;ul&gt;&lt;li&gt;&lt;code&gt;alloc&lt;/code&gt;, including &lt;code&gt;+allocWithZone:&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;new&lt;/code&gt;, including &lt;code&gt;+newSomethingSomething&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;init&lt;/code&gt;, including &lt;code&gt;-initWithSomeParameter&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;copy&lt;/code&gt;, including &lt;code&gt;-copyWithZone:&lt;/code&gt; or &lt;code&gt;-mutableCopy&lt;/code&gt; or &lt;code&gt;-mutableCopyWithZone:&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;If the object doesn’t come from a method matching those rules, you don’t own it.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;It’s that simple. If you call something including &lt;code&gt;alloc&lt;/code&gt;, &lt;code&gt;new&lt;/code&gt;, &lt;code&gt;init&lt;/code&gt;, or &lt;code&gt;copy&lt;/code&gt;, then you must use &lt;code&gt;-release&lt;/code&gt; (or &lt;code&gt;-autorelease&lt;/code&gt;) to balance that call. If you don’t call one of those methods, you Just Don’t Care.&lt;/p&gt;
&lt;p&gt;How about CoreFoundation? That’s even simpler: you own an object if it comes from a method containing &lt;code&gt;Create&lt;/code&gt;. The same thing could be said about &lt;code&gt;Copy&lt;/code&gt;, but CF’s copy constructors are always careful to already contain &lt;code&gt;Create&lt;/code&gt;, so we don’t need to. Anything named using &lt;code&gt;Get&lt;/code&gt; returns an already-managed reference, so you don’t need a &lt;code&gt;CFRelease&lt;/code&gt; for it.&lt;/p&gt;
&lt;p&gt;See? Easy. A list of four keywords in Objective-C code indicate the only times you need to &lt;em&gt;ever&lt;/em&gt; think about memory management. And one keyword in CoreFoundation to tell you the same.&lt;/p&gt;
&lt;p&gt;Now, there are exceptions— usually when something missed the boat, or when an existing API needed to be changed to fix an internal memory-management issue. The documentation will tell you about these very rare cases, but the best way to catch them for now is judicious use of &lt;strong&gt;Build &amp; Analyze&lt;/strong&gt;. The Clang compiler’s static analysis tool knows all about these rules, and can be told about any differences to them by any API. It will tell you explicitly if you’ve released something you don’t own, or have failed to release something you do own. Use it. Love it.&lt;/p&gt;
&lt;p&gt;Memory management in Cocoa isn’t difficult. There are rules, but they’re simple and easy to remember. The main thing to remember is:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Don’t over-think it&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://siancu.net/post/3964498843</link><guid>http://siancu.net/post/3964498843</guid><pubDate>Sat, 19 Mar 2011 19:27:34 +0100</pubDate></item><item><title>merlin:

notdickless:

(via gregrutter)

</title><description>&lt;img src="http://30.media.tumblr.com/tumblr_l2hz4adml31qz9muno1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://www.kungfugrippe.com/post/603986036/notdickless-via-gregrutter"&gt;merlin&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://notdickless.com/post/603027541/via-gregrutter"&gt;notdickless&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;(via &lt;a href="http://www.whatevs.net/"&gt;gregrutter&lt;/a&gt;)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;</description><link>http://siancu.net/post/606523613</link><guid>http://siancu.net/post/606523613</guid><pubDate>Mon, 17 May 2010 11:46:31 +0200</pubDate></item><item><title>iTunes  Finally  Adds Watched Folder to Automatically Add New Music [ITunes]</title><description>&lt;a href="http://feeds.gawker.com/~r/lifehacker/full/~3/FpNBIT8zPYc/itunes-finally-adds-watched-folder-to-automatically-add-new-music"&gt;iTunes  Finally  Adds Watched Folder to Automatically Add New Music [ITunes]&lt;/a&gt;</description><link>http://siancu.net/post/185206702</link><guid>http://siancu.net/post/185206702</guid><pubDate>Fri, 11 Sep 2009 11:31:20 +0200</pubDate></item><item><title>Go To My Music script for iTunes</title><description>&lt;a href="http://www.red-sweater.com/blog/930/go-to-my-music"&gt;Go To My Music script for iTunes&lt;/a&gt;: &lt;p&gt;Didn’t occur to me until now how annoying this is. Fortunately, Daniel’s script fixes this annoyance.&lt;/p&gt;</description><link>http://siancu.net/post/185196522</link><guid>http://siancu.net/post/185196522</guid><pubDate>Fri, 11 Sep 2009 11:05:29 +0200</pubDate></item><item><title>Cool new feature of iTunes 9.
zachholman:

The iTunes...</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_kpqy8aPq6F1qz7o5eo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Cool new feature of iTunes 9.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://zachholman.com/post/184377959/coolest-itunes-9-feature"&gt;zachholman&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The iTunes organizational hierarchy has been slowly getting more and more disorganized with each feature Apple adds. When you let iTunes manage your files, traditionally they toss everything in ~/Music/iTunes/iTunes Music. That works great when everything in “iTunes Music” is, you know, music. Once they’ve tossed movies, podcasts, and a slew of other features in the mix, your directory hierarchy gets really nonsensical with everything in one big ol’ pile.&lt;/p&gt;
&lt;p&gt;iTunes 9 finally moves away from this mentality, though the feature is hidden by default. iTunes now lets you organize everything into an upper level “iTunes Media” folder structure, which then breaks out neatly into logical groupings: movies, apps, shows, and so on. You can find this in File =&gt; Library =&gt; Organize Library. You’re welcome.&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://siancu.net/post/185189111</link><guid>http://siancu.net/post/185189111</guid><pubDate>Fri, 11 Sep 2009 10:48:11 +0200</pubDate></item><item><title>megpickard:
Sound advice.</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_kp9myzAT4j1qzdzcdo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://megpickard.tumblr.com/post/176956710/sound-advice"&gt;megpickard&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;Sound advice.&lt;/blockquote&gt;</description><link>http://siancu.net/post/177120038</link><guid>http://siancu.net/post/177120038</guid><pubDate>Tue, 01 Sep 2009 16:19:37 +0200</pubDate></item><item><title>John Siracusa's brilliant Snow Leopard review</title><description>&lt;a href="http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars"&gt;John Siracusa's brilliant Snow Leopard review&lt;/a&gt;: &lt;p&gt;It’s pretty long (23 pages) but very interesting. I wish though he wrote a bit more about the new Services architecture and improvements in Snow Leopard.&lt;/p&gt;</description><link>http://siancu.net/post/177086214</link><guid>http://siancu.net/post/177086214</guid><pubDate>Tue, 01 Sep 2009 15:19:00 +0200</pubDate><category>macosx apple</category></item><item><title>The problem with eBooks today</title><description>&lt;p&gt;Today I wanted to buy an eBook from eReader.com so that my commutes are no longer boring.&lt;/p&gt;

&lt;p&gt;I add the book to my cart and, when I want to pay, I am greeted with the following text:&lt;/p&gt;

&lt;p&gt;Warning: The eBook you just added to your cart has geographic rights restrictions. The billing country on your credit card indicates that you do not have the right to purchase this eBook due to rights restrictions by the Publisher of the eBook. Please either remove it from your cart or purchase with a credit card whose billing address is in the USA or Canada.&lt;/p&gt;

&lt;p&gt;WTF? Did I travel back in time to, like, 1999? Come on! And you would think they want my money …&lt;/p&gt;

&lt;p&gt;Any idea if the Sony bookstore has these stupid restrictions?&lt;/p&gt;</description><link>http://siancu.net/post/134890766</link><guid>http://siancu.net/post/134890766</guid><pubDate>Fri, 03 Jul 2009 20:11:01 +0200</pubDate><category>ebooks</category></item><item><title>Tumblr here I come!</title><description>&lt;p&gt;Just discovered the Tumblr iPhone app and I thought I’ll give it a shot.&lt;/p&gt;

&lt;p&gt;Let’s see this time how much I keep at it.&lt;/p&gt;</description><link>http://siancu.net/post/90771388</link><guid>http://siancu.net/post/90771388</guid><pubDate>Sun, 29 Mar 2009 00:54:50 +0100</pubDate></item></channel></rss>

