IT training
Posted in Uncategorized on June 26, 2007 at 10:47 am
I had the rare pleasure of a train ride the other day. It was a pleasant carriage with an informative scrolling display listing all the stations we were calling at on the way to Carlisle. This would have been helpful and reassuring but for the fact we were going to London. As an infrequent train user I did have a worrying time thinking “surely I didn’t get on the wrong train? … did I? … I wouldn’t be that stupid? … would I?”. Unfortunately I know I can be that stupid so I was a little nervous.
However, after a while an automated announcement told us to we were approaching Watford (which I figured must put me London bound unless Carlisle has moved or the train service is even weirder than I thought). What was obviously a pre-recorded message told us to get our things together and ensure we didn’t leave anything behind. You would have needed to have your stuff well together to have got off at Watford as the train didn’t stop there.
Oh well, technology might be wonderful but garbage in still gets you garbage out.
QT - rolling your own
Posted in Uncategorized on June 19, 2007 at 1:40 pm
QT - neat development environment that is Mac/Linux/Windows independent - comes with a load of tools. I’ve just been using some of them and they don’t work
It’s not a major problem, just a minor bug or perhaps not even that. QT project files can contain comments which are started with # and terminate at the end of line. Lines can be extended with \. The problem is a comment which isn’t line extended ends the line and more importantly the block eg
SOURCES = \
FILE1.c \
FILE2.cpp \
# a comment
FILE3.c
HEADERS = \ etc
FILE3.c isn’t part of the Sources block because of the new line after the comment.
# comment \
would be fine.
I’m not even sure this counts as a bug as you could say that is a valid interpretation of the syntax. The problem is most of the tools handle the # comment OK, just the ones you tend to use at the end of the development cycle don’t so you can get in a bit of a state. Especially as you get no errors or warnings - it just ignores the files after the comment. As you can guess it took me a while to figure out what was happening.
However a neat feature of QT is that it comes with sources to the libraries and tools. So hey presto I edit the source to say comments don’t end the block and away we go. I think, I’d better check what else my changes might affect!
The moral of the tale? Don’t add comments!
It’s behind you!
Posted in Uncategorized on June 18, 2007 at 3:53 pm
Sorry for the lack of recent scintillating(!) entries. I’ve been writing a pantomime. No really, there was a competition to write a panto, all they wanted was a single scene so I knocked one out (as they say). However, having started I thought I’d carry on so I’m doing that. Now I’ve got a scene and a half (great progress).
What’s this to do with IT? Not a lot but I am using Word and Scriptsmart Gold (macro’s to format scripts with). If anyone wants to tell me a better set of macros or discuss them in general that would give me more of an IT theme…
The Apprentice - illegal questions at job interviews
Posted in Uncategorized on June 7, 2007 at 3:56 pm
It has been brought to my notice (by someone who, unlike me, watches the program) that Sir Alan Sugar has been asking his apprentice candidates about their children in relation to their potential job. Isn’t this illegal? I understood that you were not allowed to ask about age, marital status, existing or intended children.
If you think he is OK then please explain to me how that is - otherwise inform the CPS ASAP!
Tag cloud
Archives
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
Most commented posts
Highest Rated Blog Posts
- No excuse - it's free to encrypt! (100%)
- PC Advance Required (100%)
- Virtualization's Dark Side - or stating the obvious for beginners (100%)
- Tabs - I might change my mind? (100%)
- Which Linux do you drink? (100%)
- Sat Nag (100%)
- Is your back door open? (90%)
- What they don't say... (90%)
- Measuring the Metrics (80%)
- Dual Booting - grubs up? (80%)

