Puffball has quit [Remote host closed the connection]
LinuxKnight has quit [Ping timeout: 268 seconds]
segy has joined #ruby
cliluw has joined #ruby
crankhar1er has joined #ruby
venmx has quit [Ping timeout: 245 seconds]
crankhar1er has quit [Ping timeout: 246 seconds]
segy has quit [Ping timeout: 240 seconds]
segy has joined #ruby
dbz has joined #ruby
hutch has joined #ruby
crankhar1er has joined #ruby
queip has quit [Read error: Connection reset by peer]
crankhar1er has quit [Ping timeout: 240 seconds]
queip has joined #ruby
Arkantos has joined #ruby
gix has quit [Ping timeout: 240 seconds]
keden has joined #ruby
crankhar1er has joined #ruby
keden has quit [Ping timeout: 245 seconds]
crankhar1er has quit [Ping timeout: 244 seconds]
tdy has quit [Quit: WeeChat 2.2]
crankhar1er has joined #ruby
Puffball has joined #ruby
crankhar1er has quit [Ping timeout: 240 seconds]
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
dbz has quit [Remote host closed the connection]
crankhar1er has joined #ruby
queip has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
crankhar1er has quit [Ping timeout: 272 seconds]
jaddison has quit [Quit: jaddison]
AJA4350 has quit [Quit: AJA4350]
queip has joined #ruby
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arkantos has joined #ruby
Arkantos has quit [Max SendQ exceeded]
dbz has joined #ruby
crankhar1er has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankhar1er has quit [Ping timeout: 252 seconds]
dbz has quit [Ping timeout: 268 seconds]
Arkantos has joined #ruby
c0ncealed4 has quit [Remote host closed the connection]
arescorpio has joined #ruby
smutnysyn has joined #ruby
c0ncealed4 has joined #ruby
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arkantos has joined #ruby
crankhar1er has joined #ruby
crankhar1er has quit [Ping timeout: 244 seconds]
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
discopatrick has quit [Quit: Connection closed for inactivity]
nchambers is now known as uplime
hutch has quit [Ping timeout: 268 seconds]
bambanx has joined #ruby
raulp has quit [Quit: raulp]
dbz has joined #ruby
dedavaic898 has joined #ruby
<dedavaic898>
Hi everyone, first time here, is this a good place to ask a Ruby programming help question?
<bambanx>
dedavaic sure
queip has quit [Read error: Connection reset by peer]
<bambanx>
is ruby channel
<bambanx>
and nice ppl too like me
crankhar1er has joined #ruby
Arkantos has joined #ruby
<dedavaic898>
bambanx, thank you, I'm new to multi-threading on Ruby and need some help with a bit of code
Arkantos has quit [Client Quit]
<bambanx>
just ask
<bambanx>
i cant tell you the answer but for sure here someone can
krma has joined #ruby
krma has left #ruby [#ruby]
\void has quit [Quit: So long, and thanks for all the fish.]
crankhar1er has quit [Ping timeout: 244 seconds]
gnufied has quit [Ping timeout: 244 seconds]
fluxAeon has quit [Ping timeout: 268 seconds]
arescorpio has quit [Read error: No route to host]
Arkantos has joined #ruby
bambanx has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
jaddison has joined #ruby
queip has joined #ruby
tectonic has joined #ruby
keden has joined #ruby
jaddison has quit [Quit: jaddison]
crankhar1er has joined #ruby
keden has quit [Ping timeout: 240 seconds]
crankhar1er has quit [Ping timeout: 252 seconds]
themsay has quit [Ping timeout: 268 seconds]
<dedavaic898>
I need to have 2 threads that sort through the same array, with Thread 1 selecting and printing elements satisfying some condition, while Thread 2 prints the opposite (elements that fail the same condition). For example, imagine an array of letters `('a'..'z').to_a`, where the first thread prints only the vowels, while the 2nd thread prints only the consonants.
<dedavaic898>
I'd like to also synchronize the threads so that the elements (letters) are printed in the same order as the array (i.e. "a" -> "b" -> ... -> "z")
<dedavaic898>
I'm not sure how to approach this. Do I create two threads that call the selection method on the array? Do I loop through the array elements and call the thread within the loop?
crankhar1er has joined #ruby
dymk has joined #ruby
<dymk>
Hi, does pack/unpack support a repeating pattern of multiple different things?
crankhar1er has quit [Ping timeout: 268 seconds]
<dymk>
E.g., can I pack an array of pairs of (byte, BER encoded number), and unpack it with something like my_arr.pack("Cw*")
queip has quit [Read error: Connection reset by peer]
nickjj_ has joined #ruby
crankhar1er has joined #ruby
nickjj has quit [Ping timeout: 252 seconds]
uplime is now known as nchambers
crankhar1er has quit [Ping timeout: 240 seconds]
crankhar1er has joined #ruby
queip has joined #ruby
crankhar1er has quit [Ping timeout: 252 seconds]
tectonic has quit []
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
paulscoder has quit [Quit: paulscoder]
TvL2386 has quit [Ping timeout: 246 seconds]
braincrash has quit [Quit: bye bye]
brandonkal has joined #ruby
TvL2386 has joined #ruby
braincrash has joined #ruby
crankhar1er has joined #ruby
hutch has joined #ruby
crankhar1er has quit [Ping timeout: 240 seconds]
aupadhye has joined #ruby
jaddison has joined #ruby
smutnysyn has quit [Ping timeout: 268 seconds]
crankhar1er has joined #ruby
asphyxia has joined #ruby
crankhar1er has quit [Ping timeout: 245 seconds]
MoritaShinobu has joined #ruby
queip has quit [Read error: Connection reset by peer]
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
crankhar1er has joined #ruby
queip has joined #ruby
crankhar1er has quit [Ping timeout: 240 seconds]
keden has joined #ruby
patr0clus has joined #ruby
hutch has quit [Ping timeout: 244 seconds]
jaddison has quit [Quit: jaddison]
mroutis has joined #ruby
keden has quit [Ping timeout: 264 seconds]
hutch has joined #ruby
Azure has quit [Ping timeout: 245 seconds]
agrecascino has joined #ruby
sauvin has joined #ruby
aupadhye has quit [Remote host closed the connection]
dedavaic898 has quit [Quit: Page closed]
aupadhye has joined #ruby
kapil____ has joined #ruby
hutch has quit [Ping timeout: 240 seconds]
chris349 has joined #ruby
<chris349>
I install RVM which installs the latest ruby version automaticall. Then I install the version I need and uninstall the one RVM initially installed
<chris349>
How can I just install RVM with a specific Ruby version?
queip has quit [Read error: Connection reset by peer]
queip has joined #ruby
conta has quit [Ping timeout: 250 seconds]
Tuor has joined #ruby
<Tuor>
hi, I did configure rvm and change my terminal to use bash --login instead of bash. But I can't change how my IDE RubyMine invokes bash. In my terminal rvm is working just right but in my IDE I'm getting a warning:
<Tuor>
Warning! PATH is not properly set up, /home/aaron/.rvm/gems/ruby-2.5.1/bin is not at first place.
<Tuor>
RubyMine 2018.2.5
luminous has quit [Quit: Connection closed for inactivity]
im0nde has joined #ruby
im0nde has quit [Client Quit]
elphe has quit [Ping timeout: 240 seconds]
dbz has joined #ruby
dbz has quit [Ping timeout: 245 seconds]
nowhere_man has quit [Ping timeout: 268 seconds]
apparition47 has joined #ruby
luminous has joined #ruby
gregf_ has joined #ruby
conta has joined #ruby
gix has joined #ruby
AJA4350 has joined #ruby
aupadhye has quit [Ping timeout: 246 seconds]
queip has quit [Read error: Connection reset by peer]
bobdobbs has joined #ruby
<bobdobbs>
Hi all. Is rbenv still a highly recommended way to manage ruby versions?
def_jam is now known as eb0t
eb0t_ is now known as eblip
queip has joined #ruby
aupadhye has joined #ruby
<bobdobbs>
I'd like to install ruby 2.5.3 but it isn't listed as available within rbenv.
nickjj_ is now known as nickjj
smutnysyn has joined #ruby
brandonkal has joined #ruby
smutnysyn has quit [Ping timeout: 252 seconds]
elphe has joined #ruby
smutnysyn has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
nowhere_man has joined #ruby
jamied has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fredmorcos has joined #ruby
TiglatePileser has joined #ruby
nickjj_ has joined #ruby
yohji has joined #ruby
za1b1tsu has joined #ruby
Burgestrand has joined #ruby
nickjj has quit [Ping timeout: 268 seconds]
nickjj_ is now known as nickjj
elphe has joined #ruby
Arkantos has joined #ruby
queip has quit [Read error: Connection reset by peer]
nchambers has quit [Ping timeout: 240 seconds]
queip has joined #ruby
asphyxia has quit [Ping timeout: 268 seconds]
marz_d`ghostman has quit [Quit: Page closed]
DTZUZO has joined #ruby
dbz has joined #ruby
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbz has quit [Ping timeout: 272 seconds]
bonhoeffer has joined #ruby
Azure has joined #ruby
lomex has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gregf_ has quit [Ping timeout: 256 seconds]
queip has quit [Read error: Connection reset by peer]
hiroaki has quit [Ping timeout: 272 seconds]
queip has joined #ruby
apparition47 has quit [Quit: Bye]
akem has joined #ruby
fredmorcos has quit [Remote host closed the connection]
jordila has quit [Ping timeout: 240 seconds]
darthfork has joined #ruby
User458764 has joined #ruby
User458764 has quit [Remote host closed the connection]
aupadhye has quit [Quit: Leaving]
bonhoeffer has quit [Ping timeout: 256 seconds]
za1b1tsu has quit [Quit: WeeChat 2.3]
elphe has quit [Ping timeout: 252 seconds]
lomex has joined #ruby
jordila has joined #ruby
vondruch has quit [Ping timeout: 252 seconds]
jordila has quit [Ping timeout: 246 seconds]
elphe has joined #ruby
luminous has quit [Quit: Connection closed for inactivity]
elphe has quit [Ping timeout: 264 seconds]
jamied has joined #ruby
elphe has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
AJA4350 has quit [Remote host closed the connection]
AJA4350 has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akem has quit [Remote host closed the connection]
akem has joined #ruby
vondruch has joined #ruby
elphe has joined #ruby
elphe has quit [Ping timeout: 244 seconds]
Inline has joined #ruby
elphe has joined #ruby
darthfork has quit [Quit: darthfork]
yohji has quit [Ping timeout: 276 seconds]
elphe has quit [Ping timeout: 246 seconds]
conta has quit [Ping timeout: 246 seconds]
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
elphe has joined #ruby
conta has joined #ruby
queip has quit [Read error: Connection reset by peer]
conta has quit [Ping timeout: 245 seconds]
elphe has quit [Ping timeout: 268 seconds]
jsc has joined #ruby
jsc is now known as status402
status402 has quit [Client Quit]
status402 has joined #ruby
elphe has joined #ruby
hutch has joined #ruby
queip has joined #ruby
elphe has quit [Ping timeout: 245 seconds]
BH23 has joined #ruby
elphe has joined #ruby
Burgestrand has quit [Quit: Closing time!]
elphe has quit [Ping timeout: 272 seconds]
reber__ has quit [Remote host closed the connection]
reber__ has joined #ruby
status402 has quit [Quit: status402]
elphe has joined #ruby
ikbenhet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has quit [Ping timeout: 268 seconds]
jaddison has joined #ruby
conta1 has joined #ruby
TiglatePileser has quit []
queip has quit [Read error: Connection reset by peer]
elphe has joined #ruby
Tuor has quit [Quit: Konversation terminated!]
jordila has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
awkwords has quit [Quit: sleepy time]
queip has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
MoritaShinobu has quit [Quit: Leaving]
BH23 has quit [Ping timeout: 264 seconds]
jamied has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has quit [Ping timeout: 276 seconds]
hutch has quit [Ping timeout: 268 seconds]
elphe has joined #ruby
hutch has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
Mike11 has joined #ruby
elphe has joined #ruby
elphe has quit [Ping timeout: 244 seconds]
elphe has joined #ruby
houhoulis has joined #ruby
crankhar1er has joined #ruby
jordila has quit [Ping timeout: 268 seconds]
clemens3_ has quit [Ping timeout: 252 seconds]
perique has joined #ruby
paulscoder has quit [Quit: paulscoder]
elphe has quit [Ping timeout: 268 seconds]
dbz has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
lxsameer has joined #ruby
OrangeManBad has quit [Ping timeout: 260 seconds]
nchambers has joined #ruby
sauvin has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 268 seconds]
hutch has quit [Ping timeout: 252 seconds]
queip has quit [Read error: Connection reset by peer]
elphe has joined #ruby
elphe has quit [Ping timeout: 244 seconds]
conta1 has quit [Quit: conta1]
elphe has joined #ruby
queip has joined #ruby
keden has quit [Ping timeout: 240 seconds]
tectonic has joined #ruby
nchambers has quit [Quit: WeeChat 2.2]
elphe has quit [Ping timeout: 244 seconds]
BTRE has quit [Ping timeout: 245 seconds]
elphe has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
elphe has quit [Ping timeout: 268 seconds]
agent_white has joined #ruby
rippa has joined #ruby
elphe has joined #ruby
BTRE has joined #ruby
chens has quit [Read error: Connection reset by peer]
chens has joined #ruby
houhoulis has quit [Remote host closed the connection]
elphe has quit [Ping timeout: 245 seconds]
ivanskie has joined #ruby
hutch has joined #ruby
lxsameer has joined #ruby
vdl has joined #ruby
elphe has joined #ruby
awkwords has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
hutch has quit [Ping timeout: 244 seconds]
queip has quit [Read error: Connection reset by peer]
dviola has joined #ruby
<havenwood>
bobdobbs: Many folk these days use chruby, but rbenv is still popular as well.
AJA4350 has quit [Remote host closed the connection]
mroutis has joined #ruby
AJA4350 has joined #ruby
OrangeManBad has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
keden has joined #ruby
queip has joined #ruby
elphe has joined #ruby
crankhar1er has quit [Ping timeout: 252 seconds]
elphe has quit [Ping timeout: 244 seconds]
elcontrastador has quit [Ping timeout: 272 seconds]
cd has quit [Quit: cd]
Chew has quit [Ping timeout: 264 seconds]
AJA4350 has quit [Ping timeout: 268 seconds]
galeido has quit [Ping timeout: 252 seconds]
Chew has joined #ruby
AJA4350 has joined #ruby
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
crankhar1er has joined #ruby
jaddison has quit [Quit: jaddison]
dbz has quit [Remote host closed the connection]
lomex has joined #ruby
elphe has joined #ruby
dbz has joined #ruby
ikbenhet has joined #ruby
crankhar1er has quit [Ping timeout: 245 seconds]
dbz has quit [Ping timeout: 250 seconds]
elphe has quit [Ping timeout: 268 seconds]
conta1 has joined #ruby
bambanx has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ikbenhet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankhar1er has joined #ruby
elphe has joined #ruby
awkwords has quit [Quit: sleepy time]
crankhar1er has quit [Ping timeout: 244 seconds]
elphe has quit [Ping timeout: 268 seconds]
Fr4n has joined #ruby
queip has quit [Read error: Connection reset by peer]
elphe has joined #ruby
tectonic has quit [Ping timeout: 244 seconds]
elphe has quit [Ping timeout: 268 seconds]
roshanavand has quit [Ping timeout: 268 seconds]
crankhar1er has joined #ruby
hutch has joined #ruby
Dbugger has joined #ruby
queip has joined #ruby
crankhar1er has quit [Ping timeout: 240 seconds]
bambanx has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
jaddison has joined #ruby
<Iambchop>
bobdobbs: you have ruby-build installed as an rbenv plugin via git? update it to get the latest version defs: cd "$(rbenv root)"/plugins/ruby-build && git pull
SeepingN has joined #ruby
RougeR has joined #ruby
<Iambchop>
2.5.3 was added Oct. 18
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
RougeR has quit [Remote host closed the connection]
RougeR has joined #ruby
leitz has joined #ruby
smutnysy1 has joined #ruby
venmx has joined #ruby
smutnysyn has quit [Ping timeout: 250 seconds]
FrankD has quit [Read error: Connection reset by peer]
keden has quit [Quit: WeeChat 2.3]
venmx has quit [Ping timeout: 250 seconds]
Emmanuel_Chanel has joined #ruby
darkhanb has joined #ruby
venmx has joined #ruby
roshanavand has joined #ruby
jordila has joined #ruby
AJA4350 has quit [Remote host closed the connection]
akaiiro has joined #ruby
bga57 has quit [Remote host closed the connection]
AJA4350 has joined #ruby
hutch has joined #ruby
rubydoc has quit [Ping timeout: 244 seconds]
jordila has quit [Ping timeout: 268 seconds]
phaul has quit [Ping timeout: 272 seconds]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch has quit [Ping timeout: 268 seconds]
sagax has quit [Quit: Konversation terminated!]
rubydoc has joined #ruby
venmx has quit [Remote host closed the connection]