Just a quicky discovered when compiling the latest version of TOP on my laptop. The app comiled fine (with the –with-module=macosx suffix) but trying to run it resulted in the following error:
kvm_open: /dev/mem: No such file or directory
GAH! It turns out Apple have been phasing out traditional KVM support in the Mach kernel. Fortunately this can be re-enabled by issuing the following command as root:
And reboot – voila!
We all spend time online, some more than others but there is one area of t’intertubes that is gernerally quite badly understood. DNS is the underpinning of the web. Every time you visit a page, load an image, send an email or chat via IM you are using DNS.
For such a critical part of the net pie, DNS is often neglected by your ISP. Their DNS servers will be a couple of cacky old boxes, creaking under the weight of 1,000′s of requests each minute and slowing you down. That said, there are alternatives. OpenDNS are a fantastic group of people who offer turbo charged DNS servers for free use. It’s a pretty simple task to tweak Windows (or your chosen OS) too use them. You can also configure your router (assuming you have one) so that all the computers in your house or office can benefit.
For further tweaks you can follow the steps outlined in this DNS hacking guide from Computer World. They cover OpenDNS and a few Windows changes to the DNS cache to reallly get things flying along.
Of course the ultimate geek solution would be to implement a dedicated caching DNS server such as DNSMasq and a local caching proxy like Squid. It’s easier than you think to convert an old PC or laptop to turbo charge your internet viewing.
For most people though, the DNS tweaks will be enough to heave your connection out of the doldrums and shift you into top gear on the information super highway.
Radio 1 just played one of my favourite chill out tracks and in the time honoured tradition of sharing music I thought I’d upload it for those of you without the pain of “Britain’s # 1 radio station” inflicted on you daily:
As Edith Bowman so neatly put it – “Just take a moment, sit back, and … chill”
That may well be the most tenuous post title I’ve ever tried to pull off.
It’s fairly well known that I’m a serious Apple convert. What a lot of people my not realise is that very little of that has anything to do with the style or even the GUI. For me, Apple ticks the boxes because it provides a stable, working platform based on BSD. This means it is one of the best OSs from which to begin Linux development and system administration.
Linux is a word that scares a lot of people. But what if I were to tell you that, up until February of last year I had never used a Linux system in anger? I now consider myself more than proficient, happy to run day to day administration, compile applications and run a dedicated web/dns/mail server. I also work in a position where the majority of my development work takes place on open source technology with the core engine running on RHEL … which is about as serious as Linux gets.
The main thing to bear in mind is this: I was able to skill up on Linux systems mainly thanks to my Mac. It handled all of the nasty, tricksy bits (3D acceleration, wireless networking, etc) whilst allowing me the opportunity to extend the OS under the hood. There are those who rave about Quicksilver being the best mac tool since sliced bread, for me it’s the terminal and the scripting languages made available there in.
Of course it’s not all roses. OS X does have some oddities that a true Linux user will find disorientating. Certain commands are missing or stuck somewhere odd. Launching scripts on startup (an equivalent to init.d) is a bit of a pain and the tool set offered out of the box is actually pretty basic. That said I’ve been able to resolve most of my issues by using MacPorts and Fink or even *gasp* compiling the missing apps myself!
With virtualization technologies such as VMWare, VirtualBox and Parallels now reaching the levels of stability and performance required for day to day usage, there really is no excuse not to give Linux a go. If you can’t afford a Mac then grab VMWare server and a pre built virtual machine and start poking about under the hood. Better yet, switch one of your machines completely and start learning by using.
Remember – Google is your friend, ask and you shall receive and keep track of lists like this one of useful commands to refer back to. It’s a lot to learn but as I’ll be pointing out in another post, you’ll be taking your first step into a larger world.
I was digging out some (very) old code this morning … Q Basic … ugh. It got me reminiscing about the good old days and so I started digging around on the web to see if I could find some evidence of the first tool I seriously stated programming on – a Ti 85 graphic calculator.
This is a quick warning of an issue I encountered having installed Snort via Mac Ports. I’m running on a MacBook Pro with OS 10.4.9 and a separate MySQL install.
I’m sure you’re all following the tragic story of little Madeleine, the child who disappeared in Portugal. There is little that can be said to offset the tragedy that has befallen the McCann family and I do believe it to be a tragedy – statistically most children are dead 24 hours after being kidnapped and it is now 2 weeks since she went missing. I admire the family’s hope but fear the worst.
The main reason I’m dusting of the keyboard to comment on something that would normally fall a long way outside my usual sphere is not because of the missing child but rather the recent revelation by the Portuguese authorities that they have detained a suspect. Given that the police have maintained a strict policy of media non-involvement it seems like a rather interesting time to start releasing information. My concern is with the type of information being passed along. In a case such as this, any suspect is immediately cast as the bad guy on a stage watched by millions the world over. By informing the world that they have a suspect the police have instantly created a situation whereby the world assumes the individual is guilty.
Now if it turns out that Robert Murat has indeed committed this heinous crime then there will have been little harm done and I hope they lock him up and throw away the key (but not before removing a few key body parts).
On the flip side, if he is not guilty (and the current evidence would seem to suggest that this is the case) then this poor man and his family have had their name sullied and their lives ruined for nothing more impressive than the Portuguese Authorities inability to manage the media.
In the world we live in most people are far to eager to jump to the wrong conclusion about anybody and it is very unlikely that MrMurat will be able to simple shake this off. The shadow of the suspicion and accusation will hang over him for the rest of his life with neighbours never being quite sure if the police had made the right call in releasing him, friends suddenly stop returning his calls and strangers cross the road with their children to avoid him.
Once suspicion has been let out of the box it is nigh on impossible to put it back again, especially as it is unlikely that the police are actually going to be able to find the real culprit. 2 weeks of investigation, 2 suspects and no real leads really doesn’t sound promising.
Because I wanted to share (and because without something in the tech column the site breaks I thought I’d give you a run down on the technology driving the new design;
WordPress 2.1.3 with Akismet running on LAMP
Show Top Commentators
Ultimate Tag Warrior
WP-ContactForm: Akismet Edition
Whack that lot together and you have something approaching this site, but without the wonderful content of course.
You’re probably wondering what the hell I think I’m playing at. Dry the Rain has disapeared, XSet looks weird and all the archives are gone.
Well I did threaten to do something like this not so long ago and you’re looking at the result, or at least the first part of it. I’d request that you bear the following in mind:
- Consider this a beta of the new site. I’ll be tweaking, adding and fixing things as I get time
- The archives will be back shortly but not as part of this blog. They’ll be in separate sites
- I’ll be importing relevant posts from the archives into this blog over the next few weeks
- I’m aware I’ve probably broken large portions of the internet but itr needed doing. I’ll be keeping an eye on the 404′s and will be adding redirects as I think they are needed
So what are the main reasons behind the changes? Firstly I was feeling a little stagnated, too many blogs, too much effort involved in maintaining 2 systems. The natural solution is to centralise. That said, I still wanted to maintain some semblance of seperation between my personal life and my techy stuff hence the multi column layout. Personal on the left, tech on the right and there will soon be a dedicated landing page for each so those who have no interest in my webby mublings (or my rather dull personal life) will be able to tune directly to the content they want.
I also wanted to intergrate my Twitter feed as that is a growing source of content. Add to that the desire to do away with restrictive categories and switch to tagging but without the effort involved in re tagging all the old content meant a fresh start was more than appealing – it was absolutely necessary.
Finally, I fancied adding some tweaks and what not to a template and design that is mostly my own. You’re looking at the first part of the end result.
There’s more to come so please check in later on (via the newly Feedburner’d rss feed) and let me know what you think.
Been thinking about ways to make a quick buck recently. Jersey has a fantastic legal loophole which allows items under £18 to be shipped out VAT free. Find the right niche and you can make your millions.
A mate of mine has just launched his offering aimed at anglers – Monster Tackle is an online fishing tackle retailer specilising in fishing lures and fishing accessories.
So if you love to fish, angle and generally bugger about in boats or on the shore then go and check it out before the tide turns.
In the mean time I’m still trying to find my niche – the best I could come up with was … wait … if I tell you I’ll have to kill you