Blogs
This repository contains various solution of a problem in Ruby, C, C , Python and Java.
This repository contains various solution of a problem in Ruby, C, C , Python and Java. - shoaibrayeen/Programmers-Community.These implementations are for learning purpose. The solution would be provided in any programming language.You are welcom...
Refactoring Legacy Code with the Strangler Fig Pattern – Shopify Engineering
Large objects are a code smell: overloaded with responsibilities and dependencies, as they continue to grow, it becomes more difficult to define what exactly they’re responsible for. Large objects are harder to reuse and slower to test. Even worse...
How to Develop and Debug Ruby Applications in Kubernetes
Kubernetes is an open-source project for automating deployment, scaling, and management of containers. It has rapidly become the standard to run production workloads and the community around it is just great!But Kubernetes is not designed for deve...
Profiling and Speeding Up Our Rails Test Suite with TestProf
A month ago, I gave a go at speeding up the test suite of a project I'm working on. For a bit of background, the project's codebase is almost 6 years old, developers have come and go, new technologies and practices have appeared after all these ye...
Identify database issues before they hit production.
Active Record Doctor helps to keep the database in a good shape. Currently, it can:index unindexed foreign keys - active_record_doctor:unindexed_foreign_keysdetect extraneous indexes - active_record_doctor:extraneous_indexesdetect unindexed delete...
dry-rb - dry-schema and dry-validation 1.5.0 released
You can now compose schemas using logical operators. The only limitation is that xor is not supported yet as it wasn't clear how error messages are supposed to work. This feature is experimental until we finalize it in version 2.0.0.In the meantim...
Ruby's Bitwise Toolbox: Operators, Applications and Magic Tricks
How often do you think about the bits -- the ones and zeroes -- that make up your app's data? If you're doing web development in Ruby there's rarely any need to. But what if you want to interact with the operating system or a piece of hardware? Wh...