General

Profile

mpapis (Michal Papis)

  • Login: mpapis
  • Email: mpapis@gmail.com
  • Registered on: 03/07/2012
  • Last sign in: 04/03/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 6 14 20

Activity

04/03/2020

02:47 PM Ruby Feature #16755 (Open): warning: `if' at the end of line without an expression
I'm using this notation in a lot of scripts:
``` ruby
if
true
then
puts :a
else
puts :b
end
```
Using ruby 2.6.5 I'm getting expected response:
``` shell
(0) 2.6.5 mpapis@mpapis-linux:~/tmp>ruby -w test.rb
a
```
...
mpapis (Michal Papis)

02/01/2018

10:05 PM Ruby Feature #13581: Syntax sugar for method reference
Not sure it's worth it - but while we are at this thinking of a shorthand one of the proposals `&Math&>sqrt` made me think if it could be automated and all the iterators could recognize methods and we could avoid the initial `&` to this ... mpapis (Michal Papis)

12/30/2014

09:13 AM Ruby Bug #10558: failing require digest.so on OSX statically compiled ruby
looks like release fixed it: https://github.com/wayneeseguin/rvm/issues/3165#issuecomment-68320898 -- maybe something on the way was fixed mpapis (Michal Papis)

12/04/2014

05:38 PM Ruby Bug #10558: failing require digest.so on OSX statically compiled ruby
it's few libraries, most important here `openssl 1.0.1j`:
~~~
CFLAGS="-fPIC" LDFLAGS="-fPIC" ./Configure darwin64-x86_64-cc zlib no-shared --openssldir=/etc/openssl --prefix=~/openssl101j
make install -j 1
sed -e '/^Libs:/ s/Libs:...
mpapis (Michal Papis)

12/01/2014

07:11 PM Ruby Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
Recursive Madman it's what I said in the ticket (but unwinded)
Chris Seaton I would assume the `doc` categorization means only the first part was approved to update docs.
The rest is optimization and does not have to be part of the ...
mpapis (Michal Papis)
03:53 PM Ruby Misc #10560 (Assigned): confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
while discussing a ticket I have noticed that there is no documentation for `+=`
I was expecting `+=` to behave as `concat` but instead it behaves as `x=x+y` which for every operation clones the array and updates the variable with new...
mpapis (Michal Papis)
03:33 PM Ruby Bug #10558: failing require digest.so on OSX statically compiled ruby
Nobuyoshi Nakada what OSX version are you trying? mine was 10.10, also could it make difference if it was compiled in sources directory instead of `../src`? mpapis (Michal Papis)

11/30/2014

09:54 PM Ruby Bug #10558 (Third Party's Issue): failing require digest.so on OSX statically compiled ruby
compiling 2.2.0-preview2 and 2.2.0-preview1 with following flags:
`env LDFLAGS=-L/Users/mpapis/.sm/pkg/active/lib -fPIC -Bstatic CFLAGS=-O3 -I/Users/mpapis/.sm/pkg/active/include -fPIC -mmacosx-version-min=10.7 ./configure --prefix=/U...
mpapis (Michal Papis)

01/21/2014

01:01 PM Ruby Misc #8741: email notification on bugs.ruby-lang.org is broken
but I got notification about my last message, removed the flag `I don't want to be notified of changes that I make myself` from account settings and trying again :) mpapis (Michal Papis)
12:58 PM Ruby Misc #8741: email notification on bugs.ruby-lang.org is broken
I can confirm this still does not work - I did not get notification for last comment and neither closing the ticket. mpapis (Michal Papis)

Also available in: Atom