apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
zzzbra has quit [Ping timeout: 246 seconds]
tunaCanBruh has joined #ruby
jespada has quit [Quit: Leaving]
jgt has quit [Ping timeout: 256 seconds]
josephndenton has joined #ruby
goodenough has joined #ruby
DadoCe has joined #ruby
hendricius has quit [Ping timeout: 244 seconds]
vaneda has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
it0a has quit [Ping timeout: 256 seconds]
josephndenton has quit [Ping timeout: 244 seconds]
ta_ has joined #ruby
tunaCanBruh has quit [Ping timeout: 272 seconds]
exomniac has joined #ruby
DadoCe has quit [Ping timeout: 276 seconds]
zaza has joined #ruby
zaza has quit [Max SendQ exceeded]
greenbagels_ has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
ReinH has joined #ruby
ping-pong has quit [Ping timeout: 246 seconds]
Sid05 has joined #ruby
jefus has joined #ruby
exomniac has quit [Quit: Leaving]
juanpablo___ has joined #ruby
exomniac has joined #ruby
nuck has joined #ruby
dfinninger has joined #ruby
tokik has joined #ruby
Soda has joined #ruby
Channel6 has joined #ruby
Aova has quit [Read error: Connection reset by peer]
dualbus has joined #ruby
echevemaster has joined #ruby
chinmay_dd has quit [Quit: Connection closed for inactivity]
Nathante has joined #ruby
Nathante has quit [Max SendQ exceeded]
juanpablo___ has quit [Ping timeout: 246 seconds]
Nathante has joined #ruby
Nathante has quit [Max SendQ exceeded]
dfinninger has quit [Ping timeout: 264 seconds]
maximski has joined #ruby
nuck has quit [Quit: Computer has gone to sleep.]
maximski has quit [Max SendQ exceeded]
Nathante has joined #ruby
Aova has joined #ruby
maximski has joined #ruby
max96at is now known as max96at|off
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nathante has left #ruby [#ruby]
ping-pong has joined #ruby
<exomniac> anyone used the rubymonk tutorials?
quimrstorres has quit [Remote host closed the connection]
jcdesimp_ has joined #ruby
tyfighter has quit [Quit: tyfighter]
slyv has quit [Quit: My Computer has gone to sleep. ZZZzzz…]
agrinb has joined #ruby
ta_ has joined #ruby
Hijiri has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
Hijiri has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
sivam has joined #ruby
ZoanthusR has joined #ruby
jcdesimp has quit [Ping timeout: 265 seconds]
agrinb has quit [Ping timeout: 265 seconds]
adriancb has joined #ruby
shredding has joined #ruby
LouisRoR1 has quit [Ping timeout: 240 seconds]
shredding has quit [Client Quit]
sent1nel has quit [Remote host closed the connection]
thatslifeson has joined #ruby
iamjarvo has joined #ruby
<hackeron> jhass: thank you, that is interesting - wonder how to make capistrano use it though, hmmm
<jhass> don't know capistrano, but it's widespread enough that I'd imagine somebody figured it out already ;)
shredding has joined #ruby
fabrice31 has joined #ruby
ta_ has quit [Ping timeout: 272 seconds]
adriancb has quit [Ping timeout: 265 seconds]
gizmore has joined #ruby
it0a has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
shredding has quit [Quit: shredding]
li0ninawhat has quit [Remote host closed the connection]
plashchynski has quit [Quit: plashchynski]
dorei has quit []
ponga has joined #ruby
zachrab has joined #ruby
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
tmk1108 has joined #ruby
jcdesimp_ has quit [Remote host closed the connection]
jcdesimp has joined #ruby
spider-mario has quit [Remote host closed the connection]
tokik has quit [Ping timeout: 245 seconds]
ta has quit [Quit: Leaving...]
ponga has quit [Ping timeout: 256 seconds]
zachrab has quit [Ping timeout: 240 seconds]
vdamewood has quit [Read error: Connection reset by peer]
maximski has quit []
apeiros_ has joined #ruby
chrishough has joined #ruby
tyfighter has joined #ruby
towski_ has joined #ruby
towski_ has quit [Remote host closed the connection]
vaneda has quit [Quit: Computer has gone to sleep.]
shredding has joined #ruby
psy_ has quit [Read error: Connection reset by peer]
ta has joined #ruby
psy_ has joined #ruby
ta_ has joined #ruby
BurningChrome_ has quit [Ping timeout: 245 seconds]
gawd has joined #ruby
atomi has quit [Quit: back in a while]
pdoherty has joined #ruby
shredding has quit [Client Quit]
josephndenton has joined #ruby
kayloos has joined #ruby
ta_ has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 244 seconds]
DEA7TH has quit [Ping timeout: 272 seconds]
shredding has joined #ruby
shredding has quit [Client Quit]
josephndenton has quit [Ping timeout: 272 seconds]
kalusn has quit [Ping timeout: 276 seconds]
x1337807x has joined #ruby
zapho53 has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
<zapho53> Ruby 2.2.0 /OS X 10.10/rbenv produces a list of "Ignoring <gem> because its extensions are not built. Try: gem pristine <gem> --version ..." every time I run irb. Why?
siso has quit [Quit: siso]
<zapho53> My gems are located in $HOME/.gem
<jhass> did you try?
einarj has quit [Remote host closed the connection]
<zapho53> jhass: No. Didn't need this when I moved to 2.1.
arescorpio has joined #ruby
<zapho53> jhass: Just trying to understand why it's happening.
<jhass> probably rbenv related issue
caveat- has joined #ruby
Sid05 has quit [Quit: Sid05]
kenneth has joined #ruby
Aova has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
mrmargolis has joined #ruby
dc_ has joined #ruby
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
tmk1108 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dfinninger has quit [Ping timeout: 256 seconds]
maximski has joined #ruby
jbae has quit [Ping timeout: 245 seconds]
maximski has quit [Max SendQ exceeded]
agrinb has joined #ruby
Aova has joined #ruby
m8 has quit [Quit: Sto andando via]
jbae_ has joined #ruby
eka has joined #ruby
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
tyfighter has quit [Quit: tyfighter]
vvivv has quit [Ping timeout: 256 seconds]
agrinb has quit [Ping timeout: 265 seconds]
caveat- has quit [Ping timeout: 245 seconds]
jbae_ has quit [Ping timeout: 245 seconds]
jetblack has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
jbae has joined #ruby
helpa has quit [Remote host closed the connection]
certaint1 has joined #ruby
pipecloud has joined #ruby
shellox_ has quit [Remote host closed the connection]
ericwood_ has joined #ruby
shellfu is now known as shellfu_watches
helpa has joined #ruby
rodasc has quit [Quit: Disconnecting from stoned server.]
mhenrixon has quit [Ping timeout: 256 seconds]
nug has quit [Ping timeout: 256 seconds]
adam12 has quit [Ping timeout: 256 seconds]
zonetti has quit [Ping timeout: 256 seconds]
nitrix has quit [Ping timeout: 256 seconds]
maximski has quit [Ping timeout: 256 seconds]
chrishough has quit [Ping timeout: 256 seconds]
gf3 has quit [Ping timeout: 256 seconds]
ValicekB has quit [Ping timeout: 256 seconds]
webguynow has quit [Ping timeout: 256 seconds]
bashusr has quit [Ping timeout: 256 seconds]
n88 has quit [Ping timeout: 256 seconds]
gregf_ has quit [Ping timeout: 256 seconds]
seanmarcia has quit [Ping timeout: 256 seconds]
bier has quit [Ping timeout: 256 seconds]
nisstyre has quit [Ping timeout: 256 seconds]
Eiam has quit [Ping timeout: 256 seconds]
certainty has quit [Ping timeout: 256 seconds]
Trynemjoel has quit [Ping timeout: 256 seconds]
thejoecarroll has quit [Ping timeout: 256 seconds]
pipework has quit [Ping timeout: 256 seconds]
Spleeze has quit [Ping timeout: 256 seconds]
leafybasil has quit [Ping timeout: 256 seconds]
jcp has quit [Ping timeout: 256 seconds]
chuck has quit [Ping timeout: 256 seconds]
mbwe has quit [Ping timeout: 256 seconds]
s_e has quit [Ping timeout: 256 seconds]
droidburgundy has quit [Ping timeout: 256 seconds]
ryotarai has quit [Ping timeout: 256 seconds]
thoraxe has quit [Ping timeout: 256 seconds]
clauswitt has quit [Ping timeout: 256 seconds]
diegok has quit [Ping timeout: 256 seconds]
contradictioned has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
madhatter has quit [Ping timeout: 256 seconds]
jamo_ has quit [Ping timeout: 256 seconds]
jxport has quit [Ping timeout: 256 seconds]
kayloos has quit [Ping timeout: 256 seconds]
byaruhaf has quit [Ping timeout: 256 seconds]
peterhu has quit [Ping timeout: 256 seconds]
riotjones has quit [Ping timeout: 256 seconds]
red_horned_rihno has quit [Ping timeout: 256 seconds]
suy has quit [Ping timeout: 256 seconds]
uxp has quit [Ping timeout: 256 seconds]
Gonzih has quit [Ping timeout: 256 seconds]
bennyklotz has quit [Ping timeout: 256 seconds]
majoh has quit [Ping timeout: 256 seconds]
gomix has quit [Ping timeout: 256 seconds]
tercenya has quit [Ping timeout: 256 seconds]
kies has quit [Ping timeout: 256 seconds]
ctrlrsf has quit [Ping timeout: 256 seconds]
warreng has quit [Ping timeout: 256 seconds]
aep has quit [Ping timeout: 256 seconds]
gnarf has quit [Ping timeout: 256 seconds]
JyZyXEL has quit [Ping timeout: 256 seconds]
Guest57534 has quit [Ping timeout: 256 seconds]
Takumo has quit [Ping timeout: 256 seconds]
jkyle has quit [Ping timeout: 256 seconds]
justinmcp has quit [Ping timeout: 256 seconds]
Zackio has quit [Ping timeout: 256 seconds]
mattp__ has quit [Ping timeout: 256 seconds]
klap has quit [Ping timeout: 256 seconds]
j0n3 has quit [Ping timeout: 256 seconds]
ItSANgo has quit [Ping timeout: 256 seconds]
pu22l3r has quit [Ping timeout: 256 seconds]
lady3bean has quit [Ping timeout: 256 seconds]
Platini has quit [Ping timeout: 256 seconds]
regnartim has quit [Ping timeout: 256 seconds]
guardian has joined #ruby
matrixise has quit [Ping timeout: 256 seconds]
livcd has quit [Ping timeout: 256 seconds]
AlexRussia has quit [Ping timeout: 256 seconds]
Drakevr has quit [Ping timeout: 256 seconds]
ericwood has quit [Ping timeout: 256 seconds]
Esya has quit [Ping timeout: 256 seconds]
linduxed has quit [Ping timeout: 256 seconds]
prasselpikachu has quit [Ping timeout: 256 seconds]
robustus has quit [*.net *.split]
TheNumb has quit [*.net *.split]
FaresKAlaboud has quit [*.net *.split]
sonOfRa has quit [*.net *.split]
wasamasa has quit [*.net *.split]
deepy has quit [*.net *.split]
mame2 has quit [*.net *.split]
Ridley5 has quit [*.net *.split]
Cork has quit [*.net *.split]
kith has quit [*.net *.split]
erichmenge has quit [*.net *.split]
KillerFox has quit [*.net *.split]
guardian is now known as 6A4ABBRRG
prasselpikachu has joined #ruby
pipecloud is now known as pipework
FIGO_ has joined #ruby
exomniac has quit [Quit: Leaving]
nitrix- has joined #ruby
mist has quit [Ping timeout: 606 seconds]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
n88 has joined #ruby
raddazong has joined #ruby
s_e_ has joined #ruby
thejoecarroll has joined #ruby
s_e_ is now known as s_e
helpa has quit [Remote host closed the connection]
havenwood has joined #ruby
caveat- has joined #ruby
jbae has left #ruby [#ruby]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
leafybas_ has joined #ruby
riotjone_ has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
astrobunny has joined #ruby
mhenrixon_ has joined #ruby
j0n3_ has joined #ruby
weaksauce has joined #ruby
tercenya_ has joined #ruby
gnarld_ has joined #ruby
javawizard has joined #ruby
jalcine- has joined #ruby
chrishou_ has joined #ruby
suy_ has joined #ruby
justinmcp_ has joined #ruby
mbwe1 has joined #ruby
adam- has joined #ruby
ryotarai_ has joined #ruby
vlad_sta- has joined #ruby
gregf__ has joined #ruby
contradictioned_ has joined #ruby
gf3_ has joined #ruby
sent1nel has joined #ruby
jxport_ has joined #ruby
aep_ has joined #ruby
crodas has joined #ruby
clauswitt_ has joined #ruby
byaruhaf_ has joined #ruby
thoraxe_ has joined #ruby
peterhu_ has joined #ruby
jenrzzz has joined #ruby
klap_ has joined #ruby
bennyklo1z has joined #ruby
uxp_ has joined #ruby
robustus|Off has joined #ruby
adam- is now known as adam12_
sandshark_ has joined #ruby
diego_k has joined #ruby
DadoCe has joined #ruby
Drakevr_ has joined #ruby
bashusr2 has joined #ruby
matrixis1 has joined #ruby
ItSANg___ has joined #ruby
porfa has quit [Ping timeout: 245 seconds]
livcd_ has joined #ruby
bier_ has joined #ruby
JyZyXEL- has joined #ruby
gnarld_ is now known as nug
bashusr2 is now known as bashusr
mhenrixon_ is now known as mhenrixon
JyZyXEL- is now known as JyZyXEL
robustus|Off is now known as robustus
bashusr has quit [Changing host]
bashusr has joined #ruby
TakumoKatekari has joined #ruby
gf3_ is now known as gf3
adam12_ is now known as adam
ryotarai_ is now known as ryotarai
FIGO_ has quit [Changing host]
FIGO_ has joined #ruby
sent1nel has quit [Ping timeout: 245 seconds]
sandshark has quit [Ping timeout: 245 seconds]
seanmarcia has joined #ruby
ninjazach has joined #ruby
warreng has joined #ruby
mattp__ has joined #ruby
webguynow has joined #ruby
pipework is now known as Guest81637
adam is now known as Guest24051
Guest81637 has joined #ruby
Guest81637 has quit [Changing host]
nuck has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
ninjazach is now known as Guest75921
mist has joined #ruby
Spleeze has joined #ruby
tvw has quit []
helpa has joined #ruby
red_horned_rihno has joined #ruby
Gonzih has joined #ruby
RedDwarf has joined #ruby
gomix has joined #ruby
majoh has joined #ruby
jalcine has quit [Quit: Goodbye]
jalcine- is now known as jalcine
kalusn has joined #ruby
jamo__ has joined #ruby
pu22l3r_ has joined #ruby
zonetti_ has joined #ruby
Trynemjoel2 has joined #ruby
lady3bean has joined #ruby
tmk1108 has joined #ruby
kies has joined #ruby
DadoCe has quit [Ping timeout: 265 seconds]
shellox has joined #ruby
gnarf_ has joined #ruby
FIGO_ is now known as Platini
prasselpikachu_ has joined #ruby
tunaCanBruh has joined #ruby
helpa has quit [Remote host closed the connection]
nisstyre has joined #ruby
prasselpikachu has quit [Ping timeout: 256 seconds]
nuck has quit [Quit: Computer has gone to sleep.]
Takle has quit [Remote host closed the connection]
exadeci has quit [Quit: Connection closed for inactivity]
j0n3_ has quit [Read error: Connection reset by peer]
FaresKAlaboud has joined #ruby
mame2 has joined #ruby
erichmenge has joined #ruby
kith has joined #ruby
KillerFox has joined #ruby
Ridley5 has joined #ruby
Cork has joined #ruby
wasamasa has joined #ruby
sonOfRa has joined #ruby
deepy has joined #ruby
TheNumb has joined #ruby
Cork has quit [Max SendQ exceeded]
zachrab has joined #ruby
shellox has quit [Ping timeout: 264 seconds]
6A4ABBRRG has quit [Ping timeout: 256 seconds]
Cork has joined #ruby
Cork is now known as 32NAA62KE
jimg has joined #ruby
ValicekB has joined #ruby
helpa has joined #ruby
FooMunki has quit [Quit: FooMunki]
adriancb has joined #ruby
jimg has quit [Client Quit]
jimg has joined #ruby
regnartim has joined #ruby
danzilio has quit []
zachrab has quit [Ping timeout: 265 seconds]
Pupeno has joined #ruby
tunaCanBruh has quit [Ping timeout: 276 seconds]
jalcine has quit [Quit: Goodbye]
FooMunki_ has joined #ruby
adamjleonard has quit [Quit: Leaving...]
freerobby has joined #ruby
jalcine has joined #ruby
shellox has joined #ruby
maximski has joined #ruby
hgl has quit [Ping timeout: 276 seconds]
einarj has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
ych4k3r has joined #ruby
hgl has joined #ruby
Ankhers`` has quit [Ping timeout: 250 seconds]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shum has joined #ruby
FooMunki_ has quit [Read error: Connection reset by peer]
maximski has quit []
FooMunki_ has joined #ruby
coreycondardo has joined #ruby
mrmargolis has quit [Remote host closed the connection]
mrmargolis has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juanpablo___ has joined #ruby
kenneth has joined #ruby
<coreycondardo> hi
vaneda has joined #ruby
einarj has quit [Ping timeout: 256 seconds]
<coreycondardo> hi
adriancb has quit []
shum has quit [Client Quit]
AlexRussia has joined #ruby
maximski has joined #ruby
shum has joined #ruby
maximski has quit [Max SendQ exceeded]
ta has quit [Remote host closed the connection]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
mloveless has quit [Remote host closed the connection]
Damonique has joined #ruby
mrmargolis has quit [Ping timeout: 272 seconds]
juanpablo___ has quit [Ping timeout: 256 seconds]
<jhass> coreycondardo: sup
<coreycondardo> just fucking with webmock :).
linduxed has joined #ruby
<coreycondardo> opps!
<coreycondardo> i meant fighting!!
<coreycondardo> oy :-[
<jhass> you know
<jhass> you can't make that undone now
<coreycondardo> i know :(.
<coreycondardo> i had a good run.
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Megtastique has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlSquire has quit [Quit: This computer has gone to sleep]
adriancb has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
freerobby has quit [Quit: Leaving.]
Aova has quit [Read error: Connection reset by peer]
adamjleonard has joined #ruby
dfinninger has joined #ruby
aemeredith has joined #ruby
goodenough has quit [Remote host closed the connection]
rbennacer has joined #ruby
<rbennacer> hello guys
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rbennacer> i am trying to make my api wrapper more modular
TripTastic has joined #ruby
<rbennacer> anybody has experience with ruby module
<rbennacer> it is very confusing, this is my gist https://gist.github.com/bennacer860/da38fd5e596a5f686d76 and i want to be able to do WMATA.api='xx' ; WMATA.next_trains
jkyle has joined #ruby
Aova has joined #ruby
dfinninger has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
adamjleonard has quit [Quit: Leaving...]
goodenough has joined #ruby
fabrice31 has joined #ruby
neoxquick has quit [Read error: Connection reset by peer]
adamjleonard has joined #ruby
ta has joined #ruby
Ankhers`` has joined #ruby
Megtastique has quit []
BurningChrome_ has joined #ruby
Damonique has quit [Remote host closed the connection]
miah has joined #ruby
<gr33n7007h> rbennacer, just add `attr_accessor :api`
MatthewsFace has joined #ruby
ponga has joined #ruby
raphaelss has quit [Quit: leaving]
Soda has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ankhers`` has quit [Ping timeout: 250 seconds]
siso has joined #ruby
mrmargolis has joined #ruby
sent1nel has joined #ruby
kalusn has quit [Remote host closed the connection]
Megtastique has joined #ruby
ta has quit [Ping timeout: 276 seconds]
kalusn has joined #ruby
slyv has joined #ruby
Megtastique has quit [Client Quit]
mloveless has joined #ruby
duncannz has quit [Ping timeout: 264 seconds]
sent1nel_ has joined #ruby
freerobby has quit [Quit: Leaving.]
TripTastic has quit [Read error: Connection reset by peer]
sent1nel has quit [Ping timeout: 265 seconds]
kalusn has quit [Ping timeout: 255 seconds]
eka has joined #ruby
razieliyo has joined #ruby
duncannz has joined #ruby
platzhirsch has left #ruby [#ruby]
hgl has quit [Ping timeout: 255 seconds]
agrinb has joined #ruby
slyv has quit [Quit: My Computer has gone to sleep. ZZZzzz…]
hgl has joined #ruby
Pupeno_ has joined #ruby
tyfighter has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
maletor has joined #ruby
<rbennacer> mmm
JBreit has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
<rbennacer> i would still need to instantiate the module ot class
josephndenton has joined #ruby
it0a has quit [Ping timeout: 255 seconds]
Pharaoh2 has joined #ruby
JBreit has left #ruby [#ruby]
n008f4g_ has quit [Ping timeout: 272 seconds]
tiwillia has quit [Ping timeout: 246 seconds]
Channel6 has quit [Quit: Leaving]
Channel6 has joined #ruby
Channel6 has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 246 seconds]
Spami has joined #ruby
Megtastique has joined #ruby
ForkingPaths has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tiwillia has joined #ruby
slyv has joined #ruby
it0a has joined #ruby
jalcine has quit [Quit: Goodbye]
jalcine has joined #ruby
zzzbra has joined #ruby
ForkingPaths has joined #ruby
jonr22 has joined #ruby
kenneth has joined #ruby
slyv has quit [Ping timeout: 276 seconds]
sivam has quit [Ping timeout: 276 seconds]
caveat- has quit [Ping timeout: 245 seconds]
pdoherty has joined #ruby
ta has joined #ruby
dimaursu16 has quit [Ping timeout: 265 seconds]
zzzbra has quit [Ping timeout: 245 seconds]
Spami has quit [Quit: This computer has gone to sleep]
pika_pika has quit [Ping timeout: 272 seconds]
zachrab has joined #ruby
hiyosi has joined #ruby
dopie has quit [Remote host closed the connection]
nitrix- has quit [Changing host]
nitrix- has joined #ruby
caveat- has joined #ruby
nitrix- is now known as nitrix
pdoherty has quit [Ping timeout: 276 seconds]
whomp has joined #ruby
zachrab has quit [Ping timeout: 245 seconds]
dimaursu16 has joined #ruby
<weaksauce> is there a method like string#sub that takes an offset?
mloveless has quit []
__chris has joined #ruby
LudicrousMango has quit [Remote host closed the connection]
LudicrousMango has joined #ruby
jalcine has quit [Quit: Goodbye]
ta has quit [Ping timeout: 276 seconds]
ARCADIVS has joined #ruby
Spami has joined #ruby
<weaksauce> something like "the the".sub("the", "foo", 4) #"the foo"
<weaksauce> instead of "the the".sub("the", "foo") #"foo the"
ych4k3r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta has joined #ruby
LudicrousMango has quit [Ping timeout: 246 seconds]
it0a has quit [Ping timeout: 264 seconds]
Aova has quit [Read error: Connection reset by peer]
Megtastique has quit []
dfinninger has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
<havenwood> >> s = "the the"; s[4..-1] = 'foo'; s
<eval-in__> havenwood => "the foo" (https://eval.in/273872)
<havenwood> >> s = "the the"; s[4, 3] = 'foo'; s
<eval-in__> havenwood => "the foo" (https://eval.in/273873)
Aova has joined #ruby
<epitron> >> s = "the the"; s.gsub(/[ t]/,'')
<eval-in__> epitron => "hehe" (https://eval.in/273874)
rbennacer has quit [Remote host closed the connection]
dfinninger has quit [Ping timeout: 264 seconds]
ta has quit [Ping timeout: 276 seconds]
aemeredith has quit [Remote host closed the connection]
Akuma has quit [Quit: So long sukkas!]
aemeredith has joined #ruby
chipotle has joined #ruby
dspangenberg has quit [Ping timeout: 264 seconds]
mrmargolis has quit [Remote host closed the connection]
braincrash has joined #ruby
jimg has quit []
aemeredith has quit [Ping timeout: 276 seconds]
Megtastique has joined #ruby
Megtastique has quit [Client Quit]
Ankhers`` has joined #ruby
braincras has quit [Ping timeout: 265 seconds]
Pupeno_ has quit [Ping timeout: 245 seconds]
Pupeno has joined #ruby
sivam has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlexRussia has quit [Quit: WeeChat 1.1-dev]
ctrlrsf has joined #ruby
AlexRussia has joined #ruby
BurningChrome_ has quit [Ping timeout: 264 seconds]
Pupeno has quit [Remote host closed the connection]
snath has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
rbennacer has joined #ruby
Ankhers`` has quit [Ping timeout: 250 seconds]
radic has quit [Ping timeout: 245 seconds]
tunaCanBruh has joined #ruby
snath has joined #ruby
Cat_1 has joined #ruby
radic has joined #ruby
magic__ has joined #ruby
Cache_Money has joined #ruby
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
tunaCanBruh has quit [Ping timeout: 265 seconds]
luriv_ has quit [Ping timeout: 265 seconds]
jetblack has joined #ruby
chuck__ has joined #ruby
ta has joined #ruby
andhof-mt has joined #ruby
<andhof-mt> hey
<andhof-mt> how can I refactor:
<andhof-mt> <% for rival in @rivals %>
<andhof-mt> to only show the first 4 rival objects
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sid05 has joined #ruby
<andhof-mt> in java it would be for (int i=0; i <4; i++)...
rbennacer has quit [Remote host closed the connection]
<gr33n7007h> andhof-mt, @rivals.first(4).each do ...
hgl has quit [Max SendQ exceeded]
Sid05 has quit [Client Quit]
FooMunki_ has quit [Quit: FooMunki_]
hgl has joined #ruby
ta has quit [Ping timeout: 272 seconds]
maximski has quit []
vaneda has quit [Quit: Computer has gone to sleep.]
josephndenton has joined #ruby
kobain has quit [Ping timeout: 240 seconds]
tyfighter has quit [Quit: tyfighter]
jerematic has quit [Remote host closed the connection]
juanpablo___ has joined #ruby
Sid05 has joined #ruby
adriancb has quit [Remote host closed the connection]
deol has joined #ruby
Pupeno has joined #ruby
Pharaoh2 has joined #ruby
aemeredith has joined #ruby
josephndenton has quit [Ping timeout: 240 seconds]
pabloh has joined #ruby
jonr22 has quit [Remote host closed the connection]
juanpablo___ has quit [Ping timeout: 276 seconds]
towski_ has joined #ruby
tiwillia has quit [Ping timeout: 265 seconds]
<pabloh> hey, someone here got a good understanding of refinements?
totimkopf has joined #ruby
<epitron> not sure.. what did you wanna know?
<epitron> does it have to do with super? :D
<pabloh> heh, no really
tiwillia has joined #ruby
DukeJames has quit [Remote host closed the connection]
<epitron> seriously, ask what you wanna know about!
<pabloh> where is the 'using' method defined for the top level object, and where is it for Module/Class?
BlakeRG has quit [Ping timeout: 255 seconds]
aemeredith has quit [Ping timeout: 276 seconds]
<pabloh> I tried redefining it for Module#using, but the top level version keep been the same...
<pabloh> kept*
tjohnson has quit [Quit: Connection closed for inactivity]
<epitron> nope, can't help ya. hopefully someone else can :)
yfeldblum has joined #ruby
<pabloh> heh, is alright, they definitely work different but can't tell why...
Azure has quit [Quit: My MBP went to sleep.]
towski_ has quit [Ping timeout: 265 seconds]
slyv has joined #ruby
einarj has joined #ruby
yfeldblu_ has joined #ruby
zachrab has joined #ruby
braincrash has quit [Quit: bye bye]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure has joined #ruby
ForkingPaths has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> pabloh: See this report for a proposed solution: https://bugs.ruby-lang.org/issues/9580
yfeldblum has quit [Ping timeout: 255 seconds]
<havenwood> pabloh: I miss the top level refinements from 2.0. If not something implicit at top level it'd be nice to be able to explicitly enable them.
Pharaoh2 has joined #ruby
einarj has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
<havenwood> It'd make examples easier to show. It's handy for spiking out ideas. It's consistent with others of its ilk being usable from top level.
zachrab has quit [Ping timeout: 255 seconds]
lampd1_ has joined #ruby
kobain has joined #ruby
arescorpio has quit [Excess Flood]
lampd1 has quit [Ping timeout: 265 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
BlakeRG has joined #ruby
<pabloh> havenwood, sry that's an irb specific issue?
Spami has joined #ruby
<havenwood> pabloh: yup
rbennacer has joined #ruby
<havenwood> pabloh: try it in a file
oo_ has joined #ruby
Sid05 has quit [Quit: Sid05]
__chris has quit [Ping timeout: 240 seconds]
wind has joined #ruby
ekem_`d`_meke is now known as ekem
fabrice31 has joined #ruby
ta has joined #ruby
Aova has quit [Read error: Connection reset by peer]
swgillespie has joined #ruby
aemeredith has joined #ruby
<totimkopf> yay for symbol gc
<pabloh> havenwood, I got the same behavior on a file, if I redefine Module#using, the top level one don't change and also keeps working fine
aemeredith has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
aemeredith has joined #ruby
<pabloh> havenwood, anyhow, what I was trying to do was to refine an anonymous class specifically the singleton class from the top level object
<pabloh> the reason it wans't working was due the problem with IRB you pointed out though :)
swgillespie has quit [Client Quit]
fabrice31 has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 272 seconds]
<pabloh> wasn't*
Aova has joined #ruby
ponga has quit [Remote host closed the connection]
dfinninger has quit [Ping timeout: 255 seconds]
aemeredith has quit [Ping timeout: 244 seconds]
ta has joined #ruby
kenneth has joined #ruby
red_horned_rihno has quit [Read error: Connection reset by peer]
red_horned_rihno has joined #ruby
rbennacer has quit [Remote host closed the connection]
fenzil has joined #ruby
ta has quit [Ping timeout: 276 seconds]
chrishou_ has quit [Quit: Textual IRC Client: www.textualapp.com]
nanoyak has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
slyv has quit [Remote host closed the connection]
sent1nel_ has quit [Remote host closed the connection]
ta has joined #ruby
slyv has joined #ruby
ponga has joined #ruby
sent1nel_ has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
shredding has joined #ruby
zwer_z has joined #ruby
ta has quit [Ping timeout: 272 seconds]
ponga has quit [Ping timeout: 240 seconds]
goodenough has quit [Remote host closed the connection]
zwer has quit [Ping timeout: 250 seconds]
caveat- has joined #ruby
wind has quit [Ping timeout: 256 seconds]
cavity has quit [Quit: ZNC - http://znc.in]
jtdowney has joined #ruby
ta has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
astrobunny has quit [Remote host closed the connection]
whomp has quit [Ping timeout: 256 seconds]
zapho53 has quit [Quit: BitchX: strong enough for a man, pH-balanced for a woman]
jasonmit has joined #ruby
adriancb has joined #ruby
ta has quit [Ping timeout: 265 seconds]
adamjleonard has quit [Quit: Leaving...]
thatslifeson has quit [Ping timeout: 245 seconds]
josephndenton has joined #ruby
jerematic has joined #ruby
dspangenberg has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
work_op has joined #ruby
<work_op> is there a method like each_slice that doesnt skip elements? like [1,2,3,4].my_slice would be (1,2)(2,3)(3,4)?
<gr33n7007h> each_cons
<havenwood> >> 1.upto(4).each_cons(2).to_a
<eval-in__> havenwood => [[1, 2], [2, 3], [3, 4]] (https://eval.in/273922)
<work_op> ah
adriancb has quit [Ping timeout: 265 seconds]
<work_op> beautiful, thanks
josephndenton has quit [Ping timeout: 244 seconds]
Cache_Money has quit [Quit: Cache_Money]
shredding has quit [Quit: shredding]
jerematic has quit [Ping timeout: 245 seconds]
MasterPiece has joined #ruby
<weaksauce> havenwood thanks but that's not really what I was after
psy_ has quit [Read error: Connection reset by peer]
dspangenberg has quit [Ping timeout: 256 seconds]
<havenwood> weaksauce: ah, like after index x sub y?
<weaksauce> yep
caveat- has quit [Ping timeout: 245 seconds]
theOak has joined #ruby
goodenough has joined #ruby
tiwillia has quit [Ping timeout: 272 seconds]
theOak has quit [Quit: Nettalk6 - www.ntalk.de]
<havenwood> >> str = 'the the'; sub = 'foo'; str[str.index('the', 4), sub.size] = sub; str
<eval-in__> havenwood => "the foo" (https://eval.in/273938)
pdoherty has joined #ruby
Hijiri has quit [Ping timeout: 265 seconds]
<havenwood> weaksauce: like that ^, but looking for prettier?
tiwillia has joined #ruby
Hijiri has joined #ruby
coderhs has joined #ruby
gawd has quit [Quit: Leaving]
slyv has quit [Quit: My Computer has gone to sleep. ZZZzzz…]
caveat- has joined #ruby
coderhs has quit [Client Quit]
<weaksauce> something less perlesque
pdoherty has quit [Ping timeout: 255 seconds]
maletor has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
<weaksauce> this is actually surprising that it's not a general function as ruby normally has exactly the method you need
jtdowney has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> weaksauce: i think just find the index range of what you're substituting in a separate step, then do the swap
Pupeno_ has joined #ruby
oo_ has quit [Remote host closed the connection]
<havenwood> weaksauce: individually it's not so bad: str.index 'the', 4
<weaksauce> yeah I guess that'll have to do
<weaksauce> can you find the end of a regex match with something like that?
oo_ has joined #ruby
sevenseacat has joined #ruby
longfeet has quit [Ping timeout: 255 seconds]
Pupeno has quit [Ping timeout: 264 seconds]
<havenwood> >> 'the the'.match /.{4}(the)/
<eval-in__> havenwood => #<MatchData "the the" 1:"the"> (https://eval.in/273940)
slyv has joined #ruby
slyv has quit [Max SendQ exceeded]
<havenwood> oh, that's no good
<havenwood> a positive lookbehind would do, i think
mrmargolis has joined #ruby
<havenwood> >> 'the the' =~ /(?<=.{4})(the)/
<eval-in__> havenwood => 4 (https://eval.in/273950)
arup_r has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
<havenwood> weaksauce: ^
<weaksauce> ah thanks
goshdarnyou has joined #ruby
<havenwood> weaksauce: np
danzilio has joined #ruby
danzilio has quit [Max SendQ exceeded]
<havenwood> >> 'the the'.sub /(?<=.{4})(the)/, 'foo'
<eval-in__> havenwood => "the foo" (https://eval.in/273951)
zzzbra has joined #ruby
<weaksauce> this is surprisingly clunky for ruby
Aova has quit [Read error: Connection reset by peer]
<havenwood> weaksauce: subbing after an index doesn't come up much i suppose
aemeredith has joined #ruby
<havenwood> and if it does, there're a few ways to dispose of the problem in a couple lines
<havenwood> if it was more common there'd probably be sugar
<weaksauce> I guess but neither does a lot of the methods that I see in the smorgasbord of methods that ruby normally has for a given concept
LudicrousMango has joined #ruby
zachrab has joined #ruby
<havenwood> weaksauce: hem, perhaps figure out a nice way to specify a search index range for sub and propose it: https://bugs.ruby-lang.org/projects/ruby-trunk/issues
mrmargolis has quit [Ping timeout: 245 seconds]
<havenwood> weaksauce: maybe since #sub is regexp already a positive lookbehind is just the way to go
dfinninger has joined #ruby
Ankhers`` has joined #ruby
<havenwood> weaksauce: i guess you could break your string apart into pieces then sub the latter piece and rejoin.
Aova has joined #ruby
<weaksauce> good ideas. I will ruminate on them later and come to terms with rubies failings....
<havenwood> weaksauce: but i think #index as a first step or positive lookbehind is probably the way to go
psy_ has joined #ruby
<havenwood> i can't think of an elegant way to extend #sub/#gsub to support the after index x usecase that makes sense
tus has quit []
aemeredith has quit [Ping timeout: 264 seconds]
psy_ has quit [Max SendQ exceeded]
<havenwood> weaksauce: you should implement it the way you think makes sense
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> weaksauce: then propose it if you like it
dfinninger has quit [Ping timeout: 240 seconds]
zachrab has quit [Ping timeout: 264 seconds]
psy_ has joined #ruby
Ankhers`` has quit [Ping timeout: 250 seconds]
<havenwood> a pretty decent percent of proposals are accepted
<weaksauce> oh yeah?
caveat- has joined #ruby
tunaCanBruh has joined #ruby
<weaksauce> I am not super serious really... i am doing some parsing with regexes and instead of doing it properly by tokenizing and parsing against a grammar I am using the regex method...
<havenwood> some are good ideas and haven't percolated to the top yet, but yeah, I think a good idea has a good shot
<weaksauce> It is in other languages though
<havenwood> some are quite resistant to outside ideas
rbennacer has joined #ruby
<havenwood> others not so much :)
vaneda has joined #ruby
ohaibbq has joined #ruby
<havenwood> weaksauce: you can get something of a feel for it looking through the features that are accepted, rejected and pending: https://bugs.ruby-lang.org/projects/ruby-trunk/issues
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> weaksauce: and in cases like this you can extend core classes how you please whether they decide to add it to the language or not, that's a perk
<weaksauce> that's one of the nice things about ruby eh?
tunaCanBruh has quit [Ping timeout: 246 seconds]
<havenwood> weaksauce: indeed!
<weaksauce> the packaging ecosystem swayed me from python but the power in the metaprogramming kept me
rbennacer has quit [Ping timeout: 265 seconds]
Cache_Money has joined #ruby
<arup_r> Anybody worked on OpenOffice word doc parsing using Ruby ?
<weaksauce> excel yeah
MasterPiece has quit [Quit: Leaving]
wind has joined #ruby
<weaksauce> arup_r look into the rubyXL gem
<weaksauce> er. wow.
<arup_r> weaksauce: No.. I want to work with openoffice worddoc
<weaksauce> yeah I probably need to go to sleep now
<arup_r> ok
astrobunny has joined #ruby
aemeredith has joined #ruby
ponga has joined #ruby
aemeredith has quit [Read error: Connection reset by peer]
aemeredith has joined #ruby
juanpablo___ has joined #ruby
agrinb has quit [Remote host closed the connection]
vaneda has quit [Quit: Computer has gone to sleep.]
agrinb has joined #ruby
ponga has quit [Ping timeout: 255 seconds]
rbennacer has joined #ruby
aemeredith has quit [Ping timeout: 265 seconds]
klmlfl has joined #ruby
juanpablo___ has quit [Ping timeout: 272 seconds]
oo_ has quit [Remote host closed the connection]
klmlfl has quit [Remote host closed the connection]
ta has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
konsolebox has joined #ruby
klmlfl has joined #ruby
zzzbra has quit [Ping timeout: 244 seconds]
oo_ has joined #ruby
agent_white has joined #ruby
<agent_white> Evenin folks
rbennacer has quit [Remote host closed the connection]
ta has quit [Ping timeout: 246 seconds]
OrbitalKitten has joined #ruby
work_op has left #ruby [#ruby]
einarj has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cache_Money has quit [Quit: Cache_Money]
caveat- has quit [Ping timeout: 245 seconds]
The_Phoenix has joined #ruby
ponga has joined #ruby
oo_ has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 246 seconds]
caveat- has joined #ruby
Pharaoh2 has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
M-Technic has quit [Quit: leaving]
LudicrousMango has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
oo_ has joined #ruby
timanema has joined #ruby
fabrice31 has joined #ruby
tiwillia has quit [Ping timeout: 240 seconds]
shellfu_watches is now known as shellfu
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tiwillia has joined #ruby
oo_ has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 240 seconds]
agjacome has quit [Quit: leaving]
<chipotle> hello
oo_ has joined #ruby
<timanema> hello
aemeredith has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
aemeredith has quit [Read error: Connection reset by peer]
aemeredith has joined #ruby
Aova has quit [Read error: Connection reset by peer]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aemeredith has quit [Read error: Connection reset by peer]
caveat- has joined #ruby
oo_ has quit [Remote host closed the connection]
MasterPiece has joined #ruby
lioninawhat has joined #ruby
oo_ has joined #ruby
aemeredith has joined #ruby
dfinninger has joined #ruby
Ankhers`` has joined #ruby
Aova has joined #ruby
MasterPiece has quit [Remote host closed the connection]
pardusf has quit []
aemeredith has quit [Ping timeout: 264 seconds]
oo_ has quit [Remote host closed the connection]
parduse has joined #ruby
dfinninger has quit [Ping timeout: 276 seconds]
klmlfl has quit [Remote host closed the connection]
Ankhers`` has quit [Ping timeout: 250 seconds]
parduse has quit [Client Quit]
Kn|t3 has quit [Ping timeout: 245 seconds]
jalcine has joined #ruby
fenzil has quit [Ping timeout: 256 seconds]
tyfighter has joined #ruby
Kn|t3 has joined #ruby
dc_ has quit [Remote host closed the connection]
parduse has joined #ruby
james__ has joined #ruby
james__ is now known as dukejames
<totimkopf> sir dukejames
Spami has quit [Read error: Connection reset by peer]
lampd1_ has quit [Remote host closed the connection]
Spami has joined #ruby
<dukejames> Hello
<dukejames> :)
mitchellhenke has joined #ruby
timanema has quit [Ping timeout: 245 seconds]
pabloh has quit [Quit: Saliendo]
josephndenton has joined #ruby
hvxgr has quit [Ping timeout: 245 seconds]
tyfighter has quit [Ping timeout: 256 seconds]
jerematic has joined #ruby
dspangenberg has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
ponga has quit [Remote host closed the connection]
jerematic has quit [Ping timeout: 264 seconds]
M-Technic has joined #ruby
oo_ has joined #ruby
tyfighter has joined #ruby
Pharaoh2_ has joined #ruby
razieliyo has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
dspangenberg has quit [Ping timeout: 245 seconds]
aswen has joined #ruby
patrick99e99 has quit [Ping timeout: 264 seconds]
patrick99e99 has joined #ruby
oo_ has quit [Remote host closed the connection]
Pharaoh2 has quit [Ping timeout: 246 seconds]
rbennacer has quit [Ping timeout: 240 seconds]
tkuchiki has joined #ruby
li0ninawhat has joined #ruby
oo_ has joined #ruby
sent1nel_ has quit [Remote host closed the connection]
aswen has quit [Ping timeout: 245 seconds]
32NAA62KE has quit [Changing host]
32NAA62KE has joined #ruby
32NAA62KE is now known as Cork
oo_ has quit [Remote host closed the connection]
Ankhers`` has joined #ruby
lioninawhat has quit [Ping timeout: 272 seconds]
agent_white has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
ponga has joined #ruby
pdoherty has joined #ruby
Ankhers`` has quit [Ping timeout: 250 seconds]
yfeldblu_ has quit [Ping timeout: 255 seconds]
LudicrousMango has joined #ruby
Sawbones_ has joined #ruby
jgt has joined #ruby
agrinb has joined #ruby
zachrab has joined #ruby
mleung has joined #ruby
pdoherty has quit [Ping timeout: 265 seconds]
wldcordeiro has joined #ruby
ta has joined #ruby
atomi has joined #ruby
grzesieq has joined #ruby
tiwillia has quit [Ping timeout: 276 seconds]
hvxgr has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
mices has joined #ruby
agrinb has quit [Ping timeout: 272 seconds]
tiwillia has joined #ruby
<mices> what's the rails channel?
<mices> is this it?
zachrab has quit [Ping timeout: 264 seconds]
ta has quit [Ping timeout: 272 seconds]
mices has left #ruby [#ruby]
jetblack has quit [Ping timeout: 256 seconds]
tunaCanBruh has joined #ruby
vaneda has joined #ruby
thumpba has joined #ruby
Aova has quit [Read error: Connection reset by peer]
aemeredith has joined #ruby
coreycondardo has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 244 seconds]
goodenough has quit [Remote host closed the connection]
dfinninger has joined #ruby
aemeredith has quit [Ping timeout: 256 seconds]
Aova has joined #ruby
josephndenton has joined #ruby
godd2 has joined #ruby
jgt has quit [Ping timeout: 264 seconds]
tyfighter has quit [Quit: tyfighter]
ta has joined #ruby
wittyfox has joined #ruby
dfinninger has quit [Ping timeout: 272 seconds]
astrobunny has quit [Remote host closed the connection]
agent_white has joined #ruby
thumpba has quit [Remote host closed the connection]
mistermocha has joined #ruby
juanpablo___ has joined #ruby
josephndenton has quit [Ping timeout: 276 seconds]
vaneda has quit [Quit: Computer has gone to sleep.]
Sawbones_ has quit [Remote host closed the connection]
Cadillactica has joined #ruby
Cadillactica has left #ruby [#ruby]
Cadillactica has joined #ruby
lemur has joined #ruby
Cache_Money has joined #ruby
tyfighter has joined #ruby
tmk1108 has quit [Quit: Textual IRC Client: www.textualapp.com]
juanpablo___ has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 255 seconds]
kotk has joined #ruby
tacotaco_ has quit [Quit: leaving]
mistermocha has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
keen__________51 has joined #ruby
ponga has quit [Remote host closed the connection]
keen__________50 has quit [Ping timeout: 265 seconds]
jetblack has joined #ruby
einarj has joined #ruby
grzesieq has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 264 seconds]
objectarray has joined #ruby
andhof-mt has quit [Quit: Leaving]
gfawcettpq has joined #ruby
Channel6 has joined #ruby
jetblack has quit [Ping timeout: 265 seconds]
parduse has quit []
AlexRussia has quit [Ping timeout: 245 seconds]
parduse has joined #ruby
hgl has quit [Ping timeout: 272 seconds]
hgl has joined #ruby
fabrice31 has joined #ruby
tyfighter has quit [Quit: tyfighter]
totimkopf has quit [Remote host closed the connection]
nobitanobi has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
dfinninger has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
AlexRussia has joined #ruby
ta has joined #ruby
mistermocha has joined #ruby
goodenough has joined #ruby
agrinb has joined #ruby
towski_ has joined #ruby
tkuchiki has quit [Ping timeout: 265 seconds]
towski_ has quit [Remote host closed the connection]
dfinninger has quit [Ping timeout: 244 seconds]
x1337807x has joined #ruby
rippa has joined #ruby
astrobunny has joined #ruby
nobitanobi has quit [Remote host closed the connection]
ta has quit [Ping timeout: 272 seconds]
agrinb has quit [Ping timeout: 265 seconds]
astrobunny has quit [Remote host closed the connection]
tokik has joined #ruby
roshanavand has joined #ruby
mynameis has joined #ruby
kenneth has joined #ruby
shellfu is now known as shellfu_afk
c_nick has joined #ruby
scripore has joined #ruby
<c_nick> if i require rubygems and sinatra in class1.rb, require class1 in main.rb and ruby main.rb why wont it start Sinatra
<scripore> can someone explain why I'm getting this output?
ta has joined #ruby
Stoge88 has joined #ruby
<havenwood> scripore: try starting out with: organize = Hash.new { |hash, key| hash[key] = [] }
<havenwood> scripore: that way each new Hash key is a fresh Array
echevemaster has quit [Remote host closed the connection]
lidaaa has quit [Ping timeout: 244 seconds]
mleung has quit [Quit: mleung]
Channel6 has quit [Quit: Leaving]
<scripore> oh, thanks, it's working now
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tiwillia has quit [Ping timeout: 245 seconds]
<scripore> what exactly was going on before though?
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
<scripore> I thought with -> organize = Hash.new([]) every new key instantiated received an empty array as the default value
<havenwood> >> h = Hash.new([]); [h[:one_key].object_id, h[:another_key].object_id]
<eval-in__> havenwood => [551589810, 551589810] (https://eval.in/274069)
Lucky___ has joined #ruby
mistermocha has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
tiwillia has joined #ruby
amclain has quit [Quit: Leaving]
aemeredith has joined #ruby
<havenwood> scripore: See how it's the same Array for both keys? ^
<havenwood> >> h = Hash.new { |hash, k| hash[k] = [] }; [h[:one_key].object_id, h[:another_key].object_id]
<eval-in__> havenwood => [553885550, 553885530] (https://eval.in/274070)
godd2 has quit [Ping timeout: 244 seconds]
<scripore> ah, yes
<havenwood> scripore: But here each key is its own Array. ^
ta has quit [Ping timeout: 272 seconds]
ykzrtj has joined #ruby
jusmyth has joined #ruby
elaptics`away is now known as elaptics
aemeredith has quit [Ping timeout: 245 seconds]
agent_white has quit [Ping timeout: 255 seconds]
MasterPiece has joined #ruby
Aova has joined #ruby
tokik has quit [Ping timeout: 240 seconds]
Sawbones_ has joined #ruby
astrobunny has joined #ruby
tkuchiki has joined #ruby
<scripore> why does the object id change when it's -> organize = Hash.new(0) and you're increasing different keys by += 1
vozcelik has joined #ruby
vozcelik has quit [Remote host closed the connection]
aapole has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
jgt has joined #ruby
LouisRoR has joined #ruby
rollbrettler has joined #ruby
rollbrettler has left #ruby [#ruby]
<scripore> I've updated the gist, the object id for the values in the numbers_all hash is different
mistermocha has joined #ruby
<scripore> while for the hash for the [] passed as the default value the object ids are still the same
jerematic has joined #ruby
lolmaus has joined #ruby
lemur has quit [Remote host closed the connection]
Nathandim has joined #ruby
Hobogrammer_ has joined #ruby
ItSANgo_ has joined #ruby
rodasc has joined #ruby
jgt1 has joined #ruby
kyb3r_ has quit [Ping timeout: 244 seconds]
FDj_ has joined #ruby
PaulCape_ has joined #ruby
vozcelik has joined #ruby
SixiS_ has joined #ruby
jerematic has quit [Ping timeout: 255 seconds]
kenneth_ has joined #ruby
BurningChrome_ has joined #ruby
kyb3r_ has joined #ruby
jeroenvisser101 has joined #ruby
suy has joined #ruby
_jasonmit has joined #ruby
TheSojourner has joined #ruby
vozcelik has quit [Client Quit]
riotjones has joined #ruby
crome_ has joined #ruby
dspangenberg has joined #ruby
Edes_ has joined #ruby
bradland_ has joined #ruby
hiyosi_ has joined #ruby
flipdip has joined #ruby
jaredrhine_ has joined #ruby
ponga has joined #ruby
rikai_ has joined #ruby
jcp has joined #ruby
wjimenez5271_ has joined #ruby
kevr_ has joined #ruby
ByronJoh1son has joined #ruby
jcdesimp_ has joined #ruby
_br_- has joined #ruby
uxp has joined #ruby
demophoo1 has joined #ruby
smooth_penguin has joined #ruby
bennyklotz has joined #ruby
Gate_ has joined #ruby
AlexRussia_ has joined #ruby
ozzloy_ has joined #ruby
eythoriu1 has joined #ruby
lampd1 has joined #ruby
lynxman_ has joined #ruby
<havenwood> >> 2.object_id
<eval-in__> havenwood => 5 (https://eval.in/274079)
<havenwood> >> 1.object_id
<eval-in__> havenwood => 3 (https://eval.in/274080)
Armand has joined #ruby
Armand is now known as Guest56910
dspangenberg has quit [Ping timeout: 264 seconds]
wind has quit [Quit: exit error code 434]
yokel_ has joined #ruby
tenseiten has joined #ruby
tenseiten has quit [Changing host]
tenseiten has joined #ruby
klaas_ has joined #ruby
<havenwood> scripore: Like `nil` or `false` or `true`, a Fixnum has a set object_id, there's not more than one of them.
red_horned_rihno has quit [Quit: Leaving]
gf3_ has joined #ruby
<havenwood> scripore: There's only one 5, etc.
mbwe2 has joined #ruby
Scientz has joined #ruby
mburns_ has joined #ruby
<havenwood> Which in the latest version of Ruby has an object_id of 11, but that's an implementation detail.
<havenwood> >> 5.object_id
<eval-in__> havenwood => 11 (https://eval.in/274081)
ta has joined #ruby
ninjazach has joined #ruby
ykzrtj has left #ruby ["Leaving"]
li0ninawhat has quit [Remote host closed the connection]
ninjazach is now known as Guest27010
lampd1 has quit [Ping timeout: 244 seconds]
rvchangu- has joined #ruby
adam- has joined #ruby
<scripore> oh
orionstein_ has joined #ruby
jgt has quit [*.net *.split]
tiwillia has quit [*.net *.split]
caveat- has quit [*.net *.split]
jkyle has quit [*.net *.split]
gomix has quit [*.net *.split]
Guest75921 has quit [*.net *.split]
ItSANg___ has quit [*.net *.split]
crodas has quit [*.net *.split]
gf3 has quit [*.net *.split]
Guest24051 has quit [*.net *.split]
riotjone_ has quit [*.net *.split]
Gate has quit [*.net *.split]
xybre has quit [*.net *.split]
Hobogrammer has quit [*.net *.split]
PaulCapestany has quit [*.net *.split]
mburns has quit [*.net *.split]
Edes has quit [*.net *.split]
rikai has quit [*.net *.split]
bakis has quit [*.net *.split]
hightower4 has quit [*.net *.split]
moshee has quit [*.net *.split]
Scient has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
king313 has quit [*.net *.split]
kevr has quit [*.net *.split]
thomas has quit [*.net *.split]
wjimenez5271 has quit [*.net *.split]
rvchangue has quit [*.net *.split]
ozzloy has quit [*.net *.split]
klaas has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
smooth_p1nguin has quit [*.net *.split]
mjulian has quit [*.net *.split]
FDj has quit [*.net *.split]
crome has quit [*.net *.split]
DylanJ has quit [*.net *.split]
Liothen has quit [*.net *.split]
lolmaus has quit [*.net *.split]
Stoge88 has quit [*.net *.split]
kenneth has quit [*.net *.split]
mynameis has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
psy_ has quit [*.net *.split]
chuck__ has quit [*.net *.split]
hiyosi has quit [*.net *.split]
helpa has quit [*.net *.split]
webguynow has quit [*.net *.split]
uxp_ has quit [*.net *.split]
bennyklo1z has quit [*.net *.split]
klap_ has quit [*.net *.split]
peterhu_ has quit [*.net *.split]
jxport_ has quit [*.net *.split]
mbwe1 has quit [*.net *.split]
javawizard has quit [*.net *.split]
suy_ has quit [*.net *.split]
leafybas_ has quit [*.net *.split]
jcdesimp has quit [*.net *.split]
yokel has quit [*.net *.split]
bradland has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
jasonmit has quit [*.net *.split]
mgorbach has quit [*.net *.split]
shevy has quit [*.net *.split]
Kovensky has quit [*.net *.split]
orionstein has quit [*.net *.split]
oddraisin has quit [*.net *.split]
aboudreault has quit [*.net *.split]
lynxman has quit [*.net *.split]
eythorium has quit [*.net *.split]
SixiS has quit [*.net *.split]
adeponte has quit [*.net *.split]
_br_ has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
quarcu has quit [*.net *.split]
demophoon has quit [*.net *.split]
crazysim has quit [*.net *.split]
seitensei has quit [*.net *.split]
MrSparkle has quit [*.net *.split]
Scientz is now known as Scient
gf3_ is now known as gf3
SixiS_ is now known as SixiS
yokel_ is now known as yokel
lynxman_ is now known as lynxman
adam- is now known as adam
crazysim_ has joined #ruby
orionstein_ is now known as orionstein
cyphactor has joined #ruby
helpa has joined #ruby
jetblack has joined #ruby
<scripore> okay, thanks. I'm gonna try playing around with it a little.
oddraisin has joined #ruby
adam is now known as Guest51733
webguynow has joined #ruby
crazysim_ is now known as crazysim
leafybasil has joined #ruby
mgorbach has joined #ruby
ohaibbq has quit [Quit: Leaving...]
chuck has joined #ruby
chuck has quit [Changing host]
chuck has joined #ruby
shevy has joined #ruby
peterhu has joined #ruby
<arup_r> Dir.glob("some/path/**/*") will find file recursively.. But Dir.glob("some/path/**/*") will do what ?
<arup_r> sorry
<arup_r> Dir.glob("some/path/**/**")
<arup_r> ?
tiwillia has joined #ruby
objectarray has left #ruby ["Leaving"]
Kovensky has joined #ruby
<havenwood> >> ObjectSpace._id2ref(11)
<eval-in__> havenwood => 5 (https://eval.in/274091)
mynameis has joined #ruby
psy_ has joined #ruby
<havenwood> scripore: Just for fun, you can lookup the object by its id. ^
_5kg has quit [Ping timeout: 265 seconds]
ta has quit [Ping timeout: 276 seconds]
thomas has joined #ruby
caveat- has joined #ruby
Liothen has joined #ruby
xybre has joined #ruby
aswen has joined #ruby
Liothen has quit [Max SendQ exceeded]
aswen has quit [Max SendQ exceeded]
caveat- has quit [Max SendQ exceeded]
<arup_r> any help to me ?
aboudreault has joined #ruby
jxport has joined #ruby
klap has joined #ruby
quarcu has joined #ruby
lolmaus has joined #ruby
gomix has joined #ruby
<scripore> oh cool, I didn't know that. thanks!
jxport has quit [Max SendQ exceeded]
aboudreault has quit [Changing host]
aboudreault has joined #ruby
Ankhers`` has joined #ruby
bakis has joined #ruby
<sevenseacat> arup_r: try it and see?
hightower4 has joined #ruby
jetblack has quit [Ping timeout: 264 seconds]
DylanJ has joined #ruby
king313 has joined #ruby
jxport has joined #ruby
avelldiroll has joined #ruby
jkyle has joined #ruby
caveat- has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
Liothen has joined #ruby
mityaz has joined #ruby
bMalum has joined #ruby
leafybasil has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
ta has joined #ruby
helpa has quit [Remote host closed the connection]
agrinb has joined #ruby
fredsir has quit [Ping timeout: 276 seconds]
marcdel has quit [Ping timeout: 276 seconds]
shelling__ has quit [Ping timeout: 276 seconds]
jblancett has quit [Ping timeout: 276 seconds]
zalmoxes has quit [Ping timeout: 276 seconds]
magic__ has quit [Quit: Leaving]
swartwulf has quit [Ping timeout: 276 seconds]
Gnubie_ has quit [Ping timeout: 277 seconds]
FrankenDaemon has quit [Ping timeout: 277 seconds]
haroldwu has quit [Ping timeout: 276 seconds]
ozzloy_ has quit [Remote host closed the connection]
jpinnix______ has quit [Ping timeout: 276 seconds]
camilasan has quit [Ping timeout: 276 seconds]
Takle has joined #ruby
helpa has joined #ruby
einarj has joined #ruby
agrinb_ has joined #ruby
ZucchiniZe has quit [Ping timeout: 276 seconds]
cnj has quit [Ping timeout: 276 seconds]
zachrab has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
LouisRoR has quit [Ping timeout: 255 seconds]
fredsir_ has joined #ruby
spyderma_ has quit [Read error: Connection reset by peer]
apeiros_ has quit [Remote host closed the connection]
zalmoxes has joined #ruby
apeiros_ has joined #ruby
marcdel has joined #ruby
dfinninger has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
<havenwood> >> File.fnmatch '**/**', '**/*'
<eval-in__> havenwood => true (https://eval.in/274110)
haroldwu has joined #ruby
mistermocha has quit [Remote host closed the connection]
agrinb_ has quit [Ping timeout: 244 seconds]
zachrab has quit [Ping timeout: 246 seconds]
ozzloy has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
jblancett has joined #ruby
shelling__ has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
<havenwood> :P
FrankenDaemon has joined #ruby
Miron has quit [Ping timeout: 275 seconds]
adambeynon has quit [Ping timeout: 275 seconds]
Livadi has quit [Ping timeout: 275 seconds]
sheepman has quit [Ping timeout: 275 seconds]
Gnubie_ has joined #ruby
swartwulf has joined #ruby
adambeynon has joined #ruby
jpinnix______ has joined #ruby
tunaCanBruh has joined #ruby
sudog has quit [Remote host closed the connection]
Miron has joined #ruby
<havenwood> arup_r: using "**/*" makes sense, to look in directories recursively for any file
sudog has joined #ruby
pdoherty has joined #ruby
dfinninger has quit [Ping timeout: 244 seconds]
sheepman has joined #ruby
ZucchiniZe has joined #ruby
Livadi has joined #ruby
cnj has joined #ruby
<havenwood> arup_r: looking in directories recursively for directories recursively for directories recursively is, is, is, ga, got stuck
<arup_r> That I know.. But the other one I don't know..still working
_honning__ has joined #ruby
<havenwood> arup_r: Do you expect it to have a purpose?
jimbauds has left #ruby [#ruby]
hgl has quit [Ping timeout: 256 seconds]
shellfu_afk has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 255 seconds]
ta has quit [Ping timeout: 276 seconds]
bMalum has quit [Quit: bMalum]
tvw has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
kenneth_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ev____ has joined #ruby
<ferr> I use 'net/dns' and the issue I experience is that if dns does not response it breaks my script with this error Net::DNS::Resolver::NoResponseError: No response from nameservers list
<havenwood> arup_r: Maybe just think of it as a fallback to a *, I don't think there's anything useful with your second example.
<ferr> How would I make just a plain error message or something to keep script executing except of breaking
bMalum has joined #ruby
<havenwood> ferr: rescue Net::DNS::Resolver::NoResponseError
<apeiros_> ferr: you wrap it in begin; …code…; rescue Net::DNS::Resolver::NoResponseError; …do something when an error occurs…; end
hgl has joined #ruby
pontiki has quit [Quit: good night all]
abuzze has joined #ruby
bMalum has quit [Ping timeout: 246 seconds]
zewelor has joined #ruby
camilasan has joined #ruby
Aova has quit [Read error: Connection reset by peer]
aemeredith has joined #ruby
aswen has joined #ruby
juanpablo___ has joined #ruby
tiwillia has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
Deele has joined #ruby
Xeago has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tiwillia has joined #ruby
mityaz has quit [Quit: See ya!]
thomas has quit [Quit: leaving]
Aova has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
thomas has joined #ruby
aemeredith has quit [Ping timeout: 264 seconds]
thomas has quit [Client Quit]
c_nick has quit [Read error: Connection reset by peer]
agit0 has joined #ruby
Ankhers`` has quit [Ping timeout: 250 seconds]
abuzze has quit [Remote host closed the connection]
juanpablo___ has quit [Ping timeout: 264 seconds]
aswen has quit [Ping timeout: 245 seconds]
hgl has quit [Ping timeout: 244 seconds]
agit0 has quit [Client Quit]
hiyosi_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mynameis has quit [Ping timeout: 265 seconds]
mijicd has joined #ruby
kalusn has joined #ruby
agit0 has joined #ruby
klmlfl has joined #ruby
agit0 has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
kyb3r_ has quit [Read error: Connection reset by peer]
_5kg has joined #ruby
ta has joined #ruby
klmlfl has quit [Ping timeout: 256 seconds]
_1_pchop842 has joined #ruby
deepy has quit [Quit: ZNC - http://znc.in]
_1_pchop842 has left #ruby [#ruby]
marienz has quit [Ping timeout: 606 seconds]
Snowstormer is now known as cats
<ferr> Could I use custom error message instead of Net::DNS::Resolver::NoResponseError?
LudicrousMango has quit [Ping timeout: 264 seconds]
hiyosi has joined #ruby
aapole has quit [Ping timeout: 265 seconds]
anaeem1_ has joined #ruby
naftilos76 has joined #ruby
mynameis has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
<apeiros_> ferr: in the rescue clause, you can do whatever you want
Takle has quit [Remote host closed the connection]
<Xeago> what is the behavior of next in a block?
deepy has joined #ruby
<apeiros_> Xeago: it returns control to the yielding method
<apeiros_> and yield will return the value passed to next
<apeiros_> (or block.call)
<Xeago> ok, thanks!
gfawcettpq has quit [Ping timeout: 246 seconds]
Nathandim has left #ruby ["Leaving"]
havenwood has quit []
lkba_ has joined #ruby
lkba_ has quit [Client Quit]
lkba_ has joined #ruby
caveat- has joined #ruby
AndChat-570836 has joined #ruby
fabrice31 has joined #ruby
lkba has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 252 seconds]
Takle has joined #ruby
<Xeago> I've been asked to review https://github.com/negz/puppet-smartd/commit/e3de06e9fed44b577506e2c19e29dbf86e0da231 and all the `next if` and var = nil, ary#each { …, break } don't really look good to me
<Xeago> would you have suggestions?
bMalum has joined #ruby
<sevenseacat> are you reviewing it, or are we?
jetblack has joined #ruby
<Xeago> sevenseacat: yes
<sevenseacat> it wasnt a yes/no question
max96at|off is now known as max96at
<Xeago> It's the answer you got. :|
<sevenseacat> lol
codecop has joined #ruby
<Xeago> I'm not a good rubyist, neither is the author. Was merely hoping for a friendly chatter about idioms and how to not make it look as it does right now
lkba_ has quit [Ping timeout: 264 seconds]
ev____ has quit [Ping timeout: 264 seconds]
LudicrousMango has joined #ruby
fabrice31 has quit [Ping timeout: 252 seconds]
Cadillactica has quit [Quit: Cadillactica]
lkba has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
lkba has quit [Client Quit]
jetblack has quit [Ping timeout: 244 seconds]
Jackneill has joined #ruby
lkba has joined #ruby
anaeem1_ has joined #ruby
Jackneill has quit [Max SendQ exceeded]
BurningChrome_ has quit [Ping timeout: 256 seconds]
<shevy> did any of you ever wrote old school ascii art, generated through ruby? like ascii boxes and such
agrinb has joined #ruby
AndChat-570836 has quit [Ping timeout: 245 seconds]
guardian has joined #ruby
agit0 has quit [Quit: This computer has gone to sleep]
mijicd has quit [Remote host closed the connection]
anaeem1_ has quit [Ping timeout: 244 seconds]
Joufflu_ has joined #ruby
<shevy> is there a syntax to create a hash, such as %w() for Arrays?
<shevy> I only need simple key->value entries where each key is just one word and each value is just one word
thomas has joined #ruby
<apeiros_> shevy: %w + .to_h
Joufflu__ has joined #ruby
<apeiros_> oh, wait
<shevy> ah I see what you mean, an intermediate step
quimrstorres has joined #ruby
<apeiros_> Hash[%w[…]]
<apeiros_> since to_h expects [[k,v], …]
agrinb has quit [Ping timeout: 245 seconds]
apeiros_ has quit []
apeiros_ has joined #ruby
bMalum has quit [Quit: bMalum]
Joufflu has quit [Ping timeout: 272 seconds]
einarj has joined #ruby
zachrab has joined #ruby
Joufflu_ has quit [Ping timeout: 245 seconds]
quimrstorres has quit [Remote host closed the connection]
sent1nel has joined #ruby
borel has joined #ruby
dfinninger has joined #ruby
banister has joined #ruby
einarj has quit [Ping timeout: 255 seconds]
sent1nel has quit [Ping timeout: 245 seconds]
zachrab has quit [Ping timeout: 256 seconds]
shime has joined #ruby
aces2up has joined #ruby
ta has joined #ruby
<aces2up> i am writing to a file via puts.. but it only actually writes the data seems when i do file.close, is there way to have it write to the file imediately?
jcdesimp_ has quit [Quit: Leaving...]
dfinninger has quit [Ping timeout: 245 seconds]
<apeiros_> aces2up: see IO#sync and IO#flush
<apeiros_> IO#sync= actually.
ziyadb has joined #ruby
ta has quit [Ping timeout: 255 seconds]
Xeago_ has joined #ruby
quimrstorres has joined #ruby
agit0 has joined #ruby
jack_rabbit has quit [Ping timeout: 264 seconds]
<aces2up> apeiros_ nice worked.
<aces2up> thanks.
blackmes1 has joined #ruby
aces2up has left #ruby [#ruby]
sameerynho has joined #ruby
Xeago has quit [Ping timeout: 256 seconds]
astrobunny has quit [Remote host closed the connection]
TinkerTyper has quit [Ping timeout: 272 seconds]
ypasmk has joined #ruby
dotix has joined #ruby
lxsameer has quit [Ping timeout: 255 seconds]
agit0 has quit [Quit: This computer has gone to sleep]
Aova has quit [Read error: Connection reset by peer]
aemeredith has joined #ruby
blackmes1 has quit [Quit: WeeChat 1.1]
aswen has joined #ruby
BurningChrome_ has joined #ruby
TinkerTyper has joined #ruby
jerematic has joined #ruby
_honning__ has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
aemeredith has quit [Ping timeout: 250 seconds]
Aova has joined #ruby
spider-mario has joined #ruby
astrobunny has joined #ruby
tiwillia has quit [Ping timeout: 255 seconds]
jerematic has quit [Ping timeout: 245 seconds]
dspangenberg has joined #ruby
yellowgh0st has joined #ruby
josephndenton has joined #ruby
tiwillia has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
astrobunny has quit [Ping timeout: 246 seconds]
aapole has joined #ruby
yellowgh0st has quit [Client Quit]
dspangenberg has quit [Ping timeout: 245 seconds]
rbennacer has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
agit0 has joined #ruby
MasterPiece has quit [Ping timeout: 246 seconds]
MasterPiece has joined #ruby
rbennacer has quit [Ping timeout: 245 seconds]
fewqs has joined #ruby
govg has joined #ruby
jack_rabbit has joined #ruby
fewqs has quit [Client Quit]
quimrstorres has quit [Remote host closed the connection]
blackmesa has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
ypasmk has quit [Quit: ypasmk]
quimrstorres has joined #ruby
lampd1 has joined #ruby
quimrstorres has quit [Remote host closed the connection]
jetblack has joined #ruby
jusmyth has quit [Quit: Leaving.]
caveat- has joined #ruby
n008f4g_ has joined #ruby
lampd1 has quit [Ping timeout: 255 seconds]
Takle has quit [Read error: Connection reset by peer]
Takle_ has joined #ruby
agit0 has quit [Quit: This computer has gone to sleep]
scripore has quit [Quit: This computer has gone to sleep]
jack_rabbit has quit [Ping timeout: 252 seconds]
agrinb has joined #ruby
ypasmk has joined #ruby
jetblack has quit [Ping timeout: 264 seconds]
aswen has quit [Ping timeout: 245 seconds]
RedDwarf is now known as Zackio
ta has joined #ruby
sigurding has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
Takle_ has quit [Ping timeout: 252 seconds]
duncannz has quit [Ping timeout: 246 seconds]
Takle has joined #ruby
konsolebox has quit [Ping timeout: 264 seconds]
tunaCanBruh has joined #ruby
Spami has joined #ruby
duncannz has joined #ruby
kirun has joined #ruby
ta has quit [Ping timeout: 252 seconds]
plashchynski has joined #ruby
tunaCanBruh has quit [Ping timeout: 245 seconds]
malcolmva has quit [Ping timeout: 264 seconds]
kalusn has quit [Remote host closed the connection]
kalusn has joined #ruby
lkba_ has joined #ruby
kalusn has quit [Read error: No route to host]
kalusn has joined #ruby
jack_rabbit has joined #ruby
AndChat-570836 has joined #ruby
dfinninger has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
sigurding has quit [Ping timeout: 240 seconds]
lkba has quit [Ping timeout: 240 seconds]
exadeci has joined #ruby
sigurding has joined #ruby
bMalum has joined #ruby
lkba_ has quit [Ping timeout: 255 seconds]
caveat- has joined #ruby
pdoherty has joined #ruby
BurningChrome__ has joined #ruby
dfinninger has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
Ankhers`` has joined #ruby
jack_rabbit has quit [Ping timeout: 240 seconds]
towski_ has joined #ruby
juanpablo___ has joined #ruby
jxport has quit [Ping timeout: 240 seconds]
klap has quit [Ping timeout: 240 seconds]
klap has joined #ruby
Xeago_ has quit [Ping timeout: 245 seconds]
DylanJ has quit [Ping timeout: 245 seconds]
jxport has joined #ruby
DylanJ has joined #ruby
BurningChrome_ has quit [Ping timeout: 245 seconds]
duncannz has quit [Read error: Connection reset by peer]
malcolmva has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
juanpablo___ has quit [Ping timeout: 245 seconds]
yellowgh0st has joined #ruby
towski_ has quit [Ping timeout: 252 seconds]
ta has joined #ruby
konsolebox has joined #ruby
ypasmk has quit [Quit: ypasmk]
sigurding has quit [Ping timeout: 265 seconds]
Aova has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 252 seconds]
caveat- has quit [Ping timeout: 245 seconds]
aemeredith has joined #ruby
sigurding has joined #ruby
olivier_bK has joined #ruby
fredsir_ is now known as fredsir
adamjleonard has joined #ruby
paradoja has joined #ruby
agit0 has joined #ruby
caveat- has joined #ruby
kalusn has quit [Remote host closed the connection]
Aova has joined #ruby
aemeredith has quit [Ping timeout: 256 seconds]
BurningChrome__ has quit [Ping timeout: 245 seconds]
visof has joined #ruby
ypasmk has joined #ruby
quimrstorres has joined #ruby
aemeredith has joined #ruby
Xeago has quit [Ping timeout: 256 seconds]
aemeredith has quit [Read error: Connection reset by peer]
tiwillia has quit [Ping timeout: 264 seconds]
aemeredith has joined #ruby
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
caveat- has quit [Ping timeout: 245 seconds]
wottam has joined #ruby
tiwillia has joined #ruby
hgl has joined #ruby
fabrice31 has joined #ruby
anaeem1 has joined #ruby
aemeredith has quit [Ping timeout: 250 seconds]
<arup_r> My output xml looks same as input xml... I am not able to add the new nodes to the main document... https://gist.github.com/aruprakshit/e6e874258a86f893f157 Where am I wrong?
wittyfox has quit [Ping timeout: 276 seconds]
gizmore has joined #ruby
jimbauds has joined #ruby
paradoja has left #ruby ["Killed buffer"]
ta has joined #ruby
anaeem1 has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 264 seconds]
wittyfox has joined #ruby
neoxquick has joined #ruby
caveat- has joined #ruby
zenspider_ has joined #ruby
agrinb has joined #ruby
bMalum has quit [Read error: Connection reset by peer]
zenspider has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 252 seconds]
Ankhers`` has quit [Ping timeout: 250 seconds]
bMalum has joined #ruby
Cork has quit [Ping timeout: 264 seconds]
devyn has quit [Ping timeout: 264 seconds]
sweeper has quit [Ping timeout: 264 seconds]
urtokk has quit [Ping timeout: 264 seconds]
jetblack has joined #ruby
devyn has joined #ruby
urtokk has joined #ruby
quimrstorres has quit [Remote host closed the connection]
speaking1ode has quit [Ping timeout: 264 seconds]
sweeper has joined #ruby
oleo has joined #ruby
visof_ has joined #ruby
vaneda has joined #ruby
Takle has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 264 seconds]
agrinb has quit [Ping timeout: 245 seconds]
suffice_ has quit [Ping timeout: 264 seconds]
speaking1ode has joined #ruby
marcdel has joined #ruby
quimrstorres has joined #ruby
suffice has joined #ruby
s_e has quit [Ping timeout: 264 seconds]
RandyT has quit [Ping timeout: 264 seconds]
RandyT has joined #ruby
FifthWall has quit [Ping timeout: 264 seconds]
FifthWall_ has joined #ruby
visof has quit [Ping timeout: 265 seconds]
oleo__ has quit [Ping timeout: 265 seconds]
jetblack has quit [Ping timeout: 245 seconds]
ValicekB has quit [Ping timeout: 264 seconds]
n88 has quit [Ping timeout: 264 seconds]
zachrab has joined #ruby
hgl has quit [Ping timeout: 256 seconds]
ferr has quit [Ping timeout: 264 seconds]
s_e has joined #ruby
ferr has joined #ruby
wittyfox has left #ruby ["WeeChat 0.4.3"]
YamakasY_ has joined #ruby
tvw has quit [Ping timeout: 245 seconds]
chiel has quit [Ping timeout: 264 seconds]
hgl has joined #ruby
n88 has joined #ruby
wottam has quit [Read error: Connection reset by peer]
caveat- has quit [Ping timeout: 245 seconds]
urtokk has quit [Ping timeout: 240 seconds]
chiel has joined #ruby
DylanJ has quit [Ping timeout: 245 seconds]
urtokk has joined #ruby
DylanJ has joined #ruby
Neomex has joined #ruby
<YamakasY_> hi guys, wasn´t it possible to do a gsub on domain_name in the same line ? <% @domains.each do |domain_name| -%>
marienz has joined #ruby
Cork has joined #ruby
caveat- has joined #ruby
zachrab has quit [Ping timeout: 245 seconds]
quimrstorres has quit [Remote host closed the connection]
FooMunki_ has joined #ruby
yellowgh0st has quit [Quit: yellowgh0st]
quimrstorres has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Takle has joined #ruby
astrobunny has joined #ruby
raphaelss has joined #ruby
ValicekB has joined #ruby
raphaelss has quit [Client Quit]
Takle has quit [Remote host closed the connection]
Cat_1 has quit [Ping timeout: 264 seconds]
Alina-malina has quit [Ping timeout: 265 seconds]
ta has joined #ruby
PaulCape_ is now known as PaulCapestany
visof has joined #ruby
Alina-malina has joined #ruby
_5kg has quit [Ping timeout: 264 seconds]
Cork has quit [Quit: .]
astrobunny has quit [Ping timeout: 264 seconds]
caveat- has quit [Ping timeout: 245 seconds]
Azure has quit [Ping timeout: 246 seconds]
einarj has joined #ruby
ferr has quit [Ping timeout: 246 seconds]
visof_ has quit [Ping timeout: 264 seconds]
caveat- has joined #ruby
ta has quit [Ping timeout: 252 seconds]
mistermocha has joined #ruby
dfinninger has joined #ruby
siso has quit [Quit: siso]
Xeago has joined #ruby
xenomorph is now known as {xenomorph}
tkuchiki has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 246 seconds]
LudicrousMango has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<arup_r> any help ? :(
dfinninger has quit [Ping timeout: 244 seconds]
mistermocha has quit [Ping timeout: 245 seconds]
adriancb has joined #ruby
Hobogrammer_ has quit [Ping timeout: 256 seconds]
vaneda has quit [Quit: Computer has gone to sleep.]
jerematic has joined #ruby
BurningChrome__ has joined #ruby
DadoCe has joined #ruby
elaptics is now known as elaptics`away
kalusn has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
aemeredith has joined #ruby
adriancb has quit [Ping timeout: 245 seconds]
quimrstorres has joined #ruby
maximski has joined #ruby
plashchynski has quit [Quit: plashchynski]
aemeredith has quit [Read error: Connection reset by peer]
jerematic has quit [Ping timeout: 250 seconds]
aemeredith has joined #ruby
maximski has quit [Max SendQ exceeded]
dspangenberg has joined #ruby
DadoCe has quit [Ping timeout: 252 seconds]
maximski has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
aryaching has joined #ruby
Cork has joined #ruby
_honning__ has joined #ruby
Aova has quit [Read error: Connection reset by peer]
aemeredith has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
aemeredith has joined #ruby
dspangenberg has quit [Ping timeout: 250 seconds]
sigurding has quit [Quit: sigurding]
MasterPiece has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
sivoais has quit [Ping timeout: 244 seconds]
Aova has joined #ruby
aemeredith has quit [Ping timeout: 255 seconds]
Luyt has joined #ruby
Jetchisel has joined #ruby
quimrstorres has joined #ruby
vdamewood has joined #ruby
rvchangu- is now known as rvchangue
rvchangue has quit [Changing host]
rvchangue has joined #ruby
Xeago has joined #ruby
elaptics`away is now known as elaptics
ypasmk has quit [Quit: ypasmk]
m8 has joined #ruby
Xeago has quit [Remote host closed the connection]
govg has quit [Quit: leaving]
sivoais has joined #ruby
lampd1 has joined #ruby
lampd1 has quit [Client Quit]
oo_ has joined #ruby
tiwillia has quit [Ping timeout: 240 seconds]
nfk has joined #ruby
puppetmonkey has joined #ruby
agrinb has joined #ruby
aemeredith has joined #ruby
tiwillia has joined #ruby
quimrstorres has quit [Remote host closed the connection]
shime_ has joined #ruby
goodenough has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
Cork has quit [Quit: .]
ta has joined #ruby
Ankhers`` has joined #ruby
blizzy has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
aemeredith has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
konsolebox has quit [Ping timeout: 245 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
oo_ has quit [Remote host closed the connection]
jetblack has joined #ruby
quimrstorres has joined #ruby
_5kg has joined #ruby
tunaCanBruh has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
jusmyth has joined #ruby
banister has joined #ruby
jenrzzz has joined #ruby
shime_ has quit [Read error: Connection reset by peer]
shime has quit [Read error: Connection reset by peer]
Jackneill has joined #ruby
jetblack has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
tunaCanBruh has quit [Ping timeout: 255 seconds]
trufflesnout has quit [Remote host closed the connection]
shime has joined #ruby
chinmay_dd has quit [Quit: Connection closed for inactivity]
EbonyDarkness has joined #ruby
<EbonyDarkness> hey gays
<EbonyDarkness> omfs mi bf just sang me crucifixion in space bi (Geddit im bi) marylin monson
<EbonyDarkness> dat song iz so touching
CustosL1men has quit [Quit: Leaving]
jerematic has joined #ruby
bluOxigen has quit [Ping timeout: 246 seconds]
AlSquire has joined #ruby
astrobunny has joined #ruby
<EbonyDarkness> omg
blizzy has joined #ruby
<EbonyDarkness> hi bitch
<wasamasa> apeiros_: do it
<EbonyDarkness> do what
* wasamasa waits for the sound of the kickban hammer
juanpablo___ has joined #ruby
Takle has joined #ruby
behrz has joined #ruby
ta_ has joined #ruby
<EbonyDarkness> STFU i didnt do anyfing yet u prep
ta has quit [Remote host closed the connection]
klaas_ is now known as klaas
astrobunny has quit [Ping timeout: 240 seconds]
ypasmk has joined #ruby
flipdip is now known as MrSparkle
EbonyDarkness was kicked from #ruby by apeiros_ [good bye]
behrz has quit [Client Quit]
<arup_r> a = []; a.each_with_index() { |item, index| # code } Here for each iteration index will be incremented by one.. Is there anything to increment by any number say N.. Suppose `Range#step`
behrz has joined #ruby
behrz has quit [Remote host closed the connection]
<arup_r> just the way works,,
<jhass> Rage#step#with_index
<arup_r> No with Array.. I want
<jhass> *range
<jhass> er, yes, with_object there is I think?
juanpablo___ has quit [Ping timeout: 264 seconds]
<arup_r> Yes it is there...
<arup_r> Enumerable#with_object
<arup_r> But how does it help ?
Takle has quit [Ping timeout: 264 seconds]
<jhass> >> a = [1,2,3,4,5] 0.upto(a.size-1).step(2).with_object(a) do |i| print a[i]; end
<eval-in__> jhass => /tmp/execpad-22e2bb7eb635/source-22e2bb7eb635:2: syntax error, unexpected tINTEGER, expecting keyword_end ... (https://eval.in/274296)
<jhass> heh
<jhass> >> a = [1,2,3,4,5]; 0.upto(a.size-1).step(2).with_object(a) do |i| print a[i]; end
<eval-in__> jhass => undefined method `step' for #<Enumerator: 0:upto(4)> (NoMethodError) ... (https://eval.in/274297)
<jhass> right, it's range
OrbitalKitten has joined #ruby
<jhass> you get the idea and I'll finish to wake up still m(
ta_ has quit [Ping timeout: 245 seconds]
<arup_r> no i didn't
<arup_r> What did you mean ?
dfinninger has joined #ruby
<jhass> >> a = [1,2,3,4,5]; (0...a.size).step(2).with_object(a) do |i| print a[i]; end
<eval-in__> jhass => 135[1, 2, 3, 4, 5] (https://eval.in/274298)
<jhass> >> arr = [1,2,3,4,5]; (0...arr.size).step(2).with_object(arr) do |i, a| print a[i]; end
<eval-in__> jhass => 135[1, 2, 3, 4, 5] (https://eval.in/274299)
adamjleonard has quit [Quit: Leaving...]
plashchynski has joined #ruby
<arup_r> ok
<arup_r> thanks
pdoherty has joined #ruby
quimrstorres has quit [Remote host closed the connection]
dfinninger has quit [Ping timeout: 250 seconds]
aryaching has quit []
trufflesnout has joined #ruby
yvemath has joined #ruby
__chris has joined #ruby
trufflesnout has quit [Remote host closed the connection]
freerobby has joined #ruby
Ankhers`` has quit [Ping timeout: 250 seconds]
pdoherty has quit [Ping timeout: 245 seconds]
<arup_r> >> 3.odd?
<eval-in__> arup_r => true (https://eval.in/274300)
<arup_r> ok.. Thanks
TinkerTyper has quit [Ping timeout: 255 seconds]
Soda has joined #ruby
quimrstorres has joined #ruby
razieliyo has joined #ruby
BLuEGoD has joined #ruby
dotix has quit [Ping timeout: 264 seconds]
BurningChrome__ has quit [Ping timeout: 255 seconds]
tkuchiki has joined #ruby
xm has joined #ruby
aryaching has joined #ruby
Aova has quit [Read error: Connection reset by peer]
caveat- has quit [Ping timeout: 245 seconds]
banister has quit [Ping timeout: 245 seconds]
shum has joined #ruby
lamasnik has quit [Quit: WeeChat 0.4.3]
fabrice31 has joined #ruby
Spami has joined #ruby
Aova has joined #ruby
Aova has joined #ruby
Aova has quit [Changing host]
TinkerTyper has joined #ruby
caveat- has joined #ruby
quimrstorres has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
fabrice31 has quit [Ping timeout: 240 seconds]
exadeci has quit [Quit: Connection closed for inactivity]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
__chris has quit [Ping timeout: 250 seconds]
quimrstorres has joined #ruby
dotix has joined #ruby
dotix has quit [Changing host]
dotix has joined #ruby
agrinb has joined #ruby
fantazo has quit [Quit: Verlassend]
psy_ has quit [Quit: Leaving]
psy_ has joined #ruby
einarj has joined #ruby
knut has joined #ruby
reinaldob has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
agrinb has quit [Ping timeout: 245 seconds]
nolic has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
shum has joined #ruby
zwer_z is now known as zwer
ych4k3r has joined #ruby
einarj has quit [Ping timeout: 250 seconds]
lukeholder has joined #ruby
zachrab has joined #ruby
<lukeholder> why do you need self in assignments: self.first_name = "John"
pika_pika has joined #ruby
tiwillia has quit [Ping timeout: 244 seconds]
DEA7TH has joined #ruby
reinaldob has quit [Ping timeout: 240 seconds]
<apeiros_> lukeholder: because otherwise you'd just assign to a local variable
Takle has joined #ruby
caveat- has joined #ruby
sameerynho has quit [Ping timeout: 245 seconds]
Cork has joined #ruby
lxsameer_ has joined #ruby
<lukeholder> @apeiros_ oh i didn't think you could use a local variable with the same name as a resolvable method=
<lukeholder> but thats why
<lukeholder> ok
<lukeholder> thanks
<apeiros_> lvars always take precedence over methods
<apeiros_> otherwise nothing would work. think of method_missing.
<apeiros_> or it'd work *very* inefficiently because you'd do lvars via method calls.
* apeiros_ shudders
tiwillia has joined #ruby
<knut> hey guys, I'm having problems with SerialPort. I'm sending and receiving binary data, but at some point it just stops working. There are no error messages, nor is the port closed (which would result in an error) but it stops sending the right command or sending at all. Any sugestions how I can further investigate to find the error?
bMalum has joined #ruby
kedare has joined #ruby
zachrab has quit [Ping timeout: 246 seconds]
oo_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
reinaldob has joined #ruby
jetblack has joined #ruby
OrbitalKitten has joined #ruby
<knut> it should receive always 8 bytes, but before it stops working just 7 or less bytes are read. but even is there a problem the next iteration should work again
ypasmk has quit [Quit: ypasmk]
<knut> it can't be a problem with the hardware, because after restarting the ruby console it will work again
dspangenberg has joined #ruby
gr_ has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
reinaldob has quit [Remote host closed the connection]
Zai00 has joined #ruby
jetblack has quit [Ping timeout: 244 seconds]
visof_ has joined #ruby
oo_ has joined #ruby
__chris has joined #ruby
<arup_r> I'm not getting where am I doing wrong
<arup_r> ?
dspangenberg has quit [Ping timeout: 245 seconds]
terlar has joined #ruby
visof has quit [Ping timeout: 265 seconds]
oo_ has quit [Remote host closed the connection]
caveat- has quit [Ping timeout: 245 seconds]
FooMunki_ has quit [Quit: FooMunki_]
dspangenberg has joined #ruby
Pharaoh2 has joined #ruby
oo_ has joined #ruby
caveat- has joined #ruby
ev____ has joined #ruby
mjhoy has joined #ruby
juanpablo___ has joined #ruby
tunaCanBruh has joined #ruby
freerobby has quit [Quit: Leaving.]
p0wn3d_mhs has joined #ruby
<knut> well, I don't know what nokogiri and doc does, but that loop is where he just enters for I1, and for the others doc.xpath is an empty array
fenzil has joined #ruby
kaspergrubbe__ is now known as kaspergrubbe
aapole has quit [Ping timeout: 264 seconds]
<arup_r> But fiirst loop why only `I1` knut:
<arup_r> It should give I1, I2, I3.........I6
juanpablo___ has quit [Ping timeout: 244 seconds]
<arup_r> and only the first all cells are I1
oo_ has quit [Remote host closed the connection]
<arup_r> I was expecting as per the code 4 rows should be filled
tunaCanBruh has quit [Ping timeout: 245 seconds]
<arup_r> But it just fills first rows,,
oo_ has joined #ruby
dfinninger has joined #ruby
bluOxigen has joined #ruby
<knut> well I'm sorry, haven't worked with nokogiri, just can say that he doesn't enter in that loop with doc.xpath ...
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jgt1 has quit [Quit: WeeChat 1.0.1]
rbennacer has joined #ruby
dspangen1erg has joined #ruby
hgl has quit [Ping timeout: 252 seconds]
<arup_r> knut: No it does.. Because I can see all six column for the first row as I1.. But the the outer loop seems didn't iterated,, something wired
quimrstorres has quit [Remote host closed the connection]
dfinninger has quit [Ping timeout: 245 seconds]
TakumoKatekari is now known as Takumo
hgl has joined #ruby
quimrstorres has joined #ruby
freerobby has joined #ruby
<knut> put an output in the outer loop and you will see, that it iterates, but the inner loop just iterates for I1, for the others its an empty array
Pupeno_ has quit [Remote host closed the connection]
OrbitalKitten has joined #ruby
Pupeno has joined #ruby
dspangenberg has quit [Ping timeout: 264 seconds]
iamninja has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
rbennacer has quit [Ping timeout: 245 seconds]
quimrstorres has quit [Remote host closed the connection]
ARCADIVS has quit [Quit: ARCADIVS]
ypasmk has joined #ruby
zzzbra has joined #ruby
blackmesa has joined #ruby
gr_ has quit [Quit: leaving]
caveat- has joined #ruby
visof has joined #ruby
enebo has joined #ruby
_5kg has quit [Ping timeout: 250 seconds]
Aova has quit [Read error: Connection reset by peer]
visof_ has quit [Ping timeout: 264 seconds]
<arup_r> knut: xpath was incorrect... but don't know why.. anyway I fixed that part.. now it is not going to else part.. why need to see.
_5kg has joined #ruby
visof has quit [Ping timeout: 250 seconds]
tkuchiki has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
quimrstorres has joined #ruby
enebo has quit [Client Quit]
<knut> the else isn't the problem, but maybe again the xpath
quimrstorres has quit [Remote host closed the connection]
__chris has quit [Ping timeout: 244 seconds]
Aova has joined #ruby
Ankhers`` has joined #ruby
agrinb has joined #ruby
sigurding has joined #ruby
ta has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
jottr has joined #ruby
tacotaco_ has joined #ruby
ta has quit [Ping timeout: 252 seconds]
ev____ has quit [Ping timeout: 240 seconds]
kallisti5 has joined #ruby
kallisti5 has left #ruby [#ruby]
kallisti5 has joined #ruby
<kallisti5> anyone understand this ruby backtrace? https://bugs.ruby-lang.org/issues/10811
freerobby has quit [Ping timeout: 244 seconds]
jottr has quit [Quit: WeeChat 1.1.1]
<arup_r> knut: Latest update.. Now.. I am seeing only the last hash data in the first 2 rows.. It is overriding the previous iteration data,,,
oo_ has quit [Remote host closed the connection]
Zarthus has quit [Ping timeout: 276 seconds]
quimrstorres has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
Zarthus has joined #ruby
dfinninger has joined #ruby
__main__ has joined #ruby
aemeredith has joined #ruby
quimrstorres has quit [Ping timeout: 245 seconds]
ta has joined #ruby
cashnguns has joined #ruby
dfinninger has quit [Ping timeout: 264 seconds]
tiwillia has quit [Ping timeout: 255 seconds]
sigurding has quit [Quit: sigurding]
jottr has joined #ruby
tiwillia has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SixiS has quit [Quit: SixiS]
posixpascal has joined #ruby
ta has quit [Ping timeout: 245 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
fenzil has quit [Read error: Connection reset by peer]
posixpanda has joined #ruby
FooMunki_ has joined #ruby
posixpascal has quit [Read error: Connection reset by peer]
cats has quit [Quit: ZNC - http://znc.in]
blizzy has quit [Ping timeout: 244 seconds]
ahegyi has joined #ruby
cats has joined #ruby
<arup_r> knut: I fixed it
ev____ has joined #ruby
mikepack has joined #ruby
scripore has joined #ruby
scripore has quit [Client Quit]
mikepack has quit [Client Quit]
atomical has joined #ruby
Pharaoh2_ has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
aemeredith has quit []
Pharaoh2 has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 255 seconds]
aswen has joined #ruby
dotix has quit [Quit: Leaving]
Ankhers`` has quit [Ping timeout: 250 seconds]
aemeredith has joined #ruby
timanema has joined #ruby
caveat- has joined #ruby
king313 has quit [Ping timeout: 245 seconds]
SolarSailor has joined #ruby
jetblack has joined #ruby
ziyadb has joined #ruby
BurningChrome__ has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
pdoherty has joined #ruby
ta has joined #ruby
fabrice31 has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
pdoherty has quit [Ping timeout: 245 seconds]
hmsimha has quit [Ping timeout: 252 seconds]
Stoge88 has joined #ruby
ta has quit [Ping timeout: 252 seconds]
fabrice31 has quit [Ping timeout: 244 seconds]
shredding has joined #ruby
rbennacer has joined #ruby
agit0 has quit [Quit: This computer has gone to sleep]
caveat- has joined #ruby
<knut> gj :)
<knut> but i still need help with my serial port problem :D
bronson has joined #ruby
aemeredith has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
aemeredith has joined #ruby
razorsharph has joined #ruby
sevenseacat has quit [Remote host closed the connection]
einarj has joined #ruby
govg has joined #ruby
zachrab has joined #ruby
Aova has joined #ruby
zzzbra has quit [Ping timeout: 264 seconds]
einarj has quit [Ping timeout: 255 seconds]
ypasmk has quit [Quit: ypasmk]
zachrab has quit [Ping timeout: 244 seconds]
caveat- has quit [Ping timeout: 245 seconds]
Stoge88 has quit [Ping timeout: 245 seconds]
leafybasil has joined #ruby
kobain has joined #ruby
paradoja has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
blueOxigen has joined #ruby
kobain has quit [Max SendQ exceeded]
caveat- has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
kobain has joined #ruby
nfk has quit [Ping timeout: 246 seconds]
bluOxigen has quit [Ping timeout: 264 seconds]
ta has joined #ruby
aemeredith has quit [Remote host closed the connection]
blizzy has joined #ruby
Pharaoh2_ is now known as Pharaoh2
agrinb has joined #ruby
iamninja has quit [Ping timeout: 250 seconds]
scripore has joined #ruby
__chris has joined #ruby
lukeholder has quit [Quit: Textual IRC Client: www.textualapp.com]
<__chris> What is the best way to get $stdout << to include a newline?
paradoja has left #ruby [#ruby]
ta has quit [Ping timeout: 252 seconds]
<hanmac> _chs_: add "<< std::endl"
iamninja has joined #ruby
<__chris> hanmac, thanks
ZoanthusR has joined #ruby
<Mon_Ouie> No, std::endl is a newline and a call to flush, just use "\n"
__chris has quit [Client Quit]
<Mon_Ouie> …also has the benefit of actually working in Ruby
<hanmac> oh ok i thoguht i was in a different channel ...
Patabugen has joined #ruby
aemeredith has joined #ruby
__chris has joined #ruby
bradland_ has quit [Ping timeout: 255 seconds]
Sid05 has joined #ruby
bradland has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
<shevy> irb --prompt roebe-prompt --readline
<shevy> /usr/lib/ruby/2.1.0/irb/init.rb:23:in `setup': Undefined prompt mode(ROEBE_PROMPT). (IRB::UndefinedPromptMode)
<shevy> here I have a question
<shevy> is there a way to (1) first try to see if such a prompt was defined and (2) if not, just start irb without said prompt?
Pupeno has joined #ruby
SolarSailor has quit [Read error: Connection reset by peer]
<shevy> I'd need something like an irb --failsafe-prompt or so hmm or perhaps another way
hmsimha has joined #ruby
aryaching has quit [Ping timeout: 245 seconds]
__chris has quit [Client Quit]
bMalum has quit [Quit: bMalum]
rbennacer has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 245 seconds]
sankaber has joined #ruby
adriancb has joined #ruby
tiwillia has quit [Ping timeout: 246 seconds]
juanpablo___ has joined #ruby
ypasmk has joined #ruby
tunaCanBruh has joined #ruby
ta has joined #ruby
posixpanda has quit [Read error: Connection reset by peer]
posixpascal has joined #ruby
tiwillia has joined #ruby
sankaber has quit [Client Quit]
iamjarvo has joined #ruby
ferr has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
adriancb has quit [Ping timeout: 245 seconds]
jtdowney has joined #ruby
<ferr> How such console based apps are called like irb when you enter once and it is not exited once command run
lxsameer_ has quit [Quit: Leaving]
aemeredith has quit [Remote host closed the connection]
rbennacer has joined #ruby
athan has quit [Read error: Connection reset by peer]
juanpablo___ has quit [Ping timeout: 240 seconds]
ta has quit [Ping timeout: 252 seconds]
Jake232 has joined #ruby
tunaCanBruh has quit [Ping timeout: 255 seconds]
ev____ has quit [Quit: Lost terminal]
Jake232 has quit [Max SendQ exceeded]
jusmyth has quit [Read error: Connection reset by peer]
ypasmk has quit [Quit: ypasmk]
centrx has joined #ruby
jottr has joined #ruby
jusmyth has joined #ruby
ta has joined #ruby
spider-mario has quit [Remote host closed the connection]
aemeredith has joined #ruby
sent1nel has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
<shevy> ferr REPL I think
adriancb has joined #ruby
ta has quit [Ping timeout: 250 seconds]
regnartim_ has joined #ruby
<ferr> Yes, it is, thank you
adriancb has quit [Remote host closed the connection]
<ferr> Just to clarify, shevy, should I use a simple loop ar some external gems?
<shevy> ferr dunno. gems are also ruby code
Mon_Ouie has quit [Ping timeout: 245 seconds]
<shevy> depends on how many features you want
<shevy> in the simplest case you can do something like this:
{xenomorph} is now known as xenomorph
scripore has quit [Quit: This computer has gone to sleep]
caveat- has joined #ruby
<shevy> loop { user_input = $stdin.gets.chomp; case user_input; when 'q'; exit; else; puts 'you typed '+user_input; end }
* arup_r waiting to see : what shevy: is going to give bellow something:
<shevy> then you can intercept signals like ctrl-c Signal.trap('SIGINT') { exit }
<shevy> and so on and so forth. Readline.readline() is also available if you do require 'readline', so you get history and cursor scrollback
cossima has joined #ruby
Kn|t3 has quit [Quit: Kn|t3]
cossima has quit [Remote host closed the connection]
ta has joined #ruby
adriancb has joined #ruby
Sawbones has joined #ruby
reinaldob has joined #ruby
adriancb has quit [Remote host closed the connection]
<ferr> Ok, I got it. What about compilation? How would you recommend me to export the console based application? it includes external libraries as whois, net/dns, etc.
mjhoy has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
jottr has quit [Ping timeout: 244 seconds]
regnartim_ has quit [Quit: Leaving]
leafybasil has quit [Remote host closed the connection]
ta has quit [Ping timeout: 252 seconds]
bMalum has joined #ruby
Megtastique has joined #ruby
<shevy> I do not get your question
<shevy> it is ruby code
<shevy> so everything that is doable in pure ruby is doable
Sawbones has quit [Ping timeout: 245 seconds]
reinaldob has quit [Ping timeout: 240 seconds]
<shevy> you can call external code at all times through system() and `` and popen etc...
<shevy> you can re-load ad-hoc at runtime through load()
bronson has quit [Remote host closed the connection]
Kn|t3 has joined #ruby
ByronJoh1son is now known as ByronJohnson
ta has joined #ruby
jusmyth has quit [Quit: Leaving.]
posixpascal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sawbones has joined #ruby
sent1nel has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
daynaskully has quit [Quit: quit]
timanema has quit [Ping timeout: 250 seconds]
ta has quit [Ping timeout: 255 seconds]
adriancb has joined #ruby
Aova has joined #ruby
Ankhers`` has joined #ruby
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
rbennacer has quit [Remote host closed the connection]
Sawbones has quit [Remote host closed the connection]
TrOuBLeStArTeR has joined #ruby
Azure has joined #ruby
rbennacer has joined #ruby
timanema has joined #ruby
yfeldblum has joined #ruby
tus has joined #ruby
sheeny has joined #ruby
<sheeny> Hi, does anyone know a way of determining if a colour is "light" or "dark" ?
jtdowney has quit [Quit: Textual IRC Client: www.textualapp.com]
digifiv5e has joined #ruby
digifiv5e is now known as Guest97255
yfeldblum has quit [Ping timeout: 245 seconds]
sent1nel has joined #ruby
tyfighter has joined #ruby
<sheeny> knut: thanks
<knut> np :) hope it helps
DadoCe has joined #ruby
<knut> theres a gem for that
<knut> the brightness function implements this formula
TinkerTyper has quit [Ping timeout: 245 seconds]
<knut> and brings comparisons etc with it
<arup_r> Any body reading http://www.manning.com/mcquaid/ ?
Sawbones has joined #ruby
sent1nel has quit [Remote host closed the connection]
poikon_ has joined #ruby
<sheeny> knut: ah great! good place to start thanks again
poikon_ is now known as poikon
Pupeno_ has joined #ruby
Gmind has joined #ruby
<Gmind> hi
TinkerTyper has joined #ruby
Sawbones has quit [Remote host closed the connection]
agjacome has joined #ruby
einarj has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
adriancb has quit [Remote host closed the connection]
lioninawhat has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
cpruitt has joined #ruby
<Gmind> i'm making a toy assembly-like DSL in Ruby: https://rubygems.org/gems/asmrb , any ideas on improving it ? :P
rbennacer has quit [Remote host closed the connection]
Drakevr_ is now known as drakevr
drakevr has quit [Changing host]
drakevr has joined #ruby
athan has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
caveat- has joined #ruby
<Gmind> would LLVM improve significant speed over CRuby ?
rbennacer has joined #ruby
ferr has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
regnartim has quit [Quit: Leaving]
Xeago has joined #ruby
scripore has joined #ruby
<centrx> Gmind, Is there LLVM for Ruby?
bMalum has quit [Quit: bMalum]
<centrx> Gmind, You may want to look at JRuby for speed
cpruitt has quit [Ping timeout: 250 seconds]
tiwillia has quit [Ping timeout: 264 seconds]
cpruitt has joined #ruby
centrx has quit [Quit: In the beginning there was nothing, which exploded. - Terry Pratchett]
sheeny has quit [Quit: Page closed]
<IceDragon> centrx, Gmind: Rubinius, if I'm right uses LLVM
tyfighter has quit [Quit: tyfighter]
<IceDragon> So you may look into that if you want something faster than CRuby
m8 has quit [Quit: Sto andando via]
anaeem1 has joined #ruby
Xeago has quit [Remote host closed the connection]
konsolebox has joined #ruby
Channel6 has joined #ruby
tiwillia has joined #ruby
kenneth has joined #ruby
<brixen> Rubinius uses LLVM to generate machine code from the JIT
<brixen> whether the JIT can help your Ruby code depends on quite a few things
Gmind has quit [Quit: Leaving.]
<brixen> like how often the Ruby code runs and how stable the type profile if the code is
<brixen> if it runs a lot and the types are stable, the Rubinius JIT will aggressively inline methods
<brixen> if the types are changing a lot, the JIT will eventually ignore the code
kenneth has quit [Client Quit]
Ankhers`` has quit [Ping timeout: 250 seconds]
Sid05 has quit [Quit: Sid05]
fabrice31 has joined #ruby
Patabugen has quit [Ping timeout: 265 seconds]
Gmind has joined #ruby
borel has quit [Remote host closed the connection]
adamjleonard has joined #ruby
rbennacer has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
rbennacer has joined #ruby
<Gmind> brixen, totally agreed. not every cases, llvm improve the speed.
tyfighter has joined #ruby
adriancb has joined #ruby
king313 has joined #ruby
king313 has joined #ruby
<brixen> also, we're starting to do a lot more work on the JIT
cpruitt has quit [Quit: cpruitt]
fabrice31 has quit [Ping timeout: 255 seconds]
<brixen> in Rubinius 3.0, Tuple (basis for Array & Hash) and ByteArray (basis for String) are no longer going to be OO objects
<brixen> they will be more like the structures in a functional language
<brixen> so the JIT will be able to do a lot more to optimize them
posixpascal has joined #ruby
<chrisseaton> brixen: is there a goal to rewrite the JIT in Ruby? Seems like the missing link at the moment
<brixen> why is it a missing link?
SolarSailor has joined #ruby
<brixen> or perhaps, what is missing?
<chrisseaton> If having as much as possible written in Ruby is a goal by itself (separate to performance and other things) wouldn't it be nice to have the JIT written in Ruby, like the parser, AST, etc
adriancb has quit [Remote host closed the connection]
anaeem1 has quit [Remote host closed the connection]
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<brixen> that's an abstract question
<brixen> I don't really have an answer for it
anaeem1_ has joined #ruby
<brixen> Rubinius 3.0 isn't written in Ruby anyway
Zai00 has quit [Quit: Zai00]
fesotovi has joined #ruby
<chrisseaton> I mean 'do you have any plans to rewrite the language in a language other than C++, such as conventional Ruby, or some Rubinius 3.0 version of the Ruby language'?
<chrisseaton> 'rewrite the JIT' I mean
jottr has joined #ruby
blueOxigen has quit [Ping timeout: 264 seconds]
<brixen> I have plans to make the JIT many times more effective :)
jgt has joined #ruby
<jgt> hey everyone
rbennacer has quit [Remote host closed the connection]
<jgt> how can I nuke dos newlines in a string?
pdoherty has joined #ruby
rbennacer has joined #ruby
<jgt> I opened up a CSV in vim and I noticed a few ^M dotted around the place
<jgt> I’m quite sure this is a newline
anaeem1_ has quit [Ping timeout: 240 seconds]
<jgt> can I do something like str.delete("\r")? Or do I force an encoding?
<jgt> I’m *not* sure if "\r" will match…
caveat- has quit [Ping timeout: 245 seconds]
fesotovi has quit [Client Quit]
<brixen> that should work
<jgt> sadly, I’m not sure of anything
<brixen> vim can also remove them for you
<jgt> brixen: Yeah, I know how to do it in vim
zachrab has joined #ruby
<jgt> but I don’t want to be manually manipulating this data
<jgt> I want to nuke them with Rubby :)
impi0us has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
<brixen> "abc\r\ndef\r\n".delete("\r") => "abc\ndef\n"
Pharaoh2 has joined #ruby
_honning__ has quit [Remote host closed the connection]
<brixen> if you're concerned about only matching "\r\n" you could use gsub
anaeem1 has joined #ruby
<Gmind> brixen, are you author of Rubius ?
claw___ has quit [Ping timeout: 245 seconds]
<Gmind> * rubinius
ta has joined #ruby
claw has joined #ruby
<brixen> Gmind: I'm the primary maintainer at the moment, and the author of 3.0 strategy / direction
kenneth has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
<brixen> Gmind: Evan Phoenix is the creator of Rubinius, but he's not working on it anymore
fantazo has joined #ruby
<Gmind> brixen: wow :))
aemeredith has quit [Remote host closed the connection]
<brixen> Gmind: gotta run, but feel free to hit us up in https://gitter.im/rubinius/rubinius
zachrab has quit [Ping timeout: 264 seconds]
<brixen> or #rubinius
shime has quit [Ping timeout: 244 seconds]
aemeredith has joined #ruby
aemeredith has quit [Read error: Connection reset by peer]
<brixen> Gmind: if you want to read about Rubinius 3.0, I did a 5-part blog post on it
photographer has joined #ruby
<Gmind> is it possible to mix cruby and the llvm part together ?
caveat- has joined #ruby
<brixen> Gmind: check out the llvm-ruby project
<Gmind> brixen, I will have a look , thanks :P
Stoge88 has joined #ruby
posixpascal has quit [Read error: Connection reset by peer]
Stoge88 has quit [Client Quit]
Aova has quit [Read error: Connection reset by peer]
posixpascal has joined #ruby
tunaCanBruh has joined #ruby
ta has quit [Ping timeout: 252 seconds]
bronson has quit [Ping timeout: 264 seconds]
Gmind has quit [Quit: Leaving.]
regnartim has joined #ruby
razieliyo has quit [Ping timeout: 255 seconds]
ForkingPaths has joined #ruby
ForkingPaths has quit [Max SendQ exceeded]
tyfighter has quit [Quit: tyfighter]
parduse is now known as Guest2034
Guest2034 has quit [Ping timeout: 246 seconds]
Aova has joined #ruby
pardusf has joined #ruby
poikon has quit []
tunaCanBruh has quit [Ping timeout: 264 seconds]
iamninja has quit [Remote host closed the connection]
iamninja has joined #ruby
dimaursu16 has quit [Ping timeout: 264 seconds]
dimaursu16 has joined #ruby
nfk has joined #ruby
ta has joined #ruby
king313 has quit [Quit: .]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
poikon has joined #ruby
roshanavand has quit [Ping timeout: 265 seconds]
mic has joined #ruby
<shevy> anyone knows if there is a simple way to reshuffle CVS tables in ruby?
<shevy> so that |1|2|3|4| might become |4|2|1|3|
plashchynski has quit [Quit: plashchynski]
jottr has quit [Ping timeout: 246 seconds]
ta has quit [Ping timeout: 252 seconds]
fsotovi has joined #ruby
jlast has joined #ruby
fsotovi has left #ruby [#ruby]
slyv has joined #ruby
quimrstorres has joined #ruby
<mic> I keep getting an unidentified method "stylesheet_path" while trying to use sinatra with sprockets and sprocket_helper. Can someone give me a hand http://bit.ly/1ypAkLX
juanpablo___ has joined #ruby
claw_ has joined #ruby
avahey has joined #ruby
swgillespie has joined #ruby
claw has quit [Ping timeout: 255 seconds]
vdamewood has quit [Quit: Computer has gone to sleep.]
caveat- has quit [Ping timeout: 245 seconds]
fcanela has joined #ruby
<apeiros_> shevy: read with csv gem, use Array#shuffle, write back with csv gem
juanpablo___ has quit [Ping timeout: 240 seconds]
jlast has quit [Ping timeout: 245 seconds]
quimrstorres has quit [Ping timeout: 244 seconds]
Sawbones has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shredding has joined #ruby
caveat- has joined #ruby
ta has joined #ruby
fesotovi has joined #ruby
anaeem1 has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
amclain has joined #ruby
Sawbones has quit [Ping timeout: 264 seconds]
<mic> I keep getting an unidentified method "stylesheet_path" while trying to use sinatra with sprockets and sprocket_helper. Can someone give me a hand http://bit.ly/1ypAkLX
<mic> Come on guys, any takers?
Sakens has joined #ruby
kenneth has joined #ruby
<Sakens> Hello
<Sakens> Using Parallels, how can I return some value to "parent"?
<Sakens> Parallel*
<DEA7TH> I have def foo(arg = 0); arg; end and def bar(arg = 0); foo(arg); end. Is there a way to avoid this duplication (arg = 0 in bar)? I want to call foo with no arguments by default.
ta has quit [Ping timeout: 240 seconds]
lolmaus has quit [Quit: Konversation terminated!]
kenneth has quit [Client Quit]
<DEA7TH> The purpose of the default argument in bar is to be the same as foo's default argument - code repetition. I'm looking for a more DRY way
regnartim has quit [Quit: Leaving]
<apeiros_> DEA7TH: if you don't need the args in the outer method, use foo(*args); bar(*args); end
kenneth has joined #ruby
drakevr is now known as Drakevr
snath has quit [Ping timeout: 256 seconds]
rbennacer has joined #ruby
ypasmk has joined #ruby
<mic> I keep getting an unidentified method "stylesheet_path" while trying to use sinatra with sprockets and sprocket_helper. Can someone give me a hand http://bit.ly/1ypAkLX I am trying to find the correct way to use sprockets with sinatra but can't seem to get it to work
plashchynski has joined #ruby
tiwillia has quit [Ping timeout: 245 seconds]
zzzbra has joined #ruby
regnartim has joined #ruby
<Sakens> anybody uses Parallel gem?
posixpascal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
athan has quit [Read error: Connection reset by peer]
rbennacer has quit [Remote host closed the connection]
tiwillia has joined #ruby
cphrmky has joined #ruby
Cache_Money has joined #ruby
regnartim has quit [Quit: Leaving]
regnartim has joined #ruby
OrbitalKitten has joined #ruby
ta has joined #ruby
photographer has quit [Ping timeout: 264 seconds]
neoxquick has quit [Ping timeout: 255 seconds]
regnartim has quit [Client Quit]
jonr22 has joined #ruby
FooMunki_ has quit [Quit: FooMunki_]
kaspertidemann has joined #ruby
Megtastique has quit []
tyfighter has joined #ruby
Sid05 has joined #ruby
dimaursu16 has quit [Quit: Leaving]
caveat- has quit [Ping timeout: 245 seconds]
dimon_ has joined #ruby
Kn|t3 has quit [Quit: Kn|t3]
Pupeno_ has quit [Remote host closed the connection]
gizmore has joined #ruby
gizmore has quit [Changing host]
gizmore has joined #ruby
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
ixti has joined #ruby
adriancb has joined #ruby
AndChat-570836 has quit [Ping timeout: 255 seconds]
Sid05 has quit [Client Quit]
<mic> I keep getting an unidentified method "stylesheet_path" while trying to use sinatra with sprockets and sprocket_helper. Can someone give me a hand http://bit.ly/1ypAkLX I am trying to find the correct way to use sprockets with sinatra but can't seem to get it to work
adriancb has quit [Remote host closed the connection]
ponga has quit [Quit: Leaving...]
quimrstorres has joined #ruby
neoxquick has joined #ruby
rbennacer has joined #ruby
Kn|t3 has joined #ruby
ta has quit [Ping timeout: 252 seconds]
Sid05 has joined #ruby
mobiGeek has joined #ruby
JohnBat26 has joined #ruby
maximski has quit [Read error: Connection reset by peer]
maximski_ has joined #ruby
maximski_ has quit [Read error: Connection reset by peer]
maximski has joined #ruby
caveat- has joined #ruby
bronson has joined #ruby
Sawbones has joined #ruby
yfeldblum has joined #ruby
kaspertidemann has quit []
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sid05 has quit [Client Quit]
vdamewood has joined #ruby
Aova has quit [Read error: Connection reset by peer]
Kn|t3 has quit [Quit: Kn|t3]
Sid05 has joined #ruby
shredding has quit [Quit: shredding]
terlar has quit [Ping timeout: 245 seconds]
goshdarnyou has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rbennacer has quit [Remote host closed the connection]
athan has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
nobitanobi has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
wookiehangover has quit [Ping timeout: 272 seconds]
Sawbones has quit [Remote host closed the connection]
Edes_ is now known as Edes
neersighted has quit [Remote host closed the connection]
Sid05 has quit [Client Quit]
x77686d has joined #ruby
adamjleonard has quit [Quit: Leaving...]
Ankhers`` has joined #ruby
swgillespie has joined #ruby
Ankhers`` has quit [Remote host closed the connection]
Aova has joined #ruby
Aova has joined #ruby
Aova has quit [Changing host]
caveat- has quit [Ping timeout: 245 seconds]
neersighted has joined #ruby
rbennacer has joined #ruby
wookiehangover has joined #ruby
cphrmky has quit [Ping timeout: 245 seconds]
rbennacer has quit [Remote host closed the connection]
caveat- has joined #ruby
mobiGeek has quit [Quit: Nettalk6 - www.ntalk.de]
tus has quit [Read error: Connection reset by peer]
mic has quit [Ping timeout: 246 seconds]
tyfighter has quit [Quit: tyfighter]
maximski has quit []
jonr22 has quit []
kenneth has joined #ruby
shredding has joined #ruby
ta has joined #ruby
zzzbra has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
godd2 has joined #ruby
kaspertidemann has joined #ruby
gawd has joined #ruby
ta has quit [Ping timeout: 244 seconds]
aemeredith has joined #ruby
AlexRussia_ has quit [Ping timeout: 245 seconds]
MatthewsFace has quit []
sigurding has joined #ruby
Takle has quit [Remote host closed the connection]
tyfighter has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sid05 has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
Pharaoh2 has joined #ruby
maximski has joined #ruby
fabrice31 has joined #ruby
tunaCanBruh has joined #ruby
tyfighter has quit [Ping timeout: 252 seconds]
<YamakasY_> hi guys, wasn´t it possible to do a gsub on domain_name in the same line ? <% @domains.each do |domain_name| -%>
last_staff has joined #ruby
shredding has quit [Quit: shredding]
<apeiros_> YamakasY_: if domain_name is a string, sure
TrOuBleStArTeR_ has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
<YamakasY_> apeiros_, cannot find out how anymore, I need to do something like |dn| and map ?
The_Phoenix has quit [Quit: Leaving.]
<apeiros_> YamakasY_: eh? domain_name.gsub(search, replace_with)
fabrice31 has quit [Ping timeout: 264 seconds]
<YamakasY_> apeiros_, yes, but than in the ||
<apeiros_> no, you can't do it within the ||
<apeiros_> that's the block argument list.
<YamakasY_> I thought I was able to
<apeiros_> you're mistaken
<YamakasY_> hehe, can be
<YamakasY_> brb, need a reboot
<YamakasY_> my PC is on for 2 months or so
tunaCanBruh has quit [Ping timeout: 256 seconds]
mburns_ is now known as mburns
TrOuBLeStArTeR has quit [Ping timeout: 255 seconds]
TrOuBleStArTeR_ is now known as TrOuBleStArTeR
x77686d has quit [Ping timeout: 252 seconds]
shime has joined #ruby
centrx has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
terlar has joined #ruby
zachrab has joined #ruby
tiwillia has quit [Ping timeout: 250 seconds]
caveat- has joined #ruby
tiwillia has joined #ruby
<YamakasY_> and I´m back
kaspertidemann has quit []
AlexRussia_ has joined #ruby
function90 has joined #ruby
sandelius has joined #ruby
ypasmk has quit [Quit: ypasmk]
tus has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
Sakens has quit [Ping timeout: 265 seconds]
MatthewsFace has joined #ruby
Takle has joined #ruby
juanpablo___ has joined #ruby
terlar has quit [Quit: WeeChat 1.1.1]
<YamakasY_> apeiros_, so I first need to do the each and than the gsub on it ?
Fezzler has joined #ruby
commmmodo has joined #ruby
<apeiros_> not "on", "in". like in normal ruby. it doesn't work differently in erb templates.
ta has joined #ruby
pdoherty has joined #ruby
caveat- has joined #ruby
chinmay_dd has quit [Quit: Connection closed for inactivity]
benlieb has joined #ruby
juanpablo___ has quit [Ping timeout: 250 seconds]
<YamakasY_> yeah in it
<YamakasY_> but oneliner is impossible
<jhass> ideally you would pass your data to your template in a way that doesn't need modification of it inside the template
<apeiros_> YamakasY_: what jhass said
<jhass> the template really shouldn't do much more than pulling out the data, at most some really simple conversions
lkba has joined #ruby
<apeiros_> but it's still possible to do in one line
<jhass> like a time format
slyv has quit [Quit: My Computer has gone to sleep. ZZZzzz…]
<apeiros_> "minimal presentation logic"
whomp has joined #ruby
kenneth has joined #ruby
<YamakasY_> it is possible ? mhh
quimrstorres has quit []
pdoherty has quit [Ping timeout: 245 seconds]
Sawbones has joined #ruby
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
ta has quit [Ping timeout: 264 seconds]
slyv has joined #ruby
zzzbra has joined #ruby
quimrstorres has joined #ruby
Sawbones has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
regnartim has joined #ruby
ponga has joined #ruby
anaeem1_ has joined #ruby
Joufflu has joined #ruby
Sakens has joined #ruby
Joufflu__ has quit [Ping timeout: 245 seconds]
mic has joined #ruby
<mic> I keep getting an unidentified method "stylesheet_path" while trying to use sinatra with sprockets and sprocket_helper. Can someone give me a hand http://bit.ly/1ypAkLX
quimrstorres has quit [Remote host closed the connection]
Aova has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
zachrab has quit [Remote host closed the connection]
quimrstorres has joined #ruby
bluOxigen has joined #ruby
zachrab has joined #ruby
agit0 has joined #ruby
paradoja has joined #ruby
paradoja has left #ruby [#ruby]
fantazo has quit [Quit: Verlassend]
blackmesa has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
caveat- has quit [Ping timeout: 245 seconds]
sankaber has joined #ruby
josephndenton has joined #ruby
mynameis has quit [Quit: Leaving]
DadoCe has quit [Remote host closed the connection]
jenrzzz has joined #ruby
athan has quit [Ping timeout: 250 seconds]
Yzguy has joined #ruby
zachrab has quit [Ping timeout: 244 seconds]
athan has joined #ruby
Yzguy has quit [Client Quit]
quimrstorres has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 264 seconds]
tyfighter has joined #ruby
josephndenton has quit [Ping timeout: 245 seconds]
maximski has quit []
caveat- has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
kaspertidemann has joined #ruby
ta has joined #ruby
Pupeno_ has joined #ruby
TrOuBleStArTeR has quit [Quit: Going offline, see ya! (www.adiirc.com)]
dc_ has joined #ruby
Pupeno has quit [Ping timeout: 252 seconds]
hgl has quit [Ping timeout: 250 seconds]
sigurding has quit [Quit: sigurding]
fesotovi has quit [Read error: Connection reset by peer]
sent1nel has joined #ruby
quimrstorres has joined #ruby
hgl has joined #ruby
mic has quit []
fesotovi has joined #ruby
_5kg has quit [Ping timeout: 250 seconds]
ta has quit [Ping timeout: 245 seconds]
hmsimha has joined #ruby
sent1nel has quit [Ping timeout: 245 seconds]
quimrstorres has quit [Ping timeout: 256 seconds]
Sid05 has quit [Quit: Sid05]
Pupeno has joined #ruby
fesotovi has quit [Quit: fesotovi]
lidaaa has joined #ruby
Sid05 has joined #ruby
Pupeno_ has quit [Ping timeout: 265 seconds]
lolmaus has joined #ruby
lemur has joined #ruby
Fezzler has quit [Quit: Leaving]
tier has joined #ruby
nfk has quit [Quit: yawn]
mrmargolis has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
Sakens has quit [Ping timeout: 245 seconds]
symbol_ has joined #ruby
russt has joined #ruby
yfeldblum has joined #ruby
Sakens has joined #ruby
cpruitt has joined #ruby
whomp has quit [Quit: leaving]
centrx has quit [Quit: In the beginning there was nothing, which exploded. - Terry Pratchett]
Adran has quit [Remote host closed the connection]
symbol_ has quit [Quit: WeeChat 1.1]
Sawbones has joined #ruby
symbol_ has joined #ruby
aryaching has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tier has quit [Remote host closed the connection]
quimrstorres has joined #ruby
Sawbones has quit [Remote host closed the connection]
tiwillia has quit [Ping timeout: 245 seconds]
ta has joined #ruby
alex88 has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tiwillia has joined #ruby
aryaching has quit []
alex88 has quit [Client Quit]
alex88 has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
quimrstorres has quit [Ping timeout: 245 seconds]
it0a has joined #ruby
Sawbones has joined #ruby
nb_bez___ has joined #ruby
jottr has joined #ruby
dc_ has quit [Remote host closed the connection]
ypasmk has joined #ruby
pandaant has quit [Remote host closed the connection]
josephndenton has joined #ruby
maletor has joined #ruby
OrbitalKitten has joined #ruby
dain has joined #ruby
<dain> Hey guys, I know not ruby specific, but has anyone used Capybara?
<jhass> given how active the project still is, I guess so
SolarSailor has quit [Quit: Textual IRC Client: www.textualapp.com]
tyfighter has quit [Quit: tyfighter]
Stoge88 has joined #ruby
Sawbones has quit [Remote host closed the connection]
nb_bez___ has quit [Read error: No route to host]
<dain> I'm trying to do this thing where I have data from my database displayed on the page. In a list. Let's call it shows. I display that in the page, then use capybara to find one of the show links by name or ID and click it. Easy enough. But my problem is those shows also have episodes in my database, but for the life of me I can't get the test database to stay in sync with the main dev database. And with how Capybara
<dain> actually navigates the page im writing it like 'click_link(episode.title)' and it expects those entities to exist from the dev database (or I do rather). I'm not sure how do we mitigate this issue in the capybara world?
nb_bez___ has joined #ruby
ta has quit [Ping timeout: 250 seconds]
multi_io_ has joined #ruby
<jhass> Your tests shouldn't depend on your dev database at all
vaneda has joined #ruby
<jhass> they should prepare the test database fully
<dain> Okay, so the test database should copy the dev DB?
diegoviola has joined #ruby
<jhass> either fully on test boot up by emptying it and loading a seed file
<jhass> no
<jhass> either provide a seed file
<dain> Because Capybara looks on page for things. So if I have some data in Dev Capybara will look for it on the page, but it isn't there its only in a test. It sort of invalidates the purpose of using capybara I feel like
<dain> If I have to build up an entity that doesn't exist really
<dain> Idk, maybe Im just not looking at it right
thatslifeson has joined #ruby
<jhass> or ensure the preconditions for the test are met by inserting the right data right before the individual test
<jhass> or a mixture of those approaches
Hobogrammer has joined #ruby
marr has joined #ruby
Sawbones has joined #ruby
fantazo has joined #ruby
<jhass> "dev capybara" ?
multi_io has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
<Nilium> Capybara's are pretty swell developers.
<dain> My first time using it.. I think it's ok to not know everything Nilium ;)
jottr has quit [Ping timeout: 245 seconds]
<jhass> let's take out capybara here, I think it's actually not relevant for your problem here
<Nilium> Capybaras.
<Nilium> Fuck English.
<jhass> your issue is that your tests don't setup your application into a consistent state
<Nilium> Also I have no idea what capybara is beyond an adorable animal.
Xeago has joined #ruby
Aova has quit [Read error: Connection reset by peer]
<dain> Right jhass. agreed.
<Nilium> Looks boring.
<dain> I think I have an idea of this now
<dain> Thanks
Xeago has quit [Remote host closed the connection]
<jhass> dain: look into things like fixture_builder for the "seed on bootup" approach and things like factory_girl / fabricate for the on demand approach
dopie has joined #ruby
<jhass> and as said, a mixture of those approaches is not uncommon
<dain> Ah, okay perfect. I will take a look at those
bronson has quit [Ping timeout: 265 seconds]
<jhass> er, not fabricat, what was the name of that thing again
symbol_ has quit [Quit: WeeChat 1.1]
pika_pika has quit [Ping timeout: 245 seconds]
<jhass> fabrication it was
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
az7ar_away has quit [Read error: Connection reset by peer]
Aova has joined #ruby
_5kg has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
jack_rabbit has joined #ruby
<dain> Random aside jhass, but tangentially related: how do you feel about the concept of outside-in testing like Thoughtbot says they do? So they would write 'feature' and 'scenario' tests first in the form of user stories. Do you go that route?
<dain> Or do you just write some capybara tests to sanity check things after the code is written
<jhass> I didn't really develop a workflow for myself yet
Pupeno_ has joined #ruby
<jhass> tbh. I usually spike the code when starting a new project and add tests to it once it's in a shape I like
ponga has quit [Quit: Leaving...]
<jhass> then for adding more stuff and bug fixing I switch to TDD/BDD approaches, usually
<jhass> but I'm not stringent enough I guess
DaniG2k has joined #ruby
diegoviola has quit [Remote host closed the connection]
<dain> I'm the same way right now. It feels like a sort of fortification strategy for me, writing tests. I am definitely in the camp that writing tests first all the time isn't necessary
<dain> Perhaps can help with brainstorming though
DadoCe has joined #ruby
<jhass> I tend to write tests first if I want to design a library by defining my wanted API first for example
davidhq has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
<jhass> so, yeah
<dain> That's actually a great place to write tests first
neoxquick has quit [Ping timeout: 255 seconds]
<dain> anything you want to refine an API for
<dain> internal or external
aemeredith has quit [Remote host closed the connection]
diegoviola has joined #ruby
aemeredith has joined #ruby
aemeredith has quit [Read error: Connection reset by peer]
Jake232 has joined #ruby
Jake232 has quit [Max SendQ exceeded]
aemeredith has joined #ruby
ZoanthusR has joined #ruby
jottr has joined #ruby
bluehavana has joined #ruby
DadoCe has quit [Ping timeout: 264 seconds]
ypasmk has quit [Quit: ypasmk]
LudicrousMango has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
aemeredith has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
nolic has quit [Remote host closed the connection]
ptrrr has joined #ruby
m8 has joined #ruby
ta has joined #ruby
sigurding has joined #ruby
tunaCanBruh has joined #ruby
quimrstorres has joined #ruby
athan has quit [Ping timeout: 245 seconds]
marienz has quit [Remote host closed the connection]
kevr_ has quit [Quit: ZNC - http://znc.in]
ahegyi has quit [Remote host closed the connection]
dc_ has joined #ruby
kevr has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
<dain> Wow, most of my issues were due to the fact that when you tell capybara to 'visit' a url or path, it automatically will then expect all test database entities to be finalized. I was visiting the URL then creating a bunch of entities and then checking for existance. All I had to do was switch the order there and create them before visiting. Clearly I need a setup/teardown mechanism as you suggested that would have s
<dain> olved that from step 1
ta has quit [Ping timeout: 252 seconds]
quimrstorres has quit [Ping timeout: 255 seconds]
tunaCanBruh has quit [Ping timeout: 255 seconds]
<jhass> well, it drives a browser of some sort, it doesn't magically detect db changes and figures out whether it's okay/wanted to reload the page for sure ;)
anaeem1 has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
jack_rabbit has quit [Ping timeout: 250 seconds]
<dain> hahah right
<dain> idk what I was thinking
sigurding has quit [Quit: sigurding]
reinaldob has joined #ruby
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
lemur has quit [Read error: Connection reset by peer]
ta has joined #ruby
snath has joined #ruby
lemur has joined #ruby
<shevy> :)
<shevy> jhass are you writing more code in crystal now or more code in ruby still?
<slash_nick> Limited amounts of fun: https://gist.github.com/rthbound/3a35b9e4952e228108ac
Pharaoh2 has joined #ruby
duncannz has joined #ruby
<jhass> shevy: "now" is kinda vague. Note that I don't code as a job or so atm
<slash_nick> Script in gist loops through images provided to Expedia by hotels... the script loops through some 13000-15000 images with captions including the word "aerial"
Jackneill has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
Pharaoh2 has quit [Max SendQ exceeded]
reinaldob has quit [Ping timeout: 245 seconds]
<slash_nick> oh cool, 569 or so has a pic of the aurora borealis :)
<shevy> jhass well I don't either, last week we had to use R ... I wished I could have used ruby instead, but so many statistical tools for bioinformatics are written in R, and the plots are cute
<shevy> but R as a language annoys me
ta has quit [Ping timeout: 255 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> they love assignment through x <- c("foo","bar","bla")
<shevy> feels like the stabby proc just the other way around
jetblack has quit [Ping timeout: 256 seconds]
last_staff has quit [Quit: last_staff]
<jhass> slash_nick: bored? :P
Pupeno has joined #ruby
wldcordeiro has quit [Ping timeout: 272 seconds]
juanpablo___ has joined #ruby
<slash_nick> jhass: hahaha... lately i've been doing a lot of toying around with JS in my spare time... trying to make neat, pointless things... e.g. http://ea.rthbound.com/riot-timer-fun/ ... you could say i'm a bit bored lol
jetblack has joined #ruby
joshbamboo2 has quit [Read error: Connection reset by peer]
<jhass> learn crystal instead! :P
JyZyXEL has left #ruby [#ruby]
<slash_nick> jhass: haven't heard of it
mrmargolis has quit [Remote host closed the connection]
<jhass> crystal-lang.org
<slash_nick> ah, a ruby like dsl for c?
<jhass> new shiny language that needs its standard library filled
Pupeno_ has quit [Ping timeout: 245 seconds]
<jhass> more ruby inspired syntax
Pharaoh2 has joined #ruby
<jhass> generates native code through llvm
<slash_nick> alright... thanks jhass it's on my radar now
<jhass> written in itself, so easy to hack
snath has quit [Ping timeout: 246 seconds]
<slash_nick> in a couple of weeks when I wind down my riot fun I'm interested in trying that new react-native.. but I'll be playing with crystal before then
cpruitt has quit [Quit: cpruitt]
regnartim has quit [Ping timeout: 245 seconds]
juanpablo___ has quit [Ping timeout: 246 seconds]
marcdel has quit []
gizmore has joined #ruby
aemeredith has joined #ruby
marcdel has joined #ruby
anaeem1 has quit [Remote host closed the connection]
alex88 has quit [Remote host closed the connection]
aemeredith has quit [Read error: Connection reset by peer]
Azure has quit [Read error: Connection reset by peer]
Pupeno has quit [Read error: Connection reset by peer]
Pupeno_ has joined #ruby
athan has joined #ruby
Azure has joined #ruby
aemeredith has joined #ruby
lkba has quit [Ping timeout: 265 seconds]
pika_pika has joined #ruby
deol has joined #ruby
wallerdev has quit [Quit: wallerdev]
ta has joined #ruby
tiwillia has quit [Ping timeout: 240 seconds]
aemeredith has quit [Ping timeout: 245 seconds]
tiwillia has joined #ruby
supergiel has joined #ruby
zachrab has joined #ruby
hgl has quit [Ping timeout: 245 seconds]
adriancb has joined #ruby
pdoherty has joined #ruby
mistermocha has joined #ruby
hgl has joined #ruby
godd2 has quit [Ping timeout: 246 seconds]
benlieb has quit [Quit: benlieb]
zachrab has quit [Ping timeout: 252 seconds]
adriancb has quit [Ping timeout: 250 seconds]
ta has quit [Ping timeout: 252 seconds]
pdoherty has quit [Ping timeout: 255 seconds]
slyv has quit [Quit: Textual IRC Client: www.textualapp.com]
Aova has quit [Read error: Connection reset by peer]
Sid05 has quit [Quit: Sid05]
Sid05 has joined #ruby
jeroenvisser101 has quit [Quit: I'm off, ttyl!]
timanema has quit [Ping timeout: 245 seconds]
blackmesa has quit [Quit: WeeChat 1.1]
dain has quit [Remote host closed the connection]
blackmesa has joined #ruby
JohnBat26 has quit [Ping timeout: 264 seconds]
Sid05 has quit [Client Quit]
vaneda has quit [Quit: Computer has gone to sleep.]
Aova has joined #ruby
FooMunki_ has joined #ruby
cpruitt has joined #ruby
Joufflu has quit [Ping timeout: 245 seconds]
Sid05 has joined #ruby
rbennacer has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
Sawbones has quit [Remote host closed the connection]
ta has joined #ruby
leafybasil has joined #ruby
rbennacer has quit [Ping timeout: 245 seconds]
fantazo has quit [Quit: Verlassend]
timanema has joined #ruby
nfk has joined #ruby
gr33n7007h has quit [Quit: Leaving]
caveat- has joined #ruby
ta has quit [Ping timeout: 252 seconds]
atomi has quit [Quit: buggy win10 :\ bbiaw]
Ankhers has joined #ruby
kalusn has quit [Remote host closed the connection]
Sakens has quit [Ping timeout: 245 seconds]
Sawbones has joined #ruby
gr33n7007h has joined #ruby
ta has joined #ruby
92AAAHKXE has joined #ruby
hgl has quit [Ping timeout: 246 seconds]
quimrstorres has joined #ruby
elaptics is now known as elaptics`away
lioninawhat has quit [Remote host closed the connection]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
amystephen has joined #ruby
hgl has joined #ruby
Sawbones has quit [Ping timeout: 240 seconds]
naftilos76 has quit [Read error: Connection reset by peer]
Zai00 has joined #ruby
quimrstorres has quit [Ping timeout: 245 seconds]
Sid05 has quit [Quit: Sid05]
Sid05 has joined #ruby
snath has joined #ruby
lemur has quit [Read error: Connection reset by peer]
commmmodo has quit [Quit: commmmodo]
Sid05 has quit [Client Quit]
lemur has joined #ruby
ta_ has joined #ruby
SHyx0rmZ has quit [Remote host closed the connection]
plashchynski has quit [Quit: plashchynski]
SHyx0rmZ has joined #ruby
ta has quit [Ping timeout: 256 seconds]
FooMunki_ is now known as FooMunki
DaniG2k has quit [Quit: leaving]
ta_ has quit [Remote host closed the connection]
plashchynski has joined #ruby
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
caveat- has quit [Ping timeout: 245 seconds]
raddazong has quit [Ping timeout: 264 seconds]
max96at is now known as max96at|off
spider-mario has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
tunaCanBruh has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
mleung has joined #ruby
caveat- has joined #ruby
nobitanobi has quit [Remote host closed the connection]
universalt has joined #ruby
jimeh_ is now known as jimeh
tunaCanBruh has quit [Ping timeout: 246 seconds]
DadoCe has joined #ruby
banister has joined #ruby
Joufflu has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
Sakens has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
kalusn has joined #ruby
fcanela has quit [Quit: leaving]
alex88 has joined #ruby
Sid05 has joined #ruby
DadoCe has quit [Ping timeout: 244 seconds]
pibby has quit [Quit: leaving]
swgillespie has joined #ruby
byprdct has joined #ruby
bronson has joined #ruby
pibby has joined #ruby
alex88 has quit [Ping timeout: 255 seconds]
bronson has quit [Ping timeout: 255 seconds]
ta has joined #ruby
zachrab has joined #ruby
athan has quit [Ping timeout: 246 seconds]
mleung has quit [Quit: mleung]
nobitanobi has joined #ruby
mikecmpbll has joined #ruby
cpruitt has quit [Quit: cpruitt]
athan has joined #ruby
Sawbones has joined #ruby
Sawbones has quit [Client Quit]
ta has quit [Ping timeout: 252 seconds]
Channel6 has quit [Quit: Leaving]
cpruitt has joined #ruby
zachrab has quit [Ping timeout: 265 seconds]
jetblack_ has joined #ruby
snath has quit [Ping timeout: 245 seconds]
Aova has quit [Read error: Connection reset by peer]
plashchynski has quit [Quit: plashchynski]
jetblack has quit [Ping timeout: 244 seconds]
mleung has joined #ruby
plashchynski has joined #ruby
Sawbones has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
caveat- has quit [Ping timeout: 245 seconds]
nb_bez___ has quit [Quit: Connection closed for inactivity]
Aova has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
pika_pika has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
Neomex has quit [Quit: Leaving]
juanpablo___ has joined #ruby
ptrrr has quit [Quit: ptrrr]
tiwillia has quit [Ping timeout: 250 seconds]
codecop has quit [Remote host closed the connection]
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 272 seconds]
tiwillia has joined #ruby
nisstyre has joined #ruby
nisstyre has quit [Changing host]
function90 has quit [Quit: Textual IRC Client: www.textualapp.com]
jottr has joined #ruby
caveat- has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
ta has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
lxsameer has quit [Quit: Leaving]
juanpablo___ has quit [Ping timeout: 264 seconds]
mleung has quit [Quit: mleung]
lioninawhat has joined #ruby
<gr33n7007h> Can timeout handle milliseconds?
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gr33n7007h> I guess not
ta has quit [Ping timeout: 252 seconds]
plashchynski has quit [Quit: plashchynski]
<jhass> gr33n7007h: watcha using timeout for?
ta has joined #ruby
<gr33n7007h> to see a ports state
josephndenton has quit [Ping timeout: 245 seconds]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobitanobi has quit [Remote host closed the connection]
<jhass> http://blog.headius.com/2008/02/ruby-threadraise-threadkill-timeoutrb.html is worth a read if you're using timeout stdlib
plashchynski has joined #ruby
<gr33n7007h> ok, cool gonna take a look now thanks jhass
Stoge88 has joined #ruby
quimrstorres has joined #ruby
deol has joined #ruby
regnartim has joined #ruby
enterprisedc has quit [Quit: enterprisedc]
nobitanobi has joined #ruby
enterprisedc has joined #ruby
crazydiamond has joined #ruby
quimrstorres has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
universalt has quit [Ping timeout: 246 seconds]
benlieb has joined #ruby
mbwe2 has quit [Quit: WeeChat 0.4.2]
sankaber has joined #ruby
timanema has quit [Ping timeout: 255 seconds]
ta_ has quit [Ping timeout: 252 seconds]
timanema has joined #ruby
Sawbones has quit [Remote host closed the connection]
pkrzywicki_ has quit [Remote host closed the connection]
Sawbones has joined #ruby
mbwe has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
ninedragon is now known as antidragon
antidragon is now known as ninedragon
Adran has joined #ruby
Pharaoh2_ has joined #ruby
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eka has joined #ruby
eka has quit [Client Quit]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sankaber has quit [Read error: Connection reset by peer]
Sawbones has quit [Ping timeout: 252 seconds]
Takle has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
ptrrr has joined #ruby
sankaber has joined #ruby
Pharaoh2 has quit [Ping timeout: 256 seconds]
kirun has quit [Quit: Client exiting]
duncannz has quit [Ping timeout: 252 seconds]
ych4k3r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
caveat- has joined #ruby
LudicrousMango has quit [Remote host closed the connection]
Jake232 has joined #ruby
ta has quit [Remote host closed the connection]
duncannz has joined #ruby
razieliyo has joined #ruby
plashchynski has quit [Quit: plashchynski]
Takle has quit [Ping timeout: 264 seconds]
sankaber has quit [Client Quit]
benlieb has quit [Quit: benlieb]
nolic has joined #ruby
graft is now known as Guest5701
eka has joined #ruby
Guest56910 is now known as Apocalypse
Apocalypse has joined #ruby
Apocalypse has quit [Changing host]
mleung has joined #ruby
mleung has quit [Client Quit]
tiwillia has quit [Ping timeout: 264 seconds]
scripore has joined #ruby
crazydiamond has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
agrinb has quit [Read error: Connection reset by peer]
agrinb has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
jack_rabbit has joined #ruby
cpruitt has quit [Quit: cpruitt]
pdoherty has joined #ruby
tiwillia has joined #ruby
deol has joined #ruby
lioninawhat has quit [Remote host closed the connection]
ta has joined #ruby
djapo has joined #ruby
<djapo> where does bundler install packages by default
<djapo> ?
einarj has quit [Remote host closed the connection]
<shevy> can someone explain why this fails http://pastie.org/9879175
<shevy> method.rb:13: syntax error, unexpected { arg, expecting end-of-input
<shevy> Foo[] { 'foo' }
<shevy> hmmm
<timanema> djapo: without rvm?
riotjone_ has joined #ruby
pdoherty has quit [Ping timeout: 245 seconds]
<timanema> shevy: what are you trying to do with the line oo[] { 'foo' }
<shevy> timanema I try to pass a block
<shevy> to []
<timanema> shevy: should you be doing Foo.new {'foo'} thouhg?
<shevy> Foo.new works fine
Aova has quit [Read error: Connection reset by peer]
<timanema> shevy: okay but in your code you are yielding to a block in initialize
riotjones has quit [Ping timeout: 264 seconds]
<djapo> timanema: i normally try bundle install --path ../bundle
robbyoconnor has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 264 seconds]
<shevy> nah timanema it errors
<djapo> but i accidently did just bundle and installed a bunch of shtuff
<shevy> the parser does not understand it; I am trying to find out why
<shevy> it's a set back for me because I thought I could use [] rather than .new but they are not equivalent from the parser alone :(
bronson has joined #ruby
<timanema> okay shevy gimme a few to try it all out on my system
sandshark_ has quit [Ping timeout: 265 seconds]
robbyoconnor has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<timanema> djapo: try echo $BUNDLE_PATH
OrbitalKitten has joined #ruby
Meeh has quit [Read error: Connection reset by peer]
<Radar> djapo: `bundle env` should tell you.
Aova has joined #ruby
Meeh has joined #ruby
<djapo> timanema: not set, well when i update ruby do all of my old gems not work with the new ruby? i have a .gem/ruby/ with diffrent versions folders there and every time i update it feels like i have to install all my old gems
<djapo> Radar: thaanks
dspangen1erg has quit [Ping timeout: 264 seconds]
bronson has quit [Ping timeout: 265 seconds]
russt has quit [Quit: russt]
maletor has quit [Quit: Computer has gone to sleep.]
m8 has quit [Quit: Sto andando via]
zachrab has joined #ruby
nobitanobi has quit [Remote host closed the connection]
zachrab has quit [Ping timeout: 245 seconds]
ptrrr has quit [Quit: ptrrr]
kaspertidemann has quit []
sivam has quit [Quit: Leaving.]
astrobunny has joined #ruby
hiyosi has joined #ruby
tkuchiki has joined #ruby
quimrstorres has joined #ruby
nolic has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
__chris has joined #ruby
Zai00 has quit [Quit: Zai00]
fijimunkii has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
<Nowaker> x = Blah.first; val = x ? x.foo : 'default' <- any 'cleaner' approach for this?
<Nowaker> In Rubish Groovy it'd be val = x?.foo ||= 'default' ;)
quimrstorres has quit [Ping timeout: 264 seconds]
<crome_> how about you check the size of the array first?
<crome_> keeps it nice and obvious
<Nowaker> crome_: show me the exact code
tunaCanBruh has quit [Ping timeout: 245 seconds]
timanema has quit [Ping timeout: 250 seconds]
<banister> Nowaker: i dont think that groovy code is equivalent
<banister> Nowaker what if x.foo returns nil?
gr33n7007h has quit [Quit: Leaving]
jottr_ has joined #ruby
<crome_> val = 'default'; val = x.first.foo if x.any?
<crome_> after a second thought
<crome_> I mean
<crome_> Blah
shum has quit [Quit: WeeChat 1.1.1]
AlSquire has quit [Quit: This computer has gone to sleep]
shum has joined #ruby
<Nowaker> banister:
bjonnh has joined #ruby
<Nowaker> banister: soft of equivalent. (not 100%)
<Nowaker> sort*
<Nowaker> I know that in my case it just won't return nil
<banister> Nowaker well if you want something equivalent to that groovy code and you're using rails, you can do: val = x.try(:foo) || 'default'
bjonnh has quit [Quit: WeeChat 1.0.1]
shum has quit [Client Quit]
<Nowaker> gotcha, it's been a long time since I last did rails coding
<Nowaker> so yeah, try is gonna be the best bet, thanks banister
shum has joined #ruby
Musashi007 has joined #ruby
Takle has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
<crome_> uh oh, #try is horrible
Sawbones has joined #ruby
jgt has quit [Ping timeout: 245 seconds]
gr33n7007h has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
tkuchiki has joined #ruby
Pharaoh2_ is now known as Pharaoh2
apeiros_ has joined #ruby
Sawbones has quit [Ping timeout: 256 seconds]
kalusn has quit [Remote host closed the connection]
caveat- has joined #ruby
Channel6 has joined #ruby
lemur has quit [Remote host closed the connection]
nobitanobi has joined #ruby
FooMunki has quit [Quit: FooMunki]
ta has joined #ruby