Category Archives: Uncategorized

WWDC Historic Dates

Year Dates Announced Sold-out Notice 2012 Jun 11 – Jun 15 Wed, Apr 25 Apr 25, 2 hours 47 days 2011 Jun 6 – Jun 10 Mon, Mar 28 Mar 28, 12 hours 70 days 2010 Jun 7 – Jun … Continue reading

Posted in Uncategorized | Leave a comment

Cryptography pioneer: We need good code

In Black Hat keynote, Whitfield Diffie formulates three rules for making applications secure in the age of the Internet. Cryptographer Whitfield Diffie reckons one of the most important things for good cryptography and security in the age of the Internet … Continue reading

Posted in Uncategorized | 7 Comments

iPad micro-SIMs in Europe

In The Netherlands go to a “BelCompany” store and buy a “vodafone” micro-SIM card: €5, 200MB. In Belgium go to a “Belgacom” store and buy a “Play&Surf for iPad” proximus MicroSim Card: €10, 200MB. In England go to a “Three … Continue reading

Posted in Uncategorized | Leave a comment

Coursera

The first two of the Stanford online courses are now available! Here are the first two I am taking, I’m still waiting for a couple more. ALthough the following two courses don’t officially start until March 12, 2012 the first … Continue reading

Posted in Uncategorized | 1 Comment

Open-plan Offices

From: The New York TImes, Sunday Review Anyone who has ever needed noise-canceling headphones in her own office Headphones are the new office? People whose work is interrupted make 50 percent more mistakes and take twice as long to finish … Continue reading

Posted in Uncategorized | Leave a comment

Bizarre code of the day from Stackoverflow

Code: unsigned char* _pos = …; double result; *((int*)&result) = *((int*)_pos); Let’s see: taking int size bytes and moving them to a double. One can only view with amazement and contemplate the horror a maintainer will experience. Oh BTW, it … Continue reading

Posted in Uncategorized | Leave a comment

Fast Enumeration

I was looking at some client code and saw essentially this: NSArray *items = [NSArray arrayWithObjects:@"one", @"two", @"three", @"four", nil]; MyClass *myClass = [[MyClass alloc] init]; for (int i=0; i<4; i++) {     myClass.thing = @”test”;     myClass.widget … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Code Clarity

Code clarity is the ability to easily understand what code does. Clarity is the single most important issue when writing code.Inevitably code to increase performance degrades from code clarity. Speed, size and memory usage are all secondary. After the code … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Unit Testing

When testing private methods the compiler generates warning messages such as: “Instance MethodheaderEncodingFromXML:not found.” The solution is to add an Informal Protocol: @interface SegmentedParse (TestingInformalProtocol) – (NSString *)headerEncodingFromXML:(NSString *)xml; @end

Posted in Uncategorized | Tagged | Leave a comment

Home

Posted in Uncategorized | Tagged | Leave a comment