<olleolleolle>
headius: Yes, it avoids all madness, and the JRuby works a lot better.
<headius>
ok great...I agree there's still something for us to fix here, but I'm glad you were able to get past it
<headius>
I'm reviewing other collect/map impls to see if there's a good way to avoid this
<olleolleolle>
Cool. Do you ever blog about those excursions into other implementations? That'd be interesting.
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<olleolleolle>
"How the sausage is made"
pitr-ch has joined #jruby
<headius>
I have in the past, but the past year or so has been so busy on 9k I have not been blogging
<headius>
ahh of course
<headius>
collect pre-allocates an array for the incoming elements...when the size of the original changes partway through, it doesn't fill the rest of that array with nils like it should
<headius>
with nulls left in there any number of methods will blow up
<headius>
and the new size doesn't reflect how many elements it really ended up mapping
<JRubyGithub>
[jruby] headius closed issue #3155: NullPointerException on deleting items from an Array while mapping over it http://git.io/vmNtV
JRubyGithub has left #jruby [#jruby]
<headius>
olleolleolle: that would be great
<headius>
fuzz testing
<headius>
this would mostly just confirm parser works though, since you couldn't guarantee anything about how the programs execute (in general)
<olleolleolle>
I thought about that. Would it be possible with some logic programming language (miniKanren?) to make a small program generator that knew about the operations of a subset of Ruby?
<headius>
that's outside my expertise, but perhaps :-)
<olleolleolle>
I'll ask one person who's in the know.
<headius>
oops, I should have done that fix on 1.7 and merged
<headius>
oh well
<headius>
will fix there now
lanceball is now known as lance|afk
<enebo>
olleolleolle: DO IT
<enebo>
olleolleolle: Actually it would be really helpful for jruby-parser project as well as both MRI and JRuby
<enebo>
olleolleolle: you may also make the first self-aware program
<headius>
yeah, maybe the fuzz tester could find some of the weird syntax reports we get
<olleolleolle>
enebo: I just got the book The Reasoned Schemer, which is about miniKanren and such. Met William Byrd, got a 3-hour mind-expanding tutorial in a very hot Poznan.
<enebo>
I feel pretty good about the 2.2 parser now and the weird whitespace issues around do and kwargs
<enebo>
POZNAN’s HOT
<olleolleolle>
(32 centigrade at my time of visit.)
<headius>
nice
<enebo>
olleolleolle: Something which generates weird Ruby syntax would likely find lots of corners in MRI’s parser
<headius>
I've only been there in the fall
<enebo>
olleolleolle: which would help all boats rise
<enebo>
sorry but someone must have asked for this?
<enebo>
It is explicit in Mavenfile
<headius>
wow yeah
<headius>
or maybe he just assumed we'd want everything from lib
<chrisseaton>
Not sure what you're talking about now - is that a complete jar with Truffle in it, or a complete version of Truffle, not sure what that would mean
camlow32_ has joined #jruby
<enebo>
24765f5990458246cf942d77d42a2cd4734a6cf2
<enebo>
chrisseaton: it seems to just be all truffle source (Ruby + Java) in a jar file
blaines has joined #jruby
<headius>
chrisseaton: yeah I'm confused too
camlow32_ has quit [Read error: Connection reset by peer]
<headius>
enebo: java or class?
<enebo>
.class
<enebo>
I hope
<headius>
heh
<headius>
nuke it
<headius>
nobody seems to want it there
camlow32_ has joined #jruby
<chrisseaton>
nirvdrum created a Truffle source distribution for something we were doing, but this doesn't look like that
<enebo>
yeah
<chrisseaton>
Feel free to remove and if someone complains we'll find out why it was there later
<headius>
there's no way my timeout change would break JI
<nirvdrum>
Howdy.
<headius>
nirvdrum: good day!
rcvalle has joined #jruby
<headius>
I'm so glad we're going to have 9k final out before JRubyConf
<chrisseaton>
nirvdrum: do you know about '"jruby-truffle-#{ctx.project.version}-complete.jar"' above?
<nirvdrum>
Reading back now.
<headius>
enebo: travis failure above looks spurious...kicking it
<enebo>
heh finally delet4ed rspec 3 gems
<enebo>
trying again
<enebo>
v`be_true` is deprecated. Use `be_truthy` (for Ruby's conditional semantics) or `be true` (for exact `== true` equality) instead. Called from /Users/enebo/work/j
<headius>
still?
<headius>
oh deprecated
<nirvdrum>
This log window autoscrolls on updates.
<enebo>
So actually almost all of the failures I saw were from this
<headius>
yeah
<nirvdrum>
I need everyone to stop talking :-)
<headius>
I'm going to file a beginner bug and beg for help
<enebo>
just updating these might be enough to work on rspec 3
<nirvdrum>
The source distribution stuff I did was really just taking what we currently had for releases and applying it to snapshots as well.
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] enebo pushed 1 new commit to master: http://git.io/vYeNx
<JRubyGithub>
jruby/master 24c4053 Thomas E. Enebo: Do not add truffle-complete to jruby-jars
JRubyGithub has left #jruby [#jruby]
<enebo>
ok well ealist removed
<enebo>
but easily is not easily typed
<nirvdrum>
Maybe mkristian knows what it's all about?
<enebo>
nirvdrum: he made the commit but I think he was just trying to be complete <- pun intende
<nirvdrum>
What is wrong with your keyboard?
<enebo>
nirvdrum: I think I am broken
<enebo>
nirvdrum: I am caring a lot less about typos lately
<enebo>
nirvdrum: but I am also docked and using a normal keyboard
bbrowning_away is now known as bbrowning
<headius>
jnr-posix 3.0.16 released
<enebo>
nirvdrum: oh also I am displaying this window on my laptop and not main monitor and the typing font is like 10pt
camlow325 has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
<headius>
oh poo
camlow325 has quit [Remote host closed the connection]
<headius>
I should have looked at other PRs
<headius>
there's one that adds osgi
<headius>
3.0.17 here we come
<nirvdrum>
enebo: I'm in the midst of converting my entire dev setup to a VM. I dd'd the drive and have a shared VM set up, so I can access the same exact env from either my desktop or my laptop. As such, I've forgotten how broken software Dvorak layouts are in Java.
<headius>
nirvdrum: oh, you're one of them
<nirvdrum>
It's fun. You type everything in Dvorak, except accelerator keys, which for no reason whatsoever switch back to QWERTY.
<enebo>
THEM
<chrisseaton>
did people know they did a 'papers we love' on one of our JRuby papers?
<headius>
I've been thinking about trying Colemak but then I realize I don't have any RSI issues
<nirvdrum>
headius: So in a split vote between you and enebo, who wins? :-)
<headius>
dunno though...according to my man page this is BSD, not POSIX
<nirvdrum>
I see: CONFORMING TO
<nirvdrum>
4.4BSD, POSIX.1-2001.
<headius>
maybe there's enough that it would be worth having jnr-socket? I know enebo hates slicing up jnr
<nirvdrum>
for man 2 socket
<headius>
jnr-unixsocket should probably have been jnr-socket
<headius>
so there's that option too
<headius>
organization is hard
<enebo>
I guess -lsocket would be a precedent but not everything in jnr-posix is in -lc
<nirvdrum>
I admit this is sort of an odd case. Generally Java provides sockets so this shouldn't be all that necessary. But we have a body of code we'd like to work with.
<headius>
enebo: yeah
<headius>
nirvdrum: there's a ton of socket types Java doesn't provide though
<enebo>
another question would be what percentage of people would use only jnr-socket and not also need to dip into jnr-posix
<enebo>
for me it is what is common vs what is possible
<headius>
enebo: excellent point
<headius>
my concern about jnr-posix is e.g. Windows
<headius>
does socket(2) even mean anything there?
<enebo>
I think socket works on windows
<enebo>
or some of it
<nirvdrum>
Windows sockets are BSD-based. But the API is a bit different.
<headius>
if it does then I have no concerns
<headius>
¯\_(ツ)_/¯
<headius>
I guess we can put in jnr-posix now and move it out later if it makes sense
<headius>
the five users of jnr-posix probably won't care
<nirvdrum>
Half of jnr-posix doesn't work on Windows as it is :-P
<headius>
yeah
<nirvdrum>
I've been working at that here and there.
<chrisseaton>
jnr-posix is really jnr-libc-and-syscalls isn't it?
<enebo>
nirvdrum: fix that aspect first! :)
<enebo>
chrisseaton: nearly
<nirvdrum>
enebo: I cut the list down substantially. I even wrote tests.
<headius>
enebo: Krill's on board, I'll include you
<headius>
email
<enebo>
chrisseaton: we also do things like getgroup getpasswd which I think are a bt further out
<headius>
chrisseaton: do you want a bullet about truffle work in the press one-sheet?
<headius>
I'm not sure if it's press-worth at this point or not
<enebo>
chrisseaton: it raises visibility but it is not really a release item yet per se
<enebo>
chrisseaton: but since you guys would be fielding most issues around it then it is your call
<chrisseaton>
Use what was in the last release notes if you do please
<chrisseaton>
But you may want to avoid putting it in press release stuff
<chrisseaton>
You'll just get people trying to use it
<chrisseaton>
Won't be offended if you leave it out of press stuff this release
<headius>
yeah that's kinda what we were thinking too
<headius>
wanted to run it by you though
<enebo>
my only reservation is when people know it exists they try and use it…which is great…but saying experimental and having people understand that is sometimes an issue
<headius>
we'll leave it out
<enebo>
chrisseaton: we should talk about milestone goals w/ truffle so we can plan how we will get people using ruby-truffle
<enebo>
chrisseaton: At some ponit I think we mini-dist it and announce and get people to start using it in earnest but I think some minimum level of running common apps probably is a good idea before that point
<enebo>
chrisseaton: perhaps if you do spend the day/morning at jrubyconf.eu we can talk about it
<enebo>
chrisseaton: I mostly bring this topic up because it is really hard to know what is not working without an active user base.
<chrisseaton>
Yeah
<chrisseaton>
Hopefully we'll have metrics on third party gems at some point
<enebo>
chrisseaton: yeah but even passing remote gem spec runs is not the same as using…it is amazing how many red suites we see with many active jruby users using the library with no reports
<enebo>
chrisseaton: but anyways it will be useful to talk about it a little
yfeldblum has quit [Ping timeout: 246 seconds]
<chrisseaton>
Yeah and in person I can show you some more stuff we have planned
<enebo>
chrisseaton: ah yeah great
DomKM has quit [Quit: Connection closed for inactivity]
rsim has quit [Quit: Leaving.]
mkristian has joined #jruby
DomKM has joined #jruby
bf4 has joined #jruby
bf4 is now known as Guest75720
robbyoconnor has quit [Ping timeout: 255 seconds]
goyox86 has joined #jruby
havenwood has quit [Read error: Connection reset by peer]
Papipo has joined #jruby
<Papipo>
Hi
havenwood has joined #jruby
<Papipo>
Is there any java CMS that would be a good fit as headless backend for a rails app? My app is a normal rails app, but it grew stupidly and I think that I would be better just using a proper content management solution
<headius>
Papipo: wow, I really don't know
<headius>
I'm sure there's dozens of Java CMSs but I've been out of that game for a long time
havenwood has quit [Read error: Connection reset by peer]
<Papipo>
sure there are many, but I think that the scene is probably as crappy as it was in 1999
<headius>
well the last one I used was a POS CMS from Tibco
<headius>
you might post on JRuby list
<headius>
there's folks more intimate with Java web world than me
<Papipo>
well, I chose java because of jruby
<Papipo>
I don't want to touch php
<Papipo>
If I need to tweak something I might use ruby, and I am familiar with jruby deployments
<headius>
what about a Ruby CMS?
<headius>
not that I know what those are either, but it would seem to be an easier integration
<Papipo>
yep, but apparently there are a few and I'm not too fond of any
<headius>
ok
<Papipo>
anyway, thanks, I'll keep googling
<headius>
I'd post to JRuby list, and if you tweet the question we can retweet
<headius>
it would be good to know
<enebo>
hmm I wonder if Radiant has been supported well for JRuby?
<headius>
oh yeah, that's one
<headius>
I have no idea
<Papipo>
btw, which version of ruby is recommended to use with jruby 9000? 2.2 maybe?
<Papipo>
because I can switch the ruby compatible version, right?
havenwood has joined #jruby
<enebo>
Papipo: 2.2 only for 9000
<Papipo>
ok, thanks
<Papipo>
better, I don't even have to choose
Papipo has quit [Remote host closed the connection]
blaines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has joined #jruby
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 240 seconds]
blaines has joined #jruby
blaines_ has joined #jruby
blaines has quit [Ping timeout: 256 seconds]
camlow32_ has joined #jruby
yfeldblum has joined #jruby
robbyoconnor has quit [Quit: Konversation terminated!]
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
camlow325 has quit [Ping timeout: 264 seconds]
temporal_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
temporalfox has joined #jruby
fvf has joined #jruby
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
temporalfox has joined #jruby
camlow32_ has quit [Remote host closed the connection]
tcrawley is now known as tcrawley-away
camlow325 has joined #jruby
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cultureulterior1 has joined #jruby
bbrowning has quit [Quit: Leaving]
dinfuehr has joined #jruby
donV has joined #jruby
lanceball is now known as lance|afk
dinfuehr has quit [Ping timeout: 246 seconds]
pitr-ch has joined #jruby
pitr-ch has quit [Client Quit]
Aethenelle has quit [Quit: Aethenelle]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] jowl opened pull request #3160: Define packages for classes in nested JARs (jruby-1_7...define-package-in-nested-jars) http://git.io/vYf99
JRubyGithub has left #jruby [#jruby]
donV has quit [Quit: donV]
mrmargolis has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Locke23rus has quit [Ping timeout: 265 seconds]
baroquebobcat has joined #jruby
Locke23rus has joined #jruby
camlow325 has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] headius pushed 1 new commit to master: http://git.io/vYfxT
<JRubyGithub>
jruby/master 7dedfe4 Charles Oliver Nutter: Remove truffle "complete" jar from jruby-jars verification.
JRubyGithub has left #jruby [#jruby]
mrmargolis has quit [Remote host closed the connection]
camlow325 has joined #jruby
enebo has quit [Ping timeout: 240 seconds]
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
Aethenelle has joined #jruby
dinfuehr has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dinfuehr has quit [Ping timeout: 240 seconds]
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
robbyoconnor has joined #jruby
samphippen has joined #jruby
samphippen has quit [Client Quit]
Locke23rus has quit [Ping timeout: 244 seconds]
bffff_ has quit [Quit: Connection closed for inactivity]