camlow325 has joined #jruby
alex0ptr has quit [Remote host closed the connection]
alex0ptr has joined #jruby
alex0ptr has quit [Remote host closed the connection]
alex0ptr has joined #jruby
alex0ptr has quit [Ping timeout: 256 seconds]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 260 seconds]
<GitHub36> [jruby] headius reopened issue #4515: Output of backticks call not returned but written to stdout instead https://git.io/vy3aH
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 264 seconds]
atm0sphere has joined #jruby
alex0ptr has joined #jruby
alex0ptr has quit [Ping timeout: 260 seconds]
atm0sphere has quit [Ping timeout: 260 seconds]
camlow325 has quit [Ping timeout: 268 seconds]
bga57 has quit [Ping timeout: 246 seconds]
atm0sphere has joined #jruby
atm0sphere has quit [Ping timeout: 240 seconds]
thedarkone2 has quit [Quit: thedarkone2]
camlow325 has joined #jruby
camlow325 has quit [Ping timeout: 240 seconds]
pawnbox has joined #jruby
thedarkone2 has joined #jruby
pawnbox has quit [Ping timeout: 260 seconds]
bga57 has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 264 seconds]
atm0sphere has joined #jruby
pawnbox has joined #jruby
atm0sphere has quit [Ping timeout: 240 seconds]
ankitr has joined #jruby
pawnbox_ has joined #jruby
pawnbox has quit [Read error: Connection reset by peer]
thedarkone2 has quit [Quit: thedarkone2]
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 268 seconds]
pawnbox has joined #jruby
ankitr is now known as atm0sphere
bascule has quit [Ping timeout: 246 seconds]
havenwood has quit [Ping timeout: 240 seconds]
bascule has joined #jruby
havenwood has joined #jruby
havenwood has joined #jruby
ankitr has joined #jruby
atm0sphere has quit [Ping timeout: 240 seconds]
atm0sphere has joined #jruby
ankitr has quit [Ping timeout: 260 seconds]
atm0sphere has quit [Quit: Leaving]
ankitr has joined #jruby
ankitr is now known as atm0sphere
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #jruby
<kares> neoice: that might be a good feature request for concurrent-ruby gem :)
alex0ptr has joined #jruby
<kares> ... they do have some atomic-ref stuff in place already
alex0ptr has quit [Ping timeout: 256 seconds]
<matthewd> Concurrent::Array
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
blaxter has joined #jruby
blaxter has quit [Client Quit]
ankitr has joined #jruby
atm0sphere has quit [Ping timeout: 260 seconds]
ankitr has quit [Client Quit]
ankitr has joined #jruby
ankitr is now known as atm0sphere
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
shellac has joined #jruby
pawnbox has quit [Ping timeout: 260 seconds]
drbobbeaty has joined #jruby
pawnbox has joined #jruby
ankitr has joined #jruby
ankitr has quit [Client Quit]
ankitr has joined #jruby
ankitr has quit [Client Quit]
ankitr has joined #jruby
ankitr has quit [Client Quit]
atm0sphere has quit [Ping timeout: 260 seconds]
ankitr has joined #jruby
<kares> matthewd: had smt such as Atomic::Array in mind ... since :
<kares> > neoice> I must be doing something wrong because Concurrent::Array seems to be giving me wildly inconsistent results.
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 264 seconds]
<matthewd> kares: Ah, right, I didn't scroll back enough
<matthewd> kares: Still.. sounds more like a bug than a potential new feature to me
pawnbox has joined #jruby
bbrowning_away is now known as bbrowning
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 264 seconds]
ankitr has quit [Ping timeout: 268 seconds]
drbobbeaty has joined #jruby
<kares> matthewd: yes - in terms of Ruby's simplicity you're right. should just work
<kares> neoice: any chance we get details what did not go right when you used Concurrent::Array ?
pawnbox has joined #jruby
<GitHub164> [jruby] yujideveloper opened issue #4527: Guard gem does not work on JRuby 9.1.8.0 https://git.io/vy2wu
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox_ has joined #jruby
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
tcrawley-away is now known as tcrawley
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 240 seconds]
shellac has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
drbobbeaty has quit [Ping timeout: 260 seconds]
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
drbobbeaty has joined #jruby
alex0ptr has joined #jruby
alex0ptr_ has joined #jruby
ankitr has joined #jruby
alex0ptr has quit [Ping timeout: 258 seconds]
<neoice> kares: I have a couple UDP servers passing data back and forth (ints, placeholder data for now). if they see new data, the server is supposed to append it to an `Array`. however, sometimes after a message, the `Array` might have 0 new elements. or 4. or even 23. one time I even got the JVM to crash with a Concurrency error!
<neoice> kares: there's a `FooManager` class holding the `Array`. `foomgr.append()` contains the logic for "does this element exist in the array". I used `include?` (or whatever it is, I always have to reference docs) and I implemented it via iteration. neither resulted in consistent results. inconsistent reads from the `Array` during this process could result in inconsistent data in the `Array`.
<neoice> kares: this was with implemented ruby `Array` originally but switching to `Concurrent::Array` did not resolve the problem. since switching `java.util.concurrent.atomic.AtomicReferenceArray`, I've had no problems. (I even made a little method that takes a &block and shoves it inside the annoying Java style looping.)
<neoice> kares: I'm pretty sure I've implemented the classic "network loop": open socket, recv, (fork, process data), rebind socket. but I always assume my code is wrong. I write all kinds of crap code and I know from previous experience that I suck at threading, I usually make mistakes in the daemonize fork(), and I have made mistakes in previous network loop implementations.
<neoice> kares: it *could* also be CAP theorem biting me in a subtle way. anecdotally, the problem seems to reproduce more frequently with servers across a network link and not multiple servers on localhost.
pawnbox has joined #jruby
camlow325 has joined #jruby
nirvdrum has quit [Ping timeout: 240 seconds]
nirvdrum has joined #jruby
ankitr has quit [Ping timeout: 240 seconds]
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
ankitr has joined #jruby
ankitr has quit [Ping timeout: 240 seconds]
<kares> neoice: well thanks - so I guess you do not have a reproducable script to report to CR
<neoice> kares: no. I might be able to hack one together, but I'm rather behind on this project. maybe another time.
<neoice> I write tons of bad code. I've now added ID numbers to all of my requests: successful requests show the same ID for recv and send. unsuccessful show different IDs. hooray threads!
<neoice> it only happens under high load too (10+ Mbps)
<neoice> I'll also get duplicate calls too, like it recv()s twice. but neither response makes it to the other side :P
akp has joined #jruby
akp has quit [Client Quit]
akp has joined #jruby
lanceball is now known as lance|afk
akp has quit [Remote host closed the connection]
camlow325 has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 264 seconds]
shellac has quit [Ping timeout: 258 seconds]
pawnbox has joined #jruby
bbrowning is now known as bbrowning_away
pawnbox has quit [Ping timeout: 260 seconds]
<GitHub24> [jruby-openssl] kares pushed 1 new commit to master: https://git.io/vyar6
<GitHub24> jruby-openssl/master 96955ce Donovan Lampa: add OCSP support (#124)...
<GitHub198> [jruby-openssl] kares closed pull request #124: add OCSP support (master...add_ocsp) https://git.io/vygci
<GitHub86> [jruby-openssl] kares closed issue #24: Missing openssl support OpenSSL::OCSP https://git.io/vyaro
shellac has joined #jruby
pawnbox has joined #jruby
bbrowning_away is now known as bbrowning
thedarkone2 has joined #jruby
alex0ptr has joined #jruby
alex0ptr_ has quit [Ping timeout: 260 seconds]
shellac has quit [Ping timeout: 240 seconds]
lance|afk is now known as lanceball
camlow325 has joined #jruby
bascule has quit [Quit: leaving]
bascule has joined #jruby
<travis-ci> jruby/jruby-openssl (master:96955ce by Donovan Lampa): The build has errored. (https://travis-ci.org/jruby/jruby-openssl/builds/209452227)
<GitHub132> [jruby] headius pushed 2 new commits to master: https://git.io/vya5y
<GitHub132> jruby/master 106ad0f Charles Oliver Nutter: Add spec for passing nil proc to Marshal.load....
<GitHub132> jruby/master 64c7ea0 Charles Oliver Nutter: Accept nil proc in Marshal.load. Fixes #4526.
<GitHub151> [jruby] headius closed issue #4526: Marshal.load fails with an explicit nil proc https://git.io/vyzkC
alex0ptr_ has joined #jruby
alex0ptr has quit [Ping timeout: 240 seconds]
<headius> neoice: I would have expected Concurrent::Array to handle that case fine
<headius> please do file an issue with concurrent-ruby if you haven't already
<headius> we definitely want to sort out cases like yours
alex0ptr_ has quit [Read error: Connection reset by peer]
alex0ptr has joined #jruby
alex0ptr has quit [Read error: Connection reset by peer]
alex0ptr_ 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
pawnbox has quit [Ping timeout: 240 seconds]
alex0ptr_ has quit [Read error: Connection reset by peer]
alex0ptr has joined #jruby
<GitHub0> [jruby] ioquatix opened issue #4528: Not every class has a superclass? https://git.io/vyVIN
akp has joined #jruby
akp has quit [Remote host closed the connection]
akp has joined #jruby
alex0ptr_ has joined #jruby
alex0pt__ has joined #jruby
alex0ptr has quit [Ping timeout: 268 seconds]
alex0ptr_ has quit [Ping timeout: 240 seconds]
tcrawley is now known as tcrawley-away
bbrowning is now known as bbrowning_awy
bbrowning_awy is now known as bbrowning_away
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 258 seconds]
pawnbox has joined #jruby
alex0pt__ has quit [Read error: Connection reset by peer]
alex0ptr has joined #jruby
pawnbox has quit [Ping timeout: 260 seconds]
<GitHub181> [jruby] headius pushed 2 new commits to master: https://git.io/vyVze
<GitHub181> jruby/master d359483 Charles Oliver Nutter: Untag passing Kernel.spawn specs.
<GitHub181> jruby/master bafb4f5 Charles Oliver Nutter: Check pseudo-errno for error rather than real errno. Fixes #4527....
<GitHub99> [jruby] headius closed issue #4527: Guard gem does not work on JRuby 9.1.8.0 https://git.io/vy2wu
akp_ has joined #jruby
akp_ has quit [Remote host closed the connection]
akp_ has joined #jruby
akp has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 240 seconds]
ankitr has joined #jruby
ankitr has quit [Ping timeout: 256 seconds]
<GitHub72> [jruby] headius closed issue #4525: Update "Improving startup time" documentation https://git.io/vyuSg