General

Profile

rupert (Robert Pankowecki)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 2 7 9

Activity

03/28/2023

01:42 PM Ruby Feature #19553 (Open): Document thread-safety of OpenSSL related classes such as OpenSSL::PKey::RSA or OpenSSL::Cipher etc
From the ruby documentation it is not clear if these objects can be used (i.e. when assigned to a constant) by multiple threads.
Especially for the respective encrypting/decrypting method after those objects are fully initialized with ...
rupert (Robert Pankowecki)

01/10/2019

02:40 PM Ruby Feature #6470: Make attr_accessor return the list of generated method
> There's no use for private attr_reader, attr_writer, etc.
The intended usage is to ease future refactorings. If you always start with a method then later you can easily redefine just the method.
Initial code
~~~
class Somet...
rupert (Robert Pankowecki)

04/20/2016

07:35 AM Ruby Bug #12298: Indeterministic ruby behavior when another thread is killed
Eric Hodel wrote:
> This is not a ruby bug. Thread scheduling is inherently non-deterministic.
> ...
I get that. But why does Ruby wait for the second thread to finish? Or is it that Ruby always waits for those threads to finish, but ...
rupert (Robert Pankowecki)

04/18/2016

01:00 PM Ruby Bug #12298: Indeterministic ruby behavior when another thread is killed
Related Honeybadger bug: https://github.com/honeybadger-io/honeybadger-ruby/issues/186 rupert (Robert Pankowecki)
12:58 PM Ruby Bug #12298 (Rejected): Indeterministic ruby behavior when another thread is killed
```
#!ruby
require 'securerandom'
class MyThread < ::Thread; end
def delay
15
end
def run
loop { work }
rescue Exception => e
puts "#{Time.now} Exception"
ensure
puts "#{Time.now} stopping agent"
end
def wor...
rupert (Robert Pankowecki)

10/28/2015

10:38 AM Ruby Feature #11629 (Open): Implement Enhanced Mail System Status Codes (rfc1893)
Here is a list of exceptions raised by `net/smtp.rb`
~~~
def exception_class
case @status
when /\A4/ then SMTPServerBusy
when /\A50/ then SMTPSyntaxError
when /\A53/ then SMTPAuthenticationE...
rupert (Robert Pankowecki)
10:28 AM Ruby Bug #11628 (Closed): Net::SMTPServerBusy is not behaving according to documentation
The documentation for Net::SMTPServerBusy says _Represents SMTP error code 420 or 450, a temporary error_ (http://ruby-doc.org/stdlib-2.2.0/libdoc/net/smtp/rdoc/Net/SMTPServerBusy.html)
However the code for that is:
~~~
def ...
rupert (Robert Pankowecki)

11/04/2014

03:08 PM Ruby Bug #9542: Delegator does not delegate protected methods
It would be really nice to see it fixed or at least a statement whether that's intentional or not. rupert (Robert Pankowecki)

08/09/2012

08:38 PM Ruby Bug #5437: Using fibers leads to huge memory leak
Yes the memory usage is stable but that does not change the fact that it is simply huge and never returned back. In real applications this leads to memory usage always as big as in the moment of biggest peak of used fibers. Even after fe... rupert (Robert Pankowecki)

08/08/2012

07:54 PM Ruby Bug #5437: Using fibers leads to huge memory leak
Any progress ? Looks like this is still a problem in Ruby2.0: https://gist.github.com/bf4b57d5bf419dbf56ae rupert (Robert Pankowecki)

Also available in: Atom