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
cjim_ has quit [Quit: (null)]
krisquigley has joined #ruby
tyfighter has joined #ruby
n80 has joined #ruby
jobewan has quit [Quit: Leaving]
tds5016 has left #ruby [#ruby]
crueber has quit [Quit: Leaving.]
triple_b has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
<musl> tds501: well, there are syslog gems, and if you have to shell out the binary is called 'logger'.
<musl> (on most unixy systems)
Solnse has quit [Quit: Page closed]
krisquigley has quit [Ping timeout: 246 seconds]
lmickh has quit [Remote host closed the connection]
juanpablo_ has quit [Quit: (null)]
juanpablo_ has joined #ruby
stunder has quit [Read error: Connection reset by peer]
deol has joined #ruby
danzilio has quit []
zachrab has quit [Remote host closed the connection]
danzilio has joined #ruby
zachrab has joined #ruby
qba73 has quit [Remote host closed the connection]
x1337807x has quit [Ping timeout: 264 seconds]
bogeyd6 has joined #ruby
rbennacer has joined #ruby
weaksauce has joined #ruby
DadoCe has quit [Remote host closed the connection]
n80 has quit [Quit: n80]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lemur has quit []
baweaver has joined #ruby
juanpablo_ has quit [Ping timeout: 250 seconds]
nunayerB_ has quit []
AlexRussia has joined #ruby
AlexRussia has quit [Changing host]
AlexRussia has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
x1337807x has joined #ruby
zachrab has quit [Ping timeout: 250 seconds]
uptownhr has quit [Quit: uptownhr]
Rollabunna has joined #ruby
prereflect has joined #ruby
riotjones has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
metadave has joined #ruby
leafybasil has quit [Remote host closed the connection]
jottr has joined #ruby
Narzew has quit [Ping timeout: 240 seconds]
zacstewart has joined #ruby
leafybasil has joined #ruby
duncannz has quit [Ping timeout: 244 seconds]
triple_b has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
_2_bonita has joined #ruby
EvanFreeman has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
n80 has joined #ruby
multi_io_ has joined #ruby
metadave has quit [Client Quit]
prereflect has quit [Remote host closed the connection]
Aova has joined #ruby
<_2_bonita> hola:)
Cadillactica has quit [Quit: Cadillactica]
lrocknrolmarc has joined #ruby
rocknrollmarc has joined #ruby
nobitanobi has quit [Remote host closed the connection]
danzilio_ has joined #ruby
_2_bonita has quit [Client Quit]
banister has quit [Ping timeout: 250 seconds]
danzilio_ has quit [Client Quit]
multi_io has quit [Ping timeout: 250 seconds]
nobitanobi has joined #ruby
prereflect has joined #ruby
danzilio_ has joined #ruby
zachrab has joined #ruby
prereflect has quit [Client Quit]
EvanFreeman has quit [Ping timeout: 244 seconds]
lrocknrolmarc has quit [Ping timeout: 244 seconds]
rocknrollmarc has quit [Ping timeout: 244 seconds]
rbennacer has quit [Remote host closed the connection]
reinaldob has quit [Remote host closed the connection]
danzilio_ has quit [Client Quit]
danzilio_ has joined #ruby
danzilio_ has quit [Client Quit]
Soda has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
duncannz has joined #ruby
xaxisx has joined #ruby
cjim_ has joined #ruby
oo_ has joined #ruby
penzur has joined #ruby
Channel6 has joined #ruby
oo_ has quit [Remote host closed the connection]
perturbation has joined #ruby
OrbitalKitten has joined #ruby
AllanEspinosa has joined #ruby
zachrab has quit [Remote host closed the connection]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_ixti_ has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
x77686d has quit [Quit: x77686d]
blackmes1 has quit [Ping timeout: 252 seconds]
_ixti_ has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
IrishGringo has joined #ruby
p3ery has joined #ruby
delianides has joined #ruby
pengin has quit [Remote host closed the connection]
bayed has quit [Quit: Connection closed for inactivity]
shum has joined #ruby
triple_b has joined #ruby
pengin has joined #ruby
jerematic has joined #ruby
Ellypse has joined #ruby
n80 has quit [Quit: n80]
arescorpio has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
sankaber has joined #ruby
arescorpio has quit [Max SendQ exceeded]
zachrab has joined #ruby
Hijiri has quit [Quit: jawifjaifhseirlughaelfiuanlfauewfh]
delianides has quit [Ping timeout: 245 seconds]
pengin has quit [Ping timeout: 250 seconds]
zachrab has quit [Remote host closed the connection]
jerematic has quit [Ping timeout: 252 seconds]
icarus has quit [Quit: leaving]
SOLDIERz has joined #ruby
danjordan_ has joined #ruby
pauly_oc has joined #ruby
tkuchiki has joined #ruby
lioninawhat has quit [Remote host closed the connection]
danjordan has quit [Ping timeout: 245 seconds]
danjordan_ is now known as danjordan
tunaCanBruh has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
zacstewart has quit [Ping timeout: 250 seconds]
zachrab has joined #ruby
mjwhitta has joined #ruby
arescorpio has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
Renich has quit [Quit: leaving]
zachrab has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
Hijiri has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
PanzerModern has quit [Remote host closed the connection]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mjwhitta has left #ruby [#ruby]
_maes_ has quit [Ping timeout: 250 seconds]
SOLDIERz has quit [Ping timeout: 256 seconds]
tyfighter has quit [Quit: tyfighter]
tyfighter has joined #ruby
silkfox has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davidhq has joined #ruby
robbyoconnor has joined #ruby
iamninja has joined #ruby
blizzy has joined #ruby
mrmargolis has joined #ruby
Alina-malina has joined #ruby
pdoherty has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
razieliyo has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
athan has joined #ruby
pdoherty has quit [Ping timeout: 255 seconds]
zachrab has joined #ruby
pico-pete has quit []
greenbagels has joined #ruby
dotix has joined #ruby
marr has quit [Ping timeout: 240 seconds]
Aova has quit [Read error: Connection reset by peer]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DadoCe has joined #ruby
atomi has quit [Quit: tmux is acting up brb]
nobitanobi has quit [Remote host closed the connection]
sinkensabe has joined #ruby
dotix has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
cjim_ has quit [Quit: (null)]
tyfighter has quit [Quit: tyfighter]
Troy^ has joined #ruby
DadoCe has quit [Ping timeout: 250 seconds]
Aova has joined #ruby
Mia has quit [Read error: Connection reset by peer]
iliketurtles has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 240 seconds]
livingstn has joined #ruby
ponga has joined #ruby
<shevy> dumdedum
Troy^ has quit [Client Quit]
Troy^ has joined #ruby
banister has joined #ruby
zachrab has quit [Remote host closed the connection]
athan has quit [Read error: Connection timed out]
squar1sm has quit [Ping timeout: 245 seconds]
uptownhr has joined #ruby
baweaver has quit [Remote host closed the connection]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baroquebobcat has joined #ruby
baweaver has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
tyfighter has joined #ruby
nb_bez___ has joined #ruby
athan has joined #ruby
Kache4 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
sambao21 has quit [Ping timeout: 240 seconds]
jhebden has quit [Ping timeout: 252 seconds]
Channel6 has quit [Quit: Leaving]
tkuchiki has joined #ruby
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby
nobitanobi has joined #ruby
athan has quit [Read error: Connection reset by peer]
deconfigured has joined #ruby
yfeldblu_ has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
commmmodo has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
athan has joined #ruby
Takle has quit [Remote host closed the connection]
deconfigured has quit [Ping timeout: 256 seconds]
elsimate has joined #ruby
Sid05 has joined #ruby
oo_ has quit [Remote host closed the connection]
sambao21 has joined #ruby
n80 has joined #ruby
oo_ has joined #ruby
elsimate has quit [Remote host closed the connection]
knut has joined #ruby
tunaCanBruh has quit [Ping timeout: 244 seconds]
jottr has quit [Ping timeout: 264 seconds]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
mjwhitta has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
Aswebb_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
jhebden has joined #ruby
krisquigley has joined #ruby
tyfighter has quit [Quit: tyfighter]
josephndenton has joined #ruby
cmckee has joined #ruby
freerobby has joined #ruby
Kricir has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Aswebb_ has quit [Ping timeout: 245 seconds]
freerobby has quit [Client Quit]
tjohnson has quit [Quit: Connection closed for inactivity]
snath has quit [Ping timeout: 245 seconds]
perturbation has quit [Quit: back later]
krisquigley has quit [Ping timeout: 240 seconds]
SOLDIERz has joined #ruby
bricker has quit [Quit: leaving]
josephndenton has quit [Ping timeout: 250 seconds]
kayloos has joined #ruby
triple_b has joined #ruby
Deithrian has quit [Ping timeout: 264 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_ixti_ has quit [Quit: WeeChat 1.0.1]
kalusn has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
kayloos has quit [Remote host closed the connection]
OrbitalKitten has joined #ruby
kalusn has joined #ruby
snath has joined #ruby
penzur has quit [Remote host closed the connection]
penzur has joined #ruby
penzur has quit [Read error: Connection reset by peer]
robustus has quit [Ping timeout: 264 seconds]
LudicrousMango has joined #ruby
SOLDIERz has quit [Ping timeout: 256 seconds]
robustus|Off has joined #ruby
robustus|Off is now known as robustus
riotjones has joined #ruby
mrmargolis has quit [Remote host closed the connection]
kalusn has quit [Ping timeout: 245 seconds]
Channel6 has joined #ruby
cmckee has quit [Quit: cmckee]
riotjones has quit [Ping timeout: 245 seconds]
recurrence has quit [Quit: recurrence]
mib_mib has joined #ruby
codeFiend has joined #ruby
dc has joined #ruby
Vile` has quit [Ping timeout: 245 seconds]
codeFiend is now known as aeontech
fandi has quit [Read error: Connection reset by peer]
<mib_mib> hi - using ruby 2.1 - i have a method like : def mymethod(arg1, argkey: ['default1','default2'], &blk) ... end, and when i try to call it with a block, the blk param is always nil - is this a symptom of how i'm using named params?
mjwhitta has quit [Quit: leaving]
icbm has quit [Quit: Leaving]
amclain has joined #ruby
atomi has joined #ruby
dc has quit [Remote host closed the connection]
<mib_mib> scratch that, it was me missing an 'end' basically and it being interpreted wrong
Vile` has joined #ruby
Aova has quit [Read error: Connection reset by peer]
DadoCe has joined #ruby
jhebden has quit [Ping timeout: 264 seconds]
hamakn has joined #ruby
baweaver has quit [Remote host closed the connection]
tvw has quit []
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
sinkensabe has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
Aova has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
DadoCe has quit [Ping timeout: 264 seconds]
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
deric_skibotn has quit [Ping timeout: 252 seconds]
ninjazach has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
sinkensabe has quit [Ping timeout: 250 seconds]
hamakn has joined #ruby
mroach has joined #ruby
lethjakm1 has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
blackoperat has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
cpt_yossarian has quit [Read error: Connection reset by peer]
CpuID2 has joined #ruby
CpuID2 has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
lethjakm1 has quit [Ping timeout: 246 seconds]
hamakn_ has quit [Read error: Connection reset by peer]
cmckee has joined #ruby
hamakn has joined #ruby
iliketurtles has joined #ruby
danzilio has quit [Quit: baiiiii!]
perturbation has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
vozcelik has joined #ruby
blackoperat has quit [Quit: blackoperat]
silkfox has quit [Ping timeout: 252 seconds]
hamakn has quit [Read error: Connection reset by peer]
blackoperat has joined #ruby
hamakn has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
blackoperat has quit [Client Quit]
Musashi007 has joined #ruby
blackoperat has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
mib_mib has quit [Ping timeout: 246 seconds]
jerematic has joined #ruby
checkit has quit [Ping timeout: 264 seconds]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
pengin has joined #ruby
nii236|irssi has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
ARCADIVS has quit [Quit: ARCADIVS]
hamakn has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
jerematic has quit [Ping timeout: 240 seconds]
hamakn has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
joufflu has joined #ruby
hamakn has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
zzzbra has quit [Ping timeout: 255 seconds]
nobitanobi has quit []
athan has quit [Quit: No Ping reply in 180 seconds.]
recurrence has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
lethjakm1 has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
athan has joined #ruby
perturbation has quit [Ping timeout: 250 seconds]
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
lampd1 has joined #ruby
Takle has quit [Ping timeout: 252 seconds]
hamakn_ has quit [Read error: Connection reset by peer]
bdamos has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hamakn has joined #ruby
uptownhr has quit [Quit: uptownhr]
danzilio has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
uptownhr has joined #ruby
scripore has joined #ruby
hamakn has joined #ruby
danzilio has quit [Max SendQ exceeded]
lethjakm1 has quit [Ping timeout: 265 seconds]
zenith_ has joined #ruby
danzilio has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
pengin has quit [Remote host closed the connection]
hamakn has joined #ruby
fedalto has joined #ruby
Deele has quit [Ping timeout: 245 seconds]
cpt_yossarian has joined #ruby
athan has quit [Ping timeout: 256 seconds]
hamakn has quit [Read error: Connection reset by peer]
hamakn_ has joined #ruby
hamakn has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
athan has joined #ruby
kapil__ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
Hijiri has quit [Ping timeout: 240 seconds]
jhebden has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
krz has joined #ruby
CpuID2 has joined #ruby
zenith_ has quit [Ping timeout: 245 seconds]
hamakn_ has quit [Read error: Connection reset by peer]
xaxisx has quit [Ping timeout: 252 seconds]
nii236|irssi has quit [Quit: leaving]
hamakn has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
uptownhr has quit [Quit: uptownhr]
hmsimha has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
einarj has joined #ruby
jhebden has quit [Ping timeout: 255 seconds]
vozcelik has quit [Ping timeout: 244 seconds]
perturbation has joined #ruby
tyfighter has joined #ruby
lethjakm1 has joined #ruby
graydot has quit [Quit: graydot]
einarj has quit [Ping timeout: 255 seconds]
SOLDIERz has joined #ruby
Hijiri has joined #ruby
mathstuf has joined #ruby
athan has quit [Ping timeout: 245 seconds]
<mathstuf> hi, i have two stdout streams from Open3.popen; what is the best way to merge both together into a single stream (one after another)?
mitchellhenke has joined #ruby
lethjakm1 has quit [Ping timeout: 245 seconds]
blackoperat has quit [Ping timeout: 256 seconds]
towski_ has quit [Remote host closed the connection]
mathstuf has quit [Read error: Connection reset by peer]
Kricir has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
dc has joined #ruby
kp666 has joined #ruby
danmanstx has joined #ruby
penzur has joined #ruby
pdoherty has joined #ruby
penzur has quit [Read error: Connection reset by peer]
penzur has joined #ruby
danzilio has quit [Quit: baiiiii!]
penzur has quit [Read error: Connection reset by peer]
mathstuf has joined #ruby
livingstn has quit []
SOLDIERz has quit [Ping timeout: 250 seconds]
penzur has joined #ruby
Kricir has joined #ruby
penzur has quit [Read error: Connection reset by peer]
jhebden has joined #ruby
Troy^ has joined #ruby
penzur has joined #ruby
penzur has quit [Read error: Connection reset by peer]
hmsimha has quit [Ping timeout: 252 seconds]
penzur has joined #ruby
penzur has quit [Read error: Connection reset by peer]
knut has quit [Ping timeout: 255 seconds]
pdoherty has quit [Ping timeout: 250 seconds]
hmsimha has joined #ruby
phutchins has quit [Ping timeout: 252 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
lethjakm1 has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dimaursu16 has quit [Ping timeout: 255 seconds]
danmanstx has quit [Ping timeout: 245 seconds]
Aova has quit [Read error: Connection reset by peer]
oleo is now known as Guest14469
oleo__ has joined #ruby
lethjakm1 has quit [Ping timeout: 246 seconds]
tyfighter has quit [Quit: tyfighter]
mathstuf has left #ruby [#ruby]
Guest14469 has quit [Ping timeout: 265 seconds]
selaruvich has joined #ruby
sinkensabe has joined #ruby
wallerdev has joined #ruby
athan has joined #ruby
Aova has joined #ruby
swgillespie has joined #ruby
nii236|irssi has joined #ruby
StreetlampSalad has joined #ruby
lightstalker has joined #ruby
Musashi007 has quit [Quit: Musashi007]
sinkensabe has quit [Ping timeout: 252 seconds]
Kricir has quit [Remote host closed the connection]
ItSANgo_ has quit [Quit: Leaving...]
Kricir has joined #ruby
Sid05 has quit [Quit: Sid05]
krz has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
EvanFreeman has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
commmmodo has quit [Quit: commmmodo]
lrocknrolmarc has joined #ruby
rocknrollmarc has joined #ruby
goshdarnyou has joined #ruby
Kricir has quit [Ping timeout: 256 seconds]
nii236|irssi has quit [Ping timeout: 252 seconds]
jhebden has quit [Ping timeout: 255 seconds]
marcdel has joined #ruby
lethjakm1 has joined #ruby
fmcgeough has joined #ruby
oo_ has quit [Remote host closed the connection]
amystephen has quit [Ping timeout: 244 seconds]
mbrumbelow has joined #ruby
rbennacer has quit [Ping timeout: 252 seconds]
EvanFreeman has quit [Ping timeout: 244 seconds]
fedalto has quit [Quit: leaving]
rocknrollmarc has quit [Ping timeout: 250 seconds]
lrocknrolmarc has quit [Ping timeout: 264 seconds]
selaruvich has quit [Ping timeout: 244 seconds]
lethjakm1 has quit [Ping timeout: 252 seconds]
_djbkd has quit [Read error: Connection reset by peer]
triple_b has joined #ruby
fmcgeough has quit [Ping timeout: 264 seconds]
m00zy has joined #ruby
<m00zy> hi
BigRonnieRon has joined #ruby
<m00zy> I have following code using mechanize to post form auth and to download the file - http://pastie.org/9891086
Aswebb_ has joined #ruby
<m00zy> my problem is it dies on first entry from CSV and doesn't go ahead anymore with other entries
hmsimha has quit [Ping timeout: 252 seconds]
<m00zy> it dies because first entry in CSV is not accessible
<m00zy> I would like to ignore this and continue with other entries from the csv
jenrzzz has quit [Ping timeout: 264 seconds]
n008f4g_ has quit [Ping timeout: 240 seconds]
lampd1 has quit [Remote host closed the connection]
<m00zy> the error is: `rescue in connection_for': connection refused: 10.101.165.25:80 (Net::HTTP::Persistent::Error)
<diegoviola> I need to parse some files that have tabular data, like columns of data with tabs
<diegoviola> how do I go into doing this please?
krisquigley has joined #ruby
lioninawhat has joined #ruby
ajaiswal has joined #ruby
Aswebb_ has quit [Ping timeout: 252 seconds]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nb_bez___ has quit [Quit: Connection closed for inactivity]
krisquigley has quit [Ping timeout: 246 seconds]
Wolland has joined #ruby
Wolland has quit [Client Quit]
lethjakm1 has joined #ruby
totimkopf has quit [Read error: Connection reset by peer]
tmtwd has joined #ruby
neersighted has quit [Quit: Updating details, brb]
neersighted has joined #ruby
mikepack has quit [Remote host closed the connection]
neersighted has quit [Client Quit]
neersighted has joined #ruby
selaruvich has joined #ruby
lethjakm1 has quit [Ping timeout: 245 seconds]
Musashi007 has joined #ruby
Lemur has joined #ruby
adriancb has joined #ruby
pwnz0r has joined #ruby
sindork has quit [Ping timeout: 265 seconds]
riotjones has joined #ruby
seanmarcia has quit [Ping timeout: 265 seconds]
rbennacer has joined #ruby
Hijiri has quit [Ping timeout: 246 seconds]
brixen has quit [Ping timeout: 246 seconds]
krz has joined #ruby
ItSANgo has joined #ruby
DanKnox has quit [Ping timeout: 252 seconds]
SirFunk has quit [Ping timeout: 272 seconds]
Kovensky has quit [Ping timeout: 264 seconds]
blackoperat has joined #ruby
sptq has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby
Gnubie_ has quit [Ping timeout: 264 seconds]
astrobunny has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 264 seconds]
CpuID2 has quit [Quit: This computer has gone to sleep]
commmmodo has joined #ruby
jenrzzz has joined #ruby
rbennacer has quit [Remote host closed the connection]
x77686d has joined #ruby
lethjakm1 has joined #ruby
blackoperat has quit [Quit: blackoperat]
tus has quit []
yosafbridge has quit [Ping timeout: 252 seconds]
DEA7TH has quit [Ping timeout: 246 seconds]
crdpink has joined #ruby
SOLDIERz has joined #ruby
braincrash has quit [Quit: bye bye]
astrobunny has joined #ruby
dixie__ has joined #ruby
<dixie__> Hello, World!
zzzbra has joined #ruby
lethjakm1 has quit [Ping timeout: 245 seconds]
Guest46487 has quit [Ping timeout: 264 seconds]
Lorn has quit [Ping timeout: 256 seconds]
xybre has quit [Ping timeout: 245 seconds]
phutchins has joined #ruby
braincrash has joined #ruby
seanmarcia has joined #ruby
Gnubie_ has joined #ruby
yosafbridge has joined #ruby
mitchellhenke has joined #ruby
<selaruvich> dixie__
SirFunk has joined #ruby
<selaruvich> puts "Hello World"
sptq has joined #ruby
mumblerit has joined #ruby
DanKnox has joined #ruby
<dixie__> selaruvich: yes?
xybre has joined #ruby
brixen has joined #ruby
mumblerit is now known as Guest23651
soxet has quit [Ping timeout: 252 seconds]
sindork has joined #ruby
Lorn has joined #ruby
JoshGlzBrk has joined #ruby
<selaruvich> how are you dixie__
Kovensky has joined #ruby
Wolland has joined #ruby
enterprisedc has quit [Quit: enterprisedc]
sudog has quit [Ping timeout: 250 seconds]
SOLDIERz has quit [Ping timeout: 245 seconds]
phutchins has quit [Ping timeout: 240 seconds]
enterprisedc has joined #ruby
<dixie__> selaruvich: fantastic. yourself?
uptownhr has joined #ruby
arescorpio has quit [Excess Flood]
Sawbones has joined #ruby
Aova has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
<selaruvich> alright yo
astrobunny has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
dimaursu16 has joined #ruby
Cache_Money has joined #ruby
pwnz0r has quit [Remote host closed the connection]
lethjakm1 has joined #ruby
anaeem1_ has joined #ruby
sinkensabe has joined #ruby
Aova has joined #ruby
cjim_ has joined #ruby
_djbkd has joined #ruby
davedev2_ has joined #ruby
startupality has quit [Quit: startupality]
jerematic has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
StreetlampSalad has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 246 seconds]
vdamewood has joined #ruby
_djbkd has quit [Client Quit]
anaeem1 has joined #ruby
yosafbridge has quit [Ping timeout: 245 seconds]
tyfighter has joined #ruby
lethjakm1 has quit [Ping timeout: 252 seconds]
selaruvich has quit [Ping timeout: 250 seconds]
sinkensabe has quit [Ping timeout: 264 seconds]
lioninawhat has quit [Quit: Leaving...]
shum has quit [Quit: WeeChat 1.1.1]
soxet has joined #ruby
x77686d has quit [Quit: x77686d]
p3ery has quit [Quit: (null)]
jerematic has quit [Ping timeout: 265 seconds]
longfeet has quit [Ping timeout: 244 seconds]
lioninawhat has joined #ruby
towski_ has joined #ruby
piotrj has joined #ruby
waynerade has joined #ruby
oo_ has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
lethjakm1 has joined #ruby
Hijiri has joined #ruby
oo_ has quit [Ping timeout: 250 seconds]
philwantsfish has joined #ruby
dixie__ has quit [Ping timeout: 255 seconds]
scripore has quit [Quit: This computer has gone to sleep]
StreetlampSalad has joined #ruby
lethjakm1 has quit [Ping timeout: 250 seconds]
n80 has quit [Quit: n80]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
sinequanon has joined #ruby
scripore has joined #ruby
tubuliferous has quit [Read error: Connection reset by peer]
cjim_ has quit [Read error: Connection reset by peer]
cjim__ has joined #ruby
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
tyfighter has quit [Quit: tyfighter]
Musashi007 has quit [Quit: Musashi007]
craigp has quit [Remote host closed the connection]
zacstewart has quit [Remote host closed the connection]
oo_ has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
cmckee has quit [Quit: cmckee]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
uptownhr has quit [Quit: uptownhr]
Ivision has joined #ruby
astrobunny has joined #ruby
piotrj has quit [Ping timeout: 245 seconds]
lethjakm1 has joined #ruby
apurcell has quit [Quit: Be back later ...]
piotrj has joined #ruby
StreetlampSalad has quit []
uptownhr has joined #ruby
astrobunny has quit [Ping timeout: 245 seconds]
lethjakm1 has quit [Ping timeout: 265 seconds]
thatslifeson has joined #ruby
x1337807x has joined #ruby
apurcell has joined #ruby
aapole has quit [Ping timeout: 255 seconds]
jefus has quit [Ping timeout: 255 seconds]
krz has quit [Quit: WeeChat 1.0.1]
oo_ has quit [Remote host closed the connection]
piotrj has quit [Read error: Connection reset by peer]
<blizzy> so, when I have ruby classes, it'll say something like #<FooBar:0x204af28>. Python has __unicode__, to make it read better. is there something like that for Ruby?
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
Megtastique has joined #ruby
piotrj has joined #ruby
apurcell has quit [Ping timeout: 265 seconds]
iamninja has quit [Quit: ZZZzzz…]
Megtastique has quit [Client Quit]
jefus has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deol has joined #ruby
pdoherty has joined #ruby
mbrumbelow has quit [Quit: mbrumbelow]
Megtastique has joined #ruby
lethjakm1 has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
SOLDIERz has joined #ruby
uptownhr has quit [Quit: uptownhr]
tunaCanBruh has joined #ruby
vdamewood has quit [Read error: Connection reset by peer]
vdamewood has joined #ruby
pdoherty has quit [Ping timeout: 265 seconds]
oo_ has joined #ruby
lethjakm1 has quit [Ping timeout: 264 seconds]
Aova has quit [Read error: Connection reset by peer]
piotrj has quit [Read error: Connection reset by peer]
Kovensky has quit [Quit: ZNC - http://znc.in]
Kovensky has joined #ruby
russt_ has joined #ruby
<work_op> are there any gems for pattern matching strings that dont involve regex?
yosafbridge has joined #ruby
SOLDIERz has quit [Ping timeout: 250 seconds]
uptownhr has joined #ruby
Aova has joined #ruby
piotrj has joined #ruby
sinkensabe has joined #ruby
pardusf has quit []
BigRonnieRon has quit [Quit: Textual IRC Client: www.textualapp.com]
parduse has joined #ruby
yosafbridge has quit [Ping timeout: 256 seconds]
adriancb has quit [Remote host closed the connection]
Rollabunna has quit [Remote host closed the connection]
Aswebb_ has joined #ruby
sinkensabe has quit [Ping timeout: 240 seconds]
krisquigley has joined #ruby
Sid05 has joined #ruby
d3v- has quit [Ping timeout: 264 seconds]
sinequanon has quit [Remote host closed the connection]
Aswebb_ has quit [Ping timeout: 252 seconds]
Sid05 has quit [Client Quit]
Musashi007 has joined #ruby
krisquigley has quit [Ping timeout: 245 seconds]
marcdel has quit []
oo_ has quit [Remote host closed the connection]
russt_ has quit [Quit: russt_]
oo_ has joined #ruby
mikepack has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
lampd1 has joined #ruby
echevemaster has quit [Read error: Connection reset by peer]
mikepack has quit [Ping timeout: 246 seconds]
tmtwd has quit [Remote host closed the connection]
lampd1 has quit [Ping timeout: 245 seconds]
Megtastique has quit []
jlast has joined #ruby
zacstewart has joined #ruby
jlast_ has joined #ruby
waynerade has quit [Ping timeout: 244 seconds]
sinequanon has joined #ruby
mikepack has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
cjim__ has quit [Quit: (null)]
lioninawhat has quit [Remote host closed the connection]
jlast_ has quit [Ping timeout: 250 seconds]
krz has joined #ruby
tmtwd has joined #ruby
havenwood has quit [Remote host closed the connection]
mikepack has quit [Client Quit]
_maes_ has joined #ruby
d3v has joined #ruby
Musashi007 has quit [Quit: Musashi007]
LetErikTry has quit [Quit: sleep]
lioninawhat has joined #ruby
phutchins has joined #ruby
ghostmoth has joined #ruby
mikepack has joined #ruby
lioninawhat has quit [Remote host closed the connection]
uptownhr has quit [Quit: uptownhr]
aeontech has quit [Quit: aeontech]
uptownhr has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
codeFiend has joined #ruby
sudog has joined #ruby
cjim__ has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mia has joined #ruby
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Client Quit]
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Client Quit]
zacstewart has quit [Ping timeout: 255 seconds]
Pharaoh2 has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
apurcell has joined #ruby
Pharaoh2 has quit [Client Quit]
Pharaoh2 has joined #ruby
m00zy has quit [Ping timeout: 250 seconds]
jerematic has joined #ruby
Channel6 has quit [Quit: Leaving]
Pharaoh2 has quit [Client Quit]
Pharaoh2 has joined #ruby
SOLDIERz has joined #ruby
apurcell has quit [Ping timeout: 252 seconds]
Aova has quit [Read error: Connection reset by peer]
jerematic has quit [Ping timeout: 256 seconds]
craigp has joined #ruby
cjim__ has quit [Quit: (null)]
Aova has joined #ruby
sinkensabe has joined #ruby
Vile` has quit [Read error: Connection reset by peer]
davedev2_ has quit [Remote host closed the connection]
ghostmoth has quit [Quit: ghostmoth]
Akagi201 has joined #ruby
craigp has quit [Remote host closed the connection]
fedexo has joined #ruby
SOLDIERz has quit [Ping timeout: 265 seconds]
lyuben_ has quit [Quit: This computer has gone to sleep]
cmckee has joined #ruby
piotrj has quit [Read error: Connection reset by peer]
piotrj has joined #ruby
craigp has joined #ruby
sigurding has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
jack_rabbit has joined #ruby
Vile` has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codeFiend has quit [Quit: codeFiend]
Stoge88 has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
oleo__ has quit [Quit: Verlassend]
lolmaus has quit [Quit: Konversation terminated!]
josephcs has joined #ruby
Sawbones has quit [Remote host closed the connection]
recurrence has quit [Quit: recurrence]
ghostmoth has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has quit [Ping timeout: 264 seconds]
qba73 has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
jlast has joined #ruby
Sawbones has joined #ruby
CpuID2 has joined #ruby
hvxgr has quit [Ping timeout: 252 seconds]
riotjones has joined #ruby
tagrudev has joined #ruby
Hijiri has quit [Ping timeout: 245 seconds]
jlast has quit [Ping timeout: 245 seconds]
Sawbones has quit [Ping timeout: 245 seconds]
Morkel has joined #ruby
jlast has joined #ruby
Macaveli has joined #ruby
jgt has joined #ruby
Macaveli has quit [Client Quit]
aganov has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros_ has quit [Read error: Connection reset by peer]
apeiros__ has joined #ruby
piotrj has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 245 seconds]
krz has quit [Ping timeout: 250 seconds]
sinkensabe has quit [Remote host closed the connection]
jack_rabbit has quit [Ping timeout: 250 seconds]
sandelius has joined #ruby
elaptics`away is now known as elaptics
recurrence has joined #ruby
Spami has joined #ruby
ponga has quit [Remote host closed the connection]
jenrzzz has joined #ruby
dc has quit [Remote host closed the connection]
viki_ has joined #ruby
ponga has joined #ruby
apeiros__ has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
Ivision has quit [Remote host closed the connection]
oo_ has joined #ruby
sinkensabe has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
testcore has quit [Ping timeout: 250 seconds]
marcdel has joined #ruby
lyuben_ has joined #ruby
elaptics is now known as elaptics`away
selaruvich has joined #ruby
piotrj has joined #ruby
testcore has joined #ruby
pdoherty has joined #ruby
<wasamasa> how exactly do you want to pattern-match without regex?
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<wasamasa> if it weren't a string you were speaking of, I'd understand how :P
<crome> if somestring.start_with?(stuff) && somestring.include?(stuff) && !somestring.include(stuff) && somestring.end_with?(stuff)
<crome> ... 846 ifs later...
<wasamasa> hehe
<wasamasa> I bet some people out there do this
recurrence has quit [Quit: recurrence]
leat has joined #ruby
<crome> I'm sure
pdoherty has quit [Ping timeout: 245 seconds]
sandelius has joined #ruby
<wasamasa> because I've seen some pretty bad parsing attempts that somehow did work out
sandelius has quit [Max SendQ exceeded]
Aswebb_ has joined #ruby
hvxgr has joined #ruby
lzx has joined #ruby
Aova has quit [Read error: Connection reset by peer]
pontiki has joined #ruby
Musashi007 has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
krisquigley has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
jack_rabbit has joined #ruby
<pontiki> hi all
jenrzzz has quit [Ping timeout: 245 seconds]
jgt has quit [Ping timeout: 245 seconds]
Asher2 has quit [Read error: No route to host]
LudicrousMango has quit [Remote host closed the connection]
Ivision has joined #ruby
Asher has joined #ruby
Aswebb_ has quit [Ping timeout: 252 seconds]
codecop has joined #ruby
SOLDIERz has joined #ruby
sandelius has joined #ruby
Aova has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
Sawbones has joined #ruby
Hijiri has joined #ruby
solars has joined #ruby
thumpba has joined #ruby
Pharaoh2 has joined #ruby
C1V0 has joined #ruby
Soliah has quit [Quit: Soliah]
thumpba has quit [Remote host closed the connection]
ohaibbq has joined #ruby
lele|m has joined #ruby
jenrzzz has joined #ruby
SOLDIERz has quit [Ping timeout: 264 seconds]
jack_rabbit has quit [Ping timeout: 255 seconds]
Sawbones has quit [Remote host closed the connection]
C1V0 has quit [Ping timeout: 245 seconds]
hgl has quit [Ping timeout: 264 seconds]
aganov has quit [Quit: Leaving]
codeFiend has joined #ruby
C1V0 has joined #ruby
thumpba has joined #ruby
hgl has joined #ruby
mijicd has joined #ruby
uptownhr has quit [Quit: uptownhr]
ponga has quit [Remote host closed the connection]
aganov has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
zacstewart has joined #ruby
Morkel has quit [Quit: Morkel]
piotrj_ has joined #ruby
piotrj has quit [Read error: Connection reset by peer]
ponga has joined #ruby
terlar has joined #ruby
ponga has quit [Remote host closed the connection]
qba73 has quit [Ping timeout: 264 seconds]
zacstewart has quit [Ping timeout: 244 seconds]
lampd1 has joined #ruby
jlast has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jgt has joined #ruby
yfeldblu_ has quit [Ping timeout: 245 seconds]
vdamewood has joined #ruby
Macaveli has joined #ruby
lampd1_ has joined #ruby
lampd1 has quit [Read error: Connection reset by peer]
Axy has joined #ruby
Axy has joined #ruby
waynerade has joined #ruby
jenrzzz has joined #ruby
arup_r has joined #ruby
codeFiend has quit [Quit: codeFiend]
jlast has quit [Ping timeout: 245 seconds]
apeiros_ has joined #ruby
Mia has quit [Ping timeout: 255 seconds]
<arup_r> >> "Xl", "4", "40", "10", "XXL", "S", "1"].sort
<eval-in__> arup_r => /tmp/execpad-5864063eabab/source-5864063eabab:2: syntax error, unexpected ',', expecting keyword_end ... (https://eval.in/279208)
jlast has joined #ruby
<arup_r> >> ["Xl", "4", "40", "10", "XXL", "S", "1"].sort
<eval-in__> arup_r => ["1", "10", "4", "40", "S", "XXL", "Xl"] (https://eval.in/279209)
<arup_r> Not sorting properly
<arup_r> How to get it as ["1", "4", "10", "40", "S", "XXL", "Xl"] ?
waynerade has quit [Ping timeout: 265 seconds]
Takle has joined #ruby
marcdel has quit []
jenrzzz has quit [Ping timeout: 245 seconds]
psy_ has quit [Remote host closed the connection]
hgl has quit [Ping timeout: 252 seconds]
krz has joined #ruby
lampd1_ is now known as lampd1
piotrj_ has quit [Read error: Connection reset by peer]
LudicrousMango has joined #ruby
piotrj_ has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
piotrj__ has joined #ruby
piotrj_ has quit [Read error: Connection reset by peer]
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
C1V0 has quit [Ping timeout: 245 seconds]
Hobogrammer has quit [Ping timeout: 265 seconds]
C1V0 has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
mLF has joined #ruby
Musashi007 has quit [Quit: Musashi007]
perturbation has quit [Quit: Leaving]
hgl has joined #ruby
mijicd has quit [Remote host closed the connection]
krz has quit [Ping timeout: 264 seconds]
josephcs has quit [Quit: (null)]
_Andres has joined #ruby
<apeiros_> arup_r: use sort_by and implement a block with proper logic
<arup_r> apeiros_: Thanks
jerematic has joined #ruby
marcdel has joined #ruby
Takle has joined #ruby
wallerdev has quit [Ping timeout: 252 seconds]
amclain has quit [Quit: Leaving]
<arup_r> apeiros_: But that is breaking when I have float in my collection.. Damn! :(
thumpba has quit [Remote host closed the connection]
jerematic has quit [Ping timeout: 240 seconds]
arup_r has quit [Remote host closed the connection]
thumpba has joined #ruby
lkba has joined #ruby
C1V0 has quit []
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
lkba_ has quit [Ping timeout: 264 seconds]
lightstalker has quit [Remote host closed the connection]
lightstalker has joined #ruby
lolmaus has joined #ruby
shredding has joined #ruby
sinequanon has quit []
Aova has quit [Read error: Connection reset by peer]
penzur has joined #ruby
penzur has quit [Read error: Connection reset by peer]
guardian has quit [Excess Flood]
keen__________54 has joined #ruby
keen__________53 has quit [Ping timeout: 255 seconds]
chishiki has quit [Remote host closed the connection]
Aova has joined #ruby
selaruvich has quit [Ping timeout: 252 seconds]
jhebden has joined #ruby
hfor has quit [Ping timeout: 250 seconds]
hfor has joined #ruby
SOLDIERz has joined #ruby
Spami has quit [Ping timeout: 255 seconds]
adriancb has joined #ruby
thumpba has quit [Remote host closed the connection]
Xeago has joined #ruby
arup_r has joined #ruby
towski_ has quit [Remote host closed the connection]
rylev has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mroach has quit [Quit: mroach]
nfk has joined #ruby
Spami has joined #ruby
adriancb has quit [Ping timeout: 264 seconds]
towski_ has joined #ruby
chishiki has joined #ruby
SOLDIERz has quit [Ping timeout: 252 seconds]
chishiki has quit [Client Quit]
frobs has joined #ruby
gema_ has joined #ruby
gema_ has quit [Client Quit]
Musashi007 has joined #ruby
timothy-michael has joined #ruby
LouisRoR has joined #ruby
kamil has joined #ruby
towski_ has quit [Remote host closed the connection]
ohaibbq has quit [Quit: Leaving...]
jlast has joined #ruby
Stoge88 has joined #ruby
avril14th has quit [Remote host closed the connection]
iamninja has joined #ruby
piotrj has joined #ruby
livathinos has joined #ruby
Lemur has quit [Remote host closed the connection]
cmckee has quit [Quit: cmckee]
phutchins has joined #ruby
yfeldblum has joined #ruby
piotrj__ has quit [Ping timeout: 255 seconds]
jlast has quit [Ping timeout: 245 seconds]
rylev has quit [Remote host closed the connection]
ghostpl has joined #ruby
Takle has quit [Remote host closed the connection]
phutchins has quit [Ping timeout: 256 seconds]
penzur has joined #ruby
athan has quit [Ping timeout: 245 seconds]
withnale_ has joined #ruby
towski_ has joined #ruby
yfeldblu_ has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ellypse has quit [Quit: Ellypse]
shock_one has joined #ruby
<shock_one> Having a number, how to create a list of smaller numbers that would sum up to this number? I'd also like to control the list size.
<shock_one> *smaller random numbers.
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
CustosL1men has joined #ruby
hs366 has joined #ruby
LouisRoR has quit [Ping timeout: 252 seconds]
penzur has quit [Ping timeout: 246 seconds]
lrocknrolmarc has joined #ruby
rocknrollmarc has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
penzur has joined #ruby
chishiki has joined #ruby
hanmac1 has joined #ruby
ghr has joined #ruby
mkaesz has joined #ruby
avril14th has joined #ruby
rdark has joined #ruby
craigp_ has joined #ruby
livathin_ has joined #ruby
<apeiros_> shock_one: start by subtracting 1, then 2 from the result etc.
lrocknrolmarc has quit [Ping timeout: 244 seconds]
rocknrollmarc has quit [Ping timeout: 244 seconds]
psy_ has joined #ruby
<shock_one> I want something like this. foo(50, size: 5..10) # => [5,7,12,3, 21, 2]
psy_ has quit [Max SendQ exceeded]
psy_ has joined #ruby
piotrj has quit []
lampd1 has quit [Remote host closed the connection]
marcdel has quit []
craigp has quit [Ping timeout: 245 seconds]
livathinos has quit [Ping timeout: 250 seconds]
Grumelo has joined #ruby
<apeiros_> shock_one: yes, what I said allows you to implement that.
mroach has joined #ruby
Guest76 has joined #ruby
wallerdev has joined #ruby
msgodf has joined #ruby
Aswebb_ has joined #ruby
Deithrian has joined #ruby
jhebden has quit [Ping timeout: 265 seconds]
<shock_one> I'm not sure I understood you. So, a pseudo code like this will generate the sequence you recommend, what's next? [1..].take_while(array.sum <= total)
lrocknrolmarc has joined #ruby
lele has joined #ruby
lele|m has quit [Quit: bye!]
<apeiros_> shock_one: so if you don't understand an answer, you just ignore it?
mroach has quit [Client Quit]
jenrzzz has joined #ruby
rylev has joined #ruby
krisquigley has joined #ruby
<shock_one> I'm sorry, I didn't mean anything like that. Just wanted to make sure we're speaking about the same thing.
viki_ has quit [Quit: Connection closed for inactivity]
AllanEspinosa has quit [Quit: Page closed]
kalusn has joined #ruby
<shock_one> >> (Array.new(100) {1} + Array.new(5) {0}).shuffle.split(0).map(&:sum)
<eval-in__> shock_one => undefined method `split' for #<Array:0x40c9feb0> (NoMethodError) ... (https://eval.in/279248)
Aswebb_ has quit [Ping timeout: 252 seconds]
<shock_one> Rats, it's an ActiveSupport method.
krisquigley has quit [Ping timeout: 240 seconds]
pdoherty has joined #ruby
<apeiros_> with your example: 50 - 1 = 49. -> [1,49]. 49 - 2 = 47 -> [1,2,47]. 47 - 3 = 44 -> [1,2,3,44]
mengu has joined #ruby
mengu has joined #ruby
<shock_one> I see. But I want an array of random numbers.
qba73 has joined #ruby
<apeiros_> and you can keep doing that until either your subtrahend grows larger than your minuend, or until your list of summands reaches target size
<apeiros_> well, then adapt the algorithm accordingly. the basic principle is the same.
Takle has joined #ruby
dumdedum has joined #ruby
knut has joined #ruby
rylev has quit [Remote host closed the connection]
lrocknrolmarc has quit [Ping timeout: 245 seconds]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
pdoherty has quit [Ping timeout: 255 seconds]
The_Phoenix has joined #ruby
aapole has joined #ruby
Takle has quit [Remote host closed the connection]
<shock_one> Thank you.
selaruvich has joined #ruby
Aova has quit [Read error: Connection reset by peer]
<avril14th> morning
diegoviola has quit [Remote host closed the connection]
<apeiros_> moin
Takle_ has joined #ruby
fabrice31 has joined #ruby
selaruvich has quit [Read error: Connection reset by peer]
krz has joined #ruby
wallerdev has quit [Ping timeout: 244 seconds]
commmmodo has quit [Quit: commmmodo]
LouisRoR has joined #ruby
Aova has joined #ruby
mroach has joined #ruby
marr has joined #ruby
hgl has quit [Ping timeout: 245 seconds]
towski_ has quit [Remote host closed the connection]
towski_ has joined #ruby
towski_ has quit [Remote host closed the connection]
jhebden has joined #ruby
lidaaa has quit [Ping timeout: 252 seconds]
SOLDIERz has joined #ruby
tmtwd has quit [Remote host closed the connection]
hgl has joined #ruby
quimrstorres has joined #ruby
iwishiwerearobot has quit [Quit: >:(]
livathin_ has quit [Remote host closed the connection]
codeFiend has joined #ruby
codeFiend has quit [Client Quit]
LudicrousMango has quit [Ping timeout: 245 seconds]
krisquigley has joined #ruby
Stoge88 has joined #ruby
frobs has quit [Quit: Konversation terminated!]
astrobunny has joined #ruby
oo_ has quit [Remote host closed the connection]
wald0 has joined #ruby
Deele has joined #ruby
wald0 has quit [Client Quit]
oo_ has joined #ruby
lele has quit [Ping timeout: 252 seconds]
duncannz has quit [Read error: Connection reset by peer]
AFKGeek has joined #ruby
SOLDIERz has quit [Ping timeout: 245 seconds]
blackmes1 has joined #ruby
livathinos has joined #ruby
lele has joined #ruby
spider-mario has quit [Remote host closed the connection]
jlast has joined #ruby
Aswebb_ has joined #ruby
elaptics`away is now known as elaptics
livathinos has quit [Remote host closed the connection]
iwishiwerearobot has joined #ruby
jlast_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
rylev has joined #ruby
waynerade has joined #ruby
mkaesz has quit [Remote host closed the connection]
commmmodo has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
jlast_ has quit [Ping timeout: 245 seconds]
aswen has joined #ruby
Musashi007 has joined #ruby
livathinos has joined #ruby
wottam has joined #ruby
fedexo has quit [Ping timeout: 256 seconds]
Zai00 has joined #ruby
leafybasil has quit [Remote host closed the connection]
waynerade has quit [Ping timeout: 252 seconds]
shock_one has quit [Remote host closed the connection]
jerematic has joined #ruby
qba73 has quit []
mkaesz has joined #ruby
joshbamboo1 has quit [Read error: Connection reset by peer]
commmmodo has quit [Client Quit]
djbkd has quit [Read error: Connection reset by peer]
joshbamboo1 has joined #ruby
djbkd has joined #ruby
last_staff has quit [Read error: Connection reset by peer]
crodas has quit [Quit: Disconnecting from stoned server.]
blackmes1 has quit [Read error: Connection reset by peer]
crodas has joined #ruby
blackmes1 has joined #ruby
zzzbra has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 245 seconds]
last_staff has joined #ruby
Kharma has quit [Ping timeout: 252 seconds]
zzzbra has joined #ruby
mengu has quit [Read error: Connection reset by peer]
mgorbach has quit [Ping timeout: 252 seconds]
trampi has quit [Ping timeout: 252 seconds]
dtscode- has quit [Read error: Connection reset by peer]
krz has quit [Read error: Connection reset by peer]
Musashi007 has quit [Client Quit]
mengu has joined #ruby
throneless has joined #ruby
krz has joined #ruby
gfawcettpq has quit [Ping timeout: 264 seconds]
TinkerTyper has quit [Ping timeout: 252 seconds]
brixen has quit [Ping timeout: 252 seconds]
seanmarcia has quit [Ping timeout: 252 seconds]
malcolmva has quit [Ping timeout: 252 seconds]
Ivision has quit [Read error: Connection reset by peer]
crack has quit [Ping timeout: 252 seconds]
jerematic has quit [Ping timeout: 244 seconds]
p7r has quit [Ping timeout: 252 seconds]
Patteh has quit [Ping timeout: 252 seconds]
vpereira has quit [Ping timeout: 252 seconds]
Guest66370 has quit [Ping timeout: 252 seconds]
Ivision has joined #ruby
rdark has quit [Ping timeout: 252 seconds]
p7r has joined #ruby
vpereira has joined #ruby
Patteh has joined #ruby
kennym has joined #ruby
wottam has quit [Read error: Connection reset by peer]
rdark has joined #ruby
rylev has quit []
kennym is now known as Guest14510
jimms has joined #ruby
keen__________55 has joined #ruby
keen__________54 has quit [Ping timeout: 264 seconds]
livathinos has quit [Remote host closed the connection]
lzx has quit [Remote host closed the connection]
livathinos has joined #ruby
mgorbach has joined #ruby
TinkerTyper has joined #ruby
seanmarcia has joined #ruby
decoponio has joined #ruby
abuzze has quit [Remote host closed the connection]
abuzze has joined #ruby
AFK_Geek has joined #ruby
Morkel has joined #ruby
brixen has joined #ruby
quimrstorres has quit [Remote host closed the connection]
fabrice31 has quit [Remote host closed the connection]
crack has joined #ruby
malcolmva has joined #ruby
AFKGeek has quit [Ping timeout: 244 seconds]
fabrice31 has joined #ruby
rodfersou has joined #ruby
timonv has joined #ruby
einarj has joined #ruby
ak-uk has joined #ruby
Guest76 has quit [Quit: Textual IRC Client: www.textualapp.com]
rkgudboy has joined #ruby
Guest76 has joined #ruby
AFK_Geek has quit [Quit: Fades into the shadows]
workmad3 has joined #ruby
shum has joined #ruby
<ak-uk> Hi, When running bundle exec I am getting errors asking me to install the postgresql adapter but it is already installed http://ur1.ca/jnm13
CpuID2 has quit [Quit: This computer has gone to sleep]
Wolland has quit [Remote host closed the connection]
throneless has quit [Remote host closed the connection]
Wolland has joined #ruby
leafybasil has joined #ruby
lkba has quit [Ping timeout: 250 seconds]
mLF has quit [Ping timeout: 256 seconds]
kamil has quit [Disconnected by services]
kamil has joined #ruby
Aova has quit [Read error: Connection reset by peer]
kamil has quit [Disconnected by services]
kamil has joined #ruby
quimrstorres has joined #ruby
Wolland has quit [Ping timeout: 265 seconds]
kamil has quit [Disconnected by services]
kamil has joined #ruby
wallerdev has joined #ruby
kamil has quit [Disconnected by services]
kamil has joined #ruby
blackmes1 has quit [Ping timeout: 245 seconds]
kamil has quit [Disconnected by services]
fabrice31_ has joined #ruby
kamil has joined #ruby
Runner has joined #ruby
<Ivision> hi
<Runner> hi
<Ivision> rooms seems to be in silent mode ! so i thought let me bring life here
<hanmac1> just dont feed it after midnight! ;P
wallerdev has quit [Ping timeout: 245 seconds]
<Ivision> oh its noon time here in India
kamil is now known as Guest12953
fabrice31 has quit [Ping timeout: 256 seconds]
Aova has joined #ruby
<apeiros_> ak-uk: make sure it's in your Gemfile too
<apeiros_> ak-uk: bundler isolates your app from system gems
josephcs has joined #ruby
psy_ has quit [Read error: Connection reset by peer]
psy_ has joined #ruby
kirun has joined #ruby
rocknrollmarc has joined #ruby
govg has quit [Quit: leaving]
arup_r has quit [Remote host closed the connection]
ponga has joined #ruby
Sawbones has joined #ruby
reinaldo_ has joined #ruby
colli5ion has joined #ruby
reinaldo_ is now known as reinaldob_
rocknrollmarc has quit [Ping timeout: 244 seconds]
rocknrollmarc has joined #ruby
zacstewart has joined #ruby
SOLDIERz has joined #ruby
lzx has joined #ruby
thatslifeson_ has joined #ruby
arup_r has joined #ruby
mengu has quit [Remote host closed the connection]
sandelius has joined #ruby
piotrjakubowski has joined #ruby
mercwithamouth has joined #ruby
contradictioned_ is now known as contradictioned
Sawbones has quit [Ping timeout: 265 seconds]
piotrjakubowski has quit [Client Quit]
Runner has quit []
thatslifeson has quit [Ping timeout: 264 seconds]
zacstewart has quit [Ping timeout: 252 seconds]
mercwithamouth has quit [Remote host closed the connection]
<ak-uk> apeiros what am I adding to the gemfile?
rocknrollmarc has quit [Ping timeout: 245 seconds]
SOLDIERz has quit [Ping timeout: 265 seconds]
jlast has joined #ruby
<apeiros_> ak-uk: your gist is gone, so can't tell. something like `gem 'nameofthegem'`
* apeiros_ off
penzur has quit [Ping timeout: 250 seconds]
jhebden has quit [Ping timeout: 264 seconds]
<ak-uk> so gem activerecord-postgresql-adapter ?
rocknrollmarc has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
stef204 has joined #ruby
<solars> hi, does anyone know what this ssl problem could be: https://gist.github.com/solars/2b86b1f84ebc5a5aa9b8
rocknrollmarc has quit [Ping timeout: 245 seconds]
IceyEC_ has quit [Read error: Connection reset by peer]
rocknrollmarc has joined #ruby
goodenough has quit []
ldnunes has joined #ruby
n008f4g_ has joined #ruby
<catsoup> potentially a threading error over multiple http connections
shum1 has quit [Remote host closed the connection]
jhebden has joined #ruby
tokik has quit [Ping timeout: 255 seconds]
scripore has joined #ruby
gfawcettpq has joined #ruby
rkgudboy has quit [Read error: Connection reset by peer]
josephcs has quit [Remote host closed the connection]
abuzze has quit [Remote host closed the connection]
josephcs has joined #ruby
rkgudboy has joined #ruby
Spami has quit [Ping timeout: 240 seconds]
Spami_ has joined #ruby
lrocknrolmarc has joined #ruby
abuzze has joined #ruby
Axy has quit [Read error: Connection timed out]
lampd1 has joined #ruby
Axy has joined #ruby
abuzze_ has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
eka has joined #ruby
livathin_ has joined #ruby
<gizmore> i am still having troubles installing rbenv on debian... i assume the PATH is not set when "rbenv init" is evaluated. Does anyone know if bashrc or profile is loaded first?
lrocknrolmarc has quit [Ping timeout: 264 seconds]
<shevy> I assume profile gets loaded first
lampd1 has quit [Ping timeout: 264 seconds]
<gizmore> thank you... i will try this first then :)
LudicrousMango has joined #ruby
livathinos has quit [Ping timeout: 245 seconds]
lanemeyer has joined #ruby
pdoherty has joined #ruby
<gizmore> shevy: thanks again... it worked like you said
quimrstorres has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
Wolland has joined #ruby
LudicrousMango has quit [Ping timeout: 245 seconds]
quimrstorres has joined #ruby
In-Runner has joined #ruby
<In-Runner> 4, Is true that Bill Gates is gay ?
<shevy> gizmore \o/
<shevy> In-Runner learn ruby man, help us dethrone perl and python
<catsoup> never gonna happen :-)
<leafybasil> shevy: too late, perl 6 end of 2015
<gizmore> dethrone_ruby unless In-Runner.paused?
<catsoup> the internet is stuck together with perl
<leafybasil> say goodbye to your beloved rubby
Rollabunna has joined #ruby
sigurding has quit [Quit: sigurding]
Takle_ has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 265 seconds]
Aova has quit [Read error: Connection reset by peer]
<shevy> leafybasil yeah that is like the year of the desktop linux
last_staff has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
Ridley5 is now known as zzz_Ridley
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scripore has quit [Quit: This computer has gone to sleep]
jhebden has quit [Ping timeout: 264 seconds]
Aova has joined #ruby
reinaldob_ is now known as reinaldob
Troy^ has joined #ruby
rocknrollmarc has quit [Ping timeout: 264 seconds]
In-Runner has quit []
lrocknrolmarc has joined #ruby
Takle has joined #ruby
rocknrollmarc has joined #ruby
<apeiros_> ak-uk: with quotes
Ivision has quit [Read error: Connection reset by peer]
<apeiros_> Gemfile is ruby code, so it must be valid ruby syntax.
m00zy has joined #ruby
Ivision has joined #ruby
Troy^ has quit [Client Quit]
<ak-uk> I tried that but it didn't help
<apeiros_> ak-uk: I don't know what "didn't help" means.
<ak-uk> trying things with mysql - testing server so doesnt matter so much which db engine I use
zzz_Ridley is now known as Ridley5
blackmes1 has joined #ruby
<ak-uk> as in, I still get the same error :)
llrocknromarc has joined #ruby
<apeiros_> ak-uk: you run it with `bundle exec` and running `bundle list` lists the gem?
diegoviola has joined #ruby
lrocknrolmarc has quit [Ping timeout: 250 seconds]
<ak-uk> ah I was running gem list
Troy^ has joined #ruby
<apeiros_> ak-uk: dude, use a paste service which doesn't have 5s time limits…
max96at|off is now known as max96at
<apeiros_> ak-uk: anyway, assuming it's the correct gem you've added, then it's a bug in the software you're using
<apeiros_> (and you should report it)
rkgudboy has quit [Read error: Connection reset by peer]
<apeiros_> it either misreports the error (e.g. loading the gem causes an exception and it swallows that and just says "not installed" instead of the actual error), or it misreports which gem it needs.
last_staff has quit [Quit: last_staff]
<ak-uk> ok thanks
rkgudboy has joined #ruby
sandelius has joined #ruby
rocknrollmarc has quit [Ping timeout: 250 seconds]
sandelius has quit [Client Quit]
tkuchiki has quit [Ping timeout: 245 seconds]
sandelius has joined #ruby
SOLDIERz has joined #ruby
llrocknromarc has quit [Ping timeout: 245 seconds]
jerematic has joined #ruby
llrocknromarc has joined #ruby
Ridley5 is now known as zzz_Ridley
jottr has joined #ruby
kirun has quit [Remote host closed the connection]
jlast has joined #ruby
SOLDIERz has quit [Ping timeout: 245 seconds]
jerematic has quit [Ping timeout: 244 seconds]
last_staff has joined #ruby
Wolland has joined #ruby
diegoviola has quit [Remote host closed the connection]
kirun has joined #ruby
quimrstorres has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
llrocknromarc has quit [Ping timeout: 264 seconds]
mostlybadfly has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
fabrice31_ has quit [Remote host closed the connection]
maximski has joined #ruby
jlast has joined #ruby
DouweM has joined #ruby
ponga has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
DouweM has quit [Read error: Connection reset by peer]
DouweM has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
jhebden has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
woodsleaf has joined #ruby
sigurding has joined #ruby
Grumelo has quit []
jenrzzz has quit [Ping timeout: 264 seconds]
arup_r has quit [Remote host closed the connection]
kith_ has joined #ruby
woodsleaf has left #ruby [#ruby]
Stoge88 has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest13442 has joined #ruby
lanemeyer has quit [Ping timeout: 245 seconds]
mengu has joined #ruby
mengu has joined #ruby
kith has quit [Ping timeout: 250 seconds]
decoponyo has joined #ruby
DouweM has quit [Ping timeout: 250 seconds]
Guest76 has quit [Read error: Connection reset by peer]
Asher2 has joined #ruby
kith_ is now known as kith
nii236|irssi has joined #ruby
PaulCape_ has joined #ruby
FifthWall has quit [Ping timeout: 250 seconds]
arup_r has joined #ruby
Asher has quit [Ping timeout: 265 seconds]
sanguisdex has quit [Ping timeout: 265 seconds]
MiracleBlue has quit [Ping timeout: 245 seconds]
nug has quit [Ping timeout: 265 seconds]
hfp_work has quit [Ping timeout: 265 seconds]
maximski has quit []
Brando753 has quit [Ping timeout: 265 seconds]
zalmoxes has quit [Ping timeout: 265 seconds]
chuck has quit [Ping timeout: 265 seconds]
crazed has quit [Ping timeout: 265 seconds]
slash_nick has quit [Ping timeout: 265 seconds]
CustosL1men has quit [Ping timeout: 245 seconds]
Heero has quit [Ping timeout: 245 seconds]
jefus has quit [Ping timeout: 250 seconds]
perrier has quit [Ping timeout: 250 seconds]
graft has quit [Ping timeout: 250 seconds]
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
perrier has joined #ruby
seanmarcia has quit [Ping timeout: 245 seconds]
sivoais has quit [Ping timeout: 245 seconds]
benlakey has quit [Ping timeout: 245 seconds]
decoponio has quit [Ping timeout: 265 seconds]
thoraxe has quit [Ping timeout: 265 seconds]
Koshian has quit [Ping timeout: 265 seconds]
Koshian has joined #ruby
ajaiswal has quit [Ping timeout: 265 seconds]
PaulCapestany has quit [Ping timeout: 265 seconds]
ctrlrsf has quit [Ping timeout: 265 seconds]
chuck has joined #ruby
crazed has joined #ruby
zalmoxes has joined #ruby
ajaiswal has joined #ruby
ByronJohnson has quit [Remote host closed the connection]
FifthWall has joined #ruby
Heero has joined #ruby
Brando753 has joined #ruby
MiracleBlue has joined #ruby
ByronJohnson has joined #ruby
nug has joined #ruby
mclee_ has quit [Ping timeout: 265 seconds]
Grumelo has joined #ruby
thoraxe has joined #ruby
seanmarcia has joined #ruby
jefus has joined #ruby
llrocknromarc has joined #ruby
hfp_work has joined #ruby
sanguisdex has joined #ruby
PaulCape_ is now known as PaulCapestany
mclee_ has joined #ruby
suffice has quit [Ping timeout: 245 seconds]
krzkrz has joined #ruby
CustosL1men has joined #ruby
nyuszika7h has quit [Read error: Connection reset by peer]
krz has quit [Read error: Connection reset by peer]
suffice has joined #ruby
benlakey has joined #ruby
yfeldblu_ has quit [Ping timeout: 252 seconds]
parduse is now known as Guest56307
pardusf has joined #ruby
ctrlrsf has joined #ruby
tobiasvl has quit [Ping timeout: 245 seconds]
Guest56307 has quit [Ping timeout: 250 seconds]
bascht has quit [Ping timeout: 265 seconds]
nyuszika7h has joined #ruby
RTG` has quit [Ping timeout: 250 seconds]
braincrash has quit [Ping timeout: 250 seconds]
llrocknromarc has quit [Ping timeout: 264 seconds]
crome has quit [Ping timeout: 245 seconds]
crome has joined #ruby
m00zy has quit [Ping timeout: 265 seconds]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bier has quit [Ping timeout: 250 seconds]
tvl has joined #ruby
tvl is now known as tobiasvl
Troy^ has joined #ruby
revoohc has quit [Quit: revoohc]
zacstewart has joined #ruby
slash_nick has joined #ruby
diegoviola has joined #ruby
charliesome has joined #ruby
ak-uk has quit [Quit: Page closed]
scripore has joined #ruby
withnale__ has joined #ruby
<arup_r> Anbody here used Spree Gem.. Need a small help
braincrash has joined #ruby
scripore has quit [Client Quit]
RTG` has joined #ruby
pygospa has quit [Disconnected by services]
TheRealPygo has joined #ruby
n1lo has joined #ruby
sivoais has joined #ruby
bhaak_ has joined #ruby
jouty1 has joined #ruby
bier has joined #ruby
diegok has joined #ruby
jhebden has quit [Ping timeout: 255 seconds]
jottr has quit [Ping timeout: 264 seconds]
bascht has joined #ruby
marcdel has joined #ruby
Aova has quit [Read error: Connection reset by peer]
wottam has joined #ruby
Takle has quit [Remote host closed the connection]
ponga has joined #ruby
jottr has joined #ruby
TinkerTyper has quit [Ping timeout: 250 seconds]
suffice has quit [*.net *.split]
Koshian has quit [*.net *.split]
perrier has quit [*.net *.split]
Guest13442 has quit [*.net *.split]
psy_ has quit [*.net *.split]
withnale_ has quit [*.net *.split]
terlar has quit [*.net *.split]
Akagi201 has quit [*.net *.split]
sudog has quit [*.net *.split]
tunaCanBruh has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
gheegh has quit [*.net *.split]
fredsir has quit [*.net *.split]
BaNzoune1 has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
djbender has quit [*.net *.split]
rfv has quit [*.net *.split]
adambeynon has quit [*.net *.split]
grubernaut has quit [*.net *.split]
callenb___ has quit [*.net *.split]
pusewicz has quit [*.net *.split]
charles81 has quit [*.net *.split]
softinio has quit [*.net *.split]
bluehavana has quit [*.net *.split]
electrical has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
jokke has quit [*.net *.split]
cnj has quit [*.net *.split]
Miron has quit [*.net *.split]
jpinnix______ has quit [*.net *.split]
FrankenDaemon has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
gf3 has quit [*.net *.split]
majoh has quit [*.net *.split]
Spleeze has quit [*.net *.split]
warreng has quit [*.net *.split]
diego_k has quit [*.net *.split]
keksike has quit [*.net *.split]
jidar has quit [*.net *.split]
F__i__L has quit [*.net *.split]
canton7 has quit [*.net *.split]
alekst_ has quit [*.net *.split]
bestie has quit [*.net *.split]
mbeasley has quit [*.net *.split]
whoojemaflip has quit [*.net *.split]
vjt has quit [*.net *.split]
jhass has quit [*.net *.split]
ggherdov has quit [*.net *.split]
cbetta has quit [*.net *.split]
incomprehensibly has quit [*.net *.split]
lepht has quit [*.net *.split]
jouty has quit [*.net *.split]
willgorman|away has quit [*.net *.split]
bhaak has quit [*.net *.split]
marcoamorales has quit [*.net *.split]
aspiers has quit [*.net *.split]
blackjid has quit [*.net *.split]
Guest51795 has quit [*.net *.split]
comma8 has quit [*.net *.split]
Hien_ has quit [*.net *.split]
Su7 has quit [*.net *.split]
KnownSyntax has quit [*.net *.split]
troter___ has quit [*.net *.split]
ballPointPenguin has quit [*.net *.split]
culturelabs has quit [*.net *.split]
julie_harshaw has quit [*.net *.split]
jnylen has quit [*.net *.split]
tlarevo has joined #ruby
KnownSyntax has joined #ruby
DaniG2k has joined #ruby
Akagi201 has joined #ruby
cnj has joined #ruby
TheKruex has joined #ruby
Takle has joined #ruby
Aova has joined #ruby
majoh has joined #ruby
suffice has joined #ruby
Koshian has joined #ruby
perrier has joined #ruby
psy_ has joined #ruby
terlar has joined #ruby
sudog has joined #ruby
tunaCanBruh has joined #ruby
Gnubie_ has joined #ruby
gheegh has joined #ruby
fredsir has joined #ruby
BaNzoune1 has joined #ruby
djbender has joined #ruby
chrisseaton has joined #ruby
rfv has joined #ruby
adambeynon has joined #ruby
grubernaut has joined #ruby
callenb___ has joined #ruby
pusewicz has joined #ruby
charles81 has joined #ruby
softinio has joined #ruby
keksike has joined #ruby
bluehavana has joined #ruby
electrical has joined #ruby
Guest85414______ has joined #ruby
F__i__L has joined #ruby
Miron has joined #ruby
jpinnix______ has joined #ruby
FrankenDaemon has joined #ruby
avelldiroll has joined #ruby
gf3 has joined #ruby
Spleeze has joined #ruby
warreng has joined #ruby
jidar has joined #ruby
canton7 has joined #ruby
alekst_ has joined #ruby
bestie has joined #ruby
mbeasley has joined #ruby
whoojemaflip has joined #ruby
vjt has joined #ruby
jhass has joined #ruby
cbetta has joined #ruby
incomprehensibly has joined #ruby
lepht has joined #ruby
willgorman|away has joined #ruby
marcoamorales has joined #ruby
aspiers has joined #ruby
blackjid has joined #ruby
Guest51795 has joined #ruby
Hien_ has joined #ruby
Su7 has joined #ruby
troter___ has joined #ruby
comma8 has joined #ruby
ballPointPenguin has joined #ruby
culturelabs has joined #ruby
julie_harshaw has joined #ruby
jnylen has joined #ruby
phutchins has joined #ruby
TinkerTyper has joined #ruby
bogeyd6 has quit [Quit: Leaving]
fedalto has joined #ruby
tlarevo has quit [Read error: Connection reset by peer]
OrbitalKitten has joined #ruby
rkgudboy has quit [Read error: Connection reset by peer]
jokke has joined #ruby
OrbitalKitten has quit [Client Quit]
lkba has joined #ruby
marcdel has quit []
ggherdov has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
zacstewart has quit [Remote host closed the connection]
rkgudboy has joined #ruby
quimrstorres has joined #ruby
ajaiswal has quit [Quit: Leaving]
bMalum_ has joined #ruby
<shevy> arup_r you are the sole user of spree!!!
<shevy> feel special
<shevy> one day you will reach the point of writing ALL gems yourself :D
<arup_r> hehehe..
<shevy> (and then not including documentation)
shredding has joined #ruby
<ddv> almost weekend shevy
<arup_r> shevy: You are the only one who does know how much Ruby know?
* ddv hugs shevy
<shevy> arup_r how much ruby knows?
bMalum has quit [Ping timeout: 264 seconds]
bMalum_ is now known as bMalum
<ddv> sirup_r....
<shevy> the ruby parser for sure knows more than I do about what is valid and what is invalid syntax
<shevy> ddv I started early
<shevy> weekend I decided would start at wednesday
<ddv> shevy: ok
<ddv> nice
Bacta has joined #ruby
<Bacta> Open ended question but how long would it take a Python dev to get to a point where he can be useful in a Ruby environment?
Darryl___ has joined #ruby
<apeiros_> Bacta: depends on the dev
<apeiros_> I'd say a couple of days if they truly try
<Bacta> I'm following rubymonk.com
<apeiros_> (and are any good)
<Bacta> Most of it seems straight forward
<apeiros_> Bacta: that's what I'd expect. ruby and python are more similar than dissimilar
<Bacta> There are a few differences I've observed, one of the larger ones is that strings are mutable
einarj has quit [Read error: Connection reset by peer]
diegoviola has quit [Remote host closed the connection]
einarj has joined #ruby
<Bacta> And there are cultural quirks. Ruby seems to stress the fact that there's more than one way to do something
<Bacta> Python is going in the other direction
SOLDIERz has joined #ruby
RitterJack has joined #ruby
maximski has joined #ruby
jerematic has joined #ruby
<shevy> Bacta not always
<shevy> let me show you a funny example :-)
kedare has quit [Ping timeout: 255 seconds]
<shevy> "One thing to note about Biopython is that it often provides multiple ways of ?doing the same thing.? Things have improved in recent releases, but this can still be frustrating as in Python there should ideally be one right way to do something."
hemanth is now known as Guest8927
havenwood has joined #ruby
jlast has joined #ruby
<Bacta> Well that's Biopython ;)
jerematic has quit [Ping timeout: 250 seconds]
<Bacta> I might be asked to do a couple of days work for this position I'm applying for. They do Rails.
<Bacta> But will probably be up against other candidates with years of Ruby/Rails experience. So a little worried that my "great developers transcend languages" thing won't cut it..
n1lo has quit [Quit: Leaving]
roshanavand has joined #ruby
jouty1 is now known as jouty
avril14th has quit [Remote host closed the connection]
jouty has quit [Changing host]
jouty has joined #ruby
Wolland has joined #ruby
SOLDIERz has quit [Ping timeout: 250 seconds]
giuseppesolinas has joined #ruby
antgel has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
rkgudboy has quit [Ping timeout: 240 seconds]
Xeago_ has joined #ruby
jlast has joined #ruby
rkgudboy has joined #ruby
MasterPiece has joined #ruby
blackmes1 has quit [Ping timeout: 264 seconds]
Wolland has quit [Ping timeout: 250 seconds]
Xeago has quit [Ping timeout: 250 seconds]
TheKruex has quit []
psy_ has quit [Remote host closed the connection]
<last_staff> Bacta: depends on what they're needing tho
<last_staff> if they're looking for a developer, the statement holds true, and they should know it
cpt_yossarian has quit [Ping timeout: 245 seconds]
jlast has quit [Ping timeout: 245 seconds]
<last_staff> if they're looking for a programmer, on the other hand...
<arup_r> shevy: 47 users in #spree I can see. I asked one question no reply till 1 hour.. hehehe #ruby is best and #rubyonrails
<shevy> cool
<shevy> 47 idlers
<last_staff> what's spree?
<arup_r> all other IRC channels are dying
<shevy> here you have 920 of them!
<arup_r> Gen
<arup_r> m
<arup_r> last_staff: You can earn money using it
mats_ has joined #ruby
<arup_r> shevy: Humm
Ivision_ has joined #ruby
<shevy> Bacta I find python and ruby very similar, also with similar niches. the main difference is the philosophy. ruby is more like - do as it pleases you, hence why people can often omit () parens, freely alias to other methods, can decide whether to use blocks or not and so forth
Grumelo has quit [Remote host closed the connection]
<mats_> hi everyone, quick question, I am starting with bundler, but when trying to do a bundle install I get the following error:
WillAmes has quit [Remote host closed the connection]
<mats_> Could not find gem 'pp (>= 0) ruby' in the gems available on this machine.
revoohc has joined #ruby
WillAmes has joined #ruby
<machty> apparently net/http supports streaming responses directly into a file rather than downloading entirely into memory, but i can't get this to work: http://ruby-doc.org/stdlib-2.2.0/libdoc/net/http/rdoc/Net/HTTP.html#class-Net::HTTP-label-Streaming+Response+Bodies
<mats_> I was under the impression that the idea of bundler was to get all the required gems even if they were not installed
fabrice31 has joined #ruby
<mats_> anyone has experienced this before?
<machty> is there something about POST requests that prevent streamed responses?
antgel has quit [Ping timeout: 250 seconds]
revoohc has quit [Client Quit]
<last_staff> so what, is it open-source, or does one have to pay?
<last_staff> I got confuzzled because of the "Try it free" on spreecommerce.com
<last_staff> if that's what spree is
Ivision has quit [Ping timeout: 240 seconds]
anaeem1 has quit [Remote host closed the connection]
<Bacta> last_staff: Do programmers even exist anymore?
DaniG2k has quit [Quit: leaving]
<last_staff> I've worked with several people who keep to a programmer's mindset, so i'd say 'yes' to that....yes
Kharma has joined #ruby
<last_staff> "worked with" = worked with, within the last 3 years
dtscode- has joined #ruby
pika_pika has joined #ruby
revoohc has joined #ruby
Akagi201 has quit []
blackmes1 has joined #ruby
rkgudboy has quit [Ping timeout: 256 seconds]
<last_staff> i say it's the old way of looking at "people who can program" - they put 'fancy' titles in the ads, like sw engineer and such, but are really looking for programmers within a special field
sambao21 has joined #ruby
einarj has quit [Remote host closed the connection]
<last_staff> and same thing the other way around, i.e., 'programmer' as a title in the ad, but are really looking for a sw engineer (i.e., a developer)
<apeiros_> ah where's that pic of interview questions vs. first day on the job…
lethjakm1 has joined #ruby
siso has joined #ruby
lampd1 has joined #ruby
Bacta has quit [Quit: Leaving]
brb3 has joined #ruby
livathin_ has quit []
thatslifeson_ has quit [Ping timeout: 246 seconds]
TheRealPygo has quit [Ping timeout: 246 seconds]
lrocknrolmarc has joined #ruby
lethjakm1 has quit [Ping timeout: 246 seconds]
bigkevmcd has quit [Quit: Outta here...]
mats_ has quit [Ping timeout: 240 seconds]
krzkrz has quit [Ping timeout: 264 seconds]
lampd1 has quit [Ping timeout: 255 seconds]
red_horned_rihno has joined #ruby
lioninawhat has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
red_horned_rihno has joined #ruby
mats_ has joined #ruby
<last_staff> can't find it
red_horned_rihno has quit [Max SendQ exceeded]
red_horned_rihno has joined #ruby
pdoherty has joined #ruby
<last_staff> i remember seeing such a picture, about the prospects of what to expect on the first day - green fields...blue, sunny skies...rainbows....unicorns....a port of gold with a sleeping leprechaun at the side of it...
nii236|irssi has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 240 seconds]
<last_staff> i.e., "during the interview"
zacstewart has joined #ruby
pygospa has joined #ruby
Ivision_ has quit [Remote host closed the connection]
<last_staff> and then on the "first day on the job"-side, the devil himself lashing out with a steel whip, or something, and suited-up four-eyes running around in panic...computers lying in lava pits...and so on
krzkrz has joined #ruby
Axy has quit [Read error: Connection timed out]
nii236|irssi has joined #ruby
<last_staff> i roflmao when I saw that one, figuratively speaking
jimms has quit [Remote host closed the connection]
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Aova has quit [Read error: Connection reset by peer]
arup_r has quit []
bigkevmcd has joined #ruby
maximski has quit []
<DefV> no-one roflmao's non-figuratively
pdoherty has quit [Ping timeout: 255 seconds]
aclearman037 has joined #ruby
jimms has joined #ruby
Timgauthier has joined #ruby
nii236|irssi has quit [Client Quit]
LudicrousMango has joined #ruby
lethjakm1 has joined #ruby
<last_staff> and here I was trying to avoid snappy feedbacks on how it's impossible to actually roflmao... >: (
tus has joined #ruby
<last_staff> xD
oo_ has quit [Remote host closed the connection]
Aova has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
<shevy> who is doing an interview
<shevy> I wanna video tape it
ghostpl has quit [Remote host closed the connection]
<Timgauthier> no
lethjakm1 has quit [Ping timeout: 245 seconds]
rubytor has joined #ruby
lanemeyer has joined #ruby
daynaskully has quit [Quit: quit]
<shevy> hehe
russt has joined #ruby
russt has quit [Client Quit]
athan has joined #ruby
oleo has joined #ruby
selaruvich has joined #ruby
silkfox has joined #ruby
lrocknrolmarc has quit [Ping timeout: 250 seconds]
lioninawhat has quit [Remote host closed the connection]
patricknegri has joined #ruby
ghostpl has joined #ruby
fmcgeough has joined #ruby
penzur has joined #ruby
quimrstorres has quit [Remote host closed the connection]
riotjones has quit [Remote host closed the connection]
JimmyNeutron has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
JimmyNeutron has joined #ruby
triple_b has joined #ruby
jerematic has joined #ruby
lethjakm1 has joined #ruby
triple_b has quit [Client Quit]
paradoja has joined #ruby
rocknrollmarc has joined #ruby
timothy-michael has quit []
triple_b has joined #ruby
dimaursu16 has quit [Ping timeout: 245 seconds]
<shevy> is ruby getting more important?
lethjakm1 has quit [Ping timeout: 240 seconds]
<shevy> TIOBE says ruby is dying
paulfm has joined #ruby
MasterPiece has quit [Quit: Leaving]
Takle has joined #ruby
<ddv> Java <3
jlast has joined #ruby
<ddv> j/k
apurcell has joined #ruby
n1lo has joined #ruby
SOLDIERz has joined #ruby
<shevy> ack
<shevy> php is before ruby!
Wolland has joined #ruby
AFKGeek has joined #ruby
<machty> is it possible to convert a Net/HTTP response into an IO object without first saving it to a file? i'd basically like to be able to call a blocking `.each_line` on the request body
<havenwood> shevy: more stackoverflow questions
Ivision has joined #ruby
<oddmunds> shevy: not in github projects
dstarh has joined #ruby
mengu has quit [Remote host closed the connection]
<oddmunds> ruby scores low on stack overflow, because ruby was not in a community/support vacuum before stack overflow arrived (like C# was)
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
waynerade has joined #ruby
SOLDIERz has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
jlast_ has joined #ruby
Morkel has quit [Quit: Morkel]
apurcell has quit [Ping timeout: 246 seconds]
Wolland has quit [Ping timeout: 245 seconds]
rubytor_ has joined #ruby
rubytor has quit [Ping timeout: 264 seconds]
jlast has quit [Ping timeout: 245 seconds]
waynerade has quit [Ping timeout: 240 seconds]
lethjakm1 has joined #ruby
livingstn has joined #ruby
dblessing has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
jlast_ has quit [Ping timeout: 245 seconds]
<Timgauthier> i hope to see ruby replace all of the instances of corperate use in Java
BTRE has quit [Read error: Connection reset by peer]
athan has quit [Read error: Connection timed out]
IrishGringo has joined #ruby
<shevy> but java is faster!
shredding has quit [Quit: shredding]
main has joined #ruby
dblessing has quit [Read error: Connection reset by peer]
lethjakm1 has quit [Ping timeout: 265 seconds]
<reprazent> machty: maybe you could try wrapping the body in a StringIO: StringIO.new(req.body) ?
mozzarella has quit [Ping timeout: 245 seconds]
athan has joined #ruby
shredding has joined #ruby
<machty> reprazent: the problem is eof gets flipped the first time you read to the end of the string (even if more data is coming)
<pontiki> i question the conclusion drawn. neither of the measures presented indicate anything about future importance of the given language
shredding has quit [Client Quit]
tier has joined #ruby
jespada has joined #ruby
paradoja has quit [Remote host closed the connection]
<reprazent> machty: Because the body is not loaded entirely at this point?
BTRE has joined #ruby
scripore has joined #ruby
<epitron> Lol, "number of people who need help with a language" as a benchmark of popularity
<machty> reprazent: confirm, net/http has a streaming body version that sends progressive chunks to a block you pass in
<epitron> More like benchmark of suckularity, am I right?
PaulCapestany is now known as PaulCape_
<machty> reprazent: and much of the point of this is to start processing right away to keep memory usage low
rubytor has joined #ruby
<machty> given my constraints it's better to process slowly and drop packets then to put a large chunk of stuff in memory
sankaber has joined #ruby
<pontiki> they aren't claiming the ranking is a popularity ranking, but "potential future adoption trends"
<epitron> Sounds like you want a queue, not a string io
<epitron> pontiki: php: language of the future!
mozzarella has joined #ruby
jeremati_ has joined #ruby
paradoja has joined #ruby
<pontiki> they're trying to measure a social decision-making process based upon countable artifacts that really have no correlation
<machty> epitron: not really, i just want the incoming object to conform to IO object so that i can do things like call `each_line` on it without having to implement my own buffering, etc
rubytor_ has quit [Ping timeout: 264 seconds]
<epitron> machty: string io isn't for streaming like that
Pharaoh2 has joined #ruby
phale has joined #ruby
<epitron> String io seems like one of those old neglected corners of ruby
<phale> what's the difference between sys.recv and recv?
Pharaoh2 has quit [Max SendQ exceeded]
<epitron> machty: what network library are you using?
spyderman4g63 has joined #ruby
<machty> epitron: net/http
Pharaoh2 has joined #ruby
<epitron> phale: that... Looks like python
jerematic has quit [Ping timeout: 264 seconds]
<machty> the problem is i think for my grand scheme to work i need to use threads
<epitron> machty: you should try using the http gem
<epitron> It's very steamy
basichash has quit [Ping timeout: 245 seconds]
<epitron> Streamy
<epitron> No threads necessary
<phale> epitron: still though
<phale> i use sys.recv on certain sockets and it works
<phale> if i use recv on the socket it wont work
<phale> not on all, but some
lethjakm1 has joined #ruby
bjornar has quit [Ping timeout: 246 seconds]
llrocknromarc has joined #ruby
anaeem1 has joined #ruby
startupality has joined #ruby
xymbol has joined #ruby
einarj has joined #ruby
<phale> so..
jimms has quit [Remote host closed the connection]
lethjakm1 has quit [Ping timeout: 245 seconds]
allcentury has joined #ruby
<phale> is sys.recv nonblocking as opposed to recv?
codecop has quit [Quit: Išeinu]
pontiki has quit [Remote host closed the connection]
dblessing has joined #ruby
juanpablo_ has joined #ruby
<phale> excuse me, not sys.rec
Aova has quit [Read error: Connection reset by peer]
<phale> recv*
<phale> but TCPSocket.recv(n)
raphaelss has joined #ruby
mkaesz has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 252 seconds]
robbyoconnor has quit [Ping timeout: 250 seconds]
tkuchiki has joined #ruby
quimrstorres has joined #ruby
kp666 has quit [Remote host closed the connection]
josephcs has quit [Quit: (null)]
ponga has quit [Remote host closed the connection]
mkaesz has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
enebo has joined #ruby
Aova has joined #ruby
patricknegri has quit [Quit: Textual IRC Client: www.textualapp.com]
lzx has quit [Remote host closed the connection]
PaulCape_ is now known as PaulCapestany
mostlybadfly has quit [Quit: Connection closed for inactivity]
tunaCanBruh has quit [Ping timeout: 265 seconds]
phutchins has joined #ruby
lzx has joined #ruby
lethjakm1 has joined #ruby
phale has left #ruby [#ruby]
dimaursu16 has joined #ruby
<n1lo> Hi folks, I have a big line with a sum.. like: a = b + c + d + ... how can I break this like in ruby way?
<n1lo> *-like
<tobiasvl> n1lo: you can just insert a newline after one of the + operators
<apeiros_> n1lo: just put the newlines after +
<apeiros_> n1lo: what also always works is using \ before the newline
<raphaelss> is there a way to call a function having a pointer with ffi?
<raphaelss> searching the docs, but can't find it
axl_ has joined #ruby
<n1lo> hmm.. the gist by the way.. https://gist.github.com/c761b10100272725ca1c
phutchins has quit [Ping timeout: 245 seconds]
lethjakm1 has quit [Ping timeout: 245 seconds]
cphrmky has joined #ruby
<tobiasvl> n1lo: that should work fine
Xiti has quit [Quit: Xiti]
lzx has quit [Remote host closed the connection]
bjornar has joined #ruby
<n1lo> tobiasvl, thnaks very much.. :D
scripore has quit [Quit: This computer has gone to sleep]
adriancb has joined #ruby
jlast has joined #ruby
jenrzzz has joined #ruby
xaxisx has joined #ruby
xaxisx has quit [Read error: Connection reset by peer]
scripore has joined #ruby
riotjones has joined #ruby
jerius has joined #ruby
<sonOfRa> I want our Icinga to run some rake tasts on a rails application, and I'm wondering what the best way to set error codes is, in ruby. Basically, I want to be able to set an error code, and return a single line back to icinga (0 is OK, 1 is warning, 2 critical, 3 unknown). Should I just puts "status message" and then exit 0/1/2/3?
IrishGringo has quit [Read error: Connection reset by peer]
IrishGringo has joined #ruby
rubytor has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rubytor has joined #ruby
zenith_ has joined #ruby
Aswebb_ has quit []
davedev24_ has joined #ruby
riotjones has quit [Ping timeout: 245 seconds]
josephndenton has joined #ruby
werelivinginthef has joined #ruby
Guest12953 has quit [Quit: Leaving...]
zzzbra has quit [Ping timeout: 250 seconds]
lethjakm1 has joined #ruby
ponga has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
_maes_ has joined #ruby
SOLDIERz has joined #ruby
nateberkopec has joined #ruby
Wolland has joined #ruby
jzigmund_ has quit [Quit: leaving]
jzigmund has joined #ruby
Ellypse_ has joined #ruby
<havenwood> sonOfRa: warn "status message"
Ellypse_ has quit [Client Quit]
ponga has quit [Remote host closed the connection]
lethjakm1 has quit [Ping timeout: 245 seconds]
<havenwood> sonOfRa: `abort` doesn't let you pick the exit status, but otherwise is a `warn` and `exit 1` rolled into one
<sonOfRa> abort is guaranteed to have an exit status of 1?
EvanFreeman has joined #ruby
<sonOfRa> That'd probably do for now, everything these scripts currently detect are warnings, not real errors anyways
banister has joined #ruby
<hfp_work> Hey guys, what is :symbol, -> ` in Ruby?
banister has quit [Max SendQ exceeded]
pdoherty has joined #ruby
<hfp_work> sorry `:symbol, ->`
Vivex has quit [Ping timeout: 255 seconds]
zenith_ has quit [Remote host closed the connection]
<havenwood> hfp_work: a Symbol literal, comma then what looks like the start of a stabby lambda
Wolland has quit [Ping timeout: 255 seconds]
cassianoleal has joined #ruby
DaniG2k has joined #ruby
psy_ has joined #ruby
Macaveli has quit [Ping timeout: 246 seconds]
it0a has joined #ruby
fryguy9 has joined #ruby
jlast_ has joined #ruby
DEA7TH has joined #ruby
<apeiros_> hfp_work: a syntax error because it's an incomplete expression (rest as havenwood says)
ki0 has joined #ruby
<apeiros_> you probably should paste the full expression
IrishGringo has quit [Read error: Connection reset by peer]
anaeem1 has quit [Quit: Leaving...]
basichash has joined #ruby
zenith_ has joined #ruby
seitensei has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 245 seconds]
_br_- has quit [Ping timeout: 264 seconds]
<ddv> hfp_work: lambda
<ddv> oh sorry
<ddv> didn't read my backlog
roshanavand1 has joined #ruby
tokik has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
SOLDIERz has quit [Ping timeout: 265 seconds]
maximski has quit [Ping timeout: 264 seconds]
Mon_Ouie has joined #ruby
_br_ has joined #ruby
IrishGringo has joined #ruby
tjohnson has joined #ruby
lethjakm1 has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
fryguy9 has quit [Quit: Leaving.]
ghostpl has quit [Remote host closed the connection]
fryguy9 has joined #ruby
sinkensabe has joined #ruby
vasilakisfil has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<vasilakisfil> is there a way to initialize a hash that raises an error when trying to access a key that doens't exist ?
scripore has joined #ruby
<workmad3> >> h = Hash.new {raise "Key doesn't exist"}; h[:uh_oh]
<eval-in__> workmad3 => Key doesn't exist (RuntimeError) ... (https://eval.in/279388)
<vasilakisfil> great!
tagrudev has quit [Remote host closed the connection]
<apeiros_> and to do it propery: { |_hash, key| raise KeyError, "key not found: #{key.inspect}" }
<apeiros_> *properly
phutchins has joined #ruby
<apeiros_> (see Hash#fetch)
skj3gg has joined #ruby
mitchellhenke has joined #ruby
lethjakm1 has quit [Ping timeout: 245 seconds]
seitensei has joined #ruby
<workmad3> apeiros_: heh :) I guess you could do 'Hash.new{|h, k| h.fetch(k)}' too
<workmad3> rather than reimplement fetch in the proc
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<workmad3> (less efficient though, I know)
<hfp_work> havenwood, apeiros_, ddv: Thanks. Don't have the full code handy, just wondered what I was reading
marcdel has joined #ruby
ghostpl has joined #ruby
jottr has joined #ruby
lampd1 has joined #ruby
devdazed has joined #ruby
livathinos has joined #ruby
livathinos has quit [Client Quit]
maximski has joined #ruby
<vasilakisfil> damn... Hashie::Mash overrides it..
maximski has quit [Max SendQ exceeded]
<vasilakisfil> I actually won't to create an object from JSON.. I think I will roll my own stuff
JDiPierro has joined #ruby
maximski has joined #ruby
seitensei has quit [Ping timeout: 245 seconds]
maximski has quit [Max SendQ exceeded]
<apeiros_> workmad3: well, that does the lookup twice
<apeiros_> ah, I see, you already commented that
colli5ion has quit []
tus has quit []
<apeiros_> workmad3: I'd rather do: class FetchHash < Hash; alias [] fetch; end
maximski has joined #ruby
marcdel has quit [Ping timeout: 250 seconds]
maximski has quit [Max SendQ exceeded]
lampd1 has quit [Ping timeout: 245 seconds]
marcdel has joined #ruby
maximski has joined #ruby
<vasilakisfil> apeiros_ ok let's say that I have a Hash object {lala: '123'} how can I convert it to your FetchHash ?
maximski has quit [Max SendQ exceeded]
jottr has quit [Ping timeout: 264 seconds]
<apeiros_> FetchHash.new.replace(hash)
hamakn_ has quit [Remote host closed the connection]
<apeiros_> the "I'd rather do" was only with regards to "if you don't want to reimplement existing behavior"
maximski has joined #ruby
<apeiros_> I have no issue with the proc solution.
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
cpt_yossarian has joined #ruby
<vasilakisfil> ok actually I was trying to make Hashie work but still it returns nil
maximski has quit [Max SendQ exceeded]
seitensei has joined #ruby
jxpx777 has joined #ruby
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
IrishGringo has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
athan has quit [Quit: No Ping reply in 180 seconds.]
eka has quit [Max SendQ exceeded]
<hanmac1> apeiros_ no hash.to_fetchhash ? ;P
shredding has joined #ruby
<apeiros_> hanmac1: they can implement that based on the above code
snath has quit [Ping timeout: 252 seconds]
IrishGringo has joined #ruby
maximski has joined #ruby
<apeiros_> hanmac1: or a constructor: FetchHash.from(hash) or whatever
nyuszika7h has left #ruby ["WeeChat 1.2-dev"]
<apeiros_> but the code behind it is what I wrote
mkaesz has quit [Remote host closed the connection]
maximski has quit [Max SendQ exceeded]
athan has joined #ruby
eka has joined #ruby
charliesome has quit [Quit: zzz]
maximski has joined #ruby
lethjakm1 has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
kobain has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
maximski has quit [Max SendQ exceeded]
Takle has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
RitterJack has quit [Remote host closed the connection]
maximski has joined #ruby
kedare has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
lethjakm1 has quit [Ping timeout: 265 seconds]
IrishGringo has quit [Remote host closed the connection]
__chris has joined #ruby
Kricir has joined #ruby
craigp_ has quit []
<__chris> aep, hi
<gregf__> this is amazing(gives a compiletime error in python afaik), but works in ruby:
<gregf__> >>class Foo; def yay(a, b = nil, c); print [a,b,c].join(":"); end; end; f = Foo.new();f.yay(10,2); f.yay(10,2,3)
<eval-in__> gregf__ => 10::210:2:3nil (https://eval.in/279407)
<gregf__> oops sorry __chris :/
DaniG2k has quit [Quit: leaving]
Aova has joined #ruby
<vasilakisfil> hashie is such a huge library but still it can't provide this simple thing: http://pastie.org/9892366
Takle has joined #ruby
ghostpl has quit [Remote host closed the connection]
crueber has joined #ruby
crazydiamond has joined #ruby
<cphrmky> vasilakisfil use OpenStruct if you want that
roshanavand1 has quit [Remote host closed the connection]
sinkensabe has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
sinkensabe has joined #ruby
gokulnath has joined #ruby
<vasilakisfil> cphrmky with openstruct I get nil if I try to access a key that it's not there
ToXedVirus has joined #ruby
llrocknromarc has quit [Ping timeout: 265 seconds]
tunaCanBruh has joined #ruby
ghostpl has joined #ruby
<ToXedVirus> .bans
rippa has joined #ruby
ta_ has quit [Quit: Leaving...]
hanmac1 has quit [Quit: Leaving.]
oleo is now known as Guest51060
oleo__ has joined #ruby
zacstewart has quit [Remote host closed the connection]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlSquire has quit [Quit: Quitte]
AlexRussia has quit [Ping timeout: 256 seconds]
lzx has joined #ruby
lethjakm1 has joined #ruby
byprdct has joined #ruby
Pharaoh2 has joined #ruby
AlexRussia has joined #ruby
jxpx777 has quit [Quit: Leaving...]
zzzbra has joined #ruby
Sid05 has joined #ruby
Guest51060 has quit [Ping timeout: 264 seconds]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
Channel6 has joined #ruby
JimmyNeutron has quit [Ping timeout: 245 seconds]
apurcell has joined #ruby
oleo__ has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 252 seconds]
mkaesz has joined #ruby
JimmyNeutron has joined #ruby
marcdel has quit []
rocknrollmarc has quit [Ping timeout: 264 seconds]
ta has joined #ruby
siso has quit [Quit: siso]
maximski has quit []
scripore has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lzx has quit [Ping timeout: 250 seconds]
lethjakm1 has quit [Ping timeout: 252 seconds]
oleo__ has joined #ruby
oleo__ is now known as oleo
yfeldblum has joined #ruby
zzzbra has quit [Client Quit]
scripore has quit [Client Quit]
zzzbra has joined #ruby
apurcell has quit [Ping timeout: 246 seconds]
Peppuz has quit [Quit: This computer has gone to sleep]
roshanavand has quit [Quit: roshanavand]
JimmyNeutron has quit [Ping timeout: 240 seconds]
apurcell has joined #ruby
roshanavand has joined #ruby
JimmyNeutron has joined #ruby
fantazo has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
zenith_ has quit [Read error: Connection reset by peer]
zenith_ has joined #ruby
giuseppesolinas has joined #ruby
apurcell has quit [Ping timeout: 244 seconds]
AFKGeek has quit [Quit: Fades into the shadows]
Wolland has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
uptownhr has joined #ruby
zacstewart has joined #ruby
marcdel has joined #ruby
Vivex has joined #ruby
Pharaoh2 has joined #ruby
uptownhr has quit [Client Quit]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kedare has quit [Quit: WeeChat 1.0.1]
ponga has joined #ruby
pauly_oc has quit [Ping timeout: 250 seconds]
skj3gg has quit [Quit: ZZZzzz…]
lethjakm1 has joined #ruby
Stoge88 has joined #ruby
waynerade has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
lrocknrolmarc has joined #ruby
marcdel has quit [Ping timeout: 250 seconds]
lyuben_ has quit [Quit: This computer has gone to sleep]
<izzol> hello guys
aclearman037 has joined #ruby
<izzol> Just a quick question.
marcdel has joined #ruby
Vivex has quit [Ping timeout: 245 seconds]
<izzol> There is any good/simply method to strace ruby code?
<izzol> I mean I have executed my code and it's doing something and I would like to know exactly what.
<izzol> I know that I can use strace command.
qhartman has quit [Quit: Ex-Chat]
ponga has quit [Ping timeout: 245 seconds]
<izzol> But maybe there is something in Ruby? kind of debug?
soxet has quit [Ping timeout: 264 seconds]
lethjakm1 has quit [Ping timeout: 240 seconds]
SOLDIERz has joined #ruby
last_staff has quit [Quit: last_staff]
aclearman037 has quit [Client Quit]
apurcell has joined #ruby
hs366 has quit [Remote host closed the connection]
waynerade has quit [Ping timeout: 244 seconds]
lrocknrolmarc has quit [Ping timeout: 245 seconds]
aclearman037 has joined #ruby
danzilio has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
jtdowney has joined #ruby
<izzol> wottam: works nice :) thanks!
freerobby has joined #ruby
<wottam> izzol you're welcome :)
slawrenc_ has joined #ruby
apurcell has quit [Ping timeout: 240 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
uptownhr has joined #ruby
hhutch has joined #ruby
dfinninger has joined #ruby
slawrenc_ has quit [Client Quit]
skj3gg has joined #ruby
slawrenc_ has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fryguy9 has quit [Quit: Leaving.]
Squarepy has joined #ruby
ta_ has joined #ruby
xymbol has quit [Quit: Be back later ...]
danzilio has quit [Quit: My computer has fallen asleep!]
livathinos has joined #ruby
livathinos has quit [Client Quit]
SOLDIERz has quit [Ping timeout: 250 seconds]
ki0 has quit [Ping timeout: 264 seconds]
scripore has joined #ruby
abuzze_ has quit [Read error: Connection reset by peer]
xymbol has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
lethjakm1 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
uptownhr has quit [Quit: uptownhr]
soxet has joined #ruby
apurcell has joined #ruby
lmickh has joined #ruby
tiwillia has quit [Remote host closed the connection]
danzilio has joined #ruby
zzzbra has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
aganov has quit [Remote host closed the connection]
tesuji has joined #ruby
rbennacer has joined #ruby
lethjakm1 has quit [Ping timeout: 252 seconds]
rbennacer has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xymbol has quit [Ping timeout: 264 seconds]
timonv has quit [Ping timeout: 252 seconds]
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
aswen has quit [Ping timeout: 245 seconds]
apurcell has quit [Ping timeout: 245 seconds]
zzzbra has joined #ruby
sinkensabe has joined #ruby
tokik has quit [Ping timeout: 250 seconds]
dumdedum has quit [Quit: foo]
baroquebobcat has joined #ruby
<izzol> What is the best way to check if the file is exist?
<izzol> Create new def ?
<izzol> and more that load_file to there?
<izzol> or I can do something in initialize?
Squarepy has quit [Remote host closed the connection]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
stef204 has quit [Ping timeout: 250 seconds]
<apeiros_> File.exist?
maximski has joined #ruby
triple_b has joined #ruby
maximski has quit [Max SendQ exceeded]
sinkensabe has quit [Ping timeout: 252 seconds]
zacstewart has quit [Remote host closed the connection]
maximski has joined #ruby
mrmargolis has joined #ruby
Aova has quit [Read error: Connection reset by peer]
snath has joined #ruby
<izzol> apeiros_: I know that I can use File.exist. Sorry, wrong question ;-)
<izzol> My question is where :-)
<izzol> Can I use it somehow in initialize?
scripore has quit [Quit: This computer has gone to sleep]
<izzol> or only in new def ?
<apeiros_> you can use it wherever you want
tkuchiki has quit [Ping timeout: 245 seconds]
marcdel has quit []
<izzol> ok but I think initialize is wrong place when I need to check if file exist and if not create it.
<izzol> There will be one/two conditions.
<izzol> I'm not sure.
lethjakm1 has joined #ruby
basichash has quit [Ping timeout: 240 seconds]
abuzze has joined #ruby
fabrice31 has quit [Remote host closed the connection]
Aova has joined #ruby
Takle has quit [Remote host closed the connection]
apeiros_ has quit []
riotjones has joined #ruby
dstarh has joined #ruby
stef204 has joined #ruby
lethjakm1 has quit [Ping timeout: 246 seconds]
St1gma has quit [Ping timeout: 250 seconds]
dimaursu16 has quit [Remote host closed the connection]
dimaursu16 has joined #ruby
<waxjar> izzol: raise an exception in initialize if the error doesn't exist?
ta_ has joined #ruby
ghr has quit [Read error: No route to host]
<hoelzro> at that point, why not just like YAML.load_file raise it?
ghr has joined #ruby
MasterPieceF has joined #ruby
<izzol> hoelzro: raise sounds ok, I will try :)
riotjones has quit [Ping timeout: 264 seconds]
<waxjar> s/error/file/
pabloh has joined #ruby
tus has joined #ruby
dfinninger has quit [Remote host closed the connection]
scripore has joined #ruby
slushie|| has quit [Quit: leaving]
ta_ has quit [Ping timeout: 252 seconds]
dfinninger has joined #ruby
pardusf has quit [Ping timeout: 245 seconds]
lzx has joined #ruby
arup_r has joined #ruby
n008f4g_ has quit [Ping timeout: 245 seconds]
chrishough has joined #ruby
ta_ has joined #ruby
PierreRambaud has quit [Remote host closed the connection]
Takle has joined #ruby
<surs> Hi, I'm trying to execute a poweshell command from ruby: system("powershell (New-Object System.Net.Webclient).DownloadString("http://foo")
Lewix has joined #ruby
Lewix has joined #ruby
parduse has joined #ruby
momomomomo has joined #ruby
banister has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<surs> powershell complains about a missing ")", when I execute (New-Object System.Net.Webclient).DownloadString("http://foo") directly in ps, it works fine
ixti has joined #ruby
jxpx777 has joined #ruby
<izzol> system("powershell (New-Object System.Net.Webclient).DownloadString("http://foo")) ?
<izzol> system("powershell (New-Object System.Net.Webclient).DownloadString("http://foo")") ?
parduse is now known as Guest58445
<surs> command from ruby: system("powershell (New-Object System.Net.Webclient).DownloadString("http://foo")")
skj3gg has quit [Quit: ZZZzzz…]
<waxjar> surs, you haven't escaped your quotes (and you're missing the ") at the end
tvw has joined #ruby
lzx has quit [Ping timeout: 252 seconds]
<surs> "http://foo" is in a variable and I pull it using #{url}
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
pardusf has joined #ruby
lethjakm1 has joined #ruby
skj3gg has joined #ruby
<surs> so actually I have system("powershell (New-Object System.Net.Webclient).DownloadString(#{url})")
Guest58445 has quit [Ping timeout: 245 seconds]
zenith__ has joined #ruby
<shevy> surs you must escape quotes like "\"\""
tvw has quit [Client Quit]
<surs> ok
<shevy> surs it is often easier to build a string; let's call it cmd
El3k0n has joined #ruby
<shevy> cmd = ''
<shevy> puts cmd
<shevy> system cmd
zenith_ has quit [Read error: Connection reset by peer]
<shevy> then you get the output of the command you send to system()
ta_ has quit [Ping timeout: 265 seconds]
<surs> good idea
aapole has quit [Ping timeout: 245 seconds]
CustosL1men has quit [Ping timeout: 245 seconds]
<arup_r> any body read https://whatdoitest.com/articles book ?
<surs> thanks shevy and waxjar
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mostlybadfly has joined #ruby
lethjakm1 has quit [Ping timeout: 244 seconds]
cmckee has joined #ruby
Wolland has joined #ruby
Spami has joined #ruby
Spami_ has quit [Read error: Connection reset by peer]
Lewix has quit []
msgodf has quit [Ping timeout: 244 seconds]
mloveless has joined #ruby
Ankhers has joined #ruby
avahey has joined #ruby
shredding has quit [Quit: shredding]
waynerade has joined #ruby
seal has joined #ruby
quimrstorres has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
El3k0n has quit [Quit: Sto andando via]
Wolland has quit [Ping timeout: 252 seconds]
maximski has quit []
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
lyuben_ has joined #ruby
jenrzzz has joined #ruby
shredding has joined #ruby
rbennacer has joined #ruby
cphrmky has quit [Ping timeout: 244 seconds]
enterprisedc has quit [Quit: enterprisedc]
The_Phoenix has quit [Read error: Connection reset by peer]
DrCode has quit [Ping timeout: 250 seconds]
hforjehikiasq6n2 has joined #ruby
testcore has quit [Ping timeout: 250 seconds]
spacemud has quit [Ping timeout: 256 seconds]
SHyx0rmZ has quit [Ping timeout: 256 seconds]
enterprisedc has joined #ruby
codeFiend has joined #ruby
eregon has quit [Read error: Connection reset by peer]
eregon has joined #ruby
The_Phoenix has joined #ruby
testcore has joined #ruby
Ankhers has quit [Write error: Broken pipe]
Patteh has quit [Ping timeout: 245 seconds]
hfor has quit [Ping timeout: 250 seconds]
Patteh has joined #ruby
Ankhers has joined #ruby
galeido has quit [Ping timeout: 264 seconds]
ponga has joined #ruby
mbwe has quit [Ping timeout: 256 seconds]
rvchangue has quit [Ping timeout: 256 seconds]
galeido has joined #ruby
DrCode has joined #ruby
maximski has joined #ruby
mbwe has joined #ruby
maximski has quit [Max SendQ exceeded]
mengu has quit []
cjim__ has joined #ruby
rvchangue has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
spacemud has joined #ruby
maximski has joined #ruby
mkaesz has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 245 seconds]
mkaesz has joined #ruby
kamilc__ has joined #ruby
krisquigley has quit []
SOLDIERz has joined #ruby
dblessing has joined #ruby
danzilio has quit [Quit: My computer has fallen asleep!]
jtdowney has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
scripore has quit [Quit: This computer has gone to sleep]
hamakn has joined #ruby
mkaesz has quit [Remote host closed the connection]
fella6s has quit [Read error: Connection reset by peer]
tiwillia has joined #ruby
kamilc__ has quit [Read error: Connection reset by peer]
fella6s has joined #ruby
jtdowney has joined #ruby
scripore has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
Matadoer has quit [Ping timeout: 245 seconds]
The_Phoenix has joined #ruby
ItSANgo has quit [Read error: Connection reset by peer]
soahccc has quit [Ping timeout: 264 seconds]
ptrrr has joined #ruby
main has quit [Read error: Connection reset by peer]
zwer_i has joined #ruby
ItSANgo has joined #ruby
jouty has quit [Ping timeout: 245 seconds]
quimrstorres has joined #ruby
Matadoer has joined #ruby
soahccc has joined #ruby
Liothen has quit [Ping timeout: 245 seconds]
Ankhers has quit [Remote host closed the connection]
zwer has quit [Ping timeout: 250 seconds]
sivoais has quit [Ping timeout: 245 seconds]
cjim__ has quit [Quit: (null)]
gsd has joined #ruby
Ankhers has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
AlexRussia has quit [Ping timeout: 245 seconds]
hamakn has quit [Ping timeout: 255 seconds]
blackmes1 has joined #ruby
sivoais has joined #ruby
codeFiend has quit [Quit: codeFiend]
vpereira has quit [Ping timeout: 245 seconds]
jouty has joined #ruby
EvanFreeman has quit [Remote host closed the connection]
solars has quit [Quit: WeeChat 0.4.2]
AlexRussia has joined #ruby
vpereira has joined #ruby
cjim__ has joined #ruby
SOLDIERz has quit [Ping timeout: 264 seconds]
Liothen has joined #ruby
Liothen has joined #ruby
mrsolo has joined #ruby
shredding has quit [Quit: shredding]
Ankhers has quit [Remote host closed the connection]
ghostmoth has joined #ruby
jottr has joined #ruby
athan has quit [Read error: Connection reset by peer]
stunder has joined #ruby
Ankhers has joined #ruby
Sid05 has quit [Ping timeout: 264 seconds]
ta_ has joined #ruby
paulfm_ has joined #ruby
metadave has joined #ruby
_mynameis has joined #ruby
zenith__ has quit [Ping timeout: 245 seconds]
metadave has left #ruby [#ruby]
paulfm has quit [Read error: Connection reset by peer]
mats_ has quit [Quit: Leaving]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
Sid05 has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
pdoherty has quit [Remote host closed the connection]
Vivex has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
tier has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 252 seconds]
vasilakisfil has quit [Quit: Konversation terminated!]
tiwillia has quit [Read error: Connection reset by peer]
pauly_oc has joined #ruby
Guest15 has joined #ruby
maximski has quit []
jimms has joined #ruby
pdoherty has joined #ruby
fryguy9 has joined #ruby
Ankhers` has joined #ruby
Pharaoh2 has joined #ruby
Ankhers` has quit [Remote host closed the connection]
crazydiamond has quit [Ping timeout: 244 seconds]
shum1 has joined #ruby
sigurding has quit [Quit: sigurding]
zacstewart has joined #ruby
pdoherty has quit [Remote host closed the connection]
shellfu is now known as shellfu_dies
Aova has quit [Read error: Connection reset by peer]
pardusf has quit []
momomomomo has quit [Quit: momomomomo]
pietr0 has joined #ruby
Ankhers has quit [Ping timeout: 250 seconds]
pdoherty has joined #ruby
digifiv5e has joined #ruby
parduse has joined #ruby
einarj has quit [Remote host closed the connection]
shredding has joined #ruby
ta_ has joined #ruby
shredding has quit [Client Quit]
Parker0 has joined #ruby
seal has quit [Quit: Ex-Chat]
ptrrr has quit [Read error: Connection reset by peer]
ptrrr has joined #ruby
digifiv5e is now known as daynaskully
Parker0 has quit [Max SendQ exceeded]
Liothen has quit [Ping timeout: 245 seconds]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo has quit [Ping timeout: 245 seconds]
surs has quit [Ping timeout: 240 seconds]
Aova has joined #ruby
oetjenj has joined #ruby
deol has joined #ruby
deric_skibotn has joined #ruby
cajone has quit [Ping timeout: 245 seconds]
zacstewart has quit [Ping timeout: 244 seconds]
Zai00 has quit [Quit: Zai00]
ta_ has quit [Ping timeout: 252 seconds]
scripore has quit [Quit: This computer has gone to sleep]
daynaskully has quit [Quit: quit]
LudicrousMango has quit [Remote host closed the connection]
aclearman037 has joined #ruby
oetjenj has quit [Client Quit]
scripore has joined #ruby
oetjenj has joined #ruby
fryguy9 has quit [Quit: Leaving.]
tiwillia has joined #ruby
kalusn has quit [Remote host closed the connection]
yfeldblum has joined #ruby
<Senjai> surWhy not just open(url).read
<Senjai> surs*
oleo has joined #ruby
oleo has joined #ruby
oleo has quit [Changing host]
tier has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
nickjj has quit [Read error: Connection reset by peer]
Vivex_ has joined #ruby
nickjj has joined #ruby
Lemur has joined #ruby
bricker has joined #ruby
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cajone has joined #ruby
thumpba has joined #ruby
scripore has quit [Client Quit]
fryguy9 has joined #ruby
tiwillia has quit [Client Quit]
centrx has joined #ruby
Liothen has joined #ruby
JDiPierro has quit [Remote host closed the connection]
krzkrz has quit [Quit: WeeChat 1.0.1]
ta_ has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
Vivex has quit [Ping timeout: 250 seconds]
giuseppesolinas has joined #ruby
odin22 has joined #ruby
x77686d has joined #ruby
tiwillia has joined #ruby
razieliyo has joined #ruby
razieliyo has joined #ruby
davedev24_ has quit [Ping timeout: 256 seconds]
thumpba has quit [Ping timeout: 265 seconds]
davedev24_ has joined #ruby
jtdowney has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GaryOak_ has joined #ruby
paulfm_ has quit [Read error: Connection reset by peer]
lyuben_ has quit [Quit: This computer has gone to sleep]
Alina-malina has joined #ruby
paulfm has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
Xeago_ has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
tiwillia has quit [Client Quit]
russt has joined #ruby
tiwillia has joined #ruby
nolic has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<__chris> When I add alias_method on a static method I'm getting "undefined method 'xx' for class 'Class'"
<shevy> what is a static method
<yxhuvud> then you havn't followed the example.
allcentury has quit [Ping timeout: 245 seconds]
<yxhuvud> and it is impossible to say how you failed without you posting your code
<shevy> __chris you only need to be in the right scope; in the example you gave, the guy modified on class << self directly
jimms has quit [Remote host closed the connection]
<__chris> shevy, when I remove class << self I get "undefined method 'xx' for class '<The real class name>'
jimms has joined #ruby
sigurding has joined #ruby
<shevy> well because the method does not exist in that other scope man
<__chris> when i put the alias in singleton scope the error message states the class is just and "Class"
Flowrhent has joined #ruby
<shevy> why don't you simply paste your faulty code somewhere
ghostpl has quit [Remote host closed the connection]
paulfm has quit [Read error: Connection reset by peer]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulfm has joined #ruby
Xiti has quit [Quit: Xiti]
<shevy> >> class Foo; def self.test; puts 'hi from test'; end; class << self; alias bla test; end; end; Foo.bla
<eval-in__> shevy => hi from test ... (https://eval.in/279493)
uptownhr has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
triple_b has joined #ruby
paulfm has joined #ruby
fryguy9 has quit [Quit: Leaving.]
ta_ has joined #ruby
<shevy> did you try to move the second method above?
<gregf__> __chris: class Foo; def self.foo; puts "Foo";end; class<<self; alias_method :baz, :foo;end; end ; Foo.baz
Lemur has quit [Remote host closed the connection]
cpt_yossarian has quit [Ping timeout: 265 seconds]
poguez_ has joined #ruby
<yxhuvud> __chris: the method must exist when it is aliased. That is not the case in your class
<gregf__> oh well, shevy++
Xiti has joined #ruby
Flowrhent has quit [Client Quit]
yellowgh0st has joined #ruby
jimms has quit [Ping timeout: 264 seconds]
Flowrhent has joined #ruby
<__chris> shevy, gregf__ thanks. moving the alias at the bottom of the class worked.
<shevy> \o/
wottam has joined #ruby
<gregf__> __chris: you need to move the alias to after the method
<gregf__> did you know that?
<__chris> ah, so it should go directly after the static method?
<gregf__> righto
<__chris> This is done at each alias as well I assume.
<yxhuvud> __chris: files in ruby are evaluated from top to down. That includes class bodies.
<__chris> Ah ok. I thought it was hoisted
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<__chris> thank you
<yxhuvud> no hoisting in ruby.
blackmes1 has quit [Quit: WeeChat 1.1]
jxpx777 has quit [Quit: Leaving...]
sigurding_ has joined #ruby
oetjenj has joined #ruby
<yxhuvud> but note that it is usually only an issue for code that is actually executing. You are free to define methods that call each other in any order you want to
ta_ has quit [Ping timeout: 252 seconds]
<yxhuvud> as long as everything is defined when the methods are first called.
sigurding has quit [Ping timeout: 255 seconds]
sigurding_ is now known as sigurding
<__chris> thanks for dropping the knowledge on me.
trufflesnout has quit [Quit: Leaving...]
georgesmith has quit [Quit: georgesmith]
Pharaoh2 has joined #ruby
zachrab has joined #ruby
diranged has joined #ruby
<diranged> Whats the syntax to split a string (foo=bar=baz) on the first '=' only and get effectively 'foo' and then 'bar=baz'?
Takle has quit [Remote host closed the connection]
<yxhuvud> >>"foo=bar=baz".split("=",2)
<eval-in__> yxhuvud => ["foo", "bar=baz"] (https://eval.in/279502)
tyfighter has joined #ruby
<diranged> nifty
apurcell has joined #ruby
<diranged> thanks
<diranged> will that work with as many ='s as i want?
<diranged> ie.. foo=bar=baz=bat=blashlkasjdf=asdf= … would be foo and then baz=bat=blashlkasjdf=asdf=?
mrsolo has left #ruby ["Leaving"]
<shevy> >> "foo=bar=baz=bat=blashlkasjdf=asdf=".split("=",2)
<eval-in__> shevy => ["foo", "bar=baz=bat=blashlkasjdf=asdf="] (https://eval.in/279503)
<shevy> >> "foo=bar=baz=bat=blashlkasjdf=asdf=".split("=",3)
<eval-in__> shevy => ["foo", "bar", "baz=bat=blashlkasjdf=asdf="] (https://eval.in/279504)
<shevy> there you can define how many elements you'll have
<diranged> nice.. thanks
<shevy> guess a mnemonic is to equal the argument with how many elements your array will have :)
<shevy> 3 ... 3 elements ... 4 ... 4 elements ...
sambao21 has joined #ruby
<gregf__> >>"foo=bar=baz" =~ /([^=]+)=+(.*)/; print $1 + "-"+ $2
<eval-in__> gregf__ => foo-bar=baznil (https://eval.in/279505)
Ankhers has joined #ruby
scripore has joined #ruby
apurcell has quit [Ping timeout: 264 seconds]
tlarevo has joined #ruby
tlarevo has quit [Client Quit]
danjordan has quit [Quit: danjordan]
SOLDIERz has joined #ruby
yellowgh0st has quit [Quit: yellowgh0st]
zacstewart has joined #ruby
jtdowney has joined #ruby
recurrence has joined #ruby
jtdowney has quit [Client Quit]
confucius has joined #ruby
graydot has joined #ruby
wallerdev has joined #ruby
allcentury has joined #ruby
mkaesz has joined #ruby
jgt has quit [Ping timeout: 250 seconds]
apurcell has joined #ruby
jgt has joined #ruby
confucius has left #ruby [#ruby]
LouisRoR has quit [Ping timeout: 255 seconds]
last_staff has joined #ruby
jottr has joined #ruby
pdoherty has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
mskaesz has joined #ruby
roshanavand has quit [Ping timeout: 244 seconds]
roshanavand1 has joined #ruby
mkaesz has quit [Remote host closed the connection]
SOLDIERz has quit [Ping timeout: 245 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fabrice31 has joined #ruby
Timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
leafybasil has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
confucius has joined #ruby
jimms has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
Alina-malina has quit [Ping timeout: 264 seconds]
graydot has quit [Quit: graydot]
riotjones has joined #ruby
m8 has joined #ruby
squar1sm has joined #ruby
codeFiend has joined #ruby
tyfighter has quit [Quit: tyfighter]
fabrice31 has quit [Ping timeout: 265 seconds]
dfinninger has quit [Remote host closed the connection]
quimrsto_ has joined #ruby
Aova has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
skj3gg has joined #ruby
momomomomo has joined #ruby
ta_ has joined #ruby
dfinninger has joined #ruby
<agent_white> Good mornin'
yellowgh0st has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
quimrstorres has quit [Ping timeout: 240 seconds]
recurrence has quit [Quit: recurrence]
tyfighter has joined #ruby
_djbkd has joined #ruby
quimrsto_ has quit [Ping timeout: 245 seconds]
fryguy9 has joined #ruby
robustus has joined #ruby
confucius has left #ruby [#ruby]
riotjones has quit [Ping timeout: 256 seconds]
PaulCapestany is now known as PaulCape_
Aova has joined #ruby
chrishough has joined #ruby
rdark has quit [Quit: leaving]
pdoherty has joined #ruby
danzilio has joined #ruby
recurrence has joined #ruby
lyuben_ has joined #ruby
fryguy9 has quit [Quit: Leaving.]
fedalto has quit [Ping timeout: 256 seconds]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zzzbra has quit [Ping timeout: 245 seconds]
paradoja has quit [Ping timeout: 264 seconds]
fedalto has joined #ruby
zzzbra has joined #ruby
anshin has joined #ruby
Deithrian has quit [Read error: Connection reset by peer]
anshin has left #ruby [#ruby]
Deithrian has joined #ruby
rubytor has quit [Remote host closed the connection]
x77686d has quit [Ping timeout: 246 seconds]
Narzew has joined #ruby
Axy has quit [Read error: Connection timed out]
Axy has joined #ruby
Soda has joined #ruby
JDiPierro has joined #ruby
fedalto has quit [Ping timeout: 256 seconds]
athan has joined #ruby
fedalto has joined #ruby
x77686d has joined #ruby
x1337807x has joined #ruby
JoshGlzBrk has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
sandelius has joined #ruby
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
JoshGlzBrk has quit [Client Quit]
sandelius has quit [Max SendQ exceeded]
sandelius has joined #ruby
maximski has joined #ruby
<sandelius> what's the status on autoload now days?
<centrx> still legit
tyfighter has quit [Quit: tyfighter]
skj3gg has quit [Quit: ZZZzzz…]
tyfighter has joined #ruby
athan has quit [Read error: Connection reset by peer]
skj3gg has joined #ruby
kalusn has joined #ruby
skj3gg has quit [Client Quit]
russt has quit [Quit: russt]
momomomomo has quit [Quit: momomomomo]
hhutch has quit [Remote host closed the connection]
<shevy> sandelius it will be deprecated in ruby 3.x
<banister> sandelius shevy is correct
maximski has quit [Client Quit]
hhutch has joined #ruby
<sandelius> ok thx guys
lidaaa has joined #ruby
freerobby has quit [Quit: Leaving.]
ta_ has quit [Ping timeout: 245 seconds]
athan has joined #ruby
<sandelius> yeah I've read that but it hasen't been updated for a year
<shevy> not sure what you mean with an update :-)
fedalto has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
Guest15 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
fedalto has joined #ruby
jobewan has joined #ruby
startupality has quit [Quit: startupality]
leafybasil has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Senjai> Fellow rubyists who use Mocha
<Senjai> Of which I rarely do
athan has quit [Ping timeout: 244 seconds]
<Senjai> I need to create a mock of an object, that will satisfy a case statement
<Senjai> case my_mock
<Senjai> when ClassName
<Senjai> How to mock suchly?
Zai00 has joined #ruby
<Senjai> I can my_mock = ClassName.new
x1337807x has joined #ruby
<Senjai> and my_mock.stubs(:thing)
<Senjai> but I would prefer to create a pure mock object
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mkaesz has joined #ruby
jespada has quit [Quit: Leaving]
mskaesz has quit [Ping timeout: 265 seconds]
<waxjar> case statements use the case equality method
<waxjar> (===)
danzilio has quit [Quit: My computer has fallen asleep!]
momomomomo has joined #ruby
<Senjai> waxjar: So I can override ===?
<Senjai> waxjar: Also, thank you, I didn't know this bit. As I never use cases like this.. But I'm trying to fix a third party lib
Alina-malina has joined #ruby
n008f4g_ has joined #ruby
cmckee has quit [Quit: cmckee]
<waxjar> yes
havenwood has quit [Remote host closed the connection]
<Senjai> Awesome
<Senjai> I was worried if it just used some sort of native comparison of the class
havenwood has joined #ruby
<Senjai> Cheers :beers:
bigkevmcd has quit [Quit: Outta here...]
<waxjar> :)
zachrab has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 244 seconds]
gsd has joined #ruby
fryguy9 has joined #ruby
marr has quit [Read error: Connection reset by peer]
Ivision has quit [Ping timeout: 250 seconds]
snockerton has joined #ruby
gsd has quit [Client Quit]
mistermocha has joined #ruby
_djbkd has quit [Remote host closed the connection]
mistermocha has quit [Client Quit]
d10n-work has joined #ruby
aswen has joined #ruby
mistermocha has joined #ruby
skj3gg has joined #ruby
zenith_ has joined #ruby
Guest15 has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gokulnath has quit [Ping timeout: 252 seconds]
danzilio has joined #ruby
Hijiri has joined #ruby
tyfighter has quit [Quit: tyfighter]
x1337807_ has joined #ruby
ta_ has joined #ruby
elaptics is now known as elaptics`away
danzilio has quit [Max SendQ exceeded]
zacstewart has quit [Remote host closed the connection]
danzilio has joined #ruby
davedev24_ has quit [Ping timeout: 252 seconds]
allcentury has joined #ruby
x1337807x has quit [Ping timeout: 252 seconds]
danzilio has quit [Max SendQ exceeded]
ghr has quit [Ping timeout: 245 seconds]
rbennacer has quit [Remote host closed the connection]
aswen has quit [Ping timeout: 245 seconds]
davedev24_ has joined #ruby
SOLDIERz has joined #ruby
baweaver has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
danzilio has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
jimms has quit []
davedev24_ has quit [Read error: Connection reset by peer]
ta_ has quit [Ping timeout: 252 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
momomomomo has quit [Quit: momomomomo]
davedev24_ has joined #ruby
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
paulfm has quit [Read error: Connection reset by peer]
paulfm_ has joined #ruby
jxpx777 has joined #ruby
davedev2_ has quit [Read error: Connection reset by peer]
dfinninger has quit [Remote host closed the connection]
davedev24_ has joined #ruby
rbennacer has joined #ruby
SOLDIERz_ has joined #ruby
banister has joined #ruby
fedalto has quit [Ping timeout: 264 seconds]
banister has quit [Max SendQ exceeded]
sinkensabe has joined #ruby
fedalto has joined #ruby
zachrab has joined #ruby
zacstewart has joined #ruby
ta_ has joined #ruby
SOLDIERz has quit [Ping timeout: 245 seconds]
zachrab has quit [Remote host closed the connection]
zenith_ has quit [Ping timeout: 245 seconds]
towski_ has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
ghostmoth has joined #ruby
vdamewood has joined #ruby
baweaver has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 264 seconds]
chrishough has joined #ruby
zacstewart has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
jgt has quit [Ping timeout: 245 seconds]
ta_ has quit [Ping timeout: 245 seconds]
banister has joined #ruby
SpenQ has joined #ruby
fedalto has quit [Ping timeout: 245 seconds]
fryguy9 has quit [Quit: Leaving.]
fedalto has joined #ruby
hforjehikiasq6n2 is now known as hfor
dopie has quit [Ping timeout: 264 seconds]
PanzerModern has joined #ruby
Aova has joined #ruby
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
astrobunny has quit [Remote host closed the connection]
Guest15 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sigurding has quit [Quit: sigurding]
zachrab has joined #ruby
_djbkd has joined #ruby
yfeldblum has joined #ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
fedalto has quit [Quit: leaving]
ptrrr has quit [Quit: ptrrr]
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
MaciejCzyzewski has joined #ruby
bMalum has quit [Quit: bMalum]
OrbitalKitten has joined #ruby
DukeJames has quit [Remote host closed the connection]
Flowrhent has quit [Quit: Flowrhent]
selaruvich has quit [Ping timeout: 244 seconds]
maximski has joined #ruby
Guest15 has joined #ruby
maximski has quit [Max SendQ exceeded]
jxpx777 has quit [Quit: Leaving...]
fantazo has quit [Quit: Verlassend]
maximski has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
uptownhr has quit [Quit: uptownhr]
pipework is now known as |work
baroquebobcat has joined #ruby
scripore has joined #ruby
MaciejCzyzewski has quit [Client Quit]
scripore has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claymore has joined #ruby
bMalum has joined #ruby
reinaldob has quit [Ping timeout: 265 seconds]
maximski has quit [Client Quit]
dopie has joined #ruby
it0a has quit [Quit: WeeChat 1.1.1]
sambao21 has quit [Quit: Computer has gone to sleep.]
maximski has joined #ruby
x1337807_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Axy has quit [Read error: Connection reset by peer]
ellisTAA has joined #ruby
<Diabolik> jhass
<Diabolik> 12.to_s.chars.map(&:to_i)
__chris has quit [Ping timeout: 250 seconds]
<Diabolik> how can i access the array this dumps the numbers in
<wallerdev> wtf
<ellisTAA> i’m trying to convert strings and integers to binary .. so i’ve read to us something like .to_i(base) or .to_s(base) but i dont get wth base is?
fryguy9 has joined #ruby
<wallerdev> lol
dc has joined #ruby
<Diabolik> hi wallerdev
sambao21 has joined #ruby
<Diabolik> im trying to split a number into its digits
<wallerdev> binary is base 2
<Diabolik> so i can add them together
oleo has quit [Quit: Verlassend]
<jhass> Diabolik: you get it returned by your map call
<wallerdev> bases are the number of digits you get to use before you have a "tens place"
<wallerdev> so in binary you have 0, 1, 10, 11, 100, 101, etc
<wallerdev> you only get 2 digits to work with
<jhass> assign it to a variable
<wallerdev> decimal which is what humans use is base 10
<wallerdev> so you get 0-9 then 10 and start over
jxpx777 has joined #ruby
momomomomo has joined #ruby
oleo has joined #ruby
Guest15 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scripore has joined #ruby
banister has joined #ruby
zacstewart has joined #ruby
maximski has quit []
xymbol has joined #ruby
mbeasley has quit [Quit: WeeChat 0.4.2]
mbeasley has joined #ruby
<waxjar> you can also use String#% (sprintf) to get the binary representation of a number
<ellisTAA> wallerdev: so the base is always 2 or the base can vary up to 9 or something else?
<wallerdev> the base can be anything
skj3gg has quit [Quit: welp, see you later.]
<|work> Cause you know it's all about dat base, 'bout dat base.
<wallerdev> >> [127.to_s(2), 127.to_s(10), 127.to_s(16)]
<eval-in__> wallerdev => ["1111111", "127", "7f"] (https://eval.in/279580)
Takle has joined #ruby
<ellisTAA> wallerdev: what explains the differences in your results? how does 2 produce 111111, and 10 produces 127?
ta_ has joined #ruby
<wallerdev> math with different bases
<wallerdev> normal math is done in base 10
<wallerdev> binary math only uses 0s and 1s to represent numbers
<wallerdev> hexadecimal (16) math can use 0-9, and a-f
<centrx> normal math is done without numbers :P
<wallerdev> so i could write F instead of saying 15
squar1sm has quit [Ping timeout: 240 seconds]
shredding has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
cjim__ has quit [Quit: (null)]
<wallerdev> E for 14, etc
momomomomo_ has joined #ruby
momomomomo has quit [Ping timeout: 250 seconds]
momomomomo_ is now known as momomomomo
<ellisTAA> still dont get it … what can i google to learn abotu this?
<wallerdev> so in the example 7F is 127 because you get 7 * 16 (the base) + F (15) so 7 * 16 + 15
cjim__ has joined #ruby
<wallerdev> "math in different bases"
<centrx> arithmetic
<wallerdev> or something
ta_ has quit [Ping timeout: 252 seconds]
odin22 has quit [Ping timeout: 245 seconds]
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexRussia has quit [Ping timeout: 245 seconds]
oetjenj has joined #ruby
AlexRussia has joined #ruby
<Diabolik> so jhass
<Diabolik> i am 6th kyu on codewars!
<Diabolik> thanks to the help of #ruby
<Diabolik> :P
LouisRoR has joined #ruby
hhutch has quit [Read error: Connection reset by peer]
<Diabolik> "I would like to dedicate this award to wallerdev epitron jhass and havenwood"
tunaCanBruh has joined #ruby
<Diabolik> and my mother
aapole has joined #ruby
<Diabolik> :P
nucatus has joined #ruby
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
<jhass> mmh, I'm still only 3kyu
<jhass> kinda lost interest :P
fryguy9 has quit [Quit: Leaving.]
<Diabolik> does array#reduce work the same way in ruby as it does in js?
blackmesa has joined #ruby
<Senjai> Diabolik: Try it
<Senjai> :P
<Senjai> The ruby docs are also excellent
<Diabolik> im reading them
<Diabolik> why does everyone hate omniref?
<Senjai> Reduce and inject (synonyms) are well documented
<|work> Who is 'everyone'?
cmckee has joined #ruby
ta_ has joined #ruby
<Diabolik> |work it gets a lot of shit in here
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Megtastique has joined #ruby
_djbkd has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
rodfersou has quit [Quit: leaving]
_honning_ has joined #ruby
fabrice31 has joined #ruby
fryguy9 has joined #ruby
postmodern has joined #ruby
marr has joined #ruby
Morkel has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
tunaCanBruh has quit [Ping timeout: 252 seconds]
ellisTAA has quit [Quit: ellisTAA]
_djbkd has joined #ruby
davedev2_ has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
davedev24_ has quit [Ping timeout: 245 seconds]
oetjenj_ has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
n1lo has quit [Quit: Leaving]
<shevy> never heard of omniref
scripore has quit [Quit: This computer has gone to sleep]
fabrice31 has quit [Ping timeout: 265 seconds]
wallerdev_ has joined #ruby
rubytor has joined #ruby
IrishGringo has joined #ruby
oetjenj has quit [Ping timeout: 252 seconds]
sp1rs has joined #ruby
gfawcettpq has quit [Ping timeout: 246 seconds]
riotjones has joined #ruby
scripore has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
davedev2_ has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
ptrrr has joined #ruby
wallerdev_ has quit [Ping timeout: 256 seconds]
tunaCanBruh has joined #ruby
<GaryOak_> is that person, or a gem?
ellisTAA has joined #ruby
<Diabolik> reference guide
davedev24_ has joined #ruby
<Diabolik> is this time for me to use map again
<Diabolik> with interpolation
greenbagels has joined #ruby
jhebden has joined #ruby
bMalum has quit [Quit: bMalum]
riotjones has quit [Ping timeout: 264 seconds]
OrbitalKitten has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
<jhass> Diabolik: not really, you want to map the names out yes, but then look at Array#join and Array#pop
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt has joined #ruby
kristian-aalborg has joined #ruby
<kristian-aalborg> hi ppl
ptrrr has quit [Quit: ptrrr]
tunaCanBruh has quit [Ping timeout: 256 seconds]
ptrrr has joined #ruby
ptrrr has quit [Client Quit]
<kristian-aalborg> sorry... I had nokogiri/libxml working a few days ago, but now I get the dreaded error: WARNING: Nokogiri was built against LibXML version 2.9.2, but has dynamically loaded 2.9.1
<kristian-aalborg> I can't remember how I fixed it :(
zachrab has quit [Remote host closed the connection]
<jhass> how about you just update your libxml2 this time
last_staff has joined #ruby
ldnunes has quit [Quit: Leaving]
PaulCape_ has quit []
Aova has quit [Read error: Connection reset by peer]
xymbol has quit [Quit: Be back later ...]
zachrab has joined #ruby
PaulCapestany has joined #ruby
pontiki has joined #ruby
ellisTAA has left #ruby [#ruby]
codeFiend has quit [Quit: codeFiend]
momomomomo has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 246 seconds]
snockerton has quit [Quit: leaving]
zenith_ has joined #ruby
yellowgh0st has quit [Quit: yellowgh0st]
Aova has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
zachrab has quit [Ping timeout: 264 seconds]
davedev24_ has joined #ruby
<kristian-aalborg> hi jhass
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
cphrmky has joined #ruby
yellowgh0st has joined #ruby
ta_ has joined #ruby
aclearman037 has joined #ruby
momomomomo has joined #ruby
mkaesz has quit [Remote host closed the connection]
Megtastique has quit []
zachrab has joined #ruby
josephndenton has quit [Ping timeout: 245 seconds]
momomomomo has quit [Client Quit]
tunaCanBruh has joined #ruby
mLF has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
cmckee has quit [Quit: cmckee]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zachrab has quit [Ping timeout: 255 seconds]
ta_ has joined #ruby
yellowgh0st has quit [Quit: yellowgh0st]
startupality has joined #ruby
vdamewood has quit [Quit: Computer has gone to sleep.]
sambao21 has quit [Quit: Computer has gone to sleep.]
allcentury has joined #ruby
_honning_ has quit [Ping timeout: 245 seconds]
brb3 has quit [Quit: ZZZzzz…]
crazydiamond has joined #ruby
paulfm_ has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
momomomomo has joined #ruby
philwantsfish has quit [Read error: Connection reset by peer]
Darryl___ has quit [Quit: Connection closed for inactivity]
paulfm has joined #ruby
philwantsfish has joined #ruby
fryguy9 has quit [Quit: Leaving.]
yellowgh0st has joined #ruby
scripore has joined #ruby
Pharaoh2_ has joined #ruby
mitchellhenke has joined #ruby
<epitron> Diabolik: :D
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
fryguy9 has joined #ruby
Pharaoh2 has quit [Ping timeout: 250 seconds]
dc has quit [Remote host closed the connection]
zacstewart has quit [Remote host closed the connection]
Sid05_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
ghostpl has joined #ruby
Sid05 has quit [Ping timeout: 256 seconds]
Sid05_ is now known as Sid05
ponga has quit [Ping timeout: 240 seconds]
graydot has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<shevy> kristian-aalborg kill all libxml, then reinstall
<shevy> ideally get rid of the 2.9.1
wallerdev has joined #ruby
Azure has quit [Read error: Connection reset by peer]
brb3 has joined #ruby
Megtastique has joined #ruby
momomomomo_ has joined #ruby
wallerdev has quit [Client Quit]
jherbst has joined #ruby
Azure has joined #ruby
scripore has joined #ruby
ghostpl has quit [Ping timeout: 264 seconds]
vdamewood has joined #ruby
parduse has quit []
decoponyo has quit [Quit: Leaving...]
momomomomo has quit [Ping timeout: 245 seconds]
momomomomo_ is now known as momomomomo
sssilver has quit [Read error: Connection reset by peer]
sssilver| has quit [Read error: Connection reset by peer]
sssilver has joined #ruby
sssilver| has joined #ruby
AfricooneryBaffo has joined #ruby
Sawbones has joined #ruby
AfricooneryBaffo is now known as AfricooneryBfnry
<Diabolik> what the shit
<Diabolik> i try to run rails s
<Diabolik> An error occurred while installing pg (0.18.1), and Bundler cannot continue.
<Diabolik> Make sure that `gem install pg -v '0.18.1'` succeeds before bundling.
iamninja has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
zenith_ has quit [Ping timeout: 240 seconds]
scripore has quit [Client Quit]
seal has joined #ruby
Sid05 has quit [Quit: Sid05]
Sawbones has quit [Ping timeout: 245 seconds]
Sid05 has joined #ruby
sambao21 has joined #ruby
recurrence has quit [Quit: recurrence]
triple_b has quit [Ping timeout: 264 seconds]
it0a has joined #ruby
ElderFain has joined #ruby
scripore has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
tylersmith has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
danjordan has joined #ruby
baweaver has joined #ruby
pontiki has quit [Remote host closed the connection]
yokel has quit [Quit: Lost terminal]
seal has quit [Quit: Ex-Chat]
ezra_ is now known as ezra
ezra has quit [Changing host]
ezra has joined #ruby
yokel has joined #ruby
kobain has joined #ruby
<gregf__> 401~~86~54e6e678990-'1
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
wallerdev has joined #ruby
FaresKAlaboud has quit [Quit: Quit~]
devdazed has quit [Quit: Computer has gone to sleep.]
lanemeyer has quit [Ping timeout: 252 seconds]
FaresKAlaboud has joined #ruby
dstarh has quit [Quit: Textual IRC Client: www.textualapp.com]
scripore has quit [Quit: Leaving]
Sid05 has quit [Quit: Sid05]
quimrstorres has joined #ruby
maximski has joined #ruby
AfricooneryBfnry has quit [Ping timeout: 246 seconds]
<rsty1> if i have a said array... how would i convert it to a matrix and be able to call the values based on row/column?
<rsty1> for instance, split an array of 81 into 9 x 9 matrix
<shevy> Diabolik that's the problem with bundler - things break!
wallerdev has quit [Ping timeout: 252 seconds]
<shevy> Diabolik you probably have to compile the postgre gem
<shevy> for many linux distribution users, this problem often boils down to missing some .h files
Azure has quit [Ping timeout: 245 seconds]
<Diabolik> ok
<Diabolik> postgre
<Diabolik> ?
revoohc has quit [Quit: revoohc]
recurrence has joined #ruby
redballoon7762 has joined #ruby
<shevy> Diabolik that is the pg gem
<shevy> Diabolik you can check what it is all the time btw
<shevy> all gems will usually be on rubygems.org
<shevy> there you can also manually download it if automatic download fails
<shevy> and you can unpack a gem via: gem unpack *.gem
jhebden has quit [Ping timeout: 246 seconds]
redres has joined #ruby
zacstewart has joined #ruby
Aova has quit [Read error: Connection reset by peer]
razieliyo has quit [Ping timeout: 264 seconds]
zenith_ has joined #ruby
sp1rs has quit [Read error: Connection reset by peer]
josephndenton has joined #ruby
sargas has joined #ruby
<ezra> rsty1: ar.each_slice(2).to_a
allcentury has quit [Ping timeout: 246 seconds]
ta_ has joined #ruby
<rsty1> ezra, thanks. i will try that and also look into each_slice
allcentury has joined #ruby
lxsameer has quit [Quit: Leaving]
Stoge88 has joined #ruby
cphrmky has quit [Read error: Connection reset by peer]
zenith_ has quit [Remote host closed the connection]
odin22 has joined #ruby
wallerdev has joined #ruby
danzilio has quit [Quit: Baiii!]
Aova has joined #ruby
mLF has quit [Remote host closed the connection]
maximski has quit []
momomomomo_ has joined #ruby
uptownhr has joined #ruby
momomomomo has quit [Ping timeout: 245 seconds]
momomomomo_ is now known as momomomomo
yellowgh0st has quit [Quit: yellowgh0st]
mkaesz has joined #ruby
ta_ has quit [Ping timeout: 250 seconds]
iamninja has quit [Quit: Textual IRC Client: www.textualapp.com]
Morkel has quit [Quit: Morkel]
momomomomo has quit [Client Quit]
iamninja has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
sigurding has joined #ruby
zachrab has joined #ruby
oetjenj_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
elaptics`away is now known as elaptics
oetjenj has joined #ruby
paulfm_ has joined #ruby
zachrab has quit [Ping timeout: 244 seconds]
zacstewart has quit [Remote host closed the connection]
_honning_ has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
paulfm_ has quit [Read error: Connection reset by peer]
shredding has quit [Quit: shredding]
charliesome has joined #ruby
Troy^ has joined #ruby
sailing has joined #ruby
<mozzarella> guys help
_mynameis has quit [Quit: Leaving]
<sailing> Opinions: calling a non-private method from a private method?
_djbkd has quit [Remote host closed the connection]
<sailing> mozzarella, whats up?
fryguy9 has quit [Quit: Leaving.]
SOLDIERz_ has quit [Quit: Be back later ...]
Azure has joined #ruby
tunaCanBruh has quit [Ping timeout: 245 seconds]
<crome> I love mozzarella
<crome> being able to use tab to autocomplete mozzarella is an awesome thing
<sailing> hahaha I put all my code in a /mozzarella/ just so I can do that daily
sambao21 has quit [Quit: Computer has gone to sleep.]
<sailing> Do you have to append ":" to mention, or is it on any name
_honning_ has quit [Read error: Connection reset by peer]
<sailing> but devs, do you call non-private methods from private? does it matter? do you care?
tunaCanBruh has joined #ruby
<crome> I don't think it's a bad thing per se but you can probably refine the public interface of your class if you find yoruself doing it
<crome> also, if you think your design is weird then it most likely is
VBlizzard has joined #ruby
uptownhr has quit [Quit: uptownhr]
fryguy9 has joined #ruby
zenith_ has joined #ruby
trufflesnout has joined #ruby
ponga has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<redres> can anyone evaluate some syntax
mostlybadfly has quit [Quit: Connection closed for inactivity]
<agent_white> >> print "NOPE"
sandelius has joined #ruby
<eval-in__> agent_white => NOPEnil (https://eval.in/279631)
russt has joined #ruby
blizzy has quit [Ping timeout: 244 seconds]
<sailing> What happened to mozzarella
<sailing> ?
Hijiri has quit [Quit: abcdef]
zenith_ has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
Ankhers has quit [Ping timeout: 250 seconds]
fmcgeough has quit [Quit: fmcgeough]
fabrice31 has joined #ruby
<Diabolik> do you guys use git exclusively from the command line?
<Diabolik> or a GUI?
allcentury has quit [Ping timeout: 240 seconds]
<crome> commandline
<crome> rarely tig
ponga has quit [Ping timeout: 250 seconds]
russt has quit [Client Quit]
<mozzarella> it's alright guys, I found the answer I was looking for
ta_ has quit [Ping timeout: 252 seconds]
goshdarnyou has joined #ruby
<ezra> diabolik: every once in a while i'll use tortoisegit for viewing logs or merge resolution
mloveless has quit [Remote host closed the connection]
ta_ has joined #ruby
baweaver has quit [Remote host closed the connection]
codeFiend has joined #ruby
uptownhr has joined #ruby
<sailing> Diabolik: I've used the GUI once and got neurotic without git diff
<|work> Mmm not using windows.
IrishGringo has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Ping timeout: 264 seconds]
leafybasil has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
leafybasil has joined #ruby
LiquidInsect has quit [Ping timeout: 246 seconds]
DadoCe has joined #ruby
ta_ has quit [Ping timeout: 245 seconds]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Troy^ has joined #ruby
jottr has joined #ruby
IrishGringo has joined #ruby
emdub has joined #ruby
Hijiri has joined #ruby
charliesome has quit [Quit: zzz]
SpenQ has quit [Quit: Leaving]
silkfox has quit [Ping timeout: 250 seconds]
graydot has quit [Quit: graydot]
<shevy> windows is great for games!
<sailing> However, did you see github added edit-in-browser?
diranged has left #ruby [#ruby]
leafybasil has quit [Ping timeout: 245 seconds]
tyfighter has joined #ruby
DadoCe has quit [Ping timeout: 252 seconds]
jottr has quit [Ping timeout: 256 seconds]
graydot has joined #ruby
brb3 has quit [Quit: <.<]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
max96at is now known as max96at|off
bMalum has joined #ruby
JDiPierro has quit [Remote host closed the connection]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ghostmoth has joined #ruby
Dreamer3 has joined #ruby
Sid05 has joined #ruby
_djbkd has joined #ruby
allcentury has joined #ruby
tyfighter has quit [Client Quit]
shazaum has joined #ruby
fryguy9 has quit [Quit: Leaving.]
russt has joined #ruby
<|work> sailing: I'll consider it when I can run tests without committing in the browser.
m00zy has joined #ruby
rbennacer has quit [Remote host closed the connection]
|work is now known as pipework
rbennacer has joined #ruby
Sawbones has joined #ruby
claymore has quit [Quit: Leaving]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
TheNet has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbennacer has quit [Ping timeout: 245 seconds]
pika_pika has quit [Ping timeout: 245 seconds]
leafybasil has joined #ruby
ght has quit [Remote host closed the connection]
sambao21 has joined #ruby
jimms has joined #ruby
Sawbones has quit [Ping timeout: 256 seconds]
sailing has quit [Ping timeout: 246 seconds]
Troy^ has joined #ruby
sigurding has quit [Quit: sigurding]
Narzew has quit [Ping timeout: 264 seconds]
freerobby has quit [Quit: Leaving.]
blackmesa has quit [Ping timeout: 245 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Aova has quit [Read error: Connection reset by peer]
dtscode- has quit [K-Lined]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
zachrab has joined #ruby
redres has quit [Quit: Linkinus - http://linkinus.com]
russt has quit [Quit: russt]
allcentury has quit [Ping timeout: 245 seconds]
chrishough has joined #ruby
JoshGlzBrk has joined #ruby
MasterPieceF has quit [Remote host closed the connection]
Aova has joined #ruby
baweaver has joined #ruby
daveomcd has joined #ruby
<daveomcd> is "ends_with?" not a valid method for a string object in ruby?
zachrab has quit [Ping timeout: 252 seconds]
Musashi007 has joined #ruby
<wallerdev> end_with
<wallerdev> its named dumb
<daveomcd> wallerdev, doh! thanks
<wallerdev> lol
<bricker> wallerdev: dumbly*
<wallerdev> haha
<bricker> :)
quimrstorres has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
pdoherty has quit []
freerobby has joined #ruby
netuoso has joined #ruby
werelivinginthef has joined #ruby
<shevy> daveomcd a simple way to memorize is by asking the right question: "object, do you end_with xyz?" - in other words, to ask a singular object about the data it has
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nucatus has quit [Remote host closed the connection]
quimrstorres has joined #ruby
<wallerdev> or just class String; def ends_with?(x); self.end_with?(x); end end
<wallerdev> maybe a comment # fixes dumb naming
<wallerdev> i guess could just do alias_method haha
<netuoso> Given this code example: http://pastebin.com/QdRUAHyY : how can i add call an upcase function in the manner showed on line 13 ?
Narzew has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
giuseppesolinas has joined #ruby
yellowgh0st has joined #ruby
baweaver has quit [Ping timeout: 255 seconds]
<wallerdev> what the heck
<wallerdev> is line 1
<wallerdev> is that pseudocode
<wallerdev> haha
<netuoso> i meant module
<netuoso> i typed it out
<netuoso> my bad
<daveomcd> shevy, good note! thanks
devbug has joined #ruby
Takle has quit [Remote host closed the connection]
<wallerdev> what is accumulate supposed to do
<wallerdev> it just returns self
<wallerdev> kinda pointless
<netuoso> ... that wasnt the question tho
<netuoso> that was example code, which yeah, returns itself if nothing is done on it
<netuoso> but im asking how to make it return the upcase version given the call on line 13
<netuoso> its for an exercise
<wallerdev> you could do %w(hello world).accumulate.map(&:upcase)
<netuoso> they asked not to use map or collect
erenrich has joined #ruby
<netuoso> suggested reduce instead
dfinninger has quit [Remote host closed the connection]
erenrich has left #ruby [#ruby]
<netuoso> but i dont see how to make the (&:upcase) work
<wallerdev> what is accumulate supposed to do
giuseppesolinas has quit [Client Quit]
<wallerdev> whats the expected result
zacstewart has joined #ruby
<netuoso> accumulate is supposed to do what map does
<netuoso> expected result of line 13 is ["HELLO", "WORLD"]
<netuoso> if i implemented the &:upcase
arescorpio has joined #ruby
<netuoso> i just dont get that part, its simple im sure
<wallerdev> if it just does what map does theres no reason to use reduce haha, thats weird
<netuoso> ruby newb <--
<wallerdev> reduce returns a single value
<netuoso> let me paste you my readme
<wallerdev> &:upcase is the same as passing in { |x| x.upcase }
<netuoso> that may help out
<netuoso> hm ok i think that clears it a little actually
<wallerdev> so you need to work with the block passed in
<netuoso> just fyi that was my topic
<netuoso> but i think you answered what i was asking
giuseppesolinas has joined #ruby
it0a has quit [Ping timeout: 256 seconds]
tier has quit [Remote host closed the connection]
<wallerdev> k good luck :)
<netuoso> ty
<devbug> Say I want to run a different ruby (engine) in production from development...
<devbug> What's the cleanest way?
<netuoso> rvm (linux, mac), uru (windows)
<wallerdev> dont run a ruby windows server in production lol
<netuoso> technically uru works on linux and mac but the concensus is to use rvm
<wallerdev> i thought people hated rvm these days
adriancb has quit [Remote host closed the connection]
<devbug> I've contemplated setting an env var
<netuoso> ive never seen uru but on windows being used
postmodern has quit [Quit: Leaving]
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<agent_white> devbug: Your dev server should only have 1 version of ruby installed... using rvm is asking for trouble.
<agent_white> prod server**
Xeago has joined #ruby
stunder has quit [Remote host closed the connection]
<devbug> agent_white: not using and manager...
<agent_white> ?
Megtastique has quit []
<devbug> Well, I do when forcing production to test locally...
LudicrousMango has joined #ruby
CpuID2 has joined #ruby
cpt_yossarian has joined #ruby
<netuoso> why is the ruby community so bad ass ?
<netuoso> legit question lol
<devbug> it's not...
mostlybadfly has joined #ruby
<agent_white> devbug: Heh... I don't understand what exactly you're saying haha. BUT, netuoso's answer is what I do: I just use rvm.
<netuoso> agent_white: lol you got those flopped
<agent_white> netuoso: "Matz is nice so we are nice." :D
Troy^ has joined #ruby
CpuID2 has quit [Client Quit]
<netuoso> agent_white: nvm
<netuoso> i misread
<netuoso> time for a break
<agent_white> :P
ponga has joined #ruby
zacstewart has quit [Ping timeout: 240 seconds]
TheNet has quit [Quit: Leaving...]
mistermocha has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 245 seconds]
enterprisedc has quit [Quit: enterprisedc]
Takle has joined #ruby
jerius has quit [Ping timeout: 250 seconds]
davedev2_ has quit [Ping timeout: 255 seconds]
Sid05 has quit [Quit: Sid05]
davedev24_ has joined #ruby
ponga has quit [Ping timeout: 245 seconds]
jobewan has quit [Quit: Leaving]
x77686d has quit [Read error: Connection reset by peer]
livingstn has quit []
x77686d has joined #ruby
claw has quit [Ping timeout: 245 seconds]
jobewan has joined #ruby
claw_ has joined #ruby
CpuID2 has joined #ruby
stef204 has joined #ruby
CpuID2 has quit [Changing host]
CpuID2 has joined #ruby
stef204 has joined #ruby
stef204 has quit [Changing host]
Kricir has joined #ruby
Sid05 has joined #ruby
jxpx777 has quit [Quit: Leaving...]
enterprisedc has joined #ruby
longfeet has joined #ruby
uptownhr has quit [Quit: uptownhr]
Hijiri has quit [Quit: WeeChat 1.0.1]
ta_ has joined #ruby
CpuID2 has quit [Client Quit]
zachrab has joined #ruby
wallerdev_ has joined #ruby
mloveless has joined #ruby
lmickh has quit [Remote host closed the connection]
lioninawhat has joined #ruby
shazaum has quit [Quit: Leaving]
mrmargolis has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tunaCanBruh has joined #ruby
odin22 has quit [Quit: Leaving]
swgillespie has joined #ruby
Takle_ has joined #ruby
scott1 has joined #ruby
wallerdev_ has quit [Ping timeout: 256 seconds]
scott1 is now known as bob_dylan_to_s
axl_ has quit [Quit: axl_]
ta_ has quit [Ping timeout: 264 seconds]
Takle has quit [Ping timeout: 240 seconds]
mkaesz has quit [Remote host closed the connection]
d10n-work has quit [Quit: Connection closed for inactivity]
werelivinginthef has quit [Remote host closed the connection]
uptownhr has joined #ruby
mistermocha has joined #ruby
tunaCanBruh has quit [Ping timeout: 264 seconds]
Hijiri has joined #ruby
roshanavand1 has quit [Ping timeout: 244 seconds]
pauly_oc has quit [Ping timeout: 265 seconds]
siso has joined #ruby
tunaCanBruh has joined #ruby
cphrmky has joined #ruby
sente has quit [Ping timeout: 255 seconds]
<GaryOak_> npm
jenrzzz_ has joined #ruby
russt has joined #ruby
jobewan has quit [Remote host closed the connection]
dc has joined #ruby
graydot has quit [Quit: graydot]
Narzew has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 264 seconds]
Sawbones_ has joined #ruby
lioninawhat has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 245 seconds]
<Diabolik> anyone here used rails erd?
SOLDIERz_ has joined #ruby
cphrmky has quit [Quit: Textual IRC Client: www.textualapp.com]
ta_ has joined #ruby
<weaksauce> I tried to use it the other day Diabolik but it's broken for 4.x
jottr has joined #ruby
Kricir has quit [Ping timeout: 264 seconds]
<Diabolik> you get rake aborted?
<Senjai> Diabolik: !use
<helpa> Diabolik: Don't ask "does anyone use <thing>?". It's better to just state your problem and if anyone has used <thing> they will most likely answer.
zacstewart has joined #ruby
tyfighter has joined #ruby
devdazed has joined #ruby
Sawbones_ has quit [Ping timeout: 264 seconds]
russt has quit [Quit: russt]
<Diabolik> what Senjai
<Diabolik> i apologise
tyfighter has quit [Remote host closed the connection]
<Senjai> Diabolik: Its cool, its better just to say, When attempting to use x, I get this problem. Here is the relevant code:
tier has joined #ruby
juanpablo_ has quit [Quit: (null)]
jenrzzz has joined #ruby
juanpablo_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
freerobby has joined #ruby
Aova has quit [Read error: Connection reset by peer]
tier has quit [Read error: No route to host]
Sid05 has quit [Quit: Sid05]
tier has joined #ruby
russt has joined #ruby
Kricir has joined #ruby
zachrab has quit [Remote host closed the connection]
bob_dylan_to_s has quit [Quit: WeeChat 1.1.1]
reinaldob has joined #ruby
graydot has joined #ruby
VBlizzard has quit [Ping timeout: 250 seconds]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> where is your code Senjai
workmad3 has joined #ruby
<Senjai> shevy: I dont have a problem :P
juanpablo_ has quit [Ping timeout: 245 seconds]
<shevy> but you just typed "Here is the relevant code:"!!! I am waiting for the followup!!!!!
<shevy> :P
ta_ has quit [Ping timeout: 265 seconds]
PanzerModern has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
blackmesa has joined #ruby
<shevy> Diabolik you should also keep a small diary in what you wrote in ruby on the day; in 2 years lateron you may fondly remember those days
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<Diabolik> ok Senjai
<Diabolik> shevy
tier has quit [Ping timeout: 264 seconds]
Aova has joined #ruby
<Senjai> shevy: Sorry to keep you in suspense :P
netuoso has quit [Ping timeout: 246 seconds]
giuseppesolinas has joined #ruby
adriancb has joined #ruby
reinaldob has quit [Ping timeout: 245 seconds]
josephndenton has quit [Ping timeout: 250 seconds]
giuseppesolinas has quit [Client Quit]
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crueber has quit [Quit: Leaving.]
giuseppesolinas has joined #ruby
ta_ has joined #ruby
chinmay_dd has quit [Quit: Connection closed for inactivity]
Deithrian_ has joined #ruby
_djbkd has quit [Remote host closed the connection]
Deithrian has quit [Ping timeout: 244 seconds]
giuseppesolinas has quit [Client Quit]
_djbkd has joined #ruby
giuseppesolinas has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
Guest15 has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
digifiv5e has joined #ruby
digifiv5e is now known as Guest61723
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dc has quit [Remote host closed the connection]
codeFiend has quit [Quit: codeFiend]
Guest15 has quit [Client Quit]
russt has quit [Quit: russt]
Kricir has quit [Remote host closed the connection]
rubytor has quit [Ping timeout: 246 seconds]
Kricir has joined #ruby
fabrice31 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
ta_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
m00zy has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
MyMind has quit [Quit: WeeChat 1.2-dev]
lanemeyer has joined #ruby
chapman has joined #ruby
x77686d has quit [Read error: Connection reset by peer]
Kricir has quit [Ping timeout: 256 seconds]
Seth_ has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
chapman has quit [Client Quit]
adriancb has quit [Remote host closed the connection]
Seth_ has left #ruby [#ruby]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
penzur has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 252 seconds]
giuseppesolinas has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
LouisRoR has quit [Ping timeout: 244 seconds]
shum has joined #ruby
postmodern has joined #ruby
riotjones has joined #ruby
siso has quit [Quit: siso]
Sid05 has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
tmtwd has joined #ruby
zacstewart has quit [Remote host closed the connection]
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
mclee_ has quit [Ping timeout: 244 seconds]
riotjones has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
_djbkd has quit [Read error: Connection reset by peer]
recurrence has quit [Quit: recurrence]
livingstn has joined #ruby
jeremati_ has quit [Remote host closed the connection]
triple_b has joined #ruby
sinkensabe has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
IrishGringo has quit [Ping timeout: 250 seconds]
lioninawhat has joined #ruby
mistermocha has quit [Remote host closed the connection]
<weaksauce> Diabolik yeah a bunch of errors and a rake aborted
rbennacer has joined #ruby
russt has joined #ruby
DadoCe has joined #ruby
_djbkd has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zacstewart has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
lioninawhat has quit [Remote host closed the connection]
JoshGlzBrk has joined #ruby
deric_skibotn has quit [Ping timeout: 255 seconds]