*Crickets* …

June 6th, 2012 by sjan

Ok, six months, no posts. It isn’t that I have been busy, just that I have been busy.

I am currently working on a project that will require using memcached (to store sessions and model data) for a Symfony2 with Propel 1.6 project. When I get it all worked out I will let you know how to do the same.

Propel has an “instancePool” that acts like a model cache, except that it is stored in a static property on the model peer class. This works great for a single server setup with APC, but not so well for sharing the pool between multiple servers by sharing a memcache server between them. I am thinking that I will probably need to use a Propel Behavior to modify the peer classes at generation time. But I am just getting started down that road, and this is not a tech post, more of a “reports of my death are greatly exaggerated” post.

72 Hours

January 23rd, 2012 by sjan

Saturday, 9:00 am, Jan 21
I am writing this the old-fashioned way, pencil on paper by daylight. I will, of course, transcribe this later to a digital medium, add some of the photos I took, and post it online. But for now it is just me, a notebook, and a pencil in front of the wood stove. It is currently Saturday, at 9:00 am, approximately 37 hours after the power went out. Of course, that wasn’t really the start of the story, just a point along the way.

The story really started on Monday, Martin Luther King, Jr Day, and a federal holiday. Not a holiday for me, though, as I jumped on line for a normal telecommute day. During the day the weather turned ugly and rain turned to snow as the temperature dropped. With the forecast for even more snow overnight I knew that trying to make the trek to Seattle would be dangerous (snow on ice with lots of inexperienced snow commuters.) The forecast called for warming and rain on Wednesday, though. “Great!” I thought. “I’ll go in to Seattle on Thursday and Friday this week rather than Tuesday and Thursday.” I notified my boss, problem solved.

Tuesday came around and the roads were even worse than I had expected. The garbage and recycling never came, and neither did the mail. (So much for “Neither snow nor rain nor …“) That’s okay, by Tuesday afternoon the forecast was still for warming and rain on Wednesday.


Unfortunately that wasn’t the way it happened. The warm wet front came over us, all right, but it slid over the top of the cold arctic front that was already here. And what happens when rain falls through a cold air pack like that? Correct! More snow. We ended up tying the 100 year record for 12 hour snowfall and in the top 5 100 year totals for 24 hour snowfall. We got 14 inches of snow in what seemed like no time flat. This was the point where my boss was kind enough (and smart enough) to tell me not to make the trip in to Seattle this week. It didn’t make me feel any less guilty, though, and I poured on the hours as a result. (I really need to work on these guilt issues.)

Had it just stopped there, or had the temperature risen five or six degrees, we would have been fine. The weather had other plans for us, however. It seems the convergent fronts formed an alliance with the goal of wiping out all the trees. Really, I don’t know what the trees did to deserve it, but I would have to guess that the politics of trees and clouds are not entirely un-messy. After dumping 14 inches of snow on the trees the Weather Alliance unleashed its secret weapon against the Tree Union: freezing rain (also known as an “ice storm.”) This does two things to the snow already on the trees. First, it loads it with moisture, increasing its weight immensely. Second, it causes the moisture-laden snow to freeze to the growing sheath of ice around the branches, holding them in an icy grip.


As the ice grew Wednesday night and on into Thursday the trees began to take heavy casualties. There was a steady beat of “CRACK! THUD!” every few seconds as another branch was torn from its tree and crashed to earth with its heavy load of ice and snow. By midday Thursday one of these beats of destruction was happening every 10 to 15 seconds. And as the day wore on the branches crashing down were larger and larger. The weaker, smaller branches came down first, while heavier branches, and even the tops of some of the trees held on as long as they could, before they, too, were doomed. One particularly loud (and close) crash was the sound of our 65 foot tall cedrus losing a 30 foot long lower main branch.


By Thursday evening the sounds of crashing limbs became somewhat “normal,” the huge branch that crashed down on the neighbor’s roof notwithstanding. I had finished work for the day, did a little studying and was unwinding by playing a little Spore. (Ok, I like the game, so sue me.) It was then that the Weather Alliance’s attack on the Tree Union caused collateral damage. The power went out. I had the modem and router on a UPS, and by shutting down the server quickly was able to maintain an internet connection for another four hours or so. I was pretty well convinced that the power would be back on by morning, we had a fire going in the wood stove already and we dug out the camping lanterns. I set the alarm on my phone and went to sleep.


When my phone woke me in the morning I knew immediately that the power was still out. My small bedside lamp had been on when the power went out and I hadn’t turned it off, yet it was still pitch dark.



I checked the weather on my phone at 6:08 am. (The reason I know the time so precisely will be become clear later.) I brushed my teeth, got dressed and then checked on the fire. Once I was sure the fire was going well I composed an email to work, hit send, and shut down the screen (like always.) While I dug the camp stove out of the garage (one must have coffee, after all) I kept having this feeling that something was missing. I mad a pot of coffee (with the last ground coffee we had on hand) and watched the fire.


Now I was looking at the first real challenge of the day – branches were still coming down and we had no more firewood by the house. We had plenty in the wood pile, but getting there would require traversing directly under several heavily-laden branches which could come down at any moment. Getting hit by one of those would be painful at best, and possibly even fatal. (There was one tree-top already impaled in the ground just 20 feet from the deck.)


While waiting for the weather to warm up some (and hopefully relieve the trees of their burden) I took a short diversion – a trip to the store to look for D-cell batteries for our lantern and to pick up some food that didn’t require cooking, and (perhaps most importantly) some ground coffee. (Note: I really need to get a hand-powered coffee grinder.) While the roads in our neighborhood were in horrendous shape, the main roads were plowed and mostly just wet with a few patches of ice and slush left by this time (around 1:00 pm). It seemed that no one in the area had any D-cell batteries left though. Even the big-box hardware store was sold out of them. I had to be satisfied with some ground coffee, some food items and some C-cell batteries. (Ask me some other time about how to rig a C-cell battery to run a D-cell device.)

I continued to check the weather to see if any relief was in sight. Oddly, despite the fact that if felt warmer outside, the weather report on my phone didn’t change. Somewhere around the tenth time I checked it I noticed the “last updated” notice: Friday, 20 January, 6:08AM.” That’s why it hadn’t changed. I wasn’t getting data at all. In fact, no email all day? How likely is that? Now I realized what had been missing in the morning, no “mail sent” sound. I tried again to email work but it wasn’t getting through. I couldn’t even load the Google main page, it just kept saying “The server quit responding.” I tried sending a text message to one of my coworkers. It looked like it went through, but I got no response, so had no way of telling. And in my home, where I usually get four or five bars of reception I was only getting one. I managed to talk to my in-laws briefly, but there was a great deal of static and the call would drop if wasn’t careful about how and where I moved.


By late Friday afternoon the arctic front had apparently decided it was done with the offensive against the Tree Union and pulled out of the Weather Alliance. The warming air combined with the rain had melted a good portion of the snow and ice off the trees and large chunks of were falling out of the trees without taking the limbs with them. I braved the falling ice around 3:00 pm and brought some more wood up to the house. Now, except for a battery shortage we were set for another night.

Saturday 2:45 pm
I started the morning with a fresh pot of coffee (of course), reset the fire, brought more wood up to the house, and dragged the limbs that had fallen out of our trees into the street out of the street. The huge cedrus branch is too large to move, so I cut the ends off to at least get it out of the street. I was planning on going to Costco, still in search of D-cell batteries, but needed something to do keep myself occupied.


I decided that I needed to do something about wanting to tell the story of the ice storm around here. Something other than just posting a bunch of pictures. So I began writing this morning. At around 10:00 am this morning I took a break from writing and went to Costco in search of D-cell batteries. Score! I found some. When I got back home my wife suggested we go out for a hot meal. We went to the Martin Way Diner (perhaps the best fries in Olympia) where I was finally able to get some data on my phone. The continued weather forecast looks promising (not that that means anything) and PSE says they currently have 900 people working on getting the power back on. The number of homes and businesses without power at that time was still at around 130,000, down from the initial 300,000+. Their map of our area showed green diamonds (repairs done) all around our neighborhood with only 2 red squares (still being assessed) in the area. As we drove home we were noticing lots of porch lights on in areas that had been without power when we left. Pulling in to our neighborhood, though, we saw that we were still without power.

Sunday, 8:30 am
Yesterday evening I made a quick trip to the grocery store for ice. While our chest freezer is still quite cold (still well below freezing) our refrigerator is not. While I was picking up ice my wife removed all the spoiled food from the refrigerator and packed the rest into our two coolers. When I returned with the ice we packed that in there as well.

I made a of jug of iced tea last night as well. Cooling it off once it was brewed was not a problem. I set it in the snow on the deck and then packed more snow around it. And there it will stay, nice and cold, until the power comes back or the snow melts. I am hoping for the former to come first. In fact, any minute now would be good. It has currently been more than 60 hours since the power went out. I would like to get a start on cleaning up the branches, but with no power (not to mention the wet conditions) my hands are tied. I am beginning to think that getting an electric chainsaw may not have been the best choice. Well, not really. Since our electric here comes from hydro (when it comes, that is) using electric tools (like the chainsaw and the electric mower) is just more environmentally sound.

If we still have no power this evening we may be staying with my in-laws (they have a generator) and tomorrow I will make the trek in to Seattle to work in the office. I really hope it doesn’t come to that, as I don’t like the idea of leaving my wife at home with no communications.

Sunday, 10:15 am
It turns out that one of our coolers is utterly worthless. The ice has almost completely melted and it leaked all over the floor. While it is fine for road trips it is certainly not up to the storage task. I managed to get the latest info from PSE on when the power in this area might be back on. It looks like late Wednesday night now. That sucks the big one. So, the plan for today:

  • Bring more wood up to the house
  • Go get a phone that doesn’t require external power
  • Get more ice
  • Look for a better cooler (another “extreme” cooler like the one that is working well would be good)
  • Find an open laundromat so I have some clean clothes
  • Head to the in-laws to at least shower, if not to spend the night

I am not sure what I will do Monday and Tuesday night, since we can’t really leave the house alone for too long. The cats need to stay warm too and they haven’t figured out how to use the wood stove yet. (That will probably come right after they evolve thumbs.)

Sunday, 8:16 pm
While at the store picking up a new cooler and ice (and striking out on a non-powered phone) I got a call from my in-laws. It seems that their power came back on last night. I made the arrangements to head over there for the day to do laundry and use their shower and went home. Once home I packed up the laundry, we grabbed the laptops, my phone and my wife’s Kindle and we headed over to the in-laws. After being stuffed on delicious soup and sandwiches, charging our devices, washing our laundry, and getting a nice hot shower we headed back home to tend the fire and the cats, and so I could get everything I needed to take to work together.

After getting things situated around the house (putting away laundry by flashlight is, shall we say, a little more challenging than usual) my wife realized she didn’t download the books she wanted while we were at the in-laws house. She suggested we take a short trip to the store to look for a new laptop bag (hers is a hair too small for her laptop) and then we could head out to somewhere with wireless for a cup of coffee or dinner or something so she could connect and download the next books in the series she is reading. We didn’t find a large enough laptop bag she liked, so we headed back to the Martin Way Diner, where I know they have free wireless.

While there we had a light dinner and  failed to connect her Kindle to the wireless, although my phone connected just fine. We finally gave up and headed home. Once home we re-stoked the fire and were just getting ready to settle in to “no electricity tonight” mode when the lights came back on at a couple minutes before 8:00 pm – 72 hours after they had gone out. We were ecstatic, of course, and the first thing I did was to get the modem and router turned on and the server booted up. Once that was all well I began transcribing this, while letting my photos upload to my flickr account.

New Beginnings

May 1st, 2009 by sjan

Just a short post to update all my regular readers out there (yes, both of you) that I start my new job next Wednesday and I started school full-time today. Yes, today. I have started in the BS – IT Security Emphasis program at Western Governor’s University. I don’t have a projected finish date yet, but their competency-based model means that I can finish my degree much faster than with a standard program. (Word from one of the admissions counselors is that IT professionals going in to the IT program tend to finish their Bachelor in around 2 years.)

Although I shouldn’t have to remind anyone I will: everything I say (well, type) here is my opinion and does not reflect the views or opinions of my employer or the school which I attend. With that said I have only one small grievance about my first day at WGU: every link in the student portal has a target of _blank or uses a js call to open a new window. Grrrr. My opinion: bad design idea.