For something I was trying to do, I wanted to determine the shortest distance between two concepts in an ontology. In some forum I was reading someone had suggested to use Jena’s findShortestPath() method. Couldn’t really find a solid example as to how this works, so here’s something that worked for me. May be there’s... Continue Reading →
Connecting to SQL Server using jTDS
There are a few posts around on the internet explaining how to connect to SQL Server from Java. The most popular is probably using the JDBC driver (http://msdn.microsoft.com/en-us/sqlserver/aa937724), but somewhere I read that for bulk insertions the jTDS driver (http://jtds.sourceforge.net/) is faster. I’m trying to insert some SNOMED related data into SQL Server (started with... Continue Reading →
Importing existing source code into Eclipse
This sounds like a trivial task, but I spent a good few hours reading various forums, blogs and other online material trying to find an answer to this, but I simply couldn’t! Now that I finally figured out how to do this, thought I’d write it up and hopefully someone will find this useful as... Continue Reading →
Weird behaviour in modal dialog with ActiveX controls
For a simple test program I was implementing, I had a couple of forms – Form 1 which had all the authentication stuff and Form 2 which had the ActiveX object. The idea was to show Form 2 once a user has successfully logged in. I had the following code in Form1: if (iSiteEntFrm ==... Continue Reading →
Silverlight ListBox inside a ListBox
For something I was trying to implement on the Windows 7 phone, I wanted to have a ListBox inside a ListBox (i.e., a nested ListBox). So for example, if I have a ‘Patient Vitals’ ListBox with two items, where each item is a ListBox with a bunch of items, it’ll look like this: I wanted... Continue Reading →
Getting started with Windows 7 phone application development..
I have just started developing a fairly simple Windows 7 phone application that talks to a web service and thought I would put together a few sites that helped me get started. I’ll briefly describe some of the issues I ran into during the process and also share a C# utility class I have put... Continue Reading →
Possible PhD defence questions and some excerpts to give you some confidence before the oral
Preparing for a PhD defence can be challenging and also a bit stressful at times. You keep thinking what the examiners might ask and whether you'd be able to answer the questions convincingly. It's your work, and by the end of the defence you'd realise that it wasn't too bad after all, but here are... Continue Reading →
I successfully defended my PhD!!
So the 1st of October 2010 is when I had my PhD defence. I was dressed in a nice suit, and went to uni at around 12ish to sit the defence at 2pm. I was a bit tense as most PhD students would be just a little while before the defence starts. I had practised... Continue Reading →
Starting my Microsoft internship at the Media Lab
I still remember how this all came about. I was somewhat nearing the end of my PhD and I was looking around a bit for possible job opportunities. I had had a great passion to work for Microsoft Health one day (well, hard to think of any compsci people who don't!), and I had in... Continue Reading →
Submitted my PhD thesis!
So I finally submitted my PhD thesis today! Been a long journey to get to the point of thesis submission and I certainly feel pretty relieved..why wouldn’t I be! Was in the UK for the HC conference in April and wifey and I did an 11-day Euro trip just before that (see photos) – wanted... Continue Reading →