If it sounds easy, it should be easy.
"Go through a file and echo the lines ... but if a line's duplicated, echo it only once". This was a sample application requested on today's Python course ... but one which has been troubling the folks for a while as they tried to filter the data in other lang ....
When you go on holiday, you get to choose when, where, and what to do with your time, but that's not the case with an on site training course. So the chance of being somewhere I really want to see, at a time of year when the weather and daylight makes it worth seeing, is slim. But - jus ....
I love being in the training business ... and in the business of providing hotel rooms for business visitors and leisure guests. For we meet some lovely people, and we get a chance to make their course or stay something really special. This note, left by a couple this morning, is really apprec ....
It's sometimes frustrating - really frustrating - to start to see something clearly only after the event. Looking back to the bus service changes from Bath through Melksham to Devizes and Easterton of a month ago, I think I'm now seeing more clearly what I think has happened.
• A couple of mo ....
This is a seed document that I've prepared as a pump-priming exercise to help the Community Area Partnership (at the request of the vicechair of the steering group) and other associated organisations think ahead towards what they would like to see in the 2026 area plan. It comes in three main secti ....
Wouldn't it be nice is URLs were shorter? Well - there are ways of making them shorter these days and you'll find them on networking sites like Twitter ... http://bit.ly/d7t8ID or http://bbc.in/XTQ8V . But where such URLs gain in brevity, they loose in comprehensibility.
But it's very easy to p ....
With delegates on public Well House Consultants courses staying in our on-site accommodation, there's time for them to learn a lot more about each other's applications and get a far wider view of the uses of the subject they're with us to learn. There's time for the delegate who wants to extend pra ....
When you call a function / method in your program, you expect it to run to completion before returning control to you, passing back a result. For example, you might call a method to read a series of objects and store them into an array ... and then you could take that array of objects and, iterati ....
Well House Manor will be open throughout the Christmas and New Year period, and we'll be delighted to welcome guests who are in the area to visit friends and family, to see the Christmas Illuminations, or just looking for a few days away. We'll be offering a quiet location - no parties or banquet m ....
How do you create an object? By calling a constructor method, of course.
But ... actually ... there's no "of course" about it. Here's a piece of code from an example I wrote yesterday:
sageroll.push Transact::factory(current)
and that call creates an object ...
Whilst you can create ....