Install Ruby on Ubuntu

Install Ruby on Ubuntu: Everything You Need to Get Going

Chris Tobolski Developer Tips, Tricks & Resources

In this post, you are going to learn how to install Ruby on Ubuntu. Specifically, we’re going to install it on the current LTS (Long-Term Support) version of Ubuntu, 18.04.2. If you’re totally new to this, don’t worry! I’ve written this guide with the assumption that you have no prior experience installing packages on Ubuntu. I will attempt to explain …

Install Ruby on Windows

Install Ruby on Windows: Everything You Need to Get Going

Ben Munat Developer Tips, Tricks & Resources

Ruby is a well-established and well-regarded programming language. Once upon a time, installing Ruby on Windows came with problems, but things have come a long way. Today, there’s no reason someone couldn’t write Ruby code on any platform. First released in the mid-1990s, Ruby’s popularity soared with the release of Ruby on Rails in 2005. Ruby is primarily an object-oriented programming language (OOP), …

RVM

RVM: How to Get Started and Manage Your Ruby Installations

Peter Grainger Developer Tips, Tricks & Resources

It’s the night before a big deadline, and just before you press the button to deploy, you notice a small but important bug! You open a terminal, type in the command to run the code—and all you see is a page of errors. It’s these palm-sweating moments that make us wonder whether we made the correct career decision. Configuring our …

Install Ruby on Your Mac

Install Ruby on Your Mac: Everything You Need to Get Going

Chris Tobolski Developer Tips, Tricks & Resources

In this post, we’re going to show you how to install Ruby on your Mac. Along the way, we’ll learn about the steps involved and various bits of knowledge required to get up and going. So if you’re totally new, don’t worry! I’ll list each step and follow it with an “extra credit” section where I’ll explain that step in …

Rack Mini Profiler: A Complete Guide on Rails Performance

Rack Mini Profiler: A Complete Guide on Rails Performance

Eric Goebelbecker Developer Tips, Tricks & Resources

Ruby on Rails makes writing web applications a pleasure. It’s a powerful and intuitive platform, built on an equally powerful and intuitive language. But that doesn’t mean it’s not worth taking the time to check your code for bottlenecks and performance problems before you ship. In this post, I’ll cover how to use Rack Mini Profiler to profile your Rails …

Understanding Absence in Ruby: Present, Blank, Nil, Empty

Understanding Absence in Ruby: Present, Blank, Nil, Empty

Carlos Schults Developer Tips, Tricks & Resources

Have you ever been confused about the different ways to handle missing data in the Ruby language? I know I have, and I’m sure I’m not alone in that. The options Ruby offers come in the form of several methods: “present?”, “blank?”, “nil?”, and “empty?”. There are all somewhat related since all of them check for the absence of data …

How to Do Authentication Right With Rails Devise

How to Do Authentication Right With Rails Devise

Eric Boersma Developer Tips, Tricks & Resources

Authentication for web apps is a difficult problem. Anyone who’s ever tried to create their own authentication system will tell you that there are a lot of unexpected edge cases. What’s more, your authentication system is an externally-facing part of your application. This means if someone is trying to hack into your application, your login system’s security will be one of …

Ruby Debugger

Ruby Debugger Using Visual Studio Code

Peter Grainger Developer Tips, Tricks & Resources

No matter how carefully coded, reviewed, and tested your Ruby code is, odds are good that at some point you’ll cause a catastrophic failure to at least one system you’re responsible for. How do you prepare yourself? You need a Ruby debugger. In this post, I’ll cover the whole Ruby debugger process—from finding the issue to determining the root cause. …

Restify vs Sails vs Hapi

Restify vs. Sails vs. Hapi: Node.js Framework Comparison

Chris Tobolski Developer Tips, Tricks & Resources

In the last decade, Node.js has rapidly risen in popularity as a server-side programming language. With that popularity, we’ve seen no shortage of frameworks aiming to make developers’ lives easier. Although they are lesser-known than other Node.js frameworks, Hapi, Sails, and Restify are a few options that have a lot to offer. It can be difficult to know what framework is the best fit for your needs. …

Tips and Techniques for Improving Symfony Performance

Symfony Performance Improvements: Tips and Techniques

Sylvia Fronczak Developer Tips, Tricks & Resources

Perhaps you came upon this post while looking at ways to improve Symfony performance. Or maybe you read our comparison of Laravel and Symfony and want to know more. You could have gotten here because you want to write a performant app from the start. Then again, you could just love reading all of Stackify’s blog posts. And who could blame …

PHP Debugging Tips

PHP Debugging Tips

Peter Morlion Developer Tips, Tricks & Resources

Anyone developing software will sooner or later want to debug their code. It’s very clarifying to see your code execute step by step and inspect the values of variables at runtime. Developing with PHP is no different. In this article, we’ll have a look at PHP debugging, and I’ll also provide some tips and tricks. Debugging The term “bug” was first …

Node.js vs Python

Node.js vs Python for a Beginner’s Web App

Eric Boersma Developer Tips, Tricks & Resources

Learning to build webapps is an exciting process, but it comes with its own set of challenges. As a newer developer, deciding what programming language will bring your big idea to life is a common challenge. There are lots of terrific choices for building webapps on the market. Today, we’ll focus on two of 2019’s most popular options: Node.js vs …

Laravel vs Symfony: PHP Framework Comparison

Laravel vs Symfony: PHP Framework Comparison

Sylvia Fronczak Developer Tips, Tricks & Resources

Choosing a good PHP framework provides the right building blocks to make developing your app a breeze. Today we’re going to look at two PHP frameworks: Laravel and Symfony. We’ll compare them, score them, and declare a winner. Along the way, you’ll choose the framework that’s right for you and your product. PHP Framework Similarities Both Symfony and Laravel provide …

Python Garbage Collection: What It Is and How It Works

Alex DeBrie Developer Tips, Tricks & Resources

Python is one of the most popular programming languages, and its usage is only accelerating. It was named the TIOBE language of the year in 2018 due to its growth rate. Python’s ease of use and large community have made it a popular fit for data analysis, web applications, and task automation. In this post, we’ll cover the details of garbage collection …

Java 12: New Features and Enhancements Developers Should Know

Alexandra Altvater Developer Tips, Tricks & Resources, Insights for Dev Managers

Oracle will soon roll out Java 12 in March 2019 and new releases will drop once every six months thereafter. The goal is to make new releases more frequent for the Java ecosystem, with certain releases earmarked as long-term support (LTS). And by support, we mean the allocation of update releases for bug fixes and critical security patches. This latest …

How to Use Python Profilers: Learn the Basics

Kim Sia Developer Tips, Tricks & Resources

Serious software development calls for performance optimization. When you start optimizing application performance, you can’t escape looking at profilers. Whether monitoring production servers or tracking frequency and duration of method calls, profilers run the gamut. In this article, I’ll cover the basics of using a Python profiler, breaking down the key concepts, and introducing the various libraries and tools for …

C# Garbage Collection Tutorial

Carlos Schults Developer Tips, Tricks & Resources

Garbage collection is a key component of many modern programming languages, including C#. It’s even hard to imagine what programming would look like in C#, and other modern languages like Java, Ruby, and many others, without this tool. Despite being a valuable asset that makes a better programming experience, garbage collection can still give you a hard time, specifically with …

Comparison: Node.js vs. PHP

Phil Vuollet Developer Tips, Tricks & Resources

Both Node.js and PHP are popular platforms for websites, APIs, and other types of web content. They have a few similarities, but their differences far outweigh those similarities. In this post, we’ll take a look at how they stack up against each other. It’s Node.js vs. PHP… let’s get ready for the showdown! Similarities First, let’s take a deeper look at …

Free Entity Framework Profiler to View SQL Query Performance

Carlos Schults Developer Tips, Tricks & Resources

Picture this: you’re standing in the largest meeting room in your company. Behind you, a huge LED monitor. In front of you, all members of the C-suite. The CTO, your direct boss, is visibly nervous. The CEO looks interested and somewhat excited. The CFO looks happier than usual, though it probably has more to do with his very successful golf round …