Wed Sep 24 17:08:46 PDT 2008
How To Write Unmaintainable Code
I remember reading it a while back, and found it amusing, but now it's absolutely hilarious
http://www.web-hits.org/txt/codingunmaintainable.html
http://www.web-hits.org/txt/codingunmaintainable.html
Tue Sep 23 21:11:38 PDT 2008
you must be kidding
NSDateFormatter *dateFormatter = [[[NSDateFormatter alloc]
initWithDateFormat:@"%1m/%1d/%Y" allowNaturalLanguage:NO] autorelease];
NSDate *date = [NSDate dateWithTimeIntervalSinceReferenceDate:118800];
NSString *formattedDateString = [dateFormatter stringFromDate:date];
I am not a java bigot, but come on... a Date.toString() would be nice :-)
initWithDateFormat:@"%1m/%1d/%Y" allowNaturalLanguage:NO] autorelease];
NSDate *date = [NSDate dateWithTimeIntervalSinceReferenceDate:118800];
NSString *formattedDateString = [dateFormatter stringFromDate:date];
I am not a java bigot, but come on... a Date.toString() would be nice :-)
-b
Mon Sep 22 20:15:52 PDT 2008
FiOS
well, as of today we ave FiOS at the Landsberger house and not Comcast - I've always wanted my own strand of Fiber to my house :)
-b
Mon Sep 22 20:13:31 PDT 2008
a shocking revelation in c++
apparently overloading '()' is faster than overloading [][] ... that seems shocking to me
http://www.parashift.com/c++-faq-lite/operator-overloading.html#faq-13.10
http://www.parashift.com/c++-faq-lite/operator-overloading.html#faq-13.10
Thu Sep 18 11:31:57 PDT 2008
you know...
I wouldn't mind it if regular expressions were included in the ANSI C library...
just a thought :)
-b
Mon Sep 15 16:25:02 PDT 2008
projects that I've been working on lately
Lately it seems that I have a kajallion things going on. At the moment I'm working with and learning several technologies. For instance, I'm currently working on the following projects:
* A VFS in C that uses libcurl and libneon at work
* An iPhone Healthcare app (of course written in Objective C and Cocoa)
* MIPS assembly stuff for my Systems Engineering class
* Some QT stuff
* Some webapps here and there
* I keep thinking of writing a linear algebra system in C++ for my math class...
Mon Sep 15 15:00:44 PDT 2008
django now at 1.0
It's old (10 days) news, but still pretty good news. Django is a pretty slick webapp framework, and now after being in development for quite some time it has hit 1.0. To all those who have worked on it over the years - Congrats!
-b