… because there are oh-so-many tablet Macs. There are ModBooks and there are non-Apple tablet machines running Mac OS X. So, if you have such a device and are looking for something that provides a surface on which to draw, write, etc., with various “pens” and with the ability to save to PDF and PNG, [...]
¶
Posted 07 May 2010
§
Mac OS X § Programming
‡
°
Tagged: journal, mac, mac os x, mac osx, macwj, mit, mit license, modbook, os x, tablet, tablet pc, windows journal
A comment on a bitbucket fork of Murky led me to “Automatically localize your nibs when building“, which suggests a great way to automate the hard developer-side stuff in localizing in Xcode–pulling the original strings from the XIB files and putting the translated strings back in. You absolutely should read the original blog post there, [...]
¶
Posted 22 April 2010
§
Mac OS X § Programming
‡
°
Tagged: build script, internationalization, localization, mac, nib, os x, run script, script, sh, shell, shell script, target, xcode, xib
I’m changing the license on most (maybe all) of my active open-source projects, largely because the MIT license does not have as many blanks that have to be filled in as the New BSD license and the language is a bit simpler. To the best of my knowledge, any rights granted under the New BSD [...]
When I was using Subversion for version control in working on my Mac apps in Xcode, I had come to use a build script phase to tack on the subversion revision number as the last part to the version number: # tack the subversion revision number onto the CFBundleVersion REV=`svnversion -n "${PROJECT_DIR}"` REV=${REV/#[0-9]*:/} REV=${REV//[^0-9]/} BASE=`/usr/libexec/PlistBuddy [...]
The Google Code support wiki article ConvertingSvnToHg is quite easy to follow, but there is one thing worth noting that is kind of buried in the comments. Assuming you’re doing full history conversion, it is very useful to know that running hg convert locally is much much faster than running it on a remote SVN [...]
I have very happily been using Subversion since 2008. I was quite clearly late to the version control system (VCS) party and I wish I’d known about VCS much earlier. About 5-6 months ago, I finally gave in and tried Mercurial and hated it. While I could kind of get my head around why I [...]
Following the advice of Kevin Ballard on StackOverflow, I created IGIsolatedCookieWebView, a subclass of WebView that does not access or affect the system-wide shared cookie storage (shared among all WebKit apps). Each instance of IGIsolatedCookieWebView has its own cookie storage so that, for example, multiple instances of IGIsolatedCookieWebView within the same application can be logged in [...]
¶
Posted 11 March 2010
§
Mac OS X § Programming
‡
°
Tagged: cocoa, cookie, cookies, IGIsolatedCookieWebView, isolated cookies, mac, mac os x, mit, mit license, os x, stackoverflow, subclass, webkit, WebView
IGResizableComboBox is a drag-resizable subclass of NSComboBox—that is, IGResizableComboBox should be usable in place of NSComboBox and it adds a small bar at the bottom of the pop-up list that can be dragged to resize the pop-up list. IGResizableComboBox is published under a 3-clause BSD an MIT license. It still has some quirks: behavior is [...]
¶
Posted 10 March 2010
§
Mac OS X § Programming
‡
°
Tagged: cocoa, combo box, combobox, drag, drag-resizable, IGResizableComboBox, mac, mac os x, mit, mit license, nscombobox, os x, resizable, resizable combo box, resizable combobox, subclass
Yesterday, I posted the results of my quick exploration of whether sorting the list {0,1,2,3,4} using a comparison function that randomly returns < or > (with equal probability). My exploration was prompted by a report on the non-uniformity of the distribution of the random orderings of the browsers in Microsoft’s EU browser ballot. I had [...]
¶
Posted 24 February 2010
§
General
‡
°
Tagged: algorithms, browser, browser ballot, bubblesort, eu, european union, math, mathematica, mathematics, mergesort, microsoft, nb, quicksort, selectionsort, sort, sorting, sorting algorithms, statistics
An Ars Technica “etc” post linked to a TechCrunch article (apparently based on a Slovakian article, but I didn’t look into the Slovakian article to be sure) that talks about the ordering of the browsers in Microsoft’s EU Browser Ballot not being uniformly distributed. At a glance at the Javascript that does the randomizing of [...]
¶
Posted 23 February 2010
§
General
‡
°
Tagged: browser, browser ballot, eu, european union, ie8, internet explorer, javascript, math, mathematica, mathematics, microsoft, statistics