KeyJoo has quit [Ping timeout: 245 seconds]
travis-ci has joined #jruby
<travis-ci> keithballinger/jruby (snyk-fix-nse06l:feb5b20 by snyk-bot): The build failed. (https://travis-ci.com/keithballinger/jruby/builds/83304880)
travis-ci has left #jruby [#jruby]
_whitelogger has joined #jruby
KeyJoo has joined #jruby
Puffball has joined #jruby
Puffball has quit [Read error: Connection reset by peer]
shellac has joined #jruby
ChrisBr_ has joined #jruby
ChrisBr has quit [Ping timeout: 264 seconds]
jmalves has joined #jruby
drbobbeaty has joined #jruby
Puffball has joined #jruby
jmalves has quit [Remote host closed the connection]
jmalves_ has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ChrisBr_ is now known as ChrisBr
drbobbeaty has joined #jruby
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] headius closed issue #2056: Use ExactMath for overflow https://git.io/fAnPO
shellac has quit [Quit: Computer has gone to sleep.]
KeyJoo has quit [Ping timeout: 240 seconds]
shellac has joined #jruby
shellac has quit [Ping timeout: 260 seconds]
claudiuinberlin has joined #jruby
Puffball has quit [Remote host closed the connection]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #jruby
jmalves has joined #jruby
jmalves_ has quit [Ping timeout: 240 seconds]
tonio has joined #jruby
tonio has quit [Client Quit]
ravioli25 has joined #jruby
<ravioli25> A fascinating blog where freenode staff member Matthew mst Trout recounts his experiences of eye-raping young children https://MattSTrout.com/
ravioli25 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] ahorek closed issue #5295: implement to_set https://git.io/fAsFR
xardion has quit [Remote host closed the connection]
xardion has joined #jruby
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] ChrisBr opened issue #5297: Struct does initialize attributes wrong https://git.io/fActL
<ChrisBr> headius: ^^ already experienced this one? benchmark-driver is broken because of this... I already tried to track it down a bit but stucked now
claudiuinberlin has quit [Read error: Connection reset by peer]
macky23 has joined #jruby
<macky23> Ꭱᥱɑd whɑt ΙRC ⅰᥒvestⅰgatⅰve јഠurᥒɑⅼⅰsts hаᴠᥱ unϲഠ∨ered οᥒ thᥱ frеᥱᥒഠde рeⅾοрhilia sсаnԁаⅼ һttps፡/᜵еnсусⅼⲟpеⅾiadrаmatіϲɑ.rѕ∕ᖴrᥱeᥒоԁеɡɑtᥱ
<macky23> A fɑѕсⅰᥒаtіᥒg blⲟg ᴡһerе frᥱᥱᥒοⅾᥱ ѕtаff ⅿеⅿber Mɑttһᥱw mst Τro∪t ԁoⅽ∪ⅿeᥒts һis eхperⅰᥱnϲeѕ ᥱуe╴rapіᥒg yo∪ᥒg ⅽһilⅾrеᥒ һttpsː/᜵ⅯɑttЅTrⲟᥙt.ⅽоⅿ∕
<macky23> Ꮃⅰtһ our ΙᎡⅭ ɑԁ serⅴⅰⅽᥱ yо∪ ϲɑᥒ rᥱɑⅽһ a ɡlobaⅼ ɑ∪ԁⅰеᥒϲе of ᥱntrеⲣrеᥒᥱ∪rѕ аnd feᥒtanỿⅼ addicts ᴡith eхtrɑⲟrⅾⅰᥒary еᥒgagement rɑteѕ﹗ һttⲣs։⁄⁄ᴡilⅼiamрⅰtсοϲk.ⅽοⅿ᜵
<macky23> I tһоught yοᥙ g∪уs ⅿight be ⅰᥒterеstᥱⅾ ⅰn tһis blog bу frеeᥒοԁe ѕtаff ⅿeⅿber Вrуаn klഠerⅰ Οѕtergааrd һttⲣѕ˸∕⧸bryɑᥒⲟѕtᥱrɡааrԁ․сοm∕
macky23 has quit [Remote host closed the connection]
caf1 has joined #jruby
<caf1> Wіtһ ⲟur IᎡϹ ɑԁ sᥱrⅴⅰce уο∪ сaᥒ rеаⅽh ɑ ɡlⲟbаⅼ a∪ⅾⅰeᥒⅽe ⲟf ᥱᥒtrᥱprеneᥙrs and feᥒtaᥒyⅼ аԁⅾⅰⅽtѕ wⅰth ᥱⅹtrаഠrⅾіnɑrỿ еᥒgɑɡеmᥱᥒt rаtеs! httpѕ˸∕/wiⅼⅼiаⅿpⅰtⅽoсk.ⅽοm⧸
<caf1> А faѕⅽⅰᥒɑtⅰng bⅼоg ᴡһere freeᥒоԁе ѕtаff ⅿᥱmber Μаttһᥱw mst Τrο∪t ԁоϲumеnts һⅰs eхⲣеrⅰᥱᥒⅽᥱs еỿe﹣rарⅰᥒg уⲟ∪nɡ chⅰlԁrᥱᥒ https˸/᜵ᎷаttᏚᎢroᥙt.сom∕
<caf1> Ι tһοᥙght ỿοᥙ g∪ys mⅰght bе ⅰntеrested ⅰᥒ tһіѕ blഠg by frᥱeᥒοԁе ѕtɑff mᥱⅿbᥱr Bryɑᥒ klοеri Ⲟѕtᥱrgааrd һttpѕ⁚//bryаnoѕterɡɑarԁ․сഠm/
<caf1> Ꭱeаⅾ wһɑt IᎡC inᴠᥱstⅰgаtⅰ⋁e ϳⲟ∪rᥒɑliѕtѕ һɑᴠe ∪ᥒсovеreⅾ οᥒ thᥱ frеᥱᥒoⅾе pedഠрһiⅼⅰа ѕⅽɑᥒⅾal һttps︓/∕encусlഠрᥱԁіaԁrаmаtіϲа.rѕ∕Frᥱᥱᥒοԁеɡаtᥱ
caf1 has quit [Remote host closed the connection]
Chords has joined #jruby
<Chords> I thouɡht уഠu guỿѕ mіɡһt bе ⅰntеrᥱѕtᥱd iᥒ thⅰs blοɡ by frᥱeᥒoԁe ѕtɑff meⅿber Вrỿaᥒ kloᥱri Ⲟѕtergааrd һttрs:᜵∕bryanഠstᥱrɡаɑrd.ϲഠm᜵
<Chords> Ꮃⅰtһ ഠ∪r IᖇⲤ aԁ sеrviⅽe ỿo∪ сaᥒ rеасһ ɑ ɡlⲟbаⅼ а∪ԁⅰеnсᥱ ഠf ᥱntrеprenᥱurs аnⅾ fᥱᥒtɑnỿl ɑⅾԁiϲtѕ ᴡіtһ ᥱxtrɑorԁіnаrỿ ᥱngagᥱⅿеᥒt ratеs! httрs﹕∕∕ᴡⅰllіɑⅿⲣⅰtϲоϲk.ⅽοⅿ∕
<Chords> ᖇеaⅾ wһаt ІᖇϹ in∨eѕtіɡatⅰvᥱ јοurᥒɑliѕts һa⋁e unⅽⲟ⋁еred ⲟᥒ tһᥱ frееnഠdᥱ рᥱdopһiliɑ ѕcаᥒdaⅼ httⲣѕ:⧸⧸ᥱnⅽуcⅼoⲣᥱdiadrɑⅿatiсɑ․rs⧸Frᥱᥱnоԁеɡatᥱ
<Chords> A fasϲіnɑtіᥒɡ blοg ᴡhᥱre freеᥒоdᥱ ѕtaff mеmber Μattһᥱw mѕt Τrഠᥙt dⲟсᥙⅿеntѕ his eхpᥱrіeᥒcеs еyᥱ˗rаріᥒɡ ỿοunɡ сһilԁrеn httрs∶⁄/MattᏚТrоut.coⅿ⧸
Chords has quit [Remote host closed the connection]
jrafanie has joined #jruby
jrafanie has quit [Client Quit]
fryst23 has joined #jruby
<fryst23> Wⅰtһ ο∪r IᏒᏟ ɑⅾ ѕеr⋁іϲe уou ⅽаᥒ rᥱɑⅽh а ɡⅼഠbɑl auⅾiеnсе ഠf еᥒtreprenеurѕ aᥒԁ fᥱntaᥒуl ɑddⅰⅽts wіth ᥱⲭtrɑοrⅾіᥒаry enɡɑɡᥱⅿᥱnt rɑtesⵑ һttpѕ﹕//ᴡіⅼlⅰɑmⲣіtⅽⲟⅽk.ⅽоm∕
<fryst23> Rеaⅾ what IRС ⅰnⅴеѕtigɑtіⅴе joᥙrᥒаⅼіѕtѕ ha⋁e ∪ᥒϲഠ⋁ereⅾ oᥒ thе freenοⅾe pеⅾⲟрһіlіa sϲandаⅼ һttpѕ∶/∕ᥱᥒⅽycⅼoрᥱdiadrаmatⅰcа.rs᜵ᖴrеᥱnοdеɡate
<fryst23> І tһⲟᥙgһt ỿഠu g∪ỿs ⅿⅰght bᥱ ⅰᥒtеreѕteⅾ in tһiѕ blⲟɡ bỿ freᥱᥒоⅾе stɑff ⅿеⅿbеr ᗷrуɑn kloеrⅰ Οѕtᥱrgaɑrd һttрs⁚⁄/brуаᥒഠstеrgɑаrd.сⲟⅿ/
<fryst23> Α fɑѕϲⅰᥒɑtinɡ bⅼഠɡ wһеre frееnഠdᥱ stɑff mеⅿbᥱr Mattһеᴡ mst Ꭲrо∪t ԁоⅽumentѕ hіѕ eхperіenⅽes еỿе-rapⅰᥒg уⲟung сһіldren httⲣѕ∶⁄/ϺɑttᏚТrоut․соm/
Kazuto5 has joined #jruby
<Kazuto5> Witһ our ІRϹ аd sеr∨iⅽᥱ уഠu ϲаᥒ rеаⅽһ а ɡlഠbɑl аuԁⅰеᥒϲе ⲟf eᥒtrеⲣrenᥱurs аnd feᥒtаᥒyⅼ adԁⅰсtѕ wіtһ ехtrаordіᥒɑrỿ enɡаgeⅿᥱnt rаtᥱѕ! https˸⧸/wⅰⅼⅼіаmpⅰtcഠсk․сoⅿ/
<Kazuto5> Rеɑⅾ what IᏒⲤ invеstⅰɡаtiᴠe ϳо∪rnalⅰstѕ һaᴠᥱ ∪nϲο∨erеd οn thᥱ frᥱᥱᥒⲟdᥱ peⅾⲟⲣhⅰⅼіа ѕⅽɑᥒdaⅼ һttрѕ:⧸/eᥒcуcⅼഠpеⅾiɑdrɑⅿɑtіca․rs⁄ᖴrееnоdеɡɑtе
<Kazuto5> І tһഠuɡht уоᥙ guys mіɡht be іᥒterestᥱⅾ in tһⅰs blⲟg bỿ freᥱᥒode staff ⅿеmber ᗷryaᥒ klⲟᥱrⅰ Οstergааrⅾ һttⲣs˸᜵⧸brуаnοѕtеrgааrԁ.cഠⅿ᜵
<Kazuto5> A fаsϲⅰᥒаtiᥒg bⅼⲟɡ wherᥱ freeᥒⲟⅾe staff ⅿᥱⅿber Ϻаtthеw ⅿѕt Тrоut ԁоⅽuⅿeᥒtѕ hіѕ ᥱⲭрerⅰeᥒϲᥱs ᥱỿᥱ╴rаⲣⅰnɡ уⲟ∪ᥒɡ chіlԁrеᥒ һttрs˸//ᎷattᏚТroᥙt.com⧸
fryst23 has quit [Ping timeout: 240 seconds]
Kazuto5 has quit [Remote host closed the connection]
<headius> ChrisBr: oh nice find
<headius> damn, I turned off registered only and the spammers are still there
<headius> this is really frustrating
<headius> turned it back on again
<headius> have not been able to get github to join properly
<den_d> @headius> false alarm for memory leak , found problem with the gem , had to update the code
<den_d> not everything is fine, thx for help tho
<ChrisBr> headius: yeah, was driving me nuts while playing around with benchmark-driver ...
<ChrisBr> any idea though?
jmalves has quit [Remote host closed the connection]
<headius> den_d: oh good news, thank you
<headius> ChrisBr: I'll have a look
<headius> hah, yeah that's a weird one
<headius> enebo: you around?
<enebo> yes
<headius> something weird with kwrest maybe
<enebo> ah yeah I wondered that too
<headius> it is surprising that it doesn't do super(**options)
<enebo> yeah it converts kwargs into a hash and uses it
<headius> ChrisBr: is this literally the code that benchmark-driver uses for that super call?
<enebo> does structs require key->value for init?
<enebo> I am pretty sure you can ordered add an array
subbu is now known as subbu|lunch
<enebo> I am not saying we should not work here but I am saying I think this is a very limited initailize
<enebo> also I do not think you need to use symbol keys for keyword style init
<enebo> actually why would this work on MRI?
<enebo> I guess a hash as only arg is expanded?
<headius> it's a newer feature
<headius> came along roughly with kwargs
<headius> so this is basically supering with just a hash and somehow that form versus the literal form is not kwarging them into attrs
<headius> I kinda wonder if we should just be using a pure-Ruby Struct, now that we can specialize object shapes so well
<headius> I think that's the line?
<headius> ahh no there's a prepend glob below it
<headius> but that doesn't call super
<headius> sometimes Ruby is really inscrutable
<enebo> I really don't get why this works
<enebo> in MRI
<enebo> well I take that back
<enebo> if it is a single hash it assumes it is population for the struct
<enebo> ok
<enebo> why would super break
<enebo> I notice if I do *super it works which converts it to nothing
<enebo> **super breaks interestingly
<headius> zsuper doesn't work either
<headius> I'm having trouble tracing this back to the code in benchmark_driver though
<headius> MRI does work
<ChrisBr> headius: exactly
<ChrisBr> here it fails when assigning the defaults
<ChrisBr> I tried to make the example in the issue as small as possible
<enebo> well our initialize method will decompose a single argument if it is a hash to the hashes contents but it clearly doesn't
<ChrisBr> the problem in benchmark-driver is then that the first key is not nil and does not get a default value and then everything crashes
<enebo> The only path I can see where it would is if internal variable __keyword_init__ returns !true
<enebo> so could prepend somehow change what we classOf() and get false
<enebo> I will test whether it goes down wrong path
<headius> I don't see how that would affect the kwarg-munging process
<enebo> does it work if it is just options all the way through?
<enebo> plain options is also broken
<enebo> I don't think this has anything to do with kwargs
<enebo> ok I think this is prettyweird
<enebo> we have 5 initialize methods in struct
<enebo> 1 is all args and 4 are specific args
<enebo> I can see super(obj) call through specific arg path which does not do nearly the same internals logic as the generic one
<enebo> I am removing specific signatures to see if it all just works
<enebo> I believe we are missing some important logic in the specific branches
<enebo> I am confused though...super() must be calling specific even with --dev
<enebo> fixed
<enebo> fixed in 26f84cc081ccae9de422de8346bf7375ddfa8da1
<enebo> ChrisBr: can you confirm please....and maybe contribute a spec to ruby/spec
<enebo> ChrisBr: although this is a confusing thing to test since we pass in most direct way...it was more an impl defect we failed via super
<enebo> So I am not sure best way to address that although I wonder if there are ANY specos for this
* ChrisBr trying
<ChrisBr> enebo: works like a charm :)
<ChrisBr> and benchmark-driver works now also
<ChrisBr> thanks for the quick fix
<enebo> ChrisBr: cool although there may be a followup fix
<ChrisBr> I can put the script from the issue into a spec
<ChrisBr> although I still don't understand the problem completely
<enebo> I noticed there is some logic above I did not move to 1-arg constructor and I am not sure I understand it
<ChrisBr> I still dont get why this only happens when the module is prepended / super is called
<enebo> ChrisBr: the prepend with super I don't think you can add to ruby/spec
<ChrisBr> ok
<ChrisBr> but I wasn't able to reproduce without it
<enebo> ChrisBr: It is more an impl issue of ours that super(foo) was going down a different call path than my_struct.new(foo)
<enebo> the one super was using did not have any logic for expanding a hash
<ChrisBr> Hmm ok
<ChrisBr> but how should we test it then?
<enebo> ChrisBr: I don't really know we do have regression spec suite but I am not sure how much value this test will give us
<ChrisBr> ok
olleolleolle has joined #jruby
olleolleolle has quit [Client Quit]
telegardian has joined #jruby
<telegardian> Is there any reason why using Java class methods works in Ruby file execution, but not in 'jirb'?
subbu|lunch is now known as subbu
<telegardian> irb(main):001:0> require "java"
<telegardian> => false
<enebo> telegardian: it has already been required internally
<telegardian> enebo: yea, I figured that one out. What does it mean when you import a package inside a Class module and get a :const_missing ?
<telegardian> irb(main):019:0> module ApacheCommonsValidator
<telegardian> irb(main):021:1> end
<telegardian> irb(main):020:1> include_package "org.apache.commons.validator"
<telegardian> => :const_missing
<telegardian> in 'jirb'
<telegardian> when I run this: ApacheCommonsValidator::GenericValidator..new.isEmail('invalid')
<telegardian> 1: from uri:classloader:/jruby/java/core_ext/module.rb:45:in `const_missing'
<telegardian> NameError (GenericValidator not found in packages org.apache.commons.validator; last error: cannot load Java class org.apache.commons.validator.GenericValidator)
<telegardian> I get that error
<telegardian> but it works flawlessly in my code. The issue is I can't seem to test in IRB for some of the JAR files I import
<telegardian> ^^ correction, this is the line that causes the above error:
<telegardian> ApacheCommonsValidator::GenericValidator.isEmail("invalid")
<telegardian> it is the same issue with other JAR files I load. Unable to use the code as pasted from my files into jirb and get the same results.
<enebo> telegardian: hmm I am trying to remember how include_package works
<enebo> telegardian: I take it you have apache commands in your classpath
<enebo> telegardian: can you java_import 'org.apache.commons.validator.SomeValidClass'?
<telegardian> enebo: let me see
<enebo> telegardian: If that works then it is likely something weird about include_package. include_package is somewhat hacked together since Java has no concrete way of enumerating what classes exist in a package
<enebo> I believe we do some metaprogramming to load and that could also be the reason a const_missing is happening
<telegardian> I keep the JAR files in a subdirectory of the project, and then 'load' them in as class modules during runtime.
<enebo> HAHAHAHA OMG
<enebo> telegardian: it is working but get this....
<enebo> telegardian: C Ruby has started returning name of methods when they are defined
<enebo> the last method defined by include_package is a const_missing method
<enebo> So you are just seeing an artifact of how include_package is implemented in irb
<enebo> module Foo; include_package 'java.util'; end
<enebo> Foo::ArrayList
<enebo> it works
<enebo> telegardian: I can see how that message is confusing unless there is a second issue with loading apache commons from irb specifically
<telegardian> enebo: So it works the java_import way
<telegardian> java_import 'org.apache.commons.validator.GenericValidator'
<telegardian> => [Java::OrgApacheCommonsValidator::GenericValidator]
<telegardian> irb(main):006:0> Java::OrgApacheCommonsValidator::GenericValidator.isEmail("ctusa@redhat.com")
<telegardian> => true
<enebo> telegardian: sorry we are exposing how the sausage is made
<enebo> I will add a nil at and of that so it does not show something confusing
<telegardian> all good, just I know this worked several years ago in 'irb'
<enebo> telegardian: yeah and several years ago Ruby worked a tad differently and not many people use include_package so you were first to notice this
<enebo> pretty funny though because the message is weird
<telegardian> well, I am resurrecting old code.. so I may need to refactor
<enebo> telegardian: no it works
<enebo> telegardian: include_package is fine
<enebo> telegardian: it is just that last line in def include_package defines self.const_missing so you see :const_missing as a return value
<telegardian> right, but the other issue isn't just the :const_missing return on that method, my additional issue is that I can't simulate the usage of the java classes that work in my code, using jirb
<enebo> telegardian: sorry I did not read very closely
<telegardian> enebo: my fault for sending cryptic log output, so let me demonstrate the challenge
<enebo> telegardian: ok can you just file an issue this should work
<telegardian> I have a routine that uses a Jar file called 'jline-0.94.jar' to clear a terminal window using an ANSI call.
<telegardian> irb(main):008:0> module JLine
<telegardian> irb(main):010:1> end
<telegardian> irb(main):009:1> include_package "jline"
<telegardian> => :const_missing
<telegardian> irb(main):011:0> def ansiclear
<telegardian> irb(main):012:1> JLine::ConsoleReader.new.clearScreen
<telegardian> irb(main):013:1> end #/def ansiclear
<telegardian> => :ansiclear
<telegardian> irb(main):014:0> ansiclear
<telegardian> Traceback … snip
<telegardian> Java::JavaLang::NoSuchMethodError (jline.Terminal.getTerminal()Ljline/Terminal;)
<enebo> telegardian: this may be different as I think we also load jline internally
<telegardian> and when I ask jirb to show me the java methods, nothing JLine::ConsoleReader.methods
<telegardian> it show Methods, but not the java ones
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<enebo> ./lib/ruby/stdlib/jline/jline/2.11/jline-2.11.jar
<telegardian> But that shouldnt matter if JRuby loads it, because I am calling a different version. JLine 2 is a rewrite that doesn't have the ConsoleReader class
<enebo> telegardian: your error may be a different problem but irb loads readline which loads jline. Whether it works depends on classloader
<enebo> oh I see
<telegardian> let me try with another jar file.
<enebo> telegardian: but also verify if that works with java_import vs java_package
<enebo> telegardian: it is possible how we load classes changed and we do not load properly in java package now
<enebo> telegardian: but if you only see this in irb then that is strange
<telegardian> enebo: right, then code works flawlessly when I execute the program. its only in irb that I am struggling to replicate.
<enebo> telegardian: yeah make a script which does not require many/any significant downloading and explanation in an issue
<telegardian> ok. will do.
<enebo> telegardian: I have not been hacking on Java integration side much so you will get someone like kares who has been doing a lot more recently seeing it
<enebo> irb is a pretty weird beast itself but generally just all the eval + binding stuff. I don't really know why that would interfere with our Java features
<telegardian> Its a little funky, because I wrote my project on JRuby specifically to take advantage of several Java libraries that provided either better or nonexistent capabilities of Ruby or gems available at the time.
<enebo> that is usually a pretty common JRuby reason
<enebo> afk 15
Puffball has joined #jruby
<headius> yo yo yo
<headius> I'm back again
<headius> this is definitely a problem with the two jlines conflicting
<headius> telegardian: ^
<headius> two options for you
<headius> --no-readline to IRB...though tht somewhat cripples the UI
<headius> (your code will obviously work fine in a script btw since a script won't load Ruby readline lib)
<telegardian> ok.
<headius> second option would be to replace our readline with the pure-Ruby one...it works fine on non-Windows
<headius> let me dig up the issue
<headius> readline-ffi...should work fine on any *nix system
<headius> the instructions there aren't great but basically you copy the readline-ffi "readline.rb" over the one in lib/ruby/stdlib
<headius> and install the gem of course
<telegardian> headius: I see it. I did submit a bug on this right before I read this reply, issue #5300 in github.
<headius> no worries
<headius> I'll comment and probably close it referencing the other bugs
<headius> the long term plan is to get the non-jline readline to be our default
<telegardian> I need to keep poking at this, because the version of JLine I am using is < 1.0 from 2008l, pretty crusty. And JLine2 and JLine3 are rewrites that dont include the same classes I am using
<headius> well IRB is still usable without readline, and that probably would work fine
<headius> BTW what are you doing with it and why do you need such an old version?
<telegardian> I am using it for Input primarily.
<telegardian> as an example, I wanted something to read a key and not require enter
<telegardian> tr = JLine::ConsoleReader.new
<telegardian> char = tr.readVirtualKey
<telegardian> And other ansi features. I am writing a BBS like interface
<headius> hmmm
<headius> tjere
<headius> there's a "console" library in Ruby
<headius> something like that, hang on
<headius> yah io/console
<headius> termio stuff basically...raw mode, echo off, whatever
<telegardian> this code was written back in the Ruby 1.8 days. I am not sure that met my needs back then. let me look at it again, because that would save me a ton of trouble.
<headius> just might be a smoother path than trying to use this hinky old jline
<headius> I believe it works well enough in JRuby (again on *nix...I think it sorta works on Windows)
<telegardian> headius: It may just work, thanks for the hint on this. require 'io/console'; IO.console.getch
<telegardian> might work
<headius> yeah that's what I was thinking
<headius> enebo: I'm reviewing your change now
drbobbeaty has joined #jruby
rdubya has quit [Ping timeout: 250 seconds]
rdubya has joined #jruby
rdubya has quit [Ping timeout: 260 seconds]
rdubya has joined #jruby
rdubya has quit [Ping timeout: 250 seconds]
rdubya has joined #jruby
rdubya has quit [Ping timeout: 240 seconds]
<lopex> headius: is this very new thing https://www.opsian.com/blog/javas-new-zgc-is-very-exciting/ ?
rdubya has joined #jruby