Keyboard Firmware Update Arrives to Fix Problem

February 20th, 2008

product-15in.jpg

I've noticed this issue with my MacBook Pro's keyboard ever since the update with Leopard - if you let the machine sit for a bit, no need to let it go to sleep, just let it sit for 5 mins, and then hit the keyboard, the first key will be ignored. Seems I'm not the only one to notice. The friendly guys at Apple have seen this and released an update.

One of the most interesting things about this update is that it requires no reboot in order to be put in place. Pretty slick. I should be able to see the difference today, and I'll sure be looking, but I'm guessing the problem is fixed - which is just great.

Mac OS X 10.5.2 Finally Arrives!

February 12th, 2008

Apple-logo.jpg

I've been waiting for this for a while now, and I have to say that I'm really pleased so far with the update. I got the huge 10.5.2 update and then the Leopard Video update, and then the iLife update. Busy updating day.

Some things I"ve noticed already:

  • Terminal.app - opening multiple windows at start-up now doesn't leave some of them hanging. Nice.
  • TimeMachine - the little menu icon is nice - not earth-shaking, but nice.

I haven't had a lot of time to play with things, but when I do, if I see more things worth writing about, I'll jot them down. For now, it's nice to look at the release notes and see all the work they put into it.

UPDATE: new hidden preferences feature was reported here that keeps Spaces in 10.5.2 from moving to the Space with the application on it when switching to that app. This is something that I didn't like about Spaces originally. I'd want to open a new editor window and when I clicked on the icon on the Dock, I'd automatically go to the Space where that application was already open. Now I don't have to have that happen. I click on the app and I stay on the Space I'm on. Excellent.

To set this up, simply go to the Terminal.app and say:

  defaults write com.apple.Dock workspaces-auto-swoosh -bool NO
  killall Dock

and it's ready to go. To reverse it, make the NO a YES.

Getting Secure SMTP Working with HostMonster

February 9th, 2008

hostmonster.jpg

I've been trying to get secure SMTP (SMTP with SSL) working with HostMonster for quite a while, and finally this morning I have it all figured out - I think. There are a few parts to this, and the docs on the HostMonster Help Center are pretty close to what you need, but there are a few things that I believe are important to getting this to work successfully.

First, set up the standard POP in Mail.app in Mac OS X. It's pretty simple with the following parameters:

  • Port: 995
  • Authentication: Password

For the outgoing SMTP you need to have:

  • Server Port: 465
  • Authentication: Password

Which is all just as the docs say on the HostMonster Help Center. But the trick, I believe to getting Mail.app to work is in the trusting of the certificate that each HostMonster machine uses. Understandably, to save costs, the HostMonster guys created certificates for themselves and set them to expire in 2034. But Mail.app sees that these are not signed by a Trusted Authority, like Verisign, for instance. I don't care about that, but each time Mail.app starts, it connects to the HostMonster machine and sees that the certificate is not from a Trusted Authority, and asks me to agree to connecting anyway.

Here's the trick... when that comes up, ask Mail.app to Show Certificate to get a look at it. Under the name there will be a little check box saying "Always trust machine when connecting to machine". Check that. Then say OK.

At this point, you're not going to get that question on startup of Mail.app, and you're going to be able to use the SMTP/SSL on the host. Now it's possible that HostMonster changed something on their end, but I think from an email I received from the help desk, this is the key.

you would not use password authentication. When enabling SSH you need to be aware that the SSL is self-signed on the server, and many mail programs are going to give you greif about this. They will require that you click accept every time you sent/receive emails.

So what I'm reading here is that the nature of the certificates that they use are that they are not trusted by most systems, and by overriding that in Mail.app, I'm actually able to connect and get the messages sent. I've verified that they are working, which is a great big load off my mind.

I don't trust insecure Telnet/FTP/POP/SMTP - there's just too many people out there that are too smart and too persistent not to write something that can grab anything in plaintext. I just can't see why people would use plaintext protocols when they have secure alternatives. I'm glad that I have this working with HostMonster. Big load off my mind.

Risk/iConquer – What a Wonderful Game

February 8th, 2008

iConquer.jpg

I've written about games that have held my interest over the years, and again I have to mention that the game at the top of that list is Risk - on the Mac it's iConquer. It's not fast-paced... the graphics aren't like individual leaves on trees that you mow down with some flame-thrower... but it's a fun game. The problem is more of trying to get the people together.

My kids play the DS, or the PSP, or the Wii - which can be a lot of fun, but it's not the same as a game like Risk. Turn-based, dice-rolling, fun memories of playing with friends in high-school for hours on end. Alliances made, broken... winning, losing, being one of the last two... being one of the first out. It's just an experience with people as opposed to machines.

I guess it's like a lot of things... it's what you bring to the game that makes it special. And on that score, I bring a ton of great memories, and that's what makes it a great game.

Adium 1.2.1 Still has the Sound Bug

February 8th, 2008

Adium.jpg

It's not as often, that's for sure, but it's still there - the bug in Adium 1.2.1 where when I open my laptop and it wakes up from sleep the sound effects in Adium are missing, gone, silent, whatever you want to say. It doesn't seem to happen every time, and maybe it's in OS X, for all I know, but it would be nice not to have to restart Adium when this happens.

I know there's a new Quicktime 7.4.x update that I need to apply, but I'm doubting that that update is going to really effect me, but I'll give it a go and see if that helps anything. Meanwhile, I'll just have to restart it as I've already sent in the bug report on this already.

UPDATE: I did the Quicktime update. We'll see if this makes any difference on the sound from Adium.

New gfortran Builds and Xcode 3.0 Plugin

February 7th, 2008

fortran.jpg

Today two new releases on the FORTRAN front - both nice to hear. The first is that there's a new build of gfortran on the Mac HPC web site. This is the stand-alone compiler that works with the Xcode 3 tools from Apple and gives you basic command-line gfortran compiling. It's an easy install - simply un-tar it and it's ready to go.

The other is that the MacResearch guys have put together a .pkg file for installing the above mentioned gfortran and also an Xcode 3-compatible plugin for gfortran so that you can create FORTRAN projects in Xcode 3 and build them without having to use Makefiles.

I'm a huge fan of the compiler, and I'll probably get the package and install it on my iMac G5 at home to make sure it works OK, but on the whole, I don't do a lot of work with FORTRAN that isn't already covered with Makefiles. This is because there's usually also a few C files and then I'm old school when Makefiles were considered 'new'. So I have them in my projects already and there very fast to write if needed.

But if I were teaching someone about FORTRAN, I'd definitely make sure they had the Xcode 3 plugin installed. Thanks goes out to the two groups for taking the time to update the tools.

It’s Amazing What Bother a Blog Can Generate

February 6th, 2008

cubeLifeView.gif

OK, this is something I never thought I'd have to do, but this evening I had to password protect my blog. I was getting more grief about it from the management where I work - specifically saying that I could no longer discuss anything related to people or events that took place at the office. In one sense, I can understand my manager's issues - he's told by his boss that this shouldn't have happened, and it shouldn't have, and he responds by trying to make himself look less of the bad guy and more of a sympathetic representative of The Man.

Interestingly enough, you can't do this password protection in the WordPress configuration. At least not unless it's hosted at their site. I don't know why this is, but I found a plugin that allows me to put a password on anything related to the weblog. I'm not sure it's 100% crack-proof, but it's certainly well past a good-faith effort to keep people out of this blog.

UPDATE: If I turn this on, then I can't use MarsEdit to write my posts. That's not something I can live with. What I can do is to post all the messages as drafts so that they aren't visible to the average viewer until I specifically publish them. They are still held on the server, just in a draft state. This way, I can make it appear as though I'm not posting anything else while I am - just not making it visible to anyone but me.

[2/7/08 3:31am] UPDATE: I'm trying to get the password plugin to work with MarsEdit. Hopefully, this will work. Excellent! By excluding the XML-RPC URL from the default password protection, I can allow WordPress' password protection on that to work and the plug-in's password protection to work on everything else. It seems that I have a very workable solution now. No one can look into these pages without the password.

[2/11/08 4:00pm] UPDATE: I've taken it offline simply because I've received more talking to about this weblog. I was meant to help me feel better, enjoy what I've done, and act as a record of the problems I've solved so I don't have to solve them again. But it's become a boat anchor and I've got to shut it down.

Much Ado about Nothing – C++ Fills the Gap

February 6th, 2008

cplusplus.jpg

Today I was working on loading up my new price injector with the instrument data from the vendor's system and was originally thinking that if they just made their database layer available to me via their supplied shared library, I'd be able to send the query, read the answer and be done. Alas, they don't allow that.

But what they do have is a stand-alone app that takes a file with a request in it and can generate a file with the output of the command. I was a little concerned about how it'd all glue together, but I shouldn't have been. C/C++ really does have just about everything you could ever ask for in a language, and interfacing with stand-alone apps is no exception.

I was able to build the command, execute it to a temp file that I then read after the command was done. It wasn't as clean as it could have been, but it really wasn't that bad either. Thank goodness that all I had to do was get a list of instrument data.

So in the end, my concerns about the clunky nature of this interaction was really much ado about nothing. C++ made it much smoother than I was afraid it was going to be. Then again, when we fill up disk space and the output file can't be written, I might be singing another tune. But that's for another day.

Comfort Code – Like Comfort Food, but Code

February 6th, 2008

xcode.jpg

Having a tough morning this morning... feeling a little behind the 8-ball. Nothing impossible, hey, even Cowgirls get the blues. But when I'm feeling a little blue I like to put on some of my favorite music on my iPod and force myself to go through the motions of a regular day knowing that everything is temporary and in a little bit things will change... problems will arise needed to be fixed, and the day will be off to a running start.

One of the things I do every morning is to scan all the systems making sure that everything is looking normal - within limits. Just giving everything a once over. Like every morning this included my laptop - I put notes here and there to remind me of things and the way I'm sure to find them is to check each morning. So I'm flipping around and I stop on this little simulator I started writing back in 2003. Nothing fancy, but it's written in Obj-C for the Mac and it's using the BLAS package - kind of fun. Anyway, I was just scanning the code - reading it to see where I was. And it started to make me feel good.

Like Beans-n-Weenies and Cornbread.

Comfort Code. I'm sure that just about any language can appear artistic or beautiful to someone. It's what we each read into the code - like a painting. It's just that Obj-C has always been one of the more beautiful languages to me. Maybe I was just lucky and learned it from a couple of the sharpest guys I ever knew. That certainly helps. But it's also that I wrote this code not on a deadline or from someone else's specs - but what I wanted, so all the comments are nice, all the code is done really well. It's just a really nice piece of work.

I ended up running the example I had worked up for the simulation and it's almost to the point that I could make it dynamically recalculate the results on any input change - it's fast. Sure, that's the box and the BLAS routines and the OS, but it's really neat to see something that used to run as a batch job run about as fast as the blink of an eye. Another smile.

We all like comfort food... it makes us feel like home really isn't that far away. Comfort Code is a lot like that. Makes me realize that things are all that bad, and maybe I need to get back to that.

The 32GB iPod Touch has Arrived!

February 5th, 2008

Apple-logo.jpg

Well... it's hit my minimum size for a new iPod - 32GB. Apple today announced the new 32GB iPod Touch. It's very very tempting as I've wanted to have something that can play my movies and pod casts on the train when I get a little tired of reading my book at the time.

At $499, it's steep, I'll grant you, but it's still exactly what I wished they had released the first time. And with WiFi and the new apps, it'll be a lot more useful than the original 'Touch'.

Yes, very temping indeed. I may have to go to the Apple store this weekend and pick one up. It's just exactly what I wanted to get.