Link Blog
April 2021
In Sinatra(Ruby), how should I create global variables which are assigned values only once in the application lifetime? - Stack Overflow
Sinatra state management tips
Sinatra/Heroku microservices | silk and spinach
How to build microservices on Heroku with Sinatra. Realy useful!
ruby - Is a global variable defined inside a Sinatra route shared between requests? - Stack Overflow
Say I've got: get '/' do $random = Random.rand() response.body = $random end If I have thousands of requests per second coming to /, will the $random be shared and 'leak' outside the context or...
How to Enable Sessions with Sinatra | getLaura
Useful things to remember about using sessions in Sinatra
David Dollar
A tool to allow me to launch multiple apps locally to get a new SOA service going for debugging.
How to use Docker Compose for Rails development: Do not bundle install in Dockerfile.dev
Detailed tips on what not to do when using rails with docker.
An introduction to Redis data types and abstractions – Redis
Great overview of how Redis works, all the types and concepts
The Kolmogorov-Smirnov Test — Kolmogorov-Smirnov
I’m back looking at statistics. This KS test is one of the basic statistical tests to compare two samples.
Class 10: Fitting and Model Comparison - Mark Krumholz's Web Page
More good explanation of how to see if two sets of observations seem to be coming from a single distrbution.
RabbitMQ Management
an SSH Tarpit « null program
Kind of interesting about security, hacking, protocols and ssh
Devhints — TL;DR for developer documentation
An amazing set of cheat sheets from a prolific developer in the philippines
Redis streams as a pure data structure
Really really interesting use case for REDIS, and a great scalability pattern
Flatdoc
A super simple automatic open source doc generator. Except I dont quite understand it. I have a feeling once I try it it will be obvious
Drawing Graphs using Dot and Graphviz
Another great overview and cheatsheet for Dot
Scaling a Ruby on Rails app on Heroku
You know I’m into scalability right now. Here’s a short article with lots of the basics.
Need faster code? Try Multithreading – Hacker Noon
More nice information about multithreading and concurrency in Ruby