Thursday, January 7, 2010

What Ruby Doesn't Have

  • The pre- and post-increment and decrement operators
  • Two's complement arithmetic
  • Constant constants (it's ALWAYS possible to modify or unfreeze frozen objects)
  • Declaring any arbitrary variable constant
  • Overriding of the assignment operator
Otherwise, I really like Ruby.

However, I think I love Objective-C even more. We basically learned it in a day, and it's surprisingly very intuitive and easy to use! Apple, you continue to make me a happy programmer.

Psalm 149

1 Praise the LORD.
Sing to the LORD a new song,
his praise in the assembly of the saints.

2 Let Israel rejoice in their Maker;
let the people of Zion be glad in their King.

3 Let them praise his name with dancing
and make music to him with tambourine and harp.

4 For the LORD takes delight in his people;
he crowns the humble with salvation.

5 Let the saints rejoice in this honor
and sing for joy on their beds.

6 May the praise of God be in their mouths
and a double-edged sword in their hands,

7 to inflict vengeance on the nations
and punishment on the peoples,

8 to bind their kings with fetters,
their nobles with shackles of iron,

9 to carry out the sentence written against them.
This is the glory of all his saints.
Praise the LORD.

Wednesday, January 6, 2010

Psalm 150

1 Praise the LORD.
Praise God in his sanctuary;
praise him in his mighty heavens.

2 Praise him for his acts of power;
praise him for his surpassing greatness.

3 Praise him with the sounding of the trumpet,
praise him with the harp and lyre,

4 praise him with tambourine and dancing,
praise him with the strings and flute,

5 praise him with the clash of cymbals,
praise him with resounding cymbals.

6 Let everything that has breath praise the LORD.
Praise the LORD.

Friday, December 18, 2009

2 1/2 Days

4 hours driving
13 hours sleeping
6 hours eating
1 hour showering
6 hours reading or talking
2 hours churching
2 hours waiting
28 hours working



and then she's back.

And yes, I have been micromanaging my life for the past week and will continue to do so until this presentation is finished on Tuesday. 4 days until I get my whole life back. (2 1/2 until I get half my life back)

Thursday, December 10, 2009

Tacosort

I found my new favorite sorting algorithm! It's called Tacosort, and its complexity is O(n*2^(k*n)), where n is the number of elements to be sorted and k is the bit size of each element.

http://web.ics.purdue.edu/~mabernar/tacosort/

So far my longest record is taking 1,269,829,745 tries to sort a 4-element array.

Tuesday, December 8, 2009

Javaland

I don't think this could any more accurately and humorously describe the abhorrence that is Java:

http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html

Friday, November 27, 2009

Christmas!

Thanksgiving has passed, and it's snowing outside! This can only mean one thing!