crw_6854.jpg img_12289 p1000090 img_10687 img_15677 img_16076 D1278-026 img_1735 crw_8245 img_16102 img_14723 img_16946 RiversOfSound img_13206 img_1208 img_15851 img_14105 img_17146 img_1305 Kristen's Wedding

@antonpiatek on twitter

Posting tweet...

Powered by Twitter Tools

Offroad night ride with Hursley Cycle club

Last night I joined the Hursley cycle club for their regular Wednesday evening rides. We set off into the low sun towards Ampfield woods and from there I had completely no idea where we were or where we were going.

The ride was fantastic. A nicely chosen route gave some good downhill bits, including one rather interesting downhill stretch of Clarendon way which really made good use of my suspension (forks only, rear would have been nice) and was rather interesting to go down. I am very glad it was down and not up, as that path would have been very hard work.

You can see the route on the map – It really was quite an interesting collection of tracks and shortcuts, it must have taken a long time to learn about all these!


The club meets most Wednesdays at 7pm and normally rides 10-12 miles until about 9 or 9:30. Last night was a slightly longer route, and was made slower by a puncture taking a few goes to pump the tire up as the pump kept pulling out the valve!

The route had a lot of dirt roads and farmers tracks, but there were some fantastic bits through forests which ranged from wide paths to narrow tracks. As the rides are into the dark lights were essential, and frankly my little Smart lunar 25lux light really wasn’t up to the job. I think I will be looking for some new lights for the next ride.

MIT running free electronics circuits course

Thanks to Paul Stimpson on the Surrey LUG mailing list for pointing the course out:

MIT are launching the first course in their new e-learning programme designed to bring education free to the masses. It’s a course in electronic circuits and design and begins on March 5th. This is a trial and at this stage does not require any attendance or for proof of identity to be shown. It is examined online and results in an MIT-branded certificate for successful students. The only obligations are to complete the course and exams in the time frame specified and to agree to the University honour code (not to cheat).

The course runs for 13 weeks (March 5th until June 8th) and requires a time investment of approximately 10 hours per week.

You can register at https://6002x.mitx.mit.edu/

Message Broker v8: Record, Replay and REST

IBM WebSphere Message Broker v8 was released in December last year – There is an announcement and comparison of versions on the IBM website.

IBM WebSphere Message Broker introduced Record and Replay as part of its version 8 release. I thought I would just write a brief quickstart guide to getting running with record and replay, and in particular with working with the new REST interface which comes with it. There is actually a Record and Replay specific PDF available too, which contains all the details you might want for using Record and Replay (far more detail than I cover here). The main reason I am writing this, is it can be a little daunting trying to get Record and Replay going, as it does have a fair bit of configuration, and involves a few areas of a quite large product.

Continue reading Message Broker v8: Record, Replay and REST

Message Broker v8 with MySQL

Now that you know that you can use Message Broker v8 on Ubuntu for development, you may be wondering if you can use some of the databases that are more common on Linux, such as MySQL. You can!

IBM WebSphere Message Broker now uses UnixODBC to connect to many databases. Though not supported by IBM, you can actually connect to MySQL from Message Broker using UnixODBC.

Continue reading Message Broker v8 with MySQL

WebSphere Message Broker on Ubuntu

WebSphere Message Broker v8 now supports Ubuntu for development systems (i.e. not production use) - http://www-01.ibm.com/support/docview.wss?uid=swg27023600#Ubuntu

I have been running MQ and Message Broker on Ubuntu and Debian since shortly after I joined IBM in 2005, and it seems there are lots of other people doing this too despite it not being a supported platform before now.

Lots of people have advice on how to install MQ and WMB, and it is worth mentioning them in case you have problems.

http://www.reidmorrison.com/linux/install-websphere-mq-on-ubuntu

http://www.gefira.pl/blog/2010/07/03/websphere-mq-and-ubuntu-howto/

http://blog.herbert.groot.jebbink.nl/2009/06/wmb-61-ubuntu-904.html

The best advice I can give for installing MQ and WMB on Ubuntu is:

    • change the /bin/sh symlink to point to /bin/bash – MQ Doesn’t like installing with dash as the default shell.
    • use rpm to install MQ – Alien is a bit of a hack, and does not work well. You will need to use the “–force-debian” flag on rpm to make it install.
    • One other thing which might help is to run the mqlicense.sh script with the ‘-console’ flag as it may not find your X applications properly.

    Some user’s have noticed that chown on Debian and Ubuntu strips the setuid bit from the binaries (Debian and Ubuntu consider leaving setuid set on an executable when you change it’s owner a security flaw, whereas Redhat and SuSE appear not to) so you may need to fix the permissions (best to check the permissions of the same level of MQ from a RHEL or SLES box and set them the same) though I have not seen this with recent versions of MQ.

    Message Broker v8 installs quite happily on Ubuntu. The only issues that I know of are that some of the eclipse based gui applications do not draw everything correctly. This is a known eclipse-GTK bug, and is more common on releases after Lucid Lynx (10.04). A workaround is to set the environment variable  GDK_NATIVE_WINDOWS=1

    Update 05/01/12 – I have just noticed that the script ‘mqsicreateworkpath’ which is used to initialise /var/mqsi correctly still uses ksh. Either install ksh on your system or edit the script to say bash in the first line instead of ksh (it should work fine then)

    Frequently Asked Questions about the GNU GPL

    I have been flicking through the following FAQ on the GNU GPL: Frequently Asked Questions about the GNU GPL – GNU Project – Free Software Foundation (FSF). I am trying to understand the risks that we are told about regularly in IBM of working with/on Open Source code.

    I have to say that most of the risks are rather undefined, and no real examples are given. I am having trouble figuring out why IBM is so scared of its employees working with Open Source, and yet at the same time encouraging it (I run Debian on my laptop, and in fact run a Debian server distributing internal tools packaged specially for other Debian users).

    The one big concern is of course patents. Personal views on software patents aside, if I were to code a patented idea into some GPL’d code and release it (as an IBM employee) then quite likely that patent will be considered GPL’d and could be used by others – the extent of patents in GPL’d code is untested in court, hence the reason for v3 of the GPL, which will probably explicitly state that any patents are given away under the terms of the GPL if in GPL’d code.

    However, even if not modifying the code there is still a huge concern about working with it. Even releasing code that is dynamically linked against a LGPL’d library is incredibly hard to get approved. Why should it be? The FAQ above makes clear that if the library is LGPL’d, then dynamic linking (i.e. using a JAR file in Java) means that the library source must be available and some reverse engineering of the interaction between the two is allowed (in case someone wanted to rewrite the library). Your code does not have to be Open Sourced. Is it simply that shipping the source code is too much effort? Surely if I use a prebuilt JAR, and dump a zip of the corresponding source of a LGPL’d library in the zip I am shipping then that is it. I am complying with the terms of the GPL.

    The only thing I can think of is the other side of Patents – somebody else has a patent on something in the GPL code, but the authors of the GPL code were not aware of this. If IBM were to ship GPL’d code that a competitor had a Patent on part of then indeed they would be liable for infringement, not just the author of the code. Is this risk likely? Well, SuSE have just signed a deal with Microsoft for this reason, but RedHat and Ubuntu have declined the deal. Maybe with the GPLv3 this will be less of a problem, as if another company releases GPL code then they will be explicitely releasing any patents on it too.

    What if the patent holder is another third party. IBM could still be in trouble if a competitor finds they have a patent on some GPL’d code we are shipping. They won’t bother suing small linux vendors, but IBM has lots of money to claim from, that would be worth going to court for. Could they claim only for IBM and not all the little guys who have already been using it?

    Is it too much risk to work on the fact that we could always change the code to avoid the patent at a later date?