Stack Overflow

Mr. R doesn’t always live in your house, but he’s there now. He comes in from the kitchen, where he’s making something. He hands you a thin book. “Hold onto that for a second, will you?”, he says, and he hurries back out.

A moment later, he returns and reaches for the book, thanking you. Back to the kitchen he goes.

Another minute passes. “Here’s another one,” he says. “You can read it if you like.” It’s a joke. You’ve looked at the books before. They are full of 0s and 1s, not good reading.

He slips out again, then returns in a rush, bringing another book to place on top of the one you’ve got. “Just for a little bit,” he says.

This time it is a few moments before he returns. You are expecting him to take a book, but he’s brought another one. “Hang onto this, please.” He adds the book to the small pile building up in your hands. Such a polite guy.

He’s back almost as soon as he’s gone through the door. “Hang onto this, please,” he says, again. Strange, he said it exactly the same way.

It happens again. “Hang onto this, please.” The little pile of books is getting bigger.

“Hang onto this, please.” It’s very odd. His manner doesn’t change, he just keeps coming back with more thin books. He doesn’t seem to notice that you are starting to struggle to hold them all. He usually takes them back rather quickly.

“Hang onto this, please.” He isn’t stopping. The pile is much too high. One more book and the whole thing gets to be too much. The little books go crashing to the ground.

Stack overflow.

Recursive functions have their weaknesses.

 

Posted in Code | Tagged , | Leave a comment

The back-back way

There’s the way to the house, and the back way to the house, and then there’s the back-back way to the house.

The nice thing about the back-back way is that there are really no decisions to make. You follow the arrows, which generally means you are just staying on the paved roads.

You are turning this way and that, and you don’t know the names of the roads. You just follow the signs.

And you get where you are going.

 

Posted in Uncategorized | Tagged | Leave a comment

Quote: Writing

“People have writer’s block not because they can’t write, but because they despair of writing eloquently.”

– Anna Quindlen

 

Which is why I’ve given up on trying to be perfect. 🙂 Otherwise it would all be in notebooks.

Posted in Uncategorized, Writing | Tagged | Leave a comment

Picture of the week: Snow?


Snowy road

I really look forward to fall.

This isn’t fall.

It was only about a week ago that we were still in the 90s. What is this?

 

Posted in Uncategorized | Leave a comment

The runner who died at the finish line

I used to be in charge of a singles group in a small city. The founder was out of town and I was taking over until he returned.

I would send out emails and had people helping to plan events, mostly get-togethers at local bars or outdoor activities like hiking.

Because I was the one who had all the nametags and markers, I would greet all the new people.

One evening there was a new guy, fairly tall, maybe in his mid-thirties. I did the usual, said hello, made some introductions. He seemed nice and clean-cut, always a plus in this group. His name was added to the mailing list.

A couple of weeks later, there was an article in the paper about a death at a nearby race. It was about this new guy. I recognised his name.

He had finished the race, and then collapsed. Died. It was the most tragic thing I ever heard of while I ran that group.

Posted in Uncategorized | Leave a comment

Tomato Basil Shrimp Fettuccine

  • 1 tomato from your favorite garden or farmers market
  • Basil from your friend at work (or you can get it at the store if you are lucky)
  • 1 clove garlic
  • Fettuccine (spinach if desired)
  • 1 handful of cooked shrimp from the fish department in the grocery store (yes, I ordered a handful).

You can buy more shrimp and cook it if you like, but I didn’t need to have leftover shrimp so I only got what I would need, and I didn’t feel like cooking it, so I got the pre-cooked kind.

Start cooking the fettuccine.

Chop up your tomato and garlic and start heating them in olive oil. Cut or tear up your basil leaves into small pieces.

Add the shrimp and basil to the tomato. You only want to warm the shrimp up, they don’t need to cook more, so don’t let it sit.

As soon as the fettuccine is ready, drain it and put it in your widest shallowest bowl. Top it with the tomato shrimp mixture.

Enjoy!

 

 

 

Posted in Food | Tagged , | Leave a comment

Favorite: PostSecret

This one can get pretty dark, so it’s not the place to go for an uplifting experience.

PostSecret has been around for a very long time (according to my memory), and it is firmly rooted in the physical world.

People have to actually mail actual postcards to an actual address to get them featured here.

https://postsecret.com

People anonymously reveal secrets, some of which are disturbing, so you are warned. Sometimes it’s more light-hearted, of course, but secrets are scary things.

There is a need for people to be able to talk about things that affect their lives. This is one of those venues.

Posted in Sharing | Tagged | Leave a comment

How to get a free balloon ride

Once upon a time, I had a friend who had a husband and they knew a couple who had a balloon.

Before this, I had never thought about how balloons get where they are going and get back home.

What I learned was that the balloon gets folded up into a bag and the balloon, the basket and the fans used to inflate the balloon need to be moved around on a truck.

While the balloon is in the air, there is a crew that drives around, following the balloon, so that when it lands, they can gather it up and stuff it back into the bag.

For a brief time, I became part of the crew.

Our balloon with many others…

We would meet at ridiculously early times in places that were usually quite a distance from home. As the sun came up, we would be holding ropes as the balloon inflated.

If the conditions were right, the pilot would take a couple of passengers and fly off. We would get in a truck and follow, hoping the pilot would land in a place that was fairly accessible and had enough room to stretch out the balloon. By mid-morning, our work would be done.

It was an odd and exhilarating experience. The crew was wonderful to be with – you have to have a sense of humor when you are outside in the early hours, in the cold and spending a lot of time waiting. It’s safe to say most people would rather be warm in bed.

Nobody said anything about actually riding in the balloon.

Then it was time for the Albuquerque International Balloon Fiesta. Hundreds of balloons in the air, all at the same time. It was amazing.

And that was when I got my free balloon ride.

So all you have to do to get a free balloon ride is be part a crew for a few months, get up really early, wait around in the cold, hold some ropes and fold up the balloon after every flight, and be there when they offer you the ride.

Posted in Friendship, Try This! | Tagged , | Leave a comment

What I learned from volunteering at Kids Code Camp

  1. Volunteers should be contacted before 4 am on the morning of the camp, with parking directions and the name of someone to contact when they arrive.
  2. Students who are trying to catch up to the instructor are not really learning. hi
  3. Parents are very grateful when their child gets the help they need.
  4. I really do like helping kids learn to code.

I love programming, and it’s nice to be able to share my enthusiasm. I signed up for the morning session at a Kids Code Camp, something I’ve never done before.

The early morning email sounded a little desperate. The hour suggested that someone was either up late or up early making last minute preparations.

I made my way downtown and discovered that there was no parking at the school. I found a parking garage and eventually made it back, walking in with families who were bringing their kids to the camp.

Nobody seemed to know who I should talk to, so I just found a classroom and started helping kids get set up.

It’s got to be hard to determine how much you can do in an hour or two. This instructor had far too much material to cover. The only way to follow along was to keep typing quickly and correctly.

Kids were struggling to keep up, and didn’t have enough time to track down errors and learn how to fix them. Ideally, if you must do a class this way, you would have breaks where anyone could catch up along the way by opening a folder of prepared files.

I did my best to help kids get back on track, giving them hints on ways to debug the code. The instructor had to give the students a URL where they could find the completed code, because they didn’t finish the project.

After the morning was over, a few of the parents thanked me for helping their kids. It was really nice to see several fathers there with their daughters.

While I do wish the camp was more organized, I’m glad I volunteered. It’s nice to work with young people who are curious and creative, who have parents who are encouraging and involved.

I could see myself doing this again, maybe even getting involved earlier and organizing or teaching. Why not?

Posted in Try This! | Tagged | Leave a comment

Quote: Smile

“Smile, it’s not so bad.”

– Mr. Tyler

This was a math teacher in our high school. With his brush-cut hair and imposing stature, I always thought of Mr. Tyler as something like a prison guard.

But there were days when I would be walking around with my regular face, which doesn’t look happy by default, and he would see me and say “Smile, it’s not so bad.”

I don’t know how many kids he said that to over his career at that school, but I know that for me, it sometimes did make my day better. I may have actually managed to smile, or at least grimace in the attempt.

And it made me think maybe he wasn’t such a bad guy. Turned out he was a good math teacher, too.

Smile

Posted in Motivation | Tagged | Leave a comment