Saturday, 11th February 2006Programming MarathonPhew! Well, it's been quite a manic week on the programming front, with no less than five new releases.
It all started with a complex new development of ROTunes (mentioned previously) which then led to the creation, development and writing of a new installer application for it. Someone then pointed out a bug in ROTunes that I'd completely overlooked, which was that if you pause the music and then quit ROTunes, it left the MP3 file it was previously playing 'open'. To fix this bug I downloaded some of the available 'close files' utilities available for RISC OS. Unfortunately, all of them gave far too much information, when all I wanted was a quick summary of any files I may have left open myself - not loads of system files, which are likely to be open anyway! Hence the inspiration for !CloseFiles, which is my own utility for closing open files. In addition to having a clean and simple interface it also has various filters so that you can tell it to ignore font and system device files - leading to a nice uncluttered display.
The first release of !CloseFiles was made a few hours after I originally had the idea to write it in the first place. Of course, it was soon pointed out to me that some of the text was being truncated because I'd created the icons a bit on the small side. Doh! I thought. Of course, not everyone uses a 1600x1200 screen mode with a desktop font size of 7pt. I immediately set about expanding all the icons slightly so that they should be viewable using 12pt Homerton text (the default desktop size). This in turn led to be giving myself a severe headache trying to calculate the required width of variable text in a variable anti-aliased font size. Font_ScanString didn't seem to want to play ball - despite me using it extensively in ROTunes to calculate column widths for the main display. Anyone who's perused the PRM (vol.3, page 483) will see that this system call is not really for the faint-hearted, requiring the passing of data in seven registers as well as the setting of some 10 bits of one of them. All manner of combinations are possible, so what was needed was a decent 'Programmers Calculator' which would easily allow me to calculate bit patterns and binary/hexadecimal conversions without pulling too much hair out (what's left of it).
Cue, the inspiration to write !WordCalc..... Some four hours later and I make the first release, all working quite nicely and even doing a few more functions than I'd originally intended.
Now on a roll, I thought I'd better get around to updating a couple of other applications so I've also released new versions of my file checksum calculating utility !CRC and my Lottery analyser and guesser application.
And it's not even midnight yet! Yay!!
So far people have left 2 comments;
chanel jewelry said... clear: Why did it take <a href="http://www.chanelearrings.org/fake-Vivienne-Westwood-Necklace-68-b0.html">vivienne westwood necklace</a> you ten days to forward Aug 24th, 2010 9:15am
It is cheering to read your blog. In my moments of depression about the dwindling RISC OS scene I sometimes wonder how many people still actually use their machines for writing programs. If you read a newspaper or watch TV you come away with the impression that programming, like reading a book, is something that normal people never do. Sorry! This is not a very focussed comment. I will snap out of it.
Sometimes I have this little fantasy that young people might flock to RISC OS because it provides a marvellous platform for learning all kinds of skills. But alas, when I go to RISC OS shows all I see are people nearly as old as me. Still - "dauntless the slughorn to my lips I raise". Leave a new comment:
URLs linking to this entry
|
Search Paul's Blog
Contact
Summary of February 2006
14th - A load of balls
12th - Tidying loose ends
11th - Programming Marathon
5th - Universal Installer
2nd - Jehovah!
Current
Recent comments
On Sep 7th, 2010 6:38pm, location voiture marrakech commented on Heightened Terror State (26th August 2006)
On Sep 7th, 2010 10:05am, ugg boots cheap commented on Scary Wheelie Bins.... (31st August 2006)
On Sep 7th, 2010 4:38am, coach pureses commented on Heightened Terror State (26th August 2006)
On Sep 6th, 2010 1:47pm, ugg boots cheap commented on Scary Wheelie Bins.... (31st August 2006)
On Sep 6th, 2010 1:47pm, ugg boots cheap commented on Scary Wheelie Bins.... (31st August 2006)
On Sep 6th, 2010 11:01am, tag heuer watches commented on What's happened to monitor technology? (20th January 2007)
On Sep 6th, 2010 8:32am, watches longines commented on Saddam's cat up for adoption? (5th January 2007)
On Sep 6th, 2010 8:21am, watches longines commented on Saddam's cat up for adoption? (5th January 2007)
On Sep 6th, 2010 7:19am, christmas gift basket ideas commented on May Day (1st May 2006)
On Sep 6th, 2010 2:17am, Ang commented on Scary Wheelie Bins.... (31st August 2006)
On Sep 5th, 2010 8:45am, chanel necklace commented on May Day (1st May 2006)
On Sep 5th, 2010 8:43am, wc davinci commented on May Day (1st May 2006)
Tagged Categories
|
||
|
Powered by ElectricType 1.05 (28th Dec 2008)
|
Visitors: 349277
|