If we allow erosion of the basic principles of a peer agreements at the behest of companies who should be serving us we will ultimately be worse off for it.
Applying artificial limits on the services of a certain type or those provided from certain companies does not improve the service for the end consumer. In effect it's like rolling blackouts - they're an emergency requirement to keep hospitals running in times of insufficient power on the grid - they should *not* be used to control the market in the flow of information that we are paying for.
There are already checks and balances in place to stop abusers of the internet (constant maxed out downloading of illegal videos, for instance), and these are a tiny fraction of Internet users, so there is no case there for imposing QoS type filtering on the rest of us, who just want to use Netflix or other streaming services already targeted in the US.
I just signed a letter to Ed Vaizey, the MP for Culture, Comms and Creative Industries here:
https://you.38degrees.org.uk/petitions/net-neutrality-protection
If you feel as I do maybe you could do the same.
My two great loves are computer software and software design, and music - specifically keyboard programming and playing for theatre. By day I architect software systems, and code, but by night I'm usually playing a gig at a local theatre, recording in my home studio, or programming MainStage for the next big gig.
Monday, 29 September 2014
Thursday, 18 September 2014
Forcing Bootcamp installer to build a USB bootable drive
I discovered that as my mac has a built in CD drive bootcamp assistant does NOT give you the option to create a bootable USB drive. This is a pain - who wants to burn one-time DVDs for installation when we have USB drives kicking around.
After banging my head against the wall trying to dd a converted ISO I thought maybe it's possible to trick the bootcamp installer...
...and it is...
Here's a link which explains what you have to do. Either do it all using sudo and a text editor, or tweak permissions and use the editor that comes as part of Xcode. If you're on Mavericks you'll need to run code sign but all the instructions you need are in here.
https://discussions.apple.com/thread/5479879
Enjoy!
EDIT: It turns out that my mac can't boot from USB anyway... You need to use the DVD, after all that! There may be more hacking you can do, but for now, you can only use the USB key you made on a mac without a SuperDrive.
After banging my head against the wall trying to dd a converted ISO I thought maybe it's possible to trick the bootcamp installer...
...and it is...
Here's a link which explains what you have to do. Either do it all using sudo and a text editor, or tweak permissions and use the editor that comes as part of Xcode. If you're on Mavericks you'll need to run code sign but all the instructions you need are in here.
https://discussions.apple.com/thread/5479879
Enjoy!
EDIT: It turns out that my mac can't boot from USB anyway... You need to use the DVD, after all that! There may be more hacking you can do, but for now, you can only use the USB key you made on a mac without a SuperDrive.
Wednesday, 17 September 2014
Upgrading the primary HDD in a MacBook Pro
After 3 years of excellent service I've come to the realisation that the 256Gb HDD in my MacBook Pro is just not big enough any more, so after a little to-ing and fro-ing on crucial.com I acquired a new 1TB drive to act as a straight swap.
But here's the rub - how do I get all my data transferred over with the least amount of pain possible?
This got me thinking: OSX is basically UNIX, right? I have an iMac with a bunch of ports on it, and the laptop will boot into what Apple call Target Disk Mode, where the laptop is essentially an external hard drive to the iMac.
I thought I'd record how I did this in case I need to do it again, and indeed, in case someone else wants to know how to do this.
I would strongly recommend backing up your main drive, but as you can always put it back if anything goes too wrong I wouldn't stress about it too much.
But here's the rub - how do I get all my data transferred over with the least amount of pain possible?
This got me thinking: OSX is basically UNIX, right? I have an iMac with a bunch of ports on it, and the laptop will boot into what Apple call Target Disk Mode, where the laptop is essentially an external hard drive to the iMac.
I thought I'd record how I did this in case I need to do it again, and indeed, in case someone else wants to know how to do this.
I would strongly recommend backing up your main drive, but as you can always put it back if anything goes too wrong I wouldn't stress about it too much.
Step 1: Connectivity
I have my laptop connected using a thunderbolt cable to my iMac. I have my new hard drive connected to a USB3 to eSATA converter, plugged into the USB3 drive on my iMac.
There are multiple ways of connecting things, but the laptop must be connected by firewire or thunderbolt to the iMac (or other laptop I suppose). The only adapter I could see for eSata was USB3, so that's what I've used.
When you connect the new hard drive to the USB3 you'll get a dialog inviting you to Initialize the disk, and this will bring up the Disk Utility.
You can see from this that I have selected the 1.02 TB ASMT 2105 Media, which is connected via USB. You can also see in the list a 251 GB APPLE SSD, which is the hard drive in my laptop. Bingo! We're connected!
Step 2: Preparing the target disk
We're going to use the Restore functionality of disk util to copy the data over in a minute, but before I can do that I need to prepare the partitions on the new disk. I actually have a bootcamp partition, so I'm going to do this twice. The old disk has a 60Gb BOOTCAMP partition for Windows (just so I can play Elite Dangerous when it comes out without waiting for the OSX version) and the rest is Mac OS. I'm going to partition the new drive as 900Gb for OSX and 100Gb for Bootcamp.
Using Disk Utility select the new drive on the left, and set up your partitions. I have 2, one for Mac and one for Bootcamp, so my setup looks like this when I'm done:
Hit Apply and give it a few seconds to go, and you're done. On the left you should have two partitions named whatever you named them underneath the heading for the new drive.
Step 3: Copying the data
This is super easy, this bit! Select the TARGET partition on the left and select the Restore tab. This should have populated the Destination box with this target partition. Now drag the SOURCE partition from the left to the Source box. You should now have something in each of those boxes. Finally, hit Restore and confirm. You'll need to put your password in for this one. In my case the estimated time was about 45 minutes - that's SSD to SSD, both disks mounted on thunderbolt and USB3, so I'm thinking that's about as good as it gets for a 200Gb partition.
The neat thing about doing it this way is it uses Apple's ASR tool under the hood, which does block copies, maintains volume information, and ignores blank space. It also performs a verification step once the copy is complete. As it happens I got an error in restore, not because there was a problem per se, but because of some odd "invalid argument" type error. This may be simply because the target size was not an exact multiple of the block size the tool was using for the copy or something. It would be nice if this could be ironed out in future releases of this tool, but it did perform the restore without error.
I should say that there are other ways of doing this, using tools like dd which can make a byte copy of the drive, and this works just fine, but requires some knowledge of how to execute command line tools to read special device file names and so on, and while I am completely happy using such tools you can't beat a good GUI. :-)
One final point worth mentioning is that I lost my system restore volume, which is installed by default on a mac disk. This is not the end of the world, as a restore image can be downloaded for free from Apple, and booted from a USB pen or other device, but you may want to reinstall this if it bothers you. I haven't tried that, so can't give any advice on that particular aspect.
Step 4: Testing the new drive
Select and "Unmount" the source and target drives in Disk Utility, power off the laptop, and disconnect the laptop and the new disk. Now refer to a guide such as this: https://www.ifixit.com/Guide/MacBook+Pro+17-Inch+Unibody+Hard+Drive+Replacement/3401 for replacing the drive. ifixit.com have guides for many different types of mac, so I'm sure you can find the right instructions!
While I was in there I upgraded the RAM to 16Gb, and there are guides for that on ifixit.com too but it's pretty obvious how to do that.
Then the moment of truth - powering on the Mac!
I pressed the power button, the CD whirred a bit - and then nothing...
So, I connected the power. This time it booted up but it did take a while. Be patient. You've just had the battery unplugged so that would have reset the power management and so on. When the machine came up it had reset the time, but that didn't last long when it connected to the internet.
I am finishing this post on the laptop, so that tells me all is well. One point I noticed is that I tried to verify the drive in Disk Utility and it had errors, so I shall investigate that further, but as far as I can tell the machine is just like the one I had about an hour ago, except now with a new, faster drive.
Good luck!
While I was in there I upgraded the RAM to 16Gb, and there are guides for that on ifixit.com too but it's pretty obvious how to do that.
Then the moment of truth - powering on the Mac!
I pressed the power button, the CD whirred a bit - and then nothing...
So, I connected the power. This time it booted up but it did take a while. Be patient. You've just had the battery unplugged so that would have reset the power management and so on. When the machine came up it had reset the time, but that didn't last long when it connected to the internet.
I am finishing this post on the laptop, so that tells me all is well. One point I noticed is that I tried to verify the drive in Disk Utility and it had errors, so I shall investigate that further, but as far as I can tell the machine is just like the one I had about an hour ago, except now with a new, faster drive.
Good luck!
Monday, 8 September 2014
Rock music is NOT dead, Mr. Simmons
Gene Simmons (remember the guy from KISS?) has said that rock music is dead due to file sharing... I'm (just) old enough to remember reading that sort of crap about the taping of Vinyls (they're like big, black CD's, love!). There was OUTRAGE when TDK released a cassette that allowed a whole album to be stored on one side of a cassette, I kid you not.
Nothing's changed, only the tech.
There is no evidence that piracy harms the music or film industry - in fact, there's evidence it may actually help, as the sales made from hearing and following new bands legally outweighs those that only do it illegally. Loss of earnings is only loss of earnings if the guy taking a copy was ever going to buy it, which in most cases is not true. Some people just collect this stuff like stamps or old coins - there's not enough time left in their life to listen to it all.
That said - please don't think I'm condoning it - I absolutely am not, which is why I have both Spotify and iTunes Match accounts, and Netflix. I still buy the odd CD I really like. There is a moral grey area about stuff which is not available to buy (bootlegs / US imports / etc) which I'll not comment on...
Thanks - I've finished now. You may go about your day. :-)
Nothing's changed, only the tech.
There is no evidence that piracy harms the music or film industry - in fact, there's evidence it may actually help, as the sales made from hearing and following new bands legally outweighs those that only do it illegally. Loss of earnings is only loss of earnings if the guy taking a copy was ever going to buy it, which in most cases is not true. Some people just collect this stuff like stamps or old coins - there's not enough time left in their life to listen to it all.
That said - please don't think I'm condoning it - I absolutely am not, which is why I have both Spotify and iTunes Match accounts, and Netflix. I still buy the odd CD I really like. There is a moral grey area about stuff which is not available to buy (bootlegs / US imports / etc) which I'll not comment on...
Thanks - I've finished now. You may go about your day. :-)
Subscribe to:
Posts (Atom)