Archive for March, 2010

Wireless LAN for Runlevel 3 in Fedora Core 12

March 29th, 2010 6 comments

I’m writing this guide for Fedora Core 12, but I’m sure that it’s the exact same procedure for Fedora Core 11. It does not work pre Fedora Core 11. Also, this guide uses GNOME as a GUI.

I see that some folks over on are struggling with this. Hopefully this guide will help those who, like me, need a wireless connection from runlevel 3.

If you are not in runlevel 5 already, run “startx” in your command line to get to your GUI. You do not need to do this as root but you *will* need root access further down. Right click on the Network Manager icon and select “Edit Connections…”

Read more…

Categories: All, Linux

CSS Frameworks, 960 Grid System vs Blueprint CSS

March 21st, 2010 2 comments

I’m relatively new to CSS frameworks and my experience with them is limited. In my opinion all CSS frameworks should be easy to learn and ultimately make your life easier, right? Wrong!

Don’t ask me why, but my first chosen CSS framework to play with was Blueprint CSS. So I print out a friendly cheatsheet and go over a few examples and everything seems to work fine and I think that’s great, that will come in handy one day. That day was Thursday, when at the office, I was asked to slice up a JPG and make it look like a real website. I said I’d have it done by the end of Friday. Little did I know that Blueprint CSS was going to let me down, which it did. I got stuck on the very first block and via this post, maybe somebody can spot where I might have gone wrong.

Note that for the following test, I have removed all other javascript and css files from my page and the only thing loaded is the Blueprint CSS framework, nothing else. Let’s take a look at the code:

<div class="container">
    <div class="span-24 last">
        <div class="span-4 first">4</div>
        <div class="span-10">10</div>
        <div class="span-10 last">10</div>

Based on samples and support threads that I have read, the first “last” on the span-24 should not be required as it is “special cased” apparently and nor should the “first” in span-4 be needed but I have tried everything with and without these to no effect. Note also that NONE of these div have any borders, padding or margins applied to them whatsoever (If you need borders/padding/margins, you apply it to elements inside the span-x divs because Blueprint CSS is a “pixel perfect” framework). I also tried removing the span-24 div altogether, leaving just the 3 inner divs.

So, what do you expect to see? I expect this:

4 10 10

Instead I get this:


I tried different doctypes, disabled all of my Firefox extensions, tried in Chrome, Opera etc… without any difference. By now I’m very frustrated that I can’t do the most simple thing that I could do manually in CSS, but that’s besides the point. Blueprint CSS should work as advertised or at the very least provide better documentation to deal with the demonstrated problem.

Having passed my Friday deadline for the mockup, I’ve had to find an alternative and fast and work through my weekend to have it done for Monday morning. And that’s where 960 Grid System comes in to the picture. I’d seen this framework before, never used it but liked the look of it, and quite like the idea that it is ~6KB to load up instead of ~15KB that’s needed with Blueprint CSS.

Now, although I still haven’t been able to find a cheatsheet for the 960 Grid System, I found a basic tutorial over at DivitoDesign which is nice and easy to follow. Notably, in that tutorial, there’s a section which clearly explains Margins and how to use the framework to accommodate for these.

As a result, this is the code which I came up with in order to achieve my goal:

<div class="container_24">
    <div class="grid_24">
        <div class="grid_4 alpha">4</div>
        <div class="grid_10">10</div>
        <div class="grid_10 omega">10</div>

And yes! it did work out of the box, which is exactly what I expected Blueprint CSS to do. As a result, at the end of the day, I’ll be using 960 Grid System. As stated above, I have absolutely nothing against Blueprint CSS, and if anything I’m hoping that somebody can point out where I might have gone wrong with it.

2011-11-18 UPDATE: If you are researching CSS frameworks, you might want to check out my CSS Frameworks: In with the New, Out with the Old thread too.

Categories: All, Web

VAServe at it… again.

March 9th, 2010 3 comments

I have just very happily flagged an e-mail from VAServ as spam.

Why? Well, no matter how many times I explain to them that I am no longer a paying customer, and no matter how many times they’ve asked me to pay for non-existent services, I am still receiving the likes of the following:

Subject: [OFFER] Windows HyperV via Poundhost/VAServ

Message: VAServe

What goes up won’t go down.

At Poundhost/VAServ we know that if your site is not up, your profits go down. Which is why we recently migrated your website onto a more secure Linux server platform.

However, threats are always evolving. To ensure that you are provided with the very best platform that’s reliable, secure, easier to manage, with greater interoperability and a substantially lower total cost of ownership, we recommend that you consider switching to Microsoft’s Hyper-V hosting platform.

Running on next generation virtualisation technologies Microsoft’s Hyper-V stores your data on a cluster of servers rather than one. So if a server is attacked, or goes down, the system automatically switches to the others. Thereby guaranteeing 100% uptime.

Migration is so simple you can do it yourself. However some of you may need to tweak or re-code your data beforehand to enable it to run on a Microsoft platform. Should you have any queries, call our contact centre on 01628 67 31 31.

Don’t delay though because we are prepared to offer a 10% discount to all those who migrate before 31st March 2009 using the coupon vdsmigrate.

See for more information!

For your information VAServ, since you’ve lost all 3 of the VPS accounts that I had with you, I am still on a Linux VPS AND I have it on the cloud. So go sell your marketing bull elsewhere, not to people that you’ve let down so badly in the past.