_whitelogger has quit [Ping timeout: 268 seconds]
_whitelogger_ has joined #jruby
joast has quit [Ping timeout: 260 seconds]
greyrat has quit [*.net *.split]
Leonardomejiabus has quit [*.net *.split]
satyanash has quit [*.net *.split]
JesseChavezGitte has quit [*.net *.split]
CharlesOliverNut has quit [*.net *.split]
yosafbridge` has quit [*.net *.split]
klobuczek[m] has quit [*.net *.split]
KarolBucekGitter has quit [*.net *.split]
byteit101[m] has quit [*.net *.split]
MarcinMielyskiGi has quit [*.net *.split]
AnilJaiswal[m] has quit [*.net *.split]
RomainManni-Buca has quit [*.net *.split]
JulesIvanicGitte has quit [*.net *.split]
UweKuboschGitter has quit [*.net *.split]
mlaug has quit [*.net *.split]
_whitelogger has quit [*.net *.split]
headius has quit [*.net *.split]
jswenson[m] has quit [*.net *.split]
XavierNoriaGitte has quit [*.net *.split]
kai[m] has quit [*.net *.split]
Bi[m] has quit [*.net *.split]
MatrixTravelerbo has quit [*.net *.split]
fidothe has quit [*.net *.split]
drbobbeaty has quit [*.net *.split]
johnphillips3141 has quit [*.net *.split]
BlaneDabneyGitte has quit [*.net *.split]
rebelwarrior[m] has quit [*.net *.split]
ahorek[m] has quit [*.net *.split]
deividrodriguez[ has quit [*.net *.split]
basshelal[m] has quit [*.net *.split]
enebo[m] has quit [*.net *.split]
nilsding has quit [*.net *.split]
NoraHoward[m] has quit [*.net *.split]
CrisShupp[m] has quit [*.net *.split]
nelsnnelson[m] has quit [*.net *.split]
shibz[m] has quit [*.net *.split]
liamwhiteGitter[ has quit [*.net *.split]
lopex[m] has quit [*.net *.split]
lucerne has quit [*.net *.split]
Freaky has quit [*.net *.split]
kares[m] has quit [*.net *.split]
TimGitter[m] has quit [*.net *.split]
OlleJonssonGitte has quit [*.net *.split]
ChrisSeatonGitte has quit [*.net *.split]
FlorianDoubletGi has quit [*.net *.split]
TimGitter[m]1 has quit [*.net *.split]
mattpatt[m] has quit [*.net *.split]
MattPattersonGit has quit [*.net *.split]
JasonvanZyl[m] has quit [*.net *.split]
subbu[m] has quit [*.net *.split]
sagax has quit [*.net *.split]
_whitelogger has joined #jruby
headius has joined #jruby
lopex[m] has joined #jruby
johnphillips3141 has joined #jruby
rebelwarrior[m] has joined #jruby
BlaneDabneyGitte has joined #jruby
ahorek[m] has joined #jruby
nelsnnelson[m] has joined #jruby
liamwhiteGitter[ has joined #jruby
fidothe_ has joined #jruby
nelsnnelson[m] has quit [*.net *.split]
BlaneDabneyGitte has quit [*.net *.split]
Leonardomejiabus has quit [*.net *.split]
satyanash has quit [*.net *.split]
CharlesOliverNut has quit [*.net *.split]
JesseChavezGitte has quit [*.net *.split]
yosafbridge` has quit [*.net *.split]
KarolBucekGitter has quit [*.net *.split]
klobuczek[m] has quit [*.net *.split]
MarcinMielyskiGi has quit [*.net *.split]
byteit101[m] has quit [*.net *.split]
jswenson[m] has quit [*.net *.split]
XavierNoriaGitte has quit [*.net *.split]
kai[m] has quit [*.net *.split]
Bi[m] has quit [*.net *.split]
MatrixTravelerbo has quit [*.net *.split]
fidothe has quit [*.net *.split]
drbobbeaty has quit [*.net *.split]
ahorek[m] has quit [*.net *.split]
rebelwarrior[m] has quit [*.net *.split]
lopex[m] has quit [*.net *.split]
NoraHoward[m] has quit [*.net *.split]
CrisShupp[m] has quit [*.net *.split]
deividrodriguez[ has quit [*.net *.split]
basshelal[m] has quit [*.net *.split]
enebo[m] has quit [*.net *.split]
nilsding has quit [*.net *.split]
mlaug has quit [*.net *.split]
johnphillips3141 has quit [*.net *.split]
headius has quit [*.net *.split]
shibz[m] has quit [*.net *.split]
Freaky has quit [*.net *.split]
liamwhiteGitter[ has quit [*.net *.split]
ChrisSeatonGitte has quit [*.net *.split]
OlleJonssonGitte has quit [*.net *.split]
TimGitter[m] has quit [*.net *.split]
kares[m] has quit [*.net *.split]
FlorianDoubletGi has quit [*.net *.split]
mattpatt[m] has quit [*.net *.split]
MattPattersonGit has quit [*.net *.split]
JasonvanZyl[m] has quit [*.net *.split]
TimGitter[m]1 has quit [*.net *.split]
subbu[m] has quit [*.net *.split]
sagax has quit [*.net *.split]
fidothe_ is now known as fidothe
greyrat has joined #jruby
BlaneDabneyGitte has joined #jruby
lucerne has joined #jruby
headius has joined #jruby
RomainManni-Buca has quit [Quit: Bridge terminating on SIGTERM]
JulesIvanicGitte has quit [Quit: Bridge terminating on SIGTERM]
AnilJaiswal[m] has quit [Quit: Bridge terminating on SIGTERM]
UweKuboschGitter has quit [Quit: Bridge terminating on SIGTERM]
BlaneDabneyGitte has quit [Quit: Bridge terminating on SIGTERM]
headius has quit [Quit: Bridge terminating on SIGTERM]
Bi[m] has joined #jruby
ahorek[m] has joined #jruby
enebo[m] has joined #jruby
kai[m] has joined #jruby
lopex[m] has joined #jruby
MatrixTravelerbo has joined #jruby
subbu[m] has joined #jruby
JasonvanZyl[m] has joined #jruby
nilsding has joined #jruby
TimGitter[m] has joined #jruby
MarcinMielyskiGi has joined #jruby
OlleJonssonGitte has joined #jruby
UweKuboschGitter has joined #jruby
JulesIvanicGitte has joined #jruby
ChrisSeatonGitte has joined #jruby
RomainManni-Buca has joined #jruby
BlaneDabneyGitte has joined #jruby
MattPattersonGit has joined #jruby
liamwhiteGitter[ has joined #jruby
JesseChavezGitte has joined #jruby
kares[m] has joined #jruby
basshelal[m] has joined #jruby
byteit101[m] has joined #jruby
KarolBucekGitter has joined #jruby
XavierNoriaGitte has joined #jruby
FlorianDoubletGi has joined #jruby
johnphillips3141 has joined #jruby
nelsnnelson[m] has joined #jruby
klobuczek[m] has joined #jruby
Leonardomejiabus has joined #jruby
mattpatt[m] has joined #jruby
jswenson[m] has joined #jruby
NoraHoward[m] has joined #jruby
rebelwarrior[m] has joined #jruby
deividrodriguez[ has joined #jruby
shibz[m] has joined #jruby
CrisShupp[m] has joined #jruby
AnilJaiswal[m] has joined #jruby
CharlesOliverNut has joined #jruby
headius has joined #jruby
TimGitter[m]1 has joined #jruby
<JasonvanZyl[m]> If I publish a snapshot build can you verify this week? We don't use any language features above java8, but I've lost track of how the mechanics of the compiler works with respect to building with a newer Java and running on an older.
<JasonvanZyl[m]> Actually I can do the first test, I'll build it with 11 and flip back to 8 to run it and see if it works. So I'll try that first.
<kares[m]> I've tagged a Bundler+RubyGems update for 9.3.1.0 https://github.com/jruby/jruby/pull/6890
<kares[m]> (would be nice to have up-to-date version out of the box - but no hard feelings if this gets untagged from 9.3.1.0)
<headius> I don't have any major objection, but enebo may have already verified the release
<headius> We need to get that verification into a CI job perhaps
subbu has joined #jruby
<JasonvanZyl[m]> headius: I have a local build here of polyglot, what is the simplest thing I can run in your build that will tell me if everything is ok? Should I just try `./mvnw verify` ?
<enebo[m]> I just merged it. I will verify new bits
<headius> Jason van Zyl: just about anything should verify that it still works
<headius> the main pom is .rb and everything goes from there
<headius> Jason van Zyl: I commented on your issue for the record
<headius> we will move to building with 11 soon but need 11.0.13 at least to fix a javac bug I found that prevents us compiling
<headius> punted the remaining 9.3.1.0 issues to 9.3.2.0
<headius> we should continue reevaluating whether they fit 9.3 or 9.4 or whether they should just be untargetd
<headius> enebo: there are not a ton of large items in this release that warrant their own notes
<enebo[m]> yeah just mostly things people reported
<headius> yeah I don't have anything worth adding on top of the issue list
<headius> list of issues and PRs will largely be self-explanatory
<headius> Shout out to @ahorek, @byteit101, @GabrielNagy, and @jsvd for contributions
<headius> I wish we could repro that gem push pipe error
<enebo[m]> yeah. I still wonder what the magic is on that
<headius> the IT management thing on my MBP has been hassling me to update to macOS 11 so perhaps I should do that and hope I can reproduce
<headius> LGTM
<headius> I will start prepping the other release items
<enebo[m]> I plan on pushing site after I eat since it takes some time for Maven
<enebo[m]> I also think more people see the release on west coast the later we post
<headius> docker is in process
<headius> I can throw social posts together whenever the site is up
<enebo[m]> ok
<headius> I think I will try to spend the rest of the week figuring out how to get variadic functions working better in jffi
<headius> I see where all the bits are but the current logic basically assumes varargs all go on heap and that is not right for all platforms
<headius> the logic builds up a heap va_arg like thing and then dispatches through the same logic as non-variadic calls, but there are libffi functions that should be called for vararg dispatch to set up the call protocol properly
<headius> jffi itself has no understanding of variadic functions... jnr-ffi does the arg munging on its own
<headius> this may have been done to avoid having to do a new native jffi lib but it has to change
subbu is now known as subbu|afk
subbu|afk is now known as subbu
<enebo[m]> headius: going to push site and update github release
<enebo[m]> After that send release emails
<enebo[m]> maven is propagated
<headius> ok
<enebo[m]> site is live. GH release done. updating VERSION for 9.3.2.0-SNAPSHOT
<headius> ok
<enebo[m]> Will send out email now that I see your response
<headius> download page links to 9.3.0.0 and 404s
<enebo[m]> what?
<enebo[m]> ah I see it
<enebo[m]> fixed
enebo has joined #jruby
<headius> enebo: the title and header in the release notes page still says 9.3.0.0 also
<enebo[m]> damn :)
ChanServ changed the topic of #jruby to: Get 9.3.1.0! http://jruby.org/ | http://wiki.jruby.org | http://logs.jruby.org/jruby/ | http://bugs.jruby.org | Paste at http://gist.github.com
enebo has left #jruby [#jruby]
<enebo[m]> updated
<headius> damn now FB is using a cached version of the title so it still shows 9.3.0.0
<headius> weird, linkedin sees it the same way
<headius> some mirror propagation from GH pages?
<enebo[m]> maybe those sites do the mirroring themselves?
<headius> mirrors seem to be updated now
<headius> enebo: are you doing the ruby-versions update?
<headius> and ruby-build
<enebo[m]> I wasn't no
<headius> done and done
<headius> docker is updated
<headius> I think that's all the tasks from our end
<enebo[m]> oh ok...Perhaps we can generate the text for that PR in the future since it probably involves a little copy/pasting
<headius> I pretty much just left the description blank and the title is the same as the commit: "Add JRuby 9.3.1.0"
<headius> automating any of this would be nice
<enebo[m]> yeah it may be a pain to have to click on all these but perhaps postmodern has something which does this
<headius> ruby-versions has an update script that is pretty easy
<headius> ruby-build just needs a new file with the version, URL to tarball, and sha256
<headius> enebo: could you modify your issue list generator to generate markdown instead?
<headius> I would like to paste the whole release notes to Reddit but it doesn't recognize the HTML in there as being part of the markdown
<enebo[m]> well good question. I will look at it. I am sure this was just a string.
<enebo[m]> (text)[link] right?
<headius> other way around
<headius> [text](link)
<headius> er... `[text](link)`
<enebo[m]> ok well I am going to test it but it is simple to change
puritylake[m] has joined #jruby
<puritylake[m]> Hello to all, joined to talk about the String#freeze issue
<headius> puritylake: hi there!
<headius> I'm trying to remember if we have any other cases like this
<headius> enebo: not sure if you have been following the issue but we need to honor overridden String#freeze and currently always assume it is producing a frozen string
<enebo[m]> honor mean no longer freeze opto?
<headius> this is the IR builder logic that does it, with no room for freeze being overridden
<headius> yeah basically
<headius> so if freeze is builtin it acts like a FrozenString operand, but if it is overridden it makes the call
<headius> this specific case is likely never going to happen but it seems like an opportunity to introduce IR for a cached value that is invalidated by a method change
<enebo[m]> shoot. I was totally against the idea of using .freeze for this and not a syntax differentiating between immutable/mutable but Matz is not big on that
<enebo[m]> but it means we cannot prop the value any more like other immediate values
<headius> well, this was my idea because of matz not wanting to add syntax
<enebo[m]> yeah but honoring method redefinition is a mistake
<headius> they still don't have syntax for frozen strings but there's the pragma and some additional utility methods
<headius> perhaps?
<headius> it is in the specs in any case
<enebo[m]> So a = "ff"; p a will not longer become a = "ff" p "ff"
<headius> no, `a = "ff".freeze; p a` will no longer become `p "ff"`
<headius> it only affects the .freeze call on a literal string
<enebo[m]> yeah that was what I was trying to type
<enebo[m]> Perhaps most people use pragma now
<headius> I assume almost everyone prefers the pragma now
<enebo[m]> I suppose if this is becoming a rarity then it doesn't matter if we just make it ordinary. If less rare perhaps it is not propagateable but still "special" with a guard
<enebo[m]> but are we fixing a real world issue or just a spec?
<headius> yeah that sums it up
<headius> Looks good to me, maybe the titles don't need to be links but this is good
<headius> gah where did that come from
<enebo[m]> hahah
<headius> that was about the markdown, if it didn't send before
<enebo[m]> I know when it was intended to be typed at least
<headius> as far as I know this is only fixing a spec and an open issue
<enebo[m]> I think we should consider leaving it as an incompatibility and see if anything real hits it
<enebo[m]> I certainly don't think without a real use case we should be spending time fixing it atm
<headius> I think puritylake was interested in this because it is marked beginner and would be a good intro to IR
<enebo[m]> The simplest fix is to just make it into a normal String again
<headius> hmm true
<headius> we need some numbers on how many people use "foo".freeze now
<enebo[m]> and I don't think if people are using this syntax we should try and optimize it or add a new instr for it
<enebo[m]> but I guess I wonder how much .freeze we see
<headius> if we make it just create the string and call as normal we will fail other specs that expect the same object every time
<enebo[m]> HAHA yeah
<puritylake[m]> Oh the woes of changes in large software lol
<headius> heheh true dat
<enebo[m]> so if we keep some special notion then frozenString goes from being an operand to an instr
<enebo[m]> since it might end up being a call
<enebo[m]> .operands.FrozenString -> instrs.FrozenStringInstr extends somecallbaseinstr
<headius> only a handful of uses in 9.3 stdlib
<headius> maybe grep your gems for `".freeze` and `'.freeze`
<enebo[m]> but you point out the major issue if we allow redefinition of it we have to make this change
<headius> FrozenString will remain as an operand for cases where we know it's always frozen, like with pragma
<enebo[m]> oh yeah that's true
<enebo[m]> for pragma we know. I just meand for "".freeze
<headius> we would add something like a new instr that's either FrozenStringOrCallFreeze or a more generic CacheIfMethodBuiltin
<headius> the latter might make this more interesting because there will be other patterns
<enebo[m]> I like the notion of generic but it is realld CacheIfPureFunction
<headius> nobody has filed this as a problem with their code
<headius> it could also be gated behind a property so most people would run with the current behavior
<enebo[m]> yeah I usually like to be compatible when we can see how to easily enough
<enebo[m]> in this case it is just extending a callinstr but with that said this feels a little like aliasing eval to me
<enebo[m]> I can think that someone perhaps wants to instrument how many frozen strings they made using freeze or something like that? Just feels obscure
<enebo[m]> I would rather figure out another fun issue and just add a line to our list of things we don't support
<headius> yeah tooling of some sort perhaps
<headius> hey if you have another item I'm game
<headius> maybe something 3.0
<headius> I don't personally care if this ever gets "fixed" so something on the critical path would be cool
<puritylake[m]> I'd be cool with that
<enebo[m]> puritylake: do you have a specific interest in IR itself or just getting into JRuby?
<puritylake[m]> Just getting into JRuby, I just liked the idea of looking into the IR but to be honest I don't mind the task
<puritylake[m]> As long as I learn something
<puritylake[m]> Been looking for a open source project to help out with, thought this one might be fun
<enebo[m]> puritylake: We will find something fun. I am looking through IR issues a little bit
<enebo[m]> puritylake: if you ever wanted to implement sprintf I made a start on it. This is more of a pure Java task to understand sprintf and make a runtime engine
<puritylake[m]> That could be fun, is the use case more of a utility?
<puritylake[m]> Oh, I was unaware sprintf was in Ruby, wow I feel dumb lol
<enebo[m]> we have an implementation which needs to change but more importantly it is very difficult to add things like %p
<enebo[m]> It has been a long time since I looked at this branch so I want to see how baked it is
<enebo[m]> I think what I remember is I support %d through a new parser/execution set of code but then fail back to old impl if not that format
<enebo[m]> but it is an interesting project because it is making a tiny parser and then making a small interpreter to build up the format string
<enebo[m]> it also potentially could eventually compile but that is way out of scope
<puritylake[m]> So, I can I work with java strings convert to jruby strings or should I work in jruby strings?
<puritylake[m]> s/I//
<enebo[m]> in this case it is all Ruby Strings which get reduced down to ByteList
<enebo[m]> both the format string itself and the resulting string
<enebo[m]> in JRuby a RubyString < RubyObject and has a ByteList field
<enebo[m]> You can think of ByteList as a byte[] and an encoding
<enebo[m]> but all the code is Java itself as it is internals
<puritylake[m]> Ok, cool, I guess I could work on that for the time being
<enebo[m]> puritylake: alright cool. Give me some time to dust this off and I will make a branch for you on jruby org site
<enebo[m]> It may take until tomorrow as I have to run an errand but I may get it pushed this evening too
<enebo[m]> we can talk about what it takes and we will be around to answer questions after you get rolling
<puritylake[m]> No worries, I assume you are based in the west as it is 9pm here but if you ping me I'll try get back to you if you get it ready today
<enebo[m]> oh yeah middle of US so it is still 15:22
<puritylake[m]> Ireland on this end
<enebo[m]> yeah I will let you know once I get it set up
<puritylake[m]> 👍️
<headius> enebo perhaps we should close this issue as won't fix and just accept it is a incompatibility
<enebo[m]> yeah
<enebo[m]> bbiab
joast has joined #jruby
subbu has quit [Quit: Leaving]