Something
Emporium

A Few Recent Articles…

Installing Ubuntu 11.10 Oneiric Ocelot on a MacBook Pro 8,2 (8,x)

Here's a quick warning: installing Ubuntu 11.10 on a new Macbook Pro 8,2 was an absolute nightmare. I've been using Linux for about seven years now.

  • MacOS is pretty particular, and I couldn't get it to boot from any USB disk, regardless of how I flashed it. unetbootin produces disks that don't work on Macs, so you'd better have some optical media around.
  • 11.10 doesn't recognise the superdrive after booting from a CD into the installer. Combined with the first issue, this is pretty bad. It fails at the Debian Installer stage. There's a fix in ubuntu-updates, but not on the ISOs. Only the netinstall (not even alternate in expert install mode) seems to let you download updated packages before loading the rest of the installer from the CD (which is fatal).
  • The default Ubuntu installs will assume you have a BIOS. You don't &endash Macs use EFI (a predecessor to the UEFI stuff you've been hearing about). From what I can tell, it'll gently caress the "hybrid MBR" in such a way as to make gptsync refuse to touch the disk ("Analysis Inconclusive, will not touch this disk"). Basically, your chances of getting a working boot are nil. I couldn't convince rEFIt to boot any install I did (and I did a few, including attempting to follow these instructions that don't seem to work on 2011 models &endash; they're a good read for clues anyway; Rod deserves a bit of coin).
  • Supposedly, the ISO images marked *+mac.iso are better at this partition table and bootloader stuff. But I've read things that say grub-install still won't install the EFI payload for you. And anyway, ubuntu-11.10-netinstall-amd64+mac.iso does not exist, so you'll be screwed by the first problem anyway.

Supposedly, the way to go is for a full EFI boot. This is getting easier with new versions of the kernel (you want at least 3.0 to avoid major headaches with hardware support). There's also the grub-efi-amd64 package. If it did what it should, it would install some sort of EFI payload (grub.efi?) that either MacOS (hold down alt/option) or rEFIt could boot. But there's no indication where this payload is, and I assume you'd have to manually move it to the HFS+ or EFI boot partition so that rEFIt/MacOS can read it. (Hell, all the older instructions say you'll be compiling it yourself.)

For now, I'm booting off an optical super grub2 disk and chainloading into my actual grub2.

Tim Groser on Labour and the TPP

Here's Tim Groser, the Trade Minister, talking to the Americans about internal Labour party politics:

ΒΆ6.  (C) After asking his two DFAT advisors to leave the room, 
Groser opened what he termed a frank political discussion.  He 
outlined the political landmines that might befall any trade 
discussions with the U.S.  He described Opposition Leader Phil Goff 
as a man under "extreme pressure."  Goff himself is pro-U.S. and 
moderate, but there is an anti-U.S. component "at the fringe of the 
left wing of the Labour Party," which seeks to exploit 
opportunities to replace him.  Bringing the U.S. into the TPP could 
magnify anti-U.S. rhetoric.  If Goff remains opposition leader, he 
should be able to contain this potential.  However, if Goff fails 
and New Zealand is in the middle of negotiations with the U.S., you 
could suddenly see a "real anti-American element spring up." 
Groser emphasized that the New Zealand Government is trying to 
manage this process in a "mature way" so the opposition will be 
brought into the process early on to seek their buy-in.  Groser, 
however, expressed his confidence that Goff would remain at the 
head of the Labour Party and as opposition leader going into the 
next election. — 09WELLINGTON275

Two years later, I think the US negotiators have done enough to magnify anti-U.S. rhetoric themselves - they certainly didn't need any help from fringe elements of the left.

The EFF calls the TPP "a secretive, multi-nation trade agreement that threatens to extend restrictive intellectual property laws across the globe". Rick Shera calls the TPP "extreme" and "blatant negotiation bullying". David Farrar's position seems to be that the US playing hardball with our copyright legislation may make the weak trade concessions offered not worth it. These opinions are spread across the political spectrum, and they're signs of a growing consensus that we should be wary of the deal.

I certainly hope Groser no longer believes what he told the Americans.

Regarding PHP's array()

They can be arrays, hash tables, collections, stacks, queues, lists, dictionaries. The concepts are distinct, but similar enough to not need different structures. IMHO, confusing the concepts has nothing to do with the implementation, but everything to do with actually confusing the concepts.

Quoth the wize yrizos