Lisa writes: "Suresh from Tratum Technologies phoned; he is interested in a technical partnership. 07977 487 214. Please call him back.
I reply: "Hmm. Have done.
I got an answerphone message after a long ringout and left a message inviting him to email me. So that was followed a few seconds lat ....
I'm running a Perl Course this week ... a small group, so we can look at some very interesting constructs that I wouldn't normally cover / consider on a public course.
Comment out a block of code with an impossible condition
if (1 == 0) { ....
This is a great way to temporarily comment out a whol ....
I was wondering which pages at the Well House Manor web site might be the most popular ... so took a long-overdue look at the log files. Top hits:
1. Home Page
2. The Rooms (26 accesses for every 100 to the home page)
3. The Rates (23 accesses for every 100 to the home page)
OK - not big surprise ....
When you write a piece of code, you're normally putting the filling into the sandwich; there's a built-in program in your computer that controls the loading and running of the code thst you've written, and there is a whole library of standard pieces of code that you call to perform the low level op ....
Easter Day will fall on the following Sundays:
23rd March 2008
12th April 2009
4th April 2010
24th April 2011
8th April 2012
31st March 2013
20th April 2014
5th April 2015
In 325 A.D., the Council of Nicaea ruled that "Easter shall be celebrated on the first Sunday after the first full moon on or ....
I love travelling - meeting people, seeing places in giving courses in another country or on another continent. And so much the better when we can catch up (much overdue) with relatives and friends there. But it's so good to be home.
We arrived at about quarter past 10 this morning, local time in ....
I'm in Troy - upstate New York, at the tidal head of the Hudson river 150 miles from the Atlantic Ocean. Troy is proud to be named after Helen of Troy, with her beauty shown on the top of a tall pillar in the town square.
Troy is also proud to be the town of origin of Uncle Sam - someone else who's ....
"Occupany Limit 230" says the room that I'm running my Python training course - for 8 delegates - in at the Watervliet Arsenal near Albany, New York State this week. Watervliet is being "demilitarised", which means that there's a whole lot of commercial companies - including the one I'm teaching - ....
There seems to be a certain macho desire in many programmer's minds to write a single complicated regular expression to match against an input line, ignorning the structured approach that everyone accepts quite cheerfully in almost every other case. Have a look at this Python line:
wholeline = r"\ ....
How do we refer to the elements of a list? By index number, starting at zero and stopping one short of the number of elements in the list. So a 20 element list has element numbers 0 to 19.
How can we refer to the last element, then? We could write an expression based on the length of the list - ....