Monthly Archives: May 2015

Miracle Hot Springs

I had an appointment at the Boise Airport today, to pick up Steph coming back from her mom’s memorial service in Enumclaw, WA. It’s 355 miles and a little over five hours so to break it up I left yesterday morning and drove straight to Miracle Hot Springs, about an hour this side of Boise.

I’d seen the signs for this place, along Interstate 84, so I researched them, booked an RV spot, and pulled in around 1400. The spot was $20 and an all day soak was $8. I ate my dinner (Beanie Weenie mixed with a package of tuna, in a styrofoam bowl) made the first of several cocktails in my plastic coffee cup, and mosied up to the tubs. There were four pools of varying temps and of course I went for the hottest, with a pipe of natural hot spring water feeding it.

It was a fun evening, I made several trips back to my campsite for refills, and met some engaging people. Hot water seems to inhibit the normal reluctance of people to chat with total strangers, and it’s a phenomenon I’ve noticed over a few summers of hot-springing.

I took the back roads into Boise this morning and all of the photos are available with a click on my campsite below.

Posted in Travels | Leave a comment

Spreadsheet Code

I’ve noticed a serious uptick in visitors to this blog lately, more than likely fellow coders looking for a solution to this Zend/Google issue. For the heck of it, I’m going to post a single broken php module here. This code returned a list of worksheets for a single spreadsheet. It used to work, and now it don’t:

header("Access-Control-Allow-Origin: *");
header('Content-Type: application/json');
ini_set('default_charset', 'utf-8');
require_once 'Zend/Loader.php';
$username = ...
$password = ...
$sheetkey = ...
Zend_Loader::loadClass('Zend_Gdata_AuthSub');
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
Zend_Loader::loadClass('Zend_Gdata_Spreadsheets');
Zend_Loader::loadClass('Zend_Gdata_Docs');
$service = Zend_Gdata_Spreadsheets::AUTH_SERVICE_NAME;
$client = Zend_Gdata_ClientLogin::getHttpClient($username, $password, $service);
$spreadSheetService = new Zend_Gdata_Spreadsheets($client);
$query = new Zend_Gdata_Spreadsheets_DocumentQuery();
$query->setSpreadsheetKey($sheetkey);
$feed = $spreadSheetService->getWorksheetFeed($query);
...

$feed used to contain a nice little array of worksheets, which I return as a json object, but now the code triggers a jQuery response of:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Feedback is most welcome, please comment here or email me at tetonpost at gmail.

Update: Ok, I’ve managed to construct some code that bounces around the Google servers to create this:

Refresh token: 1/eFTQyK2cuGrI_rfVxeBIgMr_a0aIZHdfYzXB0vCaNyE...
Access token: ya29.gwEfRnS1IrruwXi_0mIL3P9IwLoH_pIPMZbU6wXfY...

Now I just need use these tokens, which only last for milliseconds as I understand, to access the Google API. Do I use Zend at that point? What a bunch of bullshit…

Posted in Site Stuff | 3 Comments

Discouraged

I’m terribly discouraged at the collapse of a code base I’ve been developing for months. I can’t seem to find a solution to fixing it and my brain wants to be developing more, not repairing and restoring.

Maybe I’m getting too old for this stuff? Perhaps I should give up coding and focus my efforts on other creative outlets, like writing and photography. I’ve written so many apps that don’t get seen by hardly anyone, including these latest, that now don’t work…

Sorry about this depressed post, soon I’ll be soaking in a new hot springs and I’ll put up some photos.

Perhaps in the meantime, I should recall a story. It was late sixties and I’d just had my tonsils removed at a hospital in Oroville, Ca. I walked out of the place with a raw cut up throat and hitchhiked to Sacramento on the back of a crotch-rocket. I showed up at my grandparents house, near death from the polluted air blasting against my throat, and they let me crash on their couch until I was well.

My grandfather, who I now believe is my guardian angel, drove me to a southbound freeway exit and dropped me off. I was heading down to Arizona to try out with the S.F. Giants for a pro baseball career. The last thing I said to him as I stepped away from his car was pray for me.

I got side-tracked in a small central California town visiting a girlfriend that I’d met earlier that year working at a Harrah’s in South Lake Tahoe, the one I discovered the Secret Beach south of Carmel, CA with, and called my grandparents.

Grandpa had driven home after dropping me off, went in his backyard to mow the yard, and dropped dead in the process. I bailed on Arizona, went back for the funeral, and my life after that is a blur of LSD induced unreality for a while…

And now I look out at my out of control yard, being about the same age as my grandfather when he died, and say screw it!

Posted in Various | Leave a comment

OAuth 2.0 Sucks!

I’ve figured out what’s going on with my code. Google has depreciated Zend Gdata ClientLogin and replaced it with OAuth 2.0.

OAuth is the most convoluted spec I’ve ever seen, and I know it’s being pushed by Google. It effectively routes everything a user does back to Google for security purposes and analysis. Really? Just like the NSA and our phone calls.

I’m a pretty smart code guy but this crap is making my head spin! I could dive into the reasons why, but you’re head would be spinning two sentences in. I really thought it would be cool to create mapping applications using Google spreadsheets in the cloud as a database of sorts, and then they go and do this.

I expect the firestorm of Zend developers to arrive soon and in the meantime, I’m tired, and all of the cool applications I’ve been working on for months, now cease to exist…

Posted in Site Stuff | 2 Comments

Zen(d)

I really hate being at the mercy of somebody else, especially if it’s Google. I’ve been developing mapping code for the last few months based on their spreadsheets in the cloud and I’m using the most popular framework, called Zend, which acts as the interface between the Google spreadsheet servers and my PHP code.

Today, all of my code stopped working. I don’t know if Google has a server issue or if they tweaked something today that breaks Zend. It’s a very helpless and frustrating feeling! Like, what’s the 1-800 number for Google API support? There ain’t one!

So, I’ll wait for a while and see if it corrects itself. In the meantime I can’t work on my projects and I’m dealing with the possibility that months of work may be down the drain. Why do I do this shit? Nobody uses my code anyway! I need a new hobby…

Maybe it’s because I’m letting the lawn go to hell and it’s messing up Satellite view?

Or, is that Seattle view…

Posted in Site Stuff | 2 Comments

Dandy Lawn

Our lawn is looking particularly great this year, probably due to the above normal rain and the fertilization of the mushrooms. Our neighbors are giving us the thumbs up when they drive by (I think that’s their thumb…) and the homeowners association lady is always staring this way. Our hard work is being noticed!

Posted in House | 4 Comments

Road Moments

I had a moment this morning driving home from Boise. The sun was coming up behind the clouds and the spacious Idaho beauty was unfolding across a barren interstate highway that I had to myself. Acoustic vintage rock was playing from my travel trucks sweet 1988 digital radio, soothing my soul as my brain swirled around, reliving my past.

All of a sudden I started belting out the lyrics loudly, rocking my body behind the wheel violently, thrusting my fist in the air, feeling the shiver of god down my spine and glad that the troopers weren’t on the highway at the moment. They surely would have pulled me over…

I’ve experienced this moment before. It’s the result of a total feeling of freedom that can only escape from your body when you are truly free and rolling across a beautiful landscape, with nobody around and just your memories as your friend. It is for these moments, that I travel…

Posted in Travels | 2 Comments

Hot Tub Baby

Ok, I know what you’re thinking, here’s another sappy post of Piper sleeping on our hot tub lid. No, it’s just a lead in to the forty seven photos I took in Boise yesterday. Click on Piper’s belly and enjoy the show!

Posted in Travels | Leave a comment

Travel Truck Ready

Ain’t she fine! My little 1988 Mazda B2200 extended cab sweety is purring like a kitten and chomping at the bit to add some miles to her 143K odometer reading. She’s a road tripping beauty that sips gas like a professional wine taster. Her new street tires barely have the nubbins worn down, the large Interstate battery is powering my electronics and the bed in the back is waiting for me. Summer vacation is right around the corner :-)

Posted in Vacation 4 | Leave a comment

Betty Recalled

Steph’s sister Sandy is putting together a photo montage of their mom Betty for the service on May 30 at the First Baptist Church in Enumclaw, WA. and was asking around for photos. She knew her mom had a great time when she and Tori spent the summer with us a couple of years ago and asked me to find some photos.

I have so many photos, my head is spinning. I wish I had some face recognition software that could help me out, but I did come up with a couple of shots. The first one is under the famous arches down in Jackson and the second at a parade in St Anthony. Betty and Tori had a great time at both!

Here’s Sandy’s eulogy.

Posted in Family | Leave a comment