Archive for April, 2007

I have Asthma

Friday, April 27th, 2007

After going to the doctor several times for a cough that  I’ve had for a little over the past year, I took a breath test.  My doctor informed me that I have about half the lung capacity of a health person my age/height/weight/race ought to.  That explain why I’ve always gotten winded easier than I suspected I ought to.  The cool thing is that I’ve dealing just fine with this for my whole life. Hopefully, with treatment, I’ll have a much greater constitution.

My Loves

Monday, April 23rd, 2007

If you’ve spent any significant amount of time around me, you’ve probably heard me talk about two things I love: Joe Satriani, guitar virtuoso, and Python, the best programming language ever.  It looks like this guy agrees with me on the superiority of Python:

“…people don’t learn Python because it will get them a job; they learn it because they genuinely like to program and aren’t satisfied with the languages they already know.”

Haidinger’s Brush

Friday, April 20th, 2007

In addition to wavelength, which we percieve as color, light is also characterized by something called polarity. Unlike many other animals, most humans cannot detect the polarity of light with their eyes, unless they know what they’re doing.  There’s a phenomenon called Haidinger’s Brush whereby humans can detect polarized light with their eyes.  It works in different ways for different people, but for me, if i jerk my head to the right or to the left while looking at polarized light, I see a pale-yellow bow tie shape.

My comptuer monitor at work uses polarized light because it’s an LED display. Any time I have black text on a white background – which is to say, a quite frequently – if I move my head quickly, I see those brushes. Sometimes I forget I’m at work and waggle my head back and forth to see the brushes. I hope nobody’s watching…

On The Speed of Light and Video Games

Wednesday, April 18th, 2007

When you’re making a computer game with interactive 3D graphics, you need to compute lighting if you want your game to look remotely realistic.  The methods for calculating light on a surface can be either quite simple or very complex.  Simple algorithms act as if light passes through all surfaces after illuminating them, while more complicated algorithms allow light to cast shadows. The ‘best’ form of commonly used lighting is raytracing, which, as the name implies, traces rays from a light source to their destintation. (Actually, raytracing algorithms start from a viewpoint and trace outwards, but that’s not really important.) Raytracing allows for the most realistic shadowing, but it’s the most computationally expensive.

The actual physics behind light aren’t all that complicated, as long as you’re only concerned with how bright objects look and you don’t care about what happens when light goes through tiny holes or passes through irregular media. (Answer: weird stuff.)   The reason programmers put a lot of work into lighting algorithms is that computing the effects of light on a scene can take a lot of time. Real-time lighting algorithms generally rely on tricks that allow programmers to ‘get away’ with not actually computing everything properly.

In my Philosophy of Time course, we recently discussed relativity and its implications as to the meaning of time. While sitting in class yesterday, I remembered an idea that I first had while taking modern physics several years ago.  All computer lighting algorithms of which I am aware treat the speed of light as infinite.  It’s not a bad approximation because from the perspective of your typical human being, it might as well.  Does playing an upperbound on the speed of light allow you to ‘get away’ with anything computationally?

I’m pretty sure the answer is yes.  The speed of light is also theorized to be the speed at which forces are transmitted. In other words, if the sun were to ‘dissappear’ right now, we wouldn’t see the sun dissappear until about 8 minutes after it happened.  The same is true of the sun’s gravitational pull – the earth would continue to move in a circular orbit until about 8 minutes after the sun explodes.

If you had a giant computer simulating the interaction between the earth and the sun, the interaction could be parellelized quite nicely, because any change at the sun won’t be able to immediately effect anything happening on the earth. If the force of gravity were transmitted instantaneously, however, as soon as the sun exploded you’d have to recalculate earth’s orbit.

I want to do more thinking on this subject, and lorenz contraction / expansion (the tendency of objects to change drastically in size as they approach the speed of light) and how it could possibly be used to speed up a computer simulation. If it turns out that lorenz contraction does allow you to compute things faster, it would be more evidence for me that the world is, in fact, a computer simulation.

On Boredom

Tuesday, April 17th, 2007

I’m working on a Lego Robot, using a Handyboard, for my AI class. It’s a lot of fun. My brothers had told me about the robot project they worked on their first year at OSU, but I had no idea how much fun it was. The current assignment is to get the robot to drive around on top of a table, looking for a light source, and avoiding falling off of the edge. In order to avoid having the robot get stuck in a corner, I implemented what can best be described as ‘boredom.’ Every time the robot decides to perform an action, if it’s a ‘boring’ action, the robot’s boredom counter is incremented. Other actions are ‘exciting’, causing the robot to decrement its boredom counter. The counter itself gradually ticks down over time. If it ever gets too high, the robot just stops whatever it was doing and does a complete about face, hoping to find something more exciting to do. Without the ‘boredom’ mechanism, the robot can get stuck in some kind of rut.

I had the idea several years ago that perhaps ‘boredom’ was essential to our survival as a species. Whenever I get bored, I go look for something to do. Sometimes, that leads me to something productive. If we human beings didn’t get bored, we might become content just to have enough resources to get by. My guess is that lots of important ideas were discovered by people who could easily afford to amuse themselves doing whatever, but would just get terribly bored.

My whole life has been a struggle to avoid being bored. I get bored very easily and don’t deal with it well. It’s interesting that a feeling that causes me such frustration could be essential to the survival of the species. I suppose that wouldn’t be the first time, though…

I gave a presentation on my comptuer science research today, and this crazy old guy came up and asked what this research was going to do to solve the humanitarian problems in the world. I told him that wasn’t the focus of my research, and we got into an argument about whether or not the Humanities were infinitely superior to the Sciences.  That’s a topic for another post, however.

On Taxes

Monday, April 16th, 2007

Taxes are due today. Every time I do my taxes, I feel my temper gradually increasing as I have to trod my way through a ridiculous mess of invasive personal questions. The best part of the whole mess is that the people who design the tax system don’t care how complicated it is, becuase they can just hire someone else to do it for them.

Seriously, Now

Saturday, April 14th, 2007

What genius came up with the idea of selling popcorn in movie theaters? It’s probably the noisest snack you could eat.

Next Year

Friday, April 13th, 2007

I have decided that I’m going to go to UNC for Grad School in Computer Science.  As of right now, my plan is to get a Ph.D, but knowing my mercurial temperament, that’s subject to change.  I was interviewing for a position with Epic Games, and I got the impression they liked me but couldn’t justify hiring me over people who’ve been working in the industry for years. It was worth a shot, though.

On Politics and Intelligence

Friday, April 13th, 2007

We had a ’round table’ type discussion in my AI class today about the Turing Test and the feasibility of algorithms that can pass it. In particular, the discussion centered on the Chinese Room thought experiment. The “Turing Test” is a method proposed by Alan Turing (although he didn’t call it that) to tell whether or not a computer is intelligent. Basically, a human converses with the computer via an instant-messenger style interface for a half hour, and at the end of the half hour, the human has to be able to tell whether or not the computer actually was a computer or was a human being.

This guy Searle argued that even if a computer could pass the turing test, it still might not have any understanding. A computer follows a set of rules to take input and produce output. Suppose we designed a computer that could easily pass a turing test, provided that turing test was administered in chinese. When presented with sentences in chinese, the computer would follow its rulebook and respond with some more chinese. If a human being were to sit in a room and follow the same algorithm that the computer followed, he could be said to be “passing” the turing test for intelligence, even though he would have no understanding of chinese. Searle argued that his “Chinese Room” example means that passing a turing test doesn’t make a computer intelligent.

First, let me state my opinion that arguing about wither property p applies to object x is pointless unless you’re dealing with a formally defined system. Then, you can prove either way or perhaps prove that “p applies to x” is undecidable. Either way, the nature of the debate is pretty simple. When you deal with that messy place some folks call “meatspace,” however, the arguments just get ridiculous. Invariably somebody brings up what “webster” says is the case. Words mean slightly different things to everybody that uses them, and these arguments almost always boil down to what very abstract words mean to individuals, which is why I think it’s stupid to even argue about such things. Either you think p applies to x or you don’t; there is no right answer. I tried, then to answer in terms of my understanding of how must people define intelligence.

Suppose you ask a person “Alice” whether or not an agent “Bob” is exhibiting intelligence. By agent, I mean anything – person, computer, animal, or particle. In my experience, Alice will only say Bob is intelligent if Alice thinks that Bob makes decisions in a manner roughly isomorphic to the way she (Alice) makes decisions. In other words, most people will say that something that doesn’t think in the same manner that they do is not intelligent. An algorithm that uses brute force to make moves in a game of chess operates in a manner so different from most of us that we won’t label it as intelligent. If the algorithm has a way of evaluating the value of each move based upon one or two predicted moves, uses knowledge of the history of its oponent, and perhaps makes mistakes, more people would be willing to label it “intelligent.”

The World of Politics is full of examples. How many pundits decry those who dont share their opinions as stupid? I saw a magazine cover once, asking about the result of the 2004 election, saying “How can 59 Million people be so stupid?” The 59 Million number was supposed to be the number of people that voted for Bush. Unfortunately for the Daily Mirror, counting after the election increased the total number of votes for Bush to 62 Million and the number of votes for Kerry to 59 Million. Such are the dividends of arrogance, I suppose.

As for whether or not machines could ever posses intelligence, I think that if you want say that machines can’t ever posses intelligence, you must either conclude that humans don’t posses intelligence, or that humans are somehow magical. My reasoning is simple – if you believe in the laws of science, you believe that humans are made up of particles that follow rules. A computer could simulate a human being atom by atom using the same rules. Unless you think that humans are somehow “magic” in that they don’t follow the same rules as the rest of the universe, you’d have to conclude that a [sufficiently powerful] computer could do anything a human mind could do. As to whether this will ever be feasible, that’s an entirely different debate. My answer is a solid “maybe.”

On Science and Logic

Sunday, April 8th, 2007

I’ve been doing a lot of thinking lately. About science and knowledge and what we can know. The claim could be made that this recent spurt of thought is a result of my being in a philosophy class, but that would be untrue because I’m always thinking about this sort of thing anyhow.

I realized a while ago that pretty much everything we do is based upon the premise that the future will be something like that past. I don’t know if this in our biological wetware or what. That premise is the basis of all science. We say “For every force, there is an equal, opposite force” (Is this really true ? I have an idea now…), but we say this is true because it always has been. That’s really the main reason, when you get down to it. We’ve never seen it not be true. How rational is it to operate in that manner?

Suppose I said:

I’ve never been to France. Things that have not happened in the past will not happen in the future. Therefore, I will never go to France.

You’d think I was crazy if I used that logic on you. But it’s not really any different from me saying:

We have never seen a perpetual motion machine. Things that have not happened in the past will not happen in the future. Therefore, we will never see one.

The more physics-educated amongst you may object that the second law of thermodynamics prevents this from happening. Fine, you jerks:

We have never seen the laws of thermodynamics violated. Things that have not happened in the past will not happen in the future. Therefore, we will never see the laws of thermodynamics violated.

Why does the same line of reasoning make you sound like a jackass in one case, and  a reasonable person in the other?

Oh, and by the way. For those keeping score a home (Does anybody read my blog? Who am I kidding? (stray thought: the rules for the placement of parentheses and quotes and such are stupid so I use my own, more sensical rules)), Bruce Schneier, a Really Smart Guy®, apparently shares my opinion on Digital Rights Management: That DRM is a defect, not a feature, and it should be made extinct.