Posts in category “Programming”:

Faux Pas: Static Error Detection for Xcode Projects

Posted on July 23, 2014
Filed under iOS, Mac, Programming | Leave a Comment

I have been working on an app called Faux Pas for a long time now. It’s a static error detection tool for Xcode projects: you point this app to your project, and it’ll work through it, trying to find common errors or departures from best practices. It’s been in a long private beta, and now […]

The Compiler is Your Friend

Posted on May 30, 2013
Filed under Featured, iOS, Mac, Programming, Talks | Leave a Comment

Which compiler warnings should I enable for my iOS/Mac app project? How do I enable warnings that Xcode doesn’t have a checkbox for? How do I disable warnings (either completely, for specific files, or in specific sections of code?) Where do I go to find out what warnings are available? How do I enable warnings […]

Handling NSStrings Like a Boss

Posted on May 28, 2013
Filed under Featured, iOS, Mac, Programming, Talks | Leave a Comment

Strings are arguably the most common data structures used by practicing programmers. They’re easy to conceptualize as “sequences of characters,” but it’s important to note the leakiness of this abstraction, and to know how (and when) to consider the details of how what we think of as “characters” are represented in modern software. I did […]

iOS & OS X Localization Practicum

Posted on May 28, 2013
Filed under Featured, iOS, Mac, Programming, Talks | Leave a Comment

I did a talk on the localization of iOS and OS X projects at the HelsinkiOS February 2012 meetup. The slides are available at Speaker Deck, and embedded in this post below.

Use Unicode Emoji as Icons in Native iOS Apps

Posted on April 29, 2012
Filed under Featured, iOS, Programming | 1 Comment

A while back, I wrote about using unicode emoji characters as icons in web apps. The big caveat with that was that these characters were only available on iOS devices, which made the trick much less useful in a web app, which of course are generally meant to be more or less cross-platform. If you’re […]

jEdit Syntax Highlighting Mode for the Peg/Leg Parser Generator ‘Leg’ Syntax

Posted on April 4, 2011
Filed under jEdit, Programming | 2 Comments

I’ve been working on a fast and embeddable Markdown parser that can be used for syntax highlighting in editors, based on the PEG grammar from John MacFarlane’s peg-markdown compiler project. The grammar is written in leg, a syntax for the peg/leg parser generator by Ian Piumarta, and to make my work with this new syntax […]

jEdit Macro for Opening the File Browser at Current Buffer’s “Project Root” Directory

Posted on October 13, 2010
Filed under jEdit, Programming, Scripts | Leave a Comment

When I’m working with code in jEdit, my editor of choice, I like to keep the file browser open and docked to the left side of my editor window. When I’m switching between files — often belonging to different projects — I find myself reaching for the mouse in order to manually navigate the file […]

Getting Events/Tasks From the OS X Calendar Store in a Custom Format like XML, CSV or LaTeX

Posted on October 13, 2010
Filed under Mac, Programming, Scripts | Leave a Comment

Over the past couple of years I’ve gotten a few emails from users of icalBuddy who would like to somehow automate the task of generating CSV, XML/HTML or LaTeX output from the items in their calendar. Unfortunately icalBuddy isn’t set up to provide any kind of arbitrary output format (and I didn’t want to re-architect […]

Use Unicode Emoji as Image-Free Icons in iOS Web Apps

Posted on July 20, 2010
Filed under iOS, Programming, Scripts | 7 Comments

In version 2.2 of iOS — Apple’s “mobile” operating system used in the iPhone, iPod Touch and iPad — support for Emoji was added. These small 12×12 pixel icons are meant to be used in text messaging in Japan but because they’re implemented simply as unicode symbols in the device they can be used as […]

Getting a List of Installed Fonts with Flash and Javascript

Posted on July 13, 2010
Filed under ActionScript 3, Flex, Miscallaneous, Programming | 12 Comments

When implementing the feature in the icalBuddy examples page where the font used for the output examples could be changed interactively I needed to get a list of all the fonts installed on the current user’s computer. This blog post from 2006 explains how to do it, but it refers to the deprecated ActionScript 2 […]


Earlier Posts »