apeiros changed the topic of #ruby to: Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: 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
_lynX has joined #ruby
estebanrules has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
ebobby has joined #ruby
dik_dak has quit [Quit: Leaving]
<shinobi_one> adios amigos
shinobi_one has left #ruby [#ruby]
fgo has quit [Ping timeout: 245 seconds]
mehlah has quit [Quit: Leaving...]
nifty has quit [Ping timeout: 252 seconds]
iamjbecker has quit [Client Quit]
iamjbecker has joined #ruby
adamnbowen has joined #ruby
arb_ has left #ruby [#ruby]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
lkba has joined #ruby
predator217 has joined #ruby
whatasunnyday has quit [Quit: whatasunnyday]
snath has quit [Ping timeout: 240 seconds]
andrewlio has quit [Remote host closed the connection]
ehc has quit [Quit: ehc]
pu22l3r has joined #ruby
Squarepy has quit [Ping timeout: 252 seconds]
predator117 has quit [Ping timeout: 252 seconds]
mehlah has joined #ruby
mehlah has quit [Remote host closed the connection]
Spami has quit [Read error: Connection reset by peer]
lw has quit [Quit: s]
Spami has joined #ruby
sdouglas has quit [Remote host closed the connection]
h4mz1d has joined #ruby
sdouglas has joined #ruby
Adrao has quit [Ping timeout: 252 seconds]
mehlah has joined #ruby
Mongey_ has joined #ruby
Al___ has quit [Quit: Al___]
kevind has quit [Quit: kevind]
toastynerd has quit [Remote host closed the connection]
sski has quit [Remote host closed the connection]
W0rmDr1nk has quit [Ping timeout: 264 seconds]
horofox has joined #ruby
sski has joined #ruby
sdouglas has quit [Ping timeout: 245 seconds]
toastynerd has joined #ruby
toastynerd has quit [Remote host closed the connection]
maddddh has joined #ruby
Mongey has quit [Ping timeout: 264 seconds]
bitcycle has quit [Quit: Page closed]
recurrence has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrisja has quit [Quit: leaving]
b00stfr3ak has quit [Read error: Operation timed out]
GaryOak__ has quit [Ping timeout: 240 seconds]
sski has quit [Ping timeout: 246 seconds]
nolic has quit [Ping timeout: 246 seconds]
geggam has quit [Quit: Leaving]
baroquebobcat has joined #ruby
Hobogrammer_ has quit [Ping timeout: 245 seconds]
nolic has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
iamjbecker has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
iamjbecker has joined #ruby
lolmaus has quit [Ping timeout: 264 seconds]
duggiefresh has joined #ruby
mehlah has quit [Quit: Leaving...]
yfeldblum has joined #ruby
Vovko has quit [Remote host closed the connection]
jonno11 has joined #ruby
<bricker`LA> Is "private constant" a thing in other programming languages?
ctp_ has joined #ruby
ctp_ has quit [Client Quit]
mehlah has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
WormDr1nk has joined #ruby
iamjbecker has quit [Ping timeout: 264 seconds]
ctp has quit [Ping timeout: 245 seconds]
roolo has quit [Quit: Leaving...]
j0xf has joined #ruby
oneawaymann has joined #ruby
jamto11 has quit [Remote host closed the connection]
oneawayman has quit [Read error: Connection reset by peer]
Dwarf has quit [Read error: Connection reset by peer]
zz_karupanerura is now known as karupanerura
lmickh has quit [Remote host closed the connection]
<centrx> bricker`LA, It's in Ruby apparently, http://ruby-doc.org/core-2.1.1/Module.html#method-i-private_constant
Dwarf has joined #ruby
CorySimmons has quit [Quit: Zzz...]
compleatang has quit [Remote host closed the connection]
dapz has quit [Ping timeout: 264 seconds]
yubrew has joined #ruby
jamto11_ has joined #ruby
ItSANgo has quit [Quit: Leaving...]
tonyhb has joined #ruby
trhodes_ has quit [Ping timeout: 255 seconds]
adamnbowen has quit [Quit: Computer has gone to sleep.]
jlast has quit [Remote host closed the connection]
montyboy_ has joined #ruby
trhodes_ has joined #ruby
linojon has joined #ruby
h4mz1d has quit [Ping timeout: 264 seconds]
bcavileer_ is now known as bcavileer
yubrew has quit [Ping timeout: 252 seconds]
pel_daniel has left #ruby [#ruby]
bcavileer has quit [Changing host]
bcavileer has joined #ruby
bcavileer has quit [Changing host]
bcavileer has joined #ruby
Zunonia_ has joined #ruby
kitak has quit [Remote host closed the connection]
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sski has joined #ruby
dkamioka has quit [Remote host closed the connection]
cashnguns has joined #ruby
lw has joined #ruby
kitak has joined #ruby
jcarouth` is now known as jcarouth
ItSANgo has joined #ruby
iamjbecker has joined #ruby
goleldar has quit [Remote host closed the connection]
y_gick has quit [Quit: WeeChat 0.4.3]
saarinen has quit [Quit: saarinen]
momigi has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<bricker`LA> woa
dayepa has joined #ruby
ephemerian has quit [Quit: Leaving.]
jaxxstorm has quit [Ping timeout: 245 seconds]
_aeris_ has quit [Ping timeout: 245 seconds]
RoryHughes has quit [Ping timeout: 245 seconds]
<bricker`LA> oh, only since 2.0
CaptainJet has quit [Ping timeout: 252 seconds]
Jeticus has joined #ruby
Zaratustra has quit [Ping timeout: 245 seconds]
nvll has quit [Ping timeout: 245 seconds]
alexherbo2 has quit [Ping timeout: 245 seconds]
lolmaus has joined #ruby
Dwarf has quit [Ping timeout: 245 seconds]
Mongey_ has quit [Ping timeout: 245 seconds]
jpierre03 has quit [Ping timeout: 245 seconds]
Su7 has quit [Ping timeout: 245 seconds]
FaresKAlaboud has quit [Ping timeout: 245 seconds]
BackEndCoder has quit [Ping timeout: 245 seconds]
Su7_ has joined #ruby
iamjbecker has quit [Ping timeout: 246 seconds]
james_d_h has joined #ruby
senayar has joined #ruby
momigi has quit [Ping timeout: 246 seconds]
sparrovv has quit [Remote host closed the connection]
Dwarf has joined #ruby
_aeris_ has joined #ruby
kennym has quit [Quit: Leaving.]
RoryHughes has joined #ruby
nvll has joined #ruby
renklaf_ has joined #ruby
Zaratustra has joined #ruby
ayu_ has joined #ruby
ayu_ has joined #ruby
ayu_ has quit [Changing host]
Mongey has joined #ruby
Lewix_ has joined #ruby
dev__ has joined #ruby
kenndel has joined #ruby
FaresKAlaboud has joined #ruby
alexherbo2 has joined #ruby
BackEndCoder has joined #ruby
linojon has quit [Ping timeout: 252 seconds]
Davedo1 has joined #ruby
jaxxstorm has joined #ruby
adambeynon_ has joined #ruby
oz` has joined #ruby
LBRapid_ has joined #ruby
jjbohn has joined #ruby
xxpor_ has joined #ruby
jpierre03 has joined #ruby
mr_red- has joined #ruby
kalleth_ has joined #ruby
micah`_ has joined #ruby
Elico1 has joined #ruby
dazeddev has joined #ruby
machty_ has joined #ruby
yo61_ has joined #ruby
senayar has quit [Ping timeout: 246 seconds]
uxp_ has joined #ruby
fgo has joined #ruby
peck_ has joined #ruby
lectrick__ has joined #ruby
shadoi has quit [Quit: Leaving.]
asuka_ has joined #ruby
shadoi has joined #ruby
michaelchum_ has joined #ruby
MrJoshua has quit [Ping timeout: 240 seconds]
LBRapid has quit [Ping timeout: 240 seconds]
jaimef has quit [Ping timeout: 240 seconds]
mr_red has quit [Ping timeout: 240 seconds]
adambeynon has quit [Ping timeout: 240 seconds]
Davedo has quit [Ping timeout: 240 seconds]
LBRapid_ is now known as LBRapid
halfie has quit [Ping timeout: 240 seconds]
oz has quit [Ping timeout: 240 seconds]
zrl has quit [Ping timeout: 240 seconds]
vcoinminer_ has quit [Ping timeout: 240 seconds]
dnyy has quit [Ping timeout: 240 seconds]
Davedo1 is now known as Davedo
ceej has quit [Ping timeout: 240 seconds]
Norrin has quit [Ping timeout: 240 seconds]
machty has quit [Ping timeout: 240 seconds]
renklaf has quit [Ping timeout: 240 seconds]
oz` is now known as oz
robmozart has quit [Ping timeout: 240 seconds]
Elico has quit [Ping timeout: 240 seconds]
Freijo has quit [Ping timeout: 240 seconds]
yo61 has quit [Ping timeout: 240 seconds]
ws2k3__ has quit [Ping timeout: 240 seconds]
dazeddev_ has quit [Ping timeout: 240 seconds]
gyre007__ has quit [Ping timeout: 240 seconds]
phrozen77 has quit [Ping timeout: 240 seconds]
kenndel_ has quit [Ping timeout: 240 seconds]
v0n has quit [Ping timeout: 240 seconds]
Lewix has quit [Ping timeout: 240 seconds]
micah` has quit [Ping timeout: 240 seconds]
sawtooth has quit [Ping timeout: 240 seconds]
dev___ has quit [Ping timeout: 240 seconds]
iml has quit [Ping timeout: 240 seconds]
dandrade_ has quit [Ping timeout: 240 seconds]
ggherdov_ has quit [Ping timeout: 240 seconds]
TripleDES has quit [Ping timeout: 240 seconds]
soahccc has quit [Ping timeout: 240 seconds]
kalleth has quit [Ping timeout: 240 seconds]
troyready has quit [Ping timeout: 240 seconds]
uxp has quit [Ping timeout: 240 seconds]
olivier_bK has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Ping timeout: 240 seconds]
yxhuvud has quit [Ping timeout: 240 seconds]
yosafbridge has quit [Ping timeout: 240 seconds]
RubyPanther has quit [Ping timeout: 240 seconds]
devdazed has quit [Ping timeout: 240 seconds]
colour has quit [Ping timeout: 240 seconds]
charles81 has quit [Ping timeout: 240 seconds]
gsvolt has quit [Ping timeout: 240 seconds]
f0ster has quit [Ping timeout: 240 seconds]
existensil has quit [Ping timeout: 240 seconds]
lectrick_ has quit [Ping timeout: 240 seconds]
23LAAKZHW has quit [Ping timeout: 240 seconds]
Guest60001 has quit [Ping timeout: 240 seconds]
wykydtron has quit [Ping timeout: 240 seconds]
michaelchum has quit [Ping timeout: 240 seconds]
lepht has quit [Ping timeout: 240 seconds]
jrunning____ has quit [Ping timeout: 240 seconds]
mtlatif__ has quit [Ping timeout: 240 seconds]
Guest85414______ has quit [Ping timeout: 240 seconds]
ji0n has quit [Ping timeout: 240 seconds]
mroth has quit [Ping timeout: 240 seconds]
aboudreault has quit [Ping timeout: 240 seconds]
xxpor has quit [Ping timeout: 240 seconds]
kapowaz_ has quit [Ping timeout: 240 seconds]
fayimora has quit [Ping timeout: 240 seconds]
ec has quit [Ping timeout: 240 seconds]
tris- has quit [Ping timeout: 240 seconds]
hoelzro_ has quit [Ping timeout: 240 seconds]
crazysim has quit [Ping timeout: 240 seconds]
asuka has quit [Ping timeout: 240 seconds]
jinie_ has quit [Ping timeout: 240 seconds]
benatkin has quit [Ping timeout: 240 seconds]
rurban__ has quit [Ping timeout: 240 seconds]
Nyyx has quit [Ping timeout: 240 seconds]
SegFaultAX has quit [Ping timeout: 240 seconds]
dawkirst has quit [Ping timeout: 240 seconds]
adambeynon_ is now known as adambeynon
olivier_bK1 has joined #ruby
xyon has quit [Ping timeout: 240 seconds]
nighter has quit [Ping timeout: 240 seconds]
vjt has quit [Ping timeout: 240 seconds]
sputnik13 has quit [Ping timeout: 240 seconds]
Guest97036 has quit [Ping timeout: 240 seconds]
brandon__ has quit [Ping timeout: 240 seconds]
lele has quit [Ping timeout: 240 seconds]
robmozart_ has joined #ruby
Fraeon has joined #ruby
ixx has joined #ruby
gsvolt has joined #ruby
wykydtro- has joined #ruby
Guest85414______ has joined #ruby
nighter has joined #ruby
brandon__ has joined #ruby
soahccc has joined #ruby
benatkin has joined #ruby
ceej has joined #ruby
halfie has joined #ruby
yosafbridge has joined #ruby
TripleDES has joined #ruby
Nyyx has joined #ruby
dnyy has joined #ruby
mtlatif__ has joined #ruby
yo61_ is now known as yo61
lepht_ has joined #ruby
lele has joined #ruby
iml has joined #ruby
dandrade has joined #ruby
jonathanwallace has quit [Ping timeout: 240 seconds]
Slavox|AFK has quit [Ping timeout: 240 seconds]
nhmood has quit [Ping timeout: 240 seconds]
juni0r has quit [Ping timeout: 240 seconds]
Pricey has quit [Read error: Connection reset by peer]
Hien has joined #ruby
machty_ is now known as machty
lectrick__ is now known as lectrick_
anicet has joined #ruby
ixx is now known as Guest42388
v0n has joined #ruby
Pricey has joined #ruby
michaelchum_ is now known as michaelchum
zrl has joined #ruby
sawtooth has joined #ruby
jinie has joined #ruby
xyon has joined #ruby
JohnBat26 has quit [Ping timeout: 240 seconds]
charles81 has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
anicet is now known as Guest61327
mroth__ has joined #ruby
gyre007___ has joined #ruby
hoelzro has joined #ruby
ec has joined #ruby
phrozen77 has joined #ruby
d-snp_ has joined #ruby
kapowaz_ has joined #ruby
jonathanwallace has joined #ruby
fayimora has joined #ruby
rurban__ has joined #ruby
duggiefresh has quit [Ping timeout: 246 seconds]
jaimef has joined #ruby
vcoinminer__ has joined #ruby
ji0n has joined #ruby
vjt has joined #ruby
SegFaultAX has joined #ruby
JohnBat26 has joined #ruby
sputnik13 has joined #ruby
maloik has joined #ruby
tungd has joined #ruby
niv_ has joined #ruby
hanikazmi_ has joined #ruby
amclain has joined #ruby
shadoi1 has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tommyblu` has quit [Ping timeout: 240 seconds]
d-snp has quit [Remote host closed the connection]
hanikazmi has quit [Ping timeout: 240 seconds]
ws2k3 has joined #ruby
Billy2 has quit [Ping timeout: 240 seconds]
nuck has quit [Ping timeout: 240 seconds]
`ph8 has quit [Ping timeout: 240 seconds]
maloik_ has quit [Remote host closed the connection]
linojon has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
kobain has quit [Ping timeout: 252 seconds]
crazysim has joined #ruby
Zunonia_ has quit [Remote host closed the connection]
ctp has joined #ruby
Asher1 has joined #ruby
tris has joined #ruby
weeb1e_ has joined #ruby
petey_ has joined #ruby
tommyblue has joined #ruby
ggherdov_ has joined #ruby
alol has quit [Ping timeout: 240 seconds]
rickenharp__ has joined #ruby
Slavox|AFK has joined #ruby
awarner_ has joined #ruby
niv has quit [Ping timeout: 240 seconds]
rickenharp_ has quit [Ping timeout: 240 seconds]
niv_ is now known as niv
go|dfish has quit [Ping timeout: 240 seconds]
jokke has quit [Ping timeout: 240 seconds]
DylanJ has quit [Ping timeout: 240 seconds]
segmond has quit [Ping timeout: 240 seconds]
elektronaut has quit [Ping timeout: 240 seconds]
alol_ has joined #ruby
23LAAONJ1 has quit [Ping timeout: 240 seconds]
multi_io has quit [Ping timeout: 240 seconds]
zellio has quit [Ping timeout: 240 seconds]
FDj has quit [Ping timeout: 240 seconds]
monsieurp has quit [Ping timeout: 240 seconds]
Muz has quit [Ping timeout: 240 seconds]
weeb1e has quit [Ping timeout: 240 seconds]
kloeri has quit [Remote host closed the connection]
mnms_ has quit [Ping timeout: 240 seconds]
zeroXten has quit [Ping timeout: 240 seconds]
petey has quit [Ping timeout: 240 seconds]
PhilK has quit [Ping timeout: 240 seconds]
cjk101010 has quit [Ping timeout: 240 seconds]
Soulcutter has quit [Ping timeout: 240 seconds]
rickenharp__ is now known as rickenharp_
mnms__ has joined #ruby
kloeri__ has joined #ruby
PhilK has joined #ruby
dawkirst has joined #ruby
troyready has joined #ruby
kobain has joined #ruby
PLejeck has joined #ruby
zeroXten has joined #ruby
zellio has joined #ruby
multi_io has joined #ruby
RubyPanther has joined #ruby
yxhuvud has joined #ruby
monsieurp has joined #ruby
Muz has joined #ruby
FDj has joined #ruby
elektronaut has joined #ruby
Asher has quit [Ping timeout: 240 seconds]
jokke has joined #ruby
Norrin has joined #ruby
existensil has joined #ruby
leonidlm has quit [Read error: Operation timed out]
UForgotten has quit [Ping timeout: 240 seconds]
aboudreault has joined #ruby
ph8 has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
montyboy_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kennym has joined #ruby
UForgotten has joined #ruby
cjk101010 has joined #ruby
jrunning____ has joined #ruby
awarner has quit [Ping timeout: 240 seconds]
segmond has joined #ruby
nhmood has joined #ruby
Scriptonaut has joined #ruby
Billy2 has joined #ruby
tkuchiki has joined #ruby
Zunonia has joined #ruby
chrisseaton has quit []
invinceable has quit [Ping timeout: 240 seconds]
robustus has quit [Ping timeout: 252 seconds]
funburn has quit [Quit: funburn]
<Scriptonaut> guys, so I'm having a bit of trouble
malcolmva has joined #ruby
<Scriptonaut> I'm getting a bunch of post params
<Scriptonaut> and I need to then take those and send them to a file that will produce a bunch of xml
jonno11 has joined #ruby
<Scriptonaut> so I have to pass those params as GET
<Scriptonaut> however, before I do that, I have to convert all the " " with "%20", otherwise I get an error
<Scriptonaut> but if the post variables aren't defined in the first place, I get an error for trying to call gsub on them
<Scriptonaut> is there a way to call gsub if it exists
pu22l3r has quit [Remote host closed the connection]
kennym has quit [Ping timeout: 252 seconds]
montyboy has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
jamto11 has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
<bnagy> >> require 'uri'; URI.escape("foo bar")
<eval-in> bnagy => "foo%20bar" (https://eval.in/118340)
robustus has joined #ruby
mehlah has quit [Quit: Leaving...]
lyanchih has joined #ruby
<Scriptonaut> yay that was the perfect solution
<Scriptonaut> thanks
CpuID3 has joined #ruby
razrunelord has quit []
saarinen has joined #ruby
philcrissman has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 264 seconds]
echevemaster has joined #ruby
CpuID2 has quit [Ping timeout: 264 seconds]
linojon has quit [Ping timeout: 264 seconds]
_lynX has quit [Read error: Connection reset by peer]
whatasunnyday has joined #ruby
zachalle_ has quit [Remote host closed the connection]
sputnik13net has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
wchun has joined #ruby
camt has joined #ruby
Dreamer3 has joined #ruby
afex has joined #ruby
sirecote has joined #ruby
slowcon has joined #ruby
joast has joined #ruby
bahar has joined #ruby
cyphactor has joined #ruby
cephalostrum_ has joined #ruby
aep has joined #ruby
w|t has joined #ruby
tylersmith has quit [Remote host closed the connection]
cjsarette has joined #ruby
charliesome has joined #ruby
tylersmith has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
kayloos has joined #ruby
Mongey has joined #ruby
joast is now known as Guest30023
TigerWolf has joined #ruby
vcoinminer__ has quit [Ping timeout: 245 seconds]
pcarrier has quit [Ping timeout: 245 seconds]
Avahey_ has quit [Ping timeout: 245 seconds]
saarinen has quit [Quit: saarinen]
mattmcclure has quit [Ping timeout: 245 seconds]
Tranquility has quit [Ping timeout: 245 seconds]
dayepa has quit [Quit: dayepa]
pcarrier has joined #ruby
Avahey_ has joined #ruby
mattmcclure has joined #ruby
Tranquility_ has joined #ruby
sdouglas has joined #ruby
glebm has quit [Quit: Textual IRC Client: www.textualapp.com]
tylersmith has quit [Ping timeout: 246 seconds]
nateberkopec has joined #ruby
kayloos has quit [Ping timeout: 252 seconds]
whatasunnyday has quit [Quit: whatasunnyday]
vcoinminer__ has joined #ruby
nateberkopec has quit [Client Quit]
cashnguns has quit [Ping timeout: 246 seconds]
afreidah has quit [Quit: WeeChat 0.4.3]
kitak has quit [Read error: Connection reset by peer]
rjk808 has quit [Remote host closed the connection]
kitak has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
Mongey has joined #ruby
yubrew has joined #ruby
Soulcutter has joined #ruby
Nyyx has quit [Ping timeout: 246 seconds]
chipotle has quit [Quit: cya]
shadoi has quit [Quit: Leaving.]
chipotle has joined #ruby
tungd has quit [Ping timeout: 252 seconds]
james_d_h has quit [Ping timeout: 246 seconds]
danshultz has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 252 seconds]
danshultz has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
petey_ has quit [Remote host closed the connection]
monkegji_ has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
monkegjinni has joined #ruby
nateberkopec has joined #ruby
danshultz has quit [Ping timeout: 252 seconds]
dev__ has quit []
mansi_ has joined #ruby
mansi has quit [Read error: Connection reset by peer]
oneawaymann has quit [Ping timeout: 246 seconds]
monkegjinni has quit [Ping timeout: 252 seconds]
nateberkopec has quit [Quit: Leaving...]
hfp is now known as hfp`away
Mongey has quit [Read error: Connection reset by peer]
kennym has joined #ruby
Mongey has joined #ruby
St_Marx has quit [Ping timeout: 245 seconds]
dev___ has joined #ruby
sdouglas has joined #ruby
Megtastique has quit []
dev___ has quit [Client Quit]
fgo has joined #ruby
sdouglas has quit [Remote host closed the connection]
_maes_ has joined #ruby
aspires has quit []
rococo has joined #ruby
speakingcode has joined #ruby
maletor has joined #ruby
havenwood has quit [Remote host closed the connection]
_maes_ has quit [Client Quit]
havenwood has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
fgo has quit [Ping timeout: 246 seconds]
bluOxigen has joined #ruby
centrx has joined #ruby
speakingcode has quit [Client Quit]
speakingcode has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
senayar has joined #ruby
diegoviola has joined #ruby
momomomomo has joined #ruby
postmodern has joined #ruby
estebanrules has quit [Ping timeout: 245 seconds]
james_d_h has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
jjbohn has quit [Quit: Leaving...]
ctruett has quit [Quit: Textual IRC Client: www.textualapp.com]
mansi_ has quit [Remote host closed the connection]
senayar has quit [Ping timeout: 252 seconds]
mansi has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
xuisce has quit []
Mongey has joined #ruby
<robertjpayne> Does String.byteslice copy memory or is it potentially a copy-on-write? Trying to reduce memory copies as much as possible
petey has joined #ruby
jimmyy has quit []
crantron has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
aspiers_ has quit [Read error: Operation timed out]
havenwood has quit [Remote host closed the connection]
CreativeEmbassy has joined #ruby
kennym has quit [Ping timeout: 245 seconds]
kennym has joined #ruby
estebanrules has joined #ruby
havenwood has joined #ruby
Vovko has joined #ruby
montyboy has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
kitak_ has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
tris has quit [Ping timeout: 245 seconds]
CreativeEmbassy has quit [Client Quit]
kitak has quit [Ping timeout: 260 seconds]
Spami has quit [Quit: This computer has gone to sleep]
havenwood has joined #ruby
CreativeEmbassy has joined #ruby
ctruett has joined #ruby
armyriad has quit [Ping timeout: 265 seconds]
meatherly has quit [Ping timeout: 240 seconds]
drager has quit [Ping timeout: 240 seconds]
meatherly has joined #ruby
momomomomo has quit [Quit: momomomomo]
rickruby has joined #ruby
phantasm66 has quit [Quit: *sleeeep….]
drager has joined #ruby
ebobby has quit [Quit: Lost terminal]
<j0xf> can anyone provide any rvm help?
twiceaday has joined #ruby
<j0xf> when installing rvm with: curl -L https://get.rvm.io | bash -s stable --ruby
<j0xf> it works in that terminal. but if I close out and open a new terminal, it's fucked. doesn't look like it adds the directory to ruby and gem to my $PATH
<j0xf> why isn't it? should I be installing rvm / ruby differently?
supermarin has joined #ruby
kenneth_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonno11 has joined #ruby
<centrx> robertjpayne, It sure looks like it copies in the C source
Z-Lishiss has joined #ruby
hamakn has joined #ruby
Z-Lishiss has left #ruby ["AndroIRC"]
newbie1r has quit [Ping timeout: 265 seconds]
hamakn_ has joined #ruby
meatherl_ has joined #ruby
meatherly has quit [Ping timeout: 245 seconds]
tris has joined #ruby
<havenwood> j0xf: I think you need to add a snippet to your .bashrc or use --auto-dotfiles, you might try #rvm.
h4mz1d has joined #ruby
supermarin has quit [Ping timeout: 245 seconds]
montyboy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
danshultz has joined #ruby
hamakn has quit [Ping timeout: 264 seconds]
lyanchih has quit [Quit: lyanchih]
trhodes_ has quit [Ping timeout: 255 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
<havenwood> j0xf: you could see if `echo \source ~/.rvm/scripts/rvm >> ~/.bashrc` does the trick.
Hanmac has joined #ruby
newbie1r has joined #ruby
freggles has quit [Remote host closed the connection]
Scriptonaut has quit [Quit: leaving]
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
<j0xf> figured it out
marcdel has joined #ruby
<j0xf> I'm using gnome terminal, so I had to turn on 'Run command as login shell'
Mongey has quit [Read error: Connection reset by peer]
horofox has quit [Quit: horofox]
newbie1r has quit [Client Quit]
trhodes_ has joined #ruby
lyanchih has joined #ruby
Mongey has joined #ruby
vlad_starkov has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fijimunkii has joined #ruby
james_d_h has quit [Ping timeout: 246 seconds]
<havenwood> i like the idea of renaming #curry to #schönfinkelize, hmm: https://bugs.ruby-lang.org/issues/9620
h4mz1d has quit [Ping timeout: 252 seconds]
jimmyy has joined #ruby
yubrew has joined #ruby
<havenwood> MOAR ACCENT NÖEL! \o/
supermarin has joined #ruby
<mozzarella> it's Noël
vlad_starkov has quit [Ping timeout: 246 seconds]
<havenwood> mozzarella: i don't know how to type the capital E one :O
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
sincereness has joined #ruby
mr_red- has quit [Quit: Bye :)]
<havenwood> mozzarella: NOËL <- fixed ;)
axalix has joined #ruby
freezey has joined #ruby
<sincereness> this might be more of an agorithums/comp sci question but can anyone point me to the right google links if i wanted to scrape a bunch of images and add them to tshirts via software
fgo has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
lw has quit [Quit: s]
IceDragon has quit [Quit: Space~~~]
<sincereness> like if i had 100 images and i wanted them on 1 page on tshirts how would i build a programm to do that
<mozzarella> "add them to tshirts"?
<havenwood> sincereness: you might want to use the mechanize gem, i don't know about the tshirts part though
afex has quit [Ping timeout: 240 seconds]
<sincereness> scraping the images wont be ahrd but i want the images to litterally look like they are on tshirts
<sincereness> amazon does it all the time
<sincereness> like they have algorithums thatll put different stuff on the same image of a black hoodie
yubrew has quit [Ping timeout: 264 seconds]
<havenwood> sincereness: maybe a composite image with ImageMagick
maletor has quit [Quit: Computer has gone to sleep.]
jimmyy has quit [Ping timeout: 264 seconds]
afex has joined #ruby
<sincereness> omg thanks a bunch!
CreativeEmbassy has joined #ruby
<sincereness> Montage: juxtapose image thumbnails on an image canvas.
<sincereness> says on the site
<pontiki> montage i think puts them side-by-side
<sincereness> pretty sure this is EXACTLY what i needed...sorry about the poor descriptions but this helps x1000
marcdel has quit []
CreativeEmbassy has quit [Client Quit]
<pontiki> never the less, you're in the right area
fgo has quit [Ping timeout: 264 seconds]
<sincereness> yea
<havenwood> sincereness: you might look at the MiniMagick gem's #composite: https://github.com/minimagick/minimagick#readme
<sincereness> couldnt figure out what to google
pu22l3r has joined #ruby
jimmyy has joined #ruby
<pontiki> compositing is layering up images
<pontiki> not that this sort of thing is easily automated to look good
yacks has joined #ruby
<sincereness> yea i kinda need the colors to match but thanks for pointing me in the right direction
<sincereness> this is exactly what i was looking for though
armyriad has joined #ruby
kitak has joined #ruby
<pontiki> i'd suggest you play around with the command line stuff until you get the hang of it
Mongey_ has joined #ruby
<sincereness> yea thoes links r enough to keep me busy for a while
nateberkopec has joined #ruby
hfp`away is now known as hfp
tonyhb has quit [Quit: peace]
mikecmpbll has joined #ruby
nari has quit [Ping timeout: 245 seconds]
kitak_ has quit [Ping timeout: 260 seconds]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Skaag has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
dkamioka has joined #ruby
yakko has joined #ruby
sdouglas has joined #ruby
rickruby has quit [Remote host closed the connection]
CreativeEmbassy has joined #ruby
tylersmith has joined #ruby
mikepack has joined #ruby
axalix has quit [Quit: Leaving.]
<yakko> hey guys, I'm trying to install rubinus thru rbenv on a mac, but I'm getting "ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame", can anybody help?
lyanchih has quit [Quit: lyanchih]
supermarin has quit [Remote host closed the connection]
Vovko has quit []
meatherly has joined #ruby
j0xf has quit [Ping timeout: 265 seconds]
supermarin has joined #ruby
meatherl_ has quit [Ping timeout: 264 seconds]
marcdel has joined #ruby
zono has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
smathieu has quit [Remote host closed the connection]
sambao21 has joined #ruby
sterlingcalder has joined #ruby
tris has quit [Ping timeout: 252 seconds]
smathieu has joined #ruby
SCommette has joined #ruby
lyanchih has joined #ruby
baroquebobcat has joined #ruby
dkamioka has quit [Remote host closed the connection]
supermarin has quit [Ping timeout: 246 seconds]
jonno11 has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
tris has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
armyriad has quit [Ping timeout: 245 seconds]
Mongey_ has quit [Quit: Mongey_]
<havenwood> yakko: you might ask in #rubinius if you haven't yet, does it abort the install? there isn't a ruby-build/rbenv channel afaik.
mlpinit has quit [Remote host closed the connection]
<yakko> havenwood: :(
yfeldblum has joined #ruby
<havenwood> yakko: might try updating to the latest OS X and Xcode
<havenwood> yakko: on OS X?
<yakko> ruby + puma is not running workers, so I'm trying jruby/rbx see if that works
<yakko> the server is ubuntu13
<havenwood> yakko: ahh, looked like most people running into that one were on OS X - i assumed
<havenwood> yakko: what version of GCC?
koell has joined #ruby
<yakko> stress tests showed no different when running 1 or 10 workers, and threads ultimately lock on the LLVM thing
danshultz has quit [Remote host closed the connection]
<yakko> havenwood: how do I find out the version?
jjbohn has joined #ruby
<havenwood> yakko: gcc --version
postmodern has quit [Quit: Leaving]
danshultz has joined #ruby
sdouglas has quit [Remote host closed the connection]
go|dfish has joined #ruby
<yakko> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix
pu22l3r has quit [Remote host closed the connection]
jjbohn_ has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
meatherly has quit []
yfeldblum has quit [Ping timeout: 245 seconds]
Mongey_ has joined #ruby
DylanJ has joined #ruby
<havenwood> yakko: yeah, puma does seem nice for jruby/rbx but i usually use unicorn with mri
<yakko> I don't want to go back to uni, I want threads :(
jjbohn has quit [Ping timeout: 245 seconds]
danshultz has quit [Ping timeout: 252 seconds]
<yakko> I want 10 workers and 16 threads in each, making my most active action serve 3000 simultaneous requests
<yakko> =P
<havenwood> yakko: or Rainbows::XEpollThreadPool :P
nisstyre has joined #ruby
<yakko> tell me about it, I'm dying to test it
browndawg has joined #ruby
<yakko> but I'd need rbx for rainbow anyways, so...
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nari has joined #ruby
<havenwood> yakko: another threaded option now is Reel::Rack: https://github.com/celluloid/reel-rack#readme
lyanchih has quit [Quit: lyanchih]
jjbohn_ has quit [Ping timeout: 264 seconds]
afex has quit [Ping timeout: 246 seconds]
lyanchih has joined #ruby
<yakko> :o
<yakko> I just really wish I could install rubinus
<yakko> hey...
<yakko> maybe I can just tell Travis to test on it and keep my shit on mri in development
rezzack has quit [Ping timeout: 264 seconds]
<yakko> can't say it sounds genius, but it solves my problem for the time being
<havenwood> yakko: installed rbx 2.2.6 today with ruby-install, i guess you could try: ruby-install --rubies-dir ~/.rbenv/versions rbx
<yakko> mac?
<havenwood> yakko: make sure you're on latest Xcode and have it's command line tools installed
<havenwood> yakko: yup
<havenwood> its*
<yakko> how could it not have command line tools?
larissa has quit [Quit: Leaving]
<yakko> ok, let's update this goddamn apple thing
<havenwood> yakko: after installing Xcode now you have to go fiddle or in Terminal.app you can run: xcode-select --install
<yakko> oh gosh, both xcode and osx need an update
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
<havenwood> ^ then click "Install"
<yakko> hope that's what it is
<yakko> wish me luck!!!!!
<bnagy> yakko: fwiw rbx was why I eventually shifted to chruby / ruby-install
<havenwood> yakko: yeah, with Apple's GCC 5.1 (you're on 5.0) i'm fine
<yakko> oh, gotta do itunes too... no :(
<bnagy> for some reason it just worked with ruby-install, not rbenv
<yakko> bnagy: for real?
<bnagy> aint even lyin bro
<bnagy> may be nothing to do with your problem though *shrug*
axl_ has joined #ruby
<yakko> I got caught on CWNURI, Coding While Not Using Ruby Install
<havenwood> bnagy: i think brixen is recommending chruby now ;)
krz has joined #ruby
<havenwood> moar mindshare!
<yakko> quick question, what about I just fucking download this shit and install manually?
<havenwood> yakko: get new GCC and you should be good to go i suspect, for manual install as well
<yakko> guess ur right =/
<havenwood> yakko: or ruby-install does work fine with rbenv as long as you tell it the --rubies-dir
<yakko> updating itunes, here we come
jamto11_ has quit [Remote host closed the connection]
funburn has joined #ruby
Skaag has joined #ruby
<yakko> shoot, it wants to restart
<yakko> bbl
yakko has quit []
<havenwood> yakko: be sure to grab the latest ruby-build since rbx 2.2.6 came out yesterday
joelteon has quit [Quit: I'm out]
<havenwood> progress!
xuisce has joined #ruby
xuisce has quit [Client Quit]
saarinen has joined #ruby
mmitchel_ has joined #ruby
jamto11 has quit [Remote host closed the connection]
mmitchel_ has quit [Remote host closed the connection]
Mongey has joined #ruby
supermarin has joined #ruby
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
<pontiki> jeeprs. 2.2.6??
<pontiki> they're just flying out the door
felixflores has joined #ruby
<pontiki> i haven't even installed 2.1 yet
klue has joined #ruby
klue has quit [Changing host]
klue has joined #ruby
Mongey_ has quit [Ping timeout: 252 seconds]
yubrew has joined #ruby
<pontiki> i'm so behind the times!! :((
lw has joined #ruby
Avahey_ has quit [Quit: Connection closed for inactivity]
xBradPittx has quit [Quit: Leaving]
hobodave has joined #ruby
axl_ has quit [Quit: axl_]
freerobby has quit [Quit: Leaving.]
kayloos has joined #ruby
felixflores has quit [Client Quit]
michael_lee has joined #ruby
felixflores has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
mlpinit has joined #ruby
snath has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
xuisce has joined #ruby
sdouglas has joined #ruby
supermarin has quit [Remote host closed the connection]
funburn has quit [Quit: funburn]
xuisce has quit [Client Quit]
xuisce has joined #ruby
supermarin has joined #ruby
kayloos has quit [Ping timeout: 252 seconds]
_lynX has joined #ruby
Nyyx has joined #ruby
mlpinit has quit [Ping timeout: 245 seconds]
supermarin has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
michaeldeol has joined #ruby
shadoi has joined #ruby
rickruby has joined #ruby
kennym has quit [Quit: Leaving.]
nateberkopec has joined #ruby
<hfp> Hum, I thought I had at least this much nailed in Ruby but it seems I don't... What's going on there: http://repl.it/PqC/1 ? Why is the output `nil`??
thomasxie has joined #ruby
<havenwood> hfp: #puts returns `nil`
mikecmpbll has joined #ruby
michaeldeol has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby
<hfp> Ok but why doesn't it print the time like I expect it to before returning?
nateberkopec has quit [Ping timeout: 240 seconds]
sdouglas has quit [Remote host closed the connection]
<havenwood> hfp: try eval.in so you can see printed output and use a modern Ruby: https://eval.in
sincereness has quit [Quit: Page closed]
CpuID3 has quit [Read error: Connection reset by peer]
kobain has quit [Ping timeout: 252 seconds]
thomasxie has quit [Quit: Leaving.]
<hfp> havenwood: works there, thanks, I was very confused
_5kg has quit [Ping timeout: 264 seconds]
koell has quit [Quit: So say we all!]
thesheff17_ has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
kobain has joined #ruby
freezey has quit [Remote host closed the connection]
radic has quit [Disconnected by services]
radic_ has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
Mongey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ctruett has quit [Quit: Textual IRC Client: www.textualapp.com]
senayar has joined #ruby
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
ponbiki_ has quit [Quit: leaving]
ayu_ has quit [Quit: see you space cowboy ...]
greenrose has quit [Read error: Connection reset by peer]
kukyakya has quit [Remote host closed the connection]
TigerWolf has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
yosafbridge has quit [Ping timeout: 246 seconds]
nolic has quit [Ping timeout: 264 seconds]
whatasunnyday has joined #ruby
senayar has quit [Ping timeout: 245 seconds]
yosafbridge has joined #ruby
sski has quit [Remote host closed the connection]
mansi has joined #ruby
sski has joined #ruby
rjk808 has joined #ruby
jjbohn has joined #ruby
felixflores has quit [Remote host closed the connection]
greenrose has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
shadoi has quit [Quit: Leaving.]
nolic has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
sski has quit [Ping timeout: 264 seconds]
jimmyy has quit []
jjbohn has quit [Ping timeout: 245 seconds]
sdouglas has joined #ruby
tharindu has joined #ruby
braincrash has quit [Quit: bye bye]
browndawg has quit [Ping timeout: 246 seconds]
sski has joined #ruby
kukyakya has joined #ruby
mikepack_ has joined #ruby
braincrash has joined #ruby
yasushi has joined #ruby
invinceable has joined #ruby
xuisce has quit [Quit: Leaving]
nateberkopec has joined #ruby
yubrew has joined #ruby
lyanchih has quit [Quit: lyanchih]
Zunonia has quit [Remote host closed the connection]
BraddPitt has joined #ruby
jimmyy has joined #ruby
jimmyy has quit [Max SendQ exceeded]
jimmyy has joined #ruby
rjk808 has quit [Ping timeout: 245 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
jimmyy has quit [Max SendQ exceeded]
yubrew has quit [Ping timeout: 246 seconds]
S0da has quit [Remote host closed the connection]
rjk808 has joined #ruby
jimmyy has joined #ruby
mlpinit has joined #ruby
jimmyy has quit [Max SendQ exceeded]
agjacome has quit [Ping timeout: 252 seconds]
jimmyy has joined #ruby
jimmyy has quit [Max SendQ exceeded]
jimmyy has joined #ruby
jimmyy has quit [Max SendQ exceeded]
average has joined #ruby
jimmyy has joined #ruby
<average> hello ?
ponbiki has joined #ruby
xaq has joined #ruby
jimmyy has quit [Max SendQ exceeded]
Zunonia has joined #ruby
jimmyy has joined #ruby
<centrx> Ahoy
jimmyy has quit [Max SendQ exceeded]
<centrx> Welcome to Freenode After Dark
jimmyy has joined #ruby
jimmyy has quit [Max SendQ exceeded]
jimmyy has joined #ruby
jimmyy has quit [Max SendQ exceeded]
jimmyy has joined #ruby
colour has joined #ruby
rjk808 has quit [Remote host closed the connection]
mikepack_ has quit [Remote host closed the connection]
rjk808 has joined #ruby
yfeldblum has joined #ruby
abdulsattar has joined #ruby
Deele has quit [Ping timeout: 240 seconds]
_5kg has joined #ruby
fgo has joined #ruby
kenneth has joined #ruby
whatasunnyday has quit [Quit: whatasunnyday]
AlexRussia has quit [Ping timeout: 265 seconds]
rjk808 has quit [Ping timeout: 264 seconds]
Elico has joined #ruby
bluepojo has quit [Read error: Connection reset by peer]
nomadic has quit [Read error: Operation timed out]
nomadic has joined #ruby
Elico1 has quit [Ping timeout: 245 seconds]
lyanchih has joined #ruby
bluepojo has joined #ruby
petey has quit [Remote host closed the connection]
dkamioka has joined #ruby
funburn has joined #ruby
thesheff17_ has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
sterlingcalder has quit [Remote host closed the connection]
nateberkopec has quit [Read error: No route to host]
nateberkopec has joined #ruby
kevinykchan has joined #ruby
average has quit [Quit: leaving]
nateberkopec has quit [Ping timeout: 240 seconds]
iliketurtles has joined #ruby
codabrink has quit [Ping timeout: 265 seconds]
mikepack_ has joined #ruby
sdouglas has quit [Remote host closed the connection]
iamdoo2 has quit []
Shidash has quit [Ping timeout: 252 seconds]
sdouglas has joined #ruby
sensen has joined #ruby
robertjpayne has quit [Remote host closed the connection]
zono has quit [Quit: zono]
rjk808 has joined #ruby
tungd has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
nisstyre has quit [Quit: WeeChat 0.4.3]
sdouglas has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
JasmeetQA has joined #ruby
sparrovv has joined #ruby
goganchic has joined #ruby
yasushi has quit [Remote host closed the connection]
mansi has joined #ruby
chris_thomson has quit [Quit: Zzz...]
sparrovv has quit [Ping timeout: 246 seconds]
jimmyy has quit []
mlpinit has quit [Remote host closed the connection]
zono has joined #ruby
jjbohn has joined #ruby
klue has quit [Ping timeout: 252 seconds]
armyriad has joined #ruby
hamakn has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
kevinykchan has quit [Read error: Connection reset by peer]
kevinykchan has joined #ruby
Deele has joined #ruby
cover has quit [Remote host closed the connection]
<Robbo_> does this look right?
<Robbo_> @features = @data.articles.select { |article| article.data.featured }
jjbohn has quit [Ping timeout: 264 seconds]
yubrew has joined #ruby
<havenwood> Robbo_: sure
coder_neo has joined #ruby
_senseinerd has joined #ruby
burgess has joined #ruby
coder_neo has quit [Client Quit]
sterlingcalder has joined #ruby
juarlex has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
marcdel has quit []
lxsameer has joined #ruby
lxsameer has joined #ruby
_senseinerd has quit [Quit: Textual IRC Client: www.textualapp.com]
_senseinerd has joined #ruby
_senseinerd has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
<ceej> why does http://rack.rubyforge.org/doc/classes/Rack/Request.html#M000275 say "The union of GET and POST data." but if a post is sent it totally ignores your query string params?
apeiros has joined #ruby
xuisce has joined #ruby
jamto11 has joined #ruby
philcrissman has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
glosoli has joined #ruby
aagdbl has joined #ruby
goganchic has quit []
senayar has joined #ruby
lolmaus has quit [Remote host closed the connection]
wallerdev has joined #ruby
marcdel has joined #ruby
lolmaus has joined #ruby
mikepack has quit [Remote host closed the connection]
senayar has quit [Client Quit]
jamto11 has quit [Ping timeout: 252 seconds]
sterlingcalder has quit [Ping timeout: 252 seconds]
philcrissman has quit [Ping timeout: 252 seconds]
ksinkar has quit [Quit: Konversation terminated!]
gigetoo has quit [Remote host closed the connection]
gigetoo has joined #ruby
kayloos has joined #ruby
aagdbl1 has joined #ruby
aagdbl has quit [Disconnected by services]
codabrink has joined #ruby
abdulsattar has quit [Ping timeout: 245 seconds]
abdulsattar has joined #ruby
yarou has quit [Remote host closed the connection]
lw has quit [Quit: s]
kayloos has quit [Ping timeout: 245 seconds]
anarang has joined #ruby
kevinykchan has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
funburn has quit [Ping timeout: 252 seconds]
jimmyy has joined #ruby
mlpinit has joined #ruby
jimmyy has quit [Max SendQ exceeded]
jimmyy has joined #ruby
jimmyy has quit [Max SendQ exceeded]
funburn has joined #ruby
jimmyy has joined #ruby
jimmyy has quit [Max SendQ exceeded]
mikepack_ has quit [Remote host closed the connection]
mikepack has joined #ruby
toastynerd has joined #ruby
mlpinit has quit [Ping timeout: 264 seconds]
tylersmith has quit [Remote host closed the connection]
horofox has joined #ruby
bluepojo has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
bluepojo has joined #ruby
Aquilo has joined #ruby
mikepack has quit [Ping timeout: 245 seconds]
nateberkopec has joined #ruby
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bluepojo has quit [Read error: Connection reset by peer]
phansch has joined #ruby
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
toastynerd has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby
michaelchum has quit [Quit: Connection closed for inactivity]
aagdbl1 has quit [Quit: Leaving.]
qubit has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
aagdbl has joined #ruby
kevinykchan has joined #ruby
yfeldblum has joined #ruby
xaq has quit [Remote host closed the connection]
sski has quit [Remote host closed the connection]
sski has joined #ruby
mansi has quit [Quit: Leaving...]
godd2 has quit []
burgess has quit [Quit: ^zzz]
toastynerd has quit [Remote host closed the connection]
makara has joined #ruby
jjbohn has joined #ruby
sski has quit [Ping timeout: 264 seconds]
sterlingcalder has joined #ruby
jjbohn_ has joined #ruby
jjbohn has quit [Read error: Connection reset by peer]
the-undefined has joined #ruby
yubrew has joined #ruby
recurrence has joined #ruby
sterlingcalder has quit [Ping timeout: 245 seconds]
recurrence has quit [Max SendQ exceeded]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jjbohn_ has quit [Ping timeout: 246 seconds]
zono has quit [Quit: zono]
speakingcode has quit [Ping timeout: 246 seconds]
SCommette has quit [Quit: SCommette]
speakingcode has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
yacks has quit [Ping timeout: 264 seconds]
St_Marx has joined #ruby
Skaag has quit [Ping timeout: 246 seconds]
St_Marx has quit [Read error: Connection reset by peer]
St_Marx has joined #ruby
wallerdev has quit [Quit: wallerdev]
nfk has joined #ruby
sterlingcalder has joined #ruby
glosoli has quit [Quit: Textual IRC Client: www.textualapp.com]
evenix has quit [Remote host closed the connection]
Azure has quit [Ping timeout: 264 seconds]
evenix has joined #ruby
evenix has quit [Read error: Connection reset by peer]
momigi has joined #ruby
sterlingcalder has quit [Ping timeout: 245 seconds]
the-undefined has quit [Quit: Leaving]
Azure has joined #ruby
zerofive has joined #ruby
zerofive has left #ruby [#ruby]
maletor has joined #ruby
jaimef has quit [Excess Flood]
jaimef has joined #ruby
mmoretti has joined #ruby
wallerdev has joined #ruby
funburn has quit [Ping timeout: 246 seconds]
Guest61327 is now known as anicet
kevinykchan has quit [Quit: Computer has gone to sleep.]
funburn has joined #ruby
anicet is now known as juni0r
toastynerd has joined #ruby
mlpinit has joined #ruby
qubit has joined #ruby
mmoretti has quit []
aganov has joined #ruby
kukyakya has quit [Remote host closed the connection]
mlpinit has quit [Ping timeout: 264 seconds]
Azure has quit [Quit: Textual IRC Client: www.textualapp.com]
tagrudev has joined #ruby
Azure has joined #ruby
kevinykchan has joined #ruby
dkamioka has quit [Remote host closed the connection]
Azure has quit [Client Quit]
Zunonia has quit [Remote host closed the connection]
sameerynho has joined #ruby
ndrei has joined #ruby
kukyakya has joined #ruby
amclain has quit [Quit: Leaving]
decoponio has joined #ruby
nateberkopec has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
sski has joined #ruby
Zunonia has joined #ruby
lxsameer_ has joined #ruby
tonni has quit [Remote host closed the connection]
Rydekull is now known as Rydekull_
sameerynho has quit [Ping timeout: 252 seconds]
zono has joined #ruby
kukyakya has quit [Remote host closed the connection]
sameerynho has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
speakingcode has quit [Ping timeout: 252 seconds]
jaimef has quit [Excess Flood]
lxsameer_ has quit [Ping timeout: 245 seconds]
Rydekull_ is now known as Rydekull
iliketurtles has joined #ruby
jaimef has joined #ruby
kukyakya has joined #ruby
rickruby has quit [Remote host closed the connection]
anarang has quit [Quit: Leaving]
davedev24 has quit [Remote host closed the connection]
Azure has joined #ruby
hermanmunster has quit [Remote host closed the connection]
hermanmunster has joined #ruby
Nogbit has joined #ruby
Azure has quit [Client Quit]
Azure has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Macaveli has joined #ruby
heftig has quit [Ping timeout: 245 seconds]
hermanmunster has quit [Ping timeout: 252 seconds]
m4rcu5 has joined #ruby
Azure has quit [Client Quit]
tonni has joined #ruby
tungd has quit [Remote host closed the connection]
gaussblurinc has joined #ruby
renklaf_ has quit []
Azure has joined #ruby
yubrew has joined #ruby
jonno11 has joined #ruby
Macaveli has quit [Quit: Leaving]
apeiros has quit [Remote host closed the connection]
Macaveli has joined #ruby
apeiros has joined #ruby
funburn has quit [Quit: funburn]
Macaveli has quit [Client Quit]
pierre1_ has quit [Ping timeout: 240 seconds]
anarang has joined #ruby
jjbohn has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
apeiros has quit [Ping timeout: 245 seconds]
dkamioka has joined #ruby
fgo has quit []
Skaag has joined #ruby
Al__ has joined #ruby
jjbohn has quit [Ping timeout: 264 seconds]
juarlex has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
Azure has quit [Quit: Textual IRC Client: www.textualapp.com]
horofox has quit [Quit: horofox]
ayaz has joined #ruby
sterlingcalder has joined #ruby
Al__ has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
pierre1_ has joined #ruby
bal has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
burgess has joined #ruby
klaut has joined #ruby
sterlingcalder has quit [Ping timeout: 246 seconds]
Azure has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Azure has quit [Client Quit]
jamto11 has joined #ruby
Azure has joined #ruby
Atw has quit [Ping timeout: 252 seconds]
Nogbit has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ndrei has quit [Ping timeout: 245 seconds]
glosoli has joined #ruby
relix has joined #ruby
jamto11 has quit [Ping timeout: 245 seconds]
tonni has quit [Ping timeout: 245 seconds]
roolo has joined #ruby
echevemaster has quit [Remote host closed the connection]
robertjpayne has joined #ruby
<robertjpayne> Is there any reason "\r\n" is different than '\r\n' in ruby? Maybe I'm missing something but I can't see why escape characters don't work in single quotes?
ahuman_ has quit [Quit: No Ping reply in 180 seconds.]
ahuman has joined #ruby
wallerdev has quit [Quit: wallerdev]
kayloos has joined #ruby
ping_pong is now known as ping-pong
rdark has joined #ruby
michael_mbp has quit [Quit: ZNC - http://znc.sourceforge.net]
aagdbl has quit [Quit: Leaving.]
meinside has quit [Quit: Connection closed for inactivity]
michael_mbp has joined #ruby
apeiros has joined #ruby
mlpinit has joined #ruby
jayne has quit [Ping timeout: 619 seconds]
sski has quit [Remote host closed the connection]
abdulsattar has quit [Ping timeout: 246 seconds]
sski has joined #ruby
tonni has joined #ruby
kayloos has quit [Ping timeout: 264 seconds]
pyrac has joined #ruby
rails426 has joined #ruby
mlpinit has quit [Ping timeout: 246 seconds]
pyrac has quit [Client Quit]
aagdbl has joined #ruby
aagdbl has quit [Remote host closed the connection]
sski has quit [Ping timeout: 245 seconds]
aagdbl has joined #ruby
aagdbl has quit [Client Quit]
NovapaX has joined #ruby
LiohAu has joined #ruby
Skaag has quit [Ping timeout: 252 seconds]
aagdbl has joined #ruby
nateberkopec has joined #ruby
kukyakya has quit [Ping timeout: 246 seconds]
hobodave has quit [Quit: Computer has gone to sleep.]
Gadgetoid has quit [Read error: Operation timed out]
nateberkopec has quit [Ping timeout: 240 seconds]
bal has quit [Ping timeout: 246 seconds]
mercwithamouth has joined #ruby
michael_lee has quit [Remote host closed the connection]
pierre1_ has quit [Ping timeout: 246 seconds]
bal has joined #ruby
Xeago has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Hobogrammer has quit [Remote host closed the connection]
rjk808 has quit [Remote host closed the connection]
abdulsattar has joined #ruby
Elico has quit [Quit: Leaving.]
dkamioka has quit [Remote host closed the connection]
yubrew has joined #ruby
Squarepy has joined #ruby
gneral has quit [Changing host]
gneral has joined #ruby
crystal77 has joined #ruby
ndrei has joined #ruby
estebanrules has quit [Ping timeout: 252 seconds]
toastynerd has quit [Remote host closed the connection]
Es0teric has quit [Remote host closed the connection]
momigi has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
toastynerd has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
estebanrules has joined #ruby
jprovazn has joined #ruby
rjk808 has joined #ruby
_1_alik has joined #ruby
_1_alik has left #ruby [#ruby]
aagdbl has quit [Quit: Leaving.]
Xeago has quit [Remote host closed the connection]
shredding has joined #ruby
xuisce has quit [Quit: Leaving]
jjbohn has joined #ruby
yacks has joined #ruby
toastynerd has quit []
chipotle has quit [Quit: cya]
dumdedum has joined #ruby
<tobiasvl> robertjpayne: that's exactly the reason: escape characters don't work in single quotes
<tobiasvl> and interpolation
bluOxigen has quit [Ping timeout: 245 seconds]
<tobiasvl> robertjpayne: single quotes support \' and \\ but apart from that it's a verbatim string
leonidlm has joined #ruby
<robertjpayne> yea noticed! Thanks a ton boggling my mind for a bit
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wuest_ is now known as wuest
jjbohn has quit [Ping timeout: 245 seconds]
havenwood has quit []
aagdbl has joined #ruby
roolo has quit [Quit: Leaving...]
SteveBenner09 has joined #ruby
SteveBenner09 has quit [Client Quit]
sski has joined #ruby
BeingUntoDeath has joined #ruby
BeingUntoDeath has quit [Client Quit]
sterlingcalder has joined #ruby
<dmarr> hi, i install librarian-chef via my Gemfile, but I don't know why theres no librarian-chef binary in my path anywhere
<tobiasvl> dmarr: well, what's your path?
<dmarr> it includes the following ruby related paths: /Users/dmarr/.rvm/gems/ruby-1.9.3-p448/bin:/Users/dmarr/.rvm/gems/ruby-1.9.3-p448@global/bin:/Users/dmarr/.rvm/rubies/ruby-1.9.3-p448/bin:/Users/dmarr/.rvm/bin
<tobiasvl> and where did you install the gem? if you don't know that: how did you install it?
<dmarr> gem env includes
<dmarr> - INSTALLATION DIRECTORY: /Users/dmarr/.gem
<dmarr> - EXECUTABLE DIRECTORY: /Users/dmarr/.gem/bin
<dmarr> - RUBY EXECUTABLE: /Users/dmarr/.rvm/rubies/ruby-1.9.3-p448/bin/ruby
<dmarr> the local game is in /Users/dmarr/.gem/gems/librarian-chef-0.0.2
phrozen77 has quit [Changing host]
phrozen77 has joined #ruby
Macaveli has joined #ruby
havenwood has joined #ruby
rococo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sterlingcalder has quit [Ping timeout: 252 seconds]
<tobiasvl> so you didn't use rvm?
<tobiasvl> /Users/dmarr/.gem isn't in your path
einarj has joined #ruby
Squarepy has quit [Ping timeout: 252 seconds]
<dmarr> tobiasvl: ah, i do see librarian-chef in ~/.gem/bin so I'd need to add that to my path, thanks
devyn has quit [Ping timeout: 264 seconds]
<dmarr> bundle exec does seem to do that
vlad_starkov has quit [Remote host closed the connection]
<dmarr> is there anything i need to source to avoid bundle exec'ing all the time
kitak_ has joined #ruby
dkamioka has joined #ruby
Lewix_ has quit [Remote host closed the connection]
`MArceLL` has quit [Ping timeout: 246 seconds]
<havenwood> dmarr: i thought rvm was using rubygems-bundler these days, not sure: https://github.com/mpapis/rubygems-bundler#readme
tonni has quit [Remote host closed the connection]
<havenwood> dmarr: maybe make sure you're using latest rvm: rvm get latest
kitak has quit [Ping timeout: 260 seconds]
dkamioka_ has joined #ruby
dkamioka has quit [Read error: Connection reset by peer]
<dmarr> good call havenwood
vlad_starkov has joined #ruby
kloeri__ is now known as kloeri
aagdbl2 has joined #ruby
aagdbl has quit [Disconnected by services]
yfeldblu_ has joined #ruby
Zespre has quit [Quit: leaving]
francisfish has joined #ruby
sigurding has joined #ruby
<dmarr> worked after another bundle install
<dmarr> after installing latest rvm
mlpinit has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
yfeldblu_ has quit [Ping timeout: 246 seconds]
abdulsattar has quit [Ping timeout: 246 seconds]
invinceable has quit [Ping timeout: 264 seconds]
pothibo has joined #ruby
dkamioka_ has quit [Ping timeout: 246 seconds]
thomasxie has joined #ruby
DarthGandalf has quit [Ping timeout: 252 seconds]
Zespre has joined #ruby
claymore has joined #ruby
mlpinit has quit [Ping timeout: 252 seconds]
tyranjofffffffff is now known as tyranja
jack_rabbit has quit [Ping timeout: 240 seconds]
gischy_ is now known as gischy
m1lt0n_ has joined #ruby
DarthGandalf has joined #ruby
Skaag has joined #ruby
dweeb_ has joined #ruby
sk87 has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby
nateberkopec has joined #ruby
dangerousdave has joined #ruby
JasmeetQA has quit [Read error: Connection reset by peer]
phansch has quit [Quit: WeeChat 0.4.2]
Jeticus has quit []
francisfish has quit [Ping timeout: 245 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
LexicalScope has quit [Ping timeout: 264 seconds]
andrewlio has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
ekarlso has quit [Changing host]
ekarlso has joined #ruby
ndrei has joined #ruby
nomenkun has joined #ruby
guilleiguaran has quit [Quit: Connection closed for inactivity]
yubrew has quit [Ping timeout: 264 seconds]
tonni has joined #ruby
gasbakid has joined #ruby
camilasan has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
obs has joined #ruby
estebanrules has quit [Ping timeout: 245 seconds]
BeingUntoDeath has joined #ruby
bluenemo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
Maitiu has quit [Read error: Connection reset by peer]
LexicalScope has joined #ruby
<BeingUntoDeath> i heard a guy on youtube say people in rubyland don't deal with concurrency. is this true? I'm learning code and i was thinking about looking into the tlearn gem for concurrency and neural networking
LexicalScope has quit [Changing host]
LexicalScope has joined #ruby
<dweeb_> In my admin system I want to load images through a proxy to hide the referrer url to avoid showing info about the system. Does that make sense?
<dweeb_> (remote images)
razibog has joined #ruby
marcdel has quit []
dkamioka has joined #ruby
lyanchih has quit [Quit: lyanchih]
<apeiros> BeingUntoDeath: that's a broad overgeneralizing statement which as such is simply wrong
<lolmaus> Are global methods like `puts` actually methods of some built-in object?
lyanchih has joined #ruby
senayar has quit [Remote host closed the connection]
Maitiu has joined #ruby
<apeiros> lolmaus: they're module_function on Kernel
ikaros has joined #ruby
<apeiros> (see Module#module_function)
senayar has joined #ruby
jjbohn has joined #ruby
<apeiros> lolmaus: you can figure such things by using:
<apeiros> >> method(:puts).owner
<eval-in> apeiros => Kernel (https://eval.in/118562)
<lolmaus> apeiros: so `puts` is sugar for `Kernel.puts` ?
<apeiros> lolmaus: no
<apeiros> Kernel.puts and puts are the same. no sugar.
<apeiros> s/the same/copies/
<apeiros> (technically, module_function copies the method)
nvrch has joined #ruby
<lolmaus> apeiros: if i add a method to Kernel, will it become available in the short form?
<apeiros> lolmaus: yes, because Object includes Kernel
<apeiros> and every object inherits from Object (well, every except BasicObject and descendants of BasicObject)
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
mourest has joined #ruby
momigi has joined #ruby
ndrei has joined #ruby
timonv has joined #ruby
dkamioka has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
<lolmaus> apeiros: so if i add a method to Kernel, ALL objects will posess it?
gberger has quit [Ping timeout: 264 seconds]
<apeiros> yes
<apeiros> if you add a method to Kernel, don't forget to mark it as a module_function.
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Merks has joined #ruby
jjbohn has quit [Ping timeout: 245 seconds]
dangerousdave has quit [Quit: Leaving...]
sk87 has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
Skaag has quit [Ping timeout: 246 seconds]
<lolmaus> apeiros: if i mark a custom Kernel method as a module_function, it will only be available as a global method and a Kernel's method, but not in other objects?
<apeiros> define "but not in other objects"
<apeiros> it marks the instance method as private, so you can't call foo.puts
<lolmaus> apeiros: and it is also possible to safely override the method in a custom class?
momigi has quit [Ping timeout: 264 seconds]
jhass|off is now known as jhass
sterlingcalder has joined #ruby
yfeldblum has joined #ruby
<lolmaus> Yeah it is, tried it in IRB.
<lolmaus> Thank you, apeiros.
jhass is now known as jhass|off
monkegjinni has joined #ruby
camilasan has quit [Remote host closed the connection]
DaniG2k has joined #ruby
<apeiros> lolmaus: define "safely"
<apeiros> it's as safe as overriding puts
<lolmaus> apeiros: without damaging global puts behavior and raising any errors :)
<apeiros> people can still call it via Kernel
<lolmaus> Yeah, thx
camilasan has joined #ruby
<apeiros> you should get rid of the notion of "global puts" (or "global method")
<apeiros> there is no such thing
monkegjinni has quit [Remote host closed the connection]
<apeiros> what you perceive as a global method is a method that is inherited
ndrei has quit [Ping timeout: 245 seconds]
camilasa_ has joined #ruby
_1_AS has joined #ruby
monkegjinni has joined #ruby
camilas__ has joined #ruby
sterlingcalder has quit [Ping timeout: 245 seconds]
<_1_AS> hi
heftig has joined #ruby
camila___ has joined #ruby
jespada has joined #ruby
blackcave_ has joined #ruby
<lolmaus> apeiros: by "global" i only meant "invokable without specifying its object".
<blackcave_> hello
camil____ has joined #ruby
mehlah has joined #ruby
camilasan has quit [Ping timeout: 264 seconds]
cami_____ has joined #ruby
jamto11 has joined #ruby
_1_AS has quit [Client Quit]
camilasan has joined #ruby
monkegjinni has quit [Ping timeout: 252 seconds]
camilasa_ has quit [Ping timeout: 264 seconds]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilas__ has quit [Ping timeout: 264 seconds]
camilasa_ has joined #ruby
<blackcave_> can anyone help me please?
camilasan has quit [Read error: Connection reset by peer]
<BeingUntoDeath> apeiros: glad to hear it. have you used tlearn? Do you work with recurrency?
camila___ has quit [Ping timeout: 264 seconds]
camilasa_ has quit [Read error: Connection reset by peer]
<popl> blackcave_: Just ask your question. If anyone can help they might.
<BeingUntoDeath> that.
camilasan has joined #ruby
camil____ has quit [Ping timeout: 264 seconds]
<blackcave_> I can't get out after using "bundle --help" command
camilasan has quit [Read error: Connection reset by peer]
<shevy> open the door!
<blackcave_> how?
camilasan has joined #ruby
cami_____ has quit [Ping timeout: 264 seconds]
jamto11 has quit [Ping timeout: 245 seconds]
camilasan has quit [Read error: Connection reset by peer]
jaxxstorm has left #ruby [#ruby]
<popl> get out?
<blackcave_> i tried escape, enter and whatever i can to quit the help message
<blackcave_> but no luck
camilasan has joined #ruby
<popl> blackcave_: q
<popl> blackcave_: What OS are you using?
camilasan has quit [Read error: Connection reset by peer]
<blackcave_> thank you soo much
<blackcave_> that works
<blackcave_> i'm using ubuntu
camilasan has joined #ruby
<popl> You're probably using less as your pager.
<popl> at the commandline type «echo $PAGER» then hit enter
<blackcave_> pager?
camilasan has quit [Read error: Connection reset by peer]
<shevy> I use most
camilasan has joined #ruby
jtza8 has joined #ruby
<shevy> blackcave_ try this: ls | more
<popl> blackcave_: It's a program that displays whatever it receives via STDIN one "page" at a time.
camilasan has quit [Read error: Connection reset by peer]
<popl> blackcave_: Are you familiar with the command line in Windows?
camilasan has joined #ruby
<blackcave_> yea
<blackcave_> but new in linux
<popl> blackcave_: less is more
<blackcave_> how to use echo $PAGER?
<popl> type it at the prompt, hit enter.
camilasa_ has joined #ruby
<blackcave_> how it affects?
<popl> it just echos the contents of $PAGER
rjk808 has quit []
<popl> so you can see what you're using
<shevy> blackcave_ you need to use the commandline more often, soon you will know all these things ^^^
<popl> blackcave_: type «set» then hit enter.
<blackcave_> sure
crystal77 has joined #ruby
<popl> blackcave_: this will show you what is defined in your current environment.
<popl> blackcave_: If you want help with your shell (which is probably bash) then you can ask in #bash.
<blackcave_> there was a lot of codes
<shevy> :)
<shevy> popl is the teacher
nari has quit [Ping timeout: 245 seconds]
<blackcave_> but i couldn't see first lines
elaptics`away is now known as elaptics
<popl> blackcave_: type «set|less» then hit enter
<shevy> blackcave_ well you already learned the pager now :P
<shevy> set | more
<shevy> haha :D
<popl> or more
mlpinit has joined #ruby
klaut has quit [Remote host closed the connection]
<blackcave_> haha
<popl> or «set|$PAGER»
Advocation has joined #ruby
<blackcave_> you really are a good teacher
<shevy> don't with the flattery, you make him blush
<blackcave_> :)
deadlock has quit [Quit: fuck off]
camilasan has quit [Ping timeout: 252 seconds]
<popl> I'm happy to help.
armyriad has quit [Ping timeout: 264 seconds]
AlSquire has joined #ruby
<blackcave_> one more thing, when i'm reading a big doc using less, how to escape the rest of the doc?
monkegjinni has joined #ruby
<popl> blackcave_: type «man less» then hit enter
<popl> blackcave_: This will show you the manual page for less, which contains the information you desire.
mlpinit has quit [Ping timeout: 245 seconds]
thomasxie has quit [Quit: Leaving.]
<blackcave_> right. and q helped here, too! :)
<jtza8> Stylistically, when should {} be used rather than do end? Only for single-line blocks?
<shevy> jtza8 is that not up to the one to use it?
<shevy> {} vs. do/end have different precedence
<shevy> you can always do:
<shevy> Foo.new {
<shevy> hi()
<shevy> there()
<shevy> }
<sigurding> what is the best way to store configuration settings at runtime, which should be recoverable, when the application is restarted?
<shevy> sigurding usually when I ask the same question, I am told "use a hash" :)
TMM has joined #ruby
<shevy> you probably need to save that hash somewhere
<shevy> like into a yaml file
<matti> ::)
<shevy> configuration = {}
<shevy> matti do you have 4 eyes?
<matti> Yes.
<shevy> ewww
<shevy> you freak!
<matti> :(
ahawkins has joined #ruby
S0da has joined #ruby
nateberkopec has joined #ruby
<sigurding> shevy: ok, but what I don't like about the yaml solution is resolving and deleting entries
yubrew has joined #ruby
<shevy> what do you mean
<shevy> you can use methods to do that
<sigurding> the only thing I can always to is: load the hash, change a value and dump the file completely
<shevy> save_config add_config remove_config
<apeiros> hi popl
<shevy> how else do you want to store?
<apeiros> popl: what do you think of https://gist.github.com/apeiros/bd40faa7539362a7dccd ?
<apeiros> sensible?
<apeiros> BeingUntoDeath: I don't know tlearn. yes, I have a couple of things which run concurrently.
<sigurding> shevy: that's what I am thinking about
* jtza8 thanks shevy.
<apeiros> lolmaus: yes, those are methods which are defined on your object's class or any of its ancestors -> inherited methods, as I said ;-)
<shevy> sigurding no I mean, because you don't want to store the whole thing, you would look for a replacement that would change only what is required, and I wonder what can fit there. SQL?
sski has quit [Remote host closed the connection]
deadlock has joined #ruby
<sigurding> shevy: was an idea as well, but a bit overkill I guess
<shevy> hehe
<sigurding> ;)
sski has joined #ruby
<shevy> sigurding you could always do: create one file per entry in your hash key
St_Marx has quit [Quit: Ex-Chat]
<sigurding> yep, perhaps the best idea
<shevy> I do that myself actually. my larger projects have a dir usually called config/ and all yaml files there are assumed to be configuration files
lolmaus has quit [Ping timeout: 246 seconds]
lolmaus_ has joined #ruby
phansch has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 246 seconds]
razibog has quit [Quit: Leaving.]
crystal77 has quit [Quit: Computer has gone to sleep.]
sski has quit [Remote host closed the connection]
sski has joined #ruby
oneawaymann has joined #ruby
Al__ has joined #ruby
karupanerura is now known as zz_karupanerura
pfg has joined #ruby
mbuf has joined #ruby
armyriad has joined #ruby
<mbuf> is there a recommended way in Ruby to open a file exclusively for reading?
timonv has quit [Remote host closed the connection]
AndChat| has joined #ruby
lkba has quit [Read error: Connection reset by peer]
<apeiros> mbuf: File.read(path) or File.readlines(path) if you want all of its content anyway
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<apeiros> else, File.open(path, 'r') do |fh| … end
sski has quit []
sski has joined #ruby
workmad3 has joined #ruby
LexicalScope has quit [Ping timeout: 245 seconds]
BeingUntoDeath has quit [Ping timeout: 245 seconds]
AndChat| has quit [Ping timeout: 252 seconds]
ndrei has joined #ruby
klaut has joined #ruby
dkamioka has joined #ruby
alexherb1 has joined #ruby
kayloos has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
St_Marx has joined #ruby
obs has quit [Remote host closed the connection]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jjbohn has joined #ruby
obs has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
camilasa_ has quit [Remote host closed the connection]
kobain has quit []
Skaag has joined #ruby
camilasan has joined #ruby
Advocation has quit [Quit: Advocation]
arietis has joined #ruby
dkamioka has quit [Ping timeout: 252 seconds]
compleatang has joined #ruby
jjbohn has quit [Ping timeout: 245 seconds]
Advocation has joined #ruby
abdulsattar has joined #ruby
sk87 has joined #ruby
kaliya has joined #ruby
Zunonia has quit [Quit: Computer has gone to sleep.]
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
aspiers_ has joined #ruby
deadlock has quit [Read error: Connection reset by peer]
Rhainur has joined #ruby
<Rhainur> how do I pass parameters to AASM events?
<Rhainur> the documentation is kind of confusing
sterlingcalder has joined #ruby
Slavox|AFK is now known as Slavox
devyn has joined #ruby
monkegjinni has quit [Ping timeout: 246 seconds]
<apeiros> Rhainur: what part confuses you?
ephemerian has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
sterlingcalder has quit [Ping timeout: 246 seconds]
lolmaus_ has quit [Quit: No Ping reply in 180 seconds.]
timonv has joined #ruby
lolmaus has joined #ruby
<Rhainur> apeiros: under the callbacks section, the code says job.run(:running, :defragmentation)
kukyakya has joined #ruby
<Rhainur> followed by In this case the set_process would be called with :defagmentation argument.
<Rhainur> but under the run event
<Rhainur> :on_transition => Proc.new {|obj, *args| obj.set_process(*args) }
<Rhainur> so where does :running go?
banister has joined #ruby
<apeiros> sounds to me like the first arg sets the new state
gneral is now known as Ayran-Simit
Ayran-Simit is now known as GNeRaL
vlad_starkov has joined #ruby
<DaniG2k> guys is it possible to do a switch statement in ruby depending on what's included in a string?
<Rhainur> apeiros: that should hap;pen in the transitions :from => :sleeping, :to => :running
<DaniG2k> like, in case the string includes this text, do this, if it includes this, do that
<tobiasvl> DaniG2k: yes
<apeiros> DaniG2k: case expression/when value uses value === expression
<apeiros> DaniG2k: and Regexp#=== is the same as #=~
<apeiros> so you can use that
<DaniG2k> hmm right but can I do something like
<DaniG2k> case "hello"
<DaniG2k> when sorry
<DaniG2k> str = "hello"
Rober9393 has joined #ruby
<tobiasvl> what is that supposed to do
<tobiasvl> when sorry?
<apeiros> Rhainur: just commenting on what I see. and I agree with you that it doesn't seem to make sense to pass in the next state explicitly.
<DaniG2k> case str; when str.include? "h"
<Rhainur> apeiros: that leaves me confused on how to pass arguments in :(
<apeiros> DaniG2k: you can't use str.include? "h"
<tobiasvl> you can do `case str; when /h/`
<apeiros> DaniG2k: as I already wrote, it'd evaluate as (str.include? "h") === str
aef has joined #ruby
burgess has quit [Quit: ^zzz]
<DaniG2k> the regex version seems cleaner
<DaniG2k> I'll go with that, thanks
glebm has joined #ruby
<apeiros> "the regex version seems cleaner" - than what? the .include? because that makes no sense, the include *does* *not* *work*, as stated about 3 times now…
fella7s is now known as fella5s
shaunbaker has joined #ruby
mlpinit has joined #ruby
Speed has joined #ruby
Speed has quit [Client Quit]
yubrew has joined #ruby
pcarrier has quit [Quit: Connection closed for inactivity]
<DaniG2k> apeiros: did you say it evaluates as (str.include? "h") === str
<DaniG2k> *dint' you say
mlpinit has quit [Ping timeout: 246 seconds]
<apeiros> yes. and now think about how well that will work out.
mengu has quit [Remote host closed the connection]
<DaniG2k> right
<DaniG2k> so regex :P
mostlybadfly has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
sparrovv has joined #ruby
sparrovv has quit [Remote host closed the connection]
<apeiros> gah, fuck
sparrovv has joined #ruby
<apeiros> I named my class TableData. now I renamed the file from tabledata.rb to table_data.rb
<apeiros> and now I notice that the gem name is tabledata
<apeiros> damn, damn, damn
andrewlio has quit [Ping timeout: 246 seconds]
pfg has joined #ruby
<apeiros> soooo… reregister the gem as table_data or rename files again and change constant to Tabledata
samuel02 has joined #ruby
pfg has quit [Client Quit]
yubrew has quit [Ping timeout: 246 seconds]
Skaag has quit [Ping timeout: 264 seconds]
nateberkopec has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
francisfish has joined #ruby
bal has quit [Ping timeout: 245 seconds]
MrBoolean has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
<sigurding> may anyone explain me why my yaml has :item (I mean the : ), when I safe it?
<sigurding> *save
kayloos has quit [Remote host closed the connection]
bal has joined #ruby
robertjpayne has quit [Remote host closed the connection]
rails426 has quit [Ping timeout: 252 seconds]
<apeiros> sigurding: because you put it in?
<apeiros> :item is a Symbol instance
<sigurding> apeiros: I am justing saving an object
<apeiros> that information doesn't change my answer
* apeiros off for lunch
yfeldblu_ has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
mehlah has quit [Quit: Linkinus - http://linkinus.com]
nfk|laptop has joined #ruby
<Rhainur> apeiros: I continued digging in google for that aasm issue
blackmesa has joined #ruby
yfeldblu_ has quit [Ping timeout: 252 seconds]
<Rhainur> and I found a code sample where instead of passing in :running, someone passed in a nil
<Rhainur> and they said "Second, notice we also pass in a nil... I'll explain that in a future blog post - in short, it is an undocumented feature in AASM where we can choose different transitions we might want to perform. Since we aren't using that, we just pass in nil.
<Rhainur> "
andrewlio has joined #ruby
AlexRussia has joined #ruby
hermanmunster has joined #ruby
caustic has joined #ruby
dagobah has joined #ruby
oneawaymann has quit [Ping timeout: 264 seconds]
dkamioka has joined #ruby
SegFaultAX has quit [Ping timeout: 246 seconds]
evenix has joined #ruby
rcs has quit [Ping timeout: 252 seconds]
jhass|off is now known as jhass
sparrovv has quit [Remote host closed the connection]
hostess has quit [Ping timeout: 252 seconds]
jjbohn has joined #ruby
obs has quit [Quit: Saliendo]
Hien has quit [Ping timeout: 245 seconds]
Azulinho has joined #ruby
DylanJ has quit [Ping timeout: 245 seconds]
nomenkun has quit [Remote host closed the connection]
michael_mbp has quit [Quit: ZNC - http://znc.sourceforge.net]
rcs has joined #ruby
evenix has quit [Ping timeout: 246 seconds]
nomenkun has joined #ruby
dkamioka has quit [Ping timeout: 252 seconds]
nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
oneawayman has joined #ruby
rococo has joined #ruby
jjbohn has quit [Ping timeout: 246 seconds]
michael_mbp has joined #ruby
michael_mbp has quit [Excess Flood]
TwinkleH1od is now known as TwinkleHood
SegFaultAX has joined #ruby
ndrei has joined #ruby
zono has quit [Quit: zono]
Klumben has quit [Ping timeout: 265 seconds]
ahuman has quit [Quit: No Ping reply in 180 seconds.]
sterlingcalder has joined #ruby
nomenkun has quit [Remote host closed the connection]
nfk|laptop has quit [Ping timeout: 246 seconds]
nomenkun has joined #ruby
diegoviola has quit [Remote host closed the connection]
mmachine has joined #ruby
hermanmunster has quit [Remote host closed the connection]
aagdbl2 has quit [Quit: Leaving.]
hermanmunster has joined #ruby
aagdbl has joined #ruby
sterlingcalder has quit [Ping timeout: 246 seconds]
_tpavel has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
existensil has quit [Ping timeout: 252 seconds]
Hanmac1 has joined #ruby
nomenkun has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
michael_mbp has joined #ruby
michael_mbp has quit [Excess Flood]
Hanmac has quit [Ping timeout: 245 seconds]
hermanmunster has quit [Remote host closed the connection]
hostess has joined #ruby
SegFaultAX has quit [Quit: ZNC - http://znc.in]
hermanmunster has joined #ruby
chrisseaton has joined #ruby
mengu has joined #ruby
nomenkun has joined #ruby
jlebrech has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
billiam has quit [Quit: WeeChat 0.4.1]
shaunbaker has quit []
kayloos has joined #ruby
rcs has quit [Read error: Connection timed out]
camilasan has quit [Remote host closed the connection]
michael_mbp has joined #ruby
hermanmunster has quit [Ping timeout: 246 seconds]
DylanJ has joined #ruby
jkamenik has joined #ruby
camilasan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
rcs has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
foredoomed has joined #ruby
camilasa_ has joined #ruby
drumusician has joined #ruby
horofox has joined #ruby
yubrew has joined #ruby
camilas__ has joined #ruby
Hien has joined #ruby
camila___ has joined #ruby
heftig has quit [Quit: Quitting]
Foo1 has joined #ruby
camil____ has joined #ruby
camil____ has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
horofox has quit [Client Quit]
camil____ has joined #ruby
mlpinit has joined #ruby
Speed has joined #ruby
camil____ has quit [Read error: Connection reset by peer]
camilasan has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
camilasa_ has quit [Ping timeout: 264 seconds]
francisfish has quit [Remote host closed the connection]
camilasan has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 245 seconds]
existensil has joined #ruby
camilasan has joined #ruby
lemonsparrow has joined #ruby
Foo1 has quit [Remote host closed the connection]
ctp has quit [Quit: Leaving...]
camilasan has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
camilas__ has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
camila___ has quit [Ping timeout: 264 seconds]
popl has quit [Ping timeout: 264 seconds]
drumusician has quit [Ping timeout: 245 seconds]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
heftig has joined #ruby
Skaag has joined #ruby
mlpinit has quit [Ping timeout: 245 seconds]
camilasan has joined #ruby
camilasa_ has joined #ruby
tvw has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
rococo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
camilasa_ has joined #ruby
ndrei has joined #ruby
camilas__ has joined #ruby
mjs2600 has joined #ruby
camila___ has joined #ruby
nateberkopec has joined #ruby
nari has joined #ruby
camila___ has quit [Read error: Connection reset by peer]
camila___ has joined #ruby
camilasan has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
jaxxstorm has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has quit [Ping timeout: 264 seconds]
camilasa_ has joined #ruby
camilas__ has quit [Ping timeout: 264 seconds]
camilasa_ has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
camila___ has quit [Ping timeout: 264 seconds]
monkegjinni has quit [Remote host closed the connection]
MrPopinjay has joined #ruby
monkegjinni has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
<MrPopinjay> Hello. Python has """function docstrings""". Is there anything similar for Ruby? And if so, what reads it?
camilasan has quit [Ping timeout: 264 seconds]
monkegjinni has joined #ruby
fgo has joined #ruby
shredding has quit [Ping timeout: 264 seconds]
_tpavel has quit [Quit: Leaving]
<MrPopinjay> Thank you DaniG2k
<DaniG2k> no problem :)
<MrPopinjay> Um, I can't see anything that looks similar here? This looks like some kind of markup?
Maitiu has quit [Read error: Connection reset by peer]
shredding has joined #ruby
oneawaymann has joined #ruby
sparrovv has joined #ruby
<DaniG2k> MrPopinjay: ah my bad. what about this: http://chen.do/blog/2013/07/07/python-like-docstrings-in-ruby/
oneawayman has quit [Read error: Connection reset by peer]
IceyEC has joined #ruby
sparrovv has quit [Remote host closed the connection]
sensen has quit [Quit: leaving]
vlad_starkov has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
Speed has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
<MrPopinjay> Not really useful unless it's in the core, as no one will use it
<MrPopinjay> Oh well
Maitiu has joined #ruby
<MrPopinjay> Plus, I think that guy is missing the point if he's more interestedin keeping the syntax the same, rather than just wanting the functionality :P
<MrPopinjay> Cheers though!
vlad_starkov has joined #ruby
lyanchih has quit [Ping timeout: 246 seconds]
kitak_ has quit [Remote host closed the connection]
_tpavel has joined #ruby
<dweeb_> I have a method that sends a notification. If the method is called multiple times during 5 seconds I only want to send the last notification. What is the best way to accomplish that? (thread-safe)
shredding has quit [Quit: shredding]
Maitiu has quit [Ping timeout: 252 seconds]
francisfish has joined #ruby
Maitiu has joined #ruby
mjs2600 has quit [Remote host closed the connection]
nvrch has quit [Quit: nvrch]
browndawg has joined #ruby
Schmidt has joined #ruby
<apeiros> MrPopinjay: also check http://yardoc.org
<MrPopinjay> Thank you
sigurding has quit [Quit: sigurding]
dkamioka has joined #ruby
jjbohn has joined #ruby
<abdulsattar> dweeb_: Kind of like debounce in underscore.js?
<MrPopinjay> dweeb_: add message to array. exit if flag is true. Else, set flag to true, wait 5 seconds, send the last message from the array and clear array contents
banister has joined #ruby
<MrPopinjay> ?
monkegjinni has quit [Remote host closed the connection]
<MrPopinjay> oh, and then set flag to false
<dweeb_> abdulsattar: yeah
monkegjinni has joined #ruby
<dweeb_> MrPopinjay: sounds like a solution, I will give it a try after lunch. brb
<MrPopinjay> tara
dkamioka has quit [Ping timeout: 264 seconds]
Skaag has quit [Ping timeout: 245 seconds]
caustic has quit []
camilasa_ has quit [Remote host closed the connection]
camilasan has joined #ruby
YamakasY has quit [Quit: The best revenge is massive success...]
camilasa_ has joined #ruby
jjbohn has quit [Ping timeout: 252 seconds]
devyn has quit [Ping timeout: 264 seconds]
camilas__ has joined #ruby
philcrissman has joined #ruby
monkegjinni has quit [Ping timeout: 246 seconds]
camila___ has joined #ruby
sterlingcalder has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
camil____ has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
cami_____ has joined #ruby
camil____ has quit [Read error: Connection reset by peer]
camilasan has quit [Ping timeout: 264 seconds]
camilasa_ has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
camilasa_ has joined #ruby
duggiefresh has joined #ruby
camilas__ has quit [Ping timeout: 264 seconds]
mbuf has quit [Quit: Leaving]
sterlingcalder has quit [Ping timeout: 252 seconds]
camilas__ has joined #ruby
camila___ has quit [Ping timeout: 264 seconds]
jds_ has quit [Quit: Connection closed for inactivity]
devyn has joined #ruby
camil____ has joined #ruby
cami_____ has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
sambao21 has joined #ruby
camil____ has quit [Read error: Connection reset by peer]
camil____ has joined #ruby
yasushi has joined #ruby
camilasan has quit [Ping timeout: 264 seconds]
camil____ has quit [Read error: Connection reset by peer]
camilasa_ has quit [Ping timeout: 264 seconds]
dangerousdave has joined #ruby
mlpinit has joined #ruby
gasbakid has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
camilas__ has quit [Ping timeout: 264 seconds]
camilasa_ has quit [Read error: Connection reset by peer]
larissa has joined #ruby
camilasa_ has joined #ruby
tkuchiki has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
VTLob has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
camilasan has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
camilasan has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
camilasan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
Tranquility_ is now known as Tranquility
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
chrisseaton has quit []
camilasan has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
camilasan has joined #ruby
ringaring has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
sdouglas has joined #ruby
camilasa_ has joined #ruby
duggiefresh has quit [Ping timeout: 246 seconds]
mjs2600 has joined #ruby
SegFaultAX has joined #ruby
cbreeze has joined #ruby
<DaniG2k> apeiros: remember i was asking you about case str when /regex/ before?
dblessing has joined #ruby
momigi has joined #ruby
<apeiros> DaniG2k: yes
<DaniG2k> apeiros: I just learned a trick that might be useful
weems has quit [Read error: Connection reset by peer]
* apeiros hopes it isn't expressionless case
camilasan has quit [Ping timeout: 264 seconds]
mark_locklear has joined #ruby
sepp2k has joined #ruby
<DaniG2k> apeiros: so the regex version is identical to "hello" =~ /lo/ right?
_tpavel has quit [Quit: Leaving]
<DaniG2k> apeiros: if you do s = "hello"; s["lo"] it's actually the same thing
<apeiros> no, it is identical to /lo/ === "hello"
<apeiros> which is equivalent to what you described (not identical, tho)
<DaniG2k> ah but this doesnt work on cases nonetheless
<DaniG2k> nevermind :\
<apeiros> 13:34 DaniG2k: apeiros: if you do s = "hello"; s["lo"] it's actually the same thing
<apeiros> I don't get what you try to say there
<DaniG2k> apeiros: well, the regex version will return the index of where it found /lo/ (so true in the case statement)
<DaniG2k> apeiros: but s["lo"] is the same because it will return true if it finds that substring and false otherwise
<tobiasvl> remember that case uses ===
<apeiros> ok, I have no idea what you're construing there…
<DaniG2k> hahaha
<apeiros> and yes, was just gonna repeat what I said before and tobiasvl said just now
<tobiasvl> str === str["lo"] is ... not what you want
blackcave_ has quit [Ping timeout: 245 seconds]
Merks has quit [Remote host closed the connection]
<DaniG2k> ok i see
<apeiros> again, there are no transformations of any kind other in `case expression; when condition` than `(condition) === (expression)`
<apeiros> omg, rearrange the phrase so that it makes sense…
mercwithamouth has quit [Ping timeout: 252 seconds]
gberger has joined #ruby
tkuchiki_ has joined #ruby
_axx has joined #ruby
_axx has left #ruby [#ruby]
tkuchiki has quit [Ping timeout: 246 seconds]
simono has joined #ruby
segmond has quit [Quit: jajajaja]
sambao21 has quit [Quit: Computer has gone to sleep.]
tkuchiki_ has quit [Ping timeout: 264 seconds]
nvrch has joined #ruby
glosoli has quit [Quit: Textual IRC Client: www.textualapp.com]
banister has joined #ruby
mojjojo has joined #ruby
danshultz has joined #ruby
atmosx has quit [Remote host closed the connection]
sigurding has joined #ruby
ringaring has quit [Quit: Leaving]
nvrch has quit [Client Quit]
mojjojo has quit [Client Quit]
ben3 has joined #ruby
stringoO has joined #ruby
coderhs has joined #ruby
coderhs has quit [Remote host closed the connection]
Al__ has quit [Quit: Al__]
quatron has joined #ruby
Al__ has joined #ruby
jetblack has joined #ruby
ben3 has quit [Quit: ben3]
ben3 has joined #ruby
chrisseaton has joined #ruby
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby
chrisseaton has quit [Client Quit]
sambao21 has joined #ruby
Mongey is now known as Mongey-away
Mongey-away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 is now known as wm3|lunch
tharindu has quit [Quit: Leaving...]
sdouglas has quit [Ping timeout: 246 seconds]
dkamioka has joined #ruby
<AlexRussia> RubyPanther: hi, you are here?
Skaag has joined #ruby
heftig has quit [Ping timeout: 245 seconds]
CorySimmons has joined #ruby
CorySimmons has quit [Client Quit]
grzywacz has joined #ruby
jjbohn has joined #ruby
dideler_work has joined #ruby
devyn has quit [Ping timeout: 245 seconds]
jjbohn_ has joined #ruby
sdouglas has joined #ruby
jjbohn has quit [Read error: Connection reset by peer]
IceDragon has joined #ruby
pu22l3r has joined #ruby
dkamioka has quit [Ping timeout: 240 seconds]
obs has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
nvrch has joined #ruby
mehlah has joined #ruby
circuit has joined #ruby
mojjojo has joined #ruby
sterlingcalder has joined #ruby
jjbohn_ has quit [Ping timeout: 252 seconds]
dmax11 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
sski has quit [Ping timeout: 252 seconds]
dmax11 has left #ruby [#ruby]
sambao21 has joined #ruby
nateberkopec has joined #ruby
sterlingcalder has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
momigi has quit [Remote host closed the connection]
chris_thomson has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
sk87 has joined #ruby
yfeldblum has joined #ruby
zachallett has joined #ruby
sambao21 has quit [Client Quit]
devyn has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
sailias has joined #ruby
CreativeEmbassy has joined #ruby
abk has joined #ruby
_lynX has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
fijimunkii has quit [Ping timeout: 246 seconds]
krz has quit [Quit: WeeChat 0.4.3]
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
kinigitz has quit []
chris_thomson has quit [Quit: Zzz...]
lolmaus has joined #ruby
kennym has joined #ruby
ffranz has joined #ruby
Klumben has joined #ruby
tkuchiki has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
dik_dak has joined #ruby
aryaching has joined #ruby
foredoomed has quit []
Vovko has joined #ruby
<shevy> apeiros hmm let me try to rearrange the phrase
skaflem has joined #ruby
<shevy> <apeiros> yiggidi dingili transformili conditionili === expressioninili
DaniG2k has quit [Quit: leaving]
chipotle has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Klumben has quit [Ping timeout: 240 seconds]
jpierre03 has quit [Ping timeout: 245 seconds]
agjacome has joined #ruby
Rober9393 has quit [Quit: Computer has gone to sleep.]
oneawaystyle has joined #ruby
abdulsattar has quit [Ping timeout: 246 seconds]
Merks has joined #ruby
webgen has joined #ruby
_maes_ has joined #ruby
sski has joined #ruby
yacks has quit [Quit: Leaving]
jeregrine has joined #ruby
knigitz has joined #ruby
flowerhack has joined #ruby
oneawaymann has quit [Ping timeout: 246 seconds]
momomomomo has joined #ruby
petey has joined #ruby
devdazed has joined #ruby
Merks has quit [Ping timeout: 240 seconds]
phantomtiger has joined #ruby
sski has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
jobewan has joined #ruby
cover has joined #ruby
felixflores has joined #ruby
Rober9393 has joined #ruby
jpierre03 has joined #ruby
jackneill has joined #ruby
RaCx has joined #ruby
scarolan has joined #ruby
camilasa_ has quit [Ping timeout: 246 seconds]
francisfish has quit [Remote host closed the connection]
gfunc has joined #ruby
npearson has joined #ruby
Shidash has joined #ruby
evocore has joined #ruby
francisfish has joined #ruby
<evocore> hello, I am just starting to learn ruby but having an issue with something, how can I do this self.exec *args, args.unshift('git'), system *args
<evocore> I keep getting conversion of array into string but I thought *args kept it an array
evenix has joined #ruby
<tobiasvl> no, the other way around
<tobiasvl> def foo(*args) makes a method that creates an array from individual arguments
<tobiasvl> fsdpofksd
<evocore> that breaks them out back to original arguments right?
Mongey has joined #ruby
freerobby has quit [Quit: Leaving.]
sambao21 has joined #ruby
<shevy> evocore if you do: def foo(*i), you can input a variable amount of arguments to the method foo()
<evocore> hmm so I have to convert it to_a first before unshifting to it? or any other way to prepend a value
macadev has joined #ruby
<tobiasvl> isn't it already an array?
ndrei has quit [Ping timeout: 246 seconds]
kevind has joined #ruby
<tobiasvl> you try to execute *args
<shevy> evocore if you have an array, for instance, you could turn them into a hash like so: Hash[*[1,2,3,4]]
<evocore> thats what I thought but when running system(*args) after unshift I get "no implicit conversion of Array into String"
<shevy> # => {1=>2, 3=>4}
<shevy> whereas if you omit the *, and do: Hash[[1,2,3,4]], you get an empty hash {}
<shevy> evocore yes - why do you try to pass an array to system()?
absolutezeroff has quit [Ping timeout: 265 seconds]
<gaussblurinc> where can I read about logger best practices?
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<shevy> hmm
<evocore> shevy: I thought thats how you did it. Just trying to pass a list of values after prepending one to array for it to execute
<shevy> on what ruby version are you btw?
ndrei has joined #ruby
<tobiasvl> and what is self.exec
<evocore> 2
macadev has left #ruby [#ruby]
<shevy> >> system *['ls','-l']
<eval-in> shevy => (https://eval.in/118839)
zz_jrhorn424 is now known as jrhorn424
dcfedde has joined #ruby
<tobiasvl> you probably want just system args.unshift('git'), *args
<tobiasvl> or exec args.unshift('git'), *args
<tobiasvl> not both?
<shevy> evocore looks ugly :)
<tobiasvl> self.exec ...... wat
<evocore> work in progress ahha
jpierre03 has left #ruby ["-"]
banister has joined #ruby
acrussell has joined #ruby
<tobiasvl> oh
<evocore> I shorted it a bit for chat
mary5030 has joined #ruby
gberger has quit [Ping timeout: 264 seconds]
mary5030 has quit [Remote host closed the connection]
enebo has joined #ruby
Dwarf has quit [Remote host closed the connection]
mary5030 has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
mojjojo has quit [Quit: mojjojo]
francisfish has quit [Remote host closed the connection]
ce_afk is now known as cescalante
phansch has quit [Quit: WeeChat 0.4.2]
klue has joined #ruby
klue has quit [Changing host]
klue has joined #ruby
claymore has quit [Ping timeout: 246 seconds]
<evocore> shevy: https://eval.in/118841 seems to be ok here
Mongey has joined #ruby
<shevy> that's why I was asking for the ruby version
bogeyd6 has joined #ruby
<shevy> on my ruby, system seems to accept arrays quite happily
dkamioka has joined #ruby
<shevy> but I am on 1.9.3xxx
compleatang has quit [Remote host closed the connection]
<evocore> maybe my initial function isnt receiving an array
<evocore> I call it like Command::Passes(args) with CLI args
<jhass> maybe it is and you wrap it into another one by doing def execute *args
pu22l3r has quit [Remote host closed the connection]
<jhass> why don't you just p args in it?
<evocore> ah
<evocore> what do you mean?
<jhass> p args, short for puts args.inspect
doodlehaus has joined #ruby
pu22l3r has joined #ruby
<evocore> really really new at this haha, ill give it a shot
<evocore> [["install", "test"]]
<evocore> well there you have it, I was double wrapping it
<evocore> thanks for the .inspect knowledge
Kruppe- has joined #ruby
Kruppe has quit [Read error: Connection reset by peer]
claymore has joined #ruby
dkamioka has quit [Ping timeout: 252 seconds]
wm3|lunch is now known as workmad3
<shevy> :)
<shevy> a simple .flatten helps!
<evocore> that puts it all back to single array?
<jhass> or doing def execute args or doing Bla.execute *args
<jhass> be careful with flatten
yubrew has joined #ruby
RaCx has quit [Ping timeout: 252 seconds]
lemonsparrow has quit [Ping timeout: 245 seconds]
<evocore> awesome, building my second gem, built my first one yesterday
<jhass> since it flattens all levels
sterlingcalder has joined #ruby
<shevy> evocore it flattens it down, yeah
<shevy> it's like a bulldozer
compleatang has joined #ruby
absolutezeroff has joined #ruby
<shevy> evocore you are on rubygems.org ?
<evocore> yes
<shevy> \o/
<evocore> if I can remember my login
Maitiu has quit [Read error: Connection reset by peer]
<shevy> lol
quatron_ has joined #ruby
RaCx has joined #ruby
nifty has joined #ruby
jlast has joined #ruby
cover has quit [Remote host closed the connection]
Maitiu has joined #ruby
claymore has quit [Ping timeout: 240 seconds]
<evocore> code is unfinished and messy so dont look to close haha, I ported it from my hacked up CLI tools
<jhass> hm, https://getprotobox.com/ gives me a protocol error
<evocore> no https, oops
<shevy> evocore well you have to start somewhere when it comes to gems
<shevy> 3 years down the road you'll either have (a) abandoned those projects or (b) polished them immensely anyway
jamto11_ has joined #ruby
jamto11 has joined #ruby
<shevy> apeiros for instance abandoned his gem projects ;-)
mengu has joined #ruby
<apeiros> shevy: hu?
<shevy> butler!
<evocore> ahha planning on refactoring away, at least until the main project dies but I am just beginning with it
<shevy> the only bot with class
sterlingcalder has quit [Ping timeout: 246 seconds]
momigi has joined #ruby
<apeiros> shevy: I'd rephrase that as "hasn't maintained some of his gems in a long time"
cover has joined #ruby
quatron has quit [Ping timeout: 246 seconds]
quatron_ is now known as quatron
<evocore> so I have to republish the gem to fix the website :(
<shevy> well updating a gem is trivial
<evocore> good thing I started on 0.0.1
aryaching has quit []
aryaching_ has joined #ruby
<shevy> yeah, I reached 0.0.147 for some project
<evocore> is there an easy way to get the end user to update it?
<shevy> though I think I should start to yank the old ones, nobody would use these anyway
<shevy> by force?
quatron_ has joined #ruby
<evocore> ya
<shevy> sure
<shevy> grab a shotgun
<shevy> and start the hunt
<evocore> ahhaha
eka has joined #ruby
<shevy> evocore they must do some command or use something that requires a newer version
<evocore> gotcha
<shevy> that seems to be one of the use cases why "bundler" was created
Maitiu has quit [Read error: Connection reset by peer]
<shevy> but other than that, a .gem file is downloaded locally and installed, among other locations, into the cache/ subdirectory
<shevy> hmm
<shevy> probably that part of the bundler functionality will be integrated into gems eventually
sdouglas has quit [Remote host closed the connection]
nowthatsamatt has joined #ruby
yfeldblum has joined #ruby
sdouglas has joined #ruby
sailias has quit [Ping timeout: 264 seconds]
francisfish has joined #ruby
<evocore> now im working on a main gem that works globally and will install the second gem hahah
quatron has quit [Ping timeout: 246 seconds]
quatron_ is now known as quatron
rayners has joined #ruby
mmachine has quit [Quit: mmachine]
kayloos has quit [Remote host closed the connection]
<evocore> What are your thoughts on requiring mac/pc users to install a gem before they can use some software... this is based on vagrant which is ruby based so my thought process was it shouldnt put people out to much
<evocore> alternatively they can git clone and interact with it without the CLI tools, but they would have to install the gem for the best user experience
<evocore> not sure if that would put people off though
sdouglas has quit [Ping timeout: 240 seconds]
IceDragon has quit [Ping timeout: 246 seconds]
sailias has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
<gaussblurinc> how to put pp output to logger.debug?
claymore has joined #ruby
tylersmith has joined #ruby
<apeiros> gaussblurinc: logger.debug obj.pretty_inspect
sailias1 has joined #ruby
alexju has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has quit [Ping timeout: 264 seconds]
sailias has quit [Ping timeout: 240 seconds]
<gaussblurinc> apeiros: thanks!
Speed has joined #ruby
PLejeck is now known as nuck
IceDragon has joined #ruby
MrBoolean has quit [Quit: Leaving...]
MrBoolean has joined #ruby
Guest98663 is now known as nkts
nkts is now known as Guest78794
tonni has quit [Remote host closed the connection]
Guest78794 is now known as marius
marius has quit [Changing host]
marius has joined #ruby
philcrissman has quit [Remote host closed the connection]
Speed has quit [Client Quit]
agjacome has quit [Ping timeout: 246 seconds]
crystal77 has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
linojon has joined #ruby
Merks has joined #ruby
torstein has quit [Quit: Leaving]
jjbohn has joined #ruby
cHarNe2 has left #ruby [#ruby]
cHarNe2 has joined #ruby
sk87 has joined #ruby
nomenkun has quit [Remote host closed the connection]
compleatang has quit [Remote host closed the connection]
<apeiros> you know what sucks about Pathname?
nomenkun has joined #ruby
<apeiros> you can't call to_str anymore, and you have to require pathname to test against it…
<evocore> what is this called var = <<-TEST text TEST
sdouglas has joined #ruby
mercwithamouth has joined #ruby
<apeiros> evocore: here-doc
nomenkun has quit [Read error: Connection reset by peer]
<apeiros> evocore: google for 'zenspiders ruby quickref'
makara has quit [Ping timeout: 264 seconds]
<shevy> I always hated Pathname, it seemed so super long
<apeiros> it contains all of rubys syntax in a very concise format
<evocore> very nice ref
oneawaymann has joined #ruby
<evocore> this probablywould have saved me a day 0.o
<shevy> Pathname.new("http://www.google.com/google_is/toobig/stuff.mp3").basename.to_s # => "stuff.mp3"
<evocore> is there a cleaner way to do this? http://laravel.io/bin/PmQ1
Buck has joined #ruby
<Buck> hello friendly ruby people
<shevy> die
<shevy> I mean
<shevy> hi Buck!
<crome> hi
<shevy> evocore I think your code is ugly :)
jobewan has quit [Quit: Leaving]
<Buck> I'm trying to escape quotes in a string. But when I do this: "hur'hur".gsub(/'/, "\\'"), I get => "hurhurhur". I don't quite understand why. How do I properly escape a quote in ruby?
tils has joined #ruby
yasushi has quit [Remote host closed the connection]
<shevy> I am also not sure that it works evocore ... are you sure it works? I never saw it used like that before
<evocore> haha shevy: makes sense, well I'd like to make it amazing
jobewan has joined #ruby
oneawaystyle has quit [Ping timeout: 252 seconds]
<evocore> ya it works, bad spacing on the error though that hte unless ads
<evocore> its magic (tm)
mercwithamouth has quit [Ping timeout: 264 seconds]
<shevy> Buck I usually add more \ until it works
<evocore> I guess I could wrap it all in an IF just seemed not sexy
<evocore> but I guess it cant get worse
<shevy> Buck but what do you mean with escaping in this context, you want to add a \ before it right?
<Buck> yes
<shevy> >> "hur'hur".gsub(/'/, '\\\\\'')
<eval-in> shevy => "hur\\'hur" (https://eval.in/118861)
thesheff17 has joined #ruby
<Buck> yeah, I just tried that and it worked
<shevy> >> "abc\'def"
<eval-in> shevy => "abc'def" (https://eval.in/118862)
<Buck> I don't understand why it didn't with just \\ though
<shevy> >> "abc\\'def"
<eval-in> shevy => "abc\\'def" (https://eval.in/118863)
<shevy> perhaps regex behaviour
<Buck> yeah, but not standard regex behaviour
<Buck> oh well, it works
jamto11_ has quit [Remote host closed the connection]
<Buck> thanks :-)
<Buck> is evalin your site?
<shevy> no
<shevy> it is a bot here
chuk has joined #ruby
<shevy> some random guy wrote it
tonni has joined #ruby
mib_mib has joined #ruby
<Buck> cool
<jhass> Buck: "\\'" is actually a backreference and coressponds to $'
<jhass> (I guess)
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
<Buck> okay.. I'm foreseeing many backslashes in the future
<gaussblurinc> I am searching for switch-case alternative for strings… like given-when in perl… does ruby have one?
eka has joined #ruby
<jhass> which is "The string to the right of the last successful match."
<Buck> is that a standard regex thing jhass
<jhass> gaussblurinc: case when ?
<Buck> I hadn't heard of it beforte
<Buck> -t
<jhass> what part about it?
Macaveli has quit [Ping timeout: 252 seconds]
<jhass> backreferences in replace functions pretty much are
xyon has quit [Quit: WeeChat 0.4.2]
<Buck> the backreference part
<jhass> $' $` $1-9 etc. are Perlisms I think
<gaussblurinc> jhass: case-when.. maybe good, thanks
<Buck> I know $1-9, $$ $_ etc from perl
<Buck> never came across $' though
<Buck> learn something new everyday
<Buck> will do
mmoretti has joined #ruby
tonyhb has joined #ruby
<gaussblurinc> Buck: $1-$9999999 came from perl … :D
<shevy> gaussblurinc case when also allows you to use regex. i = 'foobar'; case i; when /^fo/; puts 'yeah leading fo here!'; end
lmickh has joined #ruby
<gaussblurinc> shevy: that's what I need, thanks
<shevy> \o/
<shevy> we need to carry the old perl hackers to ruby
Skaag has quit [Ping timeout: 264 seconds]
<Buck> I tried python for a while, but it didn't fit like perl did
<Buck> ruby does
mmoretti has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
<shevy> which python
<shevy> python 3?
mansi_ has joined #ruby
<shevy> in ruby you can use what is nice and ignore what sucks
<shevy> like $$
<shevy> nope
<shevy> like @@
<shevy> :-)
<cHarNe2> possible to make WEBrick ignore ctrl-c?
<Buck> no, python 2.4 I think it was
geggam has joined #ruby
ehc has joined #ruby
<shevy> cHarNe2 not sure if you can "ignore" it, but you can intercept it: def register_sigint; Signal.trap('SIGINT') { puts 'Hi!'}; end; register_sigint
snath has quit [Ping timeout: 246 seconds]
binw_ has quit [Remote host closed the connection]
<cHarNe2> shevy: ok, so if i intercept it before webrick, that should do the trick?
<paulfm> cHarNe2 should be able to rescue it
lw has joined #ruby
<paulfm> cHarNe2: rescue Interrupt
<cHarNe2> ok, thing is that i run WEBrick in another Thread, will this work anyway?
<cHarNe2> ok, will try it out :)
freezey has joined #ruby
lw has quit [Client Quit]
<shevy> cHarNe2 yeah
<shevy> hmm
bluehavana_ has quit [Quit: Connection closed for inactivity]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
tharindu has joined #ruby
anarang has quit [Quit: Leaving]
freerobby has joined #ruby
vpretzel has quit [Remote host closed the connection]
james_d_h has joined #ruby
mlpinit has quit [Remote host closed the connection]
mlpinit has joined #ruby
vpretzel has joined #ruby
perlsyntax has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
speakingcode-wor has joined #ruby
paulfm has joined #ruby
mlpinit_ has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
compleatang has joined #ruby
Mongey has joined #ruby
tyranja is now known as tyranjoff
paulfm has quit [Read error: Connection reset by peer]
felixflores has quit [Remote host closed the connection]
paulfm has joined #ruby
yubrew has quit []
SonicX has joined #ruby
felixflores has joined #ruby
felixflores has quit [Read error: Connection reset by peer]
felixflores has joined #ruby
mlpinit has quit [Ping timeout: 252 seconds]
yubrew has joined #ruby
tonni has quit [Read error: Connection reset by peer]
RaCx has quit [Quit: Computer has gone to sleep.]
RaCx has joined #ruby
<shevy> what is the difference between file mode "w" and "w+"?
<tobiasvl> overwrites
jobewan has quit [Quit: Leaving]
jobewan has joined #ruby
<tobiasvl> no
Skaag has joined #ruby
momomomomo has joined #ruby
npearson has quit [Remote host closed the connection]
npearson has joined #ruby
<yo61> It says "The mode should be an integer, as for Unix chmod."
abra has joined #ruby
abra has quit [Max SendQ exceeded]
<yo61> I'm using 666, but that seems to result in a DB file with mode --w---x---
phutch1ns has joined #ruby
<yo61> This is on OSX
<phutch1ns> Hey, would it be appropriate to ask a unicorn/rails question here or is there a better place?
abra has joined #ruby
<yo61> Am I doing something wrong?
<tobiasvl> phutch1ns: #RubyOnRails
<phutch1ns> tobiasvl: awesome, thank you
freezey has quit [Remote host closed the connection]
monkegjinni has joined #ruby
estebanrules has joined #ruby
einarj has quit [Remote host closed the connection]
rainmanjam has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
npearson has quit [Ping timeout: 252 seconds]
sepp2k has quit [Read error: Connection reset by peer]
brkattk has joined #ruby
Buck has left #ruby ["Leaving"]
mikepack has joined #ruby
bal1 has joined #ruby
tonni has joined #ruby
bal has quit [Ping timeout: 245 seconds]
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
yfeldblum has joined #ruby
geggam has quit [Ping timeout: 246 seconds]
arubin has joined #ruby
saarinen has joined #ruby
saarinen has quit [Client Quit]
sameerynho has quit [Quit: Leaving]
circuit has quit [Quit: Lost terminal]
<yo61> Jeez, it says "...should be an integer"
<yo61> But it actually needs a 4-digit mode string, eg. 0640
brkattk1 has joined #ruby
Dwarf has joined #ruby
snath has joined #ruby
lw has joined #ruby
<apeiros> yo61: no, 0640 is an integer
npearson has joined #ruby
<apeiros> it's octal
<apeiros> just like with the chmod command line utility
dangerousdave has quit [Quit: Leaving...]
<apeiros> >> 0666
<eval-in> apeiros => 438 (https://eval.in/118906)
<yo61> :rollseyes:
<apeiros> unix file permissions 101 ;-p
<yo61> I know about unix file permissions
yfeldblum has quit [Ping timeout: 252 seconds]
brkattk has quit [Ping timeout: 252 seconds]
andikr has joined #ruby
crantron has quit []
<yo61> If it said "mode should be an octal integer" ...
<apeiros> there is no such thing
<apeiros> an integer is an integer
francisfish has quit [Remote host closed the connection]
<apeiros> a *string representation* of an integer can be octal
larsam has quit [Ping timeout: 240 seconds]
<shevy> yo61 haha I was just fighting with this, but on a vfat harddrive with GPT; suddenly my script that generated log files was failing
Speed has joined #ruby
Macaveli has joined #ruby
browndawg has quit [Ping timeout: 252 seconds]
<yo61> EDOCUMENTATIONNOTCLEAR
fijimunkii has joined #ruby
jamto11_ has joined #ruby
<apeiros> yo61: submit a docpatch then
<apeiros> I guess an example with a reminder of the octal integer notation would be helpful
<yo61> An example THAT DIDN'T USE 666 instead of 0666 would also be helpful
<yo61> Oops
<yo61> Checkout the example
<apeiros> yo61: oh wow, that's…bad
sambao21 has quit [Quit: Computer has gone to sleep.]
<yo61> Yup
<apeiros> yeah, that's IMO quite clearly bogus documentation. even more so then: submit a docpatch :)
zeeraw has joined #ruby
guilleiguaran has joined #ruby
<yo61> I just noticed, there's already a comment at the bottom of the page pointing this out
<yo61> It's a year old
nisstyre has joined #ruby
kevind_ has joined #ruby
<apeiros> it says "Documented by mathew meta@pobox.com", might drop him a mail to ask how to submit docpatches
peterellisjones has joined #ruby
tagrudev has quit [Quit: Me = Awesome]
mengu has quit []
sambao21 has joined #ruby
brkattk has joined #ruby
francisfish has joined #ruby
kevind has quit [Ping timeout: 240 seconds]
kevind_ is now known as kevind
codeitagile has joined #ruby
sambao21 has quit [Client Quit]
<evocore> to update a gem do I just need to up the version, build, then push?
zeeraw has quit [Client Quit]
armyriad has quit [Ping timeout: 246 seconds]
armyriad has joined #ruby
mlpinit_ has quit [Remote host closed the connection]
freezey has joined #ruby
mlpinit has joined #ruby
_maes_ has joined #ruby
failshell has joined #ruby
AlexRussia has quit [Quit: Konversation terminated!Good bye!]
<shevy> evocore modify the .gemspec file, the version, rebuild the gem, push it - yes
brkattk1 has quit [Ping timeout: 264 seconds]
<evocore> shevy: cool thanks
<shevy> easier than git!
<evocore> it is ahha
sk87 has joined #ruby
rickruby has joined #ruby
geggam has joined #ruby
browndawg has joined #ruby
jprovazn has quit [Quit: Leaving]
yasushi has joined #ruby
Xeago has joined #ruby
jprovazn has joined #ruby
jprovazn has quit [Client Quit]
YamakasY has joined #ruby
CreativeEmbassy has quit [Remote host closed the connection]
workmad3 has joined #ruby
momigi has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
RaCx has joined #ruby
momigi has joined #ruby
m1lt0n_ has quit [Quit: leaving]
circuit has joined #ruby
maletor has joined #ruby
kpshek has joined #ruby
kpshek has quit [Client Quit]
sambao21 has quit [Client Quit]
tylersmith has quit [Remote host closed the connection]
tharindu is now known as tharindu|away
yasushi has quit [Remote host closed the connection]
tylersmith has joined #ruby
mib_mib has quit [Ping timeout: 245 seconds]
yasushi has joined #ruby
monkegjinni has quit [Remote host closed the connection]
tharindu|away is now known as tharindu
monkegjinni has joined #ruby
weems has joined #ruby
sputnik13 has quit [Quit: Textual IRC Client: www.textualapp.com]
momomomomo has quit [Quit: momomomomo]
philcrissman has joined #ruby
sambao21 has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
yasushi has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
enebo has quit [Quit: enebo]
monkegjinni has quit [Ping timeout: 240 seconds]
chrisbolton has joined #ruby
wallerdev has joined #ruby
aganov has quit [Quit: Leaving]
<samuel02> does any? return on first found true or will it continuing iterating through the entire array?
oneawaymann has quit [Read error: Connection reset by peer]
Lewix has joined #ruby
oneawaymann has joined #ruby
<chrisbolton> Does anyone know a clean way to get the first digit in an integer? I'm running with this (49.to_s.chars.first.to_i #=> 4) currently but it's not pretty.
mlpinit_ has joined #ruby
Voodoofish4301 has joined #ruby
Skaag has quit [Ping timeout: 264 seconds]
MrBoolean has quit [Quit: Leaving...]
<shevy> chrisbolton you can not use [0,1] ?
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
<dideler_work> i have an array of objects that i want to filter based on another array of integer. e.g. sponsor.codes.select { |code| code.id == used_code_ids }
<tobiasvl> i think that's pretty enough. first beats indexing imo
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
baroquebobcat has joined #ruby
<dideler_work> is there an easy way to do this?
mordocai has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
DouweM has joined #ruby
<chrisbolton> shevy: 49[0] returns 1
<tobiasvl> dideler_work: is the criterion that the id exists in used_code_ids?
<shevy> chridal sure but it is not a string
fgo has quit [Remote host closed the connection]
<shevy> >> 49.to_s[0,1]
<eval-in> shevy => "4" (https://eval.in/118920)
<Billy2> 49.to_s[0]?
mlpinit has quit [Ping timeout: 264 seconds]
<shevy> and .to_i
<dideler_work> tobiasvl: yup
<tobiasvl> so why are you doing ==
<dideler_work> tobiasvl: i want to filter the list of all promo codes to just promo codes that match ids in the used_code_ids
<chrisbolton> shevy: Gotcha. Yeah that works.
yakko has joined #ruby
<shevy> \o/
<tobiasvl> dideler_work: sponsor.codes.select { |code| used_code_ids.include? code.id }
<dideler_work> tobiasvl: awesome thanks, didn't know about include yet
<yakko> hey guys, what's the best way to install jruby in production? google really isn't helping :(
lw has quit [Quit: s]
goleldar has joined #ruby
sk87 has joined #ruby
bal1 has quit [Quit: bal1]
jaimef has quit [Excess Flood]
chrisbolton has left #ruby [#ruby]
fraterlaetus has joined #ruby
wallerdev has quit [Quit: wallerdev]
<shevy> ewwww java
<shevy> there is a #jruby channel though, I think
sepatar has joined #ruby
yarou has joined #ruby
mansi_ has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
JarJarBinks has quit [Read error: Operation timed out]
jaimef has joined #ruby
arubin has joined #ruby
mansi_ has joined #ruby
sambao21 has joined #ruby
jtza8 has quit [Remote host closed the connection]
error404_ is now known as error404
sepatar has quit [Client Quit]
lw has joined #ruby
jamto11_ has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
mansi__ has joined #ruby
mansi_ has quit [Read error: Connection reset by peer]
maletor has quit [Quit: Computer has gone to sleep.]
sailias1 has quit [Quit: Leaving.]
sailias has joined #ruby
phansch has joined #ruby
brkattk1 has joined #ruby
momigi has quit [Read error: Connection reset by peer]
brkattk has quit [Ping timeout: 240 seconds]
momigi has joined #ruby
thumpba has joined #ruby
Skaag has joined #ruby
DrShoggoth has joined #ruby
kenneth has joined #ruby
monkegjinni has joined #ruby
Speed has quit [Ping timeout: 264 seconds]
Steve445 has joined #ruby
sdouglas has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aspires has joined #ruby
sdouglas has joined #ruby
wallerdev has joined #ruby
camilasan has quit [Remote host closed the connection]
michaeldeol has joined #ruby
brkattk1 has left #ruby [#ruby]
camilasan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
abdulsattar has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
rickruby has quit [Remote host closed the connection]
camilasan has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
_tpavel has joined #ruby
felixflores has quit [Remote host closed the connection]
camilasan has quit [Read error: Connection reset by peer]
greenrose has quit []
sdouglas has quit [Client Quit]
Speed has joined #ruby
camilasan has joined #ruby
sdouglas has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
camilasan has quit [Read error: Connection reset by peer]
thumpba has quit [Ping timeout: 252 seconds]
camilasan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
dideler_work has quit [Ping timeout: 240 seconds]
enebo has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
banister has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
MrBoolean has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
aagdbl has quit [Quit: Connection closed for inactivity]
ndrei has quit [Ping timeout: 246 seconds]
camilasa_ has quit [Read error: Connection reset by peer]
scarolan has quit [Quit: leaving]
wallerdev has quit [Quit: wallerdev]
codeitagile has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
newbie1r has joined #ruby
scarolan has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
MrBoolean has quit [Read error: Connection reset by peer]
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
arietis has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
sdouglas has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
RaCx has joined #ruby
MrBoolean has joined #ruby
alexherb1 has quit [Quit: WeeChat 0.4.3-dev]
paulfm has quit [Ping timeout: 240 seconds]
codeitagile has joined #ruby
codeitagile has quit [Max SendQ exceeded]
maletor has joined #ruby
codeitagile has joined #ruby
codeitagile has quit [Max SendQ exceeded]
havenwood has quit [Remote host closed the connection]
mavcunha has quit [Ping timeout: 246 seconds]
Shidash has quit [Ping timeout: 264 seconds]
codeitagile has joined #ruby
RaCx has quit [Client Quit]
codeitagile has quit [Max SendQ exceeded]
havenwood has joined #ruby
cbreeze has quit [Quit: Textual IRC Client: www.textualapp.com]
monkegjinni has quit [Remote host closed the connection]
mavcunha has joined #ruby
monkegjinni has joined #ruby
codeitagile has joined #ruby
codeitagile has quit [Max SendQ exceeded]
SonicX has quit [Read error: Connection reset by peer]
fgo has joined #ruby
xuisce has joined #ruby
lw has quit [Quit: s]
sethen has quit [Quit: Leaving...]
RaCx has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
mavcunha has quit [Client Quit]
havenwood has quit [Ping timeout: 246 seconds]
Mongey has joined #ruby
vlad_starkov has joined #ruby
monkegjinni has quit [Ping timeout: 264 seconds]
fgo has quit [Ping timeout: 240 seconds]
SonicX has joined #ruby
kyle___ is now known as kyle__
ndrei has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Skaag has quit [Ping timeout: 264 seconds]
monkegjinni has joined #ruby
oneawaystyle has joined #ruby
havenwood has joined #ruby
<MrPopinjay> shevy: jruby is cool.
<MrPopinjay> They can actually do threaded stuff, for realz
paulfm has joined #ruby
xuisce has quit [Quit: Leaving]
oneawaymann has quit [Ping timeout: 264 seconds]
zorak has joined #ruby
fantazo has joined #ruby
SonicX has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
xuisce has joined #ruby
dangerousdave has joined #ruby
<shevy> but you need java!
jamto11_ has joined #ruby
MrBoolean has quit [Read error: Connection reset by peer]
sputnik13 has joined #ruby
ben3 has quit [Remote host closed the connection]
deadlock has joined #ruby
kennym has quit [Quit: Leaving.]
tonyhb has quit [Quit: peace]
wykydtro- has quit [Quit: ZNC - http://znc.sourceforge.net]
JarJarBinks has joined #ruby
wykydtron has joined #ruby
cover has quit [Ping timeout: 240 seconds]
dcfedde has quit [Remote host closed the connection]
dcfedde has joined #ruby
ikaros has quit [Quit: Ex-Chat]
<slash_nick> Can't you do threading with MRI?
Mongey has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
zachallett has quit [Remote host closed the connection]
Zolrath has joined #ruby
TMM has quit [Quit: Ex-Chat]
npearson has quit [Remote host closed the connection]
bluenemo has quit [Remote host closed the connection]
Spami has joined #ruby
paulfm has quit [Ping timeout: 240 seconds]
petey has quit [Remote host closed the connection]
jjbohn has quit [Quit: Leaving...]
Solnse has joined #ruby
ohwhoa has joined #ruby
paulfm has joined #ruby
m4n1f3st0 has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oneawaystyle has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
abk has quit [Ping timeout: 252 seconds]
<terrellt> slash_nick: Yeah, they just can't process in parallel.
freezey has quit [Remote host closed the connection]
sk87 has joined #ruby
DaniG2k has joined #ruby
evenix_ has joined #ruby
saarinen has joined #ruby
tkuchiki has quit [Remote host closed the connection]
JarJarBinks has quit [Ping timeout: 246 seconds]
claymore has quit [Ping timeout: 240 seconds]
tkuchiki has joined #ruby
monkegjinni has quit [Remote host closed the connection]
Mongey has quit [Read error: Connection reset by peer]
evenix has quit [Ping timeout: 240 seconds]
monkegjinni has joined #ruby
IceDragon_ has joined #ruby
mansi__ has quit [Remote host closed the connection]
Mongey has joined #ruby
Skaag has joined #ruby
centrx has joined #ruby
Kruppe- is now known as Kruppe
mikepack has quit [Remote host closed the connection]
JarJarBinks has joined #ruby
mansi_ has joined #ruby
fgo has joined #ruby
IceDragon has quit [Disconnected by services]
Merks has quit []
momigi has quit [Read error: Connection reset by peer]
IceDragon_ is now known as IceDragon
crystal77 has quit [Quit: Computer has gone to sleep.]
sambao21 has quit [Quit: Computer has gone to sleep.]
Sushruth has joined #ruby
freezey has joined #ruby
Sushruth is now known as fafa94
claymore has joined #ruby
gaussblurinc has quit [Quit: Leaving.]
monkegjinni has quit [Ping timeout: 264 seconds]
devyn has quit [Ping timeout: 246 seconds]
claymore has quit [Remote host closed the connection]
xuisce has quit [Quit: Leaving]
fgo has quit [Ping timeout: 240 seconds]
mansi_ has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby
momigi_ has joined #ruby
xuisce has joined #ruby
sambao21 has joined #ruby
claymore has joined #ruby
dagobah has quit [Quit: Leaving...]
paulfm has quit [Read error: Connection reset by peer]
browndawg has left #ruby [#ruby]
michaeldeol has joined #ruby
thumpba has joined #ruby
cover has joined #ruby
RaCx has quit [Ping timeout: 246 seconds]
crystal77 has joined #ruby
ahawkins has quit [Quit: leaving]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pel_daniel has joined #ruby
glosoli has joined #ruby
kennym has joined #ruby
Xeago has quit [Remote host closed the connection]
paulfm has joined #ruby
timonv has quit [Remote host closed the connection]
mansi_ has joined #ruby
Skaag has quit [Ping timeout: 264 seconds]
ahuman has joined #ruby
devyn has joined #ruby
camilasan has quit []
lolmaus has quit [Remote host closed the connection]
paulfm_ has joined #ruby
ga1j1n has joined #ruby
hobodave has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
npearson has joined #ruby
lolmaus has joined #ruby
Ziarkaen has joined #ruby
stevenmagelowitz has joined #ruby
obs has quit [Quit: Saliendo]
chuk has quit [Quit: Leaving]
Mongey has quit [Read error: Connection reset by peer]
obs has joined #ruby
_tpavel has quit [Quit: Leaving]
Mongey has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jespada has quit [Quit: Leaving]
felixflores has joined #ruby
thumpba has quit [Remote host closed the connection]
m4n1f3st0 has quit [Quit: m4n1f3st0]
thumpba_ has quit []
felixflo_ has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
felixflores has quit [Read error: Connection reset by peer]
stytown has joined #ruby
simplyaubs has joined #ruby
jamto11__ has joined #ruby
simplyaubs is now known as Guest67730
cloud|nix has joined #ruby
jamto11_ has quit [Read error: Connection reset by peer]
paulfm_ has quit []
cloud|nix has quit [Read error: Connection reset by peer]
supermarin has joined #ruby
Guest67730 has quit [Client Quit]
paulfm has joined #ruby
mike_k_ has joined #ruby
LastWhisper has joined #ruby
<LastWhisper> hey guys quick question
Zolrath has quit []
<LastWhisper> if I've got an array with large strings inside it, if I want to check that array[2] has a word I use in another variable
<LastWhisper> what's the best way to do that?
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ga1j1n is now known as MarkyMark
<sigurding> anyone may tell me what's wrong here: https://gist.github.com/jhiemer/7dbc990adda7d5ad34fd
<LastWhisper> basically @dates is my array, and @date_today is my variable (which comes out to "03/14"
m4n1f3st0 has joined #ruby
<jhass> LastWhisper: @dates[2].include? @date_today ?
<LastWhisper> Ah okay that syntax looks good!
stevenmagelowitz has quit []
<LastWhisper> Seems to return false though :(
<centrx> LastWhisper, Or do you mean @dates[2] == @date_today
<paulfm> LastWhisper jhass I would have went with regex
YamakasY has quit [Ping timeout: 246 seconds]
<LastWhisper> @dates[2] => "Today 03/12 Phone Call Appointment at 2:07 PM Appointments"
<LastWhisper> no no
<jhass> paulfm: because...?
<LastWhisper> hang on actually
DaniG2k has quit [Quit: leaving]
nvrch has quit [Quit: nvrch]
<LastWhisper> yep that works
<apeiros> jhass: he wants to go from one problem to two problems! that's why!
<LastWhisper> I was using the wrong variable
<LastWhisper> I was formatting Time with year instead of day haha
<centrx> sigurding, Usually gem install errors are for missing (build) dependencies
<paulfm> jhass: yeah not sure why I said that
claymore has quit [Ping timeout: 264 seconds]
<LastWhisper> As for all the regex advocates, I think that would be a great solution too, but I'd like to stay away from that as it seems generally slower for me
<LastWhisper> not entirely sure which one is literally faster though
<sigurding> centrx: how do I check them?
<centrx> sigurding, In this case, it seems like an incompatibility in the gem with your build environment (gcc flags)
<jhass> sigurding: looks like that gem doesn't like to be compiled with clang, try gcc
<apeiros> LastWhisper: if you search your array with large strings often and write rarely, you should consider indexing it
m4n1f3st0 has quit [Ping timeout: 240 seconds]
<LastWhisper> it's really only an array of 6 elements
<LastWhisper> each string is like .. idk .. 30 words
<LastWhisper> its not "that" large
<apeiros> it isn't large at all :)
<apeiros> that's a small array with short strings
<LastWhisper> hehe :X
<sigurding> jhass: gcc is installed
claymore has joined #ruby
<jhass> sigurding: export CC=gcc
MrPopinjay has left #ruby ["WeeChat 0.3.8"]
<sigurding> ok, trying it
fgo has joined #ruby
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sigurding> jhass: no change
<jhass> does it still try to use clang?
werdnativ has joined #ruby
jamto11__ has quit [Remote host closed the connection]
Mongey has quit [Read error: Connection reset by peer]
supermarin has quit [Remote host closed the connection]
grayWolf has joined #ruby
Mongey has joined #ruby
<sigurding> jhass: mh installing other gems is no problem, let me see
mike_k_ has quit []
DrShoggoth has quit [Ping timeout: 264 seconds]
dideler_work has joined #ruby
mikepack has joined #ruby
maddddh has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
mikecmpbll has quit [Ping timeout: 252 seconds]
agarie has joined #ruby
Speed has quit [Ping timeout: 246 seconds]
<havenwood> sigurding: other gems with C-extensions work? like nokogiri?
<sigurding> havenwood: let me try
maddddh has quit [Client Quit]
DrShoggoth has joined #ruby
larissa has quit [Quit: Leaving]
senayar_ has joined #ruby
iliketurtles has joined #ruby
<sigurding> havenwood: nope, same error
<havenwood> sigurding: You're on Apple LLVM version 5.1?: gcc --version
iliketurtles has quit [Max SendQ exceeded]
maddddh has joined #ruby
<sigurding> yes: Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
m4n1f3st0 has joined #ruby
stytown has left #ruby [#ruby]
supermarin has joined #ruby
iliketurtles has joined #ruby
<sigurding> idea, what's wrong?
kenneth has joined #ruby
<havenwood> sigurding: Just curious, but try?: CFLAGS=-Wunused-command-line-argument-hard-error-in-future sudo gem install ruby-debug-ide
<sigurding> to curious thing is: it worked before
Mon_Ouie has quit [Ping timeout: 264 seconds]
senayar has quit [Ping timeout: 264 seconds]
godd2 has joined #ruby
<havenwood> sigurding: it appears to be an issue with the new Xcode command line tools
wallerdev has joined #ruby
<havenwood> sigurding: paired with system ruby
<sigurding> ok, understand
<sigurding> so other option would by installing an additional version via rvm?
grayWolf has quit [Ping timeout: 240 seconds]
fraterlaetus has quit [Read error: Connection reset by peer]
fraterla_ has joined #ruby
<havenwood> sigurding: or ruby-install/chruby or ruby-build/rbenv
<sigurding> mh
CaptainJet has joined #ruby
Al__ has quit [Quit: Al__]
<sigurding> there seems to be something broken fundamentally: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/visitors/to_ruby.rb:266: [BUG] Segmentation fault
<havenwood> sigurding: my ruby-install version of ruby-2.1.1 isn't having this problem at least, let me try on system ruby version
crystal77 has quit [Quit: Computer has gone to sleep.]
<havenwood> i mean on manually installed version matching system ruby**
zachallett has joined #ruby
supermarin has quit []
RaCx has joined #ruby
supermarin has joined #ruby
Celm has joined #ruby
supermarin has quit [Client Quit]
xerxas has joined #ruby
pu22l3r_ has joined #ruby
<havenwood> sigurding: i'm only able to reproduce this into this on system Ruby with the most recent Xcode so far
<sigurding> havenwood: ok, so I should switch to a separate version?
<sigurding> may I installed ruby via brew?
<havenwood> sigurding: yeah, sure
Mongey has quit [Read error: Connection reset by peer]
<havenwood> sigurding: just google how to get your path setup right for gems with the brew Ruby, but that should do the trick
nobitanobi has joined #ruby
Mongey has joined #ruby
<havenwood> sigurding: Or you could ruby-install a Ruby to /usr/local.
<havenwood> sigurding: 2.1.1 ftw! \o/
<sigurding> havenwood: brew is installing like that. ./configure --prefix=/usr/local/Cellar/ruby/2.1.1
mikecmpbll has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
<nobitanobi> Hi guys. I have a method that by default returns a JSON object. If an exception is caught though, I return false. Is that a 'correct' approach? Or should I always return the same type of object? https://gist.github.com/novito/9512245
<sigurding> havenwood: how do I switch the path for the terminal?
mansi_ has quit [Remote host closed the connection]
geopet has joined #ruby
SonicX has joined #ruby
<havenwood> sigurding: one option is to just put brew first in the path: export PATH="$(brew --prefix ruby)/bin:$PATH"
Skaag has joined #ruby
<sigurding> havenwood: ok that worked!
<havenwood> sigurding: now add that to your .bashrc/.zshrc or whatever dotfile is appropriate so it sticks
Fin1te has joined #ruby
<havenwood> sigurding: if you decide you want to be able to switch between Rubies in the future, I'd recommend ruby-install/chruby - but if you need just the latest Ruby then brew should do nicely!
<sigurding> havenwood: one version is enough,
fraterla_ has quit []
<sigurding> havenwood: may ask you a last question regarding bundler?
mansi_ has joined #ruby
<havenwood> sigurding: sure
<havenwood> nobitanobi: hmm, interesting question
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
momigi_ has quit [Read error: Connection reset by peer]
jamto11_ has joined #ruby
perlsyntax has quit [Quit: Textual IRC Client: www.textualapp.com]
<nobitanobi> havenwood: :) I am returning false so that the caller knows that something has gone wrong...
fraterlaetus has joined #ruby
sambao21 has quit [Ping timeout: 240 seconds]
<havenwood> nobitanobi: my first reaction was `nil`, must ponder
<nobitanobi> better to return nil than false?
<sigurding> havenwood: ok ruby-debug-ide works now
<havenwood> sigurding: ;)
momigi has joined #ruby
<sigurding> thanks a lot
npearson has quit [Remote host closed the connection]
pu22l3r_ has quit [Remote host closed the connection]
pu22l3r has joined #ruby
npearson has joined #ruby
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
philcrissman has quit [Remote host closed the connection]
afex has joined #ruby
lw has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
freggles has joined #ruby
kaliya has quit [Quit: Lost terminal]
shinobi_one has joined #ruby
<havenwood> nobitanobi: how likely is a Timeout exception to occur? is it really an exceptional case or more flow control?
mlpinit_ has quit [Remote host closed the connection]
klaut has quit [Remote host closed the connection]
rootshift has joined #ruby
<sigurding> havenwood: is ruby-install/chruby https://github.com/postmodern/chruby?
<nobitanobi> havenwood: it is likely to occur. I am parsing sites, and sometimes they just take too much time to load.
mlpinit has joined #ruby
<havenwood> sigurding: yup!
Mongey has quit [Read error: Connection reset by peer]
maddddh has quit [Read error: Connection reset by peer]
estebanrules has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
<havenwood> sigurding: chruby is 99 lines of code, tries to be the simplest thing that can possibly work (other than just having a single Ruby in /usr/local)
tonni has joined #ruby
kevinykc_ has joined #ruby
jjbohn has joined #ruby
<havenwood> which if you just need one Ruby is quite nice :)
baroquebobcat has quit [Ping timeout: 264 seconds]
maddddh has joined #ruby
Azulinho has quit [Ping timeout: 264 seconds]
<nobitanobi> havenwood: once concern is that I need to propagate that 'exception' to other classes...And I am not particularly sure if this is a good practice in Ruby to keep passing 'nil' from method to method.
nanoyak has joined #ruby
<sigurding> havenwood: installed it via ruby-install ruby, how do I switch the version?
bogeyd6 has quit [Ping timeout: 246 seconds]
newbie1r has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
sambao21 has joined #ruby
<havenwood> sigurding: installing chruby and adding its source file to .bashrc will autodetect the ruby-install'd ruby
<havenwood> sigurding: (if you didn't use sudo, it will install rubies to ~/.rubies)
<havenwood> sigurding: you can hardwire the path like you did for brew, or chruby is made to switch cleanly between them
estebanrules has joined #ruby
echevemaster has joined #ruby
peterellisjones has quit [Quit: Leaving.]
<havenwood> nobitanobi: sometimes an informative Symbol is best
kevinykchan has quit [Ping timeout: 264 seconds]
chrisja has joined #ruby
<nobitanobi> havenwood: interesting. Returning :failed
<nobitanobi> that's a good point. Thanks havenwood
Shidash has joined #ruby
<havenwood> nobitanobi: a heck of a lot easier to debug
rippa has joined #ruby
<nobitanobi> yes
<nobitanobi> awesome
<havenwood> nobitanobi: maybe consider moving away from Timeout/rescue too: https://github.com/celluloid/timers#readme
<nobitanobi> havenwood: will take a look at that!
<nobitanobi> appreciate your help
<havenwood> nobitanobi: set a timer to kill the process
<havenwood> nobitanobi: no prob!
MarkyMark has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 264 seconds]
MarkyMark has joined #ruby
m4n1f3st0 has joined #ruby
<nobitanobi> havenwood: I guess another topic would be, where to rescue exceptions: inside the method or on the caller :)
LiohAu has quit [Quit: LiohAu]
m4n1f3st0 has quit [Client Quit]
jjbohn has quit [Quit: Leaving...]
ephemerian has quit [Quit: Leaving.]
francisfish has quit [Remote host closed the connection]
m4n1f3st0 has joined #ruby
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yarou has quit [Remote host closed the connection]
maddddh has joined #ruby
byprdct has joined #ruby
MarkyMark has quit [Ping timeout: 246 seconds]
petey has joined #ruby
rickruby has joined #ruby
yfeldblum has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
jlebrech has quit [Ping timeout: 264 seconds]
Atw has joined #ruby
shaileshg has joined #ruby
mrmist is now known as mist
m4n1f3st0 has quit [Ping timeout: 264 seconds]
Guest88638 is now known as gregf_
xuisce has quit [Quit: Leaving]
Mongey has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
xuisce has joined #ruby
mehlah has quit [Quit: Leaving...]
Al__ has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
lmickh has quit [Remote host closed the connection]
twiceaday has quit [Ping timeout: 245 seconds]
twiceaday has joined #ruby
kevind has quit [Quit: kevind]
relix has joined #ruby
GaryOak_ has joined #ruby
bawNg has joined #ruby
Fin1te has quit [Quit: Later tater.]
simono has joined #ruby
Solnse has quit [Ping timeout: 246 seconds]
bawNg has left #ruby [#ruby]
JohnBat26|2 has joined #ruby
<centrx> shinobi_one, ;)
werdnativ has quit [Quit: werdnativ]
evenix_ has quit [Read error: Connection reset by peer]
obs has quit [Quit: Saliendo]
tonyhb has joined #ruby
yarou has joined #ruby
mikepack has quit [Remote host closed the connection]
evenix has joined #ruby
evenix has quit [Remote host closed the connection]
ktosiek has joined #ruby
evenix has joined #ruby
evenix has quit [Read error: Connection reset by peer]
evenix has joined #ruby
<LastWhisper> hey guys, is it possible to pass an operator to a method like... I have a method here that has a few additions
<LastWhisper> and I'd like to just call that whole method again, but instead of + I'd like -
andikr has quit [Remote host closed the connection]
kayloos has joined #ruby
<apeiros> LastWhisper: + is a method in ruby
<apeiros> >> 5.public_send :+, 6
<eval-in> apeiros => 11 (https://eval.in/118993)
paulfm has quit []
<LastWhisper> 51.public_send :+, 18
<LastWhisper> blasphemy
<LastWhisper> oh
<LastWhisper> >> 51.public_send :+, 18
<eval-in> LastWhisper => 69 (https://eval.in/118994)
mlpinit_ has joined #ruby
Al__ has quit [Quit: Al__]
rayners has quit [Remote host closed the connection]
<apeiros> LastWhisper: I hope that helped. I'm off now for ~30min
<LastWhisper> so apeiros I've got a create_appointment_user method, and inside of it I've got some ActiveRecord calls(dont think its relevant), that basically I change the datetime, appointment.start_datetime = Time.current+1.hour then appointment.save / end
apeiros has quit [Remote host closed the connection]
dweeb_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Solnse has joined #ruby
<LastWhisper> So you're saying I can somehow pass a parameter that overrides that + method?
<LastWhisper> and makes it into a - ?
paulfm has joined #ruby
apeiros has joined #ruby
<centrx> LastWhisper, You could, but that seems strange
<abdulsattar> LastWhisper: why can't you just do TIme.current + (n).hour
Mongey has quit [Read error: Connection reset by peer]
<abdulsattar> if n is -1, it's TIme.curent + (-1).hour
arietis has quit [Quit: Computer has gone to sleep.]
<abdulsattar> s/TIme.curent/Time.current/
Mongey has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<alexherbo2> Does Ruby have matching pattern built-in ?
carraroj has joined #ruby
d-snp_ is now known as d-snp
GaryOak_ has quit [Ping timeout: 264 seconds]
mlpinit has quit [Ping timeout: 264 seconds]
<abdulsattar> alexherbo2: Pattern matching like in Haskell, F# etc?
<centrx> alexherbo2, Ruby supports regular expressions...?
<alexherbo2> abdulsattar: Yes
<nhmood> i'm having what seems like some basic problems with #reduce was hoping someone has an idea of what is going on
bahar has quit [Ping timeout: 240 seconds]
<abdulsattar> alexherbo2: there's limited support using splats
<nhmood> tldr: when i iterate through a hash with reduce it seems like im not getting all the hash parameters
<nhmood> members*
<abdulsattar> For example, you can do: a,b,*c = [1,2,3,4] for a = 1, b = 2, c = [3,4]
DouweM has quit [Ping timeout: 264 seconds]
arietis has joined #ruby
<abdulsattar> But there's nothing more than that AFAIK
<alexherbo2> abdulsattar: Why? It’s a shame :/
Mongey has quit [Client Quit]
momigi has quit [Read error: Connection reset by peer]
p4tux has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
<centrx> alexherbo2, What are you trying to do?
apeiros has quit [Ping timeout: 264 seconds]
<abdulsattar> There's this method that mahy objects support: ===
<abdulsattar> it is used in case expressions and is gives you feel of powerful pattern matching
tharindu has quit [Ping timeout: 246 seconds]
momigi has joined #ruby
<centrx> nhmood, What is "ap"?
sk87 has joined #ruby
<shinobi_one> centrx: awesome_print probably
mikepack has joined #ruby
sepp2k1 has joined #ruby
mikepack has quit [Remote host closed the connection]
<abdulsattar> For example, you can do case name when /[a-z]/ do something ... when /[1-9]/ do something else
<centrx> nhmood, Why are you using reduce just to print?
<nhmood> centrx: ap is awesome print, its a nicer pp
Klumben has joined #ruby
mlpinit_ is now known as mlpinit
nanoyak has quit [Quit: Computer has gone to sleep.]
<nhmood> centrx: the print is just for debug
sk87 has quit [Client Quit]
<nhmood> i wasn't getting the expected output so i printed the vars avaliable (a, p) to see what was going on
arietis has quit [Quit: Computer has gone to sleep.]
sepp2k has quit [Ping timeout: 240 seconds]
<nhmood> i would expect that p should be each pair from flags as reduce goes through the enumerable?
<centrx> nhmood, Then why are you assigning index three times differently and never using it?
phantomtiger has quit [Quit: phantomtiger]
jjbohn has joined #ruby
<centrx> nhmood, This doesn't look like real code
Czupa has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
jjbohn has quit [Client Quit]
banister has joined #ruby
Elico has joined #ruby
werdnativ has joined #ruby
sigurding has quit [Quit: sigurding]
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> nhmood, and the print may change the yield value of the block
nanoyak has joined #ruby
Azulinho has joined #ruby
Gadgetoid has joined #ruby
webgen has quit [Ping timeout: 240 seconds]
Asher1 has quit [Quit: Leaving.]
fafa94 has quit [Quit: Leaving]
klaut has joined #ruby
Asher has joined #ruby
MarkyMark has joined #ruby
MarkyMark has quit [Client Quit]
glosoli has left #ruby ["Textual IRC Client: www.textualapp.com"]
maddddh has joined #ruby
ga1j1n has joined #ruby
oneawayman has joined #ruby
evocore has quit [Quit: evocore]
JohnBat26|2 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
maddddh has quit [Client Quit]
sparrovv has joined #ruby
markisonfire has joined #ruby
zenojis has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
m4n1f3st0 has joined #ruby
carraroj has quit [Ping timeout: 240 seconds]
Rober9393 has quit [Quit: Computer has gone to sleep.]
rdark has quit [Quit: leaving]
decoponio has quit [Quit: Leaving...]
sparrovv has quit [Remote host closed the connection]
bahar has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
Dave has joined #ruby
rickruby has quit [Remote host closed the connection]
shinobi_one has quit [Quit: shinobi_one]
Dave is now known as Guest86541
SonicX has quit [Read error: Connection reset by peer]
Rober9393 has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
abdulsattar has quit [Quit: Leaving]
RaCx has joined #ruby
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ohwhoa has quit [Quit: woah!]
<shevy> awesome_print is too colourful
dumdedum has quit [Ping timeout: 264 seconds]
shadoi has joined #ruby
Hobogrammer_ has joined #ruby
lolmaus has quit [Remote host closed the connection]
lw has quit [Quit: s]
<jhass> use pp then
timonv has joined #ruby
maddddh has joined #ruby
m4n1f3st0 has joined #ruby
crystal77 has joined #ruby
<shevy> yeah
mark_locklear has quit [Ping timeout: 246 seconds]
gberger has joined #ruby
Prometheian has joined #ruby
m4n1f3st0 has quit [Client Quit]
mikepack has joined #ruby
nari has quit [Ping timeout: 246 seconds]
m4n1f3st0 has joined #ruby
rezzack has joined #ruby
apeiros has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
maddddh has quit [Client Quit]
yubrew has quit [Remote host closed the connection]
mansi_ has quit [Remote host closed the connection]
stytown has joined #ruby
mansi_ has joined #ruby
sigurding has joined #ruby
pel_daniel1 has joined #ruby
sigurding has quit [Client Quit]
sigurding has joined #ruby
havenwood has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jamto11_ has quit [Remote host closed the connection]
pel_daniel has quit [Ping timeout: 240 seconds]
pel_daniel has joined #ruby
jamto11_ has joined #ruby
havenwood has joined #ruby
ndrei has joined #ruby
maletor has joined #ruby
mansi__ has joined #ruby
mansi_ has quit [Read error: Connection reset by peer]
Adrao has joined #ruby
Gadgetoid has quit [Ping timeout: 264 seconds]
Advocation has quit [Quit: Advocation]
sambao21 has joined #ruby
pel_daniel1 has quit [Ping timeout: 240 seconds]
maddddh has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
<nhmood> centrx: this isn't real code, this is just a block of code to demonstrate the problem
<nhmood> centrx: my understanding was that reduce returns a single value, as opposed to map which just transforms the input
havenwood has quit [Ping timeout: 264 seconds]
senayar_ has quit [Remote host closed the connection]
<nhmood> also, the print can change the yield value but shouldn't the second argument to reduce (p) be that of the object im reducing on?
<centrx> nhmood, In this code, you are not reducing anything
<nhmood> the example is contrived but im trying to understand how reduce works itself
<centrx> nhmood, You are just returning what ap p returns in the last iteration
<nhmood> but shouldn't p be each pair from the hash each time?
<centrx> This code has no use for reduce
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<nhmood> i understand
<nhmood> the code does't do anything
gigetoo has quit [Ping timeout: 245 seconds]
<nhmood> and im confused as to why its output does nothing
<nhmood> im asking
<nhmood> why is the element in the reduce block not what is expected
atmosx has joined #ruby
m4n1f3st0 has quit [Ping timeout: 246 seconds]
<centrx> nhmood, the block needs to use the accumulator in its code
<centrx> >> [1,2,3].reduce(0) { |sum, x| sum + x }
<eval-in> centrx => 6 (https://eval.in/119050)
freezey has quit [Remote host closed the connection]
zorak has quit [Read error: Connection reset by peer]
Gadgetoid has joined #ruby
<centrx> >> [1,2,3].reduce(0) { |sum, x| x }
<eval-in> centrx => 3 (https://eval.in/119051)
<centrx> >> [1,2,3].reduce(0) { |sum, x| sum }
elaptics is now known as elaptics`away
jprovazn has joined #ruby
<centrx> >> [1,2,3].reduce(0) { |sum, x| sum }
<eval-in> centrx => 0 (https://eval.in/119052)
kyle__ has quit [Remote host closed the connection]
mourest has quit [Ping timeout: 264 seconds]
mikepack has quit [Remote host closed the connection]
Mongey has joined #ruby
mikepack has joined #ruby
Pixi__ has quit [Quit: Leaving]
RaCx has joined #ruby
havenwood has joined #ruby
pushpak has joined #ruby
shabgard has joined #ruby
shabgard has quit [Changing host]
shabgard has joined #ruby
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jkamenik has quit [Quit: Leaving.]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shabgard has quit [Client Quit]
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
Mon_Ouie has joined #ruby
jlast has quit [Read error: Connection reset by peer]
jlast has joined #ruby
mroth__ is now known as mroth
mroth has quit [Changing host]
mroth has joined #ruby
mroth has joined #ruby
stytown has quit [Quit: stytown]
s__dana has quit [Quit: s__dana]
hydrat has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
fgo has joined #ruby
<apeiros> LastWhisper: could you solve your problem?
danshultz has quit [Remote host closed the connection]
lolmaus has joined #ruby
jlast has quit [Remote host closed the connection]
`MArceLL` has joined #ruby
samfisher has joined #ruby
danshultz has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
pwh has joined #ruby
<nhmood> there is a working, actual example
<nhmood> the prints are just there for debug
hydrat has quit [Remote host closed the connection]
<nhmood> to see what happens on each iteration of reduce
yubrew has joined #ruby
<nhmood> i cant figure out why the :debug key/value isn't being used or iterated on
rails426 has joined #ruby
stytown has joined #ruby
<nhmood> i feel like each_pair.reduce |a, (k, v)| just doesn't do what i expect it to
xaq has joined #ruby
petey has quit []
fgo has quit [Ping timeout: 246 seconds]
jlast has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
<havenwood> nhmood: did you mean to?: each_pair.reduce([]) |a, (k, v)|
Mongey has quit [Client Quit]
yubrew has quit [Ping timeout: 240 seconds]
<havenwood> nhmood: or: flags.each_with_object([]) do |(k, v), a|
<apeiros> nhmood: an if statement as the last expression in a reduce/inject is a rather bad idea
<havenwood> nhmood: no need for #each_pair in any case
freezey has joined #ruby
<apeiros> nhmood: you're aware that the last expression's value is fed back into the accumulator, and that and if-statement evaluates as nil if it is not satisfied?
<centrx> nhmood, Look at the docs for Enumerable#reduce, "If you do not explicitly specify an initial value for memo, then the first element of collection is used as the initial value of memo."
<apeiros> >> [1,2,3].inject { |acc,x| x if x.even? }
<eval-in> apeiros => nil (https://eval.in/119065)
<nhmood> smh, what a stupid mistake
haga41 has joined #ruby
timonv has quit [Remote host closed the connection]
eyckelbo1m is now known as eyckelboom
jonno11 has joined #ruby
<nhmood> apeiros: i was aware, the nil return would have been fine but i guess that isn't the safest code
felixflo_ has quit []
jayne has joined #ruby
stytown has quit [Quit: stytown]
<apeiros> nhmood: dude, it would have turned a to nil
<apeiros> nhmood: and you can't nil.push
<apeiros> I don't think "it'd have been fine"
ga1j1n has quit [Remote host closed the connection]
aspires has quit []
<havenwood> i swear half the Ruby errors i see are people calling methods on nil
<nhmood> wouldn't it push(nil)?
dcfedde has quit [Remote host closed the connection]
<nhmood> the if conditions the a.push
<apeiros> nhmood: why on earth would it be?
<apeiros> your code is `a.push([args.index(*v & args), k])`
<apeiros> and `a` is your accumulator
<apeiros> havenwood: I swear, half of the inject/reduce code I see on irc is broken and/or abuse
dcfedde has joined #ruby
oneawaymann has joined #ruby
<nhmood> apeiros: yeah i am totally butchering reduce...
<nhmood> hold on tho
stytown has joined #ruby
<nhmood> trying to understand your last statement
<nhmood> where would a become nil?
Elico has quit [Ping timeout: 240 seconds]
<apeiros> nhmood: in inject, what value does the first block argument have?
oneawayman has quit [Ping timeout: 240 seconds]
<apeiros> (inject == reduce)
aspires has joined #ruby
nanoyak has joined #ruby
fantazo has quit [Quit: Verlassend]
<nhmood> nothing i guess? i'm not sure what the default to reduce/inject is
xuisce has quit [Remote host closed the connection]
shinobi_one has joined #ruby
gigetoo has joined #ruby
<nhmood> is that what you mean by block argument, what the accumulator starts with?
<apeiros> nhmood: why do you use a method you don't even understand? at least read its doc…
glebm has quit [Read error: No route to host]
kirun has joined #ruby
<apeiros> ary.inject { |those, are, block, args| …
<apeiros> ary.inject { |this_is_the_first_block_arg, *rest|
glebm has joined #ruby
Dwarf has quit [Ping timeout: 264 seconds]
xuisce has joined #ruby
<apeiros> a block is that piece of code in the curly {} braces (or do/end) which you pass to a method. the stuff between the pipes are the block args.
thoraxe has quit [Quit: power outage]
maddddh has joined #ruby
<sigurding> anyone here worked with rufus scheduler?
arianit has joined #ruby
Zolrath has joined #ruby
senayar has joined #ruby
<havenwood> sigurding: i haven't used that one, not sure how it compares to whenever: https://github.com/javan/whenever#readme
<LastWhisper> apeiros: yes! solved! ty sir :)
<apeiros> LastWhisper: great. yw :)
defrag has quit [Quit: WeeChat 0.3.7]
<sigurding> havenwood: did you work with whenever?
<havenwood> sigurding: yeah
echevemaster has quit [Remote host closed the connection]
SonicX has joined #ruby
<nhmood> apeiros: ok yeah so the first arg is the accumulator, or at least i thought it was
<sigurding> ok, the issue I have with rufus, is that I am not able to define a initialize method in the class, where rufus is used
<apeiros> yes. and what value does it have?
m4n1f3st0 has joined #ruby
mark_locklear has joined #ruby
<nhmood> apeiros: if you dont specify anything, apparently the first element of the collection you are reducing on
<apeiros> nhmood: I mean, what value will it have, except for the first iteration
_bart has quit [Ping timeout: 264 seconds]
<apeiros> for the first iteration it is the first element of the collection, yes. but what is it in the second, third etc. iteration?
<nhmood> oh is it the return value of the last iteration?
<apeiros> s/last/previous/, yes
<nhmood> ohhh i see where the problem is now
<nhmood> i think my misunderstanding was that the accumulator BECOMES the returned value
<nhmood> i assumed, stupidly, that it appends to
<nhmood> which wouldnt make much sense
Azulinho has quit [Ping timeout: 246 seconds]
<nhmood> so then yes, i can see how you could nil.push
xaq has quit [Remote host closed the connection]
<certainty> fun fact if you're reducing a monoid, then your init value is the identity element
Mongey has joined #ruby
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> monoid? another term for scalar?
stytown has quit [Quit: stytown]
senayar has quit []
<certainty> a monoid a set of elements and a binary operation along with an identity element
maddddh has joined #ruby
<apeiros> I guess I've been out of academia for too long to parse that :)
<certainty> for example the natural numbers and + along with 0 for a monoid
maletor has quit [Quit: Computer has gone to sleep.]
<certainty> form
<apeiros> or * and 1?
jackneill has quit [Remote host closed the connection]
<certainty> correct
SonicX has quit [Read error: Connection reset by peer]
<centrx> What is a monoid in terms of a group
Steve445 has quit [Quit: Steve445]
stringoO has quit [Quit: stringoO]
stytown has joined #ruby
samfisher has quit [Quit: exit error code 434]
phantasm66 has quit [Quit: *sleeeep….]
<certainty> centrx: a monoid is a group if it fullfills the group axioms (having inverts and the operation being associative) but I may be inaccurate here. It's been a while
<certainty> the reason why i remember the monoid thing is because haskell has a monoid typeclass
RaCx has quit [Quit: Computer has gone to sleep.]
gfunc has quit [Remote host closed the connection]
CADBOT has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
dcfedde has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
Mongey_ has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
mansi__ has quit [Remote host closed the connection]
dcfedde has joined #ruby
mansi has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
niklasb has joined #ruby
RaCx has joined #ruby
<certainty> arrays and .concat along with the empty array form a monoid as well
mansi has quit [Read error: Connection reset by peer]
jlast_ has joined #ruby
tvw has quit []
Skaag has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
Skaag has joined #ruby
Tingo1983 has quit [Ping timeout: 264 seconds]
<nhmood> havenwood: what would be the advantage of using inject/reduce over each_with_object (or vice versa)?
Tingo1983 has joined #ruby
jamto11_ has quit [Remote host closed the connection]
xaq has joined #ruby
phantomtiger has joined #ruby
kenndel has quit [Read error: Connection reset by peer]
zerun0_ has quit [Ping timeout: 252 seconds]
rootshift has joined #ruby
kenndel has joined #ruby
<apeiros> nhmood: if your returned object is the same as the one you pass as the starting object, you want each_with_object
<apeiros> nhmood: if it is a different object, you want inject
<apeiros> ^ simplified and maybe not true for every case.
<nhmood> i see
jamto11_ has joined #ruby
<apeiros> common anti-pattern to spot misuse of inject: …inject { |a,x| …; expr }
aryaching_ has quit [Ping timeout: 240 seconds]
<apeiros> or actually, it's almost always even: …inject { |a,x| …; a }
<apeiros> clear indicator that it should use each_with_object instead.
<sigurding> using debugger with 2.1.1 is a huge pain in the ass
<sigurding> dyld: lazy symbol binding failed: Symbol not found: _rb_vm_get_sourceline ...
<certainty> sigurding: why is that?
<sigurding> certainty: because it does not work at all
<nhmood> do you have any more explicit examples of when a inject/reduce is the correct use? rubydocs example isnt very informative as to when you *should* use it
<certainty> sigurding: damn, i use to use the debugger alot
m4n1f3st0 has quit [Ping timeout: 240 seconds]
<certainty> not with ruby > 2.0 yet though
<sigurding> certainty: it does not work here properly...
phutch1ns has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
<sigurding> I installed 1.6.6 which should be compatible with 2.1.1
pfg has joined #ruby
michaeldeol has joined #ruby
zerun0_ has joined #ruby
<apeiros> sigurding: try pry-byebug ?
Lewix has quit [Remote host closed the connection]
<sigurding> apeiros: pry-byebug?
<jhass> sigurding: pry-byebug
<apeiros> pry-byebug.
<sigurding> apeiros: yeah found it
<sigurding> does not make it any better for me
<sigurding> currently frustrated like hell
ebetancourt has joined #ruby
jrhorn424 is now known as zz_jrhorn424
<apeiros> you installed and used it in less than 1min?
<sigurding> apeiros: no
rickruby has joined #ruby
bitri has joined #ruby
sigurding has left #ruby [#ruby]
sigurding has joined #ruby
jmbrown412 has joined #ruby
godd2 has quit [Ping timeout: 240 seconds]
bitri has quit [Client Quit]
endash has quit [Read error: Connection reset by peer]
<jmbrown412> Any ideas why I might get a 200 OK on a Net::HTTP post but a blank response.body? This is on a production server, on staging I get an actual response.body.
<jmbrown412> I also get the response body back when using Chrome Advanced Rest Client.
<sigurding> apeiros: I am constantly getting such errors: psych/visitors/to_ruby.rb:300: [BUG] Segmentation fault at 0x00000000000000
Mongey_ has quit [Read error: Connection reset by peer]
<Eiam> apeiros: that seems clear like map vs each, one is for enumerating through the same object, one is for mutating
<sigurding> but I am not able to figure out, where it comes from
Mongey has joined #ruby
<apeiros> Eiam: I always thought it was clear too - then I visited irc…
<apeiros> ;-)
<Eiam> apeiros: =0
<havenwood> apeiros: haha
stytown has quit [Quit: stytown]
endash has joined #ruby
<apeiros> to be honest… when we were looking for another ruby/rails coder, we had people who claimed themselves to be experts, who failed to understand the differences between those methods
GaryOak_ has joined #ruby
<Eiam> so my trick works
<apeiros> at first we thought the head hunters were inflating the skill tables of the applicants. then we started to ask them directly how they estimate their skills…
<Eiam> I say I'm really basic
ga1j1n has joined #ruby
<Eiam> come in, understand each vs map, and look like a king! hired!
Dwarf has joined #ruby
<apeiros> Eiam: you'd have beaten ~80% of the candidates. I'm not kidding. :(
* certainty is an expert at being a noop
Xiti has joined #ruby
<Eiam> (I've been using ruby for about 2 years actively, coding for 15 years, I rate my ruby as "basic ruby")
<certainty> noob
<sigurding> when you need to access a yaml configuration from many different Classes, how do you design that?
mjs2600 has quit [Remote host closed the connection]
<apeiros> certainty: so noob, you even draw the tail on the wrong side of the letter? :D
<shevy> you don't need to know all of ruby
<sigurding> using singleton instances?
<centrx> Some places 95% of applicants can't do Fizz-Buzz in the language of their choice.
<shevy> sigurding what is your configuration - a hash?
<sigurding> shevy: right
<apeiros> sigurding: usually a constant and set that as default arg
<shevy> a changeable hash constant! :D
stytown has joined #ruby
<apeiros> Config = YAML.load_file(blah); class SomeClass; def initialize(config=Config) …
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> sigurding: that way you don't paint yourself into a corner too much. gives you 2 change options - a) constants can be namespaced, b) explicitly pass in the config
<Eiam> centrx: yeah.. I recall doing a programming interview a few years ago, I didn't do so hot in it
<certainty> apeiros: hehe yeah, apparently :)
<Eiam> they said I was barely a beginning programming based on their analysis
grzywacz has quit [Ping timeout: 240 seconds]
heftig has joined #ruby
leonidlm has quit [Ping timeout: 264 seconds]
alvaro_o has joined #ruby
<Eiam> which was a little embarrassing as I clearly don't think thats the case, but interviews are weird micro stackshots of people
freezey has quit [Remote host closed the connection]
<Eiam> programming/programmer
<centrx> Eiam, well fizz-buzz is pretty basic, maybe you were just nervous
<Eiam> centrx: it wasn't fizz buzz lol
mikepack has quit [Remote host closed the connection]
bauruine has quit [Excess Flood]
<Eiam> one question was about how to handle resources scheduling in the kernel for an OS
<Eiam> but it was in the guise of a puzzle question
Mongey has quit [Read error: Connection reset by peer]
vongrippen is now known as jwood
<certainty> i don't care too much about what someone knows already. I care about if he/she is able and willing to learn new stuff (quickly)
<havenwood> Impostor syndrome and the Dunning–Kruger effect together conspire to make self assessment as meaningless as nil.
Mongey_ has joined #ruby
jwood is now known as vongrippen
jamto11_ has quit [Read error: Connection timed out]
blandflakes has joined #ruby
<Eiam> a lot of times also there is a sense of superiority
<Eiam> I have seen a lot of cases where people ask really hard things that have nothing to do with their jobs
<Eiam> and they hold new hires accountable for not knowing things that they themselves didn't know, or don't have to know
tonyhb has quit [Quit: peace]
<Eiam> and there is something to be said for A's hiring A's vs B's hiring C's or whatever, but there is also just being an ass
tonyhb has joined #ruby
bauruine has joined #ruby
jamto11_ has joined #ruby
carraroj has joined #ruby
yubrew has joined #ruby
<shevy> hehe
nisstyre has quit [Quit: WeeChat 0.4.3]
<shevy> classical master servant situation
<apeiros> Eiam: it's actually quite difficult to come up with a good set of questions and properly calibrate them
shinobi_one has quit [Quit: shinobi_one]
<Eiam> apeiros: much the same conclusion I've come to
<sigurding> when I define vars in class A and I have clas B which extends A (B < A), how do I access the vars from A?
<Eiam> I honestly don't like interviewing people and have been asking upper management to just let us do contract -> Hire
<apeiros> Eiam: though, IMO the best question was: bring a piece of code you wrote or contributed to, which you're proud of, and explain it to us
<Eiam> but some people don't wanna work like that which i can understand
fgo has joined #ruby
<apeiros> that showed strengths & weakness of people, also their enthusiasm and preferences
byprdct has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 240 seconds]
<arubin> Eiam: Some? I would guess that most do not.
Mongey_ has quit [Read error: Connection reset by peer]
<Eiam> arubin: *shrug* I moved across the country on a Contract job
chuk has joined #ruby
<Eiam> with the knowledge that I would damn well convert it to a full time job. and I did after 4 months
Mongey has joined #ruby
<bricker> Okay I think I know the kind of response I'm going to get, but is `JSON.parse(open(href).read)` considered safe?
<Prometheian> Anyone experience an issue on windows where their capybara tests won't hit websites? The tests think they do but if I use a save_and_open_page I just get blank pages.
shinobi_one has joined #ruby
<Eiam> I wasn't at all worried because I knew that they would want to hire me full time and i was going to make sure they wanted it
<arubin> Eiam: Most people are not going to quit their existing jobs for the possibility of obtaining another.
<Eiam> arubin: right =) which is why I acknowledged that point
<slash_nick> bricker: safe how?
<Eiam> hiring is a rather unfortunate business
sepp2k1 has quit [Read error: Connection reset by peer]
<bricker> slash_nick: safe in that there's no (known) way that someone could use that to run arbitrary ruby on the server running it
<bricker> slash_nick: in the way `eval(open(href).read)` would be "not safe"
<Eiam> arubin: I was just noting that I did exactly that
<apeiros> bricker: I thought it should be. alas, it seems it isn't.
<bricker> apeiros: no?
_bart has joined #ruby
dcfedde has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
fgo has quit [Ping timeout: 240 seconds]
carraroj has quit [Quit: Konversation terminated!]
Squarepy has joined #ruby
DarthGandalf has quit [Ping timeout: 245 seconds]
ikaros has joined #ruby
<apeiros> bricker: don't have any links handy, I'd guess googling something like "ruby json parse security vulnerability" should yield some results
dcfedde has joined #ruby
freezey has joined #ruby
<toretore> people parse untrusted json all the time
<arubin> The parsing is not the bad part.
<arubin> The backticks are.
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<toretore> i don't think they're part of the actual code
maddddh has joined #ruby
nanoyak has joined #ruby
timonv has joined #ruby
<slash_nick> guys ignore the backticks, he's asking about JSON.parse(untrusted_content)
rootshift_ has joined #ruby
Salve has joined #ruby
<bricker> slash_nick: indeed
bluehavana_ has joined #ruby
<toretore> 1) i think JSON.parse is relatively safe, 2) open(uri) should also be relatively safe
iliketurtles has quit [Quit: zzzzz…..]
<shevy> loop { eval 'parse self' }
hobodave has quit [Ping timeout: 246 seconds]
<bricker> toretore: yeah, open-uri just uses Net::HTTP underneath, which is relatively safe
mjs2600 has joined #ruby
rootshift has quit [Ping timeout: 240 seconds]
rootshift_ is now known as rootshift
<bricker> Thanks everybody
arianit has quit [Quit: Leaving]
<bricker> If our servers gets hacked I expect an apology from each one of you.
<Eiam> bricker: okay
maddddh has quit [Client Quit]
<toretore> i aint apologizing for nothing
<toretore> not my style
wallerdev has quit [Quit: wallerdev]
<xuisce> shinobi_one: around?
hobodave has joined #ruby
<shinobi_one> xuisce: yes
maddddh has joined #ruby
cover has quit [Quit: No Ping reply in 180 seconds.]
cpruitt has joined #ruby
cover has joined #ruby
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
RaCx has quit [Quit: Computer has gone to sleep.]
Speed has joined #ruby
CreativeEmbassy has joined #ruby
Shidash has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
jonr22 has joined #ruby
grayWolf has joined #ruby
aspires has quit []
mjs2600 has quit [Remote host closed the connection]
Speed has quit [Ping timeout: 246 seconds]
haga41 has left #ruby ["Her zaman, her yerde, en büyük Fener!"]
acrussell has quit [Quit: Leaving.]
zachallett has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
<Prometheian> Anyone experience an issue on windows where their capybara tests won't hit websites? The tests think they do but if I use a save_and_open_page I just get blank pages. I can't send outgoing pings/tracert's so I'm worried it might be my router since my firewall is disabled. Thing is, linux machines don't have the issue.
<shinobi_one> Prometheian: Windows? What's that?
mjs2600 has joined #ruby
Czupa has quit [Remote host closed the connection]
<Prometheian> A widely used OS that's good for .net languages.
<shinobi_one> Prometheian: Are you using Iron Ruby?
IceyEC has quit [Quit: IceyEC]
mjs2600 has quit [Remote host closed the connection]
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DarthGandalf has joined #ruby
<havenwood> Prometheian: 32-bit Windows?
mikepack has joined #ruby
<Prometheian> I am not. I've installed Ruby and Cucumber and Capybara and such, and I'm running the tests via command line. Added the stuff to my path.
mansi has quit [Ping timeout: 240 seconds]
<shinobi_one> Prometheian: Since Linux machines don't have this issue. Can you just use those instead? They're better ;)
sparrovv has joined #ruby
enebo has quit [Ping timeout: 264 seconds]
<shevy> Prometheian hmm - I think one problem is reception. Most people here use mostly linux or osx, not many windows users
<shevy> I couldn't even test on windows myself
oso|away is now known as oso96_2000
<Prometheian> I acknowledge this statement, but the windows machine I've been using has all my crap on it and it'd be easier to continue using it. :s
<havenwood> Prometheian: Partition and install Arch, Debian, Fedora, openSUSE or FreeBSD!
<Prometheian> Rofl
paulfm has quit []
<Prometheian> There are some Mac's in the office that don't have the issue either.
<shevy> do you make backups on external HDDs?
Salve has quit [Remote host closed the connection]
skaflem has quit [Quit: Leaving]
<Prometheian> Have Ubuntu on a flash drive that I've got booted on another system. I CAN develop on that, but I'm looking for a way to use this one. :S
Salve has joined #ruby
ndrei_ has joined #ruby
<shinobi_one> Prometheian: Can you dual boot on the machine? Just run Linux, but still keep Windows for whatever ;)
<shevy> ewwww ubuntu
jamto11_ has quit [Remote host closed the connection]
mansi has joined #ruby
mikepack has quit [Remote host closed the connection]
<Prometheian> Ubuntu has been most stable for a flash drive, tried KDE but that bugged out :(
<shinobi_one> shevy: play nice ;p
jamto11_ has joined #ruby
<shinobi_one> KDE is not a Linux distribution.
jamto11_ has quit [Remote host closed the connection]
<shevy> yes, you see shinobi_one, the problem was that KDE on ubuntu did not work
<shevy> :)
<havenwood> Prometheian: checkout vagrant: http://www.vagrantup.com/
<shevy> I understand that he wants to stay on windows rather than go to ubuntu
mark_locklear has quit [Ping timeout: 246 seconds]
<Prometheian> Point here isn't to get a linux distro, I have one... it's to make my windows system work w/ this... if it can,.
<shevy> well you already reached the point where it works for you on linux but it does not work on windows :)
<havenwood> Prometheian: Might try #rubyonrails. I'm not sure if there is a Windows specific Ruby channel?
<shinobi_one> Prometheian: Our point is you're only going to have an extremely hard time trying to do this stuff on Windows.
<Prometheian> afaik no windows ruby channel
<Prometheian> Will try out RoR though, ty
<shinobi_one> afaik nobody wants to do ruby on windows because it sucks.
kirun has quit [Quit: Client exiting]
<Prometheian> If this falls through, linux it is!...
<shinobi_one> ^ it will
ndrei has quit [Ping timeout: 264 seconds]
<havenwood> Prometheian: just do linux and don't look back!
<Prometheian> But Linux doesn't have all the things
klaut_ has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
<havenwood> Prometheian: boot on a partition until you realize you never switch to Windows anymore then
Mongey has joined #ruby
ndrei_ has quit [Ping timeout: 240 seconds]
<shinobi_one> Prometheian: what things does linux not have that you need?
<havenwood> Prometheian: or OS X :P
<havenwood> or FreeBSD
wallerdev has joined #ruby
<Prometheian> Atm nothing. I needed the windows install cause I was making something in Powershell and now that I've got it all tweaked and configured, plus familarlty, I'm loathe to jump ship.
ndrei has joined #ruby
<havenwood> Prometheian: An aside, but there is a project called `pash` that is PowerShell for *nix.
<Prometheian> Oh, yeah. And google remote desktop.
<mnemon> "pre-alpha"
<havenwood> Prometheian: Remote Desktop works on linux afaik.
* shinobi_one reads This project is not yet useful for any real work.
<shevy> Prometheian hmm but there is mono and wine
_HolyCow has quit [Quit: Leaving.]
<havenwood> mnemon: but being actively developed, and who doesn't want to bleed a little? :O
<shinobi_one> lol yes remote desktop over rdp and whatever works in linux
maddddh has joined #ruby
<Prometheian> I maintain/create Regression scripts for my work (last guy who did it was bad at it) so I was going to convert some of his scripts into a good form. All that's in java. Supervisor wants me to make in Ruby so...
<havenwood> Prometheian: JRuby?
<shinobi_one> lol i love supervisors and their random ass things
klaut_ has quit [Ping timeout: 246 seconds]
grayWolf has quit [Ping timeout: 240 seconds]
<shevy> haha
Rhainur has quit [Quit: Leaving]
<shevy> that's indeed a strange switch, from java to ruby
<Prometheian> Selenium
<Prometheian> Java + Selenium
dcfedde has quit [Remote host closed the connection]
<shinobi_one> "Convert all our shit from Java to Ruby, no particular reason though, just do it."
<Prometheian> He wants in Ruby + Capybara
m4n1f3st0 has joined #ruby
<shevy> shinobi_one I guess the supervisor must know ruby
<mnemon> havenwood: well, I bleed enough when using powershell on windows already :(
<Prometheian> I was converting shitty java scripts into good java scripts... But...
<Prometheian> Most of my shop uses Ruby
<havenwood> mnemon: hehe
dcfedde has joined #ruby
<shevy> mnemon but the idea behind it is cool, I'd wish we'd have object orientated shells on linux
<shinobi_one> Prometheian: Ruby + Selenium works, you wouldn't have to really rewrite everything
<Prometheian> Nope! Have to use Capybara.
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
<havenwood> Prometheian: well, ought work on 32-bit Windows, with 64 i think you're out in the cold
<shinobi_one> lol
<Prometheian> Cause that's what they're using...
<shevy> shinobi_one you don't get it, the supervisor said what he must use!!!
<shinobi_one> lol
kennym has quit [Quit: Leaving.]
<mnemon> shevy: yeah, it's great for managing windows environments, but it's also slow as hell and buggy :/
<Prometheian> This shit happens whenever I bring up a project or something I'm working on. He's convinced that I'll end up liking Ruby but I've grown up on Java and C#. Ruby isn't bad but Ruby + Capybara feels strange to me.
<havenwood> i feel lucky that nothing i work on touches windows
wallerdev has quit [Quit: wallerdev]
<shinobi_one> Prometheian: He's an idiot if he's making you switch these things for no reason other than to do it.
<shinobi_one> But hey, aren't most supervisors?
<Prometheian> lol...
mojjojo has joined #ruby
wallerdev has joined #ruby
mojjojo has left #ruby [#ruby]
mojjojo has joined #ruby
<havenwood> Prometheian: Use JRuby and just require the existing jar.
<havenwood> :P
<havenwood> done.
rootshift has quit [Ping timeout: 264 seconds]
<Prometheian> Sadly won't work out like that :S
r0nin has joined #ruby
RaCx has joined #ruby
timonv has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
sailias has quit [Ping timeout: 240 seconds]
tyfighter has joined #ruby
<havenwood> go figure
<shinobi_one> he HAS to use Ruby + Capybara lol
nateberkopec has joined #ruby
rootshift has joined #ruby
YamakasY has joined #ruby
<havenwood> JRuby's future with Truffle really is exciting!
<Prometheian> I don't think this will be hugely difficult, but it'll hurt my productivity while I adjust
<shevy> Prometheian I dont know Capybara. Ruby is nice, but that does not mean that everything written in ruby must be nice as well.
<havenwood> JRuby 9k \o/
mengu has joined #ruby
<shinobi_one> Prometheian: sounds like you've got time
<shevy> well typical DSL style
danshultz has joined #ruby
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Prometheian> I do.. unless I can land a better job soon :P
x1337807x has joined #ruby
Shidash has joined #ruby
<shinobi_one> Prometheian: even better, then you can go back to your .net environment and java on windows ;p
Jetchisel has joined #ruby
diegoviola has joined #ruby
Mongey_ has joined #ruby
<Prometheian> If I thought supervisor would let me get away with it...
Shidash has quit [Client Quit]
Shidash1 has joined #ruby
<shevy> haha
<centrx> Sounds like you are trapped in a Windows-based dungeon
Mongey has quit [Ping timeout: 264 seconds]
tonyhb has quit [Quit: peace]
kennym has joined #ruby
stytown has quit [Quit: stytown]
centrx has quit [Quit: All this computer hacking is making me thirsty]
<Prometheian> My home system uses Windows cause of games. I'm most familar w/ it.
RaCx_ has joined #ruby
RaCx has quit [Ping timeout: 240 seconds]
RaCx_ is now known as RaCx
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
randomnick_ has joined #ruby
centrx has joined #ruby
yubrew has joined #ruby
maletor has joined #ruby
aspires has joined #ruby
zachallett has joined #ruby
grzywacz has joined #ruby
m4n1f3st0 has quit [Ping timeout: 264 seconds]
enebo has joined #ruby
mmochan has joined #ruby
agarie has quit [Remote host closed the connection]
tonyhb has joined #ruby
philcrissman has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
peterellisjones has joined #ruby
peterellisjones has quit [Client Quit]
<shevy> :)
<shevy> without the gamers, windows would be already dead
<shinobi_one> nah
<shinobi_one> corporate man, corporate
dcfedde has quit [Remote host closed the connection]
<apeiros> without gamers and beancounter-corpocrates
<shinobi_one> ^ better
<apeiros> it's sad really. microsoft could do better.
dcfedde has joined #ruby
<shinobi_one> could they?
<shinobi_one> have you seen the windows phones?
<shinobi_one> have you seen the xbox?
ianbrandt has joined #ruby
<shinobi_one> have you seen the zune?
<apeiros> no, but I've seen some of their research projects
<shevy> shinobi_one well, gamers are often younger, more eager to learn and enthusiastic; the corporate users are slow ass movers, many are still WinXPing
<shinobi_one> i could go on..
<apeiros> their stuff usually starts to suck when $managers reign in
<shevy> hehe
ianbrandt has quit [Client Quit]
ianbrandt has joined #ruby
<Prometheian> Hey! I still use my Zune! I helps with my 30 min VCR workouts.
ianbrandt has quit [Client Quit]
<apeiros> shinobi_one: for all which is bad about the xbox - the kinect technology is awesome
<shevy> omg
<shevy> workouts
kate_r has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shevy> another reason why you should switch to linux entirely
fgo has joined #ruby
doodlehaus has quit [Remote host closed the connection]
rootshift has quit [Ping timeout: 240 seconds]
Slavox is now known as Slavox|AFK
<centrx> Windows? They still make that?
<shinobi_one> apeiros: i can agree with that
<Prometheian> apeiros: NSA always on webcam!
<shevy> oh man
<shevy> they sure want to see your penis
<shinobi_one> i'm showing them my penis right now
<Prometheian> Always game vigorously and pantless.
<centrx> >> [:eyes, :my, :ahh].reverse.join(" ")
<eval-in> centrx => "ahh my eyes" (https://eval.in/119140)
fgo has quit [Ping timeout: 240 seconds]
<shinobi_one> centrx: is that like a soft ahhhh like relaxing soothing?
<shinobi_one> ;p
phantasm66 has joined #ruby
claymore has quit [Quit: Leaving]
shaileshg has quit [Quit: Connection closed for inactivity]
<shevy> he had to use his brain to write ruby code like that
<shevy> so clearly his pants are still on
failshel_ has joined #ruby
Jetchisel has quit [Ping timeout: 256 seconds]
atmosx has quit [Quit: Lost in trance]
m4n1f3st0 has joined #ruby
Prometheian has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
endash has quit [Read error: No route to host]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
aspires has quit []
Hobogrammer_ has quit [Ping timeout: 240 seconds]
kayloos has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 252 seconds]
havenwood has quit [Remote host closed the connection]
endash has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
havenwood has joined #ruby
Slavox|AFK is now known as Slavox
phantasm66 has quit [Quit: *poof*]
enebo has quit [Ping timeout: 246 seconds]
failshel_ has quit [Ping timeout: 264 seconds]
thesheff17 has quit [Ping timeout: 240 seconds]
shadoi has quit [Quit: Leaving.]
Bosox20051 has quit [Remote host closed the connection]
grapFler has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
oneawaymann has quit [Read error: No route to host]
oneawayman has joined #ruby
Hobogrammer_ has joined #ruby
sigurding has quit [Ping timeout: 246 seconds]
dcfedde has quit [Remote host closed the connection]
rootshift_ has joined #ruby
havenwood has joined #ruby
dcfedde has joined #ruby
mlpinit has quit [Quit: Leaving...]
jprovazn has quit [Quit: Odcházím]
sigurding has joined #ruby
YamakasY has quit [Remote host closed the connection]
<matti> shevy: shevy
centrx has quit [Quit: All this computer hacking is making me thirsty]
Jetchisel has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<grapFler> I have a question about how to best structure a notification system. We need a way for our app to send notifications to our company chat client. Right now, I have a superclass that handles the API requests, and each different type of notification inherits from that class
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sparrovv has quit [Remote host closed the connection]
niklasb has quit [Quit: WeeChat 0.4.3]
jonno11 has joined #ruby
<grapFler> The problem with this is it requires instantiation of the child class like Notifier.new.notify when I'd really prefer to just do Notifier.notify
aspires has joined #ruby
flowerhack has quit [Quit: Connection closed for inactivity]
whomp has joined #ruby
<whomp> how can i match the character '\r' in a regex?
centrx has joined #ruby
Skaag has quit [Ping timeout: 240 seconds]
pel_daniel1 has joined #ruby
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tvw has joined #ruby
alexherb1 has joined #ruby
pel_daniel has quit [Ping timeout: 264 seconds]
james_d_h has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
CaptainJet has quit [Ping timeout: 264 seconds]
r0nin has quit []
kayloos has joined #ruby
<shevy> how could I easily display content of a directory, in human readable format - MB or Gig or KB, depending on how large it is
shadoi has joined #ruby
larissa has joined #ruby
<centrx> du
rickruby has quit [Remote host closed the connection]
mehlah has joined #ruby
rickruby has joined #ruby
maroloccio has joined #ruby
sski has joined #ruby
glosoli has joined #ruby
postmodern has joined #ruby
DrShoggoth has quit [Quit: Leaving]
<shinobi_one> du -sh directory
sambao21 has joined #ruby
x1337807x has joined #ruby
tfitts has quit [Remote host closed the connection]
tfitts has joined #ruby
<sigurding> shevy: you want to automatically resolve an applicable divisor?
cantonic has joined #ruby
Mongey has joined #ruby
Lewix has joined #ruby
ffranz has quit [Quit: Leaving]
rickruby has quit [Ping timeout: 246 seconds]
Mongey_ has quit [Read error: Connection reset by peer]
luckyruby has joined #ruby
slowcon has quit []
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
maddddh has joined #ruby
npearson has quit [Remote host closed the connection]
maddddh has quit [Client Quit]
samuel02 has quit [Remote host closed the connection]
echevemaster has joined #ruby
nifty has quit [Ping timeout: 264 seconds]
sigurding has quit [Read error: Connection reset by peer]
Steve445 has joined #ruby
sputnik13 has joined #ruby
maddddh has joined #ruby
sigurding has joined #ruby
rootshift_ is now known as rootshift
sputnik13 has quit [Client Quit]
Vovko has quit [Remote host closed the connection]
YamakasY has joined #ruby
oneawayman has quit [Ping timeout: 240 seconds]
aspires has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
saarinen has joined #ruby
echevemaster has quit [Remote host closed the connection]
RaCx has quit [Read error: Connection reset by peer]
mojjojo has quit [Quit: mojjojo]
jespada has joined #ruby
RaCx_ has joined #ruby
CaptainJet has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
sparrovv has joined #ruby
Mongey has joined #ruby
iliketurtles has joined #ruby
sigurding has quit [Quit: sigurding]
axsuul has joined #ruby
aspiers_ is now known as aspiers
kevind has joined #ruby
saarinen has quit [Client Quit]
nowthatsamatt has quit [Quit: nowthatsamatt]
jamto11_ has joined #ruby
<shevy> du requires du binary
mikepack has joined #ruby
freerobby has quit [Quit: Leaving.]
aspires has joined #ruby
james_d_h has joined #ruby
iliketurtles has quit [Client Quit]
mojjojo has joined #ruby
Sid05 has joined #ruby
hermanmunster has joined #ruby
monkegjinni has joined #ruby
timonv has joined #ruby
olivier_bK1 has quit [Ping timeout: 246 seconds]
stytown has joined #ruby
maletor has joined #ruby
freerobby has joined #ruby
YamakasY has quit [Remote host closed the connection]
<shinobi_one> shevy: what distro are you on that doesn't have du?
freerobby has quit [Client Quit]
chrisja has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby
mikepack has quit [Remote host closed the connection]
mojjojo has quit [Client Quit]
Soliah has joined #ruby
superscott[8] has joined #ruby
jobewan has quit [Quit: Leaving]
hobodave has quit [Quit: Computer has gone to sleep.]
jaimef has quit [Excess Flood]
klaut has quit [Remote host closed the connection]
chrisja has joined #ruby
<shevy> shinobi_one I can have a lot of things; when I use it, it ties me to it
luckyruby has quit [Remote host closed the connection]
freezey has quit [Remote host closed the connection]
aspires has quit []
<shinobi_one> wat?
mikepack has joined #ruby
aspires has joined #ruby
mojjojo has joined #ruby
<pipework> shinobi_one: lululul
jaimef has joined #ruby
whatasunnyday has joined #ruby
jespada has quit [Quit: Leaving]
fgo has joined #ruby
<pipework> shevy: you can get by in life without knowing and depending on anything.
sdouglas has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
shadoi has quit [Quit: Leaving.]
mnms__ is now known as mnms
Mongey has joined #ruby
mikepack has quit [Remote host closed the connection]
mnms is now known as mnms_
<shevy> pipework lol
<shevy> pipework drunk again eh
cescalante is now known as ce_afk
RaCx_ has quit [Quit: Computer has gone to sleep.]
<pipework> shevy: :D
<shevy> oh well, time for writing another gem then :(
simplyaubs has joined #ruby
iliketurtles has joined #ruby
simplyaubs is now known as Guest59717
mengu has quit [Remote host closed the connection]
Al_ has joined #ruby
Al_ is now known as Guest3568
echevemaster has joined #ruby
lkba has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
hobodave has joined #ruby
Steve445 has quit [Quit: Steve445]
glosoli has left #ruby ["Textual IRC Client: www.textualapp.com"]
Guest59717 has quit [Client Quit]
dblessing has quit [Quit: dblessing]
samuel02 has joined #ruby
freezey has joined #ruby
malkomalko has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
timonv has quit [Read error: Connection reset by peer]
Sid05 has quit [Quit: Leaving.]
<centrx> >> "*" * 50000
james_d_h has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
<shinobi_one> centrx: lol
<bricker> lol
<shinobi_one> >> "*" * 5
<eval-in> shinobi_one => "*****" (https://eval.in/119146)
<shinobi_one> >> "*" * 100
<eval-in> shinobi_one => "****************************************************************************************************" (https://eval.in/119147)
<shinobi_one> >> "*" * 1000
<eval-in> shinobi_one => "******************************************************************************************************************************************************************************************************** ... (https://eval.in/119148)
<shinobi_one> huh
<Radar> >> "*" * 100000
<eval-in> Radar => "******************************************************************************************************************************************************************************************************** ... (https://eval.in/119149)
<Radar> Oh, right.
<bricker> woot
<shinobi_one> Radar: it's not so bad :P
<shevy> ack
<Radar> who's bot is that?
lethjakman has joined #ruby
<shevy> I think the channel creator added it?
<centrx> Dr Eval
momigi has quit [Remote host closed the connection]
<lethjakman> hey, there's an eval bot here right?
mojjojo has quit [Quit: mojjojo]
sdouglas has quit [Remote host closed the connection]
<lethjakman> is there a way for me to play with it outside of this chat room?
<bricker> is it charlie somerville?
<bricker> lethjakman: eval.in
<bricker> http://eval.in
luckyruby has joined #ruby
shadoi has joined #ruby
momigi has joined #ruby
superscott[8] has quit [Quit: superscott[8]]
zacts has quit [Quit: leaving]
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sid05 has joined #ruby
mojjojo has joined #ruby
maddddh has joined #ruby
<shevy> lethjakman dunno but just play with the bot here
<lethjakman> bricker: thanks. is it any different in this channel? I'm curious about its limitations.
DouweM has joined #ruby
<lethjakman> shevy: how do I play with it?
Mongey has quit [Read error: Connection reset by peer]
Mongey_ has joined #ruby
<shevy> lethjakman it is triggered if you start a line with >>
<bricker> lethjakman: this channel uses that website
<shevy> hmm actually '>> '
ce_afk is now known as cescalante
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bricker> see
<bricker> >> puts "look at the link >>"
<eval-in> bricker => look at the link >> ... (https://eval.in/119157)
Tamae has joined #ruby
mojjojo has left #ruby [#ruby]
<lethjakman> I'm actually curious what it does when someone asks it to put out too large of an input
<lethjakman> and I don't want to spam this channel
<lethjakman> such as puts "*" * 50000 like radar suggested in rails.
linojon has quit [Quit: linojon]
samuel02 has quit [Ping timeout: 240 seconds]
<shevy> yeah Radar the old spammer boss
chrisja has quit [Quit: leaving]
SonicX has joined #ruby
<shinobi_one> lethjakman: it outputs it in the link, every 50000 of stars
jollyy has joined #ruby
stephenmac7 has quit [Read error: Connection reset by peer]
<lethjakman> shinobi_one: ahhh is it over a certain character limit?
<shevy> he hand counted all of them!
ghazi2 has joined #ruby
<lethjakman> that's smart
Guest3568 has quit [Read error: Connection reset by peer]
<shinobi_one> lethjakman: yes
<lethjakman> smart
<shinobi_one> >> "*" * 500000
<shinobi_one> SERVER FAULT
<lethjakman> lol I didn't wana accidentally spam this channel...that could be super annoying
<shinobi_one> ^ we tried it anyway :O
<lethjakman> ahhh
<lethjakman> very smart
<centrx> >> "*" * 100000
<eval-in> centrx => "******************************************************************************************************************************************************************************************************** ... (https://eval.in/119159)
<centrx> >> "*" * 200000
stephenmac7 has joined #ruby
<centrx> >> "*" * 150000
<centrx> >> "*" * 120000
<eval-in> centrx => "******************************************************************************************************************************************************************************************************** ... (https://eval.in/119162)
* centrx has learned much
<shinobi_one> lol
alexherb1 has quit [Quit: WeeChat 0.4.3-dev]
aspires has quit []
<shinobi_one> centrx: that last one was a nifty 9MB of asterisks
sparrovv has quit [Remote host closed the connection]
<centrx> > "‽" * 100
<shinobi_one> *>>
Sid05 has quit [Quit: Leaving.]
<centrx> *>> "‽" * 100
scarolan_ has joined #ruby
<shinobi_one> lol..
lw has joined #ruby
jollyy has quit [Client Quit]
cpruitt has quit [Quit: cpruitt]
jamto11_ has quit [Remote host closed the connection]
<shinobi_one> >> "(╯°□°)╯︵ ┻━┻"
<eval-in> shinobi_one => "(╯°□°)╯︵ ┻━┻" (https://eval.in/119168)
aspires has joined #ruby
KDiddy has joined #ruby
nowthatsamatt has joined #ruby
scarolan has quit [Ping timeout: 264 seconds]
speakingcode-wor has quit [Ping timeout: 246 seconds]
<crome> flippo!
cover has quit [Ping timeout: 246 seconds]
stytown has quit [Quit: stytown]
popl has joined #ruby
stytown has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
speakingcode-wor has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
nanoyak has joined #ruby
mansi has quit [Remote host closed the connection]
Adrao has quit [Read error: Connection reset by peer]
mansi has joined #ruby
godd2 has joined #ruby
funburn has joined #ruby
ktosiek has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
evenix_ has joined #ruby
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
philcrissman has quit [Remote host closed the connection]
JBreit has joined #ruby
Adrao has joined #ruby
saarinen has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ga1j1n has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 240 seconds]
freezey has quit [Ping timeout: 246 seconds]
saarinen has quit [Client Quit]
evenix has quit [Ping timeout: 240 seconds]
whatasunnyday has quit [Quit: whatasunnyday]
evenix_ has quit [Ping timeout: 240 seconds]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
toastynerd has quit [Remote host closed the connection]
stytown has quit [Quit: stytown]
mjs2600 has joined #ruby
xuisce has quit []
jamto11_ has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
KDiddy has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
sdouglas has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
maddddh has joined #ruby
workmad3 has joined #ruby
malkomalko has quit [Remote host closed the connection]
sepp2k has joined #ruby
malkomalko has joined #ruby
tjr9898 has joined #ruby
armyriad has quit [Ping timeout: 252 seconds]
Salve has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Salve has joined #ruby
Salve has quit [Remote host closed the connection]
jetblack has quit [Ping timeout: 240 seconds]
Salve_ has joined #ruby
Hobogrammer has joined #ruby
jonno11 has joined #ruby
jamto11_ has quit [Remote host closed the connection]
malkomalko has quit [Ping timeout: 246 seconds]
b00stfr3ak has quit [Ping timeout: 264 seconds]
Zubin has joined #ruby
Salve_ has quit [Remote host closed the connection]
Zubin has quit [Client Quit]
Hobogrammer_ has quit [Ping timeout: 264 seconds]
Salve has joined #ruby
xuisce has joined #ruby
simono has joined #ruby
saarinen has joined #ruby
<nobitanobi> Anyone around familiar with IMGKit?
kennym has quit [Quit: Leaving.]
<nobitanobi> And has ever had to convert HTML which have SVG on it? :)
Salve has quit [Read error: Connection reset by peer]
<pipework> nobitanobi: use phantomjs
Salve has joined #ruby
KDiddy has joined #ruby
Voodoofish4302 has joined #ruby
Salve has quit [Remote host closed the connection]
<nobitanobi> pipework: I already use PhantomJS for one part of the app...But I don't like the fact of spawning a process from my Ruby app...
marcdel has joined #ruby
Salve has joined #ruby
aspires has quit []
<nobitanobi> and I like IMGKit because you can pass it a HTML string without the need of fetching an actual URL..
Guest86541 has quit [Quit: Leaving...]
Voodoofish4301 has quit [Ping timeout: 246 seconds]
mengu has joined #ruby
<pipework> nobitanobi: what a shame
<nobitanobi> haha
banister has joined #ruby
<nobitanobi> pipework: anyways, why would you suggest PhantomJS over IMGKit?
lkba has quit [Ping timeout: 246 seconds]
chris_thomson has joined #ruby
xuisce has left #ruby [#ruby]
<pipework> because it's pretty damn awesome for rasterizing images.
<pipework> err, webpages.
<nobitanobi> right
<nobitanobi> it is
geggam has quit [Ping timeout: 246 seconds]
<nobitanobi> I will have to end up doing with it
<nobitanobi> thanks pipework
saarinen has quit [Quit: saarinen]
phantomtiger has quit [Quit: phantomtiger]
Salve has quit [Ping timeout: 240 seconds]
cover has joined #ruby
razrunelord has joined #ruby
mikepack has quit [Remote host closed the connection]
sputnik13 has joined #ruby
tonyhb has quit [Quit: peace]
aspires has joined #ruby
sputnik13 has quit [Client Quit]
mengu has quit [Ping timeout: 246 seconds]
scarolan_ has quit [Ping timeout: 264 seconds]
tkuchiki has quit [Ping timeout: 264 seconds]
KDiddy has quit [Remote host closed the connection]
Salve has joined #ruby
Lewix has quit [Remote host closed the connection]
lethjakman has quit [Quit: WeeChat 0.4.0]
Lewix has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rainmanjam has quit [Remote host closed the connection]
yasushi has joined #ruby
Mongey_ has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
failshell has joined #ruby
aspires has quit []
failshel_ has joined #ruby
montyboy has joined #ruby
nari has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
montyboy has quit [Client Quit]
marcdel has quit [Ping timeout: 264 seconds]
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
jlast_ has quit [Remote host closed the connection]
Kovensky has quit [Read error: Operation timed out]
lsmola has quit [Read error: Operation timed out]
failshell has quit [Ping timeout: 240 seconds]
machuga has quit [Read error: Operation timed out]
lsmola has joined #ruby
Kovensky has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
snath has quit [Ping timeout: 246 seconds]
kiki_lamb has quit [Read error: Operation timed out]
SirFunk has quit [Ping timeout: 252 seconds]
<godd2> Is it considered bad form to use the BEGIN {} and END {} blocks?
kiki_lamb has joined #ruby
maddddh has joined #ruby
SirFunk has joined #ruby
machuga has joined #ruby
shanlar- has quit [Read error: Operation timed out]
shanlar has joined #ruby
fveillette has quit [Ping timeout: 252 seconds]
<shevy> well
fveillette has joined #ruby
<shevy> godd2 I find it super useless
<shevy> it can also annoy you in other projects
<shevy> if some random gem uses that crap
<godd2> good point
<shevy> and I dont know how to disable it if another gem uses it :(
jmbrown412 has quit [Remote host closed the connection]
<crome> awk-ism!
tylersmith has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mongey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samuel02 has joined #ruby
nateberkopec has quit [Quit: Leaving...]
kevind has quit [Quit: kevind]
Mongey has joined #ruby
aspires has joined #ruby
TigerWolf has joined #ruby
rootshift has joined #ruby
Shidash1 has quit [Ping timeout: 246 seconds]
samuel02 has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
kayloos has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 246 seconds]
apeiros has joined #ruby
geopet has quit []
james_d_h has joined #ruby
sdouglas has quit [Remote host closed the connection]
mansi has joined #ruby
sdouglas has joined #ruby
VTLob has quit [Quit: VTLob]
rails426 has quit [Ping timeout: 240 seconds]
closer has quit [Ping timeout: 256 seconds]
Sid05 has joined #ruby
andrewlio has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
snath has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
monkegjinni has joined #ruby
kennym has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
cashnguns has joined #ruby
closer has joined #ruby
nanoyak has joined #ruby
Sid05 has quit [Ping timeout: 240 seconds]
jamto11 has quit [Remote host closed the connection]
Salve has quit [Remote host closed the connection]
stytown has joined #ruby
fgo has joined #ruby
monkegjinni has quit [Ping timeout: 246 seconds]
Salve has joined #ruby
rafaelmagu has joined #ruby
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
aspires has quit []
CpuID has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
scarolan has joined #ruby
dik_dak has quit [Quit: Leaving]