of course random pic
November 2009 [prev] A Publication of Well House Consultants Ltd. Volume [current]; Number [current]
Public Open Source Training Courses running this summer and autumn in Melksham
We've got a continuing series of Open Source courses scheduled through the summer ... as I write (late April) we still have availability on all public courses, although in one or two cases our rooms at Well House Manor are all spoken for.

Python - 2 courses, each every 2 months - one for newcomers to programming and the other for people who have programmed before in other languages. We're talking Python 2.6, but with strong coverage now of Python 3.1. [link]

Perl - 3 different courses - one to teach you Perl, and the other two more advanced, covering OO and Web use. Still at Perl 5, but plenty of talk of Perl 6. [link]

PHP - No fewer than five courses! We'll teach you whether or not you've programmed before, and we have special weekend courses which are tuned for the leisure / hobby market too. And the more advanced courses cover not only the language, but also the application of PHP to make really effective web sites. All courses are PHP5 based, with consideration of PHP6 ...-> [article continues]
(Written 2010-04-27)
The word global is used in declaring variables in some languages such as Tcl and Python to indicate that the variable being referred to is shared with the variable of the same name at the top scope. To use the word global, which implies that the declaration makes the variable visible everywhere, is misleading

The word enable is used in places such as the Apache http server build process to request that a facility is included within the build. But it does not mean that the facility is actually switched on and usable when the build has been done - other quite separate configuration work is needed to truly enable it!

I have some sympathy with the people who have to come up with words to describe what these words actually do - I'm not sure if I would have done any better; I do know that I have to be very careful when explaining "Global" and "Enable" on our courses.
(Written 2009-11-30)
Faster network, but not faster browsing until ...
We switched up to the 50 Mbyte Virgin Cable service a few weeks back - looking for still faster internet connection. Most of the time, our traffic levels don't need such a high speed link, but we've two dedicated servers (housed in England and Germany) and we need to take incremental and occasionally full backups - and at such times the service provides a seriously shorter transfer. It's also good for faster upload at the times we're viewing webcams over the link.

But, curiously, browsing speeds hadn't improved. A distinct pause from page to page, and a message at the base of the browser "looking up www.google.com" or some other domain name gave us the clue ... the DNS servers that we've been using appear to have been overloaded, or are perhaps being used to throttle back traffic.

Chris pointed me in the direction of Google's public DNS service, with a DNS server at 8.8.8.8 and another at 8.8.4.4 - see [here] for details - and a switch to using those machines gave an immediate obvious improvement. I've switched a couple of our systems to use the Google service, and I'm going to watch how it goes. And perhaps we should set up a local DNS server at the hotel and at HQ to cache address lookups.

We will see some other differences ... a mistyped domain name that points to something that's not registered has been leading to a Virgin Media search results page; now it leads in many circumstances to Google's best guess. So there's another positive outcome. Part of me worries that Google is becoming a bit of a monopoly, but they're providing a technically excellent product once again.
(Written 2009-12-14)
Changing Images
The simplest ideas are often the best ... and the simple idea of having a picture that automatically changes from time to time on your web page helps keep your customer's interest up when he returns to your site. You're seeing a picture of our dog Gypsy to the right of this block of text, but I don't know exactly which one ...

On yesterday's PHP course, I wrote an example that selects the picture that is displayed based on the number of minutes that have elapsed into the hour - you can run that page [here] and you can see the source code [here]. It's an easy step to change the "number of minutes" into a "number of hours" into the day, and produce a page that shows a different image depending on the time of day - a nighttime shot until 7 a.m., then a breakfast, followed by ... well, you'll be getting the idea.




A further request that your customers may make is for changed character sizes, backgrounds, etc - and if you provide a "service" you've a legal requirement in the UK to take all reasonable steps to ensure your service is accessible to the disabled, which means (on a web site) that you should provide this flexibility, no ...-> [article continues]
(Written 2009-12-17)

Further recent articles by subject:
PHP - the language and its application
Python Programming
The Perl Programming Language and its use
Programming in Lua
C and C++ Programming
Java and the Java Environment
Ruby and Ruby on Rails
Tcl, Tcl/Tk and Expect
For the Webmaster, Postmaster and moderator
Apache HTTP and Tomcat Servers
Linux and Shell Programming
SQL and MySQL
Client Side Languages (HTML, CSS, Javascript)
General Programming Topics
Keynote and 'Of Course' Articles
Unclassified articles
Well House Manor - Hotel and Training Centre
Training from Well House Consultants
Melksham
Running a training and hotel company
Around, about and nearby to Wiltshire
Public Transport
Fun and Flames
And also ...

Other editions: July 2010May 2010March 2010January 2010November 2009September 2009July 2009May 2009March 2009 • this is the current edition
© WELL HOUSE CONSULTANTS LTD., 2010 : Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 0800 043 8225 or 01225 708225 • FAX: 01225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

Linux and Shell Programming
[2896] LAMP - Linux, Apache, MySQL, PHP - install, configure, administer - (new - 2010-07-30)
[2831] Recording (a macro) in vi
[2639] su or su - ... what is the difference?
[2638] Finding what has changed - Linux / Unix
[2636] Linux - useful tips including history and file name completion
Top or Show all for Linux and Shell Programming

Apache HTTP and Tomcat Servers
[2900] Redirecting a page - silent, temporary or permanent? - (new - 2010-08-03)
[2859] Using java, javac, jar, and CLASSPATH - a simple example
[2773] Dynamically watching your web site via a PHP wrapper
[2768] Carrying a long URL around - looking for memorable shorts
[2753] You do not just fly - that is just part of the journey
Top or Show all for Apache HTTP and Tomcat Servers

C and C++ Programming
[2851] Further C++ material - view new or old
[2849] What are C++ references? Why use them?
[2848] C course - final course example puts it all together
[2845] Objects and Inheritance in C++ - an easy start
[2844] Learning about Regular Expressions in C through examples
Top or Show all for C and C++ Programming

Melksham
[2932] Getting into and out of Wiltshire towns .. a.k.a. Car Parking? - (new - 2010-08-23)
[2902] Community consultation - a true open input - (new - 2010-08-04)
[2891] Wiltshire Council ask how they can help businesses - (new - 2010-07-27)
[2883] Melksham Oak - photos of the new community school - (new - 2010-07-22)
[2872] Moved - Melksham Lorry Park - (new - 2010-07-15)
[2869] Contact Information for Melksham Oak Community School - (new - 2010-07-13)
[2867] Cycling in Melksham, and looking forward - (new - 2010-07-11)
Top or Show all for Melksham

Training from Well House Consultants
[2934] Not so much software training - more hotel keeping! - (new - 2010-08-25)
[2928] Public (scheduled) or private course? Book direct, or through a third party? - (new - 2010-08-19)
[2927] Announcing 2011 Open Source Training courses - dates and prices - (new - 2010-08-18)
[2926] Journey times to Melksham, Wiltshire - (new - 2010-08-17)
[2925] Well House - the pictures - (new - 2010-08-16)
[2881] Tailoring of courses to meet customers needs - how it works - (new - 2010-07-21)
Top or Show all for Training from Well House Consultants

Running a training and hotel company
[2940] Training course locations - Melksham, UK; Buxton, UK; Lake Constance, Germany; Venice Italy, the USA and India - (new - 2010-08-30)
[2938] An opportunity to join our team! - (new - 2010-08-28)
[2936] The service that customers should receive - (new - 2010-08-27)
[2924] Job applicants - wondering why they apply - (new - 2010-08-16)
[2916] Testing the robustness of our hotel and training systems - holiday and sickness times - (new - 2010-08-11)
[2911] Feeding the Grockles - (new - 2010-08-09)
[2910] Robust - testing the system - (new - 2010-08-09)
[2885] Twenty Questions - (new - 2010-07-24)
[2880] Getting in touch - Please allow me to see you when you are online - (new - 2010-07-21)
[2879] Night Porter and reception - 24 hours a day? - (new - 2010-07-20)
[2873] Another toot of the trumpet - (new - 2010-07-16)
Top or Show all for Running a training and hotel company

Well House Manor - Hotel and Training Centre
[2941] Wedding season in Melksham - somewhere good to stay - (new - 2010-08-31)
[2923] Fresh air and beautiful places in Wiltshire - (new - 2010-08-15)
[2847] Local information for Melksham Hotel Guests
[2794] The Farming Industry pictured around Melksham
[2730] Bird Watching on the Melksham Avon
Top or Show all for Well House Manor - Hotel and Training Centre

For the Webmaster, Postmaster and moderator
[2906] Switching from Adobe Photoshop to Gimp - testing it on animals - (new - 2010-08-06)
[2895] Global Computer Maintenance Department - (new - 2010-07-29)
[2884] Hotlinked images onto adult material sites - (new - 2010-07-23)
[2823] Where have all the bloggers gone?
[2820] Netiquette for forum newcomers
Top or Show all for For the Webmaster, Postmaster and moderator

General Programming Topics
[2915] Looking up a value by key - associative arrays / Hashes / Dictionaries - (new - 2010-08-11)
[2909] Be gentle rather than macho ... regular expression techniques - (new - 2010-08-08)
[2898] Programming Standards from the start! - (new - 2010-08-02)
[2878] Program for reliability and efficiency - do not duplicate, but rather share and re-use - (new - 2010-07-19)
[2866] Ruby - how does it compare and where is it the right language? - (new - 2010-07-11)
Top or Show all for General Programming Topics

PHP - the language and its application
[2939] Protecting your images from use out of context - (new - 2010-08-29)
[2931] Syncronise - software, trains, and buses. Please! - (new - 2010-08-22)
[2929] Passing a variable number of parameters in to a function / method - (new - 2010-08-20)
[2922] Getting the OO design write - with PHP a example - (new - 2010-08-14)
[2921] Does copying a variable duplicate the contents? - (new - 2010-08-14)
[2920] Sorting - naturally, or into a different order - (new - 2010-08-14)
[2918] Downloading a report from the web for further local analysis - (new - 2010-08-13)
[2917] Upload Image, Store in database, redisplay in browser. PHP and MySQL - (new - 2010-08-12)
[2912] Predictions for the seagull population - (new - 2010-08-09)
Top or Show all for PHP - the language and its application

Java and the Java Environment
[2865] Relationships between Java classes - inheritance, packaging and others - (new - 2010-07-10)
[2863] Writing a server in Java - (new - 2010-07-09)
[2862] Fail Safe Error Handling in Java via Exceptions - (new - 2010-07-09)
[2861] MySQL and Java - connectivity past, present, and future thoughts - (new - 2010-07-09)
[2860] What methods are available on this Java object? - (new - 2010-07-08)
Top or Show all for Java and the Java Environment

Around, about and nearby to Wiltshire
[2882] Seeing Wiltshire - from a Melksham base - (new - 2010-07-21)
[2852] Atworth Village Fete - on the Melksham Community Area Partnership stand
[2830] Poulshot Village Fete
[2750] Views of Wessex
[2713] History is all around us
Top or Show all for Around, about and nearby to Wiltshire

The Perl Programming Language and its use
[2892] Alternative loops and conditionals in Ruby and Perl - (new - 2010-07-28)
[2877] Further more advanced Perl examples - (new - 2010-07-19)
[2876] Different perl examples - some corners I rarely explore - (new - 2010-07-18)
[2875] A long day in Melksham ... - (new - 2010-07-17)
[2874] Unpacking a Perl string into a list - (new - 2010-07-16)
Top or Show all for The Perl Programming Language and its use

Client Side Languages (HTML, CSS, Javascript)
[2913] Six languages in one file - an HTML++ web page - (new - 2010-08-10)
[2554] Adding retrospective ALT attributes to IMG
[2223] CSS Style Diagrams - working out where attributes come from
[1998] Text on a background image
[1811] Alternative URLs using % symbol encoding
Top or Show all for Client Side Languages (HTML, CSS, Javascript)

Ruby and Ruby on Rails
[2893] Exclamation marks and question marks on ruby method names - (new - 2010-07-28)
[2826] Ruby - training for automated testing users
[2714] A simple example - XML from a Ruby program
[2711] For loop - checked once, or evety time? Ruby v Perl comparison and contrast
[2623] Object Oriented Ruby - new examples
Top or Show all for Ruby and Ruby on Rails

SQL and MySQL
[2647] Removing duplicates from a MySQL table
[2645] Optimising and caching your MySQL enquiries
[2644] Counting rows in joined MySQL tables
[2643] Relating tables with joins in MySQL
[2567] Extra MySQL course dates (2 day course, UK)
Top or Show all for SQL and MySQL

Tcl, Tcl/Tk and Expect
[2681] Tcl - a great engineering language
[2476] Tcl - uplevel to run code at calling level
[2475] Quick easy and dangerous - automated logins via Tcl / Expect
[2474] Using Tcl and Expect to automate repetitive jobs
[2472] split and join in tcl and expect
Top or Show all for Tcl, Tcl/Tk and Expect

Programming in Lua
[2727] Making a Lua program run more than 10 times faster
[2723] Returning multiple values from a function - Lua
[2710] __index and __newindex in Lua - metatable methods
[2706] Error trapping in Lua - no exceptions.
[2703] Lua Metatables
Top or Show all for Programming in Lua

Python Programming
[2905] Defining static methods in Python - (new - 2010-08-05)
[2899] Groupsave tickets - 3 or 4 train tickets for the price of 2 - (new - 2010-08-02)
[2894] Sorting people by their names - (new - 2010-07-29)
[2890] Dates and times in Python - (new - 2010-07-27)
[2889] Should Python classes each be in their own file? - (new - 2010-07-27)
[2887] Snow Leopard and Python (that is OS X 10.6 and wxPython) - (new - 2010-07-26)
[2871] Moving from Python 2.6 to Python 3 - (new - 2010-07-14)
Top or Show all for Python Programming

And also ...
[2904] Melksham Area Board meeting of last week - (new - 2010-08-04)
[2888] Recent Pictures - (new - 2010-07-27)
[2886] Congratulations, Kimberly - (new - 2010-07-25)
[2870] Old prices - what would the equivalent price have been in 1966? - (new - 2010-07-14)
[2868] A move towards the family - (new - 2010-07-12)
[2864] Changing with weather and seasons - (new - 2010-07-10)
Top or Show all for And also ...

Public Transport
[2933] Bath - Melksham - Devizes buses from September - (new - 2010-08-23)
[2930] Walk - Tilehurst to Pangborne - (new - 2010-08-21)
[2919] London to Calne, Corsham, Melksham, Bradford-on-Avon, Chippenham by public Transport - (new - 2010-08-13)
[2908] How Green is my train? - (new - 2010-08-07)
[2903] Bath to Devizes bus via Melksham - changing again in September - (new - 2010-08-04)
[2901] Ambassador or Anorak? - (new - 2010-08-03)
Top or Show all for Public Transport

Fun and Flames
[2937] The cat in the dustbin - (new - 2010-08-27)
[2788] Cost of Sales
[2761] A small business, facing a big government questionnaire
[2676] Changing Times
[2625] Both feet on the same pavement
Top or Show all for Fun and Flames

Keynote and 'Of Course' Articles
[2743] Public Open Source Training Courses running this summer and autumn in Melksham
[2539] Changing Images
[2538] Open Source Training Centre and Courses for 2010
[2537] Faster network, but not faster browsing until ...
[2520] Global and Enable - two misused words!
Top or Show all for Keynote and 'Of Course' Articles

Unclassified Articles
[2950] Camilla, Duchess of Cornwall, turns first sod in Melksham Link Canal - (new - 2010-09-09)
[2949] Lua - variable function arguments and select - (new - 2010-09-08)
[2948] Melksham shamefully makes the national headlines - (new - 2010-09-07)
[2947] Teaching Lua to a Perl advocate - (new - 2010-09-06)
[2946] Level playing fields, job vacancies, lemons and peaches - (new - 2010-09-05)
[2945] Last, final, etc - (new - 2010-09-04)
[2944] What others cannot do in 10 months takes Virgin 10 minutes - (new - 2010-09-03)
[2943] Our facilities to support Well House Consultants Courses - (new - 2010-09-02)
[2942] Open Source Programming - Training Course Schedule - (new - 2010-08-31)
[2935] 01225 707126 to 01225 344596 to 01225 899360 - Well House Fax - (new - 2010-08-26)
[2914] Older picture. - (new - 2010-08-10)
[2907] Dartmouth, Kingswear and Torbay - (new - 2010-08-07)
[2897] The Land of the Black Labrador - (new - 2010-08-01)
Top or Show all for unclassified
A little more about this newsletter ...

At Well House Consultants, we run niche IT training courses ... and we run a hotel for delegates on those courses and other visitors to Melksham too. And we make a lot of friends - have a lot of ambassadors with whom we want to keep in touch. So every day Graham (that's me, writing this piece) puts together an article or two which might include the latest sample programs that I've written during the current course, new information about Well House Manor - our business hotel, tips on search engine optimisation, announcements of upcoming public courses, pictures of local places, and even (on occasions) rants and whimsical pieces to keep those friends up to date and in touch. The feeds are available directlt via the Blog - "The Horse's Mouth", they're on our Twitter Feed and you can find me at my LinkedIn profile. But most people just want to look us up occasionally - every month or two, and then to catch up on the latest news just for their particular subjects of interest ... and that's what this newsletter is about

You'll find above the titles of ALL the new articles written in the last two months, listed by major subject area, and showing as (new) with their date of publication. You'll find additional articles in each category too - topping each category up to a minimum of five articles. And you'll find a link at the end of each section which lets you expand that section to show the titles of every article that's been published in that section. After all, "the old ones are often the best ones", aren't they?
go to Top or other editions