Lucene Sketched

September 17th, 2008

it@cork held their annual java conference last week.

My colleague and I did a presentation on implementing the Java search and indexer, Lucene.

Here are some sketches I did for Lucene’s index and search processes.

On the right we have indexing….

And below we have searching…..

Easy online time tracking with 1time

September 7th, 2008

If you are looking for a good online time tracking solution then its worth giving 1time.net a try.

Its an Irish company.

Recording time against a project is very quick and easy. There is a function to give your customer access to report on time spent on their projects.

One thing about time tracking software is that the user interface for time entry should be snappy and easy to use with a minimal number of clicks. Otherwise accurate time tracking will suffer (I’ve learnt this the hard way). The jeebers people have got this right with a very snappy easy to use interface in 1time.

Its great value at nothing/month for 1 user. Multi user pricing looks good too.

Use a Yahoo user interface tree component with Joomla

June 25th, 2008

This is a module for Joomla v1 that shows a YUI tree view (javascript tree) which lists content items and categories from a section. This is handy for a site map (example below)

Click here to download it mod_yui_tree_v0-1.zip

Once it is installed using Joomla’s module installer you just need to enable the module and specify the id of the section to use in Joomla’s module maintenance area.

Irish summer has arrived

June 24th, 2008

Joomla - KnowledgeTree single sign on integration

June 21st, 2008

Joomla - Knowledge (KT) tree single sign on integration:

Download it here.kt-joomla.tar.gz
How it works:

This assumes joomla and KT are installed on the same server and you are using a wrapper (iframe) in Joomla to link into your KT installation. The wrapper is not necessary but looks neater. The diagram below describes what goes on.

1: User logs into the joomla site and the session cookie is stored on the users PC.

2: User clicks on the link to go to the KT application and the request is sent to the server. KT recieves the request and dispatches it to the new joomla interceptor.

3:  The interceptor then sends a http request to joomla asking for the name of the cookie that is used by joomla to store the session-ID.

4: Joomla recieves the request and passes back a response containing the name of the cookie its using to store this users session. 

5: The KT interceptor now uses this information to get the cookie value from the header of the request sent by the user in 2 above. It sends another request to Joomla with the session-ID to get the username of the user that is logged in and is using this session-ID

6: Joomla passes back the username of the user using this session in the response.

7: The KT interceptor gets the KT User object for this username if it exists, logs in the user (creates a session) and sends the appropriate response back to the user. 

Integrate Knowledgetree with Joomla

June 18th, 2008

I have written an interceptor to integrate knowledgetree with Joomla. This alllows a single sign on between Joomla and knowledgetree

It needs some tidying before it can be published. Watch this space

Eclipse 3.3.2 crashes after installing subclipse 1.2.4

June 6th, 2008

Update Jun 19th the fix below only improves the problem. Still have not found a solution.

For some reason eclipse started crashing when performing any SVN operations. My setup is: Eclipse 3.3.2, subclipse 1.2.4, jdk 1.6.0_06, PHP-eclipse 1.2.0.200806060602NGT.

It doesn’t not look like a JVM problem (see below), however installing Java 1.5.0_14 seems to have fixed it.

———– .xsession-errors ———————
# Problematic frame:
# V  [libjvm.so+0x1f125a]
#
# An error report file with more information is saved as:
# /home/derek/hs_err_pid3478.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[thread 300468560 also had an error]
/usr/libexec/Eclipse: No such file or directory.
warning: .dynamic section for “/usr/lib64/libpng12.so.0″ is not at the expected address (wrong library or version mismatch?)
————————————————–

Fedora 9 on a Dell XPS M1330

May 19th, 2008

Got a nice shiny new Dell XPS M1330 yesterday after only waiting 3 days from order to delivery. My configuration came with a 120GB 7200rpm drive, 2.1ghz core2 duo, 2GB ram and WLED display. I don’t hate vista but I have a preferance for Linux, especially fedora. I’m more comfortable using it for software development.

All the primary partitions were used so I decided to shrink the vista partition and delete the media direct partition. To shrink the vista partition, boot vista and right click computer in the start menu. Then click manage and select storage devices. From here you can shrink the vista partition to about 50% of its original size. Next, boot from gparted live CD. (Press F12 to select boot from CD). Once booted you can delete the 2.5GB media direct partition and end up with a total of about 50GB of unallocated space. Next just boot from the Fedora DVD and thanks be to god, the end result is a clean install with anaconda. I’m not a big fan of anaconda but this time all went ok.  So far everything is working. Wireless and graphics seem to work out of the box. Havent tried sound or webcam yet. Will update with more details.

Had do make one small change to /boot/grub/grub.conf in order to make vista boot.

Was

title Other
rootnoverify (hd0,1)
chainloader +1

Changed To

title Windows Vista
rootnoverify (hd0,2)
makeactive
chainloader +1

Astrophotos from winter 97

November 25th, 1997

Some old astrophotos I took in winter 1997

DATE 23/12/97
EXPOSURE 25 min
INSTRUMENT 8 inch f5.6 reflector.
FILM Hypered G800
COMMENTS Fuji G800 has great blue sensitivity when hypered. This cluster is best seen with binoculars on late autumn and winter nights.

EXPOSURE 5 min
INSTRUMENT 8 inch f5.6 reflector.
FILM unhypered Kodak Pro400
COMMENTS

DATE
EXPOSURE 35 min
INSTRUMENT 8 inch f5.6 reflector.
FILM Hypered Fuji G800
COMMENTS M97 at top is a small planetery nebula being produced by a dying star.
M108 (lower) is a much more distant and massive galaxy.

DATE 23/12/97
EXPOSURE 30 min
INSTRUMENT 8 inch f5.6 reflector.
FILM Hypered G800
COMMENTS Cropped from a photo of the orion nebula.

EXPOSURE 40 min
INSTRUMENT 8 inch f5.6 reflector.
FILM Hypered Kodak Technical Pan Film
COMMENTS This Galaxy can be seen with the naked eye under very dark skies

Summer 97 astrophotos

June 25th, 1997

Some photos of the night sky that I took in the summer of 97,

DATE 9/7/97
EXPOSURE 30 min
INSTRUMENT 8 inch f5.6 reflector.
FILM UN-Hypered PRO 400
COMMENTS This film dosent really need hypering.
I was lucky to get away without any trailing on this one. Scanned from a print

DATE 26/6/97
EXPOSURE 5 min
INSTRUMENT 8 inch f5.6 reflector.
FILM unhypered Kodak Pro400
COMMENTS This is a compact cluster of about a million stars

DATE 23/12/97
EXPOSURE 30 min
INSTRUMENT 8 inch f5.6 reflector.
FILM Hypered G800
COMMENTS
The horsehead is a cloud of obscuring dust blocking the red light from the hydogen gas behind it.
It is only visible to the naked eye in large telescopes