General

Profile

Soilent (Konstantin x)

  • Login: Soilent
  • Registered on: 11/22/2013
  • Last sign in: 12/23/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 7 8

Activity

12/23/2020

10:39 PM Ruby master Bug #17430: CSV: NoMethodError when the write_nil_value or write_empty_value options are used
kou (Kouhei Sutou) wrote in #note-1:
> It has been fixed in the latest csv gem.
>
> You can use update your csv b...
Soilent (Konstantin x)
06:43 AM Ruby master Bug #17430 (Closed): CSV: NoMethodError when the write_nil_value or write_empty_value options are used
CSV.generate_line throws an exception when I specify `write_nil_value` or `write_nil_value`.
```
> CSV.generate_l...
Soilent (Konstantin x)

12/10/2019

05:32 AM Ruby master Revision 1bdabaa6 (git): base64.rb: improve performance of Base64.urlsafe_encode64
* lib/base64.rb: avoid unnecessary memory allocations Soilent (Konstantin x)

03/08/2018

11:59 AM Ruby master Feature #14580: Hash#store accepts a block
Eregon (Benoit Daloze) wrote:
> Soilent (Konstantin x) wrote:
> > Consider another example `hash.store(:time) { |ts...
Soilent (Konstantin x)
11:05 AM Ruby master Feature #14580: Hash#store accepts a block
mame (Yusuke Endoh) wrote:
> I think it is not so simple to optimize the double lookup by this API. Consider:
>
...
Soilent (Konstantin x)
08:44 AM Ruby master Feature #14580: Hash#store accepts a block
sawa (Tsuyoshi Sawada) wrote:
> Why not write `hash[:a]+= 42`?
Good point, but this works only for arithmetic ope...
Soilent (Konstantin x)

03/07/2018

04:40 PM Ruby master Feature #14580: Hash#store accepts a block
Hanmac (Hans Mackowiak) wrote:
> ~~~ ruby
> hash.transform_values(:a, :b) { |val| val + 42 }
> hash[:a] #=> 44
> ...
Soilent (Konstantin x)
04:25 PM Ruby master Feature #14580: Hash#store accepts a block
Eregon (Benoit Daloze) wrote:
> What should happen if the given key doesn't exist in Hash?
> This looks like a comp...
Soilent (Konstantin x)
04:21 PM Ruby master Feature #14580: Hash#store accepts a block
Hi Robert,
Thank you for your reply. You understood everything correctly.
Also, I might be wrong, but it seems ...
Soilent (Konstantin x)

03/06/2018

03:42 PM Ruby master Feature #14580 (Open): Hash#store accepts a block
Given a hash
~~~ ruby
hash = { a: 2 }
~~~
I want to update a single value in the hash:
~~~ ruby
hash[:a] ...
Soilent (Konstantin x)

Also available in: Atom