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