Thursday, November 26, 2009

The Most Pagan of Holidays

  1. Excessive gorging on food.
  2. Blatant American consumerism.
  3. A distinct lack of thanks.


Pessimist? No, I don't think so. I prefer the term "realist".

Wednesday, November 25, 2009

Friday, November 20, 2009

Go Blue!

The big game is tomorrow. Mandy and I have prepared by wearing our UofM apparel for the past week and only eating food that might possibly be considered somewhat close to blue and maize while avoiding any scarlet or gray colored foods (including plates, etc). Completely averse to anything I ever learned in statistics, I believe that we are overdue for our win. I have hope, and nothing anyone says to me can take it away.

Saturday, November 14, 2009

alarm.pl

This should wake me up in the morning!

#!/usr/bin/perl

select(undef,undef,undef,1) while (`date +%H:%M` ne $ARGV[0]."\n");
`ogg123 "\`find /mnt/winshare/itunes/Skillet | grep "\\.ogg\$" | sort -R | head -1\`"` while(1);

Friday, November 13, 2009

Supplements

Every day, I now get the following:
























Vitamin A70%
Vitamin C933%
Vitamin D100%
Vitamin E100%
Vitamin K13%
Thiamin100%
Riboflavin100%
Niacin100%
Vitamin B6100%
Folic Acid100%
Vitamin B12100%
Biotin15%
Pantothenic Acid100%
Calcium11%
Iron100%
Phosphorus5%
Iodine100%
Magnesium10%
Zinc100%
Copper100%
Manganese50%
Chromium17%
Molybdenum27%


...in addition to all the nutrients in my DC food (i.e., none).

I feel so awesome! I like experimenting with my body...

Sunday, October 25, 2009

Have I Been Lied To? (Again?)

The more I understand the Bible, the more I have this sneaking suspicion that I have been lied to all these years. Since grade school, we were taught that salvation is all about faith, and that there is nothing that you can do or not do that will save you. We teach such a faith-centered salvation and do everything we can to teach that the Catholics and Pharisees (the classic "bad people") say that you are saved by works, which is wrong. But I think I am finally starting to see that faith and works (i.e., deeds) are both required for the Christian walk, and that nothing is by faith alone.

Granted, the Catholics and the Pharisees are proverbially doing it wrong, but so are we by throwing in the towel on works! James 2 says, "What good is it, my brothers, if a man claims to have faith but has no deeds? Can such faith save him?...Faith by itself, if it is not accompanied by action, is dead."

Faith without deeds is useless! It cannot save you! For years, I thought that the only thing I needed to do was believe in God and have faith, and that this would save me. Well, it may or may not save my soul, but the point is even deeper than that. The point is that faith alone does not produce a Christian. Deeds/works/action is required, right alongside faith. Being the efficient person that I am, I figured that deeds were pointless if they didn't save you, so why bother to do them but to look good in the eyes of other Christians? But they do save you! No, they alone do not save you. But faith alone doesn't save you either. Salvation=faith+deeds. It's right there in the Bible, right in front of our faces, and I'm only realizing today.

Thursday, October 22, 2009

Ruby Proc Objects

In order to dynamically create methods in Ruby and then have those methods copied to a new object when it is duped, I stored the methods as instance variables of class Proc in the object and then did some pattern matching when duping the parent object to find and copy the Proc blocks. But after the object got duped, I got very unexpected behavior, as if the Proc objects that represent my dynamic methods didn't get duped. Behold:

"Proc objects are blocks of code that have been bound to a set of local variables."

Thus, duping (or cloning) a Proc object may give it a new object id, but it doesn't re-bind the variables. It'll still reference the same variables it referenced before. Good to know.