Archive for the ‘Not Code’ Category
HTML5 WebSockets, very cool. (part 1)
I only found out about these at the Future of Web Design on Tuesday. I knew they existed in the spec but had never really investigated what they were or how they worked. Now I know I am excited. It seems they are to web apps what the XMLHTTPRequest was when it started to get used for AJAX. So let’s look at what they are, and then why they can be so beneficial to web development. It’s also worth pointing out at this stage that only Chrome 4+ (I think that version, I’m writing from memory) supports WebSockets natively although apparently Mozilla want to implement them in the next iteration of Firefox (they are already available with an add-on), so don’t expect to be using them in any non-specialist projects just yet.
Tethering the Google G1 — at last!
Wow, I have wanted this for such a long time and I finally found out how to do it today. In fact I have posted this entry whilst on the bus using my Android phone’s 3G capabilities with my laptop connected by USB.
And you don’t have to have root access!
OK, so how does it work. There’s two parts. One on the PC (or Mac…) and one on the phone. The phone bit is easy thanks to the man behind Proxoid a proxy App for Android. It’s free and available in the Marketplace. Also it’s a tiny download and has almost zero configuration! The PC bit requires the Android SDK, which is a free download from Google. Here are the instructions:
Read the rest of this entry »
VPS Migration for thechriswalker.net – New Host, New OS, no Plesk
Not that I didn’t like Plesk. I just have the urge to understand things well, and I couldn’t understand all of how Plesk worked… So I wanted it “all-manual”, like the true hardcore (read: idiot) I am.
I had been using a VPS to host this website (amongst other things) and it was getting old. It ran on CentOS 4 and used Plesk as a control panel. PHP was down at version 4.2.2 or something and MySQL still at version 4.x. I didn’t understand server administration as well as I do now and the whole thing was a bit of a mess. So I decided a fresh start, with a VPS on more powerful hardware and built cleanly.
So I went for a basic VPS from 34SP.com with no control panel and using Ubuntu 9.04 as the OS. They set up the server quickly and so I went about configuring it how I wanted. There were a couple of snags along the road and so I’ll tell you about them here too.
UPnP Wizardry
You may notice an Xbox360 related theme in my current posts, as after getting one, most of my technology thought process is involved in something to do with it. Hence the Xbox Live Gamercard API I wrote about before. Now we get on to UPnP.
Universal Plug and Play is used for 2 mains things as far as I can tell.
- Dynamically opening holes in firewalls/NAT configurations for inbound connections to services. (bad!
- Media Discover/playback/control on a local network. (good!)
The first is bad in my opinion. I don’t want the ability for some software behind my firewall to allow connections into my network. It might make some software function a little more smoothly, but if it’s that important that connections can be made inbound I would have set up a port-forward myself.
So I am only concerned with the second scenario.
ZFS-FUSE and OpenSolaris and why Google Groups are such a good resource…
As my last post said, I’m using ZFS and love the way it works, but am having trouble with the performance of ZFS-FUSE. It’s not unusable, I just expected more.
So I thought, OpenSolaris. It’s the original implementation of the filesystem it must be great, so I export my zpools and boot from the LiveCD (another great reason to try it).
However it wasn’t going to be that easy… When I try to import my zpools in Solaris I get errors stating the vdev’s are corrupt! Something like:
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
Scared I boot back to linux.