Ada Lovelace wrote the world’s first computer program in 1843. The computer on which the program would have run, Charles Babbage‘s Analytical Engine, was never built, though Babbage continued with his designs until his death and is remembered as the father of computers. The purpose of Ada Lovelace Day is to sing the achievements of women in technology and science – often their contributions go unnoticed.
On Ada Lovelace Day, today, anyone and everyone is encouraged to blog, podcast, videocast, tweet about the achievements of a woman in technology and science.
Laura Czajkowski
I met Laura Czajkowski last September when part of the Ubuntu UK Podcast team shipped off to Dublin to attend her OssBarCamp conference, have a weekend of geekery, and an evening of BBQ and cocktails. Since then, I’ve seen Laura working passionately to help kickstart the Ubuntu Women Project and I’m aware that she is also on the Ubuntu NGO project which looks at how to make it as easy as possible for charities, not-for-profits, and other NGOs to benefit from Ubuntu and Open Source Software.
After I tweeted a few weeks back that I was working on OggCamp10 planning stuff, she replied, offering her help. I wasn’t sure how serious she was but as we had a load of large tasks that needed doing around that time, I figured it was worth asking. Within a week, she was a fully signed-up member of the OggCamp planning team (ie she gets all the emails and can edit the wiki), despite having her own conference to organise as well. OMG Ubuntu published a great interview with her today.
Ana Nelson
Another ace woman I met in Dublin that weekend was Ana Nelson, who Laura had finally convinced to present about her documentation automation work. I swear (as a former technical writer), the stuff she develops on should be used by corporations everywhere to maintain their vast documentation libraries and to save their skillful writers from spending hours manually updating screenshots and code snippets. Her talk at OssBarCamp was fascinating and understated – she sat on a chair, speaking her way round a printed, illustrated mindmap, punctuating it all with physical props like wooden toys and knitting needles. Her tweets are no less insightful, witty, and slightly off-beat.
So they’re just two of the women in the Open Source world (in particular, the Irish Open Source world) who’ve inspired me recently. Go check out their blogs to find out more.
N.B. I updated the bit about dash/bash on 23rd March after feedback from Gavin and Dom (see below).
This week, I decided to install Rational Software Architect so that I could try out (again) the User Interface Generator which comes with IBM InfoSphere Master Data Management Server–and other products too, I believe. You can find out more about what user modelling is and how you can use the UIG in RSA (lovin’ the IBM TLAs yet? ) in this series of articles on developerWorks. The rest of this post is not about the UIG but about how to install and configure Rational Software Architect for WebSphere, which is relevant to anyone wanting to do this, regardless of whether they’re wanting to use the UIG.
So I wanted to install Rational Software Architect (RSA; an Eclipse-based piece of software) on to Ubuntu, which is what I run on my work machine, a Thinkpad T61p. Not only that, but I wanted to install RSA for WebSphere, which includes WebSphere Application Server Test Environment (WAS). This meant that I was installing not one but two pieces of software that are not officially supported for Ubuntu Karmic (or indeed for Ubuntu/Debian as far as I know). But as the Linux binaries are .bin files rather than .rpm, life should be easy.
And indeed installing it is. It’s when you want to create a WAS profile that the fun starts. And that’s where it had all fallen apart for me when I tried much the same exercise this time last year. That time, I gave up.
This time, I tweeted my predicament, knowing there were people who might know the answer. Unfortunately, the person I thought might know the answer had failed in much the same way as me only 6 months ago and was now relegated to using Windows. Still, others came back to me, including Gavin Willingham, who I’d not met before but who works possibly 10 minutes walk from my desk, and Jay Limburn, who I’ve known for a year through Twitter and internal instant messaging but, though he also works max 10 minutes walk from my desk, never met in person until yesterday (he’s shorter and blonder in real life).
So, if you’re trying to install RSA for WebSphere 7.5.4 with WAS Test Environment 7.0 (other versions probably work the same way), I’ll end the suspense and start here:
Running the installer
Download the many parts of RSA for WebSPhere 7.5.4 and WAS Test Environment 7.0 with licence/activation bits and pieces. (NB this isn’t free software; you have to buy it from IBM so I’m assuming you’ve got that far by now.)
Extract all the zip files. If you do a right-click > ‘Extract All’ on the zip file in Ubuntu, the extraction tool doesn’t like to overwrite directories of the same name, so you end up with directories called ‘RSA4WS’, ‘RSA4WS (2)’, ‘RSA4WS (3)’, and so on when actually, you want the contents of each of those directories to be in the same place. So move the directories around so that you have just 3 directories:
RSA4WS (contains 7 directories called ‘disk1′, ‘disk2′, ‘disk3′, etc)
RSA4WS_SETUP (don’t do anything with the contents of this one)
WAS70 (contains 4 directories called ‘disk1′, ‘disk2′, etc)
In the RSA4WS_SETUP directory, as sudo, run launchpad.sh to start the installation process.
Follow the installer through but when it asks you for a user name and password to create a WAS profile, select that you will create a profile later and that you don’t want to create one now. The installation should run cleanly (if you let it try to create a profile, it will fail part-way through the installation).
You should now have a nice installation of RSA with WAS on your Ubuntu box. Next, you need to create a WAS profile so that you can use the in-built WAS server for development and testing (or in my case, to run the user interface generator).
Creating a WAS profile in RSA
There are a few things that prevent this just happening (some are generic Linux things and some are specific to Ubuntu):
On Ubuntu, /bin/sh uses dash, not bash, but WAS scripts seem to use bash specifically, so the profile creation scripts fail.
Something extra that I have no understanding of is required in the eclipse.ini file (which is key in starting the Eclipse-based RSA environment).
The default location in WAS’s profile creation wizards is in the /opt part of the main file system which you typically won’t have write-access to as a normal user.
So here’s what you need to do (at least, this is what I did and hopefully will work for you to to get a running WAS server in RSA):
Change Ubuntu’s /bin/sh to use bash instead of dash. In a terminal (sorry it’s the command line but you’re changing some system settings here that you would very very rarely have to do normally, or just if WAS didn’t specify bash specifically), run the following command and select the bash option as the default for /bin/sh:
sudo dpkg-reconfigure dash
(As pointed out by @oldmanuk (Dom Evans), this is the proper way to reconfigure where /bin/sh points to (though I used Gavin’s method). )
After you’ve created your WAS profile and everything’s up and running nicely, run the command again to change back to using dash. The benefit of using dash is speedier boot time, which is lost if you leave the setting as bash (see https://wiki.ubuntu.com/DashAsBinSh – thanks Dom).
Now you’ve sorted out the bash/dash problem. One down; two to go.
Check that you have a version of xulrunner installed (I have no idea what xulrunner is for but, looking in Synaptic Package Manager, my Ubuntu installation included xulrunner-1.9l.1-gnome-support, but not the xulrunner package itself, which seems to be fine for RSA purposes).
In your RSA installation, find the eclipse.ini file. I installed RSA to the default location so mine was in /opt/IBM/SDP. In a terminal change to that directory:
cd /opt/IBM/SDP
Open the eclipse.ini file in a text editor, such as gedit:
Now you’ve sorted out the ‘xulrunner’ problem and you can actually start RSA. Two down; one to go.
Start RSA from the Applications menu: Applications > IBM Software Delivery Platform > IBM Rational Software Architect for WebSphere 7.5.4.
RSA should suggest a directory in your home directory in which to put the RSA workspace. That’s fine; I just accepted the suggested location.
When RSA has opened (NB, my Welcome view doesn’t load – I don’t think that’s a problem), give it a moment to think, then it’ll pop up a wizard to create a WAS profile.
In the profile wizard, clear the option about security unless you know what you’re doing with WAS security and have a need to use it in a development environment.
You’ll also notice that there’s a warning about the currently selected location for creating the profile. This is the third problem I listed above. The default location shown is for creating the profile in the installation directory of RSA. Change the location to a directory in your home directory. For instance, I told it to use /home/laura/IBM/profiles.
When the wizard has created the profile (which will take a few moments – you can see the activity in the bottom-right of the RSA window), the default server for the profile is listed in the Servers view on the right-hand-side of the RSA window. The server is listed as ‘stopped’.
Right-click the server then click Profile. This opens a dialog box about the profile; I just accepted the defaults then it failed to start the server (the error said it had failed to start within 300 seconds). But when I repeated this step, the server started.
And that’s as far as I’ve got but it’s further than ever before. If I come across any more gotchas, or take some screenshots, I’ll update this post.
Yes, it is a pain to have to do all this but remember that WAS isn’t supported (as far as I know) on Ubuntu Karmic. If you want it easier, install it on something that is supported. If you want it on Ubuntu, I hope this post (and the others I cribbed information from) helps.
Last year, after getting a Nintendo Wii, I wrote a post about its energy consumption and Nintendo’s place in Greenpeace’s electronics company rankings.
Greenpeace have updated their rankings…and Nintendo still holds bottom place. Pleased to see that Samsung and Nokia are still doing well (I have a Nokia phone and Samsung laptop and TV – part of my reason for going with Samsung was their green and ethical reputation).
Greenpeace have released their latest edition of their Guide to Greener Electronics rating Nintendo at the very bottom of the list of 18 electronics companies. It turns out that they’re bottom by default because Nintendo didn’t supply any data. So until Nintendo do supply some data, it’s not possible to tell how green (or not) they are.
Having been involved in trialling the Current Cost monitor recently, I’m interested in not only the company’s green credentials (which the Guide addresses) but the actual Wii’s green credentials, specifically its power consumption (which the Guide doesn’t seem to address). I think this kind of information would be useful to consumers – even if it doesn’t influence whether or not to buy the Wii, information about standby consumption etc would help consumers know whether they’re happy to leave the Wii plugged in 24 hours a day..
I’m interested to know because (like 6 million other people in Europe) I have a Nintendo Wii. So the other night I had a look at the Wii system settings. And found the WiiConnect24 option, which I hadn’t come across before.
In there, you can set your Wii to be:
Always connected to the internet (via the wireless connection that you’ve set up previously) regardless of whether you’re using the Wii or not (when in Standby, the orange light shows)
Always connected to the internet while you’re using the Wii but not when the Wii switches to Standby (when in Standby, the red light shows)
Not connected to the internet at all, even when you’re using the Wii
By default, after you have set up the wireless connection and enabled WiiConnect24 (which is required to be able to visit the online shop etc and which I must have enabled at some stage), the Wii is set to the first option–connected to the internet always, even when the Wii switches to Standby when you’re not actually using it. A benefit of being always online is that the little blue light on the front flashes to alert you that you have received a message (from a Wii friend or from Nintendo) or that there is an update available for you to download. Personally, this is of no interest to me.
So, anyway, AndySC took his Maplin power meter to his Wii and found that when being used (green light), the Wii draws about 15 Watts, which isn’t too bad really – considering that a laptop can take anything between 20 and 50 Watts, I think. And you’re actually making use of that 15 Watts.
In Standby without an internet connection (red light), the Wii draws less than 1 Watt. Again, not bad. You could unplug it if you wanted to save that Watt but 1 Watt on Standby is pretty good (this is based on a meter for which 1 Watt is the minimum reading, I think).
The bit that seems silly is if you leave your Wii in Standby with the WiiConnect24 internet connection enabled to be always on, the Wii is drawing about 9 Watts of power (over half of what it draws when you’re actively playing on it). Okay, I can see that for some people being alerted with the flashing blue light when you have a message is useful. And maybe it’s useful to be alerted that there’s a new update available so that you can download it when you’re not actually wanting to play on your Wii. What I don’t agree with is having the always-on option as the default setting.
From a usability perspective, having everything enabled by default is good in that the user isn’t prevented from doing any of the things that they might want to do (like receive message or update alerts). But if that wasn’t enabled, would many people actually miss it? It’s not like they wouldn’t still receive messages and alerts – they’d just find out about them the next time they switch on the Wii to play – and, presumably that’s fairly regularly if they’re into using the messaging and updates regularly.
Okay, so 9 Watts doesn’t seem a huge amount of electricity, but even if I use my Wii for 8 hours a day, every day (which is a long long way from the reality), that’s still 16 hours a day that the Wii is sitting there doing nothing at 9 Watts. And it’s that ‘sitting there doing nothing’ that really adds up against the environment and my electricity bill.
I discovered a couple of other features that require WiiConnect24 to be always on are the News and Weather channels but I think this requirement might be a bug – afterall, why should the Wii need to check the news and weather while you’re not using the Wii? When you open the News or Weather channel, I’m sure it checks for the latest information anyway. If anyone from Nintendo reads this, can you check this out?
So, the upshot is that while WiiConnect24 might be useful to some people, it’d be a bit more environmentally friendly to set it so that the internet connection is disabled when the Wii is in Standby. Let that red light glow!
I agree with Greenpeace that it’s important to know how environmentally friendly the company itself (Wii consumption aside) is so I’ll be interested to know what they conclude when Nintendo actually do provide them with data. Will Nintendo be able to overtake the dawdling Microsoft and Phillips?
First, this is my new penguin who lets me know if my phone is ringing (taken with my phone in poor light – sorry about the quality):
Whenever my phone rings or I receive a message, the penguin starts to spin round and flash lights to let me know. In fact, he even starts to spin and flash before my phone even starts to ring! How clever is he?
Second, this is my funky gorillapod – a kind of tripod for my camera but, unlike traditional tripods, it doesn’t have to be set on a flat surface. In fact, it thrives on uneven surfaces…like the back of this chair.
This is my personal website but as I work for IBM UK Ltd, I have to remind you that the postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions.