apeiros changed the topic of #ruby to: Ruby 2.0.0-p353: http://ruby-lang.org (Ruby 1.9.3-p484) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<jpagano_> i couldn't find anything on @
<MrZYX> every basic ruby tutorial should cover that
<Eiam> ^
<sebkomianos> Myk267: yes, my bad, available to all methods in a class is what I should have said
<jpagano_> ok… ill look around some more, was googling then searching for @ and wasn't coming up with anything
A124 has quit [Read error: Connection reset by peer]
duggiefresh has joined #ruby
<jpagano_> thank you.
maninthemiddle_ has quit [Quit: leaving]
funburn has joined #ruby
duggiefresh has quit [Remote host closed the connection]
mootpointer has quit [Quit: ENOCAFFEINE.]
kaldrenon has joined #ruby
duggiefresh has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
tanema has quit [Remote host closed the connection]
tanema has joined #ruby
Astral_ has joined #ruby
narcan has joined #ruby
Kricir has quit [Remote host closed the connection]
<maletor> Trying to debug a JSON decode error. Any ideas what might have happened here? https://gist.github.com/maletor/894d59fd75085e031336
agent_white has joined #ruby
Astralum has quit [Ping timeout: 260 seconds]
pel_daniel1 has left #ruby [#ruby]
aryaching has joined #ruby
d45h has joined #ruby
jlast has quit [Remote host closed the connection]
tanema has quit [Ping timeout: 252 seconds]
Astral_ has quit [Ping timeout: 264 seconds]
jacobsmith has quit [Ping timeout: 245 seconds]
duggiefresh has quit [Remote host closed the connection]
petey has quit [Ping timeout: 250 seconds]
starfox21 has joined #ruby
BackEndCoder has quit [Ping timeout: 240 seconds]
s2013 has quit [Ping timeout: 264 seconds]
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
Sc0rp10n has joined #ruby
tanema has joined #ruby
duggiefresh has joined #ruby
dayepa has joined #ruby
phantummm has quit [Quit: phantummm]
xcv has quit [Ping timeout: 246 seconds]
aspires has quit []
deception has quit [Quit: Goodbye]
pzula has quit [Ping timeout: 260 seconds]
AlSquire has quit [Quit: This computer has gone to sleep]
MrZYX is now known as MrZYX|off
thumpba has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
Fire-Dragon-DoL has left #ruby [#ruby]
randomnick_ has quit [Quit: Leaving]
angusiguess has quit [Ping timeout: 260 seconds]
hogeo has joined #ruby
angusiguess has joined #ruby
blaskovicz has quit [Quit: Leaving.]
siwica has quit [Ping timeout: 240 seconds]
mikepack has quit [Remote host closed the connection]
predator217 has joined #ruby
enebo has quit [Quit: enebo]
Shidash has quit [Quit: Leaving.]
siwica has joined #ruby
mansi has joined #ruby
pushpak has joined #ruby
mootpointer has joined #ruby
starfox21 has quit [Quit: starfox21]
amacgregor_ has quit [Read error: Connection reset by peer]
antonio___ has quit [Quit: Connection closed for inactivity]
predator117 has quit [Ping timeout: 245 seconds]
funburn has quit [Quit: funburn]
_Andres has joined #ruby
nwertman has quit [Ping timeout: 260 seconds]
hogeo has quit [Remote host closed the connection]
nomenkun_ has quit [Remote host closed the connection]
nomenkun has joined #ruby
Megtastique has joined #ruby
touki has joined #ruby
mikepack has joined #ruby
xcv has joined #ruby
coca_rails has quit [Remote host closed the connection]
_Andres has quit [Read error: Connection reset by peer]
touki has quit [Client Quit]
thumpba has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
Jetchisel has joined #ruby
javon has joined #ruby
jokke has quit [Quit: WeeChat 0.4.2]
nomenkun has quit [Ping timeout: 240 seconds]
shime has quit [Ping timeout: 240 seconds]
akonny has quit [Quit: akonny]
mikepack_ has joined #ruby
hogeo has joined #ruby
Senjai`work has quit [Ping timeout: 272 seconds]
javon has quit [Ping timeout: 246 seconds]
psyl0n has quit []
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
kh019267 has joined #ruby
rezzack has joined #ruby
mikepack has quit [Ping timeout: 250 seconds]
mikepack_ has quit [Ping timeout: 240 seconds]
siwica has quit [Read error: Operation timed out]
wildroman2 has quit [Remote host closed the connection]
aryaching_ has joined #ruby
mjs2600 has joined #ruby
siwica has joined #ruby
d45h has quit []
_Andres has joined #ruby
_Andres has quit [Client Quit]
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
xk_id has quit [Quit:
ldnunes has quit [Quit: Leaving]
phantasm66 has quit [Client Quit]
kh019267 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RTG` has quit [Ping timeout: 256 seconds]
louism2wash has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
Briareos1_ has quit [Remote host closed the connection]
sevenseacat has joined #ruby
ValicekB has quit [Read error: Operation timed out]
sepp2k has quit [Quit: Leaving.]
atmosx has quit [Quit: Lost in trance]
danshultz has joined #ruby
Atrophius has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
xcv has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 245 seconds]
xcv has joined #ruby
xcv has quit [Read error: Connection reset by peer]
nanoyak has quit [Quit: Computer has gone to sleep.]
Spami has joined #ruby
xcv has joined #ruby
Lewis has joined #ruby
Deele has quit [Ping timeout: 260 seconds]
robustus has joined #ruby
ferr has joined #ruby
VTLob has quit [Quit: VTLob]
ae-r has joined #ruby
kh019267 has joined #ruby
Sc0rp10n has quit [Quit: Leaving]
Genjikyosher has quit [Ping timeout: 246 seconds]
jamesaanderson has joined #ruby
havenwood has quit [Remote host closed the connection]
superscott[8] has quit [Quit: superscott[8]]
havenwood has joined #ruby
kh019267 has quit [Client Quit]
valesk has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 250 seconds]
ae-r has quit [Ping timeout: 252 seconds]
Briareos1 has joined #ruby
aryaching_ has quit []
tkuchiki has joined #ruby
larissa has joined #ruby
mojjojo has quit [Quit: mojjojo]
Hanmac1 has joined #ruby
louism2wash has quit [Quit: This computer has gone to sleep]
aryaching has joined #ruby
wildroman2 has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
louism2wash has joined #ruby
aantix has quit [Quit: aantix]
Lewis has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
tanema has quit [Remote host closed the connection]
Viridisignis has quit [Quit: Lingo - http://www.lingoirc.com]
danshultz has joined #ruby
tanema has joined #ruby
Lewis has joined #ruby
nhhagen has quit [Remote host closed the connection]
timonv has joined #ruby
nhhagen has joined #ruby
marr has quit [Ping timeout: 240 seconds]
mr_red has quit [Quit: Bye :)]
ephemerian has quit [Quit: Leaving.]
tanema has quit [Ping timeout: 240 seconds]
danshultz has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
timonv has quit [Ping timeout: 260 seconds]
nhhagen has quit [Ping timeout: 253 seconds]
mr_red has joined #ruby
nari has joined #ruby
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
fudanchii has quit [Quit: #LaLaLaYeYeYe]
amacgregor has joined #ruby
blackmesa has joined #ruby
eulerphi has quit [Remote host closed the connection]
phipes has quit [Remote host closed the connection]
nisstyre has quit [Quit: Leaving]
mr_red has quit [Quit: Bye :)]
falood has joined #ruby
xcv has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby
Tarential has quit [Excess Flood]
mr_red has joined #ruby
Tarential has joined #ruby
pzula has joined #ruby
javierbuilder has joined #ruby
drag00n has quit [Ping timeout: 260 seconds]
javierbuilder has quit [Max SendQ exceeded]
vikhyat has joined #ruby
Xeago has joined #ruby
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
kizzx2 has joined #ruby
shedd has quit [Remote host closed the connection]
nari has quit [Ping timeout: 264 seconds]
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
baroquebobcat has quit [Quit: baroquebobcat]
xcv has joined #ruby
codeFiend has joined #ruby
jpagano_ has quit [Quit: jpagano_]
javierbuilder has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.1]
asteros has quit [Quit: asteros]
davy_ has quit [Remote host closed the connection]
mmcdaris has joined #ruby
Xeago has quit [Ping timeout: 250 seconds]
javierbuilder has quit [Max SendQ exceeded]
jpagano_ has joined #ruby
Reach has joined #ruby
goles has left #ruby [#ruby]
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
shedd has joined #ruby
ferr has left #ruby [#ruby]
wildroman2 has quit [Remote host closed the connection]
nhhagen has joined #ruby
zmansiv has quit [Quit: ZNC - http://znc.in]
javierbuilder has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
Kneferilis has quit [Read error: Connection reset by peer]
javierbuilder has quit [Max SendQ exceeded]
dhruvasagar has quit [Read error: Operation timed out]
jpagano_ has quit [Ping timeout: 252 seconds]
brunto has quit [Ping timeout: 252 seconds]
nhhagen_ has joined #ruby
javierbuilder has joined #ruby
weems has quit [Ping timeout: 248 seconds]
gargamel has joined #ruby
asteros has joined #ruby
weems has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
blackmesa has quit [Ping timeout: 240 seconds]
gargamel has quit [Read error: Connection reset by peer]
nhhagen has quit [Ping timeout: 252 seconds]
shedd has quit [Remote host closed the connection]
mootpointer has quit [Quit: ENOCAFFEINE.]
javierbuilder has joined #ruby
nhhagen_ has quit [Ping timeout: 240 seconds]
ringaroses1 has quit [Ping timeout: 264 seconds]
siwica has quit [Ping timeout: 240 seconds]
ae-r has joined #ruby
kh019267 has joined #ruby
Voodoofish430 has joined #ruby
siwica has joined #ruby
zodiak has quit [Ping timeout: 252 seconds]
pzula has quit [Ping timeout: 272 seconds]
javierbuilder has quit [Max SendQ exceeded]
dhruvasagar has joined #ruby
marcgg has quit [Ping timeout: 240 seconds]
pzula has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
louism2wash has quit [Quit: This computer has gone to sleep]
duggiefresh has quit [Remote host closed the connection]
ferr has joined #ruby
ferr has left #ruby ["Good night everyone!"]
ferr has joined #ruby
ferr has left #ruby [#ruby]
ferr has joined #ruby
jonahR has joined #ruby
mootpointer has joined #ruby
ferr has quit [Remote host closed the connection]
nari has joined #ruby
Mars__ has quit [Remote host closed the connection]
tvw has quit [Ping timeout: 264 seconds]
pepsis_ has quit [Quit: Leaving]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
tanema has joined #ruby
ae-r has quit [Ping timeout: 252 seconds]
larissa has left #ruby ["Leaving"]
amedeiros has quit [Read error: Connection reset by peer]
maletor has quit [Quit: Computer has gone to sleep.]
Lewis has quit [Remote host closed the connection]
ExCa|iBuR has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
Dan_ has joined #ruby
Dan_ has quit [Client Quit]
sensen has joined #ruby
louism2wash has joined #ruby
mmcdaris has quit [Quit: mmcdaris]
Hanmac has joined #ruby
s2013 has joined #ruby
amedeiros has joined #ruby
zodiak has joined #ruby
pragmatism has quit [Ping timeout: 240 seconds]
f0ster has quit [Ping timeout: 264 seconds]
mikeric has joined #ruby
Hanmac1 has quit [Ping timeout: 260 seconds]
iamjarvo_ has joined #ruby
mikeric has quit [Client Quit]
zodiak has quit [Max SendQ exceeded]
zodiak has joined #ruby
Lewis has joined #ruby
lfox has joined #ruby
amoli has quit [Ping timeout: 264 seconds]
colonolGron has quit [Quit: leaving]
asteros has quit [Quit: asteros]
jacobsmith has joined #ruby
mootpointer has quit [Quit: ENOCAFFEINE.]
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
sambao21 has joined #ruby
freerobby has joined #ruby
dhruvasa1ar has joined #ruby
xcv has quit [Ping timeout: 250 seconds]
dhruvasagar has quit [Ping timeout: 250 seconds]
iliketur_ has quit [Quit: zzzzz…..]
s2013 has quit [Remote host closed the connection]
danshultz has joined #ruby
sambao21 has quit [Ping timeout: 240 seconds]
mmcdaris has joined #ruby
mdel has joined #ruby
brianpWins has quit [Quit: brianpWins]
iliketur_ has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
Lewis has quit [Remote host closed the connection]
pzula has quit [Quit: Lost terminal]
awea_ has quit [Remote host closed the connection]
ExCa|iBuR has quit [Quit: I was using serenepIRCh http://www.serenity-irc.net/ :-]
asteros has joined #ruby
Lewis has joined #ruby
<mr`spock> lots of great ruby discussion in here tonight ...
michael_lee has joined #ruby
reset has quit [Ping timeout: 272 seconds]
thumpba has joined #ruby
ehc has quit [Quit: ehc]
codeFiend has quit [Quit: codeFiend]
almarshall has quit [Quit: almarshall]
yfeldblum has joined #ruby
s2013 has joined #ruby
mmcdaris has quit [Quit: mmcdaris]
fullofcaffeine has quit [Remote host closed the connection]
Reach has quit []
thumpba has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rezzack has quit [Quit: Leaving.]
rezzack has joined #ruby
lagweezle has quit [Ping timeout: 246 seconds]
lagweezle has joined #ruby
mjs2600 has quit [Remote host closed the connection]
nhhagen has joined #ruby
charliesome has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
davy has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Loaft has joined #ruby
pragmatism has joined #ruby
pragmatism has quit [Excess Flood]
pragmatism has joined #ruby
nhhagen has quit [Ping timeout: 240 seconds]
pu22l3r has joined #ruby
davy has quit [Ping timeout: 240 seconds]
mjs2600 has joined #ruby
wildroman2 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
heidi has quit [Quit: Leaving.]
pragmatism has quit [Quit: Leaving...]
lfox has quit [Quit: ZZZzzz…]
wildroman2 has quit [Ping timeout: 240 seconds]
mootpointer has joined #ruby
capicue has quit [Quit: Leaving...]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
caveat- has quit [Ping timeout: 245 seconds]
oddalot has joined #ruby
shedd has joined #ruby
asteros has quit [Quit: asteros]
caveat- has joined #ruby
s2013 has quit [Ping timeout: 250 seconds]
mr_red has quit [Ping timeout: 252 seconds]
Lewis has quit [Remote host closed the connection]
devians has left #ruby ["Textual IRC Client: www.textualapp.com"]
timonv has joined #ruby
Lewis has joined #ruby
mr_red has joined #ruby
shedd has quit [Ping timeout: 272 seconds]
radic has quit [Disconnected by services]
radic_ has joined #ruby
mmcdaris has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
davy has joined #ruby
Megtastique has quit []
oz has quit [Quit: EOF]
oz has joined #ruby
Reach has joined #ruby
havenwood has quit [Remote host closed the connection]
Briareos1 has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
lukec has quit [Quit: lukec]
kevind has quit [Quit: kevind]
Megtastique has joined #ruby
marcgg has joined #ruby
sergicles has joined #ruby
michael_lee has quit [Ping timeout: 260 seconds]
just_a_randy has joined #ruby
pragmatism has joined #ruby
just_a_randy has quit [Client Quit]
yacks has quit [Ping timeout: 240 seconds]
Lewis has quit [Remote host closed the connection]
joofsh has joined #ruby
havenwood has joined #ruby
varfoo has joined #ruby
ukd1 has quit [Quit: Leaving...]
bricker`LA has quit [Ping timeout: 260 seconds]
clamstar has quit [Quit: Computer has gone to sleep.]
sergicles has quit [Ping timeout: 252 seconds]
hiall has quit [Quit: hiall]
synergy is now known as sng|Zzzz
CaptainJet has quit []
Lewis has joined #ruby
wesside_ has quit [Quit: I think I heard an ice cream truck..]
louism2wash has quit [Quit: This computer has gone to sleep]
dseitz has joined #ruby
pragmatism has quit [Quit: Leaving...]
havenwood has quit [Remote host closed the connection]
sergicles has joined #ruby
wesside has joined #ruby
michael_lee has joined #ruby
sbos99 has joined #ruby
cyong has joined #ruby
marcgg has quit [Read error: Connection reset by peer]
marcgg_ has joined #ruby
cyong has quit [Client Quit]
cyong has joined #ruby
pragmatism has joined #ruby
pragmatism has quit [Remote host closed the connection]
phipes has joined #ruby
wesside has quit [Ping timeout: 272 seconds]
julweber has quit [Read error: Connection reset by peer]
julweber has joined #ruby
amedeiros has quit [Remote host closed the connection]
Bira has quit []
iamjarvo_ has quit [Remote host closed the connection]
lukec has joined #ruby
iamjarvo_ has joined #ruby
phipes has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
_amir has quit [Ping timeout: 245 seconds]
Asher has joined #ruby
Asher has quit [Client Quit]
jim722 has joined #ruby
javierbuilder has joined #ruby
Megtastique has quit []
javierbuilder has quit [Max SendQ exceeded]
<jim722> i am a student and i need help with my ruby hw can someone help?
iliketur_ has joined #ruby
Asher has joined #ruby
iamjarvo_ has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
Shidash has joined #ruby
nhhagen has joined #ruby
Lewis has quit [Remote host closed the connection]
<sam113101> yes
<sam113101> the entire room is willing to help
<sevenseacat> speak for yourself >_>
<sam113101> ლ(`ー´ლ)
mootpointer has quit [Ping timeout: 245 seconds]
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
nhhagen has quit [Ping timeout: 245 seconds]
freerobby has quit [Quit: Leaving.]
bkparso has quit [Quit: bkparso]
liamkeily has quit [Ping timeout: 240 seconds]
Bry8Star{T2 has joined #ruby
Kricir has joined #ruby
Megtastique has joined #ruby
liamkeily has joined #ruby
phipes has joined #ruby
gianlucadv has joined #ruby
javierbuilder has joined #ruby
kobain_ has joined #ruby
kitak has joined #ruby
<mr`spock> what do you need? jim722
javierbuilder has quit [Max SendQ exceeded]
kobain has quit [Ping timeout: 250 seconds]
aantix has joined #ruby
jamesaanderson has joined #ruby
yfeldblum has quit [Remote host closed the connection]
sensen has quit [Quit: leaving]
yfeldblum has joined #ruby
mjs2600 has quit [Remote host closed the connection]
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
aantix has quit [Client Quit]
kevinykc_ has quit [Quit: Computer has gone to sleep.]
julweber has quit [Remote host closed the connection]
jkhwan has quit [Remote host closed the connection]
petey has joined #ruby
javierbuilder has joined #ruby
mjs2600 has joined #ruby
jkhwan has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
braincrash has quit [Quit: bye bye]
jim722 has quit [Quit: irc2go]
mary5030 has joined #ruby
tanema has quit [Remote host closed the connection]
jkhwan_ has joined #ruby
tanema has joined #ruby
javierbuilder has joined #ruby
dukz has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
jkhwan_ has quit [Remote host closed the connection]
braincrash has joined #ruby
jkhwan has quit [Read error: Connection reset by peer]
phipes has quit [Remote host closed the connection]
dhruvasa1ar has quit [Ping timeout: 246 seconds]
fragmachine has joined #ruby
jkhwan has joined #ruby
avalarion has quit [Ping timeout: 246 seconds]
javierbuilder has joined #ruby
ehc has joined #ruby
amacgregor has quit [Read error: Connection reset by peer]
soba has joined #ruby
hiyosi has quit [Ping timeout: 252 seconds]
tanema has quit [Ping timeout: 250 seconds]
javierbuilder has quit [Max SendQ exceeded]
timonv has joined #ruby
Kricir has quit [Remote host closed the connection]
vpretzel has quit [Remote host closed the connection]
jkhwan has quit [Ping timeout: 272 seconds]
vpretzel has joined #ruby
jkhwan has joined #ruby
timonv has quit [Ping timeout: 260 seconds]
Kricir has joined #ruby
Megtastique has quit []
codeFiend has joined #ruby
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
mjs2600 has quit [Remote host closed the connection]
vpretzel has quit [Ping timeout: 250 seconds]
avalarion has joined #ruby
pu22l3r has quit [Remote host closed the connection]
nowthatsamatt has quit [Quit: nowthatsamatt]
browndawg has quit [Read error: Connection reset by peer]
digital-ghost has quit [Remote host closed the connection]
pin3 has joined #ruby
phipes has joined #ruby
capicue has joined #ruby
wuzzzzaah has joined #ruby
mmcdaris has quit [Quit: mmcdaris]
mary5030 has quit [Remote host closed the connection]
Catie has quit [Ping timeout: 240 seconds]
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
noop has joined #ruby
pin3 has quit []
mmcdaris has joined #ruby
Catie has joined #ruby
goshakkk has joined #ruby
spergy has joined #ruby
tjbiddle has joined #ruby
heidi has joined #ruby
wuzzzzaah has quit [Ping timeout: 250 seconds]
jkhwan has quit [Ping timeout: 272 seconds]
tjbiddle has quit [Client Quit]
dmoe_ is now known as dmoe
fomatin has joined #ruby
funburn has joined #ruby
julweber has joined #ruby
Lewis has joined #ruby
braincra- has joined #ruby
javon has joined #ruby
phipes has quit [Remote host closed the connection]
hiyosi has joined #ruby
echevemaster has quit [Quit: Leaving]
braincrash has quit [Ping timeout: 240 seconds]
zoo-zed has joined #ruby
noop has quit [Ping timeout: 245 seconds]
hiyosi has quit [Ping timeout: 250 seconds]
julweber has quit [Ping timeout: 246 seconds]
Leighton has joined #ruby
goshakkk has quit [Quit: Textual IRC Client: www.textualapp.com]
xpirator has quit [Ping timeout: 240 seconds]
xpirator has joined #ruby
thesheff17 has quit [Ping timeout: 264 seconds]
mdel has quit [Ping timeout: 252 seconds]
gianlucadv has quit [Ping timeout: 260 seconds]
nhhagen has joined #ruby
zoo-zed has quit [Quit: Leaving.]
zoo-zed has joined #ruby
phipes has joined #ruby
zoo-zed has quit [Client Quit]
Arzaga has joined #ruby
zoo-zed has joined #ruby
phipes_ has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
phipes has quit [Read error: Connection reset by peer]
petey has quit [Remote host closed the connection]
browndawg has joined #ruby
phipes_ has quit [Ping timeout: 272 seconds]
Deele has joined #ruby
capicue has quit [Quit: Leaving...]
petey has joined #ruby
joofsh has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
aantix has joined #ruby
joofsh has joined #ruby
zoo-zed has quit [Quit: Leaving.]
zoo-zed has joined #ruby
fragmachine has quit [Remote host closed the connection]
liamkeily has quit [Ping timeout: 252 seconds]
JohnBat26 has joined #ruby
iliketur_ has joined #ruby
zoo-zed has quit [Client Quit]
mary5030 has joined #ruby
timonv has joined #ruby
IceDragon has quit [Quit: Space~~~]
joofsh has quit [Ping timeout: 250 seconds]
iliketur_ has quit [Client Quit]
tanema has joined #ruby
davy has quit [Remote host closed the connection]
Chanshark has joined #ruby
Reach has quit [Remote host closed the connection]
thelorax123 has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 250 seconds]
angusiguess has quit [Ping timeout: 264 seconds]
Chanshark has left #ruby [#ruby]
tanema has quit [Ping timeout: 264 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thelorax123 has joined #ruby
jhn has joined #ruby
phansch has joined #ruby
phipes has joined #ruby
jonahR has quit [Quit: jonahR]
Astralum has joined #ruby
phipes has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
javon has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
jrobeson has quit [Ping timeout: 246 seconds]
nfk has joined #ruby
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby
maletor has joined #ruby
heidi has quit [Quit: Leaving.]
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby
timonv has quit [Ping timeout: 250 seconds]
capicue has joined #ruby
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby
iliketur_ has joined #ruby
_5kg has quit [Read error: Connection reset by peer]
_5kg has joined #ruby
Xeago has joined #ruby
nisstyre has joined #ruby
hiyosi has joined #ruby
wongon has quit [Quit: wongon]
aantix has quit [Quit: aantix]
davy has joined #ruby
dhruvasagar has joined #ruby
<ElasticElephant> what are the best books on rspec
Leighton has quit [Quit: leaving]
<ElasticElephant> that starts at a basic level
hiyosi has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 240 seconds]
dukz has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
phipes has joined #ruby
mansi has joined #ruby
<RubyPanther> ElasticElephant: I think "the" book is The RSpec Book
weems has quit [Ping timeout: 250 seconds]
<RubyPanther> But I'm only going by what others say who care about that stuff
weems has joined #ruby
Lewis has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 264 seconds]
davy has quit [Ping timeout: 272 seconds]
nhhagen has joined #ruby
bluOxigen has joined #ruby
threesome has joined #ruby
dukz has joined #ruby
lukec has quit [Quit: lukec]
sbos99 has quit [Read error: Connection reset by peer]
michael_lee has quit [Excess Flood]
<ElasticElephant> what do ya mean?
nhhagen has quit [Ping timeout: 264 seconds]
jhn has quit [Ping timeout: 246 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
fomatin has quit [Quit: Computer has gone to sleep.]
michael_lee has joined #ruby
asteros has joined #ruby
luckyruby has quit [Remote host closed the connection]
<Jdubs> I'll do what i can
<Jdubs> what's up
pdtpatrick has quit [Remote host closed the connection]
funburn has quit [Quit: funburn]
luckyruby has joined #ruby
pdtpatrick has joined #ruby
capicue has quit [Ping timeout: 272 seconds]
s2013 has joined #ruby
maletor has joined #ruby
vpretzel has joined #ruby
vpretzel has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
asteros has quit [Ping timeout: 272 seconds]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac has quit [Ping timeout: 240 seconds]
kitak_ has joined #ruby
bricker`LA has joined #ruby
Lewis has joined #ruby
kitak has quit [Ping timeout: 245 seconds]
phansch has quit [Quit: Leaving]
kobain_ has quit []
angusiguess has joined #ruby
tanema has joined #ruby
brunto has joined #ruby
louism2wash has joined #ruby
ehc has quit [Quit: ehc]
kevinykchan has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
tanema has quit [Ping timeout: 240 seconds]
rezzack has quit [Ping timeout: 272 seconds]
davy has joined #ruby
s2013 has quit [Ping timeout: 272 seconds]
jbpros has joined #ruby
saarinen has quit [Quit: saarinen]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asteros has joined #ruby
Lewis has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
timonv has joined #ruby
saarinen has joined #ruby
jbpros has quit [Quit: jbpros]
enape_101 has joined #ruby
javon has joined #ruby
shadoi has joined #ruby
shedd has joined #ruby
shedd has quit [Remote host closed the connection]
shedd has joined #ruby
zz_CripperZ is now known as CripperZ
cyong has quit [Quit: Leaving.]
Lewis has joined #ruby
ppppaul has joined #ruby
luckyruby has quit [Quit: Leaving...]
luckyruby has joined #ruby
mengu has joined #ruby
mmcdaris has quit [Quit: mmcdaris]
asteros has quit [Quit: asteros]
rurban has quit [Ping timeout: 246 seconds]
sayan has joined #ruby
Kricir has joined #ruby
dukz_ has joined #ruby
sensen has joined #ruby
Astral_ has joined #ruby
rurban has joined #ruby
Astral__ has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
jacobsmith has quit [Ping timeout: 260 seconds]
Astral_ has quit [Read error: Connection reset by peer]
shadoi has quit [Quit: Leaving.]
dukz has quit [Ping timeout: 245 seconds]
vikhyat has quit [Remote host closed the connection]
hiyosi has joined #ruby
vikhyat has joined #ruby
thumpba has joined #ruby
sergicles has quit [Ping timeout: 260 seconds]
hiyosi has quit [Ping timeout: 260 seconds]
thumpba has quit [Ping timeout: 245 seconds]
mmcdaris has joined #ruby
dukz_ has quit [Read error: Connection reset by peer]
asteros has joined #ruby
asteros has quit [Client Quit]
vikhyat has quit [Remote host closed the connection]
asteros has joined #ruby
aganov has joined #ruby
ayaz_ has joined #ruby
nhhagen has joined #ruby
Jdubs has quit [Remote host closed the connection]
nhhagen_ has joined #ruby
matchaw has quit [Ping timeout: 272 seconds]
dukz has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
javon has quit [Ping timeout: 245 seconds]
cyong has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
apeiros has quit [Read error: Connection reset by peer]
cyong has quit [Client Quit]
apeiros has joined #ruby
mmcdaris has quit [Quit: mmcdaris]
ayaz_ has quit [Quit: leaving]
timonv has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
nomenkun has joined #ruby
kitak_ has quit [Read error: Connection reset by peer]
nomenkun has quit [Remote host closed the connection]
kitak has joined #ruby
nomenkun has joined #ruby
xastion has joined #ruby
sebkomianos has quit []
rushed has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
fragmachine has joined #ruby
ayaz has quit [Quit: leaving]
nomenkun has quit [Ping timeout: 252 seconds]
Kricir has quit [Ping timeout: 245 seconds]
ayaz has joined #ruby
ayaz has quit [Changing host]
ayaz has joined #ruby
Jdubs has joined #ruby
ayaz has quit [Client Quit]
Lewis has quit [Remote host closed the connection]
vikhyat has joined #ruby
angusiguess has joined #ruby
tanema has joined #ruby
Kricir has joined #ruby
fragmachine has quit [Ping timeout: 272 seconds]
RoryHughes has joined #ruby
sensen has quit [Read error: Connection reset by peer]
asteros has quit [Quit: asteros]
ayaz has joined #ruby
ayaz has quit [Changing host]
ayaz has joined #ruby
nhhagen_ has quit [Remote host closed the connection]
nhhagen has joined #ruby
nhhagen has quit [Remote host closed the connection]
klaut has joined #ruby
nhhagen has joined #ruby
pranny has joined #ruby
angusiguess has quit [Ping timeout: 272 seconds]
tanema has quit [Ping timeout: 264 seconds]
RoryHughes has quit [Ping timeout: 260 seconds]
angusiguess has joined #ruby
michael_lee has quit [Read error: Connection reset by peer]
ewnd9 has joined #ruby
michael_lee has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
julweber has joined #ruby
nhhagen has quit [Ping timeout: 250 seconds]
himsin has joined #ruby
Mon_Ouie has quit [Ping timeout: 250 seconds]
Kneferilis has joined #ruby
Kayzon has joined #ruby
ewnd9_ has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
Elhu has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
xastion has quit [Quit: Lost terminal]
xastion has joined #ruby
xastion has quit [Client Quit]
jkhwan has joined #ruby
xastion has joined #ruby
rushed has quit [Ping timeout: 260 seconds]
xastion has quit [Client Quit]
xastion has joined #ruby
xastion has quit [Client Quit]
xastion has joined #ruby
Xeago has joined #ruby
xastion has quit [Client Quit]
vikhyat has quit [Remote host closed the connection]
xastion has joined #ruby
xastion has quit [Client Quit]
xastion has joined #ruby
Xeago has quit [Ping timeout: 246 seconds]
nomenkun has joined #ruby
zeade has quit [Quit: Leaving.]
d45h has joined #ruby
dukz has quit [Read error: Connection reset by peer]
xastion has quit [Client Quit]
thelorax123 has quit [Remote host closed the connection]
xastion has joined #ruby
xastion has quit [Client Quit]
asteros has joined #ruby
jkhwan has quit [Remote host closed the connection]
intuxicated_ has joined #ruby
xastion has joined #ruby
intuxicated_ has quit [Read error: Connection reset by peer]
thelorax123 has joined #ruby
Lewis has joined #ruby
varfoo has quit [Quit: WeeChat 0.4.0]
xastion has quit [Client Quit]
Lewis has quit [Remote host closed the connection]
xastion has joined #ruby
hogeo has quit [Remote host closed the connection]
Lewis has joined #ruby
hiyosi has joined #ruby
andikr has joined #ruby
hogeo has joined #ruby
hogeo has quit [Remote host closed the connection]
Shidash has quit [Quit: Leaving.]
saarinen has quit [Quit: saarinen]
andikr has quit [Remote host closed the connection]
asteros has quit [Quit: asteros]
sayan has quit [Read error: No route to host]
nomenkun has quit [Remote host closed the connection]
vikhyat has joined #ruby
zipper has joined #ruby
xastion has quit [Quit: Lost terminal]
GreatSUN_ has joined #ruby
xastion has joined #ruby
xastion has quit [Client Quit]
<GreatSUN_> rehi and a good morning to all of you
xastion has joined #ruby
xastion has quit [Client Quit]
kevinykchan has quit [Quit: Computer has gone to sleep.]
hiyosi has quit [Ping timeout: 250 seconds]
nhhagen has joined #ruby
mansi has joined #ruby
xastion has joined #ruby
nhhagen_ has joined #ruby
kevinykchan has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
xastion has quit [Client Quit]
nhhagen has quit [Ping timeout: 252 seconds]
luckyruby has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gtsiftsis has joined #ruby
cbetta has joined #ruby
zipper has quit [Read error: Connection reset by peer]
dagobah has joined #ruby
nhhagen_ has quit [Ping timeout: 252 seconds]
ahawkins has joined #ruby
tylersmith has quit [Remote host closed the connection]
mmcdaris has joined #ruby
noyb has joined #ruby
zipper has joined #ruby
cbetta is now known as cbetta_afk
vikhyat has quit [Remote host closed the connection]
olivier_bK has joined #ruby
cbetta_afk is now known as cbetta
tziOm has quit [Read error: Operation timed out]
marcgg has joined #ruby
Dogleaf has joined #ruby
Dogleaf is now known as shiva_inu
tziOm has joined #ruby
emocakes has joined #ruby
CripperZ is now known as N00D
h_kon has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
marcgg_ has quit [Ping timeout: 252 seconds]
mengu has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
jmccune has quit [Ping timeout: 272 seconds]
maroloccio has joined #ruby
louism2wash has quit [Quit: This computer has gone to sleep]
tanema has joined #ruby
hamakn has quit [Ping timeout: 250 seconds]
relix has joined #ruby
hamakn has joined #ruby
h0rrorvacui has quit [Ping timeout: 240 seconds]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
nomenkun has joined #ruby
jbpros has joined #ruby
Catie has quit [Ping timeout: 245 seconds]
kh019267 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tanema has quit [Ping timeout: 272 seconds]
Catie has joined #ruby
angusiguess has joined #ruby
jenskarlsen has quit [Quit: jenskarlsen]
robonerd- is now known as testr0n
testr0n is now known as robonerd
robonerd has quit [Changing host]
robonerd has joined #ruby
amritanshu_RnD has joined #ruby
jenskarlsen has joined #ruby
nomenkun has quit [Ping timeout: 250 seconds]
louism2wash has joined #ruby
Elhu has joined #ruby
<agent_white> < sevenseacat> compare where you're calling
<agent_white> mt :P
<sevenseacat> heh
angusiguess has quit [Ping timeout: 260 seconds]
lsmola has joined #ruby
Elhu has quit [Client Quit]
jbpros has quit [Quit: jbpros]
MrZYX|off is now known as MrZYX
weems has quit [Read error: Connection reset by peer]
dubios has quit [Excess Flood]
dubios has joined #ruby
apeiros has joined #ruby
aganov has quit [Quit: aganov]
pixelgremlins_ba has joined #ruby
ahawkins has quit [Read error: Connection reset by peer]
tobago has joined #ruby
aganov has joined #ruby
ewnd9_ has quit [Read error: Connection reset by peer]
skaflem has joined #ruby
ahawkins has joined #ruby
ehaliewi` has joined #ruby
zer0px has joined #ruby
shime has joined #ruby
fivethre1o has joined #ruby
ewnd9 has joined #ruby
similian1 has joined #ruby
hakunin_ has joined #ruby
kofno_ has joined #ruby
wallerdev_ has joined #ruby
hamakn has quit [Remote host closed the connection]
mlpinit_ has joined #ruby
mmcdaris_ has joined #ruby
ewnd9 has quit [Max SendQ exceeded]
fivethreeo has quit [Ping timeout: 252 seconds]
hamakn has joined #ruby
deavid has joined #ruby
eliasp_ has joined #ruby
weeb1e_ has joined #ruby
ewnd9 has joined #ruby
wereHams1er has joined #ruby
iidot has joined #ruby
iidot has quit [Changing host]
iidot has joined #ruby
patteh_ has joined #ruby
xerxas_ has joined #ruby
andikr has joined #ruby
Cork has quit [Ping timeout: 240 seconds]
klipeto has joined #ruby
tsykodukl has joined #ruby
lancepantz_ has joined #ruby
robwilliamsukio has joined #ruby
atno__ has joined #ruby
udoprog has quit [Ping timeout: 260 seconds]
telling_ has joined #ruby
parus_ has joined #ruby
beardedninja has quit [Ping timeout: 245 seconds]
slash_ni1k has joined #ruby
zzak_ has joined #ruby
peterhel1berg has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
beardedninja has joined #ruby
jericon_ has joined #ruby
Jakee`_ has joined #ruby
Columcil1e has joined #ruby
andywojo_ has joined #ruby
agent_wh1te has joined #ruby
ppppaul has quit [Ping timeout: 245 seconds]
KevinSjoberg_ has joined #ruby
Astral__ has quit [Ping timeout: 264 seconds]
JohnBat26|2 has joined #ruby
dzan_ has joined #ruby
drowl_ has joined #ruby
hamakn has quit [Ping timeout: 240 seconds]
ewnd9 has quit [Remote host closed the connection]
epsylon` has joined #ruby
ewnd9 has joined #ruby
udoprog has joined #ruby
tekmaster has joined #ruby
Astralum has joined #ruby
JStoker_ has joined #ruby
troessner has joined #ruby
ewnd9 has quit [Max SendQ exceeded]
gcds has joined #ruby
zeropx has quit [Read error: Connection reset by peer]
gadgetoid has quit [Ping timeout: 260 seconds]
moeSeth has quit [Ping timeout: 260 seconds]
Jakee` has quit [Ping timeout: 260 seconds]
epsylon has quit [Ping timeout: 260 seconds]
tekacs has quit [Ping timeout: 260 seconds]
wallerdev has quit [Ping timeout: 260 seconds]
similian has quit [Ping timeout: 260 seconds]
KevinSjoberg has quit [Ping timeout: 260 seconds]
lancepantz has quit [Ping timeout: 260 seconds]
soulcake has quit [Ping timeout: 260 seconds]
zz_tsykoduk has quit [Ping timeout: 260 seconds]
wereHamster has quit [Ping timeout: 260 seconds]
dzan has quit [Ping timeout: 260 seconds]
timmow has quit [Ping timeout: 260 seconds]
robwilliamsuk has quit [Ping timeout: 260 seconds]
DrOwl has quit [Ping timeout: 260 seconds]
telling has quit [Ping timeout: 260 seconds]
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
lancepantz_ is now known as lancepantz
ununPentium has quit [Read error: Connection reset by peer]
tekmaster is now known as tekacs
JohnBat26 has quit [Ping timeout: 260 seconds]
mlpinit has quit [Ping timeout: 260 seconds]
xerxas has quit [Ping timeout: 260 seconds]
atno has quit [Ping timeout: 260 seconds]
kofno has quit [Ping timeout: 260 seconds]
andywojo has quit [Ping timeout: 260 seconds]
zzak has quit [Ping timeout: 260 seconds]
klip has quit [Ping timeout: 260 seconds]
Guest28595 has quit [Ping timeout: 260 seconds]
parus has quit [Ping timeout: 260 seconds]
m__s has quit [Ping timeout: 260 seconds]
maxmanders has quit [Ping timeout: 260 seconds]
slash_nick has quit [Ping timeout: 260 seconds]
patteh has quit [Ping timeout: 260 seconds]
JStoker has quit [Ping timeout: 260 seconds]
jericon has quit [Ping timeout: 260 seconds]
mmcdaris has quit [Ping timeout: 260 seconds]
Deele has quit [Ping timeout: 260 seconds]
ehaliewicz has quit [Ping timeout: 260 seconds]
hakunin has quit [Ping timeout: 260 seconds]
jlebrech has quit [Ping timeout: 260 seconds]
eliasp has quit [Ping timeout: 260 seconds]
Caius has quit [Ping timeout: 260 seconds]
awkisopen has quit [Ping timeout: 260 seconds]
deavidsedice has quit [Ping timeout: 260 seconds]
pixelgremlins has quit [Ping timeout: 260 seconds]
MissionCritical has quit [Ping timeout: 260 seconds]
peterhellberg has quit [Ping timeout: 260 seconds]
maxmanders has joined #ruby
agent_white has quit [Remote host closed the connection]
awkisopen has joined #ruby
Columcille has quit [Ping timeout: 260 seconds]
Deele has joined #ruby
ephemerian has joined #ruby
soulcake has joined #ruby
Caius has joined #ruby
unCork has joined #ruby
zer0px is now known as zeropx
maxmanders has joined #ruby
maxmanders has quit [Changing host]
mmcdaris_ is now known as mmcdaris
gadgetoid has joined #ruby
awkisopen has quit [Changing host]
awkisopen has joined #ruby
drowl_ is now known as DrOwl
Jakee`_ is now known as Jakee`
wallerdev_ is now known as wallerdev
ewnd9 has joined #ruby
soulcake has quit [Changing host]
soulcake has joined #ruby
similian1 is now known as similian
timmow has joined #ruby
Caius has quit [Changing host]
Caius has joined #ruby
<gcds> Hello, is it possible to map ruby app method call trace like a function calls b function in b function it calls c and d function and so on ?
<gcds> it's like stack trace
xerxas_ is now known as xerxas
jprovazn has joined #ruby
unCork has quit [Changing host]
unCork has joined #ruby
<gcds> but from start to finish of application
JStoker_ is now known as JStoker
unCork is now known as Cork
ewnd9 has quit [Max SendQ exceeded]
moeSeth_ has joined #ruby
m__s has joined #ruby
ewnd9 has joined #ruby
<MrZYX> gcds: are you looking for calller?
dhruvasagar has joined #ruby
<gcds> MrZYX: not really I would like to see the tree or something similar of all methods called during the script :)
<MrZYX> so a sampler?
<gcds> like a -> b -> c, d-> e -> f ,g ,h , i -> j finished
<gcds> MrZYX: maybe but I dont know how it titled :)
<MrZYX> mmh, the TracePoint API should allow you to do that: http://rubydoc.info/stdlib/core/TracePoint
hogeo has joined #ruby
hiyosi has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
ozgun has joined #ruby
testslave has quit [Ping timeout: 246 seconds]
Kneferilis has quit [Quit: Leaving]
noyb has quit [Ping timeout: 250 seconds]
siera08 has joined #ruby
Kricir has quit [Remote host closed the connection]
Astralum has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
shime has quit [Ping timeout: 245 seconds]
Astralum has joined #ruby
testslave has joined #ruby
Mission-Critical has joined #ruby
ppppaul has joined #ruby
mansi has joined #ruby
aryaching has quit [Ping timeout: 245 seconds]
hiyosi has quit [Ping timeout: 264 seconds]
alup has joined #ruby
nhhagen has joined #ruby
dangerousdave has joined #ruby
davy has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 265 seconds]
claymore has joined #ruby
<Hanmac1> shevy: http://xkcd.com/1296/ << "git commit"
nhhagen has quit [Ping timeout: 246 seconds]
Kneferilis has joined #ruby
gyre007 has joined #ruby
Steve__ has joined #ruby
jbpros has joined #ruby
tesuji has joined #ruby
shedd has quit [Remote host closed the connection]
gyre007 has quit [Remote host closed the connection]
Mission-Critical is now known as MissionCritical
ewnd9 has quit [Ping timeout: 246 seconds]
camilasan has joined #ruby
hiall has joined #ruby
canton7-mac has joined #ruby
hogeo has quit [Remote host closed the connection]
gyre007 has joined #ruby
hogeo has joined #ruby
siera08 has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
klaut has quit [Remote host closed the connection]
kevinykchan has quit [Quit: Computer has gone to sleep.]
jhaals has joined #ruby
Jdubs has quit [Remote host closed the connection]
tylersmith has joined #ruby
jhaals_ has joined #ruby
jbpros has quit [Quit: jbpros]
Kneferilis has quit [Read error: Connection reset by peer]
newbiehacker has joined #ruby
gcds has quit [Quit: gcds]
Kneferilis has joined #ruby
charliesome has joined #ruby
Kneferilis has quit [Read error: Connection reset by peer]
Elhu has joined #ruby
roolo has joined #ruby
zipper_ has joined #ruby
Kneferilis has joined #ruby
Kneferilis has quit [Read error: Connection reset by peer]
mercwithamouth has quit [Ping timeout: 240 seconds]
jhaals has quit [Ping timeout: 272 seconds]
zipper has quit [Ping timeout: 246 seconds]
Kneferilis has joined #ruby
hogeo has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
eka has joined #ruby
tylersmith has quit [Ping timeout: 265 seconds]
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
sevenseacat has quit [Quit: Leaving.]
pranny1 has joined #ruby
zzak_ is now known as zzak
matchaw has joined #ruby
timonv has joined #ruby
tanema has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
sensen has joined #ruby
d45h has quit []
hogeo has joined #ruby
phansch has joined #ruby
gcds has joined #ruby
Kricir has joined #ruby
pranny has quit [Ping timeout: 240 seconds]
nomenkun has joined #ruby
pranny has joined #ruby
nari has quit [Ping timeout: 264 seconds]
louism2wash has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Ping timeout: 250 seconds]
tanema has quit [Ping timeout: 260 seconds]
<shevy> hehe
pranny1 has quit [Ping timeout: 246 seconds]
angusiguess has joined #ruby
sensen has quit [Ping timeout: 245 seconds]
enape_101 has quit [Ping timeout: 250 seconds]
nvrch has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
olivier_bK has quit [Ping timeout: 252 seconds]
Jdubs has joined #ruby
nomenkun has quit [Ping timeout: 264 seconds]
hiall has quit [Quit: hiall]
hogeo has quit [Remote host closed the connection]
N00D is now known as zz_N00D
decoponio has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
hogeo has joined #ruby
Loaft has quit []
zombiebit has joined #ruby
skaflem is now known as thomas
G1eb has left #ruby [#ruby]
ehaliewi` has quit [Ping timeout: 264 seconds]
thomas is now known as Guest77165
Guest77165 is now known as skaflem
shedd has joined #ruby
akonny has joined #ruby
shime has joined #ruby
browndawg has quit [Ping timeout: 260 seconds]
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
shedd has quit [Ping timeout: 246 seconds]
julweber has quit [Remote host closed the connection]
sensen__ has joined #ruby
phipes has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
wallerdev has quit [Quit: wallerdev]
sensen__ has quit [Client Quit]
drumusician has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
klaut has joined #ruby
pranny has quit [Quit: Leaving.]
Al__ has joined #ruby
zipper_ has quit [Ping timeout: 264 seconds]
TMM has joined #ruby
browndawg has joined #ruby
hiyosi has joined #ruby
yfeldblum has joined #ruby
blackmesa has joined #ruby
popl has joined #ruby
popl has joined #ruby
pranny has joined #ruby
hamakn has quit [Remote host closed the connection]
p4d4w4n has joined #ruby
hamakn has joined #ruby
mansi has joined #ruby
hiyosi has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 260 seconds]
casheew_ has joined #ruby
Kneferilis has quit [Quit: Leaving]
Hobogrammer_ has quit [Write error: Connection reset by peer]
BraddPitt has quit [Read error: Connection reset by peer]
casheew has quit [Read error: Connection reset by peer]
devdazed has quit [Read error: Connection reset by peer]
Kricir has quit [Ping timeout: 260 seconds]
fella6s has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
tonni has quit [Read error: Connection reset by peer]
Hobogrammer_ has joined #ruby
BraddPitt has joined #ruby
fella6s has joined #ruby
devdazed has joined #ruby
tonni has joined #ruby
shiva_inu has quit [Ping timeout: 245 seconds]
hamakn has quit [Ping timeout: 264 seconds]
Kneferilis has joined #ruby
mansi has quit [Ping timeout: 260 seconds]
mojjojo has joined #ruby
zipper has joined #ruby
movedx has quit [Read error: Connection reset by peer]
polaco_zZz has quit [Read error: Connection reset by peer]
chiel has quit [Write error: Connection reset by peer]
Bry8Star{T2 has quit [Remote host closed the connection]
davidcelis has quit [Read error: Connection reset by peer]
DanBoy has quit [Remote host closed the connection]
awarner has quit [Write error: Connection reset by peer]
kryptek has quit [Write error: Connection reset by peer]
resno has quit [Write error: Connection reset by peer]
fcoury has quit [Write error: Connection reset by peer]
Mohan__ has quit [Write error: Connection reset by peer]
magbeat has quit [Write error: Connection reset by peer]
adamholt has quit [Write error: Connection reset by peer]
simplon has quit [Write error: Connection reset by peer]
_HolyCow has quit [Write error: Connection reset by peer]
eval-in has quit [Write error: Connection reset by peer]
conor_ has quit [Write error: Connection reset by peer]
huttan has quit [Write error: Connection reset by peer]
wudofyr has quit [Write error: Connection reset by peer]
framling has quit [Write error: Connection reset by peer]
jcarouth has quit [Write error: Connection reset by peer]
jcarouth` has joined #ruby
magbeat_ has joined #ruby
eval-in_ has joined #ruby
fcoury_ has joined #ruby
framling has joined #ruby
chiel has joined #ruby
Mohan__ has joined #ruby
movedx has joined #ruby
conor_ has joined #ruby
simplon has joined #ruby
davidcelis has joined #ruby
resno has joined #ruby
huttan has joined #ruby
fcoury_ is now known as fcoury
tesuji has quit [Excess Flood]
resno has joined #ruby
resno has quit [Changing host]
davidcelis has quit [Changing host]
davidcelis has joined #ruby
wudofyr has joined #ruby
awarner has joined #ruby
timonv has quit [Remote host closed the connection]
polaco_zZz has joined #ruby
_HolyCow has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
adamholt has joined #ruby
hamakn has joined #ruby
Brando753 has quit [Read error: Connection reset by peer]
tesuji has joined #ruby
Brando753 has joined #ruby
Bry8Star{T2 has joined #ruby
shedd has joined #ruby
mengu has quit [Remote host closed the connection]
Kayzon has quit [Ping timeout: 250 seconds]
Nogbit has quit [Ping timeout: 240 seconds]
newbiehacker has quit [Read error: Connection reset by peer]
ahawkins has quit [Read error: Operation timed out]
shedd has quit [Ping timeout: 241 seconds]
newbiehacker has joined #ruby
zombiebit has quit [Remote host closed the connection]
einarj has joined #ruby
emocakes has quit [Quit: Linkinus - http://linkinus.com]
zombiebit has joined #ruby
ahawkins has joined #ruby
hogeo has quit [Remote host closed the connection]
<TTilus> gcds: run your script with cpu profiling and get a calltree, thats prolly what you are looking for
<gcds> TTilus: I have found a solution using ruby-prof
Asher has quit [Ping timeout: 250 seconds]
<gcds> it outputs call tree
<TTilus> it is a profiler :)
charliesome has joined #ruby
<gcds> http://cl.ly/image/310C3i3W1003 This is how nice it outputs :)
jonathanwallace has quit [Quit: WeeChat 0.4.1]
shredding has joined #ruby
<TTilus> you might also want to check perftools.rb (iirc) which has really nice formatters and sampling that adds almost no overhead at all
marr has joined #ruby
<TTilus> perftools callgraphs are imo really helpfull in giving insight on how the program performs
zombiebit has quit []
tjad has joined #ruby
tesuji has quit [Ping timeout: 272 seconds]
tjad is now known as tjadc
tanema has joined #ruby
jibi has joined #ruby
jhaals_ is now known as jhaals
jokke1 has joined #ruby
mk_qi has quit [Quit: mk_qi]
tanema has quit [Ping timeout: 272 seconds]
<mikecmpbll> >> "!yadirf".reverse
<eval-in_> mikecmpbll => "friday!" (https://eval.in/76727)
angusiguess has joined #ruby
dhruvasagar has quit [Ping timeout: 250 seconds]
dhruvasagar has joined #ruby
timonv has joined #ruby
xk_id has joined #ruby
Zai00 has joined #ruby
Lewis has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ewnd9 has joined #ruby
VTLob has joined #ruby
ppppaul has quit [Read error: No route to host]
angusiguess has quit [Ping timeout: 265 seconds]
ahawkins has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
hogeo has joined #ruby
Asher has joined #ruby
shedd has joined #ruby
ahawkins has joined #ruby
gcds has quit [Quit: gcds]
sensen has joined #ruby
shedd has quit [Ping timeout: 240 seconds]
Al__ has quit [Quit: Al__]
hogeo has quit [Remote host closed the connection]
OdNairy has joined #ruby
nari has joined #ruby
hogeo has joined #ruby
Kayzon has joined #ruby
Kayzon is now known as Guest97462
allsystemsarego has joined #ruby
zipper has quit [Ping timeout: 260 seconds]
hogeo has quit [Remote host closed the connection]
himsin has quit [Quit: himsin]
gcds has joined #ruby
aasirc has joined #ruby
shime has quit [Ping timeout: 260 seconds]
Jdubs has quit [Read error: Connection reset by peer]
Jdubs_ has joined #ruby
ahawkins has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 260 seconds]
kizzx2 has quit [Quit: Leaving.]
nomenkun has joined #ruby
hiyosi has joined #ruby
eka has joined #ruby
drumusician has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
Kricir has joined #ruby
ewnd9 has quit [Ping timeout: 272 seconds]
hogeo has joined #ruby
zipper has joined #ruby
ahawkins has joined #ruby
mlpinit_ has quit [Quit: Leaving...]
yjmsf20 has joined #ruby
mansi has joined #ruby
sepp2k has joined #ruby
nomenkun has quit [Ping timeout: 272 seconds]
hiyosi has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
marcgg_ has joined #ruby
hogeo has quit [Remote host closed the connection]
nhhagen has joined #ruby
hiall has joined #ruby
mlpinit has joined #ruby
timonv has quit [Read error: Connection reset by peer]
zipper has quit [Ping timeout: 260 seconds]
matheuscaceres has joined #ruby
zeeraw has joined #ruby
timonv has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
eka has quit [Quit: Computer has gone to sleep.]
marcgg has quit [Ping timeout: 272 seconds]
nhhagen has quit [Ping timeout: 246 seconds]
Lewis has joined #ruby
timonv has quit [Remote host closed the connection]
telling_ is now known as telling
telling has quit [Changing host]
telling has joined #ruby
amoli has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
ewnd9 has joined #ruby
shedd has joined #ruby
shime has joined #ruby
nomadic has quit [Ping timeout: 246 seconds]
awestroke has joined #ruby
nomadic has joined #ruby
julweber has joined #ruby
tonni has quit [Quit: Leaving...]
falood has quit [Remote host closed the connection]
tonni has joined #ruby
falood has joined #ruby
Steve__ has quit [Ping timeout: 260 seconds]
Lewis has quit [Ping timeout: 264 seconds]
almarshall has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
timonv has joined #ruby
shedd has quit [Ping timeout: 272 seconds]
hogeo has joined #ruby
funburn has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
falood has quit [Ping timeout: 240 seconds]
soba has quit [Ping timeout: 241 seconds]
funburn has quit [Client Quit]
psyprus has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Fire-Dragon-DoL has joined #ruby
ayumin has joined #ruby
hogeo has quit [Remote host closed the connection]
psyprus has quit [Ping timeout: 240 seconds]
Speed has joined #ruby
hogeo has joined #ruby
matchaw has quit [Quit: No Ping reply in 180 seconds.]
matchaw has joined #ruby
sleetdrop has joined #ruby
tanema has joined #ruby
_amir has joined #ruby
d45h has joined #ruby
tesuji has joined #ruby
tkuchiki has quit [Remote host closed the connection]
petey has quit [Remote host closed the connection]
petey has joined #ruby
A124 has joined #ruby
Kricir has quit [Ping timeout: 272 seconds]
guiguidoc has quit [Remote host closed the connection]
tanema has quit [Ping timeout: 264 seconds]
psyprus has joined #ruby
angusiguess has joined #ruby
heftig has joined #ruby
petey has quit [Ping timeout: 246 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
shredding has quit [Read error: Operation timed out]
Xeago has joined #ruby
zipper has joined #ruby
shredding has joined #ruby
matheuscaceres has joined #ruby
isec has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 272 seconds]
andikr has quit [Quit: No Ping reply in 180 seconds.]
luckyruby has joined #ruby
andikr has joined #ruby
psyprus has joined #ruby
atno__ is now known as atno
shredding has quit [Client Quit]
cbetta is now known as cbetta_afk
camilasan has quit [Remote host closed the connection]
Lewis has joined #ruby
Fire-Dragon-DoL has left #ruby [#ruby]
zipper has quit [Remote host closed the connection]
zipper has joined #ruby
himsin has joined #ruby
Kricir has joined #ruby
Fire-Dragon-DoL has joined #ruby
lucazi has joined #ruby
lucazi has quit [Client Quit]
sayan has joined #ruby
isec has quit [Quit: Computer has gone to sleep.]
luckyruby has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
autumn has quit [Ping timeout: 252 seconds]
psyprus has quit [Ping timeout: 240 seconds]
blo has quit [Ping timeout: 240 seconds]
Kricir has quit [Ping timeout: 272 seconds]
ewnd9 has joined #ruby
jlebrech has joined #ruby
autumn has joined #ruby
blo has joined #ruby
browndawg has quit [Ping timeout: 264 seconds]
Lewis has quit [Ping timeout: 265 seconds]
movedx has quit [Changing host]
movedx has joined #ruby
<movedx> >> "yay".reverse
<eval-in_> movedx => "yay" (https://eval.in/76732)
<movedx> :D
nomenkun has joined #ruby
_serial_ has joined #ruby
g0bl1n has joined #ruby
Al__ has joined #ruby
siwica has quit [Read error: Connection reset by peer]
colonolGron has joined #ruby
hiyosi has joined #ruby
<DouweM> >> class String; def palindrome?; self == self.reverse; end; end; "yay".palindrome?
<eval-in_> DouweM => true (https://eval.in/76733)
_serial_ has quit [Quit: Ex-Chat]
Xeago has quit [Remote host closed the connection]
yfeldblum has joined #ruby
Xeago has joined #ruby
psyprus has joined #ruby
siwica has joined #ruby
camilasan has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mansi has joined #ruby
ph8 has quit [Ping timeout: 260 seconds]
postmodern has quit [Quit: Leaving]
zeeraw has joined #ruby
hiyosi has quit [Ping timeout: 272 seconds]
Xeago has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
nhhagen has joined #ruby
xk_id has quit [Quit:
tanema has joined #ruby
xk_id has joined #ruby
mansi has quit [Ping timeout: 250 seconds]
psyprus has quit [Ping timeout: 240 seconds]
nhhagen has quit [Ping timeout: 252 seconds]
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
xk_id has quit [Client Quit]
aasirc has quit [Quit: Textual IRC Client: www.textualapp.com]
sensen has quit [Quit: leaving]
nari has joined #ruby
includex has joined #ruby
ph8 has joined #ruby
mikecmpbll has joined #ruby
maasha has joined #ruby
shedd has joined #ruby
ewnd9 has quit [Ping timeout: 264 seconds]
psyprus has joined #ruby
sevenseacat has joined #ruby
vikhyat has joined #ruby
g0bl1n has quit [Read error: Operation timed out]
xcv has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has joined #ruby
agjacome has joined #ruby
shedd has quit [Ping timeout: 272 seconds]
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
psyprus has quit [Ping timeout: 240 seconds]
thumpba has joined #ruby
Elhu has joined #ruby
vikhyat has quit [Ping timeout: 264 seconds]
cusco has joined #ruby
<cusco> hi folks
maasha is now known as folks
<folks> cusco: hi cusco
<cusco> I'm having troubles with a ruby on rails app: undefined method `fallbacks' for I18n:Module
folks is now known as maasha
gyre007 has quit [Read error: Operation timed out]
<cusco> am I missing something?
maasha is now known as something
thumpba has quit [Ping timeout: 264 seconds]
<something> maybe
something is now known as maasha
<cusco> :/
<Hanmac1> cusco: #rubyonrails
psyprus has joined #ruby
emocakes has joined #ruby
<cusco> thank you Hanmac1
<TTilus> cusco: dunno about that particular error, id guess you miss a dependency, tried the mentioned #rubyonrails, googling and so?
<cusco> I've been googling for about 1h lol
<cusco> thanks TTilus
jonathanwallace has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
lkba has quit [Ping timeout: 250 seconds]
Kneferilis has quit [Ping timeout: 245 seconds]
psyl0n has joined #ruby
jibi has quit [Quit: .]
gyre007 has joined #ruby
angusiguess has joined #ruby
shredding has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
thumpba has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
amedeiros has joined #ruby
amedeiros is now known as Guest96229
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 260 seconds]
greenrose has quit []
m8 has joined #ruby
Speed has left #ruby ["WeeChat 0.4.2"]
blackmesa has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
Xeago has joined #ruby
heftig has quit [Quit: Quitting]
heftig has joined #ruby
<maasha> were is workmad3? I need sanity check :o/
pranny has quit [Quit: Leaving.]
<sevenseacat> probably hiding from you.
Astralum has quit [Read error: Connection reset by peer]
<Hanmac1> maasha: check failed
Astralum has joined #ruby
Hanmac1 is now known as Hanmac
shedd has joined #ruby
greenrose has joined #ruby
<maasha> damn :o) - then you will have to cover while he is undercover
Kricir has joined #ruby
goshakkk has joined #ruby
DouweM has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
thumpba has quit [Ping timeout: 264 seconds]
Guest96229 is now known as amedeiros
<maasha> So the idea is to imitate a unix pipe environment in ruby: https://gist.github.com/maasha/7e43691ea43ac098c33c
itamaryu has joined #ruby
ringaroses has joined #ruby
mercwithamouth has quit [Ping timeout: 250 seconds]
<maasha> processing records (i.e. lines) one by one in a memory efficient manner.
ringaroses has quit [Read error: Connection reset by peer]
hogeo has quit [Remote host closed the connection]
Beoran__ has joined #ruby
liamkeily has joined #ruby
shedd has quit [Ping timeout: 250 seconds]
hogeo has joined #ruby
Hanmac1 has joined #ruby
Beoran_ has quit [Ping timeout: 264 seconds]
jamesaanderson has joined #ruby
ahawkins has quit [Quit: leaving]
Hanmac has quit [Ping timeout: 252 seconds]
Czupa has joined #ruby
thumpba has joined #ruby
casheew_ has quit [Read error: Connection reset by peer]
casheew has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
ahawkins has joined #ruby
ahawkins has quit [Client Quit]
ahawkins has joined #ruby
p4d4w4n has joined #ruby
hogeo has quit [Remote host closed the connection]
ahawkins has quit [Client Quit]
nateberkopec has joined #ruby
mboyd has joined #ruby
hiyosi has joined #ruby
ahawkins has joined #ruby
jkamenik has joined #ruby
thumpba has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
julweber has quit [Remote host closed the connection]
bkparso has joined #ruby
coder_neo has joined #ruby
yalue has joined #ruby
mansi_ has joined #ruby
davy has joined #ruby
hiyosi has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 260 seconds]
jbpros has joined #ruby
nhhagen has joined #ruby
popl has quit [Quit: And then there are people who prefer to look their fate in the eye.]
mansi_ has quit [Ping timeout: 272 seconds]
zipper has quit [Read error: Operation timed out]
davy has quit [Ping timeout: 264 seconds]
julweber has joined #ruby
zipper has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
nhhagen has quit [Ping timeout: 252 seconds]
Kneferilis has joined #ruby
Thanatermesis has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
spacemud has quit [Quit: ZNC - http://znc.in]
maasha has quit [Ping timeout: 250 seconds]
browndawg has quit [Quit: Leaving.]
spacemud has joined #ruby
hamakn has quit [Remote host closed the connection]
phansch has quit [Remote host closed the connection]
Jdubs_ has quit [Remote host closed the connection]
shedd has joined #ruby
hamakn has joined #ruby
Czupa has quit [Remote host closed the connection]
hamakn has quit [Read error: Connection reset by peer]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hamakn has joined #ruby
Xeago has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
Kricir has quit [Ping timeout: 246 seconds]
Lewis has joined #ruby
Lewis has quit [Read error: Connection reset by peer]
Jetchisel has quit [Remote host closed the connection]
shedd has quit [Ping timeout: 246 seconds]
siwica has quit [Ping timeout: 240 seconds]
matheuscaceres has joined #ruby
angusiguess has joined #ruby
binaryplease has joined #ruby
lkba has joined #ruby
Xeago has quit [Ping timeout: 252 seconds]
Yuyo has joined #ruby
siwica has joined #ruby
mr`spock has quit [Ping timeout: 246 seconds]
jerius has joined #ruby
himsin has quit [Quit: himsin]
jamesaanderson has joined #ruby
zipper has quit [Ping timeout: 245 seconds]
avril14th has quit [Remote host closed the connection]
<Yuyo> hello, i'm trying to use the inline rescue, like this: https://gist.github.com/gfaraj/7823518
<Yuyo> but of course, that just puts bar and baz inside the rescue block
<sevenseacat> well what are you rescuing with
<Yuyo> i dont want to do anything when the exception rescued
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
testslave has quit [Ping timeout: 240 seconds]
jerius has quit [Ping timeout: 260 seconds]
<shevy> you want to catch/throw?
<shevy> or begin/rescue
<shevy> for being/rescue, you can also use ensure
niklasb has joined #ruby
<shevy> dunno about catch/throw to specifically continue at other points, it always reminded me of goto so I did not use it
geggam has joined #ruby
zipper has joined #ruby
nowthatsamatt has joined #ruby
<Yuyo> hmmm, i found something online, this_throws rescue nil
<Yuyo> gonna try that
aantix has joined #ruby
mansi_ has joined #ruby
<cout> shevy: it's more like setjmp/longjmp than goto
<cout> (and in fact it's implemented as setjmp/longjmp under the hood)
danshultz has joined #ruby
Yan__ has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
petey has joined #ruby
bluenemo has joined #ruby
tobago has quit [Read error: Operation timed out]
joonty_ has joined #ruby
breakingthings has joined #ruby
testslave has joined #ruby
braoru has quit [Remote host closed the connection]
Guedes has joined #ruby
joonty has quit [Ping timeout: 240 seconds]
petey has quit [Ping timeout: 241 seconds]
jcarouth` is now known as jcarouth
jamesaanderson has joined #ruby
jonathanwallace has quit [Ping timeout: 240 seconds]
mansi_ has quit [Remote host closed the connection]
mansi_ has joined #ruby
bauerbob has joined #ruby
sergicles has joined #ruby
mansi_ has quit [Ping timeout: 264 seconds]
sayan has joined #ruby
kcombs has quit [Remote host closed the connection]
ArchBeOS-work has joined #ruby
Guedes has left #ruby ["Saindo"]
einarj has quit []
Hanmac has joined #ruby
cbetta_afk is now known as cbetta
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mark_locklear has joined #ruby
threesome has quit [Ping timeout: 240 seconds]
Hanmac1 has quit [Ping timeout: 245 seconds]
shedd has joined #ruby
phantummm has joined #ruby
tobago has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
RaCx has joined #ruby
Lewis has joined #ruby
shedd has quit [Ping timeout: 260 seconds]
Azure has joined #ruby
mmcdaris has quit [Quit: mmcdaris]
xk_id has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
xjiujiu has joined #ruby
Lewis has quit [Ping timeout: 240 seconds]
zeeraw has joined #ruby
whysosad has joined #ruby
danshultz has joined #ruby
json has joined #ruby
json is now known as Guest13945
geggam has quit [Remote host closed the connection]
pranny has joined #ruby
Guest13945 is now known as whysoserious
atmosx has joined #ruby
whysoserious is now known as jsonwhite
pranny has quit [Client Quit]
geggam has joined #ruby
sergicles has quit [Quit: sergicles]
<jsonwhite> quick question, what does the '<' mean in "class IdeaBoxApp < Sinatra::Base"
haukur has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
<atmosx> jsonwhite: inherints methods of Sinatra::Base
<jsonwhite> ah thank you thank you
<atmosx> jsonwhite: it's subclassing IdeaBoxApp to Sinatra::base
p4d4w4n has joined #ruby
<atmosx> fast prototyping with sinatra awesomness
Elhu has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
browndawg has joined #ruby
p4d4w4n has quit [Client Quit]
hamakn has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
jsonwhite has quit [Quit: Leaving]
danshultz has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
isec has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hamakn has joined #ruby
shredding has quit [Ping timeout: 240 seconds]
vikhyat has joined #ruby
nhhagen has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
phil_b has joined #ruby
stringoO has joined #ruby
camilasan has quit [Remote host closed the connection]
zipper has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
amedeiro1 has joined #ruby
larissa has joined #ruby
zipper has joined #ruby
phansch has joined #ruby
ArchBeOS-work is now known as GolfWang
amedeiros has quit [Ping timeout: 260 seconds]
ayumin has quit [Remote host closed the connection]
rjhunter has quit [Remote host closed the connection]
tanema has quit [Remote host closed the connection]
RaCx_ has joined #ruby
RaCx has quit [Ping timeout: 246 seconds]
RaCx_ is now known as RaCx
IceDragon has joined #ruby
vpretzel has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
krawchyk has joined #ruby
<shevy> quick question
<shevy> what does '>' mean in "class Foo > Bar"
<IceDragon> O:
<IceDragon> does that work?
AlSquire has joined #ruby
<justinxreese> shevy: Foo inherits from Bar
<IceDragon> shevy: Its inheritance comparison!
<shevy> IceDragon hehe
<tobiasvl> i don't think so…
<IceDragon> it is
<IceDragon> class Something < Object
<IceDragon> :P Inherit from Object
<shevy> IceDragon I think the parser screams when it sees class
<ddd> you can compare inheritences?
<tobiasvl> >> class String > Foo; end
wildroman2 has joined #ruby
<eval-in_> tobiasvl => /tmp/execpad-10ddfd106db2/source-10ddfd106db2:2: syntax error, unexpected '>', expecting '<' or ';' or '\n' ... (https://eval.in/76741)
<shevy> I once had this:
<ddd> yeah thats < not >
<IceDragon> exactomo
<shevy> def foo(i = 'bla', class = 'lala')
<shevy> and ruby did not like that
<shevy> :(
lucazi has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
choobie has left #ruby [#ruby]
<shevy> yeah that is '<'
<IceDragon> shevy: use klass for variable names
<shevy> that is german!
mmcdaris has joined #ruby
<tobiasvl> EIGENKLASS
<IceDragon> O_O GET USED TO IT
<shevy> lol
<IceDragon> >> Integer > Numeric
<eval-in_> IceDragon => false (https://eval.in/76742)
Hanmac1 has joined #ruby
<IceDragon> >> Integer < Numeric
<eval-in_> IceDragon => true (https://eval.in/76743)
<IceDragon> >> Integer <=> Numeric
<shevy> It's like the word kindergarten... it hits me when I read it...
<eval-in_> IceDragon => -1 (https://eval.in/76744)
<IceDragon> cindergarten
Kricir has joined #ruby
<roolo> Let's say i have guard script and i want to run code which require stuff from another bundler context. How can i do that?
virtualize has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
shedd has joined #ruby
hamakn has quit [Remote host closed the connection]
zeeraw has joined #ruby
hamakn has joined #ruby
eka has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
clamstar has joined #ruby
Kricir has joined #ruby
Lewis has joined #ruby
shedd has quit [Ping timeout: 264 seconds]
hamakn has quit [Ping timeout: 250 seconds]
RaCx has quit [Ping timeout: 240 seconds]
Sawbones has joined #ruby
akonny has quit [Quit: akonny]
tkuchiki has joined #ruby
cescalante is now known as ce_afk
Lewis has quit [Ping timeout: 264 seconds]
<Sawbones> Hey everyone, I was curious how you install gem's for your project
<IceDragon> Bundler ?
<intuxicated> bundler
<Sawbones> You don't use RVM?
<Sawbones> Sorry I'm very new
RaCx has joined #ruby
Bish_ is now known as Bish
ffranz has joined #ruby
shredding has joined #ruby
nomenkun has quit [Remote host closed the connection]
<intuxicated> rbenv here
<MrZYX> ruby version manager war in 3... 2... 1...
<intuxicated> lol
lucazi has quit [Ping timeout: 250 seconds]
nomenkun has joined #ruby
sayan has quit [Ping timeout: 264 seconds]
<MrZYX> Sawbones: bundler is for managing gems per project, RVM/Rbenv/chruby/your package manager is for managing rubies per system
shime has quit [Ping timeout: 260 seconds]
jbpros has quit [Quit: jbpros]
mikecmpbll has joined #ruby
nomenkun has quit [Read error: Operation timed out]
olivier_bK has joined #ruby
jonathanwallace has joined #ruby
lucazi has joined #ruby
mwillhite has joined #ruby
<olivier_bK> hy
pringlescan has joined #ruby
tylershipe has joined #ruby
<shevy> no version manager
jerius has joined #ruby
<shevy> the filesystem must be the version manager
<shevy> and then a simple symlink points to the currently in-use version of any given program
mengu has quit [Remote host closed the connection]
Astralum has quit [Ping timeout: 272 seconds]
<roolo> Sawbones: If you use bundler, you can do bundle install your-dir-in-project
<shevy> Sawbones I usually use "gem install foo", then archive any new .gem into my local gem collection so I can reinstall easily even offline
phantummm has quit [Quit: phantummm]
siwica has quit [Ping timeout: 240 seconds]
siwica has joined #ruby
ayumin has joined #ruby
mansi_ has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
kh019267 has joined #ruby
kh019267 has quit [Client Quit]
lfox has joined #ruby
flops has joined #ruby
ayumin has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
emocakes has quit [Quit: Linkinus - http://linkinus.com]
ppppaul has joined #ruby
binaryplease has quit [Ping timeout: 264 seconds]
mansi_ has quit [Ping timeout: 241 seconds]
VTLob has quit [Quit: VTLob]
clevermatt has joined #ruby
CorySimmons has joined #ruby
michaellynch has joined #ruby
Yan__ has quit [Ping timeout: 260 seconds]
<CorySimmons> canton7: Good morning. I've been using WrappedObject. What is record supposed to do? It seems like it should do the same thing as reassigning foo, but it doesn't seem to work that way.
lukec has joined #ruby
matheuscaceres has joined #ruby
tanema has joined #ruby
shedd has joined #ruby
Megtastique has joined #ruby
<canton7> CorySimmons, the example should explain that. So if you do 'foo.test', that won't be recorded. But if you do 'foo.test \n foo.record', then the call to 'foo.test' *will* be recorded
<CorySimmons> Also it seems if you use the to_s thing before you log, it breaks your wrapped object.
<canton7> I haven't tested it much, though, so it might do something different entirely
<CorySimmons> So record records the next line, not the previous one?
<canton7> "the to_s thing"?
<canton7> 'record' records the previous line
<CorySimmons> record doesn't seem to record the previous line. :\
<CorySimmons> def to_s; @child.to_s; end
<CorySimmons> ^ that to_s
Lewis has joined #ruby
<canton7> works here: https://eval.in/76746
<canton7> and what exactly do you mean by "use the to_s thing"?
<canton7> calling to_s? That shouldn't break anything
siwica has quit [Read error: Operation timed out]
shedd has quit [Ping timeout: 240 seconds]
Megtastique has quit [Client Quit]
_maes_ has joined #ruby
Kricir has quit [Ping timeout: 260 seconds]
devdazed has quit [Quit: Bye]
jonathanwallace has quit [Ping timeout: 260 seconds]
<CorySimmons> http://i.imgur.com/FHsJTIE.png maybe I shouldn't be wrapping foo with YAML.load?
<CorySimmons> That probably breaks it on my end
<CorySimmons> So far as the record thing, it seems like record should just do reassignment as well.
<canton7-mac> yeah. to_s returns a string representing the object. You're never, ever going to keep any sort of state through that
<CorySimmons> So instead of having to type foo = foo.reverse, you just type foo.revese ("Oh! That's what I wanted!") foo.record
devdazed has joined #ruby
<canton7-mac> that's what it currently does
<canton7-mac> oh, no
cbetta has left #ruby ["Textual IRC Client: www.textualapp.com"]
aasirc has joined #ruby
<canton7-mac> if foo.reverse returns a value, I'm not going to magically turn it into a mutating method
gcds has quit [Quit: gcds]
<canton7-mac> that's horrible
siwica has joined #ruby
sambao21 has joined #ruby
yfeldblum has joined #ruby
<CorySimmons> I mean, I'd expect it to take the last line and do reassignment
momomomomo has joined #ruby
<canton7-mac> yeah, I see your confusion
Lewis has quit [Ping timeout: 272 seconds]
<canton7-mac> the problem is that I can't tell the difference between a mutating and non-mutating method
<canton7-mac> I would say that 'foo.record' is a very rare case, where you want to record the fact that you called a mutating method
gcds has joined #ruby
<CorySimmons> Ok np
<CorySimmons> I kinda see what you're doing with it anyway
<canton7-mac> if you want to change that behaviour, go ahead :) But I think trying to guess the behaviour of an equivalent mutating method is silly and error-prone :P
<CorySimmons> Yeah I think you're right
<canton7-mac> yeah, it's just if you call a mutating method like #upcase!, and want to record that fact
<CorySimmons> Yup
Spleeze has quit [Quit: QUIT]
<CorySimmons> Ok, so the record thing is fine
xjiujiu has quit [Ping timeout: 260 seconds]
<momomomomo> exclamation marks boyeee
<CorySimmons> XD
<momomomomo> they denote mutation
<momomomomo> or mutability
<canton7-mac> momomomomo, you're missing the context :)
<CorySimmons> How would you suggest I get this "YAML.load(foo.to_s)['client_name']" to work?
<momomomomo> canton7-mac: best I can do is jump in
Spleeze has joined #ruby
<momomomomo> haha
almarshall has quit [Quit: almarshall]
<canton7-mac> CorySimmons, what are you trying to do?
<canton7-mac> you're passing a string to YAML.load. that string isn't going to have any methods called on it. there's no point in wrapping it
jchristi has joined #ruby
<CorySimmons> It does have stuff on it beforehand
isec has quit [Read error: Connection reset by peer]
amoli has quit [Ping timeout: 250 seconds]
<canton7-mac> I'm afraid I can't modify every method on every object ever to suddenly accept wrapped objects
<canton7-mac> if you pass a wrapped object to another method, you're going to lose that log
hiyosi has joined #ruby
mando has joined #ruby
gyre007 has quit [Remote host closed the connection]
<canton7-mac> (well, it might hang around, as long as you've still got a reference to it, but it won't start wrapping the thing you pass it to, or anything like that)
pu22l3r has joined #ruby
kobain has joined #ruby
<canton7-mac> Though I could make #to_s return a wrapped string..... No idea how sensible that is. I'm not keen on it
flippeen has joined #ruby
heftig_ has joined #ruby
sailias has joined #ruby
valesk has quit [Remote host closed the connection]
heftig has quit [Ping timeout: 246 seconds]
flippeen has quit [Remote host closed the connection]
iamjarvo_ has joined #ruby
kpshek has joined #ruby
tjadc has quit [Read error: Operation timed out]
mando has quit [Ping timeout: 245 seconds]
hiyosi has quit [Ping timeout: 246 seconds]
gcds has quit [Quit: gcds]
siwica has quit [Ping timeout: 240 seconds]
nhhagen has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
momomomomo_ has joined #ruby
iamjarvo_ has quit [Remote host closed the connection]
siwica has joined #ruby
tannerburson has joined #ruby
Yan__ has joined #ruby
iamjarvo_ has joined #ruby
blaskovicz has joined #ruby
zipper has quit [Ping timeout: 264 seconds]
OdNairy has quit []
failshell has joined #ruby
momomomomo_ has quit [Client Quit]
gyre007 has joined #ruby
gyre007 has quit [Remote host closed the connection]
gyre007 has joined #ruby
<olivier_bK> i try to Including Other Files In Ruby i use require_relative 'BackupMysql.rb'
petey has joined #ruby
nhhagen has quit [Ping timeout: 260 seconds]
<olivier_bK> but when i execute the script he execute backupMysql.rb first
h_kon has quit [Remote host closed the connection]
ehc has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
RaCx has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Ping timeout: 246 seconds]
<canton7-mac> olivier_bK, so your BackupMysql file has stuff other than class and method definitiosn?
zeeraw has joined #ruby
Hanmac has joined #ruby
<olivier_bK> no
<canton7-mac> so what do you mean by 'it executes BackupMysql.rb first'?
duggiefresh has joined #ruby
<olivier_bK> what i want is
jchristi1 has joined #ruby
<olivier_bK> when i execute the script delete he must to ask what url do you want to delete
Hanmac1 has quit [Ping timeout: 241 seconds]
zipper has joined #ruby
includex has quit [Quit: Textual IRC Client: www.textualapp.com]
preller has quit [Ping timeout: 250 seconds]
<olivier_bK> and after on this url i get the id like that
<olivier_bK> google.com ->>>> uid = google
Yuyo has quit [Ping timeout: 250 seconds]
jchristi has quit [Read error: Operation timed out]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<canton7-mac> I still have no idea what you actual, core question is
<canton7-mac> and I'm not going to try and figure out what all your code does
<olivier_bK> and this uid has passed to BackupMysql
<olivier_bK> i understand
jchristi1 has quit [Read error: Connection reset by peer]
jchristi has joined #ruby
ce_afk is now known as cescalante
petey has quit [Remote host closed the connection]
<CorySimmons> canton7-mac: It's np. Appreciate your work on thi
camilasan has quit []
<CorySimmons> *this
petey has joined #ruby
interactionjaxsn has joined #ruby
TMM has quit [Quit: Ex-Chat]
teoric has joined #ruby
shedd has joined #ruby
p4d4w4n has joined #ruby
kevinykchan has joined #ruby
petey has quit [Read error: Connection reset by peer]
enebo has joined #ruby
petey has joined #ruby
<Hanmac> WHY does BackupMysql inherit from StandardError ? oO
aob has joined #ruby
<shevy> because it wanted to be important when it was young
kitak_ has joined #ruby
preller has joined #ruby
coderhs has joined #ruby
<aob> I have a hash with values of another short hash; I want to count the number of top level keys that have a nested value within its value
jedimind has joined #ruby
<aob> eg {"thing" => {"name" => "jim", "age" => 15} }
tesuji has quit [Read error: Connection reset by peer]
<aob> I want to count the number of keys with age 15
<aob> is there an elegant non-side-effecty way to do that?
shedd has quit [Ping timeout: 246 seconds]
yjmsf20 has quit [Remote host closed the connection]
heftig_ has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
<MrZYX> hash.values.map {|h| h['age'] }.count(15) ?
lfox has quit [Ping timeout: 245 seconds]
fuhgeddaboudit has joined #ruby
<aob> MrZYX: yes, precisely that
<aob> :))
<aob> i didn't know count could do that
<shevy> count can even count up to Infinity
<Hanmac> hash.values.count{|h|h['age']==15} ?
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
MrZYX is now known as MrZYX|off
DouweM has joined #ruby
thesheff17 has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baroquebobcat has joined #ruby
MrZYX|off is now known as MrZYX
hamakn has joined #ruby
kh019267 has joined #ruby
aspires has joined #ruby
<Hanmac> aob & MrZYX or better: hash.each_value.count{|h|h['age']==15}
iamjarv__ has joined #ruby
<aob> nice
jacobsmith has joined #ruby
baroquebobcat has quit [Client Quit]
mmitchell has joined #ruby
terrellt has quit [Quit: Light travels faster then sound, which is why some people appear bright, until you hear them speak]
aryaching has joined #ruby
Megtastique has joined #ruby
virtualize has quit [Quit: Leaving...]
terrellt has joined #ruby
jbpros has joined #ruby
shime has joined #ruby
iamjarvo_ has quit [Ping timeout: 260 seconds]
alekst has joined #ruby
<Hanmac> with enumerators there can be more fun:
<Hanmac> >> hash={"thing" => {"name" => "jim", "age" => 15} }; counter= hash.each_value.to_enum(:count); [counter.each{|h|h['age']==15},counter.each{|h|h['age']==16},counter.each{|h|h['age'] < 16}]
<eval-in_> Hanmac => [1, 0, 1] (https://eval.in/76755)
terrellt has quit [Client Quit]
hamakn has quit [Ping timeout: 240 seconds]
haukur has quit []
mmcdaris has quit [Quit: mmcdaris]
jprovazn has quit [Quit: Odcházím]
lmickh has joined #ruby
cpruitt has joined #ruby
apeiros has quit [Remote host closed the connection]
zipper has quit [Ping timeout: 264 seconds]
kitak_ has quit [Remote host closed the connection]
v0n has joined #ruby
mando has joined #ruby
mercwithamouth has joined #ruby
apeiros has joined #ruby
kitak_ has joined #ruby
Astralum has joined #ruby
rippa has joined #ruby
<dagobah> So, I want the number (count) of consecutive items in an array, where the "consecutive" in this case means items where the current item is 1 or 2 more than the previous.
jonathanwallace has joined #ruby
jamesaanderson has joined #ruby
Yan___ has joined #ruby
<dagobah> i.e [1,5,6,9,10].magic #=> 2 #(because only 5,6 match)
ambushsabre has joined #ruby
randomnick_ has joined #ruby
diegoviola has joined #ruby
Yan__ has quit [Ping timeout: 264 seconds]
tylersmith has joined #ruby
kevinykchan has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
duggiefresh has quit [Read error: Connection reset by peer]
<Hanmac> dagobah:
<Hanmac> >> [1,5,6,9,10].each_cons(2).count {|x,y| x+1 == y}
<eval-in_> Hanmac => 2 (https://eval.in/76756)
tylersmith has quit [Remote host closed the connection]
yjmsf20 has joined #ruby
<canton7-mac> >> [1,5,6,9,10].each_cons(2).count{ |a,b| b - a <= 2 }
sevenseacat has quit [Quit: Leaving.]
<eval-in_> canton7-mac => 2 (https://eval.in/76757)
<canton7-mac> darn, beat me :P
<dagobah> [1,5,6,9,10,11,12].each_cons(2).count {|x,y| x+1 == y}
tylersmith has joined #ruby
ewnd9 has joined #ruby
AntelopeSalad_ has joined #ruby
<canton7-mac> hmm, mine has a bug with decending sequences. dog
<canton7-mac> *doh
apeiros has quit [Ping timeout: 245 seconds]
liamkeily has quit [Ping timeout: 260 seconds]
aasirc has quit [Quit: Textual IRC Client: www.textualapp.com]
<tobiasvl> canton7-mac: OTOH yours is the only one that recognizes "current item is 1 or 2 more than the previous"
<Hanmac> hm no canton7-mac i think your code is better, and it only wants ascending not decanding
sergicles has joined #ruby
<dagobah> Indeed, only ever ascending.
duggiefresh has joined #ruby
jamesaanderson has quit [Ping timeout: 260 seconds]
<tobiasvl> why don't 9 and 10 match though?
<dagobah> But I want the size of the longest "streak" where the "streak" is an occurrence of consecutive items (differing by at most 2)
BobSchack has joined #ruby
<tobiasvl> in any of your examples
similian has left #ruby [#ruby]
newbiehacker has quit [Ping timeout: 264 seconds]
thelorax123 has quit [Remote host closed the connection]
duggiefr_ has joined #ruby
polaco_zZz is now known as polaco
<dagobah> Never mind, it already does that .. I think
tobago has quit [Ping timeout: 265 seconds]
<canton7-mac> ah, missed that detail
<canton7-mac> no, ours will just catch the number of pairs where the second item in the pair is 1 more than the first item
ChangJooPark has joined #ruby
AntelopeSalad has quit [Ping timeout: 251 seconds]
<dagobah> i.e [1,5,6,7,8,10,11] should == 6
mjs2600 has joined #ruby
bklane has joined #ruby
thelorax123 has joined #ruby
failshell has quit []
duggief__ has joined #ruby
<canton7-mac> wait, now I'm confused as to your requirements
AntelopeSalad_ is now known as AntelopeSalad
<Hanmac> >> [1,5,6,7,8,10,11].each_cons(2).count {|x,y| y-x <= 2} + 1
<eval-in_> Hanmac => 6 (https://eval.in/76758)
<canton7-mac> "size of the longest streak" is 4 in your example - 5,6,7,8
<tobiasvl> canton7-mac: "current item is 1 or 2 more than the previous"
ValicekB has joined #ruby
duggiefresh has quit [Ping timeout: 245 seconds]
<dagobah> Not with the requirement being a step of 2 or less.
<dagobah> Hanmac: That's the one!
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
Yan__ has joined #ruby
vpretzel has quit [Remote host closed the connection]
<tobiasvl> >> [1,5,6,7,8,10,11,15,16,17,18,19,20,21,30].each_cons(2).count {|x,y| y-x <= 2} + 1
<eval-in_> tobiasvl => 12 (https://eval.in/76759)
mengu has quit []
TMM has joined #ruby
<tobiasvl> doesn't handle multiple streaksd
Yan___ has quit [Ping timeout: 260 seconds]
<tobiasvl> -d
vpretzel has joined #ruby
duggiefr_ has quit [Ping timeout: 264 seconds]
<dagobah> Hmm, yes. [1,5,6,7,8,10,11,15,16,17,18,19,20,21,30] should be 7
<dagobah> (the 15-21 streak)
<canton7-mac> now it gets tricky, as you need to introduce a bit of state saying whether you're currently in a streak
gtsiftsis has quit [Quit: Leaving]
greenrose has quit [Ping timeout: 265 seconds]
<dagobah> Can you group_by streak? Or use take_while or chunk somehow?
GreatSUN_ has quit [Ping timeout: 250 seconds]
<dagobah> Or each_cons(2).select -> count -> sort ?
flops has quit [Quit: leaving]
Kricir has joined #ruby
shedd has joined #ruby
drag00n has joined #ruby
<canton7-mac> chunk would work, I think
mansi has joined #ruby
greenrose has joined #ruby
duggief__ has quit [Read error: Connection reset by peer]
<Hanmac> dagobah: look and whine about that:
<Hanmac> >> [1,5,6,7,8,10,11,15,16,17,18,19,20,21,30].each_cons(2).chunk {|x,y| y-x <= 2}.select {|x,y| x}.max_by {|_,y|y.size}.last.flat_map.with_index {|(x,y),i|i == 0 ? [x,y] : y}
<eval-in_> Hanmac => [15, 16, 17, 18, 19, 20, 21] (https://eval.in/76760)
<dagobah> Oh wow :D
<canton7-mac> nice
<tobiasvl> holy
kevind_ has joined #ruby
<dagobah> You're too good.
amedeiro1 has quit [Ping timeout: 240 seconds]
Lewis has joined #ruby
binaryplease has joined #ruby
Lewis has quit [Read error: Connection reset by peer]
kleinerdrache has joined #ruby
<shevy> He is good
<shevy> but he lost his sanity too
<shevy> do you all wanna follow his footsteps and become insane?!?!
duggiefresh has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
zoo-zed has joined #ruby
mr`spock has joined #ruby
mary5030 has joined #ruby
petey has quit [Remote host closed the connection]
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
mjs2600 has quit [Remote host closed the connection]
* Hanmac hums the soundtrack to animaniacs :p
tobago has joined #ruby
javon has joined #ruby
shedd has quit [Ping timeout: 272 seconds]
amritanshu_RnD has quit [Quit: Leaving]
<Hanmac> dagobah: inside the chunk blockyou can configure how many steps are allowed to the next element
almarshall has joined #ruby
mjs2600 has joined #ruby
petey_ has joined #ruby
danman has joined #ruby
johnnyfuchs has joined #ruby
johnnyfuchs has left #ruby [#ruby]
<dagobah> :D
<momomomomo> Hanmac: nice chaining
<Hanmac> shevy i tryed it with lazy but it didnt make the line shorter
<momomomomo> have you been doing some golang
<momomomomo> what with the underscore for discarded bool val
GolfWang is now known as ArchBeOS-work
<canton7-mac> that's a ruby standard. you can have multiple underscores for different block vals, and ruby doesn't complain
julweber has quit [Remote host closed the connection]
<momomomomo> damn, a fake more you know video
<canton7-mac> thanks, but I'm not going to watch a vid when I'm at work, I'm afraid
<momomomomo> afraid of watching a video at work!? sounds like a blast
siwica has quit [Quit: siwica]
<canton7-mac> heh, "I'm afraid I'm not going to do this" doesn't mean you're actually afraid :P
browndawg has quit [Quit: Leaving.]
<CorySimmons> Hey I'm trying to validate if something is valid yaml. This is what I have http://pastebin.com/1DeFxdJB
<CorySimmons> I don't think it's getting the proposal_data
rjhunter has joined #ruby
<CorySimmons> Basically I need to call self.proposal_data but I'm not sure how to get self to pass through
<CorySimmons> right?
jbpros has quit [Quit: jbpros]
nhhagen has joined #ruby
tobago has quit [Ping timeout: 246 seconds]
RedNifre has joined #ruby
_maes_ has joined #ruby
<RedNifre> Hey there!
vikhyat has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 245 seconds]
<CorySimmons> hi
mikepack has joined #ruby
<RedNifre> I have a jar that logs both to the standard output and the error output. I start it in ruby with `java blabla`, but this only returns the standard output. What's the easiest way to run the jar from ruby and get both mixed together, like you would see them when you run the jar from command line? (This is for logging)
<MrZYX> CorySimmons: more context, where is that defined, where is it called?
jacobsmith has quit [Ping timeout: 260 seconds]
<MrZYX> RedNifre: try #jruby, this is mostly MRI
<Hanmac> RedNifre: look at popen
Nogbit has joined #ruby
<RedNifre> But this doesn't have anything to do with java, I'm just asking how to get both the standard and the error output from a system command I run.
<RedNifre> Okay, I'll check popen...
<CorySimmons> MrZYX: It's called in the model proposal.rb
bluenemo has quit [Remote host closed the connection]
<CorySimmons> I'm using validate :is_hashed_yaml
<Hanmac> RedNifre: or spawn
<CorySimmons> I'm about 40% sure I need to pass self to this somehow and get it to actually recognize self immediately before the proposal_data
<MrZYX> RedNifre: ah sorry, misunderstood you a bit
iamjarv__ has quit [Remote host closed the connection]
rjhunter has quit [Ping timeout: 246 seconds]
kpshek has quit []
parus_ is now known as parus
camilasan has joined #ruby
coderhs has quit [Ping timeout: 246 seconds]
kpshek has joined #ruby
nhhagen has quit [Ping timeout: 245 seconds]
iamjarvo_ has joined #ruby
vikhyat has joined #ruby
atno has quit [Read error: Operation timed out]
iamjarv__ has joined #ruby
atmosx has quit [Quit: WeeChat 0.4.1]
virtualize has joined #ruby
axl_ has joined #ruby
camilasan has quit [Client Quit]
mercwithamouth has joined #ruby
RaCx has joined #ruby
<MrZYX> CorySimmons: so your assumption is "I don't think I get proposal_data", start by verifying that assumption
psyprus has quit [Changing host]
psyprus has joined #ruby
<MrZYX> is proposal_data nil? does it raise NoMethodError? anything else?
dhruvasagar has quit [Ping timeout: 260 seconds]
<olivier_bK> i try to pass a variable in another script but i dont know why i cant see this variable in the another script .
kevinykchan has joined #ruby
<CorySimmons> [61] pry(Proposal)> defined? proposal_data => nil
maletor has joined #ruby
<CorySimmons> MrZYX :)
divi_ has joined #ruby
wildroman2 has quit [Remote host closed the connection]
iamjarvo_ has quit [Ping timeout: 246 seconds]
<MrZYX> olivier_bK: you set the @uid _instance variable_ inside the new instance of BackupMysql?
<CorySimmons> But first.proposal_data works as expected
maletor has quit [Client Quit]
<MrZYX> CorySimmons: it could be defined through method_missing
<CorySimmons> So I'm thinking if I'm able to do something like self.proposal_data (during this validation) it will return the right record
dkamioka has joined #ruby
<CorySimmons> What do you mean?
jbpros has joined #ruby
dkamioka has quit [Remote host closed the connection]
mjs2600 has quit [Remote host closed the connection]
newbiehacker has joined #ruby
nomenkun has joined #ruby
mansi has quit [Remote host closed the connection]
mwillhite has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
angusiguess has joined #ruby
<MrZYX> >> def method_missing(*args); args.map(&:to_s).join; end; [defined? foo, foo]
<eval-in_> MrZYX => [nil, "foo"] (https://eval.in/76763)
shedd has joined #ruby
bean__ has joined #ruby
dkamioka has joined #ruby
RoryHughes has joined #ruby
<olivier_bK> MrZYX, yes
<MrZYX> olivier_bK: instance variables belong to an object, they don't magically appear in the main scope
failshell has joined #ruby
<MrZYX> so you need to expose the uid in your BackupMysql class
CorySimmons has quit [Quit: Leaving.]
nomenkun has quit [Ping timeout: 240 seconds]
kevind_ is now known as kevind
Lewis has joined #ruby
tjbiddle has joined #ruby
blaskovicz1 has joined #ruby
Kricir has quit [Ping timeout: 272 seconds]
burlyscudd has joined #ruby
<MrZYX> class BackupMySql; attr_reader :uid; ...; end; for example would create a uid method returning @uid, so you could do b = BackupMysql.new; uid = b.uid
Yan__ has quit [Read error: Operation timed out]
mercwithamouth has quit [Ping timeout: 245 seconds]
rubyracer has joined #ruby
nomenkun has joined #ruby
shedd has quit [Ping timeout: 260 seconds]
p4d4w4n has quit [Quit: This computer has gone to sleep]
blaskovicz has quit [Ping timeout: 264 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
<olivier_bK> MrZYX, okai i think i see know
angusiguess has quit [Ping timeout: 250 seconds]
heftig has joined #ruby
Atrophius has joined #ruby
Lewis has quit [Ping timeout: 272 seconds]
hiyosi has joined #ruby
atno has joined #ruby
jchristi has quit [Ping timeout: 246 seconds]
t4nkd has joined #ruby
wallerdev has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sumark has quit [Remote host closed the connection]
_maes_ has quit [Ping timeout: 240 seconds]
larissa has quit [Quit: Leaving]
DouweM has quit [Quit: Leaving...]
virtualize has quit [Quit: Leaving...]
troessner has quit [Quit: Leaving]
sumark has joined #ruby
arietis has joined #ruby
jjbohn has joined #ruby
kleinerdrache has quit [Quit: Ex-Chat]
amundj has quit [Ping timeout: 272 seconds]
julweber has joined #ruby
mikecmpbll has joined #ruby
RoryHughes has quit []
burlyscudd has quit [Quit: Leaving.]
aantix has quit [Quit: aantix]
yfeldblum has joined #ruby
mansi has joined #ruby
himsin has joined #ruby
himsin has quit [Client Quit]
isec has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
joofsh has joined #ruby
mojjojo has quit [Quit: mojjojo]
DouweM has joined #ruby
nomenkun has quit [Ping timeout: 240 seconds]
SeySayux has quit [Ping timeout: 253 seconds]
p4d4w4n has joined #ruby
iamjarv__ has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
dencur has joined #ruby
aganov has quit [Quit: Leaving]
iamjarvo_ has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
SeySayux has joined #ruby
amedeiros has joined #ruby
amedeiros is now known as Guest72157
mikesplain has joined #ruby
shadoi has joined #ruby
threesome has joined #ruby
jchristi has joined #ruby
caveat- has joined #ruby
DouweM has quit [Quit: Leaving...]
binaryplease has quit [Ping timeout: 264 seconds]
Arzaga has quit [Quit: Computer has gone to sleep.]
matheuscaceres has joined #ruby
iamjarvo_ has quit [Ping timeout: 272 seconds]
pragmatism has joined #ruby
pragmatism has quit [Excess Flood]
dencur has left #ruby [#ruby]
pragmatism has joined #ruby
pragmatism has quit [Excess Flood]
pragmatism has joined #ruby
pragmatism has quit [Excess Flood]
pragmatism has joined #ruby
aob has quit [Ping timeout: 264 seconds]
shedd has joined #ruby
andikr has quit [Remote host closed the connection]
phantummm has joined #ruby
nvrch has quit [Quit: nvrch]
wallerdev has quit [Quit: wallerdev]
Lewis_ has joined #ruby
benzrf has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<benzrf> hi, is there a way to save the current program state to disk from pry?
<benzrf> smalltalk-style?
shedd has quit [Ping timeout: 260 seconds]
thumpba has joined #ruby
Yan__ has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
mansi has quit [Read error: Connection reset by peer]
drumusician has joined #ruby
nwertman has joined #ruby
mansi has joined #ruby
Lewis_ has quit [Ping timeout: 246 seconds]
ahawkins has quit [Quit: leaving]
jhaals has quit [Ping timeout: 250 seconds]
<MrZYX> benzrf: save-file ?
thumpba has quit [Read error: Operation timed out]
<benzrf> how do i use it?
coder_neo has quit [Quit: Leaving]
<benzrf> and/or what does it do
movedx has left #ruby [#ruby]
RaCx has joined #ruby
acrussell has joined #ruby
binaryplease has joined #ruby
DouweM has joined #ruby
digital-ghost has joined #ruby
virtualize has joined #ruby
<MrZYX> help save-file
<MrZYX> in general, run help
<benzrf> thanks
testslave has quit [Ping timeout: 264 seconds]
Bira has joined #ruby
tylersmith has quit [Remote host closed the connection]
preller has quit [Read error: Operation timed out]
rootshift has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
<rootshift> hi guys - any idea on this code kit error? http://i.imgur.com/HyCQyQt.png
zeeraw has joined #ruby
alup has quit [Quit: Leaving]
yfeldblum has quit [Remote host closed the connection]
alvaro_o has joined #ruby
Yan__ has quit [Ping timeout: 260 seconds]
lucazi has quit [Ping timeout: 272 seconds]
maletor has joined #ruby
mando has quit []
p4d4w4n has joined #ruby
preller has joined #ruby
slash_ni1k has quit [Changing host]
slash_ni1k has joined #ruby
baroquebobcat has joined #ruby
sepp2k has joined #ruby
IceDragon has quit [Ping timeout: 272 seconds]
julweber has quit [Remote host closed the connection]
awarner_ has joined #ruby
yeltzooo has quit [Read error: Operation timed out]
awarner has quit [Read error: Operation timed out]
Yan__ has joined #ruby
lucazi has joined #ruby
orionstein_away has quit [Ping timeout: 248 seconds]
sambao21 has quit [Ping timeout: 264 seconds]
mojjojo has joined #ruby
Gnubie_ has quit [Quit: No Ping reply in 180 seconds.]
yosafbridge` has quit [Ping timeout: 252 seconds]
IceDragon has joined #ruby
rjhunter has joined #ruby
Gnubie has joined #ruby
LiohAu has joined #ruby
nhhagen has joined #ruby
Yan__ has quit [Read error: Operation timed out]
Gnubie is now known as Guest45295
testslave has joined #ruby
phantummm_ has joined #ruby
mephux has quit [Ping timeout: 264 seconds]
onewheelskyward has quit [Ping timeout: 246 seconds]
mikemac has joined #ruby
kaichanvong has quit [Excess Flood]
preller has quit [Read error: Operation timed out]
crazymykl has quit [Ping timeout: 252 seconds]
crazysim has quit [Ping timeout: 252 seconds]
maletor has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Ping timeout: 264 seconds]
n88 has quit [Ping timeout: 246 seconds]
phantummm has quit [Ping timeout: 265 seconds]
<LiohAu> how can I append a string to an existing one ? myString += "string" ?
phantummm_ is now known as phantummm
snath has quit [Ping timeout: 260 seconds]
siefca has quit [Ping timeout: 252 seconds]
kaichanvong has joined #ruby
robbyoconnor has joined #ruby
Guest79382 has joined #ruby
mojjojo has quit [Client Quit]
Yan__ has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
siefca has joined #ruby
<benzrf> LiohAu: <<
preller has joined #ruby
orionstein_away has joined #ruby
yfeldblum has joined #ruby
crazysim has joined #ruby
<benzrf> >> foo = "hello "; foo << "world"; foo
<eval-in_> benzrf => "hello world" (https://eval.in/76779)
<MrZYX> LiohAu: that creates a new string object and assigns it to myString (which should be my_string btw :P)
n88 has joined #ruby
<MrZYX> << modifies the current string object
orionstein_away is now known as orionstein
<MrZYX> what you want depends on your usecase
sambao21 has joined #ruby
RaCx has quit [Ping timeout: 245 seconds]
<Hanmac> or concat
yeltzooo has joined #ruby
maletor has joined #ruby
yosafbridge has joined #ruby
rootshift has quit [Quit: rootshift]
<MrZYX> concat is an alias of <<
<LiohAu> i'll use << then
<LiohAu> thx
onewheelskyward has joined #ruby
capicue has joined #ruby
elux has joined #ruby
johnnyfuchs has joined #ruby
johnnyfuchs has left #ruby [#ruby]
soulcake has quit [Read error: Connection reset by peer]
CorySimmons has joined #ruby
<benzrf> MrZYX: or is it the other way around
rjhunter has quit [Ping timeout: 246 seconds]
soulcake has joined #ruby
wildroman2 has joined #ruby
<MrZYX> dunno, probably the same C function attached to two names
nhhagen has quit [Ping timeout: 264 seconds]
Briareos1 has joined #ruby
<dagobah> Hmm, this should be easy. Difference in seconds for a list of times (pre-stripped of formatting)? ["234154", "234204"].magic #=> should == 10 seconds
<MrZYX> always two items?
<dagobah> No
<dagobah> And I can't use Time.parse
rootshift has joined #ruby
michaellynch has quit [Read error: Operation timed out]
petey_ has quit [Remote host closed the connection]
<dagobah> But obviously last two digits always <= 60
dhruvasagar has joined #ruby
Guest72157 has quit [Ping timeout: 272 seconds]
slash_ni1k is now known as slash_quit
tylershipe has quit [Remote host closed the connection]
<MrZYX> ah, that's hhmmss always?
pragmatism has quit [Quit: Leaving...]
tylershipe has joined #ruby
mojjojo has joined #ruby
<dagobah> i.e times = ["23:41:54", "23:42:04"] to begin with, and I want difference in seconds for each
halogenandtoast has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mansi has quit [Read error: Connection reset by peer]
<halogenandtoast> If I have a thread with $SAFE >= 2 shouldn't I be able to load wrapped files?
<dagobah> I though of tr'ing the string of non 0-9's and then doing the math.
mansi has joined #ruby
joofsh has quit [Remote host closed the connection]
user258467 has quit [Quit: Quitte]
<benzrf> how do i add a day to a time?
<benzrf> or subtract
joofsh has joined #ruby
<halogenandtoast> I get `load': Insecure operation
bugant has joined #ruby
<bugant> hi there
CaptainJet has joined #ruby
joofsh has quit [Read error: No route to host]
<MrZYX> dagobah: I'd extract the last two digits: .map {|t| t[-2, 2].to_i }.inject(:-).abs
<bugant> anyone have been able to verify a windows store receipt in ruby?
<dagobah> MrZYX: I like it :)
<bugant> bugant: it's a signed xml document
TMM has quit [Quit: Ex-Chat]
joofsh has joined #ruby
RaCx has joined #ruby
Zai00 has quit [Quit: Zai00]
<MrZYX> benzrf: add/substract 60*60*24 seconds ?
clevermatt has quit [Ping timeout: 245 seconds]
<benzrf> buh
petey has joined #ruby
<benzrf> shouldnt there be a better way
<benzrf> ;_;
<MrZYX> you could convert it to a Date
RaCx has quit [Remote host closed the connection]
tylershipe has quit [Ping timeout: 245 seconds]
mojjojo has quit [Client Quit]
<benzrf> ok
<benzrf> well w/e
<benzrf> thanks for the help :)
benzrf has left #ruby [#ruby]
Kricir has joined #ruby
clevermatt has joined #ruby
yllox has joined #ruby
mansi has quit [Read error: Connection reset by peer]
Lewis has joined #ruby
gplymale has joined #ruby
gplymale has quit [Client Quit]
mansi has joined #ruby
jkhwan has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
mojjojo has joined #ruby
<bugant> I had no luck with xmldsig
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
apeiros has joined #ruby
joofsh has quit [Ping timeout: 250 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has quit [Ping timeout: 272 seconds]
snath has joined #ruby
<_br_> Interesting technical Question. If you have two apps (1) wrapper project in Ruby/Sinatra and (2) specific app written on Nodejs. Where (2) needs to be embedded into (1), how would you approach this problem?
shedd has joined #ruby
angusiguess has joined #ruby
<MrZYX> "embedded"?
matheuscaceres has quit [Quit: matheuscaceres]
<MrZYX> like mounted on a subdirectory?
Yan__ has quit [Read error: Operation timed out]
<_br_> well, if you access (1) you want to see header, footer from (1) but main content e.g. from (2)
isec has quit [Quit: Computer has gone to sleep.]
dagobah has quit [Remote host closed the connection]
<MrZYX> hm, okay. This hurts to say but: iframe
<_br_> MrZYX: Subdir? No, currently I'm doing Proxying.
<apeiros> _br_: compose with ajax on the client
<_br_> MrZYX: Outch.
roolo has quit [Remote host closed the connection]
<_br_> apeiros: ah full client side mvc solution, interesting.
<apeiros> alternatively: compose with internal requests on the server
Kricir has quit [Ping timeout: 246 seconds]
drumusician has quit [Ping timeout: 246 seconds]
iliketur_ has joined #ruby
<apeiros> i.e. main app queries sub-apps for partials and composes it
yllox has quit [Ping timeout: 260 seconds]
<_br_> apeiros: How to deal with side effects from CSS, JS ? Different libs used in (1), (2) etc?
ylluminate has quit [Ping timeout: 272 seconds]
onewheelskyward has quit [Ping timeout: 246 seconds]
DanKnox has quit [Ping timeout: 260 seconds]
daveops has quit [Ping timeout: 245 seconds]
<apeiros> _br_: no generic solution to that. have a clear "leader".
banister has joined #ruby
<_br_> Interesting, thanks apeiros.
<apeiros> i.e. don't allow subcontent to dictate what JS/CSS should be loaded
lfox has joined #ruby
<_br_> That makes alot of sense.
DanKnox has joined #ruby
ddd has quit [Ping timeout: 264 seconds]
<apeiros> but it depends - if you have no control over the sub-apps, you'll have to taylor something
ylluminate has joined #ruby
<_br_> difficult though for complex actions done by (2)
spike|spiegel has quit [Ping timeout: 252 seconds]
ddd has joined #ruby
daveops has joined #ruby
mojjojo has quit [Quit: mojjojo]
<apeiros> if you can, let the sub-apps only deliver data
<apeiros> e.g. json
<Hanmac> _br_ use sockets for comunikation ;P
<apeiros> and have all layout/js in the main app
mumblerit has quit [Ping timeout: 252 seconds]
_Andres has joined #ruby
<apeiros> if you have mixed responsibilities, you'll be in hell quickly.
shedd has quit [Ping timeout: 264 seconds]
Senjai`work has joined #ruby
<apeiros> (e.g. (1) uses jquery 1.8, (2) uses jquery 2.0 - have fun with all the collisions…)
mumblerit has joined #ruby
randomnick_ has quit [Read error: Connection reset by peer]
<_br_> apeiros: Yeah I'm afraid of that.
spike|spiegel has joined #ruby
jetblack has joined #ruby
mumblerit is now known as Guest87292
<_br_> Probably even requirejs can save me from that.
<_br_> can't.
mikepack has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 260 seconds]
pragmatism has joined #ruby
<_br_> Hanmac: sockets? No, we use thrift here.
mjs2600_ has joined #ruby
pragmatism has quit [Remote host closed the connection]
pragmatism has joined #ruby
<apeiros> if you have truly full websites as sub-apps, then indeed iframes - as fugly as it is
<Hanmac> hm i meant apeiros for the comunication between (1) and (2)
ahawkins has joined #ruby
randomnick_ has joined #ruby
<_br_> apeiros: Well in my case (2) is a collage application and (1) is a social website
<_br_> But I think the suggested way is spot on I just need to make sure I don't end up with jquery1.8 vs 2.0 scenarios as you said.
<_br_> Thanks for the advice :)
<Hanmac> for me irc is the most social thing i do
onewheelskyward has joined #ruby
<_br_> dito :)
zeade has joined #ruby
mojjojo has joined #ruby
VTLob has joined #ruby
kevind_ has joined #ruby
wongon has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
virtualize has quit [Quit: Leaving...]
goshakkk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nogbit|2 has joined #ruby
kevind has quit [Ping timeout: 272 seconds]
kevind_ is now known as kevind
Nogbit has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ambushsabre has joined #ruby
matheuscaceres has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
vpretzel_ has joined #ruby
iamjarvo_ has joined #ruby
iamjarvo_ has quit [Remote host closed the connection]
wallerdev has joined #ruby
iamjarvo_ has joined #ruby
vpretzel has quit [Read error: Operation timed out]
sng|Zzzz is now known as synergy_
kindjal has joined #ruby
St_Marx has quit [Ping timeout: 245 seconds]
s2013 has joined #ruby
jacobsmith has joined #ruby
sailias has quit [Ping timeout: 246 seconds]
goshakkk has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
mmcdaris has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
maletor has joined #ruby
thumpba has joined #ruby
Hanmac1 has joined #ruby
mikepack has joined #ruby
jragon has joined #ruby
dhruvasagar has joined #ruby
tvw has joined #ruby
fenicks has joined #ruby
drumusician has joined #ruby
Hanmac has quit [Ping timeout: 265 seconds]
duggiefresh has quit [Remote host closed the connection]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cescalante is now known as ce_afk
ce_afk is now known as cescalante
ozgun has quit [Quit: Leaving]
mjs2600_ has quit [Remote host closed the connection]
joofsh has joined #ruby
halogenandtoast has quit [Quit: halogenandtoast]
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
aantix has joined #ruby
davy has joined #ruby
CorySimmons has quit [Quit: Leaving.]
halogenandtoast has joined #ruby
synergy_ is now known as sng|afk
lukec has quit [Quit: lukec]
banister has joined #ruby
phil_b has quit [Ping timeout: 272 seconds]
colonolGron has quit [Quit: leaving]
enape_101 has joined #ruby
_amir has quit [Quit: Leaving]
havenwood has joined #ruby
burlyscudd has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
newbiehacker_ has joined #ruby
bugant has quit [Quit: bye]
vpretzel_ is now known as vpretzel
joofsh has quit [Ping timeout: 272 seconds]
petey_ has joined #ruby
petey has quit [Read error: Connection reset by peer]
shedd has joined #ruby
Monie has joined #ruby
newbiehacker has quit [Ping timeout: 272 seconds]
drumusician has quit [Ping timeout: 250 seconds]
capicue has quit [Quit: Leaving...]
newbiehacker_ has quit [Read error: Connection reset by peer]
Guest87292 is now known as mumblerit
pel_daniel has joined #ruby
shedd has quit [Read error: Connection reset by peer]
cescalante is now known as ce_afk
shedd has joined #ruby
ppppaul has quit [Ping timeout: 265 seconds]
burlyscudd has quit [Quit: Leaving.]
ahawkins has quit [Ping timeout: 250 seconds]
burlyscudd has joined #ruby
pragmatism is now known as pragmatism|away
bedouin has quit [Read error: Connection reset by peer]
s2013 has quit [Ping timeout: 240 seconds]
breefield has quit [Ping timeout: 246 seconds]
sailias has joined #ruby
mjs2600 has joined #ruby
von__ has quit [Read error: Connection reset by peer]
mattmcclure has quit [Read error: Operation timed out]
kevinykchan has quit [Quit: Computer has gone to sleep.]
tjbiddle_ has joined #ruby
CorySimmons has joined #ruby
benzrf has joined #ruby
<benzrf> hello, is it possible to require a gem that i installed after my pry session started>
mjs2600 has quit [Remote host closed the connection]
pragmatism|away is now known as pragmatism
rootshift has quit [Quit: rootshift]
<benzrf> ah, nvm
benzrf has left #ruby [#ruby]
Guest17057 has quit [Ping timeout: 260 seconds]
shredding has quit [Quit: shredding]
tjbiddle has quit [Ping timeout: 272 seconds]
tjbiddle_ is now known as tjbiddle
Elhu has quit [Quit: Computer has gone to sleep.]
CorySimmons has quit [Client Quit]
axl_ has quit [Quit: axl_]
DouweM has quit [Quit: Leaving...]
SL-RHanson has quit [Remote host closed the connection]
_HolyCow1 has joined #ruby
ce_afk is now known as cescalante
chuk has quit [Read error: Connection reset by peer]
andrewstewart has quit [Ping timeout: 245 seconds]
lectrick has quit [Read error: Connection reset by peer]
Guest85414____ has quit [Read error: Connection reset by peer]
pipecloud has quit [Ping timeout: 248 seconds]
bluehavana has quit [Ping timeout: 246 seconds]
tommyvyo_ has quit [Ping timeout: 246 seconds]
mattyohe has quit [Ping timeout: 245 seconds]
tsykodukl is now known as zz_tsykodukl
kapowaz has quit [Read error: Connection reset by peer]
zero7 has quit [Read error: Connection reset by peer]
xerxas has quit [Read error: Connection reset by peer]
im0b has quit [Read error: Connection reset by peer]
jbpros has quit [Quit: jbpros]
s2013 has joined #ruby
shedd has quit []
shedd has joined #ruby
ArchBeOS-work is now known as TunnelSnakesRule
xcv has quit [Remote host closed the connection]
shedd has quit [Client Quit]
superscott[8] has joined #ruby
xcv has joined #ruby
<RedNifre> I don't quite understand what goes on inside a block I pass to popen3... in the block, I only do err.read, but it seems my code is blocking. My assumption was that popen3 runs the command first and allows me to read the output later... but I guess it is somehow blocking? What should I do if I only want to run a command and get its strerr output?
shedd has joined #ruby
nhhagen has joined #ruby
rjhunter has joined #ruby
_HolyCow has quit [Ping timeout: 272 seconds]
lukec has joined #ruby
davy has quit [Remote host closed the connection]
f0ster has joined #ruby
JohnBat26|2 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<RedNifre> I'm also a ruby newbie, so I don't understand "stdin, stdout, stderr = popen3"... does popen return an array in this case which I split across variables? I guess the names of the variables don't matter and I need to take care to put them in the right order?
<f0ster> what would it mean to have a string after a class dec, e.g., class Admin 'roles_admins'
<s2013> isnt that C ?
mmcdaris has quit [Quit: mmcdaris]
zeade has quit [Read error: Connection reset by peer]
davy has joined #ruby
zeade has joined #ruby
bedouin has joined #ruby
teoric has quit [Ping timeout: 250 seconds]
<oddalot> lol
hiall has quit [Quit: hiall]
visof has joined #ruby
_HolyCow1 is now known as _HolyCow
eliasp_ is now known as eliasp
mmitchell has quit [Read error: Connection reset by peer]
asteros has joined #ruby
pipecloud has joined #ruby
_maes_ has joined #ruby
<Bira> RedNifre: which version of ruby are you using?
mmitchell has joined #ruby
jacobsmith has quit [Ping timeout: 245 seconds]
<RedNifre> I'm currently stuck on 1.8.7
xcv has quit [Ping timeout: 246 seconds]
<Hanmac1> you should really update
mikecmpbll has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
<RedNifre> I know and I hope that I can convince The Powers That Be next week, but I need it working with 1.8.7 today :/
rjhunter has quit [Ping timeout: 265 seconds]
JBlazeCoder21 has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
<Bira> RedNifre: In 1.8.7, popen3 opens an external executable as a separate process and returns its stdin, stdout and stderr streams.
<Bira> Yes, it returns an array, and that syntax you posted splits it into variables.
<Bira> Your code is probably blocking because err.read blocks until there's something to read from that stream - the process is running in parallel with your Ruby process.
zz_tsykodukl is now known as tsykoduk
<RedNifre> The code I call should finish after about a minute. Does var = stderr.read notice that there is no more to read? Could it get stuck?
breefield has joined #ruby
von___ has joined #ruby
julweber has joined #ruby
<RedNifre> What I want is that when the command is complete, I have its error output in a string.
<Bira> Later versions of Ruby also give you a thread variable there, so the call would have to change to 'stdin, stdout, stderr, wait_thread = popen3(...)'
matchaw has quit [Ping timeout: 272 seconds]
saarinen has joined #ruby
<RedNifre> hm... maybe i have to read all streams to allow the command to finish?
<Bira> I don't think the thread will get stuck once there's nothing else to read - the process on the other end terminates and closes the stream on its side.
phipes has joined #ruby
klaut has quit [Remote host closed the connection]
drumusician has joined #ruby
mansi has quit [Remote host closed the connection]
<Bira> Your remote process might be hanging because it's waiting for input. If you close stdin before doing anything else it should work.
iamjarvo_ has quit [Ping timeout: 260 seconds]
St_Marx has joined #ruby
saarinen has quit [Read error: Connection reset by peer]
davy_ has joined #ruby
mojjojo has quit [Read error: Connection reset by peer]
<RedNifre> Ah, I see! Even though I put all parameters in the string I pass to popen3, it still waits if I give some more to it via stdin?
saarinen has joined #ruby
julweber has quit [Ping timeout: 260 seconds]
Kricir has joined #ruby
divi_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<RedNifre> so the command is sitting in a separate thread, waiting for me to close stdin, when I do that it starts going and I can read from stdout and stderr, which blocks, until the command is complete?
<Bira> That's about the size of it.
mojjojo has joined #ruby
<Bira> It's not separate thread, though, it's a separate process.
mojjojo has quit [Client Quit]
Sawbones has quit [Ping timeout: 245 seconds]
angusigu1ss has joined #ruby
<RedNifre> Okay, I think I understand it now. Fascinating.
h0rrorvacui has joined #ruby
mojjojo has joined #ruby
clamstar has quit [Quit: Computer has gone to sleep.]
davy has quit [Ping timeout: 260 seconds]
gverri_ has joined #ruby
cpruitt has quit [Quit: cpruitt]
gverri_ has quit [Max SendQ exceeded]
virtualize has joined #ruby
<RedNifre> BTW, I can't be the only one who is surprised that the default Linux distros you get all come with very old ruby? Be it Ubuntu, or even Rackspace cloud machines? Why is that?
petey_ has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
gverri_ has joined #ruby
<RedNifre> I mean, my understanding is that all these old ruby versions are not even supported any more. Why aren't the latest ones present in the major repositories?
gverri_ has quit [Max SendQ exceeded]
mattmcclure has joined #ruby
burlyscudd has quit [Quit: Leaving.]
benzrf has joined #ruby
teoric has joined #ruby
<Hanmac1> RedNifre: liar ... recent ubuntu has recent ruby
<benzrf> hi, i'm trying to use scruffy to make graphs, but the output is always just blank white
<h0rrorvacui> RedNifre just use arch.
<h0rrorvacui> Repo's are up to 2.0.0
<h0rrorvacui> If your service provider has it.
chuk_ has joined #ruby
lectrick_ has joined #ruby
Guest85414____ has joined #ruby
yalue has quit [Read error: Connection reset by peer]
tylershipe has joined #ruby
<Bira> I tend to use a separate Ruby version manager like rbenv or RVM to install my own version of ruby in my environment :).
angusigu1ss has quit [Ping timeout: 260 seconds]
<RedNifre> How many compatibility breaks does ruby have? Was it just that one between 1.8.something and 2.something?
capicue has joined #ruby
<Bira> RedNifre: The jump from 1.8.7 to 1.9.3 is a pretty large one.
<momomomomo> Bira: Most people do :p
Czupa has joined #ruby
<h0rrorvacui> except I prefer chruby now
kapowaz_ has joined #ruby
andrewstewart_ has joined #ruby
mattyohe has joined #ruby
<Bira> h0rrorvacui: Any of them do the job just fine, which one you use is mostly down to personal preference.
tommyvyo_ has joined #ruby
<havenwood> RedNifre: 1.8 to 1.9 has a number of breaking changes. Not painful at all to bump from 1.9 to 2.0, or 2.0 to 2.1, etc.
<h0rrorvacui> havenwood converted me
virtualize has quit [Read error: Connection reset by peer]
<havenwood> :D
virtualize has joined #ruby
<RedNifre> Hm, it still hangs... should this work?:
<RedNifre> stdin, stdout, stderr = Open3.popen3(cmd)
<RedNifre> stdin.close
<RedNifre> return output
<RedNifre> output = stderr.read
petey has joined #ruby
<Hanmac1> havenwood: there was a breaking change from 1.8.6 to 1.8.7 :D
jetblack has quit [Quit: leaving]
Hanmac1 is now known as Hanmac
<havenwood> Hanmac1: Long live 2.1!
bluehavana_ has joined #ruby
tylersmith has joined #ruby
zero7_ has joined #ruby
* Hanmac Hanmac
im0b_ has joined #ruby
* benzrf benzrf
xerxas_ has joined #ruby
benzrf is now known as bork
* bork bork
bork is now known as benzrf
<momomomomo> rationals will be neat.
teoric has quit [Ping timeout: 240 seconds]
<havenwood> RedNifre: ruby-install is the tool i like to use to build the Ruby i want: https://github.com/postmodern/ruby-install#readme
lmmx has joined #ruby
zcreative has joined #ruby
zeeraw has joined #ruby
halogenandtoast has quit [Quit: halogenandtoast]
kostine has joined #ruby
t4nkd has quit [Quit: Linkinus - http://linkinus.com]
iamjarvo_ has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
vky has joined #ruby
heidi has joined #ruby
cpruitt has joined #ruby
<RedNifre> Thanks havenwood.
<benzrf> excuse me but can anybody help :[
<Hanmac> RedNifre: or use update-alternatives .... but i think your ubuntu is outdated too
<RedNifre> Ah, I figured it out! I had the random guess that you first have to close stdin, then read and close stdout, then read and close stderr. That way it didn't block and I got all the info I needed :)
ahawkins has joined #ruby
<lmmx> I have a working regex in Rubular but I can't get it to work with .scan, can anyone help? http://rubular.com/r/f3Tw8c73Cl
<RedNifre> Well, I got burned by non-LTS-versions so I wanted to stick to 12.04... but maybe I should get the latest one.
Lewis has quit [Remote host closed the connection]
canton7-mac has quit [Remote host closed the connection]
<RedNifre> I guess installing the latest ruby on all desktops, rackspaces and amazon machines might be easier than saying "it's just a tiny script, that should be doable with the old ruby"
jonathanwallace has quit [Quit: WeeChat 0.4.1]
RoryHughes has joined #ruby
<momomomomo> RedNifre: a base ruby package is no reason to leave the LTS
fenicks has quit [Remote host closed the connection]
<RedNifre> Yes, I'll stick with lts and use one of those ruby installers to update just ruby.
shime has quit [Ping timeout: 246 seconds]
SteveBenner9 has joined #ruby
niharvey|afk is now known as niharvey
mjs2600_ has joined #ruby
Lewis has joined #ruby
iliketur_ has joined #ruby
brennanMKE has joined #ruby
<RedNifre> BTW, are there objective arguments in the python vs ruby debate? Ruby is in the minority over here, but shouldn't it be somehow better if Matz was inspired by python?
jlebrech has quit [Quit: Konversation terminated!]
<momomomomo> Silly question
petey_ has joined #ruby
petey_ has quit [Remote host closed the connection]
<benzrf> RedNifre: v. silly question
<benzrf> RedNifre: ruby is better *to matz*
<benzrf> not necessarily to everybody who likes python
<RedNifre> So python and ruby have the same goal and it is purely personal taste which one you use?
<benzrf> mostlybadfly:
<benzrf> *mostly
jibi has joined #ruby
<benzrf> RedNifre: anyway, there are few objective arguments at *all* when arguing over choice of PL
lucazi has quit [Quit: Textual IRC Client: www.textualapp.com]
<benzrf> at least, for onces as close in niche as py/rb
dmyers- has joined #ruby
<cout> RedNifre: actually it's the other way around. python is highly influenced by ruby.
tvw has quit [Read error: Operation timed out]
virtualize has quit [Quit: Leaving...]
<cout> particularly features added after version 2.2
<benzrf> cout: wat
<RedNifre> Really? I thought python was older and it was one of Matz' favorite languages.
<Hanmac> imo ruby is pythons evil twin sister ;P
iamjarvo_ has quit [Read error: Connection reset by peer]
<benzrf> python is older
<cout> RedNifre: python is _slightly_ older, and there is some python influence in ruby
iliketur_ has quit [Client Quit]
<RedNifre> I only heard that they copied the gems and called them eggs, which is just adorable :)
jchristi has quit [Ping timeout: 272 seconds]
iamjarvo_ has joined #ruby
<mostlybadfly> benzrf: :)
<benzrf> RedNifre: egg files
<benzrf> RedNifre: and idk if they copied those
<benzrf> RedNifre: maybe
atno has quit [Ping timeout: 260 seconds]
<cout> but python eventually adopted ruby's object model, added yield, has experimented with all sorts of ideas to facilitate writing DSLs, etc
<benzrf> RedNifre: anyway theyre switching to wheel files
<benzrf> cout: no they did notbrent__
<benzrf> *not
<benzrf> cout: py's object model is v. different from ruby's
DouweM has joined #ruby
<benzrf> in fact it is closer to JS
petey has quit [Ping timeout: 250 seconds]
<benzrf> and I do not think yield is from ruby
<benzrf> it doesn't do anything even close to similar
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> RedNifre: Python violates Tennet's Correspondence Principle and Ruby doesn't. Wycatz gave a great talk on "Why Ruby isn't Python", but it is hard to find a link to it these days.
<havenwood> RedNifre: Ruby having blocks is reason enough alone to forsake the snake.
<cout> benzrf: of course python's yield works differently under the hood, because they had to shoehorn it into their existing iterators
whysosad has quit [Ping timeout: 246 seconds]
<cout> benzrf: but the entire impetus behind adding it was a direct result of ruby's popularity
fuhgeddaboudit has quit [Ping timeout: 240 seconds]
<havenwood> RedNifre: They serve a very similar role. I think pick your poison. I very much prefer Ruby.
Elhu has joined #ruby
fuhgeddaboudit has joined #ruby
amedeiros has joined #ruby
<benzrf> cout: what
momomomomo has quit [Quit: momomomomo]
<benzrf> cout: the semantics are entirely different from what it does in ruby
<benzrf> cout: the name is the only thing that's the same
<RedNifre> I guess I know way too little about both languages, so I'll stick to ruby for now because I encountered it first :)
Guest97462 has quit [Quit: Leaving]
amedeiros is now known as Guest98250
<benzrf> cout: yield in ruby yields control to the block passed in, while yield in python yields control to the caller
<RedNifre> How does python have yield but not blocks? I only use yield to execute a block, what does it do if you don't have blocks?
petey has joined #ruby
atno has joined #ruby
<benzrf> RedNifre: it's a completely different thing
<benzrf> RedNifre: [in python]
<cout> benzrf: and python's object model is nothing like JS/self. it's a single-inheritance-faking-multiple-inheritance model (if you look at how super works in the case of the diamond pattern)
Kayzon has joined #ruby
lmmx has quit [Quit: Page closed]
<benzrf> cout: excuse me? what does MI have to do with it not being like JS.
<benzrf> *?
<cout> benzrf: sorry, I don't have time to argue about this with you.
iamjarvo_ has quit [Ping timeout: 240 seconds]
asteros has quit [Quit: asteros]
* trolling detected
<benzrf> lol
joofsh has joined #ruby
Zai00 has joined #ruby
<benzrf> trolling: (y)
RaCx has joined #ruby
mjs2600_ has quit [Remote host closed the connection]
jkhwan has quit [Remote host closed the connection]
banister has joined #ruby
mmcdaris has joined #ruby
CorySimmons has joined #ruby
jkhwan has joined #ruby
<RedNifre> Has anyone ever written a serious ruby app in android, ever? I asked the Ruboto mailing list for an example, but didn't get an answer.
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
<CorySimmons> Hey guys, anyone care to help me debug this bit of code? I can't see what I'm doing wrong.. http://pastebin.com/BfhpXWqz
<CorySimmons> RedNifre: No but I'm a newb ;)
<RedNifre> (I'm asking because I just started an Android app, but encountered ruby in the past weeks and already love it way more than Java, but I wonder how feasible it is for actual apps. (The ruboto people say "It's perfect!", but I'd like to see a serious app first))
<CorySimmons> I didn't even realize you could interchange languages for app dev
<CorySimmons> Native app dev anyway
<CorySimmons> I thought you were restricted to Java because of the Android SDK?
Kricir has quit [Ping timeout: 265 seconds]
jkhwan_ has joined #ruby
<havenwood> CorySimmons: Android requires a JVM language, so JRuby.
Ibuprofen has joined #ruby
<CorySimmons> Ah I see
<havenwood> CorySimmons: Java, Scala, Clojure, JRuby all have good support for Android afaik.
RaCx has quit [Ping timeout: 246 seconds]
jkhwan has quit [Read error: Connection reset by peer]
<Ibuprofen> I'd like to call a grape API endpoint in a rails view/helper, has anyone done this? Or know how to go about calling the endpoint without making the request?
<RedNifre> Yeah, Ruboto is basically JRuby plus an Android API.
RaCx has joined #ruby
<benzrf> /c/c
ahawkins has quit [Ping timeout: 265 seconds]
LiohAu has quit [Ping timeout: 250 seconds]
wildroman2 has quit [Ping timeout: 246 seconds]
ElasticElephant has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
sng|afk is now known as synergy_
jkhwan_ has quit [Remote host closed the connection]
<CorySimmons> havenwood: Is there something similar for iPhone?
tsykoduk is now known as zz_tsykoduk
<havenwood> CorySimmons: MobiRuby and RubyMotion
dhruvasagar has quit [Ping timeout: 272 seconds]
jkhwan has joined #ruby
louism2wash has joined #ruby
timonv has quit [Remote host closed the connection]
<RedNifre> Yes, Apple lifted their interpreted language ban, luckily.
benzrf has left #ruby [#ruby]
RoryHughes has quit []
interactionjaxsn has quit [Remote host closed the connection]
gianlucadv has joined #ruby
mojjojo has quit [Quit: mojjojo]
RoryHughes has joined #ruby
jkhwan_ has joined #ruby
<havenwood> RubyMotion is actually based on Apple's creation, MacRuby, which compiles Ruby to the equivalent Objective-C. MacRuby comes preinstalled on all Macs.
petey has quit [Remote host closed the connection]
valesk has joined #ruby
jkhwan has quit [Read error: Connection reset by peer]
<havenwood> MobiRuby on the other hand uses mruby.
<havenwood> In the future MobiRuby should work on iOS and Android.
RaCx has quit [Quit: Computer has gone to sleep.]
<havenwood> Yay for mruby!! FRIDAY \o/
<RedNifre> Do you guys use IDEs? I heard the rumor that most ruby developers only use enhanced text editors, which I find a bit surprising.
<havenwood> RedNifre: A terminal and text editor. :)
<CorySimmons> So you can do mobile app development straight from one Ruby package? :\
relix has joined #ruby
<CorySimmons> And get it native?
teoric has joined #ruby
<CorySimmons> *package = app
<havenwood> CorySimmons: mruby is what Matz, the creator of Ruby is now working on - really neat stuff
wildroman2 has joined #ruby
<havenwood> CorySimmons: can run on the metal without an OS, or be embedded in another language
jchristi has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
phipes has quit []
<havenwood> CorySimmons: So now you can run Ruby on your toaster. And a nice alternative to Lua for embedding in games, etc.
phipes has joined #ruby
maletor has joined #ruby
joofsh has quit []
brennanMKE has quit [Read error: Connection reset by peer]
zz_tsykoduk is now known as tsykoduk
duggiefresh has joined #ruby
p4d4w4n has joined #ruby
rumours has joined #ruby
<s2013> doesnt rubymotion work for ios havenwood n
xk_id has quit [Quit:
nwertman has quit [Ping timeout: 272 seconds]
<havenwood> s2013: yes
DanBoy has joined #ruby
<s2013> have you used it?
<havenwood> s2013: compiles to obj-c, so iOS and OS X - nope, i've never done a mobile app
<s2013> oh ok
<s2013> i dont know if i should learn rubymotion or contiue learning objective-c
kirun has joined #ruby
<s2013> since im more familiar with ruby
gyre007 has quit [Ping timeout: 272 seconds]
<Dreamer3> https://github.com/silentgrowl/isis/blob/master/plugins/isup/isup.rb how can this work? isn't domain a local variable to scrape?
tylershipe has quit [Remote host closed the connection]
tylershipe has joined #ruby
DouweM has quit [Quit: Leaving...]
nhhagen has joined #ruby
rjhunter has joined #ruby
ner0x has joined #ruby
<havenwood> CorySimmons: Here's a fizz buzz example in mruby that compiles the fizzbuzz.rb to an Array of C byte code, then a little C wrapper in fizzbuzz.c, compile that and you've got a fizz buzz that runs without a Ruby interpreter: https://github.com/havenwood/mruby-fizzbuzz
<havenwood> >.>
divi_ has joined #ruby
dangerousdave has joined #ruby
<DanBoy> Dreamer3, domain = @commands[1]
iliketur_ has joined #ruby
<DanBoy> the whole class has access to instance variables
Al__ has quit [Quit: Al__]
RaCx has joined #ruby
JBlazeCoder21 has quit [Remote host closed the connection]
bauerbob has quit [Quit: Page closed]
<havenwood> Ibuprofen: The Grape API is running on the same server? Can you just make the request to the socket Grape is running on? You've got to communicate between the two processes somehow.
tylershipe has quit [Ping timeout: 250 seconds]
rjhunter has quit [Ping timeout: 240 seconds]
nhhagen has quit [Ping timeout: 260 seconds]
decoponio has quit [Quit: Leaving...]
dangerousdave has quit [Client Quit]
<havenwood> RedNifre: TextMate 2 with zsh and Pry is the setup I like. Sublime Text is popular though as a cross platform editor (TM is OS X only).
Yan__ has joined #ruby
<DanBoy> i gotta try zsh now
<Dreamer3> DanBoy: but domain is a local variable
burlyscudd has joined #ruby
<Dreamer3> my question is how does domain work inside response_html
<havenwood> DanBoy: I like it, i'm lazy and forgetful and it helps mitigate the damage. :P
Lewis has quit [Remote host closed the connection]
<Ibuprofen> havenwood: The grape API is mounted in the same codebase as the rails app. I guess they are in the same process?
brennanMKE has joined #ruby
<DanBoy> you're sure the code actually works
<RedNifre> Can TextMate/sublime tell me where in the project I call a particular method? What about IntelliJ for ruby?
<DanBoy> Dreamer3,
<Ibuprofen> I'm really just trying to bootstrap backbone models via the API
<havenwood> Ibuprofen: Oh, i totally misunderstood.
nobitanobi has joined #ruby
failshel_ has joined #ruby
<Dreamer3> DanBoy: nope but it's committed to github :) i've only read it so far
amacgregor has joined #ruby
hbs has joined #ruby
Jetchisel has joined #ruby
<havenwood> RedNifre: That is were Pry comes in. Pry is quite powerful: http://pryrepl.org/
kpshek has quit [Ping timeout: 265 seconds]
l3ck has joined #ruby
<RedNifre> I can't even estimate how much I don't know about ruby.
<havenwood> RedNifre: I'd recommend trying the Ruby REPL-based approach before you fall back on an IDE.
aspires has quit []
<RedNifre> I mean, the language is nice and I think I understand the basics, but there seems to be an infinite amount of stuff in the ecosystem that you should know about if you want to work efficiently.
kpshek has joined #ruby
phipes has quit [Read error: Connection reset by peer]
asteros has joined #ruby
jkhwan_ has quit [Remote host closed the connection]
<havenwood> RedNifre: If you must ide, i think RubyMine is one of the more popular ones. You should be able to get a free demo version.
<DanBoy> you mean gems?
Elhu has quit [Quit: Computer has gone to sleep.]
asteros has quit [Remote host closed the connection]
jkhwan has joined #ruby
asteros has joined #ruby
klaut has joined #ruby
<havenwood> RedNifre: The Ruby Toolbox can be helpful in finding gems: https://www.ruby-toolbox.com/
failshe__ has joined #ruby
failshell has quit [Ping timeout: 272 seconds]
phipes has joined #ruby
Kayzon has quit [Read error: Connection reset by peer]
interactionjaxsn has joined #ruby
failshel_ has quit [Read error: Connection reset by peer]
<DanBoy> Dreamer3, i have no idea
<DanBoy> RedNifre, i also use sublime and a terminal
<DanBoy> a friend of mine uses ruby mine though
<burlyscudd> RedNifre: RubyMine is absolutely invaluable for larger codebases
<DanBoy> it looks good
<Hanmac> CorySimmons & havenwood you can run mruby in your efi shell
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
<burlyscudd> my whole team went to it slowly
sambao21 has quit [Quit: Computer has gone to sleep.]
<havenwood> Hanmac: that is just nuts ;)
<burlyscudd> if you like Vim, the IdeaVIM plugin is a must
jkhwan has quit [Read error: Connection reset by peer]
<RedNifre> Thanks, I'll check those :)
mary5030 has quit [Read error: Operation timed out]
jkhwan has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
<burlyscudd> i love vim, i love my plugins — and I have *no idea* why people hate on IDEs in the Ruby world. RubyMine is an unbelievably powerful tool. Well worth the price.
RaCx has quit [Quit: Computer has gone to sleep.]
<Hanmac> RedNifre: "IntelliJ for ruby" can only be incomplete, because ruby is very dynamic, not like C++
Astralum has joined #ruby
<burlyscudd> RedNifre: RubyMine can find all usages very easily, yes
kpshek has quit [Ping timeout: 240 seconds]
angusigu1ss has joined #ruby
<burlyscudd> obviously Ruby itself makes this hard in some scenarios
g3orge has joined #ruby
CorySimmons has quit [Quit: Leaving.]
RedNifre has quit [Quit: Leaving]
l3ck has quit [Quit: Leaving...]
havenwood has quit [Remote host closed the connection]
RubNoob has joined #ruby
dayepa has quit [Ping timeout: 246 seconds]
jacobsmith has joined #ruby
Guest98250 is now known as amedeiros
mlpinit has quit [Quit: Leaving...]
mlpinit has joined #ruby
ewnd9 has quit [Ping timeout: 246 seconds]
agjacome has quit [Ping timeout: 245 seconds]
<shevy> Hanmac how did you learn C++
kindjal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Sawbones has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
omorodion has joined #ruby
angusigu1ss has quit [Ping timeout: 260 seconds]
thelorax123 has quit [Remote host closed the connection]
synergy_ is now known as sng|afk
iliketur_ has quit [Quit: zzzzz…..]
BobSchack has left #ruby [#ruby]
havenwood has joined #ruby
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
petey has joined #ruby
<Hanmac> shevy: while my education as IT programmer i learned C and also C++
gverri_ has joined #ruby
dayepa has joined #ruby
gverri_ has quit [Max SendQ exceeded]
thelorax123 has joined #ruby
louism2wash has quit [Quit: This computer has gone to sleep]
mmcdaris has quit [Quit: mmcdaris]
omorodion has left #ruby [#ruby]
* apeiros is happy and he knows *claps his hands*
<apeiros> drats, how can I mess that one up?
* apeiros is happy and he knows it *claps his hands*
<pontiki> it's not the hokey-pokey
vky has quit [Ping timeout: 240 seconds]
<apeiros> I got 4 weeks of holidays
p4tux has quit [Remote host closed the connection]
<apeiros> that's already awesome
p4tux has joined #ruby
<apeiros> but even more awesome - after those 4 weeks, I still have >50 days left
<pontiki> wow! \o/
Nogbit|2 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Nogbit has joined #ruby
ahawkins has joined #ruby
nari has quit [Ping timeout: 264 seconds]
<shevy> swiss paradise
sambao21 has joined #ruby
<shevy> AND schokli on top of that :(
Baluse has joined #ruby
<apeiros> I hope I'll work quite a bit on FOSS
iliketur_ has joined #ruby
Yan__ has quit [Ping timeout: 246 seconds]
jokke1 has quit [Quit: WeeChat 0.4.2]
<Baluse> hello does ruby server eg run only 4 proccess of ruby meaning 4 ruby requests parallel?
* Hanmac can clap with one hand
breakingthings has quit []
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jokke1 has joined #ruby
virtualize has joined #ruby
<shevy> Hanmac you are crazy
<shevy> Baluse what is a "ruby server"?
<burlyscudd> Hanmac: that's zen
<havenwood> Baluse: Each of the four processes could have 12 threads and each thread could have an event machine. Totally depends how you do it, there are many options that combine forking, threading and evented-io.
<Baluse> container i mean whaever
<Hanmac> shevy: you cant prove that! ;P
<Baluse> ok because they told me oonly 4
<burlyscudd> lol
<burlyscudd> "and for some raeson it was bug"
Methylated has quit [Read error: Connection reset by peer]
mikesplain1 has joined #ruby
Lewis has joined #ruby
virtualize has quit [Client Quit]
mikesplain has quit [Read error: Operation timed out]
rezzack has joined #ruby
jkhwan has quit [Remote host closed the connection]
omorodion has joined #ruby
<omorodion> hello
<burlyscudd> omorodion: ohai
jkhwan has joined #ruby
<havenwood> Baluse: Check out this talk on Unicorn by Jesse Storimer: http://www.confreaks.com/videos/1289-rubyconf2012-grow-your-unix-beard-using-ruby
saarinen has quit [Quit: saarinen]
<havenwood> Baluse: Great introduction to Ruby web servers, in particular Unicorn ^
<havenwood> Baluse: But the first question is which Ruby webserver, they're all different. Unicorn, Thin, Puma, Reel-Rack, Webrick, Passenger, etc.
timonv has joined #ruby
<h0rrorvacui> Jessie Storimer's books are great too
<omorodion> hello
jkhwan_ has joined #ruby
<havenwood> h0rrorvacui: totally agree!
<havenwood> omorodion: hiya
<h0rrorvacui> I think they are some of my favorite programming books of all time
araujo has quit [Ping timeout: 250 seconds]
Bira_ has joined #ruby
<h0rrorvacui> Just because they are so minimal
<omorodion> am ok and u
jbpros has joined #ruby
jkhwan has quit [Read error: Connection reset by peer]
nobitanobi has quit [Read error: Connection reset by peer]
binaryplease has quit [Ping timeout: 272 seconds]
dhruvasagar has joined #ruby
saarinen has joined #ruby
tylershipe has joined #ruby
<havenwood> Baluse: Unicorn (forking), Thin (evented), Puma (threading), Reel-Rack (actors), Webrick (in Ruby stdlib), Passenger (has an Apache and Nginx module option)
CorySimmons has joined #ruby
angelixd_ is now known as angelixd
<h0rrorvacui> I imagine since 2.0 is COW safe Unicorn might be more useful no?
<havenwood> Baluse: But you can for example use Rainbows!, which adds threading or evented-io on top of Unicorn. Or run Puma in multiple processes. Etc.
Yan__ has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
<havenwood> h0rrorvacui: Well, 2.0 is CoW friendly, but 2.1 isn't. :P
<h0rrorvacui> what really?
<h0rrorvacui> why??
mikesplain1 has quit [Ping timeout: 240 seconds]
<h0rrorvacui> I guess I should read the articles on the new GC
clamstar has joined #ruby
<omorodion> who is wit me
<havenwood> h0rrorvacui: 1.9 was a simple mark and sweep, so the marking was unfriendly to copy on write. 2.0 switched to a bitmap mark and sweep, so the bitmap contained the mark making it CoW friendly. With 2.1 Ruby goes to a more sophisticated generational garbage collector that again isn't CoW friendly.
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Bira has quit [Ping timeout: 272 seconds]
<pontiki> what does "grow your unix beard" mean?
kofno_ has quit [Ping timeout: 246 seconds]
<h0rrorvacui> Yeah I was looking for that
<h0rrorvacui> I saw that on the ruby feeds
araujo has joined #ruby
nari has joined #ruby
<h0rrorvacui> ty havenwood
p4d4w4n has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
mikesplain2 has joined #ruby
yfeldblum has joined #ruby
<pontiki> havenwood: ok, unclear what I'm supposed to make of that
Kricir has joined #ruby
RaCx has joined #ruby
<havenwood> pontiki: So unix hackers are sometimes called n
<havenwood> "neckbeards"
Cork has quit [Quit: .]
<omorodion> +2348063124058
<havenwood> pontiki: So growing your unix beard is like leveling up your unix skills.
momomomomo has joined #ruby
<pontiki> i see
atno has quit [Ping timeout: 240 seconds]
<pontiki> they all want to emulate RMS?
<havenwood> pontiki: that.
Cork has joined #ruby
agjacome has joined #ruby
tsykoduk is now known as zz_tsykoduk
jlast has joined #ruby
<h0rrorvacui> lol RMS wasn't the first neckbeard
<h0rrorvacui> but that works
<omorodion> omos
mikesplain3 has joined #ruby
<h0rrorvacui> https://upload.wikimedia.org/wikipedia/commons/3/36/Ken_n_dennis.jpg these two are my neckbeard idols
xorgnak has joined #ruby
atno has joined #ruby
nari has quit [Ping timeout: 240 seconds]
randomnick_ has quit [Read error: Connection reset by peer]
banister has joined #ruby
reset has joined #ruby
jacobsmith has quit [Ping timeout: 250 seconds]
nixie has joined #ruby
mikesplain2 has quit [Ping timeout: 250 seconds]
capicue has quit [Quit: Leaving...]
axl_ has joined #ruby
carraroj has joined #ruby
carraroj has quit [Client Quit]
Lewis has quit [Remote host closed the connection]
matheuscaceres has quit [Quit: matheuscaceres]
Zai00 has quit [Quit: Zai00]
matheuscaceres has joined #ruby
carraroj has joined #ruby
zz_tsykoduk is now known as tsykoduk
breakingthings has joined #ruby
xk_id has joined #ruby
<shevy> how
<shevy> do
<shevy> you
phil_b has joined #ruby
<shevy> find
<shevy> these
<shevy> things...
<omorodion> u mean
iliketur_ has quit [Quit: zzzzz…..]
shime has joined #ruby
echevemaster has joined #ruby
petey has quit [Remote host closed the connection]
burlyscudd has quit [Quit: Leaving.]
maasha has joined #ruby
niklasb has quit [Ping timeout: 264 seconds]
randomenduser has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
mbreedlove has joined #ruby
mikesplain4 has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
phantummm has quit [Quit: phantummm]
iamjarvo_ has joined #ruby
ambushsabre has joined #ruby
Yan__ has quit [Ping timeout: 260 seconds]
nhhagen has joined #ruby
rjhunter has joined #ruby
geekbri has joined #ruby
lnormous has joined #ruby
mikesplain3 has quit [Ping timeout: 252 seconds]
acrussell has quit [Quit: Leaving.]
mmcdaris has joined #ruby
<Hanmac> shevy: i was looking in the recent new of the "webcomic section"
wildroman2 has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mmcdaris has quit [Client Quit]
aasirc has joined #ruby
wildroman2 has joined #ruby
mmcdaris has joined #ruby
CorySimmons has quit [Quit: Leaving.]
carraroj has joined #ruby
petey has joined #ruby
rjhunter has quit [Ping timeout: 241 seconds]
nhhagen has quit [Ping timeout: 250 seconds]
Zai00 has joined #ruby
jonathanwallace has joined #ruby
axl_ has joined #ruby
jchristi has quit [Ping timeout: 260 seconds]
geekbri has quit []
carraroj has quit [Client Quit]
timonv has quit [Remote host closed the connection]
ahawkins has quit [Read error: Connection reset by peer]
p4d4w4n has quit [Quit: This computer has gone to sleep]
wildroman2 has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
petey has quit [Remote host closed the connection]
kpshek has joined #ruby
carraroj has joined #ruby
paul_k_ has joined #ruby
dawkirst has quit [Ping timeout: 245 seconds]
jkhwan_ has quit [Remote host closed the connection]
omorodion has left #ruby [#ruby]
jkhwan has joined #ruby
<lnormous> Is there a way to pass options to a module with extend?
maasha has quit [Ping timeout: 250 seconds]
sambao21 has joined #ruby
Yan__ has joined #ruby
mojjojo has joined #ruby
paul_k_ has quit [Client Quit]
<Hanmac> lnormous: no
isec has joined #ruby
kh019267 has quit [Ping timeout: 246 seconds]
nixie has quit [Ping timeout: 246 seconds]
failshe__ has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 240 seconds]
jbpros has quit [Quit: jbpros]
failshell has joined #ruby
failshell has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
jkhwan has quit [Ping timeout: 272 seconds]
Lewis has joined #ruby
robbyoconnor has quit [Ping timeout: 272 seconds]
isec has quit [Remote host closed the connection]
angusigu1ss has joined #ruby
isec has joined #ruby
mmcdaris has left #ruby [#ruby]
mojjojo has quit [Client Quit]
mercwithamouth has quit [Ping timeout: 272 seconds]
davy_ has quit [Remote host closed the connection]
jbpros has joined #ruby
jbpros has quit [Client Quit]
onewheelskyward has quit [Ping timeout: 245 seconds]
phantummm has joined #ruby
jonathanwallace has quit [Ping timeout: 240 seconds]
jbpros has joined #ruby
jbpros has quit [Client Quit]
brianb_ has joined #ruby
onewheelskyward has joined #ruby
zoo-zed has quit [Quit: Leaving.]
<brianb_> Hello all. Is it possible to implement a method with a syntax similar to Array#[]=? I've tried but it's not going as planed. =)
<brianb_> And by syntax, I guess I mean method signature.
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
colonolGron has joined #ruby
angusigu1ss has quit [Ping timeout: 240 seconds]
<Hanmac> brianb_ what did you tryed yet?
<brianb_> def at=(index, value); @some_array[index]=value; end
<brianb_> it's syntactic sugar on my class, but I was surprised to get a syntax error.
<Hanmac> stupid quetion: "why not this?" def []=(index, value);@some_array[index]=value; end
vky has joined #ruby
vky has quit [Remote host closed the connection]
<canton7> what syntax error? the but you pasted is fine, syntactically
<brianb_> I just preferred how the at method read when used.
<canton7> *bit
<brianb_> Like I said, sugar.
<brianb_> I think I see the problem now...
<brianb_> I've got a reader for this array too. def at(index); @some_array; end
goshakkk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jchristi has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
veduardo has joined #ruby
petey has joined #ruby
<brianb_> I think it's trying to use the reader and not the setter.
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
coffeina has joined #ruby
<canton7> how are you calling it?
dkamioka has quit [Remote host closed the connection]
<brianb_> No, not using the reader. (Just commented it out.) canton7, let me put together a gist. Thanks.
<MrZYX> brianb_: make a gist with full code and error messages you get
<Hanmac> brianb_: at=(val) works, but not at=(index,val) you want to name the method "[]="
<canton7> calling #at=(arg, arg) will give a syntax error, yeah. you'll have to use #send(:'at=', arg, arg) :P
dkamioka has joined #ruby
<brianb_> canton7: here's my gist https://gist.github.com/bbuchalter/7831480
clevermatt has quit [Remote host closed the connection]
<brianb_> canton7: of real? so that means []= is special?
<brianb_> on, no I'm not using #at=(arg, arg)
<brianb_> I'm using #at(arg) = arg
<brianb_> but I guess I see how that is different from [arg] = arg
mercwithamouth has joined #ruby
<canton7> brianb_, so you're calling .at(arg), then trying to assign to that.... and syntax error
<brianb_> which means [] is kind of special
<brianb_> yeah, i can see that now
<brianb_> hmmmmm
teoric has quit [Ping timeout: 246 seconds]
<brianb_> ok, that's clear now. thanks
Lewis has quit [Remote host closed the connection]
almarshall has quit [Quit: almarshall]
<canton7> well, the syntax 'class.method = foo' and 'class.method[3] = foo' are special - they're specifically mapped to the methods '#method=' and '#[]='
postmodern has joined #ruby
hbs has left #ruby [#ruby]
amedeiros has quit [Ping timeout: 265 seconds]
pzula has joined #ruby
<apeiros> in the case of `class.method[3] = foo`, the []= method is invoked on the result of `class.method`
nwertman has joined #ruby
<canton7> yeah, I glossed over that :P
mjs2600_ has joined #ruby
phansch has quit [Quit: Leaving]
schaerli has joined #ruby
eka has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
skaflem has quit [Quit: Leaving]
RaCx has joined #ruby
asteros has quit [Quit: asteros]
sambao21 has quit [Quit: Computer has gone to sleep.]
iliketur_ has joined #ruby
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
dreamchaser has quit [Quit: ZNC - http://znc.in]
mjs2600_ has quit [Remote host closed the connection]
magoo has quit [Ping timeout: 250 seconds]
Yan__ has quit [Ping timeout: 260 seconds]
wildroman2 has joined #ruby
dreamchaser has joined #ruby
dreamchaser has joined #ruby
dreamchaser has quit [Changing host]
ahawkins has joined #ruby
capicue has joined #ruby
shedd has quit [Remote host closed the connection]
tannerburson has quit [Quit: tannerburson]
brennanMKE has quit [Ping timeout: 240 seconds]
SHyx0rmZ has joined #ruby
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
xorgnak has quit [Ping timeout: 246 seconds]
amedeiros has joined #ruby
nfk has quit [Client Quit]
Lewix has joined #ruby
amedeiros is now known as Guest53567
petey has quit [Remote host closed the connection]
petey has joined #ruby
p4tux has quit [Remote host closed the connection]
brianb_ has quit [Quit: brianb_]
onewheelskyward has quit [Quit: ZNC - http://znc.in]
mojjojo has joined #ruby
onewheelskyward has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
brianb_ has joined #ruby
tylersmith has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
brianb_ has quit [Client Quit]
nfk has joined #ruby
petey_ has joined #ruby
CorySimmons has joined #ruby
petey has quit [Read error: Connection reset by peer]
<CorySimmons> Hey guys, I don't understand why this isn't working: Proposal.create(proposal_data: File.read(path))
pragmatism is now known as pragmatism|away
metallisto has quit [Ping timeout: 264 seconds]
<CorySimmons> I'd expect it to read the path I've provided
<CorySimmons> But it doesn't actually write the data to the db
<CorySimmons> (there's string data in 'path' btw)
capicue has quit [Quit: Leaving...]
<CorySimmons> This works: Proposal.create(proposal_data: YAML.dump(YAML.load(File.read(path)))) (the files are yml)
carraroj has quit [Ping timeout: 246 seconds]
<CorySimmons> But I figure since I'm just accessing a file that it's readable right?
drag00n has quit [Read error: Operation timed out]
mojjojo has quit [Client Quit]
<apeiros> define "not working"
onewheelskyward has quit [Client Quit]
<CorySimmons> not writing any data to the db
<apeiros> you're leaving out a lot of information
<apeiros> why should it write to the db?
onewheelskyward has joined #ruby
davy has joined #ruby
timonv has joined #ruby
petey_ has quit [Remote host closed the connection]
<CorySimmons> Well, for instance, this works: Proposal.create(proposal_data: YAML.dump(YAML.load(File.read(path))))
<apeiros> *sob*
petey has joined #ruby
nfk has quit [Client Quit]
<CorySimmons> But when I try to take out the YAML gem stuff and just skip directly to File, it doesn't write to the db like the YAML line above does
<apeiros> I assume your `Proposal` class is an AR model? (this is not #rubyonrails btw.)
<CorySimmons> Sorry, long day..
<CorySimmons> Yes it is.
<CorySimmons> Whoa! #rubyonrails !!
<apeiros> important. tell that next time.
metallisto has joined #ruby
<CorySimmons> Was going to #rails!
<CorySimmons> thought it was dead
dkamioka has quit [Remote host closed the connection]
<apeiros> yeah, #rails is useless.
<CorySimmons> hahah
<CorySimmons> omfg
<apeiros> also not the official channel.
<CorySimmons> Ah, that's so nice.
tylershipe has quit [Remote host closed the connection]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
tylershipe has joined #ruby
mary5030 has joined #ruby
<CorySimmons> Thanks. Later guys
pragmatism|away is now known as pragmatism
asteros has joined #ruby
mjs2600_ has joined #ruby
petey has quit [Ping timeout: 246 seconds]
nhhagen has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
randomnick_ has joined #ruby
rjhunter has joined #ruby
tylershipe has quit [Ping timeout: 240 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
iliketur_ has joined #ruby
<shevy> MORE CODE
<shevy> code faster! code more!
aspires has joined #ruby
<shevy> CorySimmons btw YAML.load_file is easier than YAML.load File.read
Leighton has joined #ruby
<apeiros> #ruby now has more than twice as many people as #rubyonrails
<shevy> hmmm
<shevy> why the decline in #rubyonrails?
<CorySimmons> shevy: Thanks
LiohAu has joined #ruby
<LiohAu> anybody knows if it is possible with RubyMine to get an autocompletion of external libraries?
Guest53567 has quit [Ping timeout: 260 seconds]
jle` has quit [Ping timeout: 272 seconds]
<CorySimmons> Bleh rubyonrails is useless
<CorySimmons> Can I pretend this is a ruby problem? :)
nhhagen has quit [Ping timeout: 252 seconds]
rjhunter has quit [Ping timeout: 246 seconds]
<apeiros> `YAML.dump(YAML.load_file(path)) == File.read(path)` what does that return?
Tuxist has joined #ruby
<apeiros> also, what queries are emitted by your two different creates?
carraroj has joined #ruby
CorySimmons has quit [Quit: Leaving.]
g3orge has quit [Quit: WeeChat 0.4.2]
CoderCR has joined #ruby
Kricir has joined #ruby
capicue has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
CoderCR has quit [Remote host closed the connection]
sambao21 has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
<havenwood> Looks like Cory left, but Yaml.load uses $LOAD_PATH and File.read uses Dir.pwd, so not suprizing
capicue has quit [Client Quit]
<apeiros> what?
<apeiros> YAML.load uses a plain string, how'd that use $LOAD_PATH? :)
<havenwood> apeiros: i mean it checks for the file to load in $LOAD_PATH
<havenwood> apeiros: Like this works: Psych.load 'coderay'
sambao21 has quit [Quit: Computer has gone to sleep.]
yjmsf20_ has joined #ruby
<havenwood> apeiros: But this doesn't: File.read 'coderay'
<apeiros> errr, no?
tsykoduk is now known as zz_tsykoduk
zz_tsykoduk is now known as tsykoduk
<apeiros> YAML.load accepts a plain yaml serialized string
<apeiros> that has absolutely nothing to do with $LOAD_PATH
<apeiros> >> require 'yaml'; YAML.load("---\n:a: 1\n")
<eval-in_> apeiros => (https://eval.in/76892)
<havenwood> apeiros: oh, good point - i was conflating
<Hanmac> havenwood: wrong >>> def self.load_file filename; File.open(filename, 'r:bom|utf-8') { |f| self.load f, filename }; end
<apeiros> and YAML.load_file doesn't use $LOAD_PATH either afaik
<apeiros> what's wrong with eval-in? o0
<havenwood> apeiros: I was equivocating between Psych#load and YAML#load, my mistake.
l3ck has joined #ruby
xcv has joined #ruby
<apeiros> ok
<Hanmac> apeiros: some stuff in stdlib cant be loaded by evalin ... i need to check that with charlie (i mean i pipe the request)
<postmodern> what was that joke project, that corrected typos on the fly for you using method_missing and Hamming codes?
allsystemsarego has quit [Quit: Leaving]
saarinen has quit [Quit: saarinen]
<Hanmac> i am still a bit angry that ri cant find YAML.load ...
<postmodern> "let's you be yourself while coding"
CorySimmons has joined #ruby
CorySimmons has quit [Client Quit]
<postmodern> havenwood, yes!
kindjal has joined #ruby
jkhwan has joined #ruby
mansi has quit [Read error: Connection reset by peer]
caesura has joined #ruby
obs has joined #ruby
mansi has joined #ruby
Bira_ has quit []
axl_ has joined #ruby
gianlucadv has quit [Ping timeout: 260 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
ambushsabre has joined #ruby
tsykoduk is now known as zz_tsykoduk
RaCx has joined #ruby
schaerli has quit [Remote host closed the connection]
RaCx has quit [Client Quit]
mark_locklear has quit [Quit: Leaving]
<shevy> Hanmac ri should die
RaCx has joined #ruby
RaCx has quit [Remote host closed the connection]
jkamenik has quit [Quit: Leaving.]
weems has joined #ruby
RaCx has joined #ruby
RaCx has quit [Remote host closed the connection]
<Hanmac> they! ri is not that bad
RaCx has joined #ruby
pu22l3r has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
<Dreamer3> Radar: what would you use to write the bot these days?
<Dreamer3> you have a ruby lib for IRC you really like?
mjs2600_ has quit [Remote host closed the connection]
pu22l3r has joined #ruby
Czupa has quit [Quit: Wychodzi]
three18ti has quit [Ping timeout: 245 seconds]
mmitchell has quit [Remote host closed the connection]
three18ti has joined #ruby
werdnativ has joined #ruby
RaCx has quit [Ping timeout: 250 seconds]
lkba has quit [Ping timeout: 246 seconds]
<werdnativ> I'm trying ruby 2.1.0dev (2013-11-23 trunk 43807) [x86_64-darwin11.0] with frozen strings:
pu22l3r has quit [Ping timeout: 240 seconds]
<werdnativ> in irb >> "bar"f is a syntax error. Is it a bug?
<havenwood> werdnativ: They've changed the syntax from "bar"f to "bar".freeze
<werdnativ> oh! thanks.
<havenwood> werdnativ: np :)
<werdnativ> I assume that still saves on the object allocation, etc?
hiyosi has quit [Ping timeout: 250 seconds]
b00stfr3ak has quit [Ping timeout: 260 seconds]
klaut has quit [Remote host closed the connection]
mjs2600_ has joined #ruby
<Dreamer3> "bar"f
<Dreamer3> yuck
xcv has quit [Remote host closed the connection]
<havenwood> Dreamer3: barf
TunnelSnakesRule has quit [Quit: Leaving]
<werdnativ> yeah, I didn't like the "X"f syntax much either.
<havenwood> werdnativ: same behavior, nice syntax
xcv has joined #ruby
ElasticElephant has joined #ruby
petey has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
<werdnativ> awesome. So it'll work with ?X.freeze syntax too, because ?Xf wasn't working. :D
<tjbiddle> Ruby's logger doesn't seem to be including stderr, only stdout - is there a way to change this?
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
Kricir has quit [Ping timeout: 246 seconds]
<MrZYX> tjbiddle: like Logger.new(STDERR) ?
xcv has quit [Ping timeout: 240 seconds]
petey has quit [Ping timeout: 246 seconds]
<tjbiddle> MrZYX: No - I believe that would *write* to STDERR, no? I want the out put of a system call to file, but include both it's STDERR and STDOUT output
<tjbiddle> Just realized how redundant that sentence is :p
carraroj has quit [Quit: Konversation terminated!]
awestroke has quit [Remote host closed the connection]
<MrZYX> hmm, I guess I'd just 2>&1 in the command to save the hassle of going through stuff like popen
carraroj has joined #ruby
Ibuprofen has left #ruby [#ruby]
<werdnativ> Crazy thought: why not make 'single' quoted strings freeze, and "double" quoted strings mutable? Totally backward incompatible, but why not?
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
<tjbiddle> MrZYX: Already doing such - Tried with both 2>&1 and 1>&2 in-case my assumptions were incorrect. I'll keep playing around though.
<MrZYX> do you have a minimal example that I could run?
petey has joined #ruby
beneggett has joined #ruby
tanema has quit []
aryaching has joined #ruby
<MrZYX> werdnativ: because then you can't save that sub microseconds while defining your mutable strings that don't need interpolation ;)
funburn has joined #ruby
kobain has quit []
clevermatt has joined #ruby
<tjbiddle> MrZYX: Not particularly - I'm running ` project.logger.info(`dpkg-buildpackage -us -uc 1>&2`) ` currently (project.logger is this: https://gist.github.com/thomasbiddle/9b0c2f55ef5c98d406b6 ) but unless you have a folder structure that dpkg-buildpackage will like that won't get you too far :-)
mercwithamouth has joined #ruby
<havenwood> werdnativ: " and ' behavior is already distinct, you'd have to choose a new char for the new literal or it'd be a non-starter
<MrZYX> hah, no, I avoid debian packaging :P
magoo has joined #ruby
saarinen has joined #ruby
<tjbiddle> MrZYX: Heh :p That's why I wrote an app to make it easier ;) But every time there's an error, I have to shell into the machine and poke around because stderr is being lost - Finally gotten fed up and want to fix it, ha
<werdnativ> havenwood: yeah, I totally get that… just thinking about whether interpolation & mutability *could* be combined, or if they're orthogonal.
d45h has quit []
thelorax123 has quit [Remote host closed the connection]
petey has quit [Ping timeout: 250 seconds]
Guedes0 has joined #ruby
relix has joined #ruby
<ElasticElephant> Anyone ever done Test First Ruby?
kostine has quit [Quit: kostine]
xcv has joined #ruby
<tjbiddle> MrZYX: Ah - I'm just ignorant. 2>&1 was working. What happened was I was monitoring the logs from sidekiq and after I added that - I got nothing, so I figured it was incorrect - But what happened was I wasn't getting anything because now the logger was handling it properly :-)
krawchyk has quit []
iamjarv__ has joined #ruby
<havenwood> ElasticElephant: Yes, many Rubyists espouse Test Driven Development philosophy.
ner0x has quit [Quit: Leaving]
<havenwood> ElasticElephant: Ruby kinda leads the movement.
thelorax123 has joined #ruby
zz_jrhorn424 is now known as jrhorn424
<havenwood> Though i think REPL driven development and hammock driven development are underrated.
<werdnativ> ElasticElephant: http://testfirst.org/learn_ruby ? no, I haven't.
lfox has quit [Ping timeout: 265 seconds]
<ElasticElephant> yeah i needed a bit of help with an exercise thats why i ask
<werdnativ> just ask.
<havenwood> ElasticElephant: Have you checked out the Ruby Koans?: http://rubykoans.com/
zz_tsykoduk is now known as tsykoduk
<werdnativ> Also codewars.com has cool exercises with web-based test/code windows.
momomomomo has quit [Quit: momomomomo]
<ElasticElephant> yeah ive looked it over,
<ElasticElephant> def add
iamjarvo_ has quit [Ping timeout: 246 seconds]
<ElasticElephant> add (a,b)
<ElasticElephant> a + b = c
<ElasticElephant> end
sambao21 has joined #ruby
<ElasticElephant> describe "add" do
<ElasticElephant> it "adds 0 and 0" do
<ElasticElephant> add(0,0).should == 0
<ElasticElephant> end
<havenwood> ElasticElephant: You might look at Minitest as a testing framework. Its code is easy to read and both test/spec style options.
<MrZYX> ElasticElephant: > 3 lines should go to gist or similar ;)
<havenwood> ElasticElephant: PS - Paste to Gist.
<werdnativ> ElasticElephant: I see the bug, but what's your question?
xcv has quit [Remote host closed the connection]
_maes_ has joined #ruby
iamjarv__ has quit [Ping timeout: 260 seconds]
<havenwood> werdnativ: CodeWars was based off my idea, met the founder at a meetup. :)
xcv has joined #ruby
<ElasticElephant> i just cant seem to figure out how make the specs pass
<werdnativ> havenwood: nice! I like the platform.
<MrZYX> ElasticElephant: that method should take two method parameters: def add(a, b)
<werdnativ> ElasticElephant: when you run the specs, it gives you an error, right? You should be able to follow that.
<havenwood> werdnativ: They recently offered me a job, but I declined as it was basically Rails grunt work.
<werdnativ> ElasticElephant: what does the error say?
vadviktor has quit [Ping timeout: 246 seconds]
<ElasticElephant> undefined add method
<havenwood> ElasticElephant: Did you define the method *before* you call it?
nhhagen has joined #ruby
rjhunter has joined #ruby
<werdnativ> ElasticElephant: either the method definition has to be in the top of your test file, or else you need to require 'your_exercise_file'
<havenwood> Rails... ╬ಠิ﹏ಠิ
drag00n has joined #ruby
xcv has quit [Ping timeout: 260 seconds]
kevind_ has joined #ruby
<IceDragon> havenwood: y the scary face and cross?
superscott[8] has quit [Quit: superscott[8]]
kevind has quit [Ping timeout: 272 seconds]
nhhagen has quit [Ping timeout: 240 seconds]
kevind_ is now known as kevind
rjhunter has quit [Ping timeout: 240 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
obs has quit [Remote host closed the connection]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
randomenduser has quit [Remote host closed the connection]
kaldrenon has quit [Remote host closed the connection]
<havenwood> IceDragon: Maybe this better expresses my opinion: https://gist.github.com/havenwood/7387731
ambushsabre has joined #ruby
kaldrenon has joined #ruby
* IceDragon runs that
clevermatt has quit [Remote host closed the connection]
<havenwood> IceDragon: hehe
<werdnativ> curses!
xcv has joined #ruby
isec has quit [Read error: Connection reset by peer]
<havenwood> IceDragon: Just not my cup of tea as far as work goes. :)
<IceDragon> lol
visof has quit [Ping timeout: 260 seconds]
brennanMKE has joined #ruby
capicue has joined #ruby
mboyd has quit [Quit: This computer has gone to sleep]
mmcdaris has joined #ruby
pzula has quit [Ping timeout: 246 seconds]
visof has joined #ruby
mmcdaris has quit [Client Quit]
lkba has joined #ruby
<werdnativ> although this one is by far the second most awesome ever: https://gist.github.com/avit/6004219
beneggett has joined #ruby
mmcdaris has joined #ruby
kaldrenon has quit [Ping timeout: 246 seconds]
mmcdaris has left #ruby [#ruby]
Elhu has joined #ruby
<werdnativ> havenwood: yes, and that would be the first most awesome, by far.
jchristi has quit [Ping timeout: 246 seconds]
Elhu has quit [Client Quit]
<havenwood> werdnativ: indeed :O
havenwood has left #ruby [#ruby]
havenwood has joined #ruby
burlyscudd has joined #ruby
obs has joined #ruby
<olivier_bK> so good this stuff
amoli has joined #ruby
axl_ has joined #ruby
brennanMKE has quit [Remote host closed the connection]
Atrophius has quit [Ping timeout: 265 seconds]
hiyosi has joined #ruby
CorySimmons has joined #ruby
jedimind has quit [Quit: Textual IRC Client: www.textualapp.com]
vadviktor has joined #ruby
CorySimmons has quit [Client Quit]
utkarsh has quit [Ping timeout: 260 seconds]
javon has quit [Ping timeout: 250 seconds]
utkarsh_ has joined #ruby
hiyosi has quit [Ping timeout: 252 seconds]
danshult_ has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
vpretzel has quit [Quit: Adios!]
sepp2k has quit [Ping timeout: 272 seconds]
sepp2k has joined #ruby
tkuchiki has quit [Read error: Connection reset by peer]
axl_ has quit [Quit: axl_]
klaut has joined #ruby
havenwood has quit [Remote host closed the connection]
aasirc has quit [Quit: Textual IRC Client: www.textualapp.com]
tkuchiki has joined #ruby
jhn has joined #ruby
shoMo has quit [Ping timeout: 246 seconds]
mary5030 has quit [Remote host closed the connection]
danshultz has quit [Ping timeout: 240 seconds]
pzula has joined #ruby
kindjal has quit [Ping timeout: 246 seconds]
shoMo has joined #ruby
blackmesa has joined #ruby
xcv has quit [Remote host closed the connection]
mengu has joined #ruby
xcv has joined #ruby
stringoO has quit [Quit: stringoO]
kindjal has joined #ruby
amacgregor_ has joined #ruby
mary5030 has joined #ruby
visof has quit [Ping timeout: 252 seconds]
mary5030 has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
amacgregor has quit [Ping timeout: 246 seconds]
<shevy> ruby has a case when menu
<shevy> how does python deal with multiple input aliases?
<shevy> like: 'history','h'
xcv has quit [Ping timeout: 252 seconds]
pringlescan has quit [Read error: Connection reset by peer]
maroloccio has quit [Quit: WeeChat 0.4.1]
mengu__ has joined #ruby
saarinen has quit [Quit: saarinen]
carraroj has quit [Quit: Konversation terminated!]
mengu has quit [Ping timeout: 260 seconds]
Sawbones has quit []
burlyscudd has quit [Quit: Leaving.]
schaerli has joined #ruby
axl_ has joined #ruby
<sam113101> I don't understand
<shevy> so you have something like this in ruby:
tjbiddle has quit [Quit: tjbiddle]
<shevy> case gets.chomp
<shevy> when 'history','h'
<shevy> show_history
Kricir has joined #ruby
<shevy> ok? how does python solve this? as far as I know it has no case menu
agjacome has quit [Ping timeout: 260 seconds]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Hanmac> shevy i have seen something like this in ruby ... i dont need to tell how much wrong this is ;P
<Hanmac> case
<Hanmac> show_history
<Hanmac> when ['history','h'].include?(gets.chomp)
SHyx0rmZ has quit [Ping timeout: 246 seconds]
<Hanmac> and yes its valid ruby ;P
<shevy> yeah, people can write stupid code
<shevy> but I wonder how python tries to solve this more efficiently than ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
danman has quit [Quit: danman]
mengu__ has quit [Ping timeout: 260 seconds]
tsykoduk has quit [Read error: Operation timed out]
tsykoduk has joined #ruby
kpshek has quit []
schaerli has quit [Ping timeout: 260 seconds]
<sam113101> maybe a dictionary of array and lambdas?
<shevy> hmm
<shevy> that sounds more inconvenient than the ruby solution
<sam113101> array: lambda, you iterate over it and if array has your string, you execute the lambda
<sam113101> yeah
<sam113101> but python is shit
<shevy> hehehe
mengu has joined #ruby
shedd has joined #ruby
emocakes has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
wildroman2 has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
claymore has quit [Quit: Leaving]
mjs2600_ has quit [Remote host closed the connection]
phil_b has quit [Ping timeout: 246 seconds]
diegoviola has quit [Ping timeout: 260 seconds]
mikesplain has joined #ruby
whysosad has joined #ruby
Atrophius has joined #ruby
psyl0n has quit [Remote host closed the connection]
<shevy> hmm
blaskovicz1 has quit [Quit: Leaving.]
mlpinit has quit [Remote host closed the connection]
<shevy> say I have a class in a .rb file
cescalante is now known as ce_afk
<shevy> class Foo; end ... in file 'foo.rb'
reset has quit [Remote host closed the connection]
<shevy> no additional namespace
jjbohn has quit [Quit: Leaving...]
<shevy> can I load this file and put it into a namespace?
Lewix has quit [Remote host closed the connection]
<shevy> like module Bar
mlpinit has joined #ruby
sambao21 has joined #ruby
<shevy> at runtime
xcv has joined #ruby
bean__ has joined #ruby
mikesplain4 has quit [Ping timeout: 260 seconds]
mlpinit_ has joined #ruby
mlpinit_ has quit [Remote host closed the connection]
<MrZYX> don't think so. Maybe Bar.instance_eval File.read('foo.rb')
<sam113101> module Bar; require 'foo.rb; end
Tobarja has quit [Quit: ZNC - http://znc.in]
interactionjaxsn has quit [Remote host closed the connection]
<shevy> hmm
<MrZYX> that won't do what he wants
mikesplain has quit [Ping timeout: 260 seconds]
<shevy> let me try that instance_eval thing
<sam113101> are you sure?
<shevy> hmm
<MrZYX> sam113101: yes
<shevy> that instance_eval ... it does not seem to work or perhaps I dont manage to make it work
<MrZYX> no it doesn't, just was a wild idea
caesura has quit [Quit: i'm no simpleton]
mlpinit has quit [Ping timeout: 240 seconds]
<shevy> I guess ruby must do something additional when requiring a file
<shevy> so that the namespace of said .rb file is known
<MrZYX> you could probably do require 'foo'; Bar.const_set :Foo, Foo; Object.const_remove :Foo
brennanMKE has joined #ruby
<MrZYX> require sets the scope/context back to the main object
pwestlund_away has joined #ruby
pwestlund_away is now known as pwestlund
Atrophius has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
l3ck has quit [Quit: Leaving...]
nhhagen has joined #ruby
<MrZYX> another dirty one would be eval "module Bar; #{File.read('foo.rb')}; end" I guess
<MrZYX> in the end I just wouldn't do any of those
Bosox20051 has joined #ruby
lfox has joined #ruby
thumpba has quit [Remote host closed the connection]
b00stfr3ak has joined #ruby
<MrZYX> actually Bar.class_eval File.read('foo.rb') would work too
pzula has quit [Ping timeout: 252 seconds]
<MrZYX> not less dirty though
sailias has quit [Ping timeout: 265 seconds]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nhhagen has quit [Ping timeout: 252 seconds]
<apeiros> constant lookup would be different in the last two iirc
agent_wh1te has quit [Quit: leaving]
jragon has quit [Read error: Operation timed out]
zxq9 has quit [Quit: Konversation terminated!]
tsykoduk is now known as zz_tsykoduk
funburn has quit [Quit: funburn]
kevind has quit [Read error: Connection reset by peer]
<shevy> hmmm
psyl0n has joined #ruby
<shevy> I don't like eval :(
kevind has joined #ruby
<MrZYX> yeah
<MrZYX> just stop having weird ideas and you'll never need it!
<MrZYX> :P
sepp2k has quit [Quit: Leaving.]
Megtastique has quit []
aryaching has quit [Ping timeout: 250 seconds]
phantummm has quit [Quit: phantummm]
Kricir has quit [Ping timeout: 250 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlast has quit [Remote host closed the connection]
relix has joined #ruby
bean__ has joined #ruby
ffranz has quit [Ping timeout: 245 seconds]
hiyosi has joined #ruby
enebo has quit [Quit: enebo]
psyl0n has quit [Remote host closed the connection]
bean__ has quit [Client Quit]
jlast has joined #ruby
Nahra has quit [Ping timeout: 260 seconds]
Nahra has joined #ruby
Nahra has quit [Changing host]
Nahra has joined #ruby
hiyosi has quit [Ping timeout: 246 seconds]
phantummm has joined #ruby
phantummm has quit [Client Quit]
Killerkeksdose_ has joined #ruby
<waxjar> it'd be nice if requiring something in a namespace were possible though. no more dependency conflicts! :D
xcv has quit [Remote host closed the connection]
ehaliewicz has joined #ruby
Killerkeksdose has quit [Ping timeout: 248 seconds]
duggiefresh has quit [Remote host closed the connection]
xcv has joined #ruby
jlast has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anderson has joined #ruby
pzula has joined #ruby
mmcdaris has joined #ruby
reset has joined #ruby
nobitanobi has joined #ruby
xcv has quit [Ping timeout: 260 seconds]
fuhgeddaboudit has quit [Ping timeout: 260 seconds]
barratt has joined #ruby
lukec has quit [Quit: lukec]
mikepack has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
coffeina has quit [Quit: Wychodzi]
lnormous has quit [Ping timeout: 260 seconds]
baroquebobcat has joined #ruby
jhn has quit [Ping timeout: 246 seconds]
awarner has joined #ruby
mikeric has joined #ruby
wildroman2 has joined #ruby
mbreedlove has quit [Ping timeout: 240 seconds]
Zai00 has quit [Quit: Zai00]
mmcdaris has quit [Quit: mmcdaris]
RoryHughes has quit []
awarner_ has quit [Ping timeout: 245 seconds]
elux has quit [Quit: Bye!]
Leighton has quit [Quit: leaving]
kindjal has quit [Ping timeout: 260 seconds]
Shidash has joined #ruby
mansi has quit [Remote host closed the connection]
s2013 has quit [Ping timeout: 250 seconds]
mansi has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
breakingthings has quit []
kitak_ has quit [Ping timeout: 245 seconds]
axl_ has joined #ruby
ner0x has joined #ruby
thumpba has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
RoryHughes has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
jkhwan has joined #ruby
Mon_Ouie has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
jibi has quit [Quit: .]
ce_afk is now known as cescalante
iliketur_ has joined #ruby
iliketur_ has quit [Remote host closed the connection]
Lewis has joined #ruby
v0n has quit [Ping timeout: 264 seconds]
Dan_ has joined #ruby
devdazed has quit [Quit: Bye]
Dan_ is now known as Guest4783
baroquebobcat has quit [Quit: baroquebobcat]
pragmatism has quit [Ping timeout: 260 seconds]
cpruitt has quit [Quit: cpruitt]
valesk has quit [Remote host closed the connection]
peregrine81 has joined #ruby
ner0x has quit [Quit: Leaving]
peregrine81 has quit [Read error: Connection reset by peer]
peregrine81 has joined #ruby
peregrine81 has quit [Client Quit]
rootshift has joined #ruby
peregrine81 has joined #ruby
ner0x has joined #ruby
nhhagen has joined #ruby
mikepack has joined #ruby
johnnyfuchs has joined #ruby
rjhunter has joined #ruby
cescalante is now known as ce_afk