Archive for the ‘IT’ Category

Don’t beleive what you read

The concept of the chain letter has moved I notice these days from annoying emails that insist you pass them on or suffer your head falling off, your family dying horribly or spending the rest of your life in a gutter, to spam posts on Facebook that the gullible blindly repost. Two minutes to check a story is all it takes and you don’t need a degree in computer science to do this!

Subjects are legion and quite what the motivation is to launch these things I am not always sure but God do they do the rounds and people blindly repost. “DON’T CHANGE THIS SETTING IN FACEBOOK IT WILL STEAL ALL YOUR INFORMATION AND INFECT YOUR PC!”, “John suffered horrific injuries in a bike accident, in this his hour of need pray for him and repost on your facebook status”. And you know people blindly do, accepting the word because a “friend” told them. And so they propogate the garbage….

The one about the bike accident, and the wording here is not correct but the idea is, had been going round for 6 years in various ways ( not solely in facebook as far as I can tell). Its so old there is no one who can tell you if it ever started as a genuine post or was ever simply contrived. But in short the rule is- unless you 100% know for yourself that something is genuine and factual, you would do better to simply delete the request to repost as a waste of bandwidth.

In truth its too late there are too many of the gullible out there and these things have gained traction.

How to spot this stuff:

  • Always mistrust anything thats asks to be reposted!
  • Anything that says you will catch a virus from changing a setting on a Social Networking site- why worry- you have Anti Virus right?
  • you won’t catch a virus- more like someone wants you to retain some setting thats actually benefitting them by way of seeing what your up to on fB than locking it down
  • If you are worried, set all your settings in fB to the most Private and then undo the ones you decide are safe.
  • If you are worried about your posts being seen on the wider web, DO NOT POST THEM ON FACEBOOK!!!!! There are no secrets on the web.
  • When you get a repost request, take some of the key text- no more than 10 words, but something key to the post and paste it into Google. You will be surprised how much has been written on many of these posts.
  • Subscribe to the HOAX-SLAYER list on Facebook. This guy really knows his stuff, I beleive he is a fB employee and posts on all the crap going round.
  • This list is not definitive.
  • and remember just because you got it from a friend does not mean its true!

Be safe.

 

Watch out for “techaviators”

Unsolicited calls are being received by some web users from a company that call themselves techaviators, they have a number of websites with both .co.uk and .com tlds which you can look up yourself if you are interested.

The calls are made on the premise that your pc is generating some sort of error which has been picked up on the internet either by the IP carriers generally or your isp. They point you to your pc event log and point out these “errors”. if you have a pc and look in your event log you will always see errors in there and while not ideal , in general they are in no way indicative of serious problems or internet detectable issues.

They then get you to download remote access software and login to do their mischief on your pc. At best they point you to a number of bogus issues on your PC which they then charge you some sort of mtce contract to resolve/maintain. I have heard though that they can  install some sort of malware with which they can effectively format your disk if you don’t pay up or co operate. This allegation is unverified by me.

The phone numbers they present are bogus ( the calls originate in Asia- most likely India) Also you will find they present themselves with very European names like “Claire Smith”, “Roger Jones” but have a very distinct Indian accent- the names are obviously bogus.

If they call- tell them you don’t have a pc or better still hang up.

On no account allow them to access your PC, install software or give them Credit Card details. If you have given over access or details I strongly urge you to change passwords on all sites you use (especially those with financial liabilities- online banking, PayPal, stockbrokers, gambling, or e- retailers that retain payment info like Amazon or Google). When changing passwords use something unique on each site and at least 8 characters including one non alpha numeric wherever possible like a “@” or ! character.

If you need more advice on setting secure passwords, get in touch.

Add multi level search to your website using SPRY

I have been working on a project recently that required me to build a multi level search feature, you know the kind of thing where on selecting the first item in a list of options, the next level becomes available.

One thing you really need to get this working is Ajax. You don’t want to be having full page reloads as each selection is made, wouldn’t it be cool to just update the next selection box?

Now no doubt there are many ways to skin a cat but to be honest

1)There are few (if any) out the box scripts on the web to do this that I could find

2) I am a great believer in not reinventing the wheel and KISS (Keep it Simple Stupid!)

3)Most purely javascript scripts I could find “cheated” in that they pulled down a predefined list of data to the browser and used client based scripts to sort and filter it. This is Ok I suppose in a static environment but its not terribly flexible for a dynamically driven site, and if you have a lot of data to be sorted, as potentially I do in my project,you are dumping the whole list for the user to ultimately choose one item. Better to send only whats needed.

For this reason, and for the reason that its handy and available in DW4 as it comes out the box, I decided to use Adobe’s Spry Javascript Framework. DW4 is a pretty expensive package but there is a free trial version for 30 days use if you want to use this, or if you are a student you can get the package (for non commercial use ) for much cheapness- relative to what it costs me!!!

There are a few frameworks out there, Spry, jQuery, Scriptaculous, prototype, but for me Spry was most accessible  as fundamentally I am a non Javascript developer and I have some experience of its use through other projects.

If you don’t have Spry now and you want to follow along, go to Adobe’s website and download the files. In DW4, it loads up the files you need as you use each function, but if you are not using DW4, feel free to dump the whole package on your server in some folder.

For this example I will use a directory called /spry but it can be anything you want.

If you are bandwidth constrained, you can get a minified version of the files too, this reduces the amount of code being sent to the browser, it does not make much odds on a quiet website, but in a busy case it might save you considerable bandwidth fees down the line.

So with the basis of this project set before you, get the bits you need here and next time I will show how I got the multi level search started.

My assumption is you know a little php to run a database query and know how to get that out the database into xml format. For this project i will be using static xml files.

Style updates

If you drop by regularly you may notice some weird stuff going on withthe layout of this page. I am currently working on a new layout and when I have it active for development work things may appear out of place. In the meantime I have this temporary “stock” style in place. Please bear with me while I get it sorted, time is rather precious at the moment and its only when I have some that i can update this.

Bluestone-online
Categories
Affiliates