Jakub Korab
Tech, Opinion, and Doing Stuff

Shared Items – May 1, 2009

May 01st, 2009

Filed under: none | No Tag
No Tag
May 01st, 2009 16:36:27

Blogger compatible permalinks in Wordpress

January 20th, 2008

A couple of folks have asked me how I got my old Blogger permalinks to work on the new blog. It’s super simple.

Under Options -> Permalinks in the admin console, add the following custom structure “/%year%/%monthnum%/%postname%.html”. You can then set up the little Blogger redirect/DNS cheat method I described in the last post and everything hums just as before. Too easy.


Filed under: none | Tags:
January 20th, 2008 13:38:28

This blog is moving!

January 16th, 2008

New Year, New Home!

This blog is now moving onto a new domain – www.jakubkorab.net
If you RSS me, please update your feed to point to here.

See you on the other side!


Filed under: none | No Tag
No Tag
January 16th, 2008 22:05:00

Why does a PC have to take 2 minutes to start up?

January 16th, 2008

Technology review published an article on a technology that will get new PC’s booting to a useable state in a few seconds as opposed to the couple of minutes that it currently takes – albeit with an operating system parallel to Windows.

http://www.technologyreview.com/Infotech/20072/?a=f

This has been a real pain for me, as I am in the market for a new laptop, and a quicker start up was high on my wish list. I don’t mind ditching Windows for a different OS either, having heard good things about the alternatives. However, when I did some scouting around on the net, the boot times for OSX and Linux weren’t much better. Sure you can spend ages tweaking everything to get a quicker start up, but I suffer from the classic modern ailment – being time poor. In other words, screw that. I can’t believe that somehow with all the advances in computing power, we have communally accepted our fate and have to suffer through twiddling our thumbs while waiting for the PC to start.

I want to be up and running now. And I don’t want to hear the line about the Hibernate settings. I turn my TV off. I want to do the same with my laptop, not switch it to some sort of low power setting. If anyone has a silver bullet out there for XP or another OS, I would love to hear about it.


Filed under: none | No Tag
No Tag
January 16th, 2008 18:06:00

Sequence diagram voodoo?

January 15th, 2008

Every once in a while I forget how to do something in UML. InformIT have a great guide on the use of the notation just for this purpose. Nice.

http://www.informit.com/articles/article.aspx?p=360441&seqNum=5&rl=1


Filed under: none | No Tag
No Tag
January 15th, 2008 14:15:00

Dublin Java Pub Quiz Today

January 15th, 2008

If you are in Dublin and trying to work out what to do with yourself on a cold winter evening, why not come down to the pub for a few beers and a bit of friendly competition?

http://www.dubjug.org/events/jug/2008/quiz


Filed under: none | No Tag
No Tag
January 15th, 2008 10:02:00

Sometimes it is easy to forget

December 11th, 2007

I have been meaning to post lately on everything from an insight that I had into systems architecture when looking at the Sagrada Familia in Barcelona, to why JRuby is barking up the wrong tree. But I have been otherwise occupied :( So here’s what I term a Moment:


Stay tuned.


Filed under: none | No Tag
No Tag
December 11th, 2007 00:42:00

Unit testing with JAXB

November 05th, 2007

I hit a snag when unit testing some code that makes use of JAXB generated objects. JAXB does not generate setters for collections :P This means that you cannot do the following:

Parent parent = new Parent();
List<Child> children = new ArrayList<Child>();
children.add(new Child());
parent.setChildren(children); // there's no setter method!

Instead, the following will do the trick, since JAXB guarantees that getChildren() will always return a Collection:

Parent parent = new Parent();
List<Child> children = new ArrayList<Child>();
children.add(new Child());
parent.getChildren().addAll(children);

Hope this saves someone some frustration.


Filed under: none | No Tag
No Tag
November 05th, 2007 16:08:00

Message Driven POJOs in Spring

August 28th, 2007

Andy Piper wrote an excellent blog post
(http://dev2dev.bea.com/blog/andypiper/archive/2006/07/spring_20_and_m_1
.html) about using Spring for the equivalent of EJB Message Driven
Beans. Worth checking out if you're looking at dropping EJB from your
Spring app entirely.


Filed under: none | No Tag
No Tag
August 28th, 2007 11:54:00

When work goes live

January 10th, 2007

It’s great to see when your work finally gets up and running and people start using it. I’ve been doing some work on http://www.milkround.ie, a graduate recruitment website, for a little while now and the first draft version went up and had the kinks ironed out before Christmas. Now back from holidays, it’s good to see a substantial number of subscribers. It will be interesting to see how the project develops over the coming months.


Filed under: none | No Tag
No Tag
January 10th, 2007 10:17:00