orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 252 seconds]
Fernando-Basso has quit [Read error: Connection reset by peer]
elphe has joined #ruby
blackmesa has joined #ruby
<C-o>
Hi, I would like to use cycle on an array to cycle through the list while a condition is true but I would also like to retrieve, in the block. the number of the current iteration of cycle, I tried with cycle.with_index but the index is increase for each element instead of each cycle, sorry for my bad english
elphe has quit [Ping timeout: 268 seconds]
elphe has joined #ruby
<baweaver>
Enumerator, though why do you want to do that?
<baweaver>
Maybe lazy map with index too
akem has quit [Remote host closed the connection]
akem has joined #ruby
dbz_ has joined #ruby
akem has quit [Remote host closed the connection]
dbz has quit [Ping timeout: 250 seconds]
akem has joined #ruby
dbz_ has quit [Ping timeout: 268 seconds]
kent\n has quit [Quit: No Ping reply in 180 seconds.]
asphyxia has joined #ruby
kent\n has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
<havenwood>
&>> a = %w[tick tock]; a.cycle.lazy.with_index.map { |item, index| [item, index / a.size] }.first 5 # C-o
gnufied has quit [Read error: Connection reset by peer]
gnufied has joined #ruby
LinuxKnight has quit [Remote host closed the connection]
LinuxKnight has joined #ruby
dhollinger has quit [Ping timeout: 250 seconds]
elphe has joined #ruby
dbz has joined #ruby
Guest21835 has joined #ruby
dbz has quit [Ping timeout: 250 seconds]
elphe has quit [Ping timeout: 268 seconds]
elphe has joined #ruby
blackmesa has quit [Ping timeout: 268 seconds]
dhollinger has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
elphe has joined #ruby
phaul has joined #ruby
n13z has quit [Ping timeout: 268 seconds]
mangold has quit [Quit: This computer has gone to sleep]
pskosinski has quit [Remote host closed the connection]
arekushi has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
SuperL4g has joined #ruby
SuperLag has quit [Ping timeout: 240 seconds]
keden has joined #ruby
elphe has joined #ruby
esrse has quit [Ping timeout: 268 seconds]
elphe has quit [Ping timeout: 268 seconds]
mangold has joined #ruby
_Cthulu201 is now known as Cthulu201
elphe has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
Burgestrand has quit [Quit: Closing time!]
lomex has joined #ruby
lomex has quit [Client Quit]
Dbugger has joined #ruby
lomex has joined #ruby
lomex has quit [Client Quit]
elphe has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
dviola has joined #ruby
elphe has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
mangold has quit [Quit: This computer has gone to sleep]
Burgestrand has joined #ruby
elphe has joined #ruby
AJA4350 has joined #ruby
Burgestrand has quit [Quit: Closing time!]
elphe has quit [Ping timeout: 268 seconds]
jottr has quit [Quit: WeeChat 2.2]
asphyxia has quit [Ping timeout: 250 seconds]
Burgestrand has joined #ruby
elphe has joined #ruby
mangold has joined #ruby
reber has joined #ruby
supergeek has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
dviola has quit [Quit: WeeChat 2.3]
mangold has quit [Quit: This computer has gone to sleep]
sheepman has joined #ruby
elphe has joined #ruby
keden has quit [Ping timeout: 250 seconds]
graphene has quit [Remote host closed the connection]
elphe has quit [Ping timeout: 246 seconds]
graphene has joined #ruby
mangold has joined #ruby
Guest21835 has quit [Ping timeout: 246 seconds]
nadir has quit [Quit: Connection closed for inactivity]
Guest21835 has joined #ruby
keden has joined #ruby
elphe has joined #ruby
bmurt has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
za1b1tsu has joined #ruby
elphe has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
beeman has joined #ruby
elphe has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
mangold has quit [Quit: This computer has gone to sleep]
elphe has joined #ruby
voxxit has quit [*.net *.split]
viaduct has quit [*.net *.split]
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
aupadhye has quit [Quit: Leaving]
elphe has quit [Ping timeout: 246 seconds]
GinoMan has joined #ruby
GinoMan2440 has joined #ruby
fredmorcos has joined #ruby
vondruch has quit [Ping timeout: 245 seconds]
elphe has joined #ruby
lomex has joined #ruby
GinoMan has quit [Ping timeout: 250 seconds]
elphe has quit [Ping timeout: 250 seconds]
conta1 has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
crankhar1er has joined #ruby
elphe has joined #ruby
keden has quit [Ping timeout: 246 seconds]
elphe has quit [Ping timeout: 268 seconds]
sheepman has quit [Ping timeout: 245 seconds]
Roelof has joined #ruby
<Roelof>
is still RubyMonk the best free way to learn ruby ? and can I work on Windows 10 well with ruby ?
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lomex has joined #ruby
sheepman has joined #ruby
lomex has quit [Client Quit]
<Zarthus>
you can work with W10 well enough for ruby, but it's still recommended to spin up a VM of your dev environment to match production
<Zarthus>
I've never used rubymonk, but there is no "objective best way for everyone"
<Zarthus>
people learn differently
<Zarthus>
try it, you like it? go for it.
elphe has joined #ruby
<Roelof>
Thanks
za1b1tsu has quit [Quit: WeeChat 2.2]
Roelof has quit [Quit: Page closed]
elphe has quit [Ping timeout: 268 seconds]
elphe has joined #ruby
Inline has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
kaleido has quit [Ping timeout: 250 seconds]
kaleido has joined #ruby
keden has joined #ruby
conta1 has quit [Ping timeout: 246 seconds]
elphe has joined #ruby
SeepingN has joined #ruby
keden has quit [Read error: Connection reset by peer]
elphe has quit [Ping timeout: 268 seconds]
dkmueller has joined #ruby
lomex has joined #ruby
lomex has quit [Client Quit]
akem__ has quit [Read error: Connection reset by peer]
akem has joined #ruby
knight33 has joined #ruby
rippa has joined #ruby
<knight33>
We have a small app written in Ruby, deployed to a ton of Windows machine. I work on macOS/Linux, and am scratching my head on how I can test it locally (I'm coding through TeamViewer on a remote Windows box right now) and it's really annoying.
<knight33>
It uses the `win32-service` gem .
beefjoe has joined #ruby
beefjoe has quit [Client Quit]
elphe has joined #ruby
nchambers has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
ellcs has quit [Ping timeout: 240 seconds]
za1b1tsu has joined #ruby
orcus has joined #ruby
orcus is now known as Guest64242
keden has joined #ruby
elphe has joined #ruby
lipoqil has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
za1b1tsu has quit [Quit: WeeChat 2.2]
mostlybadfly has joined #ruby
dinfuehr_ has joined #ruby
dinfuehr has quit [Ping timeout: 252 seconds]
fredmorcos has quit [Remote host closed the connection]
vondruch has joined #ruby
unreal has joined #ruby
akem has quit [Remote host closed the connection]
blackmesa has joined #ruby
elphe has joined #ruby
akem has joined #ruby
Burgestrand has quit [Quit: Closing time!]
elphe has quit [Ping timeout: 246 seconds]
crankharder has quit [Ping timeout: 244 seconds]
lomex has joined #ruby
marz_d`ghostman has joined #ruby
<marz_d`ghostman>
Isn't the 'with_options' available for activerecord in plain ruby? what's the alternative?
jaddison has joined #ruby
crankharder has joined #ruby
<tbuehlmann>
that's from activesupport and there's no such pendant in ruby
<marz_d`ghostman>
is there an alternative to using orm for plain ruby?
elkapitan20 has joined #ruby
<tbuehlmann>
do you mean activerecord?
<marz_d`ghostman>
oh yea, I mean activerecord
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tbuehlmann>
you can use that without using rails, if that's what you mean
<elkapitan20>
hi
<marz_d`ghostman>
tbuehlmann: I'm trying to make this work
jnoon has quit [Read error: Connection reset by peer]
elphe has joined #ruby
Renich_ has joined #ruby
Renich has quit [Ping timeout: 272 seconds]
Renich_ is now known as Renich
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
Demos[m] has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
sauvin has quit [Read error: Connection reset by peer]
sepp2k has quit [Read error: Connection reset by peer]
impermanence has quit [Ping timeout: 268 seconds]
Aqo has joined #ruby
Renich_ has joined #ruby
elphe has joined #ruby
Renich has quit [Ping timeout: 250 seconds]
Renich_ is now known as Renich
elphe has quit [Ping timeout: 252 seconds]
TheBloke has quit [Ping timeout: 240 seconds]
impermanence has joined #ruby
impermanence has quit [Remote host closed the connection]
beeman has joined #ruby
bastilian has joined #ruby
turt2live has joined #ruby
jonjitsu has joined #ruby
postmodern has joined #ruby
j416 has quit [Ping timeout: 246 seconds]
elphe has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
elphe has joined #ruby
j416 has joined #ruby
venmx has quit [Ping timeout: 252 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
elphe has quit [Ping timeout: 268 seconds]
Renich has quit [Read error: Connection reset by peer]
reber has quit [Remote host closed the connection]
Renich has joined #ruby
Demos[m] has quit [Read error: Connection reset by peer]
jonjitsu has quit [Remote host closed the connection]
turt2live has quit [Read error: Connection reset by peer]
bastilian has quit [Read error: Connection reset by peer]
irdr has quit [Max SendQ exceeded]
elphe has joined #ruby
j416 has quit [Ping timeout: 250 seconds]
irdr has joined #ruby
j416 has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
Demos[m] has joined #ruby
elphe has joined #ruby
TheBloke has joined #ruby
tectonic has joined #ruby
elphe has quit [Ping timeout: 245 seconds]
elphe has joined #ruby
Exuma has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
Renich has quit [Read error: Connection reset by peer]
jonjitsu has joined #ruby
turt2live has joined #ruby
bastilian has joined #ruby
Renich has joined #ruby
elphe has joined #ruby
Fernando-Basso has joined #ruby
<zenspider>
jeffspeff: just looks old. very.
<zenspider>
sezuan: no... that's not a dependency term that is supported. supported ruby version is there... but mostly as a means of failing out, not matching.
elphe has quit [Ping timeout: 268 seconds]
cd has quit [Ping timeout: 256 seconds]
<zenspider>
maslen: "entries" is plural, implies array. The error does too (indexing an array with a string)... so maybe you have an array of arrays of hashes?
perique has joined #ruby
cd has joined #ruby
elphe has joined #ruby
rippa has quit [Ping timeout: 250 seconds]
alem0lars has quit [Ping timeout: 268 seconds]
elphe has quit [Ping timeout: 268 seconds]
Snowy has joined #ruby
Snowy has quit [Client Quit]
Renich_ has joined #ruby
Renich has quit [Ping timeout: 250 seconds]
Renich_ is now known as Renich
jaddison has quit [Quit: jaddison]
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gigetoo has quit [Ping timeout: 252 seconds]
elphe has joined #ruby
gigetoo has joined #ruby
<maslen>
zenspider: Entries is an associated array, mapping a name to another associated array
dviola has joined #ruby
<maslen>
I guess I just don't understand which parameter on line 71 is being converted from string to integer ... I don't see any conversion happening there
elphe has quit [Ping timeout: 268 seconds]
troulouliou_div2 has quit [Read error: Connection reset by peer]
j416 has quit [Ping timeout: 246 seconds]
Exuma has joined #ruby
elphe has joined #ruby
j416 has joined #ruby
voxxit has joined #ruby
jaddison has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
elphe has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
Fernando-Basso has quit [Remote host closed the connection]