I really wanted to write this up as a paper, perhaps for SigGraph. But I’ve never submitted a paper before, and I don’t know how worthy this would be of a SigGraph paper to begin with. So instead, I thought I’d write this up as a blog post–and we’ll see where this goes. Introduction This [...]
Filed under: Commentary, Papers, Things To Remember | Posted on September 6th, 2010 by William Woody | No Comments »
This will be a bit of an introductory article on memory, written in part for my wife and for anyone else who may find such an introduction useful. In The Beginning… In the beginning there was RAM, random access memory. A microprocessor which could execute instructions would be attached to that RAM, which could be [...]
Filed under: Algorithms, C++, Hardware, Objective C++, Papers, Things To Remember | Posted on September 4th, 2010 by William Woody | No Comments »
Some interesting links I found that discuss time zones: Complete timezone information for all countries. – Just as the label says The official US time (NIST & USNO) – Displays the current time in the 10 major time zones in the United States. Time Zone Converter – Allows a search of the various time zones [...]
Filed under: C++, Java, Objective C++, Things To Remember | Posted on September 1st, 2010 by William Woody | No Comments »
By default a table in HTML wants to do all sorts of auto-magic reflowing stuff–which is a pain in the ass if you want to explicitly set the width of the columns via GWT (or JavaScript). But if you set the CSS attribute table-layout to fixed, column widths are honored. Wrap each of the items [...]
Filed under: Things To Remember | Posted on August 10th, 2010 by William Woody | No Comments »
Yeah, this is old technology from the stone age. But I wanted to set up a simple Java RMI system. And it turns out every tutorial I encountered starts with: if (System.getSecurityManager() == null) { System.setSecurityManager(new SecurityManager()); } Then there is a ton of pages showing how we then customize the security manager settings through [...]
Filed under: Java, Things To Remember | Posted on May 14th, 2010 by William Woody | No Comments »
One fix installations stuck at ‘Preparing…’ Since moving to Snow Leopard, I’ve noticed an innumerable number of times where software installations would get stalled at the “Preparing…” stage. If you’ve noticed it too, chances are you’re an iPhone developer, too… It turns out the simple fix for this problem is to quit the iPhone Simulator, [...]
Filed under: Things To Remember, iphone | Posted on December 18th, 2009 by William Woody | No Comments »
I ran into a minor issue yesterday with an application I’m working on in my spare time. The application itself has a state machine underneath the surface which sends messages to the UI layer at certain state changes. One of those state changes triggers a UI animation to display the results. And the animation was [...]
Filed under: Things To Remember | Posted on December 16th, 2009 by William Woody | No Comments »
Cocoa with Love: Demystifying NSApplication by recreating it
Filed under: Macintosh, Objective C++, Things To Remember | Posted on December 16th, 2009 by William Woody | No Comments »
I don’t know why it didn’t dawn on me that this would work. After all, it’s not like I’ve been using C++ for the past 18-mumble-years. (Oh, wait; I have. Meh.) So we define a class AClass, BClass and CClass such that AClass has an operator that converts it to BClass and CClass, and BClass [...]
Filed under: C++, Things To Remember | Posted on December 5th, 2009 by William Woody | No Comments »
This is something I hacked together for a program I’ve been tinkering with. Add this to your application delegate and it will trap uncaught Objective C exceptions, uncaught signals, and uncaught C++ exceptions (if you like messing around with Objective C++), and write a stack trace and detailed report which your application will offer to [...]
Filed under: Things To Remember, iphone | Posted on December 2nd, 2009 by William Woody | 5 Comments »