Log in

No account? Create an account
brad's life [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

MacBook Pro, Parallels, Nexenta, Solaris 10, .... [May. 11th, 2006|09:14 am]
Brad Fitzpatrick
[Tags|, , , ]

Artur (crucially) and I just got MacBook Pros. Artur got the 17" because he's compensating, whitaker's waiting for the 12", and I got the 15" because it was juuuuusst right.

Anyway: the idea being I could replace my Thinkpad (currently dual-booting Ubuntu and Windows, and with VMWare in Windows with Debian Sarge, Nextenta) as well as replace my Dual G5 tower which I use only for JavaScript testing in Safari, a total waste. Some Photoshop wizard at work can take it instead and actually appreciate it. Then I'd have one laptop with OS X, Windows, Debian Sarge, Ubuntu, Xen playground, Solaris10/Nexenta, etc, etc.

Theory vs. reality:

Parallels ain't all there yet. It's no VMWare in terms of hardcore-edness. Notably:

-- it freezes if your machine sleeps (yes, I have beta6)
-- you then have to reboot your machine, and THEN reinstall parallels because "It could not communicate with one of its drivers".
-- it doesn't boot Nexenta ISOs.
-- it sometimes(!?!??!), like 1 in 4, boots Solaris 10 ISOs.
-- the UI is pretty horrid (it's good enough, though)
-- no snapshotting/branching (I can live without it. too bad I don't have LVM2 or ZFS on OS X though)

On the plus side, Parallels is improving rapidly. Qemu is also improving rapidly. And VMWare has an OS X product coming out soon. So the future is bright. Just a little sad the future isn't here yet. (see also: where's my f'ing flying car?)

In other news while I'm hating: Expat Perl bindings blow. But there's no other event-generating push parser in Perl (I don't want a DOM) and XML::LibXML::SAX only lets me feed it well-balanced chunks. F that. So fixing Expat Perl bindings it is.... but can only trigger the bug once in a rare while. So I have to start logging all traffic and writing a replay system for Danga::Socket so any crash I can then turn around and turn into a test case, played at full speed back to the system, getting same readable/writable/fake reads/null writes/fake alarms/fake err/hup, etc... all external influences logged. Blah. Will be useful, but didn't want to write it.

I should get to work.

[User Picture]From: 7leaguebootdisk
2006-05-11 05:31 pm (UTC)
With the hardware support that is coming out in the near future for virtualization, Xen will be able to support any x86/x86-64. Of course, you cannot buy those yet. Soon though.
(Reply) (Thread)
[User Picture]From: crucially
2006-05-11 05:42 pm (UTC)
There is no reason xen couldn't run on these laptops, they have VT too.

Sadly OSX doesn't run inside xen currently.
(Reply) (Parent) (Thread)
[User Picture]From: 7leaguebootdisk
2006-05-11 06:45 pm (UTC)
I expect that will change as soon as Xen has support for Intel's VT. It will alow them to run unmodified clients, which should mean anything will work.

I'm waiting for an x86-64 dual core laptop with virtualization and a wuxga screen. I'd prefer AMD, and an nVidia chipset with good linux support.

Currently on a Mac, I can see switching back to get that (bigger screen than Apple currently sells, for a lot less money).
(Reply) (Parent) (Thread)
[User Picture]From: scosol
2006-05-11 09:36 pm (UTC)
> I'm waiting for an x86-64 dual core laptop with virtualization and a wuxga screen.

+ transreflective!
(Reply) (Parent) (Thread)
[User Picture]From: erik
2006-05-11 05:52 pm (UTC)
I don't know if that G5 is a work machine or a home machine, but if it's the latter I might be interested in buying it. I'm anxious to start playing with Final Cut Pro.

Then again I should probably just wait for the Intel-based G5 (G6?), but who knows when that'll be.
(Reply) (Thread)
From: (Anonymous)
2006-05-11 08:18 pm (UTC)

XML::Parser bugs

Let me know what the issue is - might just be something you're doing :-)

Matt Sergeant.
(Reply) (Thread)
[User Picture]From: crucially
2006-05-12 02:57 am (UTC)

Re: XML::Parser bugs

the code is open man, but i will bug you on irc :)
(Reply) (Parent) (Thread)
[User Picture]From: substitute
2006-05-11 09:13 pm (UTC)
I like my Goldilocks laptop too. That 17" one might be great if I did mobile video but holy cow it's like carrying an artist's portfolio.

The Intel stuff on the new macs looked very 1.0 to me. Thanks for being my early adopter! I'll ask you in a year if it was worth it! Hehe.

And yeah, Artur. He's like that.
(Reply) (Thread)
From: edge_walker
2006-05-12 02:34 am (UTC)

Note that libxml2 does let you combine a push parser with a SAX event generator. At the C API level, you set up a SAX callback struct as you normally would, then pass it to xmlCreatePushParserCtxt as you normally would, then use xmlParseChunk until you have consumed your input as you normally would. Ie. there’s nothing special about combining SAX and the push parser at all. It just works.

Maybe fixing XML::LibXML::SAX to expose this capability would be a more worthwhile investment of effort than dragging Expat ever further along into a future it was not equipped for?

(Reply) (Thread)
[User Picture]From: brad
2006-05-12 06:46 am (UTC)
True. I just read all the relevant LibXML C, XS, and Perl code.... I see the problem now. I'll have a crack at fixing it this weekend.
(Reply) (Parent) (Thread)
[User Picture]From: stechert
2006-05-18 07:14 am (UTC)

BTW, now that you're on a Mac...

You may want to check to see whether or not your portable advisory file locking stuff works there. A straightforward port of the movemail code yielded some very strange results for me on HFS+. Relevant details that explain yet again that a Mac is NOT Unix are here: http://rixstep.com/2/20040621,00.shtml
(Reply) (Thread)
From: (Anonymous)
2006-12-31 10:45 pm (UTC)
nextenta seems to boot if you turn off DMA for the CD. That's an option in the boot screen.
(Reply) (Thread)