.comment-link {margin-left:.6em;}

The words are just like ... words, I guess.

Tuesday, April 08, 2008

iPhone has search, finally!

So, I've hit the ground running again with my mobile, thanks to a late release of the newest firmware on apple's part! But I did find a nugget that has me excited: View yourself!


iPhone Search.tiff



Labels: ,

iPhone... it's ALIVE

So, I'm downloading 4a240d iPhone OS!


Should fix the expire issue, thanks Jobsy!



Labels: ,

Pink screen of death...

So... my phone is temporarily dead... Apple forgot to publish an update to the firmware before the latest one expired. Now all iPhone 2.0 users are pissed beyond belief!



Labels: ,

Friday, April 04, 2008

First useful piece of Mac Code!

Hey everybody...


Today in response to some of my own tinkering and the forum at http://discussions.apple.com/thread.jspa?messageID=6978579#6978579 I have created my first useful program in Objective-C and MacOS. The utility is a command line application that will mount and return the path to the Leopard time machine volume.


The utility can be downloaded here http://rapidshare.de/files/39024900/GetTimeMachinePath.html


The souce code is as follows:



#import <Foundation/Foundation.h>


#import <AppKit/AppKit.h>


#import <CoreData/CoreData.h>



FSRef* getTimeMachineVolume()


{


NSData *timeMachinePList = [NSData dataWithContentsOfFile:@"/Library/Preferences/com.apple.TimeMachine.plist"];


NSString *errorText;


NSDictionary *timeMachineProperties = [NSPropertyListSerialization propertyListFromData:timeMachinePList mutabilityOption:NSPropertyListImmutable format:NULL errorDescription:&errorText];


NSData *backupAlias = [timeMachineProperties objectForKey:@"BackupAlias"];



AliasHandle aliasHandle = (AliasHandle)NewHandle([backupAlias length]);



[backupAlias getBytes: *aliasHandle];



FSRef *volumePath = malloc(sizeof(FSRef));


Boolean wasChanged;



OSErr resultOfResolve = FSResolveAlias(NULL, aliasHandle, volumePath, &wasChanged);


if (resultOfResolve != noErr)


return nil;



DisposeHandle((Handle)aliasHandle);



return volumePath;


}



int main (int argc, const char * argv[]) {


NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];



// insert code here...


char *timeMachinePOSIXPathString = malloc(1024 * sizeof(char));


FSRef *timeMachineFSRef = getTimeMachineVolume();


FSRefMakePath(timeMachineFSRef, (UInt8*)timeMachinePOSIXPathString, 1024 * sizeof(char));


free(timeMachineFSRef);



printf(timeMachinePOSIXPathString);



[pool drain];


return 0;


}




Labels:

Thursday, April 03, 2008

Preperations for the move...

It seems that the official word on the move to Boston is in the final stages. There should be an official letter in my hands by monday.


As the time grows closer I'm trying to determine weather I should make the move or try to make a new career in the city of my choice. Nothing wrong with Boston, just that I'm slightly disenchanted with my job as of late. That and having taken 5 months to make any progress on my job offer sets a scary precedent for how the remainder of my career at NASDAQ may go. The good news is that it sounds like I'm not being directly targeted, but rather just another victim of NASDAQ HR.


Other then that, I'm feeling fine now... Though I should be watching my health extensively after my recent trip to the emergency room.


I'm putting in a lot of time to try to catch up to the time that I lost through the week, and I'm actually making some strides. We've made progress towards an automated deployment system. Hopefully this will reduce/eliminate the issues that would occur during the deployment of the next version of the platform. Also, it should make installation of DirectorsDesk on a clean system as simple as grabbing the build of the software you'd like to use and away-it-goes!



Labels: ,

Tuesday, April 01, 2008

April Fools, and RSS

I've found it very hard to read any of my RSS subscriptions today, as everyone on the planet decided that there so funny, that it must needs be shared. If your going to post something thats not true... please put an april fools at the bottom!




Labels: