Welcome to Hardcode Sign in | Join | Help

June 2005 - Posts

A bit late, but congratulations to team "Alpha" from our University that has won the third place in this contest. I may be interested to participate in the next edition, even if embedded programming is not an area I particularily like.
I decided not to use Core Data (Tiger only technology). A minimum target system is 10.3 "Panther", because bindings are really useful (16%+49% are Panther and Tiger users, according to this). Also, I stopped copying the design from the XCode samples and made a new, much simpler architecture from scratch for managing views, floating palletes, and so on. When I first saw the samples I thought "this is the way" that applications need to be designed, however I'm sure it's not.
The new design pattern uses NIBs and bindings extensively, instantiating classes directly from the NIB and using MVC for functionality. Still have to figure how to perform something like UpdateAllViews().
Here. I'm saying about the Extreme Programming part, much interesting than the other.
I was thinking of generating C++ classes over the Cocoa Objective-C classes, some kind of smart pointers i.e. to wrap the Obj-C methods with C++ methods. However, I'd lose auto-completion in XCode and Interface Builder support.
Sorry for being down most of this time, I've reinstalled my PC 4-5 times in the last days. I am also very busy because of the exams at the university - they will finish in 2 weeks though.
My PC still keeps crashing in lsass.exe when using my old local IP, the event viewer message is 'The security package Negotiate generated an exception. The exception information is the data. '. I'm looking for a very good firewall to show me the packets that is causing it to fail.
Nice site with samples of real bad programming. Funny though.
Couldn't find any support in VB for this (the problem is that the position / size of form controls should be localized also, i.e. it depends on the language, because some text could not fit and so on). Now I didn't had time to build a framework for that, so ended with changing the size of the some controls in the code, depending on the current language. Easiest solution - and also pretty elegant.
Recently I did my first GDI leak (well it was very strange actually, the DC returned from GetDC() shouldn't be released). The behaviour was weird (Yahoo Messenger refresh problems) - after 3-4 days I thought about leaks in our code.
Ok so in my last 1.5 days I have investigated a strange crash in the Adobe PDF printer driver, however couldn't find a logical explanation for it. I really tried everything to ensure that the driver had large enough buffers to modify and so on. In the end, I try/catched it - dissapointing solution.