20 is plenty
March 27, 2008 at 20:23 | In Grumpy Old Man | Leave a CommentTags: Bath, children, eastleigh, hampshire, road safety, schools, speed, speed limit, traffic, transport
I’ve been meaning to post about road safety outside schools for a while and a rare sighting of common sense yesterday has provided a nice photo to illustrate the way I’ve long thought speed limits outside schools should work. There is a school at the end of the road I live in which provides plenty of entertainment as parents cause utter mayhem and chaos at the start and end of the school day. So far the council has mostly resisted the cries of, “Won’t Someone Please Think of the Children?” with pointless pinch points and a couple of “20 is plenty” signs rather than some of the more ridiculous options I’ve seen. I’m convinced that some of the crazier road schemes actually make things more dangerous for the children who do walk to school.
So what’s the answer? Well, driving more slowly when there are mad parents driving 4×4s badly does seem like a good idea (also good if there are children running about the place) however a permanent 20 mph speed limit is over the top for the short times at the start and end of school that it is intended for. Then there’s the school holiday. The answer is so blindingly obvious that I’ve been wondering for years why it hasn’t already been done but I’m happy to say that it has already been done, outside schools near Bath:
Simple and clear. The lights are already there and a sensible sign like that won’t cost any more than daft efforts with snails on. Enforcing it would help of course, especially to begin with, preferably with a real person who could assist parents with not driving quite so dangerously at the same time. Might send this photo to Eastleigh council to see whether they want to try it.
The next huge improvement for safety would be for schools to admit that most parents drive their children to school and make proper provision for cars to drop off and collect children safely with staff on hand, on school grounds! (The space would be free the rest of the day as a playground.) Getting rid of all the cars parked where children want to cross the road would help wouldn’t it? Maybe that’s a little too crazy!
Google wide web
March 24, 2008 at 00:24 | In Life, the Universe, and Everything, Ones and Zeros | 9 CommentsTags: google, internet, Phorm, Warwick, web
Earlier today I was reminded that working with computers all day gives you a different view of the internet to, for want of a better word, normal people! For instance, I don’t use Google to find sites I already know about, preferring URLs or del.icio.us, while I think to some people Google is the internet. They use Google, and feel lucky, when they are returning to a previous site. I was also asked why Google doesn’t always find the right site- they were looking for a hotel and the search results included the one they were looking for, along with hotels of the same name in different places. Targeting the right search results to people, instead of adverts, might be interesting, if we’re going to be watched anyway that is.
Later in the day Google failed me as I was unable to find anything about some artwork from my time at Warwick (it was a traffic cone and plastic pipe triffid-like sculpture which appeared in different locations around campus each day – brilliant – but can’t find it anywhere using google, or on flickr, hmmm). Still, it seems that Warwick blogs and I did stumble across a review of something I was thinking of getting for a spot of DIY home automation. Perhaps random Google search results are the modern day alternative to reading tea leaves?
RESTful house
March 19, 2008 at 23:56 | In Life, the Universe, and Everything, Ones and Zeros | 8 CommentsTags: arduino, home automation, Linksys, mqtt, NSLU2, REST
Possibly a little premature (not sold the current house yet!) but I’ve been pondering the opportunity for playing with home automation when we find a new house.
Not even having the house yet means I have a completely blank canvas so I’m on the look out for ideas. On the hardware side, Nigel has mentioned Arduino a few times which sounds pretty interesting, plus there’s the Slug option. Laptops seem to get used too but I’d rather avoid that. On the where to start side, Andy’s house uses MQTT, is in Second Life, Twitters, and has a pretty worrying power meter graph, which should provide a few ideas! He’s not the only one- it would seem that IBMers like their home automation projects. Like Glenn, low cost is high on my list of requirements (I will have just undergone open wallet surgery buying a house!) although I suspect my idea of low is lower than Glenn’s! I also want it to be low power- very low power, so I’m pondering some sort of mesh approach to avoid any kind of server… as such… just because really! I quite like the idea of giving the house a REST interface. I don’t want any fans. So a clear set of requirements there then.
Any thoughts, suggestions, success/horror stories?
Canteen Mash
March 12, 2008 at 15:12 | In Ones and Zeros | Leave a CommentTags: cars, commuting, expenses, gas, Maps, mashup, mashups, petrol, travel
Over lunch we were discussing how it would be handy to know whether a paycut would be covered by cost savings of a shorter commute. A mushup to do the calculation for you seemed pretty doable, and you could use the same thing to find out how much money you’d save working at home a couple of days a week. Oh yes, and the environment etc.!
Well, it seems that there are at least a couple of mashups already that do part of the job. Unfortunately both these examples are a bit US-centric and don’t take in to account PAYE (so now I’m being UK centric!) but they’re a good demonstration.
I also discovered that the OS now have an API! Looking through their FAQ, they (or more likely their lawyers) have some funny ideas about how the web works, but still, better than not supporting mashups at all.
SLorpedo Tweets
March 8, 2008 at 23:19 | In VU | 2 CommentsTags: qttext, quicktime, rss, second life, slorpedo, tinysl, tweetjects, twitter
If plants can twitter, bridges can twitter and houses can twitter, why not mixed reality games? To find out, I’ve created a SLorpedo twitter account to experiment. To make it simple to find any SLorpedo games in world I’m planning to tweet locations using TinySL. Twitter also seems like a really nice way to get the score back out of Second Life; at the moment the score is only shown inside Second Life, but I quite like the idea of using a virtual world to work out the score for a real life game without ever logging in!
I also think that twitter might be an interesting way to keep track of object keys and channel keys inside Second Life, without needing my own server. So instead of copying a channel key from the Second Life client, the SLorpedo program could find out the key from Twitter… maybe.
To spiral further into mixed reality confusion, I’m also trying to display the SLorpedo Twitter feed back inside Second Life using QTtext. QTtext is a really simple way to display text on a prim using a plain text file and a media texture (even simpler than HTML on a prim which is on its way at last) and I’m hopeful that a bit of XSLT on a Twitter RSS feed will do the trick nicely.
Local pub
March 7, 2008 at 09:47 | In Life, the Universe, and Everything | 4 CommentsTags: bishops waltham, houses, location location location, pubs
Still trying to decide where to live so, with the ideal ideal excuse of a friend’s birthday, I did some important research on one possible location: the local pub! Now my current local is a disaster, so it’s a pretty low bar to beat, but the Bunch of Grapes was a bit of a revelation- if only I hadn’t been driving!
So on the plus side: same distance to work, a very nice meal there on Tuesday, and a great local. On the minus side: it’s a little out of the way (I would definitely miss my station) and I’m not from round there :)
It’s on the (not so)short list.
Buy With Confidence
March 2, 2008 at 21:35 | In Life, the Universe, and Everything | Leave a CommentTags: buy with confidence, consumer, conveyancing, house, legal services, solicitor
I’m quite a fan of Buy With Confidence so I thought I’d have a look on the site before getting some quotes for conveyancing, unfortunately it seems that Legal Services is a pretty empty category! Interesting.
Any recommendations? Or warnings!
Setting up an MDM Server development environment
March 1, 2008 at 23:49 | In Ones and Zeros | 14 CommentsTags: IBM, information management, infosphere, mdm, mdm-server, mdm-workbench
There is now an MDM Workbench white paper which covers development environment set up, and continues with the subsequent tasks required for a complete MDM Server extension.
So you’ve got your brand new Master Data Management Server and you want to get down to doing some development on it. Here are the steps I use to get up and running. (I’ll update them if I discover any other useful tips, or glaring errors!)
You will need:
- Prereq software installed*
- MDMWorkbench.zip and MDM80_WAS_AIX.tar.gz files from MDM Server
* Make sure you do not have the WebSphere Application Server feature pack for web services installed in RSA. If you do have the feature pack installed, you will need to use the IBM Installation Manager to uninstall the whole WebSphere Application Server version 6.1 runtime, not just the feature pack, and reinstall the runtime without the feature pack selected. The DB2 prereq (DB2 Enterprise Edition 9.1 fixpack 3a) is also very important. See below for log locations if the MDM database is not created properly.
Preparation:
The first part of this preparation covers clearing up from previous attempts to set up an MDM development environment, which you can skip if you are using a machine for the first time.
- Drop any existing MDM database using the DB2 Control Center
- Delete all WebSphere profiles using manageProfiles -deleteAll in <SDP70_INSTALL>\runtimes\base_v61\bin
- Delete directories left behind by the profile delete, by default in <SDP70_INSTALL>\runtimes\base_v61\profiles
- Use the following command to create a new WebSphere profile, replacing <PLACEHOLDERS> with the correct values for your system (I use localhost for <HOSTNAME> and you can find out your <MACHINE_NAME> by running echo %COMPUTERNAME% in a Command Prompt window):
manageProfiles -create -winserviceCheck false -omitAction defaultAppDeployAndConfig -templatePath "<SDP70_INSTALL>\runtimes\base_v61\profileTemplates\default" -profilePath "<SDP70_INSTALL>\runtimes\base_v61\profiles\MdmDev01" -nodeName <MACHINE_NAME>Node01 -cellName <MACHINE_NAME>Node01Cell -enableAdminSecurity false -profileName MdmDev01 -hostName <HOSTNAME> -isDeveloperServer
- Start RSA and create a new workspace with a short path length, for example, C:\ibm\mdm. This is important because long path lengths can cause problems when importing EAR files in to RSA
- (If you are not prompted to choose a workspace location when starting RSA, use the File > Switch Workspace… menu option after RSA has started.)
- Open the ‘J2EE’ perspective and enable J2EE capability if prompted
- Open the ‘Servers’ view
- If the server is not already shown, right click in the ‘Servers’ view, choose New > Server, and enter details for the WebSphere 6.1 server1 created with the profile earlier
- Right click the server and choose Open
- In the ‘Publishing’ settings, select the ‘Run server with resources on Server’
- Open the Window menu and choose Preferences… Set the default JRE for new Java projects to ‘WebSphere v6.1 JRE’ on the Java/Installed JREs page.
- Install the MDM Workbench if you have not already done so.
Using the Developer Environment Setup Tool (DEST):
To open the DEST wizard open the File menu and choose New > Other… then filter for ‘MDM’ and pick ‘MDM Development and Test Environment’
When using the DEST wizard, double check all the values it asks for. The defaults may not be correct for your system and the values are not validated. For example, if the database home is wrong or does not exist, you will only find out when errors occur later.
- Start the DEST wizard and run the last step (‘Restore the MDM Development Environment Setup Tool’) on its own. This is not strictly necessary, especially if you haven’t run the wizard before, but best to be on the safe side!
- Start the DEST wizard again and run the first 5 steps (up to and including ‘Create an MDM Server Database’)
- Fill in all the requested values to match your system, including the name of the profile you created earlier. Note: the ‘MDM distribution file’ it asks for is the ‘MDM80_WAS_AIX.tar.gz’ file
- When the tasks have been completed, test the data sources that have been configured using the WebSphere administrative console**
- Close the administration console and restart the server (this is required to complete SIB configuration)
- Start the DEST Wizard again and run the remaining steps up to and including ‘Validate MDM Installation’
- When the tasks have finished, refresh the ‘xml’ folder in the ‘InstallVerification’ project and check the responses from MDM.
If the responses look good, you’re ready to start using the MDM development tools! That’s something for another post though.
** To check the data source settings:
- Right click the server in the ‘Servers’ view and choose ‘Run administrative console’
- Open Resources > JDBC > Data sources in the navigation pane
- Check the driver type is set to ‘4′ (not ‘,4′) in the DWLConfig, DWLCustomer and EventManager data sources
- Use the ‘Test Connection’ option to double check all is well
Where to look if things go wrong:
As well as the usual WebSphere logs, you can find MDM specific logs in <RSA_WORKSPACE_LOCATION>\logs, i.e. under the same directory as all the projects in your workbench.
Logs from the ‘Create an MDM Server Database’ step can be found under the MDMDatabase project in the RSA workspace . Look for the CM and CUST directories under WCC/DB2/Standard/ddl (you may need to refresh before the log files appear in the workspace).
Another good thing to check is the CONFIGELEMENT table; if it does not contain any data, the ‘Deploy MDM Server Configuration to WebSphere Profile’ step failed. Check the ManagementAgent.log and ManagementConsole.log files in <RSA_WORKSPACE_LOCATION>\logs.
Update: If you want to try running some MDM transactions after setting up the development environment, here’s how. (14 July 2008)
Update: Added hints for <MACHINE_NAME> and <HOSTNAME> placeholders. (22 August 2008)
Update: Added link to new white paper. (27 May 2009)
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.