Systems | Development | Analytics | API | Testing

Setting Up Business Logic with DCI in Rails

In our last post, we examined the most common ways to organize business logic in Ruby on Rails. They all have advantages and drawbacks, and essentially, most do not leverage the full power of Object Oriented Programming in Ruby. This time, we will introduce another alternative that more naturally fits the mental models we apply when reasoning about the behavior of our applications: DCI.

Puppeteer in Node.js: More Antipatterns to Avoid

Puppeteer is a powerful browser automation library for web scraping and integration testing. However, the asynchronous, real-time API leaves plenty of room for gotchas and antipatterns to arise. This article is part of a series, starting with Avoiding Puppeteer Antipatterns and Puppeteer in Node.js: Common Mistakes to Avoid. In this post, we'll add another dozen antipatterns to the list. There will be no overlap with previous installments, so you may wish to start with those.

How to Empty, Delete, or Rotate Log Files in Linux?

Do you know that log files in Linux can quickly consume disk space if not managed properly? This can lead to performance issues and even system crashes. Log files? What exactly are they, and why should they matter to anyone using Linux-based systems? Log files are essential components of any Linux-based system. They are text files that contain information about system events, including errors, warnings, and other important messages.

What is BDD Testing? A Complete Guide

BDD testing is an Agile approach to software testing where testers write test cases in simple language that even people without technical expertise can understand. The goal of BDD testing is to increase collaboration between the technical side and the business side. The Gherkin language is a unique business-readable language used to describe system behaviors and scenarios. It is structured by 3 primary statements: Given - When - Then, with each statement describing a specific aspect of the system.

Comparing AWS RDS ETL Tools

Amazon's Relational Database Service (AWS RDS) is a web-based service launched by Amazon Web Services (AWS) that unifies the setup, operation, and scaling of relational databases in the cloud. By using a dependable and feature-rich ETL (Extract, Transform, Load) tool, you can simplify the process of retrieving, transforming, and sending data from the various systems you already use, like AWS RDS.