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: bsd, cocoa, cookie, cookies, IGIsolatedCookieWebView, isolated cookies, mac, mac os x, 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 license.
It still has some quirks:
behavior is strange when the pop-up [...]
¶
Posted 10 March 2010
§
Mac OS X § Programming
‡
°
Tagged: bsd, cocoa, combo box, combobox, drag, drag-resizable, IGResizableComboBox, mac, mac os x, 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
I haven’t tested it myself, but an “etc” posting on Ars Technica says:
Want to get someone off IE6? Put these 11 characters into the address bar and hit enter: ms-its:%F0:. The browser will instantly crash. Better yet, set it as their homepage.
On the first day the Magic Mouse was available—well, not so much available as it was shipping with new iMacs, so available to play with in the Apple Store—I went to try it out. While I didn’t think it was the best thing since sliced bread (or any other such amazing invention), I did think [...]
¶
Posted 01 December 2009
§
General
‡
°
This information is provided as-is, with no warranty, etc., which is to say if you use this information at all, you do so at your own risk.
I’ve been using an Apple Mighty Mouse (bluetooth) for years now, so for years I’ve been dealing with a scrollball that occasionally gets stuck. As someone who used to [...]
¶
Posted 01 December 2009
§
Mac OS X
‡
°
Tagged: alcohol, apple, apple mighty mouse, ball, degunk, denatured, denatured ethanol, denatured ethyl alcohol, ethanol, ethyl alcohol, gunk, mighty mouse, mouse, mouse ball, rubbing alcohol, scroll, scroll ball, unstick
… or “how to serve different image types at one URL.”
… or “why I let myself get carried away reading from one blog post to another.”
After discovering free and cheap SSL certificates, I was playing with some sites over HTTPS to see what different browsers would show for the security. Very quickly, I noticed that [...]
¶
Posted 04 November 2009
§
General
‡
°
Tagged: apache, content negotiation, extensions, file type extensions, file types, htaccess, image, image file types, image files, images, mod_negotiation, multiviews, w3, w3.org
StartCom is the certificate authority providing StartSSL certificates: unlimited 1-year domain-validated single-site SSL certificates for free (“Class 1″); unlimited 2-year domain-validated single-site, UCC, or wildcard certificates after paying $39.90 to further validate your account (“Class 2,” which necessitated photo IDs and a phone call, and is good for 1 year); 2-year EV certificates for $149.90 [...]
¶
Posted 03 November 2009
§
Web Programming
‡
°
Tagged: certificate, certificate authority, certificates, free, free ssl, ssl, ssl certificates, startcom, startssl, tls, ucc, wildcard, wildcard certificate
I suppose it’s a bit misleading to call the least bad something the “best.” This past weekend, I experience a harddrive failure–a 2-year-old WD RE2 0.5TB drive failed before its 5-year warranty was up and well before its MTBF (1.2 million hours = 136.895463 years). It’s been a while since I had a drive fail [...]
¶
Posted 27 October 2009
§
Mac OS X
‡
°
Tagged: backup, disk, disk failure, disk utility, drive, failure, mac, mirror, os x, raid, raid 1, raid mirror, raid1, re, re2, redundant, smart, time machine, wd, wd re, wd re2