pedrobelo
I'm not sure where to begin, but yes - it does take a special kind of idiot to believe that appointed judges can launch a coup to protect the elected president.
and why on earth is this on Hacker News? I guess even Jovem Pan is beginning to realize this whole movement is a clown show.
It's the future (for databases)
Sharding data models
React Native: a week later
And been working on a tool to merge the schema with actual code for Sinatra apps: https://github.com/pedro/sinatra-schema
Get more out of your service with machine-readable API specs
In other words you can end up in a situation where a record is inserted but the job to work on it is not enqueued, or worse - that an insert fails but the job to work on it is enqueued.
Point 2 is still necessary despite idempotency imo: lets say some value is updated to "a" and then to "b", enqueuing two jobs. If the request to update "b" runs before "a" then your receiver will end up with the wrong value. Same if the initial request to update "a" fails.
Three fundamental tricks for developers writing distributed systems
On Rails, Sinatra, and picking the right tool for the job
When tests are just not the best tool to assert
Most of the time migrations are developed in a feature branch, so the owner is responsible for splitting his branch into two or three before sending pull requests (as many as required to address issues with hot compatibility).
This means that we have two or more merges (and deploys) from master, each requiring a full run of the test suite.