Systems | Development | Analytics | API | Testing

Behaviour Driven Development in Ruby with RSpec

RSpec is a library for writing and running tests in Ruby applications. As its landing page states, RSpec is: "Behaviour Driven Development for Ruby. Making TDD productive and fun". We will return to that last part later. This post, the first of a two-part series, will focus on introducing RSpec and exploring how RSpec especially helps with Behaviour Driven Development in Ruby. Let's dive in!

How to Fix "Function Object is Not Subscriptable" in Python

“Subscriptable” is just a fancy way of saying "something you can use square brackets on to get parts from it.” For example, my_list accesses the element at 0 and key, respectively. In Python you can only use square brackets [] to access elements of a list, array, or dictionary. If you try to do the same thing with a function, you get the “function object is not subscriptable” error.

How Does AI Model Training Work?

The human brain is a prediction machine. It sees patterns, then makes predictions from previous experiences. This part of human intelligence has been critical to our survival. For example, many years ago, a forager might have eaten a particular berry, gotten sick, and thus learned the clues that indicate that a berry is poisonous. This would happen automatically—we’d get nauseous when seeing the berry again, which would make us steer clear.

Build A Simple Tracing System in Elixir

In this post, the first of a two-part series, we'll cover how Elixir applications can be traced using OpenTelemetry and how macros can make this process super easy and streamlined. First, we'll talk about tracing and OpenTelemetry in Elixir. Then we'll improve our custom tracing layer step-by-step until we get an easy and seamless tool to trace our application. Let's get started!

3 Best Mulesoft Alternatives for 2024

Mulesoft is a software company that specializes in API management for complex enterprise integration. With Mulesoft, companies can create applications on top of their data to unlock the insights they need to make better decisions and grow their business. But what are some alternatives you may be interested in? In this article, we will talk about three different platforms which have created unique API management solutions. Table of Contents.

The Industries That Use APIs and Why They Matter

Most organizations are prioritizing digital transformation to remain competitive. To achieve this competitive advantage, the use of application programming interfaces (APIs) is skyrocketing — and not just among tech companies. Today, there are many industries that use APIs, some of the most prominent ones are E-commerce, healthcare, government, manufacturing, and financial services.

Processes and Artisan commands in Laravel

The command-line interface (CLI) can be a powerful tool for developers. You can use it as part of your development workflow to add new features to your application and to perform tasks in a production environment. Laravel allows you to create "Artisan commands" to add bespoke functionality to your application. It also provides a Process facade that you can use to run OS (operating system) processes from your Laravel application to perform tasks such as running custom shell scripts.