Scout Blog

Stuff we think matters

How to Use Lambdas in Ruby

Lambdas are a powerful feature of the Ruby language. They allow you to wrap logic and data into a portable package. In this post, we’ll cover how and when to use lambdas. You’’ll also learn about the difference between lambdas and Procs, and the performance profile of lambda functions. The ...

Elixir GenServers: Overview and Tutorial

Introduction Elixir describes itself as "a dynamic, functional programming language designed for building scalable and maintainable applications." Although it's a relative newcomer, Elixir is built on top of the functional programming language Erlang. Elixir is capable of using any Erlang library, and is ideal for use cases such as web ...

Go Fast: Getting Started with Sanic for Python

Go Fast: Getting Started with Sanic for Python Tired of waiting for sluggish HTTP requests to complete before your backend code can proceed with other things? Sanic is an asynchronous web framework in Python, that is built to be fast. In a world where Flask and Django are the most ...

Tutorial: Log to Console in PHP

“All code and no logging makes John a black box error-prone system.” Logging is a key aspect of monitoring, troubleshooting and debugging your code. Not only does it make your project’s underlying execution more transparent and intelligible, but also more accessible in it’s approach. In a company or a community ...

Programmatically Adding Laravel Middleware

When it comes to web development, middleware is often the key to ensuring everything connects up - even if some of the pieces don’t always matchup. HTTP Middleware is a mechanism used to conveniently filter HTTP requests coming into your web application. When it comes to PHP, frameworks often help ...

The 15 Best Podcasts for Engineers

The 15 Best Podcasts for Engineers If you’ve been on the hunt for a new developer podcast, then you understand just how difficult and fruitless that hunt can be. You can spend hours online sifting through coding podcasts, programming podcasts, and devops podcasts just to realize one simple thing: none ...

A Complete Guide to Rails Caching

If you are using Ruby on Rails, caching might be one of the best tools on your belt to build a better application. The idea behind caching in Rails is to serve thousands of concurrent users on a single server with a single database attached. Let’s take a look at some of the benefits caching can provide.

Migrating from Python 2 to 3: Automated Tools and Strategies

This article is a continuation of Part I (A comprehensive guide to migrating from Python 2(Legacy Python) to Python 3) which details the changes, improvements in Python 3 and why they are important. This rest of the article details automated tools, strategies and role of testing in the migration from ...