Friday, December 31, 2010

"Because They Work, Bitches!"




Science based medicine works. XKCD hits the nail on the head once again. Click the image to read the rest of the comic.

Sunday, October 31, 2010

Wonderful Quote

From Eric Rothschild, the chief counsel for the plaintiffs in the Kitzmiller v. Dover Area School District trial. During cross examination, Intelligent Design proponent Michael Behe claimed the immune system was irreducably complex and when pressed admitted he had not read the books and articles on immunological evolution. To which, Mr. Rothschild countered

Thankfully, there are scientists who do search for answers to the question of the origin of the immune system ... It's our defense against debilitating and fatal diseases. The scientists who wrote those books and articles toil in obscurity, without book royalties or speaking engagements. Their efforts help us combat and cure serious medical conditions. By contrast, Professor Behe and the entire intelligent design movement are doing nothing to advance scientific or medical knowledge and are telling future generations of scientists, don't bother.


As someone who suffers from one of those debilitating diseases of the immune system, I for one whole heartedly thank those scientists toiling in obscurity. Michael Behe and his ID brethren can suck an egg for foisting this nonsense on our school systems.

Sunday, October 10, 2010

Tweeting From the Command Line



A little while ago, Twitter removed the ability to tweet using HTTP Basic Authentication. This killed the ability to use a simple call to curl with your Twitter username and password. Interestingly enough, the November issue of the Linux Journal still mentions using the basic auth method to tweet from a script.

This will not work any longer now that Twitter is officially using the OAuth specification. Fellow CLIer's take heart, however, fortunately there is a way to use OAuth from the command line, it only requires a will and a tweepy. Tweepy is a python module written specifically to allow users to authenticate via Twitter's API and fire off tweets programmatically.

I used the method described here to setup my system checks for my home server. Thus far it's working well.

Thursday, June 17, 2010

"Your Silly Little Computation Requires Energy, Fool"

I hear the voice of B.A. Baracus when I repeat the title of this post in my head.

Our Universe is a quirky place (much quirkier and more interesting than your local psychic or astrologer make it out to be, but that's a conversation for another day). One of the most surprising discoveries of modern physics is the fact that energy can be neither created nor destroyed by any process.

Oh sure, we can move energy around with chemical, mechanical, electrical, physical, or nuclear processes but rest assured we cannot create any new energy from these processes. Burning a piece of firewood is a good example of a chemical energy conversion. By igniting a piece of wood, you are starting a chain of events that lead to a chemical reaction known as combustion. Combustion combines the hydrocarbons in wood with oxygen from the air; a reaction which outputs heat, light, and several elements (carbon, very little nitrogen, etc...)

Believe it or not, computers function as basic energy converters. More specifically the processor in your desktop, mobile phone, car, or about a gadzillion other electronic devices convert electrical energy into something useful like a photo of your dog. As a matter of fact, the more you push your processor to do something useful, the more energy it needs. This fact is easily demonstrated by a computer attached to an Uninterruptible Power Supply (UPS).

The job of a UPS is to maintain power to a device even if the source of electricity stops working. By attaching a computer to a UPS, you are able to keep using the computer even if the power goes out in your home for a few minutes. Most newer UPSs allow you to track the amount of power your computer is consuming and how much run time you have left. Run time is a measurement of how long the UPS will last in the case of a power outage and goes down when more power is being consumed by the computer.

The graphs posted below depict me forcing my computer to do some real work (encoding a home movie in x264 using 8 threads). All of a sudden, when the work (encoding) begins, the run time of the UPS drops from 14 minutes to 9 minutes and the UPS load goes up from 25% to 40%!

Basically, the processors in my computer are converting a home movie from one format to another by converting energy into work!

Neato mosquito!





Saturday, June 5, 2010

Blue Jay


I finally got a picture of the Blue Jay that's been visiting our bird feeder. I never realized how much bigger he is compared to the little House Finches and Chickadees until he landed on the feeder and it started to swing a little bit.

This picture is so blurry because I took it during the low light morning hours with our point-and-shoot Canon SD850 IS. I'll attempt to get a better picture next time I see the jay.

Saturday, May 15, 2010

What comes after bath time?

A rocking faux hawk, that's what!

Thursday, May 13, 2010

The Backyard Project

After several months of preparation, the sod for my backyard was finally delivered yesterday evening. A couple of neighbors and I laid the three pallets from Milberger's Nursery in a little under two hours! It was a lot of work, but definitely worth it.






"What happened to all the dirt?"

Monday, May 10, 2010

Indiana

We've been in Indiana since Thursday visiting family. Also, my sister, Jenni, graduated from nursing school. I've been continually surprised at how well Alex has dealt with being away from his home and normal routine. The kid has been great to travel with (other than kicking a poor ladies' seat in front of him in the airplane).

Sunday, April 18, 2010

Sunday Evening Blogging

A Simple Computer Science Quiz

Each of the people pictured below were responsible for major advances in computer science. Do you know who they are?

#1


#2



#3

Saturday, April 17, 2010

Neil Tyson on NASA

Neil deGrasse Tyson speaks eloquently on how NASA relates to the future of our country. I feel exactly the same way and I'm envious of his awesome powers of communication.



2010 New Computer (#2)

Here's a quick pictorial tour through the build process:


The SuperMicro Chassis arrives from UPS! I added a standard 3.5" hard drive for scale. This chassis is big.



Various states of working through putting the system together.







Done! (somewhat)



The reason I say "somewhat" done is due to the fact that the power supply that arrived with the case does not have two 8 pin CPU connectors. Unbeknown to me, newer Intel Xeon motherboards require two 8 pin connectors for a total of four 12 volt inputs (each 8 pin has two 12 volt inputs) for dual processor machines. The PSU in the SuperMicro case only has one 8 pin connector and a 4 pin connector.

I found a molex + 4 pin to 8 pin connector on newegg that will do the trick. (Watch out for the single 4 pin to 8 pin converters. Those connectors may solve your problem but only provide 12 volts on half the number of wires. If the CPU draws too much power, the two 18 gage wires coming out of the PSU may get hot enough to burn through their insulation.)

Ultimately, I'm left with a sad (depressing) state of affairs. I can't play with my brand new new $2000+ machine until I receive a $6 cable from newegg. Grrrr.....

Thursday, April 15, 2010

2010 New Computer (#1)

Here are pictures of my new computer parts. I can't start the build because the chassis and power supply have yet to arrive. I can provide, however, the list of equipment:

  • 1 x SuperMicro CSE-743T-645B chassis
  • 2 x Intel Xeon 5506 Nehalem processors
  • 1 x SuperMicro X8DTi-LN4F motherboard
  • 6 x Kingston 2GB ValueRAM
  • 2 x Segate 160GB SATA drives (rpool)
  • 3 x Samsung 1TB SATA drives (storage pool)
  • 1 x PQI 32GB Flash drive (to create hybrid storage pool)
You'll notice no DVD drive. Only network or USB installation for me! :)





Tuesday, April 13, 2010

D&D & Relationships?



While browsing the local Barnes & Noble bookstore, I came across the picture above. A B&N conspiracy to poke fun at nerds? A random attempt at humor by an unknown passerby? Either way, I found it damn funny.

Monday, April 12, 2010

Liquid Water... On Mars!?



The Mars Reconnaissance Orbiter, one of the coolest robots ever sent forth from Earth's warm berth into the cold deep unknown by NASA, has returned back some amazing data from it's HiRISE camera once again. MRO's primary mission is to orbit Mars and take high resolution photos in the name of SCIENCE! Luckily for us, it snapped the picture above which shows evidence for liquid water on Mars.

A billion years ago, liquid water was abundant on Mars. But now? We used to think "No way!" because there's so little atmospheric pressure and it's soooo cold. The question is, can water stick around for a few seconds or even minutes to create the channels seen above? Phil Plait over at Bad Astronomy has details.

Sunday, April 11, 2010

Sunday Evening Blogging


A new diet craze has swept the inter-tubes and has been lauded as "a revolution in weight loss". The claims of this diet are pretty amazing. Specifically, the claim I came across went something to the effect of "a friend of a friend lost 3o to 40 pounds in a month". Wow, if that's true, who needs liposuction?

Since my Sunday Skeptic antenna was keen on checking the veracity of this extraordinary weight loss claim, I began to poke around and dig up references and data on this new diet. It was called The hCG Diet. hCG stands for Human Chorionic Gonadotropin and is a hormone produced in pregnant women who are, well, pregnant.

The basic premise behind the diet is that by taking HCG along with dietary modifications, you can lose a ridiculous amount of weight. Up to 1 to 3 pounds a day. HCG proponents say that during pregnancy HCG almost completely controls a woman's metabolism and that in non-pregnant persons, HCG increases the metabolism similar to pregnant females.

Now you can either inject HCG or take it orally. Wait, what? I was under the impression that injection and ingestion had very different mechanisms by which a substance enters the blood stream. Whatever, maybe two modalities were researched and two different drugs were created to meet the needs of a discerning public.

The accompanying diet modifications require the dieter to intake only 500 calories a day. The HCG folks call this a Very Low Calorie Diet (VLCD). Seriously, after reading this statement, my jaw dropped. 500 calories a day isn't much at all. In fact, the FDA bases their percentage daily values on those Nutrition Facts labels on a 2,000 calorie a day diet. (If you haven't read the FDA site on the Nutrition Facts labels I linked to, take a gander, it's worth it.)

At this point, I'd become very skeptical of the HCG diet claims. Mostly because anyone on a 500 calorie a day diet will most likely lose weight due to a lack of proper energy intake. By only ingesting 1/4 the amount of energy your body needs to think, walk and talk your body is going to get the energy from elsewhere. Usually it gets it from the bodies internal store of energy, fat. You reduce energy intake, your body increases energy uptake from fat and, presto chango, you lose weight.

Truthfully, there are a lot of warning signs that the HCG diet is a fraud and probably shouldn't be followed. Kevin Trudeau's push of the diet for one. Trudeau is a modern day snake oil salesman who has been convicted several times for lying about his product's ability to cure you. I have very little sympathy for this man especially since he proffers fake 'natural' cures for life threatening diseases like cancer. It's disheartening to see someone bypass chemotherapy for raw vegetables.

Also, I did a quick check of pubmed.gov (a site that collects and indexes medical citations) and found that HCG's effects on weight loss had been studied and deemed no more effective than injections of placebo.

I did, however, take a little pleasure in skimming the book "Pounds and Inches" of the HCG diet progenitor one Dr. A.T.W. Siemeons. The book is a heap of silliness with nary a double blind trial in site but this quote tickled my fancy the most "Throughout his research, Dr. Simeons noted how patients lost significant amounts of weight while their bodies reshaped naturally- without exercise, and without effort." LOL! Without exercise or effort, the telltale sign of a weight loss charlatan.

So, if you're planning to lose weight, do your research before jumping into the next internet fed craze. And always remember, caveat emptor. :)

Sunday, April 4, 2010

Sunday Evening Blogging


This picture isn't very pretty. It's grainy and doesn't contain anything with sharp definition. Its content wouldn't make a good Michael Bay blow'em up showcase or a very good movie at all. Despite all of this, I find this picture to be one of the most profound ever snapped.

In February of 1990, the Voyager 1 spacecraft (V'ger, for all you Trekies) was nearing the edge of our solar system. With its primary science missions completed, Carl Sagan urged NASA to turn Voyager 1 around and snap a picture of the Earth from 3.7 billion miles away (6 billion kilometers).

You can see Earth in this picture by following the brownish band of color on the right down about halfway to a tiny blue dot. Sagan called this a "Pale Blue Dot" and wrote a book about it with the same name. Why do I consider this picture profound? Sagan answers this question eloquently:
Consider again that dot. That's here, that's home, that's us. On it everyone you love, everyone you know, everyone you ever heard of, every human being who ever was, lived out their lives. The aggregate of our joy and suffering, thousands of confident religions, ideologies, and economic doctrines, every hunter and forager, every hero and coward, every creator and destroyer of civilization, every king and peasant, every young couple in love, every mother and father, hopeful child, inventor and explorer, every teacher of morals, every corrupt politician, every "superstar," every "supreme leader," every saint and sinner in the history of our species lived there – on a mote of dust suspended in a sunbeam.
Interestingly enough, one of the technicians that designed the command sequence to turn Voyager 1 around and snap the picture was Carolyn Porco of the University of Arizona. You've probably seen Carolyn on History Channel's Universe among other things.

Pretty neat, eh? ;)

Sunday, March 28, 2010

Sunday Evening Blogging

Not too much going on at the Grafton household this weekend. I did a bunch of yard work type things. Mulching, weeding & feeding, moving stacks of firewood, etc... Though I didn't do much reading, I did find a book which proffers the idea that '0 is dangerous' and another book detailing Bertrand Russell's life. (He nearly went insane trying to prove mathematics is free of contradictions.) And it's a comic! I'll probably start it once I've completed GEB.

That's all I've got!

Thursday, March 25, 2010

There, I Fixed It.



The Zalman CPU cooler I purchased for one of my computers four years ago finally bit the dust today. My computer began making a horrendous noise disturbingly similar to what I imagine whale mating calls sound like. Yet... is it more disturbing that I sit around and wonder what whale mating calls sound like?

I decided to replace the loud ass fan but I didn't want to purchase another $50 Zallman for a socket 939 mobo that's probably going to be replaced soon. So I whipped out a pair of tin snips, a (ridiculous) mess of thermal paste, and a soldering iron to cajole a cheapo 12V fan from Altex into the Zallman heatsink.



Sunday, March 14, 2010

Sunday Evening Blogging


Reality Does Not Care How You Feel

Red
or Blue? I put it upon you, gentle reader, to examine both of these colors and carefully select one.

Have you made your choice? What process did you use to come up with your answer? Did you decide on red because photons humming along at the "red" wavelength are prettier than blue ones? Perhaps blue reminds you of an object you had as a child? Maybe red is the color of your hair?

Regardless of the reasoning behind making the choice, chances are that you prefer one color to the other. Most likely, you cannot defend rationally why you chose one color over the other. I can tell you that I generally prefer blue because... well I just like the way it looks.

Maybe it's because I've always been fascinated with pictures of the Earth from space. Do I like those pictures because they're blue or do I like blue because of the pictures? Unfortunately, when it comes to taste, rationality rarely plays a role in our decision making process.

However, rational decision making is one of the hallmarks of the human species (in my mind, at least). Most of the time, our decisions are automatic and don't require much expended brain energy. What clothes should I wear, what show to watch on TV, what kind of meal should I consume, etc...

Brain energy is not an infinite resource and we all seem to run at a forced deficit most of the time. We have children, work, household chores, media of all sorts, and family to distract us. All of this consumes our precious brain power. A good example; I've been attempting to get through a fantastic book, "Gödel, Escher, Bach: An Eternal Golden Braid" for a couple of months now and I've only made it through a couple of hundred pages (600 more to go!). I find the book intellectually challenging and wonderfully written, though I routinely make the decision to not read it because (I'm to tired | I want to watch TV | The dog threw up on the sofa).

Admittedly, I need to take care of dog puke before anything else, I just don't have many excuses past the first two listed. For me, the decision is made by extrinsic forces (i.e. work was difficult today and made me tired). By putting the decision outside my rational control makes life much easier in the short term since I am able to merrily sit on my couch and watch television. Unfortunately, the longer the book sits on my desk unread, the more it taunts me with a pointy stick of guilt.

So, how does one make a rational decision? By internalizing the fact that reality doesn't give two shits about how I feel. This is a very difficult thing to accomplish for an emotionally bound, arrogant individual such as myself but the clear fact of the matter is that the book is sitting on my desk being unread.

The process for rational decision making is wholly dependent upon facts of a particular situation. Since the aforementioned daily decisions are not that complex and are generally dependent upon taste more than facts, let's create an artificial situation that requires a complex decision. Purchasing a new vehicle.

I'm not going to talk about what type of car you are going to purchase, that is mostly a matter of taste and as I've already said, taste is rarely rational. No, I'm going to talk about the thing that matters to most folks, expense. So, let's first take a look at our choice of cars via this one metric. For the sake of brevity and point making the cars we can choose from are thus:

$100 Blue
$500 Red
$1000 Purple

Rationally, what is the best car to choose based on our single metric, expense? The obvious choice is the Blue car because it's the cheapest. So what happens when the facts change and you're required to take in new information in order to make a decision?

Instead of purchasing a vehicle for yourself, you are purchasing one for your family. The situation has changed and so have the variables in your decision making process. The Blue car, while cheapest, also has the least amount of safety equipment. The Red car and Purple car have similar safety equipment. Your family's safety now plays a role in your decision making process. Their fiscal safety is not as important as their physical safety but almost so. (One tends to lead to the other.)

Choosing the Red car in this situation isn't an irrational decision even though it's more expensive. Anti-lock breaks, side impact air-bags, and crumple zones (Reds got'em, Blue doesn't) are more expensive but also safer. You make your decision based upon facts rather than simple emotion.

Does that mean emotion shouldn't be apart of any rational decision? No, of course not. If your situation gives you the fortunate benefit of not having to worry about expense, then by all means get the Purple car that you're lusting after. However, it's all too easy to allow emotion to cloud your judgement and purchase that Purple car knowing that it may be a problem in the future.

My point is that rational decision making is not based how you feel but rather how the facts fit the situation.

Sunday, March 7, 2010

Sunday Evening Blogging



Since I'm feeling a bit under the weather tonight, I'm not going to write a long post on physics or math or skepticism. Originally, I had planned to write about very large numbers and how we as humans find it difficult to internalize them. This blog post does the subject much more justice than I could, however. I highly recommend you read his post and be prepared to have your mind blown (or at least a little tweaked). Also, you get to see what a million of something looks like.

The Family and I visited theMcNay art museum today. Not a whole lot to report. Alex was exceptionally well behaved (for a one year old) and the exhibits were pretty cool. I find art fascinating in a general sense but much of the subtly is lost on me. Science, robots, and computing take up too much of my brain.