November 2007


I don’t know why, but just recently VMWare has been performing rather badly for me. It used to start up to a saved session of Windows in a matter of seconds, but now takes minutes before I can start work. Selecting Unity mode takes another minute or so to get all set up.

Working on anything while VMWare is running is bad news - everything in the system slows down to a crawl, especially during the startup phase, but even whilst running. I used to be able to switch around with ease, and even though Inventor was sometimes a little laggy, it was quite responsive. Now, I need to wait seconds for every operation in Inventor to complete (which may be a Network licensing issue, since the same thing appears to be true of Windows machines on the network, too), and it affects my OS X software, too.

Finally, I had a crash today, where VMWare shut down. I think I’d saved all of my work, but I can’t be arsed waiting for it all to load up again to check. I’ve only got 20 mins to work on the stuff I need to use VMWare for, and I think I’ll just do something else instead of waiting for half of that for it to boot up.

I don’t know if it is an OS X issue, a VMWare installation issue, an Inventor issue or a VM image issue. I only need to keep using Inventor for a couple of weeks, and I have to use Access to write my last lot of school reports. After that, I may be able to remove VMWare and Parallels from my system entirely.

Actually, I think I’ll do a complete reinstall of OS X and all of my applications when I get Leopard. And perhaps I’ll have several partitions: OS, Applications and Data. That way I can have separate backups, that are restorable easily.

View Comment (1)   RSS Feed for Comments on this Post

Ah, I’ve been there. Mine was dual-booting OS X onto an unsupported Dell PC. I had a second Hard Disk that I was putting it onto, yet somehow I managed to screw up the Windows partition as well. Luckily I didn’t destroy the laptop. And I never got near the sharks…

And, yet another plug for xkcd.com - if you haven’t subscribed to his RSS feed, then you really should.

View Comments (0)   RSS Feed for Comments on this Post

And yes, that is a Movember.

View Comments (2)   RSS Feed for Comments on this Post

Internet Banking uses industry-standard encryption to help keep you safe online, while our Factor2 Personal Icons help protect you from unauthorised transfers from your account. The first time you transfer money to another financial institution or use BPAY, you will be asked to choose three secret icons that you’ll need to select every time you use these services.

[From Savings & Loans - Internet Banking - Information]

Okay, so let me get this straight. You have introduced a second set of paswords, right?

Each time you use BPAY or transfer funds to another financial institution, you will be prompted with nine icons, including your three chosen icons, in a random order. You will need to select your secret icons in the correct order before you can BPAY or transfer funds.

Okay, I have some issues with this.
Firstly, if someone already has access to my login details, they have breached security. They can look at personal details about me, including the address my credit union has on file. But not my date of birth. Which they might be able to get by google.
Okay, you are trying to do something nice and stop someone stealing all of my money if they happen to get my PCLink access details. And you give me a system where I need to click on three icons.
Surely shoulder-surfing is easier to do if you just have to see the three icons someone clicks on, rather than try to see what keys they have pressed on the keyboard.

If you forget your Factor2 Personal Icons, you will need to call our Member Contact Centre on 13 11 82 to have them reset.

Okay, so someone could get my login, pretend to forget my icons, and ring and get them reset. So the system can fairly easily be bypassed. But then I wouldn’t be able to get in myself. Granted, it is a level of security that didn’t exist before, but I don’t really see that it is any more secure. If they have gotten in, it stops them transferring all of my money out.
Until they ring, read off my address, google my date of birth, and then they can steal all of my money. Now, it happens I have been pretty good at keeping my date of birth private. I even use a faked D.O.B. for lots of online sites. Which I have to remember when I have used that fake.
It’s just lucky I don’t have much money in there…

View Comments (4)   RSS Feed for Comments on this Post

I lashed out yesterday, and bought something that I’ve been wanting for a while.

A USB TV Tuner stick.

I went for the miglia TVmini2, as it was (I thought) fairly inexpensive. I’m not sure I made the right decision right now.

(more…)

View Comments (7)   RSS Feed for Comments on this Post

I obviously don’t use my MacBook Pro for much data entry. At least, not numerical data entry.

Like almost every laptop, MBP is lacking a dedicated numeric keypad. However, you can turn on the numeric keypad by using fn-F6.

What’s interesting is that there is actually a light under there to indicate when it is on:

When it is on, the remainder of the keys no longer operate - even those not associated with the numeric keypad. The only one I can find that doesn’t have a small ‘num-lock’ extra symbol on the key but still operates is the F6 key, which turns num lock back off.

View Comment (1)   RSS Feed for Comments on this Post

Well, I’m learning stacks about Cocoa/Objective C. Quite a bit of what I’m doing is trial and error, and I still haven’t got the hang of retain/release. But I do have a couple of working programs.

The first one is an RPN calculator. Typing in or pressing buttons enters numbers, and the right arrow pushes them onto the stack. The exchange button swaps the top two items in the stack, the roll button moves the top item to the bottom.

When you press one of the operator keys, then it operates on the current data and the top item in the stack, or the top two items if there is nothing in the current data.

And this is all working very well. The calculator functions work as expected, and as described. However, the stack display in the NSTableView does not work. For some reason, whilst the data is stored, it isn’t being displayed.

A little more detail about that. The data is being put into the table, and I can select the X number of items that are in the stack. But they do not display. It is like the data is there, but just not being painted! And it is annoying the hell out of me!

I’ve done a heap of testing, and I can kind of describe what is not happening. There are two functions that need to be implemented by a dataSource, both of which I have implemented.

- (int)numberOfRowsInTableView:(NSTableView *)aTable;
- (id)tableView:(NSTableView *)aTable
             objectValueForColumn:(NSTableColumn *)aCol
             row:(int)aRow;

These are the interface definitions. The implementations are simple - they just use the data stored in an NSMutableArray, and return the size of the array, and the (nth) item in the array.

But the problem is the second one does not appear to be actually being executed. The first one is, each time I call [stackView reloadData]. And I have no idea why the second one, which actually puts the data into the table, isn’t.

I’m giving up, for now. At least I have (mostly) implemented my 9-letter puzzle solver:

Although, it would be kind of nice to be able to use an NSTableView here, too. Although I might finish the implementation using an NSTextView, and style the 9-letter words differently. Just to totally make it the same as the wxPython version I wrote.

View Comments (3)   RSS Feed for Comments on this Post

There are just a few things I don’t like so much about the Nokia E65.

Firstly, and foremostly, there is a noticeable delay when doing particular actions. For instance, pressing the Address Book key and then typing a name in means you invariably miss the first couple of letters. And it only sorts by the start of the name, not text within the name.

Secondly, and at times more annoyingly, if I happen to close the slide at the same time as another action happens, like someone hanging up on the other end of the phone, it turns off.

That’s right, the phone goes dead. I then need to wait (minutes, it feels like) for the phone to finish starting up again.

The camera is badly placed, too. Not that I want to do video calls, but I can’t see the caller and them see me at the same time. because there is only one camera, and it is on the back.

Another annoyance is that address book entries don’t have a default number by default. And it takes ages to go through (delays each time) to setup the defaults. And these don’t sync properly with Apple’s Address Book, so if you reset your phone (for instance, to see if you can fix the shutdown bug), you lose all of the defaults you have carefully set up.

There is no autolock. It prompts you to lock when you close the slide. You can install software to automatically lock after a period of time, but if you close the slide at the same time as when the autolock kicks in, the phone turns off.

Bluetooth appears a bit dodgy at times. Sometimes it no longer connects to my computer, and I need to restart my phone. I think it is more to do with the phone than the computer, but I’m not sure.

Battery life is crap. I didn’t want to have to charge my phone every night, but if I use WiFi, then I do. If I just use Bluetooth, which I need to have for synching, then it’s every second day.

Salling Clicker is awesome. I have an addon script that synchs my phone every day, and it displays incoming and outgoing caller information via Growl. It also fades my system volume, and pauses iTunes when I am on the phone. This is the sort of thing that computers should do. All of the time.

View Comment (1)   RSS Feed for Comments on this Post

While I’m in the “learning a new language” mode, I thought I may as well start listening to the podcasts I’d downloaded from UC Berkeley, from the well-regarded CS61A course, and the associated textbook The Structure and Interpretation of Computer Programs.

The textbook is also freely available, including in a handy PDF version, and I’m working through that too.

The language used is Scheme, which is a Lisp derivative. It actually looks a bit like Objective-C in the way functions are called. Thus you see stuff a bit like:

(+ 5 6)

(solve 4 65 3)

That is, a prefix notation is used. The function (and operators, such as +-/* are also functions) comes first, followed by the argument(s). Compare this to Objective C:

[celsiusTextField setTextColor: [NSColor blueColor]];

In Objective C, the object comes first, then the method, then the argument(s). A different structure appears where there are multiple arguments:

[object methodName: argument1 secondArgName: argument2]];

I’m still struggling to think back to my C days, but there are lots of things about every language I’ve used since python that I don’t like. Memory management, pointers, static typing, there just doesn’t seem to be any reason to have to worry about this shit.

Probably the biggest thing for me is that it is exciting me about study next year. Even if it will be learning Java, and putting up with rubbish all over again…

View Comments (2)   RSS Feed for Comments on this Post

Back in 1970, the French Government tested a heap of Nuclear weapons on atolls in the pacific. This photograph is allegedly one test on the island of Licorne.

This photograph looks so much like a painting it is amazing.

[From Licorne (Monoscope)]

View Comments (0)   RSS Feed for Comments on this Post

Next Page »