ChanServ changed the topic of #jruby to: Get 9.0.1.0! http://jruby.org/ | http://wiki.jruby.org | http://logs.jruby.org/jruby/ | http://bugs.jruby.org | Paste at http://gist.github.com
mdedetrich has joined #jruby
mdedetri_ has joined #jruby
mdedetri_ has quit [Client Quit]
mdedetrich has quit [Ping timeout: 260 seconds]
mdedetrich has joined #jruby
camlow32_ has joined #jruby
camlow325 has quit [Ping timeout: 240 seconds]
camlow32_ has quit [Ping timeout: 260 seconds]
e_dub has quit [Quit: Leaving]
pietr0 has quit [Quit: pietr0]
e_dub has joined #jruby
dinfuehr has quit [Remote host closed the connection]
subbu_ has joined #jruby
subbu_ has quit [Client Quit]
cajone has left #jruby [#jruby]
baroquebobcat has joined #jruby
vyorkin has joined #jruby
vyorkin has quit [Client Quit]
vyorkin has joined #jruby
dinfuehr has joined #jruby
vyorkin has quit [Client Quit]
jensnockert has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
jensnockert has quit [Ping timeout: 240 seconds]
brauliobo_ has quit [Ping timeout: 255 seconds]
baroquebobcat has joined #jruby
jensnockert has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
<GitHub87> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vnefu
<GitHub87> jruby/master f3d3fb8 Kevin Menard: [truffle] Avoid copying the backing byte[] from ByteList in String#bytes.
jensnockert has quit [Ping timeout: 250 seconds]
baroquebobcat has joined #jruby
baroquebobcat has quit [Read error: Connection reset by peer]
baroquebobcat has joined #jruby
yfeldblum has quit [Ping timeout: 272 seconds]
mkristian__ has joined #jruby
mkristian__ has quit [Client Quit]
tenderlove has quit [Quit: Leaving...]
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dinfuehr has quit [Remote host closed the connection]
dinfuehr has joined #jruby
yfeldblum has joined #jruby
nirvdrum has quit [Ping timeout: 250 seconds]
mdedetrich has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
jensnockert has joined #jruby
pawnbox has joined #jruby
skade has joined #jruby
jensnockert has quit [Ping timeout: 246 seconds]
donValentin has quit [Quit: donValentin]
bb010g has joined #jruby
rsim has joined #jruby
pawnbox has quit [Remote host closed the connection]
kylo has quit [Ping timeout: 255 seconds]
kylo has joined #jruby
pawnbox has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
camlow325 has joined #jruby
dinfuehr has quit [Remote host closed the connection]
dinfuehr has joined #jruby
skade has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
jensnockert has joined #jruby
camlow325 has quit [Remote host closed the connection]
shellac has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
<GitHub138> [jruby] kares pushed 3 new commits to master: http://git.io/vneFk
<GitHub138> jruby/master 37de51d kares: [build] use 9K final with antlib's -cp
<GitHub138> jruby/master e7ea92d kares: [ji] support retrieving (non-public) Java inner classes similar to Ruby's private constants...
<GitHub138> jruby/master 02efc4d kares: gently extend RubyModule's API to support setting hidden constants for consumers
<GitHub32> [jruby] kares closed issue #3333: handle non-public inner class retrieval http://git.io/vZNHA
dinfuehr_ has joined #jruby
skade has joined #jruby
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #jruby
dinfuehr_ has quit [Ping timeout: 255 seconds]
dinfuehr_ has joined #jruby
dinfuehr has quit [Ping timeout: 255 seconds]
dinfuehr_ has quit [Ping timeout: 260 seconds]
jensnockert has quit [Remote host closed the connection]
elia has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Read error: Connection reset by peer]
anaeem1_ has joined #jruby
CustosLimen has joined #jruby
yfeldblum has joined #jruby
anaeem1_ has quit [Quit: Leaving...]
drbobbeaty has joined #jruby
jensnockert has joined #jruby
vtunka has joined #jruby
mysteriouspants has quit [Ping timeout: 246 seconds]
mysteriouspants has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<travis-ci> kares/jruby (test-io-rewind:dc48f34 by kares): The build passed. (https://travis-ci.org/kares/jruby/builds/80785962)
<GitHub26> [jruby] pitr-ch pushed 1 new commit to master: http://git.io/vnv8N
<GitHub26> jruby/master c33cfd1 Petr Chalupa: [Truffle] Delegate missing specializations for {down,up}to to ruby code
shellac has quit [Read error: Connection reset by peer]
jensnockert has quit [Read error: Connection reset by peer]
jensnockert has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #jruby
cristianrasch has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jensnockert has quit [Remote host closed the connection]
<GitHub129> [jruby] eregon commented on commit c33cfd1: Is `returnsEnumeratorIfNoBlock` not working here? http://git.io/vnva2
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 252 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 240 seconds]
cristianrasch has quit [Quit: Leaving]
drbobbeaty has joined #jruby
jensnockert has joined #jruby
samphippen has joined #jruby
elia has quit [Read error: Connection reset by peer]
elia_ has joined #jruby
elia_ has quit [Read error: Connection reset by peer]
elia has joined #jruby
samphippen has quit [Ping timeout: 272 seconds]
<GitHub45> [jruby] eregon pushed 1 new commit to master: http://git.io/vnv9L
<GitHub45> jruby/master 5a1d1fb Benoit Daloze: [Truffle] Share the splitting strategy between cached dispatch nodes.
samphippen has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
<GitHub135> [jruby] eregon pushed 1 new commit to master: http://git.io/vnvQP
<GitHub135> jruby/master ef2caaa Benoit Daloze: [Truffle] Remove unused constructor parameters.
elia_ has joined #jruby
tcrawley-away is now known as tcrawley
elia has quit [Ping timeout: 265 seconds]
jensnockert has quit [Read error: Connection reset by peer]
bbrowning_away is now known as bbrowning
jensnockert has joined #jruby
<GitHub125> [jruby] eregon pushed 2 new commits to master: http://git.io/vnvAo
<GitHub125> jruby/master 54cefe5 Benoit Daloze: [Truffle] Allocate helper nodes for RubyCallNode.isDefined() lazily.
<GitHub125> jruby/master 03d227b Benoit Daloze: [Truffle] Only methods accepting kwargs can be given optimized kwargs.
<GitHub108> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/vnvx7
<GitHub108> jruby/master eb18bb8 Chris Seaton: Update some copyright information.
<GitHub108> jruby/master 05a5207 Chris Seaton: [Truffle] Update some metrics code.
samphippen has quit [Read error: Connection reset by peer]
<GitHub144> [jruby] kares created test-io-rewind (+3 new commits): http://git.io/vnvp0
<GitHub144> jruby/test-io-rewind dc48f34 kares: relax seek-channel type requirement from FileChannel to SeekableByteChannel
<GitHub144> jruby/test-io-rewind 6142ea3 kares: seekable byte channel impl - (currently) for byte[] array backed input stream (#2381)
<GitHub144> jruby/test-io-rewind 449aec4 kares: introduce a ChannelHelper indirection in using Channels.newChannel factories
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 240 seconds]
cristianrasch has joined #jruby
skade has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
samphippen has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
samphipp_ has joined #jruby
samphipp_ has quit [Read error: Connection reset by peer]
samphippen has joined #jruby
jensnockert has quit [Read error: Connection reset by peer]
jensnockert has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
jensnockert has quit [Read error: Connection reset by peer]
dinfuehr has joined #jruby
jensnockert has joined #jruby
dinfuehr has quit [Ping timeout: 260 seconds]
lance|afk is now known as lanceball
brauliobo_ has joined #jruby
jensnockert has quit [Ping timeout: 246 seconds]
<travis-ci> jruby/jruby (master:05a5207 by Chris Seaton): The build was broken. (https://travis-ci.org/jruby/jruby/builds/80813544)
<GitHub77> [jruby] chrisseaton pushed 3 new commits to master: http://git.io/vnfn3
<GitHub77> jruby/master 036adfe Chris Seaton: [Truffle] Shim ENV_JAVA
<GitHub77> jruby/master ae0e3b4 Chris Seaton: [Truffle] New one-request subject.
<GitHub77> jruby/master e83a60e Chris Seaton: [Truffle] Posix.close
Aethenelle has joined #jruby
brauliobo has joined #jruby
brauliobo_ has quit [Ping timeout: 264 seconds]
nirvdrum has joined #jruby
samphippen has joined #jruby
<travis-ci> jruby/jruby (test-io-rewind:6142ea3 by kares): The build failed. (https://travis-ci.org/jruby/jruby/builds/80814135)
CustosLimen has quit [Ping timeout: 240 seconds]
colinsurprenant has joined #jruby
<rtyler> \o/
<projectodd-ci> Project jruby-master-spec-ji build #2033: FAILURE in 44 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2033/
jensnockert has joined #jruby
nirvdrum has quit [Ping timeout: 265 seconds]
<GitHub92> [jruby] kares opened pull request #3337: support (seekable) ByteArrayInputStream#to_io.rewind (master...test-io-rewind) http://git.io/vnfzl
jensnockert has quit [Ping timeout: 256 seconds]
<travis-ci> jruby/jruby (test-io-rewind:6142ea3 by kares): The build passed. (https://travis-ci.org/jruby/jruby/builds/80814135)
dinfuehr has joined #jruby
elia has joined #jruby
elia has quit [Read error: Connection reset by peer]
nateberkopec has joined #jruby
elia_ has quit [Ping timeout: 244 seconds]
dinfuehr has quit [Ping timeout: 260 seconds]
skade has quit [Quit: Computer has gone to sleep.]
colinsurprenant has quit [Quit: colinsurprenant]
skade has joined #jruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lanceball is now known as lance|afk
<travis-ci> jruby/jruby (master:ae0e3b4 by Chris Seaton): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/80826999)
samphippen has joined #jruby
samphippen has quit [Client Quit]
baroquebobcat has joined #jruby
nirvdrum has joined #jruby
baroquebobcat has quit [Read error: Connection reset by peer]
baroquebobcat has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
nirvdrum has quit [Ping timeout: 255 seconds]
havenwood has joined #jruby
samphippen has joined #jruby
<GitHub26> [jruby] eregon pushed 1 new commit to master: http://git.io/vnfS1
<GitHub26> jruby/master 99c936b Benoit Daloze: [Truffle] Add generic types for a few layouts.
nirvdrum has joined #jruby
colinsurprenant has joined #jruby
nirvdrum has quit [Remote host closed the connection]
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-ji build #2034: FIXED in 4 min 28 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2034/
<rsim> headius: Hi! We debugged an issue why FileUtils.mkdir_p is failing with "//server/share/directory" paths on Windows and found the underlying jnr-posix call which is failing https://github.com/jruby/jruby/issues/1727 Can't find any tests / comments describing why this //?/ is added - who is JRuby on Windows expert who could take a look on it?
enebo has joined #jruby
CustosLimen has joined #jruby
<rsim> enebo: Hi! Probably you could have a look on https://github.com/jruby/jruby/issues/1727 too? git blame told that you were the last who touched jnr-posix Windows specific code who adds this //?/ :)
nirvdrum has joined #jruby
tcrawley is now known as wrangler
<enebo> rsim: did this ever work on JRuby?
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
denym_ has joined #jruby
<rsim> enebo: probably worked some longer time ago when //?/ was not appended to Windows absolute path
<enebo> rsim: ok. which file were you looking at for this? WindowsPOSIX?
<rsim> enebo: now we have a problem that our Rails app does not work if started from //server/share/directory - only works if a drive letter is mapper to it
<denym_> Hey guys! Having trouble to get trouble gettign jruby running with the right ruby version. I installed jruby via rvm but the ruby version that comes with it is fixed. Is it possible to use 9.0.0.0 with ruby 2.2.0 instead of 2.2.2?
<enebo> rsim: yeah this is a sucky thing for us to test as well since we need a network share mounted for unit tests
nirvdrum has quit [Ping timeout: 250 seconds]
<rsim> enebo: just a second… will show the exact place where the issue is...
<enebo> denym_: we are pegged to a single version with 9k
<enebo> denym_: what behavior changes between 2.2.0 and 2.2.2?
<enebo> rsim: I see it WindowsHelper.java
samphippen has joined #jruby
<denym_> enebo: We didnt switch yet to 2.2.2 since there was some trouble and had not time to debug this
dinfuehr has joined #jruby
<enebo> rsim: HAHAHAH 6/27/11
<denym_> enebo: And I just wanted to give jruby a shot
<rsim> enebo: what happened on that date?
skade has quit [Quit: Computer has gone to sleep.]
<enebo> denym_: yeah I would not expect the changes to be very large between the two versions
<enebo> rsim: that was then that logic was added
<enebo> rsim: so no doubt this has been broken since like JRuby 1.3.x or so
<enebo> rsim: assuming it worked
<enebo> rsim: but this unc bug has been open a long time so we should see if we can fix it
jensnockert has joined #jruby
<rsim> enebo: OK :) As I understand \\?\ prefix could be used for Windows API to allow handling long path names (longer than 240 chars)
<rsim> enebo: but it seems that it does not work with //?///server/share/path
<denym_> enebo: yeah thank I guess I have to go for fixing this first, was just an hour of spare time to try out jruby
dinfuehr has quit [Ping timeout: 240 seconds]
<enebo> denym_: yeah sorry. Perhaps give it another shot when you are synced to a later MRI?
<enebo> rsim: much of this code in this commit and a few earlier ones came from looking at what MRI did
<rsim> enebo: ah, I found out in https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx that probably in this case the correct prefix is \\?\UNC\
<enebo> OOOHHH neat
<GitHub76> [jruby] eregon pushed 1 new commit to master: http://git.io/vnfNA
<GitHub76> jruby/master 024d2c5 Benoit Daloze: [Truffle] Add a couple SuppressWarnings.
<rsim> enebo: which means that //server/share/path should be prefixed as //?/UNC/server/share/path :)
<enebo> rsim: MAKE A PR :)
<enebo> rsim: let me look for //?/ in MRI too quickly
<enebo> rsim: hmmm I do not see this anywhere in MRI
<rsim> enebo: I think MRI does not add this - you should add this manually by yourself
<enebo> rsim: do you think removing this will fix everything?
<rsim> enebo: so JRuby is trying to work better with long Windows path
<rsim> enebo: removing it might break some app who use C:\very\long\path (if the path name is longer than 240)
<rsim> enebo: so in general it might be a good thing to do. But also would be good to have tests for that :)
<enebo> rsim: we dio get reports of working better on windows than MRI from people
<enebo> rsim: but I honestly don’t remember write this particular bit :)
<travis-ci> jruby/jruby (master:99c936b by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/80842661)
<enebo> rsim: it was also a part of a much bigger portion of work
<rsim> enebo: which was the original commit?
<enebo> rsim: so do you think there is a way to map C drive as a unc drive also
<rsim> enebo: //?/C:/long/path is working correctly
<enebo> rsim: are you testing this by modifying jnr-posix?
<enebo> oh sorry you did not try thr /?/UNC
<rsim> enebo: we tested from irb - as described in the comment
<enebo> heh I just started taling to you :)
lance|afk is now known as lanceball
<enebo> rsim: can you check in irb whether //?/UNC/ works
<rsim> enebo: will try to test this, need to set up this on my Windows VM, previously we were using colleague's computer and now he is offline
<enebo> hmmm your comment makes me wonder
<enebo> if you just add //?/ it worked for unc right?
<enebo> sorry I need to read your link above
Aethenelle has joined #jruby
<enebo> rsim: the other thing I am wondering after having read this is whether I hobbled wpath perf somehow being safe
<enebo> rsim: since this is clearly going through some long path code path
vtunka has quit [Quit: Leaving]
donV has joined #jruby
pietr0 has joined #jruby
<rsim> enebo: just tested that //?/UNC/server/share/directory works
<enebo> rsim: so crud…we need to regexp match to do this
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
<enebo> rsim: makes me think we should check path length and only add this if path is past some size
camlow325 has joined #jruby
<rsim> enebo: you could just test that if path is absolute and starts with // then replace // with //?/UNC/
<rsim> enebo: otherwise if path is absolute then add //?/ as currently (for drive:/path absolute path)
<enebo> rsim: yeah I guess so people will co c:/path but can you even do: my_unc:/path?
<enebo> rsim: I think it must start with //
<enebo> right?
<rsim> enebo: UNC starts with //
<enebo> rsim: but letter can be //c/path also?
rcvalle has joined #jruby
<rsim> enebo: according to https://en.wikipedia.org/wiki/Path_(computing)#Uniform_Naming_Convention should be \\ComputerName\SharedFolder\Resource
<enebo> yeah I keep replace mixing up / and ¥ hmmm what is with my keyboard :)
<enebo> oh romanji
camlow325 has quit [Read error: Connection reset by peer]
<rsim> enebo: but File.directory?("//C:/") is also true :)
camlow325 has joined #jruby
<rsim> enebo: but File.directory?("//C/") is false
samphipp_ has joined #jruby
<enebo> rsim: so seemingly we need this //?/ vs //?/UNC if drive letter or not after // but for c:/ we can just use //?/
camlow325 has quit [Read error: Connection reset by peer]
<rsim> enebo: File.expand_path("//C:/") gives "C:/"
camlow325 has joined #jruby
nirvdrum has joined #jruby
<enebo> rsim: yeah I don’t know if expand_path has some extra parsing logic on jruby side
<rsim> enebo: I assume that typically only UNC path names with //server/share will start with // - all other absolute paths will start with drive letter like C:/...
<enebo> rsim: we have tons of one-off brittle logic in expand path
<enebo> rsim: so much it frightens me :)
samphippen has quit [Ping timeout: 272 seconds]
<enebo> rsim: so my summary of things to change is: for // paths we do //?/ or //?/UNC depending on what follows //. For C:/ we use //?/. Optionally we can add a path length check and skip this extended path logic altogether
<rsim> enebo: probably need to check source of File isAbsolute http://docs.oracle.com/javase/7/docs/api/java/io/File.html#isAbsolute()
shellac has joined #jruby
<enebo> rsim: toWPath does that first
rcvalle has quit [Quit: rcvalle]
<rsim> enebo: yes, but it does not tell if it starts with drive letter or it is UNC
<enebo> rsim: yeah agreed
<rsim> enebo: so I'm wondering how isAbsolute is parsing these two different cases
<enebo> rsim: and I don’t think Java APIs can help us so we need to probably indexOf(3, ‘/‘) or something like that
<rsim> enebo: Java API will not help - just thought that by looking at the source we can copy the implementation :)
<enebo> rsim: pesky copyrights
<enebo> rsim: I am curious how much logic they have
<rsim> enebo: probably just checking if it starts with // or with drive letter
<enebo> rsim: the other think I do not know is wither those APIs follow windows links or not
<enebo> I guess it is probably literally what the path supplied is
lanceball is now known as lance|afk
<enebo> if so then .: or // would be enough to know if it was absolute
<enebo> or /
<enebo> actually .: or / since / would be current drive
<enebo> or system drive
<enebo> rsim: if you want to be worried about our windows path support look at win32/file.c:rb_File_expand_path_internal in MRI :)
samphipp_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<enebo> 320 lines of C
brauliobo has quit [Ping timeout: 244 seconds]
jensnockert has quit [Read error: Connection reset by peer]
jensnockert has joined #jruby
<rsim> enebo: and when detecting UNC then need to check for both // and \\ as someone might also use original Windows back slashes for the full UNC path
brauliobo has joined #jruby
rcvalle has joined #jruby
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 240 seconds]
skade has joined #jruby
<travis-ci> jruby/jruby (master:024d2c5 by Benoit Daloze): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/80846842)
<nirvdrum> enebo: I don't suppose you've had any more ideas on this? https://github.com/jruby/jruby/blob/master/core/src/main/java/org/jruby/ast/SymbolNode.java#L62
<enebo> nirvdrum: I messed with it like a month ago for some reason and now I forget why I did not fully do it
<enebo> symbols are created as Strings first then extracted bytes which then get remade into bytes
denym_ is now known as zz_denym_
<enebo> nirvdrum: in strnode case then are bytelist all the time but I think a bigger improvement is to pass the string all the way through
<enebo> nirvdrum: CR calc is the least of the issue
<enebo> we make ident as String make a Token with the String. Extract the String to byte[], Make a ByteList. create symbolNode which makes a String, then interns it and then does CR check
<enebo> The original ident was intern’d so this second intern is only for the :”foo” case
<nirvdrum> enebo: I was just looking because the lengthEnc() check isn't particularly cheap.
<enebo> nirvdrum: yeah but super cheap in comparison to all I showed
<nirvdrum> StringSupport has a much faster UTF-8 length calculation, for instance. And lengthEnc validates any multibyte char.
jensnockert has quit [Remote host closed the connection]
bb010g has quit [Quit: Connection closed for inactivity]
<enebo> nirvdrum: so one thing I don’t know is whether I can make a field on lexer for ident cr
<enebo> nirvdrum: if so then we can pass cr in an eliminate the call
<enebo> nirvdrum: I think how SymbolNode only has a single constructor we cannot since :”foo” also comes through this although it may also be able to leverage that field
<enebo> nirvdrum: but CR length is only a small bump here
jensnockert has joined #jruby
<enebo> nirvdrum: consider that most symbols are pretty small in length
<enebo> nirvdrum: but I think all can be fixed but something made me stop in last attempt
<nirvdrum> Yeah. I'm not expecting a huge win, but it could help with start-up time.
<enebo> nirvdrum: I want to say it was something about having a cr field and nested productions in the grammar but I am not completely sure
<nirvdrum> And in my particular case, it would have made debugging easier.
<enebo> I think though that eliminating all these object creations per Symbol will help a lot
<enebo> nirvdrum: the worst part of all this is we make bytelist only to check it’s length for encoding
<enebo> we actually throw the bytelist away
<enebo> and we double intern
<nirvdrum> Ouch.
<enebo> but your thoughts showed we do a lot of extra work
<enebo> not sure how much it will show up anywhere but it is a bit convoluted
samphippen has joined #jruby
jensnockert has quit [Remote host closed the connection]
<rsim> enebo: I also see that some file methods like stat do not add this //?/ prefix https://github.com/jnr/jnr-posix/blob/master/src/main/java/jnr/posix/WindowsPOSIX.java#L328 - new WString(path) and not WString.path(path) is used
<enebo> rsim: yeah no doubt a problem
skade has quit [Quit: Computer has gone to sleep.]
<enebo> rsim: although I don’t know if there is really a path limit problem is later windows releases?
<enebo> rsim: is there? I did not read that big article
<rsim> enebo: don't know about Windows 10 but at least in Windows 7 it still is 260 char limit
<rsim> enebo: so currently it seems that some File/Dir/FileUtils methods add this //?/ prefix but some don't
<enebo> rsim: yeah so perhaps we need a unit test with a huge path
<enebo> well >260
<rsim> enebo: would be good to have tests for testing long file names
<enebo> rsim: yeah
<rsim> enebo: and you can use //localhost/C$ as an alias for C: to test UNC path
<enebo> rsim: ah thanks awesome
<enebo> rsim: $ is needed?
<enebo> rsim: so //localhost/c$/system32
<rsim> enebo: yes - C: is shared as C$ on the localhost
<enebo> rsim: neat. thanks for finding that
<enebo> rsim: it means we can test unc in unit tests
<enebo> I suppose to tackle this I/we should get this greenish: https://ci.appveyor.com/project/jnr/jnr-posix
shellac has quit [Ping timeout: 256 seconds]
<nirvdrum> I was just going to platform guard the remaining tests for now.
<nirvdrum> I got sidetracked with vacation.
<enebo> nirvdrum: if you do I will buy you a beer at rubyconf :)
<enebo> nirvdrum: our extra cheap bounty system
<enebo> man appveyor believes in a pretty minimal UI
tenderlove has joined #jruby
<nirvdrum> Looking for something in particular? I'm not an expert, but fumbled through enough of the UI.
nateberkopec has quit [Quit: Leaving...]
<enebo> nirvdrum: just guarding failing winows tests on appveyvor test run
<enebo> rsim: I fixed that single used you mentioned. The other new WStrings are for env vars so I think those are correct
<enebo> used=usage
nateberkopec has joined #jruby
cschneid has quit [Ping timeout: 246 seconds]
<nirvdrum> enebo: Oh, I meant I'd just modify the unit tests to have an if statement.
<nirvdrum> We already do that for several other tests.
<enebo> nirvdrum: yeah I know.
<nirvdrum> It's about a 5 minute fix.
<enebo> nirvdrum: I am exceeedly lazy
dinfuehr has joined #jruby
<nirvdrum> I'll take a look after I eat lunch.
cschneid has joined #jruby
<enebo> also going up to make lunch
dinfuehr has quit [Remote host closed the connection]
dinfuehr has joined #jruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has quit [Ping timeout: 246 seconds]
dinfuehr has quit [Ping timeout: 264 seconds]
lance|afk is now known as lanceball
shellac has joined #jruby
bb010g has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
brauliobo has quit [Ping timeout: 250 seconds]
elevy has joined #jruby
CustosLimen has quit [Ping timeout: 256 seconds]
<elevy> hello. q: when calling Java from Ruby, how do I cast a returned Object instance to its proper type?
<elevy> e.g. a method that returns a Map<String, Integer> as Object
<elevy> how to tell JRuby that its really a Map<String,Integer> ?
samphippen has joined #jruby
<elevy> hmm. looks like there is no need for casting and methods are just dispatched without checking for type. correct?
bbrowning is now known as bbrowning_away
samphipp_ has joined #jruby
samphipp_ has quit [Client Quit]
samphippen has quit [Ping timeout: 260 seconds]
<enebo> elevy: yeah and even in java the compiler erases the types anyways…so by runtime it is Object, Object
skade has joined #jruby
<elevy> groovy. thanks
colinsurprenant has joined #jruby
jensnockert has joined #jruby
bbrowning_away is now known as bbrowning
jensnockert has quit [Ping timeout: 255 seconds]
havenwood has joined #jruby
brauliobo has joined #jruby
donV has quit [Quit: donV]
<GitHub115> [jruby] pitr-ch commented on commit c33cfd1: Most probably it is working, I've missed it. Fixing. http://git.io/vnUCW
brauliobo has quit [Ping timeout: 246 seconds]
brauliobo_ has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
<GitHub72> [jruby] pitr-ch pushed 1 new commit to master: http://git.io/vnUBm
<GitHub72> jruby/master 18e351b Petr Chalupa: [Truffle] fix jt test specs fast
<GitHub98> [jruby] pitr-ch pushed 1 new commit to master: http://git.io/vnUEI
<GitHub98> jruby/master 0a32080 Petr Chalupa: [Truffle] use returnsEnumeratorIfNoBlock
<GitHub156> [jruby] pitr-ch commented on commit c33cfd1: fixed in 0a32080 http://git.io/vnUEK
<GitHub113> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/vnUzd
<GitHub113> jruby/master 9ac1f33 Chris Seaton: [Truffle] Remove unused methods.
<GitHub113> jruby/master 4aa79ce Chris Seaton: [Truffle] Time metrics.
shellac has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<GitHub154> [jruby] pitr-ch closed pull request #3335: [Truffle] improve j+tr Readme (master...master) http://git.io/vZpkV
<GitHub161> [jruby] pitr-ch pushed 1 new commit to master: http://git.io/vnUaT
<GitHub161> jruby/master 60b4134 Petr Chalupa: [Truffle] improve j+tr Readme
<travis-ci> pitr-ch/jruby (master:4349f66 by Petr Chalupa): The build has errored. (https://travis-ci.org/pitr-ch/jruby/builds/80883933)
subbu is now known as subbu|away
<travis-ci> pitr-ch/jruby (master:e11318c by Petr Chalupa): The build has errored. (https://travis-ci.org/pitr-ch/jruby/builds/80884283)
samphippen has joined #jruby
elevy has left #jruby [#jruby]
samphippen has quit [Ping timeout: 256 seconds]
samphippen has joined #jruby
brauliobo_ has quit [Ping timeout: 246 seconds]
wrangler is now known as tcrawley
rsim has quit [Quit: Leaving.]
samphippen has quit [Ping timeout: 265 seconds]
samphippen has joined #jruby
mikemar10 has joined #jruby
subbu|away is now known as subbu|meeting
brauliobo_ has joined #jruby
<nirvdrum> Does anyone know who whitequark is or what he does?
<lopex> he knows a lot about hardware form what I've heard
<lopex> cpus
<nirvdrum> He's fascinating to follow on Twitter.
<kares> ... obviously works for (an) atom :)
brauliobo_ has quit [Ping timeout: 265 seconds]
skade has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
dinfuehr has joined #jruby
skade has joined #jruby
dinfuehr has quit [Ping timeout: 240 seconds]
skade has quit [Client Quit]
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
subbu|meeting is now known as subbu
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bbrowning is now known as bbrowning_away
pawnbox has quit [Remote host closed the connection]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 240 seconds]
skade has joined #jruby
samphippen has joined #jruby
tcrawley is now known as tcrawley-away
jensnockert has joined #jruby
yfeldblum has joined #jruby
jensnockert has quit [Ping timeout: 256 seconds]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 240 seconds]
havenwood has quit [Ping timeout: 250 seconds]
havenwood has joined #jruby
brauliobo_ has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
lanceball is now known as lance|afk
skade has quit [Quit: Computer has gone to sleep.]
brauliobo_ has quit [Ping timeout: 272 seconds]
skade has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brauliobo_ has joined #jruby
brauliobo has joined #jruby
brauliobo_ has quit [Client Quit]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brauliobo has quit [Ping timeout: 272 seconds]
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
dinfuehr has joined #jruby
dinfuehr has quit [Remote host closed the connection]
brauliobo has joined #jruby
bb010g has quit [Quit: Connection closed for inactivity]
Aethenelle has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
thedarkone2 has joined #jruby
cristianrasch has quit [Quit: Leaving]
Aethenelle has quit [Quit: Aethenelle]
_djbkd has joined #jruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #jruby
<GitHub44> [jruby] nirvdrum pushed 1 new commit to truffle-head: http://git.io/vnTHB
<GitHub44> jruby/truffle-head 8638903 Kevin Menard: [Truffle] Updated the expected Graal version from 0.7 to 0.9-dev.
dinfuehr has joined #jruby
dinfuehr has quit [Read error: Connection reset by peer]
<travis-ci> jruby/jruby (truffle-head:8638903 by Kevin Menard): The build has errored. (https://travis-ci.org/jruby/jruby/builds/80929117)
<GitHub179> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vnT5E
<GitHub179> jruby/master 36bdc01 Chris Seaton: [Truffle] Don't keep the JRuby AST around forever.
jensnockert has joined #jruby
TimTheTinker has joined #jruby
rcvalle has quit [Quit: rcvalle]
jensnockert has quit [Ping timeout: 272 seconds]
havenwood has quit [Ping timeout: 255 seconds]