Here’s the algorithm for checksumming a credit card number, plus information on what all the fields are.
But you can checksum the numbers all you like, if the signature doesn’t match the transaction never happened.
Here’s the algorithm for checksumming a credit card number, plus information on what all the fields are.
But you can checksum the numbers all you like, if the signature doesn’t match the transaction never happened.
I’m working on a project that uses web services code written in .Net (‘cos it’s heaps easier that way) but calls legacy code written in VB6. And vice versa.
(Wow, I never thought I’d be referring to VB6 code as legacy, but there you go. None of your smart comments, any VB-haters out there.)
Here’s what I’ve discovered about making it work. Continue reading
Want to see some HTML Form stupidity? Go to http://www.toysrus.com.au/site/signUp.htm and you get:
Radio buttons – users know what to expect from them. You can pick only one option. Not these puppies. These happen to be round checkboxes – that you can only turn on. You can’t turn them off! Oh, sure, there’s a “reset” button down the bottom of the form, but can you recall the last time you pressed the “reset” button on a form? I don’t think, in my many many years using the ‘net, I ever have. Not once. I have “reset button blindness”, and I imagine a bunch of others do too.
To top this off, because the site is mainly Flash, figuring out what the address of the page took a while. In the end I had to bookmark it to find it.
I guess that’s what happens when you get schoolchildren to build your website.
When using Visual Studio, you can attach to a running process that’s chocked full of debug info (or not, but there’s not much point if it’s not) by selecting Build | Start Debug | Attach To Process…
This can handle cases where a problem doesn’t happen under the IDE, but does when running a debug executable. As happened to me recently. So, with the app running and the problem reproduced, I wanted to debug. But, when the dialog pops up it might be distressingly empty – as it was for me. What to do?
From task manager, right (context) click on the process and select Debug. That will launch your debugger and away you go.
My favourite bug in Firefox (or at least the thing that irritates me the most), the cropping of long “Title” tooltips, one that I’ve written about before here, has just turned six years old, with one Bugzilla member sarcastically leaving a Happy Birthday message.
What to know what it’s like to use your site over dial-up? Use Sloppy – the slow proxy for dial-up modem speed simulation (slow down).
This guy’s gone to the trouble of finding out how to add “Did you mean?” to your own website’s search.
Kyle Scholz has developed code to represent Force Directed Graphs in Javascript, and you can interact with the nodes. We’re talking mathematical directed graphs here – you might know them as networks.
Basically, there’s a bunch of nodes and they settle themselves into a stable state minimizing tension between them – the graphs balance themselves out, and you can see it happening – it’s animated. And interactive – you can grab a node and move it around. It is ubercool.
Downside is that it sucks huge CPU.
If you’re going to have a custom 404 page, you might as well try and make it fit in with the subject of the web site.
Gmail geekitude — In GMail with US English set, when you delete mail it goes to the “Trash” folder. Set it to UK English, and it’s “Deleted Items”.
TV geekitude — See how the ABC News titles look with no stories and no voiceover.
Google Video geekitude — Lots of snippets of info here, including the fact that Google’s video format is pretty much just a renamed DivX AVI.
Webmail geekitude — My web mail (Horde) puts a little flag against the country of the domain name of the sender. Of course it’s a little misleading when a message from someone using fastmail arrives, as it reckons it’s the Federated States of Micronesia…
Web design geekitude — The best freebie DHTML menus I’ve found so far are here. (Which I’ve implemented here and here. I reckon without too much trouble, WordPress’s categories could drive it automatically. Maybe something to put on the list for Geekrant 2.0.
I’ve found under some circumstances, new versions of Windows (XP and 2000, using NTFS) are still looking at the DOS 8.3 versions of filenames when using wildcards.
Real world example: a set of files such as tpo12345.xml tpo12346.xml tpo12347.xml etc. To find these, you’d use a wildcard such as tpo?????.xml
If you have a file called tpo1234567890.xml, it shouldn’t match using this wildcard, but it does, because the filename’s backward-compatible short version (in DOS 8.3 format) is something like TPO123~1.XML, which matches. It appears to only happen when the first part of the wildcard (without the suffix) is 8 characters long.
So it may be ten years since most of us said goodbye to short filenames, but it seems they’re still with us. I wonder if Windows Vista will still use them?
Look, I know it’s just visual wankery, but it’s pretty and easy to use!