Archive for April, 2009
Dinner by candle-light
Posted by FuzzyGamer in Mobile Post on 2009/04/28
Damn power-outage! And I was planning on watching "House" and "24" tonight.
News? What news?
Posted by FuzzyGamer in Comics, Humor, News, Pictures on 2009/04/27
My family has accepted the fact that I don’t know anything about current affairs. I don’t have a TV (get ’24′ and ‘House’ in the form of torrents and watch them on my Xbox), don’t read the papers, don’t bother reading CNN or any other news sources. I didn’t know when that guy threw a shoe at Governor Bush. Didn’t know about that pilot who landed a plane in a river and then all the asshole passengers thanked God for it. Didn’t know about swine flu until I got a semi-panicked phone call this evening.
I assumed XKCD just had yet another brilliant idea, namely of starting a rumor about a fictional disease and watching the masses go ape-shit. Now the comic seems less funny.
Handling client-side redirects in C# non-Forms applications
Posted by FuzzyGamer in Programming on 2009/04/27
This is a pretty specialized C# programming example, so placing it right after the jump.
The Selfish Gene on large families
Posted by FuzzyGamer in Books, Quotes on 2009/04/26
Individuals who have too many children are penalized, not because the whole population goes extinct, but simply because fewer of their children survive. Genes for having too many children are just not passed on to the next generation in large numbers, because few of the children bearing these genes reach adulthood. What has happened in modern civilized man is that family sizes are no longer limited by the finite resources that the individual parents can provide. If a husband and wife have more children than they can feed, the state, which means the rest of the population, simply steps in and keeps the surplus children alive and healthy. There is, in fact, nothing to stop a couple with no material resources at all having and rearing precisely as many children as the woman can physically bear. But the welfare state is a very unnatural thing. In nature, parents who have more children than they can support do not have many grandchildren, and their genes are not passed on to future generations. There is no need for altruistic restraint in the birth-rate, because there is no welfare state in nature. Any gene for overindulgence is promptly punished: the children containing that gene starve. Since we humans do not want to return to the old selfish ways where we let the children of too-large families starve to death, we have abolished the family as a unit of economic self-sufficiency, and substituted the state. But the privilege of guaranteed support for children should not be abused.
Contraception is sometimes attacked as ‘unnatural’. So it is, very unnatural. The trouble is, so is the welfare state. I think that most of us believe the welfare state is highly desirable. But you cannot have an unnatural welfare state, unless you also have unnatural birth-control, otherwise the end result will be misery even greater than that which obtains in nature. The welfare state is perhaps the greatest altruistic system the animal kingdom has ever known. But any altruistic system is inherently unstable, because it is open to abuse by selfish individuals, ready to exploit it. Individual humans who have more children than they are capable of rearing are probably too ignorant in most cases to be accused of conscious malevolent exploitation. Powerful institutions and leaders who deliberately encourage them to do so seem to me less free from suspicion.
The Selfish Gene, Chapter 7, Family Planning, pages 1117-118
Postsecret comments for April 26, 2009, and a ramble about honesty
Posted by FuzzyGamer in Pictures, Rant, Religion on 2009/04/26
Holy fuck! I seriously hope the these rules (try to read whatever isn’t obscured by the message) are not part of some corporate contract. I think that this is a list of rules at a church, for people working there. I certainly wish that’s the case. Though that’s still a lesser-evil stance. The fact that any organization has specific rules about “[riding] alone in a vehicle with a member of the opposite sex” is unsettling.
The comment under the image said:
I understand how hard it is to try to live your faith in a world where no one seems to believe the same things as you – be strong! I’m praying for you.
Just a few thoughts on this one, in addition to a bit of a ramble.
First, if you’ve found something that makes you happy, like Catholicism, good for you.
Second, it is regrettable that we must hide our true selves, for any reason.
Third, to the commenter, the problem here is not that others don’t believe in the same thing (this is not necessary!), but that believing in something different is frowned upon, or worse.
I’m sure everyone finds themselves in situations where pure personal honesty will be detrimental. I keep my beliefs to myself around certain people, mainly because it makes life simple and avoids un-necessary conflict. There are certain coworkers who don’t know that I’m an atheist. Most don’t know about this blog. The reason for it is that this makes life easier. Two of my coworkers (very brilliant people for whom I have a great deal of respect) are particularly religious, so I tend to keep religious discussion out of our non-work dealings. Others… well, they know exactly how opinionated I am on the subject of beliefs, faith and the “pointlessness” of life. (Though even in that case, there are overlaps, where not all people are privy to everything I think.)
Does this make me a hypocrite? Am I a sometimes-closeted atheist? Certainly. But it makes life easier, and so I go on with the charade.
Above I mentioned that it is regrettable that we must hide our true selves. In some cases, in certain parts of the world, the truth about our beliefs (or sexual orientation or political views or whatever) can be harmful and even deadly to ourselves or our loved ones. (Have you heard about one of the most popular extreme sports in Russia? Political humor.) This is quite different, though, from the choice that most of us make to hide ourselves. I can tell every person I know what I think about organized religion, Republicans and sexual repression (or expression), but this would make my life more difficult.
The Selfish Gene: curious family mechanics and the question of population
Posted by FuzzyGamer in Books on 2009/04/25
In many species a mother can be more sure of her young than a father can. The mother lays the visible, tangible egg, or bears the child. She has a good chance of knowing for certain the bearers of her own genes. The poor father is much more vulnerable to deception. It is therefore to be expected that fathers will put less effort than mother into caring for young.
…
Similarly, maternal grandmothers can be more sure of their grandchildren than paternal grandmothers can, and might be expected to show more altruism than paternal grandmothers. This is because they can be sure of their daughter’s children, but their son may have been cuckolded.
…
Indeed in a society with a high degree of marital infidelity, maternal uncles should be more altruistic than ‘fathers’ since they have more grounds of confidence in their relatedness to the child. They know that the child’s mother is at least their half-sister. The ‘legal’ father knows nothing.
The Selfish Gene, Chapter 6, Genemanship, page 106
[Wynne-Edwards] suggested that individual animals deliberately and altruistically reduce their birth rates for the good of the group as a whole.
…
We have probably all seen examples of the startling calculations that can be used to bring [unchecked population growth] home. For instance, the present population of Latin America [as of 1976] is around 300 million, and already many of them are under-nourished. But if the population continued to increase at present rate, it would take less than 500 years to reach the point where the people, packed in a standing position, formed a solid human carpet over the whole are of the continent. This is so, even if we assume them to be very skinny — a not unrealistic assumption. In 1,000 years from now they would be standing on each other’s sholders more than a million deep. By 2,000 years, the mountain of people, travelling outwards at the speed of light, would have reached the edge of the known universe.
The Selfish Gene, Chapter 7, Family planning, pages 110-111
Hmm, so I guess the question of space travel will be answered by the Duggar’s of the world. Well, at least now we know what their contribution to humanity will be.
Futurama genetics
Posted by FuzzyGamer in Random Thoughts, Sci-Fi, TV on 2009/04/25
An hour or two back I was reading “The Selfish Gene”. The current chapter is covering a bit of math concerning the logic behind altruistic acts that end up benefiting the gene, even at the expense of an organism carrying the gene. The mathematics involved were concerned with the genetic similarity between individuals. Genetically speaking, a person’s cousin is equal to their great-grandchild. That is, both have 1/8 of their genetic material in common with you.
To determine the genetic relatedness (ratio of genetic material in common) between two people: determine the generational distance between the individuals (call this X); determine the number of common ancestors (in case of siblings, this number is 2; in case of step-siblings, this number is 1) (call this Y); relatedness = Y * ((1/2) ^ X).
This formula then suggests that relatedness for children, parents and siblings is 1/2; for aunts and uncles, nephews and nieces, grandparents and grandchildren, and step-siblings is 1/4; for third cousins it’s 1/128; and for the identical twins, it’s 1.
Now, for some quick and dirty math. A single American generation is defined as 25.2 years. The length of time between Fry’s birth and that of Professor Farnsworth’s: 1974 to 2841 = 867. This translates to 34.4 generations. Let’s call it 35.
2 * ((1/2)^35) = 0.

OK, fine, it’s not zero. It’s actually 5.82076609 × 10-11
Uh-huh. Can we just call it zero?
Essentially what this means is that (a) Fry is related equally to every human living in the year 3000 or (b) Fry’s family practiced inbreeding “religiously”.
But whatever, it’s still a great TV show.
Random Friday-night ramble
Posted by FuzzyGamer in Random Thoughts on 2009/04/24
Once again, don’t have much to say. Just a ramble. After the jump.
Daisy Owl
Posted by FuzzyGamer in Comics, Humor on 2009/04/24
A few months back I found a new webcomic. And promptly fell in love with it. It’s called “Daisy Owl” and it’s about an unconventional family and their wacky adventures. Below is a sample. (Had to recut the comic so that it would fit in here without resizing. Image links to the original.)
The comic is a great mix of… well, a lot of stuff. It seems to cover a lot of ground, yet always manages to stay close to the main theme of child-like wonder and discovery. And the drawings are just magical.
The story is of Daisy Owl, her brother Cooper, and their dad, Mr Owl. Then there’s their friend Steve the bear. Other characters come and go, but this is the basic ensemble.
Here are a few random strips I found interesting (links this time, don’t want the hassle of slicing more images):
- Continuation of the monkey story arc
- Fantastic art
- Explanation of the fantastic art
- Trash talk
- The unusual family
- The magician
- Owl and Reservoir Dogs
The website provides fairly standard previous-next navigation, so browse to understand what the comic is all about. Their random method sucks, though.
Mobile WordPress test
Posted by FuzzyGamer in Mobile Post on 2009/04/22
WordPress (.com) sucks for not allowing posts by email, but they do have a mobile interface, so trying it out now.
And that’s it. If you see this, it worked.
Strange talk
Posted by FuzzyGamer in Humor, Random on 2009/04/21
The Man: we’re both good people, we’ve paid our dues to our fellow man… we deserve some serious action.
Me: hahaha
The Man: I think we need to fly wingman for each other
Me: yeah, we should try that one of these days
The Man: indeed
I could visit Seattle, we could go to a local internet gaming cafe… score us some honies, and go back to your place.
perfect
Me: that sounds crazy enough to work!
GTA IV: 24 kills, 2 deaths
Posted by FuzzyGamer in Mobile Post on 2009/04/21
A few games later, it was 39 kills, 4 deaths.
Updating Flickr tags with FlickrNet
Posted by FuzzyGamer in Programming on 2009/04/21
I’m finally dabbling in the Flickr API, and that is with the use of the .Net library FlickrNet. This came out of a realization (on my part) that tagging photos might actually serve a purpose. No, I wouldn’t use them, but apparently good (or overwhelming) tags help increase the visibility of your photos. Of course, having interesting subjects also increases visibility. I learned that after uploading three cheerleader photos, which promptly got more views than all the rest of my photos combined. But I digest.
FlickrNet is a layer between my C# code and the web-based Flickr API. It gets the job done, though I would have preferred a better approach. The naming of methods is abismal and some approaches are just bass akwards. Like, if you’re looking at photos in a photoset, you need to make a separate call to get the EXIF info. I get that that’s how Flickr set it up, in the interest of performance and conserving bandwidth, but it feels awkward. The API (which is open-source, allowing me to actually make a local bug-fix) is great, being performant and elegant, but I can see a number of places where improvements could be made. As mentioned above, certain data isn’t retrieved in one call, it takes a number of calls to get that. I would have made the datastructure retrieve the data on first use, so if I ask for the EXIF, the API makes a webcall in the background. But that’s just me.
Anyway, back to the point of this post. I decided to add some tags to my photos, namely the model of my camera. So I wrote the below code to do just that. I also make use of a new (to me) concept of extensions. This is where an existing API, even a built-in one, is extended. So you could add new methods to existing classes. Like adding an MD5 method to the string class. It’s a great thing, especially when – like me – you find yourself writing a bunch of utility functions that are designed to essentially extend existing code.
So, anyway, once again, back to the post. The code is after the jump.
Finally, dim sum!
Posted by FuzzyGamer in Food, Random on 2009/04/18
It’s probably been about 6 weeks since the last time I’ve had dim sum. Too damn long!
It was sometime before leaving for Japan. Then in Japan I obviously didn’t have. Then the two weekends (I usually go on weekends, try to make it at least once a week) in a row I was sick and woke up too late or was feeling crappy.
Finally, this is the day. I woke up early today (went to bed too early last night), already got my blog-on, going to take a shower, pick out a set of chopsticks, remember to take “The Selfish Gene” and hit the road.
Reason I went to bed so early last night is that I had this extreme vertigo. Like, everything was spinning and my eyes seemed to be shaking in their sockets. No idea what was going on, but it might have had to do with the fact that I got fairly drunk at work yesterday. I was already well buzzed by 5, and at 5 there was of course cheese and more alcohol. Good times!
Just a Thought
Posted by FuzzyGamer in Random on 2009/04/17
All I want is your understanding
As in the small act of affection
‘Why is this my life?’
Is almost everybody’s question
And I’ve tried
Everything but suicide
But it’s crossed my mind
I prefer peace
Wouldn’t have to have one worldly possession
But essentially I’m an animal
So just what do I do, with all the aggression?
Well, I’ve tried
Everything but suicide
But it’s crossed my mind
Life is a one way street, ain’t it?
If you could paint it, I’d chalk myself going in the right direction
So I go all the way, like I really really know
But the truth is, I’m only guessing
And I’ve tried
Everything but suicide
Ohh, but it’s crossed my mind
Just a thought
It’s even dark in the daytime
It’s not just good, it’s great depression
When I was lost I even found myself
Looking in the gun’s direction
And so I’ve tried
Everything but suicide
But yes, it’s crossed my mind
But I’m fine
Japanese souvenirs
Posted by FuzzyGamer in Pictures, Travel on 2009/04/17
I’m not much on souvenirs. For some reason, I didn’t want to pack my suitcase in Japan with cheap merchandise. But I did want something physical to keep after my trip. I already have a lot of photos, but I wanted something tangible. So I got chopsticks from every city I visited. Actually, I screwed up, as I didn’t manage to get chopsticks from Yokohama. So, as to right a wrong, there’s an extra set of chopsticks for Tokyo. I got them in Harajuku. It’s pretty clear (even without the accompanying text) which ones they are.
Chopsticks and holder from Tokyo. The start of my collection.
Chopsticks from Kamakura.
Chopsticks from Kyoto.
Chopsticks from Harajuku. Duh!
Chopsticks from Shizuoka.
Music of 'House'
Posted by FuzzyGamer in Media, TV, YouTube on 2009/04/16
A few songs from ‘House’. I picked songs that I like, and of those, ones with better sound quality, even if it meant a “video” consisting of a still image. Enjoy.
Solomon Burke - None Of Us Are Free
Gomez – Get Miles
Al Green – Love and Happiness
Josh Ritter – Good Man
Jeff Buckley – Hallelujah
This video can’t be embedded, so here’s a link to it.












