Systems | Development | Analytics | API | Testing

Build an Elixir App with Cowboy

Cowboy is a small, fast, and modern HTTP server for Erlang/OTP. It particularly shines when handling multiple concurrent connections with minimal overhead. This makes it a perfect choice for building lightweight, real-time streaming services. In this article, we’ll build a tiny real-time text pub/sub server using Cowboy. Our service supports HTTP-based publishing, allowing clients to subscribe using either WebSockets or Server-Sent Events (SSE).

Diving Into Reactive Programming in Node.js

Boosting the scalability of your backend applications often means rethinking how you manage asynchronous data. That’s where reactive programming comes into play: a paradigm that treats data streams as first-class citizens, allowing your code to respond to data changes as they occur. While Node.js wasn’t built with reactive programming in mind, libraries like RxJS and Bacon.js support that approach.

An Introduction to Game Development with DragonRuby

The DragonRuby Game Toolkit is a powerful, cross-platform 2D game engine that allows you to create fun game titles while staying in your favorite developer-friendly language. What's not to love? In this post, we are going to cover the basics of game development with DragonRuby. We will use a "Flappy Bird" clone to explain the fundamental concepts. But before we get started, let's address two initial concerns you might have about DragonRuby right off the bat.

Ways to Improve Node.js Loader Performance

Imagine your Node.js app is like a super-fast sports car. The "loader" is its transmission — that crucial part that gets the engine's power to the wheels, making everything run smoothly. If that transmission starts acting up, your speedy app will just sputter and stop. So, it's simple: a good loader means your app flies, a bad one means it's stuck in neutral. In this post, we'll explore how to improve your Node.js app's performance with its loader. But first, what exactly is this loader thing?

Render a Component Preview In Showcase for Ruby on Rails

In part one of this series, we walked through how to use Showcase in a Rails app. It's now time to read some Ruby code written by experienced Rails developers. To do this without getting lost, we'll choose one feature of the showcase engine and analyze how it works: rendering a preview of a component. Let's get started!

Batch Updates and Advanced Inserts in Ecto for Elixir

When you build Elixir applications, you'll likely encounter scenarios where you need to handle large datasets efficiently. Whether you're importing user data from a CSV file, updating thousands of product prices, or synchronizing data from external APIs, performing operations one record at a time can quickly become a performance bottleneck. In this two-part tutorial, we'll start by exploring Ecto's powerful batch update and advanced insert capabilities for handling bulk data operations.

How to Read Code from the Showcase Ruby on Rails Engine

Reading a lot of code from very senior engineers is probably one of the best ways to level up as a Ruby on Rails developer. By doing so, we can learn new tips and techniques that we can reuse in our jobs. Thanks to open source, we can read code written by the best developers from all over the world, and for free! However, reading code from a Ruby gem or a Rails engine for the first time without being guided can be daunting. There are so many files; how do we even know where to start?

Angular Signal-Based Architecture: Building a Smarter Shopping Cart

In part one of this series, we explored how Angular Signals shift the reactive model away from the RxJS-centric approach we’ve relied on for years. We walked through the core API signal(), computed(), and effect() primitives, and demonstrated how they simplify state management by removing the need for subscriptions, teardown logic, and deeply nested observables. We also introduced a minimalist CartService that held cart items in a private signal and exposed a computed total price.

Switching from Pip to uv in Python: A Comprehensive Guide

Python has long relied on pip as its standard package manager, but a blazing-fast alternative is now changing the landscape. uv is a Rust-based package manager that aims to transform Python dependency management with unmatched performance and simplicity. In this guide, you will learn everything you need to know about uv and how to smoothly transition from the traditional pip ecosystem. Let's get started!