Monthly Archives: December 2009

Sometimes it’s the simple things

Have you ever wrestled with a problem for far too long, before realizing that the solution was actually really simple?  I love to point and laugh when this happens to other people, but yesterday it happened to me.

A long time ago (on a server far, far away), I installed Lighttpd, and set up a very simple site.  The config file was only a few lines long – it pointed at the index page, and had the required mime-types for PHP and HTML.  For what I wanted at the time, that was fine.

I left the server for a long time, and completely forgot about how it was set up.

I decided to change the page that was on the server to a more useful wiki.  I installed MediaWiki, and everything looked OK until the installer completed, and I was greeted with an un-styled front page.

My first thought was that the paths were wrong.  I checked to make sure that there were no .htaccess rules that would affect how the page looked.  Lighttpd stores URL rewriting rules in config files (lighttpd.conf, or a mysite.conf file for each site), rather than in .htaccess, so checking that you’ve converted all the rules over to Lighttpd’s syntax is a good first step.

As far as I could see, everything was correct.  So, to me, the next obvious issue was folder permissions.  Everything in the /www folder should, in theory be owned by the wwwdata group and www user.  However, in this case I had used wget to download MediaWiki while logged in as an unrelated user, and I had chgrp / chown-ed the folders afterwards.  I thought that I may have made a mistake with the file permissions.

That turned out not to be the case.  After that, my troubleshooting skills failed me.  I tried re-installing Media Wiki, I even re-set up the site in Lighttpd – basically anything but checking that one darn config file.

Of course, after wasting far too much time on the problem, I went back to basics, and guess what – adding the mime information for .css files fixed the problem.  Yes, you can point and laugh now!

So, the moral of today’s story is – sometimes the most obvious things are worth looking at.

Advertisements

2009 Wrap Up

This is my first post as part of an Absolute Write blog chain.  The site runs blog chains every month, and this month, the topic is “Wrap Up List 2009” – a chance to reflect on the previous year. At the bottom of this post you will find a list of the other people participating in the chain. I encourage you to take a look at their blogs – there’s some good writers taking part.

I’m pleased to say that 2009 was a decent year for me.  I’m looking forward to 2010, and plan to build on the foundations set this year.

Health

I had some health issues this year, but my doctors have been great.  I think this is worth mentioning because I moved relatively recently, and the doctors at my former place of residence were terrible.  At one point I had to get so sick I was hospitalized – for something that turned out to need a course of antibiotics – because my old doctor insisted all my symptoms were in my head. If you have a good doctor, be thankful!

I took up weight lifting this year, and I’m working towards a weight goal in bench / deadlift.  I’m planning to buy a squat rack next summer so that I can start squatting more regularly – at the moment it’s awkward  and a little dangerous to try to squat heavy weights, so I’m only doing weights I know I can manage easily to get the form down.

Next year I hope to compete in a powerlifting competition.  I’m not expecting to do well, but at least I’ll be able to say I’ve competed.

Writing

In 2008, I started working on my first book, the WordPress-MU Beginner’s Guide. It was published by Packt Publishing in October 2009, and next month I’ll find out how the early sales went.  Initial reviews have been positive, and I learned a lot about the publishing process while working on the title.  I’m looking forward to writing more books with Packt in the future.

I also started working as a proof reader (and I’m sure that mentioning that will mean this post is riddled with typos and other errors).  It’s a job that I enjoy because I get to read interesting books – before they’re published, and get paid to do it!

I’m currently working on a technical review of a book about Ubuntu for tech publishing company O’Reilly, and I’m really enjoying that title too.  My publisher has cleared me to work on a short ebook for O’Reilly, something that I’m very grateful for.  I’ve heard a lot of horror stories about option clauses, so having a publisher that’s willing to work with their authors to maintain a good relationship makes me feel blessed.

Ubuntu Membership

Writing about, and reviewing a book on Ubuntu has made me get more involved with the community.  I’ve already posted about Ubuntu Membership, and that’s something I plan to pursue next year.  This year I started to learn packaging, and I got involved with the bug triaging project, and I hope to continue both of those things long term.

Business

Myth Games – the site I run which offers game reviews and news, moved to a new server this year.  I’m working on ironing out some bugs and adding some new site features which should make it easier to update and to add new content.  The site move and the associated downtime killed our traffic in the short term,but it’s going back up, and I hope it will exceed it’s former traffic levels by the time E3 (the biggest trade show in the industry) comes around again.

We missed E3 last year because of my health issues.  Hopefully that won’t happen again in 2010.

Fiction

I have a lot of respect for people who can write fiction. I’m working on a couple of short stories, but I have a lot to learn in that regard.  I didn’t take part in NANOWRIMO this year, and that’s something I regret.  Rather than delay the whole thing until next November, I think I’ll have an unofficial NANO sometime in the spring – anything to get me writing, and get over this fear of fiction.

Legends Reborn is still in progress.  It’s a mammoth project, though, so I’m not expecting to have much to show for it until this time next year. I have a couple of betas lined up, but I don’t want to pull them in until I know what *I* want to do, because I fear too many changes will burn them out.

Life

I got my provisional driving license recently, and I plan on learning to drive in the spring.  The weather is far too bad (icy / dark / wet) to learn at the moment.  I will be taking an advanced course, assuming I pass, so that I have an idea how to handle such weather.  I just don’t want my first experience of handling a vehicle to be skidding off the road!

That concludes my wrap-up. The other participants in the blog chain are listed below. Please do take a look at them, and wish them all well for next year!

Lost Wanderer – http://www.lostwanderer5.blogspot.com
Claire Crossdale – http://theromanticqueryletter.blogspot.com/
coryleslie – http://corrinejackson.wordpress.com/
bsolah – http://benjaminsolah.com/blog
DavidZahir – http://zahirblue.blogspot.com/
RavenCorinnCarluk – http://ravencorinncarluk.blogspot.com
Ralph Pines – http://ralfast.wordpress.com/
shethinkstoomuch – http://shethinkstoomuch.wordpress.com
Lady Cat – http://www.randomwriterlythoughts.blogspot.com
truelyana – http://expressiveworld.com
misaditas – http://misaditas-novels.blogspot.co

collectonian – http://collectonian.livejournal.com/632314.html (PREVIOUS)
razibahmed – http://www.blogging37.com
(Next)

beawhiz – http://beawrites.wordpress.com
FreshHell – http://freshhell.wordpress.com
AlissaC – http://alissacarleton.blogspot.com
Aimee – http://writing.aimeelaine.com
Forbidden Snowflake – http://www.alleslinks.com

Working Towards Ubuntu Membership

I’ve been using Ubuntu off and on for quite a while now.  My first distro was Gutsy (before then I was mostly using Debian).  Over the last year or so, I’ve become increasingly involved with the community, and I’ve learned about Ubuntu Membership.

Ubuntu Members are people who are actively involved in the community, and have made a “significant and sustained” contribution to the community.  The wiki suggests that you should have been active for a couple of months before applying, but I’ve noticed that most people wait a lot longer than that.

One person recently welcomed as a member, Alan Bell, made an interesting post to the Ubuntu-UK mailing list about his involvement in the community, and the path to membership.  You can read this on Amber’s blog, along with her thoughts about membership.

Alan makes a good point that membership is a way of you fellow members recognizing that you are contributing to the community.  Membership can be earned in a number of ways; by helping your fellow users, promoting Ubuntu and other F/LOSS projects, bug triaging, translation, art and design.  If you use Ubuntu and want to help the project grow, there’s probably something that will suit your skills.   In my opinion, the hardest part of earning membership is documenting the things that you’re doing on the wiki page, and plucking up the courage to ask your friends in the Ubuntu community for sponsorship!

I’m considering applying to become an Ubuntu Member at some point next year, although I may follow the developer’s MOTU process instead.  Becoming a MOTU automatically means that you’re a member, so if I can get a handle on packaging and the Ubuntu process for that sort of thing, it’s an appealing route.

I’ve seen a lot of people coming in to #ubuntu-bugs and #ubuntu-motu on Freenode and asking how they can get given membership.   My question to people who are so desperate to become a member is “why?”.   There are very few privileges attached to becoming a member, so it’s not as if you need the status to be able to contribute to the Ubuntu project.

If you’re a new developer, then your initial uploads will need checked and sponsored, and once you’ve proven that you’re reliable, your sponsor will probably suggest that you apply for MOTU status.  Bug triagers have a similar route with BugSquad (that doesn’t grant membership, AFAIK, but showing that you’ve worked on bug triaging for a sustained period will probably help).  For other work, you can do it all without having a fancy name tag. After all, you’re doing it because you love the OS, right?

WordPress MU 2.8 Beginner’s Guide Reviews

The first set of reviews for my book, the WordPress MU 2.8 Beginner’s Guide, have started trickling in.

They’ve been mostly positive so far.  There’s been a couple of things pointed out (such as a plugin conflict that went un-noticed in testing) that I’ll raise with the publisher in case they decide to make a second edition.

I hope to work on another book for Packt in the future, so it’s great to learn what people liked, and what they didn’t.

Here’s a sampling of the reviews:

WP-Toy.com

Omninogin

The Open Sourcerer

FiddyP

Thanks to all the reviewers for taking the time to read and write about the book!