00:00
tkuchiki has joined #ruby-lang
00:00
oak1 has joined #ruby-lang
00:02
godzillaenlacasa has joined #ruby-lang
00:03
leonshalimov has joined #ruby-lang
00:05
tkuchiki has quit [Ping timeout: 272 seconds]
00:08
leonshalimov has quit [Ping timeout: 246 seconds]
00:08
martinium has joined #ruby-lang
00:08
martinium has quit [Changing host]
00:08
martinium has joined #ruby-lang
00:09
Sadin has joined #ruby-lang
00:09
ascarter has joined #ruby-lang
00:11
ascarter has quit [Client Quit]
00:15
__butch__ has quit [Quit: Leaving.]
00:15
martinium has quit [Ping timeout: 276 seconds]
00:16
Bwild has joined #ruby-lang
00:18
godzillaenlacasa has quit [Quit: Computer has gone to sleep.]
00:21
godzillaenlacasa has joined #ruby-lang
00:22
<
godzillaenlacasa >
any suggestions how to get around this error? `read_nonblock': Connection reset by peer (Errno::ECONNRESET)
00:28
fclausen has quit [Ping timeout: 272 seconds]
00:29
Caius has joined #ruby-lang
00:30
fclausen has joined #ruby-lang
00:30
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
00:32
yusuf1 has joined #ruby-lang
00:33
francisfish has quit [Remote host closed the connection]
00:34
j4cknewt has quit [Remote host closed the connection]
00:34
kalehv has quit [Remote host closed the connection]
00:35
elia has quit [Quit: Computer has gone to sleep.]
00:35
kalehv has joined #ruby-lang
00:37
francisfish has joined #ruby-lang
00:37
oak1 has quit [Read error: Connection reset by peer]
00:39
kalehv has quit [Ping timeout: 244 seconds]
00:41
j4cknewt has joined #ruby-lang
00:43
oak1 has joined #ruby-lang
00:46
|jemc| has quit [Ping timeout: 244 seconds]
00:52
aconnor has quit [Ping timeout: 246 seconds]
00:52
martinbmadsen has joined #ruby-lang
00:53
ascarter has joined #ruby-lang
00:53
djbkd has quit [Remote host closed the connection]
00:56
djbkd has joined #ruby-lang
00:56
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:57
martinbmadsen has quit [Ping timeout: 245 seconds]
00:57
michaeldeol has joined #ruby-lang
01:00
charliesome has quit [Quit: zzz]
01:00
charliesome has joined #ruby-lang
01:01
kalehv has joined #ruby-lang
01:01
nunayerBeezwax has joined #ruby-lang
01:01
martiniu_ has joined #ruby-lang
01:01
martiniu_ has joined #ruby-lang
01:01
martiniu_ has quit [Changing host]
01:06
j0n3 has quit [Read error: Connection reset by peer]
01:10
tkuchiki has joined #ruby-lang
01:13
DivineEntity has quit [Read error: No route to host]
01:17
francisfish has quit [Remote host closed the connection]
01:17
nickpassarella has quit [Quit: nickpassarella]
01:17
bb010g has joined #ruby-lang
01:18
gwendall_ has quit [Remote host closed the connection]
01:18
hahuang61 has quit [Ping timeout: 252 seconds]
01:18
loincloth has quit [Remote host closed the connection]
01:19
leonshalimov has joined #ruby-lang
01:21
rcvalle has quit [Quit: rcvalle]
01:22
jonoyeong has joined #ruby-lang
01:22
jonoyeong has left #ruby-lang [#ruby-lang]
01:23
hendranata_ has joined #ruby-lang
01:23
klmlfl has quit [Remote host closed the connection]
01:24
leonshalimov has quit [Ping timeout: 276 seconds]
01:37
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:37
yfeldblu_ has joined #ruby-lang
01:38
|jemc| has joined #ruby-lang
01:41
yfeldblum has quit [Ping timeout: 276 seconds]
01:42
lytol has quit [Remote host closed the connection]
01:46
ta has quit [Ping timeout: 264 seconds]
01:46
nickpassarella has joined #ruby-lang
01:49
charliesome has quit [Quit: zzz]
01:49
godzillaenlacasa has quit [Quit: Computer has gone to sleep.]
01:51
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:52
yfeldblu_ has quit [Remote host closed the connection]
01:53
yfeldblum has joined #ruby-lang
01:56
nickpassarella has quit [Quit: nickpassarella]
01:57
charliesome has joined #ruby-lang
01:59
chills42 has joined #ruby-lang
01:59
amsi has quit [Quit: Leaving]
02:00
nickpassarella has joined #ruby-lang
02:00
kenmazaika_ has joined #ruby-lang
02:04
godzillaenlacasa has joined #ruby-lang
02:05
Bwild has quit [Ping timeout: 246 seconds]
02:06
Bwild has joined #ruby-lang
02:10
cornerma1 has joined #ruby-lang
02:12
hotpancakes has joined #ruby-lang
02:13
cornerman has quit [Ping timeout: 256 seconds]
02:13
cornerma1 is now known as cornerman
02:14
amclain has joined #ruby-lang
02:16
kalehv has quit [Remote host closed the connection]
02:18
nunayerBeezwax has quit []
02:19
loincloth has joined #ruby-lang
02:24
klmlfl has joined #ruby-lang
02:24
loincloth has quit [Ping timeout: 265 seconds]
02:24
iamninja has quit [Quit: ZZZzzz…]
02:25
godzillaenlacasa has quit [Quit: Computer has gone to sleep.]
02:27
rahul_j has joined #ruby-lang
02:29
klmlfl has quit [Ping timeout: 265 seconds]
02:37
martiniu_ has quit [Remote host closed the connection]
02:47
ur5us has quit [Remote host closed the connection]
02:48
martinium has joined #ruby-lang
02:49
slawrence00 has joined #ruby-lang
02:50
wallerdev has quit [Quit: wallerdev]
02:50
Lewix has joined #ruby-lang
02:50
Lewix has quit [Changing host]
02:50
Lewix has joined #ruby-lang
02:55
shinnya has quit [Ping timeout: 255 seconds]
02:56
nofxx has quit [Read error: Connection timed out]
02:57
nofxx has joined #ruby-lang
02:57
djbkd has quit [Quit: My people need me...]
02:57
kapil__ has joined #ruby-lang
03:02
kl__ has quit [Ping timeout: 265 seconds]
03:04
Aova has joined #ruby-lang
03:07
gwendall has joined #ruby-lang
03:07
leonshalimov has joined #ruby-lang
03:08
RobertBirnie has joined #ruby-lang
03:10
vozcelik has joined #ruby-lang
03:12
gwendall has quit [Ping timeout: 276 seconds]
03:12
leonshalimov has quit [Ping timeout: 245 seconds]
03:12
Obfuscate has quit [Ping timeout: 240 seconds]
03:15
Obfuscate has joined #ruby-lang
03:17
francisfish has joined #ruby-lang
03:17
trajing|Mobile has joined #ruby-lang
03:20
loincloth has joined #ruby-lang
03:20
sleepee has joined #ruby-lang
03:22
loincloth has quit [Read error: Connection reset by peer]
03:22
francisfish has quit [Ping timeout: 265 seconds]
03:22
trajing|Mobile has quit [Read error: Connection reset by peer]
03:22
trajing|Mobile has joined #ruby-lang
03:23
sleepee has quit [Remote host closed the connection]
03:24
trajing|Mobile has quit [Read error: Connection reset by peer]
03:25
klmlfl has joined #ruby-lang
03:27
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:27
hotpancakes has quit [Remote host closed the connection]
03:28
hotpancakes has joined #ruby-lang
03:32
klmlfl has quit [Ping timeout: 255 seconds]
03:32
dlackty__ has quit [Ping timeout: 272 seconds]
03:32
kapil__ has quit [Ping timeout: 272 seconds]
03:32
hotpancakes has quit [Ping timeout: 264 seconds]
03:33
mjc_ has quit [Ping timeout: 244 seconds]
03:34
mostlybadfly has quit [Ping timeout: 272 seconds]
03:34
wallerdev has joined #ruby-lang
03:35
martinium has quit [Remote host closed the connection]
03:35
shennyg has quit [Ping timeout: 276 seconds]
03:38
jdecuirm has joined #ruby-lang
03:42
martinium has joined #ruby-lang
03:42
martinium has joined #ruby-lang
03:44
dlackty__ has joined #ruby-lang
03:45
pskosinski has joined #ruby-lang
03:45
mjc_ has joined #ruby-lang
03:45
kapil__ has joined #ruby-lang
03:46
mostlybadfly has joined #ruby-lang
03:48
martinium has quit [Remote host closed the connection]
03:51
pskosinski has quit [Read error: Connection reset by peer]
03:51
ggherdov has joined #ruby-lang
03:51
dlackty__ has quit [Ping timeout: 265 seconds]
03:52
mjc_ has quit [Ping timeout: 245 seconds]
03:55
<
jdecuirm >
i need a little help, i'm making a text mini game, those you should do actions an so to go to the next level, a narrated game but i'm getting an error
03:55
<
jdecuirm >
and i can't find the problem, i'm hoping you can help me, this is the code!
03:56
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:56
mostlybadfly has quit [Ping timeout: 245 seconds]
03:56
kapil__ has quit [Ping timeout: 245 seconds]
03:58
ggherdov has quit [Ping timeout: 272 seconds]
04:00
hanachin has quit [Remote host closed the connection]
04:01
<
womble >
jdecuirm: Presumably, @scene_map.next_scene can return nil, and that's what is happening and causing the program to explode.
04:02
<
womble >
You could avoid the error by making line 17 read `current_scene.enter unless current_scene.nil?`, but depending on what #next_scene is
*supposed* to return, you may have a bug in #next_scene, instead.
04:04
sleepee has joined #ruby-lang
04:07
moogumbo_ has joined #ruby-lang
04:08
gwendall has joined #ruby-lang
04:08
pskosinski has joined #ruby-lang
04:08
<
jdecuirm >
oh, thanks womble, i'll check this, don't know why i'm getting nil
04:09
sleepee has quit [Ping timeout: 245 seconds]
04:10
dlackty__ has joined #ruby-lang
04:12
shennyg has joined #ruby-lang
04:13
gwendall has quit [Ping timeout: 276 seconds]
04:15
mjc_ has joined #ruby-lang
04:16
gix has quit [Ping timeout: 264 seconds]
04:16
<
jdecuirm >
is it not supposed to return 'finished'? because i'm getting nil
04:17
mostlybadfly has joined #ruby-lang
04:18
<
jdecuirm >
Okey sorry i got the problem, lol thanks
04:19
gix has joined #ruby-lang
04:22
j4cknewt has quit [Remote host closed the connection]
04:22
ascarter has joined #ruby-lang
04:22
sangwoojoo has quit [Ping timeout: 265 seconds]
04:22
yfeldblum has quit [Remote host closed the connection]
04:25
sleepee has joined #ruby-lang
04:26
chills42 has quit [Remote host closed the connection]
04:28
Rayford has joined #ruby-lang
04:29
yfeldblum has joined #ruby-lang
04:29
kapil__ has joined #ruby-lang
04:30
yfeldblu_ has joined #ruby-lang
04:30
martinbmadsen has joined #ruby-lang
04:30
kyb3r_ has joined #ruby-lang
04:31
ggherdov has joined #ruby-lang
04:33
Lewix has quit [Remote host closed the connection]
04:33
yfeldblum has quit [Ping timeout: 245 seconds]
04:33
yfeldblu_ has quit [Remote host closed the connection]
04:34
martinbmadsen has quit [Ping timeout: 245 seconds]
04:34
yfeldblum has joined #ruby-lang
04:35
martinbmadsen has joined #ruby-lang
04:36
Lewix has joined #ruby-lang
04:36
Lewix has joined #ruby-lang
04:36
ur5us has joined #ruby-lang
04:39
slawrence00 has joined #ruby-lang
04:40
ur5us has quit [Ping timeout: 244 seconds]
04:42
j4cknewt has joined #ruby-lang
04:43
djbkd has joined #ruby-lang
04:44
rahul_j has quit [Quit: rahul_j]
04:45
havenwood has joined #ruby-lang
04:47
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:50
martinium has joined #ruby-lang
04:51
sleepee has quit [Ping timeout: 264 seconds]
04:54
martinium has quit [Remote host closed the connection]
04:56
Miphix has joined #ruby-lang
04:56
hotpancakes has joined #ruby-lang
04:56
leonshalimov has joined #ruby-lang
04:58
kl has joined #ruby-lang
04:59
godzillaenlacasa has joined #ruby-lang
05:00
godzillaenlacasa has quit [Client Quit]
05:01
leonshalimov has quit [Ping timeout: 245 seconds]
05:03
kl has quit [Ping timeout: 264 seconds]
05:08
AKASkip has joined #ruby-lang
05:10
Obfuscate has quit [Ping timeout: 246 seconds]
05:17
AKASkip1 has joined #ruby-lang
05:17
AKASkip has quit [Ping timeout: 256 seconds]
05:18
francisfish has joined #ruby-lang
05:23
francisfish has quit [Ping timeout: 245 seconds]
05:23
Obfuscate has joined #ruby-lang
05:30
ascarter has joined #ruby-lang
05:34
rahul_j has joined #ruby-lang
05:40
wprice has quit [Ping timeout: 245 seconds]
05:41
TheMoonMaster has quit [Ping timeout: 246 seconds]
05:43
fclausen has quit [Ping timeout: 272 seconds]
05:45
ta has joined #ruby-lang
05:47
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:49
TheMoonMaster has joined #ruby-lang
05:49
wprice has joined #ruby-lang
05:50
rahul_j_ has joined #ruby-lang
05:50
ta has quit [Ping timeout: 276 seconds]
05:51
rahul_j has quit [Ping timeout: 245 seconds]
05:51
rahul_j_ is now known as rahul_j
05:52
simi has quit [Ping timeout: 264 seconds]
05:52
enebo has quit [Read error: Connection reset by peer]
05:53
ascarter has joined #ruby-lang
05:53
enebo has joined #ruby-lang
05:53
rahul_j has quit [Client Quit]
05:54
kenmazaika_ has quit [Ping timeout: 246 seconds]
05:56
ericwood has quit [Ping timeout: 255 seconds]
05:56
gwendall has joined #ruby-lang
05:57
ericwood has joined #ruby-lang
06:00
duderonomy has joined #ruby-lang
06:00
AKASkip1 has quit [Ping timeout: 276 seconds]
06:02
gwendall has quit [Ping timeout: 276 seconds]
06:08
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:08
apeiros has quit [Remote host closed the connection]
06:08
hotpancakes has quit [Remote host closed the connection]
06:08
apeiros has joined #ruby-lang
06:09
oleo__ has quit [Quit: Verlassend]
06:09
spuk has quit [Ping timeout: 272 seconds]
06:20
ta has joined #ruby-lang
06:20
Lewix has quit [Remote host closed the connection]
06:21
skade has joined #ruby-lang
06:21
martinium has joined #ruby-lang
06:24
hotpancakes has joined #ruby-lang
06:24
ta has quit [Ping timeout: 265 seconds]
06:25
ur5us has joined #ruby-lang
06:29
ur5us has quit [Ping timeout: 244 seconds]
06:30
loincloth has joined #ruby-lang
06:31
apeiros has quit [Remote host closed the connection]
06:32
apeiros has joined #ruby-lang
06:33
lsegal has joined #ruby-lang
06:33
mostlybadfly has quit [Quit: Connection closed for inactivity]
06:33
rahul_j has joined #ruby-lang
06:34
hotpancakes has quit [Remote host closed the connection]
06:34
djbkd has quit [Remote host closed the connection]
06:35
hotpancakes has joined #ruby-lang
06:35
revath has joined #ruby-lang
06:35
loincloth has quit [Ping timeout: 256 seconds]
06:36
RobertBirnie has joined #ruby-lang
06:36
apeiros has quit [Ping timeout: 245 seconds]
06:38
charliesome has quit [Quit: zzz]
06:39
hotpancakes has quit [Ping timeout: 252 seconds]
06:39
hotpancakes has joined #ruby-lang
06:39
hotpancakes has quit [Remote host closed the connection]
06:39
hotpancakes has joined #ruby-lang
06:40
symm- has joined #ruby-lang
06:41
hahuang61 has joined #ruby-lang
06:42
skade has quit [Quit: Computer has gone to sleep.]
06:42
hahuang61 has quit [Client Quit]
06:43
hahuang61 has joined #ruby-lang
06:43
dellavg_ has joined #ruby-lang
06:45
leonshalimov has joined #ruby-lang
06:46
amclain has quit [Quit: Leaving]
06:48
ur5us has joined #ruby-lang
06:50
leonshalimov has quit [Ping timeout: 264 seconds]
06:50
RobertBirnie has joined #ruby-lang
06:53
hotpancakes has quit [Remote host closed the connection]
06:53
ur5us has quit [Ping timeout: 245 seconds]
06:53
hotpancakes has joined #ruby-lang
06:53
hotpancakes has quit [Read error: Connection reset by peer]
06:54
hotpancakes has joined #ruby-lang
06:55
skade has joined #ruby-lang
06:57
gwendall has joined #ruby-lang
06:58
hotpancakes has quit [Ping timeout: 255 seconds]
06:58
apeiros has joined #ruby-lang
07:03
gwendall has quit [Ping timeout: 276 seconds]
07:03
Rayford has quit [Quit: Rayford]
07:04
ta has joined #ruby-lang
07:04
ascarter has joined #ruby-lang
07:05
klmlfl has joined #ruby-lang
07:05
skade has quit [Quit: Computer has gone to sleep.]
07:06
ascarter has quit [Max SendQ exceeded]
07:06
ascarter has joined #ruby-lang
07:08
loincloth has joined #ruby-lang
07:09
ta has quit [Ping timeout: 265 seconds]
07:09
klmlfl has quit [Ping timeout: 245 seconds]
07:12
deryl has joined #ruby-lang
07:13
deryl is now known as Guest8261
07:13
Guest8261 has quit [Client Quit]
07:13
loincloth has quit [Ping timeout: 240 seconds]
07:14
jdecuirm has quit [Ping timeout: 264 seconds]
07:17
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:19
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:19
ddd has joined #ruby-lang
07:21
nofxx has quit [Ping timeout: 255 seconds]
07:24
arBmind1 has quit [Quit: Leaving.]
07:25
pr0ton_ has joined #ruby-lang
07:25
AKASkip has joined #ruby-lang
07:27
fclausen has joined #ruby-lang
07:28
jdecuirm has joined #ruby-lang
07:29
djellemah has joined #ruby-lang
07:31
gwendall has joined #ruby-lang
07:32
fclausen has quit [Ping timeout: 272 seconds]
07:35
djbkd has joined #ruby-lang
07:36
gwendall has quit [Ping timeout: 276 seconds]
07:36
Forgetful_Lion has joined #ruby-lang
07:39
ddd has quit [Quit: Bye]
07:39
djbkd has quit [Ping timeout: 246 seconds]
07:40
mattyohe has quit [Quit: Connection closed for inactivity]
07:42
lytol has joined #ruby-lang
07:43
havenwood has quit [Remote host closed the connection]
07:44
lytol has quit [Read error: Connection reset by peer]
07:44
lytol has joined #ruby-lang
07:46
kwd has joined #ruby-lang
07:48
gwendall has joined #ruby-lang
07:51
solars has joined #ruby-lang
07:51
ta has joined #ruby-lang
08:00
ta has quit [Ping timeout: 245 seconds]
08:10
loincloth has joined #ruby-lang
08:13
Missphoenix has joined #ruby-lang
08:14
loincloth has quit [Ping timeout: 245 seconds]
08:14
ta has joined #ruby-lang
08:15
|jemc| has quit [Ping timeout: 246 seconds]
08:16
Miphix has quit [Ping timeout: 256 seconds]
08:17
hahuang61 has quit [Ping timeout: 272 seconds]
08:17
bb010g has quit [Quit: Connection closed for inactivity]
08:17
symm- has quit [Read error: Connection reset by peer]
08:18
ta has quit [Ping timeout: 240 seconds]
08:18
hahuang65 has quit [Quit: WeeChat 0.4.2]
08:19
futilegames has joined #ruby-lang
08:20
yusuf1 has quit [Quit: Leaving.]
08:24
yusuf1 has joined #ruby-lang
08:24
yusuf1 has quit [Max SendQ exceeded]
08:25
yusuf1 has joined #ruby-lang
08:32
djellemah has quit [Ping timeout: 252 seconds]
08:34
leonshalimov has joined #ruby-lang
08:34
nickpassarella has quit [Quit: nickpassarella]
08:36
vozcelik has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
08:36
Phoenixmiss has joined #ruby-lang
08:38
leonshalimov has quit [Ping timeout: 255 seconds]
08:39
Missphoenix has quit [Ping timeout: 244 seconds]
08:42
djellemah has joined #ruby-lang
08:43
JohnBat26 has joined #ruby-lang
08:46
benten has joined #ruby-lang
08:47
yfeldblum has quit [Ping timeout: 264 seconds]
08:49
gwendall has quit [Remote host closed the connection]
08:50
wallerdev has quit [Quit: wallerdev]
08:53
klmlfl has joined #ruby-lang
08:58
klmlfl has quit [Ping timeout: 240 seconds]
09:01
Integralist has joined #ruby-lang
09:02
oak1 has quit [Ping timeout: 240 seconds]
09:06
GBrawl has joined #ruby-lang
09:06
gwendall has joined #ruby-lang
09:08
j4cknewt has quit [Remote host closed the connection]
09:09
kwd has quit [Quit: kwd]
09:12
<
yorickpeterse >
morning
09:15
benlovell has joined #ruby-lang
09:15
francisfish has joined #ruby-lang
09:16
simi has joined #ruby-lang
09:17
GBrawl has quit [Quit: (null)]
09:18
ottlikg has joined #ruby-lang
09:20
fjfish has joined #ruby-lang
09:20
francisfish has quit [Read error: Connection reset by peer]
09:20
<
yorickpeterse >
oh boy, I sure love debugging SystemStackErrors on a Wednesday morning
09:21
djellemah has quit [Ping timeout: 265 seconds]
09:26
<
bnagy >
yorickpeterse: aka "lrn 2 code" errors?
09:26
lytol has quit [Remote host closed the connection]
09:26
<
yorickpeterse >
aka "somewhere a bundle update fucked things up"
09:27
pr0ton_ has quit [Quit: pr0ton_]
09:27
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
09:27
<
bnagy >
ok you're excused :D
09:29
marr has joined #ruby-lang
09:31
stardiviner has quit [Ping timeout: 244 seconds]
09:32
kyb3r_ has quit [Read error: Connection reset by peer]
09:33
sangwoojoo has joined #ruby-lang
09:34
tkuchiki has quit [Read error: Connection reset by peer]
09:34
tkuchiki has joined #ruby-lang
09:35
ishikawa has quit [Ping timeout: 250 seconds]
09:37
ishikawa has joined #ruby-lang
09:38
rbowlby has quit [Remote host closed the connection]
09:39
djellemah has joined #ruby-lang
09:41
ta has joined #ruby-lang
09:44
kl__ has joined #ruby-lang
09:44
stardiviner has joined #ruby-lang
09:46
ta has quit [Ping timeout: 276 seconds]
09:46
whitequark has left #ruby-lang [#ruby-lang]
09:49
mkaesz has joined #ruby-lang
09:50
fclausen has joined #ruby-lang
09:53
sangwoojoo has quit [Quit: Leaving.]
09:54
stardiviner has quit [Quit: Weird in coding now, or make love, only two things push me away from IRC.]
09:54
<
yorickpeterse >
well I found my problem
09:54
<
yorickpeterse >
apparently some model that extends another, which worked fine for months, now triggers a loop
09:56
rbowlby has joined #ruby-lang
09:57
kl__ has quit [Ping timeout: 256 seconds]
10:00
kl__ has joined #ruby-lang
10:02
<
yorickpeterse >
ah well, fixed it
10:02
<
yorickpeterse >
weirdest fix but w/e
10:07
kadwill has joined #ruby-lang
10:08
gwendall has quit [Remote host closed the connection]
10:08
RobertBirnie has joined #ruby-lang
10:08
martinium has quit [Remote host closed the connection]
10:11
j4cknewt has joined #ruby-lang
10:11
loincloth has joined #ruby-lang
10:13
hendranata_ has quit [Ping timeout: 255 seconds]
10:14
benten has quit [Quit: ..........]
10:15
fclausen has quit [Ping timeout: 272 seconds]
10:15
loincloth has quit [Ping timeout: 264 seconds]
10:16
kadwill has quit [Remote host closed the connection]
10:17
ledestin has joined #ruby-lang
10:17
kl__ has quit [Ping timeout: 256 seconds]
10:18
arBmind has joined #ruby-lang
10:18
djellemah has quit [Ping timeout: 245 seconds]
10:19
kl__ has joined #ruby-lang
10:20
ta has joined #ruby-lang
10:20
donove has joined #ruby-lang
10:22
martinbmadsen has quit [Ping timeout: 252 seconds]
10:22
leonshalimov has joined #ruby-lang
10:24
Integralist has quit [Ping timeout: 252 seconds]
10:25
JohnBat26 has joined #ruby-lang
10:26
martinbmadsen has joined #ruby-lang
10:27
rikkipitt has joined #ruby-lang
10:27
leonshalimov has quit [Ping timeout: 246 seconds]
10:27
PrinceNorin has joined #ruby-lang
10:30
norin has joined #ruby-lang
10:30
ta has quit [Ping timeout: 272 seconds]
10:31
martinbmadsen has quit [Ping timeout: 245 seconds]
10:31
gwendall has joined #ruby-lang
10:33
<
chris2 >
can i easily change the gem cache dir?
10:33
<
chris2 >
when i have wildly varying GEM_PATH/HOME?
10:33
Missphoenix has joined #ruby-lang
10:33
Phoenixmiss has quit [Read error: Connection reset by peer]
10:36
PrinceNorin has quit [Quit: Leaving]
10:36
norin has quit [Quit: leaving]
10:37
beawesomeinstead has quit [Quit: Connection closed for inactivity]
10:37
rbowlby has quit [Remote host closed the connection]
10:38
Integralist has joined #ruby-lang
10:40
jefus_ has joined #ruby-lang
10:40
sangwoojoo has joined #ruby-lang
10:41
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:42
ta has joined #ruby-lang
10:42
yfeldblum has joined #ruby-lang
10:43
jefus has quit [Ping timeout: 244 seconds]
10:45
ldnunes has joined #ruby-lang
10:46
j4cknewt has quit [Remote host closed the connection]
10:46
j4cknewt has joined #ruby-lang
10:46
yfeldblu_ has joined #ruby-lang
10:47
R\w\C has joined #ruby-lang
10:47
<
R\w\C >
I LOOOOOVE RUBY
10:47
<
R\w\C >
i just learnt about it last night
10:49
banister has joined #ruby-lang
10:49
banister has quit [Max SendQ exceeded]
10:49
banister has joined #ruby-lang
10:49
yfeldblum has quit [Ping timeout: 240 seconds]
10:49
R\w\C has quit [Changing host]
10:49
R\w\C has joined #ruby-lang
10:53
ta has quit [Ping timeout: 276 seconds]
10:53
<
tbuehlmann >
R\w\C, great! ignore yorickpeterse real quick so it lasts longer
10:53
<
yorickpeterse >
they're just jealous of my booty
10:53
<
R\w\C >
are you a nuaghty boy yorickpeterse
10:54
<
yorickpeterse >
only after midnight
10:54
<
R\w\C >
where are you from?
10:54
<
R\w\C >
which continent
10:54
<
yorickpeterse >
Earth
10:55
zz_dlu has quit [Ping timeout: 264 seconds]
10:55
GaelanAintAround has quit [Ping timeout: 256 seconds]
10:55
<
R\w\C >
asking coz u got an afrikaans surname
10:55
<
yorickpeterse >
I'm Dutch, that might explain it
10:56
<
surrounder >
no those are in the US
10:56
<
R\w\C >
i didnt mean that
10:56
<
R\w\C >
i meant like okayokayokay
10:56
<
R\w\C >
but the short version
10:58
GaelanAintAround has joined #ruby-lang
10:59
Pugsley_ has joined #ruby-lang
11:01
hahuang61 has joined #ruby-lang
11:06
hahuang61 has quit [Ping timeout: 240 seconds]
11:06
fjfish has quit [Read error: Connection reset by peer]
11:06
<
R\w\C >
hey guys you know you can put a .json at the end of the url to generate a json encoded output of the page
11:07
<
R\w\C >
can you post to that url to update/add new records
11:07
<
R\w\C >
out of the box
11:07
francisfish has joined #ruby-lang
11:07
djellemah has joined #ruby-lang
11:08
ta has joined #ruby-lang
11:11
<
yorickpeterse >
"[1910725/1982034] [ 96.40%] [40:14] [01:30] [ 791.32/s$
11:11
<
yorickpeterse >
hnngggg hurry up already
11:11
<
yorickpeterse >
almost there
11:11
postmodern has quit [Quit: Leaving]
11:11
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:12
loincloth has joined #ruby-lang
11:12
<
darix >
kill -STOP :p
11:13
stamina has joined #ruby-lang
11:15
ta has quit [Ping timeout: 245 seconds]
11:15
<
chris2 >
why does rubygems cache specs but not the .gem files at a central location oO
11:16
loincloth has quit [Ping timeout: 245 seconds]
11:18
GaelanAintAround has quit [Ping timeout: 245 seconds]
11:18
<
ljarvis >
R\w\C: depends on the framework
11:20
<
tbuehlmann >
R\w\C, are you mixing "ruby" with "ruby on rails"?
11:20
djellemah has quit [Ping timeout: 255 seconds]
11:20
<
R\w\C >
yes sorry, im using ruby on rails
11:21
<
ljarvis >
R\w\C: then no, you need to add it to your routes to ensure the route will handle post/put requests just like normal, the json url can then be used
11:22
<
R\w\C >
ok thanks ljarvis
11:24
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:26
rikkipitt has quit []
11:28
yusuf1 has quit [Quit: Leaving.]
11:35
mostlybadfly has joined #ruby-lang
11:39
mkaesz has quit [Ping timeout: 245 seconds]
11:42
sangwoojoo has quit [Quit: Leaving.]
11:43
reprazent has joined #ruby-lang
11:43
pjaspers has joined #ruby-lang
11:43
djellemah has joined #ruby-lang
11:46
GBrawl has joined #ruby-lang
11:46
GBrawl has quit [Client Quit]
11:49
workmad3 has joined #ruby-lang
11:57
benlovell has quit [Ping timeout: 252 seconds]
11:59
ihme-TTilus has quit [Ping timeout: 246 seconds]
11:59
TTilus has joined #ruby-lang
12:00
tcopeland has quit [Quit: Leaving.]
12:00
sleepee has joined #ruby-lang
12:01
Jamo has joined #ruby-lang
12:02
yfeldblu_ has quit [Ping timeout: 245 seconds]
12:02
saltsa has quit [Ping timeout: 276 seconds]
12:03
saltsa has joined #ruby-lang
12:03
simi has quit [Ping timeout: 245 seconds]
12:08
mkaesz has joined #ruby-lang
12:08
tkuchiki has quit [Remote host closed the connection]
12:08
yfeldblum has joined #ruby-lang
12:09
tkuchiki has joined #ruby-lang
12:09
banister has joined #ruby-lang
12:09
Forgetful_Lion has quit [Remote host closed the connection]
12:10
benlovell has joined #ruby-lang
12:11
Xzanron has joined #ruby-lang
12:11
ruby-lang446 has joined #ruby-lang
12:11
leonshalimov has joined #ruby-lang
12:12
mkaesz has quit [Remote host closed the connection]
12:12
<
Xzanron >
How can I use a "do end" block instead of a { } block, in something like string.each_line ? do i need to wrap something, or is there a special way to invoke the method?
12:13
mkaesz has joined #ruby-lang
12:13
loincloth has joined #ruby-lang
12:13
workmad3 is now known as wm3|away
12:13
tkuchiki has quit [Ping timeout: 255 seconds]
12:14
<
tobiasvl >
just replace { with do and } with end?
12:15
ruby-lang446 has quit [Ping timeout: 246 seconds]
12:15
<
DefV >
best advice
_ever_
12:15
R\w\C has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
12:16
leonshalimov has quit [Ping timeout: 264 seconds]
12:17
pico-pete has joined #ruby-lang
12:17
loincloth has quit [Ping timeout: 272 seconds]
12:18
shazaum has joined #ruby-lang
12:18
<
Eising >
It's not often you see somebody answering their own question without knowing it
12:19
ta has joined #ruby-lang
12:20
ItSANgo has joined #ruby-lang
12:20
ItSANgo_ has joined #ruby-lang
12:21
shazaum has quit [Changing host]
12:21
shazaum has joined #ruby-lang
12:21
ItSANgo has quit [Client Quit]
12:24
ta has quit [Ping timeout: 276 seconds]
12:25
booly-yam-8846 has joined #ruby-lang
12:26
martinbmadsen has joined #ruby-lang
12:28
R\w\C has joined #ruby-lang
12:29
arBmind has quit [Quit: Leaving.]
12:31
klmlfl has joined #ruby-lang
12:32
ta has joined #ruby-lang
12:32
chills42 has joined #ruby-lang
12:33
martinbmadsen has quit [Ping timeout: 265 seconds]
12:34
simi has joined #ruby-lang
12:35
booly-yam-8846 has quit [Max SendQ exceeded]
12:36
intinig has joined #ruby-lang
12:36
klmlfl has quit [Ping timeout: 276 seconds]
12:36
booly-yam-8846 has joined #ruby-lang
12:36
VictorBjelkholm has joined #ruby-lang
12:38
rikkipitt has joined #ruby-lang
12:38
martinbmadsen has joined #ruby-lang
12:39
<
darix >
Xzanron: please show us the code that fails for you and with which message.
12:39
<
DefV >
I was typing just that
12:40
<
darix >
DefV: too fast for you!^^
12:42
<
DefV >
I was still confused by the irrelevant stack overflow link
12:42
kl__ has quit [Ping timeout: 244 seconds]
12:42
martinbmadsen has quit [Ping timeout: 252 seconds]
12:44
<
Xzanron >
rofl.. i did something really silly. It's not irrelevant if you take into account my sillyness :)
12:44
<
Xzanron >
instead of "output.each_line do |line| puts line end" I had "puts output.each_line do |line| puts line end"
12:45
* Xzanron
goes away and hides
12:46
R\w\C has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
12:47
djbkd has joined #ruby-lang
12:47
R\w\C has joined #ruby-lang
12:49
hahuang61 has joined #ruby-lang
12:49
shazaum_ has joined #ruby-lang
12:50
Bwild has quit [Ping timeout: 276 seconds]
12:51
ta has quit [Remote host closed the connection]
12:52
djbkd has quit [Ping timeout: 264 seconds]
12:52
zz_dlu has joined #ruby-lang
12:52
shazaum has quit [Ping timeout: 264 seconds]
12:55
hahuang61 has quit [Ping timeout: 272 seconds]
12:56
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:56
elia has joined #ruby-lang
12:57
zz_dlu has quit [Ping timeout: 256 seconds]
13:00
benlovell has quit [Ping timeout: 244 seconds]
13:01
the_real_intinig has joined #ruby-lang
13:01
intinig has quit [Read error: Connection reset by peer]
13:01
ta has joined #ruby-lang
13:05
elia has quit [Quit: (IRC Client: textualapp.com)]
13:06
ta has quit [Ping timeout: 265 seconds]
13:06
[spoiler] has joined #ruby-lang
13:08
francisfish has quit [Read error: Connection reset by peer]
13:09
francisfish has joined #ruby-lang
13:10
aotg has joined #ruby-lang
13:10
ta has joined #ruby-lang
13:10
wm3|away is now known as workmad3
13:10
kl has joined #ruby-lang
13:11
simi has quit [Ping timeout: 244 seconds]
13:12
nofxx has joined #ruby-lang
13:12
nofxx has joined #ruby-lang
13:13
zz_dlu has joined #ruby-lang
13:13
GaelanAintAround has joined #ruby-lang
13:14
jefus_ is now known as jefus
13:14
loincloth has joined #ruby-lang
13:18
loincloth has quit [Ping timeout: 245 seconds]
13:19
arBmind has joined #ruby-lang
13:20
ta has quit [Ping timeout: 276 seconds]
13:22
Integralist has quit [Ping timeout: 272 seconds]
13:23
francisfish has quit [Read error: Connection reset by peer]
13:23
francisfish has joined #ruby-lang
13:24
setanta has joined #ruby-lang
13:26
arBmind has quit [Quit: Leaving.]
13:27
arBmind has joined #ruby-lang
13:29
j4cknewt has quit [Remote host closed the connection]
13:30
Sirupsen has joined #ruby-lang
13:32
tcopeland has joined #ruby-lang
13:36
tkuchiki has joined #ruby-lang
13:38
benlovell has joined #ruby-lang
13:38
rbowlby has joined #ruby-lang
13:39
rahul_j has quit [Quit: rahul_j]
13:43
rbowlby has quit [Ping timeout: 264 seconds]
13:46
rcvalle has joined #ruby-lang
13:47
klmlfl has joined #ruby-lang
13:49
ta has joined #ruby-lang
13:49
godzillaenlacasa has joined #ruby-lang
13:51
klmlfl has quit [Ping timeout: 244 seconds]
13:52
yfeldblum has quit [Ping timeout: 265 seconds]
13:52
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
13:52
Sirupsen has joined #ruby-lang
13:52
Sirupsen has quit [Client Quit]
13:55
workmad3 has quit [Ping timeout: 252 seconds]
13:56
Sadin has joined #ruby-lang
13:57
leonshalimov has joined #ruby-lang
13:57
martinium has joined #ruby-lang
13:58
arBmind has quit [Quit: Leaving.]
13:58
Integralist has joined #ruby-lang
13:58
banister has joined #ruby-lang
13:59
nickpassarella has joined #ruby-lang
14:02
leonshalimov has quit [Ping timeout: 255 seconds]
14:02
arBmind has joined #ruby-lang
14:03
ta has quit [Ping timeout: 276 seconds]
14:06
sleepee has quit [Quit: Leaving]
14:07
R\w\C has quit [Changing host]
14:07
R\w\C has joined #ruby-lang
14:09
AKASkip has quit [Ping timeout: 252 seconds]
14:12
Sirupsen has joined #ruby-lang
14:15
loincloth has joined #ruby-lang
14:17
kadwill has joined #ruby-lang
14:19
the_real_intinig has quit [Remote host closed the connection]
14:19
loincloth has quit [Ping timeout: 245 seconds]
14:19
intinig has joined #ruby-lang
14:20
arBmind has quit [Quit: Leaving.]
14:23
kadwill has quit []
14:26
GBrawl has joined #ruby-lang
14:27
chouhoulis has joined #ruby-lang
14:27
intinig has quit [Ping timeout: 240 seconds]
14:28
chouhoul_ has joined #ruby-lang
14:28
chouhoulis has quit [Read error: Connection reset by peer]
14:28
cornerma1 has joined #ruby-lang
14:30
ta has joined #ruby-lang
14:31
cornerman has quit [Ping timeout: 246 seconds]
14:31
cornerma1 is now known as cornerman
14:32
stamina has quit [Quit: WeeChat 1.1]
14:32
revath has quit [Ping timeout: 240 seconds]
14:33
arBmind has joined #ruby-lang
14:33
sarkyniin has joined #ruby-lang
14:33
<
darix >
chris2: why not just use one of those "bundle all dependencies into a single binary things that already exist?
14:35
ta has quit [Ping timeout: 276 seconds]
14:36
stamina has joined #ruby-lang
14:38
<
chris2 >
darix: e.g.?
14:39
<
chris2 >
darix: they all seem to package system ruby as well
14:39
malconis has joined #ruby-lang
14:40
<
chris2 >
wrong link? :)
14:40
oleo has joined #ruby-lang
14:42
booly-yam-8846 has quit [Ping timeout: 276 seconds]
14:44
<
darix >
chris2: naw. i found it more important than your problem. ;)
14:45
leonshalimov has joined #ruby-lang
14:46
<
tbuehlmann >
it sure is
14:47
fedexo has joined #ruby-lang
14:47
<
darix >
we sure have too many politicians still stuck in the cold war mentality
14:47
ottlikg has quit [Ping timeout: 246 seconds]
14:49
yfeldblum has joined #ruby-lang
14:50
iamninja has joined #ruby-lang
14:50
arBmind has quit [Quit: Leaving.]
14:50
ta has joined #ruby-lang
14:53
yfeldblum has quit [Ping timeout: 244 seconds]
14:54
AKASkip has joined #ruby-lang
14:54
pancake-breakfas has joined #ruby-lang
14:55
ta has quit [Ping timeout: 276 seconds]
14:57
simi has joined #ruby-lang
15:00
whippythellama has joined #ruby-lang
15:02
brooks has joined #ruby-lang
15:02
shinnya has joined #ruby-lang
15:02
klmlfl has joined #ruby-lang
15:03
booly-yam-8846 has joined #ruby-lang
15:03
arBmind has joined #ruby-lang
15:07
klmlfl has quit [Ping timeout: 264 seconds]
15:08
ta has joined #ruby-lang
15:08
rahul_j has joined #ruby-lang
15:09
chills42 has quit [Remote host closed the connection]
15:09
scottj has joined #ruby-lang
15:09
hotpancakes has joined #ruby-lang
15:10
Lewix has joined #ruby-lang
15:10
GBrawl has quit [Quit: (null)]
15:13
ta has quit [Ping timeout: 276 seconds]
15:14
klmlfl has joined #ruby-lang
15:16
arBmind has quit [Quit: Leaving.]
15:17
shazaum_ has quit [Quit: This computer has gone to sleep]
15:18
arBmind has joined #ruby-lang
15:19
loincloth has joined #ruby-lang
15:23
ledestin has quit [Quit: ledestin]
15:24
klmlfl has quit [Remote host closed the connection]
15:24
pancake-breakfas has quit [Read error: Connection reset by peer]
15:25
pancake-breakfas has joined #ruby-lang
15:25
intinig has joined #ruby-lang
15:25
shazaum_ has joined #ruby-lang
15:31
ottlikg has joined #ruby-lang
15:33
intinig has quit [Ping timeout: 245 seconds]
15:36
ottlikg has quit [Ping timeout: 276 seconds]
15:38
mattyohe has joined #ruby-lang
15:40
RobertBirnie has joined #ruby-lang
15:40
vozcelik has joined #ruby-lang
15:41
shazaum__ has joined #ruby-lang
15:43
shazaum_ has quit [Ping timeout: 252 seconds]
15:43
joast has quit [Quit: Leaving.]
15:44
SilentNuke has joined #ruby-lang
15:45
Sadin has quit [Remote host closed the connection]
15:45
Sadin has joined #ruby-lang
15:46
ruby-lang782 has joined #ruby-lang
15:47
<
ruby-lang782 >
I have heard that RoR is not scalable is it so
15:47
<
darix >
ruby-lang782: FUD
15:47
<
ruby-lang782 >
I mean is there provision for concurrency et al
15:48
<
darix >
you can do multi process you can do threaded
15:48
<
darix >
and most of the time your own code will matter way more than the rails code
15:48
<
yorickpeterse >
but node.js is webscale
15:49
<
ljarvis >
it's no php
15:49
<
ruby-lang782 >
so are there implementations of thread as in java in Ruby
15:49
<
darix >
ruby-lang782: you can even run rails on jruby which uses a jvm
15:49
<
darix >
ruby-lang782: you want to learn more and stop believing in FUD
15:50
Sadin has quit [Ping timeout: 256 seconds]
15:50
<
ruby-lang782 >
This is the first time I am on an IRC..so pardon me..I dint get FUD?
15:52
revath has joined #ruby-lang
15:52
<
ruby-lang782 >
oh great... gotcha
15:53
mskaesz has joined #ruby-lang
15:53
<
ruby-lang782 >
any pointers on docs /articles/ on threading in RoR?
15:53
mkaesz has quit [Read error: No route to host]
15:53
<
ljarvis >
ruby-lang782: yeah, dont do it
15:53
<
darix >
multi process works just as fine
15:53
<
darix >
see puma or unicorn or mod_passenger
15:53
<
darix >
those are common deployment methods
15:54
<
darix >
ljarvis: discourse actually runs fine with puma on 2.1
15:55
<
yorickpeterse >
I think he meant manual threading in Rails
15:55
<
ruby-lang782 >
how about nginx
15:56
mskaesz has quit [Remote host closed the connection]
15:56
<
yorickpeterse >
what about it?
15:56
<
ljarvis >
yes that's what he meant
15:56
<
ljarvis >
hence my "dont do it"
15:57
hotpancakes has quit []
15:57
Fooster has joined #ruby-lang
15:57
<
ruby-lang782 >
My intent is to have a scalable web app
15:57
apeiros has quit [Remote host closed the connection]
15:57
<
ljarvis >
ruby-lang782: that's not dependant entirely on rails
15:58
<
Fooster >
does anyone know how to determine whether the install is 64 bit or 32 bit exe at runtime IN ruby under windows?
15:58
revath has quit [Read error: Connection reset by peer]
15:58
<
darix >
Fooster: why does it matter?
15:58
apeiros has joined #ruby-lang
15:58
<
Fooster >
its for setting up a gem
15:58
<
Fooster >
determining paths in extconf.rb
15:59
<
darix >
Fooster: why not just use RbConfig::CONFIG stuff?
15:59
<
darix >
which has all the paths for your current running ruby version
15:59
<
ljarvis >
Fooster: `ruby -v` ? :P
15:59
<
ljarvis >
but yeah, I'd use RbConfig too
15:59
<
Fooster >
so there is a var in there which says 64 bit?
15:59
<
darix >
Fooster:
*why*
15:59
<
Fooster >
as I said!
15:59
<
darix >
which path would you handle differently in that case?!
16:00
<
ljarvis >
>> ['x'].pack('p').size
16:00
<
Fooster >
the include path
16:00
<
darix >
which include path?
16:00
<
Fooster >
its for setting up a native build
16:00
<
ljarvis >
i think that'll be 8 on 64bit
16:00
<
Fooster >
its for setting up the include path in extconf for native extensions
16:00
<
Fooster >
and for the library
16:00
<
darix >
Fooster: again
16:00
<
ljarvis >
>> Config::CONFIG["host_cpu"]
16:01
<
ljarvis >
>> require 'rbconfig'; Config::CONFIG["host_cpu"]
16:01
workmad3 has joined #ruby-lang
16:01
<
Fooster >
darix: again what?
16:01
<
ljarvis >
>> require 'rbconfig'; RbConfig::CONFIG["host_cpu"]
16:01
kapil__ has quit [Quit: Connection closed for inactivity]
16:01
<
darix >
RbConfig::CONFIG['rubyhdrdir']
16:01
<
ljarvis >
>> require 'rbconfig'; RbConfig::CONFIG["arch"]
16:01
<
Fooster >
but that isn't what I want
16:01
<
Fooster >
its for a third party library
16:02
<
Fooster >
for 64 bit builds its in blahblah/x64
16:02
<
Fooster >
and for 32
16:02
<
Fooster >
blahblah/x32
16:02
<
darix >
Fooster: and you sure that path is always the same?
16:02
apeiros has quit [Ping timeout: 245 seconds]
16:02
<
Fooster >
I know where it is installed yes
16:02
SilentNuke has quit []
16:02
<
Fooster >
because the installation location is placed in a registry key
16:02
<
Fooster >
by the third party package installer
16:03
<
Fooster >
I want to allow the user to override that with --with-<name>-include, -lib also
16:03
<
darix >
Fooster: >> require 'rbconfig'; RbConfig::CONFIG["arch"]
16:03
<
darix >
as ljarvis pointed out
16:03
<
darix >
just dig in rbconfig
16:03
pancake-breakfas has joined #ruby-lang
16:03
[H]unt3r has joined #ruby-lang
16:04
<
Fooster >
is it common to distribute pre-build gems?
16:04
ascarter has joined #ruby-lang
16:04
<
Fooster >
I can'tr really find instructions on how to do so
16:04
<
darix >
Fooster: sure
16:04
<
darix >
you just push them to rubygems.org too
16:04
<
Fooster >
with a specific name or something?
16:05
<
darix >
.mswin or so in the name
16:05
<
Fooster >
x64-mingw and x86-mingw probably?
16:05
<
Fooster >
how does this work against different versions of ruby?
16:06
|jemc| has joined #ruby-lang
16:07
diegoviola has joined #ruby-lang
16:07
ruby-lang782 has quit [Ping timeout: 246 seconds]
16:08
arBmind has quit [Quit: Leaving.]
16:11
maso has joined #ruby-lang
16:12
martinbmadsen has joined #ruby-lang
16:14
leonshalimov has quit [Ping timeout: 246 seconds]
16:17
Integral1st has joined #ruby-lang
16:17
Integral1st has quit [Client Quit]
16:17
martinbmadsen has quit [Ping timeout: 264 seconds]
16:18
rippa has joined #ruby-lang
16:19
solars has quit [Ping timeout: 246 seconds]
16:19
<
Fooster >
are gems used for deployment purposes as well as development?
16:20
svajone has joined #ruby-lang
16:20
Integralist has quit [Ping timeout: 244 seconds]
16:20
klmlfl has joined #ruby-lang
16:20
leonshalimov has joined #ruby-lang
16:21
ta has joined #ruby-lang
16:21
intinig has joined #ruby-lang
16:24
fedexo has quit [Ping timeout: 256 seconds]
16:24
<
yorickpeterse >
ljarvis: 1,3 minutes :<
16:25
<
ljarvis >
the "in the time you've been here, Warren would have earned..." is just down right mean
16:26
ta has quit [Ping timeout: 276 seconds]
16:28
<
yorickpeterse >
:D :D :D :D one more app to deploy
16:28
<
yorickpeterse >
and then this migration is
16:28
<
yorickpeterse >
* done
16:28
<
yorickpeterse >
Then the fun can really begin: actually using our new stuff
16:28
<
yorickpeterse >
and probably fixing everything that breaks in the process
16:28
j4cknewt has joined #ruby-lang
16:30
nofxx has quit [Ping timeout: 265 seconds]
16:30
intinig has quit [Remote host closed the connection]
16:31
intinig has joined #ruby-lang
16:31
j4cknewt has quit [Remote host closed the connection]
16:32
francisfish has quit [Remote host closed the connection]
16:33
dzejrou has joined #ruby-lang
16:34
ta has joined #ruby-lang
16:34
tenderlove has joined #ruby-lang
16:35
revath has joined #ruby-lang
16:38
yfeldblum has joined #ruby-lang
16:38
apeiros has joined #ruby-lang
16:39
intinig has quit [Ping timeout: 246 seconds]
16:39
ta has quit [Ping timeout: 276 seconds]
16:39
j4cknewt has joined #ruby-lang
16:41
joast has joined #ruby-lang
16:42
ta has joined #ruby-lang
16:42
intinig has joined #ruby-lang
16:43
yfeldblum has quit [Ping timeout: 252 seconds]
16:43
vozcelik has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:43
leonshalimov has quit [Ping timeout: 245 seconds]
16:43
djellemah has quit [Ping timeout: 265 seconds]
16:43
chills42 has joined #ruby-lang
16:43
sivsushruth has joined #ruby-lang
16:46
ta has quit [Ping timeout: 240 seconds]
16:47
gwendall has quit [Remote host closed the connection]
16:47
Xzanron has quit [Read error: Connection reset by peer]
16:48
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:50
j4cknewt has quit [Remote host closed the connection]
16:51
vozcelik has joined #ruby-lang
16:51
dstodolny has joined #ruby-lang
16:51
__butch__ has joined #ruby-lang
16:53
<
dstodolny >
Hi! Can you help me? Is it elegant to use instance variables in class which are not initialized and setting them using other methods?
16:53
<
sivsushruth >
I am writing a gem
16:54
<
sivsushruth >
and i need to include an html file in it
16:54
scottj has left #ruby-lang [#ruby-lang]
16:54
<
sivsushruth >
what is the best way to do it
16:54
<
sivsushruth >
the current rake install ignores my html and css files
16:54
<
sivsushruth >
any suggestions ?
16:55
<
sivsushruth >
epitron: any suggestions ?
16:55
<
ljarvis >
dstodolny: yep
16:55
havenwood has joined #ruby-lang
16:56
<
sivsushruth >
ljarvis: any suggestions ?
16:57
<
ljarvis >
sivsushruth: what's the html file for?
16:57
<
sivsushruth >
I am trying to generate a html + css + js static web app
16:57
<
sivsushruth >
from witihn the app
16:57
<
sivsushruth >
html and all do not change
16:58
<
sivsushruth >
but i generate a json to be used by them js
16:58
booly-yam-8846 has quit [Ping timeout: 255 seconds]
17:00
djellemah has joined #ruby-lang
17:00
<
ljarvis >
it doesn't matter where you put it really, maybe a "views" or "layouts" folder
17:00
ItSANgo_ has quit [Quit: Leaving...]
17:00
<
sivsushruth >
the final package does not include that folder
17:00
<
sivsushruth >
do i need to specify something in the gemspec file ?
17:01
martinium has quit [Remote host closed the connection]
17:01
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:01
kl has quit [Ping timeout: 240 seconds]
17:01
klmlfl has quit [Ping timeout: 245 seconds]
17:02
chills42 has quit [Remote host closed the connection]
17:02
ottlikg has joined #ruby-lang
17:04
tsou has joined #ruby-lang
17:05
cmisenas has joined #ruby-lang
17:05
klmlfl has joined #ruby-lang
17:05
centrx has joined #ruby-lang
17:08
chills42 has joined #ruby-lang
17:08
<
ljarvis >
yep, s.files needs to include it
17:11
Sadin has joined #ruby-lang
17:12
Sadin has quit [Remote host closed the connection]
17:12
Sadin has joined #ruby-lang
17:12
diegoviola has quit [Quit: WeeChat 1.0.1]
17:13
arBmind has joined #ruby-lang
17:15
wallerdev has joined #ruby-lang
17:17
Sadin has quit [Ping timeout: 265 seconds]
17:17
ItSANgo has joined #ruby-lang
17:18
futilegames has quit [Quit: futilegames]
17:19
booly-yam-8846 has joined #ruby-lang
17:20
chills42 has quit [Remote host closed the connection]
17:21
rahul_j has quit [Quit: rahul_j]
17:22
amsi has joined #ruby-lang
17:23
rahul_j has joined #ruby-lang
17:23
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:23
skade has joined #ruby-lang
17:23
benlovell has quit [Ping timeout: 256 seconds]
17:24
djellemah has quit [Quit: Leaving]
17:24
djellemah has joined #ruby-lang
17:24
francisfish has joined #ruby-lang
17:24
benlovell has joined #ruby-lang
17:25
maso has quit [Remote host closed the connection]
17:25
Missphoenix has quit [Quit: Leaving]
17:25
klmlfl has quit [Remote host closed the connection]
17:26
vozcelik has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:26
<
epitron >
sivsushruth: easiest solution is to tell the .gemspec to use everything you've committed to git in the gem archive
17:26
michaeldeol has joined #ruby-lang
17:26
chills42 has joined #ruby-lang
17:27
<
epitron >
s.files = `git ls`.lines.map(&:strip)
17:27
[H]unt3r has quit [Remote host closed the connection]
17:28
<
epitron >
Always remember to commit before building the gem
17:28
<
apeiros >
I find a dependency on git for a gemspec a bad idea.
17:28
skade has quit [Quit: Computer has gone to sleep.]
17:28
<
apeiros >
Dir.glob should certainly do the trick too
17:31
<
svajone >
Hey guys, need help refactoring something.
17:32
malconis has joined #ruby-lang
17:34
RobertBirnie has joined #ruby-lang
17:34
<
[spoiler] >
ljarvis, lol that website makes me giggle
17:35
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:35
<
[spoiler] >
the warren-buffet one
17:35
brooks has quit [Read error: Connection reset by peer]
17:36
ta has joined #ruby-lang
17:36
symm- has joined #ruby-lang
17:36
ottlikg has quit [Ping timeout: 245 seconds]
17:39
leonshalimov has joined #ruby-lang
17:39
benlovell has quit [Ping timeout: 244 seconds]
17:42
frzng has quit [Quit: frzng]
17:42
frzng has joined #ruby-lang
17:42
wallerdev has quit [Quit: wallerdev]
17:45
<
epitron >
apeiros: why?
17:46
<
apeiros >
epitron: with dependencies, the question is usually not "why not?".
17:46
<
epitron >
Are you worried that someone who git cloned your gen from GitHub won't be able to build it?
17:46
ascarter has joined #ruby-lang
17:46
<
apeiros >
you think git clone is the only way to get at the source?
17:46
[H]unt3r has joined #ruby-lang
17:46
BubonicPestilenc has joined #ruby-lang
17:47
<
apeiros >
and yes. it makes anything beyond the expected harder to do.
17:47
<
epitron >
You think any developer doesn't have git these days?
17:47
<
apeiros >
you think it's reasonable to have a dependency to get virtually zero advantage?
17:47
<
epitron >
Microsoft has a GitHub repository
17:47
abhi_rsd has joined #ruby-lang
17:47
<
apeiros >
I'm not willing to continue this discussion.
17:47
<
epitron >
The world has changed :)
17:48
<
epitron >
Git is pretty standard
17:48
<
apeiros >
you make two assumptions:
17:48
<
apeiros >
the source was obtained from git
17:48
<
apeiros >
the developer has git
17:48
rikkipitt has quit []
17:49
<
apeiros >
three, even. the gemspec is read/used in a way which allows shelling out.
17:49
<
apeiros >
but I guess it's a case of "works for me".
17:49
rahul_j_ has joined #ruby-lang
17:50
<
apeiros >
so as I said, not willing to continue.
17:50
rahul_j has quit [Ping timeout: 265 seconds]
17:50
rahul_j_ is now known as rahul_j
17:50
<
darix >
epitron: there are still plenty of other alternatives for version mgmt which are all alive and kicking. (hg, svn just to name a few)
17:50
<
darix >
hell people even still use cvs
17:50
<
epitron >
darix: I'd be very surprised if a developer had an alternative and not git
17:51
<
epitron >
apeiros: if you can show me this mythical developer who doesn't have git, I will concede :)
17:52
<
darix >
epitron: majority of the windows devs probably
17:52
rahul_j has quit [Client Quit]
17:52
<
darix >
more useful things to do
17:55
<
apeiros >
epitron: download your source as tarball from github and you're already lost. no matter whether you have git.
17:55
<
apeiros >
epitron: also, just ask a couple of devs. there are plenty of gitless devs. assuming everybody uses what you use is just a form of arrogance.
17:56
<
apeiros >
(in the ruby scene it'll probably be rare)
17:56
skade has joined #ruby-lang
17:56
<
apeiros >
(and why do I continue? I know it leads nowhere…)
17:56
cored has joined #ruby-lang
17:56
cored has joined #ruby-lang
17:57
<
darix >
apeiros: go enjoy the latest genius ideas from eu commission instead ;)
17:57
Rayford has joined #ruby-lang
17:57
<
apeiros >
what did they commit this time? :-S
17:58
benlovell has joined #ruby-lang
17:59
<
apeiros >
oh right.
17:59
<
apeiros >
I'm in active denial about those idiocies.
18:01
skade has quit [Quit: Computer has gone to sleep.]
18:03
wallerdev has joined #ruby-lang
18:03
leonshalimov has quit [Ping timeout: 272 seconds]
18:05
francisfish has quit [Remote host closed the connection]
18:06
cored has quit [Ping timeout: 245 seconds]
18:06
skade has joined #ruby-lang
18:09
nofxx has joined #ruby-lang
18:09
workmad3 has quit [Ping timeout: 252 seconds]
18:10
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:10
robbyoconnor has quit [Ping timeout: 264 seconds]
18:10
leonshalimov has joined #ruby-lang
18:11
ta has quit [Ping timeout: 276 seconds]
18:12
ta has joined #ruby-lang
18:13
<
epitron >
Sure, in the non ruby scene it's probably less totally ubiquitous
18:13
Sadin has joined #ruby-lang
18:13
[H]unt3r has quit [Remote host closed the connection]
18:13
[H]unt3r has joined #ruby-lang
18:14
stamina has quit [Quit: WeeChat 1.1]
18:15
benlovell has quit [Quit: leaving]
18:15
michaeldeol has joined #ruby-lang
18:16
GBrawl has joined #ruby-lang
18:17
VictorBjelkholm has quit [Quit: Leaving]
18:18
Sadin has quit [Ping timeout: 272 seconds]
18:19
djbkd has joined #ruby-lang
18:22
<
svajone >
I have this formula, Math.acos(side_b**2 + side_c**2 - side_a**2) / (2.0 * side_b * side_c) and I use this array = [side_a, side_b, side_c]
18:22
Torrieri has joined #ruby-lang
18:23
<
svajone >
Ah, forget it. :d
18:23
<
svajone >
I can not even explain it. Haha.
18:23
<
wallerdev >
i know that feeling
18:25
GBrawl has quit [Quit: (null)]
18:26
jgpawletko has joined #ruby-lang
18:27
yfeldblum has joined #ruby-lang
18:27
klmlfl has joined #ruby-lang
18:27
robbyoconnor has joined #ruby-lang
18:28
ta has quit [Ping timeout: 276 seconds]
18:29
ta has joined #ruby-lang
18:31
yfeldblum has quit [Ping timeout: 245 seconds]
18:32
Lewix has joined #ruby-lang
18:32
Lewix has joined #ruby-lang
18:35
ta has quit [Ping timeout: 265 seconds]
18:38
cored has joined #ruby-lang
18:38
cored has quit [Changing host]
18:38
cored has joined #ruby-lang
18:41
<
sivsushruth >
I made a CLI gem to build an interactive Hierarchical Edge Bundling dependency graph from the gemfile . (Suggestions and criticisms welcome)
18:42
ta has joined #ruby-lang
18:42
kl__ has joined #ruby-lang
18:45
<
sivsushruth >
epitron: following your advice, generating a d3 graph
18:46
cmisenas has quit [Ping timeout: 256 seconds]
18:47
cmisenas has joined #ruby-lang
18:48
skade has quit [Quit: Computer has gone to sleep.]
18:49
<
Senjai >
sivsushruth: haha cool
18:49
<
sivsushruth >
any suggestions you have ?
18:49
<
Senjai >
sivsushruth: running it now
18:50
<
sivsushruth >
Senjai: did you try it out ?
18:50
<
sivsushruth >
Senjai: thanks
18:51
<
epitron >
sivsushruth: oh, I guess you could do it that way... :)
18:51
<
sivsushruth >
Need to write tests though
18:51
<
sivsushruth >
should have written tests
18:51
<
epitron >
I was thinking of making a web service that pulls data from rubygems
18:51
<
sivsushruth >
i went to build that
18:51
<
Senjai >
It'd be nice to zoom in and out
18:51
<
Senjai >
or make the text/rendering largert somehow
18:52
<
sivsushruth >
Senjai: please contribute if you have time
18:52
<
sivsushruth >
epitron: but too many gems, i wanted to build a zoomable one for all existing gems
18:53
<
sivsushruth >
Senjai: fuck, too many gems
18:53
<
Senjai >
sivsushruth: This is one of our smaller projects ;)
18:53
hahuang61 has joined #ruby-lang
18:53
skade has joined #ruby-lang
18:53
hahuang61 has quit [Client Quit]
18:53
hahuang65 has joined #ruby-lang
18:54
<
Senjai >
because I think its cute
18:55
<
sivsushruth >
Senjai: is the gem interesting enough for me to pursue it further ?
18:55
<
Senjai >
will take a closer look when I have more time available
18:55
<
sivsushruth >
like adding zoom and other features
18:55
<
Senjai >
Do you think its cool?
18:55
<
sivsushruth >
Senjai: thanks
18:55
<
sivsushruth >
Senjai: i personally like this
18:55
<
Senjai >
Then yes, its worth it
18:55
<
Senjai >
Dont care about what others think
18:56
<
Senjai >
Pretty pictures are always useful for clients, and its another tool you can have on your github
18:58
arBmind has quit [Quit: Leaving.]
18:58
ta has quit [Ping timeout: 272 seconds]
19:00
arBmind has joined #ruby-lang
19:03
lytol has joined #ruby-lang
19:04
intinig has quit [Remote host closed the connection]
19:05
booly-yam-8846 has quit [Ping timeout: 276 seconds]
19:06
simi has quit [Ping timeout: 264 seconds]
19:07
postmodern has joined #ruby-lang
19:08
sivsushruth has quit [Read error: Connection reset by peer]
19:09
francisfish has joined #ruby-lang
19:09
sivsushruth has joined #ruby-lang
19:10
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:10
ottlikg has joined #ruby-lang
19:14
<
svajone >
What’s the best approach in testing what arguments your class or method accepts?
19:14
<
epitron >
sivsushruth: too many gems?!
19:14
<
epitron >
Nonsense! :)
19:15
brooks has joined #ruby-lang
19:16
momomomomo has joined #ruby-lang
19:17
<
sivsushruth >
epitron: no no, i tried to make the graph for all existing gems
19:17
<
sivsushruth >
epitron: and the graph was just too cluttered
19:17
<
sivsushruth >
epitron: need to think of some other solution
19:17
<
epitron >
Add more dimensions
19:17
<
epitron >
Edge bundling
19:17
<
epitron >
Clustering
19:18
<
epitron >
It's a lot of work, of course
19:18
<
sivsushruth >
epitron: yeah
19:19
robbyoconnor has quit [Ping timeout: 245 seconds]
19:20
lguardiola has joined #ruby-lang
19:22
revath has quit [Read error: Connection reset by peer]
19:22
francisfish has quit [Remote host closed the connection]
19:22
francisfish has joined #ruby-lang
19:23
francisfish has quit [Remote host closed the connection]
19:26
ottlikg has quit [Ping timeout: 255 seconds]
19:28
francisfish has joined #ruby-lang
19:30
arBmind has quit [Quit: Leaving.]
19:31
Obfuscate has quit [Ping timeout: 276 seconds]
19:37
aotg has joined #ruby-lang
19:37
nickpassarella has quit [Quit: nickpassarella]
19:42
kl__ has quit [Ping timeout: 252 seconds]
19:42
donove has quit [Quit: Leaving]
19:43
amsi has quit [Read error: Connection reset by peer]
19:43
lapide_viridi has joined #ruby-lang
19:43
amsi has joined #ruby-lang
19:46
futilegames has joined #ruby-lang
19:47
Obfuscate has joined #ruby-lang
19:47
martinbmadsen has joined #ruby-lang
19:50
simi has joined #ruby-lang
19:50
shazaum__ has quit [Quit: Leaving]
19:50
spuk has joined #ruby-lang
19:51
futilegames has quit [Ping timeout: 264 seconds]
19:51
mkaesz has joined #ruby-lang
19:52
ta has joined #ruby-lang
19:52
j0n3 has joined #ruby-lang
19:53
martinbmadsen has quit [Ping timeout: 276 seconds]
19:58
nickpassarella has joined #ruby-lang
20:00
rbowlby has joined #ruby-lang
20:01
futilegames has joined #ruby-lang
20:02
ascarter has joined #ruby-lang
20:03
ascarter has quit [Max SendQ exceeded]
20:04
ascarter has joined #ruby-lang
20:05
ascarter has quit [Max SendQ exceeded]
20:05
GBrawl has joined #ruby-lang
20:05
<
ljarvis >
does anyone use a terminal window in vim with success?
20:06
ascarter has joined #ruby-lang
20:07
lytol has quit [Remote host closed the connection]
20:10
Bwild has joined #ruby-lang
20:11
arBmind has joined #ruby-lang
20:11
chills42_ has joined #ruby-lang
20:11
Rayford has quit [Quit: Rayford]
20:12
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:12
wallerdev has quit [Quit: wallerdev]
20:12
chills42_ has quit [Remote host closed the connection]
20:13
Sadin has joined #ruby-lang
20:13
chills42_ has joined #ruby-lang
20:14
chills42 has quit [Read error: Connection reset by peer]
20:14
<
centrx >
ljarvis, with conque?
20:14
<
ljarvis >
centrx: wat
20:15
<
centrx >
ljarvis, Do you mean make one of your vim windows into a terminal?
20:15
ldnunes has quit [Quit: Leaving]
20:15
<
centrx >
ConqueTerm works pretty well
20:15
<
ljarvis >
cool thanks
20:15
<
ljarvis >
i bet ^l doesn't work with it
20:16
<
centrx >
it does get funky rarely, last release was 2011
20:17
dagda1 has joined #ruby-lang
20:17
Sadin has quit [Ping timeout: 245 seconds]
20:17
<
ljarvis >
i guess i could split a tmux window and use vim in another one
20:17
<
ljarvis >
but i like mvim
20:20
sivsushruth has quit [Quit: Konversation terminated!]
20:24
futilegames has quit [Ping timeout: 256 seconds]
20:25
ta has quit [Read error: No route to host]
20:27
ta has joined #ruby-lang
20:27
fclausen has joined #ruby-lang
20:27
enkristoffer has quit [Quit: ❤]
20:32
ta has quit [Ping timeout: 276 seconds]
20:35
momomomomo has quit [Quit: momomomomo]
20:35
ta has joined #ruby-lang
20:35
skade has quit [Quit: Computer has gone to sleep.]
20:42
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:46
lytol has joined #ruby-lang
20:47
aef has quit [Remote host closed the connection]
20:52
martinium has joined #ruby-lang
20:52
martinium has joined #ruby-lang
20:55
ta has quit [Ping timeout: 244 seconds]
20:56
dagda1_ has joined #ruby-lang
20:56
fjfish has joined #ruby-lang
20:56
aef has joined #ruby-lang
20:56
momomomomo has joined #ruby-lang
20:56
dagda1 has quit [Ping timeout: 245 seconds]
20:57
ta has joined #ruby-lang
20:57
skade has joined #ruby-lang
20:58
francisfish has quit [Ping timeout: 240 seconds]
20:58
djbkd has quit [Remote host closed the connection]
20:58
futilegames has joined #ruby-lang
21:02
martinium has quit [Remote host closed the connection]
21:02
djellemah has quit [Ping timeout: 244 seconds]
21:02
ta has quit [Ping timeout: 276 seconds]
21:03
ta has joined #ruby-lang
21:03
martinium has joined #ruby-lang
21:03
martinium has quit [Changing host]
21:03
martinium has joined #ruby-lang
21:04
futilegames_ has joined #ruby-lang
21:04
[H]unt3r has quit []
21:05
futilegames has quit [Ping timeout: 246 seconds]
21:05
futilegames_ is now known as futilegames
21:05
futilegames has quit [Client Quit]
21:05
nickpassarella has quit [Quit: nickpassarella]
21:07
wallerdev has joined #ruby-lang
21:08
ta has quit [Ping timeout: 265 seconds]
21:11
ta has joined #ruby-lang
21:12
fusillicode has quit [Ping timeout: 265 seconds]
21:13
chills42_ has quit [Remote host closed the connection]
21:13
sarkyniin has quit [Remote host closed the connection]
21:14
[spoiler] has quit [Quit: I'm running to save my life!]
21:18
yfeldblum has joined #ruby-lang
21:20
djbkd has joined #ruby-lang
21:26
ta has quit [Ping timeout: 246 seconds]
21:27
ta has joined #ruby-lang
21:28
hramrach has quit [Ping timeout: 250 seconds]
21:30
Rayford has joined #ruby-lang
21:32
michaeldeol has joined #ruby-lang
21:33
ta has quit [Ping timeout: 276 seconds]
21:34
martinbmadsen has joined #ruby-lang
21:34
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
21:38
nertzy has joined #ruby-lang
21:38
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:38
martinbmadsen has quit [Ping timeout: 264 seconds]
21:40
ta has joined #ruby-lang
21:41
momomomomo_ has joined #ruby-lang
21:41
lapide_viridi has quit [Quit: Leaving]
21:42
lsegal has joined #ruby-lang
21:43
martinbmadsen has joined #ruby-lang
21:44
momomomomo has quit [Ping timeout: 255 seconds]
21:44
momomomomo_ is now known as momomomomo
21:46
<
|jemc| >
just ran into a weird issue with ruby-ffi, just wanted to echo it here so someone can tell me if my conclusion doesn't sound right
21:47
ta has quit [Ping timeout: 276 seconds]
21:49
<
|jemc| >
I'm creating callbacks to pass into a C library using FFI::Function.new(return_type, [*arg_signature], blocking: true) { do_my_stuff }
21:49
<
|jemc| >
I pass that FFI::Function into the native method call and don't retain a reference
21:49
brooks has quit [Quit: brooks]
21:50
<
|jemc| >
(to the FFI::Function instance)
21:50
<
|jemc| >
after some time, I sometimes see SEGVs that I've tracked down in GDB to the moment the callback function pointer is invoked
21:51
<
yxhuvud >
sounds as if the callback has already been gc:d.
21:51
<
yxhuvud >
Do you have to keep a reference around to it?
21:51
<
|jemc| >
if I change my ruby code to store the FFI::Function in an instance variable, it works okay
21:51
<
|jemc| >
yxhuvud: yeah, that was my conclusion
21:52
<
|jemc| >
does that sound right that ruby-FFI won't keep the FFI::Function alive by itself? I suppose it wouldn't ever know when it was okay to release it for GC-ing
21:52
<
bnagy >
|jemc|: yes, that will happen
21:52
<
|jemc| >
so the "safest" thing ffi can do is avoid a memory leak by not keeping them around unecessarily
21:52
<
|jemc| >
leaving it up to the user to determine when it's okay to drop the reference
21:53
<
yxhuvud >
the safest thing to do is to keep a reference around and make certain you unreference it when you are done.
21:53
<
bnagy >
well if you make it an ivar it will get collected with your instance instead
21:53
<
|jemc| >
yxhuvud: right
21:53
<
bnagy >
which is usually fine if you design it right
21:53
<
|jemc| >
bnagy: yeah, that was my thought
21:53
tcopeland has quit [Ping timeout: 244 seconds]
21:53
<
bnagy >
as opposed to when it goes out of method scope
21:53
Pugsley_ has quit [Read error: Connection reset by peer]
21:53
<
|jemc| >
thanks guys, for confirming my inner discourse
21:54
martinium has quit [Read error: Connection reset by peer]
21:54
<
yxhuvud >
ime, it usually mean it may be a good idea to wrap the c functions in an extra layer.
21:54
martinium has joined #ruby-lang
21:55
martinbmadsen has quit [Ping timeout: 246 seconds]
21:55
ta has joined #ruby-lang
21:56
<
|jemc| >
yxhuvud: yeah, I've already got two layers in place outside of the attach_functions
21:56
<
|jemc| >
one is an autogenerated object wrapper, the other is a handwritten layer
21:57
<
|jemc| >
trying to determine now if this case needs to go into my generic code generator or into the hand written layer
21:57
<
yxhuvud >
you will have a hard time to automate good API's.
21:58
<
yxhuvud >
as that usually requires knowledge of reference lifecycles etc
21:58
Lewix has quit [Remote host closed the connection]
21:59
<
bnagy >
|jemc|: fwiw FFI wrappers are the only place I've ever tried to use finalizers :`(
21:59
<
|jemc| >
yxhuvud: well, I'm not automating for arbitrary C libs, I'm doing it for C libs that are written with the code generator and come with an XML spec that indicates how references are handled and how types are coerced
21:59
<
yxhuvud >
bnagy: works somewhat well even if it is a bit inconvenient
22:00
<
|jemc| >
bnagy: yeah, I use finalizers in my generated wrapper when the destructor takes no args
22:00
<
bnagy >
yeah, it just terrifies me though :/ I try to force people to use enumerables instead of give the C-backed arrays
22:00
<
|jemc| >
otherwise it makes a finalizer that yells at you and tells you to destroy explicitly
22:00
<
bnagy >
but sometimes that would lead to the user code being unworkable
22:00
ta has quit [Ping timeout: 276 seconds]
22:01
<
|jemc| >
you also have to handle the cases of destroying the finalizer when you're transferring ownership of a pointer back to C
22:02
<
yxhuvud >
thankfully I never had to handle that particular case
22:02
<
|jemc| >
my generator is public - part of zeromq/zproject if anyone is interested in critiquing/improving ;)
22:03
ta has joined #ruby-lang
22:03
<
|jemc| >
of course you have to learn the somewhat ugly GSL syntax that the zeromq organization uses for their templating/generation, but you get used to it :P
22:03
nofxx has quit [Ping timeout: 245 seconds]
22:07
<
|jemc| >
zproject generates the C headers and build skeleton, and now, also Ruby and QML bindings
22:07
<
|jemc| >
so all you have to do is write the C implementation for each method :P
22:07
craigl_ has joined #ruby-lang
22:07
craigl_ has quit [Client Quit]
22:08
ta has quit [Ping timeout: 256 seconds]
22:08
mbr has quit [Quit: leaving]
22:11
AKASkip has quit [Ping timeout: 246 seconds]
22:11
Bwild has quit [Remote host closed the connection]
22:11
Bwild has joined #ruby-lang
22:12
dellavg_ has quit [Ping timeout: 264 seconds]
22:12
<
bnagy >
I thought the 0mq peeps ran off to do a new shiny thing?
22:13
Rayford has quit [Quit: Rayford]
22:15
GBrawl has quit [Quit: (null)]
22:18
<
|jemc| >
bnagy: you mean nanomsg? only a devs left for that I think
22:18
ta has joined #ruby-lang
22:18
fjfish has quit [Remote host closed the connection]
22:19
<
bnagy >
hm, that's not the name I remember
22:19
<
|jemc| >
still very active development going on in libzmq and friends projects
22:20
cored has quit [Quit: leaving]
22:21
martinium has quit [Remote host closed the connection]
22:22
martinbmadsen has joined #ruby-lang
22:24
<
bnagy >
I liked zmq, although in the end the crazy patterns weren't worth it for the tiny bit of perf I got in my application
22:25
mkaesz has quit [Remote host closed the connection]
22:25
<
bnagy >
so I went back to amqp :/
22:25
mkaesz has joined #ruby-lang
22:27
havenwood has quit [Remote host closed the connection]
22:27
<
wprice >
bnagy: -) good choice
22:27
<
wprice >
bnagy: well, I work on the AMQP team at Red Hat, so I’m biased
22:28
booly-yam-8846 has joined #ruby-lang
22:30
martinbmadsen has quit [Ping timeout: 256 seconds]
22:32
cmisenas has quit [Ping timeout: 276 seconds]
22:32
jgpawletko has quit [Quit: jgpawletko]
22:33
<
|jemc| >
bnagy, have you seen hintjens' latest client/broker project build on czmq + zproto (protocol-oriented code generation)?
22:33
svajone_ has joined #ruby-lang
22:34
svajone has quit [Ping timeout: 240 seconds]
22:34
svajone_ is now known as svajone
22:34
<
|jemc| >
it's a young project, and minimal, but his intent is to make it an minimal alternative to AMQP
22:35
cmisenas has joined #ruby-lang
22:35
dagda1_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:36
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
22:36
<
|jemc| >
zeromq by itself isn't really that comparable to a complete system like AMQP - it's really more of a toolbox for building your own custom systems
22:36
francisfish has joined #ruby-lang
22:37
<
bnagy >
|jemc|: yeah, I know, I wrote a lot of 0mq, but in my case what I needed was a pub sub
22:37
<
|jemc| >
yeah, sure
22:37
<
bnagy >
I was using a queue for a work queue, then that for assorted messaging
22:37
ledestin has joined #ruby-lang
22:38
<
bnagy >
actually, it looked a lot like this, but the flow control was bad
22:38
abder has joined #ruby-lang
22:38
momomomomo has quit [Quit: momomomomo]
22:38
ta has quit [Ping timeout: 272 seconds]
22:39
<
bnagy >
|jemc|: thanks for this, looks like something I need to look into more closely
22:40
jefus_ has joined #ruby-lang
22:40
<
|jemc| >
bnagy: sure - should be pretty simple to download and play around with it
22:41
<
|jemc| >
if you have questions about the code generation or any of the other parts of the stack, you can ask me - it's pretty similar in structure to a big private project I work on so I track all of that pretty closely
22:41
dstodolny has quit [Quit: Ex-Chat]
22:42
<
|jemc| >
and if you end up needing ruby FFI bindings for it - I can add the api/*.xml files and have those generated for you in a matter of a few hours :P
22:42
<
|jemc| >
I've been meaning to add them for that project, but hadn't needed to for myself yet, so it's been deferred
22:43
GBrawl has joined #ruby-lang
22:43
jefus has quit [Ping timeout: 252 seconds]
22:45
<
bnagy >
how would one normally work with it?
22:46
<
bnagy >
looks like a simple-ish wire protocol?
22:46
booly-yam-8846 has quit [Ping timeout: 256 seconds]
22:47
<
bnagy >
wouldn't a native client be easier?
22:48
ta has joined #ruby-lang
22:48
<
|jemc| >
bnagy: I wouldn't depend on the protocol staying the same at this young stage - if you're interested in a pure ruby client, you'd have to add Ruby support to zproto (the code generator for the client and server protocol engines)
22:48
<
|jemc| >
right now it supports C and clojure and one other language I think
22:49
iamninja has quit [Remote host closed the connection]
22:49
dagda1 has joined #ruby-lang
22:50
arBmind has quit [Ping timeout: 264 seconds]
22:51
<
|jemc| >
for a while I was maintaining three different implementations of a private protocol in three different languages and it ended up being pretty nightmarish to make changes
22:51
<
|jemc| >
now I'm happily just writing in C and wrapping in the other two
22:52
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:53
arBmind has joined #ruby-lang
22:53
ta has quit [Ping timeout: 276 seconds]
22:54
<
bnagy >
kind of amusing to use FFI to get api stability :>
22:55
<
|jemc| >
the czmq object-oriented style of C turns out to be pretty clean to write code in
22:55
ta has joined #ruby-lang
22:55
<
|jemc| >
I wasn't expecting it to be as pleasant as it is
22:56
<
|jemc| >
especially when I don't have to deal with changing headers and makefiles by hand
22:56
<
|jemc| >
(or writing ruby FFI bindings by hand, for that matter)
22:57
<
bnagy >
is clojure the java-ish one?
22:57
<
bnagy >
I use jruby for most prod ruby
22:57
<
bnagy >
although to be honest I'm moving a lot of scaffolding to go :(
22:57
<
|jemc| >
yeah, IIRC clojure is a lisp on the JVM
22:58
<
|jemc| >
easy to find out though :P
22:59
<
|jemc| >
I just looked - go happens to be the other language people having been working on zproto in
22:59
arBmind has quit [Ping timeout: 244 seconds]
23:00
<
|jemc| >
no idea how complete it is for go, though
23:00
ta has quit [Ping timeout: 244 seconds]
23:00
dzejrou has quit [Ping timeout: 272 seconds]
23:00
GBrawl has quit [Quit: (null)]
23:03
abder has quit [Quit: Page closed]
23:03
j4cknewt has joined #ruby-lang
23:04
leonshalimov has quit [Ping timeout: 240 seconds]
23:05
booly-yam-8846 has joined #ruby-lang
23:05
svajone has left #ruby-lang [#ruby-lang]
23:05
ta has joined #ruby-lang
23:06
pr0ton_ has joined #ruby-lang
23:06
nofxx has joined #ruby-lang
23:06
leonshalimov has joined #ruby-lang
23:06
enkristoffer has joined #ruby-lang
23:07
pr0ton_ has quit [Client Quit]
23:08
enebo has quit [Quit: enebo]
23:12
ozialien has quit [Remote host closed the connection]
23:15
pr0ton_ has joined #ruby-lang
23:16
pr0ton_ has joined #ruby-lang
23:16
<
|jemc| >
well it looks like all I can do in the generated FFI-using objects is add a warning to hold onto your FFI::Functions
23:16
iamninja has joined #ruby-lang
23:16
pr0ton_ has quit [Client Quit]
23:17
<
|jemc| >
because even though the code generator can know when "ownership" of them is transferred, it can't know when they might be discarded internally
23:17
<
|jemc| >
so, warning it is, then
23:17
<
|jemc| >
(in the comments for the callback-using method)
23:18
Musashi007 has joined #ruby-lang
23:19
__butch__ has quit [Quit: Leaving.]
23:20
jxie has quit [Remote host closed the connection]
23:21
j4cknewt has quit [Remote host closed the connection]
23:23
booly-yam-8846 has quit [Ping timeout: 240 seconds]
23:24
<
nofxx >
can I use yard's @see in a readme? how?
23:25
<
nofxx >
hm.. won't work on github an such and looks badly...
23:25
slumos is now known as slumos[away]
23:25
slumos[away] is now known as slumos
23:26
booly-yam-8846 has joined #ruby-lang
23:27
cmisenas has quit [Quit: cmisenas]
23:29
khoapham has joined #ruby-lang
23:30
apeiros has quit [Remote host closed the connection]
23:31
apeiros has joined #ruby-lang
23:31
tcopeland has joined #ruby-lang
23:31
whippythellama has quit [Quit: whippythellama]
23:32
ryez has joined #ruby-lang
23:32
<
cout >
hmm, my custom #inspect method is failing due to infinite recursion. is there an idiomatic solution?
23:34
klmlfl has quit [Remote host closed the connection]
23:34
abhi_rsd__ has joined #ruby-lang
23:35
abhi_rsd has quit [Ping timeout: 276 seconds]
23:36
iamninja has quit [Ping timeout: 250 seconds]
23:37
<
wallerdev >
howd you implement it
23:37
araujo has quit [Read error: Connection reset by peer]
23:38
araujo has joined #ruby-lang
23:38
jxie has joined #ruby-lang
23:38
<
wallerdev >
>> class C; def inspect; 5; end end; C.new.inspect
23:38
<
bnagy >
infinite recursion is always a bug
23:38
<
wallerdev >
did you call self.inspect
23:38
<
bnagy >
but MRI stack is pretty small, which can bite you for deep recursion
23:39
bb010g has joined #ruby-lang
23:39
<
bnagy >
I think they increaed it after 2 somewhere
23:39
<
waxjar >
you have to detect it somehow cout, i remember celluloid had an issue with it too, maybe you can look up how they fixed it
23:40
<
cout >
bnagy: it's a circular reference
23:40
<
waxjar >
>> x = []; x << x; x.inspect
23:40
ishikawa has quit [Remote host closed the connection]
23:40
<
cout >
was thinking of using a thread-local variable to remember which objects I've already seen
23:41
ishikawa has joined #ruby-lang
23:41
<
wallerdev >
huh lol
23:41
ur5us has joined #ruby-lang
23:41
booly-yam-8846 has quit [Ping timeout: 244 seconds]
23:41
<
cout >
waxjar: think more like: class Foo; def initialize(x); @x = x; end; def inspect; "Foo: x=#(@x.inspect}"; end; end
23:41
<
wallerdev >
oh you are inspecting children and one of the children is a parent of what you're inspecting?
23:41
skade has quit [Quit: Computer has gone to sleep.]
23:42
<
cout >
wallerdev: correct, I don't have a DAG
23:42
<
waxjar >
cout: i get what you mean, was just clarifying :)
23:42
<
cout >
because it's not acyclic
23:42
<
wallerdev >
well it depends what output you want to see in the inspect then i guess
23:43
<
wallerdev >
because you defined it in a way that itll run forever, you gotta think about what you would want to see instead
23:43
<
wallerdev >
and use that to determine what to do
23:43
<
cout >
wallerdev: I want it to not blow up the stack
23:43
ta has quit [Ping timeout: 276 seconds]
23:43
francisfish has quit [Remote host closed the connection]
23:43
<
cout >
wallerdev: the builtin implementatin of Object#inspect prints ... if it detects a cycle
23:44
pwelch has joined #ruby-lang
23:44
<
wallerdev >
i didnt know there was cycle detection in Object#inspect
23:44
shashin has joined #ruby-lang
23:44
ta has joined #ruby-lang
23:44
<
cout >
there is; it uses rb_exec_recursive()
23:44
<
cout >
but I can't call that from a script
23:45
<
|jemc| >
cout: you could try adding an optional argument to inspect that is an array of the objects already inspected
23:45
<
|jemc| >
or already on the stack, I should say
23:45
<
|jemc| >
don't know if that's the cleanest solution, though - using a thread local as you mentioned could also work
23:46
<
cout >
|jemc|: I thought of that, but Object#inspect wouldn't pass that argument back to me
23:46
<
|jemc| >
cout: you're right
23:46
* |jemc|
looks at how rubinius solves it in its AST printer
23:47
iamninja has joined #ruby-lang
23:48
<
bnagy >
you can convert any naive recursion to an iteration using an explicit stack
23:48
<
bnagy >
like just use a Queue or just an Array
23:48
<
bnagy >
looks ugly, though
23:49
<
|jemc| >
cout: rubinius AST printer does it using an external object, and now that I think about it, pp works the same way I think
23:49
<
|jemc| >
so when you call foo.inspect, it ends up calling Bar.inspect(foo)
23:49
<
|jemc| >
and Bar can hold the state to manage the recursion
23:50
mkaesz has quit [Remote host closed the connection]
23:50
<
cout >
|jemc|: but if it's not in a thread-local variable, it's not thread-safe
23:50
<
|jemc| >
Bar.new.inspect(foo) then
23:50
charliesome has joined #ruby-lang
23:51
<
cout >
|jemc|: then it loses its ability to detect the recursion
23:51
<
|jemc| >
cout: look at how pp is implemented - that's probably your best shot for idiomatic
23:51
symm- has quit [Ping timeout: 240 seconds]
23:52
<
waxjar >
seems like celluloid uses thread-local variables so, wrapped in a class method
23:52
djbkd has quit [Remote host closed the connection]
23:53
<
cout >
|jemc|: I will, thanks
23:53
<
|jemc| >
cout: I just dug a bit deeper into it - it also uses a thread local inside
23:53
<
|jemc| >
see PP#guard_inspect_key
23:54
womble has quit [Excess Flood]
23:54
womble has joined #ruby-lang
23:55
djbkd has joined #ruby-lang
23:56
oleo has quit [Read error: Connection reset by peer]
23:56
oleo has joined #ruby-lang