Showing posts with label Computing. Show all posts
Showing posts with label Computing. Show all posts

Wednesday, March 17, 2021

Arduino RadioHead (not the group) RH_NRF24 Transceiver

Nothing posted in 2020 - well it was that sort of year wasn't it?

Boredom having really set in, 2021 sees me in my Arduino playground. In fact I've been unfaithful and have been using an ESP32 recently, which is quite fun because it has WiFi capabilities - maybe a post about that to follow.

And all that WiFi stuff made me think about my previous delve into the world of radio and so on, using the ubiquitous NRF24L01 Transceiver Module. I bought some of these ages ago, spent days trying to get them to work, eventually succeeded, and, exhausted, then threw them in a box and moved on to something easier.

So, I find them lying in said box... let's have another go. So... I did the classic old-person thing of making all the same mistakes on this attempt as I did on the previous one, what an idiot. Eventually it dawned on me what was going wrong... like last time i had tried to use the TMRh20 library, nRF24L01.h and RF24.h, as nearly everyone seems to do. Trouble is... for me at least, it doesn't work. I mean I suppose it must work for most folk, but not me. No... it was only when I tried the RadioHead offering, RH_NRF24.h, that things started to fall into place. 

I am just not technically proficient enough to know why this is, but as soon as I changed to the RadioHead version, I got results. Here are pictures of my two Arduino/NRF24L01 combinations:



So, at the top we have a Nano, sitting in its IO Shield, which I heartily recommend for this type of job - because you simply plug the RF24 into it, no wires, wonderful. Attached is a little OLED display.

And the other picture shows an Arduino Mega with a handy but unnecessary shield on top, attached to an RF24 sitting in a little holder designed for it, again very recommended, because it's easier to wire up and can be powered by 5volts, avoiding the 3.3 volt limit on the RF24 module.

Now, here's the thing... this all seems very complicated and fraught. The wires you need to connect vary depending on your Arduino, and it all feels a bit of a black art. In the end I connected the right wires, but it took a bit of time. The Mega for example, uses pins 50, 51 and 52, the Nano completely different, whoever came up with all this wasn't making it easy!

Similarly, the code to get all this working really taxed my limited knowledge of C++ or whatever it is, my head was frequently in my hands, but in the end it all worked, see below.

What does it do? Well... the same code runs on both Arduinos. Each one is sending a random number every few seconds and receiving a random number from the other one too. The OLED display on one of them is showing that it has received its 1744th random number from its mate, 6591. What use is this? None that I can think of, but it's nice to know it can be done.

The code is below, if you need any advice, well I might be able to help you. But probably not. And a proper programmer will probably wince at the code. What is it with C++ and strings... type conversion in general, it's bonkers.
 
//-------------------------------------------------------------------------------
//
// Written by Paul Crossley 16/03/2021
//
// www.magmamon.co.uk
//
//-------------------------------------------------------------------------------
#include <SPI.h>
#include <RH_NRF24.h>

#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define OLED_RESET -1
#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels
#define SCREEN_ADDRESS 0x3C


RH_NRF24 nrf24(9,10);

Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

int count = 0;
int recvd = 0;
int int_value;
unsigned char char_list[4];

boolean oled = true;
int repeat   = 20;
long rnd = 0;
union myRandU {long unsignedlongValue; uint8_t bytes[4];} myRand;

// --------------------------------------------------------------------

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
  Serial.begin(9600);
  Serial.println("RF24...");
  if (!nrf24.init()) { 
    Serial.println("init failed"); 
  } else { 
    Serial.println("init good"); 
  }
  if (!nrf24.setChannel(1)) {                                               
    Serial.println("setChannel failed"); 
  }  else { 
    Serial.println("setChannel good"); 
  }
  if (!nrf24.setRF(RH_NRF24::DataRate2Mbps, RH_NRF24::TransmitPower0dBm)) { 
    Serial.println("setRF failed"); 
  } else { 
    Serial.println("setRF good"); 
  }   

  if (oled) { 
    Serial.println("OLED...");
    if (!display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS)) { 
      Serial.println(F("SSD1306 allocation failed")); for(;;); 
    }
      
    display.clearDisplay();
    display.setTextSize(2);
    display.setTextColor(WHITE);
    display.setCursor(0,0);
    display.println("Listening!");
    display.display();
  }
  Serial.println("Ready!");
}

// --------------------------------------------------------------------

void loop() {

  digitalWrite(LED_BUILTIN, HIGH);
  count++;
  if (count==repeat) {
    rnd = random(0,9999);
    myRand.unsignedlongValue = rnd;
    nrf24.send(myRand.bytes, 4);
    nrf24.waitPacketSent();
    Serial.print("Sent : ");
    Serial.println(rnd);
    count=0;
  } else {
    Serial.print(".");
    uint8_t buf[RH_NRF24_MAX_MESSAGE_LEN];
    uint8_t len = sizeof(buf);
    while (nrf24.waitAvailableTimeout(200) && nrf24.recv(buf, &len)) {   
      Serial.print("Received : ");
      for (int i = 0; i < 4; i++) { char_list[i] = buf[i]; }
      memcpy(&int_value, char_list, 4);
      Serial.println(int_value);

      if (oled) { 
        recvd++;
        display.clearDisplay();
        display.setCursor(0,0);
        display.println("Listening!");
        display.setCursor(0,32);
        display.print(recvd);
        display.print(": ");
  //    display.print((char*)buf);
        display.print(int_value);
        display.display();
      }
    }      
  }
  digitalWrite(LED_BUILTIN, LOW);
  delay(100);
}

Friday, December 20, 2019

Arduino based Temperature/Humidity/Clock


Above is a Fritzing generated schematic of a project I've recently been working on for the Arduino Nano. The project uses a Real Time Clock component, a temperature/humidity sensor and a liquid crystal display. It is powered by a portable power bank.




The code for the project is shown below.

//-------------------------------------------------------------------------------
//
// Written by Paul Crossley 20/12/2019
//
// www.magmamon.co.uk
//
// Temperature/Humidity sensor on D8
// RTC and Display on A4 and A5
// my own personal temperature adjustment was -2C
// my display I2C address was 0x3F, use i2c-scanner 
//
//-------------------------------------------------------------------------------

#include <SimpleDHT.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <TimerOne.h>
#include <RTClib.h>

//-------------------------------------------------------------------------------

volatile unsigned int clockMilliSeconds = 0;
volatile byte clockSeconds = 0;
volatile byte clockMinutes = 0;
volatile byte clockHours = 12;
volatile byte clockEnabled = 1;
byte alarmMinutes = 30;
byte alarmHours = 6;
volatile byte alarmEnabled = false;
byte alarmTogglePressed = false;
enum displayModeValues
{
  MODE_CLOCK_TIME,
  MODE_CLOCK_TIME_SET_HOUR,
  MODE_CLOCK_TIME_SET_MINUTE,
  MODE_ALARM_TIME,
  MODE_ALARM_TIME_SET_HOUR,
  MODE_ALARM_TIME_SET_MINUTE
};
byte displayMode = MODE_CLOCK_TIME;
RTC_DS1307 RTC;

//-------------------------------------------------------------------------------

void clockISR ()
{
  if (clockEnabled)
  {
    clockMilliSeconds++;
    if (clockMilliSeconds >= 1000)
    {
      clockMilliSeconds = 0;

      clockSeconds++;
      if (clockSeconds >= 60)
      {
        clockSeconds = 0;

        clockMinutes++;
        if (clockMinutes >= 60)
        {
          clockMinutes = 0;

          clockHours++;
          if (clockHours >= 24)
          {
            clockHours = 0;
          }
        }
      }
    }
  }
}

//-------------------------------------------------------------------------------

LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
#define BACKLIGHT_PIN     13

int pinDHT11 = 8;
SimpleDHT11 dht11(pinDHT11);

int tempAdjust = -2;

byte degree[8] = {
  B01100,
  B10010,
  B10010,
  B01100,
  B00000,
  B00000,
  B00000,
};

void setup() {
  Serial.begin (9600);
  lcd.begin(16, 2);
  lcd.clear();
  lcd.createChar(0, degree);
  lcd.setBacklight(BACKLIGHT_ON);
  pinMode(LED_BUILTIN, OUTPUT);
  RTC.begin();
//  RTC.adjust(DateTime(__DATE__, __TIME__));  to set time
}

void loop() {

  byte temperature = 0;
  byte humidity = 0;
  int err = SimpleDHTErrSuccess;

  digitalWrite(LED_BUILTIN, HIGH);

  if ((err = dht11.read(pinDHT11, &temperature, &humidity, NULL)) != SimpleDHTErrSuccess) 
  {
    Serial.print("No reading , err="); Serial.println(err); delay(1000);
    return;
  }

  Serial.print("Temp: ");
  Serial.print((int)temperature); Serial.print("C, ");
  Serial.print("Humid: ");
  Serial.print((int)humidity); Serial.println("%");

  lcd.home();

  lcd.print ("T: ");
  if ((temperature + tempAdjust) < 10) { lcd.print (" "); }

  lcd.print ((int)temperature + tempAdjust);
  lcd.write (byte(0));
  lcd.print ("C   ");

  lcd.print ("H: ");
  if ((humidity) < 10) { lcd.print (" "); }
  lcd.print ((int)humidity);
  lcd.print ("%");

  delay (1000);
  digitalWrite(LED_BUILTIN, LOW);

  DateTime now = RTC.now();

  Serial.print(now.year(), DEC);
  Serial.print('/');
  Serial.print(now.month(), DEC);
  Serial.print('/');
  Serial.print(now.day(), DEC);
  Serial.print(' ');
  Serial.print(now.hour(), DEC);
  Serial.print(':');
  Serial.print(now.minute(), DEC);
  Serial.print(':');
  Serial.print(now.second(), DEC);
  Serial.println(); 

  lcd.setCursor ( 0, 1 );
  if (now.day() < 10) { lcd.print ("0"); }
  lcd.print ((int)(now.day()));
  lcd.print ("/");
  if (now.month() < 10) { lcd.print ("0"); }
  lcd.print ((int)(now.month()));
  lcd.print ("/");
  lcd.print ((int)(now.year()));
  lcd.print (" ");
  if (now.hour() < 10) { lcd.print ("0"); }
  lcd.print ((int)(now.hour()));
  lcd.print (":");
  if (now.minute() < 10) { lcd.print ("0"); }
  lcd.print ((int)(now.minute()));

  delay (1000);
}

Tuesday, March 1, 2016

Linx7 Windows tablet - bargain or bin-job?

I spotted a bargain on-line the other day, and rushed in to purchase without thinking things through properly.

So, yes, I got a good deal, but I'm somewhat regretting it now.

Which is shame, because the actual physical thing I bought is perfectly fine. Well, ish.

The problem is - the software - or more accurately, the operating system.

So, the tablet itself, a Linx7. Not the best specified device in the world, but perfectly acceptable for the price. I paid forty quid for it, delivered.

For that you get a 7" tablet with quad-core Intel Atom Bay processor (Z3735G, 1.33GHz). It has a 1280 x 800 screen, terrible front and rear cameras, and a micro-SD can add 64 gig to the 32 gig it comes with. And 1 gig of RAM.

The cameras are both awful, both 2 megapixel, the front facing is just good enough for Skype, the rear is totally useless. The battery life is diabolical.

It has Bluetooth. No GPS. But the phrase 'for the money' needs reiterating at every point. It IS cheap!

BUT... it is 'blessed' with the Windows operating system. Now I've got a 7" tablet already, with Android OS. I'd got a bit tired of it, and fancied a change. And, hey, I know Windows - it would be refreshing to have a tablet with Windows on it. Turns out, no it isn't refreshing. It's a pain.

The Linx7 comes with Windows 8.1 on it, which does it no favours, so once offered the chance I upgraded to Windows 10 at the first opportunity. The upgrade didn't go particularly smoothly, and once it was finished I discovered the cameras didn't work any more. A search of the internet resulted in a lot of other folk with the same problem, eventually I tracked down new drivers and managed to get it all working again.

My previous experience with Windows 10 is not good. I upgraded my laptop and really didn't like W10 - the laptop isn't touch, so it all seems a bit forced somehow. So I decided to leave my desktop on Windows 7, but the bloomin' thing is really annoying me now, constantly trying to get me to upgrade. And it won't take NO for an answer. Apparently you can edit the registry to stop it. Seriously?!

My HP Stream laptop/netbook is also asking to Upgrade, and so, as it is a touch device, I said, Yes, go ahead, upgrade. But it won't. Not enough 'disk' space to achieve it apparently. It refuses to use the SD-card memory to do it, so it's an absolute mare to get it done apparently, so much faff (according to t'internet) that I can't be doing with it. Of course it keeps badgering me to upgrade, how annoying is that?

And so to this tablet. Here's the thing... W10 it isn't as good at being a tablet OS as Android. It just isn't. And the split personality when you flip back and forth between Apps and 'old' Windows is painful.

Just to put the tin lid on it, the Windows App store is poor. For example there's an eBay app, but it doesn't work properly. There isn't a nice YouTube app. There's just a lot of iffy Apps which largely have bad reviews. Dear oh dear.

So. Not a bad device, for the cash, but ruined by a dodgy OS. Microsoft I despair of you. Oh and the battery life, as I mentioned, deplorable. It goes flat even when it's off. Which makes me think the blame for that may be laid at the door of the OS too.

I am therefore in a position to recommend that you do not fall for the bargain price. Keep your cash and save for something better, I wish I had.

Thursday, February 5, 2015

Windows Product Key Problem


I hate to sound like a grumpy old man, but yet again I have a beef, and I need to get something off my chest. Oh yes, I am cross. Who with? Well, equally Microsoft (not an unusual situation) - but probably more with Advent Computers, who, if you don't already know, are really PC World, or Currys, or Dixons... whoever.

So, just over two years ago I bought a nice Advent Desktop from PC World, which was bundled with a monitor and cost £700. My son used it as a games machine and I largely ignore it - which was a mistake. Anyway, he needed an upgrade (to a Chillblast as it turned out) and the plan was that I inherited the Advent, the spec of which was better than my own PC. But the very week before this swap, the Advent simply died. Not a peep out of it. Dead in the water.

I had the side off it and the fans all worked, the hard drive was spinning, but nothing happened on powering up, it wasn't even getting to the booting stage. So I decided it must need a new motherboard. Turned out to be quite cheap to source one, £35 on eBay for a brand new replacement. I successfully installed it in the case, and the PC was back working again.

The Advent was riddled with games and my son's stuff, so I decided to start again from ground zero, a complete re-install of Windows 8 from the disk image (my next mistake). Soon I was staring at a pristine fully working PC, and I was very happy.

BUT,Windows wanted activating. Now I knew that a motherboard swap would upset Windows, but I had been assured that a phone call to Microsoft would get me going again. So I rang them. They said that I needed the Windows Product Key for them to sort me out. I looked on the case, where down through the ages a sticker usually resides with the Key on. But no. Oh.

A bit of investigation revealed that apparently these days, with the coming of Windows 8, there is no sticker - and that the product key is burned into the BIOS of the motherboard. Ah. You mean my knackered motherboard that I can't access any more? Yes that one. Microsoft said, ask the manufacturer, they will know your Product Key from the serial number of your PC.

So I ring Advent. But NO, they didn't know my Product Key. They buy a big bunch of licences, but do not record individual Keys. WTF!? It'll be okay, they said, just tell Microsoft it was a repair. I rang Microsoft and told them that. They said, great, but we still need the Product Key. I rang Advent, oh dear, well we can't help, because we simply don't know your Product Key.

Their suggestion was that I took my (fixed) PC to PC World and pay them a minimum for £50 so they can, um, fix it. Or buy another copy of Windows 8. Terrific. (Particularly as Windows 8 is an abomination as we now know).

So, can I make a couple of recommendations to you? Unlike me, maybe you should go and write down the Product Key of any Windows operating system you may have recently got with your shiny new Windows 8 computer. Just in case. If you can't find it I think there is software that will discover it.

And (he said tetchily) maybe don't buy Advent computers, because (a) they don't seem to last very long before breaking, and (b) they don't seem to know what they're doing re licensing. I mean, surely it wouldn't be that hard for them to record the Key for each PC they sell. Here's an idea, they could use a computer to record the data.

Talking and emailing Advent is an interesting game, because you either talk to a techie who understands the problem but is powerless to do anything to help, or you talk to a non-techie who has no idea what you're talking about and therefore can't help you either. Hopeless.

Oh, and while we're at it, whoever thought up the idea of putting the Product Key into the motherboard...well - maybe a re-think is in order unless it is indeed a cunning plan to sell more licenses? If you're going to do that, why not stick a sticker on the motherboard? Come on.

So, this won't happen with the Chillblast I bought my kid, which came with a proper Windows 8 installation with a printed key and even a CD! And a 5 year warranty. They delivered exactly the PC I specified within a week, and it seems the dog's. It was admittedly easier to buy from PC World, but I think in hindsight it was a major mistake. The Chillblast is built from choice components, I now think the Advent was thrown together from the cheapest bits they could find, and the cheapest licensing deal they could get out of Microsoft. Which is only great if nothing goes wrong...

Monday, July 29, 2013

Acer Aspire One D255 - To Linux and Back Again


But I'd read a magazine article about how Linux can transform the performance of a netbook, so what the heck, I thought I'd give it a go. Fortunately I'm immortal, so losing a few days from my life won't matter, will it?

Oh, if you want to you can read a post I did a while back about the lil' Acer, here.
So I had a surf around and the wisdom seemed to be that Linux Mint would be a good choice. I experimented by making a bootable Mint DVD and running the netbook off that, just to see what would happen. Well... it mostly worked, but you couldn't tell about speed in that configuration.

The install of Mint went smoothly, and was quite quick, so far so good. But there were problems to come. The webcam wouldn't work with Skype. The microphone wouldn't work at all. Only one speaker worked. But above all, the battery life plummeted. It more or less halved, and the poor little Acer got very hot underneath. Some of these issues I may have been able to resolve given enough time, but to be honest I was put off when frequently the advice on forums was to open up a Terminal window and type stuff in that made no sense. Come on... Linux, are you serious? That's like going back in time to Windows 98... maybe even before. I gave it a day or too, but enough was enough. Admittedly it did indeed seem slightly more sprightly, but not fantastically so. So... back to Windows 7. This was where then 'fun' started.

Now I could bore you with how tricky it was to get Windows 7 back onto this netbook, but instead I'll just say this. Despite being in the computing industry since 1975 I am still amazed at how unutterably crap some programmers are - there is little excuse for the litany of stupid problems I faced trying to do something that should have been easy. I had gone to the trouble and expense of buying a USB DVD drive, and making the restore DVDs as per Acer's instructions, so it should be easy, right?

I'll give you an example - this was after I had spent a lot of time just getting the Acer to the point where I could run the restore. So, I was restoring Windows 7 using the Acer recovery disks. It got stuck on step 37 out of 40 something. There was no way around this, as the twerp who programmed this routine made sure as soon as you swapped out to Windows (which was there, working okay 'underneath'), you were flicked back to his full page recovery program... with just a glimpse of the underlying desktop before you got back. Well duh. Rebooting didn't help, as it just went back to where it was, stuck.

The cure for this, which I thought of myself but dismissed as insane, but then I found another poor sap had achieved and recommended, was to get the task manager up using Ctrl-Alt-Del, and then try to click on that window in the millisecond you had before returning to being stuck. I had to get the mouse just in the right place to be ready to click, then swap and click really fast. It took me 20 minutes, but eventually I managed to kill the recovery process. Looking back I can't believe I sat there and did it, but there was no other way.

In the end I got it back working under Windows 7, and its performance is once more acceptable. This time next year when it starts slowing up again, maybe I'll just bin it!

Tuesday, March 26, 2013

Four IT Gripes...



Just to get things off my chest... four IT related gripes, knowing these things just might help you.

1&1
Much as I like 1&1 hosting - unlike Fasthosts I've never had ANY trouble with them at all - I do find their documentation and Help service is a little lacking from time to time.

I was recently asked to set up a simple contact form on a web site, and looking throught the 1&1 help files, there was a lengthy explanation of how to use FormMail, a public domain bit of Perl code that would do the job with minimum effort.

Except... having spent quite a lot of time messing about with it, I couldn't get it to work. Much head scratching and searching through help files later, I finally cracked the reason. It wasn't my stupidity or a software glitch, or finger trouble or anything like that - it was simply that the account I was trying to get this working on was the cheapest 'Starter' flavour... and it turns out that it didn't support Perl scripting. Arggghhh. This is made a somewhat obscure shortcoming, you have to delve deep into the hosting features to spot this, and at no point did the documentation about how to implement FormMail mention this. Another hour of my life I'll never get back. (I ended up writing myself a PHP script, the results of which are a lot better, IMHO.)

A few months ago I purchased a Seagate Freeagent Goflex Desk 1TB USB drive, and it has worked well and I'm very happy with it. Part of its appeal at the time I purchased is was that it sits in a cradle that, as Seagate put it is "a unique adapter that lets you upgrade instantly or change the drive’s interface for faster transfer speeds". I.e. you can upgrade from the USB2 I have to the new USB3, with its promise of 10x faster transfer rate.

So... I've recently purchased a new Lenovo laptop (see below) which sports 2 USB3 ports, whoopee. I therefore have a look on t'internet for the USB3 cradle for my drive. They are very hard to track down. I could find a cradle and PC card combo, but I don't want that. Eventually I found one on Amazon, though not sold by Amazon themselves, for 45 quid. Now... I can buy a complete USB3 external hard drive for that much... so I emailed Seagate asking where I could buy them from at a reasonable price (I speculated at about 20 quid). They replied promptly, thus:

"I apologize for the inconvenience this may have caused you.
You will have to get it from Amazon or through the internet. The reason some or most retailer or distributors might not have it is because the drives that came after are all USB 3.0."

So, polite though that was I think I've just been told to bugger off and not bother them. Not very helpful, and of course that's the last time I'll be buying from Seagate.

As mentioned above, I have purchased a Lenovo laptop recently, which is jolly nice, and I will be writing a review of it once I've been using it for a little while. It's a G580, and cost a very reasonable £400 from PC World.

However, there was, as could be expected, quite a bit of Crapware on it out of the box. (For those not in the know, crapware is software manufacturers stick on their products presumably sponsored by the authors to do so, and it's pretty much always complete... well... crap - or if not exactly crap it's certainly not Free software, it's trial versions mostly).

So, expecting this the first thing I did was uninstall it all... I didn't even run most of it to find out what it was, life is too short.

Having then loaded the machine up with lots of my stuff, I was asked to reboot, and I did, and Windows (8) started updating. Only it failed. It got to 15% and then said there was a problem and gave up, specifically it said "failed configuring windows updates reverting changes". Bit of a worry. And there I was, stuck, cos it just wouldn't do the updates.

I finally tracked down the problem (more lifetime lost never to return) on a Lenovo forum. Turns out that the glitch was caused by one of the bits of crapware. The advice was to go to the crapware and change some settings, but of course I'd uninstalled it!

I finally solved the problem by doing some messing about with the services manager in windows, and finally got through it. But I'm an IT professional who wasn't taking no for an answer.

I wonder how many normal folk out there are sitting in front of Lenovo laptops that will not update vital malarkey in Windows because Lenovo installed crap crapware on their nice new machines?

Bit of an outrage really, but as I said the laptop is (so far) very nice, so maybe I'll just need to move on from this initial setback. Watch this space.

 And finally, I've always been a little bemused by the spam checker incorporated into Gmail. It has frequently dumped perfectly good emails from Google themselves into my Spam folder, which seems extraordinary.

As mentioned above I was writing a contact form for a web site, and in the time honoured way with programmers, I inserted the 'Ipsum lorem' text into my first test. (For those happy individuals who are not programmers, this is a bunch of Latin words that are used as fake input for testing porpoises.) So, I sent the email, and lo, it did not arrive. More head scratching, until I realised it had ended up in my Gmail spam folder. Why? Well it's hard to say, but on investigation there is a Gmail spam rule that states that if the email isn't in the language you are using, then it gets marked as spam. Hmmm. Maybe they ought to introduce a  caveat to that rule to allow Latin?

Wednesday, August 8, 2012

The Dangers of SQL Injection

If you're not participating in the world of web sites development then you will probably find this post of no interest - though if you own a web site that somebody else has made for you, you might want to ask them about this phenomenon.

Somewhere in my memory there lay the briefest of mentions of 'SQL Injection', something that I had stored away into the category of 'it won't happen to me'. But then it did. This post is just to stir the memory of folk like me, and remind them that actually it could very easily happen to them, and when it does, you won't like it...
 
My site, DriveArchive, has been running quite happily for ten years now, which is half a lifetime when it comes to the Internet. I check it most days, just to see if it's actually still there. One day it was indeed there, but it was a mess. The site itself is based on a complicated SQL Server database, very nearly every page has content that exists not in HTML, the underlying code of web pages, but as records in the database which are used to generate the HTML as the page loads.

The site was all over the place, and so I looked at my database. It had become corrupted, in a very odd way. Some of it was fine, some of it was not. The bits that were not had had text data replaced with the name of a web site which it turned out was a dangerous, malware-infested place to go to.

How the heck had that happened? My research began. Well... first job was to fix it. I found to my horror that the last time I had backed up the database was months ago. What a plonker. Though in my defense I have to say that the only method provided by Fasthosts, my hosting company, was so lengthy, difficult and unsatisfactory that it does not encourage frequent backups, quite the opposite.

And, just while I've mentioned them, and I have no reason to believe other hosting companies are better or worse at this, my pleas to them to restore my database fell on deaf ears. It was pointed out to me that they expressly do NOT ever restore your data for you. Nice. Maybe I really should have read the fine print. Thanks, Fasthosts. If I looked in my control panel the database was flagged as being backed up the day before. I'm not entirely sure why they bother if they won't restore it for you!

It took me 10 solid hours of work to fix the database to something near its former glory. I looked into how it had happened, and the likely way was 'SQL Injection'. If you Google that, you'll find out all about it, I won't duplicate all that on-line knowledge here. I sat and coded a defense to the attack, and went to bed.

Next morning, what did I find : it had happened again! What a pain... This time I looked through the logs to my site, reams of relatively meaningless drivel, but there, in the middle of it all was the answer, I found the way in. I fixed it. The hacker is still trying the same trick, but to no avail now.

So... I know all this is a massive IT cliche, but listen to one who now knows... firstly, no matter how awkward, DO YOUR BACKUPS. And secondly, if you have a web site that depends on an SQL based database, find out about SQL Injection and how to stop it - before it's too late.

If you'd like to discuss anything more about this topic, feel free to contact me

Wednesday, April 25, 2012

Sharp Compet 364P-III Calculator

I was rooting around in the loft the other day and came across this item:
Sharp Compet 364P-III CalculatorI'm hoping someone out there is interested in this thing, having looked on t'internet for information about it, I think it might be quite a rarity.

It's a Sharp Compet 364P-III programmable calculator. I'm not sure how old it is, but I think I acquired it in the mid 80's, and it had been unused for a few years prior to that, so I'm guessing mid to late 70's, maybe.

When I got it, it worked, I think. Now, it looks like it might work, but just starts counting upwards from 0 whenever you press the keys. Somewhere I have the instruction booklet. I'm assuming it shouldn't do that, but who knows!?
It is a very heavy bit of kit, solidly built, and in pretty good condition. The display is made up of 16 valves with the numbers arranged inside them, quite a piece of work on their own. And they all light up. I'm guessing these are the most important and hardest to replace components, so whatever it is that's wrong with it may be easily fixed by someone in the know.

When I first got my hands on it I did program it a little bit, but at the same time I got my hands on my first ever PC (then known as a 'micro') so this thing didn't get much of a look-in after that. You compose the program, save it on a magnetic card fed into the machine through a slot on the left. Above the slot is a printer, not sure if that works or not, it appears to use a special roll of silvered paper, no sign of ink or a ribbon.

If you do know anything about this old thing please let me know, and if anybody is interested in acquiring it from me, maybe drop me an email. I don't think it would be a good idea either physically or financially to think about posting it though!

For more pictures of the machine, click here to go to Flickr.

Saturday, October 29, 2011

Acer Aspire One D255E

What's the opposite of an "impulse purchase"? Whatever the phrase is, that's what the buying process for this device was for me. Took me months! Earlier in the year there was an article in PC Pro comparing many Netbooks and this one won. That was just the start.

I then set about looking for alternatives at a better price, but - cutting to the chase - nothing seemed as good. I stood for ages in PC World and Currys playing with netbooks various, and was somewhat underwhelmed. If you get the chance, walk up to a netbook and try running four or five applications at once. Chances are it will fall flat on its face.

Most of them are single core processors, and nearly all have but 1gig of memory. A few years ago their specification would have been thought fabulous, but now they struggle to cope with just the operating system, let alone running a program. (There's an article elsewhere in the blog extolling the virtues of MS-DOS for those who can remember it.)

So, the D255E has a dual core processor. I very nearly bought a single core example once, before the nuances of Acer's name scheme became apparent to me, a mistake I suspect many could have made. It has  1gig of memory and a 250gig hard disk. It has 3 USB ports, N class wifi and a 10.1 inch display. It nominally costs 250 quid, but I decided that 200 was my top limit. Much hard work went into tracking down such a thing, weeks passed but eventually I fluked it - Okobe had red ones for 200 pounds. I'm inclined to think they made a mistake on their web site, because if anything red ones are more than the usual black.

There's no denying, it is a bit slow. It's a 1.5 ghz processor, and the dual core does allow it to multi-task quite happily, but it's no greyhound, Patience is required. Once things are running, they run well, but start up times seem slow.

Having removed all the crapware from the machine, installed Chrome and Firefox and banished IE whence it came, surfing is a totally pleasant experience. And as that's pretty much all I wanted it for, that's fine. But having said that, I have no complaints about how it runs Office, or indeed any of the other apps I've subsequently installed. I can't see it doing video editing, but Picassa works fine for example, as does Google Earth.

The display is very bright and clear as a bell, and it's glossy finish has not caused me problems at all. And once the battery was trained it is genuinely giving me hours of use on a charge. The claim is 8 hours plus, but that must be for doing not-a-lot, I'm getting over 6 hours of normal use, whatever that is...

The wifi range is good, the keyboard is nice to use, the touchpad is responsive, it's light to carry, and looks cute as a button. It gets a little warm on the lap, but nothing to mention, and the fan is quiet. It's great for watching the BBC iPlayer in bed. Speakers aren't that great, well they sound okay but there's little volume, but that's easily fixed with headphones.

If I was to find fault... there's just 1gig of ram, but to install more you have to get your screwdriver out and remove the base... I'm not sure my nerves would take this. Surely a little hatch isn't too much to ask? Or that it should come with 2gig? Because just running a browser the ram usage goes into the red sometimes.

The machine is configured to boot into Android. This is easily bypassed, but I've left it doing this, as the start up time is phenomenal. It feels like just a few seconds from pressing "on" to being able to surf. Catch is, the version of Firefox used in the Android partition is well old, and I can't fathom how (or indeed if) you can update it. And oddly it seems to run very slowly, use it for gmail for example, and it keeps "sticking" as you type your message. There's something not quite right with it all. And there's a small app store to access, but so far I've failed to download anything from it, it just hangs when I try.

But ignoring these minor gripes, I cannot but heartily recommend the D255. I've been using it for a few weeks now and it's performed faultlessly. I attended a long meeting recently, other participants had laptops that they kept having to 'sleep' all the time - me, I just left the Acer on - that battery rocks! As I said before, beware the identical looking single core version, which can be the same price too, confusingly. You may not be as a lucky as me to find one for 200 quid, 240 seems generally to be going rate, but as the opposition catches up with dual cores I expect its price will drop.

Update 2017

Yes, after many years, the Acer is still going, admittedly with only infrequent use these days. It has soldiered on well, and still looks quite new. The battery still gives a reasonable life, and everything still works fine. Software wise, it did start to go slower and slower, until it really got unusable, at which point a complete re-install of Windows sorted it out. Along the way I did try running it using Linux, but this didn't really give me the tools I needed, but it did work okay-ish (see here). I did lose the Android alternative system that the machine came with, no great loss. And then came Windows 10. I took the chance of the free upgrade, which I was surprised I got given that the original system was 7 Starter. BUT, after the upgrade things were not great, it had become very slow, despite the hype that 10 did not need more power than 7.
So... I gritted my teeth and did what I should have done from the very start, upgrade the memory. It came with just 1gig. I had read what was required to upgrade, and when the notebook was new I didn't fancy taking it apart to get the new RAM in, but of course now I wasn't so bothered. And it turned out to be a ten minute job, no problem at all. The worrying bit is prizing the keyboard off and then undoing several key screws, but there's a YouTube video that shows you how to do it. A doddle, and the memory was very cheap. A very worthwhile upgrade and means the machine will run Windows 10 happily. In fact I'm using it this very minute to write this.
So, during it's life Notebooks were in and then out of fashion, but I notice that recently there's been a resurgence in interest in these smaller laptops, this time around as a sort of tablet/laptop hybrid. They are very useful to have around, the number of time I've needed the quick use of a portable device I don't really care about, it's perfect. I now use it mostly to plug in to my car diagnostics, it happily sits on the engine telling me where the latest problem is!

Tuesday, October 11, 2011

Nokia C3-00


However. It may be that my opinion of this phone is somewhat biased because I got it so cheaply. I bought it using Tesco tokens during one of their half price promotions, and ended up paying about 35 quid for it. I think it goes for about 90 quid in 'real life'. £35 - bargain, not sure how I'd feel about the full price...

Anyway, it's been excellent. Its keyboard does not have the quality feel of the Blackberry, nor is its screen so bright and inviting. But as a day-to-day phone it does everything well enough for me.
It copes with my various Gmail accounts very well, though it did take me a while to get to grips with how it works, insert usual moan here about poor documentation. (Aside... many years ago I was involved in rolling out Microsoft Office to a company nearby. Each CD of Office came with a pile - no really, a pile - of books about the various applications. I remember lugging these things about, and in the end there was almost a room full of books. I guess that wasn't very green, but at least you knew where to go to find out how the bloomin' programs worked. Now... well you might get a CD, but probably not. I recently bought a netbook, - it had critical info about how to maximise battery life on its hard disk. Trouble was, it turned out, you had to break one of the rules to get to see that instruction, i.e. switch it on in the first place! Ahem.)

Yes, so, email fine, browsing is okay too, it comes with Opera but runs the Nokia browser well too as you would expect. It handles Facebook and Twitter well, if you like that sort of thing. The screen is clear and bright, but annoyingly goes off too quickly when you're using it, and I can't find a setting to slow it down. However (not unrelated I suspect) battery life is good, I charge once a week on average. It picks up my wifi with ease, though it is a bit slow - but to be fair I personally cannot compare it with any other phone in this respect.

The biggest disappointment is the camera... it's a 2 mega-pixel job, which I assumed would be the same as the 2 mega-pixel camera I had in my old phone, a Nokia 2700. But no, it is much worse - not what I expected for a more expensive phone. It's okay in bright light and not too close to the subject, but anything else, awful.

The MP3 player is perfectly good, and easy to use. I confess I haven't really used the video function, but it works okay, I guess you can't expect too much at this level. There are a few okay games (currently addicted to Block'd) and you can download more free from the OVI app store, like Chess and Reversi.

I've had it 6 months and it's crashed maybe 5 times, recovering with a reboot no trouble. It's not put a foot wrong really, I have no major complaints. Well... just one, you have to hold the phone in just the right place next to your ear or the sound is distant, I've not really noticed this with other phones, the positioning of the speaker and ear seem to critical.

Tuesday, February 22, 2011

Fasthost "Support" - Laughable!

And of course by putting the word "Support" in quotes in my title, I am indeed, as you'd expect, implying that Support is the very last thing they seem to actually provide.
I've been using Fasthosts for my own and my client's hosting for many a long year now. I've paid them a fair few bob over the years, and I've brought them new customers, in my capacity as a self employed web developer, (see www.xledev.co.uk).

Up until very recently, this has been a fairly stable and satisfactory symbiotic(ish) relationship, and I've happily sung their praises to anyone who was interested.

But it's all gone Pete Tong recently, because I've had troubles, and with these troubles has come the requirement to contact their Support department. Oh dear, oh dear, oh dear.
I won't bang on, because if you search the web you'll find many examples of annoyed people who've fallen foul of Fasthosts in one way or another, but I can give you a couple of amusing examples, and a little advice.

There are two ways you can approach them, by phone or by email. By phone costs you money, and a great deal of time. Eventually you might get through to someone, but in my experience they will sound a very very long way away. They will be quiet, and there will be an annoying delay on the line, and though I totally admire people who have gained any sort of fluency I another language... I can't help but feel they don't really understand half of what you're telling them. When what you're telling them is technically complex, this can be, ah, problematical.

Then there's email. Email is quicker for you to actually create, but it is eye-wateringly long-winded to get anywhere. They never reply quicker than 24 hours, and often take longer. Their first reply is always just that, a reply, no effort having been made to solve anything. They will ask you for some more information. 24 hours will pass. In my experience, the next response will be from someone who has not actually read your email properly, it will be a knee jerk reaction, and it will probably imply that you are at fault. Reply, 24 hours pass. You might break through the drone wall at this point and get through to someone who actually understands what you want... maybe. They may help at this point, or they may ask for more info. You'll notice that a week has nearly passed. Eventually you might get it sorted, and they might gently apologise.

One example recently, was that when developing pages using ASP, their new hosting was not returning error messages, just a general purpose page which told you nothing. I made a page with an error on it, and called it "deliberate-error.asp" in order that they could see what I was on about. After three days of getting this across to them I received a message from them saying that the page I had given them had an error in it, and perhaps I should fix it myself! Doh!

I tried hard to lay off the sarcasm in my reply, because I reckon it may have been lost completely on this 'support' operative who, I imagine, was "not from round here".

I am currently locked out of my account, because when I log on I'm told that a transaction I instigated (I didn't) has failed due to a problem with the payment (it's a free option and is trying to take a payment of exactly £0.00). It says I should either update my payment method (I can't as it won't let me in to do so) or Cancel. When I click Cancel a message comes up saying it's "Unable To Cancel". Checkmate.

The support phone call I made about this suggested I should email in for support, as they didn't understand what I meant. I emailed in four days ago and am yet to get a response worth having.

Advice. Only ring them if it's not your own phone bill and you've nothing worth doing for an hour or so. If you email them, try and tell them absolutely everything about your account, including FTP details and password, cos that will save you at least one 24 hour cycle. Never type too much in the email to support as they clearly stop reading after the first sentence.

Finally, probably, use 1&1 for you hosting.

Fasthosts, as my teenage son would say : "Epic Fail!"

Friday, November 19, 2010

Microsoft Small Basic vs Roblox

Can I commend to you a piece of software from Microsoft... how often do you get to say that? It's called Small Basic, and it's a free download.
I've been on the lookout for a programming language to encourage my 12 year old son Josh to get started on turning into a mini-version of me. I guess some dads, frustrated Wayne Rooneys, buy a football and march their kids out into the middle of a wet field. Me, I just want him to grasp the fundamentals of programming, especially as he wants one day to work for Media Molecule and develop Little Big Planet 8 or whatever.

I've not had a lot of success up to now, but this Small Basic is excellent, and after me showing him a quick demo program last evening, I couldn't prise him off it to go to bed. A breakthrough.
There are very few icons cluttering up the toolbar, and the whole process is very simple. You type code into one window, with an excellent IntelliSense system in place to help remember syntax, then hit Run and either a text window or a graphic window (or both) opens up and you get to see the results immediately.

It's entirely feasible to write little games like Snake and Breakout with this system, and there are plenty of examples on the Net to look at and learn from. Notably, the language uses a 'Turtle' to draw on the graphics screen, which I think is a Logo language like construct to make graphics a little more fun. It works, he loved it.

The beautiful simplicity (and relevance - the code looks like real Visual Basic) of Simple Basic is in stark contrast to my experience using the scripting language associated with Roblox. Now, you may not have come across Roblox, but it is an on-line game based on a Lego-like world. If you have children and they haven't heard of Roblox either, I would advise you don't tell them. Roblox, IMHO, is heroin for children. It is highly addictive. My lad has been on it for 12 months now, and shows no sign of getting bored with it, despite the fact it looks, to an adult, fairly dull and badly rendered. All I can add is that he had the briefest of dalliances with World of Warcraft recently, which appears interesting and looks marvellous - but did not stick at it more than a couple of months. I couldn't afford the fees for both, so he had to choose, and he chose Roblox in an instant.

One possible saving grace (for me) for Roblox is that it has a scripting language. Great, I thought, I'll get the little blighter into programming with that! But could I get it to work, could I coconuts. I'm a software developer of 30 years experience - and I could not get it working. Obviously some people can... maybe I'm being dense, but as an intro to programming it sucks, and I would advise against it.

Just while I'm ranting against Roblox, can I mention something? Roblox cost money to play, fair enough. But it has a currency that is vital to the kids enjoyment of the game. This currency costs real money too - not a lot, but it adds up over the months. If you were clever enough to write a good script, or you design a good costume or a game level, you can sell it to others in the Roblox community. That seems okay, you could reduce your gaming costs by being a bit clever. But even if you do, Roblox takes a percentage cut on all deals! You're enhancing their system by adding good content, and they still screw you for some cash for doing it. This is for kids remember. Humph.

Ahem.

The page for downloading Small Basic is currently here though I guess that might change. Highly Recommended.

Sunday, April 11, 2010

Hewlett Packard - Very, very disappointing, but goodbye.

I know it’s a bit dull, but I’m going to have to have a bit of a rant about HP and their apparent very poor attitude to customers.
I’ve always been a bit of an HP fan, actually, I've owned and own three or four HP printers, a couple of scanners and several Compaq PCs.

Everything was going pretty well, until the moment when I decided to drag myself kicking and screaming into the world of Windows 7.
Then it all went Pete Tong, and, unusually, it seems that Microsoft are not really to blame… no, the buck stops with Hewlett Packard, and they have been found lamentably wanting.
My nicest, newest printer is a Deskjet 5940. “Cleverly” Windows 7 detected the printer with no drivers to download, so it just worked. Marvellous. Well, marvellous until the printer decided to print badly. No problem, I thought, clean the heads. Now then… how do you do that? In the good old XP days I’d go to some HP centre thingy and click to clean and/or align the heads… now there’s nowhere to go. Off to HPs site… yes, the printer works under W7, but no, we’ve not been arsed to allow you to do maintenance, like head cleaning. What? And that leaves me where, exactly?

And then there’s my HP Scanjet 5300C scanner. Sorry… but we can’t be arsed to write W7 drivers for it, why not throw it away and buy a new one from us? Do you really think I would?

And then there’s my sister in law’s all-in-one HP printer/scanner, an Officejet D145. She unknowingly bought (from Amazon, shame on you) an out of date ink cartridge for it. The printer just wouldn’t use it… until I removed the battery in the printer to reset the date, then it worked fine. The cartridge is a box full of ink. If it works, it works. Why does the printer refuse to use it because of a date? So they can sell more ink? I think maybe yes. Added to which, though it will work occasionally, the scanner of this great lump of a thing has started giving an error message. That error stops the printer working. There's nothing wrong with the bloody printer. But because of the scanner problem (which may be caused by another whim of HP's to sell us new kit) the whole thing is now a piece of useless junk.

I find it hard to imagine the meeting at HP where they came up with all this blatant built-in-obsolescence bullshit, but did they really think that if they take this attitude we'd run out and buy more HP kit? Frankly, after the last few weeks I may NEVER buy anything from HP again. I'm not saying Epson and the like are better, but I'm damn well going to buy from them in future until I get to find out whether they are or not...

Bye bye HP.

Tuesday, May 8, 2007

Saving Power or Wearing Out Your Kit?

I recently had a letter published in my favourite computing magazine, PC Pro. The topic I addressed was that of whether powering PC equipment on and off does it any harm or not. I wrote thus:
"I have been following your campaign to get us to switch off our computer equipment with interest these last few months. I absolutely go along with you on this, and I have been encouraged to switch off even more of my equipment at night as a result.

However, I must say that I'd draw the line at my PC powering off relatively frequently during the day, not for any time wasting or ecological reasons, just simply because surely this must wear it out more quickly? I've noticed a couple of brief mentions in the magazine that PCs and monitors these days are happier switching on and off than they were, is this demonstrably true or does it just suit your argument?
It has frequently been my experience that it's at the point of powering up computer equipment when things go wrong. I'm no scientist, but surely the change from hot to cold to hot etc must put a strain on electronic equipment? Do modern TFT monitors mind going on and off frequently? Do PC processors suffer wear from the huge temperature changes as they power up and down?

I would be a total convert to the whole switch-it-off debate if you could persuade me there was no damage being done. Any chance of such a test appearing in the magazine?
"

They were very nice to publish the letter (well, an extract from it, actually), however I was somewhat dismissed as being someone who was harking back to the days of mechanical devices, and everything was okay now.

The following month, a like-minded soul had his letter published as a follow-up to mine, again questioning this assumption that things are okay these days.

I just don't think they are, and I again emailed them, thus:
"You mentioned my worry being a hangover from the mechanical world... well let me give you another similar analogy. With aircraft, though total flying hours is used to determine if a plane is worn out, what they really worry about is the number of landings. That big thump does more damage than cruising along for hours. Is it maybe not the same with switching electronic gear on and off?
 

Now then... "News" in issue 151... "But it does save £50 per year on power" when referring to Vista's default power settings... it won't save anyone 50 quid if in fact it shortens the life of the equipment... in fact it will cost a packet in terms of hours lost and hardware replacement. I would really like to see an electronics brainiac's response to this... like your article on what kills hard disks... surely the manufacturers do research of this nature... someone must know for each component what the actual damage (or not) of powering on and off does to each component?"

It would be good to get a definitive answer on this, as a recent tv programme highlighted just what a large carbon footprint making a PC causes. If we end up breaking them by attempting to save a little power, that can't be right can it?

Monday, March 19, 2007

A Personal History of Computers

A chronological list of the computers I've worked with:

IBM 370/135 (1975)

A huge great thing taking up a large air-conditioned room, protected by an air-lock and copious tac-mats. Made a hell of a racket, but had flashing lights and everything. A proper computer, not the mamby-pamby stuff we have now.

Main memory was 240k. Yes. The huge disk drives with removable multi-disk platters that weighed a ton held about 30Mb each. The console was not a screen, it was a teletype thing, producing reams of paper with gibberish on it. Programs were loaded from Hollerith punch cards, see here.

more info on the IBM 370 here.
NCR 8500 Criterion (1981)

I can't recall any of the spec of this thing, neither was there a lady in white included with the one I worked on. At the time I was totally into the thing, I was a systems programmer, tuning the beast and writing apps too. It had less flashing lights than the IBM, but it did at least have a screen for a console.

The disk drives were large heavy things that spun very fast. To change a volume you pressed a button and waited for it to slow down and stop, then open the lid, screw on a big plastic lid thing and wrench it off. Once, I opened it up and put on the lid, only to find it was still spinning at full speed... I was lucky not to break an arm or worse. The engineer told me this was impossible, due to an 'interlock' that stopped the lid opening while the drive was spinning. I've never trusted 'impossibilities' since!
Commodore Vic 20 (1981)

My then boss bought one of these for games, but asked me to write an accounting system for him, so he could claim it as a business expense. It survived a serious car accident and eventually I did program a simple accounts app for him, which I seriously doubt he ever really used.
Sinclair ZX81 (1983)

I bought mine from a mate for 15 quid, with the 16k ram pack as seen here... which was a total pain... any movement and the thing would crash the machine. I did once type in a huge program only to be unable to save it to cassette. The flickering caused by typing (it couldn't take input and do output at the same time!) was horrible.

Eventually I swapped it for a flash gun for my camera, a good deal!
NCR Decision Mate V (1985)

A lovely bit of kit, I wish I had one now. Built like a tank. I wrote a game of Breakout on it in Basic.

See my other blog entry on this here.
Apricot Xi (1986)

I used this as portable machine, the keyboard clipped to the back of the main unit, which had an extendable carry handle. The screen was quite light and easy to lug around too. It had a small hard disk, and a neat feature, the keyboard had a little LCD display above some keys, so you could program your own functions for them.

Small, but perfectly formed, I used it to telework, writing Accounting software in UCSD Pascal.



Amiga 1500 (1991)

I won one of these in a competition in the magazine "Air Forces Monthly". It was worth around a grand at that time. It was just an ordinary Amiga 500 in a PC sized case, its only advantage being that it was expandable, not that I ever did add to it.

I amassed a huge amount of software for this thing, games and serious stuff. It was fun to program, using a Basic like language called, um, Amos I think.

Hard disks and their controllers were pricey back then, so I never did go beyond running everything on two floppies. The drives were maddening, slow and they used to click annoyingly when empty, trying to detect if a disk had been inserted, bonkers.

I still have it, it just about works, though it's packed away in the loft these days. Not that I'm a huge gamer, but the Amiga did run my favourite game of all time, F/A-18 Interceptor. Looks awful now, but at the time this was the most fun I'd had in clothing.
Compaq Deskpro 4/33i (1993)

At the time I got my hands on this, it seemed like the dog's whatsits. It had an 'overdrive' chip fitted to it eventually, making it go a tad faster. A simple, compact and sturdy design, it lasted for years, and still works to this day, the last time I tried it anyway.
Compaq Contura 3/20 (1994)

I got my hands on about four broken models of this, and from them built one working machine. They had variously been dropped, run over (!), and caught fire. But there were just enough components to make one fully working laptop.

Though the battery has long since dies, this mongrel still works. It runs DOS and Windows 3.1 quite happily, and it's tiny hard disk has 'Stacker' running on it to double (maybe) the space. Now hard disks are so cheap and so huge it's funny to think such software was once de rigeur.
Various dull PCs, Reseda, Pionex, Premier. Bring on the clones. Many anonymous (for which read 'cheap') IBM PC clones followed, with ever increasing speed and memory as various Windows versions attempted to eat the hardware advances.

It's all a con, isn't it? The better the kit gets, the more resources the O/S requires, just in case you thought you could sit back and enjoy a PC for a few years. Not a hope - read 'The Subliminal Man' by JG Ballard.
Compaq Presario SR1539UK (2005)

And here we are with my current PC. As of now, March 2007, (update - now replaced, see below) it's just over a year old and as usual that initial rapture of a new super fast machine with acres of disk space has faded... I guess I need to weed out the rubbish and re-install XP to get back the performance, but what a performance to do so, can I be bothered?

Bought for 800 quid from PC World, I see now that better spec'd versions these days are a lot less, but it has been ever thus. It has an AMD Athlon 64 processor, but such is my addled state and to be honest boredom with the hardware side of IT, this means little to me.

It works, it's quiet, it does the job. If you'd shown it to me when I was working on and IBM 370/135, I would never have believed such a device was possible, let alone that I'd own one.

(awwooooga, awooooga, 'old man' alert... enough already.
Fujitsu Siemens Pi2515 (2008)

I treated myself to a laptop. Well... I'd finally got wireless internet sorted out, and I thought, why not... they're cheap now.

And it was... just 400 quid from Dabs. It's got a whopping 250gig hard disk, 2gig of RAM, and the nicest screen you could ask for.

Naturally Vista renders it as slow as can be, though not unacceptably so. I suppose.

I'm trying hard not to load it up with all the usual rubbish that eventually causes Windows to grind to a halt, so far so good.

Hate the touchpad thing, but then hate them on every laptop. Battery life is 2 hours, which seems par for the course, but never, of course, quite long enough.
Packard Bell iXtreme X5620uk (2010)

So, the old Presario (see above) started to feel a bit slow, and my little boy needed a PC for homework, so I looked around for a new desktop. Did hours of research on t'internet and came up with a couple of options from Dell and somewhere else I can't recall.

Just happened to be passing a PC World, so dropped in and said to the salesman, "you won't be able to, but can you match this spec and price?", and handed him my wish list. Off he went. Came back with this thing, and he beat the price by 20 quid.

Hmmm... Packard Bell... didn't know if I liked the sound of that... But what the heck, so I bought it and it's been perfectly fine ever since. Quad core, 4 gig memory, 500gig drive, it's quiet, so far reliable - does everything I want. Has Windows 7 64-bit on it, which is a slight pain as quite a few programs don't now work, and I can't get drivers for a few of my older peripherals, notably from HP, see article moaning here.
Acer Aspire One D255E (2011)

All this talk of tablets, Kindles, iPads etc etc got me thinking that I needed something to sit next  to me on the settee of an evening, waiting for the inevitable everyday questions to come up that you can look up the answers to on Wikipedia. I.e. cheating during Eggheads.

But my fingers just don't seem to work touch screens. My son has a touch phone, I can't get the bloomin' thing to do anything.

So I looked at unfashionable Netbooks, and, having consulted recommendations in PC Pro magazine, plumped for this one. And, showing commendable patience I decided to wait until I could get it for £200, which eventually I did, from Okobe.

It's the dual-core version, and is cute as a button. It's not fast, but the battery life is fantastic, screen vibrant and I love it. And it's red. Somewhere else in this blog you'll find a full review - see here.
Advent DT2410 Desktop
with an AOC e2343F LCD Monitor (2012)


Not strictly mine, as I bought this for my son's Christmas present, and actually I've hardly used it, as he is on it the whole time! Cost 700 quid from PC World (now 650!), worked well out of the box, and has been trouble free now for many months. Came with Windows 8, was not overly burdened with crapware, and has come up to all my expectations performance wise. Runs all his games faultlessly. I am quite jealous of it. Maybe one day he will hand it down to me...
  • Intel® Core™ i5-3330 processor
  • Windows 8
  • Memory: 8 GB
  • Hard drive: 2 TB
Lenovo G580 Laptop (2013)

Purchased from PC World for a not unreasonable £400 early in 2013 after many weeks of on-line and in-shop research. With two small exceptions it has been a successful purchase, and I'm using it now to author this piece.

It's quiet, it runs cool, the display is excellent, performance (i3) is acceptable, all in all, so far, it's looking like a good buy.

The two exceptions are, one of the pieces of crapware that it came with caused Windows update to fail, and fixing that was quite hard. And it also (out of the box) loses it's WiFi connection for a couple of minutes after Sleeping. Took me ages to figure out how to cure that, and I'm not alone... see the many forum questions about this!

During my research I read many, many laptop reviews, and in a huge number of cases folk say, For: Great Screen (or something), Against: Windows 8 - over and over again. Having used this device for a few weeks, if asked, I would say exactly the same.. Windows 8 really is an annoying thing... Microsoft should be ashamed. And fix it. Quickly.

Thursday, February 15, 2007

NCR Decision Mate V

The first Personal Computer I ever had the chance to use was a bit odd. I expect the vast majority of folk from that era, the late 70s, were exposed to the IBM PC. But I worked at a company who, quite unusually, had all NCR computer kit. And so when the first personal computers came along it was natural that we should get the NCR version of this new and exciting toy. (Back then NCR were quite big, I guess a lot of you would only know them for cash tills. IBM were the BIG cheeses of those times.)
    Here it is. 8-bit. Black and White. CP/M operating system. Huge great floppy disk drive, which held next to nothing on them. No graphics, just text.

I loved it.

It weighed about half a ton, being very solidly made of metal. It was a neat and tidy design. Things were (cliche alert) simpler back then.

The truly great bit of design was the way you extended the machine. Unlike PCs then (we called 'em "Micros", actually), and now come that, you didn't need to take the case off to add expansion cards. Oh no, nothing as crude as we are now used to.
No. Around the back of the machine were slots. Expansion cards were metal boxes, maybe the size of the fingers of your hand, which slid into the slots and engaged with the socket deep in the machine. Simple and effective. You could add memory, network adapters, all the usual stuff. How the system we have now won out I don't understand. Oh, yeah I do... these cartridges must have cost a fortune!

Does anyone have a working version of this beauty? I hope so, somewhere. Let me know, please.

And there was not a huge amount of software available. Especially games. But I was addicted to a text based platform game. Across the screen were various levels with ladders between, made up of ___ and H and | symbols. You were an O (I think) and using the cursor keys you climbed an jumped to the top of the screen. Simple, addictive. Anyone know what this game was called, and can I get a copy anywhere?

ahhhh... I'm so happy... recalling this game made me go and look on t'Internet, and eventually I found what I was looking for... the game was called Ladders, and some fine chap has ported it into Java, so experience my first PC gaming experience here.

Friday, February 9, 2007

PC Pro Coverdisks

I've been reading PC Pro magazine since the dawn of time, it feels like. If you subscribe it's cheap as chips, and is always a good read. (No, I don't work for them!)
Plus, it always comes with an interesting coverdisk, either a CD or more likely these days a DVD.

I'm pretty sure there's never been an issue that hasn't contained something worth at least evaluating, and frequently there have been amazingly good things, software I now use on a daily basis. (No, really, I don't work for them!)
Because I'm sad, I've taken to cataloguing the Full Product software on these covermounts, which generally are the most useful things on there. And now I've knocked up a web page for this info, which you might find useful. If there's anything you're after I guess their back-issue department might get it for you. (No... really... I don't...)

The site is here.

Saturday, February 3, 2007

DriveArchive

I run a site called DriveArchive. Let me explain.

DriveArchive is a bit like FriendsReunited, only for cars. Or lorries, buses, motorbikes, any sort of vehicle you like, which has a numberplate.
It's free to use, you can go along and search for a vehicle without registering, so why not pop along and give it a go now... oh, but before you go...

Obviously the chances of you finding a particular vehicle are quite slim. There are a heck of a lot of vehicles in the database, but then in the real world there are a LOT of vehicles... but I guess FriendsReunited once had very few people on it, and look what happened there. What the site really needs is for YOU to add some data when you visit.

If you go and have a look for a particular vehicle (might be one you once had, might be one you own now) and it's not there (or especially if it is!) then please add a record for it... you know it makes sense!

Registration is free and easy, minimum details I need are a name and an email address, to enable me and hopefully other owners to reach you (though note that your email need NOT be visible on the site for this to happen.)

Try it, what the heck, go to DriveArchive now...

Friday, February 2, 2007

AngleseyMotoring

If you happen to live on the Isle of Anglesey, North Wales UK (as do I) then, if you are a motorist, I hope you find another site of mine useful, AngleseyMotoring.

It's a very simple site, it contains links and contact details of many motoring related businesses and services on (or near) the Island.

There's a list of all the garage main dealers, and independents, as well as a host of service companies, and finally a lot of general motoring links, for example to traffic cameras and weather forecasts.

It's free to use, so try here, AngleseyMotoring.