General

Profile

p8 (Petrik de Heus)

  • Login: p8
  • Registered on: 10/21/2019
  • Last connection: 06/10/2021

Issues

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

Activity

03/25/2021

06:39 PM Ruby master Feature #17743: Show argument types in backtrace
ufuk (Ufuk Kayserilioglu) wrote in #note-4:
> p8 (Petrik de Heus) wrote in #note-3:
> > ```
> > from hi.rb:2:in `s...
p8 (Petrik de Heus)

03/24/2021

08:39 PM Ruby master Feature #17743: Show argument types in backtrace
Eregon (Benoit Daloze) wrote in #note-2:
> How would your format when the method takes multiple arguments?
```
f...
p8 (Petrik de Heus)
09:05 AM Ruby master Feature #17743 (Open): Show argument types in backtrace
Given the following Ruby program:
``` ruby
def say_hi(person)
puts message(person)
end
def message(person)
...
p8 (Petrik de Heus)
11:34 AM Ruby master Bug #17655: Experiencing Repeated Segmentation Faults Using Puma with Ruby 3.0.0
This seems similar to the following fixed issue: https://bugs.ruby-lang.org/issues/17728 p8 (Petrik de Heus)

03/16/2021

03:34 PM Ruby master Feature #13820: Add a nil coalescing operator
This is also related to the Hash#fetch_set proposal
``` ruby
cache.fetch_set(key) { calculation }
```
https:...
p8 (Petrik de Heus)

12/10/2020

10:34 PM Ruby master Feature #17342: Hash#fetch_set
Elixir has put_new and put_new_lazy:
https://hexdocs.pm/elixir/Map.html#put_new_lazy/3
Maybe store_if_new or store_n...
p8 (Petrik de Heus)

11/19/2020

08:59 PM Ruby master Feature #17312: New methods in Enumerable and Enumerator::Lazy: flatten, product, compact
@zverok Thanks for the explanation. That makes a lot of sense! p8 (Petrik de Heus)

11/18/2020

03:31 PM Ruby master Feature #17312: New methods in Enumerable and Enumerator::Lazy: flatten, product, compact
I was really suprised that #last isn't implemented in Enumerable while #first is.
p8 (Petrik de Heus)

03/02/2020

09:01 AM Ruby master Feature #16665: Add an Array#except_index method
Isn't this easily solvable with `select` and `with_index`?
``` ruby
%w( a b c d e f).select.with_index{|l,index| inde...
p8 (Petrik de Heus)

Also available in: Atom