2009/12/06

Web Comics

Whenever I go online the first things I check are my email and my web comic rss feed. Here are some comics I subscribe to. Let me know if there are any other good ones I missed.

Google RSS Reader lets you make a bundle of feeds and share it on a blog, so I did that for my webcomics.. they're on the right side of my blog under the other widgets. Click here to see a preview of each of them.

Recent Discoveries:

Apokalips

Cyanide and Happiness
(Not for the feint of heart)

2009/11/23

Twilight Spoofs

My favorite so far:


College Humor:
Twilight: Three Wolf Moon

And again (warning: bad language)
Twilight: Deleted Sex Scenes

This one wasn't as good, but here ya go.

2009/11/22

Scale

If you took a piece of thin paper, say 0.35mm thick, and folded it in half, it's now about 1mm thick. So without using a calculator, how thick do you think it might be if you fold it 40 times? 10 meters? A mile? Just try to imagine it without doing the math.

A) 1 meter
B) 10 meters
C) 1 Kilometer
D) Distance from Earth to Moon
E) 1 Light Year

What do you think? No cheating!

2009/11/10

Hairpins

If I had any super power, it would be the ability to travel back in time, to be invisible, and to observe hairpins.

For any two animals* A and B, there were once two sisters A' and B', one whose descendants led to animal A and the other whose descendants led to animal B. In fact, the sister A' is also the direct ancestor of ALL other species more closely related to A than B. (And B' is also the direct ancestor of ALL other species more closely related to B than A).

Dawkins calls the mother of these two sisters a hairpin (source). If you go back in time looking at ancestors of animal A you would eventually get to A' and then the hairpin. Then you can go forward in time on a different path (B') to eventually lead you to animal B. While this is a basic concept of evolution, this is something lost on a lot of people. The hairpin is the common ancestor of the two animals. It is not the same as a modern living creature. We are not descendants of chimpanzees and there are no crocoducks.

There are as many hairpins as there are species alive today minus one. Think of a tree where the tips of the branches (leaves) are modern living species, each point in the tree that splits (internal node) is a hairpin.

*The sisters idea breaks down when you get to closely related examples: such as me and my aunt, but the hairpin idea still holds.

2009/10/25

Pollution in China

Amazing, terrifying, saddening pictures of polluted areas. English. Chinese.


Scientific America video on lead poisoning from metal producing plants.

2009/10/22

Line of Sight

While working on my game, I decided that I will at some point want to have line of sight for a unit. This is how I did it.

The game is on a hexagonal grid, so to make it easier, I decided that a circle around the outside of a hex is the size of whatever blocks vision. All I had to do was check each hex to see if it blocks vision, then for each of those hexes, mark all the ones behind them as invisible. What I was left with was a problem like this:



The unit is at A, the hex at B blocks vision, and everything further away than B that is between the yellow and red lines is invisible. So all I had to do was find the equations for the two lines. They turn out to be really elegant. After many pages of math where I made mistakes and relearned algebra, I found the two equations and plugged them into my map editor for testing. Anyone want to give it a try? I'll post the answer in the comments.

Here are the results!

A Small, Simple Map with a blocking hex and a unit:



Showing the LOS:



Yay it works. Here's a bigger example. This is supposed to be a cave interior, so the black is wall, the red is lava and the rest is just ground. The selected unit is in the middle.

Without LOS:



With LOS:

2009/10/10

Atheist vs Agnosticism

This is kind of in response to my brother's post here.

First of all, atheism and agnosticism are not mutually exclusive. Atheism to me, and a lot of people who's views I agree with, is the rejection of theism. It is a lack of belief, not a belief in non-existence. An atheist does not necessarily assert that there is no god. Clearly, no one knows whether there is or not. Nor do we know whether the universe is all a computer simulation. We don't know whether magic exists, of if the Force is real and if flows through all of us and binds us. You could call me agnostic toward the Force, but this would send the wrong message. I do not believe in the Force, magic nor a god.

There has been much debate about the word atheism and whether it is the right word to use for the growing number of non-believers. Prominent atheists have suggested other words, some more condescending than others. Sam Harris doesn't like the use of the word because of its baggage. But it is important to recognize the bigger picture. The world (and especially the US) has a huge number of evangelical religious lunatics who believe Barack Obama is the antichrist or that they will receive 72 virgins in the afterlife. There are polls showing that atheists are the most hated and distrusted minority. IDiots and creationists (I know, I'm repeating myself) are constantly trying to stop the teaching of evolution and/or inject their own religious beliefs into the public school systems. It is for all these reasons and more that a large number of high profile atheists are starting to join forces and speak out. Groups like the Atheist Alliance, for example, are trying to create a positive voice for atheism (see here).

Finally, just to reiterate, you can either be a theist and believe in a god, or an atheist and not believe in a god. While it is true that a person who asserts the non-existence of god is also an atheist, that is not what we are all doing, and standing on the sidelines as a wishy-washy agnostic is not helping the greater cause for, among other things, womens rights and science.

2009/10/04

Sinfest FTW: Homophobia

Some Cool Eusocial Insects

Leaf Cutter Ants feed the leaves to a fungus and eat the excretions. They also produce anti-biotics to fight pests.



Termites also feed a fungus and produce some awesome architecture that regulates temperature like an air conditioner.