Using ai to build better galleries

Matthew Stein on Apr 24, 2023 5:03:27 PM

I create a lot of gallery pages here. Years ago I wrote some python scripts to help make them faster. After I process pictures for either proofs or for final edits, I need to get them into the file system behind this website and add some HTML to make the pages. My python scripts worked OK for generating that HTML, but they could be better. 

Climbing in Lincoln Woods

Matthew Stein on Sep 5, 2022 11:21:53 AM

Labor Day weekend this year, Jeremy Katz invited a bunch of us to go climbing down in Lincoln Woods. We showed up in force. 

Climbing Denali - Day 14

Matthew Stein on Aug 26, 2021 3:00:22 PM

Snow storm. All night it pelted our tent and the wind howled. What would camp look like when we woke up?

The ceiling snowed on my face most of the night.i tossed and turned, struggling more to stay dry than warm.

After 8 I knew I wasn't getting back to sleep anymore. I ate the other half of a bag of peanut M&Ms, and listened to the rest of 'Born a Crime.' What a story.

Around 9:45 Rhude Dog and I started talking and decided we needed to exit the tent. It was covered and we had to dig it out. As we were putting on our hardshells 

Climbing Denali - Day 13

Matthew Stein on Aug 22, 2021 9:30:00 PM

Test day.

Climbing Denali - Night time

Matthew Stein on Aug 22, 2021 1:42:00 PM

I woke just after midnight and put on all my warmest layers. Dragging myself out of bed and grabbing my camera I headed out of the tent.

Climbing Denali - Day 12

Matthew Stein on Jul 28, 2021 7:44:00 AM

Today was the first Saturday in twelve days. Well, not really. In the rest of the world it was Tuesday. Today was our first full rest day with nothing to do.

We woke up at a lazy 9:30 or so. Well, I had to get out of bed around 7:45 to use the CMC, but I got back into bed for a while longer. It was damn cold and blowing spindrift. It's not the conditions to sit around surfing my phone while on the can.

After waking up the second time we checked in with the other groups and talked with the guides for a while.

3-sleep Mike was making potato pancakes listening to some great blues. Breakfast was his own invention. Crisp up some hash browns, pour a couple of pancakes, top them with some hash browns and a couple cubes of cheese. They're quite a bit more substantial than normal pancakes.

Peggy and Clark headed down for a grocery run with two of the guides from the other AMS team. There were a few supplies left at the cache below.

The rest of us prepared for a class. Today we learned 3 new skills. Ascending a fixed rope, descending the same, and going through running protection. It's a lot of very clear communication, unclipping and reclipping ropes and managing an ascender. It's not hard when the ground is flat and you have full use of your fingers.

It's another story when you're on steep ice, with a thousand feet of exposure below you, wearing huge mittens.

The trick for thick gloves is

Climbing Denali - Day 11

Matthew Stein on Jul 23, 2021 8:32:00 AM

Move day. Holy shit that was hard.

Climbing Denali - Day 10

Matthew Stein on Jul 22, 2021 8:49:00 AM

Mutiny on the mountain.

This was the coldest morning yet. The wind was still howling, but the direction was supposed to have shifted.

2-sleep Mike delivered thermoses for hot drinks and collected bowls for breakfast. He told us to sit tight and stay warm. When he delivered breakfast (hot granola and a pop tart) he said we could start organizing our stuff to pack up. The winds were blowing in the right direction.

I threw all my gear to pack into my tent bag. This time I would wait until out tent was broken down so I could pack more efficiently. We were told to wait in our tents until the sun crested the face of the West Buttress so it would warm up. I packed my inflatable sleeping pad and sleeping bag and sat on my foam pad.

Even in my tent I was still cold. Thick socks, boot liners, down booties, heavy weight long johns, shell pants, puffy pants, lightweight base layer top, puffy vest, down jacket and parka, ski gloves and my warm hat. Inside my tent and I'm still cold. It must have been low single digits inside. Ice crystals falling from the tent ceiling didn't melt. My finger tips hurt from the cold, so I tucked them in my arm pits, inside my jacket, gloves and all. I wanted to get out my book but it was too cold to turn the pages.

At 10:30 we heard camp rumors of a mutiny. One of the guided trips had their climbers break camp and they were sitting in their packs. Apparently the climbers gave their guides an ultimatum. 'Either we start climbing now, or we're going to leave and go back down to the airstrip.'

In case you're not sure, that's a very bad idea.

Climbing Denali - Day 9

Matthew Stein on Jul 21, 2021 12:05:05 PM

Blizzard day. The wind gusted, then it stopped, and I heard silence. That's when I knew our tent was buried in snow.

Not totally buried, but the drifts went well halfway up the sides. I woke at 6, not wanting to get up quite yet. The winds died down, but that was no guarantee we would be clear to proceed up to our next camp.

Slowly I pulled in more clothes into my sleeping bag. First my puffy vest, then my down booties. With those pre-warmed and donned, I pulled on my shell pants and got ready to leave the tent. My gloves spent the night rolled up in my boot liners to be already warm in the morning. I grabbed my camera and set out to see what camp looked like.

Half buried tents, drifts piled up, snow blowing horizontally, 11 camp was a winter wonderland. With no sign of Santa anywhere, I instead saw our guides starting to unbury their tent and our sharps pile. We chatted, I shot some pictures. It wasn't looking good for us to leave camp. The snow wasn't a problem, we can deal with snow. It was still the prevailing winds from the Southwest. They remained a headwind atop squirrel hill and the rest of the way to windy corner.

I secured my camera back in the tent and removed some of the drifted snow from around our tent fly. Then I climbed back in and gave Rhude Dog a weather update.

Hot drinks came shortly there after. Then the team got up to clean up our campsite. Walking paths to and from the tents and latrine were cleared first. Then we dug out around our tents. It's important to have air flow between the tent and the fly to keep it dry (and oxygenated) inside the tents.

Breakfast was hash browns with cheese and bacon. I helped deliver bowls to tents then hung around with the guides waiting for mine. We talked about the weather, how it was looking for today. Clark was reading about some alpinist adventures and Peggy was doing push-ups while 2-sleep Mike cooked.

As I topped my hash browns off with hot sauce I saw it was getting a little low. Halfway gone and we're not halfway through the trip yet. I floated the idea of trading with the other AMS team that was down to 3 guides and 2 climbers. 2-sleep Mike looked interested.

After breakfast everyone got up to help clean up the tents and camp. We could tell from the spindrift atop squirrel hill it was a low chance of us leaving camp today. Our new neighbors who arrived yesterday geared up for their back carry day to retrieve their cache.

2-sleep Mike and California stood around talking about gear. California works for Arc'teryx and Mike is a sponsored athlete by them. Mike is working with their designers on some custom pieces for his needs and they're hoping to turn them into a new line. We had a fascinating discussion about the major gear manufacturers, what's going on with their athlete teams and how the industry is always changing.

Feeling the need to move, I did some yoga on the packed snow between our tents. Definitely the most clothes I've ever worn to do yoga. Down booties, over boots, mid weight long johns, goretex shell pants, light weight base layer top, puffy vest, down jacket, hat, gloves and glacier glasses. It was good to stretch after spending so much time in tents and sleeping bags.

I climbed back into my tent, played around with my camera and ate some lunch. Half a bagel with peanut butter and jelly, some fruit snacks, cheese, peanut butter stuffed pretzel bites, and a few dried apricots. Then I read, took a nap, woke up and read some more.

By 3pm I was baking in the tent. In long johns and socks I couldn't stand to even wear a shirt anymore. We fully opened tent flaps and vented the vestibules. That sun is Strong!

For dinner we ate Mac and cheese with chicken.

In hopes of going to sleep more easily and comfortably, I staged things a little differently. Warm socks and long johns, no down booties. My puffy vest and hat hung from the laundry line above my head. I unzipped my sleeping bag from the bottom 2/3rds of the way up and most of the way down from the top. Now I could have a knee sticking out to vent some heat from my legs. By 8:30 it was cool enough inside to put my base layer top back on. After 9:15 the sun dipped below the ridge and it was cool enough to tuck my leg back in. I finished reading for the evening about 10 and slipped on my puffy vest for the night. Ear plugs and eye mask meant I was tucked in for the night. I read the first 400 pages of The Lies of Locke Lamora in just two days. Time for bed.
.

Climbing Denali - Day 8

Matthew Stein on Jul 13, 2021 9:44:09 PM

Psych!