The bane of my existence is work where I use c++ primarily with MFC.
Now today I have come up to one or the most strange occurrence while debugging the database code in our product. I was formatting a string with sprintf and all of my time values were being formatted as “(null)“.
I know we should [...]
Posts tagged Programming
time_t and printf
Vertical text align of radio buttons in java
I have been doing some GUI java code in both swing and SWT recently and find text alignment a niggling annoyance of mine. Often you want to align components with the text line vertically of combo or check boxes.
Here is the code for determining the width in pixels for the two most popular GUI [...]
Asserting SwingWorker
I have had a chance to play around with some java code recently for a change of pace and I was excited to use the new SwingWorker class in JSE6. However I also am in the habit of programming with asserts which I found out to be a problem if one triggers while running in [...]
Open Java and Windows Options
Well it’s officially been announced that Java J2SE, J2ME, J2EE will all be released by sun as reference implementations under the Gnu GPL + classpath exception. Which I’m sure will bring a new era of Java, especially to Linux since Java will be able to be shipped with distributions without concern just like Mono is [...]
Code Cutting
Well this page always seems to get a bit neglected when nothing much happens……
Something interesting that I have come across is the w3c DOM in java and how there isn’t a definitive guide to how to output it to pretty print, ie human readable, there were a few examples with xerces-j but I thought that [...]
Interesting Java Proposal
In the java community there has been a long and heated debate about adding delegates to the language. There is a white paper on Suns website explaining there position on the debate. Which is in response to Microsoft’s implementation of them in J++ which in tern could be deemed as the turning point for Microsoft [...]
Downtime
Hey all. It’s been a while but hey buildtolean’s mysql server was down for about 5 days making blogging impossible and made me start to thing whether or not it is time to move to a more stable provider. Possibly one I would pay for. But hey I’m a tight arse and I’m not going [...]
Software Engineering
It’s been a long time since my last post, in that time I have moved house, done summer school and started full time work. And that goodness for that last point I am so sick of study. Only one more exam tomorrow to go yey.
Anyway today I came across such a great article that I [...]
Summer School
Well today I started summer school, o yey, doing Professional Issues in Information Technology and as most people who read this would know the first lecture consists of watch i, robot and writing an essay on it. But lucky me with the accelerated course doesn’t get the week to write the essay I get just [...]
Petrol Station Lazyness
When I went in to refill my car last week I noticed yet another social oddity. How people refuse to fill up on the opposite side to their car. While I don’t personally have a problem with reaching over my car. So when I went to fill up there were about 5 cars waiting and [...]