Interview with Scott Bellware (Eventide co-creator) about micro-services in Ruby, event sourcing, autonomous services, SOA, dumb pipes, EventStore and mis-representation of terms in IT … and check why 5600+ Rails engineers read also this Interview with Scott Bellware (Eventide co-creator) about micro-services in Ruby, event sourcing, autonomous services, SOA, dumb pipes, EventStore and mis-represe
How good are your Ruby tests? Testing your tests with mutant … and check why 5600+ Rails engineers read also this How good are your Ruby tests? Testing your tests with mutantNew-feature-bugs vs regression-bugs There are many kinds of bugs. For the sake of simplicity let me divide them into new-feature-bugs and regression-bugs. New-feature-bugs are the ones that show up when you just introduce a to
Relative Testing vs Absolute Testing Recently I had one of these small aha! moments when something strikes you and a concept clarifies in your head. This time it was about testing. I am not even sure if this is something new or obvious. I know it’s something that so far I haven’t been paying attention to consciously and it made testing unnecessarily harder for me. This recognition of the differenc
Two ways for testing preloading/eager-loading of ActiveRecord associations in Rails … and check why 5600+ Rails engineers read also this Two ways for testing preloading/eager-loading of ActiveRecord associations in Rails As a developer who cares about performance you know to avoid N+1 queries by using #includes, #preload or #eager_load methods . But is there a way of checking out that you are doin
Could we drop Symbols from Ruby? Don’t know about you, but I personally have been hit a least a dozen times by bugs caused by strings vs symbols distinction. That happened in my own code, and it happened when using some other libraries as well. I like how symbols look in the code, but I don’t like the specific distinction that is made between them and strings. In my (perhaps controversial opinion)
How to safely store API keys in Rails apps Inspired by a question on reddit: Can you store user API keys in the database? I decided to elaborate just a little bit on this topic. Assuming you want store API keys (or passwords for SSL ceritifcate files) what are your options? What are the pros and cons in each case. Save directly in codebaseHow? #config/environments/production.rb config.mailchimp_ap
Using influxdb with ruby InfluxDB is an open-source time series database, written in Go. It is optimized for fast, high-availability storage and retrieval of time series data in fields such as operations monitoring, application metrics, and real-time analytics. We use it in chillout for storing business and performance metrics sent by our collector. InfluxDB storage engine looks very similar to a
What I learnt today from reading gems’ code Today I was working on chillout.io client and while I was debugging some parts, I had a look at some Ruby gems. This is always an interesting experience because you can learn how other developers design their API and how different it can be from your approach. Sidekiq So here are some interesting bits from sidekiq code. Sidekiq::Client initializer module
Why classes eventually reach 50 columns and hundreds of methods … and check why 5600+ Rails engineers read also this Why classes eventually reach 50 columns and hundreds of methods There are dozens of small or bigger problems that we can have in our code. Like diseases, they affect our applications and make them harder to maintain, expand and enjoy. They give us a headache and they give bugs to ou
Ruby code I no longer write When we learn programming languages and techniques we go through certain phases: Curiosity Admiration Overdosage Rejection Approval etc. Similarly with other things we enjoy in our life such as ice cream, pizza and sunbathing :) We learn to enjoy them, we try too much of it and learn the consequences. Hopefully some time later we find a good balance. We know, how much o
On upcoming immutable string literals in Ruby … and check why 5600+ Rails engineers read also this On upcoming immutable string literals in Ruby Today I checked one of the solutions made by our Junior Rails Developer class student. As part of the course they make Rails apps but also learn from smaller code examples delivered by exercism.io. I found there an opportunity for him to learn more about
Safer Rails database migrations with Soundcloud's Large Hadron Migrator … and check why 5600+ Rails engineers read also this Safer Rails database migrations with Soundcloud’s Large Hadron Migrator When I first started using Rails years ago I fell in love with the concept of database migrations. Perhaps because at the time I was working on commercial projects in C# which lacked this and I could fee
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く