August 2004 - Posts

While browsing the results of the thirteenth-annual Assembly '04 competition, I came across an extraordinarily impressive DHMTL demo called mooncheese by Shingebis. It's definitely worth checking out.

I extracted the 3.6M website on my server for those not wanting to download. But, unless you've got an ƜberConenction, you really are going to miss out, as there is no image-preloading (and there are lots of images). So go and download it yourself.

I'm feeling rather Canadian today, so the first person to correctly answer the following physics question gets my copy of A First Look at ASP.NET v.2.0.

On a frictionless 2D plane (like a pool table), a ball (B1) with an elasticity of E1 is traveling V1 units/second in the direction of A1 degrees. Another ball (B2) is also in this vacuum, with it's own elasticity (E2), velocity (V2), and direction (A2). If B1 is at (x1,y1) and B2 is at (x2,y2), and their paths will cause them to collide, where will they be after T seconds?

And if no one gets that question by today (which I swore I had in a Physics 101 class) ...

(x+5)^2  = 4x^2 -12x + 9

USA Only (unless you want to pick up postage :-D). Just leave the answer in the comments and drop me an email through the contact link with your address.

 

Posted by Alex Papadimoulis | 2 comment(s)
Filed under:

Jason Mauss posted a neat Javascript trick to hide your email address from Spam Bots using a document.write, and I've seen similar techniques using some pretty advanced encoding functions.

That got me thinking ... I'm sure it wouldn't be too hard to program a clever spam bot that would utilize the DOM to read rendered HTML (kind of like how JAWS does), instead of looking for email patterns. What about using a trick like this:

<scr ipt> function MailMe(t,n,d) { window.location = 'mai' + 'lto:' + n + '@' + d + '.' + t; } </sc ript> <a href="JavaScript: MailMe('com','alex','papadimoulis')">Mail Me!</a>

And if it's absolutely important that the email address appears visible to user (like, sales@example.com), just cut that as a GIF instead of using plain text. I haven't tried it yet, but I'm thinking, that could be the way to go.

... because I said so. But seriously, while looking something in the newsgroups, I came yet another VB v. C# debate. Better-Intellisense this, Operator Overloading that. I really don't get it. And it got me thinking ... when it comes down to it, it's like arguing what's better: Chocolate or Peanut Butter [*].

I recently starting using C# to develop things because apparently, all the employers around the Cleveland Area want C#. I really don't see a huge difference. Sure, it's static instead of Shared, out instead of ByRef (or something), things like that ... but it's nothing like the difference between ASP.NET and WindowsForms. That's where we should be arguing ...

But, I'm surprised how easy it was for me to pick up and become equally (almost) productive with C#. My advice ... when you can, just work with both. Develop a small project in your alter-language. All it can do is help.

[*] For the record, Peanut Butter is sooo much better than chocolate.

Posted by Alex Papadimoulis | 9 comment(s)
Filed under:
More Posts