01:00
haze has quit [*.net *.split]
01:00
quadz has quit [*.net *.split]
01:00
eonwe has quit [*.net *.split]
03:00
sgeorge has joined #jruby
03:02
vext01 has quit [*.net *.split]
03:29
Sigyn has quit [*.net *.split]
03:35
Sigyn has joined #jruby
04:58
sgeorge has quit [Remote host closed the connection]
04:59
sgeorge has joined #jruby
05:04
sgeorge has quit [Ping timeout: 272 seconds]
06:09
sgeorge has joined #jruby
06:14
sgeorge has quit [Ping timeout: 244 seconds]
06:40
<
kares >
headius: the jruby-head CI failure with the RG suite went away for now ...
06:41
<
kares >
AR-JDBC 5x releases cut yesterday
06:42
<
kares >
so now hopefully some perf testing with RGs ... although I do not have data ;(
07:35
shellac has joined #jruby
07:49
jmalves has joined #jruby
08:12
sgeorge has joined #jruby
08:20
jmalves has quit [Remote host closed the connection]
08:21
jmalves has joined #jruby
08:21
sgeorge has quit [Ping timeout: 250 seconds]
08:25
jmalves has quit [Ping timeout: 252 seconds]
10:12
jmalves_ has joined #jruby
10:50
ChrisBr has quit [Ping timeout: 250 seconds]
11:08
ChrisBr has joined #jruby
11:23
shellac has quit [Quit: Computer has gone to sleep.]
11:24
sgeorge has joined #jruby
11:29
sgeorge has quit [Ping timeout: 246 seconds]
11:43
drbobbeaty has quit [Ping timeout: 252 seconds]
13:20
shellac has joined #jruby
13:55
ChrisBr has quit [Ping timeout: 272 seconds]
13:56
ChrisBr has joined #jruby
14:00
sgeorge has joined #jruby
15:52
jmalves_ has quit [Remote host closed the connection]
15:55
jmalves has joined #jruby
15:56
<
lopex >
unless it's all bots now
15:57
enebo has joined #jruby
15:58
<
enebo >
lopex: TO THE MOON
15:59
<
lopex >
how much of that are bots ?
16:00
jmalves has quit [Ping timeout: 244 seconds]
16:00
<
enebo >
lopex: well I would not say many...we have other projects with hardly any stars
16:00
<
enebo >
lopex: I guess once we got past a threshold of stars maybe that is when the bot hoard starts also starring? I don't really get stars in general
16:02
<
lopex >
so it might be threshold then
16:03
xardion has quit [Remote host closed the connection]
16:04
<
enebo >
lopex: or we may just have people starring our project...
16:04
<
lopex >
enebo: I also have problems quickly telling fork history on gh
16:04
<
enebo >
lopex: think about this if it were just bots they seem to join by small amounts over the entire length of this history
16:05
<
enebo >
lopex: seems more likely it is largely just users
16:05
<
lopex >
I'm not saying most of them are
16:05
<
lopex >
but what's the ratio
16:06
<
enebo >
lopex: yeah good question....audit them and tell me once you looked at each one :P
16:07
<
lopex >
enebo: but guss how they did the opts so it can be nc path compatible
16:07
<
lopex >
like host!port\..\..
16:08
<
lopex >
enebo: yeah, starting now
16:08
xardion has joined #jruby
16:09
<
enebo >
lopex: you know this sed pattern?
16:09
<
enebo >
lspci -v | sed -nr "/Wireless/, /^$/p"
16:09
<
lopex >
enebo: that fuse thing might be good for ci, since it seems to support fam and the like
16:10
<
enebo >
I feel like I should know it but if I ever knew it then it left my brain decades ago
16:10
<
lopex >
enebo: I always look at man when using sed
16:11
<
enebo >
lopex: but it is very nice at being able to get text between two regexps
16:11
<
enebo >
lopex: I now wonder why this is not common in Ruby
16:11
<
enebo >
lopex: OR IS IT?
16:12
<
enebo >
I don't know what -r is for and I see no mention of it in sed man page either
16:12
<
enebo >
oh extended regexp
16:13
<
enebo >
for alternations and stuff perhaps
16:13
<
lopex >
er, that's not what I meant
16:13
<
lopex >
where is it
16:13
<
lopex >
it was a really cool playground
16:14
<
enebo >
lopex: are you on linux?
16:15
<
lopex >
enebo: depends
16:15
<
enebo >
lopex: you know what that command does?
16:15
<
lopex >
the whole thing ?
16:15
<
enebo >
that sed commands just prints out the section of the output from Wireless to the empty line of the next device
16:16
<
enebo >
so it allows me to target a single entry of that output instead of having it all
16:20
<
lopex >
enebo: well, I used to split on look ahead/behind in ruby but it's clearly more restricted
16:21
<
enebo >
lopex: can you give a snippet?
16:21
<
enebo >
you just mean capture groups on multiline regexp?
16:21
<
lopex >
enebo: jeeze somewhere in old gists
16:21
<
enebo >
I guess though this is non-greedy too
16:22
<
enebo >
since if you have two or three wireless...^$ they all print
16:22
<
enebo >
lopex: but I guess you can do that as well with one regexp
16:27
<
lopex >
enebo: do you have minimal example ?
16:27
<
lopex >
like that ?
16:28
<
enebo >
I could supply my lspci output and say do the same thing
16:28
<
enebo >
I think we can specify non-greedy first_linere\n.*\nlast_linere and the center would be what we display
16:30
<
lopex >
so look aheads and behinds
16:30
<
lopex >
behind is more restricted though
16:30
<
enebo >
lopex: another way is to do what sed does and actually use two regexps
16:30
<
lopex >
enebo: can you gist it ?
16:31
<
lopex >
the lspci output
16:32
Puffball has joined #jruby
16:51
shellac has quit [Ping timeout: 240 seconds]
16:55
<
lopex >
enebo: yeah, hmm something like not yet satisfactory /(?<!\n)Wireless.*\n(?=\n)/m
16:56
<
lopex >
look behind limitations
17:28
telegardian has joined #jruby
17:50
sgeorge has quit [Ping timeout: 240 seconds]
17:51
<
enebo >
lopex: lspci -v | ruby -ne 'puts $_ if /Wireless/../^$/'
17:52
<
enebo >
Someone on twitter replied. I sweared I did this at first but I think I got a range error so maybe I mistyped it?
17:55
<
enebo >
I used " for -e so $/ was expanded by bash
18:00
sgeorge has joined #jruby
18:02
<
lopex >
enebo: yeah, two regexps though
18:03
<
lopex >
enebo: but I admint I havent used that
18:03
<
enebo >
lopex: true but this is likely not too perf sensitive
18:03
<
enebo >
lopex: and your single regexp will end up being more archaic syntax-wise even if it does work the same
18:05
<
lopex >
enebo: and the problem is it wont
18:13
<
lopex >
enebo: the other thing is that you can go surprisingly far with reluctant modifiers
18:14
<
lopex >
the possessive one I found only useful with anchors
18:21
jmalves has joined #jruby
18:23
jmalves has quit [Remote host closed the connection]
18:24
jmalves has joined #jruby
18:30
sgeorge has quit [Read error: Connection reset by peer]
18:30
sgeorge_ has joined #jruby
18:37
<
headius >
I'm going to release jcodings with module stuff now
18:37
<
headius >
and then joni and bytelist in a while
19:17
<
headius >
enebo: a small snag in bytelist
19:17
<
headius >
the bytelist class lives in org.jruby.util
19:17
<
headius >
but we also have org.jruby.util in JRuby
19:18
<
headius >
I don't think that's going to work with modules
19:18
<
enebo >
the gift which keeps on giving
19:18
<
headius >
looking into it now
19:19
<
headius >
"Java 9 does not allow split packages in different modules for the reason of the reliable configuration."
19:19
<
lopex >
headius: so there's no reexposure or renaming in modules ?
19:19
<
headius >
at least according to this first article this is a no-no
19:20
<
lopex >
ok, that explains it
19:20
<
headius >
apparently you can't even split packages that aren't exported
19:20
<
lopex >
headius: and everything is transitive ?
19:20
<
enebo >
renaming bytelist is not a huge deal for us but it is a huge deal for native extensions
19:20
<
headius >
well shading is going to be a whole different ball of mess
19:21
<
enebo >
unless we make a org.jruby.util.ByteList which is a shim or something
19:21
<
headius >
enebo: yeah one could extend the other
19:21
<
headius >
well, JRuby one extend the ByteList one
19:21
<
lopex >
headius: hmm, so maybe it's time to split tables from jcodings ?
19:21
<
lopex >
or even transcoding
19:21
<
headius >
lopex: into separate modules?
19:21
<
enebo >
lopex: why?
19:21
<
lopex >
enebo: heavy
19:22
<
lopex >
enebo: we're the only users of transcoding tables
19:22
<
enebo >
lopex: because we may decide to use jcoding but not use data or transcoding?
19:22
<
lopex >
and api for that matter
19:22
<
enebo >
lopex: oh other users may want a smaller jar
19:22
<
headius >
also might be helpful for jaotc
19:22
<
lopex >
enebo: yes, the heavies ones are the less used
19:22
<
headius >
but I don't know
19:22
<
enebo >
well I don't actually care
19:23
<
enebo >
I don't think data changes enough for us to be bothered by an extra release
19:23
sgeorge_ has quit [Remote host closed the connection]
19:23
<
lopex >
also, joni doesnt even use transcoding and casing apis
19:23
<
enebo >
but I don't care if other projects have a larger jar either
19:24
<
lopex >
not my problem either
19:24
<
lopex >
just mentioned in case anyone cares
19:24
<
enebo >
has anyone ever asked?
19:24
<
lopex >
I dont recall
19:24
<
lopex >
but it's considerable size
19:25
<
lopex >
maybe not so much nowadays though
19:26
<
lopex >
enebo: I'm more concerned whether I shall have a beer now
19:26
<
enebo >
lopex: seems legit
19:27
<
lopex >
enebo: will definitely look at sunday search this week, since I'll have a dew days off
19:28
<
lopex >
er, next one
19:28
<
lopex >
it is a thing ?
19:30
sgeorge has joined #jruby
20:03
<
headius >
enebo: so a question
20:03
<
headius >
actually nevermind...this bytelist package thing is a bummer
20:04
<
headius >
I was going to ask if we should switch to using the new package within JRuby but just ship a shim for backward compat
20:04
<
headius >
but the signature of any public API that receives or returns ByteList would change
20:05
<
enebo >
yeah it seems like just adding a class to jruby itself with org.jrbuy.util is only feasible option although some IDEs note which artifact a class comes from so it may confuse a few IDEs
20:05
<
enebo >
OTOH bytelist itself will have a new package so it likely will just reload and work
20:06
<
enebo >
It does screw with us a bit if we decide we want to change the API too
20:06
<
enebo >
I guess we can use the new package name and get changes but the jruby.util one somewhat needs to stay the same
20:09
mdrob has joined #jruby
20:10
<
mdrob >
I am working with somebody who will be upgrading from JRuby 1.7 to 9.1, are there any guides about things to watch out for?
20:10
<
mdrob >
Or is it expected to be fully compatible?
20:11
<
headius >
a bunch of ByteList methods return ByteList
20:11
<
headius >
so now they all return org.jruby.bytelist.ByteList
20:11
<
headius >
this is a mess
20:16
<
headius >
enebo: I don't know how to fix this
20:16
<
headius >
only thing I can think of is eliminating org.jruby.util in JRuby or eliminating ByteList as an external library
20:17
<
lopex >
and what about jffi and the like ?
20:17
<
headius >
a third option is overriding every method that returns ByteList in our shim but we'd have to double-construct or make the real ByteList call some factory method
20:17
<
headius >
I don't think any of our other projects depend on bytelist
20:17
<
lopex >
headius: hah! and you wanted once joni depend on it :P
20:18
<
lopex >
screw it, and include in jruby
20:20
<
lopex >
headius: and it will help realigning the api too
20:24
<
enebo >
lopex: ah yeah pepe is illegal in EU right?
20:24
<
lopex >
enebo: I'm not following that
20:25
<
lopex >
enebo: but there's last chance in early 2019 to block iyt
20:26
<
lopex >
enebo: something like EP will listen to mass complains of citizens or something like that
20:26
<
enebo >
that graphic is a play on pepe the frog which was designated a hate symbol by ADL
20:26
<
enebo >
It is still constantly used for memes by gamers
20:26
<
lopex >
yeah, that is obvious
20:27
<
headius >
enebo: bytelist
20:27
<
lopex >
enebo: merge it
20:28
<
enebo >
headius: yeah I think we kill it as a project and people can depend on it for older stuff but it is just part of jruby from some point forward
20:28
<
enebo >
and that point could be now I guess
20:28
<
headius >
I'm trying to determine anything else that depends on the project
20:28
<
enebo >
headius: of ours?
20:29
<
lopex >
or in maven repos ?
20:29
<
lopex >
headius: you dont count maven github deps I guess ?
20:29
<
enebo >
headius: well we can keep it as an artifact and even make it a module but just not use it ourselves
20:29
<
headius >
yeah obviously existing releases won't go away
20:29
<
enebo >
If no one is actually using it so much the better because then we don't need to fix bugs
20:29
<
headius >
yeah that's what I'd like to know
20:36
<
lopex >
headius: is there a chance for more fine grained exposure of org.joni.constants ?
20:36
<
lopex >
these ast nodes are exactly what I wanted to hide
20:37
<
headius >
jcodings is released already but is there anything we want to hide in there?
20:37
<
lopex >
so all the deps are indirectly through jruby
20:37
<
headius >
I just exposed all packages
20:37
<
headius >
yeah looks like it
20:37
<
lopex >
headius: yes, I'd have to look
20:38
<
lopex >
headius: I can do it once you merge to master then
20:38
<
headius >
lopex: already done and released in 1.0.34
20:39
<
lopex >
headius: I dont see it on gh ?
20:39
<
lopex >
oh, jcodings
20:39
<
headius >
joni I'll get done and pushed for you
20:40
<
lopex >
you should do a writeup on modules pitas
20:41
<
headius >
yeah I will
20:42
<
lopex >
and how it relates to tooling
20:42
jmalves has quit [Remote host closed the connection]
20:42
jmalves has joined #jruby
20:47
jmalves has quit [Ping timeout: 240 seconds]
20:49
<
headius >
lopex: pushed
20:52
<
headius >
oh I guess I only exposed the main package, constants, and exceptions
20:52
<
headius >
so maybe that's how you want it
20:53
<
lopex >
yeah I see it
20:53
<
lopex >
but want to exclude most of the constants
20:54
<
lopex >
what the state of the ides for that ?
20:55
<
lopex >
headius: since when I work on it I always have once colliding with once in nashorn
20:55
<
lopex >
they will ditch nashorn in 11 I guess
20:56
<
headius >
I'm not sure there's a way to do that
20:57
<
lopex >
so everything changes now, mvn repo search even right ?
20:58
<
lopex >
well, gets additional complexity
20:58
<
headius >
I don't know
20:58
<
lopex >
since till now everythin was essentially public
21:00
<
lopex >
it even asks a question whethere a tool existed that rewrites bytecodes to keep private things in separate packages
21:01
<
lopex >
seems like a preset for proguard
21:01
<
lopex >
that was sarcasm ofc
21:01
<
headius >
I don't think you can even export individual classes
21:01
<
headius >
it works at a package level
21:05
<
lopex >
oh, so that's why there is "exports to" so you can refactor internally ?
21:06
<
lopex >
I guess my assumptions were bad
21:07
<
headius >
exports to is for exporting something to a specific set of modules
21:08
<
headius >
so like joni could export ast only to JRuby or something like that
21:08
<
headius >
used within JDK for hiding internal packages but allowing them to be called from other JDK modules
21:08
<
lopex >
so down the deps
21:09
<
lopex >
er, well, de deps are ineffective there
21:09
<
headius >
enebo: I'm going to go ahead with bytelist move on master
21:12
<
lopex >
headius: jeeze so reflection is whole other story
21:14
<
headius >
but I'm just making these all open modules
21:14
<
headius >
bytelist move is on master
21:16
<
lopex >
this is something I always expected to happen
21:19
<
headius >
yeah it was fun while it lastest
21:20
<
lopex >
yeah, I remember from one of your talks that might be the most used singlefile project
21:21
<
headius >
apparently not by anyone but us
21:23
<
lopex >
well, except zillion of npm packages which have single functions
21:23
<
lopex >
and break whole dep trees used by big projects
21:27
<
headius >
left justify
21:27
<
lopex >
it's a meme already
22:05
sgeorge has quit [Remote host closed the connection]
23:06
sgeorge has joined #jruby
23:09
sgeorge has quit [Read error: No route to host]
23:56
sgeorge has joined #jruby