Yearly Archives: 2008

Jedit still going strong – increase heap size

I still use jedit for all my tasks that require a text editor. I’ve been using it for about 4 years now and rarely find fault with it. One thing I did notice was that it slowed down quite alot if I was editing or searching large files. I knew this was down to Java and the JVM. I was not aware that you could increase the Java Heap Size which means you can increase the memory accessible by the JVM. The flag Xms is the initial heap size and Xmx is the Max heap size allowed (the default is 64m).

“C:\Program Files\Java\jdk1.6.0_04\bin\javaw.exe” -Xms256m -Xmx768m -jar “C:\Program Files\jEdit\jedit.jar”

starts Jedit with an initial heap size of 256 MB and a max heap size of 768 MB which essentially means it can handle any size file I throw at it. (Source – http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html).

Another option (specific to Jedit) I found was the “reuseview” flag. This forces the file to be opened in an existing instance of Jedit rather than starting a new one.

“C:\Program Files\Java\jdk1.6.0_04\bin\javaw.exe” -Xms256m -Xmx768m -jar “C:\Program Files\jEdit\jedit.jar” -reuseview “F:\Working\kf182\Databases\xml\data\Products\9826.xml”

Opens 9826.xml in an existing instance of Jedit.

Monster Commute

Late February of this year I started back working for Karova. As I lived in Dublin at the time it meant a monster of a commute every week, staying at a friends during the week and coming back to Dublin at the weekends. I still do the same commute but I now have my own place in Colwyn Bay which is only 2 minutes walk from the train station and about a minute walk to work. When I add up the commute time (which ranges between 11 and 14 hours a week) it is not far off what I spent on the trains when commuting to Dublin city centre and I get to work or watch DVDs on the ferry/train. All in all it’s an enjoyable trip every week. A little tiring but it means I can stay committed to GAA and my triathalon/marathon training. One thing I have learned on my commutes is that Family Guy is absolutely hilarious.

Good v Bad Customer Service (Dell v EuropCar)

In February 2007 I bought two shiny new Dell 2007FP monitors for dual monitor love. They’re awesome and £500 well spent. I bought them from RDC and saved a bundle on the Dell prices. Since my move back to Wales one of the monitors developed a small yellow square in the top left corner. I rang Dell to check the warranty status. After some chatting and testing I was informed I would get a new one today. 11am this morning I get a shiny new 2007FP in exchange for my faulty one. Awesome customer service. The Dell guy on the phone was very professional and went out of his way to make sure I was happy. Big thumbs up!!!

Compare that with my experience with Europcar today. I paid online for a VW Golf rental car. I arrived at the depot and after some waiting I was given a Polo. I told them I ordered a Golf and that I didn’t have time to wait and that we’d sort out the difference in price when I brought the car back. I brought the car back this morning and was told that it was all head office that needed to sort out refunds like that. So it seems they mess up and I am the one that has to sort it out (excellent customer service). I was then told that the petrol tank was not full. I had only driven 70 miles and I filled up half way (£6) which means that I probably needed to fill about £2 or £3 in petrol. COME ON EuropCar!!! give me a fucking break. The tank registered as full but wasn’t overflowing to the brim. Fine I said whatever you fill it up.

I then get a call when I get back to work from a customer service rep saying that they didn’t like their customers to be unhappy. That’s nice I thought, she might sort this mess out – NO she proceeded to tell me that it was the head office and that if I’d waited I could have had a Golf as I’d requested. Then she revealed that I would be charged £1.60 per litre for the petrol that had to be filled. Now forgive me but surely a phone call like that should have been to do something to resolve the situation, NOT to piss me off even more. EuropCar – your procedures and customer service suck ass. And another thing – your depot is not in Downtown Colwyn Bay it’s in FUCKING Mochdre – a £4 taxi ride away.

Sorry for the rant but I had to vent

Moving Email to Gmail with Google Apps

A third party currently hosts our mail @ karova and I wanted to either host it ourselves or move to gmail with Google Apps. As a proof of concept I’ve moved the mail for the philroche.net domain to gmail. I have to say I am very impressed. I signed up for the 30 day free Google Apps premier edition so I was able to migrate all 29,000 of my imap mail over to gmail. The change in my MX records has not filtered through yet so I have a few emails that are still on my old server I’ll need to transfer somehow (without doing a complete migration again). Now I’ve got superb webmail, mobile access, Imap and POP3 with 99.9% uptime guarantee and 25GB space for only $50 a year. Bargain.

IWTC 2008 – resounding success

Last weekend I spent Wednesday, Thursday and Friday at the Irish Web Technology Conference in Dublin. I’ve only been to one other conference (@media 2005) before and I have to say that IWTC 2008 blew it out of the water. The main reason for this is the focus on technical topics. I enjoyed all of the sessions that I attended. The attendance was surprisingly low but I reckon that will change next year.

There was three tracks targeted at different audiences, Venture Financiers etc. – Track 1, Web Developers – Track 2 and 3. I only attended sessions from track 2 and 3.

Sessions I attended.

Django – Mick Twomey

I’m always interested in Web Frameworks and had looked at Django before but had chosen TurboGears over it. The Django session was very interesting with a full sample app coding session too so we could see exactly how the framework worked. I also learned that caching, E-Tags, gzip and memcache are all built in to Django which I didn’t know.

Accessibility – Robin Christopherson

I attended one of Robin’s session at @media 2005 and this one was just as good. It really makes a difference when you get to see exactly why it is that we try to develop to standards and with accessibility in mind. He didn’t mention the WCAG samurai errata and I hadn’t read enough about it to discuss it with him.

User Testing for websites – Ken Brennock

This was a very high level look at user testing. Probably the least impressive session but only because I had been expecting a bit more in depth look at testing – in particular what tools can be used effectively for automated testing – Selenium etc.

Ruby on Rails and Merb – Jamie Van Dyke

I tried developing with RoR a few months back but due to time constraints and starting my new job – I had to abandon it. I found it a very good framework but the learning curve is a lot steeper than the RoR community would lead you to believe. The session was very good – with some live coding and discussions on Merb (multi-threaded version of RoR). There was plenty of plugging for EngineYard (in a nice way) so I reckon if I ever do manage to release an RoR app -it’ll be those guys who’ll be looking after it.

RESTful Web Services – Leonard Richardson

This was the best session I attended. I’d been doing a good bit of reading on REST and had watched a couple of screencasts on the subject so I was looking forward to the session. Topics covered included REST, AtomPub (and variations/extensions on it), Collection/entries pattern and the HTTP verbs. This session made me want to go home and start RESTifying the KarovaStore Framework (I didn’t 🙁 ).

Silverlight – Martha Rotter

I was sceptical of Silverlight and this session didn’t change my mind. It was very high level with plenty of demos but no real low level examples of any Silverlight apps. I understand that you can do a lot of fancy media apps with Silverlight but it just seems a bit too flashy or something for me to want to learn more about it. I also learned that if I want to effectively develop any Silverlight apps I’ll have to but yet another MS studio (Expression studio). I just bought Visual Studio 2005 so that won’t be happening any time soon.

Adobe AIR – Andrew Shorten

I do like AIR and I do like the idea behind it but I’m too much of a fan of the Mozilla framework to move over. There are benefits of using AIR over something like Prism like flash, flex and nice installers but I can’t bring myself to leave Mozilla. I found the whole runtime and app idea (sqlite, update API) and the structure of AIR apps very very similar to the Mozilla framework and XPI extensions. I did ask whether the Mozilla framework and XPI idea inspired AIR – I was told that this wasn’t the case. It doesn’t make a difference really but I find it hard to believe that they didn’t take any of their ideas from Mozilla.

Open ID – Padraic Brady

I had seen references to Open ID many places but never really understood what it was. It was a very interesting session with discussions on Open IDs shortcomings and where it really is useful. I definitely like the idea of Open ID and will be signing up with on the the providers discussed. I like to whole Yadis protocol and discovery methods discussed ad the possibility for using Open Ids to prove identity rather than just a way of grouping log in details.

Enabling trust on the web – Paul Walsh

Due to a schedule change. I actually went to this session by mistake. I’m glad I did. I was excellent. I love anything that help bring us closer to a semantic – machine readable web and the topics discussed in this sessions definitely does that. I had never heard of Content Labels (Powder) or ICRA before. There are schemes for e-commerce sites too so KarovaStore will be getting some Content Labels very soon 🙂

Agile Web Development – Sean Hanley

I’ve worked on a couple of teams over the last few years that had adopted varying levels of hybrid Agile development methodologies so I was interested to hear what the speaker thought would be the best approach to take to achieve best productivity. Some key points discussed were, management had to be on-board, Refactoring, Velocity, collaborative culture, No blame culture, Technical debt, Acceptance testing and the investment in hardware. Three great quotes from the session –

“Culture eats strategy for breakfast” – you can plan all you want but if the team isn’t behind it, you can forget about it

“People are the most important resource” – without good staff, you have nothing

“Smart and gets things done” – in reference to an ideal employee

Mobile Web 2.0 – Bill de hOra

I have a strong interest in the mobile web and I always use Opera Mini on my W880i. I also had the idea of the RSS2WML project that I started (but never finished 🙁 ). The session was very interesting in showing the absolute immense market that the mobile web is and that how it is not being used to it’s full potential. The plethora of browser/app/platform combinations was also discussed. The thing that annoyed me most about Vodafone Ireland was the ‘munging’ of all HTTP traffic, the reasons for this were also discussed.

GPS and location based services is also something that has potential but I see it as a very nice use of technology but of no real practical use to users.

Developing Secure Web Applications –David Rook

This session was very high level but did point out what issues that app developers face with regard to SQL injection, XSS etc. and what could potentially be methods of attack in the future (XSRF – Cross-site request forgery).

Analytics – Laurence Veale

The last session of the was very short (thankfully as I was very tired). It discussed the uses for software like Google Analytics and how they can benefit developers and marketeers. Very high level but useful to see the benefits of tracking the usage of a site.

In summary

The quality of speakers was amazing. All very very knowledgeable and able to answer any question put to them. I would have paid 5 times the registration fee to attend. Sign me up for next year!!

Livigno 08

Last week twenty two of us jetted off to Livigno in northern Italy for a ski/board holiday. It was awesome. I had great fun. Boarding all day and eating/boozing/acting the goat all night. I/We’ve got tons of photos and videos @ http://halfviking.com/livigno08 . Below are a select few to whet your appetite.

Self portrait on the slopes

Self portrait on the slopes

Me and Al

Me and Al

Me and Danish dancer

Me and Danish dancer

I get some air on dance pole

I get some air on dance pole

two clowns

Two clowns

Giant beers

Giant beers

the gang in marcos

The gang in marcos

mountain feast mayhem

Mountain feast mayhem

Me and Daragh (the cripple)

Me and Daragh (the cripple)

Roxy postit craziness

Roxy postit craziness

My snowboard instructor

My snowboard instructor

Flat on my face

Flat on my face

Finally - standing up straight

Finally – standing up straight

Up on the slopes

Up on the slopes

Three amigos

Three amigos

Dinner on the last night

Dinner on the last night

The gang on the slopes

The gang on the slopes

How's the grappa Ken?

How’s the grappa Ken?

Flat on my face yet again - and that was just trying to get off the lift

Flat on my face yet again – and that was just trying to get off the lift

The lads on the chair lift

The lads on the chair lift

On my ass taking photos

On my ass taking photos

Myself and Dave

Myself and Dave

Dropping a few shapes

Dropping a few shapes

Killed by Brian on the pole

Killed by Brian on the pole

As you can see – it was awesome, so thank you all for your company this year – bring on 2009
The photos and videos @ http://halfviking.com/livigno08 have been censored due to extreme cringe factor on my part. If there’s anything you want removed – let me know.

Another site that annoys me – motortax.ie

Motortax.ie

My motor tax is due for renewal so I phoned them up and requested a tax renewal form with pin number so I could renew it online. It arrived but without the pin of course. I phoned them today and asked if I could have the pin over the phone – no. She said just fill it out and post it in – fair enough. The letter did however state that I could only use that form if I was renewing in January (I received it in February), she said to ignore this. A load of nonense really but I decided to fill it in and send it off. Where do I send it??? I haven’t got a clue!. It wasn’t on the form or anywhere on the site. I had to hold for another 15 minutes to find out the address. Now that’s IRISH!

Another thing that annoyed me about the site is that the session times out and you get a wonderful session timeout message

Session Timeout
Your session has been terminated due to inactivity.
If you wish to return to the Motor Tax Online homepage, please click here.

My session shouldn’t timeout like this when I’m just on the informational pages (as in not transactional)…ever. It’s very annoying.

Irish Web Technology Conference 2008

It’s now official. I am returning to Karova at the start of March. I’ll have more news later on my future role but I am excited to be going back and focussing on Karova’s projects and products.

I have a few days off in between jobs so I’ve decided to go to the Irish Web Technology Conference 2008. There are some very interesting tracks especially the e-commerce track which will be very applicable to my work @ Karova.

If anyone else is going – give me a shout.

Software I’ve paid for

Sparked by a conversation on LugRadio about what software you’ve ever purchased. It got me thinking about what I’ve paid for. It’s been recently that I’ve purchased the most

Update

  • I also bought a copy of Linspire (it might even have been called Lindows then) and a subscription to the CNR

It’s quite alot considering the ammount of Open Source software I use and quite pricey too. These are personal purchases too not related to Karova. Admittedly the Visual Studio version was the academic version bought through my Dad who is still a student.

What have you bought?

Also along the same line – I’ve purchased a new desktop and a couple more monitors. It will be the fastest machine I have ever been on let alone owned – stay tuned 🙂

EEEPC – overall thoughts

Overall – I’m really impressed.

Pros

  1. It’s tiny – meaning very portable
  2. It’s light – under one kilo
  3. It’s fast – Celeron 900MHz with 512MB Ram
  4. It runs Linux – Xandros with a very fast window manager by default
  5. Battery life is good considering the size (3-4 hours)
  6. It’s cheap as hell – I paid about 300Euro
  7. It’s got Wifi and webcam – Skype Video on the go
  8. Hibernate works brilliantly with very fast boot times too

Cons

  1. Keyboard is a little small
  2. It’s doesn’t reconnect to wifi when it comes out of hibernate
  3. The WEP WPA software has bugs – you can’t connect to a network with a key that has numbers or spaces in it
  4. The screen is a little too small for constant use – I reckon the planned 10″ models will be alot better

EEEPC in black

Overall I love and I wouln’t hesitate to recommend it considering the price.