Archive | General

I like BASIC!

I like programming in BASIC. There I said it. I can hear the purists poopooing, indeed some may be fainting. But it’s only a language. It has been said that modern versions of BASIC are not your fathers BASIC. What this means is that there are versions of BASIC available today that have most, or even all of the features found in other modern languages like Objective-C, C#, Ruby, Java, etc.

I’m a Macintosh guy. For a long while I used FutureBASIC but it has fallen by the wayside a bit. A good modern BASIC for the Macintosh is REALbasic. It’s actually cross platform and runs and compiles for Macintosh, Windows and Linux. I only have the Macintosh version. REALbasic has an object-orientated language with lots of modern features:

21st Century BASIC
Yes, it’s BASIC. But it’s not the interpreted, procedural, line numbered, spaghetti-code-producing BASIC from the old days. This is a robust, modern, fully object-oriented from the ground up BASIC that compiles to native X86 and PowerPC machine code. REALbasic supports inheritance, polymorphism, interfaces, delegates, introspection, the works. And if all of that made your eyes glaze over, don’t worry. The great thing about REALbasic / REAL Studio is you can do a lot without having to know any of this, but it will be there when you need it.

One downside is that it produces quite large binary files. REAL Software have made changes to the system to allow them to address this but at present it still links in everything and this gives big executables. I don’t think this is a problem these days. Another issue with the Macintosh version is that currently it uses the Carbon framework (mostly) for interface elements. Cocoa is what modern Macintosh apps should be using. The good news is that a beta that uses Cocoa is imminent. I’m looking forward to it. It should make it easier to produce Macintosh apps with REALbasic that have more Cocoa UI compliant interfaces using a language I know and I’m comfortable with.

Will still need to know Objective-C for iPhone apps though…


Added WPtouch plugin

Just added the WPtouch plugin to the Soapbox. This uses a different mobile optimised theme when you hit the site with an iPhone, iPod touch or (apparently) an Android device. I like it.

More than just a plugin, WPtouch is an entire theme package for your WordPress website. Modeled after Apple’s app store design specs, WPtouch makes your WordPress website load lightning fast on touch mobile devices, show your content beautifully, all while not interfering with your regular theme.

More info at: WPtouch: Mobile Plugin + Theme for WordPress ↔ BraveNewCode Inc.

Click Picture for larger view


Back to programming basics

I bought myself a copy of the Pragmamatic Programmers Learn To Program book. I’ve decided to go back to basics and make sure I have a good foundation in the basics of programming before trying to build some applications I want for the Macintosh and iPhone.

Not because I have tried to build the applications and failed. I haven’t. No, I just want to build the foundations first before moving on to meaningful stuff. Sort of fill in some of the knowledge you’d get from doing a formal programming course at College or in first year University; but by self study. What is that term about a house built on sand…

In addition to the Learn To Program book, which uses the Ruby language for its examples and exercises, I’ve also got two entry level Objective-C books that I will be studying at the same time. These are Programming in Objective-C 2.0 by Kochan and Learn Objective-C on the Mac by Dalrymple & Knaster.

I’m going to use all three of the books at the same time by reading a chapter at a time from each. Is this sensible? Who knows? I’ll get back to you on that in a month 🙂


Song Lyric: Let’s Party

Lyric I first did ages ago. Have resurrected and amended it. Probably still needs some more polishing and refining to make it scan and easier to sing.

Let’s Party

Sometimes I feel I’m pissing
Straight into the wind
Other times I feel as if I’m
Being slowly skinned
Perhaps I’m on a treadmill
Going round and round all day
Or is this all illusion
Does life have to be this way?

At times like this I have to say
Sod it!
There’s just one thing to do
Just step back and loudly say
I’ve had enough of all this crap!
Let’s party for the rest of the day

Let’s party, Oh Yes!
Party!

So don’t let life get you down
Treat your problems with disdain
Just stick on your favourite music
And get down to its refrain
If people try to drive you down
Step back and loudly say
I’ve had enough of all this crap!
Let’s party for the rest of the day

Just step back and loudly say
Let’s party for the rest of the day

Let’s party, Oh Yes!
Let’s party
Party!
Just get right on down
Party Yeah!
It’s the only thing to do
Let’s party for the rest of the day!


Guitar news!!

I’ve just got the following in an Email from Andrew Guyton:

Ok, I’ve attached a photo of your guitar. Must admit it doesn’t look very green in the picture, but I can assure you it is.The certificate is coming this Friday, so all being well, I’ll get the guitar on a carrier to you by Tuesday or Wednesday.

And here is said photo:

My new Guitar Click Picture for larger view

OMG! It’s beautiful 🙂 Cancel all appointments next week…

45th orbit of Sol completed

This is a timed posting (I’m actually in bed asleep hopefully) to let the world know that I’ve just completed my 45th trip around the magnificent star we call Sol. Go me 🙂

My Leslie Nielsen moment…

I’ve documented my experience with testicular cancer on this site quite extensively over the last 6 years. Best to read this post first. You’ll need to read the posts from the bottom of the page up to get the right order. I consider myself completely cured of the cancer now. 6 years out 🙂

One aspect of the treatment that I alluded to but never wrote about were the visits to the Fertility clinic to bank sperm before radiotherapy, and the visits to the Ultrasound Department to get the testicles (or testicle after the surgery) scanned.

The fertility clinic visit was funny. In a Leslie Nielsen in “Naked Gun 33⅓” way. I went to the clinic in the Royal Victoria Hospital in Belfast. The first shocker during the initial visit was how crowded it was in the waiting room. Literally standing room only for a while. As far as I could see it was all couples undergoing fertility treatment. I’d turned up on my own 😮 It wasn’t even as simple as the changing room being full of couples. The way the reception and waiting room were arranged you couldn’t see the waiting room from the reception window. So I check in. Get told to take a seat in the (very quiet) waiting room. I walk round the curved wall that separated it from the reception, to find the room packed with people. All of them looking at me. I’m sure my face must have looked a picture!

Over time, as I waited couples were called for appointments. At least I got a seat after a while. During the time when the room was emptying I could almost hear the thoughts of the people in the room wondering what a single bloke was doing in the fertility clinic on their own 🙂

When I was called for my appointment I think there was just 5 people left in the room. It started out with about 25 or so. I had my consultation with a female doctor and she outlined how long the sperm would be retained for, how they were stored, what power backup systems they had and stuff. All very interesting. She then passed me over to a male technician. We had a chat and then he gave me a small plastic bottle and directions to The room. I must say that the small circumference of the opening of the bottle wasn’t very helpful for boosting my confidence 😉 The technician told me that there were magazines and videos in the room if I need some inspiration. Giggle.

Of course The Room was up at the end of the corridor. So I had to walk up the corridor carrying the sample bottle. The further up the corridor I got, which was quite busy with people it has to be said, the more obvious it was where I was heading. So I knew and all the others passing and those in side rooms with open doors knew, that I was going into The Room to, not to put to fine a point on it, have a wank into a small bottle!

So I got to The Room. I went in and locked the door behind me. It was a typical sized hospital consulting room with a sink, a hospital trolley bed, a cheap chair and a table with a TV and video player on it. Under the table on a shelf was a couple of storage files with videos and magazines in them. I had a quick look at them. Just to see what they had provided for inspiration 🙂 They were as tacky, both metaphorically and physically as you’d think. I decided I wouldn’t need them.

I won’t go into details (I’ll spare you gentle readers). Suffice it to say I deposited a sample in the bottle. Quite a good sample I thought, that thought would be dashed later, and returned, slightly flushed, to see the technician and give him the bottle. The walk from The Room was the opposite of getting there. This time everyone knew what I had just done! I handed the sample bottle over and after some more admin paperwork was told I was done. I got out of there as fast as possible.

I thought I was done. I was wrong. A few days late the Technician called me on my mobile and told me that the chaps in the sample were healthy and good quality (picture my chest swelling with pride) but (but? there’s a but?), but he was concerned that there wasn’t enough quantity for successful freezing and storage (picture my chest deflating). So he told me I have to come back and provide another sample to top up the previous one. The next day I did. And did the walk to The Room again. At least this time the waiting room was almost empty.

So there it is. My Leslie Nielsen moment. I still have the chaps on ice. Not sure if I’ll ever use them. I’ll write about the Ultrasound Clinic visits later.

More good music from Sweden

I don’t know why, but there are lots of bands and lots of music from Sweden that I really like. For example: The Knife, The Concretes, Taken By Trees, Nina Kinert, Jenny Wilson, Jose Gonsalez, The Cardigans, and probably others I can’t recall at the minute.

Two new albums dropped recently from a couple of them. Jenny Wilson released a new solo album. Her 2nd. It’s called Hardships! It’s not as easily accessible as her first album. I haven’t listened to the new one as much as I would have done if there hadn’t also been a new solo release from Karin Dreijer Andersson of The Knife. It’s called Fever Ray and is released under that band name as well. It’s brilliant. If you like The Knife you’ll love Fever Ray.

The tracks Seven, Now is the Only Time I Know, Triangle Walks and Keep The Streets Empty For Me are especially good.

[Edited on 8th April 2024 to use Songwhip links and also remove embedded Vimeo videos.]

Another brilliant, inspiring Barack Obama speech

Not really a surprise anymore. I think that Barack Obama will stand tall as one of the giants of humanity when historians in future centuries gather to discuss pivotal figures. We are privileged to be here on Earth now to witness him first hand. Listen to his Lincoln Memorial 2009 speech here. Part 2 here.