Train of Lights

Tam Pan

Updated on Saturday, February 19, 2022

Tam Pan

Time-lapse panning over the San Francisco bay area from the Gardner Lookout at the east peak of Mount Tamalpais.

(Related: Treasure Island; Mount Davidson; San Francisco from Mount Davidson)

(You might also like: Vernal Equinox 2016; Cam of Fortune!; AT&T MicroCell Woes)

(More Timelapses)

Book reviews for December 2016

Updated on Friday, February 24, 2017
The End is Now by John Joseph Adams

The End is Now by John Joseph Adams

4/5

Review coming with book 3...

 

The End is Nigh by John Joseph Adams

The End is Nigh by John Joseph Adams

4/5

Review coming with book 3...

 

Night School (Jack Reacher, #21) by Lee Child

Night School (Jack Reacher, #21) by Lee Child

4/5

I much prefer flashback Reacher to modern day midwest town trauma Reacher. This is one of the best.

 

(Related: #Resist; Go-arounds: LEGO and Legislative Service; San Francisco Shoreline Timelapse)

(You might also like: Fleet Week 2019 Parade of Ships; Lake Helen; Catfood Earth)

(All Book Reviews)

Rio Vista Bridge

Updated on Sunday, September 18, 2022

Rio Vista Bridge

Photo of The Helen Madere Memorial Rio Vista Bridge spanning The Sacramento River.

(Related: GGB; Bay Bridge Approach; Golden Gate Bridge from Marshall's Beach)

(You might also like: Clouds Over The Farallones; I'm with Her; I don't always find droids...)

(Recent Photos)

Pitcher Plant

Updated on Sunday, May 3, 2020

Pitcher Plant

A picture of a pitcher at the Conservatory of Flowers, Golden Gate Park, San Francisco.

(Related: Golden Gate; San Francisco; Unidentified Butterfly)

(You might also like: Limantour Spit; Bees; El Capitan)

(Recent Photos)

Unidentified Butterfly

Updated on Sunday, October 16, 2022

Zebra Longwing Butterfly

Could be anything... (seen at the Conservatory of Flowers in San Francisco's Golden Gate Park, do please leave a comment if you know what it is.)

(Related: Golden Gate; San Francisco; Butterfly)

(You might also like: Diary of a Living Room; California, I can save you billions with a small and reasonably priced computer program...; Sunset #8)

(Recent Photos)

ASCII Sunset

Updated on Saturday, February 19, 2022

Expert

Expert

I haven't checked Klout for a long time - while I was away they've decided I'm a expert in Indian politics. Explains a lot...

(Related: Tedious Feed Update; StackOverflow DevDays; The real reason Americans don't have passports)

(You might also like: Bees; Black Diamond Mines Regional Preserve; Sunset #8)

(All Marketing Posts)

Enable GZIP compression for Amazon S3 hosted website in CloudFront

Updated on Tuesday, November 12, 2019

Enable GZIP compression for Amazon S3 hosted website in CloudFront

By default compression doesn't work in CloudFront for a website backed by an Amaxon S3 bucket.

The first step is pretty obvious - switch on compression in CloudFront:

Compress Objects Automatically option in Amazon CloudFront

To get to this setting open you distribution, go to the Behaviors tab and edit your behavior(s). Scroll down to the bottom and toggle Compress Objects Automatically to On. Save and drum your fingers while the distribution updates.

The less obvious piece is that CloudFront will only compress files between 1,000 and 10,000,000 bytes (as of writing this post) and it detects the filesize from the Content-Length header. What the documentation doesn't mention is that S3 does not send the Content-Length header by default and so no compression is applied.

Go to S3 and open the properties for your bucket (not for individual files). Expand Permissions and then click Edit CORS Configuration. You need to add Content-Length as an allowed header like this:

Amazon S3 CORS Configuration

(Related: Export Google Fit Daily Steps, Weight and Distance to a Google Sheet; Using the Azure Monitor REST API from Google Apps Script; Monitor page index status with Google Sheets, Apps Script and the Google Search Console API)

(You might also like: Bay Bridge Approach; Diary of a Living Room; Stamp out B2B spam with an evil calendar)

(All Code Posts)

Book reviews for November 2016

Updated on Friday, February 24, 2017
Revenger by Alastair Reynolds

Revenger by Alastair Reynolds

5/5

Far future space pirates. Awesome.

 

Badass: Making Users Awesome by Kathy Sierra

Badass: Making Users Awesome by Kathy Sierra

3/5

The overall message is good - focus on making your users actually awesome rather than you looking awesome with some concrete strategies to find out what that is and how to get there. A central theme is removing barriers to effective usage. The product here is a book. It was hell to read on my phone. Now if the graphics were large and central to the message and couldn't be done other than in some weird non-standard way I might forgive this. But all I needed to on every page was zoom in to get rid of the needless massive borders. That's all it took. Hundreds of times. So I'd recommend this if you still like paper books or are some sort of tablet toting throwback but on phone? No.

 

(Related: 1,000th Post!; Got It; Top 5 reasons to hate the Facebook like button)

(You might also like: The Trust Project, Fake News and a Partial Facebook Uninstall; Sutro Tower, Moon, and Plane; Commentary)

(All Book Reviews)