Andrei Rinea

.NET Framework & SQL Server

Home banking fail

clock October 24, 2009 20:40 by author Andrei Rinea

  I've just set up a home banking account with a bank (ING) and I've asked the clerk if the account has browser limitations (as in "works only in IE" or stuff like that). As some of you might know about me, Opera is my favorite browser. So I've fired up Opera and tried to log in the account. Here's what I've got :  

 

 

Yes, you've read right : their web application has failed because of the user agent string. Pathetic.

Consider this a counter example for the applications that you develop. It's 2009, almost 2010. A web application must be able to run on any (graphical, i.e.: not Lynx) browser. Just as a side note Opera 10.00 (which I've been using in this case) passes Acid 3 test with 100%.



A little game of guessing...

clock October 14, 2009 20:23 by author Andrei Rinea

Let's say I have this block of C# code that compiles 

if (someVariable == true)
{
    // do something
} 

  but in a haste to optimize the code I change it into :   

if (someVariable)
{
    // do something
}

and suddenly my code does not compile anymore.

WHAT TYPE COULD someVariable  HAVE?! Please comment on what you think about this small riddle :)