Articles:  VMWare review Useful software |
Krzysztof Kowalczyk's Weblog Blog or you'll be blogged. Wednesday, August 28, 2002
Hard-earned Apache knowledge: .htaccess files (and RewriteRules it contains) won't work if AllowOverride is set to None for a given directory. The brute force solution (and probably strongly not recommended) is to set it very permissive for all directories, like this:
<Directory /> Options FollowSymLinks AllowOverride All </Directory> This goes to httpd.conf. Of course hours were wasted while looking for elusive problems.
Bootstrapping BitTorrent. BitTorrent is a great example of good technology born outside of a big corporation. BitTorrent solves a problem that is undeniably present. Do you remember what happened when Ken Starr's report on Clinton was released? It was only available from one place and many people wanted to read it. The end result: highway-like congestion. Everyone was fighting with everyone else for the right to download the document and because of that no-one could. The pipe wasn't fat enough. The problem is that those who provide downloadable goods pay a hefty price for their success with bandwidth costs. Those who download get lousy service. Caching proxies were an attempt to solve that problem but they are not deployed frequently enough to make a difference. If you can pay, Akamai can solve the problem for you by providing many distributed, fat pipes. BitTorrent solves the problem differently: using swarmed downloads. What that means is that those who download will share the burden of distributing the content with the original source of information. Result for the users: faster downloads. Results for providers of downloadable files: reduced bandwidth costs.
So there's a real problem and a real solution. Interestingly, the solution didn't originate within Apple or Microsoft. Mostly because it's not really their problem. They can afford to pay for their bandwidth. Their biggest problem is how to suck even more money from the costumers, user convenience is secondary. In a way it's a shame because this technology would have the greatest impact when integrated with the OS. Otherwise gaining widespread usage will be tough since such tools have acute chicken-egg-problems. Both those who provide and those who download must start using BitTorrent for the system to work. But neither has incentive to do it given that the other party is not ready. One way to bootstrap usage of BitTorrent would be through enlighten self-interest of some large-scale provider of downloadable files. There are quite a few of those e.g. SourceForge, ibiblio, PalmGear, many places that offer shareware/freeware software. They pay huge bandwidth bills. Why not make BitTorrent usage mandatory (or offer it as an option, promising better download speeds)? My prediction is that sooner or later similar technology will be widely used. It might not be BitTorrent but it will be something. It just makes a lot of sense.
Hard-earned PHP wisdom: urldecode() doesn't decode ' and ". At least not in version 4.0.6. I had to write my own function:
Of course hours were wasted while debuging mysterious problems.function myUrlDecode( $str ) { $res = urldecode( $str ); $res = str_replace( "\\'", "'", $res ); $res = str_replace( '"', '"', $res ); return $res; }
|
|