Wednesday, June 10, 2009

The Newton lives in the iPhone's CPU

Not exactly news, but still worth noting. The Newton's CPU lives on in the iPhone ...
AppleInsider | A closer look at iPhone 3G S Cortex-A8 ARM and PowerVR chips 
... The Cortex-A8 class is referred to in general terms as ARMv7, not to be confused with ARM7, which was actually a third generation ARMv3 used in the Apple eMate300 a decade ago. Previous generations of iPhone and iPod touch used an ARM11 processor, part of the ARMv6 generation.
Apple partnered with its British equivalent Acorn in the late 80s to adapt Acorn's RISC processor for use in mobile devices, forming the ARM partnership. Apple subsequently used a third generation ARM6 in its first Newton MessagePad in the early 90s...

Tuesday, June 09, 2009

Experiment with VMWare -- for free

I have sinned, but I have seen the light.

Now that I've joined the Church of the disposable image, I need to catch up on some basics. I've been using Fusion and Parallels w/ Windows 2000 on OS X, but the Windows VM world is new to me. So I'll have a few posts on that topic.

Since I've committed to Fusion on the Mac I'm experimenting with VMWare. Their primary end user product is VMWare Workstation, which is inexpensive for academics. This appears to be similar to Fusion on OS X. There's a generous 1 month free trial.

The surprise, however, is that you don't actually need to pay any money at all to do quite a bit with VMs. Both VMWare Converter and VMWare Player are free. VMWare Converter (Windows) will convert an existing machine, such as an XP machine, to the VM format and VMWare Player will execute these images. [Update: OK, not quite! See below.]

This isn't something VMWare markets. VMWare's web site doesn't list VMWare Converter as a possible source for VMWare Player images and even the VMWare Player wikipedia article doesn't mention this.

VMPlayer (Windows) will run their "appliances". -- and more besides ...
... Open Microsoft virtual machines, Symantec Backup Exec System Recovery (formerly called Live State Recovery) images, Norton Ghost 10 images, Norton Save & Restore images, StorageCraft ShadowProtect images, and Acronis True Image images. In this process, the initial virtual machine or image is left untouched in its native format and any modifications are saved in a much smaller VMware-formatted file that is linked to the initial image...
So you can turn your existing Windows environment into a VM and play with it - for free. I think you can also run a VMWare 6.5.2 VM on Fusion but I'm not sure of that.

There are a few VMWare Player limitations, it doesn't enter full screen on startup unless you tweak a setting and it's essentially undocumented. I've also run into device driver issues, I can't see how to install the VMWare tools for example. It's really a bit of a toy but it's free. There's an upgrade mechanism to VMWare Workstation

If you want to download the Win 7 RC .iso file and turn it into a VM without installing it I think you'll need VMWare Workstation -- though if you have VMWare Fusion maybe you could prep it on the Mac then move it to VMWare Player.

VMware Converter comes with lots of documentation. Cough. Actually, it appears to be about as undocumented as VMWare Player. Must be a corporate policy.

I think there are two ways to run Converter - standalone and client server. I did the standalone conversion. I installed it on a machine and directed it to send the resulting image to a network share.

I clicked "convert machine" and followed the defaults. The one place to pay attention is where you're asked to select the target VMWare product. The default is some corporate product, you need to change to "VMWare Workstation 6.5.x".

A reasonably big VM takes rather a while to convert - overnight is typical.

More later...

Update: Ok, now I see the catch. Unless you install VMWare Tools you can sort of use the VMWare Convert image, but you can't go full screen, toggle out of it, some drivers don't work, etc. You can get VMWare Tools from VMWare Workstation, but there's probably a reason VMWare doesn't bundle them with Player. I say "probably" because I think VMWare is rather vague about the whole think. In any case I'll be using Workstation for my further experiments. (You might be able to install VMWare tools via Fusion. I think this is actually legal, since the point of VMWare Player is that it lets you use completed images and if you have a license to Fusion you can can complete them there.)

Update 1/21/2010: I experimented for a while, but I found VMWare on XP much less consumer-friendly than VMWare on OS X. In retrospect that's not too surprising. VMWare/Win is a corporate product, VMWare Fusion (OS X) is a consumer/geek product.

Monday, June 08, 2009

A sislaw’s Pre review

Sislaw Nettie (sister to sislaw Martha and to Emily) has a Pre.

I trust her reviews far more than the pro reviews – am I the only one to notice that Amazon’s product reviews are much better than those printed in magazines?

Like me Nettie misses Graffiti One. She likes her Pre a lot, but unsurprisingly the battery is troublesome. iPhone users can feel smug about the Sprint crapware infesting the Pre. NASCAR … brrrrrrr

My Little Pre « Nettie’s World

…I can’t delete the Sprint NASCAR app – other posters on the Pre forums yesterday confirmed this. RI-DI-CU-LOUS. So now I need to see if there’s any possibility of hiding it, although the thing I object to most strenuously is the fact that it’s taking up my 8GB space in the first place, of course.

6. Battery life. It wasn’t a very promising feeling when I woke up on Sunday morning. The battery had been at nearly 100% when I turned out the light (I had spent 10-15 minutes cleaning up contacts -more about that later) and all apps were closed. When I picked it up to say “Good morning dear Pre” the battery was at 65%! For 7 hours of (nothing?) — all I could think was that the WiFi connection was what was dragging it. The Pre forums also complained about poor battery life – and some constructive posters also provided tips, a few of which I’ve put into practice like dimming the screen a bit, syncing email a bit less frequently, turning off IM and WiFi when not needed. I think I also have to do more reading on better management of lithium ion batteries in general – a few posters said things like, “It typically takes a new battery a week of so to condition itself for maximum results” — is that really true…

No, I don’t think the “week or so” story is true – more like wishful thinking. Maybe Jobs was right about the battery cost of multitasking, though I could believe the Pre OS might be more energy efficient than OS X.

Nettie, if it makes you feel better my iPhone battery will run out by day’s end if I talk more than about two hours during the day (it’s almost a year old now). In airport mode it will last a few days even if I use WiFi occasionally.

Condolences on the Sprint crapware Nettie. Apple was in a stronger bargaining position with AT&T, though I’ve hear rumors AT&T has been fighting mightily to put their garbage on the iPhone. Rumor has it Jobs arose from his sick bed to smite them (ok, I made that up).

VMware academic discounts: Fusion and Windows Workstation

Post-Waterloo I'm a VM geek.

So, as a part-time faculty person at the U of MN I was pleased to see that VMware has large academic discounts.

VMWare Workstation is $114 academic ($190 list), Fusion (Mac - I use this) is $40 academic ($80 list).

Sunday, June 07, 2009

Google's summary of their OpenID and federated authentication approach

This is what enables me to auto-authenticate with Facebook when I'm logged into Gmail. I've linked the accounts from Facebook using this Google API:
Google Code Blog: Google OpenID API - taking the next steps 
... the user is not just signing in using her Google Account, but is also sharing specific information from her Google Account with the Relying Party website. This information may be either static fields (using Attribute Extension) such as the user's email, first and last name, preferred language and country, or allowing access to any available Google Data API such as the user's Contacts List, Web Albums, or Calendar (using OAuth)...
I am concerned about authentication bugs causing me to be locked out of my Google account, so I'm proceeding with some care.

Fixed: Post 10.5.7 WiFi problems and XP IP address conflict bug

File this one under requiem for a geek and complexity crash.

Sometime around I updated our MacBook to 10.5.7 it developed a WiFi connection stutter. It would connect to the family network, pause, disconnect, and reconnect. On the second reconnect it would ask for the network password even as it took the correct password from the keychain and displayed it inline (so if one hit return it would connect).

Before the update, about 3-4 months ago I experienced some odd XP networking issues, sometimes including messages that there was an IP address conflict 10.0.1.5 - yet that address did not seem to be in use. I was seeing other problems at the same time, so I set hat aside.

Today, when walking new our Airport Express, I noticed our iPhone-converted-to-iTouch was only showing 2 bars in its network display. It clearly wasn't connecting via the closest WDS station.

With that last clue I decided to inspect our older-device 802.11 b/g Airport WiFi WDS network.

After installing the latest Airport Utility update I discovered that while our Airport Express light was green it was not, in fact, authenticated on the network. It was in a twilight state. At some level it was connected, but at another level it was not.

That could explain the MacBook stutter, since the MacBook is often moves between the Extreme and Express domains and could connect to either one.

Power cycling the Express alone didn't fix it, so I moved it next to the Airport Extreme. This time it did show up. I tweaked some settings, including auto-setting the clock to time.apple.com (I thought this used to be set, but was turned off on both my devices when I inspected them. Is it new?)

That's when I saw the Express was assigned 10.0.1.5, which may explain the odd XP address conflict message and networking issues.

Now the MacBook WiFi network address stutter appears to be gone.

Simplify is one of my post complexity-crash themes. There's too much emergence in the modern computational world, and too many ill-defined membranes.

10.5.7 update: don't let your screen lock

I'm thinking 10.5.7 is one of those OS X point updates from hell. It smells like a bridge to 10.6, meaning it breaks quite a few things but will be supported until 10.5 expires.

I think it's broken the Airport Extreme base station to Airport Express peripheral network bridging as well as some printing and faxing peripherals.

The latest update bug I've found is related to screen locking that occurs during the update process from 10.5.6 on a PPC iMac. If a screen saver locks during the update, you may get a view of the screen cursor but you don't get an unlock dialog.

The iMac appears to be unable to awake from a sleep state.

If this happens to you I recommend letting the machine sit for at least 30 minutes. If you don't hear any disk activity then power cycle it. I did that and the update appeared to complete normally.

I also recommend all peripheral drives be detached during the 10.5.7 update. That's always a good recommendation, but it's easy to forget.

Apple's software quality has passed through the toilet stage and is reaching for the sewer stage!

See also: Requiem for a gerserker (geek berserker)