swills has quit [Remote host closed the connection]
swills has joined #jruby
swills has joined #jruby
swills has quit [Remote host closed the connection]
<kares>
headius: could use your thoughts on https://github.com/jruby/jruby/pull/4718 ... if it looks good (there's one regression caused that I will fix) I'll put it on 2.4 so you do not have to deal with potential conflicts
swills has joined #jruby
swills has quit [Remote host closed the connection]
swills has joined #jruby
swills has joined #jruby
swills has quit [Remote host closed the connection]
prasun has joined #jruby
nicoulaj46 has quit [Quit: nicoulaj46]
nicoulaj46 has joined #jruby
nicoulaj46 is now known as nicoulaj
vtunka has joined #jruby
vtunka has quit [Client Quit]
vtunka has joined #jruby
shellac has joined #jruby
prasun has quit [Ping timeout: 258 seconds]
prasun has joined #jruby
prasun has quit [Ping timeout: 258 seconds]
prasun has joined #jruby
prasun has quit [Ping timeout: 258 seconds]
drbobbeaty has quit [Ping timeout: 246 seconds]
vtunka has quit [Quit: Leaving]
vtunka has joined #jruby
drbobbeaty has joined #jruby
shellac has quit [Remote host closed the connection]
swills has joined #jruby
clayton has quit [Ping timeout: 276 seconds]
clayton has joined #jruby
shellac has joined #jruby
bbrowning_away is now known as bbrowning
vtunka has quit [Quit: Leaving]
vtunka has joined #jruby
enebo has joined #jruby
vtunka has quit [Quit: Leaving]
shellac has quit [Quit: Leaving]
<GitHub87>
[jruby] enebo pushed 2 new commits to symbol_love: https://git.io/vQxFX
<GitHub87>
jruby/symbol_love 03c9565 Thomas E. Enebo: Remove no longer used constvardecl from IR
<GitHub87>
jruby/symbol_love 61c7517 Thomas E. Enebo: Some deprecation warnings cleared up..
<GitHub16>
jruby/ruby-2.4 f60985c Thomas E. Enebo: Change away from Fixnum for date.rb impl since Fixnum is Integergit add lib/ruby/stdlib/date.rbgit add lib/ruby/stdlib/date.rb
<enebo>
I am a big fan of tap but as some weird corner case test it does not help aid in readability
<headius>
enebo: it's pure nobu
<headius>
200 proof nobu
<enebo>
I always wonder how much languages style infect other languages
<enebo>
nobu uses lots of C and we use lots of Java
<enebo>
fortunately for us Java and Ruby are very similar
<enebo>
so multiple nested assignments with increments in an if statement is not so unusual in C (at least it seems that way)
<subbu>
i remember seeing an if condition in gcc (when i was hacking on it) with conditionals that filled a full screen (or was it half a screen .. not that it makes it any better :)).
<enebo>
I used to write C and I remember doing similar stuff but I think I have changed since I no longer uses languages which seems to encourage it
swills has quit [Remote host closed the connection]
<enebo>
subbu: it makes it much better
<subbu>
i was shocked seeing that.
<subbu>
:)
<enebo>
mix in some un-well-formed macros...FANTASTIC!
bbrowning_away is now known as bbrowning
<headius>
hmmm
<headius>
simple fix doesn't seem to do it here
swills has joined #jruby
<Aethenelle>
I use tap all the time... great for debugging and logging. Also good is you need to change something before it gets used...
<headius>
Aethenelle: yeah I was just thrown by the lack of any block arg
<Aethenelle>
? I miss something in 2.4?
<Aethenelle>
ooo... try was finally addded in 2.3 ...
<Aethenelle>
It's been a while since I looked at the new stuff...
<enebo>
Aethenelle: I use tap all the time too
<Aethenelle>
tap is good for you... just not for the people that have to read your code later...
<Aethenelle>
fortunately, most of my code is run once...
<enebo>
Aethenelle: oh I think it is really good for stuff like def gar; a = foo; a.bar(true); a; end
<enebo>
Aethenelle: I even splurge and use do/end on full lines
<Aethenelle>
I've been known to chain things off of end...
<enebo>
heh
<enebo>
no one judges on this channel
<enebo>
except lopex
<enebo>
but then he only does if it involves numbers
<lopex>
judges what ?
<enebo>
numbers
rdubya has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bbrowning is now known as bbrowning_away
<GitHub193>
[jruby] enebo pushed 2 new commits to symbol_love: https://git.io/vQpNa
<GitHub193>
jruby/symbol_love 570eac5 Thomas E. Enebo: Nice thing we test AOT so we can see these. Missed reporting number of symbols...
<GitHub193>
jruby/symbol_love d500788 Thomas E. Enebo: Merge branch 'ruby-2.4' into symbol_love
<headius>
enebo: how's it going?
<enebo>
going for Symbol push now
<enebo>
so far only issues is some things are impossible to deprecate
<enebo>
symbol should not be super hard but I expect it to knock on to m17n issues with method lookup
<enebo>
but I will see I guess
<enebo>
just realized it is really weird to eagerly get a RubySymbol and then make a SymbolNode
<enebo>
Unfortunately I think the result will be that symbols are used in enough places we still need to make a node to wrap the value but I am half wondering if it is always needed
<enebo>
:foo is a complete program and it will be in a block (AST) so it must be a node
<enebo>
It sometimes makes me wish AST was all interfaces
<enebo>
I have no idea how well that would work though
<GitHub110>
[jruby] headius pushed 4 new commits to ruby-2.4: https://git.io/vQpxd
<GitHub110>
jruby/ruby-2.4 40aca14 Charles Oliver Nutter: Guard step size against overflow into Bignum.
<GitHub110>
jruby/ruby-2.4 0426982 Charles Oliver Nutter: Match MRI numeric remainder/positive/negative logic.
<GitHub110>
jruby/ruby-2.4 0de8ebb Charles Oliver Nutter: If tap block has been procified, call that to get lambda logic....
<headius>
enebo: if we didn't interpret it, interfaces would probably have been fine
<headius>
ok so the enum thing is fixed and MRI test_numeric is 100% also
<enebo>
yeah I guess the real issue woudl still be we want positioning for debugging
<enebo>
It would still be possible but it would require something external to the nodes
<enebo>
which may be better too I guess
<headius>
ah yeah
<headius>
positions could all be in a weak map somewhere :-)
<enebo>
funny I realize we make LiteralNodes and we copy them in IR
<headius>
a weak identity map
<enebo>
which is not needed
<enebo>
then realize that only alias and undef use them
<enebo>
I guess it will kill a few more temps but very very few :)