…familiar with the basics of the Rails framework and have previously worked with Rails 3.2 or earlier, then this is the ideal book for you. It is assumed that you have some prior experience with the development of applications. This book will help you to upgrade your existing knowledge and also ensure its applicability. You will be expected to setup Rails, MySQL / PostgreSQL, Mongodb and required dependencies themselves.
Tarsnap is the world's best secure online backup service. It's run by Colin Percival, Security Officer at , a truly gifted cryptographer and programmer. I use it extensively in my company, recommend it to clients doing Serious (TM) all the time, and love seeing it successful.
It's because I am such a fan of Tarsnap and Colin that it frustrates me to death . Colin is not a great engineer who is bad at business and thus compromising …
Discourse is a the repo , run the usual suspects when setting up a Rails app (i.e. bundle install, rake db:create, etc.) and dive into the code to start customizing. If you run into any issues along the way, there are plenty of resources and instructions on meta.discourse.org . The …app with a Postgres database and an front-end. Setting up your first instance is extremely easy. Because Discourse is open-source, all you have to do is pull down
But recently, I've been feeling like I'm falling behind, like I'm missing out on at least playing with some new toys, getting some fresh ideas into my head for solving problems.
We have a lot of problems yet to solve in our code base, and over the last two years, we played it safe. Which has …
AWS is coming up on Wed March 26th at Moscone South. We are thrilled to be sponsoring the SF Lounge. engineers and staff will be available throughout the day to answer your questions about Heroku; developing , , and apps on Heroku; Heroku Postgres; and the architecture of apps using both Heroku and .
If you plan on attending, please stop by, say hello, and bring your questions. Or you can just play ping pong. If you …
Both our PostgreSQL database and our RabbitMQ setup are critical parts of Travis CI. Without the database, we can't store or read any data. Without our message queue, we can't push build logs and build jobs through the system, effectively leaving the system unable to run any tests for our customers.
We started out on multi-tenant setups for both. On our PostgreSQL database, the load was eventually way too high for the small size of the database setup.
For our RabbitMQ, we …
The NOT NULL constraint means that this migration will fail if we have existing users, because Postgres doesn't know what to set the column values to other than NULL . We get around this by adding a default value: add_column :users, :admin, :boolean, null: false, default: false
Now our migration runs, setting all users to be not admins, which is the safest option. Later, we can set specific users to be admins. Now we're safe and our data is normalized.
[ CVE-2013-1899 ] - allows remote attackers to cause a denial of service (file corruption), and allows remote authenticated users to modify configuration settings and execute arbitrary code
[ CVE-2013-1900 ] - when using , generates insufficiently random numbers, which might allow remote authenticated users to have an unspecified impact via vectors related to the "contrib/pgcrypto functions"
[ CVE-2013-1901 ] - does not properly …
Oh hey that's another 100 of these things done.
Putting - Some hints on eliminating default functionality that you might not need. on a diet
Using pry in production - Replacing irb "without shooting yourself in the foot".
PostgresApp - installer for running PostgreSQL on the