Qooxdoo - include a file in your build.

I’ve just started using the javascript library qooXdoo for a subproject in my accounting software. I solved a basic need - include another file from source/ in build/ action. Read More...
|

Strange xcode / interface builder bug

I got the following interesting bug:

2010-08-20 22:49:11.206 FrittRegnskap[27650:207] Unknown class MembershipViewUIController in Interface Builder file.
2010-08-20 22:49:11.210 FrittRegnskap[27650:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key appDelegate.'

It turns out that what caused this was the interface builder was no longer connecting to my xcode class file. To make it go away I renamed the class in interface builder, regenerated it and moved the code from my old class to the new class, recompiled and everything is back to normal again,

Got to love these wonderful tools with soft links between code and UI.


|

Hvor er så Fritt Regnskap?

Fritt Regnskap finner du på frittregnskap.no. Der kan man registrere seg og få laget sitt eget regnskapsystem.

Jeg jobber stadig med å utvikle det videre og har allerede siden første versjon ble åpnet slippet et par utvidelser. Og nå kan dere prøve en direkte innlogging til demo systemet ved å følge denne linken. Read More...
|

Den siste mila

Innspurten i prosjekter er ofte en av de mest slitsomme delene av et prosjekt. Å gjøre alt i et prosjekt gjør det absolutt ikke noe enklere, og det er en god erfaring å gjøre og har du sjangsen til å ta et prosjekt fra A til Å på hobbybasis så er det berikende å gjøre det.

Les hele innlegget for de erfaringer og tanker jeg har gjort meg i innspurten Read More...
|

Ny arbeidsgiver og arbeidsplass

Jeg har byttet arbeidsgiver per 1. desember og jobber nå for Nimsoft. Jeg startet i praksis for to uker siden og har mer eller mindre fått utviklet etter dag 3.

Det er veldig befriende å faktisk få fokus på å skrive programkode. Det føles ut som at jeg har programmert mer de siste 2 ukene enn jeg gjorde de par siste månedene i prosjektet jeg var i. For alt jeg vet så stemmer det, for det er utrolig hvor effektiv man blir når man kan utvikle uforstyrret kun med et lite avbrekk for å få gjort de avklaringer jeg trenger.

Tilstandsrapporten så langt er:
- Utvikler masse
- Kortere reisevei
- Eget kontor (Det har jeg ikke egentlig savnet, men det er faktisk utrolig behagelig)
- Grei kantine, kanskje noe dyr, men så var jeg bortskjemt med Forskningsrådets subsidierte kantine.

Og bedre skal det bli når jeg får nytt grafikkort som skal dra den andre skjermen som står svart på pulten min.


|

The new GWT version.

I just upgraded the GWT version that my accounting software is using. That wasn't exactly painless - suddenly I got 100+ warnings to fix. It appears that the eventing model has changed deprecating all my event methods. And I didn't care to add anti corruption. Luckily this is "quite small" and it is a couple of hour of work.

In addition there are more deprecation in how I have used their I18N stuff and their native JS stuff...

On the brighter side, after creating a subclass with its own compile with reduced targets (only Norwegian and Firefox) it reduced the amount of permutations down to 3 on the compile. Now the compile time down to 20 seconds on my new Mac Pro. That's 1/3 of the "full" compile so I'm pretty happy with that.
|

Snow Leopard og Epson

Svinepelsene fra Epson har valgt å ikke slippe nye drivere som er kompatible med Snow Leopard for Epson Stylus Photo R800. Heldigvis var det bare å slette auto driveren som dukket opp og installere drivere for Leopard på nytt, men der ble jeg nesten noe skremt....

Dette lover dårlig for videre oppgraderinger av Mac OS X - hva skjer neste gang jeg vil oppgradere - hva mister jeg kanskje da?
|

Ny jobb!

Min siste dag i jobben er førstkommende mandag. Etter 9 år som IT konsulent så har jeg lyst til å prøve noe annet og skal nå bli ren utvikler. Firmaet som jeg skal jobbe for nå heter Nimsoft og holder til på Skullerud. Jeg ser fram til kortere reisevei, mindre overtid og mer fokus på programmering Happy

Første arbeidsdag er 16 november, men først to uker med deilig ferie!

|

XStream and joda time

If you have the choice to use an alternative to java.util.Date you shoud look at Joda Time. Joda Time is date handling done right and is going to be used in Java 7 if I am not mistaken. We use it with good success in our project now.

We also serialize our objects using XStream which is a nice Object to XML framework which just does the trick, and for a long time we thought it was working out of the box. Last wednesday we run into a snag that after serializing Joda Time DateTime objects in one JVM and attempted to deserialize them in another it fails. After looking into it, it appears that XStream does a heroic attemt at serializing and deserializing DateTime objects, and it works fine if you are in the same JVM. Though when you do this across several JVM it fails.

To solve it I had to introduce custom serialization for DateTime and LocalDate, which serialize them into a nice formatted string insted of the internal structure of Joda Time.

|

Accounting software

I decided to bump the version number of the accounting software up to version 1.2. I've added a lot of functionality that wasn't really planned as the dance club that uses the program had needs. Always listen to your customer Happy

When building I noticed the download count of the software was actually higher than 0. I guess that bots are downloading it. Maybe I should add a call home feature so I could find out if anyone beyond www.bardarswingclub.no is using it Happy

PS: Link is http://code.google.com/p/accountclient/ and there should be binaries for 1.2 download of the server and the client.
|