-
Download WordPress MU plugins, themes, translations and more
links for 2009-03-31
links for 2009-03-30
-
Live concert recordings by various artists. NO OFFICIALLY RELEASED MATERIAL.
D90 Hi-Def Video
I recorded a lot of hi-def video on my D90 at Oakland Park Youth Day. Here’s an unedited video straight from the camera. This is the only one that was small enough to upload to Flickr.
I find that it’s hard to keep the video in focus when the subject is moving, and it’s very difficult to see if it’s in focus on the LCD screen in bright sunlight.
I also uploaded lots of photos here.
Languages & Locales are different
If you’re writing a Mac or iPhone application that supports localization, you should be aware that the language & locale could be different. The preferred language can be changed in the International preference pane by changing the order of languages in the list.
However, when you change the language order, it doesn’t change the locale, which defines the date, time, and currency formats.
In your application, you can find the preferred language using this bit of code (note that I’m using functions that are available in 10.3 or later):
CFArrayRef locs = CFBundleCopyBundleLocalizations(CFBundleGetMainBundle());
CFArrayRef preferred = CFBundleCopyPreferredLocalizationsFromArray(locs);
CFStringRef lang = CFLocaleCreateCanonicalLocaleIdentifierFromString(NULL,CFArrayGetValueAtIndex(preferred, 0));
With French selected as the preferred language, as shown above, it will return ‘fr’ as expected. However, you’re working with a web service that takes a locale name instead of a language, so you do something like this to obtain the locale:
CFLocaleRef locale = CFLocaleCopyCurrent();
CFStringRef lstr = CFLocaleGetIdentifier(locale);
The locale you get is ‘en_US’, which may seem counter-intuitive. If you pass that to your web service, instead of French language text, it will appear in English.
As you probably know, Apple posted the first trailer for Spike Jonze’s new “Where the Wild Things Are” movie today. The music in that trailer excited me a lot more than the movie itself. I consider any new Arcade Fire song a big deal, since their last album came out 2 years ago, with only a few tidbits since then. “Wake Up” isn’t a new song, but you’ll notice the version in the trailer is different than the album version (acoustic vs. electric guitar, and the vocals are different). So it looks like Arcade Fire may have recorded a new track for the trailer & maybe for the movie itself. Maybe we’ll see a new album this year.
links for 2009-03-24
-
Open source iPhone UI framework, including a photo browser, message composer, web image views, and other elements used in the Facebook app.
-
Using Objective C++ to enhance the performance of iPhone applications. I didn't think the iPhone had a full C++ runtime, but apparently it does.
links for 2009-03-23
-
African Photographer Malick Sidibé, was born in in 1935 or 1936, in Bamako, Mali, in what was then the French part of Sudan. He chronicled the exuberant life of the young people there in the 1950s, 60s and 70s, by making fun portraits of them in his studio, and also by documenting special events and parties
-
Facebook Connect for iPhone is a set of classes that can be added to your xCode project and used to ease the process of logging into the site, granting extended permissions and posting status updates to the feed.
I’ve found the perfect WordPress theme, Atahualpa from BytesForAll, which I’m now using at MacMegasite. Every aspect of the theme is completely customizable with 25 pages of options. I highly recommend this theme. With all of those options, you can easily make it your own.
links for 2009-03-22
-
I really love these
MacMegasite redesign
I’ve changed MacMegasite’s theme to a more mac-like theme with a single sidebar. I think two sidebars looked too cluttered, although I had a commitment to display those ads. I was able to fit all of the necessary items into one sidebar, which I think seems a bit less cluttered. This probably won’t be the final design.
links for 2009-03-21
-
An mp-free jazz blog focusing on rare or out-of-print music. We generally publish once a week. Songs will be available for a limited time, and are for evaluation purposes only. Attend concerts. Buy music.
-
"On the 16th of February, the U.K. Government passed a law (in the Counter Terrorism Act) making it illegal to take a photograph of a police office, military personnel or member of the intelligence services—or a photograph which 'may be of use for terrorism.' This definition is vague at best, and open to interpretation by the police—who under Home Secretary guidelines can 'restrict photography in public places.' "
Via CBC:
A B.C. sales representative who markets equestrian products in Canada was barred from crossing the U.S. border to attend a trade show last month by a U.S. Customs and Border Protection officer who accused him of trying to steal American jobs.
“He looked at me, and in a yelling voice he said, ‘You’re friggin’ stealing jobs away from American citizens,’ and I tried telling him that I wasn’t,” Joel Borsteinas told CBC News.
Borsteinas, a Canadian citizen, said he’s been in business for 15 years, acting as a middleman between U.S. and Canadian suppliers of western wear and equestrian products and Canadian retailers who want to stock the products.
He said he goes to the U.S. half a dozen times a year to attend trade shows and meet with suppliers who want him to market their products to retailers north of the border. They pay him a commission for every Canadian order he sends to them.
As an American working for a Canadian company, I find this completely outrageous. I got to Vancouver at least once a year, and lately I’ve been thinking very seriously about moving there. My job would be a lot easier if I was working on site, and I’m getting more disgusted with this country every day because of bullshit like this, despite having a president I like & respect.
iDrive Warning
When I noticed the free iDrive backup utility at MacUpdate, I decided to download and try it, which requires signing up for the iDrive service. Big mistake. When you sign up for iDrive, you’re prompted to invite friends from your gmail address book. When you do so, it doesn’t give you an option to choose who to invite. It spams *EVERY* address, including posting addresses for services like Tumblr.
links for 2009-03-19
-
Useful tips for managing memory in iPhone applications.
-
Server written in Python that communicates with an Eye-Fi Card
My iPhone 3.0 score card
Yesterday I posted my list of things I’d like to see in iPhone OS 3.0. Here’s how the actual OS stacks up to my wish list.
- No tasks & doesn’t appear to be a calendar API.
- We have note syncing, but not clear whether there’s a note API.
- YES! The standard mail form can be accessed via a new API.
- No. Apple still insists background processing will drain the battery too fast.
- YES! You can now access the iPod library and control the audio player.
- Yes
- No, although there are some improvements like spotlight searching.
- YES!
- YES!
- Not clear if we have video recording.
- YES! MMS is supported with a new message application that replaces SMS.
- YES! We have full cut/copy/paste/undo!
There are also a lot of other goodies, like accessory hardware access, in-application store purchases, bluetooth stereo, and peer-to-peer connections.
links for 2009-03-17
-
Interesting hack illustrating MACH-O executable format.
My iPhone 3.0 Wish List
As everyone probably knows, Apple is having a media event tomorrow to announce iPhone OS 3.0. Here are some of the things I’d really like to see.
- Support for tasks in the calendar, and a full API for accessing the calendar.
- Note syncing, and an API to access notes.
- An API for sending mail with attachments. Having the user re-enter their SMTP info in another application is a major FAIL.
- Some limited background processing and launchd or cron for scheduling processes.
- API to access & control iPod, at least to determine the current song playing, which applications could use to obtain artwork & lyrics or submit to last.fm, for example.
- Support more video formats in AV Player.
- Better application management in springboard – categorize applications, folders, jump to any screen, list view.
- Landscape view in mail & other applications.
- Push notification.
- Video recording.
- MMS.
- Copy & Paste.
links for 2009-03-16
-
Epic tale of scamming a 419 scammer as Harry Potter.
Photo of the day: Shuttle Launch
links for 2009-03-15
-
Here are some nice to have objective c macros for debugging.





Recent Comments