August 2004 - Posts

It's a great song, forgot who's the artist, but here is a piece of code that came forward when hearing this song:

C#:

int you = new int(), nothing = new int();

if (nothing.CompareTo(you) == 0) {

   Console.WriteLine("Nothing Compares To You!");

}

Shorter:

int you = new int(), nothing = new int();

Console.WriteLine(nothing.CompareTo(you) == 0 ? "Nothing Compares To You!":"");


PS: It compiles.

And something from a friend of mine during a class of PL/SQL:

PL/SQL:
declare
   Result number(2);
   heart_broken exception;
   gun_trigger exception;
begin
   if SHOW_LOV('myLov') = false then
      go_block('Heart_broken');
   else
      go_block('Joy');
   end if;
   exception
      when heart_broken then
         raise gun_trigger;
end;

(I believe it compiles as well ;))

Update: It seems it's from Sinead O'Connor.

with 4 comment(s)
Filed under: ,
First of all, sorry for not posting much lately. It's a very busy time, I just finished working for a month, gonna buy a new laptop, a Dell.

Didn't have that much time (and energy) to do much computer related things, and if I did something it wasn't worth blogging about it (and yes, I usually set my standards pretty high :p)

But here is a little teaser, a small list I gathered some years ago, all based on true events:

Bad IT people:
  • Can not press CTRL-ALT-DEL properly
  • Lose their command prompt
  • Can not configure their e-mail client
  • Do not understand <form>
  • Can not put RAM in the right memory banks
  • Do not understand https://
  • Can not install & configure IIS
  • Deny that Google is the best search engine
  • Can not use command line 'ftp'
  • Do not understand what dual-boot means
  • Can not open a .pdf file
  • Forget to check the power supply on failure
  • Can not use MS Excel
  • Believe that MSN is the only IM
  • Do not know the difference between their LAN IP and external IP
  • Are scared when their cpu load is at 100%
  • Do not know what extensions are
  • Put their pencil in a pc cooler
  • Believe that Hotmail is a program
  • Can not see extensions
  • Destroy their mobo and CPU by installing a printer
  • Do not know what their source code is
  • Can not open unknown files
  • Burn 1.8Mb on a 700MB CDR
  • Do not known what a proxy is
with 9 comment(s)
Filed under:
More Posts