The Well House Newsletter - Sunday, 1st March 2015
About us and this newsletter [link] ...
Previous editions: January 2015November 2014September 2014July 2014May 2014March 2014January 2014November 2013September 2013 • or current edition

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

Clustering on Tomcat

Subject: Clustering, using Apache http server (version 2.2.14 in my example) with mod_proxy_balancer as the front load splitter and Apache Tomcat 6.0.20 as the replicated application engine. [[Tip should also work for other recent 2.2.x and 6.0.x versions]]

Background

This is a follow on article from Load balancing with sticky sessions (httpd / Tomcat), where I looked at sharing out the application work between a number instances of Tomcat from an Apache http server (httpd) that did the bookkeeping. In a nutshell, the Apache http server sent new arrivals to a 'random' Tomcat, and then used sticky sessions so that - when a visitor came back for their subsequent visit in the same series of accesses - they would always talk to the same Tomcat and could continue their conversation with the server having full knowledge of the position to date.

The balancer alone is a good solution as far as it goes but:
• What happens if the Tomcat that has been stuck to goes out of service?
• What happens if you have such a lot of traffic that you need to replicate your httpd front end?
• What happens if your httpd fails?
• What is you don't actually want to use sessions, but still need what appears to be a single Tomcat?

One possible option to addressing some of these is to use the clustering capability of Tomcat, which I'll describe below. But you should first consider if you really need the extra step:
(a) can I accept that a session will be lost on the rare occasions that a Tomcat goes offline?
(b) is writing to a backend database going to preserve sufficient information anyway?
and if the answer to either is "yes", you probably do NOT need to cluster.

How does clustering work?

You run your web application on a series of identical (or rather "near identical" - the IP address will differ!) servers. With clustering turned on, each of the servers in the cluster is broadcasting (via multicast) any changes made in sessions, cookies, etc to any other listening cluster members on that same multicast address. So that when a visitor comes back for his / her next access, all the machines know what's been going on and can knowledgeably handle the request, even if the original machine isn't available.

You can turn clustering on in Apache Tomcat 6.0.20 simply by uncommenting the line in the default server.xml file that relates to it:
  <Cluster className = "org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
and restating your Tomcat. Older versions of Tomcat (such as 5.5) had a long configuration section listing the ports, replication time, IP addresses to use, trigger files all of which are important but none of which actually needs to be changed from default in the current release that's the target of this article.

Once you have turned clustering on (yes, it's now that simple), your machines will be communicating ... it's rather like starting a rumor in an office - before you know it, EVERYONE who's around has heard the rumor.

Clustering with the balancer

If you have already implemented balancing with sticky sessions (as covered in the preceeding article), turning on clustering will cause the data to be shared around. Most of the time the data passed around will not be used - it will ONLY form a backup of the session, to be used if the balancer is unable to reach the sticky machine because it has done down or been taken out of service.

With sticky sessions activated, even a second front-end Apache http server won't cause a switch from one Tomcat to another unless a fail-over occurs, as the jvmroute is a part of the cookie so either (any) of the httpd front ends will correctly forward to the original Tomcat. And if you have an intelligent hardware load balancer, that too will be able to forward consistently and the the clustering will remain merely as a backup.

If you disable sticky sessions on your balancer, the metrics will change. Forwarding will now be at shared to each of the Tomcats in the balanced group / cluster group (take care that all members of the balance group are included in the cluster!) and so the visitor will get to a differnt back end box each time. But that's now perfectly fine, as they're sharing the data between them so will all know about the originator.

Testing if your cluster is working

Ironically, clustering and balancing is designed to be transparent, so how do you test whether it's working?

My first simple 'trick' is to change the background colour of the pages returned from each cluster member so that "if it's orange it must be Holt" and "if it's blue it must be Chippenham" (our servers are names after local towns and villages!). Going a little further, you can edit your servlet / JSP to return the name of the current host. In Java, the following line:
  String myname = InetAddress.getLocalHost().getHostName();
will return you the local name of your computer, so that you can then echo the name.

On last Tuesday's course, I took our sample "Barman" script that remembers how many drinks you've had in a session (visit counter!) and extended it into a "Pub Watch" script, where each of the barman communicates with his colleagues in neighboring pubs to keep track of who's out on the town, and how much they have had to drink in each establishment.

If you click on the links in the previous paragraph, you can download the source code for "Barman" and "PubWatch" and try the code out for yourself. Using the balancer manage that I introduced at the end of yesterday's article, you can open and close individual pubs and see how their customers go elsewhere for their next drink, and you can turn sticky sessions off in the balancer and see how faithful customers will then hit the road and go to a different pub each time for their next drink.

Some notes on clustering

1. The machines in the cluster communicate through multicast, so must be on the same subnet.

2. It's a good idea for the subnet you use to have plenty of capacity if your environment is busy, and for it to be firmly behind a strong firewall from your own company's general user traffic, let alone the Internet

3. If you have multiple Tomcat clusters on the same subnet, you'll need to configure one of the clusters away from the default settings - otherwise they'll end up as being one big cluster (you'll find the word 'tribe' creaping in here!)

At present, we mention clustering on our public deploying apache httpd and Tomcat course. Only a small proportion of our delegate want to go 'that far', and for newcomers who hadn't done any web server work when they first came along a couple of days earlier, it would be just too much for the one session.

An extra day on the end of a Tomcat course, coverage in a private course, or a special session set up for the purpose ... all are possible to help you learn how clustering and balancing work. We'll have a network of computers set aside at our training centre for the purpose of setting up a test case, experimenting with configurations, seeing what happens when machines are switched on and off. Something you wouldn't dare so with your own production environment, and might be reluctant to do even on your development of test networks (that's even assuming that you do HAVE multiple machines at the development or test level).
(this article written on 2009-10-30)

Other articles ...

Linux and Shell Programming
[4405] Backup procedures - via backup server - (new - 2015-01-24)
[4400] Commenting out an echo killed my bash backup script - (new - 2015-01-19)
[4259] Upgrading our training systems to all the current stable versions
[4063] Backups by crossover between network centres - setting up automatic scp transfers
[4056] An overpractical test of our backup strategy!
Top or Show all for Linux and Shell Programming

Apache HTTP and Tomcat Servers
[4434] Public training courses - upcoming dates - (new - 2015-02-21)
[4432] Java web application for teaching - now with sessions and clustering / load balancing demonstrations - (new - 2015-02-20)
[4431] A Java servlet that is also a stand alone program. And a server that is also a web client. - (new - 2015-02-19)
[4412] Java -making sure you have the right versions - (new - 2015-02-02)
[4404] Which (virtual) host was visited? Tuning Apache log files, and Python analysis - (new - 2015-01-23)
Top or Show all for Apache HTTP and Tomcat Servers

C and C++ Programming
[4377] Designing a base class and subclasses, and their extension, in C++ - (new - 2015-01-01)
[4372] Template / design pattern for C++ constructor and accessors - (new - 2014-12-29)
[4355] C++ in 2 days
[4341] Segmentation Fault, Segmentation Violation, Bus Error, Stack Smashing
[4339] Command line and file handling in C
Top or Show all for C and C++ Programming

Melksham
[4435] Images of our rail promotion campaign - (new - 2015-02-21)
[4424] Looking Forward - TransWilts Community Rail Partnership and TransWilts CIC - (new - 2015-02-12)
[4423] Campus - about the logos / way marks you have been choosing from - (new - 2015-02-11)
[4418] Melksham Community Campus - which of these potential signs do you like? - (new - 2015-02-07)
[4399] The Campus in Melksham - name, logo, and livery choice - (new - 2015-01-18)
[4397] TransWilts / Press and Publicity report for AGM / 30th January 2015 - (new - 2015-01-17)
[4371] Why are people using the TransWilts? - (new - 2014-12-29)
Top or Show all for Melksham

Training from Well House Consultants
[4416] Challenging the IT course business model - (new - 2015-02-05)
[4415] Buffet review - taking the price into account - (new - 2015-02-05)
[4375] Final examples for 2014 - and a look at our 2015 training course options - (new - 2014-12-31)
[4358] A brilliant finish to 2014 training and business guests, and a look to 2015
[4335] Flexible public courses - residential or commuting, programming newcomer or experienced, C or C++
[4314] PHP training - refreshed modern course, backed up by years of practical experience
[4305] Learning to program in Java - yes, we can help.
[4300] Public courses - Autumn 2014 and 2015
[4280] Making use of huge data, object orientation, unit testing and frameworks
[4279] Upcoming public courses from Well House Consultants
[4261] Updated delegate computers - nine of the best
[4246] Python, PHP, Ruby, C, Lua, etc ... course prices held for the rest of 2014
[4231] Well House Consultants - Public Training Course times for 2014
[4230] Well House Consultants - course prices for 2014
[4200] Endorsed Perl, Python and PHP training - Tcl, Lua, Ruby and C too!
[4197] Python and Tcl courses, November, UK (Melksham) ... just a few places left
[4172] Public courses - Python, PHP, Perl, Ruby, Lua, Tcl, C and C++ - autumn 2013 and through 2014
[4168] Travelling to and from courses - much easier from December 2013
[4132] Using your own laptop on our courses - now even easier!
[4082] Training around the world - easy payment in pounds Sterling
[4015] Upcoming courses and availabiity
[3964] What is coming up from Well House in 2013 - public Open Source / IT courses.
[3950] 10 reasons why I travel the night before a course starts
[3898] The course must go on - improvements to tutor travel plans, with immediate effect
[3876] October to December 2012 - Public Courses
[3829] Training courses - rest of 2012, 2013 and January 2014
[3715] Changing face - Filton
[3701] Refresh and Revision training class days - Perl / PHP / Python / Lua / Ruby / Tcl / C / C++
[3691] Back in Cambridge to give a Lua course
[3653] What is happening in 59 days time in Melksham?
[3637] April, May and June 2012 - Public Open Source Programming Courses
[3636] Best tenner I ever spent?
[3628] Historic Drawings from near Melksham
[3615] Historic documents for Wiltshire
[3588] Learning about how to help people learning - and retaining
[3587] C++ Courses - do I get official certification at the end of my Well House course?
[3559] Well House Consultants - Open Source Programming Courses for 2012
[3545] Finding all matches to a pattern in Perl regular expressions
[3460] Flying Colours!
[3419] Data that we use during our training courses, and other training resources
[3401] Open Source Training Schedule - learn a programming language - in Autumn 2011 or 2012
[3391] For programmers who use Internet Explorer as their browser
[3387] Eating out in Melksham - where we like for lunch.
[3358] Upcoming Programming courses ... High Summer, 2011
[3351] Research and development with the help of your tutor or guide
[3315] Friday - Electrician, Food Festival, C++ Course, Rail Group Meeting
[3311] Exhilarating day!
[3310] How fast is your Internet access? Do you need something faster for your business or home?
[3292] Every tenth picture.
[3259] Our library in Melksham
[3235] How we make our programming courses both time and cost effective
[3233] C / C++ Course Lunch - sitting out at the West End
[3219] How do I become a Linux System Administrator?
[3205] Open Source (Public) courses - PHP, Tcl, SQL, Python, C and C++ in Melksham, Wiltshire, UK
[3196] No news is good news.
[3180] Age limits for Well House Consultants Open Source courses?
[3160] Extra courses - Advanced PHP, MySQL and Lua
[3137] Training Classes - should the training company provide a system for each delegate to use?
[3131] Lua, Tcl, Python; Worldwide training classes
[3130] New Computers for delegates to use
[3129] Extra courses - C and C++
[3109] A weighty decision
[3078] Royal Wedding. How William and Catherine have changed our schedule
[3074] Running a course ... what if the tutor isn't well?
[3065] Pictures from the Birkenhead to Belfast crossing
[3021] Courses for late 2010 and early 2011
[3001] How will we present courses over the coming years?
[3000] Looking forward - the next 3000
[2999] 2999 - looking back
[2987] Memorial to a day in 1999
[2968] Well House Consultants - a potted history
[2965] Testimonials - Well House Consultants Open Source courses
[2956] On site course - travel and accommodation expenses
[2942] Open Source Programming - Training Course Schedule
[2935] 01225 707126 to 01225 344596 to 01225 899360 - Well House Fax
[2934] Not so much software training - more hotel keeping!
[2928] Public (scheduled) or private course? Book direct, or through a third party?
[2927] Announcing 2011 Open Source Training courses - dates and prices
[2881] Tailoring of courses to meet customers needs - how it works
[2850] Fresh Paint for course presentation - including C++
[2839] Software versions used - June 2010
[2835] A course is more than just a chap giving a lecture
[2810] A course review - for the tutor to complete
[2784] Course Lunches
[2777] Blowing our own trumpet
[2775] Declarations of interest - knowing where you stand with people
[2772] Graham Ellis - Summary of Training Record
[2732] Asking about Jesus
[2731] Training Courses - time of change
[2726] Every cloud has a silver lining
[2661] Current Public Courses
[2637] Courses - Melksham and elsewhere - until the end of April
[2566] Excellent staff make for excellent hotel
[2560] Training comparison to QA Training, Learning Tree, GB Direct.
[2548] Ten years ago, we moved to Melksham Spa
[2541] VAT Changes
[2534] And now for some posts a bit more technical
[2366] At the end of the course
[2354] Training, Open Source computer languages
[2350] Ten years in Melksham - looking forward to ten more.
[2342] Training Classes in other tongues
[2278] First courses for 2010
[2258] Questions I have been asked on answering the phone
[2158] On the roof of a Melksham Spa House
[2041] httpd, Tomcat and PHP course enhancements
[2032] Mobile Internet - an alternative to hotel WiFi
[1996] Advise before my Apache / Tomcat course
[1989] So sad to see you go
[1933] Learning to Program in C
[1932] Training Passports - booking a training program
[1898] Every cloud has a silver lining
[1874] Is it worth it?
[1867] Domain Renewal Group
[1836] Next in the sequence - courses next year (2009)
[1816] Holt on holt
[1781] Reception
[1693] July to December 2008 - Open Source training schedule
[1645] Seeing how others do it - PHP training
[1599] Fresher tutor, better course
[1577] Spring and early summer training courses
[1565] Languages compared - based on developer community size
[1465] Perl, PHP, Python, Tcl, Linux, MySQL, Ruby courses ...
[1459] Interactive training, and advancing techniques further
[1443] Christmas is coming very early
[1420] The Learning Perl crew, October 2007
[1419] National Speaker - now to get the talk ready
[1415] Better technology makes for longer commutes?
[1364] Korn shell course - resources
[1363] One computer per delegate, or pair programming?
[1242] Speaking at St. Catherine's College, Oxford University
[1240] Fancy going to Glastonbury?
[1193] Dangerous Dogs and Hotel Marketing
[1141] A strong team broadens the professional coverage
[1126] MacFormat - Me and My Mac
[1102] A Reference
[1101] Mushroom Curry and Perl Courses
[1081] Customer takes over class, and I am delighted
[1040] What the customer is looking for - effective training
[1038] Know to the police
[1035] Longer hours and better value courses
[910] Helping the miles pass
[741] Last week - picture of the Perl course
[726] In praise of training course delegates.
[719] Gardens, Well House Consultants HQ
[669] The best Open Source library in town
[640] Training Centre Pictures
[636] What is your business latency and potential?
[579] Short Linux and Perl courses for small groups
[578] Woman screaming at me
[570] Features and Benefits
[564] Open Source training from Well House Consultants
[559] ''I don't know'' is sometimes a good answer
[554] What backup is adequate?
[509] Snippets from Geekmas
[504] We are about Open Source programming courses in the UK
[499] Good IT training cannot be cheap
[497] I have a river to cross
[490] A new way to get lost
[460] New Network
[456] Laying out a vegetarian lunch
[450] Wheelchair access - can do!
[448] Out of the norm.
[432] New print centre for our manuals
[397] Where now for dial-up providers?
[396] The next technologies
[387] Training course plans for 2006
[378] A word of admiration for the London cabbie
[371] The training team that's looking out for you
[342] The evening after the course
[336] Targetted Advertising
[333] Do NOT follow links or read attachments in these emails
[310] Just in time - the talk is writ
[306] Bristol Airport this morning, The Farm this evening.
[302] Dining full circle
[292] Elegant languages - Perl, PHP, Python
[277] Fire drill
[273] Course Picture
[264] 100% Training
[256] Spring is in the air
[250] We dont stand still
[247] Extreme training
[244] Getting your examples, my examples and the data files after your course
[241] Dress for training
[234] How to get the best from your supplier
[224] YOUR application and YOUR data
[221] Lunchtime Drink
[219] Some unusual features
[215] Open Source becomes mainstream
[213] Off to Munich
[201] 0870 telephone numbers
[199] Post course support - part of the service
[196] An Open Source course on the Channel Islands
[191] Setting up a training room for a course
[181] Maximum number of trainees on a course
[174] Contrast - the storm and the calm.
[172] Public courses in London
[170] MySQL, Java, PHP and Linux - new technical articles
[168] Welcoming Leah Davies to our team
[167] Upgrade to the Library
[163] Introduction fees, bonuses, commissions, kickbacks
[160] Review of the Autumn
[143] Network Camera
[139] Just provide a room and the students
[136] Please tell us
[134] Geekmas - a brief review
[128] Technical Weekend / Geekmas
[120] Good early morning
[118] History around you
[107] Taking Equipment offshore to run a course
[101] Good value, low cost, cheap.
[99] Should we call it 'Geekmas'?
[83] Geek Cruising
[82] Keeping up to date
[56] Dress Code
[53] Drive the drive
[41] A Thousand and four words
[38] An update for old friends
[36] Tesco at 5
[13] Mobile Office revamp
[10] What do you look for in your IT trainer?
[2] Diary entry - 5th August 2004
Top or Show all for Training from Well House Consultants

Running a training and hotel company
[4443] Seventh stay away this year - and it's still only February! - (new - 2015-02-25)
[4373] A long and disappointing evening - (new - 2014-12-30)
[4348] Taking my life in my hands in Swansea
[4321] Are administration / review charges on hotel guests acceptable?
[4302] Sunday is never quiet at Well House Manor
Top or Show all for Running a training and hotel company

Well House Manor - Hotel and Training Centre
[4379] Well House Consultants / Well House Manor - Prices for 2015 - (new - 2015-01-01)
[4299] The Best Bed and Breakfast in Melksham?
[4264] Weekend breaks by train to Melksham, Wiltshire
[4175] An alternative format for a new train service timetable
[4174] What would the extra trains from Melksham mean to your journey?
Top or Show all for Well House Manor - Hotel and Training Centre

For the Webmaster, Postmaster and moderator
[4426] FileMaker Day to Unix Time conversion - (new - 2015-02-15)
[4403] The unbalanced relationship between customer and provider - (new - 2015-01-21)
[4385] A booking that looks too good to be true? It probably is too good to be true! - (new - 2015-01-05)
[4376] Well House Consultants, Well House Manor, First Great Western Coffee shop, TransWilts / 2014 web site reports - (new - 2015-01-01)
[4315] Welcoming genuine forum posters quickly - but turning away off topic advertisers
Top or Show all for For the Webmaster, Postmaster and moderator

General Programming Topics
[4430] The spirit of Java - delegating to classes - (new - 2015-02-18)
[4421] How healthy are the stars of stage and screen? - (new - 2015-02-09)
[4410] A good example of recursion - a real use in Python - (new - 2015-02-01)
[4401] Selecting RECENT and POPULAR news and trends for your web site users - (new - 2015-01-19)
[4396] Java Utility class - flexible replacement for array. Also cacheing in objects and multiple catch clauses example. - (new - 2015-01-16)
[4394] Philosophy behind object design - and how I applied in to a Java example - (new - 2015-01-14)
[4391] Refactoring Perl applications to give them a rosy future - (new - 2015-01-11)
[4387] Regression Testing my website - Cucumber and Watir - (new - 2015-01-07)
[4380] Behaviour Driven Development / Ruby and Cucumber - (new - 2015-01-02)
[4374] Test driven development, and class design, from first principles (using C++) - (new - 2014-12-30)
Top or Show all for General Programming Topics

PHP - the language and its application
[4437] Adding a PHP build option, rotating an image based on camera data, and a new look at thumbnails in PHP - (new - 2015-02-22)
[4366] Changing what operators do on objects - a comparison across different programming languages
[4356] Object factories in C++, Python, PHP and Perl
[4319] PHP - some quick fixes if scripts have issues, and how to use our support
[4310] Problem ... I want to print a series of numbered forms
Top or Show all for PHP - the language and its application

Java and the Java Environment
[4428] Using the lead - passing arrays and other collections in Java - (new - 2015-02-16)
[4427] Java example - for loop and conditionals from course exercise - (new - 2015-02-16)
[4422] Objects - from physical to virtual or abstract - Java - (new - 2015-02-10)
[4420] Flexibility in input - read from file, web resource or keyboard - (new - 2015-02-08)
[4419] Java Inheritance example - group of classes - step by step - (new - 2015-02-08)
[4414] Java - converting an integer to a fixed length string - (new - 2015-02-04)
[4413] Binomial Coefficient (Pascal Triangle) objects in Java - (new - 2015-02-03)
[4393] Splitting Java strings and extracting numbers - (new - 2015-01-13)
Top or Show all for Java and the Java Environment

Around, about and nearby to Wiltshire
[4265] A lovely meal in Swindon - just a short walk from the station
[4233] Open for the new year - Imber
[3989] Plenty to see and do - even in Winter - on a Well House Manor weekend
[3884] Pictures - across the park, French Weir and River Tone, Taunton
[3800] Fancy a weekend away? Try Well House Manor in Melksham, Wiltshire
Top or Show all for Around, about and nearby to Wiltshire

The Perl Programming Language and its use
[4395] Preparing data through a little bit of Perl - (new - 2015-01-15)
[4301] Perl - still a very effective language indeed for extracting and reporting
[4296] Polishing the Perl courses - updated training
[4100] Perl Dancer - from installation to your first real application
[4099] Perl Dancer - a Perl Framework - Installation and first test
Top or Show all for The Perl Programming Language and its use

Client Side Languages (HTML, CSS, Javascript)
[4037] Cascading Style Sheets and formatting your web page
[4036] HTML tags uses in these blog articles
[4035] Special characters in HTML
[4034] The VERY basics of a web page ... and web site
[3532] Sharing the user experience - designing a form with the customer in mind
Top or Show all for Client Side Languages (HTML, CSS, Javascript)

Ruby and Ruby on Rails
[4402] Finding sum, minimum, maximum and average in Python (and Ruby) - (new - 2015-01-19)
[4389] Cucumber example - test::unit, scenario outlines, datafile driven test - (new - 2015-01-09)
[4388] Global Regular Expression matching in Ruby (using scan) - (new - 2015-01-08)
[4386] Guide exercise to help you learn Gherkin, Cucumber and Rspec - (new - 2015-01-06)
[4384] Installing Cucumber on Ubuntu - cannot load such file -- mkmf (LoadError) message - (new - 2015-01-04)
[4383] Improved test in Cucumber with RSpec - (new - 2015-01-03)
[4382] Second step Cucumber and Gherkin - beyond Hello World - (new - 2015-01-03)
[4381] Installing Cucumber (Ruby) - (new - 2015-01-03)
[4370] Conditionals, loops and methods in Ruby - a primer with simple examples - (new - 2014-12-29)
[4369] Ruby - the second rung of learning the language - (new - 2014-12-28)
Top or Show all for Ruby and Ruby on Rails

SQL and MySQL
[4436] Accessing a MySQL database from Python with mysql.connector - (new - 2015-02-21)
[4406] Fixing damaged MySQL tables - Error 1712 and Error 2013 - (new - 2015-01-25)
[4390] Checking MySQL database backups have worked (not failed) - (new - 2015-01-10)
[4007] Which database should I use? MySQL v SQLite
[4006] Ruby / SQLite3 example program, showing JOIN v LEFT JOIN
Top or Show all for SQL and MySQL

Tcl, Tcl/Tk and Expect
[4398] Accessing variables across subroutine boundaries - Perl, Python, Java and Tcl - (new - 2015-01-18)
[4258] Keeping you Tkinter display up to date while monitoring
[4209] Lists in Tcl - fundamentals in a commented source code example
[4208] Tcl + Tk (Wish) - an introduction and revision example
[4207] Exception handling in Tcl
Top or Show all for Tcl, Tcl/Tk and Expect

Programming in Lua
[4297] Lua courses - an update
[4274] String formatting in Lua - string.format as a wrapper for sprintf
[4273] Dot or Colon separator between table name and member in Lua - what is the difference?
[4272] Lazy operators in Lua - what they mean, and examples
[4271] Line, block and nested comments - Lua compared to other languages
Top or Show all for Programming in Lua

Python Programming
[4445] Graphing presentations in Python - huge data, numpy and matplotlib - (new - 2015-02-28)
[4444] Elements of an exception in Python - try, except, else, finally - (new - 2015-02-28)
[4442] Mutable v Immuatble objects in Python, and the implication - (new - 2015-02-24)
[4441] Reading command line parameters in Python - (new - 2015-02-23)
[4440] A first graph with Matplotlib in Python - (new - 2015-02-22)
[4439] Json is the new marshall, pickle and cPickle / Python - (new - 2015-02-22)
[4438] Loving programming in Python - and ready to teach YOU how - (new - 2015-02-22)
[4409] Setting up and using a dict in Python - simple first example - (new - 2015-01-30)
[4408] Additional Python courses added to our schedule - (new - 2015-01-29)
[4407] Python - even named code blocks are objects - (new - 2015-01-28)
Top or Show all for Python Programming

And also ...
[4433] Different views of a Welsh Valley - but headed home - (new - 2015-02-20)
[4429] Wind Turbines - beauty or menace? - (new - 2015-02-17)
[4417] Crisp morning, fast run - (new - 2015-02-06)
[4411] Location, location location. And a chance of a giggle! - (new - 2015-02-01)
[4364] Christmas day in Melksham
Top or Show all for And also ...

Public Transport
[4425] A Welsh valley - what the transport looks like in 2015 - (new - 2015-02-14)
[4378] What FGW passengers want to talk about / and PHP programming to find out - (new - 2015-01-01)
[4367] A year of rail memories!
[4365] The changing face of Christmas
[4353] Celebration pictures, year 1
Top or Show all for Public Transport

Fun and Flames
[4392] Interview conditions,and other instructions to staff - (new - 2015-01-12)
[4354] Wiltshire Police - assuming someone is guilty just on the say-so of a member of the public?
[4329] Does Santa Claus need a CRB check?
[4304] Please do not ask me to be the chair!
[4282] On tipping - and the expectation of a tip
Top or Show all for Fun and Flames

Keynote Articles
[2483] Clustering on Tomcat
[2384] Looking ahead to the Autumn season of training and accommodation
[2144] Looking for a career change - Physician to Web Site Designer
[1955] How to avoid duplicating web page maintainance
[1857] November and December Public Course Schedule
Top or Show all for Keynote Articles

Unclassfied Articles
[4242] A busy January
[4237] Why the long gap?
[4127] Exploring the area ... Ynys, near Harlech
[4054] On Salford Docks - mind over matter?
[4047] Looking for Creative Design, Catering and Transport inputs to help with Melksham Campus
Top or Show all for unclassified

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

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 January 2015November 2014September 2014July 2014May 2014March 2014January 2014November 2013September 2013 • or current edition


Training sample © 2024, WELL HOUSE CONSULTANTS LTD
This is http://www.wellho.net/demo/newsletter.php
Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
Phone: +44 (0) 1225 708 225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net