Archive for 2006

who's reading?

December 4th, 2006

I haven't been doing much reading lately, it's been forgotten and neglected. But I'm hoping to revive it, so here's a list of books since last time.

Stephen Hawking :: A brief history of time

I had a habit of buying books as gifts, especially for Christmas. I bought this one as a gift without having read it, simply because it looked good to me. As it turned out, I was given the warmest recommendation to read it myself, after it had been most well received.

Hawking does only one thing in this book. He explains the "history" of the universe. As we have believed it to be from ancient times right up to the present. Along the way, he tackles all these theories in a simple and understandable manner, perfectly suited for the layman.

Lawrence Lessig :: Free Culture (online)

It may seem puzzling that anyone would pick up a book that deals chiefly in law, the history of copyright law, the different events that shaped the law and so on. But Lessig's book is a valuable text for the sake of understanding what copyright law is all about and what fairness in copyright means.

It is in many ways a sickening account of the monopoly of the rich, as with so many things. Historically, and presently, copyright owners (that is publishers, not writers) have strived to monopolize the rights for works they own and to keep this right forever. This applies not just to books, but to all other forms of creative content. It is amazing how authors don't own their own books, musicians don't own their own recordings and cartoonists don't own their own cartoons. It's a bit of a paradox that copyright, which is supposed to protect creators, actually only protects big companies which own these rights for profit.

Lessig's point is that culture is becoming increasingly restricted. While it was possible for Walt Disney to base his cartoons on existing cartoons, it wouldn't have been possible today. These restrictions stifle creativity and go against our society's traditions for culture. This discussion is in many ways an equivalent of what free software is to software.

The book is all the more interesting, as Lessig talks about the case heard before the Supreme Court in 2002, that he argued about Congress's power to extend copyright on existing works indefinitely (which in his view is unconstitutional). Lessig describes the case in some detail and offers analysis on why the case was lost.

George Bernard Shaw :: Pygmalion (online)

An old [comedic?] play describing how a Cockney girl is transformed into a lady by a professor of phonetics who teaches her to speak correctly. The story is not exactly profound and as most plays are, highly predictable.

H. G. Wells :: The Invisible Man (online)

An early science fiction story of a man who discovers the secret of invisibility. I stumbled upon it by chance, and quite liked the build-up in the story. Incidentally this is the same author who wrote the mother of all alien invasion stories - The War of the Worlds.

Karl Marx & Friedrich Engels :: The Communist Manifesto (online)

The manifesto is quite interesting to read, although there are things that are difficult to understand (remembering that it was conceived in 1848, in those circumstances and realities). It gives strong references to historical movements and revolutions, and cites communism as a natural follower of those. It also deeply criticizes the entire social and political system, and explains how communism provides a natural and effective solution to cure the ailments of the society at large, not just the interests of the working class.

One of history's juiciest ironies. Here's a school of thought which criticized the position of the working man in present society, as an individual of no rights, no power and no influence, subjected to terrible working and living conditions for the unending pursuit of profit for his superior, and which strived to improve upon this and reinstate the worker as a individual with rights and personal values. Then, in practice, it is given as a pretext for a revolution, a shift of power, a popular uprising. This new found power, in turn, is used to oppress the common man to the same set of living conditions, lack of influence and spiced up with some additional ideological values to constrict freedom of expression. I'm tempted to say that noble values are the most dangerous weapon for any intellectual to possess, by which to dupe the gullible masses, only to exploit them instead.

Franz Kafka :: The Metamorphosis (wikipedia)

Under its original title called Die Verwandlung (ie. The transformation), which makes me think the English title is appropriate, but somewhat exaggerated as to the original one. It's a one-of-a-kind sort of story. A seemingly normal man wakes up one morning having been transformed into some kind of animal or insect. He has the consciousness of a human, but to outward appearances he is anything but. At a first glance, this sounds like a trivial children's tale, but what makes it interesting is the thoughts that go through his head. I'm sure few people are thinking "if I woke up one day as an animal, what would I be thinking?", but the story answers these sorts of questions. Kafka describes everything that happens in great detail, every thought, every physical movement, every noise. Gradually, his mind begins to transition into a state where he becomes more consistent with the animal than the human. What is most puzzling about this story is how his family treats him. It begs the question - why do they think this bug is their son to begin with?

While it escapes me just how this story is so incredibly important, it has an exhaustive list of derived works and references from other works, so it's "one to know".

Colin White & Laurie Boucke :: The UnDutchables

For all intents and purposes, an 'introduction' to the Netherlands. It is written as a comedic description of the many odd habits and customs in this country, and it's quite informative. Of course, it's easier to inform than to make you laugh and the comedy falls a little short here. It's the book you want to read if you plan to be here for a few months.

Ben Long :: Complete Digital Photography (online resource)

If you need a reference to digital photography, this is a very good choice. Unlike some books, it gives a very complete treatment of the subject, beginning with the optical theory behind a digital camera (some books treat this very superficially), through explaining what kind of camera to choose and why, through all stages of photography, and concluding with a lot of photo manipulation techniques on pictures already taken. So if you feel deficient in any or all of those aspects, you're getting a great run down. The author does not base the instruction on any particular kind of equipment or software, so you can follow along with whatever you have.

Fyodor Dostoevsky :: Crime and punishment (wikipedia)

Truly one of the best books I've ever read. The psychological drama of Raskolnikov is described with such pin point precision and realism, that it deeply grips you. It's been quite a while since I read it, so I don't remember very much of it anymore, but it's more than a story, it's an experience really. The story is such an accurate crafted account that you don't feel like you're missing anything at all, everything you want is contained. Some books keep you wondering about what happened after the story or about some detail that wasn't explained properly, but not here, it's all there.

Of course, the central theme, to commit a crime and accept punishment for it, is a very simple idea, but explored in all its intricacies. Aside from the setting, the characters who interact with Raskolnikov, the city, the atmosphere and everything external to his tragedy, what really is of great value is everything he goes through. Those auxiliary elements are necessary, but in a sense, irrelevant. As such, the narration drifts away from Raskolnikov's plight at times, which is where it loses its appeal. But all in all, a very well done story indeed.

random posts from category

December 3rd, 2006

The other day I was thinking it would be nice to have a little space below every blog entry that displays past entries from this same category, but in random. So this would be a cool way to explore old entries for someone who hasn't seen the blog before, but no less for me since I wrote that stuff at one point and forgot all about it. It was actually seeing KeyBi's blog that inspired me to do this, cause he has a random posts feature on his.

I used an existing plugin and modified it for my needs to look exactly as you can see at the bottom of this post.

So now it's easier to browse old posts, but this brought out an old problem, namely that entries posted before the migration to WordPress were not input with their comments counted, so although these old entries have comments, WordPress doesn't seem aware of this. I fixed that with the simple script below.

<?

$user = '';
$pass = '';
$db = '';
$host = '';

$link = mysql_connect($host, $user, $pass) or die("kernel panic");
mysql_select_db($db);

$sql = "select ID from wp_posts where post_status = 'publish'";
$result = mysql_query($sql);

$IDs = array();
while ($row = mysql_fetch_row($result)) {
	$IDs[] = $row[0];
}

foreach ($IDs as $i) {
	$sql  = "update wp_posts set comment_count = ";
	$sql .= "(select count(*) from wp_comments where comment_post_ID = $i ";
	$sql .= "and comment_approved = '1') ";
	$sql .= "where ID = $i";
	mysql_query($sql);
}

mysql_close($link);

echo "Comments updated.";
?>

the summer cyclist

December 2nd, 2006

In the summer of 2003 I was in Stockholm on vacation and at one point I found myself at a TGI Fridays. You can spot the place like two blocks away for their ugly decor. Anyway, the place was pretty busy, and noisy. I was staring in the menu at a long list of names, none of which looked familiar to me. Finally I turned it over and there was their smoothie menu. Ah, something more to my pallet. I can usually tell when I've made a good choice and I was pretty confident about the Summer Cyclist. It turns out I wasn't mistaken, it was awesome. The drink has become somewhat of a legend to me, but today it occurred to me to google it and I found a recipe. :party:

Summer Cyclist Smoothie

Ingredients:

  • 55g Pureed Strawberries
  • 50g Grapefruit Juice
  • 30g Pineapple Juice
  • 1 scoop Orange Sherbert
  • 1/2 cup Crushed Ice

Directions: Use a blender

Granted I've no idea where to find this sherbert stuff, but I'm one step closer to reproducing this drink. :D

Poppy was right

December 1st, 2006

poppy_pizza.pngYou can't let people choose any topping they want. Because that will give them ideas of choosing stuff like cucumber and broccoli, which tastes awful on a pizza.

*Kramer making a pizza*
Kramer: Yeah, some cheese.
Poppy: Nota too much.
Kramer: And... cucumbers.
Poppy: Wait a second.. what is that?
Kramer: It's cucumbers.
Poppy: No no no, you cannot puta cucumbers on a pizza.
Kramer: Oh why not, I like cucumbers.
Poppy: That'sa not a pizza, it'lla tastea terrible.

It do, Poppy, it do.

Kramer: But that's the idea, you make your own pie.
Poppy: Yes, but we cannote give'e the people the right to choose'e any topping they wante!

curing smoking

November 30th, 2006

Politicians like to bemoan how much money governments have to spend on keeping people alive. People who would be well if they took better care of themselves. Instead they have all kinds of bad habits and get sick, which represents a blow to the economy blahblah. And for that reason, every once in a while, the Minister for Health and others will reiterate how smoking is a serious problem and how they plan to eradicate it through all kinds of campaigns and new regulations they have in mind. Well, they have succeeded in reducing the number of smokers, but the total extinction of smoking is nowhere near fruition. And I don't think that is the campaigns at fault, I think it's smoking itself.

Smoking kills, but it just doesn't kill fast enough. People have all kinds of trouble understanding long term scenarios. If you tell them joining the EU will make the farmers suffer rough competition right now, but in the long run it will modernize and improve the country, after a year they say they want communism back. Long term health problems are that way too, the effect is too far away from the cause that triggers it. And so we need to improve upon that.

We should make smoking kill instantly. That will drastically reduce the number of smokers. It will also reduce the number of obnoxious "look how cool I am" high school kids. And on the packs, instead of printing smoking kills, we print don't believe what you hear, smoking never killed nobody. (Which is actually logically equivalent to the statement smoking always killed everyone, but smokers are way too addicted to think about those labels anyway.)

So let's review the consequences..

  • The politicians are happy - smoking kills a lot more people now, but it represents no cost to health care anymore.
  • I'm happy - I don't have that mofo blowing smoke into my air.
  • The smokers who always wanted to quit, but couldn't, are happy - they finally made it.
  • The smokers who said "I don't care if it kills me, it's too good to give up" got what they wanted.