General

Profile

noniq (Stefan Daschek)

  • Login: noniq
  • Email: stefan@daschek.net
  • Registered on: 12/03/2013
  • Last sign in: 07/09/2019

Issues

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

Activity

07/09/2019

06:53 AM Ruby Feature #15991: Allow questionmarks in variable names
I personally often write code like this:
```ruby
class Foobar
attr_reader :completed
def completed?
@completed
end
end
```
This feels unnecessary complex to me. In #12046 it was discussed to allow `attr_reader :...
noniq (Stefan Daschek)

03/26/2019

05:12 PM Ruby Misc #15723: Reconsider numbered parameters
sawa (Tsuyoshi Sawada) wrote:
> I remember someone proposing the backslash `\`. Will that have problems? Are there other alternatives?
What about `\1`, `\2`, etc.?
```ruby
numbers.zip(other_numbers).map{ \1 * \2 }
```
Having ...
noniq (Stefan Daschek)

01/12/2016

09:38 AM Ruby Bug #11975: Range#last is not consistent and possibly does not do what is expected.
I haven't found this behaviour surprising at all. Maybe it’s because I'm
almost always using literal ranges and this lead me to think of
`Range#last` as “give me the last element of the range’s _definition_
(regardless of exclude_...
noniq (Stefan Daschek)

01/08/2016

12:09 PM Ruby Bug #11969 (Closed): [PATCH] IRB: Final newline missing in truncated backtraces
If IRB shows a backtrace that gets truncated because of `back_trace_limit`, the last line of the backtrace does not end with a newline.
Steps to reproduce:
~~~
$ irb -f --back-trace-limit 1
irb(main):001:0> foo
~~~
Actual out...
noniq (Stefan Daschek)

12/05/2013

01:54 AM Ruby Bug #9204: Issues when compiled with libedit instead of readline
Indeed, but unfortunately it’s a badly documented choice with rather surprising consequences: Compiling Ruby works seemingly without any problems, and you may use Ruby for several days or even months before noticing the issue. And then i... noniq (Stefan Daschek)

12/03/2013

06:45 PM Ruby Bug #9204 (Third Party's Issue): Issues when compiled with libedit instead of readline
Compiling Ruby on Mac OS X uses BSD libedit instead of GNU readline, leading to various problems. Most notably: With libedit it’s not possible to input accented characters (e.g. ÄÖÜ) in irb or pry:

$ irb # Ruby 2.1.0-preview2
irb...
noniq (Stefan Daschek)

Also available in: Atom