· · 2005
· · · July
· · · · 08 (3 entries)
· I just don’t understand how this can be. I got yet another phishing spam claiming to be from Amazon. So peeked at the real URL and it was pointing to “Amazo-check.com”, which lamely attempts to sort of look like Amazon, among other things using its logo. Thirty seconds’ investigation reveals that the domain is registered by Marin Lopez, Calle Albartos 22, Madrid. Mapquest suggests that that should be Calle Albatros, which is in the same postal code. The site is registered and hosted by arsys.es in Spain. Either Señor Lopez is a criminal and should be arrested, or his domain has been hijacked (I doubt it, given the name) and he should either take it down or his ISP should, or he’s a fiction, but someone paid arsys for the registration and they’re the criminal. What am I missing?
The Generics Debate
· We’re now well into our first Generic year in Java-land, and the jury is still pretty well out. For example, Ken Arnold attacks and Tor Norbye rebuts. Check out the comments on Ken’s piece for some fresh, intelligent contributions. As for myself, I’ve just genericized a bunch of infrastructure code, and the trade-off was pretty simple: I got rid of a ton of casts, and the users of my APIs will get rid of even more. On the other hand, I picked up a few compile-time warnings—yes, I do want an array like
MyClass<K> dammit! (And I understand that the warnings are correct, and that where previously I had an un-flagged potential
ClassCastException, now I can’t claim that I didn’t know.) I suppose there’s another benefit in that my APIs’ users won’t be able to put a
Bicycle in a container designed to hold instances of
Fish; is that a biggie? Personally, the compiler warnings irritate me more than the casts did, but if what Tor and some of Ken’s commenters are saying is right, I should just suck it up, because my users are benefiting.
Harmless Family Fun
· First, you have three glasses of wine with dinner. Then, you look at some pictures that are kind of interesting but not really up to scratch. Then, you go berserk with PhotoShop ...
By Tim Bray.
I am an employee
of Amazon.com, but
the opinions expressed here
are my own, and no other party
necessarily agrees with them.
A full disclosure of my
professional interests is
on the author page.