Archive for the ‘Default’ Category

jmimeinfo Update

Friday, April 20th, 2007
  • I have fixed a bug in jmimeinfo regarding files not being closed under certain circumstances. Thanks to KewlCat and Ryan for pointing out the bug (sorry guys I don’t have your email addresses to thank you personally). The latest version is available for download.
  • I am considering moving the project to somewhere more suitable possibly java.net or maybe sourceforge (need to compare the two).

I need to build without a head

Wednesday, March 14th, 2007

Many of the commercial enterprisey tools/components/servers available today major on WYSIWYG, point click, drag drop style development. Which is great, I’m all up for labour saving tools and flashy sales presentations. I can open an IDE (usually Eclipse with plugins) and get going creating an Orchestration, ESB routing path, Portal portlet, Rule Flow, you name it.

However,… when the dust settles there are broadly 2 major problems with the current implementations of these Enterprisey Tools.

  1. I need to put these creations into a project version control system. Why is this ‘the trouble’? Well these tools create an assortment of xml configuration file, java code, .properties, .blah and a proliferation of other unfathomable artifacts. I don’t know what is specific to my machine, specific to the IDE layout, what is test code - I short I don’t have a scooby doo (clue) what these files are - the documentation is much help either. I end up checking the lot into source control and then the fun starts when my team mates try to merge their changes with mine when they also have no idea of what these files are. For the record I don’t ever want to use the in built version control system. Why? Because, there will be usually more than 5 separate tools with there own source control systems and this quickly becomes unmanageable.
  2. I need to be able to compile, package, build, deploy (remotely), run test and release to a release system working software from a continuous integration system. This system needs to run periodically and autonomously (that is without any human intervention). This system most like doesn’t have a graphical subsystem (windowing interface) it is likely a big bad *nix machine (sans X). I can not run the IDE on this machine. I also don’t want to install the IDE or indeed the server components on this machine. I don’t want to install this software on the machine because it is a huge overheadand keep the versions in line with the project (which can last up to 2 years). On a typical project this could mean installing 6 IDE and 5 servers on the continous integration servers and upgrading and patching each of these 3 to 4 times.

So here is my plea to the tools industry (you know who you are):

  • Everything that can be done in the IDE should have a corresponding ant task
  • Anything that can be done though your server console can be done as an ant task (or scripted in some way which can be call from ant).
  • All the ant tasks should be in a jar file and this jar file should have documented dependencies (ideally as an Ivy or Maven dependency file).
  • Do not impose your jar file directory hierarchy on me for the ant task (you know who you are).
  • Every file that your IDE plugin creates should be documented, what it is, what it’s structure is and what every part of that structure means. If you need help understanding the level of detail look at the hibernate mapping documentation for an exemplar
  • And whilst I’m asking please don’t insult me by telling me this isn’t important - it is. This is very important.

Update: whilst trying to find my way through the borkedness of one product I stumbled upon this blog entry describing some of the problems I am hitting with one product. This article was written in Nov-2004 and it seems that things have moved on very little since then. BEA, in this case, still use OS environment variables such as CLASSPATH and PATH rather than allowing them to be specified at the task level in an ant way. They still bundle a whole lot of crap in their weblogic.jar and reference still more from the manifest that confuses builds. Why is the ant API included in their server environment classpath?!

Reddit vs. Digg

Monday, January 22nd, 2007

A great article on why Reddit is better than Digg. I almost completely agree with the article, Digg has become a very bland place. Interesting articles are discovered make the front page get noticed by the unwashed and modded down as spam or ‘lame’. Reddit on the other hand doesn’t put the power of censorship in the hands of the minority and so these small groups cannot get articles removed from the front page.

I have really cut down on the visits I make to Digg because most of the time the articles there are fairly low brow (how many more 50 CSS tricks articles can there be? How many ‘hilarious’ Colbert sketches must we be subjected to?). Nope Reddit is for me at least for now.

xkcd (no it is not a typo)

Wednesday, January 10th, 2007

Just a short post to say that those who don’t read xkcd should. It calls itself “a webcomic of romance, sarcasm, math, and language.” and is very funny if you are technically inclined.

Blog tagged

Thursday, December 21st, 2006

So Mr Jones has decided to blog-tag me, thanks. I guess this will get the Google Juice flowing if nothing else.

I have decided to decrease the number from 5 to 3 for two reasons, I’m lazy and it keeps things interesting (read: I’m lazy and not very interesting).

3 things:

  1. I once found the 204th largest prime number it has 160578 digits, sadly it is now only 702nd largest, I still search for them but haven’t found any larger yet.
  2. I sleep with my eyes open (literally rather than metaphorically)
  3. I am a big fan of Single Malt Whiskies and collect them; however I seem to drink them almost as fast as I buy them

Andrew Law, Heather & Doug Cutting

A Little DB Humour

Wednesday, December 6th, 2006

Ant P. > How fast is it against MyISAM?

greg1104 > I’ve managed to get my PostgreSQL installation tuned to very high speeds simply by switching the database disk over to /dev/null. It runs fast as hell, and the data integrity is basically the same as MyISAM.

(via tabo @ aureal via Slashdot)

Firefox to overtake Internet Explorer by Dec-2007

Monday, April 24th, 2006

I recently noticed that 25% of the users on The Humor Archives where using Firefox. I got to wondering how and when Firefox had picked up quite so many users so I grabed the raw figures from my log analyser packaged and using JFreeCharts I slung the below graph together.

Firefox vs Internet Explorer

and so it seems that not only has the percentage of Firefox users been increasing for the last 2.5 year but the rate of increase in the percentage of users has also been increasing. However I wanted to get a worse case senerio of when Firefox would overtake Microsoft Internet Explorer. To get the worst case I plotted a linear regression to forecast the growth. I then messed around with various other regressions to see what more optimistic regressions gave. The results are below.

regression type overtake date
linear December 2007
logarithmic December 2007
exponetial July 2006

Now my University Mathematics lecturers would probably turn in their sandals at the mathematic rigour of my analysis as it is only based on one website with just 4,000,000 page views per month however it does give some indication of when Firefox will eventually take over as the dominant browser.

Get Firefox now!