James Revillini

Say 'no' to styrofoam.

Geez I suck at updating this thing. Why do I even “blog?” I don’t. There it is. Whatever. Here’s a picture.

Video Contest Photo Shoot

Photographer: David Archambault / ‌Hair+Makeup: Lindsay Stovall / ©2012 David Archambault

These images were taken of Alizabeth Louise and myself by friend and photographer David Archambault. They will be used to make posters for this year’s short film festival at Tunxis.

A Hike with Marc

It was a bit chilly and certainly mushy in parts on account of the bizarre snowfall the day before, but the hike in the Winsted Woods, which has entrances at Gilbert High and traces along old route 8 North, was scenic and enjoyable. Both Marc and I got a chance to break in and test out our new hiking boots (he in Scarpa’s and I in Columbia’s). We were both pleased with the results. We forgot to jam to some Van Morrison’s Into the Mystic, which has been on my mind lately, when we arrived home, so I’ve included it below to play if you wish.

 

Parse an uploaded CSV file in 2 lines in PHP/CakePHP

Nasty but gets it done:

or, if you want to be even more crazy, in 1 (note, config options are inline but I left the assignments so they are findable):

or, if you want it to be one expression, but more readable:

In the examples above, I’m assuming you already know the temporary name of the uploaded file. In regular PHP, you could prepend this code with

In CakePHP, you might just replace $tmpname with $this->data['Whatever']['csv']['tmp_name'];
This kind of assumes you had done something like this on the form page:

First Ride of 2012

We rode, we drank, we all like cannolis with-fucking-out chocolate chips – we are the Bulgarian Racing Team.

Warrior Dash 2010 MidAtlantic (PA)

Pictures from the WD2010 MidAtlantic Day 2 Race.

Bar Harbor, ME, September 2010

I’ll let the pictures speak for themselves.

JATO 3.3 at Mulch Mountains

Sharry and I found the best place to run the JATO – amidst mountain of mulch, right near the DMV in Winsted! Mulch is great for many reasons. First, it’s got plenty of little bumps and humps to make driving fun and challenging. If you wipe out, it’s not as abrasive on the car as pavement or stone or even dirt. Speaking of dirt, it also doesn’t get into every little nook in the car and saturate your air filter – a major plus. Cleaning was easy today.

I have a few pics to post from after the bashing and a cleanup., but unfortunately, I can’t post the videos yet because they were shot with an iPhone in a vertical orientation, and rotating them doesn’t seem to be working.

I do have a video from a few days ago right after I added the hop-up parts that I can add right away.

Vimeo is smart enough to rotate iPhone movies that were shot vertically.  Sorry for the weird orientation.  We’ll shoot it wide next time.

JATO 3.3 Ready to Rock

Yesterday, I had the pleasure of picking up a like-new Traxxas JATO 3.3. My JATO had somehow gotten rusted over the winter in my barn. Lesson learned. However, the aluminum hop-up parts I’d bought were still almost mint. They needed a buffing and I cleverly thought to throw a couple coats of clear enamel on them after they were shining again.

The results are really pleasing.

Most of the kudos go to Javier who kept it up so well and painted a nice custom body for it. The only change I made were the aluminum bumper, aluminum wheelie bar, a fuel line bumper on the heat-sink for the inevitable rollover, clear-coat enamel on the underside for a tiny bit of protection against dirt and scraping.

Head-butt a tree

Go ahead and give it a shot.  You will not win.  Not even if you take a running start up to the thing.  Not even if you take a running start up to the tree on a downhill.  Not even if you take a running start up to the tree on a downhill and you’re going at least 10mph on your bike, run into a log that flips you over the handlebars and you do a ninja somersault before impact – you will still not beat the tree unless it is super tiny.

Here was my “plan.”

The tree right about center up ahead of the log is the target.

1) Ride down a hill and crash into a log so you begin the flipping action.

Click to see distance.

2) After flying over handle bars, throw shoulder down into the ground to begin the ninja somersault across the 10 foot space between log and tree.

note: stuff will fall off you

3) After you head-butt the tree (hopefully you did wear a helmet – I did), you will probably need to hunt around for pieces that flew off you or the bike.

who put this stupid log here?

4) Take a moment to look back on how you might have handled that log better, but acknowledge you still won’t beat the tree.

« Older posts

© 2014 James Revillini

Theme by Anders NorenUp ↑