Malloc Can Double Multi-threaded Ruby Program Memory Usage
Explains how malloc's per-thread memory arenas cause memory fragmentation in multi-threaded Ruby programs and how setting MALLOC_ARENA_MAX can reduce usage.
Explains how malloc's per-thread memory arenas cause memory fragmentation in multi-threaded Ruby programs and how setting MALLOC_ARENA_MAX can reduce usage.
A guide to optimizing Puma, Unicorn, and Passenger Ruby app servers for maximum throughput and resource efficiency.
A developer shares projects from SUSE Hack Week 15, including Conway's Game of Life, Ruby gems, and Git tooling.
A guide for iOS developers on using Bundler to manage Ruby tool dependencies like CocoaPods and Fastlane, ensuring consistent project setups.
A guide for iOS developers on managing Ruby versions to avoid issues with tools like CocoaPods and Fastlane, using chruby and ruby-install.
A technical guide for creating a custom table of contents filter for Jekyll sites using a Liquid module.
How GitHub uses automated testing tools to help developers write more user-focused, less corporate-sounding blog posts.
A freelance web developer introduces their new blog, 'bits of code,' where they will share web development knowledge and lessons learned.
A tutorial on using Ruby and the Mechanize gem to scrape personal fitness data from MyFitnessPal when API access is unavailable.
Explains the Cleanroom Pattern in Ruby for safely evaluating DSLs, addressing security risks of instance_eval and scope issues.
Chef 12 ends support for Ruby 1.8 and older 1.9 versions, requiring Ruby 1.9.3+. This allows cookbook developers to use modern Ruby features.
A guide to unit and functional testing of Ruby applications that interact with git, using RSpec to verify commands and their execution.
A talk on Chef Sugar, a Ruby library for Chef, covering its history and technical internals.
Announcing Chef Sugar v1.2.0, a Ruby gem that extends Chef's DSL with new features like attribute namespaces and version constraints.
Explains the difference between Chef's chef_gem and gem_package resources for installing Ruby gems in system or Chef-specific contexts.
A guide to handling Faraday::Error::ConnectionFailed in Ruby using a custom middleware for better error management.
Explains advanced patterns for using Berksfile, a Ruby-based dependency manager for Chef cookbooks, to improve flexibility and reduce repetition.
Introducing Chef Sugar, a Ruby library that extends Chef with helpful DSL methods and logic to simplify and improve recipe writing.
Explores using Policy objects and Extractors in Rails to handle multi-provider OAuth authentication cleanly, moving beyond CanCan/Pundit for authorization.