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…
Posted inRuby Ruby 3 Software Building a Ractor based logger that will work with non-Ractor compatible code Posted by Ubuntu Server Admin September 30, 2020Recently Mike Perham shared a tweet with this comment and a code sample on the…
Posted inapache kafka kafka Karafka Karafka framework 1.4.0 Release Notes (Ruby + Kafka) Posted by Ubuntu Server Admin September 5, 2020This release mostly solves problems related to message deserialization and normalizes some of the naming…
Posted inPerformance Ruby Ruby 2.7 The hidden cost of the Ruby 2.7 dot-colon method reference usage Posted by Ubuntu Server Admin August 2, 2020Note: This case is valid also for the “old” #method method usage. The reason why…
Posted inRails Ruby Thread NameError: undefined method ‘parse’ for class ‘NilClass’ when doing Time.zone.parse Posted by Ubuntu Server Admin August 2, 2020If you get following error when trying to parse time: Time.zone.parse('2019-01-01 11:11:11') Traceback (most recent…