Monday, 4 May 2009
The Hacker Will Always Get Through
The BBC currently has a program up on the explosion in cybercrime.
http://www.bbc.co.uk/iplayer/episode/b00jyyl0/Hacked_to_Pieces/
Initially this program had me shouting "No! No! No! You just don't get it!", but eventually it did a twist-in-the-tail and hit the real reason that cybercrime is so rife:
Computer users are stupid.
I'm sorry, I know it's not a pleasant truth, we would far rather believe that there are these fiendishly clever, evil people out there who are doing super-clever things, and that's why people get hacked. But the truth is never pleasant, is it?
Saturday, 18 April 2009
Why Open Source needs another decent Webbrowser
Why?
Well this ties up with a lot of issues related to how open source, and particularly linux, has been changing over the years, and how, in many ways, I believe that open source is becoming increasingly irrelevant and less open.
Way back when I started using linux the arguments in its favour were hard for the windows using crowd to understand, but there were some that they could get their head around.
1) Linux was fast. I'd start up applications, and they'd pop into existence on the desktop. They might be primitive looking compared to what you'd get under windows, but they did the job well enough, and people's eyebrows would raise when my PC booted in ten seconds flat once it had got through the bios stage.
2) Linux was small and undemanding. You could fit it on almost any piece of hardware more powerful than a 486. Old kit that windows users were unable to use any more worked fine for linux, and to this day I use a bunch of circa 1995 AST laptops running linux, so that I can take them anywhere and if they get stolen, what have I really lost?
3) Linux was reliable. It didn't lock up or crash like windows. There was no 'Blue screen of death', or if there was, it normally meant you had hardware problems, like your processor fan had stopped turning, and the CPU had thus overheated.
4) Linux didn't get viruses/trojans/hacked. This had a lot to do with it being simple and primitive, meaning fewer openings for exploits, and also that it didn't try to do everything for the user (and hence be too ready to open files and run programs that really it shouldn't be messing with). If you did 'ps ax', you could look through a short list of processes, and know what each of them did, and spot any that shouldn't be there (and I once detected some naughtiness going on with just this method).
There were other features that they didn't understand, but which were very important to me. I could get the code for programs, and compile it myself. If they didn't do some little thing that I wanted, or if they blew up unexpectedly, I could go in there and try to fix them, or add the thing that was lacking, or sometimes even take features out that, for one reason or another, I particularly didn't want. I could, and did, learn lots from looking at other people's code, and how they did things.
What's more, there were generally many programs available for linux to do a given task, each with its own advantages and failings. I could pick the one that was most right for me. When once, I heard another linux user saying "You should just use program X, and no other", I looked at him aghast and said "In that case, I should just use windows and be done with it. Linux is about choice. If it's not about choice, it's not about anything."
This was what open source meant for me. Oh yes, and it was free too, which was the main thing that the windows users REALLY understood. But for me the ability to choose, modify, understand and take ownership of the programs I ran, that was what was really important.
And it's all gone to hell since then.
Sunday, 22 February 2009
Blogger API: I'm impressed
Well, I'm impressed.
I've managed to figure out the blogger A.P.I. sufficiently to write a little command-line app that lets me type up my posts in an editor (vi) and then post them to blogger. Why would I want this? Well, my laptops are weedy things that I got for free, and which date from the 1990's. Full-featured modern browsers run painfully slowly on them. I normally use 'links' as my preferred web-browser. Now, you look at links, and yes it's clunky, and yes, the pages don't render as they 'should', but it *mostly* works. It's small and fast. Then you look at firefox, opera, konqueror and co. They work on many more sites, and have more features, but to get this extra 10% of functionality, they are utterly huge and slow with masses of dependancies. Something isn't quite right with this picture, I feel. But this is a rant for another day.
For me, writing my posts in 'vi', and then sending them later, is the ideal solution. It's quick and easy, and 'vi' recovers it's data effectively after a power-cut or what-have-you. However, most things these days, are hideously overengineered, and if a company decides to let others 'hook into' their systems, it usually involves downloading and using libraries, and before long your system is littered with libraries that you use for one app.
So, finding documentation that tells you 'connect to this address, send this HTTP transaction, you have now posted to your blog', is damn impressive. This is the way it should be, open, and fairly simple. Took me about an hour to get it working. All hail google.
Colum