You could be seeing a great picture here
_

Charles on… anything that comes along

Tuesday 14 November 2006

Filed under: — Charles @ 1:04 pm

Another reason to hate online poker sites: credit card fraud and its effects

So I log in to pay the balance on my credit card. My, the outstanding balance seems high. What’s this new transaction?

Latest transactions: 03 November PKRSER.COM 500.00 U.S. DOLLAR £271.02

ARSE. So not only do I already hate online poker, but now some clown has cloned (or similar) my credit card to spend their scummy time there. You know, I was delighted to see the online poker (etc etc) companies shrink like pricked balloons (somehow it was apposite) with the US legislation banning it, but now I just want them to vanish altogether. They’re a waste of time, of money, and they just encourage this kind of crap.

Because when you ring up the credit card company, they’re completely understanding. Oh dear, how’s that happened, do you use the internet?, of course this won’t be charged to you, hmm.

But while you don’t have to take the cost, you do take all the damage. I have to cut up my credit card, while they issue me with a new one, once I’ve signed a form to say No, Mr (or Ms) Fraud Department, I had nothing to do with that transaction. So I have to get that card number changed on all the sites that use it. I have to deal with that. Can’t I keep the card, and you just put a stop on any transaction from an online gambling, gaming, lottery, etc site? Oh, no, the man answered, because you don’t know where the next fraudulent transaction will come from - doesn’t have to be an online gambling site.

He had a point, I thought. Then he ruined it by saying “Of course, you don’t know it’s fraud. It might have been misapplied.” Pardon me? “They might have typed in the wrong number.”

You’re saying that somehow someone making a legitimate transaction on an online p0k3r site accidentally typed in a number that wasn’t quite right but, oh happy day for them, they stumbled on the right combination of my number, plus my expiry date, plus perhaps my authentication number, to make the transaction happen? “I’m only saying it has happened. I’ve heard of it - people apply it to the wrong account,” he said defensively. Then he ruined it even more by suggesting that it’s people inside Barclaycard entering forms which show transactions for particular cards getting the numbers wrong.

Well, I’d really like to know quite how often that mistake - which sounds like the classic chimps writing Shakespeare sort of effect - happens. Especially given that an online site is hardly going to be working on a paper-based transaction. Perhaps over the phone?

Scammer: “Hello? Barclaycard? The credit card number is 4929 mumble mumble mumble.”

Helpful Barclaycard person: “Oh, don’t worry sir, I can make up the numbers for you!”

Meanwhile, I’m left with the pieces of my credit card, and the certainty that no online gaming site will ever, ever see my business legitimately. In fact I’d dedicate myself to bringing them down, except it requires being elected to power in the US, and nothing is worth that pain.

Seriously, though - how much credit card fraud is due to online gaming sites? Anyone got the numbers? It’s a given that it’s rising, but how fast? (And it makes me glad I don’t take Google adverts here, because you just know what sort of ads this post would get plastered with.)

Filed under: — Charles @ 12:24 am

The programmer as journalist (and vice-versa): hey, that’s a cool future

Just been reading The programmer as journalist, which is a fascinating piece at the Online Journalism Review interviewing Adrian Holovaty (who has a blog), who does work for the Washington Post, basically doing the cool things that appear online.

I so agree with so many of his points..

OJR: What is the value to a journalist in understanding programming, or even learning how to do it?

Holovaty: The main value in understanding programming is the advantage of knowing what’s possible, in terms of both data analysis and data presentation. It helps one think of journalism beyond the plain (and kind of boring) format of the news story.

Programming comes in handy in all sorts of other areas, too, including gathering information. Now that quite a few governments and organizations are publishing data on their own websites, it’s a valuable skill to be able to automate the retrieval of that data and compile it into a format that makes it easy to research and aggregate.

There’s much more. And I think he’s right: there is so much that we could make use of online, or even just in our work. I couldn’t function without automation. I script the downloading of stories from the Technology Guardian website so I can post their URLs on the blog; I script the pulling of those URLs out of a database so I can query Technorati and the totally awful Google Blogsearch (anyone suggest a better blog search engine? Icerocket?) to see who’s been blogging what about our work. (Some people are almost offended that we’ve spotted what they’ve said. How weird is that? You put something up in an environment where linking is everything, and then are surprised when your link is found and followed.)

So anyway, putting it into practise seemed a good idea. I thought I’d implement something I’ve been meaning to do for ages - a cron script to record book sales rankings gained via the Amazon API and show them on a graph. Easy, eh? Well, yes if you just curl the page and extract the sales ranking (it’s simple). Weirdly, much harder if you use the Amazon API, and very much harder if you want to draw a graph not using Excel.

The Amazon API isn’t trivial (isn’t hard either). But the graph! OK, I found an article explaining how on Newsforge: Exploiting Amazon Web Services via PHP and SQLite.

To do the graph, you need the Pear package Image::Graph. Okayyy, I’ve avoided Pear, so tried just downloading the package. But wait! OSX has Pear (a package handler for PHP) already installed! Hurrah! So you try to install Image::Graph. Simple: in Terminal, type

pear install [path to your downloaded Image::Graph .tgz file]

Uh-uh: Warning: touch(): Unable to create file /usr/lib/php/.lock because Permission denied in Registry.php on line 284

Uh? Turns out (to save you the time) that you need to use sudo, because all the PHP stuff belongs to root, and you ordinary admins can’t get at it.

OK. sudo pear install Image::Graph.
It answers: requires package `Image_Canvas' >= 0.3.0
Image_Graph: Dependencies failed

So, no install. Oh hell. To the Image:Canvas download. sudo pear install Image::Canvas

It answers: 'gd' PHP extension is not installed
requires package `Image_Color’ >= 1.0.0
Image_Canvas: Dependencies failed

Sod it. slightly annoyed OK. (downloads Image_Color) sudo pear install Image_Color

It responds: 'gd' PHP extension is not installed
Image_Color: Dependencies failed

Finally I find gd, and download it, and install it. And now I have to go all the way back up the tree.

Oh, no, wait: 'gd' PHP extension is not installed
Image_Color: Dependencies failed

Sod it. At this rate it would be quicker just to open the page every so often and put it in an Excel worksheet. Programmer as journalist? It’s the future. And sometimes, my arse.

Powered by WordPress