Wednesday, May 23, 2012

day 652

12:30 pm is first thing in the morning for our arkansas plumber.

...

arkansas isn't all bad, while the majority of the culture is complacent, ignorant and wasteful, there are those who care. eight of them took us to dinner tonight. good to know somebody still cares.


.pc

Tuesday, May 22, 2012

Saturday, May 19, 2012

day 648

i did it.

the best part was the support of family.

really, that's always the best part.

everything is nothing without family.


.pc

Monday, May 7, 2012

Friday, May 4, 2012

Thursday, May 3, 2012

day 633

oops! had a possible infinite loop in the last one.


.pc

day 632

nothing feels better than solving a programming problem, this one had me stumped for a while.



.pc

Thursday, April 26, 2012

day 626

ubuntu 12 is here!!!!!!!


.pc

day 625

what do: contagion, roseanne, dennis the menace, primal fear, grace under fire and prison break have in common?

all filmed in elgin.
(in some capacity)

.pc

Tuesday, April 17, 2012

day 617

26      for (i = 0; i <= 19; i++) {
27        j = (responses[i] - 65);
28        if(responses[i] == answers[i]) {
29          numcorrect++;
30          counter[i][j]++;
31        }
32        else
33          counter[i][j]++;
34      }
35  



should have been this:


     for (i = 0; i <= 19; i++) {
       j = (responses[i] - 65);

counter[i][j]++;
       if(responses[i] == answers[i])
         numcorrect++;
     }
 





---------------------------------------------------------------------------------------------------------------------------------


They do the same thing, if something is in both loops, it doesn't need to be in either (i.e. it should be outside the loop). I should have exercised DRY.


.pc

Monday, April 16, 2012

Thursday, April 12, 2012

day 612

bonding with professors is one of the greatest rewards of academia.


.pc