Source Guru

Archive for June, 2009

Linux Format: Security: Protect your server

by Mez on Jun.24, 2009, under Personal

For all those who can, I’d urge you to pick up a copy of Linux Format tomorrow.

A couple of months ago, I pitched an article to the editor of Linux Format and it was accepted. Tomorrow, the magazine will be on the shelf. While I’ve already seen the PDF for the article, I’m going to be up early to make sure I can get my hands on the physical copy. For some reason, it won’t seem real until I can run the paper through my fingers and smell the ink.

Here’s a sneak preview:-

Way back in the early days of dial-up, the internet mostly contained library catalogues, military secrets, and students’ Dungeons and Dragons spec sheets.  Now there are websites for people, their pets, their friends and family, and their businesses.  However, while most people are happy to use a free hosting provider, or to pay a company to host their websites for them, the more dedicated web master tends to plump up for a dedicated server, or a Virtual Private Server (VPS).

Running your own server means that you have to be aware of the multitude of potential security issues you’re exposed to on the internet, though.  These days, most home computers have a firewall in place, or connect through a router that can protect them from the dangers lurking on the web.  If you own a server, you’ll still need a firewall, but there’s much more you can do to be safe online and we’ll show you how.

I hope that anyone who reads the article in full will find it useful, and please, do send me feedback if you’ve read it!

The big question now is, what do I pitch for my next article?

5 Comments :, , , , , more...

Floss and Art

by Mez on Jun.17, 2009, under Personal

So, recently (the last couple of months), I’ve been involved with the Birmingham Hackspace (aka FizzPop), and I’ve found it a great community to be part of. For those who aren’t in the know, a HackSpace is a place where a group of people interested in Hacking (and that’s not the bad sense of the word, nor just the coding sense of the word – there’s a lot of Hardware hacking going on :D ) can get together, share a space, share knowledge, and come up with some mad and cool inventions!

Anyway, one of the group’s main leaders, Antonio Roberts is very very arty, but is also pretty much your classic computer geek too. It’s been interesting talking to him of late regarding his journey into the FLOSS world, and how he’s coping with that, and integrating it into his artwork.

For all those interested, he’s doing a talk at the Birmingham LUG tomorrow about FLOSS and the art community tomorrow (Thursday 18th June), and you’ll be able to watch his talk Live on the internet. The talk is starting at approximately 7:30 UK time. You’ll also be able to interact with us on IRC, we’re on the Freenode Network, in the channel #sblug, and for those of you who miss it, a video of the talk will be available online at some point after the talk on my Video site. (where you can also find videos of past talks, including Dave Walker’s talk about Mythbuntu, and Scott James Remnant’s talk about Upstart)

1 Comment :, , , more...

Pagerank mystifies me…

by Mez on Jun.15, 2009, under Personal

So, because of my work for an online Mobile Phone Accessories Site – I recently installed a Pagerank Plugin for Firefox.

I was pleasantly surprised when I loaded up my blog and found that I had a PageRank of 5. I’ve never done any “SEO” work on my site, and until recently, it was a bog-standard wordpress installation. (now I have a theme, and I point at feedburner, as I was curious about statistics)

It’s kind of nice to know that a simple blog can achieve a decent PageRank, without actually doing anything special :D

I think what mystifies me more, however, is the fact that googling for my name brings up my site within the first page of results, even though my name isn’t mentioned anywhere on the site (I guess I can blame the planets for that though!)

I’ve got to admit, I’m quite happy that even though a famous author shares my name, I’m still on the first page of results in Google.

5 Comments :, more...

VB.Net just doesn’t cut the mustard for me

by Mez on Jun.13, 2009, under Geeky, Personal, Rants, Rants

So, this morning (or yesterday morning, as it is now!), my attention got drawn to Wolfgang’s post regarding VB.Net. While I understand his point, I’m not too sure whether I agree with it in it’s entirity.

When I first started programming, I learnt how to write Basic. I don’t mean Basic as it stands nowadays, but Basic as it was back then (or should that be BASIC?). I learnt to code while I was wheelchair bound, as my father thought it’d be something interesting for me to do. It taught me the basics of programming, and I stemmed from there, moving on to learn Perl, then PHP, then C, etc etc etc.

The first time I ever wrote an application for a Modern computer, I wrote it in Visual Basic. I loved it. It was so simple to use, and I could use everything I’d learnt (apart from stuff like Music Envelopes etc etc) with ease in it.

Since then however, the world of programming has moved on. People have discovered Object Oriented programming, and found new and better ways of describing the data structures and logic behind an application. I have also moved on, I no longer write my own code in Visual Basic. I’ll generally use a tool more suited to the task.

I do, however, have to maintain some VB.Net code. In fact, it’s the code that Wolfgang mentions in his article. I can fully understand why the original subject’s response was “Urgh!” – the code is horrid.

I don’t neccesarily, however, think that this is because of the coders themselves. While this may have contributed (I’ve had many a “WTF” moment) – I think that the main problem behind it is the fact that it’s an Object Oriented design written in a language that’s tried to shoehorn Object Orientation into it’s core functionality, where the core functionality should probably never have had something like that done to it. It sits in my mind like some bad genetic experience resulting in some sort of mutated behemoth.

VB.Net, to me, just seems like a poorly made implementation of something it was never originally designed for. Wolfgang mentions that the ease of use of the Basic Language allows a user to start working without having to dive straight into OO programming, as would be forced onto you using something like C#, and in a way, I agree. The thing is, that Basic, as Wolfgang rightly said, is meant for beginners, after all, it was originally an acronym. “Beginners All Purpose Symbolic Instruction Code”. This, in my opinion, is where it should stay. Basic is great for beginners, and VB6 was amazing. But, the advent of VB.Net means that programmers are going to start writing OO code in Basic, something it was never designed for, and to that end, fall into pitfalls and misconceptions where they have been led to believe that the VB.Net way of doing something is the de-facto standard. When they come to start working in another language, they have to re-learn things from scratch. If their experience is in a corporate environment, then their skills are only transferrable to something also written in VB.Net, and rarely anything else.

Basic is for beginners, it was never designed for the more complex stuff, which should probably be left to languages that were designed to handle it.

7 Comments :, , , more...

Dear Lazyweb

by Mez on Jun.08, 2009, under Personal

I’m looking for a “Soundboard” application for Linux (preferably that works with Jack)

Does anyone know of one?

8 Comments more...

I’m impressed

by Mez on Jun.07, 2009, under Personal

My latest blog post about PPA Keys has had a few comments already. Having just returned from visiting my parents, I’ve noticed an email asking me to approve a Pingback.

The pingback was to a Portuguese site which had taken my post and written it into a tutorial.

I’ve got to say, my portuguese may not be up to scratch, but it’s obvious that this is a well written tutorial. I’m very impressed by this site, and the way that they’ve written, and illustrated this tutorial.

All I can say is, great site Claudio! Keep up the good work! Something like this site in English would be an asset to the ubuntu community. It’s well thought out, and well written

3 Comments more...

Automated PPA GPG Keys

by Mez on Jun.07, 2009, under Personal

After reading Alan Pope’s recent post on installing GPG keys for PPAs easily, I thought I’d have a bit of a hack around.

Personally, I regularly add PPAs to my system, whether it be for Chromium Daily Builds, Bazaar, Gwibber, or anything else. I’ve found the most annoying thing is the installation of the GPG keys.

Now, I wouldn’t reccomend this for everyone, but, for some, it might be exactly what you’ve been looking for.

Here’s what I did:-

Firstly, I saved the Script that Alan linked to as /usr/local/bin/ppakeys and chmod’d it to 755. I then created a new file, “/etc/apt/apt.conf.d/05ppa” containing the following line

APT::Update::Pre-Invoke { "if [ -x /usr/local/bin/ppakeys ]; then /usr/local/bin/ppakeys; fi"; };

Now, every time I do a “sudo apt-get update” – it’ll check for new keys that I need, and install them as neccessary.

Magic!

<edit> Please make sure the quotes are correct if you copy and paste this!</edit>

19 Comments more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!