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
bradhe has quit [Remote host closed the connection]
twiceaday has joined #ruby
doodlehaus has joined #ruby
endash_ has joined #ruby
rakm has joined #ruby
isbadawi has quit [Ping timeout: 264 seconds]
slash_join has quit [Remote host closed the connection]
endash_ has quit [Client Quit]
slash_join has joined #ruby
tkuchiki has joined #ruby
jjbohn has quit [Quit: Leaving...]
b00stfr3ak has quit [Ping timeout: 255 seconds]
shinobi_one has quit [Quit: shinobi_one]
glebm has joined #ruby
derek_c has quit [Ping timeout: 255 seconds]
DrShoggoth has quit [Quit: Leaving]
jjbohn has joined #ruby
ehc has joined #ruby
bradhe has joined #ruby
fgo has joined #ruby
CpuID has joined #ruby
zachallett has joined #ruby
boysetsfire has joined #ruby
GaryOak_ has quit [Ping timeout: 240 seconds]
jjbohn has quit [Ping timeout: 240 seconds]
ferno has quit [Ping timeout: 240 seconds]
Speed has quit [Ping timeout: 255 seconds]
yokel has joined #ruby
sdouglas has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
ferno has joined #ruby
lkba has joined #ruby
pmurtha has joined #ruby
codeFiend has joined #ruby
Salve has joined #ruby
samfisher has joined #ruby
weaksauce has quit [Read error: Operation timed out]
Maitiu has quit [Ping timeout: 252 seconds]
<samfisher> can I compile a ruby script for Windows CE (ARM arch)?
Maitiu has joined #ruby
virt|work has quit [Quit: Leaving...]
peta_ has joined #ruby
jjbohn has joined #ruby
dstynchula has quit []
peta_ has quit [Client Quit]
yokel has quit [Read error: Connection reset by peer]
yubrew has joined #ruby
yokel has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<Nyyx> samfisher: jruby?
Salve has quit [Ping timeout: 264 seconds]
axsuul has joined #ruby
<samfisher> Nyyx: i don't think win CE is java
Hanmac has joined #ruby
koell has quit [Ping timeout: 255 seconds]
sailias has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
samfisher has quit [Quit: exit error code 434]
lolmaus has quit [Ping timeout: 264 seconds]
yubrew has quit [Ping timeout: 255 seconds]
mjs2600 has quit [Remote host closed the connection]
smathieu has quit []
ffranz has quit [Quit: Leaving]
arubin has joined #ruby
yokel has quit [Ping timeout: 264 seconds]
codeFiend has quit [Quit: codeFiend]
yokel has joined #ruby
coderxin has quit [Remote host closed the connection]
invinceable has quit [Ping timeout: 252 seconds]
philcrissman has quit [Remote host closed the connection]
Azure has joined #ruby
IceyEC has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
cashnguns has joined #ruby
Speed has joined #ruby
samuel02 has joined #ruby
fridim__ has joined #ruby
lethjakman has joined #ruby
<lethjakman> is there a way to make something both a class method and a regular method within that class?
<lethjakman> I want to be able to use it within both functions
<lethjakman> it's protected currently
strayjane has joined #ruby
yokel has quit [Read error: Connection reset by peer]
mansi has joined #ruby
dingus_khan has joined #ruby
fgo has joined #ruby
Mapley is now known as IS_THIS_GREEN
IS_THIS_GREEN is now known as is_this_greener
endash_ has joined #ruby
endash_ has quit [Client Quit]
is_this_greener is now known as Mapley
yokel has joined #ruby
_maes_ has joined #ruby
<centrx> lethjakman, Why?
samuel02 has quit [Ping timeout: 255 seconds]
<lethjakman> centrx: because I need to access it in both a class and instance method
derek_c has joined #ruby
<centrx> lethjakman, Make it a class method, and access from the instance method using self.class
andrewlio has quit [Quit: Leaving.]
<lethjakman> centrx: that makes sense, thank you.
* centrx high five
nanoyak has quit [Quit: Computer has gone to sleep.]
bradhe has quit [Remote host closed the connection]
mjs2600 has joined #ruby
bradhe has joined #ruby
confounds has quit [Remote host closed the connection]
* lethjakman highfives centrx works :)
mikecmpbll has joined #ruby
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yokel has quit [Ping timeout: 240 seconds]
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
matcouto has joined #ruby
mansi has quit [Client Quit]
yokel has joined #ruby
bradhe_ has joined #ruby
bradhe has quit [Read error: Connection reset by peer]
endash_ has joined #ruby
koell has joined #ruby
momigi has quit [Remote host closed the connection]
Zunonia_ has joined #ruby
treaki_ has joined #ruby
mikepack_ has joined #ruby
momigi has joined #ruby
tylersmith has joined #ruby
mary5030 has quit [Ping timeout: 240 seconds]
mjs2600 has quit [Remote host closed the connection]
treaki has quit [Ping timeout: 255 seconds]
yokel has quit [Quit: leaving]
ferno has quit [Ping timeout: 246 seconds]
BuSerD has quit [Quit: Sleepy time! ZZZzzz…]
mikepack has quit [Ping timeout: 240 seconds]
dingus_khan has quit [Remote host closed the connection]
mikepack_ has quit [Ping timeout: 255 seconds]
sparrovv has quit [Remote host closed the connection]
i_s has quit [Remote host closed the connection]
ferno has joined #ruby
i_s has joined #ruby
* shevy slaps lethjakman with a trout
lolmaus has joined #ruby
<lethjakman> shevy: what'd I do?!
* lethjakman takes a bite
<shevy> you looked as if you would deserve it
<lethjakman> I imagine I do for some reason or another.
<shevy> YES!
<shevy> that is the right attitude!
kitak has joined #ruby
<lethjakman> lol...what about you? do you deserve a fishy slap to bring you back to reality?
<shevy> :(
<shevy> I am too fragile
<shevy> please slap someone else
<shevy> someone who uses python perhaps
rakm has quit [Ping timeout: 246 seconds]
adambeynon has quit [Ping timeout: 246 seconds]
bradhe_ has quit [Remote host closed the connection]
mattmcclure has quit [Ping timeout: 240 seconds]
pipework has quit [Ping timeout: 240 seconds]
dnyy has quit [Ping timeout: 246 seconds]
Hanmac1 has joined #ruby
alol_ has quit [Ping timeout: 246 seconds]
Avahey has quit [Ping timeout: 264 seconds]
guilleiguaran has quit [Ping timeout: 255 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
bradhe has joined #ruby
lectrick__ has quit [Ping timeout: 246 seconds]
cmaxw_____ has quit [Ping timeout: 246 seconds]
frode15243_ has quit [Ping timeout: 246 seconds]
antonishen has quit [Ping timeout: 246 seconds]
charles81 has quit [Ping timeout: 246 seconds]
flowerhack has quit [Ping timeout: 246 seconds]
kapowaz has quit [Ping timeout: 246 seconds]
bluehavana_ has quit [Ping timeout: 240 seconds]
pjsingh has joined #ruby
vcoinminer__ has quit [Ping timeout: 255 seconds]
rickenharp__ has quit [Ping timeout: 255 seconds]
xerxas has quit [Ping timeout: 246 seconds]
soulashell has quit [Ping timeout: 246 seconds]
jpinnix____ has quit [Ping timeout: 264 seconds]
Tranquility has quit [Ping timeout: 264 seconds]
schaary has quit [Ping timeout: 264 seconds]
mattyohe has quit [Ping timeout: 264 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
RaCx has quit [Ping timeout: 264 seconds]
mostlybadfly has quit [Ping timeout: 246 seconds]
nhmood has quit [Ping timeout: 255 seconds]
<shevy> guys
lepht_ has quit [Ping timeout: 246 seconds]
m4n1f3st0 has quit []
<shevy> a question for windows users out there
<shevy> in ruby, if I have: location = 'C:/Program Files (x86)/Notepad++/notepad++.exe'
i_s has quit [Ping timeout: 264 seconds]
Guest85414______ has quit [Ping timeout: 264 seconds]
jrunning_____ has quit [Ping timeout: 264 seconds]
im0b__ has quit [Ping timeout: 264 seconds]
<shevy> would this work (if the dir + file exists) ?
BaconOverflow has quit [Ping timeout: 240 seconds]
phantomwhale has quit [Ping timeout: 255 seconds]
<shevy> I want to run: system(location) then; i cant test as I have no windows machine nearby
Hanmac has quit [Ping timeout: 252 seconds]
RaCx has joined #ruby
jrunning_____ has joined #ruby
flowerhack has joined #ruby
mattmcclure has joined #ruby
rakm has joined #ruby
Avahey_ has joined #ruby
jpinnix____ has joined #ruby
lepht_ has joined #ruby
frode15243__ has joined #ruby
adambeynon has joined #ruby
predator217 has joined #ruby
Tranquility has joined #ruby
alol_ has joined #ruby
schaary_ has joined #ruby
cmaxw_____ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikemar10 has quit []
kapowaz has joined #ruby
antonishen has joined #ruby
charles81 has joined #ruby
vcoinminer__ has joined #ruby
soulashell has joined #ruby
lectrick__ has joined #ruby
phantomwhale has joined #ruby
mostlybadfly has joined #ruby
pipework has joined #ruby
rickenharp__ has joined #ruby
xerxas has joined #ruby
nhmood has joined #ruby
bluehavana_ has joined #ruby
im0b__ has joined #ruby
guilleiguaran_ has joined #ruby
Guest85414______ has joined #ruby
BaconOverflow has joined #ruby
skinny_much has quit [Ping timeout: 246 seconds]
<crome> \o/ netjoin \o/
SCommette has joined #ruby
montyboy has joined #ruby
dnyy has joined #ruby
tkuchiki has quit [Remote host closed the connection]
jamto11 has joined #ruby
mattyohe has joined #ruby
predator117 has quit [Ping timeout: 264 seconds]
w1zeman1p has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
skinny_much has joined #ruby
trhodes_ has quit [Ping timeout: 255 seconds]
cash_n_guns has joined #ruby
atlas__ has joined #ruby
bradhe has joined #ruby
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
njection has quit [Ping timeout: 252 seconds]
_lynX has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
IceyEC has quit [Quit: IceyEC]
slowz has joined #ruby
erikruthven has joined #ruby
doodlehaus has quit [Remote host closed the connection]
tesuji has joined #ruby
jamto11 has quit [Ping timeout: 255 seconds]
beneggett has quit [Ping timeout: 246 seconds]
trhodes_ has joined #ruby
SCommette has quit [Quit: SCommette]
cashnguns has quit [Ping timeout: 252 seconds]
bradhe has quit [Ping timeout: 240 seconds]
njection has joined #ruby
quatron has joined #ruby
Kneferilis has quit [Read error: Connection reset by peer]
<bnagy> shevy: anything ruby level should work with / or \\
<centrx> >> \
<eval-in> centrx => nil (https://eval.in/122206)
<bnagy> there are some native win API calls that require \\
<bnagy> but almost no ruby code you would ever use should be affected by that
robustus has quit [Ping timeout: 255 seconds]
<shevy> cool
ebobby has quit [Quit: Lost terminal]
<shevy> thx
<bnagy> but to launch some random app you can use system start blah.exe for example
dx7 has quit [Remote host closed the connection]
charles81 has quit [Ping timeout: 240 seconds]
<bnagy> I don't know offhand if you can just system a graphical exe and have it launch
robustus has joined #ruby
mattmcclure has quit [Ping timeout: 246 seconds]
Tranquility has quit [Ping timeout: 246 seconds]
lectrick__ has quit [Ping timeout: 246 seconds]
schaary_ has quit [Ping timeout: 246 seconds]
jrunning_____ has quit [Ping timeout: 255 seconds]
BaconOverflow has quit [Ping timeout: 255 seconds]
im0b__ has quit [Ping timeout: 240 seconds]
mostlybadfly has quit [Ping timeout: 246 seconds]
bedouin_ has quit [Ping timeout: 246 seconds]
bcavileer__ has quit [Ping timeout: 246 seconds]
davorb has quit [Ping timeout: 246 seconds]
jeregrine has quit [Ping timeout: 246 seconds]
RohanRNS has quit [Ping timeout: 264 seconds]
mattyohe has quit [Ping timeout: 264 seconds]
yo61 has quit [Ping timeout: 264 seconds]
pipework has quit [Ping timeout: 246 seconds]
xerxas has quit [Ping timeout: 246 seconds]
cmaxw_____ has quit [Ping timeout: 255 seconds]
frode15243__ has quit [Ping timeout: 255 seconds]
rakm has quit [Ping timeout: 240 seconds]
bluehavana_ has quit [Ping timeout: 246 seconds]
m4n1f3st0 has joined #ruby
lepht_ has quit [Ping timeout: 240 seconds]
Guest85414______ has quit [Ping timeout: 246 seconds]
phantomwhale has quit [Ping timeout: 255 seconds]
antonishen has quit [Ping timeout: 255 seconds]
vcoinminer__ has quit [Ping timeout: 255 seconds]
dnyy has quit [Ping timeout: 264 seconds]
guilleiguaran_ has quit [Ping timeout: 246 seconds]
flowerhack has quit [Ping timeout: 246 seconds]
jpinnix____ has quit [Ping timeout: 246 seconds]
Avahey_ has quit [Ping timeout: 246 seconds]
kapowaz has quit [Ping timeout: 240 seconds]
soulashell has quit [Ping timeout: 240 seconds]
nhmood has quit [Ping timeout: 255 seconds]
adambeynon has quit [Ping timeout: 246 seconds]
alol_ has quit [Ping timeout: 264 seconds]
gyre007___ has quit [Ping timeout: 255 seconds]
lembacon has joined #ruby
yubrew has joined #ruby
rickenharp__ has quit [Ping timeout: 264 seconds]
momigi has quit [Remote host closed the connection]
frode15243__ has joined #ruby
phantomwhale has joined #ruby
mostlybadfly has joined #ruby
momigi has joined #ruby
lepht_ has joined #ruby
rakm has joined #ruby
lectrick__ has joined #ruby
atlas__ has quit [Ping timeout: 255 seconds]
flowerhack has joined #ruby
jrunning_____ has joined #ruby
pipework has joined #ruby
schaary_ has joined #ruby
antonishen has joined #ruby
mattmcclure has joined #ruby
davorb has joined #ruby
bcavileer__ has joined #ruby
Tranquility has joined #ruby
mary5030 has quit [Ping timeout: 264 seconds]
Avahey_ has joined #ruby
xerxas has joined #ruby
mattyohe has joined #ruby
jeregrine has joined #ruby
cmaxw_____ has joined #ruby
dnyy has joined #ruby
kapowaz has joined #ruby
bedouin_ has joined #ruby
vcoinminer__ has joined #ruby
nhmood has joined #ruby
BaconOverflow has joined #ruby
jpinnix____ has joined #ruby
im0b__ has joined #ruby
bluehavana_ has joined #ruby
Salve has joined #ruby
soulashell has joined #ruby
adambeynon has joined #ruby
guilleiguaran_ has joined #ruby
yo61 has joined #ruby
gyre007___ has joined #ruby
RohanRNS has joined #ruby
lw has quit [Quit: s]
charles81 has joined #ruby
alol_ has joined #ruby
rickenharp__ has joined #ruby
mikemar10 has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
yubrew has quit [Ping timeout: 246 seconds]
zorak has quit [Ping timeout: 252 seconds]
lembacon has quit [Client Quit]
rootshift has joined #ruby
zachallett has quit [Remote host closed the connection]
anon_53k8 has joined #ruby
momigi_ has joined #ruby
momigi has quit [Read error: Connection reset by peer]
Guest85414______ has joined #ruby
sdouglas has quit [Remote host closed the connection]
njection has quit [Ping timeout: 240 seconds]
necrotic_ has joined #ruby
zB0hs has joined #ruby
necrotic_ has quit [Remote host closed the connection]
Salve has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby
i_s has joined #ruby
Hanmac has joined #ruby
danshultz has joined #ruby
funktor has joined #ruby
Salve has joined #ruby
CreativeEmbassy has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
RaCx has quit [Ping timeout: 264 seconds]
m4n1f3st0 has quit [Read error: Connection reset by peer]
njection has joined #ruby
m4n1f3st_ has joined #ruby
ekinmur has joined #ruby
RaCx has joined #ruby
Tomasso has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
tkuchiki has joined #ruby
m4n1f3st_ has quit [Read error: Connection reset by peer]
m4n1f3st0 has joined #ruby
jeregrine has quit [Quit: Connection closed for inactivity]
havenwood has joined #ruby
TheNumb has quit [Quit: ZNC - http://znc.in]
Salve has quit [Ping timeout: 264 seconds]
i_s has quit [Ping timeout: 255 seconds]
Spami has quit [Quit: This computer has gone to sleep]
nisstyre has quit [Ping timeout: 264 seconds]
slash_join has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
danshultz has quit [Remote host closed the connection]
zorak has joined #ruby
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
danshultz has joined #ruby
flowerhack has quit [Quit: Connection closed for inactivity]
ferno has quit [Ping timeout: 246 seconds]
m4n1f3st0 has quit []
Speed has quit [Ping timeout: 240 seconds]
fijimunkii has joined #ruby
coderxin has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maletor has quit [Quit: Computer has gone to sleep.]
amclain has joined #ruby
jjbohn has quit [Quit: Leaving...]
teddyp1cker has joined #ruby
agent_white has joined #ruby
<agent_white> Evenin' folks
mikecmpbll has quit [Client Quit]
danshultz has quit [Ping timeout: 252 seconds]
duggiefresh has joined #ruby
coderxin has quit [Ping timeout: 246 seconds]
jjbohn has joined #ruby
teddyp1cker has quit [Ping timeout: 246 seconds]
mercwithamouth has quit [Ping timeout: 252 seconds]
m4n1f3st0 has joined #ruby
mehlah has quit [Quit: Leaving...]
dingus_khan has joined #ruby
Tomasso has quit [Ping timeout: 252 seconds]
m4n1f3st_ has joined #ruby
YoloSwaggins has joined #ruby
jjbohn has quit [Ping timeout: 246 seconds]
terence has joined #ruby
strayjane has quit [Quit: strayjane]
MrJoshua has quit [Remote host closed the connection]
duggiefresh has quit [Remote host closed the connection]
agharris_ has joined #ruby
m4n1f3st0 has quit [Ping timeout: 255 seconds]
duggiefresh has joined #ruby
nisstyre has joined #ruby
zB0hs has quit [Quit: Textual IRC Client: www.textualapp.com]
nari has joined #ruby
funktor has quit []
m4n1f3st_ has quit [Client Quit]
agharris73 has quit [Ping timeout: 255 seconds]
YamakasY has joined #ruby
agharris_ has quit [Ping timeout: 240 seconds]
ehc has quit [Quit: ehc]
duggiefresh has quit [Ping timeout: 255 seconds]
bklane has joined #ruby
adkron has joined #ruby
wallerdev has quit [Quit: wallerdev]
thomasxie has joined #ruby
YamakasY has quit [Ping timeout: 246 seconds]
kwoodson is now known as kwoodson_gone
diegoviola has joined #ruby
BuSerD has joined #ruby
RaCx has quit [Ping timeout: 255 seconds]
maletor has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
maletor has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
maletor has joined #ruby
weaksauce has joined #ruby
peta_ has joined #ruby
<terence> hi guys, how Ruby does look-ups of variables and methods?
maletor has quit [Read error: Connection reset by peer]
isbadawi has joined #ruby
dingus_khan has quit [Remote host closed the connection]
maletor has joined #ruby
pmurtha has quit [Ping timeout: 240 seconds]
nari has quit [Ping timeout: 252 seconds]
<centrx> terence, What do you mean?
alexju has joined #ruby
zcreative has joined #ruby
<terence> Hmm, I meant how does MRI/YARV look up the variables and methods, for example, tree traversal ..., I need some details.
maletor_ has joined #ruby
braincra- has joined #ruby
erikruthven has quit [Quit: Textual IRC Client: www.textualapp.com]
_5kg_ has quit [Ping timeout: 252 seconds]
zcreative has quit [Client Quit]
danshultz has joined #ruby
maletor has quit [Ping timeout: 264 seconds]
maletor_ has quit [Read error: Connection reset by peer]
<centrx> terence, Note that 2.1 has some changes minimizing what actions cause the method cache to be cleared
tungd has joined #ruby
tcstar has joined #ruby
cescalante is now known as ce_afk
ce_afk is now known as cescalante
fgo has quit [Remote host closed the connection]
agharris73 has joined #ruby
sdouglas has joined #ruby
confounds has joined #ruby
maletor has joined #ruby
cash_n_guns has quit [Remote host closed the connection]
tcstar has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 264 seconds]
Hobogrammer has quit [Ping timeout: 255 seconds]
jjbohn has joined #ruby
yubrew has joined #ruby
<terence> centrx: it's awesome, that's what I want!
segmond has quit [Read error: Connection reset by peer]
segmond has joined #ruby
wallerdev has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
jjbohn has quit [Ping timeout: 264 seconds]
wallerdev has quit [Client Quit]
wallerdev has joined #ruby
cescalante is now known as ce_afk
peta_ has quit [Remote host closed the connection]
Elico has left #ruby [#ruby]
peta_ has joined #ruby
tcstar has joined #ruby
lethjakman has quit [Ping timeout: 246 seconds]
SonicX has joined #ruby
tcstar has quit [Client Quit]
maletor has quit [Ping timeout: 246 seconds]
rakm has quit [Quit: Connection closed for inactivity]
kitak has quit [Remote host closed the connection]
snath has joined #ruby
mgomezch_ has quit [Ping timeout: 264 seconds]
SonicX_ has joined #ruby
nari has joined #ruby
SonicX has quit [Ping timeout: 252 seconds]
maletor has joined #ruby
trhodes_ has quit [Ping timeout: 255 seconds]
Salve has joined #ruby
RaCx has quit [Ping timeout: 240 seconds]
maletor_ has joined #ruby
RaCx has joined #ruby
jlast has joined #ruby
abra has quit [Ping timeout: 264 seconds]
maletor has quit [Ping timeout: 255 seconds]
tesuji has quit [Ping timeout: 240 seconds]
xerxas has quit [Quit: Connection closed for inactivity]
Salve has quit [Ping timeout: 255 seconds]
trhodes_ has joined #ruby
YoloSwaggins has quit [Ping timeout: 264 seconds]
zorak has quit [Ping timeout: 246 seconds]
abra has joined #ruby
bricker_ has joined #ruby
bricker has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
coderxin has joined #ruby
lyanchih_ has joined #ruby
Mapley has quit [Quit: bai!]
freerobby has joined #ruby
Mapley has joined #ruby
coderxin has quit [Ping timeout: 246 seconds]
monsieurp has quit [Read error: Connection reset by peer]
monsieurp has joined #ruby
CpuID2 has joined #ruby
fgo has joined #ruby
ce_afk is now known as cescalante
boysetsfire has quit [Quit: WeeChat 0.4.3]
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
peta_ has quit [Quit: peta_]
evenix has quit [Remote host closed the connection]
cescalante is now known as ce_afk
marcdel has joined #ruby
CpuID has quit [Ping timeout: 246 seconds]
montyboy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endash_ has quit [Quit: endash_]
fgo has quit [Ping timeout: 246 seconds]
strayjane has joined #ruby
Lewix has joined #ruby
jefflyne_ has quit [Ping timeout: 246 seconds]
sambao21 has joined #ruby
_5kg_ has joined #ruby
jefflyne has joined #ruby
sambao21 has quit [Client Quit]
linojon has joined #ruby
evenix has joined #ruby
fgo has joined #ruby
dingus_khan has joined #ruby
saarinen has joined #ruby
bklane has quit [Quit: Leaving...]
fayimora_ has quit [Ping timeout: 252 seconds]
drjblouse__ has quit [Ping timeout: 252 seconds]
Hanmac has quit [Ping timeout: 264 seconds]
drjblouse__ has joined #ruby
fayimora_ has joined #ruby
jrhorn424 is now known as zz_jrhorn424
RaCx has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
QuintinAdam has joined #ruby
RaCx has joined #ruby
Cache_Money_ has joined #ruby
TMM has quit [Ping timeout: 252 seconds]
QuintinAdam has left #ruby [#ruby]
krz has joined #ruby
sdouglas has quit [Remote host closed the connection]
pu22l3r has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
sambao21 has quit [Quit: Computer has gone to sleep.]
yubrew has joined #ruby
sdouglas has joined #ruby
saarinen has joined #ruby
Steve445 has joined #ruby
atlas__ has joined #ruby
thomasxie has left #ruby [#ruby]
sambao21 has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
agharris73 has quit []
sepp2k has quit [Read error: Connection reset by peer]
Steve445 has quit [Client Quit]
danno1 has quit [Ping timeout: 264 seconds]
yubrew has quit [Ping timeout: 246 seconds]
dx7 has joined #ruby
BuSerD has quit [Quit: Sleepy time! ZZZzzz…]
lw has joined #ruby
jjbohn has joined #ruby
Cache_Money_ is now known as Cache_Money
dseitz has joined #ruby
ankov has joined #ruby
ankov has quit [Read error: Connection reset by peer]
TMM has joined #ruby
BuSerD has joined #ruby
ankov has joined #ruby
ankov has quit [Read error: Connection reset by peer]
ankov has joined #ruby
ankov has quit [Read error: Connection reset by peer]
jjbohn has quit [Ping timeout: 252 seconds]
endash_ has joined #ruby
ankov has joined #ruby
ankov has quit [Read error: Connection reset by peer]
ekinmur has quit []
ankov has joined #ruby
ankov has quit [Remote host closed the connection]
ankov has joined #ruby
Hanmac has joined #ruby
tungd has quit [Ping timeout: 246 seconds]
adkron has quit [Quit: WeeChat 0.4.2]
tungd has joined #ruby
freerobby has quit [Quit: Leaving.]
tectonic has joined #ruby
RaCx has quit [Ping timeout: 240 seconds]
rezzack has quit [Quit: Leaving.]
sdouglas has quit [Remote host closed the connection]
afex has quit [Ping timeout: 252 seconds]
Salve has joined #ruby
sdouglas has joined #ruby
duggiefresh has joined #ruby
benatkin has quit [Quit: leaving]
RaCx has joined #ruby
saarinen has quit [Quit: saarinen]
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
Salve has quit [Ping timeout: 264 seconds]
jlast has quit [Remote host closed the connection]
sensen has joined #ruby
danshultz has quit [Ping timeout: 255 seconds]
coderxin has joined #ruby
BuSerD has quit [Quit: Sleepy time! ZZZzzz…]
teddyp1cker has joined #ruby
duggiefresh has quit []
strayjane has quit [Quit: strayjane]
endash_ has quit [Quit: endash_]
BuSerD has joined #ruby
spergy has joined #ruby
glebm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coderxin has quit [Ping timeout: 252 seconds]
teddyp1cker has quit [Ping timeout: 240 seconds]
sailias has quit [Ping timeout: 240 seconds]
kobain has quit [Ping timeout: 240 seconds]
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
kobain has joined #ruby
kitak has joined #ruby
Steve445 has joined #ruby
radic_ has quit [Ping timeout: 255 seconds]
sdouglas has joined #ruby
blom_ has joined #ruby
pjsingh has quit [Ping timeout: 264 seconds]
radic has joined #ruby
samuel02 has joined #ruby
YamakasY has joined #ruby
confounds has quit [Ping timeout: 246 seconds]
IceDragon has quit [Quit: Space~~~]
BuSerD has quit [Quit: Sleepy time! ZZZzzz…]
YamakasY has quit [Ping timeout: 264 seconds]
samuel02 has quit [Ping timeout: 255 seconds]
RaCx has quit [Ping timeout: 255 seconds]
RaCx has joined #ruby
arietis has joined #ruby
<centrx> >> [1,2,3] * "potato"
<eval-in> centrx => "1potato2potato3" (https://eval.in/122230)
<centrx> >> [1,2,3,4] * "potato"
<eval-in> centrx => "1potato2potato3potato4" (https://eval.in/122231)
beneggett has joined #ruby
confounds has joined #ruby
Hanmac1 has joined #ruby
<centrx> >> [5,6,7] * "potato" + "more"
<eval-in> centrx => "5potato6potato7more" (https://eval.in/122232)
yasushi has joined #ruby
<centrx> >> [5,6,7, 'more'] * "potato"
<eval-in> centrx => "5potato6potato7potatomore" (https://eval.in/122233)
yubrew has joined #ruby
michaeldeol has joined #ruby
linojon has quit [Quit: linojon]
Hanmac has quit [Ping timeout: 252 seconds]
Cache_Money has quit [Quit: Cache_Money]
BuSerD has joined #ruby
BuSerD has quit [Client Quit]
abdulsattar has joined #ruby
slash_join has joined #ruby
mikepack has quit [Remote host closed the connection]
carvantes has joined #ruby
mikepack has joined #ruby
kitak has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
Jason has left #ruby [#ruby]
jlast has joined #ruby
kenndel has joined #ruby
kitak has joined #ruby
slash_join has quit []
mikepack has quit [Ping timeout: 246 seconds]
braincra- has quit [Quit: bye bye]
jlast has quit [Ping timeout: 264 seconds]
braincrash has joined #ruby
jjbohn has joined #ruby
saarinen has joined #ruby
Tamae has quit [Read error: Connection reset by peer]
abdulsattar has quit [Ping timeout: 246 seconds]
confounds has quit []
Hobogrammer has joined #ruby
bricker`LA has joined #ruby
jjbohn has quit [Ping timeout: 255 seconds]
abdulsattar has joined #ruby
AlexRussia has quit [Quit: Konversation terminated!Good bye!]
charliesome has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
byennen has quit []
_maes_ has joined #ruby
RaCx has quit [Ping timeout: 255 seconds]
SonicX_ has quit [Ping timeout: 264 seconds]
RaCx has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
Salve has joined #ruby
<terence> what is an UnboundMethod
tylersmith has quit [Remote host closed the connection]
fbernier has joined #ruby
crystal77 has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> >> [1,2,3,4] * "potato"
<eval-in> centrx => "1potato2potato3potato4" (https://eval.in/122234)
<centrx> >> [5,6,7, 'more'] * "potato"
<eval-in> centrx => "5potato6potato7potatomore" (https://eval.in/122235)
AlexRussia has joined #ruby
agent_white has quit [Quit: Lost terminal]
nopolitica has joined #ruby
Salve has quit [Ping timeout: 240 seconds]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
SonicX has joined #ruby
tylersmith has joined #ruby
atlas__ has quit [Ping timeout: 255 seconds]
atlas__ has joined #ruby
coderxin has joined #ruby
lw has quit [Quit: s]
agent_white has joined #ruby
keen_____ has quit [Ping timeout: 252 seconds]
abdulsattar has quit [Ping timeout: 246 seconds]
yacks has joined #ruby
_justin has joined #ruby
endash_ has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has quit [Ping timeout: 240 seconds]
coderxin has quit [Ping timeout: 264 seconds]
<arubin> centrx: That is humorous.
SCommette has joined #ruby
chipotle has joined #ruby
blom_ has quit [Remote host closed the connection]
x1337807x has joined #ruby
blom_ has joined #ruby
<centrx> :)
fijimunkii has quit [Quit: leaving]
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blom_ has quit [Ping timeout: 264 seconds]
chipotle has quit [Ping timeout: 264 seconds]
axsuul has quit [Read error: Connection reset by peer]
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
evenix has quit [Remote host closed the connection]
axsuul has joined #ruby
CreativeEmbassy has joined #ruby
derek_c has quit [Quit: Leaving]
wjlafrance has quit [Quit: This computer has gone to sleep]
sparrovv has joined #ruby
wjlafrance has joined #ruby
bradhe has joined #ruby
yasushi has quit [Remote host closed the connection]
abdulsattar has joined #ruby
yubrew has joined #ruby
yasushi has joined #ruby
yasushi has quit [Remote host closed the connection]
keen_____ has joined #ruby
fijimunkii has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
chris_thomson has quit [Quit: Zzz...]
sparrovv has quit [Ping timeout: 252 seconds]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
abdulsattar has quit [Ping timeout: 246 seconds]
saarinen has quit [Quit: saarinen]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
yubrew has quit [Ping timeout: 240 seconds]
fgo_ has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
fijimunkii has quit [Quit: leaving]
havenwood has quit [Ping timeout: 240 seconds]
fijimunkii has joined #ruby
fgo has quit [Ping timeout: 252 seconds]
abdulsattar has joined #ruby
kitak has quit [Remote host closed the connection]
voglster has joined #ruby
AussieDownUnder has joined #ruby
philcrissman has joined #ruby
chipotle has joined #ruby
kitak has joined #ruby
<voglster> is there a more ruby way of doing something like this? (1..length).map { random_character }.join ... seems wordy and bothers me.. basically I am creating a random "length" character string
lxsameer has joined #ruby
<abdulsattar> >> (1..10).map{('A'..'Z').shuffle}.join
<eval-in> abdulsattar => undefined method `shuffle' for "A".."Z":Range (NoMethodError) ... (https://eval.in/122255)
jlast has joined #ruby
SonicX has quit [Remote host closed the connection]
<abdulsattar> >> ('A'..'Z').sample.take(10)
<eval-in> abdulsattar => undefined method `sample' for "A".."Z":Range (NoMethodError) ... (https://eval.in/122256)
<abdulsattar> >> ('A'..'Z').to_a.sample.take(10)
<eval-in> abdulsattar => undefined method `take' for "Y":String (NoMethodError) ... (https://eval.in/122257)
snuffeluffegus has quit [Remote host closed the connection]
<abdulsattar> >> ('A'..'Z').to_a.sample[0,10]
<eval-in> abdulsattar => "G" (https://eval.in/122258)
<abdulsattar> >> ('A'..'Z').to_a.shuffle[0,10]
<eval-in> abdulsattar => ["G", "J", "D", "S", "L", "T", "X", "M", "Q", "I"] (https://eval.in/122260)
<abdulsattar> >> ('A'..'Z').to_a.shuffle[0,10].join
<eval-in> abdulsattar => "ZTRFDPGWUM" (https://eval.in/122261)
<abdulsattar> lol there you go voglster
kitak has quit [Remote host closed the connection]
atlas__ has quit [Ping timeout: 264 seconds]
Hanmac has joined #ruby
[gmi] has joined #ruby
<voglster> lol
<voglster> slightly spammy much? hehe
sambao21 has quit [Quit: Computer has gone to sleep.]
kitak has joined #ruby
dx7 has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 255 seconds]
Hanmac1 has quit [Ping timeout: 264 seconds]
beauby has quit [Ping timeout: 264 seconds]
dx7 has joined #ruby
larsam has quit [Quit: larsam]
<abdulsattar> yea should have tried that in my terminal, sorry
kitak has quit [Read error: Connection reset by peer]
Elico has joined #ruby
kitak has joined #ruby
fgo_ has quit [Remote host closed the connection]
agent_white has quit [Quit: brb]
jjbohn has joined #ruby
derek_c has joined #ruby
dx7 has quit [Ping timeout: 246 seconds]
blom_ has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
davedev24 has quit [Remote host closed the connection]
mikemar10 has quit []
jbueza has quit [Quit: Textual IRC Client: www.textualapp.com]
Wes___ has joined #ruby
jjbohn has quit [Ping timeout: 264 seconds]
evenix has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
Steve445 has quit [Quit: Steve445]
RyanV has joined #ruby
lyanchih_ has joined #ruby
RaCx has quit [Ping timeout: 255 seconds]
RaCx has joined #ruby
RyanV has left #ruby [#ruby]
SCommette has quit [Quit: SCommette]
blom_ has quit [Ping timeout: 255 seconds]
ankov has quit [Read error: Connection reset by peer]
Wes___ is now known as Wes32
kotakotakota has quit [Ping timeout: 255 seconds]
Wes32 has quit [Quit: Textual IRC Client: www.textualapp.com]
mikepack has joined #ruby
Elico has quit [Read error: Connection reset by peer]
AussieDownUnder has quit [Ping timeout: 252 seconds]
baroquebobcat has joined #ruby
Salve has joined #ruby
atlas__ has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
senayar has joined #ruby
browndawg has joined #ruby
mikepack has quit [Ping timeout: 264 seconds]
redlines has joined #ruby
Salve has quit [Ping timeout: 264 seconds]
bearg has joined #ruby
fijimunkii has quit [Ping timeout: 246 seconds]
Hanmac1 has joined #ruby
<centrx> voglster, Doesn't SecureRandom have that alreayd?
coderxin has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
senayar has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
saarinen has joined #ruby
anarang has joined #ruby
baroquebobcat_ has joined #ruby
baroquebobcat has quit [Read error: Connection reset by peer]
baroquebobcat_ is now known as baroquebobcat
monkegjinni has joined #ruby
coderxin has quit [Ping timeout: 246 seconds]
teddyp1cker has quit [Ping timeout: 252 seconds]
mrnugget has joined #ruby
mengu has joined #ruby
evenix has quit [Remote host closed the connection]
yubrew has joined #ruby
larsam has joined #ruby
mengu has quit [Ping timeout: 240 seconds]
ninegrid has quit [Read error: Operation timed out]
Hobogrammer has quit [Ping timeout: 255 seconds]
blom_ has joined #ruby
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby
endash_ has quit [Quit: endash_]
RaCx has quit [Ping timeout: 255 seconds]
YamakasY has joined #ruby
Shidash has quit [Ping timeout: 246 seconds]
yubrew has quit [Ping timeout: 264 seconds]
RaCx has joined #ruby
hobodave has joined #ruby
senayar has joined #ruby
YamakasY has quit [Ping timeout: 252 seconds]
AussieDownUnder has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
dingus_khan has quit [Remote host closed the connection]
blom_ has quit [Ping timeout: 246 seconds]
derek_c has quit [Ping timeout: 240 seconds]
AussieDownUnder has quit [Remote host closed the connection]
AlexRussia has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
noop has joined #ruby
<terence> Does it use self to define class-level method, and define instance method without self, or the contrary
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
philcrissman has quit [Remote host closed the connection]
lethjakman has joined #ruby
jlast has joined #ruby
vlad_starkov has joined #ruby
helpa has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 255 seconds]
Solnse has quit [Quit: Leaving.]
Radar has quit [Quit: ZNC - http://znc.in]
Radar has joined #ruby
Radar is now known as Guest21172
pjsingh has joined #ruby
Guest21172 is now known as Radar
helpa has joined #ruby
<centrx> terence, def x is instance method
<terence> yes centrx!
tyfighter has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
<centrx> def can add a method to any object
<centrx> like def MyClass.x
<centrx> So def self.x is like that
jlast has quit [Ping timeout: 264 seconds]
sdouglas has quit [Remote host closed the connection]
jjbohn has joined #ruby
terence has quit [Ping timeout: 245 seconds]
Hobogrammer has joined #ruby
fgo has joined #ruby
CBlock811 has joined #ruby
atlas__ has quit [Ping timeout: 264 seconds]
binxiao has joined #ruby
<CBlock811> So many people on here. Is this a good place to ask questions on a Rails project I have?
isbadawi has quit [Quit: isbadawi]
<centrx> CBlock811, #rubyonrails
<CBlock811> Thanks. Sorry I just downloaded this seconds ago ><
Mon_Ouie has joined #ruby
CBlock811 has quit [Client Quit]
jjbohn has quit [Ping timeout: 252 seconds]
shaileshg has joined #ruby
phansch has joined #ruby
decoponio has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
RaCx has quit [Ping timeout: 252 seconds]
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
lolmaus has joined #ruby
binxiao is now known as bin9xiao
RaCx has joined #ruby
browndawg1 has joined #ruby
<jle`> have been away from the ruby scene for so long due to work. what's new in ruby? miss you all.
Spami has joined #ruby
himsin has joined #ruby
browndawg has quit [Ping timeout: 246 seconds]
<jle`> is there a new double parser exploit these days
<centrx> jle`, What's that?
cj3kim has joined #ruby
fgo has quit [Remote host closed the connection]
<jle`> a security exploit that involves ruby's double/float/number parser
<jle`> sort of a joke since there was a time when it felt like there was a new one every few weeks or so
<centrx> What was the last version of Ruby you used
pjsingh has quit [Quit: Konversation terminated!]
pjsingh has joined #ruby
mengu has joined #ruby
axsuul has quit [Ping timeout: 264 seconds]
derek_c has joined #ruby
kung has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
<jle`> um 1.9.3 or somewhere around that
apeiros_ has joined #ruby
Salve has joined #ruby
cj3kim_ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has joined #ruby
aganov has joined #ruby
momigi_ has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 264 seconds]
Salve has quit [Ping timeout: 255 seconds]
Zunonia_ has quit [Read error: Connection reset by peer]
Zunonia__ has joined #ruby
axsuul has joined #ruby
wjlafrance has quit [Quit: This computer has gone to sleep]
cj3kim_ has quit [Remote host closed the connection]
CaptainJet has quit []
lyanchih_ has quit [Quit: lyanchih_]
coderxin has joined #ruby
sensen has quit [Ping timeout: 252 seconds]
Zunonia__ has quit [Ping timeout: 255 seconds]
pjsingh has quit [Quit: Konversation terminated!]
cj3kim has joined #ruby
hobodave has quit [Ping timeout: 240 seconds]
tonni has quit [Remote host closed the connection]
tagrudev has joined #ruby
yubrew has joined #ruby
coderxin has quit [Ping timeout: 240 seconds]
contradictioned has joined #ruby
maletor_ has quit [Quit: Computer has gone to sleep.]
Zunonia__ has joined #ruby
cj3kim has quit [Remote host closed the connection]
blom_ has joined #ruby
koell has quit [Read error: Connection reset by peer]
Elico has joined #ruby
yubrew has quit [Ping timeout: 255 seconds]
cj3kim has joined #ruby
sensen has joined #ruby
RaCx has quit [Ping timeout: 240 seconds]
funburn has quit [Quit: funburn]
tyfighter has quit [Quit: tyfighter]
RaCx has joined #ruby
blom_ has quit [Ping timeout: 246 seconds]
m1lt0n_ has joined #ruby
amclain has quit [Quit: Leaving]
tylersmith has quit [Remote host closed the connection]
Krypt has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
tonni has joined #ruby
bal has joined #ruby
Zunonia__ has quit [Quit: Computer has gone to sleep.]
creede has joined #ruby
Mon_Ouie has quit [Ping timeout: 246 seconds]
_justin has quit [Quit: _justin]
apeiros_ has quit [Remote host closed the connection]
apeiros has joined #ruby
ayaz has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Zunonia__ has joined #ruby
jlast has joined #ruby
samuel02 has joined #ruby
apeiros has quit [Ping timeout: 246 seconds]
_justin has joined #ruby
kitak has quit [Read error: Connection reset by peer]
centrx has quit [Quit: All this computer hacking is making me thirsty]
kitak has joined #ruby
Lewix has quit [Remote host closed the connection]
samuel02 has quit [Ping timeout: 246 seconds]
jlast has quit [Ping timeout: 252 seconds]
AlexRussia has joined #ruby
AlexRussia has quit [Client Quit]
_justin has quit [Ping timeout: 264 seconds]
sski has quit [Remote host closed the connection]
jjbohn has joined #ruby
lethjakman has quit [Ping timeout: 246 seconds]
mikepack has joined #ruby
mengu has quit [Remote host closed the connection]
klaut has joined #ruby
mengu has joined #ruby
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jjbohn has quit [Ping timeout: 240 seconds]
ga1j1n has joined #ruby
mikepack has quit [Ping timeout: 264 seconds]
blom has joined #ruby
RaCx_ has joined #ruby
RaCx has quit [Ping timeout: 255 seconds]
RaCx_ is now known as RaCx
_justin has joined #ruby
mrnugget has quit [Quit: mrnugget]
banister has joined #ruby
axsuul has quit [Ping timeout: 255 seconds]
bradhe has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
gnephiak has joined #ruby
nomenkun has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
tungd has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
carvantes has quit [Quit: WeeChat 0.4.2]
blom has quit [Ping timeout: 255 seconds]
funburn has joined #ruby
apeiros has joined #ruby
yasu has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
yasu has joined #ruby
Salve has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
senayar_ has joined #ruby
fella6s has joined #ruby
wallerdev has quit [Ping timeout: 255 seconds]
jph98 has joined #ruby
ikaros has joined #ruby
Hobogrammer has quit [Ping timeout: 264 seconds]
senayar has quit [Ping timeout: 264 seconds]
Alina-malina has quit [Ping timeout: 264 seconds]
fella5s has quit [Ping timeout: 264 seconds]
robbyoconnor has joined #ruby
Alina-malina has joined #ruby
Salve has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby
cj3kim has quit [Remote host closed the connection]
yubrew has joined #ruby
tectonic has quit []
coderxin has joined #ruby
nomenkun has quit [Ping timeout: 264 seconds]
nomenkun has joined #ruby
derek_c has quit [Ping timeout: 264 seconds]
teddyp1cker has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
dagobah has joined #ruby
anoldhacker has joined #ruby
nism has joined #ruby
coderxin has quit [Ping timeout: 246 seconds]
anoldhacker has quit [Client Quit]
YamakasY has joined #ruby
cj3kim has joined #ruby
teddyp1cker has quit [Ping timeout: 255 seconds]
monkegjinni has quit [Remote host closed the connection]
funburn has quit [Quit: funburn]
saarinen has joined #ruby
arturaz has joined #ruby
saarinen has quit [Client Quit]
ephemerian has joined #ruby
CpuID2 has quit [Ping timeout: 264 seconds]
RaCx has quit [Ping timeout: 246 seconds]
RaCx has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
jprovazn has joined #ruby
arturaz has quit [Remote host closed the connection]
YamakasY has quit [Remote host closed the connection]
<Cork> anyone know of a d3des crypto lib that works with ruby 2.1?
<Cork> https://github.com/trinitronx/vncpasswd.py/blob/master/d3des.rb only works with with ruby up to 1.9
bin9xiao has quit [Remote host closed the connection]
__greg has quit [Quit: This computer has gone to sleep]
Steve445 has joined #ruby
renklaf has quit [Ping timeout: 246 seconds]
claymore has joined #ruby
vlad_starkov has joined #ruby
funburn has joined #ruby
nfk has joined #ruby
jph98 has quit [Quit: jph98]
rdark has joined #ruby
maasha has joined #ruby
ga1j1n has quit [Remote host closed the connection]
<maasha> apeiros: that fork gem of yours ...
phansch has quit [Quit: WeeChat 0.4.2]
ga1j1n has joined #ruby
<apeiros> maasha: yes?
<maasha> apeiros: I had a look at the code and it is really nice :o) much nicer than forkoff and forkmanager </ flattery>
jlast has joined #ruby
<apeiros> oh, thanks
<apeiros> your … sounded like something was bad :D
xyloprexam has joined #ruby
<xyloprexam> has anyone
<xyloprexam> has anyone dope
<maasha> apeiros: sooooo :o) if you were to design a fork pool using your gem so could do something like this: https://gist.github.com/maasha/7c35a13f87a2671e6939 - then how?
AussieDownUnder has joined #ruby
LekeFly has joined #ruby
ga1j1n has quit [Ping timeout: 264 seconds]
monkegjinni has joined #ruby
LekeFly has quit [Client Quit]
jlast has quit [Ping timeout: 246 seconds]
<maasha> apeiros: In fact, I should think such an example a worthy demo of your gem.
<apeiros> maasha: I'd start a fixed number of forks, write a control object which queues up jobs and feeds a new job to a fork which has finished a job
monkegjinni has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
<Steve445> anyone able to suggest a good calendar builder?
sk87 has joined #ruby
<Steve445> looking for something to build out a html calendar that i can place daily "dollar values" into
<certainty> Cork: is that triple DES?
RyanV has joined #ruby
<maasha> apeiros: yeah, and the control object keeps track of finished jobs how?
<Cork> certainty: its a character scrambling algorithm used by vnc
<apeiros> maasha: either async/callback style, futures, or blocking
<maasha> Steve445: checkout ruby toolbox
<Cork> (and no it isn't even remotely secure)
<Steve445> i did
<Steve445> nothing special popped out
relix has joined #ruby
<Cork> certainty: but it is what client sends so i need to generate it
<apeiros> maasha: 4th alternative might be key/value-like, i.e. when you start a job you have to provide an ID (or get one) which you can use to check the result
CpuID has joined #ruby
<certainty> Cork: ah ok, then I have no idea
<apeiros> personally I prefer future & blocking styles. can be done both. See Fork::future and Fork::return
* apeiros brb
funburn has quit [Quit: funburn]
blom has joined #ruby
jjbohn has joined #ruby
<xyloprexam> ] # * : V B < C w N D z D N S ~ y \ q m h g 2 , C ? t j ? u Y E Y C o G + w y N : , ~ %
<xyloprexam> [ B d } K r ] S S ' i K u A ^ " u > x : w * $ ] | f Q E } 7 - u k # : _ { h ? 8 W D v = H X C \ 0 f M +
<xyloprexam> U Z m
<xyloprexam> @ i L @ j
<xyloprexam> Y n J g z i ` A F ( m ) V R \ b Q ( 0 p C c ! ' < a | @ D o { g p U O n 5 p 0 k m < + x | ^
<xyloprexam> F @ ' <
<xyloprexam> * + * L q u C < < l i : k & p i M D L w X W I + S ' t S & . v ; H * u x . & { p + E { x M
<xyloprexam> ~ n s h
<xyloprexam> { j { Q h b N g a T o + - 8 " N _ _ / U e s " m E G X _ , ^ _ \ K b ! I | = Z ! _ S ' ' F B H
<certainty> erm
<xyloprexam> I n r 2
<xyloprexam> X { b h ^ " h { i E Y m e ` ^ & E D G J 2 / * Z } Y | 4 N r Y q x M n ( : R a O G ^ ~ m n a f T
<xyloprexam> ; H ^ \
<xyloprexam> N g n R ? K \ h ^ X v 9 ! A M l d x : - ( r : x O g X / R C f U Y - < T ; W A ; n } @ {
<xyloprexam> - m s $
<xyloprexam> S h + ( P H U B f % e u X n A V n } , 8 P x Z < . O . 3 y 6 J o ' B ~ # G { E - # G u " + g M u - K &
<xyloprexam> e " "
<xyloprexam> O / ; i a S + s g ) * h E g X X ^ / + K \ q E Q . ] Z | t G < o / y 3 2 m H a A 9 \ e [ f y 2
<xyloprexam> x y f $
<xyloprexam> ( - ^ & > f E / { \ Q q ^ ` + k * ` D . ` k l ( F U S C ) d 6 ] h C k ^ L $ | < & K f @ ' @ b
<xyloprexam> 8 { w n
<xyloprexam> } @ - q l ; | K P : v H U i / ] j d } " V Z U M = S l } 7 X w s \ | f A J 9 : / 0 x l : 9 z
<xyloprexam> G O m e
<xyloprexam> J I M " { ? t ! 1 Z E A H S F i , o - ( r < H T $ ] I ' p o r k t = @ , % r F ) 6 * ; C _ <
<xyloprexam> ( o c
<certainty> apeiros: ?
<xyloprexam> $ } y U . G i n @ ; < R P D a c V + t K ! Z s S ( c g U B ? B H H C Y , @ | X ) j P l F u R f
<xyloprexam> g G i k
<xyloprexam> h s c ~ Z # D $ p ) f Y ; Z Y ? y v | q | y O s . 1 ` S ? / * > ; F T s L e 0 5 z ) < u e v
<xyloprexam> , t j M
<xyloprexam> ` E h U Z } h < r f w c a E ! ( Q [ o a w R d . J ( = K 9 | Y & T } y X " j P _ \ q k % L u X
<xyloprexam> w c j V
xyloprexam was kicked from #ruby by apeiros [xyloprexam]
xyloprexam has joined #ruby
<xyloprexam> 6 R c &
<xyloprexam> R * j @ % ' v * \ G L a v W I S 1 g * U h + q { e F } s C W a ~ # l [ I [ : 2 ; R * x } ^
<xyloprexam> ! ^ # @ P
xyloprexam was kicked from #ruby by apeiros [xyloprexam]
<certainty> thanks
<apeiros> man, I wanted to go do something. f'king f'ktard :(
* apeiros now really brb
<crome> hah
Steve445 has quit [Quit: Steve445]
userx has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Excess Flood]
abdulsattar has quit [Ping timeout: 255 seconds]
robbyoconnor has joined #ruby
jjbohn has quit [Ping timeout: 240 seconds]
<maasha> another vanquished ASCII ninja
RaCx has quit [Ping timeout: 255 seconds]
JasmeetQA has joined #ruby
RaCx has joined #ruby
<tobiasvl> lol
mrnugget has joined #ruby
tonni has quit [Remote host closed the connection]
blom has quit [Ping timeout: 246 seconds]
cj3kim has joined #ruby
sdouglas has joined #ruby
Xeago has joined #ruby
doesntmatter has joined #ruby
<doesntmatter> Rum daddy doo daddy dee.
<doesntmatter> blaggy bluck to the bluck a leckel blickel! Trax a mix reg norge. Chak chip chilli lip. Maggity heg hole potatoe. bluggity blik bag to the bluk a blicky bluk. Wunna mah loe mic tatum. wunna mah low mic tatum! reggity dick ash. busta hurts o dip we dip, my oh my we flip we dip. put the foon most own your blip, when I dip you dip we dip
jprovazn has quit [Ping timeout: 246 seconds]
<doesntmatter> i waas skoggin along when something took my eyes away from the ground kind of like mad debbies banana cake 8 marks out of ten (as near pefection as human can achieve), when she gets manic-2 she cooks twenty at a time, and then brings them to the homeless shelter at 5am in the morning.
<doesntmatter> Yo'in what we saying with our chimp out spam! Is anyone out there a rump rastin rider? Rem dem lie-card. Shodie Shum Bam. Ego shocking shim sham Ralla glecky glue barg. To jella, too jealous, to jellify you Has anyone juckered the bloopa licta lupper?
<doesntmatter> Fredder reader roadie! Fredder, reeder! Freeder reader roadie! Choo Fornex Moon! Grime Read Blagh. Hucka Lucka Jenkinship. Rooby boop bab Snow snaw snobophone Hells a fuckin foo! My suddenly chucka lucka ling way! Blub up your room, black ass bloom! Rye demminy yay! Fuckin buckin bitchhole!
<doesntmatter> get a electric egg cooker and get a power inverter. regger duck a licker! Ridin my jolts, ridin my shoes. Anyone got an electrifier chubber? i got the ab doer! I've got an electric egg dicker! Egga trella licker! Fuck duck dick dad!
<doesntmatter> Reckity knick knack the rep tep hegger. Isn't it awful how it's jeckally jewish? Poona mah nuff miff the peenified Tank the teeius tanker. The shiny dot in the middle of a line, ruck tuck tegger, ruck tuck time. Gigga McKompfrin. Rum dicka day material map.
claymore has quit [Ping timeout: 264 seconds]
<doesntmatter> Partinks spee spaga speel scrap. Ruda Trooda. Ejection request. Heffy the jello wup. Juffo-wup! rab locid rebbasmoth. The Proteus Animal Plannable. Poo da Boo! need 10-15 people straight Groaning my grurch nords. Ruh ninna knaw knife
<doesntmatter> agrillio mellish. Blakes my bog. kedda mah go go mageezik Renna manuck to the ruthafied sneffal The Rump Shaking Rider Crew - Fuck You! Wren a men a menna menna moo, filling my jolts and filling my shoe, plenk a peek a pokie zal nawl knife
<doesntmatter> Shaar nag lililly linomp nip. Many mini minotaur taurs, hate tar tar sauce. I am a robibbob meme. Have you ever thought about where the bird goes? Squirnish Mernish. Jelly jolaggalan joo! Chuh lap lap rillip. Oh I grew three years. I'm old now.
<doesntmatter> Does anyone heck teck the rooga beega bagga? Hebber master hoon a ferr fee. Hilly a mackhole. The shiny dot in the middle of a liddle light, of the middle of a lep lep lains! Gotta get that schit ass shcrap biteoad. Ruproudj a malef loo
<doesntmatter> Moistie bather. riberian schmecklef Mulla Malee loo lup the new flood wars. Chuddy dip, chuddy dip, chuddy microchip. Bucka lucka loo, bucky lucky blay. Bucka lucky blay lee.
<doesntmatter> Burpaline: The wonder world. Salmy magoo goal greggats Rump duh duh duh dump, duh duh duh demp doop dump, runna nuh nah Riggity ass gaggags i nick Roddan raldwell Roady carewell reggal mahole Rup tup shmelly smelly shmebb ub. Roady farewell rose bose mahaggal. A pocahontas watch
<doesntmatter> Blubbity ash hoosh her mellopath. a Maticake for my buddy andy Oh we-heh-heh-hell I'm thinking about the greg nargs, I'm thinkin about you! End midal too walkin' with a dolphin. I went up that street, you went up another street, we all up the presidio. I'm goin out with arsenio!
<doesntmatter> i wrote my life story on my poop pad. one of the greatest art exhibits of 1999 was in a new york museum of art. In it, cow poop or fecal matter was put on a copy of the painting called "The Last Supper". This was thought to be a form of modern art. chumpin up the rears. Rubb blillick bath.
<doesntmatter> The shiny dot in the middle of the light blue circle or ring is glowing silver in color like steel or real silver. Eating pings, eating pies, Snow quibbicker bather I'm a niner! That's right I'M A NINER! Dipoke when we dip oh blip we dip, chucka hand oh blip we dip. yxoukcil polk jhaggel.
<tobiasvl> jeez
<doesntmatter> Whether muh luck lick whither spoons. wups to the umpteenth hicka low daggal. cckocket tlopres redda ropres HUCK DICKILI DOON! Feelie wheelie whilla maluck lick. Slimy boo beggats. I'm saggat I'm zeggat ziggurats. Poop is pee. My name is Mr. Pochahantas. I'm a cartoon or movie character.
<doesntmatter> They put me on a watch today, sometimes I pee sometimes I'm James! Whoodas pratts my nig names chats. Challa-hoe banchee with a proodas made. I'm chilly I'm child ugly daves don't go wild. My wild, ugly boss suddenly became thin frint glint chip. chip chip microchip. chip chip microchip!
<doesntmatter> My little greg narg, My little greg narg, I have freedom of speech rights! My little greg narg, my little greg narg, you wish I didn't have rights!
<doesntmatter> Nockaragathan dick slam! Chilly chilla choe-lal-lip! Scuh loo lathian buck seats Moan mlutha mah-lee black mam. rudda doo din-ump dah doo-nah-nah
<doesntmatter> Waar chawecka wipth wella jalipth All kinds of |\|iggers and buffy-oh juice! I'm bagging ack the hag. Ran a plucky plunky item plains! Bagging the nig nag. Bagging like green grags.
<doesntmatter> How do you wreck liss me. Those fuckin' farts. Wonter... a cloody a millickal bath. Slurpy slick ass lots of pep It's like scotch pithy. I'm thinking about ruggity greggal. Juvenile detention centers. Slurpy pitch pot pee. No likes. Wobbity willow willa whop. Willy wallow traps. You can combine one or more of the darameters.
<doesntmatter> fuckin bone screllalidge moink. ruggity fucker fagger. rum dum dacka lacka rum dum jay Go out with jay, another blue jay we fixed my astercoil plather I'm hickin' my dagger Rum dickily toon witherspoons. I'm a falcons baleiva work with the yake my 7'9'er forever tumchy tither
<doesntmatter> I'm trhinking about the rich ass mechgeggals. I'm thinking about the rich ass micgeggals. Cham cham chack a leek a horn teen! Poot wardy whail wo hootin tood! Holla hoolah hope, laser whip!
<doesntmatter> Rabby dab runna ma nay I'm dabster deester and I'm here to say... rump tump tigga ligger rump tump tay! Frucky duck with the wenner hoopler wheel Cruckity puck on an ass hole Death bones doesn't like dlo flo.
<doesntmatter> Does anyone want to yikkel up the gecko? Chickity china the chinese chicken! Fucking gregging lick piss ass cunt. Haggle hilla horst worst redneck. Buster hymin Juvvy joof jevuv. Reggy McJellico. Into that pussel. No |\|iggards. Your ass nards turned into a POLLEN GRAIN! Ramis blavely reese seats.
<doesntmatter> Frucky duck with one of those chin ladin traps. Rudder smudge wellicker wheel! Run tun ton reddal shmip foe whip woe wack. Rump tump tigger ligger runnel scrath. Doo nah ninnel, nih, nee nat noe. Runt dunt dinny! Rump tump chickin leaker ladin straps... Bam bam glacky I'm degga damn.
<doesntmatter> Ruh hent a lilla hole lieu. The craig mattican. BITCH IF YOU DON'T TAKE DOWN THAT WEBCAM I AM KILLIN' YOUR DAMN DOGS. Electromotive force. Razh ta relley lep ta mezh. Sh Soosh shzhs, seesh seesh-sheesh shoosh shzh shshs shshs. chicawith hedgehog. Ram bram bellalow, brown rye rom one day jeezh cheats!
<doesntmatter> Drederick mick taid with a drederick mick taid with a .. with a... drederick mick taid! Is anyone here the funkistard corn. I boo basted I'm feelin' gleem. Rujjidy jallisher squillidger. fuck you titty suckin' two balled bitch with a fat green clit. Rark tah hoohk tah blanky roop roop duggan.
<crome> do it moar!
<doesntmatter> Rigg ass graggan Arewenoo.. Arwenoo zee-oo zaya. Chinna 2olombia adaa wella shrek raflood lool. Ground rearing some groans. I'm huff tuff reffa leffa lurf nords. I'm just like... vanilla ice foe davvity wheel barow Exparly ex preggo Is anyone out there a rig ass graggan? lelly in mah kellar WRESTLING'S FAKE!
<doesntmatter> Pargastian wildly nig nargs. smeggalty dellets Far foo faqqin Digital damage. Where wally niqqs. It's coast to coast night. Hoke a lup! Free faq fornag! Puck a leek a lup to lup round tround. Wormser marrial niqs. El delphin trilaxal. Blanking bluck to the black a lickel bleck narge.
<doesntmatter> Puggy muggle maggity ass riggle ma hole. Buck a waath ess wheel wall! Bustin' room past tin! Buckin' room past in! A harnaly scrary o mep. Rons raplaisher pa noans rebble dibby dump dimp gabble dak. A wristafiable pluckin' Blacking it up to the reng teng blickhole. I kleb to the sand of the blicka rickin time.
<doesntmatter> Rekkal theh mick thuck the rep tep taistral. Wallif ma wallis wallets. Is anyone here a jelly-o shkrapper? Bam glacky I'm mega man! Has anyone here ram baisted before? The koost a heeckil pludgeon. Feathers round rick gring air! Liquid cereal's good for you. The mummified goblin. Pallaj oh plex.
<doesntmatter> Gotta set up for the suicide slide Gamma mareenmon. I've got more scrap ass shit than you can balieve with. Sally McDuffo whip. after secv on a sp00ky stream F/\gga foo regga makegg mahoun. Its all fun and games until the power goes out. Mennima Pay Street. rubbbity dib dadge pickard. Lelly in ma kellar.
<doesntmatter> I'm on recky o gregor street. Miggity ass raggan. Boyar bod. Pellicka pool wiss wall. Watching bynum bukkake the smelts Haggity ass mahown. Trukkity rep roon, the kitz a kickel plujin. Trellalickers and burb street. Huck a dickin' dime.
<doesntmatter> Float a pelly plaack ass. You're a digital dumbass. Smuggy jaloo meff jillahole. Dick, dick, dick dickaloo! Dick dickaloo my darling. Haggity ma heggal hole. nuriggerdy diggal. Visi blurb cage. O melon man mist meluhn mijohn. Oh man mellajoram. Hebble oh babble.
<doesntmatter> Two guns and a ruck roog. Turned into a hollow loop. scritch scratch the happy fog. Is anyone here a fudge plucker. I'm talking bout a rastal marry yo map. Too many ruggerty dag datoes Or are you fuck wappys out for kill gore!
<doesntmatter> The curmudgeonly pearl; ask and you might be answered. Finger with a whop top tinger. Rig tig tigger. I'm ram bastin' I'm feelin' clean! Pricey bad ass, a whop winger! Gullable dick waffer. Miggity mahoming beacon. Nick lickal novice. Your remenance. Square juice miknuller. Permio plather.
<doesntmatter> Ploona lefflie ludge picking! Haggy smith heddal, marry oh dettal. Hannabalist, no cannibalist, no hannibalist balievar. Ban dackoo. Put on weight! Wherr wiss fall, nudge plucking. too many |\|igg/\s, that's my line. I'm squirt with the worth of the mother plucking fine. Hoomee missee Mic daisy too. Davey oh doubt. Meggie mahoo middle.
<doesntmatter> Where does master words eat pies for shells? Trenna ma lilla manole. A rargy barg ark. Shockity strip with the rectify guy. Clockity rep with the rectify fly. Hebble o babble. Rudda nah neh noo. HEP TEP ROGGY! I'm thinkin' about greckin' the rummified coin! Let's look at Amenhotep 4's mummified groin!
<doesntmatter> Too many Romulan potatoers. Matoonal dakkal. Helly muhp, melly muhp, runna minuck taste-rum. Wack ass weight! Hellamanorf weg watthal. I think I'll just start to try my .smuretsaTcN rubbbity boom ducking. Hitchaleval exasht romice. Up with jelly my humpfrins. Uva devil miss tee pie. She can't poo!
<doesntmatter> Shniqqen munuh lik leggal perritolma penis pran chella maloney day breeze Paahster jam ban wikkle. Hella mah lun mick hella malole. Hella minull mic mella manoh. The roadline, it's illegal. Trully mulla mih nole. I'm a relladge-o-melladge-o-ram. Come on you fuckin dag asses.
<doesntmatter> Damned ram bastions. oilleJcM oper Smelly gruthergrarin trilaxals. withers ground ring air Puggle dee maggle dee mack traggle Jeremy sniqqle. Jeremy spoken, in next day I brusht boyered, I kicked a ball! mellaminorf troll protectors, trolls on the road! troll protectors, their stones of power glow!
<doesntmatter> Fleeberty dith bub, a hick now a hither they humpty tance Lunchell munch a reg uhl schoolio tress nael Chuck a lick a loon baby tunes Weerz mellicorp To the wack ann watching machine wells darilla raptor plexing
<doesntmatter> Shligga ligga millik hole Shligga ligga millik hole regamakio mathjul hah there Just like in Bart Simpson the Magazine! Ban ricky ban glicky jallo whip! menario mibs Pahorp pahilla thin meffrin slujjal jeggy moran magomorph baleener
<doesntmatter> I spell it throwt, you spell it throat, the real way to spell it is throwt throwt THROWT! Hux a mex a lig dwarf dudikolan mail street. Rella manae, Rella Manae, Rye dut duh! I'm living on budgy placky street. Reggal dee deck shweener Hicker trellalicker
<doesntmatter> What part of that doesn't make sense to you robo I'm rang dang smacking it up to the reck a heek a horn drom. Rag agg big chacka lo datey fifty. Sniggital maggal Shelly a jelly a jew lillaputan meglamarian necks booga man Rejja mella mic jeggal Baika looka reg tag
doesntmatter has quit [K-Lined]
einarj has joined #ruby
_justin has quit [Quit: _justin]
fredder has joined #ruby
roolo has joined #ruby
<fredder> Brutal sports football!
fredder has quit [K-Lined]
sdouglas has quit [Ping timeout: 240 seconds]
senemounn has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
yubrew has joined #ruby
<apeiros> oh man…
gaussblurinc has joined #ruby
<apeiros> I don't understand the motivation of idiots like that
Salve has joined #ruby
chrisseaton has quit []
<crome> luckily
<crome> you would probably have to be one
alexju has quit [Remote host closed the connection]
<certainty> apeiros: my guess is a mixture of sexual frustration, adolescence and boredom
<apeiros> can we do IP range bans?
<apeiros> gah… limechat really has a bug in its /clear implementation…
apeiros has joined #ruby
<mozzarella> I had planned to spam some channels, not this one, though
<certainty> apeiros: i don't think you can. All you have is wildcards IIRC
<apeiros> yeah, I think so too certainty
yubrew has quit [Ping timeout: 264 seconds]
<apeiros> a bit sad… all spams originate from ips of the same company
LekeFly has joined #ruby
compleatang has joined #ruby
Salve has quit [Ping timeout: 246 seconds]
<apeiros> maasha: oh, one issue about pushing jobs: you can'd do it block-style. it must be a method on an identifiable object. since you can't serialize procs :-/
claymore has joined #ruby
<certainty> apeiros: you could assume that the company probably only owns a class C-Net and wildcard the last octet, but that's not accurate and my hit innocent people
<apeiros> certainty: it's larger than a class C
<certainty> ok then
<apeiros> 211.47.108.0 - 211.47.127.255 and 119.56.128.0 - 119.56.255.255
<apeiros> maybe more
coderxin has joined #ruby
coderxin has quit [Read error: Connection reset by peer]
LekeFly has quit [Client Quit]
coderxin has joined #ruby
TMM has quit [Ping timeout: 255 seconds]
<lewellyn> that's smaller than a class C
browndawg1 has left #ruby [#ruby]
<lewellyn> just spread out.
<lewellyn> but cidr to the rescue, eh?
ferr has joined #ruby
<apeiros> wasn't C class only X.X.X.0 - 255?
<maasha> apeiros: I shall give it a go, I have to do some other stuff first though -> work
<certainty> lewellyn: irc ban doesn't allow CIDR notation
<lewellyn> certainty: it depends upon the ircd.
<lewellyn> iirc, the current freenode one does.
<certainty> lewellyn: well than dancer doesn't seem to support it
<lewellyn> apeiros: not every /24 was Class C.
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AussieDownUnder has quit [Ping timeout: 240 seconds]
makara has joined #ruby
<lewellyn> freenode hasn't used dancer in quite some time.
<certainty> lewellyn: oh then my information is outdated :)
<lewellyn> let me try elsechan momentarily
vlad_starkov has joined #ruby
spergy has left #ruby [#ruby]
<certainty> would be something like 211.47.108.0/22 211.47.112.0/20 according to ipcalc
<apeiros> lewellyn: my knowledge about networks is limited, but wikipedia says 2^8 hosts per class C network
<apeiros> i.e., last digit
coderxin has quit [Ping timeout: 264 seconds]
ahawkins has joined #ruby
nerium has joined #ruby
<lewellyn> 01:40 mode/#lewellyn [+b *!*@119.56.128.0/25] by lewellyn
<lewellyn> looks like seven does cidr, alright.
<certainty> seems to work then
<nerium> Is it possible to include a file inside a module?=
<apeiros> nerium: include is about modules, not files
<nerium> apeiros: I ment require
<lewellyn> apeiros: not every /24 was assigned in the era of classful addressing. many current /24 blocks are from former Class A and Class B space.
<apeiros> nerium: you can call require and load within a module, but that doesn't change the scope of the required file
<nerium> okay
<nerium> apeiros: Is there a way to change that?
<apeiros> nerium: if you want that, you need module_eval(File.read(path), path)
<nerium> Aha, thanks!
tonni has joined #ruby
<lewellyn> apeiros: class c was 192.0.0.0-223.255.255.255 in /24 blocks.
<apeiros> don't forget that File.read doesn't consider $LOAD_PATH like require does.
YamakasY_ has joined #ruby
timonv has joined #ruby
samuel02 has joined #ruby
<apeiros> lewellyn: ok. but "not every class C network" doesn't mean "class C networks are larger than 256 hosts", no?
<lewellyn> all class c networks were an 8 bit block.
<apeiros> i.e., I don't get why 119.56.128.0 - 119.56.255.255 should be smaller than class C
<lewellyn> that is smaller than class c addressing.
<apeiros> because that's more than an 8bit block
<lewellyn> oh. i misread.
vlad_starkov has quit [Ping timeout: 264 seconds]
fannye has joined #ruby
<lewellyn> i saww .128 on both sides.
<apeiros> aaah
<apeiros> you mean its range is below the class C range
<lewellyn> but yes, that's larger than a /24. but it is from "class b" space.
<apeiros> gotcha!
<apeiros> thanks :)
claymore has quit [Quit: Leaving]
claymore has joined #ruby
camilasan has joined #ruby
<lewellyn> in binary, class a started at 00000000.00000000.00000000.00000000, class b started at 10000000.00000000.00000000.00000000, class c started at 11000000.00000000.00000000.00000000
RaCx has quit [Ping timeout: 252 seconds]
abdulsattar has joined #ruby
<lewellyn> that's why 0.0.0.0-127.255.255.255, 128.0.0.0-191.255.255.255, 192.0.0.0-223.255.255.255
yacks has quit [Ping timeout: 264 seconds]
<lewellyn> and classes d and e were never assigned for "normal" use.
jhass|off is now known as jhass
samuel02 has quit [Ping timeout: 246 seconds]
RaCx has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
charliesome has joined #ruby
<apeiros> yeah, I see what you meant. We used the term "smaller" to mean different things :) I was referring to the number of hosts in the range.
TheNumb has joined #ruby
Xeago has joined #ruby
_justin has joined #ruby
timonv_ has joined #ruby
<lewellyn> as was i because i misread the third octet
meinside has joined #ruby
jespada has joined #ruby
<lewellyn> hence only banning the /25
razibog has joined #ruby
emergion has joined #ruby
<lewellyn> i guess i'll ban the /15 instead.
<lewellyn> the block you gave isn't a valid cidr block
timonv has quit [Ping timeout: 252 seconds]
<apeiros> ah… and I thought now you meant because the first octet (119) is below the range of C class networks (192-223)
<krz> @foo = {tweets: 'a'}, @foo[:tweets].present?; @foo.try(:tweets)
klaut has quit [Remote host closed the connection]
<krz> why does the 3rd execution return nil
<krz> , = ;
<apeiros> krz: because it's a hash
<certainty> krz: because @foo doesn't respond to #tweets
<apeiros> krz: and a hash doesn't automatically generate methods for keys in it
<krz> ah
<apeiros> krz: @foo = {[1, "foo", :bar] => 'x'}
<apeiros> what should the method be?
<apeiros> @foo.1foo:bar? :)
<krz> kk
vlad_starkov has joined #ruby
<apeiros> take a look at OpenStruct and Struct if you want such behavior
<krz> ah
CpuID has quit [Read error: Connection reset by peer]
AussieDownUnder has joined #ruby
cj3kim has joined #ruby
Al__ has joined #ruby
grzywacz has joined #ruby
<apeiros> krz: also, @foo.has_key?(:tweets) instead of @foo[:tweets].present? (not exactly the same meaning, though)
chuk has joined #ruby
elaptics`away is now known as elaptics
mikepack has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
phansch has joined #ruby
leonidlm has joined #ruby
samuel02 has joined #ruby
francisfish has joined #ruby
mikecmpbll has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
nvrch has joined #ruby
McFreely has joined #ruby
glebm has joined #ruby
wallerdev has quit [Quit: wallerdev]
jhass is now known as jhass|off
francisfish has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 246 seconds]
dumdedum has joined #ruby
blom has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
McFreely has quit [Remote host closed the connection]
jjbohn has joined #ruby
sk87 has joined #ruby
Xeago_ has joined #ruby
noop has quit [Ping timeout: 252 seconds]
Xeago has quit [Read error: Connection reset by peer]
chrisseaton has joined #ruby
bricker`LA has quit [Ping timeout: 252 seconds]
claymore has quit [Ping timeout: 255 seconds]
claymore has joined #ruby
jjbohn has quit [Ping timeout: 240 seconds]
monkegjinni has joined #ruby
mgorbach has quit [Read error: Operation timed out]
dumdedum has quit [Ping timeout: 264 seconds]
mgorbach has joined #ruby
RaCx has quit [Ping timeout: 255 seconds]
lolmaus has quit [Remote host closed the connection]
lolmaus has joined #ruby
nari has quit [Ping timeout: 264 seconds]
kobain has quit []
RaCx has joined #ruby
SrPx has quit [Remote host closed the connection]
mehlah has joined #ruby
dumdedum has joined #ruby
blom has quit [Ping timeout: 264 seconds]
timonv_ has quit [Remote host closed the connection]
yubrew has joined #ruby
claymore has quit [Ping timeout: 252 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
sdouglas has joined #ruby
lyanchih_ has joined #ruby
yacks has joined #ruby
claymore has joined #ruby
jgoss has quit [Ping timeout: 255 seconds]
lyanchih_ has quit [Client Quit]
obs has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
lyanchih_ has joined #ruby
kaz_ has joined #ruby
ehaliewicz has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
kaliya has joined #ruby
dumdedum has quit [Ping timeout: 255 seconds]
cj3kim has joined #ruby
Salve has joined #ruby
monkegjinni has quit []
glebm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nilium has joined #ruby
Hanmac has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
aspiers has quit [Ping timeout: 264 seconds]
noop has joined #ruby
DouweM has quit [Ping timeout: 246 seconds]
Salve has quit [Ping timeout: 240 seconds]
Hanmac1 has quit [Ping timeout: 264 seconds]
AlSquire has joined #ruby
gnagno has joined #ruby
emergion has quit [Read error: Connection reset by peer]
teddyp1cker has joined #ruby
klaut has joined #ruby
robbyoconnor has quit [Ping timeout: 246 seconds]
jgoss has joined #ruby
shaunbaker has joined #ruby
andrewlio has joined #ruby
timonv has joined #ruby
aspiers has joined #ruby
teddyp1cker has quit [Ping timeout: 246 seconds]
coderxin has joined #ruby
lolmaus_ has joined #ruby
browndawg has joined #ruby
lolmaus has quit [Ping timeout: 255 seconds]
dumdedum has joined #ruby
abdulsattar has quit [Ping timeout: 264 seconds]
francisfish has joined #ruby
RaCx has quit [Ping timeout: 255 seconds]
DouweM has joined #ruby
_justin has quit [Quit: _justin]
chuk has quit [Quit: Leaving]
RaCx has joined #ruby
jack_rabbit has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby
zenojis has quit [Ping timeout: 240 seconds]
jlebrech has joined #ruby
abdulsattar has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby
tvw has joined #ruby
lxsameer has quit [Quit: Leaving]
cj3kim has joined #ruby
coderxin has quit [Remote host closed the connection]
workmad3 has quit [Client Quit]
workmad3 has joined #ruby
DaniG2k has joined #ruby
Deejay_ has joined #ruby
glebm has joined #ruby
<DaniG2k> does anyone know how to write a HTML main content extractor?
<DaniG2k> I was to write something that visits an article and only retrieves the article text
Deejay_ has quit [Client Quit]
cj3kim has quit [Ping timeout: 240 seconds]
<tobiasvl> nokogiri?
<DaniG2k> if it were for a few specific pages it would make things easier but id like for this to work on most webpages
_Andres has joined #ruby
<DaniG2k> yeah nokogiri will help me access the elements for sure
<DaniG2k> or mechanize
_Andres has quit [Max SendQ exceeded]
<DaniG2k> but i m struggling with the algorithm that would actually find where the juice of the page is, the main textual content
_Andres has joined #ruby
jlast has joined #ruby
bluehavana_ has quit [Quit: Connection closed for inactivity]
klaut has quit [Remote host closed the connection]
Zunonia__ has quit [Quit: Computer has gone to sleep.]
jlast has quit [Ping timeout: 264 seconds]
yasushi has joined #ruby
blom has joined #ruby
kitak has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
jjbohn has joined #ruby
yubrew has joined #ruby
vlad_starkov has joined #ruby
coderxin has joined #ruby
noop has quit [Ping timeout: 252 seconds]
northfurr has quit [Ping timeout: 252 seconds]
RaCx has quit [Ping timeout: 240 seconds]
<DaniG2k> anyone around?
jjbohn has quit [Ping timeout: 264 seconds]
blom has quit [Ping timeout: 240 seconds]
<AussieDownUnder> I am
kitak has joined #ruby
yubrew has quit [Ping timeout: 246 seconds]
RaCx has joined #ruby
<DaniG2k> I'm trying to come up with a sensible way of extracting the main body of text from articles
<DaniG2k> given a url
<DaniG2k> and using mechanize/nokogiri I can do something simple like
<DaniG2k> ps = page.search('p').each {|p| puts p.content}
ehaliewicz has quit [Ping timeout: 264 seconds]
<DaniG2k> which will get all the main content from paragraphs
<DaniG2k> but i still feel this doesnt work well
<DaniG2k> for instance, the last sentence in that ps variable will be something unrelated to the article
camilasan has quit [Remote host closed the connection]
<DaniG2k> I'm wondering if there's a better way to access article's main content
<DaniG2k> given an arbitrary page
camilasan has joined #ruby
<DaniG2k> without having to hardcode the names of classes
<apeiros> with arbitrary pages? good luck…
camilasan has quit [Read error: Connection reset by peer]
<apeiros> you could try finding the element with the most headers in it and read all text in its common ancestor
<DaniG2k> apeiros: well, some servies do this quite well, like http://embed.ly/extract
camilasan has joined #ruby
<apeiros> but given the insane way most pages are built - I can only repeat: good luck.
<apeiros> DaniG2k: you have no idea how they do it
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
<DaniG2k> apeiros: exactly
<apeiros> DaniG2k: it may very well be that they have custom selectors for a lot of pages
<DaniG2k> hmm
<DaniG2k> thats probably the easiest way innit
RyanV has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 252 seconds]
<apeiros> it may even be that they build it "on demand" (e.g. measure what domains are queried often and build one for the most often queried ones)
<DaniG2k> but even if I put in some obscure page, it still works well
<DaniG2k> maybe i should just hardcore the selectors
pfg has joined #ruby
<apeiros> DaniG2k: and how much time do you think they've invested in the fallback handler?
<DaniG2k> what kind of a question is that
<apeiros> as said, my heuristic would be to figure which node has the most/largest direct text descendants and take the text from that
Mohan has quit [Ping timeout: 264 seconds]
<DaniG2k> yea
<apeiros> DaniG2k: that kind of question is about "how much time do you plan on investing? do you think you can build something as capable in just a couple of lines of ruby?"
<DaniG2k> apeiros: oh, certainly not
Mon_Ouie has joined #ruby
<apeiros> anyway, no matter what you use, you'll probably not get around doing "feedback loops". i.e. test your thing against a couple of pages, see how well it fares, try to improve it, rinse and repeat
alex88 has joined #ruby
Mohan has joined #ruby
<alex88> hi guys, what's the ruby equivalent of javascript Math.LN2?
<apeiros> LN2? they really call it LN2?
<apeiros> wait… what does LN2 do?
<alex88> oh
noop has joined #ruby
<alex88> sorry
Salve has joined #ruby
<alex88> it's just Math.log 2
cj3kim has joined #ruby
<apeiros> sounds like you found your answer then
cj3kim has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
tonni has quit [Quit: Leaving...]
razibog1 has joined #ruby
razibog has quit [Quit: Leaving.]
RyanV has joined #ruby
emergion has joined #ruby
tesuji has joined #ruby
Salve has quit [Ping timeout: 252 seconds]
jkamenik has quit [Quit: Leaving.]
ferno has joined #ruby
Nani_ has joined #ruby
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
kitak has quit [Remote host closed the connection]
tonni has joined #ruby
klaut has joined #ruby
RyanV has quit [Quit: Lingo - http://www.lingoirc.com]
klaut has quit [Remote host closed the connection]
tvw has quit [Remote host closed the connection]
Deejay_ has joined #ruby
tvw has joined #ruby
<emergion> Can someone suggest a better way to ['.svn', '.subversion'].each { |f| return true if File.exists?(f) } ?
<emergion> I know there is I just can't find it
<shevy> you can try .any?
Deejay_ has quit [Client Quit]
<shevy> and File.exists? should be File.exist?, exists? is deprecated
klaut_ has joined #ruby
<emergion> shevy, no .any ?
bricker`LA has joined #ruby
<shevy> only .any?, not .any
<emergion> shevy my bad
<shevy> :)
<emergion> hehe sorry
<emergion> big day !
skaflem has joined #ruby
RaCx has quit [Ping timeout: 252 seconds]
mikepack has joined #ruby
matcouto has joined #ruby
camilasan has joined #ruby
<shevy> what options do we have available when we wish to test ruby code
<shevy> we have ... (1) test-unit or something like that ... (2) bacon ... (3) minitest
NovapaX has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kaz_ has quit [Quit: Leaving...]
RaCx has joined #ruby
razibog1 has quit [Quit: Leaving.]
banister is now known as banisterfiend
fgo has quit [Read error: Connection reset by peer]
fgo_ has joined #ruby
Speed has joined #ruby
camilasa_ has quit [Ping timeout: 255 seconds]
<banisterfiend> apeiros are oyu here?
mikepack has quit [Ping timeout: 240 seconds]
ferr has quit [Quit: Leaving.]
teddyp1cker has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
jefflyne has quit [Ping timeout: 264 seconds]
shaileshg has quit [Quit: Connection closed for inactivity]
robbyoconnor has joined #ruby
tungd has joined #ruby
<emergion> Anyone using fakefs? How do you mike file reads, opens?
Speed has quit [Ping timeout: 264 seconds]
<emergion> Need to mock contents
chrisseaton has quit []
TMM has joined #ruby
TMM has quit [Remote host closed the connection]
TMM has joined #ruby
jefflyne has joined #ruby
jkamenik has joined #ruby
sensen has quit [Quit: leaving]
jhass|off is now known as jhass
nowthatsamatt has quit [Quit: nowthatsamatt]
cj3kim has joined #ruby
tt1187 has joined #ruby
yasushi has quit [Remote host closed the connection]
JasmeetQA has quit [Ping timeout: 252 seconds]
JasmeetQA has joined #ruby
pfg has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
charlies_ has joined #ruby
jlast has joined #ruby
charliesome has quit [Ping timeout: 264 seconds]
senayar has joined #ruby
CreativeEmbassy has joined #ruby
AussieDownUnder has quit [Remote host closed the connection]
yubrew has joined #ruby
kandala has joined #ruby
kandala has left #ruby [#ruby]
senayar_ has quit [Ping timeout: 246 seconds]
kevinykchan has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
razibog has joined #ruby
AussieDownUnder has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
sk87 has joined #ruby
blom has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
jjbohn has joined #ruby
browndawg has quit [Quit: Leaving.]
yubrew has quit [Ping timeout: 264 seconds]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
Deejay_ has joined #ruby
camilasan has quit [Remote host closed the connection]
nopolitica has quit [Quit: leaving]
camilasan has joined #ruby
mercwithamouth has joined #ruby
inkblot_ has joined #ruby
camilasa_ has joined #ruby
<certainty> emergion: you can use fakefs but most of the time i adjust my api to accept any IO and pass in a some custom object or just use stringio
JasmeetQA1 has joined #ruby
camilas__ has joined #ruby
<emergion> certainty, yeah that is a better idea, thanks for the input. Right now I just have some method that create the files I want and write their contents, to a fakefs filesystem
RaCx has quit [Ping timeout: 264 seconds]
jjbohn has quit [Ping timeout: 252 seconds]
<certainty> if I have lots of code that actually does filelevel operations I either use fakefs or supply away to configure the root of all operations and set that to spec/fakeroot
camila___ has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
JasmeetQA has quit [Read error: Connection reset by peer]
<certainty> a way
vlad_starkov has quit [Ping timeout: 246 seconds]
<emergion> certainty, I learned the hard way today, I setup a directory which looked like the one I wanted and did a Dir.chdir
<emergion> disaster
camil____ has joined #ruby
jprovazn has joined #ruby
blom has quit [Ping timeout: 246 seconds]
RaCx has joined #ruby
canton7-mac has joined #ruby
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cami_____ has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Soda has joined #ruby
camilasan has quit [Ping timeout: 264 seconds]
Soda has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has quit [Ping timeout: 264 seconds]
camilasan has quit [Read error: Connection reset by peer]
<emergion> certainty, a confusing disaster to say the least :)
camilasan has joined #ruby
teddyp1cker has joined #ruby
nopolitica has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilas__ has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
camila___ has quit [Ping timeout: 264 seconds]
camilasan has quit [Read error: Connection reset by peer]
camil____ has quit [Ping timeout: 264 seconds]
Virtualize|away has joined #ruby
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
cami_____ has quit [Ping timeout: 264 seconds]
lyanchih_ has quit [Quit: lyanchih_]
camilasa_ has quit [Read error: Connection reset by peer]
pfg has joined #ruby
pfg has quit [Client Quit]
camilasan has joined #ruby
_justin has joined #ruby
Speed has joined #ruby
camilasa_ has joined #ruby
ferno has quit [Ping timeout: 240 seconds]
<nerium> Is there a way to get all local methods in a class?
camilasa_ has quit [Read error: Connection reset by peer]
roolo has quit [Quit: Leaving...]
camilasa_ has joined #ruby
pfg has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
<abdulsattar> >> 1.public_methods(false)
camilasa_ has quit [Read error: Connection reset by peer]
<abdulsattar> >> 1.methods
<eval-in> abdulsattar => [:to_s, :inspect, :-@, :+, :-, :*, :/, :div, :%, :modulo, :divmod, :fdiv, :**, :abs, :magnitude, :==, :===, :<=>, :>, :>=, :<, :<=, :~, :&, :|, :^, :[], :<<, :>>, :to_f, :size, :bit_length, :zero?, :od ... (https://eval.in/122519)
camilasa_ has joined #ruby
<abdulsattar> >> 1.methods(false)
<eval-in> abdulsattar => [] (https://eval.in/122520)
Salve has joined #ruby
<abdulsattar> nerium: there you go nerium
camilasa_ has quit [Read error: Connection reset by peer]
<abdulsattar> by local you mean, not inherited, right?
pfg has quit [Client Quit]
camilasa_ has joined #ruby
mrnugget has quit [Quit: mrnugget]
camilasan has quit [Ping timeout: 264 seconds]
ephemerian has quit [Quit: Leaving.]
camilasa_ has quit [Read error: Connection reset by peer]
<nerium> abdulsattar: That didnt return any methods at all
camilasan has joined #ruby
cj3kim has joined #ruby
alex88 has quit [Read error: Connection reset by peer]
claymore has quit [Ping timeout: 264 seconds]
camilasan has quit [Read error: Connection reset by peer]
<workmad3> >> Fixnum.public_methods
<eval-in> workmad3 => [:allocate, :superclass, :freeze, :===, :==, :<=>, :<, :<=, :>, :>=, :to_s, :inspect, :included_modules, :include?, :name, :ancestors, :instance_methods, :public_instance_methods, :protected_instance_m ... (https://eval.in/122522)
<workmad3> >> Fixnum.public_methods(false)
<eval-in> workmad3 => [:allocate, :superclass] (https://eval.in/122523)
camilasan has joined #ruby
<workmad3> >> Integer.public_methods(false)
<eval-in> workmad3 => [:allocate, :superclass] (https://eval.in/122524)
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
razibog has quit [Quit: Leaving.]
<gnagno> hello all
camilasa_ has quit [Read error: Connection reset by peer]
Soda has joined #ruby
<abdulsattar> workmad3: I'm curious why 1.methods(false) return []. Does it return only singleton methods?
camilasan has joined #ruby
<gnagno> I am running bundle install --package in my project, and I don't know why bundle is trying to install the packages in the system path, any hint?
gigetoo has quit [Remote host closed the connection]
<abdulsattar> s/return/returned
Soda has quit [Read error: Connection reset by peer]
camilasan has quit [Read error: Connection reset by peer]
Salve has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
gigetoo has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
cj3kim has quit [Ping timeout: 264 seconds]
<workmad3> >> Integer.public_instance_methods(false)
camilasan has quit [Read error: Connection reset by peer]
<eval-in> workmad3 => [:integer?, :odd?, :even?, :upto, :downto, :times, :succ, :next, :pred, :chr, :ord, :to_i, :to_int, :floor, :ceil, :truncate, :round, :gcd, :lcm, :gcdlcm, :numerator, :denominator, :to_r, :rationalize] ... (https://eval.in/122528)
<workmad3> that's the one I was looking for :)
camilasan has joined #ruby
coderxin has quit [Remote host closed the connection]
camilasan has quit [Read error: Connection reset by peer]
northfurr has joined #ruby
northfurr has quit [Changing host]
northfurr has joined #ruby
camilasan has joined #ruby
<crome> Integer#integer?
<crome> wow.
coderxin has joined #ruby
camilasa_ has joined #ruby
<workmad3> >> 1.integer?
<eval-in> workmad3 => true (https://eval.in/122533)
<workmad3> >> (1.2).integer?
<eval-in> workmad3 => false (https://eval.in/122534)
ferno has joined #ruby
camilas__ has joined #ruby
<crome> curious little method considering how it doesn't work the other way around
<crome> there is no float? method
camila___ has joined #ruby
camila___ has quit [Remote host closed the connection]
camila___ has joined #ruby
kirun has joined #ruby
yalue has joined #ruby
camilasan has quit [Ping timeout: 264 seconds]
camilasa_ has quit [Ping timeout: 264 seconds]
<shevy> well
<shevy> you could always construct one
<shevy> if is non integer
camilas__ has quit [Ping timeout: 264 seconds]
<shevy> and a number
<crome> I like its implementation
dingus_khan has joined #ruby
mrnugget has joined #ruby
<crome> simple, fast :D
<shevy> do you use .integer? method often? :D
<shevy> lol
<shevy> static VALUE int_int_p(VALUE num) { return Qtrue; }
ferr has joined #ruby
banister has joined #ruby
<apeiros> >> 4/2r.integer?
<eval-in> apeiros => false can't be coerced into Fixnum (TypeError) ... (https://eval.in/122535)
<apeiros> >> (4/2r).integer?
<eval-in> apeiros => false (https://eval.in/122536)
<aep> is there an elegant way to concatenate the return values of an each block?
<aep> something like reduce?
<apeiros> aep: use map instead of each
<apeiros> then join
RaCx_ has joined #ruby
<aep> ah
RaCx has quit [Read error: Connection reset by peer]
RaCx_ is now known as RaCx
<crome> makes sense.. sort of.. its just a bit oddly specific
claymore has joined #ruby
<crome> 3 == 3.0 but 3.0.integer? is of course false
nvrch has quit [Quit: nvrch]
fgo_ has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
nism_ has joined #ruby
nism_ has quit [Remote host closed the connection]
nism has quit [Quit: Leaving]
tvw has quit [Remote host closed the connection]
tvw has joined #ruby
roolo has joined #ruby
nerium has quit [Quit: nerium]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maroloccio has joined #ruby
IceyEC has joined #ruby
YamakasY_ has quit [Ping timeout: 246 seconds]
OdNairy has joined #ruby
nopolitica has quit [Quit: leaving]
tt1187 has quit [Ping timeout: 264 seconds]
yubrew has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mostlybadfly has joined #ruby
teddyp1c_ has joined #ruby
wchun has quit [Ping timeout: 240 seconds]
ggherdov has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
uxp_ has quit [Read error: Connection reset by peer]
nomenkun has quit [Ping timeout: 246 seconds]
andrewlio has quit [Ping timeout: 255 seconds]
uxp has joined #ruby
ferr has quit [Quit: Leaving.]
supershabam_ has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 246 seconds]
teddyp1cker has quit [Ping timeout: 246 seconds]
mjc__ has quit [Read error: Connection reset by peer]
supershabam_ has joined #ruby
rootshift has joined #ruby
mjc__ has joined #ruby
ahawkins has quit [Ping timeout: 240 seconds]
troyready has quit [Ping timeout: 245 seconds]
jespada has quit [Ping timeout: 252 seconds]
Elico has quit [Ping timeout: 255 seconds]
Hanmac1 has quit [Ping timeout: 264 seconds]
makara has quit [Ping timeout: 264 seconds]
krz has quit [Ping timeout: 264 seconds]
larsam has quit [Ping timeout: 264 seconds]
Brando753 has quit [Ping timeout: 264 seconds]
jonathanwallace has quit [Ping timeout: 264 seconds]
Rudde has quit [Ping timeout: 264 seconds]
onewheelskyward has quit [Ping timeout: 264 seconds]
TripleDES has quit [Ping timeout: 245 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
senemounn has quit [Remote host closed the connection]
voglster has quit [Ping timeout: 264 seconds]
guyz has quit [Ping timeout: 264 seconds]
ixti has quit [Ping timeout: 264 seconds]
arturaz has joined #ruby
tesuji has quit [Ping timeout: 255 seconds]
Cork has quit [Ping timeout: 260 seconds]
TripleDES has joined #ruby
<shevy> test
rdark has quit [Ping timeout: 255 seconds]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
jprovazn has quit [Ping timeout: 255 seconds]
blom has joined #ruby
jlast has quit [Ping timeout: 252 seconds]
YamakasY has joined #ruby
ggherdov_ has joined #ruby
rdark has joined #ruby
Brando753 has joined #ruby
njection has quit [Ping timeout: 240 seconds]
jonathanwallace has joined #ruby
digifiv5e has joined #ruby
ahawkins has joined #ruby
digifiv5e is now known as Guest5613
jjbohn has joined #ruby
nvrch has joined #ruby
nowthatsamatt has joined #ruby
Cork has joined #ruby
strayjane has joined #ruby
ferr has joined #ruby
RaCx has quit [Ping timeout: 264 seconds]
pothibo has joined #ruby
tkuchiki_ has joined #ruby
fgo has joined #ruby
danshultz has joined #ruby
sambao21 has joined #ruby
RaCx has joined #ruby
nomenkun has joined #ruby
nerium has joined #ruby
blom has quit [Ping timeout: 252 seconds]
onewheelskyward has joined #ruby
ixti has joined #ruby
jjbohn has quit [Ping timeout: 264 seconds]
mark_locklear has joined #ruby
makara has joined #ruby
tkuchiki has quit [Ping timeout: 240 seconds]
troyready has joined #ruby
jespada has joined #ruby
Rudde has joined #ruby
mengu has quit [Remote host closed the connection]
gigetoo has joined #ruby
tkuchiki_ has quit [Ping timeout: 255 seconds]
andrewlio has joined #ruby
njection has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
nowthatsamatt has quit [Quit: nowthatsamatt]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
razibog has joined #ruby
sk87 has joined #ruby
Salve has joined #ruby
Hanmac has joined #ruby
strayjane has quit [Remote host closed the connection]
paulfm has joined #ruby
<aep> i have erb templates with tons of nested each loops to generate code in other languages, they are totally unreadable by now. any more elegant solution?
sk87 has quit [Client Quit]
<jhass> use helper methods and partials
chrisseaton has joined #ruby
<aep> like this, is pretty horrible: http://npaste.de/p/2R1
<aep> hm, for the loops?
jlast has joined #ruby
<jhass> yeah
nomenkun has quit [Quit: Leaving...]
mjs2600 has joined #ruby
<jhass> also try to find common patterns and use objects with accessors for them
Salve has quit [Ping timeout: 264 seconds]
<jhass> or just helper methods
<jhass> like ctor.parameter_list
mikepack has joined #ruby
<aep> right
grzywacz has quit [Ping timeout: 264 seconds]
jlast has quit [Ping timeout: 240 seconds]
sambao21 has quit [Ping timeout: 264 seconds]
Advocation has joined #ruby
mikepack has quit [Ping timeout: 255 seconds]
<jokke> hi
Pluff has joined #ruby
sambao21 has joined #ruby
<jokke> i have a Module that i want to test in rspec. This module has a constructor where an option is another Module (not an instance) which will then be included. How should i test that this works?
<jokke> i'll paste some code
claymore has quit [Ping timeout: 252 seconds]
<jokke> i'm also not sure if it's valid to include something in an instance method...
nisstyre has quit [Ping timeout: 264 seconds]
randomnick_ has joined #ruby
<jhass> yeah, you rather want to extend (and I hope this only happens during application boot)
<jokke> ah yeah
<jokke> you're right
<jokke> and yes it does only happen once at start
<jhass> try mod = Module.new; expect(klass.new(mod)).to be_a mod
tryggvib has joined #ruby
<jhass> for the spec
<jokke> oh cool
<jokke> ah but no
OpenRotterdam__ has joined #ruby
<shevy> hehe
<shevy> ah yeah ah no
koell has joined #ruby
<jokke> isn't the thing always a mod? since it's not a class but a module i'm testing
<OpenRotterdam__> Good afternoon
<shevy> hi RottenRotterdam
RaCx has quit [Ping timeout: 240 seconds]
<jokke> here's the whole thing: https://paste.jreinert.com/dTiJ/ruby
arturaz has quit [Remote host closed the connection]
<jhass> jokke: mod is just a variable name
claymore has joined #ruby
mjs2600 has quit [Remote host closed the connection]
<tryggvib> shevy: was that RottenRotterdam supposed to be a joke? If so, I didn't find it funny
<jokke> jhass: yes i know
dx7 has joined #ruby
<shevy> tryggvib I like it
djancak has joined #ruby
<jokke> ah so it's this _specific_ mod
<jokke> *module
<jhass> yes
<jokke> ah i see
fijimunkii has joined #ruby
<jhass> module Foo == Foo == Module.new
eka has joined #ruby
<jhass> er, Foo = Module.new
<jokke> well then that should work thanks
RaCx has joined #ruby
<tryggvib> shevy: I guess if you can at least entertain yourself you're always having a good time
<shevy> tryggvib absolutely
jack_rabbit has quit [Ping timeout: 255 seconds]
<jokke> can i use doubles for this too?
grzywacz has joined #ruby
Spami has joined #ruby
<jokke> foo = double(some_meth: :some_ret_val) <- be a module
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
rmorello has joined #ruby
jjbohn has joined #ruby
mjs2600 has joined #ruby
blom has joined #ruby
ferno has quit [Ping timeout: 264 seconds]
coderxin has quit [Remote host closed the connection]
<jokke> bar = Class.new { include Widget }; bar.new(formatter: foo); expect(bar).to be_a foo
abdulsattar has quit [Ping timeout: 252 seconds]
dblessing has joined #ruby
vlad_starkov has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
<jhass> I think you can just set message expectations on it, but if you want to stub the return value of some method in foo, do so on bar
shevy has quit [Read error: Operation timed out]
rdark has quit [Ping timeout: 264 seconds]
rdark has joined #ruby
<jokke> okay
linojon has joined #ruby
dx7 has quit [Ping timeout: 264 seconds]
<jhass> foo = Module.new; bar = Class.new; baz = bar.new(foo); allow(baz).to receive(:method).and_return("baz") or whatever the new syntax is
mjs2600 has quit [Remote host closed the connection]
yubrew has joined #ruby
nerium has quit [Quit: nerium]
lolmaus_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lolmaus has joined #ruby
gaussblurinc has quit [Quit: Leaving.]
abdulsattar has joined #ruby
mjs2600 has joined #ruby
nowthatsamatt has joined #ruby
tkuchiki has joined #ruby
sambao21 has quit [Ping timeout: 255 seconds]
mlpinit has joined #ruby
yacks has quit [Ping timeout: 255 seconds]
yubrew has quit [Ping timeout: 264 seconds]
gaussblurinc has joined #ruby
Salve has joined #ruby
cj3kim has joined #ruby
flowerhack has joined #ruby
gaussblurinc has quit [Client Quit]
havenwood has joined #ruby
fridim__ has quit [Ping timeout: 264 seconds]
einarj has quit []
vlad_starkov has quit [Remote host closed the connection]
gaussblurinc has joined #ruby
dideler|work has joined #ruby
no0code has joined #ruby
no0code has quit [Client Quit]
kpshek has joined #ruby
no0code has joined #ruby
Lewix has joined #ruby
shevy has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
jjbohn has quit [Quit: Leaving...]
stringoO has joined #ruby
sambao21 has joined #ruby
AussieDownUnder has quit [Quit: Leaving]
Quetza has joined #ruby
sambao21 has quit [Client Quit]
vt102 has joined #ruby
jonathanwallace has quit [Ping timeout: 255 seconds]
tesuji has joined #ruby
mjs2600 has quit [Remote host closed the connection]
sailias has joined #ruby
<Quetza> I have a software package written in ruby that I'm going to be sharing with another organization. In order to do so, I need to give them all the licenses that go with each of the gems used. I believe that my Gemfile.lock will have all the dependencies - is there an easy/automated way to collate all the licenses?
claymore has quit [Ping timeout: 264 seconds]
mjs2600 has joined #ruby
chris_thomson has joined #ruby
yasushi has joined #ruby
xerxas has joined #ruby
ferr has quit [Quit: Leaving.]
RaCx has quit [Ping timeout: 246 seconds]
Lewix has quit [Remote host closed the connection]
mjs2600 has quit [Remote host closed the connection]
RaCx has joined #ruby
<havenwood> Quetza: i haven't used it, but maybe check out this gem: https://github.com/pivotal/LicenseFinder#readme
lyanchih has joined #ruby
claymore has joined #ruby
tt1187 has joined #ruby
jonathanwallace has joined #ruby
kotakotakota has joined #ruby
coderxin has joined #ruby
Lewix has joined #ruby
LekeFly has joined #ruby
mengu has quit [Remote host closed the connection]
Teltaria1 is now known as Teltariat
<Quetza> havenwood: I did see that and was considering it, but it still worried me as it uses heuristics that might not be accurate
bluenemo has joined #ruby
nari has joined #ruby
lyanchih has quit [Client Quit]
jack_rabbit has joined #ruby
doodlehaus has joined #ruby
rootshift has joined #ruby
redlines has quit [Ping timeout: 240 seconds]
redlines has joined #ruby
mengu has joined #ruby
tesuji has quit [Ping timeout: 240 seconds]
kwoodson_gone is now known as kwoodson
heftig has joined #ruby
CreativeEmbassy has joined #ruby
mikemar10 has joined #ruby
philcrissman has joined #ruby
<shevy> Quetza there should be some way from within Gem module to query the license
r0ber has joined #ruby
<shevy> inside of a .gemspec, it is a .license = entry
fgo has quit [Remote host closed the connection]
mjs2600 has joined #ruby
banister has joined #ruby
banister has quit [Client Quit]
rootshift has quit [Ping timeout: 246 seconds]
gaussblurinc has quit [Quit: Leaving.]
geggam has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
chris_thomson has quit [Quit: Zzz...]
sdouglas_ has joined #ruby
tonni has quit [Remote host closed the connection]
<Quetza> shevy: indeed, but as I understand it, that's usually not sufficient as even if it's MIT, I still need to provide the Copyright line as per the LICENSE file
<shevy> hmm
rootshift has joined #ruby
enebo has joined #ruby
_justin has quit [Ping timeout: 240 seconds]
jprovazn has joined #ruby
<Quetza> I haven't dealt with this before and am quite surprised at how difficult it is
blandflakes has joined #ruby
senayar has quit [Remote host closed the connection]
xcv has joined #ruby
senayar has joined #ruby
mary5030 has joined #ruby
dik_dak has joined #ruby
anarang has quit [Quit: Leaving]
Advocation has quit [Quit: Advocation]
jlast has joined #ruby
enebo_ has joined #ruby
phantomtiger has joined #ruby
mary5030 has quit [Remote host closed the connection]
r0ber has quit [Quit: Saliendo]
enebo has quit [Ping timeout: 252 seconds]
enebo_ is now known as enebo
cj3kim has joined #ruby
kotakotakota has quit [Ping timeout: 240 seconds]
mgomezch has joined #ruby
mary5030 has joined #ruby
gaussblurinc has joined #ruby
emergion has quit [Read error: Connection reset by peer]
ffranz has joined #ruby
yacks has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
sk87 has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
_maes_ has joined #ruby
relix has joined #ruby
kwoodson has left #ruby ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
Quetza1 has joined #ruby
gaussblurinc has quit [Quit: Leaving.]
tonni has joined #ruby
Quetza has quit [Ping timeout: 246 seconds]
xcv_ has joined #ruby
gnagno has quit [Ping timeout: 264 seconds]
lyanchih_ has joined #ruby
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
no0code has quit [Quit: leaving]
m4n1f3st0 has joined #ruby
Lewix has quit [Remote host closed the connection]
andrewlio has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
xcv has quit [Ping timeout: 264 seconds]
jprovazn has quit [Ping timeout: 264 seconds]
Lewix has joined #ruby
no0code has joined #ruby
Speed has quit [Ping timeout: 255 seconds]
andrewlio has joined #ruby
shaunbaker has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
blom has quit [Remote host closed the connection]
gaussblurinc has joined #ruby
njection has quit [Ping timeout: 255 seconds]
Lewix has joined #ruby
Nani_ has quit [Remote host closed the connection]
blom has joined #ruby
yubrew has joined #ruby
sambao21 has joined #ruby
Lewix has quit [Remote host closed the connection]
jack_rabbit has quit [Ping timeout: 264 seconds]
Lewix has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
ehc has joined #ruby
Lewix has quit [Remote host closed the connection]
no0code has quit [Client Quit]
zz_jrhorn424 is now known as jrhorn424
no0code has joined #ruby
Lewix has joined #ruby
Shidash has joined #ruby
mjs2600 has quit [Remote host closed the connection]
shaunbaker has joined #ruby
Deejay_ has quit [Quit: Computer has gone to sleep.]
njection has joined #ruby
abra has quit [Ping timeout: 240 seconds]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
blom has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 252 seconds]
Lewix has quit [Remote host closed the connection]
himsin has quit [Quit: himsin]
abra has joined #ruby
abra has quit [Max SendQ exceeded]
wald0 has quit [Quit: Lost terminal]
abra has joined #ruby
abra has quit [Max SendQ exceeded]
mjs2600 has joined #ruby
abra has joined #ruby
abra has quit [Max SendQ exceeded]
lw has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
abra has joined #ruby
abra has quit [Max SendQ exceeded]
ndrei has joined #ruby
anarang has joined #ruby
abra has joined #ruby
abra has quit [Max SendQ exceeded]
Advocation has joined #ruby
banister has joined #ruby
abra has joined #ruby
abra has quit [Max SendQ exceeded]
tylersmith has joined #ruby
zachallett has joined #ruby
njection has quit [Ping timeout: 240 seconds]
abra has joined #ruby
abra has quit [Max SendQ exceeded]
okdas has joined #ruby
abra has joined #ruby
abra has quit [Max SendQ exceeded]
xcv_ has quit [Remote host closed the connection]
yubrew has joined #ruby
xcv has joined #ruby
abra has joined #ruby
jtgiri_ has joined #ruby
abra has quit [Max SendQ exceeded]
shaunbaker has quit [Remote host closed the connection]
m4n1f3st0 has quit []
abra has joined #ruby
abra has quit [Max SendQ exceeded]
koell has quit [Ping timeout: 252 seconds]
njection has joined #ruby
tjr9898 has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
abra has joined #ruby
abra has quit [Max SendQ exceeded]
acrussell has joined #ruby
cj3kim has joined #ruby
abra has joined #ruby
abra has quit [Max SendQ exceeded]
claymore has quit [Ping timeout: 264 seconds]
abra has joined #ruby
nomadic has joined #ruby
abra has quit [Max SendQ exceeded]
abra has joined #ruby
xcv_ has joined #ruby
afreidah has joined #ruby
jobewan has joined #ruby
jackneill has joined #ruby
jackneill has quit [Changing host]
jackneill has joined #ruby
<jtgiri_> hello, I have a rake task which reads a json file , when I do rake -T , it complains about json file not being there. Is there a way to read the json file only when that task is executed ? https://gist.github.com/jtgiri/ac124bc5f97193cd3acf
claymore has joined #ruby
sdouglas_ has quit [Remote host closed the connection]
momomomomo has joined #ruby
pr0ggie has joined #ruby
shaunbaker has joined #ruby
cj3kim has quit [Ping timeout: 264 seconds]
dx7 has joined #ruby
xcv has quit [Read error: Connection reset by peer]
MrPopinjay has joined #ruby
njection has quit [Ping timeout: 255 seconds]
koell has joined #ruby
LekeFly has quit [Ping timeout: 264 seconds]
afreidah has quit [Quit: WeeChat 0.4.3]
IceDragon has joined #ruby
DrShoggoth has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<MrPopinjay> Hi guys. I'm struggling with the curb gem. I can log into reddit via the API with Curl.post(url, {args}), but after that I can't figure out how to reuse that curl object to perform a get request
shaunbaker has quit [Remote host closed the connection]
wolfsoul has joined #ruby
njection has joined #ruby
g0bl1n has joined #ruby
<crome> MrPopinjay: task :properties DO
joonty has quit [Ping timeout: 252 seconds]
<MrPopinjay> Sorry?
<crome> oh, sorry
<crome> I mean jtgiri_
<maasha> apeiros: did you consider msgpack as alternative to marshal for IPC in your fork gem?
pu22l3r has joined #ruby
<jtgiri_> crome: thanks!
arya_ has joined #ruby
Lewix has joined #ruby
evenix has joined #ruby
mansi has joined #ruby
leonidlm has quit [Quit: Leaving]
Lewix has quit [Remote host closed the connection]
alexju has joined #ruby
baroquebobcat has joined #ruby
jjbohn has joined #ruby
joonty has joined #ruby
Lewix has joined #ruby
rootshift has joined #ruby
mikepack has joined #ruby
SCommette has joined #ruby
SCommette has quit [Client Quit]
mjs2600 has quit [Remote host closed the connection]
klaut_ has quit [Remote host closed the connection]
__greg has joined #ruby
sdouglas has joined #ruby
kevind has joined #ruby
snath has quit [Ping timeout: 252 seconds]
aaronmcadam has joined #ruby
SCommette has joined #ruby
mikepack has quit [Ping timeout: 264 seconds]
njection has quit [Ping timeout: 240 seconds]
momomomomo has quit [Quit: momomomomo]
browndawg has joined #ruby
koell has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
derek_c has joined #ruby
_justin has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
momomomomo has joined #ruby
njection has joined #ruby
jlast has joined #ruby
havenwood has quit [Remote host closed the connection]
agjacome has quit [Quit: leaving]
makara has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
<CreativeEmbassy> rubygems.org down for anyone else?
Mon_Ouie has quit [Ping timeout: 264 seconds]
kpshek has quit []
CreativeEmbassy has quit [Read error: Connection reset by peer]
TheEconomist has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
_justin has quit [Client Quit]
agarie has joined #ruby
CreativeEmbassy has joined #ruby
<CreativeEmbassy> never mind! net hiccup
momomomomo has quit [Client Quit]
koell has joined #ruby
nhmood has quit [Quit: Connection closed for inactivity]
havenwood has quit [Ping timeout: 240 seconds]
afreidah has joined #ruby
kpshek has joined #ruby
mando has joined #ruby
chrisseaton has quit []
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlast has quit [Remote host closed the connection]
skaflem has quit [Quit: Leaving]
charlies_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjs2600 has joined #ruby
danno1 has joined #ruby
vlad_starkov has joined #ruby
inkblot_ has quit [Ping timeout: 264 seconds]
afreidah has quit [Quit: WeeChat 0.4.3]
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
chrisseaton has joined #ruby
mikepack has joined #ruby
matcouto has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
MrPopinjay has left #ruby ["WeeChat 0.3.8"]
momigi has joined #ruby
crystal77 has joined #ruby
yasushi has quit [Remote host closed the connection]
atlas__ has joined #ruby
jlast has joined #ruby
jtgiri_ has joined #ruby
nichtdiebohne has joined #ruby
jlast has quit [Remote host closed the connection]
ndrei has joined #ruby
Lewix has quit [Remote host closed the connection]
<droptone> Question: Does anyone know why, in irb, 3/1000 always returns 0?
Spami has quit [Quit: This computer has gone to sleep]
<droptone> it isn't returning a float
afreidah has joined #ruby
<droptone> do I have to declare a variable a float, then assign it the value of 3/1000?
coderhs has joined #ruby
coderhs has quit [Client Quit]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
<droptone> ahh, ok
<ghr> droptone put .0 at the end of either
<droptone> you have to throw in .0
<droptone> gotcha, yes, thank you.
<ghr> :)
ga1j1n has joined #ruby
tonni has quit [Ping timeout: 255 seconds]
_justin has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
camilo has joined #ruby
lmickh has joined #ruby
Urocyon is now known as sfiggins
snath has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
<maasha> is there some way to force Ruby to never treat parsed data as utf-8 encoded?
<shevy> maasha you can try with the magic comment for binary data
lyanchih has joined #ruby
<TheLarkInn1> use Ruby 1.9 :-P
<TheLarkInn1> because no matter what I do, I can never get it to force encode in utf-8 lol
<shevy> maasha, it is on a per-file basis though: # Encoding: ASCII-8BIT
<shevy> you should also be able to set the external and internal input to that
<shevy> Encoding.default_external = Encoding::ASCII_8BIT
<shevy> Encoding.default_internal = Encoding::ASCII_8BIT
mrnugget has quit [Quit: mrnugget]
meatherly has joined #ruby
<shevy> maasha don't you love it to now have everything utf-8 :)
<maasha> shevy: I get this freakish error: in `tr!': invalid byte sequence in UTF-8 (ArgumentError) when parsing gzipped data from popen3
<shevy> hehehe
jollyy has joined #ruby
<shevy> welcome to the painless world of encoding
<shevy> maasha you can query what encoding type you have though before trying such methods
mjs2600 has quit [Remote host closed the connection]
geopet has joined #ruby
joshroman has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bearg has quit [Quit: Leaving.]
noop has quit [Ping timeout: 264 seconds]
mansi has quit [Remote host closed the connection]
matcouto has joined #ruby
einarj has joined #ruby
matcouto has quit [Client Quit]
<maasha> shevy: I want a way to tell IO.popen that the content is binary :o(
<shevy> hmm
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<shevy> does .default_external= not work?
<shevy> or perhaps it is internal
<shevy> haha
yasushi has joined #ruby
`ph8 has quit [Changing host]
`ph8 has joined #ruby
<maasha> shevy: ? :external_encoding=>"ASCII_8BIT" ?
beneggett has quit [Ping timeout: 255 seconds]
mansi_ has joined #ruby
`ph8 is now known as ph8
sambao21 has joined #ruby
AlexRussia has joined #ruby
grzywacz has quit [Quit: :wq]
paulfm has quit []
<shevy> no, a setter maasha
<shevy> not a hash
<shevy> <shevy> Encoding.default_external = Encoding::ASCII_8BIT
<shevy> <shevy> Encoding.default_internal = Encoding::ASCII_8BIT
<shevy> it's probably a hack; whenever I use that, ruby gives me a warning
<apeiros> maasha: Encoding.default_* affects all your IOs
tonni has joined #ruby
<apeiros> maasha: you can set it specifically on a single popen
<maasha> shevy: you can set some encoding options in IO.popen
njection has quit [Ping timeout: 240 seconds]
<shevy> cool
beneggett has joined #ruby
<maasha> apeiros: so what should I set it to? I tried with :external_encoding=>"ASCII_8BIT" but I still get the error
_Andres has quit [Read error: Connection reset by peer]
tonni has quit [Remote host closed the connection]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kpshek has quit []
tonni has joined #ruby
<apeiros> maasha: did you check at the point where you read the data, whether the incoming string has binary encoding?
tonni has quit [Remote host closed the connection]
<apeiros> because your error can very well happen later, if you try to apply operations on the data with wrongly encoded strings
canton7-mac has quit [Ping timeout: 246 seconds]
joshroman has left #ruby [#ruby]
SrPx has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
<apeiros> example:
tt1187 has quit [Ping timeout: 246 seconds]
<apeiros> >> "\xff".force_encoding('binary').tr("\xff","X")
baroquebobcat has joined #ruby
<eval-in> apeiros => incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError) ... (https://eval.in/122608)
<apeiros> >> "\xff".force_encoding('binary').tr("\xff".force_encoding('binary'),"X")
<eval-in> apeiros => "X" (https://eval.in/122609)
yasushi has quit [Ping timeout: 252 seconds]
<apeiros> as you can see, the first try failed because I passed a utf-8 encoded string to String#tr
<maasha> apeiros: the data I am reading is this: http://pastie.org/8947734
<apeiros> maasha: that's not what I asked you
jamto11 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<apeiros> I asked you what ruby tells you about the encoding of the string you read.
inkblot_ has joined #ruby
jprovazn has joined #ruby
kenndel_ has joined #ruby
njection has joined #ruby
<apeiros> i.e., popen(…) { |io| string = io.read; string.encoding } # the string.encoding part is what matters
jlast has joined #ruby
<maasha> apeiros: it says Encoding:UTF-8
<apeiros> then you haven't yet managed to pass the proper options to popen :)
ferr has joined #ruby
ferr has quit [Client Quit]
<apeiros> plain `encoding: 'binary'` should be sufficient
<apeiros> i.e., IO.popen('ls -la .', encoding: 'binary') { |fh| fh.read }.encoding # => #<Encoding:ASCII-8BIT>
kenndel has quit [Ping timeout: 240 seconds]
anarang has quit [Quit: Leaving]
<apeiros> I think if you pass `external_encoding`, what ruby does is treat the data as the encoding you specified and converts it to the Encoding.default_internal
<apeiros> hm, actually not… for me even with external_encoding, I get the result above
<maasha> apeiros: yeah, I can't get it to work either with the example: IO.popen("gzip -cd #{file}", :external_encoding=>"EUC-JP")
Lewix has joined #ruby
<apeiros> maasha: please show your code
<apeiros> including how you determine the encoding
TheEconomist has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
dayepa has joined #ruby
renklaf has joined #ruby
kpshek has joined #ruby
g0bl1n has quit [Quit: Ex-Chat]
<apeiros> I don't see how you print what encoding your data has…
shaileshg has joined #ruby
ndrei has joined #ruby
<maasha> apeiros: I did that in a different file, one sec
jprovazn has quit [Ping timeout: 264 seconds]
<maasha> apeiros: gist updated
jjbohn has quit [Quit: Leaving...]
njection has quit [Ping timeout: 240 seconds]
okdas has quit [Quit: Computer has gone to sleep.]
arubincloud has joined #ruby
<apeiros> maasha: chomp! is not suitable for return value. it can return nil.
<apeiros> use chomp if you want the return value
mjs2600 has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
okdas has joined #ruby
<apeiros> line 7 prints 'utf-8'?
jjbohn has joined #ruby
<maasha> apeiros: it prints #<Encoding:UTF-8>
browndawg has quit [Quit: Leaving.]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
anon_53k8 has quit [Quit: Page closed]
<apeiros> maasha: and which case/when branch did it take?
blom has joined #ruby
gregf has joined #ruby
<apeiros> as in: which one did it take? *and* did you verify it really took that branch?
Mon_Ouie has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 252 seconds]
b00stfr3ak has joined #ruby
camila___ has quit [Remote host closed the connection]
<apeiros> also, your paste doesn't make it obvious - ios from open.rb ends up in @io in fastq.rb?
camilasan has joined #ruby
<maasha> apeiros: AHARGHHH!
ndrei has joined #ruby
<maasha> apeiros: to my great surprise `file` fails!
camilasan has quit [Read error: Connection reset by peer]
<apeiros> soooo… debugging 101 helped :-p
camilasan has joined #ruby
<maasha> `file` returns Bioconval-A-25-Caecum_S49_L001_R1_001.fastq.gz: Minix filesystem, V2, 35890 zones
<maasha> wtf is that!
okdas has quit [Ping timeout: 246 seconds]
browndawg has joined #ruby
<apeiros> fun
camilasan has quit [Read error: Connection reset by peer]
<apeiros> something rather old
browndawg has quit [Max SendQ exceeded]
tylersmith has quit [Remote host closed the connection]
mjs2600 has quit [Remote host closed the connection]
camilasan has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasa_ has joined #ruby
njection has joined #ruby
BuddhaGorilla has joined #ruby
bal has quit [Quit: bal]
Lewix has quit [Remote host closed the connection]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
sski has joined #ruby
Spami has joined #ruby
<apeiros> anyway, glad you found your problem. I hope it helps you fix the other too.
* apeiros off for a bit
browndawg has joined #ruby
<maasha> apeiros: thanks - I will take it from here.
browndawg has quit [Max SendQ exceeded]
havenwood has joined #ruby
momomomomo has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
lethjakman has joined #ruby
penth has joined #ruby
<shevy> maasha that is bioinformatics related data?
beneggett has quit [Ping timeout: 255 seconds]
<maasha> shevy: thats what I do
coderxin has quit [Remote host closed the connection]
<shevy> \o/
ndrei has joined #ruby
<maasha> ?
rakm has joined #ruby
ninegrid has joined #ruby
mjs2600 has joined #ruby
browndawg has joined #ruby
bradhe has joined #ruby
browndawg has quit [Max SendQ exceeded]
jtgiri_ has quit [Quit: jtgiri_]
cj3kim has joined #ruby
<CreativeEmbassy> is celluloid any good?
<CreativeEmbassy> ;)
browndawg has joined #ruby
atlas__ has quit [Ping timeout: 240 seconds]
browndawg has quit [Max SendQ exceeded]
axsuul has joined #ruby
paulfm has joined #ruby
Deejay_ has joined #ruby
philcrissman has quit [Ping timeout: 240 seconds]
teddyp1cker has joined #ruby
CreativeEmbassy has quit [Quit: FO SHO]
browndawg has joined #ruby
Deejay_ has quit [Client Quit]
browndawg has quit [Max SendQ exceeded]
CreativeEmbassy has joined #ruby
coderxin has joined #ruby
jtgiri_ has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
shredding has joined #ruby
beneggett has joined #ruby
mansi_ has quit [Remote host closed the connection]
browndawg has joined #ruby
njection has quit [Ping timeout: 240 seconds]
derek_c has quit [Ping timeout: 240 seconds]
teddyp1c_ has quit [Ping timeout: 240 seconds]
browndawg has quit [Max SendQ exceeded]
rootshift has joined #ruby
mengu has quit [Remote host closed the connection]
mansi has joined #ruby
browndawg has joined #ruby
<shevy> maasha that is a cheering ascii man
browndawg has quit [Max SendQ exceeded]
jtgiri_ has quit [Client Quit]
banister has quit [Ping timeout: 246 seconds]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
geoffw8_ has joined #ruby
<havenwood> creativeembassy: that is answered in its readme: https://github.com/celluloid/celluloid#is-it-any-good
momomomomo has quit [Quit: momomomomo]
tagrudev has quit [Remote host closed the connection]
<havenwood> The answer shall be, "Yes."
mansi has quit [Read error: Connection reset by peer]
<CreativeEmbassy> I know. :D
shaunbaker has joined #ruby
<havenwood> aha
klaut has joined #ruby
mansi has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
kpshek has quit []
browndawg has joined #ruby
SrPx has quit [Remote host closed the connection]
browndawg has quit [Max SendQ exceeded]
inkblot_ has left #ruby [#ruby]
blom has quit [Read error: Connection reset by peer]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
blom has joined #ruby
dayepa has quit [Quit: dayepa]
yasushi has joined #ruby
mmachine3000 has joined #ruby
njection has joined #ruby
TheEconomist has joined #ruby
__greg has quit [Quit: Leaving]
jamto11 has quit [Remote host closed the connection]
Amart41 has joined #ruby
abdulsattar has quit [Ping timeout: 252 seconds]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
mary5030 has quit [Ping timeout: 240 seconds]
teddyp1c_ has joined #ruby
browndawg has joined #ruby
bal has joined #ruby
browndawg has quit [Max SendQ exceeded]
endash_ has joined #ruby
bal has quit [Client Quit]
endash_ has quit [Client Quit]
ferno has joined #ruby
kpshek has joined #ruby
cj3kim has joined #ruby
teddyp1cker has quit [Ping timeout: 246 seconds]
tt1187 has joined #ruby
njection has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby
duggiefresh has joined #ruby
<ceej> I'm trying to learn about rack middleware, but I can't find a good example of rack middleware including other middle on initialize. Does anyone know of a good example?
zellio has quit [Quit: leaving]
bal has joined #ruby
ferno has quit [Ping timeout: 240 seconds]
atlas__ has joined #ruby
beneggett has quit [Read error: No route to host]
gnagno has joined #ruby
aganov has quit [Remote host closed the connection]
SrPx has joined #ruby
JasmeetQA1 has quit [Read error: Connection reset by peer]
stringoO has quit [Quit: stringoO]
sk87 has joined #ruby
meatherly has quit [Remote host closed the connection]
rayners has joined #ruby
<shevy> ceej yeah, the upcase example
<shevy> when I saw it, I suddenly understood middleware
marcdel has quit []
njection has joined #ruby
Speed has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<shevy> I cant find it though
yfeldblum has joined #ruby
<ceej> jhass: thank you
mercwithamouth has quit [Ping timeout: 252 seconds]
Villadelfia has joined #ruby
meatherly has joined #ruby
<ceej> jhass: do yo know why they use self.new and not #initialize ?
nerium has joined #ruby
beneggett has joined #ruby
<jhass> ceej: because they return the result of Rack::Builder.new { }.to_app
<nerium> Is it possible to add build-flaggs to my gem spec?
coderxin has quit [Remote host closed the connection]
lethjakman has quit [Ping timeout: 240 seconds]
<ceej> jhass: makes sense, thank you
jamto11 has joined #ruby
Rober9393 has joined #ruby
momomomomo has joined #ruby
bearg has joined #ruby
razibog has quit [Quit: Leaving.]
njection has quit [Ping timeout: 240 seconds]
sdouglas has quit [Read error: Connection reset by peer]
paolooo has joined #ruby
poguez_ has joined #ruby
sdouglas has joined #ruby
bluenemo has quit [Remote host closed the connection]
Solnse has joined #ruby
xcv_ has quit [Remote host closed the connection]
coderxin has joined #ruby
albedoa has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
yasushi has quit [Remote host closed the connection]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
_maes_ has joined #ruby
DaniG2k has quit [Quit: leaving]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
<ceej> jhass: one last quick question, I see they just use #call https://github.com/rkh/rack-protection/blob/master/lib/rack/protection.rb#L20 but I've seen older examples of people doing def call(env); dup._call(env); end saying it makes it thread safe. Is that not really needed anymore?
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
njection has joined #ruby
lolmaus has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
_justin has quit [Quit: _justin]
browndawg has joined #ruby
<jhass> I'm sorry, I'm not that deep into the specifics of rack
browndawg has quit [Max SendQ exceeded]
bal has quit [Quit: bal]
<jhass> rack-protection is quite popular though, so I'd expect them to be threadsaf
<jhass> e
<jokke> hey.. I have a rather weird spec i want to write: I need have a method run that calls another method with a block in which it waits x amount of seconds. I already have a spec that tests the functionality but i'd like to test whether it also waits x seconds. The problem is that the other method which yields can be anything and need an unknown amount of time to yield...
sm1ly has joined #ruby
<ceej> jhass: no worries, that's what I was thinking too and why I was a bit confused :P
<sm1ly> re2all. I got installed gitlab to centos 6.5 by this manual: https://gitlab.com/gitlab-org/gitlab-recipes/blob/master/install/centos/README.md it starts and than register new user, it send me mail. and I reboot server. that gitlab service dont start. unicorn brokes. log is: http://pastebin.com/qysNdMSF
mansi has quit [Remote host closed the connection]
<ceej> thank you for all your help though
zachallett has quit [Remote host closed the connection]
no0code has quit [Remote host closed the connection]
mansi has joined #ruby
alexju has quit [Remote host closed the connection]
<jhass> jokke: I think you can solve that with the timecop gem
mikepack_ has joined #ruby
<jhass> been a while I looked at it though
moted has quit [Ping timeout: 265 seconds]
_Andres has joined #ruby
jmurray has joined #ruby
rippa has joined #ruby
wolfsoul has quit [Quit: Leaving]
mansi has quit [Ping timeout: 240 seconds]
mikepack has quit [Ping timeout: 240 seconds]
<jokke> timecop alright i'll have a look at it, thanks!
alexju has joined #ruby
IcyDragon has joined #ruby
Es0teric has joined #ruby
obs has quit [Quit: Konversation terminated!]
mansi has joined #ruby
njection has quit [Ping timeout: 255 seconds]
<jokke> hm
<jhass> jokke: that is if you can control what is yielded and freeze the time there
blackmesa has joined #ruby
DrShoggoth has quit [Quit: Leaving]
<jokke> jhass: ah
<jokke> sure can
<jokke> with double
IceDragon has quit [Ping timeout: 264 seconds]
ndrei has quit [Ping timeout: 240 seconds]
dstynchula has joined #ruby
juarlex has joined #ruby
beneggett has quit [Ping timeout: 264 seconds]
Quetza1 has left #ruby [#ruby]
njection has joined #ruby
<jhass> so if you want to assert that the method waits x seconds before the block is called, I'd snapshot the time before the call, freeze the time in the yield, get another Time.now after the call finished and assert something like expect(after-before).to be_within(1).of(expected)
baroquebobcat has quit [Quit: baroquebobcat]
beneggett has joined #ruby
Advocation has left #ruby [#ruby]
lkba has quit [Ping timeout: 246 seconds]
ndrei has joined #ruby
camilo has quit [Remote host closed the connection]
mikepack has joined #ruby
Advocation has joined #ruby
tcstar has joined #ruby
mary5030 has joined #ruby
bbloom has joined #ruby
baroquebobcat has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
jamto11 has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
Guest13108 has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
tkuchiki has quit [Remote host closed the connection]
mikepack has quit [Ping timeout: 246 seconds]
Pluff has quit [Remote host closed the connection]
tjr9898 has joined #ruby
maletor has joined #ruby
njection has quit [Ping timeout: 240 seconds]
nahiluhmot has joined #ruby
Speed has quit [Ping timeout: 264 seconds]
blockout has joined #ruby
coderxin has quit [Remote host closed the connection]
Tachoh has left #ruby [#ruby]
<blockout> Hey guys, can someone give me a hint what should i do? When i start a rake process, in ps i don't see it's arguments
<blockout> e.g.
<blockout> 31126 pts/3 Sl+ 0:15 /home/deploy/.rvm/gems/ruby-1.9.3-p429@sau/bin/rake
Elhu has joined #ruby
<blockout> I have found this, but everything is on newvest version
abs has quit [Quit: leaving]
cj3kim has joined #ruby
tjr9898 has quit [Ping timeout: 240 seconds]
<blockout> any tip for me ?
maasha has quit [Quit: Page closed]
baroquebobcat_ has joined #ruby
<workmad3> blockout: you're probably just using the wrong ps invocation...
Rober9393 has quit [Ping timeout: 255 seconds]
baroquebobcat_ has quit [Client Quit]
BuddhaGorilla has quit [Quit: Dreaming of bananas and butter...]
gaussblurinc has quit [Quit: Leaving.]
wallerdev has joined #ruby
robbyoconnor has quit [Ping timeout: 255 seconds]
<blockout> workmad3: how do you mean that ?
baroquebobcat has quit [Ping timeout: 240 seconds]
njection has joined #ruby
klaut has quit [Remote host closed the connection]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
derek_c has joined #ruby
davy_ has joined #ruby
<workmad3> blockout: you can alter the output from running 'ps' to choose what's displayed... it doesn't just automatically show everything like command arguments
blom has quit [Remote host closed the connection]
Rober9393 has joined #ruby
<blockout> hm no, i have just done ps auxwww |grep rake
blom has joined #ruby
tylersmith has joined #ruby
<blockout> but i have just found a trick, i can set $0 at start of rake and that will be shown as process name? nice!
sk87 has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
m1lt0n_ has quit [Quit: leaving]
nari has quit [Ping timeout: 240 seconds]
atlas__ has quit [Ping timeout: 255 seconds]
BuddhaGorilla has joined #ruby
klaut_ has joined #ruby
michaeldeol has joined #ruby
tungd has quit [Ping timeout: 240 seconds]
Guest13108 has joined #ruby
cj3kim has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
blockout has quit [Quit: Leaving]
Rollabunna has quit [Remote host closed the connection]
sski has quit [Remote host closed the connection]
sski has joined #ruby
CreativeEmbassy has quit [Quit: FO SHO]
blom has quit [Ping timeout: 255 seconds]
apeiros has quit [Remote host closed the connection]
terrellt_ has joined #ruby
Spami has joined #ruby
pietr0 has joined #ruby
jollyy has quit [Quit: jollyy]
derek_c has quit [Ping timeout: 264 seconds]
terrellt has quit [Disconnected by services]
terrellt_ is now known as terrellt
okdas has joined #ruby
mercwithamouth has joined #ruby
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
wallerdev has quit [Quit: wallerdev]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
razrunelord has joined #ruby
sski has quit [Ping timeout: 264 seconds]
lethjakman has joined #ruby
browndawg has joined #ruby
okdas has quit [Ping timeout: 246 seconds]
browndawg has quit [Max SendQ exceeded]
albedoa has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
njection has quit [Ping timeout: 255 seconds]
ferno has joined #ruby
axsuul has quit [Ping timeout: 252 seconds]
OdNairy has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
baroquebobcat has joined #ruby
tvw has quit [Read error: Connection reset by peer]
tvw has joined #ruby
vlad_sta_ has joined #ruby
beneggett has joined #ruby
Speed has joined #ruby
OdNairy has quit [Client Quit]
vlad_starkov has quit [Ping timeout: 240 seconds]
arietis has joined #ruby
zachallett has joined #ruby
blom has joined #ruby
baroquebobcat has quit [Client Quit]
Sou|cutter has joined #ruby
njection has joined #ruby
TMM has quit [Quit: Ex-Chat]
hobodave has joined #ruby
peta_ has joined #ruby
baroquebobcat has joined #ruby
tvw has quit [Read error: Connection reset by peer]
tvw has joined #ruby
yfeldblum has quit [Remote host closed the connection]
AlexRussia has quit [Read error: Connection reset by peer]
OdNairy has joined #ruby
rvraghav93 has joined #ruby
havenwood has quit []
m4n1f3st0 has joined #ruby
<rvraghav93> Hi, I am a newbie to RoR can any one help me with this error ? https://gist.github.com/rvraghav93/8759df8abbc045a29f7a
<jhass> rvraghav93: check #RubyOnRails for rails help
<rvraghav93> jhass: they only directed me here :(
<jhass> your error looks temporary though, just try again
mike_k has joined #ruby
Doppp has quit [Ping timeout: 252 seconds]
<rvraghav93> jhass: I have been trying from the morning ...
beneggett has quit [Ping timeout: 246 seconds]
banister has joined #ruby
i_s has joined #ruby
claymore has quit [Ping timeout: 264 seconds]
<rvraghav93> Senjai: No solutions here too :( Can you guide me how to reset my RoR atleast ?
camilasa_ has quit []
<Senjai> Sorry, These kind of questions are really difficult to debug
<Senjai> I don't know how to help
<jhass> rvraghav93: the thing is that this is most likely an issue your network then
<Senjai> jhass: I redericted him here
beneggett has joined #ruby
<Senjai> form ror
tvw has quit [Ping timeout: 264 seconds]
<crome> rubygems.org can be pretty crappy
<rvraghav93> Senjai: ok ill try reinstalling the whole thing again ... jhass: thanks for your time :)
m4n1f3st_ has joined #ruby
<rvraghav93> crome: does that mean changing the source could help ??
browndawg has joined #ruby
m4n1f3st0 has quit [Ping timeout: 264 seconds]
browndawg has quit [Max SendQ exceeded]
agent_white has joined #ruby
AlexRussia has joined #ruby
njection has quit [Ping timeout: 240 seconds]
aaronmcadam has quit [Quit: Leaving...]
browndawg has joined #ruby
bradhe has quit [Remote host closed the connection]
browndawg has quit [Max SendQ exceeded]
wallerdev has joined #ruby
tvw has joined #ruby
Atw has quit [Ping timeout: 246 seconds]
bradhe has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
paolooo has quit [Ping timeout: 245 seconds]
aaronmcadam has joined #ruby
apeiros has joined #ruby
davy_ has quit [Remote host closed the connection]
saarinen has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
Xeago has joined #ruby
jamto11 has joined #ruby
davy_ has joined #ruby
ga1j1n has quit [Read error: Connection reset by peer]
Rober9393 has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
jeregrine has joined #ruby
Xeago has quit [Remote host closed the connection]
bradhe_ has joined #ruby
ga1j1n has joined #ruby
bradhe has quit [Read error: Connection reset by peer]
agent_white has quit [Ping timeout: 246 seconds]
browndawg has joined #ruby
jespada has quit [Quit: Leaving]
browndawg has quit [Max SendQ exceeded]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
agent_white has joined #ruby
benzrf has joined #ruby
<benzrf> hey
<agent_white> Mornin' folks
<benzrf> is there any way to freeze a ruby process, smalltalk-style?
momomomomo has quit [Quit: momomomomo]
<benzrf> like, can a ruby vm instance be serialized
<benzrf> o.o
bradhe_ has quit [Remote host closed the connection]
creede has quit [Ping timeout: 264 seconds]
Xeago_ has quit [Ping timeout: 246 seconds]
<jokke> hey. Do you think this is too much for one spec? https://paste.jreinert.com/UcEh7/ruby
njection has joined #ruby
pel_daniel has joined #ruby
<banister> benzrf no, u should write that :)
dagobah has quit [Quit: Leaving...]
<benzrf> :I
<banister> benzrf if you do that i'll make you my gf
<benzrf> im not even a grill ;-;
<wallerdev> banister doesn’t care haha
hobodave has quit [Ping timeout: 255 seconds]
abdulsattar has joined #ruby
dgarstang4 has quit [Quit: WeeChat 0.4.2]
<shevy> benzrf you really need to write a programming language
<certainty> we have enough programming languages :)
mercwithamouth has quit [Ping timeout: 246 seconds]
<jokke> it's never enough!
<wallerdev> the day we stop creating new programming languages is the day programming dies
larsam has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
chuk has joined #ruby
claymore has joined #ruby
<certainty> which problem should the new language solve?
<agent_white> I wanna see when it shifts away from using C to build errythang.
<shevy> certainty all objects living in a VM
<wallerdev> complexity
<certainty> shevy: smalltalk
m4n1f3st0 has joined #ruby
<shevy> smalltalk allows no alternative to this schemata
<certainty> wallerdev: there are good tools to deal with complexity in existing languages
hobodave has joined #ruby
<jokke> okay. no-ones yelling at me so i guess the spec is alright.
jlebrech has quit [Quit: Konversation terminated!]
<benzrf> i was thinkin about a purely referentially tansparent language that uses oop-style organization
<benzrf> & maybe polymorphism o:
<shevy> what the heck does that even mean
<certainty> benzrf: i like the first part but not the latter
<benzrf> certainty: which latter part
<shevy> poop style can never be wrong
<certainty> oop-style organization
m4n1f3st_ has quit [Ping timeout: 264 seconds]
<certainty> benzrf: ^
<agent_white> shevy: That depends on the wipe count
<agent_white> But then again, maybe you just ate something wrong
wallerdev has quit [Quit: wallerdev]
timonv has quit [Remote host closed the connection]
<shevy> lol
wallerdev has joined #ruby
<benzrf> pfft
aaronmcada has joined #ruby
<benzrf> certainty: im referring to methods & local data
<shevy> the best strategy is zero wipe count
nahiluhmot has quit [Quit: leaving]
<benzrf> if you dont like that then why are you using ruby o-o
<certainty> benzrf: my company forces that on me :)
<benzrf> :I
<agent_white> shevy: You skeezy motherfucker
<certainty> benzrf: also it was the sanest of all options actually. Otherwise i had to code in php and C
<agent_white> Teach me to poo like you
<shevy> agent_white I am just trying to visualize what benzrf aims for
jtgiri_ has joined #ruby
<benzrf> ugh
ahawkins has quit [Remote host closed the connection]
<agent_white> ;D
<agent_white> ewwww PHP
<shevy> oh
blom has quit [Remote host closed the connection]
<shevy> PHP is this poop-style organization?
<benzrf> i was also contemplating a dynamic strong ruby-like language that tracks side fx
njection has quit [Ping timeout: 240 seconds]
<agent_white> I think we should all code in Brainfuck for job security.
<shevy> side fx
<shevy> is that like a bomb exploding as you code?
<benzrf> the problem is that that doesnt lend itself well to late binding ;-;
<certainty> :)
blom has joined #ruby
<agent_white> PHP is poop-style, no-wipe for sure.
<shevy> wait
<benzrf> but maybe explicitly different syntax for side-effectual operations and non-effectual ones could fix that
<shevy> let's ask centrx about PHP
<shevy> damn he is not here :(
aaronmcadam has quit [Ping timeout: 240 seconds]
<benzrf> hmm maybe im onto something here
<certainty> benzrf: do it the clojure way, allow sideeffects in specific syntactic constructs
<benzrf> certainty: oh?
<benzrf> clojure does that?
lyanchih has quit [Ping timeout: 264 seconds]
<certainty> benzrf: they don't actually track IO but one could extend the idea
asteros has joined #ruby
<benzrf> i did a fully runtime side effect thing for my toy lisp
w1zeman1_ has joined #ruby
<benzrf> but that's not very useful
Es0teric has quit [Quit: Nigga, im OUTIE 5000]
<benzrf> i think if you entirely separated effectual code and pure code at a semantic AND syntactic level
<certainty> benzrf: they allow updates of mutuble references to immutable data only inside transactions (well not for all references but for specifc ones)
<benzrf> you could have late binding and dynamic stuff, while still having nice compile-time effect analysis
<benzrf> certainty: neat o=
shredding has quit [Read error: Connection reset by peer]
<benzrf> i also like first-class functions, which ruby does not have :T
vlad_starkov has joined #ruby
<certainty> yeah that's pretty much mandatory these days
nari has joined #ruby
mrnugget has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<certainty> i actually like clojure, it's a good mixture of haskell and lisp. It could enforce purity more for my taste, but that's left out on purpose. Clojurians seperate pure code from side-effecting code quite disciplined
<certainty> of course they don't have a typsystem that kicks them in their balls if they don't play nicely
blom has quit [Ping timeout: 255 seconds]
shredding has joined #ruby
<agent_white> I hope more languages come out that allow direct memory management like C. I like looking at hex and knowing it's a bucket in my ram. Kinda kewl.
blom has joined #ruby
* agent_white shrugs
W0rmDr1nk has quit [Ping timeout: 255 seconds]
sdouglas has quit [Remote host closed the connection]
vlad_sta_ has quit [Ping timeout: 240 seconds]
GaryOak_ has joined #ruby
<agent_white> rantic: *See Potato Linux*
<agent_white> MT
sdouglas has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
njection has joined #ruby
ferno has quit [Ping timeout: 240 seconds]
TheEconomist has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
banister_ has joined #ruby
<certainty> agent_white: there certainly is a need for this kind of stuff, but it did more harm than good in the past, because it was applied to every problem
OdNairy has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
sailias has quit [Ping timeout: 252 seconds]
browndawg has joined #ruby
SrPx has quit [Remote host closed the connection]
<certainty> most of the existing vulnerabilities are due to memory management errors, probably followed by off-by-one errors
browndawg has quit [Max SendQ exceeded]
banister has quit [Ping timeout: 264 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<agent_white> certainty: Aye! But I still enjoy the fine-grained control :)
<agent_white> Though I have yet to really dive into it.
beneggett has quit [Ping timeout: 255 seconds]
browndawg has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
browndawg has quit [Max SendQ exceeded]
<certainty> i don't work in places where this is needed, so i'm glad that i don't have too often. Only if some of my eggs have to call into C I eventually have to manage memory myself
beauby has joined #ruby
abra has quit [Ping timeout: 264 seconds]
bradhe has joined #ruby
<agent_white> Ah yeah. I picked my university because its CSE curriculum is taught in C++/C, so I hope I might get to fiddle in a project using it one day.
roolo has quit [Quit: Leaving...]
hobodave has quit [Ping timeout: 252 seconds]
<certainty> agent_white: eww, that would be hell for me. :) C doesn't fit my brain well
<certainty> c++ neither
YamakasY has quit [Ping timeout: 240 seconds]
bradhe has quit [Read error: Connection reset by peer]
catphish has joined #ruby
noop has joined #ruby
bradhe has joined #ruby
mjs2600 has quit [Remote host closed the connection]
phansch has joined #ruby
sparrovv has joined #ruby
sparrovv has quit [Remote host closed the connection]
jhn_ has joined #ruby
njection has quit [Ping timeout: 246 seconds]
CreativeEmbassy has joined #ruby
<benzrf> if you like low level shit just use asm
<benzrf> o.o
jhn_ has quit [Max SendQ exceeded]
arietis has joined #ruby
rezzack has joined #ruby
nanoyak has joined #ruby
jhn_ has joined #ruby
creede has joined #ruby
<agent_white> benzrf: Someday... I actually have a program that is vulnerable to buffer overflows that I inject some arbitrary shell-code into... so I want to figure out how to write my own shell-code so it opens something other than xterm. ;D
<certainty> http://bartoszmilewski.com/2014/02/26/c17-i-see-a-monad-in-your-future that was kind of interesting. I know that c++ was lending more and more ideas from FP but I didn't know how far they're willing to go
IcyDragon is now known as IceDragon
<benzrf> .-.
treaki__ has joined #ruby
<certainty> last time I touched C++, C++0x was around the corners and boost has been used heavily also alexandrescu showed some sick stuff with templates
treaki_ has quit [Ping timeout: 255 seconds]
ndrei has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
nisstyre has joined #ruby
<certainty> probably the Oleg of C++ :)
Creative_ has joined #ruby
abra has joined #ruby
tonni has joined #ruby
ferno has joined #ruby
tt1187 has quit [Ping timeout: 255 seconds]
beneggett has joined #ruby
blandflakes has quit [Quit: Page closed]
nvrch has quit [Quit: nvrch]
doodleha_ has joined #ruby
lkba has joined #ruby
mmachine3000 has quit [Remote host closed the connection]
chuk has quit [Quit: This computer has gone to sleep]
njection has joined #ruby
sheepman is now known as sheepman|away
fveillette has quit []
mrnugget has quit [Ping timeout: 240 seconds]
Asher has quit [Quit: Leaving.]
phansch has quit [Quit: WeeChat 0.4.2]
ndrei has joined #ruby
sheepman|away is now known as sheepman
timonv has joined #ruby
jbueza has joined #ruby
doodlehaus has quit [Ping timeout: 255 seconds]
rainmanjam has joined #ruby
<shevy> omg
thirdender1 has joined #ruby
sputnik13 has joined #ruby
rankine has joined #ruby
rankine has quit [Changing host]
rankine has joined #ruby
sputnik13 has quit [Max SendQ exceeded]
hobodave has joined #ruby
sputnik13 has joined #ruby
atlas__ has joined #ruby
geopet has quit []
njection has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Ping timeout: 240 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blom has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
W0rmDr1nk has joined #ruby
blom has joined #ruby
mjs2600 has joined #ruby
agjacome has joined #ruby
philcrissman has joined #ruby
io_syl has joined #ruby
centrx has joined #ruby
nari has quit [Ping timeout: 240 seconds]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
davy_ has quit [Remote host closed the connection]
mjs2600 has quit [Read error: Connection reset by peer]
mikepack_ has quit [Remote host closed the connection]
mjs2600 has joined #ruby
timonv has quit [Read error: Connection reset by peer]
freggles has joined #ruby
mikepack has joined #ruby
Virtualize|away has quit [Quit: Linkinus - http://linkinus.com]
Creative_ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
BuddhaGorilla has quit [Quit: Dreaming of bananas and butter...]
blom has quit [Ping timeout: 240 seconds]
shredding has quit [Ping timeout: 246 seconds]
elaptics is now known as elaptics`away
njection has joined #ruby
teddyp1c_ has quit []
timonv has joined #ruby
teddyp1cker has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
YamakasY has joined #ruby
_justin has joined #ruby
iceden has joined #ruby
bricker_ is now known as bricker
atlas__ has quit [Ping timeout: 264 seconds]
Vovko has joined #ruby
fudanchii has joined #ruby
xcv has joined #ruby
sailias has joined #ruby
rakm has quit [Quit: Connection closed for inactivity]
einarj has quit [Remote host closed the connection]
circuit has joined #ruby
fgo has joined #ruby
northfurr has quit [Ping timeout: 246 seconds]
shaunbaker has quit [Remote host closed the connection]
bearg has quit [Ping timeout: 252 seconds]
njection has quit [Ping timeout: 246 seconds]
Notte has joined #ruby
swegstar has joined #ruby
<swegstar> hello
<swegstar> i am thinking of starting to learn ruby but idk if it's worth it
<swegstar> vies?
<swegstar> views?
Elhu has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
<centrx> swegstar, It will make you happy
m4n1f3st0 has quit []
mark_locklear has quit [Ping timeout: 264 seconds]
<crome> its an odd question to ask on a ruby channel
njection has joined #ruby
abra_ has joined #ruby
<swegstar> haha thats true, but i'm assuming you all have had experience of various languages
abra_ has quit [Max SendQ exceeded]
<crome> no, ruby is a horrible, horrible language. I use it solely to repent for my sins
abra has quit [Ping timeout: 246 seconds]
hobodave has quit [Ping timeout: 252 seconds]
dumdedum has quit [Quit: foo]
abra_ has joined #ruby
hobodave has joined #ruby
<banister_> swegstar worth it in terms of what? you have to state what your goals are in order for taht question to even make sense
<centrx> #ruby channel officially recommends PHP or BASIC
* benzrf slaps centrx
<certainty> swegstar: it totally depends on what you expect from a launguage
<certainty> -u
<banister_> swegstar if you just want to get a job, ruby is a good choice, lots of ruby jobs around
<benzrf> swegstar: ruby is a pleasant language
<benzrf> it is not necessarily the best language, but it is fun
<banister_> swegstar if on the other hand you're already an expereinced programmer in something like python, then learning ruby will not be a mind-expanding experience so it wont be worth it in that respect
<benzrf> it has issues, but i like it
m4n1f3st0 has joined #ruby
<centrx> It has no issues.
<certainty> benzrf: name your language blow ... then once it's popular people can claim that there are lots of blow jobs
<centrx> benzrf has issues
<crome> lol
TMM has joined #ruby
TMM has quit [Changing host]
TMM has joined #ruby
<apeiros> banister_: was at lunch when you pinged earlier today - what's up?
mike_k has quit [Remote host closed the connection]
sarlalian has quit [Quit: WeeChat 0.4.0]
kpshek has quit []
<banister_> apeiros fixed it :) just wanted to know the behaviour of hidden_field for a form_for(foo)
<apeiros> ah
mary5030 has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
fgo has quit [Remote host closed the connection]
fantazo has joined #ruby
<centrx> I think we scared him away
creede has quit [Ping timeout: 264 seconds]
hobodave has quit [Client Quit]
<crome> this is what you get for being honest
<swegstar> ahah no dont worry im still here
mikepack_ has joined #ruby
<certainty> statistics have shown that your odds to get a girl are significantly higher if you respond with ruby when she asks which programming language you use
asteros has quit [Quit: asteros]
<crome> because they like jewels?
<certainty> most C programmers get instantly slaped, but they're used to pain anyway
njection has quit [Ping timeout: 240 seconds]
<certainty> crome: possibly
<certainty> it's a mystery yet
<swegstar> LOOL
<crome> its funny how certainty tells me something is possible
<swegstar> loving this :')
ehaliewicz has joined #ruby
jayne has quit [Remote host closed the connection]
kpshek has joined #ruby
<certainty> the problem is of course that very few girls actually ask that question :D
<crome> so its their fault
<crome> done
<swegstar> thanks for the advice guys i appreciate it :)
swegstar has left #ruby [#ruby]
shinobi_one has joined #ruby
<dstynchula> teehee
<crome> I dont think we gained a follower
<certainty> see he just wants to get the girls
<centrx> You failed
<centrx> I'm going to send some more people in from ##php and this time you better do it right!
<certainty> i think centrx scared him away
shaileshg has quit [Quit: Connection closed for inactivity]
mikepack_ has quit [Ping timeout: 252 seconds]
<benzrf> bbl ;-;
benzrf is now known as benzrf|offline
ehaliewicz has quit [Ping timeout: 246 seconds]
njection has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
JaTochNietDan has joined #ruby
<shevy> centrx is so evil
magoo has joined #ruby
<centrx> Saving souls from PHP is not evil!
Xeago has joined #ruby
platzhirsch has joined #ruby
creede has joined #ruby
francisfish has quit [Remote host closed the connection]
<platzhirsch> Having two arrays of intervals how can I detect or remove them out of one array if they are the same? For instance a = [[1,2], [4,5]] and b = [[0, 10], [4,5]] I would like to remove the [4,5] out of one of them
Al__ has quit [Quit: Al__]
philcrissman has quit [Remote host closed the connection]
dik_dak has quit [Ping timeout: 246 seconds]
ferno has left #ruby ["WeeChat 0.4.2"]
<jhass> I think Array#- should work
<platzhirsch> ah right, that's good
<jhass> >> [[1,2],[4,5]]-[[0,10],[4,5]]
njection has quit [Ping timeout: 240 seconds]
<platzhirsch> but the order is important
workmad3 has quit [Ping timeout: 255 seconds]
<platzhirsch> > [[1,2],[4,5]]-[[0,10],[4,5]]
Al__ has joined #ruby
teddyp1cker has joined #ruby
rdark has quit [Quit: leaving]
timonv has quit [Remote host closed the connection]
<shevy> hey
radic has quit [Disconnected by services]
<jhass> eval-in seems sleeping, anyway, I get [[1, 2]]
<shevy> why did you guys break the bot
radic_ has joined #ruby
x1337807x has joined #ruby
Al__ has quit [Client Quit]
<platzhirsch> or concatenate them and run uniq
<platzhirsch> ohh boy, what is the time complexity of uniq?
<apeiros> O(n)
yfeldblum has joined #ruby
<platzhirsch> awesome
<apeiros> it's not the same as -, though
mikecmpbll has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
<platzhirsch> apeiros: yeah found it
<apeiros> well, O(n+m) actually
<platzhirsch> that should be fine. Just finished three coding tests in a time limit
<apeiros> better than concat + uniq is to just use union directly
asteros has joined #ruby
<apeiros> a | b
hobodave has joined #ruby
juarlex has quit [Remote host closed the connection]
nbezzala has joined #ruby
juarlex has joined #ruby
tjr9898 has joined #ruby
funktor has joined #ruby
<platzhirsch> oh
sarlalian has joined #ruby
teddyp1cker has quit [Ping timeout: 240 seconds]
axsuul has joined #ruby
kpshek has quit []
JesseCW has joined #ruby
mjw1 has joined #ruby
njection has joined #ruby
<platzhirsch> good good good... thanks
asteros has quit [Client Quit]
<JesseCW> Is it possible to have a line in a configure block use multiple lines such as this? https://gist.github.com/JesseC-/5a0fac50746bd95c8319
ferr has joined #ruby
okdas has joined #ruby
<centrx> JesseCW, This looks like some kind of DSL?
jamto11 has quit [Remote host closed the connection]
tjr9898 has quit [Ping timeout: 255 seconds]
_justin has quit [Ping timeout: 252 seconds]
BuddhaGorilla has joined #ruby
<centrx> oh, it's just commas
afex has joined #ruby
<JesseCW> Yeah, it's a configuration file for Vagrant which is apprently Ruby
<JesseCW> I honestly don't know Ruby. I'm just trying to make my config file more readable.
kpshek has joined #ruby
lolmaus has quit [Remote host closed the connection]
AntelopeSalad has quit [Remote host closed the connection]
AntelopeSalad has joined #ruby
Al__ has joined #ruby
kevinykchan has joined #ruby
Lulzon_ has quit [Ping timeout: 265 seconds]
njection has quit [Ping timeout: 240 seconds]
dik_dak has joined #ruby
maZtah has joined #ruby
rjk808 has joined #ruby
<JesseCW> Has to be a better way than just dumping all of this on a single line.
Lulzon has joined #ruby
okdas has quit [Ping timeout: 264 seconds]
<jhass> You already got two comments on your gist
klaut_ has quit [Remote host closed the connection]
phantomtiger has quit [Quit: phantomtiger]
<JesseCW> oh my bad, didn't see those, thanks
davy_ has joined #ruby
coderxin has joined #ruby
yacks has quit [Quit: Leaving]
m4n1f3st0 has quit []
<shevy> JesseCW come to ruby!
<JesseCW> Seems the way I was putting those commas doesn't work with Ruby. It was just something I picked up reading peoples gruntfiles
<JesseCW> as it works in javascript
mgorbach has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
njection has joined #ruby
geoffw8_ has quit [Quit: Connection closed for inactivity]
Notte has quit [Remote host closed the connection]
fantazo has quit [Quit: Verlassend]
jmurray has quit [Quit: jmurray]
enebo has joined #ruby
<JesseCW> Thanks shevy. :)
dik_dak has quit [Ping timeout: 246 seconds]
ga1j1n has quit [Remote host closed the connection]
ga1j1n has joined #ruby
wald0 has joined #ruby
ferr has quit [Quit: Leaving.]
<platzhirsch> Whew, that was some intense shit that coding test and if wouldn't have known the solution to the first task I guess I wouldn't have made it in time
<platzhirsch> and it's really not Ruby code, just ifs and elses, and a lot of integer pointer variables to iterate the arrays
mark_locklear has joined #ruby
Al__ has quit [Quit: Al__]
tonni_ has joined #ruby
tonni has quit [Ping timeout: 264 seconds]
mgorbach has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
peta_ has quit [Quit: peta_]
ga1j1n has quit [Ping timeout: 264 seconds]
m4n1f3st0 has joined #ruby
mgorbach has quit [Read error: Connection reset by peer]
mjc__ is now known as mjc_
njection has quit [Ping timeout: 240 seconds]
chuk has joined #ruby
mike_k has joined #ruby
timonv has joined #ruby
doodlehaus has joined #ruby
coderxin has quit [Remote host closed the connection]
BuSerD has joined #ruby
m4n1f3st0 has quit [Ping timeout: 255 seconds]
mikepack_ has joined #ruby
_justin has joined #ruby
nerium has quit [Quit: nerium]
ukd1 has joined #ruby
stupidystupid has joined #ruby
mgorbach has joined #ruby
macclearich has joined #ruby
nerium has joined #ruby
CaptainJet has joined #ruby
ndrei has joined #ruby
doodleha_ has quit [Ping timeout: 264 seconds]
dik_dak has joined #ruby
mehlah has quit [Quit: Leaving...]
maletor has quit [Quit: Computer has gone to sleep.]
mikepack has quit [Ping timeout: 255 seconds]
asteros has joined #ruby
mikepack_ has quit [Ping timeout: 246 seconds]
njection has joined #ruby
dblessing has quit [Quit: dblessing]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
mlpinit has quit [Remote host closed the connection]
ktosiek has joined #ruby
rootshift has joined #ruby
jamto11 has joined #ruby
Elhu has joined #ruby
rootshift has quit [Client Quit]
b00stfr3ak has quit [Ping timeout: 246 seconds]
catphish has quit [Quit: Leaving]
rootshift has joined #ruby
<shevy> platzhirsch hmm if we would work together on a project
lolmaus has joined #ruby
<shevy> platzhirsch I would poke you with a sharp fork
<shevy> all the time
toastynerd has quit [Remote host closed the connection]
mlpinit has joined #ruby
mlpinit has quit [Remote host closed the connection]
<platzhirsch> shevy: and I would poop into your rice bowl
mlpinit has joined #ruby
momomomomo has joined #ruby
<platzhirsch> I think at FogCreek they list that as an actual perk: We won't poke you with a stick.
chuk has quit [Quit: This computer has gone to sleep]
ga1j1n has joined #ruby
b00stfr3ak has joined #ruby
gnephiak has quit [Quit: Konversation terminated!]
w1zeman1_ has quit [Remote host closed the connection]
<shevy> I accept this tradeoff
* shevy pokes platzhirsch with a sharp fork.
<platzhirsch> darn.
WormDr1nk has joined #ruby
WormDr1nk has quit [Changing host]
WormDr1nk has joined #ruby
<shevy> you must wear the proper platzhirsch attire
<platzhirsch> I am in London next week to work at a startup and see if I fit in well. My first actual on-side 'interview'
<shevy> who is the boss at work!
<shevy> who is the boss at work!
<shevy> it is YOU
toastynerd has joined #ruby
<shevy> ewww
<shevy> you fly to london just for an interview?
W0rmDr1nk has quit [Ping timeout: 264 seconds]
njection has quit [Ping timeout: 246 seconds]
<shevy> AND you will eat UK food?
<platzhirsch> sorry, I am to beat to respond in an adequate way
<platzhirsch> I don't think there is such a thing as UK food
<platzhirsch> there is just Jamie Oliver and stuff
<shevy> sure
JBreit has joined #ruby
<shevy> take some old sick fish out of the themse
<shevy> and eat them :)
<platzhirsch> but I will bring my mighty cooking skills
<shevy> oh... it is called "Thames" in english ...
nerium has quit [Quit: nerium]
Spami has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
JBreit has left #ruby [#ruby]
nerium has joined #ruby
<platzhirsch> Actually it's not an interview, it's more like I work for them and they look if I can fit in and whether they like me or so
<platzhirsch> but on-side interviews are really the norm
davy_ has quit [Remote host closed the connection]
<shevy> ok but
acrussell has quit [Quit: Leaving.]
<shevy> you aren't located anywhere near London right?
<shevy> so you explicitely come over to *them*
<shevy> then they tell you "No we don't want you."
koell has quit [Ping timeout: 255 seconds]
<shevy> that's like an expensive shopping trip there!
<platzhirsch> Berlin
<shevy> ok now I understand
<shevy> I'd leave that Ghetto as well :)
rockelb has joined #ruby
<platzhirsch> ah, well of course they pay for travel and accommodations
<shevy> aaaah
<shevy> cool
axisys has joined #ruby
<gnagno> lol platzhirsch I am thinking about moving from London to Berlin to work :)
<shevy> you must have impressed them already
momomomomo has quit [Quit: momomomomo]
<shevy> how did you do that?
<gnagno> and you're making the opposite
<platzhirsch> yeah gnagno, but that makes sense
<shevy> gnagno don't go into the ghetto!
<platzhirsch> shevy: you are from Vienna, ain't you?
<shevy> yeah
<gnagno> shevy, actually when I arrived to London a company paid for my plane for the interview as well.... it's quite common here
<platzhirsch> yeah, typical Vienna attitude, a friend of mine also calls Berlin a Ghetto
Takehiro has joined #ruby
<shevy> but it is true!
maletor has joined #ruby
<mikecmpbll> anyone pissed about with ruboto?
<shevy> I've been to many german towns
<shevy> the only town worse than Berlin was Chemnitz :)
<platzhirsch> gnagno: not only common there, but that's the usual way to do it everywhere
blom has joined #ruby
<gnagno> why is Berlin a ghetto? I find it is a nice city
<shevy> well, Frankfurt too... that is such a boring bankster town...
<crome> mikecmpbll: a bit. but I couldnt even get it to work
<mikecmpbll> some pretty neat stuff going on with it.
<crome> it was a while ago though
<platzhirsch> gnagno: but it make sense, quality of living is probably a lot better and Berlin is cheaper
njection has joined #ruby
<mikecmpbll> i installed ruboto-irb ages ago on my phone and had a play about
<shevy> gnagno been a couple years ago but when I was there, they literally built *everywhere*
<platzhirsch> plus startups are booming
<mikecmpbll> started developing an android app with it now, got my osx dev env set up.
<gnagno> platzhirsch, that's the reason why I want to move to berlin, I get almost the same salary, but the life costs a lot less
mjs2600 has quit [Remote host closed the connection]
momigi has quit [Remote host closed the connection]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
<platzhirsch> gnagno: so can I bomb you with some questions? Do you live in London, too?
<platzhirsch> or more outside
<gnagno> platzhirsch, yes sure, I live in Greenwich
mary5030 has joined #ruby
<platzhirsch> gnagno: what's your current salary?
nanoyak has quit [Quit: Computer has gone to sleep.]
<shevy> is that scottland?
mjs2600 has joined #ruby
james_d_h has joined #ruby
asteros has quit [Quit: asteros]
cgore has quit [Remote host closed the connection]
chat has joined #ruby
<platzhirsch> It's a district shevy
<crome> its also spelled scotland
<mikecmpbll> :D
jamto11 has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
sailias has quit [Ping timeout: 255 seconds]
mikepack has joined #ruby
carraroj has joined #ruby
<shevy> weird
<shevy> I always thought it is high up to the north
YamakasY_ has joined #ruby
meatherly has quit [Remote host closed the connection]
<shevy> know what is striking there?
<crome> lightning?
jjbohn has quit [Quit: Leaving...]
<shevy> yes!
<shevy> the bad weather :)
meatherly has joined #ruby
jamto11 has joined #ruby
<shevy> crome I am preparing platzhirsch for London
<crome> its tough
<crome> nothing can prepare you for the size of the place
<platzhirsch> I would rather go for NYC or SF, but at least most companies respond from applications to London
nerium has quit [Quit: nerium]
YamakasY has quit [Ping timeout: 246 seconds]
_justin has quit [Quit: _justin]
<wallerdev> you should come to SF :)
nerium has joined #ruby
<wallerdev> better weather than london at least :p
njection has quit [Ping timeout: 246 seconds]
<shevy> haha
<crome> hey, it wasnt even raining today
<shevy> and better cuisine!
<platzhirsch> from London and 2 years experience it will be easier to score a job in USA
<mikecmpbll> depends what weather you like
<mikecmpbll> and cuisine.
<shevy> why is it easier from london to the usa?
<crome> shevy: food is actually nothing bad in london
<gnagno> it's easy to find better cuisine than London I think....
<shevy> crome yeah, asian shops are everywhere
<axisys> how do I improve this to combine two csv files on matching field only .. if field1 of a row of csv file1 one matches to a field2 of a row of csv file2 then merge them
<shevy> axisys can't you keep it in a temp variable?
<shevy> and then compare?
<platzhirsch> shevy: For instance when I switch to a company which has offices in USA, too
cj3kim has joined #ruby
<shevy> ah ok
<platzhirsch> plus with more experience it's more likely they will interview and sponsor me a H1B
<axisys> shevy: newbie
<platzhirsch> It's really just about getting the foot out
meatherly has quit [Ping timeout: 264 seconds]
<platzhirsch> At least they have Topshop/Topman all over the place
meatherly has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<shevy> axisys hi!
axsuul has quit [Ping timeout: 264 seconds]
njection has joined #ruby
toastynerd has quit [Remote host closed the connection]
<shevy> axisys just assign, like temp_var = field
<shinobi_one> so is docopt the way to go for writing shell programs?
<shevy> I don't know what is .assoc though
<shevy> ruby is the way to write shell-related actions
Villadelfia has quit [Quit: Computer has gone to sleep.]
zeropx has joined #ruby
<shinobi_one> shevy: do you know what docopt is?
<shevy> no idea
francisfish has joined #ruby
<shinobi_one> it's pretty sexy https://github.com/docopt/docopt.rb
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
<axisys> shevy: may be I need to look at an example on ruby addresses each field
<shevy> hmm
<shevy> shinobi_one so one has to pass in only one string?
jmeeuwen has joined #ruby
<shinobi_one> shevy: to generate the documentation AND get the parsed argument hash yes
dzhulk has joined #ruby
peta_ has joined #ruby
senayar_ has joined #ruby
rankine has quit [Quit: leaving]
<shinobi_one> not sure if it works on 2.1.0 though
Malkio has joined #ruby
senayar_ has quit [Read error: No route to host]
ferr has joined #ruby
senayar_ has joined #ruby
nerium has quit [Quit: nerium]
dik_dak has quit [Ping timeout: 252 seconds]
francisfish has quit [Remote host closed the connection]
jtgiri_ has quit [Quit: jtgiri_]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nerium has joined #ruby
blom has quit [Remote host closed the connection]
senayar has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
rjk808_ has joined #ruby
stupidystupid has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claymore has quit [Ping timeout: 252 seconds]
blom has joined #ruby
YamakasY_ has quit [Ping timeout: 240 seconds]
stupidystupid has joined #ruby
stupidystupid has quit [Max SendQ exceeded]
momigi has joined #ruby
<shevy> hmm
Takehiro has quit [Remote host closed the connection]
rankine has joined #ruby
OdNairy has joined #ruby
<shinobi_one> i'm writing some utility to deal with virtualbox command line crap, and was going to use OptionParser, but ehhh I don't like its limitations, so I found doctopt which looks sexy, now I'm looking at the rails source for how they do their command line stuff and I might just follow by example on that
claymore has joined #ruby
Asher has joined #ruby
BuddhaGorilla has quit [Quit: Dreaming of bananas and butter...]
asteros has joined #ruby
njection has quit [Ping timeout: 255 seconds]
Malkio has left #ruby [#ruby]
rjk808 has quit [Ping timeout: 252 seconds]
<wallerdev> shinobi_one: like vagrant?
blom has quit [Ping timeout: 264 seconds]
arya_ has quit [Ping timeout: 255 seconds]
<centrx> shinobi_one, The Rails command-line is very basic
<shinobi_one> wallerdev: nah
xcv has quit [Remote host closed the connection]
<shinobi_one> basically in interactive shell for virtualbox, so i don't have to type out all of these insanely bogus commands in my shell
tvw has quit []
<shinobi_one> an interactive*
<wallerdev> cool :)
xcv has joined #ruby
afex has quit [Ping timeout: 264 seconds]
<shinobi_one> i'm doing a lot of snapshotting, restoring, tinkering right now and hating my life with their command line >xD
macclearich_ has joined #ruby
<wallerdev> well hopefully you’re not on windows
<shinobi_one> nah, osx ssh'd into linux that is hosting vms
userx has joined #ruby
meatherly has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
armyriad has joined #ruby
meatherly has joined #ruby
beneggett has joined #ruby
abdulsattar has quit [Ping timeout: 264 seconds]
macclearich has quit [Ping timeout: 240 seconds]
Takehiro has joined #ruby
nerium has quit [Quit: nerium]
tewlz has joined #ruby
mikepack has quit [Remote host closed the connection]
<tewlz> what is the different between `Obj.meth if Obj` vs `Obj && Obj.meth`
nerium has joined #ruby
<tewlz> s/different/difference/
blom has joined #ruby
njection has joined #ruby
dik_dak has joined #ruby
meatherly has quit [Read error: No route to host]
m4n1f3st0 has joined #ruby
claymore has quit [Ping timeout: 240 seconds]
meatherly has joined #ruby
BuddhaGorilla has joined #ruby
mansi has quit [Read error: Connection reset by peer]
mansi_ has joined #ruby
claymore has joined #ruby
rockelb has quit [Quit: Leaving]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar_ has quit [Remote host closed the connection]
noop has quit [Ping timeout: 246 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
youssefeid has joined #ruby
sparrovv has joined #ruby
geopet has joined #ruby
<axisys> what is wrong here? http://dpaste.com/1744233/
<axisys> it seems hang
mikepack has joined #ruby
abdulsattar has joined #ruby
<youssefeid> hey
asteros has quit [Quit: asteros]
beneg has joined #ruby
beneggett has quit [Ping timeout: 255 seconds]
njection has quit [Ping timeout: 255 seconds]
<youssefeid> someone reply so i know i got this to work
camilasan has joined #ruby
m4n1f3st0 has quit [Client Quit]
coderxin has joined #ruby
<apeiros> youssefeid: ?
QKO has quit [Ping timeout: 252 seconds]
OdNairy has joined #ruby
<shevy> youssefeid YES YOU DID IT
<youssefeid> okay good thanks :)
<apeiros> axisys: doesn't look wrong
<shevy> tewlz dunno, but the variant with && looks damn ugly
robbyoconnor has joined #ruby
ctp has joined #ruby
davy_ has joined #ruby
m4n1f3st0 has joined #ruby
<shinobi_one> tewlz: usually && is used as a shortcut to return the object afterwards as a shortcut, like `current_user = user.authenticated? && user`
afex has joined #ruby
nisstyre has quit [Ping timeout: 246 seconds]
mando has quit [Ping timeout: 255 seconds]
m4n1f3st0 has quit [Client Quit]
<shinobi_one> apparently i don't know what a shortcut is because i typed the word twice :-\
nerium has quit [Quit: nerium]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<tewlz> shinobi_one: cool, I've seen it both ways and the if was more readable for me. Didn't know if there was any low level difference that would make one prefered to another.
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atlas__ has joined #ruby
<shinobi_one> tewlz: i've usually seen it used as a one liner in a method that returns some object
mikepack has quit [Remote host closed the connection]
nerium has joined #ruby
<youssefeid> Can anyone point me in the right direction for a ruby gem that searches a web database based on a users search. I would like it to search lets say ebay for products based on what the user enters in a textbox in html
m4n1f3st0 has joined #ruby
njection has joined #ruby
<centrx> youssefeid, "search a web database"?
m4n1f3st0 has quit [Client Quit]
aaronmcada has quit [Quit: Leaving...]
ga1j1n has quit [Remote host closed the connection]
<wallerdev> i think he means like an api
GaryOak_ has quit [Remote host closed the connection]
tt1187 has joined #ruby
<wallerdev> youssefeid: see if you can find an ebay gem haha
sambao21 has joined #ruby
ga1j1n has joined #ruby
thirdender1 has quit [Read error: Connection reset by peer]
thirdender1 has joined #ruby
<shinobi_one> doesn't everyone open up their databases for public searching through ruby gems? sheesh!
rootshift has joined #ruby
<wallerdev> that’s web 3.0
beneggett has joined #ruby
<wallerdev> chrome will query your database when your page loads and display the info however it thinks the user wants it :p
beneg has quit [Ping timeout: 252 seconds]
<youssefeid> yes, I'd like it to go to ebay for example and search something in their search engine then i'd like to click on something based on a condition
SonicX has joined #ruby
benzrf|offline is now known as benzrf
<youssefeid> i know theres an ebay api but I want it to be generic and work across mulitple websites
<shinobi_one> youssefeid: i doubt anyone has written some generic gem that can go search tons of websites and do specific actions that you want
mikepack has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<shinobi_one> but hey! i shouldn't doubt the ruby community..
ga1j1n has quit [Ping timeout: 255 seconds]
njection has quit [Ping timeout: 255 seconds]
<centrx> I don't see anyone doing that. It would be an enormous effort for little benefit.
<wallerdev> theres tons of web automation gems, I’m sure thats all he wants
Advocation has quit [Quit: Advocation]
george2 has quit [Remote host closed the connection]
nerium has quit [Quit: nerium]
fannye has quit [Remote host closed the connection]
gnagno has quit [Ping timeout: 264 seconds]
<wallerdev> i used to use the mechanize gem for that kind of stuff if you want to check that out
beneg has joined #ruby
atlas__ has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
<benzrf> so
<benzrf> why use mri over mruby?
<benzrf> *once the latter is mature
<benzrf> is mri/yarv more performant?
vim_shim has joined #ruby
<wallerdev> mri is the official ruby?
axsuul has joined #ruby
vlad_sta_ has joined #ruby
<mjc_> mruby is not full ruby
Elhu has quit [Quit: Computer has gone to sleep.]
<youssefeid> does the mechanize gem allow me to click on items on a webpage also?
Asher has quit [Quit: Leaving.]
<wallerdev> youssefeid: yes
<axisys> apeiros: it finally returned.. but no output
baroquebobcat has joined #ruby
<wallerdev> it doesnt run javascript though
<axisys> x[1] is the first or second field?
mikepack has quit [Ping timeout: 246 seconds]
beneggett has quit [Ping timeout: 255 seconds]
<youssefeid> is it true that ruby only runs on linux servers?
<wallerdev> lol
<shevy> benzrf mruby lacks some things
vlad_sta_ has quit [Remote host closed the connection]
<shevy> youssefeid ruby runs on OSX too and on windows
robbyoconnor has quit [Max SendQ exceeded]
<crome> axisys: depends :)
<axisys> crome: CSV.foreach('master.csv', { :col_sep => ':'} ) do |x|
<wmoxam> youssefeid: it doesn't really run, it's more like a casual stroll
magoo has quit [Quit: WeeChat 0.4.2]
<crome> axisys: in an array, it is
<axisys> x[1] or x[0] will have the first field?
<crome> 0
<axisys> thnaks
<axisys> thanks*
nowthatsamatt has quit [Quit: nowthatsamatt]
<shevy> axisys we always start counting at 0 in ruby arrays and strings
<youssefeid> would you say that PHP is a better choice to go with based on what Im trying to do?
Notte has joined #ruby
<shevy> in R we start at 1, which confuses the hell outta me
Elico has joined #ruby
<shevy> youssefeid perhaps
<shevy> youssefeid depends on how much you already know in PHP and how much you know in ruby
<wallerdev> youssefeid: i dont think anyone knows what youre actually trying to do?
<benzrf> never ever php
<axisys> how do I change it so it prints the row one line?
vim_shim has left #ruby [#ruby]
<axisys> puts x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],y[1] if x[0] == y[0]
<benzrf> php is always the wrong choice
<benzrf> ALWAYS
brain_shim has joined #ruby
njection has joined #ruby
<crome> axisys: wow
<shevy> axisys replace puts with print, append a "\n" after y[1]
vlad_starkov has quit [Ping timeout: 264 seconds]
<axisys> shevy: thanks
<shevy> axisys easier would be: p x
<axisys> crome: newbiew
<axisys> newbie*
<crome> no worries
<tewlz> benzrf: what if I have been using php for 40 years and someone is holding a gun to my hand demanding a website by tomorrow?
toastynerd has joined #ruby
io_syl_ has joined #ruby
<apeiros> benzrf: wrong!
beneg has quit [Read error: No route to host]
kevinykchan has quit [Read error: Connection reset by peer]
<apeiros> benzrf: php is the right choice for…
<apeiros> *drumrolls*
io_syl_ has quit [Client Quit]
<youssefeid> lol wrong place to ask about PHP. I'm just starting off with PHP and Ruby. My background is Java though
<apeiros> enraging benzrf!
beneggett has joined #ruby
<benzrf> youssefeid: php does /everything/ wrong
<shevy> now now now
<shevy> apeiros wrote about 50.000 lines of php code
kevinykchan has joined #ruby
<wallerdev> php is great for simple sites
robbyoconnor has joined #ruby
Hobogrammer has joined #ruby
<tewlz> why can't people javascript like php? Couldn't google have just made the V8 engine for some non-shitty langauge?
<apeiros> shevy: I wrote 5.000.000 lines of php code! at least!
Elhu has joined #ruby
<crome> tewlz: after 40 years of PHP you would beg for a bullet
<tewlz> crome: LOLOL
<shevy> youssefeid if you only want to do web stuff then php can do fine, of course it also is absolutely horrid and awful if you want to do more than web stuff with it
<shevy> and even if you do only web stuff
<axisys> shevy: how do I append? ,"\n" ?
<apeiros> I assume the usual link has already been pasted?
<shevy> it is still awful and horrid; centrx usually has a good quote
<shevy> axisys yes. but p x would be even easier
mansi_ has quit [Remote host closed the connection]
<shevy> apeiros the wheel one? dont think it has as of yet
<centrx> PHP is an abomination and a scourge on the face of the earth.
<shevy> hahahaha :D
<apeiros> shevy: no, the fractal of bad design one
<tewlz> php is just a fratured langauge that produces unexpected results the deeper you go. If you're starting out, please save yourself the headache and use a reasonable language.
<shevy> oh that one
mansi has joined #ruby
<youssefeid> then why are all these big sites coded in them?
<axisys> shevy: p x,y[1],"\n" if x[0] = y[0] /
<axisys> shevy: p x,y[1],"\n" if x[0] = y[0] ?
<tewlz> much like javascript that we're all being forced to learn because now it's cool....damnit
<shevy> axisys do you use IRB? you can try such code in irb
<apeiros> youssefeid: because it's the easiest available language on the cheap hosters
<benzrf> tewlz++
<axisys> shevy: ok
njection has quit [Ping timeout: 240 seconds]
<shevy> axisys I can't tell you for every line if it is wrong or right, you need to train your eyes. Look at the line, if you can not see an error, try it!
io_syl has quit [Ping timeout: 264 seconds]
<shevy> youssefeid php integrates everything kind of
vlad_starkov has joined #ruby
<shevy> try to get ruby on the web without installing anything else
<axisys> how do I print like a foo,bar instead of [ "foo", "bar" ]
<tewlz> youssefeid: one big reason people choose php is because there are a TON of php devs and hiring is easier
<axisys> shevy: i am ubunut.. i have ruby and irb
<axisys> i am on ubuntu*
<shevy> axisys the latter is an array. you can convert an array into a string by calling method .join. in your example, try: array.join(', ')
<youssefeid> so if you were to choose to learn a language for web dev fresh from the start and you had to choose between PHP and Ruby, which would you choose?
abdulsattar has quit [Ping timeout: 240 seconds]
peta_ has quit [Quit: peta_]
asteros has joined #ruby
<benzrf> ruby
<shevy> youssefeid for the first year?
kpshek has quit []
<youssefeid> I'm still young so I want whats best for my future career
<benzrf> always ruby
moein7tl has joined #ruby
<tewlz> youssefeid: literally almost anything but php, or javascript. THat's shit too, but you'll have to learn javascript so suck it up.
<benzrf> forget the web dev part
juarlex has quit [Remote host closed the connection]
<benzrf> learn to PROGRAM
<shevy> youssefeid php. then after a year you will hate it so much and switch to a better language
<randomnick_> #php
crystal77 has quit [Quit: Computer has gone to sleep.]
<benzrf> once you know how to program, learn to use that for web dev
<benzrf> :U
<pipework> youssefeid: The ability to learn and do anything is the most important thing in your career.
agarie_ has joined #ruby
<centrx> Anything is better than PHP
mansi_ has joined #ruby
<shevy> :)
<randomnick_> ye ask on #php
mansi has quit [Read error: Connection reset by peer]
<crome> youssefeid: one of the big advantages(?) of PHP is everything comes with built-in support for it. you install a web server, drop a php file in a directory in your public folder and it does something
<shevy> yeah
<crome> it requires little to zero entry level knowledge in anything
<benzrf> crome: THAT IS NOT AN ADVANTAGE
<shevy> it is about the only advantage it has over default ruby
<crome> benzrf: I know
<pipework> crome: That's not exactly how it works.
<apeiros> youssefeid: you now, if you said python vs. ruby, or java vs. ruby, there might even be a discussion
<tewlz> crome: not really, installing php modules can be buggy as fuck for your web server.
<shevy> benzrf ease of deployment is a huge factor
pfg has joined #ruby
<apeiros> youssefeid: but php vs. *anything*? it will always be *anything*
<benzrf> shevy: heroku, for example, makes deployment easy as fuck
<benzrf> apeiros: well....
<benzrf> apeiros: there's always befunge
<shevy> why do I fucking need heroku
<tewlz> php vs brainfuck for learning how to use a loop?
yekta has joined #ruby
<benzrf> oops i mean malbolge
moein7tl has left #ruby [#ruby]
agarie has quit [Ping timeout: 264 seconds]
<apeiros> benzrf: no, no, really, even malbolge > php
<pipework> tewlz: I'd rather just make my own hardware loop. Better than using PHP
<mjc_> heh
<shevy> I upload .php to just about most free webservers out there and that was it usually; even my university allows .php scripts, they don't allow ruby or .cgi stuff :(
<benzrf> apeiros: idk man
mjs2600 has quit [Remote host closed the connection]
<tewlz> pipework: lol you guys are so full of shit I can smell it over the internet.
kpshek has joined #ruby
<pipework> Everything supports HTML and javascript.
<benzrf> shevy: this is a problem with the university, not ruby
<pipework> Use that.
<pipework> tewlz: It's half the fun of being on IRC.
WormDr1nk has quit [Ping timeout: 264 seconds]
<shevy> benzrf no, sample data to get numbers, you will see php is more widespread than default ruby
<mjc_> one of php's biggest disadvantages is that it has everything built in
QKO has joined #ruby
thirdender1 has left #ruby ["PONG :dickson.freenode.net"]
<pipework> But really though, I'd rather make a loop in hardware. That's interesting stuff for me. PHP isn't.
<mjc_> it makes taking stuff out and improving apis very hard
<apeiros> I love how in php, "0e9b6c7b1eda4043b440ee843feded72" == "0ed172bb55b342039458ad21568aab11"
crystal77 has joined #ruby
<benzrf> >mfw
agent_white has quit [Quit: brb]
<shevy> youssefeid php even has gtk bindings!
<benzrf> jesus christ how horrifying
<youssefeid> I'm looking at 10 maybe 20 years down the line. Would it be more beneficial to have 20 years of Ruby experience or 20 years of PHP experience?
njection has joined #ruby
nbezzala has quit [Ping timeout: 240 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
<shevy> youssefeid you won't reach 20 years with PHP :)
<tewlz> youssefeid: you're going about it the wrong way. You have NO idea what the web will look like in 20 years. Pick something you can learn easily NOW.
ndrei has quit [Ping timeout: 255 seconds]
Takehiro has quit [Quit: Leaving...]
<crome> tewlz: +1
<benzrf> youssefeid: it doesnt matter
<centrx> Learn concepts, not langugaes
<youssefeid> They say Ruby is going to take over PHP no?
<benzrf> centrx += 10
<tewlz> php is good for starting out honestly. Either is fine, just don't look for a career in PHP you'll hate yourself
<benzrf> youssefeid: it doesnt matter
xerxas has quit [Quit: Connection closed for inactivity]
jjbohn has joined #ruby
SHyx0rmZ has joined #ruby
<benzrf> learn something that's good and reasonably popular, not something that's atrocious and a bit more popular
beneggett has quit [Read error: No route to host]
<tewlz> but really the ruby community is a hell of a lot easier to learn from. PHP has so many veterans that suck ass at coding.
<benzrf> windows is more widespread than gnu/linux, but which do you use?
<benzrf> [if you say windows ima fume at you]
<shevy> youssefeid ruby and php do not have 100% overlapping niches
<tewlz> ruby agrees on conventions a lot more often and makes good choices together so it's a bit easier to follow along.
beneggett has joined #ruby
<shevy> youssefeid so ruby can not take over PHP
YamakasY has joined #ruby
nbezzala has joined #ruby
<shevy> youssefeid starts by having .php files and no corresponding ruby variant for the web - you'd have .cgi .ru or some "app", which is almost always more complicated
<shevy> and .erb
<benzrf> that is a good thing
<benzrf> php's scheme of everything being in templates is an abomination
okdas has joined #ruby
ndrei has joined #ruby
senayar has joined #ruby
jjbohn has quit [Ping timeout: 246 seconds]
YamakasY_ has joined #ruby
mrnugget has joined #ruby
<youssefeid> Can I pull a webpage's html code with Ruby?
wallerdev has quit [Quit: wallerdev]
<shevy> yes
armyriad has quit [Ping timeout: 264 seconds]
mando has joined #ruby
<benzrf> youssefeid: any language worth using can do that
<apeiros> require 'open-uri'; content = open("http://example.org", &:read)
<apeiros> sufficiently easy
YamakasY has quit [Ping timeout: 240 seconds]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
<shevy> you can pretty much do everything php can do in ruby, with less lines of code, less characters and it being easier to read as well
<IceyEC> curl http://example.com
claymore has quit [Ping timeout: 246 seconds]
shaunbaker has joined #ruby
<yekta> Hello, I'm trying to separate a whole slew of handler methods into a sort of PORO helper. Trouble is, my handler methods now depend on attr_accessor objects from the class I'm pulling them out of. What's the best way to refactor that? Should I just have the helper be a module and pass the accessor object to each handler method every call?
<benzrf> youssefeid: which language has nothing at all to do with what tasks you can accomplish with it, unless you're doing something super specialized
<youssefeid> Ruby is the winner then :)
<crome> and with less dumb
<IceyEC> even easier :-P
Fire-Dragon-DoL has joined #ruby
njection has quit [Ping timeout: 264 seconds]
<benzrf> youssefeid: it has to do with which language is better as a language
<shevy> IceyEC but that is just a way to use it - you can do a "binary" that does the same in ruby just as well
<benzrf> youssefeid: a language is not a toolbox, it is a LANGUAGE
claymore has joined #ruby
Eiam has joined #ruby
<benzrf> youssefeid: but beginners seem to always think of languages as what tasks they make it easy to accomplish
<benzrf> x.x
<IceyEC> shevy I was merely paling with the 'any language worth using can do that'
<IceyEC> playing*
<shevy> youssefeid ruby is slightly more complicated than php
baroquebobcat has joined #ruby
zachallett has quit [Remote host closed the connection]
twiceaday has quit [Ping timeout: 255 seconds]
<shevy> in php you never have to ask what a block is
Eiam has quit [Client Quit]
dingus_khan has joined #ruby
<shevy> hmm... does php have lambdas?
okdas has quit [Ping timeout: 252 seconds]
<benzrf> probably.
atlas__ has joined #ruby
twiceaday has joined #ruby
<apeiros> shevy: see create_function
<benzrf> and knowing php they're fucking awful
<shevy> huh
<shevy> what a name :)
beneggett has quit [Read error: No route to host]
<apeiros> well, the name is surprisingly sane
<shevy> reading that name alone I would think define_method to be equivalent to it
shaunbaker has quit [Client Quit]
teddyp1cker has joined #ruby
nisstyre has joined #ruby
<billiam> anonymous functions added in php 5.3
<shevy> I think they revamped the homepage, it looks different... http://ch1.php.net/create_function
beneggett has joined #ruby
<shevy> "Creates an anonymous function from the parameters passed, and returns a unique name for it."
jackneill has quit [Remote host closed the connection]
<shevy> pipework will like this documentation :)
SrPx has joined #ruby
eichenwald has joined #ruby
diegoviola has joined #ruby
<shevy> god benzrf ... look at how many comments there are
<youssefeid> wow yea they did
<benzrf> and all wrong!
<benzrf> it's a miracle
<pipework> shevy: Documentation with user comments is rubbish.
WormDr1nk has joined #ruby
WormDr1nk has quit [Changing host]
WormDr1nk has joined #ruby
<youssefeid> old homepage looked awful
<pipework> Have them pull request with additional improvements and ship that down to users.
<shevy> ohhhh anonymous functions in php
<shevy> that looks almost like javascript:
<shevy> $greet = function($name) { printf("Hello %s\r\n", $name); };
xcv has quit [Ping timeout: 246 seconds]
<pipework> it looks like bad javascript :D
einarj has joined #ruby
Eiam has joined #ruby
alvaro_o has joined #ruby
<shevy> seems so
<shevy> it seems you can do that in javascript even with a class (prototype?)
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> var sum = new Function('a','b', 'return a + b;');
agarie_ has quit [Remote host closed the connection]
claymore has quit [Ping timeout: 240 seconds]
<shevy> hmm
<shevy> var sum = function(a, b) { return a + b; }
<shevy> damn it
kevinykchan has quit [Read error: Connection reset by peer]
<shevy> even javascript looks better than php
phantomtiger has joined #ruby
jrichocean has joined #ruby
kevinykchan has joined #ruby
<benzrf> js is not the worst language ever
Skylab has joined #ruby
teddyp1cker has quit [Ping timeout: 252 seconds]
<benzrf> it's poorly designed and has crappy syntax, but it has some nice parts
<tewlz> I don't even care about looks. I can coffeescript and it looks fine. It's the fact that even error reporting is inconsistent in php. I can get along fine, but I DO NOT WANT to get balls deep into a deadline and have some esoteric bullshit stop me for three days.
<benzrf> php on the other hand
<benzrf> jesus christ error reporting in php
<benzrf> is the FUCKING WORST
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
<benzrf> did you know that by default, a whole lot of errors get completely ignored?
claymore has joined #ruby
<benzrf> the script just keeps running?
failshell has joined #ruby
<benzrf> jesus christ
<tewlz> thanks god I never had a career in php.
evenix_ has joined #ruby
rvraghav93 has quit [Quit: No Ping reply in 180 seconds.]
Skylab has left #ruby [#ruby]
rvraghav93 has joined #ruby
VTLob has joined #ruby
claymore has quit [Client Quit]
<apeiros> @benzrf
<benzrf> ?
kotakotakota has joined #ruby
Xeago has joined #ruby
beneg has joined #ruby
<apeiros> now he'll swear less :)
claymore has joined #ruby
<benzrf> ?
Xeago has quit [Read error: Connection reset by peer]
<youssefeid> Anyone have some really good resources for learning Ruby?
<apeiros> @ suppresses all error output
<benzrf> oh lol
<benzrf> i thought you were addressing me, twitter style
<apeiros> ^^
xcv has joined #ruby
xcv has quit [Remote host closed the connection]
<apeiros> ok, should have used valid php: @benzrf()
<benzrf> 'valid php'
<apeiros> damn, still off… @benzrf();
<benzrf> youssefeid: i read the poignant guide, then harassed everybody in this channel with dumb questions for a month or two
njection has joined #ruby
Xeago has joined #ruby
<youssefeid> lol
beneggett has quit [Read error: No route to host]
evenix has quit [Ping timeout: 246 seconds]
<dstynchula> youssefeid: The ruby monk is a really good primer
<dstynchula> full disclosure, I'm still learning myself, so I dont know how it scales
beneggett has joined #ruby
<tewlz> youssefeid: if you're a baller, you'll just grab the pickaxe, read through it once, grab a 'good practices' like eloquent ruby, then hit the pickaxe again and you'll be so chalk full of ruby information you'll feel like a goddess with 10 dicks
sepp2k has joined #ruby
jrichocean has left #ruby [#ruby]
claymore has quit [Remote host closed the connection]
philcrissman has joined #ruby
<youssefeid> twelz: I like that
Jetchisel has joined #ruby
<tewlz> youssefeid: if you're just playing around trying to find out if you like programming you should do stuff like rubymonk, super helpful but free and a lot less time intensive.
claymore has joined #ruby
<mjc_> tewlz: lol
ferr has quit [Quit: Leaving.]
<youssefeid> I already know I love programming. I mean where else can you be this creative?
<shevy> tewlz lol "a goddess with 10 dicks"
<tewlz> youssefeid: woodworking, painting, philosophy, legos, etc.
robbyoconnor has quit [Max SendQ exceeded]
Hanmac1 has joined #ruby
YamakasY_ is now known as YamakasY
<youssefeid> lol
<shevy> youssefeid in the life sciences - develop new nanobiomachines!
robbyoconnor has joined #ruby
nanoyak has joined #ruby
beneg has quit [Ping timeout: 240 seconds]
njection has quit [Ping timeout: 240 seconds]
kaliya has quit [Ping timeout: 246 seconds]
agarie has joined #ruby
<youssefeid> im 15...
<benzrf> youssefeid: haha
baroquebobcat has quit [Quit: baroquebobcat]
<tewlz> then stop hitting on us. We're all over 18, that's illegal you'll go to jail
<benzrf> youssefeid: i can show you some codes if you like :)
<benzrf> do you know any programming already
Hanmac has quit [Ping timeout: 246 seconds]
<youssefeid> Yea i coded for 8 months or so in Java
derek_c has joined #ruby
<shevy> tewlz benzrf is still only 16
<youssefeid> show me dem examples!
Kilo`byte has quit [Read error: Connection reset by peer]
mjw1 has left #ruby [#ruby]
<dstynchula> 10 dicks, lol! That would make her Deca-Dicktal!
<shevy> lol
<youssefeid> lol
<apeiros> oh dear
stretchlimo has joined #ruby
<apeiros> dstynchula: really?
senayar has quit [Remote host closed the connection]
<tewlz> apeiros: well I mean that doesn't have to be her nickname, what do you suggest since you seem to not like it...
wallerdev has joined #ruby
b00stfr3ak has quit [Read error: Connection reset by peer]
<apeiros> I see, that rather immature depiction came from you tewlz
<dstynchula> ;b
<shevy> dstynchula and what is dodeca!
<benzrf> shevy: lies
funktor has quit [Remote host closed the connection]
<benzrf> im 17
<shevy> omg
<shevy> you age quickly
<tewlz> apeiros: excuse me? Exactly what dumbass decided sex jokes were immature?
<dstynchula> 12 methinks
<benzrf> youssefeid: so you know OOP and procedural pretty well then?
<shevy> yeah dstynchula
<yekta> Can I get some OO help with Ruby, I've got helper methods in a module, but the helper methods rely on attr_accessor objects in a class I call the helper methods *from*. Is it bad practice to clone the attr_accessor objects to module's attr_accessor on the Class's initialize? Is there a better way to to this?
<apeiros> tewlz: me. and if you do it again, I'll show you the way out.
kevinykchan has quit [Read error: Connection reset by peer]
duggiefresh has quit [Read error: Connection reset by peer]
duggiefresh has joined #ruby
kevinykchan has joined #ruby
wchun has joined #ruby
baroquebobcat has joined #ruby
dkamioka has joined #ruby
<youssefeid> benzrf: yea
tt1187 has quit [Ping timeout: 255 seconds]
<tewlz> apeiros: I mean if you're truely offended I'll stop just for you, but lets not act like it's for the communities sake, I don't know of a single person who didn't start making sex jokes by 10 and they certainly don't stop when you're older.
<benzrf> youssefeid: ok
claymore has quit [Quit: Leaving]
pskosinski has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
<benzrf> youssefeid: ruby has a number of new concepts over java but a lot is somewhat similar
<apeiros> tewlz: it's inappropriate. don't do it.
<benzrf> i.e. basic stuff like variables
claymore has joined #ruby
nanoyak has joined #ruby
njection has joined #ruby
<apeiros> tewlz: that is, don't do it here. what you do on your regulars' table is none of my concern.
james_d_h has quit [Quit: leaving]
<benzrf> youssefeid: the biggest difference from an OOP standpoint is that in ruby, there are no public fields
<benzrf> youssefeid: and you don't predeclare what fields you have
<yekta> Is this a bad place to ask for OOP Ruby advice?
<terrellt> Best way to select the first element of an array that matches a condition?
<terrellt> Something like #select, but I only want one.
<shevy> yekta no but you have a very narrow problem field
<benzrf> terrellt: detect
nanoyak has quit [Read error: Connection reset by peer]
<benzrf> youssefeid: you can set any instance variable at any time, and none of them are public unless you make methods to return them
toastynerd has quit [Remote host closed the connection]
<crome> terrellt: find
<benzrf> youssefeid: even 'foo.bar = baz' is just calling that bar= method on foo
nanoyak has joined #ruby
jtgiri_ has joined #ruby
<terrellt> Thanks benzrf, crome.
i_s has quit [Read error: Connection reset by peer]
<shevy> youssefeid see? benzrf is only a bit older than you and already knows a lot
Travis-42 has joined #ruby
<shevy> youssefeid and he is on #ruby but not on #php
mansi_ has quit [Remote host closed the connection]
i_s has joined #ruby
Kilo`byte has joined #ruby
<youssefeid> lool benzerf's already been through what i'm going through
mansi has joined #ruby
<yekta> shevy: Really? All I want to do really is just encapsulate a bunch of methods from my Class into a helper class/module so as to keep a more clean looking class. Is there a better way I should be doing this? The issue is the helper methods all currently depend on an attr_accessor object in the Class.
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
<shevy> yekta first things first
<benzrf> youssefeid: one of the biggest diffs youll notice at first between ruby and C is dynamic typing
<shevy> yekta attr* do nothing else than you manually def*-ing them ok?
<benzrf> youssefeid: *between java
klaut has joined #ruby
<benzrf> youssefeid: in ruby you dont predeclare what type something is
Xeago has quit [Read error: Connection reset by peer]
<apeiros> yekta: sounds fine. modules often depend on a method in the host class. see Enumerable (each) and Comparable (<=>)
<benzrf> you just assume it's the type you want
jkamenik has quit [Quit: Leaving.]
<benzrf> in fact, even if it isn't, itll work as long as it has the method you call
<youssefeid> yea i noticed that when i looked at some code
<benzrf> mhm
<benzrf> instead of detecting that the method you want doesn't exist on that type at compile time
toastynerd has joined #ruby
<benzrf> you get a runtime error if you try to call it
vlad_starkov has quit [Remote host closed the connection]
funktor has joined #ruby
<benzrf> >> if true; "foo".reverse; else; "foo".woeifusdiuj; end
<eval-in> benzrf => "oof" (https://eval.in/122718)
bradhe has quit [Remote host closed the connection]
<benzrf> no error, since i never ran the code with the erroneous method
<benzrf> otoh...
<benzrf> >> if false; "foo".reverse; else; "foo".woeifusdiuj; end
<eval-in> benzrf => undefined method `woeifusdiuj' for "foo":String (NoMethodError) ... (https://eval.in/122720)
<benzrf> raises an exception
beneggett has quit [Read error: No route to host]
beneggett has joined #ruby
<benzrf> youssefeid: the 1 biggest new thing youll see is probably blocks
<yekta> apeiros: so how does the module know about that method aka. attr*, is it better practice to pass it in as an argument to an initializer or something? (still looking up the example you cited)
<crome> but you can always define #woeifusdiuj on String!
<benzrf> blocks are basically chunks of code that are stored into objects
<benzrf> you can then run them later
<benzrf> ish
<Travis-42> is it bad practice in ruby to use #find to just loop until soemething is found, but not care about the return value? E.g. my_result = nil; array.find { |value| my_result = search(value); } to get the first my_result value found?
<benzrf> in practice you are usually giving them to methods
<apeiros> yekta: the common practice is to document on what method the module depends
<benzrf> youssefeid: for example:
<benzrf> >> [1, 2, 3, 4, 5, 6, 7].filter {|n| n.odd?}
<youssefeid> isnt that like void methods in java?
atlas__ has quit [Ping timeout: 264 seconds]
<benzrf> not quite
senayar has joined #ruby
<benzrf> >> [1, 2, 3, 4, 5, 6, 7].filter {|n| n.odd?}
<eval-in> benzrf => undefined method `filter' for [1, 2, 3, 4, 5, 6, 7]:Array (NoMethodError) ... (https://eval.in/122722)
<benzrf> oops
<benzrf> >> [1, 2, 3, 4, 5, 6, 7].select {|n| n.odd?}
<eval-in> benzrf => [1, 3, 5, 7] (https://eval.in/122723)
<benzrf> {|n| n.odd?}
<benzrf> ^that's a block that takes 1 arg, and returns the result of calling the method odd? on it
<benzrf> [methods in ruby can end with a ? or a !]
mansi has quit [Ping timeout: 255 seconds]
jamto11 has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
<benzrf> instead of that code running, it gets sent unrun to Array#select
<IceyEC> >> [1,2,3,4,5,6,7].select(&:odd)
<eval-in> IceyEC => undefined method `odd' for 1:Fixnum (NoMethodError) ... (https://eval.in/122724)
njection has quit [Ping timeout: 255 seconds]
<benzrf> IceyEC: don't worry about it
<IceyEC> >> [1,2,3,4,5,6,7].select(&:odd?)
<eval-in> IceyEC => [1, 3, 5, 7] (https://eval.in/122725)
robbyoconnor has quit [Max SendQ exceeded]
<IceyEC> personal preference :-P
<benzrf> IceyEC: same here
<benzrf> but im trying to cover what blocks are =p
<IceyEC> haha fair enough
<benzrf> without adding things like symbols and #to_proc
funktor has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
<benzrf> youssefeid: the method receiving the block can then call it whenever it likes, or choose not to call it at all
<benzrf> youssefeid: you're basically handing some code to the method, and the method chooses what it wants to do with it
pedrocr has joined #ruby
<youssefeid> thanks benzrf
<benzrf> np
<pedrocr> I want to fork+exec from ruby into a C program and share a pipe in the process, is that possible?
atlas__ has joined #ruby
<yekta> apeiros: Would you mind if I gist you my class and module and get some OO feedback? I feel like I've been working on this so long I'm loosing clarity of mind.
ga1j1n has joined #ruby
<apeiros> yekta: sure, go ahead
rankine has quit [Quit: leaving]
<benzrf> yekta: ill look @ it also
<apeiros> yekta: and if not me, theres plenty who can/will
creede has quit [Ping timeout: 252 seconds]
DouweM has quit [Ping timeout: 252 seconds]
Travis-42 has quit [Quit: Travis-42]
vlad_sta_ has joined #ruby
mikepack has joined #ruby
Vovko has quit []
kpshek has quit []
shredding has joined #ruby
njection has joined #ruby
robbyoconnor has quit [Ping timeout: 240 seconds]
BuSerD has quit [Quit: Sleepy time! ZZZzzz…]
<yekta> And here's an example schema: https://gist.github.com/dwickwire/35286d2f0b66d0be4a54
michaeldeol has joined #ruby
<benzrf> yekta: hey i made a simple thing like that a while ago
<yekta> This was all in one rake task before I got it… :(
tvw has joined #ruby
<benzrf> you should probably use symbols for the validation types
geopet has quit [Ping timeout: 252 seconds]
<benzrf> >> 18 - 6
<eval-in> benzrf => 12 (https://eval.in/122733)
<benzrf> o.o
mansi has joined #ruby
beneggett has quit [Ping timeout: 240 seconds]
baroquebobcat has quit [Ping timeout: 252 seconds]
<benzrf> yekta: i made a thing that looks like https://gist.github.com/fa3c13a763f8ac19ec8a
blom has quit [Ping timeout: 255 seconds]
<benzrf> ugh
<benzrf> i keep getting:
<benzrf> Invalid gemspec in [/var/lib/gems/1.9.1/specifications/ZenTest-4.9.5.gemspec]: Illformed requirement ["< 3.0, >= 1.8"]
<benzrf> in anything ruby i run
northfurr has joined #ruby
BuSerD has joined #ruby
beneggett has joined #ruby
<shevy> hmm
<shevy> content of that .gemspec?
njection has quit [Ping timeout: 264 seconds]
<yekta> benzrf: so you're just including the schema as a file?
danshultz has quit [Remote host closed the connection]
funktor has joined #ruby
<benzrf> im not doing /anything/
danshultz has joined #ruby
<benzrf> if i type 'gem', it has that before the sage msg
<benzrf> usage
danshultz has quit [Read error: Connection reset by peer]
paulfm has quit []
sambao21 has quit [Ping timeout: 252 seconds]
mikepack has quit [Remote host closed the connection]
Lewix has joined #ruby
tessi has joined #ruby
<yekta> I was referring to your gist.
beneggett has quit [Ping timeout: 252 seconds]
chuk has joined #ruby
bennylope has joined #ruby
<benzrf> oh
<benzrf> yeah
beneggett has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
<shevy> weird
jamto11 has joined #ruby
youssefeid has quit [Remote host closed the connection]
<benzrf> schema.rb is only 75 LOC
<shevy> Gem::Requirement::BadRequirementError: Illformed requirement ["< 3.0, >= 1.8"]
<benzrf> you can just read the whole thing
<benzrf> let me paste it
<shevy> ruby tells me that this is illformed too
mlpinit has quit [Remote host closed the connection]
<shevy> Gem::Requirement.new('< 3.0','>= 1.8') <-- this however seems to work
davy_ has quit [Remote host closed the connection]
diegoviola has joined #ruby
jellosea has joined #ruby
BuddhaGorilla has quit [Quit: Dreaming of bananas and butter...]
<benzrf> shevy: i didnt write anything
VTLob has quit [Ping timeout: 252 seconds]
<benzrf> this just started happening after installing a gem, or something
IceyEC has quit [Quit: IceyEC]
davy_ has joined #ruby
<jellosea> i suddenly started getting this error while trying to parse xml in nokogiri, anyone know why? read_io': no implicit conversion of nil into String (TypeError)
<benzrf> jellosea: what's the xml source?
<jellosea> my code didn't change, but it seems to break now for any xml feed i use
<jellosea> benzrf: its a few diffferent xml places,
mmoretti has joined #ruby
<jellosea> sorry
<jellosea> rss
pu22l3r has quit [Remote host closed the connection]
<benzrf> i mean
<benzrf> how are you getting it in your code
<yekta> benzrf: right on, thanks - I'll have a look at it.
<benzrf> =]
<jellosea> doc = Nokogiri::XML(open(link))
pu22l3r has joined #ruby
timonv has quit [Remote host closed the connection]
<benzrf> ok, so how do you know that the open is going through?
mjw1 has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
tessi has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
njection has joined #ruby
kevinykchan has joined #ruby
<jellosea> i chek it before
<jellosea> it returns a string IO object
gr33n7007h has joined #ruby
<benzrf> huh
evenix_ has quit [Ping timeout: 252 seconds]
<jellosea> xml = open(link)
<jellosea> doc = Nokogiri::XML(xml)
<benzrf> i think StringIO is not actually an IO
<jellosea> sorry let me check what it returns agian
sambao21 has joined #ruby
<benzrf> yekta: sorry for the tabs
Jetchisel has quit [Ping timeout: 252 seconds]
<benzrf> let me convert and repaste o:
mark_locklear has quit [Ping timeout: 255 seconds]
wallerdev has quit [Quit: wallerdev]
pu22l3r has quit [Ping timeout: 252 seconds]
<jellosea> for one link it returns a StringIO for another link it returns a File object
<jellosea> whats going on this code worked file for months haha
stupidystupid has joined #ruby
Hanmac has joined #ruby
<yekta> benzrf: Its an interesting approach alright. I'll have to digest this some. Thanks
samfisher has joined #ruby
dingus_khan has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 246 seconds]
<benzrf> :_)
alexju has quit [Remote host closed the connection]
<benzrf> * :)
coderxin_ has joined #ruby
<jellosea> benzrf: any idea whats goin on?
<benzrf> nope :I
<jellosea> what is open supposed to return
mansi has quit [Remote host closed the connection]
brain_shim has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
_bart has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<samfisher> I need to delete first and last line from a file. Actually, it has some weird format with
<samfisher> squares
<samfisher> a text file
<_bart> anyone experience with zeromq?
bennylope has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jellosea has left #ruby [#ruby]
nfk has quit [Quit: yawn]
njection has quit [Ping timeout: 255 seconds]
mansi has joined #ruby
dingus_khan has joined #ruby
<benzrf> _bart: i know a bit!
<benzrf> what's up?
<_bart> benzrf: do you recommend it?
<_bart> benzrf: what did you use it for?
duggiefresh has quit [Remote host closed the connection]
<benzrf> i intend to use it for my shitty cryptocurrency
coderxin has quit [Ping timeout: 255 seconds]
xcv has joined #ruby
<_bart> haha
<benzrf> and i recommend it to the extent of applicable law
<benzrf> do you know it at all?
funktor has quit [Remote host closed the connection]
<_bart> just checking out the video introductions
<_bart> PHP-UK
bradhe has joined #ruby
<eichenwald> why not amqp
vt102 has quit [Remote host closed the connection]
SrPx has quit [Remote host closed the connection]
<_bart> it's a general talk about zeromq, not so much PHP specific
dingus_khan has quit [Remote host closed the connection]
juarlex has joined #ruby
atraylen has joined #ruby
shredding has quit [Quit: shredding]
creede has joined #ruby
Guest5613 has quit [Changing host]
Guest5613 has joined #ruby
<_bart> eichenwald: don't know, haven't checked that one out
<benzrf> eichenwald: because it is a different thing entirely
toastynerd has quit [Remote host closed the connection]
TheFishy has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
<benzrf> _bart: zeromq is kinda like tcp but it's not
<TheFishy> Is there a good http client that is thread safe?
blom has joined #ruby
nfk has joined #ruby
andrewlio has quit [Ping timeout: 255 seconds]
dzhulk has quit [Quit: Leaving.]
<eichenwald> well amqp with rabbitmq is pretty easy to get going with
<benzrf> zeromq is nuts tho
dzhulk has joined #ruby
<benzrf> _bart: zeromq's 'sockets' are endpoints that transmit data, like tcp sockets
<benzrf> they are otherwise not greatly similar
endash has quit [Ping timeout: 265 seconds]
<benzrf> for one, they deal in discrete messages instead of streams of bytes
<_bart> TheFishy: maybe simply the rest-client gem?
njection has joined #ruby
toastynerd has joined #ruby
jayne has joined #ruby
<shinobi_one> is it possible in ruby to run a regular expression on a string from right to left?
wallerdev has joined #ruby
blom has quit [Read error: Connection reset by peer]
<benzrf> _bart: the big diff though is that they are n-to-n and come in a few different flavors for use in common patterns
meatherly has quit [Remote host closed the connection]
<apeiros> shinobi_one: not really. you can reverse the string and run the regex on that (though I assume you'd have to adapt the regex for that)
<benzrf> _bart: and they automatically handle connections and disconnections, operate transparently over multiple transports, and are remarkably fault-tolerant
<benzrf> (in comparison to tcp sockets anyway)
meatherly has joined #ruby
ikaros has quit [Quit: Ex-Chat]
<apeiros> shinobi_one: you can anchor your regex to the end of the string - that's kind of running it from right to left
carraroj has quit [Quit: Konversation terminated!]
meatherly has quit [Read error: No route to host]
<apeiros> shinobi_one: though, how about you tell us about the problem you try to solve instead of your suggested solution?
optz has joined #ruby
meatherly has joined #ruby
tewlz has quit [Ping timeout: 264 seconds]
<_bart> zeromq makes me think of Storm
michaeldeol has joined #ruby
<_bart> the way it divides load over a lot of 'tuples'
<benzrf> tuples?
creede has quit [Ping timeout: 264 seconds]
<benzrf> looks kinda like zmq
tacuarembo has joined #ruby
<eichenwald> storm integrates with amqp
<benzrf> the main 4 patterns in zmq are REQ/REP, PUB/SUB, PUSH/PULL, and PAIR/PAIR
sdouglas has joined #ruby
armyriad has joined #ruby
<benzrf> there's also ROUTER and DEALER, which integrate with REQ/REP
vt102 has joined #ruby
asteros has quit [Quit: asteros]
camilasan has quit [Ping timeout: 240 seconds]
andrewlio has joined #ruby
<optz> hi i want to know if this is correct or bad practice https://gist.github.com/anonymous/9630086
beneg has joined #ruby
yekta has quit [Quit: yekta]
toastynerd has quit [Remote host closed the connection]
<shinobi_one> apeiros: nevermind i'm an idiot
<_bart> when using REQ/REP in combination with a ROUTER and DEALER does it still uses the queu of the client?
njection has quit [Ping timeout: 252 seconds]
<crome> optz: returning nil when conditions are not met are usually not a very good idea. imagine you have 2 similar conditions, how would you figure out which one was hit in a test?
baroquebobcat has joined #ruby
i_s has quit [Ping timeout: 255 seconds]
IceyEC has joined #ruby
SrPx has joined #ruby
agarie has quit [Remote host closed the connection]
Jetchisel has joined #ruby
claymore has quit [Ping timeout: 264 seconds]
phansch has joined #ruby
<_bart> Normally it queues the messages on the client side if the the server is blocking
beneg has quit [Read error: No route to host]
creede has joined #ruby
blom has joined #ruby
failshel_ has joined #ruby
beneg has joined #ruby
jamto11 has quit [Remote host closed the connection]
shredding has joined #ruby
lampe2 has quit [Ping timeout: 252 seconds]
asteros has joined #ruby
derek_c has quit [Ping timeout: 240 seconds]
<optz> Crome- I was referring to the fact exit the function that way
<apeiros> d'oh, completely missed yekta pasting :-S
<optz> i can do like puts "invalid" return
beneggett has quit [Ping timeout: 252 seconds]
asteros has quit [Client Quit]
<_bart> crome: I think he/she asks if it's bad to do an early return?
CreativeEmbassy has quit [Quit: FO SHO]
<optz> yep
<_bart> I would make it a one liner if you do, like `return false if ...`
<crome> in this specific example, it looks like an acceptable solution
toastynerd has joined #ruby
<optz> thank you both
<crome> using guard clauses is a first good step on the way to write code that does not suck horribly :)
claymore has joined #ruby
danshultz has joined #ruby
endash has joined #ruby
njection has joined #ruby
failshell has quit [Ping timeout: 252 seconds]
IceyEC has quit [Quit: IceyEC]
<_bart> but usually guard clauses raise TypeErrors when you supplied the wrong argument types, instead of returning actual logic
<crome> keep in mind that they dont necessarily lower the complexity of your methods
failshel_ has quit [Ping timeout: 264 seconds]
Shidash has quit [Ping timeout: 264 seconds]
<TheFishy> _bart: ill try it
endash_ has joined #ruby
Asher has joined #ruby
matcouto has joined #ruby
<benzrf> _bart: zeromq tho
wallerdev has quit [Quit: wallerdev]
mikepack has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
tt1187 has joined #ruby
beneg has quit [Read error: No route to host]
funktor has joined #ruby
armyriad has quit [Ping timeout: 264 seconds]
beneggett has joined #ruby
xcv has quit [Remote host closed the connection]
davy__ has joined #ruby
armyriad has joined #ruby
njection has quit [Ping timeout: 240 seconds]
IceDragon has quit [Quit: Space~~~]
IceDragon has joined #ruby
eichenwald has quit [Quit: eichenwald]
<_bart> benzrf: yes?
tacuarembo has quit [Quit: Leaving]
mikepack has quit [Ping timeout: 240 seconds]
eichenwald has joined #ruby
mehlah has joined #ruby
obs has joined #ruby
<benzrf> 1 sec
<benzrf> https://gist.github.com/anonymous/5273e58d5a657012c864 <- 100% functional zmq example
Shidash has joined #ruby
dkamioka has quit [Remote host closed the connection]
magoo has joined #ruby
ikaros has joined #ruby
davy_ has quit [Ping timeout: 255 seconds]
derek_c has joined #ruby
kobain has joined #ruby
hobodave has quit [Ping timeout: 264 seconds]
funktor has quit [Ping timeout: 252 seconds]
claymore has quit [Quit: Leaving]
obs has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
b00stfr3ak has quit [Ping timeout: 255 seconds]
<_bart> benzrf: thanks, bookmarked!
<benzrf> basically, each type of socket has some kind of routing and negotiation built in
toastynerd has quit [Remote host closed the connection]
<benzrf> and can connect to another type
mrnugget has quit [Quit: mrnugget]
<benzrf> REQ and REP sockets both require you to switch between sending and recving 1 by 1
<benzrf> trying to do a send or recv twice in a row will error
<benzrf> in REP's case, it goes recv-send-recv-send etc
<benzrf> it automatically sends outgoing messages to the socket you last recv'd from
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
<benzrf> REQ can connect to multiple REPs, and will route outgoing messages round-robin style
<benzrf> another pair is PUB/SUB
<benzrf> PUB sockets cannot recv, and sending from one will send to all connected SUBS
<benzrf> SUBS cannot send
<benzrf> PAIR/PAIR is basically just regular sockets
<benzrf> they are not used a lot
<benzrf> final types are PUSH/PULL
gr33n7007h has quit [Ping timeout: 246 seconds]
njection has joined #ruby
<benzrf> sending from a PUSH will distribute evenly between all PULLS connected
andrewlio has quit [Ping timeout: 264 seconds]
b00stfr3ak has quit [Read error: Connection reset by peer]
mansi has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
<benzrf> so if you hook 10 pushes to 1 pull, they will all push to ItSANgo
<benzrf> *it
eichenwald has left #ruby [#ruby]
dkamioka has joined #ruby
<benzrf> and 10 pulls to 1 push will each receive 1/10 messages
mansi has joined #ruby
danshultz has joined #ruby
<benzrf> fan in/fan out
<_bart> benzrf: thanks, I'll figure it out! The videos mentions it pretty well but appreciate your help
geopet has joined #ruby
<benzrf> np
asteros has joined #ruby
asteros has quit [Client Quit]
crystal77 has quit [Ping timeout: 246 seconds]
<_bart> I like the logo of zeromq :)
endash has quit [Quit: endash]
endash_ is now known as endash
<benzrf> heh
i_s has joined #ruby
<benzrf> it is basically how sockets /should/ work imo
<benzrf> it does request/reply, publish/subscribe, and distribute/collect socket pairs
<benzrf> which are the vast majority of use cases
<benzrf> and it abstracts over almost everything that isn't usually useful to have access to
toastynerd has joined #ruby
mansi has quit [Ping timeout: 246 seconds]
freerobby has quit [Quit: Leaving.]
<benzrf> including things like accepting connections, or reestablishing dropped ones, and routing to the correct targets
keen_____ has quit [Ping timeout: 264 seconds]
<benzrf> it's kinda like zmq is to tcp as tcp is to ip
<benzrf> ...sorta
freerobby has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
b00stfr3ak has joined #ruby
crystal77 has joined #ruby
phantomtiger has quit [Quit: phantomtiger]
Spami has quit [Quit: This computer has gone to sleep]
<benzrf> the key point is to think of zmq sockets as an abstract communications endpoint, NOT some kind of altered TCP socket
<benzrf> they are really not the same thing
diegoviola has quit [Quit: WeeChat 0.4.3]
asteros has joined #ruby
njection has quit [Ping timeout: 252 seconds]
<ceej> anyone know how to get the projects root from inside a gem? (not the gems root)
doodlehaus has quit [Remote host closed the connection]
beneggett has quit [Ping timeout: 240 seconds]
<crome> ceej: Im pretty sure you are having a bad idea about something ;>
<ceej> crome: LOL, I'm justing wanting a Rails.root but MyModule.root, I can't find the place in the rails source where they do it
dapz has joined #ruby
okdas has joined #ruby
lmmx has joined #ruby
beneggett has joined #ruby
<soahccc> ceej: I asked that some time ago and it works but I wouldn't recommend it for production gems => http://stackoverflow.com/questions/14405877/get-path-of-gemfile-when-rails-loading-my-gem-via-bundler
lmmx has left #ruby [#ruby]
kotakotakota has quit [Ping timeout: 240 seconds]
bluehavana_ has joined #ruby
slowcon has quit []
terrellt_ has joined #ruby
<ceej> soahccc: thank you
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
terrellt has quit [Ping timeout: 255 seconds]
lampe2 has joined #ruby
njection has joined #ruby
okdas has quit [Ping timeout: 252 seconds]
<ceej> soahccc: I'm not using rails btw, but I just want the Rails.root (#root) method in my app. If I remember Dir.getwd has issues when mounted to another rack app
shredding has quit [Quit: shredding]
<crome> benzrf: lol
sambao21 has quit [Quit: Computer has gone to sleep.]
terrellt_ is now known as terrellt
beneggett has quit [Read error: No route to host]
beneggett has joined #ruby
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
keen_____ has joined #ruby
juarlex has quit [Remote host closed the connection]
jamto11 has joined #ruby
Amart41 has quit [Remote host closed the connection]
mikemar10 has quit [Ping timeout: 255 seconds]
Spami has joined #ruby
Amart41 has joined #ruby
mikepack has joined #ruby
njection has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
afreidah has quit [Ping timeout: 264 seconds]
obs has joined #ruby
TheFishy has quit [Quit: leaving]
baroquebobcat has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
jph98 has joined #ruby
beneggett has quit [Read error: Connection reset by peer]
beneggett has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
Amart41 has quit [Ping timeout: 252 seconds]
jamto11 has quit [Ping timeout: 240 seconds]
mikepack has quit [Remote host closed the connection]
ukd1 has quit [Remote host closed the connection]
<Nowaker> do you know how to fail a test in test-unit? I mean, something better than `assert_true false`...
jamto11 has joined #ruby
<toretore> assert false
<benzrf> hehe
jrhorn424 is now known as zz_jrhorn424
jamto11 has quit [Remote host closed the connection]
<Nowaker> I meant `assert false` actually
ukd1 has joined #ruby
<platzhirsch> >> assert false
<eval-in> platzhirsch => undefined method `assert' for main:Object (NoMethodError) ... (https://eval.in/122792)
Elico has quit [Quit: Leaving.]
njection has joined #ruby
<jhass> raise ?
<Nowaker> in junit there's fail() method so you don't provide any fake assertion
<platzhirsch> badum tish
teddyp1cker has joined #ruby
<toretore> def fail; assert false; end
<Nowaker> toretore: yep, just started adding this to my test_helper
<Nowaker> just wanted to make sure there is no equivalent of fail() in test-unit
<Nowaker> thanks
circuit has quit [Quit: leaving]
derek_c has quit [Remote host closed the connection]
tkuchiki has joined #ruby
dapz has quit [Ping timeout: 252 seconds]
circuit has joined #ruby
mjw has joined #ruby
rayners has quit [Remote host closed the connection]
teddyp1cker has quit [Ping timeout: 240 seconds]
<shevy> what is the best way to test in ruby?
atlas__ has quit [Ping timeout: 252 seconds]
<centrx> Minitest!
mando has quit [Remote host closed the connection]
brkattk has joined #ruby
<crome> +1 for minitest
<brkattk> Am I able to use a hyphen in a RACK_ENV ?
mjw1 has quit [Ping timeout: 264 seconds]
rankine has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
<apeiros> since Test::Unit states to use Minitest - Minitest+1
mikepack has joined #ruby
elaptics`away is now known as elaptics
jlast has quit [Remote host closed the connection]
<shevy> ok, minitest leads 2:0
<shevy> damn
<shevy> I mean 3:0
njection has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
jtgiri_ has quit [Quit: jtgiri_]
enebo has quit [Quit: enebo]
<jhass> hm, can I say rspec 3 already? :P
<crome> although I always have the urge to reinvent a few convenience methods from rspec when I use minitest
zachallett has joined #ruby
<crome> Im just used to it
baroquebobcat has quit [Quit: baroquebobcat]
zachallett has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
<philcrissman> We just moved our main app over to use minitest (from Test::Unit). Liking it a lot.
zachallett has joined #ruby
mikepack has quit [Remote host closed the connection]
beneg has joined #ruby
<shevy> jhass really?
<jhass> really
mansi has joined #ruby
toastynerd has joined #ruby
<shevy> ok, 4 minitest, 1 rspec
<jhass> rspec 3!
jobewan has quit [Quit: Leaving]
<shevy> well you get one vote
mherlocker has joined #ruby
beneggett has quit [Read error: No route to host]
<philcrissman> haha
<jhass> no, not three votes
<jhass> version 3
<crome> :D
<shevy> ok 1x rspec3
baroquebobcat has quit [Client Quit]
mherlocker has left #ruby [#ruby]
<crome> minitest is 5.x
<crome> 5 > 3
iceden has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<jhass> nah, rspec just follows kernel versioning
<Nowaker> do you have a link to some nice examples of minitest? I have some test-units and some rspecs in my project, never used minitest.
mikepack has joined #ruby
njection has joined #ruby
i_s has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
mikemac has quit [Ping timeout: 252 seconds]
<crome> <3
mikemac has joined #ruby
dkamioka has quit [Remote host closed the connection]
atmosx has joined #ruby
<apeiros> yeah, that's zenspider
Celm has joined #ruby
asteros has quit [Quit: asteros]
aspires has joined #ruby
beneggett has joined #ruby
maximski has joined #ruby
beneg has quit [Ping timeout: 264 seconds]
BuSerD has quit [Quit: Sleepy time! ZZZzzz…]
sdouglas has quit [Remote host closed the connection]
rainmanjam has quit [Remote host closed the connection]
malkomalko has joined #ruby
ukd1 has quit [Quit: Leaving...]
beneg has joined #ruby
Naoe-Kanno has joined #ruby
SHyx0rmZ has quit [Read error: Connection reset by peer]
njection has quit [Ping timeout: 240 seconds]
<shevy> lol
<pedrocr> how do I get the underlying fd number from an IO?
<shevy> "In doing so, you're admitting that you suck and your tests are weak."
_Andres has joined #ruby
bedouin_ is now known as bedouin
deadlock has joined #ruby
<pedrocr> it gets printed on inspect but there doesn't seem to be a method for it
beneggett has quit [Ping timeout: 240 seconds]
tewlz has joined #ruby
<toretore> pedrocr: i found it in 30 seconds looking at the documentation
<benzrf> >> $stdout.fileno
<eval-in> benzrf => 1 (https://eval.in/122815)
<benzrf> toretore: i found it in 15 with pry
george2 has joined #ruby
chris_thomson has joined #ruby
<pedrocr> toretore: looking at this one: http://www.ruby-doc.org/core-2.1.1/IO.html and haven't been able to find it
beneg has quit [Ping timeout: 264 seconds]
rootshift has quit [Ping timeout: 264 seconds]
<pedrocr> benzrf: thanks
<toretore> it's there
njection has joined #ruby
reset has joined #ruby
sambao21 has joined #ruby
samfisher has quit [Quit: exit error code 434]
benzrf is now known as benzrf|offline
mansi has quit [Ping timeout: 255 seconds]
havenwood has quit [Remote host closed the connection]
<shevy> pedrocr "Returns an integer representing the numeric file descriptor for ios."
baroquebobcat has quit [Quit: baroquebobcat]
<shevy> $stdin.fileno #=> 0
<shevy> $stdout.fileno #=> 1
havenwood has joined #ruby
<shevy> pedrocr would you say that the ruby documentation is bad?
jhass is now known as jhass|off
asteros has joined #ruby
agarie has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
dik_dak has quit [Quit: Leaving]
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
njection has quit [Ping timeout: 255 seconds]
beneggett has joined #ruby
BuSerD has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
terrellt has quit [Ping timeout: 255 seconds]
Al__ has joined #ruby
havenwood has joined #ruby
zachallett has quit [Remote host closed the connection]
<pedrocr> shevy: I searched through it with "fd" and not "file descriptor" so didn't catch it
<pedrocr> shevy: I find it to be good in general
crystal77 has joined #ruby
stupidystupid has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jjbohn has joined #ruby
stupidystupid has joined #ruby
jph98 has quit [Quit: jph98]
baroquebobcat has joined #ruby
dx7 has quit [Ping timeout: 252 seconds]
stupidystupid has quit [Client Quit]
njection has joined #ruby
juarlex has joined #ruby
funburn has joined #ruby
baroquebobcat has quit [Client Quit]
magoo has quit [Quit: WeeChat 0.4.2]
<platzhirsch> so I registered http://konrad.berlin
geopet has quit [Remote host closed the connection]
<platzhirsch> I have wired myself to my local roots.
geopet has joined #ruby
zorak has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
Notte has quit []
yfeldblum has quit [Ping timeout: 240 seconds]
i_s has joined #ruby
youssefeid has joined #ruby
mike_k has quit [Remote host closed the connection]
vpretzel has quit [Remote host closed the connection]
SCommette has quit [Quit: SCommette]
Elhu has quit [Quit: Computer has gone to sleep.]
i_s has quit [Read error: Connection reset by peer]
arubincloud has quit []
i_s has joined #ruby
linojon has quit [Quit: linojon]
<shevy> is that a new fancy term for choking the bishop?
jibi has quit [Ping timeout: 264 seconds]
youssefeid has quit [Client Quit]
vpretzel has joined #ruby
<platzhirsch> shevy: stop being so jelly, just because you haven't registered shevy.wien yet
yfeldblum has joined #ruby
<apeiros> aaaahaha, jelly… reminds me of southpark :)
<shevy> no I would not want such a domain
<shevy> more cyborg.warrior
jibi has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> and then I will wire myself to my local roots
<platzhirsch> You need to go to therapy, I reckon you have the imposter syndrome
dkamioka has joined #ruby
chipotle has quit [Quit: cya]
malkomalko has quit []
ndrei has joined #ruby
njection has quit [Ping timeout: 240 seconds]
ndrei has quit [Client Quit]
[gmi] has quit [Read error: Connection reset by peer]
dkamioka has quit [Read error: Connection reset by peer]
dkamioka has joined #ruby
baroquebobcat has joined #ruby
vpretzel has quit [Remote host closed the connection]
blackmesa has quit [Quit: WeeChat 0.4.3]
nateberkopec has quit [Quit: Leaving...]
airdisa has joined #ruby
Axsuul_ has joined #ruby
Axsuul_ has quit [Max SendQ exceeded]
nhmood has joined #ruby
blom has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
Axsuul_ has joined #ruby
blom has joined #ruby
baroquebobcat has quit [Client Quit]
Elhu has joined #ruby
axsuul has quit [Ping timeout: 264 seconds]
snath has quit [Ping timeout: 255 seconds]
baroquebobcat has joined #ruby
njection has joined #ruby
freggles has quit [Remote host closed the connection]
toastynerd has joined #ruby
crazymykl has joined #ruby
axsuul has joined #ruby
quixotic_ has joined #ruby
mike_k has joined #ruby
blom has quit [Ping timeout: 240 seconds]
<platzhirsch> shevy: Sorry, I got that wrong
<platzhirsch> what I meant was the Dunning–Kruger effect
dkamioka has quit [Ping timeout: 264 seconds]
axsuul has quit [Read error: No route to host]
axsuul has joined #ruby
mikemac has quit [Ping timeout: 255 seconds]
mjw has left #ruby [#ruby]
baroquebobcat has quit [Quit: baroquebobcat]
Axsuul_ has quit [Ping timeout: 252 seconds]
jtgiri_ has joined #ruby
jtgiri_ has quit [Client Quit]
njection has quit [Ping timeout: 240 seconds]
skiabox has joined #ruby
skiabox has quit [Client Quit]
stupidystupid has joined #ruby
skiabox has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
<skiabox> hello guys!
<centrx> Ahoy
optz has quit [Quit: Page closed]
<skiabox> can I ask you something?
jjbohn has quit [Quit: Leaving...]
dingus_khan has joined #ruby
momigi has quit [Remote host closed the connection]
xcv has joined #ruby
terrellt has joined #ruby
yfeldblum has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
<skiabox> I get an error when I am trying to run the following
lkba has quit [Ping timeout: 264 seconds]
marius is now known as nkts
mikepack has quit [Remote host closed the connection]
<skiabox> what am I doing wrong?
_bart has quit [Quit: leaving]
<shevy> platzhirsch Kruger? freddy from nightmare on elm street?
evenix has joined #ruby
njection has joined #ruby
<shevy> skiabox no
<shevy> skiabox the question is
* platzhirsch farts into his hands and throws it to shevy
<shevy> skiabox what are you trying to do
<platzhirsch> apeiros: there goes your South Park reference
klaut has quit [Remote host closed the connection]
<shevy> platzhirsch this is why people don't wanna shake hands with you :)
dingus_khan has quit [Ping timeout: 255 seconds]
<atmosx> shit
<atmosx> I'm hungry
<platzhirsch> I don't have hands, I have hooves
<skiabox> shevy : I am getting the following error from RubyMine
tkuchiki has quit [Remote host closed the connection]
<shevy> skiabox pastebin.com is quite awful btw
<shevy> hey atmosx
<atmosx> hey shevy
<atmosx> shevy: how's work?
<shevy> skiabox can you use pastie.org or gist github?
<platzhirsch> Gist or dead
Al__ has quit [Read error: Connection reset by peer]
Naoe-Kanno has quit [Quit: ネウロイを負かさなきゃならないね]
<atmosx> gist for the win (using the vim plugin)
Al__ has joined #ruby
<atmosx> anyone using tmuxinator here?
<shevy> atmosx nah, I am preparing for some other stuff... then I will intensify on R, read up on cancerbiology again, do some exams, then write to another (larger) company
<skiabox> shevy : sure....here is the error I get --> http://pastie.org/8948990
<shevy> skiabox all classes in ruby can have the initialize method, simply call the method in initialize and also instantiate your class into an object by doing .new
<shevy> no please dont rely on redmine
mikepack has joined #ruby
<atmosx> shevy: lol
<atmosx> shevy: didn't go well with the perl guys?
<shevy> >> class Test_Me_2; def initialize; puts time_as_string; end; def time_as_string; Time.now.to_s; end; end; x = Test_Me_2.new
<eval-in> shevy => 2014-03-19 00:39:18 +0100 ... (https://eval.in/122839)
<skiabox> shevy : can you be more specific?
Al__ has quit [Client Quit]
inversesquarelaw has joined #ruby
<shevy> skiabox ^^^ look at the above code, that works. replace all ; with \n mentally or paste into your editor but please dont use redmine :D
<shevy> atmosx well
<atmosx> -> /Users/Administrator ... a mac account called 'Adminisgrator'? that's werid alias
<skiabox> I'll try this code right away
<shevy> atmosx realistically there is no way to develop in their area
Guest46591 has joined #ruby
stupidystupid has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Elhu has quit [Quit: Computer has gone to sleep.]
<shevy> atmosx they do in house service via scripts, data mining, annotating and curating dataset, which is derived from only a few scientists
W0rmDr1nk has joined #ruby
<shevy> atmosx I can be a code monkey or a service monkey but that is insanely boring
stupidystupid has joined #ruby
nfk has quit [Ping timeout: 240 seconds]
<atmosx> shevy: I see
<atmosx> shevy: but do they pay well?
chipotle has joined #ruby
<shevy> atmosx not there, but in the parent company (corporation)
njection has quit [Ping timeout: 240 seconds]
<atmosx> shevy: but seriously, if you could choose what would you like to work on?
<shevy> but they have a stricter regimen and mandatory requirement to go through too so I don't know if I could fit it, I will know in about 2 months
<shevy> atmosx hmm
* atmosx tries really hard not to eat corn flakes and watch the last episode of Suits
mikepack has quit [Ping timeout: 240 seconds]
<platzhirsch> Is Suits good? It looked cheap on an Ad here in Berlin
<shevy> atmosx I know what I want to do, roughly... it's not easy to describe. Synthetic biology is one of the coolest things by far, but it would require relocation to the USA
BuSerD has quit [Quit: BuSerD out........]
<skiabox> shevy it worked
<shevy> skiabox \o/
<skiabox> so the easiest way to just run code is to create a class like this?
WormDr1nk has quit [Ping timeout: 255 seconds]
<atmosx> platzhirsch: It's cheap, compared to "True Detective", "A Game of Thrones" and "A House of Cards" or even "Breaking Bad" IMHO, but it's 'soft' ... a bit boring if you watch too many episodes at once but I like the leading characters. It is cheap though.
coderxin_ has quit [Remote host closed the connection]
<skiabox> I mean if you don't want to use irb and you want to use RubyMine for example
<shevy> atmosx which is why I'll try to get into cancerbiology first, at worst I'll get some more months hands on experience, and/or do some programming related to bioinformatics, and in a year or two I can perhaps still see what I can do
<atmosx> platzhirsch: but I like the fact that it's easy-going after watching true detective in 24 hours, made me wanna kill myself.
<platzhirsch> atmosx: yeah alright, that's how I would describe 'The Blacklist'
<shevy> skiabox don't know if it is "easiest"
<platzhirsch> atmosx: yeah, I did Breaking Bad in 5 days
<shevy> skiabox but a class neatly packages up things for you that are related to the job at hand
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
doodlehaus has joined #ruby
<atmosx> shevy: I see.
<shevy> skiabox you can instantiate a class at any time via new, and you can also use class methods for more convenient APIs
<platzhirsch> shevy: Cool, so you are gearing up for the next career frontier?
<atmosx> shevy: you have a degree in biology or something? I can't recall, I know you're in a related field
<skiabox> shevy : I mean something like a static class
<shevy> FTP.login :to => 'berlin.de', :port => 52525
<skiabox> if you know what I mean
<atmosx> platzhirsch: really? I didn't like the first 5 seasons, I wanted to kill the ... I don't remember his name, his helper... myself
<shevy> atmosx hmm not quite, I'd still have to do a few more exams
<atmosx> platzhirsch: sorry, the first 3 seasons lol
<atmosx> shevy: but what ar eyou studying?
Fire-Dragon-DoL has quit [Ping timeout: 252 seconds]
<shevy> atmosx right now chemistry; prior to that biology and genetics
asteros has quit [Quit: asteros]
fgo has joined #ruby
<platzhirsch> atmosx: I was totally hooked after the first 30min..
<atmosx> shevy: btw I'll be in Vienna with my gf and maybe some family from 1 to 6/4.
<shevy> \o/
bcavileer__ has quit []
<atmosx> shevy: we do some plasmid isolation experiments now, I don't understand shit :-( the guy is awful
njection has joined #ruby
bcavileer__ has joined #ruby
<shevy> cool
<shevy> sounds boring though hahaha
<atmosx> shevy: his guarantor (with whom I have my thesis) is cool though, his last class was about chaperons
<shinobi_one> anyone know how to find xcode path without using `xcode-select --print-path`? trying to uninstall macruby and i don't have xcode-select..
yasushi has joined #ruby
brkattk has quit [Quit: Leaving.]
<atmosx> platzhirsch: you into chemistry?
Chronocity is now known as osvico
nateberkopec has joined #ruby
<atmosx> platzhirsch: did you see your self in 'hero protagonist' ?
bcavileer__ is now known as bcavileer
mikemac has joined #ruby
<shevy> atmosx platzhirsch will soon work in London!
bcavileer has quit [Changing host]
bcavileer has joined #ruby
bcavileer has joined #ruby
x77686d has joined #ruby
<platzhirsch> atmosx: not at all. In high school it was always a close call whether I fail the class, just my grandfather (has a PhD there) bailed me out every time
<atmosx> shevy: really? hm as a system administrator at a bio-informatics division in a univ?
<skiabox> Is there any other way to run some code without having to instantiate a class?
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<shevy> atmosx dunno what platzhirsch will do in london
<Nowaker> skiabox: class methods
<atmosx> platzhirsch: I failed once in Chemistry and now I'm studying pharmacy (15 years later), I mean I hate chemistry with a passion but (at least now) I reckon there's as much magic as one can get in chemistry.
<platzhirsch> Software Development
crazymykl has quit [Ping timeout: 240 seconds]
<atmosx> platzhirsch: wow cool, RoR?
<platzhirsch> Startup, building a product, burning out
<Nowaker> def self.method ... end, and call it with MyClass.method()
dstynchula has quit []
<skiabox> Nowaker : can u give an example my friend?
Vovko has joined #ruby
nisstyre has quit [Ping timeout: 252 seconds]
<shevy> skiabox he kinda did just now ;)
funktor has joined #ruby
<platzhirsch> I don't know, I am still in the interview huddle and I don't see myself succeeding anytime soon, but if this one thing works out I will build an Android app, but they use Ruby, and RoR on the backend so I could switch somewhen
<shevy> >> class Foo; def self.yo; puts 'hi i am a class method'; end; end; Foo.yo()
<eval-in> shevy => hi i am a class method ... (https://eval.in/122840)
jph98 has joined #ruby
<shevy> atmosx I've noticed one curious thing about the perl guys though
<platzhirsch> I am also applying to Full-stack engineer jobs where they use Python and Django, so I am bit suicidal, I just want to get the ball rolling you know? And get out of my R&D job
<shevy> they really write only more or less isolated .pl scripts
<shevy> some other guy comes to them, tells them he has this or that problem, then they write a perl script; and that was it, problem solved. moving on.
<platzhirsch> atmosx: 'hero protagonist' ?
yfeldblum has joined #ruby
Elico has joined #ruby
jph98 has quit [Client Quit]
blom has joined #ruby
jjbohn has joined #ruby
<atmosx> platzhirsch: yeah, I was making a reference to Stephenson but you got the point :-) - Did you like Walter White? :-)
<shevy> atmosx they are kind of not integrating everything, like writing something more robust, no GUIs, no web stuff either anywhere, it's a bit like coding in the 1990s
<platzhirsch> atmosx: I am not sure, it was an absolute painful experience to watch him so I would say no, but his transformation was very epic and biblic
<atmosx> shevy: hmm
codabrink has quit [Ping timeout: 246 seconds]
* atmosx eating corn flakes
quixotic_ has quit [Quit: Leaving]
njection has quit [Ping timeout: 246 seconds]
<atmosx> platzhirsch: did you see "True Detective" ?
<platzhirsch> no
workmad3 has joined #ruby
<platzhirsch> corn flakes are really for children atmosx
<skiabox> nice
<platzhirsch> like fish sticks
<atmosx> platzhirsch: i"m a 32 year old children, what can I say.
<skiabox> I've changed my code so that it uses the magic self keyword!
ffranz has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
<atmosx> platzhirsch: I think you're going to like it. It's good, but really dark.
Asher has quit [Quit: Leaving.]
kevind has quit [Quit: kevind]
rjk808_ has quit []
<atmosx> skiabox: works fine
<platzhirsch> Don't fuck around with some sorry ass corn flakes. Make a big bowl of cereal and add some fucking flavor with fresh fruits and lots of different nuts. Healthy tastes goddamn delicious
<platzhirsch> #thugkitchen
<skiabox> yeah
codabrink has joined #ruby
<skiabox> thanks to all you guys
SCommette has joined #ruby
<skiabox> you were so helpful really
<skiabox> :)
jgoss has quit [Ping timeout: 264 seconds]
<atmosx> platzhirsch: fruits??? Who told that at 00:44 fruits are healthy? :-)
<shevy> oranges
<skiabox> shevy : I am in Frankfurt
<platzhirsch> atmosx: yeah if you bought organic ones they are rotten by now
<shevy> I am sorry for you skiabox :(
<skiabox> why?
<platzhirsch> skiabox: am Main or Oder?
nateberkopec has quit [Quit: Leaving...]
<apeiros> banister_: ping - got an idea how to debug abnormously long startup time in pry?
<shevy> you are surrounded by banksters and ugly buildings
momigi has joined #ruby
fgo has quit [Remote host closed the connection]
<atmosx> shevy: oranges are kinda dangerous too... depends on stomach pH and prostanglandins floating around but could be really harmful in the afternoon
<skiabox> define Oder
<platzhirsch> Frankfurt (Oder)
<shevy> atmosx damn, you sound like a girl :D
ffranz has joined #ruby
<atmosx> shevy: I study these things :-P ... what can I do?
<platzhirsch> The big ass river from Poland
danno1 has quit [Ping timeout: 240 seconds]
<atmosx> shevy: mind you - I'm eating Beeren Muesli now
Fire-Dragon-DoL has joined #ruby
bcavileer has quit []
lw has quit [Quit: s]
<shevy> I ate some Muesli some hours ago
<shevy> now I could really need some fruits but I have none left
<platzhirsch> Nothing defines places like a U R I: http://de.wikipedia.org/wiki/Frankfurt_(Oder)
benzrf|offline is now known as benzrf
<benzrf> hej da
benzrf is now known as benzrf|offline
okdas has joined #ruby
<platzhirsch> Yeah, Alnatura is really my vibe
bcavileer has joined #ruby
YamakasY_ has joined #ruby
<shevy> platzhirsch are you again connecting with your "roots" ...
davy__ has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
<shevy> atmosx what would be cool are simple GUIs that could be done in ruby, and are simple to implement and use
njection has joined #ruby
<platzhirsch> Yeah, my East-Berlin roots
<platzhirsch> oh gosh
<shevy> atmosx like ways to create .svg molecule structures
<platzhirsch> okay, can we collect some money for skiabox?
<atmosx> platzhirsch: how old r u?
<shevy> skiabox bankster home :(
<platzhirsch> atmosx: 25 and 1/2
<shevy> platzhirsch I can send him flowers
bcavileer has quit [Client Quit]
<skiabox> I am Greek
<platzhirsch> shevy: only Fairtrade flowers
<shevy> wheeeee like atmosx
bcavileer has joined #ruby
<shevy> platzhirsch dutch colonial imported flowers :)
pskosinski has quit [Quit: Til rivido Idisti!]
<shevy> apartheid flowers - black and white :P
<platzhirsch> atmosx: Why do you ask? I am wearing my childish hipster mask at the moment
<atmosx> skiabox: seriously?
<skiabox> yeap
<atmosx> skiabox: and you vote?
<skiabox> yeah I vote
<skiabox> why do you ask?
bcavileer has quit [Changing host]
bcavileer has joined #ruby
bcavileer has joined #ruby
bcavileer has quit [Changing host]
nisstyre has joined #ruby
mikepack has joined #ruby
YamakasY has quit [Ping timeout: 255 seconds]
<skiabox> lol
<skiabox> just saw your whois
ukd1 has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
okdas has quit [Ping timeout: 264 seconds]
<skiabox> brb
<atmosx> I do that to people, when they 'whois' me the run away scared.
<shevy> lol
<platzhirsch> Yeah, also if you lie to us... we will find you and break you
<shevy> atmosx that's how 300 spartians defeated a billion persians
Hobogrammer has quit [Quit: WeeChat 0.4.3]
<platzhirsch> put a dent into your mailbox, etc. etc.
ezrios has joined #ruby
<ezrios> I am having trouble understanding why the following does not work: http://bpaste.net/show/190576/
crazymykl has joined #ruby
<ezrios> the error: "NameError: undefined local variable or method `foobar' for #<#<Class:0x0000000119d9e8>:0x0000000119d538>
<ezrios> "
Hobogrammer has joined #ruby
ga1j1n has quit [Remote host closed the connection]
<ezrios> can included mixins not see class methods?
dkamioka has joined #ruby
<workmad3> ezrios: not just included... class methods aren't on the method lookup chain in an instance
ga1j1n has joined #ruby
<shevy> ezrios, what if you try this: http://pastie.org/8949042
<banister_> ezrios no instance methods can automatically see class methods
<banister_> ezrios listen to workmad3 he's a clever boy, and very frenly
<workmad3> banister_: cheers, although your explanation was clearer :)
njection has quit [Ping timeout: 240 seconds]
Atw has joined #ruby
axsuul has quit [Read error: No route to host]
Elico has quit [Quit: Leaving.]
<ezrios> workmad3: banister_: hm, I feared as such :/ thanks
mikemac has quit [Ping timeout: 264 seconds]
<banister_> ezrios just use: self.class.class_method
<atmosx> shevy: they didn't defeat them... History is a bitch. Athenians made all the victories and Spartans took the glory lol
<shevy> hehe
echevemaster has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
axsuul has joined #ruby
<atmosx> ezrios: have no fear, the truth is within you!
tylersmith has quit [Remote host closed the connection]
armyriad has quit [Ping timeout: 264 seconds]
mikepack has quit [Remote host closed the connection]
tylersmith has joined #ruby
YamakasY_ has quit [Remote host closed the connection]
<atmosx> and with that I'm ready to go to bed!
<atmosx> farewell dear rubyists!
<wallerdev> later gator
juarlex has quit [Remote host closed the connection]
<skiabox> greeks are the worst people in the planet right now
ukd1 has quit [Quit: Leaving...]
lmickh has quit [Remote host closed the connection]
ga1j1n has quit [Ping timeout: 255 seconds]
inversesquarelaw has quit [Quit: rm -rf /]
dkamioka has quit [Ping timeout: 240 seconds]
<shevy> why
<skiabox> they are thieves
<atmosx> shevy: it's part of the internal propaganda I guess.
<skiabox> corrupted
<skiabox> they never work
<shevy> well there are thieves everywhere
<shevy> you just need to make it harder for them to be thieves
<skiabox> they like to be parasites
<centrx> They can't be as bad as PHP
<shevy> lol centrx
jgoss has joined #ruby
<atmosx> centrx: lol