Check your language for GMail IMAP?

Posted October 29th, 2007 by Chris

Like quite a few others, I was pleased to hear that Google has finally got round to adding IMAP to its GMail service. IMAP means checking and dealing with emails from multiple sources is a lot simpler, as any changes are synchronised back to the server. I patiently waited for the IMAP tab to appear in my settings panel, as Google had announced it would take a few days to activate. After a couple of days, though, I began to wonder if they had forgotten about my one lonely GMail account, and starting browsing the help pages for any hint of what might be happening. By sheer luck, I happened upon this little nugget of info:

To use IMAP, you must have your interface language set to ‘English (US)’.Â

Just in case, I thought, I’d check my language settings. Lo and behold, my GMail account was set to use English-UK. I flicked the language back to English-US, and the IMAP option dutifully popped up in my settings panel.So, if you’re still waiting for IMAP to appear, it might pay to check that your account language settings.

Tags: , , , , ,
Posted in Comment, Personal | No Comments »

Unfaulting Core Data Objects After Load

Posted October 25th, 2007 by Chris

Hours of searching for an answer were beginning to lead me to the conclusion that it was impossible to unfault transient properties of an NSManagedObject after loading them from a datafile.

The Problem: A ’smart’ group to show expiring domains based on their (transient, calculated) isExpiring property worked until the document was saved. On saving, the objects in the context became faults and the smart group no longer worked. This was also true of re-loading a saved document - the domain’s isExpiring property would not be unfaulted.

ame

The Solution: It’s a horrible solution, but seemingly the only way to get the faults to fire (calling [domain will/didAccessValueForKey:@"isExpiring"] did nothing). On awakening the smart group from a fetch, a quick NSFetchRequest is created to fetch all the Domain objects and unfault their @”data” propety. This is no doubt a dirty piece of code, but seems to force the calculated properties to be unfaulted.


- (void)awakeFromFetch
{
ame [super awakeFromFetch];
ame [self commonAwake];
ame
ame NSError *error;
ame NSFetchRequest *fr = [[[NSFetchRequest alloc] init] autorelease];
ame [fr setEntity:[[self fetchRequest] entity]];
ame
ame NSArray *results = [[self managedObjectContext]
ame SEnumerator *enumerator = [results objectEnumerator];
ame id object;
ame
ame while( object = [enumerator nextObject] ) {
ame NSLog( [object valueForKey:@"domainName"] );
ame [object willChangeValueForKey:@"data"];
ame [object didChangeValueForKey:@"data"];
ame }
}

With this now working, I can finally continue implementing the business logic in HM2.0, and stop worrying about the intricacies of Core Data and the dark art of Bindings.

Tags: , , , , , ,
Posted in HostManager, Programming | No Comments »

Trevorry Farm Logo

Posted October 5th, 2007 by Chris

Trevorry Farm Logo

Based on my earlier design for the Sail Loft, I was commissioned by ArtyTechs to design a new animated logo for Cornwall-based Trevorry farm.

The logo and brand identity was integrated with the original site built by ArtyTechs /Â HMC.

Tags: , , , , , , , , ,
Posted in Business, portfolio | No Comments »

AS2.0 Charting Components

Posted October 5th, 2007 by Chris

Pie Chart

Working with Fixel and SubSub, I was commissioned to design and develop a set of components for Flash to import and visualise Excel data tables. The components allow for simple data editing, visual style editing, and both chart and pie diagrams. They were also built such that they could be easily integrated with Fixel’s existing product code.

The components were built in ActionScript 2.0 to be fully object-oriented and extensible within the Fixel application.

Tags: , , , , , , , ,
Posted in Business, portfolio | 2 Comments »