<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9439500</id><updated>2011-07-26T09:51:37.458-07:00</updated><title type='text'>Max's Maddnes</title><subtitle type='html'>a Max Khesin blogging adventure (tm?)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>58</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9439500.post-111476954621412314</id><published>2005-04-29T03:08:00.000-07:00</published><updated>2005-04-29T03:12:26.216-07:00</updated><title type='text'>it's here</title><content type='html'>&lt;a href="http://www.us.playstation.com/psp.aspx"&gt;The steaks&lt;/a&gt; &lt;a href="http://news.softpedia.com/news/Nokia-N91-the-iPod-killer-1515.shtml"&gt;just got raised&lt;/a&gt;. Apple, your move.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-111476954621412314?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/111476954621412314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=111476954621412314' title='45 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/111476954621412314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/111476954621412314'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/04/its-here.html' title='it&apos;s here'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>45</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-111415355317822402</id><published>2005-04-21T23:30:00.000-07:00</published><updated>2005-04-27T08:40:43.810-07:00</updated><title type='text'>instant fan, thanks to file sharing</title><content type='html'>I occasionally indulge in some file sharing. My primary goal is usually to get electornic copies of books I own, which makes them much easier to reference. But occasionally I download movies on a whim or if I want to see something early. My moral rule is that if I really enjoy the show I end up buying or renting it when it's available, depending on how much I liked it. Right now I have an all-you-can eat two-discs-at-a-time account with Blockbuster, so I am not quite sure if my rental money gets distributed to the movies I rent in proportion, but I am sure some relation is there.&lt;br /&gt;Anyways, here is a somewhat typical experience that whoever thinks about movie downloads should consider. But primarily it is a review for &lt;a href="http://www.amazon.com/exec/obidos/ASIN/B00064AFBE/myblog0f-20/ref%3Dnosim/103-0979507-2979853"&gt;Battlestar Galactica miniseries DVD&lt;/a&gt;.&lt;br /&gt;I heard of the show from NPR interview. I didn't get much of a hook from that, as I only got the tail end of the interview, but the name and the fact of a very strong fan base stuck. So while I was looking for something else on &lt;a href="http://www.isohunt.com/"&gt;isohunt&lt;/a&gt;, I saw the torrent Galactica and clicked it. Now here is a key point: I thought this was a movie (and was even wondering when it was in theaters). Ok, I finally got to start it on the train this morning. With the minor glitch that the beginning of the 'movie' had a few racy scenes (no human gets naked. ok, no robot gets naked either, sorry :) which could be embarassing on a crowded LIRR train, the experience was TOTALLY CAPTIVATING. I finished the movie tonight. As I do not want to spoil this for anyone (hint: click the&lt;a href="http://www.amazon.com/exec/obidos/ASIN/B00064AFBE/myblog0f-20/ref%3Dnosim/103-0979507-2979853"&gt; link above&lt;/a&gt;), here is a one sentece summary:&lt;br /&gt;&lt;br /&gt;Deep, fascinating exploration human character facing its own possibly mistaken creation, which is complemented, not overpowered by the awesome special effects.&lt;br /&gt;&lt;br /&gt;   It's a run-on, but I tried my best :).&lt;br /&gt;One of the big bonuses of watching the show as a movie (I did not realize this is a miniseries untill I looked it up to buy) was that I thought the transitions between scenes were extremely suspenseful and poignant. Also the number of subplots was staggering. Once I realized this is a mini I was almost a bit disappointed, as these things that made the movie so special seemed just a detail of doing a mini. But on the second thought I realized that the show was shot as a movie with mini in mind, not like some other shows that are shot as episodes and then pasted together. Goodbye, Star Trek. Orphaned fans, I think you just found a new home.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-111415355317822402?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/111415355317822402/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=111415355317822402' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/111415355317822402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/111415355317822402'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/04/instant-fan-thanks-to-file-sharing.html' title='instant fan, thanks to file sharing'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-111330479224882101</id><published>2005-04-12T04:13:00.000-07:00</published><updated>2005-04-12T04:19:52.250-07:00</updated><title type='text'>Garbage-Men</title><content type='html'>I think the part of the job garbagemen hate the most is that it is so demeaning. After all, you are being paid to touch, smell, think about people's stinky garbage. Have you ever heard of a superhero with a 'garbagemen' secret identity? Photographers, reporters, retired .com-ers in bat costumes, yes. Garbagemen - NO! This explains why they like so much to make a mess on your lawn, 'accidentally' dropping garbage all over the place, throwing your cans/lids onto the street, forgetting to pick something up on time etc. Now they got you touching you smelly garbage, haha!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-111330479224882101?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/111330479224882101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=111330479224882101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/111330479224882101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/111330479224882101'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/04/garbage-men.html' title='Garbage-Men'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110957168401004927</id><published>2005-02-27T22:17:00.000-08:00</published><updated>2005-02-27T22:21:24.013-08:00</updated><title type='text'>another blog</title><content type='html'>Sorry to this to you people, but I split my blog. My current 'technical' hobbies, graph theory/networks and python will be blogged @ &lt;a href="http://pythonzweb.blogspot.com/"&gt;http://pythonzweb.blogspot.com/&lt;/a&gt;. The reason is that I wanted to add my blog to some of the composite python feeds such as planetpython.org, but at my current rate of 10% python posts if would not be acceptable. The new blog also has a feedburner link at the bottom of every post, please use that one!&lt;br /&gt;thanks,&lt;br /&gt;max&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110957168401004927?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110957168401004927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110957168401004927' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110957168401004927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110957168401004927'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/another-blog.html' title='another blog'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110930934428740063</id><published>2005-02-24T21:28:00.000-08:00</published><updated>2005-02-24T21:29:04.290-08:00</updated><title type='text'>to throw or or not to throw</title><content type='html'>Ok, I mean 'to raise', this IS a Python post.&lt;br /&gt;I have recently gotten into graph programming, and been readin' the BGL book &lt;iframe src="http://rcm.amazon.com/e/cm?t=myblog0f-20&amp;o=1&amp;amp;p=8&amp;l=as1&amp;amp;asins=0201729148&amp;fc1=000000&amp;amp;=1&amp;lc1=0000ff&amp;amp;bc1=000000&amp;lt1=_blank&amp;amp;IS2=1&amp;f=ifr&amp;amp;bg1=ffffff&amp;f=ifr" marginwidth="0" marginheight="0" frameborder="0" height="240" scrolling="no" width="120"&gt;&amp;amp;amp;amp;lt;br&amp;amp;amp;gt;&lt;/iframe&gt;.&lt;br /&gt;Not Python, but a great book on writing software libraries in general (with many c++ gems), and has some ideas about graph algorithms that would transfer into Python quite nicely. My favorite (so far) has been the concept of 'algorithm visitor'. As I cannot explain this any better than the BGL authors, I'll just quote:&lt;br /&gt;""" The visitor concepts plays the same role in BGL as &lt;a href="http://www.sgi.com/tech/stl/functors.html"&gt;functors&lt;/a&gt; play in the STL. Functors provide a mechanism for extending an algorithm; for customizing what is done at each step of the algorithm. Visitors allow the user to insert their own operations at various steps within a graph algorithm. Unlike the STL algorithms, graph algorithms typically have multiple event points where one may want to insert a call-back via a functor. Therefore visitors do not have a single &lt;tt&gt;operator()&lt;/tt&gt; method like a functor, but instead have several methods that correspond to the various event points""" &lt;a href="http://boost.org/libs/graph/doc/visitor_concepts.html"&gt;More here...&lt;/a&gt;&lt;br /&gt;So I hacked up an initial &lt;a href="http://en.wikipedia.org/wiki/Breadth_first_search"&gt;bfs&lt;/a&gt; implementation using the visitor concept:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;def bfs(graph, start, bfs_visitor=default_bfs_visitor()):&lt;br /&gt;    done = {start: True}&lt;br /&gt;    queue = [(start, 0)]&lt;br /&gt;    while queue:&lt;br /&gt;    node, depth = queue.pop(0)&lt;br /&gt;    bfs_visitor.discover_vertex(node, depth)&lt;br /&gt;        for v in graph.adjacent_vertices(node):&lt;br /&gt;        bfs_visitor.discover_edge((node, v))&lt;br /&gt;        if(not done.has_key(v)):&lt;br /&gt;        done[v] = True&lt;br /&gt;        queue.append((v, depth+1))&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;default_bfs_visitor just implements dummy methods that bfs calls, (discover_vertex and discover_edge).  User-defined visitors can  selectively override the methods they are interested in.&lt;br /&gt;My next thought was the termination condition. While by default  the bfs algorithm would traverse the entire graph there are occasions to terminate early, for example if the node of interest was found or certain depth has been reached. &lt;a href="http://pygraphlib.sourceforge.net"&gt;Pygraphlib&lt;/a&gt; &lt;a href="http://pygraphlib.sourceforge.net/doc/public/pygraphlib.algo-module.html#bfs"&gt;actually uses&lt;/a&gt; an 'end' parameter as a termination condition, which to me seems the 'node of interest' termination condition (their rationale is not well documented). I myself was interested in limiting bfs to a certain depth. First thought was to just add a max_depth paramter to bfs(). But looking at pygraphlib and my case I realized that pygraphlib picking the end vertex as termination and me picking a certain depth is kind of arbitrary. Of course I could provide two termination condition parameters, but this would both complicate and slow down the algorithm. So then I realized that the visitor can already be used for such termination. All I need is to define a special visitor that will, for example, make the bfs function exit when discover_vertex() is calle d with a depth greater than whatever value I initialize the visitor with. But how do I 'exit' bfs? One possibility was to have every visitor funtion return a false if exit is desired at this point. This did not sit right with me, though. I am more inclined to raise an exception in the termination case, which would effectively exit the function. The only problem that I see with this is that the function will now have to be called inside a try-catch block even thoug the exception is pretty much expected in this case. So this also seems wrong. What I finally came up with is the following: a standard traversal_termination_exception should be used by all the visitors that implement a termination condition. This way bfs() can just have a single try-catch for this particular exception, which keeps the code pretty clean. If a special exception really needs to be thrown instead of my traversal_termination_exception I think a &lt;a href="http://zephyrfalcon.org/weblog2/arch_e10_00610.html#e610"&gt;Python 2.4 decorator&lt;/a&gt; could be useful (I will leave this as a homework exercise due to the hour ;).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110930934428740063?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110930934428740063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110930934428740063' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110930934428740063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110930934428740063'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/to-throw-or-or-not-to-throw.html' title='to throw or or not to throw'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110930384025859476</id><published>2005-02-24T19:26:00.000-08:00</published><updated>2005-02-24T19:57:20.260-08:00</updated><title type='text'>unittesting</title><content type='html'>Why is this guy the last one to come out of the LIRR train car, right before they they close the door and send the train to the depot? What's he been smoking? Unittesting!&lt;br /&gt;    That's right. I have been playing with a small python project that I might eventually release to the open source, if anything comes out of it. I decided to do unittesting from scratch and I was using &lt;a href="http://diveintopython.org/"&gt;Dive Into Python&lt;/a&gt; for reference - the book has a very nice section on unittesting. So I was sitting till the last minute on the train trying to get the lovely OK to come up, as I broke my first test during refactoring ;(.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110930384025859476?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110930384025859476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110930384025859476' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110930384025859476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110930384025859476'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/unittesting.html' title='unittesting'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110926412479304214</id><published>2005-02-24T08:51:00.000-08:00</published><updated>2005-02-24T08:55:24.793-08:00</updated><title type='text'>what's not working?</title><content type='html'>My wife just called me up saying 'google is not working' (she meant the Internet - I have periodic need to reset the router). Talk about brand recognition, those lucky bastards! Can you imagine someone saying 'Macy's is not working' 'cause the car won't start?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110926412479304214?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110926412479304214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110926412479304214' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110926412479304214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110926412479304214'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/whats-not-working.html' title='what&apos;s not working?'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110922263361361388</id><published>2005-02-23T21:09:00.000-08:00</published><updated>2005-02-23T21:23:53.616-08:00</updated><title type='text'>the other Ant</title><content type='html'>&lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;    Unofficial Apple Weblog &lt;a href="http://apple.weblogsinc.com/entry/1234000930032882/"&gt;featured&lt;/a&gt; &lt;a href="http://www.antnottv.org/"&gt;ANT&lt;/a&gt; under FreewareFebruary . I downloaded it, it rocks! The videoblog space is pretty sparse as of yet (I am going to checkout some feeds tomorrow), but the possibilities!&lt;br /&gt;    P.S. I have been following the FreewareMonthX for a while, and Mac really has some unique and cool freeware. In certain categories, such as media/video and maybe some others it kicks other platforms' butts. In general I think the kind of freeware written for a platform indicates somthing about the platform, but for now I will refrain from further generalization.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110922263361361388?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110922263361361388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110922263361361388' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110922263361361388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110922263361361388'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/other-ant.html' title='the other Ant'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110922175889194660</id><published>2005-02-23T20:47:00.000-08:00</published><updated>2005-02-23T21:09:18.893-08:00</updated><title type='text'>check out the macros on this guy!</title><content type='html'>Eric Niebler &lt;a href="http://www.artima.com/cppsource/foreachP.html"&gt;explains&lt;/a&gt;&lt;span class="" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt; how his FOR_EACH macro proposal for boost works. This is a good example of code that is&lt;br /&gt;- very powerful&lt;br /&gt;- very complicated&lt;br /&gt;- very dangerous&lt;br /&gt;(very brilliant too, IMO)&lt;br /&gt;Economically such code belongs in a good library repository such as &lt;a href="http://www.boost.org"&gt;boost&lt;/a&gt;. The fact that it is peer-reviewed by other very smart and experienced people (assuming FOR_EACH will get accepted) gives me good confidence that it is correct and useful, even though I do not have the skills to develop such code myself. (By 'economically' I mean here the 'economy of scale' and 'labor specialization' that organization like boost exhibits)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110922175889194660?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110922175889194660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110922175889194660' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110922175889194660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110922175889194660'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/check-out-macros-on-this-guy.html' title='check out the macros on this guy!'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110902875359930742</id><published>2005-02-21T15:30:00.000-08:00</published><updated>2005-02-21T15:32:33.600-08:00</updated><title type='text'>kids and programming</title><content type='html'>Don Box wants to&lt;a href="http://pluralsight.com/blogs/dbox/archive/2005/02/20/6009.aspx"&gt; teach his kids programming&lt;/a&gt;. I &lt;a href="http://pluralsight.com/blogs/dbox/archive/2005/02/20/6009.aspx#6079"&gt;recommended&lt;/a&gt; &lt;a href="http://vpython.org/"&gt;VPython&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110902875359930742?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110902875359930742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110902875359930742' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110902875359930742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110902875359930742'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/kids-and-programming.html' title='kids and programming'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110869056176016307</id><published>2005-02-17T17:34:00.000-08:00</published><updated>2005-02-17T17:36:01.763-08:00</updated><title type='text'>your security health-check</title><content type='html'>&lt;a href="http://whacker9.hackerwhacker.com/freetools.php"&gt;This&lt;/a&gt; is really cool, especially since it runs on &lt;a href="http://www.coralcdn.org/"&gt;this&lt;/a&gt;!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110869056176016307?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110869056176016307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110869056176016307' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110869056176016307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110869056176016307'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/your-security-health-check.html' title='your security health-check'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110868938015805877</id><published>2005-02-17T17:15:00.000-08:00</published><updated>2005-02-17T17:16:20.160-08:00</updated><title type='text'>yum!</title><content type='html'>I joined the rest of the crew in &lt;a href="http://del.icio.us/xamdam"&gt;del.i.cious&lt;/a&gt; coolness!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110868938015805877?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110868938015805877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110868938015805877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110868938015805877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110868938015805877'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/yum.html' title='yum!'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110868898925541602</id><published>2005-02-17T17:06:00.000-08:00</published><updated>2005-02-17T17:09:49.256-08:00</updated><title type='text'>sit a little, blog a little</title><content type='html'>Waiting for the Apprentice,  a funny thought comes to mind: Donald Trump Chiapet!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110868898925541602?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110868898925541602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110868898925541602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110868898925541602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110868898925541602'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/sit-little-blog-little.html' title='sit a little, blog a little'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110861917310385712</id><published>2005-02-16T21:44:00.000-08:00</published><updated>2005-02-16T21:46:13.106-08:00</updated><title type='text'>coolest python syntax trick</title><content type='html'>a lotta pythonistas say this is the &lt;a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/384122"&gt;coolest&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110861917310385712?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110861917310385712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110861917310385712' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110861917310385712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110861917310385712'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/coolest-python-syntax-trick.html' title='coolest python syntax trick'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110861877315177040</id><published>2005-02-16T21:21:00.000-08:00</published><updated>2005-02-16T21:39:33.156-08:00</updated><title type='text'>Konfabulator</title><content type='html'>&lt;a href="http://primordia.com/blog/"&gt;Nick Codignotto&lt;/a&gt; showed me Konfabulat&lt;span class="" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;img src="img/gl.link.gif" alt="Link" border="0" /&gt;&lt;/span&gt;&lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;or a couple of month ago. I forgot about it for a while untill I realized that I have trouble dressing for the weather and it would really pay to see the forecast before I dash of to work. I hate using tv for this and my kid usually watches some show on my desktop before I leave, and I realized that K's weather widget was the ticket. After installing it it did a little more research and found a couple of interesting links:&lt;br /&gt;&lt;a href="http://scottcollins.net/konfabulator/konfabulator_split.shtml"&gt;A nice intro to making your own widgets&lt;/a&gt;&lt;br /&gt;&lt;a href="http://daringfireball.net/2004/06/dashboard_vs_konfabulator"&gt;A good historical take on the Konfabulator vs. Dashboard contraversy&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.lynucs.org/?gdesklets"&gt;A Linux alternative&lt;/a&gt; (ouch K, this one is python-powered!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110861877315177040?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110861877315177040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110861877315177040' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110861877315177040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110861877315177040'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/konfabulator.html' title='Konfabulator'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110852451435963308</id><published>2005-02-15T19:11:00.000-08:00</published><updated>2005-02-15T19:33:48.643-08:00</updated><title type='text'>google maps</title><content type='html'>I finally came around to making a comment. IMO the feature and its association with local search is kickass and will earn google quite a few bucks. They are earning a lot of mindshare by staying  on the bleeding edge with top-notch GUI (for the web).&lt;br /&gt;    In the recent google-map frenzy I found a couple of worthwhile links:&lt;br /&gt;- &lt;a href="http://jgwebber.blogspot.com/2005/02/mapping-google.html"&gt;a nice reverse-engineering of the map tech&lt;/a&gt;&lt;br /&gt;- if you ever &lt;a href="http://www.amazon.com/exec/obidos/redirect?tag=myblog0f-20&amp;amp;path=tg/detail/-/0596006624/qid=1108524737/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/?v=glance&amp;amp;s=books&amp;amp;n=507846"&gt;read&lt;/a&gt; &lt;a href="http://www.paulgraham.com"&gt;Paul Graham&lt;/a&gt; (highly recommended, a lot of smart stuff and even more hubris), especially his LISP-related articles, you will laugh your ass of at &lt;a href="http://www.xach.com/lisp/taste-for-the-web.html"&gt;this parody&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110852451435963308?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110852451435963308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110852451435963308' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110852451435963308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110852451435963308'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/google-maps.html' title='google maps'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110844441633210019</id><published>2005-02-14T20:49:00.000-08:00</published><updated>2005-02-14T21:13:36.333-08:00</updated><title type='text'>scary freakin' pizza</title><content type='html'>Check out &lt;a href="http://www.aclu.org/pizza/"&gt;this demo&lt;/a&gt;. The only think its missing is POWERED BY &lt;img src="http://www.google.com/images/logo.gif" /&gt;&lt;br /&gt;:)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110844441633210019?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110844441633210019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110844441633210019' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110844441633210019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110844441633210019'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/scary-freakin-pizza.html' title='scary freakin&apos; pizza'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110771328312369621</id><published>2005-02-06T09:12:00.000-08:00</published><updated>2005-02-06T10:13:58.853-08:00</updated><title type='text'>why dmoz?</title><content type='html'>    I have been perusing parts of the &lt;iframe src="http://rcm.amazon.com/e/cm?t=myblog0f-20&amp;o=1&amp;amp;p=8&amp;l=as1&amp;amp;asins=0470849061&amp;fc1=000000&amp;amp;amp;amp;lc1=0000ff&amp;bc1=&amp;amp;lt1=_blank&amp;IS2=1&amp;amp;amp;amp;bg1=ffffff&amp;amp;f=ifr" marginwidth="0" marginheight="0" frameborder="0" height="240" scrolling="no" width="120"&gt;&lt;/iframe&gt;. The book is very good, although I am very stale on some of the math. (Side note: to judge the book by its color, this is one of the best books I held. The color, paper type, weight, size and font are VERY nice. That is why I posted the full-color link.) It got me to think about a few web-related thoughts.&lt;br /&gt;First, the best explaination of Google's PageRank algorithm I heard to date. Basically if you have a random traveler on the graph structure of the web (choosing a random link available from the current location) the page's rank will be proportional to the number of times this random traveler will stop on this page. Cool. For a somewhat different explaination (and a REALLY COOL animation see Doug Gregor's (of &lt;a href="http://www.boost.org/"&gt;boost.org&lt;/a&gt; fame) &lt;a href="http://www.cs.rpi.edu/%7Egregod/PRViz/Web/index.html"&gt;project&lt;/a&gt;.&lt;br /&gt;Second, the book mentioned the obvious limitations of human-edited directories such as dmoz.org. The real here killer is coverage - there is no way to get enough volunteer-power to cover a significant chunk of the Web to make the directory approach useful. So why is there still some push behind these? I think one of the big benefectors here is the search engines. Why? As the book shows from some studies even the search engines' coverage is not complete (for technical reasons). So let's put the pieces together: search engine graph traversal is not complete, but their ranking depends of the graph traversal. What to do? Why not seed the search with some nice, non-spammed results of volunteer work? That's what I think, anyway, would love to hear other opinions.&lt;br /&gt;   Follow-up: I wrote this up without googling it first. Interesing corraboration from jdMorgan &lt;a href="http://www.webmasterworld.com/forum17/995.htm"&gt;here&lt;/a&gt;, and a great thread &lt;a href="http://www.webmasterworld.com/forum3/23034.htm"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110771328312369621?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110771328312369621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110771328312369621' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110771328312369621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110771328312369621'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/why-dmoz.html' title='why dmoz?'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110741953380429383</id><published>2005-02-03T01:30:00.000-08:00</published><updated>2005-02-03T00:32:45.680-08:00</updated><title type='text'>a new windows ad</title><content type='html'>&lt;a href="http://www.wickedlysmart.com/skyler/SkylerSwticherQT2.mov"&gt;here&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110741953380429383?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110741953380429383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110741953380429383' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110741953380429383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110741953380429383'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/02/new-windows-ad.html' title='a new windows ad'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110711100508802864</id><published>2005-01-30T10:48:00.000-08:00</published><updated>2005-01-30T10:50:05.086-08:00</updated><title type='text'>DRM &amp; ebooks</title><content type='html'>I have been following DRM doscussion on Manning publisher's blog, and dropped my own comment in&lt;br /&gt;"&lt;br /&gt;A note on Safari: it is not a competition to your current method of  distribution at all (even if they promote it as such). Their books are TOO annoying to reas AS books. What Safari is occasionally useful for is looking things up, sort of MSDN for open source technologies. Whether that justifies the pricetag I will leave to my employer, but they are not ebooks.&lt;br /&gt;Another note on piracy. People who stuff their HDs with pirated ebooks are not lost customers (which is not the case with movies) - the effort to actually read a book is much greater. So while I am not saying that piracy is a big problem, I am suggesting that it cannot be judged by the traffic of pirated material on the networks.&lt;br /&gt;Lastly, piracy's role as advertising should not be ignored. Software companies have long known this fact and incorporated it into the way they persecute violators. I occasionally use the networks as the "ultimate try and by" mechanizm - I downloaded a physics lecture from ripped from a teach12.com CD and that led to over a thousand $ of business for them.&lt;br /&gt;"&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110711100508802864?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110711100508802864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110711100508802864' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110711100508802864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110711100508802864'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/drm-ebooks.html' title='DRM &amp; ebooks'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110704964827422181</id><published>2005-01-29T17:43:00.000-08:00</published><updated>2005-01-29T17:47:28.273-08:00</updated><title type='text'>Dude, where is my car?</title><content type='html'>Last tuesday this guy decided to park his freakin' car right in front of my driveway. I had no choice but to dig around his car to get out. But what should I do with all the &lt;a href="http://fluidobjects.com/Jan_27_2005/Jan_27_2005-Images/6.jpg"&gt;extra snow...&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110704964827422181?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110704964827422181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110704964827422181' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110704964827422181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110704964827422181'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/dude-where-is-my-car.html' title='Dude, where is my car?'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110670713537073373</id><published>2005-01-25T18:34:00.000-08:00</published><updated>2005-01-25T18:38:55.370-08:00</updated><title type='text'>more stupid religion stuff</title><content type='html'>&lt;a href="http://www.cnn.com/2005/WORLD/asiapcf/01/25/india.stampede/index.html"&gt;This&lt;/a&gt; is a another great candidate for Darwin awards. They should have learned from &lt;a href="http://xamdam.blogspot.com/2005/01/wanna-stone-devil.html"&gt;these&lt;/a&gt; guys. It's 21st century, but stupidity marches on!&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110670713537073373?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110670713537073373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110670713537073373' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110670713537073373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110670713537073373'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/more-stupid-religion-stuff.html' title='more stupid religion stuff'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110662348251018121</id><published>2005-01-24T19:07:00.000-08:00</published><updated>2005-01-24T19:24:42.510-08:00</updated><title type='text'>goolge this, BG!</title><content type='html'>Well, whatever you think of the google browser rumors, I think it is good for those who do not want MS to take over the entire world to &lt;a href="http://weblogs.mozillazine.org/ben/archives/007366.html"&gt;join forces&lt;/a&gt;. I only wish Apple got more on board and put itself behind Firefox, the way Google is doing. Not to say Safari ain't cool; I just think they should add their improvements via Firefox codebase. This will keep MS busy while Apple is biting (pun intended) into the PC market share.&lt;br /&gt;I venture to say that if there is emotional weakness at MS it is about market share. Where other companies would occasionally find it smart to yield to a competitor in a specific area and consolidate their strengths I think MS would feel hurt both in terms of public perception and because of their leveraging strategies, where everything is *also* a means for something else. So yeah, hitting them hard in the browser area should do some damage.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110662348251018121?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110662348251018121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110662348251018121' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110662348251018121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110662348251018121'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/goolge-this-bg.html' title='goolge this, BG!'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110653381544226853</id><published>2005-01-23T18:27:00.000-08:00</published><updated>2005-01-25T18:37:51.823-08:00</updated><title type='text'>wanna stone the devil?</title><content type='html'>Well, &lt;a href="http://www.gulf-daily-news.com/Story.asp?Article=102597&amp;Sn=WORL&amp;amp;IssueID=27310"&gt;this &lt;/a&gt;will should get the &lt;a href="http://www.darwinawards.com/"&gt;darwin awards&lt;/a&gt; in the religious nonsense category.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110653381544226853?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110653381544226853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110653381544226853' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110653381544226853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110653381544226853'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/wanna-stone-devil.html' title='wanna stone the devil?'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110650535815945563</id><published>2005-01-23T10:34:00.000-08:00</published><updated>2005-01-23T10:35:58.160-08:00</updated><title type='text'>Guido @amazon devcon</title><content type='html'>These are interesting summaries of what Python was/is&lt;br /&gt;&lt;a href="http://aws.typepad.com/aws/2005/01/amazon_devcon_g_4.html"&gt;http://aws.typepad.com/aws/2005/01/amazon_devcon_g_4.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://aws.typepad.com/aws/2005/01/amazon_devcon_g_5.html"&gt;http://aws.typepad.com/aws/2005/01/amazon_devcon_g_5.html&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110650535815945563?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110650535815945563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110650535815945563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110650535815945563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110650535815945563'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/guido-amazon-devcon.html' title='Guido @amazon devcon'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110646113180638831</id><published>2005-01-22T22:06:00.000-08:00</published><updated>2005-01-22T22:18:51.806-08:00</updated><title type='text'>what happens if...</title><content type='html'>You put a bunch of thugs, thievs, idiots and smirfs in the same building and give some of the most inept vetor power? You got it, the &lt;a href="un.org/Overview/unmember.html"&gt;UN&lt;/a&gt;! Read about some of their accomplishments &lt;a href="http://diplomadic.blogspot.com/2005/01/more-unreality-but-dutch-get-it.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110646113180638831?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110646113180638831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110646113180638831' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110646113180638831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110646113180638831'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/what-happens-if.html' title='what happens if...'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110628343657255059</id><published>2005-01-20T20:56:00.000-08:00</published><updated>2005-01-24T19:49:28.603-08:00</updated><title type='text'>calculus Flash-back</title><content type='html'>In case you forgot your calculus you can get it &lt;a href="http://www.calculus-help.com/funstuff/phobe.html"&gt;back, in a Flash (animation!)&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110628343657255059?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110628343657255059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110628343657255059' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110628343657255059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110628343657255059'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/calculus-flash-back.html' title='calculus Flash-back'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110627655652635954</id><published>2005-01-20T18:27:00.000-08:00</published><updated>2005-01-24T19:47:21.840-08:00</updated><title type='text'>apprentice redux</title><content type='html'>So, the Don is &lt;a href="http://www.nbc.com/nbc/The_Apprentice_3/"&gt;back&lt;/a&gt;. This time , there is a twist: "booksmarts" (hereafter BS) are competing against "streetsmarts" (SM). BSs lost the first round by a small margin, probably statistically insignificant. Don blurped out somthing very predictible about how he has respect for education, but maybe streetsmarts are better. So let me enter a few comments. First, these guys are not all that nerdy. Graduating college qualifies you as a BS for this contest. People who dropped out of college to pursue an opportunity are on the average smarter than someone who goes though college. So maybe you will tell me these BSs are super-nerdy. My impression, except for a couple of them, is that they aren't. And this is coming from a &lt;a href="http://www.wxplotter.com/ft_nq.php?im"&gt;qualified nerd&lt;/a&gt; with the score of 81 :). So what do I think? I think there is a lot to be said for "streetsmarts", but I think there is a glass ceiling most of them, and only partially because of preception of others. This is because most businesses these days REQUIRE a pretty deep intellectual understanding of things that someone with just streetsmarts will not have. E.g. a lot of competitive differentiation in industries is technological. I also think that it was not always so. I think in the "old days" people with streetsmarts had a much better chance to ride on some success mixed with luck untill they learn their business well. But not these days. Just look at the CEOs of Fortune 500 companies, not many SMs there. &lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110627655652635954?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110627655652635954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110627655652635954' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110627655652635954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110627655652635954'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/apprentice-redux.html' title='apprentice redux'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110610972244694888</id><published>2005-01-18T20:41:00.000-08:00</published><updated>2005-01-18T20:42:02.446-08:00</updated><title type='text'>I wish I could be this sexy...</title><content type='html'>Can I get &lt;a href="http://blog.monkeymethods.org/2005/01/bill-gates-strikes-pose-for-teen-beat.html"&gt;this&lt;/a&gt; in a poster form?&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110610972244694888?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110610972244694888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110610972244694888' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110610972244694888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110610972244694888'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/i-wish-i-could-be-this-sexy.html' title='I wish I could be this sexy...'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110601131251709662</id><published>2005-01-17T17:12:00.000-08:00</published><updated>2005-01-17T17:21:52.516-08:00</updated><title type='text'>your XML options in Python</title><content type='html'>Here is a really good &lt;a href="http://www.oreillynet.com/pub/wlg/6224"&gt;coverage&lt;/a&gt;. Not to sound corny or anything on this Martin Luther King day, but I will make the observation that 2 of the best-known python/XML experts, &lt;span class="headline"&gt;&lt;/span&gt;&lt;a href="http://www.oreillynet.com/pub/au/1054"&gt;Uche Ogbuji&lt;/a&gt; and &lt;a href="http://www.prescod.net/"&gt;Paul Prescod&lt;/a&gt;, are in fact obviously black. I am sure the &lt;a href="http://www.k-k-k.com/"&gt;redneck idiots&lt;/a&gt; can have a theory for this one.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110601131251709662?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110601131251709662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110601131251709662' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110601131251709662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110601131251709662'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/your-xml-options-in-python.html' title='your XML options in Python'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110567001856085895</id><published>2005-01-13T17:49:00.000-08:00</published><updated>2005-01-13T18:35:17.936-08:00</updated><title type='text'>google and common words</title><content type='html'>This is kinda interesting: I was curious to know how many PDFs google indexes. One simple way to find out is to look for a common word, so I tried "the filetype:pdf". The result - &lt;a href="http://www.google.com/search?q=the+filetype%3Apdf&amp;sourceid=mozilla-search&amp;amp;start=0&amp;start=0&amp;amp;ie=utf-8&amp;oe=utf-8&amp;amp;client=firefox-a&amp;rls=org.mozilla:en-US:official"&gt;nada!&lt;/a&gt; Of course this has an obvious explaination, according to Shannon: the information content of a symbol is inversely proportional to the probability of occurence. And since "the" is the most &lt;a href="http://www.world-english.org/english500.htm"&gt;common word in the English language&lt;/a&gt;, it is THE most meaningless. After a little googling I saw them &lt;a href="http://www.google.com/help/basics.html"&gt;say so themselves&lt;/a&gt; in the &lt;b&gt;&lt;font&gt;&lt;a name="stopwords"&gt;&lt;b&gt;&lt;span style="font-family:Arial, sans-serif;color:#003399;"&gt;Automatic            Exclusion of Common Words &lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;section. Being a curious monkey I decided not to take their word for it, and got some interesting &lt;a href="http://www.google.com/search?q=the&amp;amp;sourceid=mozilla-search&amp;start=0&amp;amp;start=0&amp;ie=utf-8&amp;amp;oe=utf-8&amp;client=firefox-a&amp;amp;rls=org.mozilla:en-US:official"&gt;results&lt;/a&gt;. Yes, they do not let you search on "the" in PDF, but allow it in HTML search despite their own disclaimer. Possible explaination is that they are changing their policy (so that people can find &lt;a href="http://www.google.com/search?hl=en&amp;lr=&amp;amp;safe=off&amp;client=firefox-a&amp;amp;rls=org.mozilla%3Aen-US%3Aofficial&amp;q=the+who&amp;amp;btnG=Search"&gt;this&lt;/a&gt;) and have not updated their PDF index yet. But I dug deeper and realized that they have allowed "the" for &lt;a href="http://blog.searchenginewatch.com/blog/041110-205401"&gt;quite a while&lt;/a&gt;, plenty of time to update their PDF index. Then it came to me: google index treats each HTML page as a single document AND every PDF FILE as a single document. Since PDF files are on average significantly longer than an HTML page, the probability of "the" in the document is greatly increased, making the "the" in PDF that much more meaningless than "the" in HTML. So how do I know how many PDFs google indexed? I just keep going down &lt;a href="http://www.world-english.org/english500.htm"&gt;the list&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;the     nada&lt;br /&gt;of       nada&lt;br /&gt;to      nada&lt;br /&gt;and    nada&lt;br /&gt;a       nope&lt;br /&gt;in      ;(&lt;br /&gt;s      -&lt;br /&gt;it      -&lt;br /&gt;you     &lt;a href="http://www.google.com/search?q=you+filetype%3Apdf&amp;sourceid=mozilla-search&amp;amp;start=0&amp;start=0&amp;amp;ie=utf-8&amp;oe=utf-8&amp;amp;client=firefox-a&amp;amp;rls=org.mozilla:en-US:official"&gt;bingo!&lt;/a&gt;&lt;br /&gt;about 22M files.&lt;br /&gt;I think this is very close to the total number of PDFs in their index, certainly within an order of magnitude.&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110567001856085895?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110567001856085895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110567001856085895' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110567001856085895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110567001856085895'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/google-and-common-words.html' title='google and common words'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110566732071454683</id><published>2005-01-13T17:48:00.000-08:00</published><updated>2005-01-13T17:48:40.713-08:00</updated><title type='text'></title><content type='html'>Well, &lt;a href="http://news.com.com/2008-1041_3-5514121.html"&gt;Bill Gates claims&lt;/a&gt; that strong IP is responsible for the success of American capitalism. I cannot argue that he is partially correct. But he has a lot of stake in saying what he is saying, so let's take a closer look. Many current objections to IP are about where IP is going, not necessarily where it was (which is the time period when many business successes Bill is talking about emerged). Another issue is the cost of IP.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110566732071454683?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110566732071454683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110566732071454683' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110566732071454683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110566732071454683'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/well-bill-gates-claims-that-strong-ip.html' title=''/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110559934858770248</id><published>2005-01-12T22:50:00.000-08:00</published><updated>2005-01-12T22:55:48.586-08:00</updated><title type='text'>still diverting</title><content type='html'>I am slowly munging through my &lt;a href="http://xamdam.blogspot.com/2004/12/diversion.html"&gt;diversion&lt;/a&gt;, about 190 pages into it. In case you want a quick summary of some of the main points, you can get it from &lt;a href="http://www.joelonsoftware.com/articles/CamelsandRubberDuckies.html"&gt;Joel&lt;/a&gt;, who recommended the book in the first place.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110559934858770248?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110559934858770248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110559934858770248' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110559934858770248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110559934858770248'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/still-diverting.html' title='still diverting'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110559022951289675</id><published>2005-01-12T20:12:00.000-08:00</published><updated>2005-01-12T20:23:49.513-08:00</updated><title type='text'>HP is still doing cool research</title><content type='html'>As &lt;a href="http://www.oreillynet.com/pub/a/network/2002/04/09/future.html"&gt;someone&lt;/a&gt; said, future is here, it's just not evenly distributed (yet). I am talking about media search. Previous attempts to do media search relied either on metadata, which is very poor or on SAP for TV feeds, which is much better that metadata, but still somewhat poor in relation to the content it represents. If you have just a little more resources than the rest, you can take a very resource-intensive technology such as speech recognition and and &lt;a href="http://speechbot.research.compaq.com/?q=google&amp;Search=Search%A0%BB&amp;amp;topic=*&amp;amp;dr=*"&gt;build a search engine on top of it&lt;/a&gt;. And since it's on the internet... does it mean it IS evenly distributed?&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110559022951289675?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110559022951289675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110559022951289675' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110559022951289675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110559022951289675'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/hp-is-still-doing-cool-research.html' title='HP is still doing cool research'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110503629180445331</id><published>2005-01-06T10:29:00.000-08:00</published><updated>2005-01-06T10:31:31.803-08:00</updated><title type='text'>directory iteration</title><content type='html'>Ever heard of a cool way to do &lt;a href="http://blogs.msdn.com/oldnewthing/archive/2004/12/31/344799.aspx"&gt;directory iteration in Windoze&lt;/a&gt;? You can &lt;a href="http://wiki.osuosl.org/display/howto/Python+Recursive+Generator+Example"&gt;do it in Python&lt;/a&gt;, too. Your pick&lt;a href="http://www.python.org"&gt;.......&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110503629180445331?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110503629180445331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110503629180445331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110503629180445331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110503629180445331'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2005/01/directory-iteration.html' title='directory iteration'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110437883445729012</id><published>2004-12-29T19:43:00.000-08:00</published><updated>2004-12-29T19:53:54.456-08:00</updated><title type='text'>blogmail???</title><content type='html'>I recently posted &lt;a href="http://blogmaverick.com/entry/1234000820025028/#c83194"&gt;a somewhat flaming comment on blogmaverick&lt;/a&gt;, to which &lt;a href="http://onekidney.blogspot.com/"&gt;someone&lt;/a&gt; else  &lt;a href="http://blogmaverick.com/entry/1234000820025028/#c83194"&gt;replyed&lt;/a&gt;. I took it offline and &lt;a href="http://onekidney.blogspot.com/2004/12/my-cheesy-picture-at-wset-studios.html#comments"&gt;replyed&lt;/a&gt; to their top blog entry for lack of email, and he did &lt;a href="http://xamdam.blogspot.com/2004/12/asia-donation-link.html#comments"&gt;the same&lt;/a&gt; to mine. Is this a strange new form of communication???&lt;br /&gt;&lt;br /&gt;(I think not, but if was a funny experience and probably typical of the interesting accidental ways Internet brings people together)&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110437883445729012?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110437883445729012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110437883445729012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110437883445729012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110437883445729012'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/blogmail.html' title='blogmail???'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110430085130746491</id><published>2004-12-28T22:09:00.000-08:00</published><updated>2004-12-28T22:14:11.306-08:00</updated><title type='text'>Asia donation link</title><content type='html'>Our (Liquidnet) CTO posted a &lt;a href="http://www.oxfam.org.uk/what_you_can_do/give_to_oxfam/donate/asiaquake1204.htm"&gt;donation link&lt;/a&gt; for the tsunami/earthquake victims.  He got it from &lt;a href="http://joelonsoftware.com/"&gt;Joel Spolsky's&lt;/a&gt; mailing list, and I tend to think of Joel as a pretty thorough guy in terms of recommending things.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110430085130746491?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110430085130746491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110430085130746491' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110430085130746491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110430085130746491'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/asia-donation-link.html' title='Asia donation link'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110430042316299799</id><published>2004-12-28T22:02:00.000-08:00</published><updated>2004-12-28T22:07:03.163-08:00</updated><title type='text'>the rumors of c++ death are premature</title><content type='html'>This year I noticed progressive degradation of the CUJ site. With some people's whining about the doom of C++ I (sadly) thought I had CUJ was going to join the C++ report in the programming language heaven. I was apparently &lt;a href="http://www.cuj.com/announcement.htm"&gt;wrong&lt;/a&gt;.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110430042316299799?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110430042316299799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110430042316299799' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110430042316299799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110430042316299799'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/rumors-of-c-death-are-premature.html' title='the rumors of c++ death are premature'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110429110420345684</id><published>2004-12-28T19:29:00.000-08:00</published><updated>2004-12-28T19:31:44.203-08:00</updated><title type='text'>Google Scholar: good or evil?</title><content type='html'>Evil:&lt;br /&gt;All those links to the $10/doc papers locked in ACM. I guess if you are already a member this is good ;).&lt;br /&gt;Good:&lt;br /&gt;Links to find the book in your local library! Really good!&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110429110420345684?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110429110420345684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110429110420345684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110429110420345684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110429110420345684'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/google-scholar-good-or-evil.html' title='Google Scholar: good or evil?'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110429093401504475</id><published>2004-12-28T19:22:00.000-08:00</published><updated>2004-12-28T19:28:54.016-08:00</updated><title type='text'>about 'third world' economies</title><content type='html'>a friend pointed to &lt;a href="http://www.ild.org.pe/eng/mystery_english.htm"&gt;this&lt;/a&gt;. IDL looks very cool, and there is an interview (text+audio) with De Soto &lt;a href="http://massivechange.com/interviews.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110429093401504475?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110429093401504475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110429093401504475' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110429093401504475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110429093401504475'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/about-third-world-economies.html' title='about &apos;third world&apos; economies'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110412414248963402</id><published>2004-12-26T20:58:00.000-08:00</published><updated>2004-12-26T21:09:02.490-08:00</updated><title type='text'>american values</title><content type='html'>Just as a proof of &lt;a href="http://www.amk.ca/diary/archives/003569.html"&gt;AMK's sentiment&lt;/a&gt; about the way Americans value lives of people in other parts of the world, the reaction to today's '9' earthquake and the insuing tsunami drowning at least 12,000 people (12 going on 40 in places where communication is so poor, IMO)  in Asia this morning was underwhelming, at least in the press... Nothing to spoil those afterchristmas sales spirit, huh?&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110412414248963402?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110412414248963402/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110412414248963402' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110412414248963402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110412414248963402'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/american-values.html' title='american values'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110382294901538110</id><published>2004-12-23T09:27:00.000-08:00</published><updated>2004-12-23T09:29:09.016-08:00</updated><title type='text'>good food for language junkies</title><content type='html'>the &lt;a href="http://www.ai.mit.edu/projects/dynlangs/wizards-panels.html"&gt;'Panel'&lt;/a&gt; is very interesting, and occasionally very funny.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110382294901538110?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110382294901538110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110382294901538110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110382294901538110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110382294901538110'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/good-food-for-language-junkies.html' title='good food for language junkies'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110378062047238541</id><published>2004-12-22T21:42:00.000-08:00</published><updated>2004-12-22T23:47:38.893-08:00</updated><title type='text'>the tale of two ebooks</title><content type='html'>    I recently made two ebook purchases: I got a speed-reading book from Amazon and a programming book from &lt;a href="https://secure.manning.com/catalog/ebooks/index.html"&gt;Manning&lt;/a&gt;. The experiences were very different. Amazon's ebook delivery took a nice while (while they were contacting the 3d party DRM system, I assume), right away eliminating one of the benefits of ebook buying: immediacy. What I got then is a special 'ancor' file sent to my email, which upon opening in Acrobat (strike 2: does not even try to work in Preview) required me to sign into MS-Passport and then eventually failed with a nondescript error. So much for Mac. I was able to get it to open on my PC (only a single PC - viewing on a second PC gave me a DRM error that I already downloaded the doc). After the file opened it was pretty useless, as any kind of printing or copying was disabled. In summary: don't do it, 's a freaking waste of money!&lt;br /&gt;    In contrast when I got a book from Manning there was an immediate download available, a beautifully typeset book, no DRM insanity. The only protection they implemented is putting my name &amp;amp; email address in every page, basically relying on my integrity. Excellent service, I wish there were more like them.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110378062047238541?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110378062047238541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110378062047238541' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110378062047238541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110378062047238541'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/tale-of-two-ebooks.html' title='the tale of two ebooks'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110368240600319723</id><published>2004-12-21T17:49:00.000-08:00</published><updated>2004-12-21T18:26:46.003-08:00</updated><title type='text'>oreily hacks</title><content type='html'>    I own some books from O'Reily &lt;a href="http://www.amazon.com/exec/obidos/redirect?tag=myblog0f-20&amp;path=search-handle-form%2Fref%3Ds_sf_b_as"&gt;Hacks series&lt;/a&gt;, and like the format quite a bit. I gave a bit of thought as to why I like this very free-format style. This reminded me of a statistical method called &lt;a href="http://mathworld.wolfram.com/MonteCarloMethod.html"&gt;Monte Carlo&lt;/a&gt;. The method was actually invented by mathematician &lt;a href="http://www.amazon.com/exec/obidos/redirect?tag=myblog0f-20&amp;amp;path=tg%2Fdetail%2F-%2F0520071549%2Fqid%3D1103680958%2Fsr%3D8-1%2Fref%3Dsr_8_xs_ap_i1_xgl14%3Fv%3Dglance%26s%3Dbooks%26n%3D507846"&gt;Stan Ulam&lt;/a&gt;, and was instrumental in the development of the &lt;a href="http://www.amazon.com/exec/obidos/redirect?tag=myblog0f-20&amp;path=ASIN%2F0684824140%2Fqid%3D1103681326%2Fsr%3D2-1%2Fref%3Dpd_ka_b_2_1"&gt;H-Bomb&lt;/a&gt;. The basic idea of the method is pretty simple, and the best practical explaination I know of is like this: say you have a very irregular shape that you need to measure the area of. Because the shape is so irregular it would be hard to use regular area-measurment algorithms on it. But we can do a pretty easy experiment which Stan proved will give us better and better approximations. First, we draw an easily measurable shape, like a rectangle around the irregular shape. Then we throw a dart randomly inside the rectangle. We record whether it ended up inside the irregular shape. Repeat many times. Tally up how many times the dart ended up inside the shape of interest. The area can be approximated by Area-Of-rectangle*(Dart-Hits-Inside-Weird-Shape/Total-Dart-Throws). This guess will get more and more accurate with the number of tries.&lt;br /&gt;    How does this relate to the O'Reily books? I think the disorganized format gives you a good idea of the overall area without covering it in an organized manner. This is similar to the dart throw in the Monte Carlo method. By having multiple somewhat random articles about the subject this format gives you a broad and accurate overview of an area which in some sense is more compact and broad than a well-organized book on the subject.&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110368240600319723?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110368240600319723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110368240600319723' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110368240600319723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110368240600319723'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/oreily-hacks.html' title='oreily hacks'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110360432237227868</id><published>2004-12-20T20:44:00.000-08:00</published><updated>2004-12-20T20:45:22.373-08:00</updated><title type='text'>I am sick...</title><content type='html'>I have &lt;a href="http://www.randsinrepose.com/archives/2003/07/10/nadd.html"&gt;NADD++&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110360432237227868?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110360432237227868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110360432237227868' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110360432237227868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110360432237227868'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/i-am-sick.html' title='I am sick...'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110360080348492053</id><published>2004-12-20T19:39:00.000-08:00</published><updated>2004-12-20T19:46:43.483-08:00</updated><title type='text'>a diversion</title><content type='html'>Finally I cracked and decided to blog this. Following Joel Spolsky's recommendation and my habit of occasionally reading business books I got the classic&lt;br /&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=myblog0f-20&amp;o=1&amp;amp;p=8&amp;l=as1&amp;amp;asins=013026248X&amp;fc1=000000&amp;amp;lc1=0000ff&amp;bc1=&amp;amp;lt1=_blank&amp;IS2=1&amp;amp;bg1=ffffff&amp;amp;f=ifr" width="120" height="240" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;br /&gt;It's got to be the book on the subject because I did not die of boredom and&lt;br /&gt;actually have enough interest to keep on reading, despite the semi-technical flavor of the book. The secret is that the technicalities are first explained conceptually, then mathematically and then reinforced by examples, which make the whole thing digestible. Another reason I like the book is that it explains things about pricing that you see in the real world, which the consumer (me) better ways to think about values of things and the mental mechanizms businesses use to occasionally get you. The chapter I was reading just right now is on 'reference point' that people use making pricing decisions. The basic idea is simple: we use the price of competing products as a reference point for eveluating other products. Their real-life examples are great, here is a couple:&lt;br /&gt;"Vasiline Intensive Therapy" lip balm is 1400% (no mistake in zeros)&lt;br /&gt;more expencive than a regular tub of vaseline, which is the same&lt;br /&gt;stuff. What allow this markup is competition with "Chapstick", which&lt;br /&gt;sets the reference price.&lt;br /&gt;Another good example is Jelly Belly candy. You will never see them sold in your grocery store next to other jellybeans - the huge markup against the generic reference point would not allow this. Instead they rely on being sold in gourmet candy stores where the reference point is going to be, for example, some expensive chocolates. Another thing not openly mentioned in the book (so far) is that&lt;br /&gt;reference point is really a relative term.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110360080348492053?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110360080348492053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110360080348492053' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110360080348492053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110360080348492053'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/diversion.html' title='a diversion'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110359996106486246</id><published>2004-12-20T19:28:00.000-08:00</published><updated>2004-12-20T19:32:41.063-08:00</updated><title type='text'>not-so-iron python for .NET</title><content type='html'>&lt;a href="http://zope.org/Members/Brian/PythonNet/"&gt;This certainly deserves a mention. &lt;/a&gt;This implementation of python, while not compiling into CLR has pretty much full access to the .NET platform, plus .NET events can be handled and delegates can be written in python.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110359996106486246?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110359996106486246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110359996106486246' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110359996106486246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110359996106486246'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/not-so-iron-python-for-net.html' title='not-so-iron python for .NET'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110359951593061546</id><published>2004-12-20T19:21:00.000-08:00</published><updated>2004-12-20T19:25:15.930-08:00</updated><title type='text'>sync my stuff?</title><content type='html'>A while ago I decided that rsync is The Tool for backing up my stuff, like my large collection of interesting PDF files or my programming adventures. Of course I have not so far taken the time to learn the tool and relied on manual copying and prayer for backups. Now since there is a &lt;a href="http://www.vdesmedt.com/%7Evds2212/rsync.html"&gt;Python implementation&lt;br /&gt;&lt;/a&gt; maybe I will get somewhere with this!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110359951593061546?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110359951593061546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110359951593061546' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110359951593061546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110359951593061546'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/sync-my-stuff.html' title='sync my stuff?'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110356338962209083</id><published>2004-12-20T09:21:00.000-08:00</published><updated>2004-12-20T09:23:09.623-08:00</updated><title type='text'>pythnon scraping follow-up</title><content type='html'>So c.l.python was helpful as usual. What I was &lt;a href="http://xamdam.blogspot.com/2004/12/my-latest-stuckness.html"&gt;missing&lt;/a&gt; was the default namespace prefix in my xpath expression - I have to do some reading up on xpath/xml namespaces interaction. In the meantime I asked them back what would happen if I simply yank the namespace from the file for now to make the xpath-ing easier. Their concern was about potential multiple namespaces, which is not a problem for me as Tidy does not produce multiple namespaces anyway. So I got xpath to play along after I removed the default namespace.&lt;br /&gt;On to the next step, finding the right xpath expression to get what I need. BTW the library I have been using is xmllib2, which currently seems to have a lot of momentum. The next problem is finding the right xpath for the parts of the document you want. I used a couple of editors to look at the document's tree, and the nesting was pretty horrendous. If I was an xpath expert perhaps I would be able to crack this easily, but I felt a need for some kind of automation. I thought it would be cool to find an editor with 'xpath reverse-engineering', which would allow you to point to a node graphicaly and have an xpath suggested to you. Of course the theoretical problem with this is possible multiple xpaths that could point to a node, but I had a feeling that some 'reasonable' solution is possible here. I did some googling around and came up with 0/google results. Admittedly I have not tried XmlSpy, which I am told is The Tool for XML. Then I somehow remembered about something I read about a tool that allows you to navigate XML like a file system from the command-line. That somehow sounded neat, even though it did not solve my problem directly. I quickly 'remembered' what the tool was (using google) and fired it up - 'xmllint --shell input.xhtml'. This gives you a prompt and a lod of the standard shell navigation works like you expect: ls lists the current node's subentities, cd allows you to jump to another node, pwd  gives you the current path. I wanted to see the rest of the commands, asked the shell for help, and (drum roll...) here it was - 'grep' command! I immediately realised that this is what I was looking for - you could 'grep' on a node's CDATA and get the xpath to it. The answer to the multiple potential xpaths was also right there - there is a 'simple' xpath to a node which can be obtained by navigation from the root without any wildcards or attribute matching stuff. So now I am almost there. What remains is finding a slightly more abstract xpath that would select ALL the nodes that I am interested in, so that I can process the whole list of them in a loop. To be continued...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110356338962209083?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110356338962209083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110356338962209083' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110356338962209083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110356338962209083'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/pythnon-scraping-follow-up.html' title='pythnon scraping follow-up'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110318248968174814</id><published>2004-12-15T23:24:00.000-08:00</published><updated>2004-12-15T23:34:49.683-08:00</updated><title type='text'>my latest stuckness</title><content type='html'>I just posted the following to c.l.python. Hope they can help...&lt;br /&gt;&lt;br /&gt;"I am trying to do some xpath on&lt;br /&gt;&lt;a href="http://fluidobjects.com/doc.xhtml"&gt;http://fluidobjects.com/doc.xhtml&lt;/a&gt;&lt;br /&gt;but  cannot get past 'point A' (that is, I am totally stuck):&lt;br /&gt;&lt;br /&gt;&gt;&gt; import  libxml2&lt;br /&gt;&gt;&gt; mydoc = libxml2.parseDoc(text)&lt;br /&gt;&gt;&gt;  mydoc.xpathEval('/html')&lt;br /&gt;&gt;&gt; []"&lt;br /&gt;&lt;br /&gt;The purpose of this is to improve my www-scraping skill (I'd like to scrape the audio from &lt;a href="http://www.the-fifth-hope.org/hoop/5hope_speakers.khtml"&gt;HOPE 5&lt;/a&gt; grabbing mp3, author info and description and importing directly into my iTunes). I pretty much settled on the idea that  the ideal route for scraping HTML is HTML | &lt;a href="http://utidylib.berlios.de/"&gt;Tidy &lt;/a&gt;| XPath. Tidying in python took a surprising while to get right (it has a lot of keyword optoins which are not reflected into the python wrapper ergo the wrapper is not self-documenting, which is a strike), so now I am stuck on the XPath thingy.  If I do not get unstuck it's back to &lt;a href="http://www.crummy.com/software/BeautifulSoup/"&gt;plan B&lt;/a&gt;.&lt;br /&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110318248968174814?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110318248968174814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110318248968174814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110318248968174814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110318248968174814'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/my-latest-stuckness.html' title='my latest stuckness'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110311040838421906</id><published>2004-12-15T03:23:00.000-08:00</published><updated>2004-12-15T03:43:07.823-08:00</updated><title type='text'>blockbust</title><content type='html'>For one reason or another I get a bit nostalgic when I witness a great big business in a downward spiral. The one I am thinking of right now is Blockbuster. Their main business model is obviously at the end of the rope - who wants to shlep to the video store and only to find that what they want to rent is not available and if it is available it is scratched up and if you even get to watch it you are pretty likely to be hit with an unexpected late fee which is almost impossible to fight if they are wrong. But when there were no other options we were pretty happy going to BB, the store was clean and well taken care of and there was always an exitement of getting a movie. Or maybe that was just what being a kid feels like.&lt;br /&gt;   Anyways, why do I think BB is dead? Aren't they copying the successful model of Netflix?&lt;br /&gt;The brilliance of Netflix was not the idea, but the timing. The idea of delivering movied via mail must have seemed crazy in the time when everything is going towards digital delivery. But Netflix saw the opportunity to gain market share in a small window created by the upheaval of physical-to-digital distribution switchover. This was not their ultimate goal, I venture, and I think the proof is in their recent &lt;a href="http://www.msnbc.msn.com/id/5915470/site/newsweek/"&gt;teaming up with Tivo&lt;/a&gt; to do digital delivery. So while in short run BB can suck some market share off them (mostly opportunity market share, as I doubt current netflix customers will be wooed by the BB offering) they are fighting yesterday's battle. The company's creative spirit appears stagnant and while there always room for turnaround, the things are not looking good...&lt;br /&gt;But in the end the decline of the companies is overall a good thing. Without it the world would be dominated by powerful and monopolies and invention and attendant economic improvement would stop. So, goodbye, BB (maybe)!&lt;br /&gt;&lt;img src="http://www.fluidobjects.com/images/blockbust.JPG" /&gt;&lt;br /&gt;Swear this wasn't photoshopped!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110311040838421906?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110311040838421906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110311040838421906' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110311040838421906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110311040838421906'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/blockbust.html' title='blockbust'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110298753693509145</id><published>2004-12-13T17:15:00.000-08:00</published><updated>2004-12-13T17:34:13.323-08:00</updated><title type='text'>Channukah</title><content type='html'>Here is a Happy Channuka from CLISP (albeit it is one day off, at least if you light at sunset):&lt;br /&gt;&lt;code&gt;&lt;img src="http://www.fluidobjects.com/images/clisp.JPG" /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And if you forgot your siddur (prayer book) and cannot for some reason remember the Rosh Chodesh Musaf - there is some &lt;a href="http://www.amazon.com/gp/reader/089906650X/ref=sib_vae_pg_646/104-6041386-7355152?%5Fencoding=UTF8&amp;keywords=646%27&amp;amp;p=S0J4&amp;twc=3&amp;amp;checkSum=EMbTsLRQmtX6lGxX3RdInmwVQoWN6PV6lf6D%2FiHE0Sk%3D#reader-page"&gt;help&lt;/a&gt; from Amazon&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110298753693509145?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110298753693509145/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110298753693509145' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110298753693509145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110298753693509145'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/channukah.html' title='Channukah'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110283586729601948</id><published>2004-12-11T23:16:00.000-08:00</published><updated>2004-12-11T23:17:47.296-08:00</updated><title type='text'>most funnest LISP tutorial EVER (with Macros!)</title><content type='html'>&lt;a href="http://www.lisperati.com/"&gt;Go&lt;/a&gt; check it out!&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110283586729601948?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110283586729601948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110283586729601948' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110283586729601948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110283586729601948'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/most-funnest-lisp-tutorial-ever-with.html' title='most funnest LISP tutorial EVER (with Macros!)'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110282007539058894</id><published>2004-12-11T18:38:00.000-08:00</published><updated>2004-12-11T18:54:35.390-08:00</updated><title type='text'>python maddness</title><content type='html'>&lt;span style="font-family:Arial;font-size:85%;"&gt;I recently send around a bug I found (in my own code!) to some of my collegues as a puzzle and hid the answer in the end in the following obfuscatedpython bit: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;"&lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;You will get the answer when you execute this from command-line:&lt;/span&gt;&lt;br /&gt;  &lt;p style="text-align: left;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;python -c "import new, sys;print (lambda s: s and s[-1]+new.function(sys._getframe().f_code, globals())(s[:-1]) or s)('.srotarepo noisrevnoc fo eraweB :nosseL \n.tcejbo TNOFH gniylrednu eht llik lliw rotcurtsed s\'tnoFC lanigiro eht dna ,ton si tI \n.tcerroc yllacitnames si tnemngissa tnoFC taht kniht uoy sekam rotcurtsnoc gnitpecca-TNOFH eht htiw noitanibmoc ni rotarepo noisrevnoc TNOFH\n')"&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="text-align: left;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;The only really cool (and hopefully useless :) thing here is the list/string reverse function written as a recursive lambda. &lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Of course there is no normal way to call a lambda in python recursively since it doesn't have a name, so you have to poke around the current frame object to get what you want. So you get this beauty:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="text-align: left;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;(lambda s: s and s[-1]+new.function(sys._getframe().f_code, globals())(s[:-1]) or s)&lt;/span&gt;&lt;/p&gt; &lt;p style="text-align: left;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;I think I'll go take a shower now :)&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/p&gt; &lt;div&gt;  &lt;/div&gt; &lt;p&gt; &lt;/p&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110282007539058894?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110282007539058894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110282007539058894' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110282007539058894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110282007539058894'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/python-maddness.html' title='python maddness'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110251573801718642</id><published>2004-12-08T06:15:00.000-08:00</published><updated>2004-12-08T06:22:18.016-08:00</updated><title type='text'>The sounds of thunder...</title><content type='html'>Installed &lt;a href="http://www.mozilla.org/press/mozilla-2004-12-7.html"&gt;Thunderbird 1.0&lt;/a&gt;. It seems NOTICABLY faster than the previous version (particularly on windoze), just like Firefox did when you switched to 1.0. Coincidence? Whatever it is, can's stop the open source! &lt;a href="http://stuartbuck.blogspot.com/2002/12/william-sulik-discusses-his.html"&gt;Yippie-ki-yay&lt;/a&gt; &lt;b&gt;, &lt;a href="http://www.microsoft.com/windows/ie/default.mspx"&gt;Mister Falcon!&lt;/a&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110251573801718642?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110251573801718642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110251573801718642' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110251573801718642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110251573801718642'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/sounds-of-thunder.html' title='The sounds of thunder...'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110240620199551648</id><published>2004-12-06T22:48:00.000-08:00</published><updated>2004-12-06T23:56:41.996-08:00</updated><title type='text'>See KILL BILL (2)</title><content type='html'>(note: this was written a few month ago, and is even more poorely edited than my other stuff. I am sorry you are reading it)&lt;br /&gt;&lt;br /&gt;This one was worth the wait. (Side note: apparently I was not the only one waiting for it. I went to Blockbuster 3 times to pick it up and there were no copies left. I assume Blockbuster anticipated the initial spike in demand, because the movie was not "guaranteed in stock" as many other new releases are. They probably figured that the due to the "spiky" nature of demand here they will be stuck with a bunch of unrentable copies in the end. This makes sense except for the fact that this movie is bound to become a cult classic and people will want to buy copies to own. But I will let their actuaries do their job. Anyway, the point I was getting at was that I HAD to download the movie ILLEGALLY just to watch in when it came out. (I did rent a copy the following week, which I usually do since I want studios to make more good ones. Besides the quality was much better for the second viewing.). This is a hint to the studios (anyone listening?) about electronic distribution solving at least the demand vs. physical copy mismatch. Also I actually signed up for CinemaNow a while ago, but it appears that CinemaNow and Movielink are getting the shrift here, because the movie is not available electronically when the demand is the highest. It is available on CinemaNow sometime in September, but if you haven't watched it by then you are not really KILL BILL material.). Anyway, back to the movie. If you saw KILL BILL part 1 you only saw half the movie, and probably a the wrong half. Steven King suggested multiple times in EW that this is not 'great cinema', making comparisons to  "Mystic River" (which he thought was great. I did too). I seriously wonder if he regrets saying that after seeing part 2. This movie goes back and puts an incredible amount of emotions (plural, as there is much more than revenge here) into the storyline. (don't worry, the action sequences are still awesome). And the cinematography and acting is incredible.&lt;br /&gt;(for those who don't mind me spoiling it: the scene-before-last can qualify as one of the most powerful movie scenes of all time IMO. And here is the (un)real QT twist: the fight scene that ends with BILL being killed is actually a very romantic scene - and we owe that to the "Pai Mei five point exploding heart technique". This technique, when used on an opponent allegedly guarantees a sure death from a "hear explosion" once the opponent takes a few steps (5 or 8 IIRC). This incredible Kung-Fu move (by QT) allows us to see the relationship between Bea and BILL in it's pure raw form: you actually see how much they love each other because there is no other considerations in play - BILL will is effectively dead (but still alive and talking untill he takes the few fateful steps), which frees both him an and Bea his twisted path and allows a sort of greatness to come out. And the name: "exploding heart" technique - can this really be a coincidence? Wow, totally ingenious. The next scene of Bea just crying her heart out is a good reinforcement.)&lt;br /&gt;See Kill Bill 2. QED.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110240620199551648?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110240620199551648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110240620199551648' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110240620199551648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110240620199551648'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/see-kill-bill-2.html' title='See KILL BILL (2)'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110237307911336533</id><published>2004-12-06T14:41:00.000-08:00</published><updated>2004-12-06T14:44:39.113-08:00</updated><title type='text'>post of the day</title><content type='html'>This really made happy - my feelings on Python vs Java are strongly reinforced now:&lt;br /&gt;&lt;a href="http://dirtsimple.org/2004/12/python-is-not-java.html"&gt;http://dirtsimple.org/2004/12/python-is-not-java.html&lt;/a&gt;&lt;br /&gt;Of course I do not really know Java. But this explains why :)&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110237307911336533?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110237307911336533/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110237307911336533' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110237307911336533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110237307911336533'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/post-of-day.html' title='post of the day'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9439500.post-110205100614084616</id><published>2004-12-02T20:42:00.000-08:00</published><updated>2004-12-02T21:16:46.140-08:00</updated><title type='text'>a simple problem</title><content type='html'>My first blog post. Wonder if anyone will read.&lt;br /&gt;I live on Long Island and work in Manhattan (for Liquidnet, a pretty kick-ass company). As this winter has been pretty warm New York felt quite a bit like Seattle (I lived there for 4 years): wet and overcast. All this wetness created the following problem: umbrellas. Well, umbrellas themselves are not the problem, but having one always available is.  Of course, some people solved this by having a super-tiny umbrella that they can always carry around. But the recent rains have been accompanied by quite a bit or wind, so I need my Giant Umbrella. That said, the question is where shold I keep it. If I keep it at home and it rains on the way back from work I am screwed and vice versa. What about keeping 2 umbrellas: one at home and one at work? That should work ( and working at Liquidnet one can afford at least two umbrellas :). But this scheme would require always insuring that both locations are umbrella-equipped, which may require me to shuttle my Giant Umbrella next time I go back to the location after the rain forced me to take the umbrella from there. Since this shuttling may be occuring on an obviously sunny day it will shock my co-passengers on Long Island Rail Road, an effect I try to avoid having on people. Solution? More umbrellas! What if I have, say, a 100 umbrellas at each location? Assuming random distribution of rain activity what should happen is that for every umbrella I take from location A to B due to rain I should eventually take one from B back to A. Actually as I thought about this I realized that this is another reincarnation of the &lt;a href="http://en.wikipedia.org/wiki/Random_walk"&gt;Random Walk&lt;/a&gt; problem. This final realization is really the reason I am posting this garbage: the moral of the story is that complicated mathematics is all around us, if we only think a little harder.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9439500-110205100614084616?l=xamdam.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xamdam.blogspot.com/feeds/110205100614084616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9439500&amp;postID=110205100614084616' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110205100614084616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9439500/posts/default/110205100614084616'/><link rel='alternate' type='text/html' href='http://xamdam.blogspot.com/2004/12/simple-problem.html' title='a simple problem'/><author><name>xamdam</name><uri>http://www.blogger.com/profile/03126612679623719274</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
