Posted October 31, 2017 | | File under: , ,

Been having fun playing with ClojureScript and re-frame the past few days. So easy to get up and running with a really nice and quick feedback loop.

I made this little experiment based on this snail kata from Codewars.

Posted October 22, 2017 | | File under: ,

I am the hero of this story.

Posted July 6, 2017 | |

Did the classic CrossFit workout “Fran” this morning. It is a timed workout of 21-15-9 of thrusters and pull-ups. I had to scale to 75 lbs (for men, Rx is 95) and 15-9-6 pull-ups instead of 21-15-9. Took me 5:38.

I’m not too happy with this result but it only means I’ll be happy with my progress when I do it again in the future, I guess.

Posted June 27, 2017 | |

Second season of “Master of None” is so fantastic. Especially the last 3-or-so episodes.

Posted June 26, 2017 | |

This week at work I was able to get our Varnish caching working while still being able to bucket users into AB tests and set cookies on the server. Normally Varnish won’t cache the page if a cookie is set server-side but with the use of esi:include tags it’s possible to get cookies and cache. This was very little code but took a lot of brain power to wrap my head around how it works.

The gist of it is that when Varnish forwards a request to the server, the server can hand back a simple esi:include tag with a src attribute pointing to a resource. And if Varnish already has that resource cached it will use it instead of requesting it from the server. So on every request, we can bucket a user into a test and set a cookie, and Varnish retains the ability to cache the actual content of the page.

We launch the test of this next week, so we’ll see how it goes. But we have many use cases for this, so it was fun to finally figure it out.

And now I am jamming on a little programming puzzle for a “code kata” meetup at work. We are working on this anagrams code kata. I wrote a quick sketch in JavaScript then chose to write a solution in Racket. I think I have a good solution and I really enjoyed Racket! I’m getting more comfortable with Lisp and I think my brain works well with it. Small functions, small abstractions building into a bigger program.

Fun times learning new things, solving problems.

Posted June 24, 2017 | | File under: ,

This morning at the gym we went for a 1 rep max on the clean and jerk. I PR’d with 165. I cleaned 175 (close to a PR for a front squat) but then hit my chin when attempting the jerk. Didn’t hurt but definitely startling and scary when you’re lifting at max effort. Oops.

Posted June 22, 2017 | | File under: , ,

Earn it every day.

I just listened to a couple inspiring podcasts.

Sarah Blakely is one of the most inspiring people I’ve ever heard interviewed. I knew nothing about her and now she’s my hero. Ha!

How I Built This: Spanx: Sara Blakely

How I Built This: Instagram: Kevin Systrom & Mike Krieger

Posted October 11, 2016 | | File under: ,

A few interesting tech conferences happened recently and tons of videos went online. Will take a while to make my way through a lot of these.

Posted September 21, 2016 | | File under: ,

Let’s read a book on paper. Weird.

20160521-065929.jpg

Posted May 21, 2016 | | File under: ,

bionicbrian.com | About

Creative Commons License