Q: In what year did Charles Maggs set up a Rope factory in Spa Road, Melksham?
That's one of the questions from a quiz... where all the answers were numbers... that I set up for the ladies of the Bowerhill Villager for their Christmas quiz last night. The theme wasn't "Christmas" but there was cert ....
"We want our rooms to appear to be so clean, fresh and new that each guest feels he's the first to use them". A laudable target, but realistically one that's not going to be achievable for every single letting. Never the less, I was shocked to be asked by a delegate this morning "did Axxxxx Dxxxxx ....
When printing in Perl, you can drop a variable into a double quoted string ant it will be interpretter for you:
"--- $number ---"
If you want to perform an operation on the variable, though, it's not as easy - you have to come out of the double quoted string, do the calculation, then start another ....
In Ruby, the chomp method removes the last character of a string if it's a line separator. The puts method adds a new line character on to the output unless there's one already present.
In Perl and other languages, a great deal of time and mental agility is expended in remembering where there are ....
The == comparison checks whether two values are equal
eql? checks if two values are equal and of the same type
equal? checks if two things are one and the same object.
How do I remember which is which ... The longer the operator, the more restrictive the test it performs
Example:
irb(main):013: ....
A cardinal number, in computing terms, is a term that's sometimes used to refer to a fixed condition - in other words, you might call a function with one parameter should of the usual number, and the final value will be assigned a cardinal number that can't occur there in reality. For example, you m ....
How do you decide what member variables you have in an object in Ruby? Well - in Perl, you bless a single hash (or, exceptionally, a list or a scaler), but in Ruby you refer to each variable that you wish to be a member of each object using a preceeding @ character.
Perl:
bless \%abc;
Ruby:
@a ....
I come up with my best presentations in front of a class. There's nothing like having the adrennalin flowing to fine tune the way some information is got across, and nothing as good as an inquisitive group of delegate to inspire a new approach. So I end up with some notes on the whiteboard that ....
Last night, we attended a cocktail party thrown for the finalists in the "Wiltshire Business of the Year" competition because ... well, because we're finalists. I understand that there was a record entry this year - the first year we have entered - and that our category which is "Small Business of t ....
Pre-Christmas street scene in Melksham. Some of the locals decorate their houses and the other locals come around and look over the gates. The point of it? Festive fun, and collecting for charity.
Lights are on from dusk until 22:00 until 5th January. Longford Road, Melksham.
Further pictures in ....