The Eric Wroolie Blog

Overpass Experiences

  • Blog
  • Videos
  • Overpass Apps

Powered by Overpass Apps

It only takes one error . . .

November 2, 2009 by wroolie 3 Comments

A good developer hates to see an unhandled error in his or her code.  If a user sees an error that tells them what line your code failed at, this is not only a potential security risk but also a major point of embarrassment.  Bad developers think it’s totally acceptable.

I have this kind of argument all the time– “Why don’t you put an error handler here in case the calling code (or user) enters some bad data.”  I get the same response ever time, “But, how often will that actually happen.”  I have this conversations over and over.  The only thing that changes is the person I’m having the conversation with. 

When you’ve coded for lots of different companies, you start to learn how common this is. You have a few very dedicated developers who cater for errors I can’t ever see happening, but you get a lot who are just winging it and stop coding when their work reaches bare functionality.  When you see a news story about how a big site was hacked and all their data compromised, it’s not all that surprising.  A site can look very professional on the outside and be very shaky underneath.

I was trying to order some traveller’s cheques from American Express today.  You may have heard of the company.  I’m sure they spend top dollar for software developers. I’m still not sure what I did to get this (I wasn’t looking for bugs in their software), but I got a big ugly ColdFusion error message:

 

AmericanExpressError

The error is a standard IIS-delivered unhandled exception error.  I know the lines of code that failed.  I can even click on a link to see a stack trace.  So, you know, I guess it’s embarrassing for the developer (or at least I hope so).  But the bigger issue is that I can’t trust the site any more. 

Somehow, I entered a zero where I should have had a value (and the code is trying to divide by zero), but I honestly don’t know where it was done.

Do you think I’m entering my credit card details after this?  I mean, what else are they not paying attention to?

Actually, it looks like American Express sent me to another site (with AmEx branding) called FX4You.  But still, it reflects badly on American Express.

The ugly truth of software development is that there are loads of standards, but not many of them are adhered to.  Testing always goes out the window to fit delivery deadlines.  Code reviews are non-existent in most organisations I’ve worked with.  The flip-side is that projects loaded with too much bureaucracy frequently fail to see go-live.  There is a happy medium and it is difficult to find.

Back in 2000, when everyone was going crazy about e-Commerce, I was working for a small company looking to build an online shop.  One day, I mentioned that I did not trust most websites with my credit card details, someone started to poke fun at me– “Isn’t it ridiculous that our web developer doesn’t trust buying things on online?”  But, even then, I knew how easy it was to leave security holes open in software.  Just because I took precautions in my code, I knew not everyone else did.  Now it’s almost ten years later and I think most people are more wise to security, but I still would take a site that uses Paypal over a custom-built credit card engine any day.

Maybe I can buy my traveller’s cheques through the American Express site safely, but I won’t risk it.

Filed Under: Software Dev & Productivity

Next, Shanghai and Dalian

November 2, 2009 by wroolie 6 Comments

I went to China for the first time in August (after 20 years of it being the one place I wanted to see more than any other).  That was for a family holiday in Beijing.  I had a fantastic time and was able to practice using Mandarin more than I ever have before.

Next week, I will be in both Shanghai and Dalian for business.  I have several meetings lined up and I am very interested in seeing the up-and-comers in the software development market.

Shanghai is the fastest growing city in the world.  I’m really looking forward to seeing it.  I suppose there will be a lot of construction in preparation for the World Expo next year.

Dalian is a place I’ve been wanting to see for the past few years as it has a vibrant software outsourcing market.

I’m spending a lot of time this week preparing and am really looking forward to the trip.

Exciting times.

Filed Under: China, Chinese, Offshoring, Software Dev & Productivity

The sneaky trick to sell me anti-virus software

October 19, 2009 by wroolie 8 Comments

So, this morning I get called downstairs because the kid’s computer is filled with viruses.  I’ve heard this before, so I wasn’t panicked.  We have up-to-date virus definitions and the kids know to be careful about what they download or sites they visit, so unless it is a threat that is really new, it should be okay.  I accept that it is still possible to get a virus on one of our pcs, but we try to be pretty vigilant.

But, when I looked at the computer, I nearly panicked.  Here’s what it looked like:

VirusScan

It filled the entire window.  My first impulse was to shut he pc down as quickly as possible in case it spread (I realise this may not be the most techie response).  The red “7 Viruses found” label was blinking.  How can you ignore the blinking text?

Then I looked closer.  I realised it was a web page disguised to look like Windows Explorer.  Our pc has more than one drive and the image only had a c drive.  I saw the URL in the browser address bar.  If I tried to right click on the image to view the source, it tried to download an executable.  When I viewed the page source using the menu items, the entire page was dynamically written with javascript.  It’s scary to think that things like this are out there.  I was able to figure out that it was just a browser popup with an animated image, but not everyone would be able to see it so quickly.

I showed the kids why it was fake and how to spot it if it happened again.  Someone had downloaded the exe before I got there, but the real Anti-virus picked it up and removed it. 

I suspect that it would install a new anti-virus on your pc and then tell you it expired so you could renew it.  I’m not sure how it works or if there is a legit company behind it, but it is very sneaky and under-handed.

Filed Under: Miscellaneous Rants Tagged With: Anti-virus, scam

  • « Previous Page
  • 1
  • …
  • 37
  • 38
  • 39
  • 40
  • 41
  • …
  • 112
  • Next Page »

Recent Posts

  • The Last Human Developer
  • My Gig and the Imposter Syndrome
  • Getting Picked Last for Teams in PE
  • One Little Growth Opportunity at a Time
  • I’m sorry if I look like I know what I’m doing