Slow living through the war
-
Best non-fiction books
The list of the best non-fiction books I’ve read with no particular order: The Black Swan by Nassim Taleb I’ve read the first edition of this book back in 2008 once it was published and I was What if? by Randall Munroe Excellent list of scientific questions and answers. Almost a classic book now. Also…
-
How to control Unicorn’s middleware stack
Say your client app consumes only not chunked content (”Transfer-Encoding: chunked” header should not be present) and it requires Content-Length header strictly. How could you achieve that? Firstly you should set RACK_ENV variable to ‘none’ whether in your deploy.rb file (if you use Capistrano for running Unicorn on staging/production) or just run unicorn_rails prepending with RACK_ENV=none. Here’s…
Got any book recommendations?