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...
Les hele innlegget for de erfaringer og tanker jeg har gjort meg i innspurten Read More...
|
Ny arbeidsgiver og arbeidsplass
03/12/09 20:51 Filed in: IT
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.
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.
09/11/09 19:18 Filed in: GWT
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.
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
01/11/09 12:51 Filed in: Apple
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?
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!
31/10/09 18:41 Filed in: IT
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
Første arbeidsdag er 16 november, men først to uker med deilig ferie!
Første arbeidsdag er 16 november, men først to uker med deilig ferie!
XStream and joda time
14/02/09 18:10 Filed in: Java
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.
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
08/02/09 22:47 Filed in: Java/PHP/GWT
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
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
PS: Link is http://code.google.com/p/accountclient/ and there should be binaries for 1.2 download of the server and the client.
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
PS: Link is http://code.google.com/p/accountclient/ and there should be binaries for 1.2 download of the server and the client.
Netbeans UI builder switching from Java 6 to Java 5 or the other way around
31/01/09 16:47 Filed in: Java
The project I'm in are using Swing UI builder to do our
dialogs, but we are forced to use Java 5. This means
that we are using extra libraries as we use the group
layout manager. When creating a new dialog I managed to
get started using Java 6. After noticing this I tried
to go back to using Java 5, but the generated files
from netbeans insisted of using the javax.swing
libraries and not the compatibility libraries. After
searching the web I found no solution, but I managed to
find it on my own.
The generator mode is coded in the .form file that tags along the dialog - if you want to change mode after creation you must edit it in an editor outside of netbeans:
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
Value 1 means that it uses java 6 - value 2 means that it uses the libraries compatible with Java 5.
The generator mode is coded in the .form file that tags along the dialog - if you want to change mode after creation you must edit it in an editor outside of netbeans:
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
Value 1 means that it uses java 6 - value 2 means that it uses the libraries compatible with Java 5.
Google trouble.
31/01/09 16:44 Filed in: IT
Working with Mule
09/11/08 11:53 Filed in: Java
Having worked a lot to get Mule to communicate with JMS
using ActiveMQ I thought I should share what I have
learned. Read
More...