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
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
Tag cloud
Archives
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- 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
- PC Advance Required (100%)
- No excuse - it's free to encrypt! (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%)
- How to be a Guitar Hero (100%)
- Home working - a tale of freedom, loneliness and slippers (100%)
- Vertigo (100%)
- Is your back door open? (90%)

