Tuesday, May 15, 2012

The Snort (or a philospohical discussion of pre-adolescent literature)

Are You My Mother? by P.D. Eastman was my favorite book as a child and one of the first that I learned to read.

Hmm, I'm just thinking now of the first book I remember reading. I can't recall the name, but the story was about an inchworm who spins a cocoon and becomes a butterfly. The sentences were very simple (something like "Hairy was a worm. He liked to eat. He spun and spun and spun."), and the pictures were basic and colorful. Wish I could remember the name of the book... I looked on Amazon but I'm not seeing anything (there's a book called "The Very Hungry Caterpillar", but that's not it, or is "The Inch Worm").

As evidence that this post is a long time in the making, between writing that last paragraph and this I spoke to my mom about that first book. As I spoke to her I remembered the name was Gus. That Gus was a bug. And he was fuzzy. And he runs and runs and runs. Armed with that recalled knowledge, I found the book on Amazon. But that wasn't the point of this post.

The point was, for some reason I no longer remember, I ended up reading the reviews on the Are You My Mother? book. Most of them were 4 or 5, completely expected and what I would rate it too. But I noticed a handful were 1 star. Wondering how anyone could rate such a cute and simple children's book 1 star, I read through those reviews. In brief, they complained that it either was scary (the snort!), taught that children should look like their parents, or was improper for children because the mom left the bird alone for a some time.

First off -- it's a children's book, not some study of deep theology or a comprehensive philosophical framework; take a slow breath and give it a break.

It doesn't teach that all children look like their parents. This bird looks like its mom, but its a bird. Just like a human will look like their parents. That is, he or she will look human. Nothing more, nothing less.

Is it scary? I suppose a little, but that's kind of the point. That not everything that seems scary at first really is. (Now, one could argue that this teaches children to be too trusting of strangers or that anything that's scary isn't really, but again, it's a children's book!)

Basically, my point is: what does it say about us as people and a society if we negatively criticize such books? The action, and the thinking which leads to it, is not progressing us forward; it is the same attitude that would have us spend our lives cocooned in a padded room, breathing bland oxygen and sucking a protein slurry for fear of anything dangerous or different.

That last sentence made me think of Aragorn's speech in the Return of the King movie while standing at the Gates of Mordor:

"I see in your eyes the same fear that would take the heart of me! A day may come when the courage of men fails, when we forsake our friends and break all bonds of fellowship. But it is not this day. An hour of wolves and shattered shields when the age of Men comes crashing down! But it is not this day! This day we fight! By all that you hold dear on this good Earth, I bid you stand! Men of the West!"

If we fail to harness and tame our reason, and to trust and embolden our faith, we'll inevitably end and err to one side or the other. We'll dismiss everything with a trite and jaded eye, or we'll drift aimless with every wind of fate or fashion. We'll give 1-star reviews to children's books because they both speak too rationally (though simply) yet not comprehensively about life. We'll wonder where the magic of childhood's past has gone, and fearfully squash any hint of its continued existence.

And seriously -- this is one of my favorite books, how dare you give it less than four stars! ;)

...

Here's a YouTube reading of Gus. The drawings are different (someone redrew them for this video), but the reading is the actual text.

Oh, and someone made a neat checkbook cover from the Gus book: http://www.etsy.com/listing/18472163/checkbook-cover-made-from-recycled

Sunday, January 29, 2012

Baby help: gadgets, appliances, and other paraphernalia -- Part 2

Playing in her Jumperoo at 4 months
This is a continuation of my previous post about the various and sundry items which have helped our new parent experience.  Continuing on, we move along to...









Bottle Warmer

At first we used this one all the time, The First Years Babypro Smartwarmer, and it worked great for smaller amounts such as infant baby formula when we were first getting Sophia to accept the breast. Soon enough though she got the hang of it and began refusing all bottles. Occasionally though we would use it for reheating and, honestly, as the volumes of liquid have increased (and we're trying to reheat frozen from the freezer) I don't think this warmer has been doing that great of a job. I think other reviews on Amazon have had similar problems too, so I wouldn't recommend this one.

Bottles

Just like the bottle warmer, we haven't used many bottles since the first month or so. However, we did have good beginner success with the Playtex BPA Free VentAire ADVANCED Wide Bottles 9 oz - 3 Pack (Colors Vary). Cleaning out these bottles is a little more tedious since they have multiple components, but they work pretty well and baby didn't get very burpy at all with them. The best part though was the wide mouth and large, lowe-flow nipple, which was really helpful during the first weeks when our little darling had a difficult time latching on (the lactation consultant mentioned the roof of her mouth was pretty high, so she wasn't getting the touch on the top of it that would signal her to start sucking).

Swing

I'm afraid she's starting to get a little big for her swing, (similar to the Fisher Price Cradle n Swing, My Little Lamb), a great pass-on from some friends of ours. Often you hear stories of children peacefully sitting and falling asleep in their swings, to rest for hours upon a time. Well -- those stories are not about our little girl. I don't think its any fault of the swing though, she's just not one to fall asleep in it unless she's very, very tired. Even in the car seat, which every website and blog and book mentions as the ubiquitous get-baby-to-sleep fallback plan, did not work for her until after 3 months of age (and a long and tiring 9 hour car ride). Anyway, all that is a long-winded way to say that now she plays well in the swing even if she doesn't sleep.

Jumperoo

This is probably one of our best purchases. She absolutely loves her Fisher-Price Luv U Zoo Jumperoo -- we had to stick a little pillow underneath it because when we bought it (she was 3 - 4 months old) her little legs didn't reach the ground. All the same, she immediately got the hang of it and was soon bouncing up and down to her (and our!) delight. She'll still occupy herself for quite a while in it, though unlike some of the reviewers I don't think she's ever worn herself out so much that she falls asleep. Again, not that kind of kid I suppose. I can't say enough though to convey how much she loves this thing, though.

Play Yard

This came in useful when we took the aforementioned 9 hour car ride to visit my grandmother. Otherwise, our playard, which is kind of like the Graco Pack N Play Playard with Bassinet, Pasadena hasn't seen much use other than as a fun fort for cats to crawl under. Perhaps when Sophia starts crawling and we need a contained space to occasionally keep her in will we start getting more use from it, but frankly trying to set it up with the bassinet and changing table option is a HUGE pain. Keeping it solely in toddler mode is much easier, it simply folds up then. The other options require assembling and disassembling metal rods and folded pads each time. Also, when baby was sleeping in the bassinet those folds caused her to rotate and slide toward the middle each night, laying crosswise (she's perhaps a little tall for her age, and at that time of 3 months she just barely fit crosswise).

Bassinet

I'm sure she outgrew her The First Years 5 in 1 Carry Me Near Sleep System, Cream for too quickly for my wife, but it did last us for about 3 months. This bassinet was great to have -- the adjustable height allowed it to fit just perfectly beside our bed and the ability to rock helped a lot during the first few weeks in getting her to sleep or stay sleeping. The cover was nice too as well as the white noise option (although we did eventually replace that with a ocean waves recording that I purchased from iTunes and downloaded to my iPod). We didn't make much use of the ability to carry it around, but when we did that was nice to have. We didn't use the changing table at all and I kind of think that would be a pain if that was your primary changing table, nor did we use the included nightlight (too bright for a regular nightlight and too narrow of a beam for use as anything else).

I think the only real downside is that it doesn't fold up and store easily (which is also good -- you know it won't suddenly fold and collapse on your during use!), so for now we have an empty bassinet still sitting in our master bedroom.

Alright, I think that's enough for this post. Be sure to check back soon for my final post on this subject. I don't know if any of this information will be useful to anyone, but it has been fun writing it and remembering as well the fun (and not so fun) moments we've had with each product.

Thursday, January 26, 2012

Baby help: gadgets, appliances, and other paraphernalia -- Part 1

I thought I'd take a moment and share some of the items which have been helpful to us as new parents. At the end, I'll also throw in some which either weren't helpful or should just plain be avoided. Luckily we haven't experienced too much of the latter -- hours of reading online reviews, many visits to the store, and helpful advice from friends and family have certainly been a factor there. So, let me share what little I've learned.

These are purely my opinions, and my wife may have a little different take on some of the details. :)


Strollers

This seems as good a place to start as any. We have been very pleased with our current stroller, The First Years Wave Stroller, Black/Red, and we've also had many people comment positively about it when we're out and about. Probably the key deciding factor for us was the ease with which it can switch between forward or rear-facing while keeping the wheels facing in the proper direction. Some strollers can switch as well, but then you end up with the (often) smaller swiveling wheels in the back and it becomes much harder to manuever. This stroller not only avoids that problem, but its so easy to switch that you'll find yourself gladly doing it to keep baby out of too bright sunlight or gusty winds (or the annoying stranger). The stroller has a car adapter which fits most models, has nice large wheels which turn easily, a decent brake, adjustable height handle, and an ok storage pouch on the bottom.

The only real downside is that even folded up this stroller still takes up a lot of space. It fits fine in our Nissan Murano, but if we had a smaller car without much trunk space it may make this less attractive.

Recently we had to take a long trip to eastern Europe (I'll have to blog about that later). In preparation, we purchased an umbrella stroller that we could more easily fold-up and travel with but that would still offer decent protection from the elements, since we were traveling in the middle of winter. After trying out a few models and reading many reviews, we ended up in the right time and place to get a good deal on the Bumbleride 2011 Flite Lightweight Compact Travel Stroller, Seagrass. This little lightweight did a great job of manuevering through crowded airports and handling the (very) bumpy and hole-ridden walkways of the city we visited. Being an umbrella stroller there's not a lot of storage, but it served fine for our purpose and will really come in handy when we start taking Sophia visiting to different places (like zoos, parks, relatives, etc).

Car Seat

Speaking of traveling, most days if you're going to get there from here you'll be doing it in a car. We ended up starting with the Chicco KeyFit Infant Car Seat - Limonata as our infant car seat. At some point we'll need to switch up to a convertible, but in the meantime this has been a very handy seat. In our car, the base installed nicely and securely, and the seat itself is very easy to fit in and take out. Sophia seems comfortable in it; earlier she wasn't a big fan of car seats in general and even still she hates having to get buckled in, but once that is done she settles right in and doesn't complain at all.

A friend recommended to us when choosing a car seat to find the lightest one we were comfortable with, because when you're having to carry it around everywhere (and believe, you will!) you'll want as little extra weight as possible.

Wipe Warmer

Personally, I didn't think we needed one of these but after we got the Munchkin Warm Glow Wipe Warmer I'm glad we did. It's not even about having warm wipes (which I'm sure is nice, but I don't think the baby really minds most of the time), but about having a solid (read: heavy) wipe dispenser which keeps them moist and readily available. Being a tad on the heavy side is necessary because once those wipes start getting near the bottom of the pile they have a tendency to want to come out in one big heap and your dispenser needs to have enough heft to it to hold them down while you're busily yanking with one hand and desperately trying with the other hand to hold the baby back from sticking all available appendages into a big, stinky, messy diaper. Which leads me to my next item...

Diaper Pail

After you've finally wiped that cute bottom clean you need somewhere to dispose of the hazardous waste. We've been using the Munchkin Arm and Hammer Diaper Pail, White and I've been generally pleased so far. Our cute little girl can produce some things that are not-so-cute and not-so-little, so it's nice to have something close by that is relatively easy to dispose into and keeps the smell contained. I'm not sure the baking soda portion is doing much (as most reviews note), but even so it does a pretty good job of keeping things under control. The bags aren't too badly priced, and you can often find them on sale at Babies-R-Us or Target.

Part 2 coming soon!

Friday, January 20, 2012

A "little" update

It's been more than 6 months. In fact, in 5 days it will have been seven months. When she was first born, a friend told me "the first three months will seem to take forever, but then next three will go by so fast." I didn't realize just how right he was. Not that there haven't been times (like holding her screaming at 2am in the morning) when everything seemed to go pretty slow, but then I look at her smiling, eating, and reaching excitedly for the next fascinating thing, such as a cautious kitty cat, and I wonder how did we get here so quickly.

From then

To now
Those boots are the cutest things on her. From the right angle, her feet look so overly huge in them. :)

Her face is filling out and developing so you start to see her as a little child and not just a newborn, and she's getting taller every day! It's so amazing to me, and even when Tasha and my nerves are frayed, our energy reserves are past depleted, and we're in danger of falling over on the spot from sleep deprivation, I don't want to miss a single moment of her.

I wonder how quickly the next 6 months will go by?

Saturday, November 12, 2011

Presumed Innocent

It's been good to get back into coding after several years away from it. Things are starting to click for me again, and it's interesting to see how much things have changed (and how much they've stayed the same!)

One thought that occurred to me last night as I was working on a subtle bug was the idea of presumption of innocence in law, and how it applied to coding. Basically, there are two ways that one can approach a criminal case: a) you can assume that the person being accused is guilty and ask them to prove their innocence, or b) you can assume they are innocent and ask the accuser to prove their guilt. Either position has some drawbacks, but the general consensus is that (b), the presumption of innocence, is the most civilized manner in which to construct law.

So how does this relate to coding? Much like the law, we code to define a certain conduct of behavior and the consequences for not following that conduct. And also much like the law, we can code with the assumption that the user is innocent or guilty. Consider the simple if - then - else clause. Typically, this is written as

if (something_that_is_true) {
  then_do_this();
} else {
  then_do_that();
}

At minimum, we can remove the else (and in some languages the surrounding braces too, but I'll be sticking with Java syntax), to just:

if (something_is_true) {
  then_do_this();
}

What if we consider "true" as equal to innocent, and "false" as equal to guilty?

Presumption of Innocence would suggest that we assume truth and only code for guilt:

if (something_is_false) {
 then_do_that();
} else {
 then_do_this();
}

Or even better, for languages that support the construct:

unless (something_is_false) {
  then_do_this();
}

If you aren't using such a language, but do support ad-hoc returns from functions:

if (something_is_false)
  return;


then_do_this();

The idea being that unless guilt (falseness) is proven, you assume truth (innocence) and proceed with code execution. In contrast, presumption of guilt would only execute code if it is proven true (innocent):

if (something_is_true) {
  then_do_this();
}

Most of the time I find myself mixing styles. Sometimes coding with presumption of innocence, sometimes with presumption of guilt. I wonder what would happen if I only ever used a single style? Would this be better or worse, or no change?

Sunday, October 30, 2011

iFun

I was excited because I had a chance to get to sleep (relatively) early today.

I was also excited because I had started the process of upgrading my phone to iOS 5.

Apparently these two states are in contradiction to each other and cannot coexist. Three hours after starting the process my phone is finally in the process of "restoring" the apps. I'm hoping its not much longer until everything is done. I can't just leave me phone to complete the process on its own either because by the miracle of technological convergence, my phone is also my alarm clock. So I need it working before I go to sleep.

Seriously -- did my internet connection suddenly get reduced to a 56k modem and my phone flip from usb to an rs-232 serial port!?!?

All this and I don't even get to enjoy Siri...

Thursday, October 27, 2011

Get It Done (How To)

How do you get things done and accomplish your goals? Search for this on Google and you'll find, oh, about 93 million results. And a lot of them are trying to sell you something too. Want a secret? If your goal is to sell a book, make it a "how-to" book. After all, Amazon has only 499,071 (oops, now it's 499,072) for sell.

Ok, so obviously there are a thousand different opinions on how to accomplish your goal and a hundred thousand success stories for every one. All of them claim to be the secret sauce, and all of them have that rave review from the friend of a friend. However, discounting the claims of your best friend's grandmother's hair dresser, what does science tell us about how to accomplish your goals?

1. Don't tell them to anyone when you start. There's a short but informative Ted talk that explains it well, but the gist of it is, as soon as you vocalize your goals to another person your brain produces a small rush that is similar (though much less powerful) to that feeling you get when you actually accomplish your goal. The problem is that now that you've experienced that nice euphoria you have much less incentive to go through the hard work and pain of accomplishing the intended goal. Eventually you're going to tell people your goal, but get going on it first. Put in some sweat and effort, enough that when you do tell someone and you do get that little feeling of pleasure it isn't enough to overcome the effort you've already put in. At that point, your brain will keep saying "I need the real thing now" and it won't let you settle for less. But speak too soon and you'll have hijacked your effort before you even started.

2. Define your goal. Make it SMART. If you're the visual kind, diagram or map it out. Or make an audio recording of yourself talking about it (this can also double as practice for when you perfect your elevator pitch).

3. Have someone who will keep you accountable. Ok, so this kind of sounds contradictory to point #1, but it's all in the timing. First you need to keep things secret, but once you've dug in and actually started, it will help you a lot if you have someone who will ask you the hard questions and keep you accountable. They can also help you celebrate and, when the going gets tough, remind you why you even started in the first place.

4. Pace yourself. You won't go anywhere if you wear yourself out. Know your limits and push them a little, but remember that most goals are marathons and not sprints. That being said, the old saying of two steps forward and one step back often holds true. Most of our growth and accomplishments don't happen linearly but in spurts, and often we experience a slight regression before the spurt occurs. I don't know the scientific name for this, and there are many articles and books out there claiming to help you "skip" over it, but fact is this is how your body/brain grows and you'll just need to go through it. So just keep reminding yourself that it will be there, that it will end, and that when you come out the other side you'll be at a higher level.

5. Eat healthy and exercise. We all know this to intuitively be true, but the science proves it too. In her book The Secret Life of the Grown-Up Brain, Barbara Strauch touches on research showing how diet and exercise directly affect our ability to grow and accomplish tasks. For instance, somehow (the exact mechanism isn't known) the act of exercise results in, or at least accelerates, the birth of new brain cells. Since most of the time accomplishing our goals involves some form of stretching ourselves and learning or acquiring new skills and knowledge, having a few extra brain cells floating around can do nothing but help.

6. Write about it. Whatever your goal is, the act of writing about it, recording the progress, and getting thoughts out of your head and down onto paper can help immensely. If you have a blog you can put it there, or if you just need a private place to jot it down check out 750words.com. Or go the olde fashioned route and use a pencil and paper. It doesn't matter where, just get it out. Sometimes even forgoing words and just mind-mapping or letting things freeflow can help you get unstuck.

These are just some ideas and observations. What it all comes down to is just start and keep at it.