Higher Logic notes on screwing with tech…

11Oct/111

How to use your Android phone as a pc

So for anyone who doesn't know, the Samsung Galaxy SII is quite possibly the world's sexiest phone.
I'm in love with Android, and wouldn't have it any other way.

I'm also a big proponent of mobile devices in general and believe they will supersede personal computers in the next 5 or so years.
To test my theory of how relevant this was, I used only my phone at home for 3 months. No PC or laptops.
The result was... interesting. I was amazed at how much I could do, but my battery hated me.
It now only lasts about 60% of what it used to brand new. This was quite easy to fix as I just bought a few new ones.

But the critical part of how I was able to do this was the use of a few clever gadgets. The crux of which is a new standard called MHL.
It allows you to link your phone to your TV via a small cable which also has an adapter for the charger.
mhl
With this little connector, you can blow your phone screen on to any size TV over HDMI, and watch full 1080p videos on it. It is thus also your entertainment centre... in your pocket.

I also acquired a Bluetooth keyboard and mouse which worked perfectly with the phone.
You have many choices for the keyboard including an apple keyboard, the fabulous Logitech Dinovo mini or various other ones from ebay.
For the mouse, I chose a Logitech V470, but any Bluetooth mouse would have done fine.

This allowed me to play music, write documents, surf the web, and do pretty much anything I would normally do on a PC. Since Android also has support for flash, all websites render just fine on the device.

This opens some interesting doors for the future, and I'm very excited. Imagine having all your files in the cloud ready to be downloaded over high speed 4G internet anywhere you are. When you get to work, you plug your phone into your monitor and you are ready to go. Get home, plug it into your TV and watch a movie in 1080p, browse the net, and catch up with some friends. All your computing needs in the palm of your hand. We are so close. I can't wait.

IMG_6034
IMG_6035
IMG_6037
IMG_6043
IMG_6044
IMG_6046
IMG_6047
IMG_6048
IMG_6050

Filed under: New Toys!, Ramblings 1 Comment
9Oct/112

First gen Macbook Air weak link

Just spent a large part of tonight trying to figure out why my macbook air had spotty wifi connection... it was driving me insane!

I finally tore it up and found two wires broken from the hinge body of the air. Manually joining the b0rked wire changed wifi condition from 50% packet drops to 900 kb/s  rsync. Anybody know why the wifi wires are so thin? I'm thinking of soldering it back, but i'm worried about the thinness of the connections. Is there a better way?

sky_viewclose_good_wireclose_okay_wire

close_b0rked_wire

Update: I soldiered it two lines today and full wireless strength now w00t!

Filed under: Uncategorized 2 Comments
7Oct/110

New headphones!

After a 6 hour research marathon, I finally decided to plonk down for a pair of Etymotic Research hf2.
I've now had them for a good week and have tried every pair of the 4 different buds that come with it.

I went in knowing that it would be bass light, but great clarity on the high/mid end. But my logic was that if I want more bass, I can simply equalise it in.
So.... not quite.

The good news is, it has utterly phenomenal clarity. Every breath, every word is "crisp" as ice. And the noise isolation is absolutely incredible.

I've used the ER's signature triple flange before so I'm very used to the incredible vacuum seal/noise isolation it creates.
You will hear nothing of the outside world.... Seriously. Someone could be shouting in your face and you'll see their mouth moving, but no sound.

Now to the flaw in my super plan. The bass is... lacking. There, I said it.
The first thing you see when you open the pack is this "warning! you must create a seal for bass"... which, I've clearly got, since pulling them out feels like I'm bringing a bit of my eardrums with it.
But what about EQ?? Just pump up the lows you bass head!
Well, I did, and to my dread I got mud. The lows go muddy as soon as you bump it up beyond about 10-15%. These were clearly not able to reproduce the lows at a significant level.
I triple checked this by comparing the sound to my ageing PX100 and my Grados.
The result was that both of them produced the bass perfectly even with the lows jacked to the heavens.

To be honest, this was my own fault. I tried to have my cake and eat it too. There was simply no way a single driver in-ears was going to reproduce both crisp highs and deep lows. Something had to give.

So would I recommend them? Yes, somewhat. I'm still well within my refund period, but I'm definitely going to keep them.
They are great for most songs and for audiobooks/podcasts, especially on the train.
But I'll be using something else if I want alot of bass.... maybe I'll go try a pair of Shures.

TL;DR - Fantastic highs/mids, excellent noise isolation, poor/muddy lows. 8/10

Filed under: New Toys! No Comments
3Oct/111

Deployment strategy and symbolic links

Here's a quick neat idea involving using symbolic links on a production environment.

A most basic deployment strategy usually involves taking your site down, upgrading your database/files either manually or through svn.
Some more sophisticated strategies may involve tools such as phing (for php).

But there can be some problems, most of all the fact that the site might have to be down while maintenance is going on.

A better way to do this is to have your production environment sit on a symbolic link.
You can then deploy the new version to an entirely new directory and test it to make sure everything is fine, and then instantly switch the symbolic link to the new version when you are ready to release it.
If the flak hits the fan and you need to revert back, simply point the sym-link back to the original directory.

For example, lets say your site is currently on version 1.4, and you are upgrading to 1.5. The files might be here
/var/sites/mysite/version1.4/

Now copy everything from the above directory into:
/var/sites/mysite/version1.5/

Do your normal release strategy on this new directory.

Your symbolic link might looks something like:
/var/www/vhosts/mysite.com -> /var/sites/mysite/version1.4
/var/www/vhosts/staging.mysite.com -> /var/sites/mysite/version1.5

Once you are happy to do the switch, simply point the link to the same place as your staging environment
/var/www/vhosts/mysite.com -> /var/sites/mysite/version1.5

Just doing this is great for mostly read only content and no database changes.
Next up I'll write up something which deals with database changes and how to have a site that never goes down, even when complicated maintenance is required.