JJB Blog

Archive for August 2005

Question: How do you know when a language’s OO/class/inheritance design is horrible?

Answer: when you have to write THE SAME METHOD in every single extension class: [php] public static function tableHeader(){ return parent::tableHeaderMaker(self::ColumnSpecs()); } [/php] PHP does not allow a parent class access to an extension class’ static methods (or members). Or maybe this isn’t so strange? Can Smalltalk, Objective-C, Java, Ruby, or Python do this? I’m [...]

Apache 2 virtual servers

Having problems configuring your Apache 2 virtual servers? I was banging my head against the wall for days trying to get them working. The trick is to comment out absolutely everything relevent to having a “main server” (I’m too lazy to look up the official term for that) and only have virtual servers. In Apache [...]

U.S. defies NAFTA ruling — vigilante tariff war to ensue?

WikiNews has the story: The government of Canada is demanding that the United States stop applying duties on Canadian lumber and refund the C$5 billion in duties that has been collected. … a NAFTA panel rejected Washington’s claims justifying those duties, but the U.S. is not abiding by the NAFTA decision. Canada had asked the [...]

← Before