-
Download WordPress MU plugins, themes, translations and more
Mike Cohen
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.
"Wild Things" trailer features new version of Arcade Fire song
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.
Best WordPress theme ever
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.

