siancu.net

The Dude

0 notes

Use ATrack to Track Your Favorite Authors by Jon Westfall

[shared via Google Reader from Windows Phone Thoughts.com]

http://bit.ly/zVU3Gg

“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.”

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!

}}

Filed under ifttt reader

1 note

The Rise of Digital Omnivores by John Gruber

[shared via Google Reader from Daring Fireball]

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:

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.

 ★ 
}}

Filed under ifttt reader

117 notes

Fun with Objective-C: How to learn Cocoa

quatermain:

funwithobjc:

This is something any experienced Cocoa developer has been asked at least half a dozen times:

“What’s the best way to learn Objective-C/Cocoa?”

I have two answers to this question:

  1. Be curious
  2. Don’t be satisfied

He goes on to finish with the following epithet:

  1. Know what a pointer is.
  2. Memorize the memory management rules.
  3. Never invoke -retainCount.

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:

  • Only the owner of an object needs to think about its memory management.
  • You only own an object if you get it from a method whose name contains any one of:
    • alloc, including +allocWithZone:
    • new, including +newSomethingSomething
    • init, including -initWithSomeParameter
    • copy, including -copyWithZone: or -mutableCopy or -mutableCopyWithZone:
  • If the object doesn’t come from a method matching those rules, you don’t own it.

It’s that simple. If you call something including alloc, new, init, or copy, then you must use -release (or -autorelease) to balance that call. If you don’t call one of those methods, you Just Don’t Care.

How about CoreFoundation? That’s even simpler: you own an object if it comes from a method containing Create. The same thing could be said about Copy, but CF’s copy constructors are always careful to already contain Create, so we don’t need to. Anything named using Get returns an already-managed reference, so you don’t need a CFRelease for it.

See? Easy. A list of four keywords in Objective-C code indicate the only times you need to ever think about memory management. And one keyword in CoreFoundation to tell you the same.

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 Build & Analyze. 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.

Memory management in Cocoa isn’t difficult. There are rules, but they’re simple and easy to remember. The main thing to remember is:

Don’t over-think it

(via quatermain)

149 notes

Cool new feature of iTunes 9.
zachholman:

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.
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 => Library => Organize Library. You’re welcome.

Cool new feature of iTunes 9.

zachholman:

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.

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 => Library => Organize Library. You’re welcome.

0 notes

The problem with eBooks today

Today I wanted to buy an eBook from eReader.com so that my commutes are no longer boring.

I add the book to my cart and, when I want to pay, I am greeted with the following text:

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.

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

Any idea if the Sony bookstore has these stupid restrictions?

Filed under ebooks