Posted inGC Rails RSpec RSpec story about disappearing classes Posted by Ubuntu Server Admin November 13, 2022ActiveSupport#descendants can be slow. In a bigger system with layers of descendants, finding all of…
Posted inapache kafka kafka Karafka Karafka framework 2.0 announcement Posted by Ubuntu Server Admin August 9, 2022I'm thrilled to announce the new and shiny Karafka 2.0. It is an effect of…
Posted inbenchmark Karafka karafka framework Reduce your method calls by 99.9% by replacing Thread#pass with Queue#pop Posted by Ubuntu Server Admin January 20, 2022When doing multi-threaded work in Ruby, there are a couple of ways to control the…
Posted inelgato Hardware Ruby Controlling Elgato Key Light under Ubuntu with Ruby Posted by Ubuntu Server Admin December 29, 2021Recently I’ve acquired Elgato Key Light. It is a WiFi controllable LED lighting panel. The…
Posted ingzip Ruby Software Reading the uncompressed GZIP file size in Ruby without decompression Posted by Ubuntu Server Admin November 20, 2021There are cases where you have a compressed GZIP file for which you want to…
Posted inBundler diffend Ruby RubyGems dependency confusion attack side of things Posted by Ubuntu Server Admin February 16, 2021Note: This article is not to deprecate any of the findings and achievements of Alex…
Posted inbug Ruby Software How requiring a gem can mess up your already running application Posted by Ubuntu Server Admin January 24, 2021Introduction Ruby’s dynamic nature is both its advantage and disadvantage. Being able to reopen system…
Posted inRuby rubygems Security RubyGems Bitcoin Stealing Malware postmortem Posted by Ubuntu Server Admin December 31, 2020Introduction On the 7th and 13th of December, there were two malicious packages uploaded to…
Posted inKarafka karafka framework Performance The hidden cost of a Ruby threads leakage Posted by Ubuntu Server Admin December 31, 2020Bug hunting Recently I’ve been working with one small application that would gradually become slower…
Posted indiffend Rails Ruby Diffend – OSS supply chain security and management platform for Ruby Posted by Ubuntu Server Admin October 13, 2020I’m incredibly excited to announce a security platform for managing Ruby gems dependencies: diffend.io. This…