Monday, December 13, 2010

Monday: data types

Sorry, I'm a bit rambly today. And it's probably about something that most people don't care about.

Data types got me again.

I wish that when I say "does 2981000 = 2981000?" the answer would always be yes. But no, the answer is sometimes no. Because apparently one of them is really a string and one of them is a number.

As much as I complain about this, it's been one of my largest problems with the program I've written and so I'm always on the watch for it. Sadly though, it also tends to be a latent error as the question is often "does 298A231 = 298A231?", to which the answer is always yes.

Don't you wish that the computer was just smart enough to know what you want?

P.S. I don't want any comments about any crazy camel programs that could do this. :p

Sunday, December 12, 2010

Sunday: this and that

Our church had it's Christmas play today. I thought it was really good. It had an interesting introduction by Luke, the author of the story. And it had some funny parts (like the innkeeper and his wife with their dialog back and forth).

All of our snow is gone because it was rainy today. I'm rather jealous of everyone that getting the snow storm right now.

I still haven't swiffered the floors. They really need it but I keep not doing it.

However, I still have ten fingers. I just counted. If we only had eight fingers (but still had ten toes), do you think our number system would be base ten or base eight? My guess is base eight.

I'm going to go make some spice tea.

Saturday, December 11, 2010

Saturday: cookies

Today I made cookies for an event at church and put two M&Ms on each one. I wondered what the red-red, green-red, and green-green distribution was, so I counted.

Red-red: 19 (23%)
Green-red: 50 (60%)
Green-green: 15 (17%)

This tells me I need a larger sample size. Or possibly that there is a higher percentage of red M&Ms. But probably that I need to make more cookies.

Friday2: drinking

I was taking my shower while Ben was getting ready for bed last night, and I said I was hurrying to finish because I was so thirsty. So Ben got a cup of water and handed it to me. Wasn't that nice of him? On top of that, I got to do something that I've never done before: drinking in the shower.

Friday, December 10, 2010

Friday: YouTube

Ben sent me this link the other day. Since then I've watched a lot of their stuff. I like the collages of the singer(s) and instruments.




This series of videos is also pretty fun. It's between the instrumentalist/producer of the video above and another guy, but they played pop songs with random instruments, such as a recorder. Here's the first one to get you started.

Thursday, December 9, 2010

Thursday: a thing that annoys me

Today I had a stomach ache on and off for most of the day. I'm blaming the tea I had with breakfast.

While stomach aches do annoy me, there was something that annoyed me more: not feeling sick enough to go home. Sure, it was bad...once in a while. And it's a stomach ache, so it wasn't contagious nor did I expect it to stay around for very long.

I'm also annoyed in the mornings when I don't feel great but don't feel bad enough to stay home. It's the same thing...I expect my symptoms will go away soon and I can still function even while not feeling well. I don't really have a good reason to be home, except that I don't want to be at work.

Wednesday, December 8, 2010

Wednesday: a story from Monday

Well, this story happened on Monday but I can tell it today because it was about exercising and we exercised today. I don't like trying to spell exercising. It always comes out wrong (and I've tried writing it three times and they've all come out differently).

Anyway....

I was biking along, probably about 15 minutes through my workout when I take a break from reading my book and put my hands on the automatic heart beat reader.

I wait a moment.

I'm at 88 bpm
87
86
85. Hmm, this is odd. It seems to low.

Wait, it's changing again!

188
187
186. Hmm. That's rather high.

Wait, it's changing again!

122. Well, that seems more normal but by this time I don't trust it. To have a different of 100 bpm with no significant change in activity level must mean it isn't getting a good reading.

So I go back to reading.

(Did you like that juxtaposition? I just realized it was a rather boring story and needed to do something so it would have a cool ending.)