Home Babies & Children Gallery Information Free Software Reviews Blog

Stewart's Blog

Monkeys, megabytes, medical and more ...

(Children, IT, first aid and other ramblings ...)

Underwater under-sea / aquarium picture – crafts with kids

July 28th, 2010

Underwater sea / aquarium picture glue and glitter for kids

This is our latest craft picture that I’ve made with the kids.

As you can see this is an undersea / aquarium picture. The starfish is something that our youngest child had already made at nursery the rest were printed off for the children to glitter up or colour as appropriate. The use of pre-printed images worked well in that the children were able to add their own touch using glitter / glitter glue / glitter paint as appropriate with the original image showing through.

Download the pictures to print at home

Picture to print for large underwater sea picture - fishPicture to print for large underwater sea picture - fishPicture to print for large underwater sea picture - dolphin
Picture to print for large underwater sea picture - sea shellsPicture to print for large underwater sea picture - seahorse

Other crafts with kids

A response to OSGUI video 6 disadvantages of Linux

July 22nd, 2010

I follow a number of technology websites, video and podcasts when I get the time. This video has hit me as a bit of a surprise as it’s from someone that is normally pro-linux. Here’s my response to the issues raised.

First here’s the video:

My response

1/ Software community

Trolls can be bad, but they are only a tiny percentage of the real community. Ignore the Trolls and look at the great way that users support others. You just need to look at the UbuntuForums to see what great stuff is going on.

2/ Fedora

RedHat may be a commercial company, but then you say later that you should be able to make money from Linux and that Linux needs commercial support? RedHat are a commercial company that have to make a profit. You may not like all their decisions but at the end of the day they need to make money to survive.
RPM is an alternative to Debian, but that should not be a big issue for most users. Popular software is normally available in your distros repositories but if you want something that’s not open source or that has not reached that level of popularity then you do need to make do with the packages / methods by the software writer / company.

3/ Audio issues

The audio systems do cause some problems and have been evolving for some time. Hopefully in future Linux will have a single audio system that works across all applications, but some application software will need to be updated to remove the need to support all the old methods.
Many people will use Linux and never have a problem, others may struggle to get some software to work.

4/ X.org

I don’t know the technical side of the X.org server, but this sounds like all operating systems may have similar problems, although perhaps to a smaller extent. If you are trying to do something that is cutting edge then there is going to be a time when some operating systems are better and then others catch-up and perhaps improve. Software is constantly evolving and I’m sure the developers on X.org are looking to make improvements.

5/ Software bugs

This point is about software bugs / incompatibilities. Unfortunately there are bugs, but there are in all useful software. Sometimes these can be fixed with some help from the good Linux community. At least you don’t have to pay out huge sums of money for buggy software as I’ve done in the past with other operating systems and applications.

6/ Commercial software

I take offence at such a sweeping statement about Linux users being freeloaders. Linux being free (as in cost) does appeal to me, but then I’ve also bought commercial software for Linux (Crossover) and contributed financially and in other ways to open source software. We are not just Freeloaders. Even if we are then you appear to miss the point of Free and Open Source Software. I wouldn’t be able to afford to do everything that I do with Linux and other Free software if I had to pay the same pricing as most Microsoft pricing. If commercial software companies can provide applications that provide something that people want and at a price they can afford they are likely to sell.

Summary

Some of the points you raise are valid, but we’re not selling some kind of software utopia. Linux has come a long way, but it’s not perfect, but then neither are many other operating systems and software applications. I am a big fan of Linux, I don’t think it’s perfect, but it does what I want at a price I can afford.

It sounds like you have had some bad experience with the Trolls, but you should just ignore them and get on with using Linux (or whatever other operating system you prefer) and providing your service to the community. I hope that remains Linux, but if not then that’s your choice.

If you think that you can offer a service that people will pay for then go for it. If it’s promoting or providing a service for Linux users then that’s going to benefit Linux overall.

What’s my IP address

July 19th, 2010

Sometimes you need to know your IP address. Sometimes it needs to be the real IP address that you appear as on the Internet and not just the fake one that your local router uses. An example is when I blocked access from visitors whilst upgrading my blog.

Public vs. private IP addresses

First thing is you need to understand the different between public and private IP addresses to know which address you should be looking for. It’s explained in detail in the Networking reference guide, but I’m guessing you’d rather have it condensed down to less than 5000 words.

Basically put your IP address is a string of numbers that identifies your computer on the Internet. When you are going to a website such as www.penguintutor.com that name is translated into the IP address (currently 213.171.218.150) and that’s where your request goes to. The problem is that we are running out of addresses and in some cases (eg. for security reasons) you may want to hide behind a local IP address.
There are some addresses that are reserved for private address ranges which are:

Class A		10.0.0.0         to        10.255.255.255
Class B		172.16.0.0       to        172.31.255.255
Class C		192.168.0.0      to        192.168.255.255


If you are using a home router rather than connecting directly to a ADSL/Cable Modem then you will most likely be given a private IP address from one of the ranges above and your computer will appear to be from the Internet IP address of the router when connecting to a site on the Internet.

If you are wanting to connect to a local machine on the same network (eg. to share files between computers on the same wireless network) then you normal need to know the local ip address. If however you are looking to add your IP address to a server on the Internet then you need to use the real Internet IP address.

Finding your local IP address on Linux

With Linux you can issue the ifconfig command. Then look for the address inet addr:


eth0      Link encap:Ethernet  HWaddr 00:1d:6c:3b:d4:a0
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:31ff:fe0d:d9a0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:755027 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1045478 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:118125432 (118.1 MB)  TX bytes:1268529451 (1.2 GB)
          Interrupt:16 Base address:0xa000

Finding your local IP address on Windows

On Windows you can open a command prompt and run the command IP Config.


Windows IP Configuration
Ethernet adapter Local Area Connection:
        Connection-specific DNS Suffix  . : penguintutor.com
        IP Address. . . . . . . . . . . . : 192.168.1.232
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1

Finding your public IP address

If you need to find your public IP address then that will need to be done over the Internet. It is possible you may have a different proxy IP address to the address used for other protocols, and you could also have a proxy that gives different IP addresses per session but to keep it simple I’m assuming that the address you get to this server with is the same as the one you need.

In that case your IP address is:
38.107.191.117

In this case the it’s just 2 lines of PHP code which can be included in an appropriate php file on a webserver:


$ip=$_SERVER['REMOTE_ADDR'];
echo "$ip";

Note: This is all based on IPV4 which is what most of us are using when I wrote this. IPV6 has many more IP addresses and different private address ranges (see RFC4193).

Day out at Marsden tunnel end – Standedge tunnel canal trip and museum

July 15th, 2010

The Standedge canal tunnel is the longest, deepest and highest canal tunnel in Britain. It was opened in 1811, closed in 1944 and then was reopened in 2001 as a part of the Huddersfield Narrow Canal restoration.

Marsden Tunnel end is at the Yorkshire side of the Standedge canal tunnel and has been developed into a tourist destination including a cafe, boat trips and a visitor’s centre.

Marsden tunnel end cottages - Standedge canal tunnel

I have visited the area around Tunnel end, but it has been a long time since I have visited and this is the first time I’ve visited as a family day out with my children. Here are some of the main features of the site.

Car park and railway station

There is a free car park adjacent to the Marsden mainline railway station. This is a 15 to 20 minute walk from the Marsden Tunnel end site along the canal towpath. There are also a small number of disabled parking spaces by the cafe and visitors centre.

National Trust Marsden Moor Exhibition Centre

At the car park there is a free National Trust Visitors centre. This contains some displays and hands-on activities. It is only a small building, but worth spending about 15 minutes or so to explore. There are no toilets at the National Trust exhibition centre or car park (see later for locations of toilets).

Tunnel End Cottages – Cafe and shop

The tunnel end cottages are shown in the photo above. These house the cafe and a small shop and sell tickets for the boat trips. The cafe includes indoor seating. There are also some outdoor picnic tables located around the cafe and nearby area. We didn’t use the cafe as we took our own lunch with us, although we did purchase ice creams from the shop. I believe that the picnic tables, can be used for food not purchased from the cafe, at least we didn’t see any signs contrary and others were doing similar.

There were also some colouring, toys and other activities that could be used on either the picnic tables outside or on tables inside the shop area.

There are toilets and baby changing available within the tunnel end cottages.

Standedge Tunnel Visitor Centre

Waterways visitor centre at Standedge canal tunnel Marsden

The Standedge Tunnel Visitors Centre is a building close to the tunnel end cottages. There is a maintenance dock in the middle of the building with some exhibits and activities located around. This includes history of the canal and tunnel and some hands on games and toys. The visitor centre is free to enter and appears to be mostly unstaffed allowing visitors to use at their leisure. The visitors centre also has toilets inside.

Tunnel boat trips

The highlight of the visit to Marsden was the boat trip into the tunnel. The trip lasted for about half and hour. The glass topped boat drives into the tunnel for about 15 minutes and then reverses back out again. There is a guide that describes the way that the canal and railway tunnels were built and also showed some of the tools used passing them around to look at.
If you are feeling a little more adventurous you can sit in the open front part of the boat, wearing a hard hat for safety reasons. We sat in the front for the first half of the trip and then went inside for the journey back out again. The tunnel is not lit, but there are lights on the boat. The boat lights were turned off briefly whilst stationary, but we were warned about it and the staff did have torches.
Children were given a certificate to say that they’d been in the tunnel.

Once a month there is also a passenger boat which goes through the full length of the tunnel.

Summary

If your children enjoy going on a boat trip then it’s well worth a visit to Marsden tunnel end. It”s a shame that there is not an outdoor children’s play area, but there are several indoor activities including colouring and indoor games.

Related

Website maintenance alternate page using .htaccess

July 12th, 2010

In an ideal world your website would be up 24 hours a day 7 days a week. You’d perform upgrades on an identical system and seamlessly cut over without any customers noticing, and that would be available at no extra cost. Back in the real world and you soon discover that the cost of having a second server and of the other high-availability features puts this out of the reach of most smaller websites.

An upgrade in progress message is not ideal, but it’s cheap, easy and is better than embarrassing error messages.

When upgrading WordPress the recommended procedure is to disable plug-ins and then delete some of the folders before uploading the new code. This means that the site can look pretty bad during the upgrade. This results in badly formatted pages, unsightly code and script error messages.

To make it a little better during my recent upgrade I redirected users to a temporary page using the .htaccess file and mod_rewrite module.

These are the steps that I performed to provide a temporary site unavailable page during the upgrade. More details of the WordPress upgrade procedure.

Offline page using .htaccess during wordpress upgrade

One of the challenges when taking part of a site offline is identifying what pages need to be redirected to the temporary page. Previously I only used wordpress for my blog, so I could just redirect the blog section and leave the rest of the site as normal, but since I now use WordPress for my entire site that is no longer possible.

Once I’d decided to redirect the entire site some potential problems arose.

Upgrade in progress message also redirected
One was that I couldn’t actually display the upgrade in progress page as it would also get caught by the same redirect and end up in a perpetual loop. Thankfully this issue is easily resolved with an additional rule in the .htaccess file (see later).

No CSS / images
The other problem is that the page is made up of several images and css files which are required to maintain the formatting. Whilst it is possible to redirect just the pages / posts and leave the images and some CSS files available for use in the not available page this would have needed a much more complex set of rules and I decided it wasn’t worth going to so much effort for the 30 minutes or so that the site would be unavailable. An alternative would be to provide the CSS and images from another site, but again I didn’t think that it was worth it for such a short period of time. I therefore used a very basic text only html file to provide the upgrade in progress message.

Need administrator access
Another challenge is how to access the administrator pages website during the upgrade which is required to perform the upgrade (eg. make any changes to the database) and to re-enable the plug-ins before making the site live again. Again it would be possible to create a complex ruleset to get around this, but instead I just used a simple rule to stop my computer from being redirected so that I could still get to the administrator pages.

The first step is to create and upload the temporary page. In this case I used a very basic text only html page which I named offline.html.

The following was then added to the .htaccess file in the top level of the website. More details on using mod_rewrite on Apache.

RewriteEngine on

# Temp maint mode for wordpress upgrades
# set IP address appropriately
RewriteBase /
RewriteCond %{REMOTE_HOST} !^123\.123\.123\.123
RewriteCond %{REQUEST_URI} !/offline\.html$
RewriteRule .* /offline.html [R=302,L]

This works as follows:

  • enables the rewrite rules (this was included in my .htaccess file already)
  • sets starting position as the top level
  • excludes my IP address (replace 123.123.123.123 with your own IP address)
  • excludes the offline.html file from the rule (otherwise you end up in a perpetual loop – not a good thing)
  • then replaces anything on the URL with /offline.html

The use of response code 302 is to indicate a temporary redirect.

Review: Day out with Thomas the Tank Engine at Kirklees Light Railway

July 5th, 2010

I’ve already written a review of taking children for a day out at Kirklees Light Railway, which had the regular engines from Kirklees Light Railway. Our second visit to the light railway was during a special day out with Thomas weekend, featuring Thomas the Tank Engine and some of his friends.

Thomas the Tank Engine at Kirklees Light Railway, Clayton West

The Kirklees Light Railway holds these events on about 5 weekends in the year with other railways using the engines at other times. We visited on the day of a England game during the 2010 World Cup, which may mean that this was less busy than similar weekends.

The day out with Thomas days are more expensive than the normal return tickets, but they include some extras in the price of the tickets.

In addition to the trip up the main track each child ticket gets 6 extra tokens marked on the ticket. These can be used for other activities including: Platform ride with Mavis and The Troublesome Truck, Short ride in Thomas / Toby train, ride on the sit-on miniature railway, face painting, bouncy castle and donkey rides.

Mavis and The Troublesome Truck platform ride - Thomas Day at KLR

There is also a children’s playground at Clayton West and some other activities that are at Shelley (other end of the line) including bouncy castle, playground and a marquee with colouring, games and temporary tattoos.

The main train is sometimes pulled by Thomas the Tank Engine, but is normally pulled by Percy or one of the normal KLR engines such as Owl and Fox, which feature a smiley face.

Percy and Owl at KLR's Day out with Thomas

Day out with Thomas vs. Day out at Thomasland

For Thomas the Tank Engine fans it’s a great day out, but how does it compare with a day out at Thomasland (Drayton Manor Theme Park)?
It’s not really possible to make a direct comparison, but here are a few of the pros for Day out with Thomas at Kirklees Light Railway and Thomasland at Drayton Manor Theme Park.

Day out with Thomas at Kirklees Light Railway

  • Much cheaper (depending upon special offers at Thomasland)
  • Real steam trains (similar size engine to Thomasland main trains)
  • Longer train ride down a real former railway line
  • Meet Mavis and Toby
  • Ride in The Troublesome Truck
  • Up close and personal with the engines
  • Minimal queues

Thomas land at Drayton Manor Theme Park

  • More geared towards children
  • Better themed for a more “life like” visit to Sodor
  • Shorter train ride better for younger passengers
  • Lots more Thomas and Friends themed rides
  • Part of a much bigger Theme Park

Conclusion Thomasland vs. Day out with Thomas

For Thomas the Tank Engine fans both Thomasland and Day out with Thomas are great and kids with love them. Train enthusiasts will prefer the real steam trains at Kirklees Light Railway, but children will probably prefer the number of rides at Thomasland. My kids love both.

Thomasland is normally much more expensive, but there are some good discounts available at certain times and events at Thomasland.

Toby and Thomas at Day out with Thomas at Kirklees Light Railway in West Yorkshire

Thomas The Tank Engine and KLR related links

First aid awareness for children – a guide for parents

July 1st, 2010

During first aid awareness week, I thought it may be useful to consider how parents could approach making their children more aware of first aid in the home.

In this post I’m assuming a child to parent relationship, but this could equally apply for a guardian, other family members or for friends of the family. Depending upon your relationship with the child or their parents you may want to discuss this with the child’s parent or guardian first.

Young girl first aider

I have had some experience in teaching first aid to children including spending a time as Badger leader (St John Ambulance members from age 5) and teaching cubs and scouts. Whilst the amount and depth of first aid knowledge for these groups is less than the training I’ve given to adults, I’m impressed by how much first aid young children can actually learn. The fact is that during real incidents young children have and continue to save lives as evidenced by the young first aider of the year awards which during 2009 included a child as young as 6 years old [2009 young first aiders of the year]. My eldest child is 4 years old and already knows the number to dial if someone is sick and needs help.

What age is too young?

I don’t think there should be a minimum age as such, but I think about 4 to 5 is a reasonable age to start. In the case of my daughter she already knew the phone number for calling the fire service with the help of a Fireman Sam Live on stage DVD, so that was a useful starting point.

I’ve taught first aid to Badgers from about 6 years old, but the syllabus was much less than older children.

What to teach?

It is important to tailor the first aid teaching to the age and maturity of the child.

Young boy making an emergency 999 call

For a young child then you can introduce a first aid kit and the basics of calling for help – dialling 999 etc. A little older then it can be useful to introduce the recovery position and some emergency conditions, and for older children then they can learn most of the normal first aid protocols.

Who can teach first aid?

Whilst I would always encourage adult training to be performed by a qualified instructor, providing an awareness of first aid to children can be done by anyone. Introducing the basics of first aid through the home environment can increase the awareness level for young children and capture their interest to further their knowledge when opportunity arises.

If you are covering the very basics such as putting on a plaster or how to call for emergency services then anyone should be able to teach those skills.

If you want to provide an awareness of simple first aid then a competent first aider should be able to provide that. The first aider should be up-to-date with the current protocols (which are much easier than some of the ones in the past), have a recent copy of the First Aid Manual or a reference specifically designed for teaching children and ensure they only cover topics within something that they are able to explain confidently.

To provide more comprehensive first aid training it should be provided by someone that is competent in first aid, but that also has some knowledge or experience of teaching children or first aid.

First aid knowledge is obviously provided within the youth groups of St John Ambulance, but also by other uniformed youth groups such as the Scouts and Guide organisation. These groups will sometimes perform the training themselves using a first aider or may get trained first aiders in to provide specific training.

More information on formal first aid training.

Should I tell the child about my asthma / diabetes / heart condition?

I think that this is one area where family input can be particularly useful even if your child has received formal first aid training. Many of the occasions where young people have had to perform first aid have been in the family home, some of which relate to existing medical conditions. Your own knowledge and experiences of the condition can come in helpful in the case of an emergency.

Again this will need to be tailored to the age of the child.

As an example of where this could be useful consider a parent with asthma who is prone to severe asthma attacks. You can explain to the child what an attack is like which may help them to recognise the symptoms and to keep calm. During the attack you may be unable to speak but if they already know that they can dial 999 for an ambulance that action alone can be enough to get help on the way.

This is just one example – you will know about your condition and be aware of what help you may need.

What about my child’s safety?

Obviously the child’s safety must be first priority. This is the same when adults provide first aid, but is more of a concern with a child which may not be aware of some of the dangers.

In the previous example I specifically avoided suggesting that a child be told about where the parent keeps their emergency medication. Young children can be inquisitive when left alone and so any medications should be kept in a locked cupboard out of the reach of young children. If you are diabetic and you make your child aware of where an emergency chocolate bar is stored then that is obviously safer than if you tell them where a inhaler or angina medication is kept. You will need to make a decision based on your child’s age and maturity whether they can be fully trusted to not misuse the medication, but the child’s safety needs to take priority.

Whenever teaching anyone, especially a child, first aid then dealing with danger should be the first priority. By highlighting some of the dangers around the home can make children safer than those that haven’t been actively taught about the dangers. There are some child safety resources on the Child Safety Week website.

Useful resources

This is all my own personal opinion and not reflective of the opinions of any organisations mentioned on this page or any others that I am involved with.

First Aid Awareness Week – 28 June to 2 July 2010

June 28th, 2010

28 June to 2 July 2010 is First Aid Awareness Week. The campaign is being run by Dorling Kindersley (publisher of the First Aid Manual) along with the UK’s leading First Aid providers – St John Ambulance, St Andrew’s First Aid and the British Red Cross.

It’s a great opportunity to think about what first aid knowledge and equipment you have in your home or workplace and whether you are prepared should the need arise.

Here are a few things that you could do to help prepare your family in case first aid is required:First Aid kit

  • New to first aid (or more than 3 years since a course)? Sign-up for first aid training.
  • First aid training less than 3 years ago? Consider a refresher course
  • Make sure you have a recent edition of the First Aid Manual (9th edition) and have a read through
  • Try the quiz and games on www.FirstAidQuiz.com
  • Give your family and children an awareness of basic First Aid
  • Check your first aid kit is complete and in-date
  • Get a car / holiday first aid kit for when travelling
  • Check for any hazards around the home to reduce the need for first aid
  • Volunteer with St John Ambulance to get real hands on experience

Learning first aid could help save a life! Don’t leave it until it’s too late!

What are you doing for First Aid Awareness Week?

Let everyone know if you are doing anything for First Aid Awareness Week by leaving a comment below. It could be as simple as buying new plasters for your first aid kit, or you could be involved in a national publicity scheme – I’d be interested in finding out more.

Upgrade of WordPress blog to version 3.0

June 23rd, 2010

I have now upgraded WordPress to version 3.0.
WordPress provides the website and blog on Watkissonline, as well as uploading posts to the First Aid Quiz and Penguin Tutor web site. See: Website powered by WordPress.

Version 3.0 provides numerous new features providing more CMS features, as well as multi-site blogging.

I use my own custom theme so there is no visible difference to visitors of the site. So far I have not tried any of the new features as I am using my own custom scripts to provide some of that functionality already, but I’ll be taking at look at whether it is better to run my sites directly as a multi-site wordpress site rather than using the scripts.

The upgrade was fairly straight forward. It took about 30 minutes to upload the new files. During an upgrade of WordPress there is a good chance that visitors will get an unsightly error message, so during the upgrade I took the site offline by using a .htaccess rewrite (more about that in a future post). Once the new files were uploaded it was a single click on the “Upgrade” button in the Dashboard and the new site was up and running.
There is also an automated online upgrade option, but as this was a large version number upgrade I performed the steps manually so that I could monitor the progress more closely (WordPress automatic upgrade, but no status indication).

Find out more about WordPress 3.0 in the following video.

Birmingham Accident and Emergency is now at the QE

June 19th, 2010

The accident and emergency department for Birmingham has now transferred from Selly Oak hospital to the new Queen Elizabeth Hospital Birmingham (QEHB) in Edgbaston.

Twitter Status - follow stewartwatkiss


Linux, LPI and the Quiz / Test Program posts are also available on the Penguin Tutor website
First Aid Information, first aid games and first aid practice test / quiz entries are also available on the First Aid Quiz Web site