00:00
nXqd has joined #ruby-lang
00:01
JoshuaPaling has joined #ruby-lang
00:02
gix has joined #ruby-lang
00:03
benkhicks has quit [Ping timeout: 252 seconds]
00:04
nullFxn has quit [Quit: leaving]
00:06
CoreData1 has quit [Quit: CoreData1]
00:06
nullFxn has joined #ruby-lang
00:06
gix has quit [Ping timeout: 252 seconds]
00:07
lewix has quit [Remote host closed the connection]
00:07
momomomomo has quit [Quit: momomomomo]
00:07
bf4 has quit [Ping timeout: 240 seconds]
00:08
momomomomo has joined #ruby-lang
00:08
coca_rails has joined #ruby-lang
00:13
vlad_starkov has joined #ruby-lang
00:13
charliesome has joined #ruby-lang
00:16
makoto_ has joined #ruby-lang
00:21
makoto_ has quit [Ping timeout: 272 seconds]
00:21
x0f_ has joined #ruby-lang
00:22
x0f has quit [Read error: Operation timed out]
00:25
dhruvasa1ar has quit [Read error: Operation timed out]
00:28
fsvehla has quit [Quit: fsvehla]
00:32
dhruvasagar has joined #ruby-lang
00:34
simoz4 has quit [Ping timeout: 248 seconds]
00:34
BubonicPestilenc has joined #ruby-lang
00:35
BubonicPestilenc has left #ruby-lang [#ruby-lang]
00:35
cnivolle has joined #ruby-lang
00:35
florentg2 has joined #ruby-lang
00:36
seanlinsley has quit [Quit: seanlinsley]
00:41
tylersmith has quit [Remote host closed the connection]
00:41
vlad_starkov has quit [Read error: Connection reset by peer]
00:41
coca_rails has quit [Ping timeout: 245 seconds]
00:44
vlad_starkov has joined #ruby-lang
00:45
dhruvasagar has quit [Ping timeout: 264 seconds]
00:50
florentg2 has quit [Quit: florentg2]
00:51
dhruvasagar has joined #ruby-lang
00:51
CoreData has quit [Quit: CoreData]
00:51
CoreData has joined #ruby-lang
00:51
cnivolle has quit [Remote host closed the connection]
00:52
cnivolle has joined #ruby-lang
00:52
simoz4 has joined #ruby-lang
00:53
Pupeno_w_ has quit [Remote host closed the connection]
00:54
CoreData1 has joined #ruby-lang
00:56
cnivolle has quit [Ping timeout: 252 seconds]
01:00
CoreData1 has quit [Ping timeout: 252 seconds]
01:00
CoreData has quit [Ping timeout: 252 seconds]
01:00
mistym_ has joined #ruby-lang
01:01
CoreData has joined #ruby-lang
01:02
CoreData1 has joined #ruby-lang
01:02
gix has joined #ruby-lang
01:03
conceal_rs_____1 has quit [Quit: Tiarra 0.1+svn-36726: SIGTERM received; exit]
01:04
mistym_ has quit [Ping timeout: 246 seconds]
01:04
mrevd has quit [Quit: Leaving.]
01:07
gix has quit [Ping timeout: 246 seconds]
01:08
CoreData has quit [Ping timeout: 252 seconds]
01:12
lewix has joined #ruby-lang
01:12
tkuchiki has joined #ruby-lang
01:13
gix has joined #ruby-lang
01:14
hahuang65 has quit [Ping timeout: 260 seconds]
01:16
cnivolle has joined #ruby-lang
01:16
Cakey has joined #ruby-lang
01:16
gix- has joined #ruby-lang
01:16
gix has quit [Disconnected by services]
01:16
vlad_starkov has quit [Read error: Connection reset by peer]
01:16
makoto_ has joined #ruby-lang
01:16
__butch__ has quit [Quit: Leaving.]
01:17
sevvie has quit [Ping timeout: 250 seconds]
01:20
gix- has quit [Ping timeout: 252 seconds]
01:21
sevvie has joined #ruby-lang
01:21
makoto_ has quit [Ping timeout: 272 seconds]
01:22
GaelanAintAround is now known as Gaelan
01:22
MartynKeigher2 has quit [K-Lined]
01:23
marr has quit [Ping timeout: 260 seconds]
01:23
postmodern has joined #ruby-lang
01:26
gix has joined #ruby-lang
01:26
MartynKeigher has joined #ruby-lang
01:27
jame298 has joined #ruby-lang
01:29
iliketu__ has quit [Quit: zzzzz…..]
01:30
gix has quit [Read error: Operation timed out]
01:30
kitak_ has joined #ruby-lang
01:31
mistym has quit [Quit: Leaving]
01:32
jame298 has quit [Ping timeout: 264 seconds]
01:33
kitak has quit [Ping timeout: 245 seconds]
01:34
|jemc| has joined #ruby-lang
01:35
dhruvasagar has quit [Read error: Operation timed out]
01:38
coca_rails has joined #ruby-lang
01:38
mrevd has joined #ruby-lang
01:40
jsullivandigs has quit [Remote host closed the connection]
01:40
jsullivandigs has joined #ruby-lang
01:41
momomomomo has quit [Quit: momomomomo]
01:41
michaeldeol has quit [Remote host closed the connection]
01:42
coca_rails has quit [Ping timeout: 245 seconds]
01:43
ulisescab has quit []
01:44
snsei has quit [Remote host closed the connection]
01:44
snsei has joined #ruby-lang
01:45
jsullivandigs has quit [Ping timeout: 252 seconds]
01:45
vlad_starkov has joined #ruby-lang
01:48
iliketur_ has joined #ruby-lang
01:49
snsei has quit [Ping timeout: 265 seconds]
01:50
jonahR has quit [Quit: jonahR]
01:50
gix has joined #ruby-lang
01:51
momomomomo has joined #ruby-lang
01:52
lfox has joined #ruby-lang
01:53
datanoise has joined #ruby-lang
01:53
jerrytgarcia has quit [Quit: WeeChat 0.4.2]
01:54
iliketur_ has quit [Quit: zzzzz…..]
01:55
cycorld has joined #ruby-lang
01:55
Oloryn_lt2 has joined #ruby-lang
01:56
kurko______ has quit [Ping timeout: 264 seconds]
01:56
gix has quit [Ping timeout: 272 seconds]
01:58
datanoise has quit [Ping timeout: 240 seconds]
01:59
momomomomo has quit [Quit: momomomomo]
02:01
kitak_ has quit [Remote host closed the connection]
02:01
kitak has joined #ruby-lang
02:02
unrealhoang has joined #ruby-lang
02:02
dhruvasagar has joined #ruby-lang
02:02
hogoo has joined #ruby-lang
02:04
Pupeno_w has joined #ruby-lang
02:05
makoto_ has joined #ruby-lang
02:06
Barrin6 has joined #ruby-lang
02:07
Coincidental has quit [Remote host closed the connection]
02:07
kurko______ has joined #ruby-lang
02:07
kurko______ has quit [Max SendQ exceeded]
02:08
kurko______ has joined #ruby-lang
02:09
Pupeno_w has quit [Ping timeout: 265 seconds]
02:11
brianpWins has quit [Ping timeout: 264 seconds]
02:12
michaeldeol has joined #ruby-lang
02:13
kurko______ has quit [Ping timeout: 248 seconds]
02:13
jsrn has quit [Quit: Leaving]
02:14
mplangley_ has left #ruby-lang [#ruby-lang]
02:14
gromitmpl has joined #ruby-lang
02:16
vlad_starkov has quit [Read error: Connection reset by peer]
02:17
michaeldeol has quit [Ping timeout: 246 seconds]
02:21
fijimunk1i has joined #ruby-lang
02:22
fijimunkii has quit [Ping timeout: 252 seconds]
02:23
kurko______ has joined #ruby-lang
02:24
cnivolle has quit [Remote host closed the connection]
02:25
Coincidental has joined #ruby-lang
02:26
jonahR has joined #ruby-lang
02:26
mannyt has joined #ruby-lang
02:26
<
lewix >
aren't from and to rails methods use by active_support, i can't find docs about it
02:28
mrevd has quit [Quit: Leaving.]
02:29
tylersmith has joined #ruby-lang
02:29
<
lewix >
I 'm looking for something similar but for hashes
02:29
gix has joined #ruby-lang
02:31
gix- has joined #ruby-lang
02:31
gix has quit [Disconnected by services]
02:34
mistym has joined #ruby-lang
02:36
gix- has quit [Ping timeout: 272 seconds]
02:37
houhoulis has joined #ruby-lang
02:37
<
ledestin >
Opal is a ruby to javascript compiler
02:38
<
Nilium >
Well that's interesting except for it probably being mostly useless
02:38
tylersmith has quit [Remote host closed the connection]
02:39
coca_rails has joined #ruby-lang
02:39
<
ledestin >
people already use it in production
02:42
Oloryn_lt2 has quit [Read error: Connection timed out]
02:43
<
zenspider >
ledestin: I hope you don't consider that a good thing
02:44
Oloryn_lt2 has joined #ruby-lang
02:44
brianpWins has joined #ruby-lang
02:45
vlad_starkov has joined #ruby-lang
02:45
<
ledestin >
zenspider: maybe it's stable enough, for all I know
02:46
<
ledestin >
zenspider: I like writing Ruby more than JS, so it's something I'd use
02:49
Senjai`work has quit [Quit: WeeChat 0.3.7]
02:51
<
lewix >
whoever told me that we can't redefine + was wrong
02:51
kurko______ has quit [Ping timeout: 264 seconds]
02:52
amerine has quit [Excess Flood]
02:53
Oloryn_lt2 has quit [Read error: Connection reset by peer]
02:53
kurko______ has joined #ruby-lang
02:54
Oloryn_lt2 has joined #ruby-lang
02:54
datanoise has joined #ruby-lang
03:00
sepp2k has quit [Read error: Connection reset by peer]
03:00
hogoo has quit [Remote host closed the connection]
03:04
snsei has joined #ruby-lang
03:04
simoz4 has quit [Ping timeout: 252 seconds]
03:04
robbyoconnor has quit [Excess Flood]
03:05
jsullivandigs has joined #ruby-lang
03:05
robbyoconnor has joined #ruby-lang
03:06
yfeldblum has quit [Remote host closed the connection]
03:06
mrevd has joined #ruby-lang
03:07
mrevd has quit [Client Quit]
03:07
symm- has quit [Quit: Leaving...]
03:08
symm- has joined #ruby-lang
03:08
brianpWins has quit [Remote host closed the connection]
03:08
mrevd has joined #ruby-lang
03:10
mannyt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:12
coca_rails has quit [Ping timeout: 245 seconds]
03:13
EngierkO has quit [Excess Flood]
03:15
michaeldeol has joined #ruby-lang
03:16
vlad_starkov has quit [Read error: Connection reset by peer]
03:16
fijimunk1i has quit [Ping timeout: 246 seconds]
03:17
fuhgeddaboudit has joined #ruby-lang
03:18
jsullivandigs has quit [Ping timeout: 245 seconds]
03:19
jsullivandigs has joined #ruby-lang
03:20
michaeldeol has quit [Ping timeout: 260 seconds]
03:23
symm- has quit [Quit: Leaving...]
03:23
hogeo has joined #ruby-lang
03:23
symm- has joined #ruby-lang
03:27
CaptainJet has quit [Read error: Connection reset by peer]
03:27
CaptainJet has joined #ruby-lang
03:29
datanoise has quit [Ping timeout: 248 seconds]
03:31
hogoo has joined #ruby-lang
03:31
mannyt has joined #ruby-lang
03:32
makoto_ has quit [Remote host closed the connection]
03:33
makoto_ has joined #ruby-lang
03:37
hogoo has quit [Ping timeout: 240 seconds]
03:37
makoto_ has quit [Ping timeout: 252 seconds]
03:38
goldfax has joined #ruby-lang
03:39
CaptainJet has quit [Read error: No route to host]
03:41
dhruvasagar has quit [Ping timeout: 264 seconds]
03:41
goldfax has quit [Client Quit]
03:43
fuhgeddaboudit has quit [Ping timeout: 260 seconds]
03:44
hogoo has joined #ruby-lang
03:45
vlad_starkov has joined #ruby-lang
03:45
mistym has quit [Remote host closed the connection]
03:45
hogoo has quit [Remote host closed the connection]
03:46
symm- has quit [Ping timeout: 252 seconds]
03:49
tylersmith has joined #ruby-lang
03:49
soba has joined #ruby-lang
03:51
CaptainJet has joined #ruby-lang
03:52
bzalasky has joined #ruby-lang
03:52
bzalasky has quit [Remote host closed the connection]
03:53
tylersmith has quit [Ping timeout: 260 seconds]
03:56
KM|2 has joined #ruby-lang
03:57
vinhbachsy has joined #ruby-lang
03:59
Gaelan is now known as GaelanAintAround
04:00
datanoise has joined #ruby-lang
04:03
<
pipecloud >
ledestin: Good luck, but I would probably laugh at anyone using it in production myself. I'm admittedly someone who dislikes compiling to target languages such as Javascript.
04:03
makoto_ has joined #ruby-lang
04:03
vinhbachsy has quit [Read error: Connection reset by peer]
04:03
vinhbach_ has joined #ruby-lang
04:04
<
r0bgleeson >
Nilium: why would it be useless?
04:04
jerrytgarcia has joined #ruby-lang
04:04
<
Nilium >
Too many of the useful libs make use of the C API.
04:05
datanoise has quit [Ping timeout: 264 seconds]
04:05
hogeo has quit [Remote host closed the connection]
04:06
hogeo has joined #ruby-lang
04:06
yfeldblum has joined #ruby-lang
04:08
makoto_ has quit [Ping timeout: 264 seconds]
04:08
<
r0bgleeson >
Nilium: you're not going to run nokogiri in a browser.
04:08
<
r0bgleeson >
it's just ruby in the browser.
04:08
<
r0bgleeson >
you probably can't take 90% of the ecosystem over
04:09
coca_rails has joined #ruby-lang
04:09
<
Nilium >
But wouldn't it be cool to run nokigiri in the browser?
04:10
<
r0bgleeson >
yeah probably, but for another language in the browser opalrb looks good
04:10
hogeo has quit [Ping timeout: 250 seconds]
04:11
sevvie has quit [Ping timeout: 248 seconds]
04:11
yfeldblum has quit [Ping timeout: 240 seconds]
04:12
hogeo has joined #ruby-lang
04:13
coca_rails has quit [Ping timeout: 245 seconds]
04:14
Cakey has quit [Ping timeout: 252 seconds]
04:16
michaeldeol has joined #ruby-lang
04:16
vlad_starkov has quit [Read error: Connection reset by peer]
04:16
hogeo has quit [Remote host closed the connection]
04:19
Cakey has joined #ruby-lang
04:20
vinhbach_ has quit [Read error: Connection reset by peer]
04:20
vinhbachsy has joined #ruby-lang
04:20
michaeldeol has quit [Ping timeout: 260 seconds]
04:21
hahuang65 has joined #ruby-lang
04:22
cmedeiros has quit [Ping timeout: 245 seconds]
04:22
gix has joined #ruby-lang
04:24
machuga is now known as machuga|away
04:25
yfeldblum has joined #ruby-lang
04:26
hogeo has joined #ruby-lang
04:27
gix has quit [Ping timeout: 240 seconds]
04:30
yfeldblum has quit [Read error: Operation timed out]
04:35
mistym has joined #ruby-lang
04:35
lfox has quit [Quit: ZZZzzz…]
04:36
fijimunkii has joined #ruby-lang
04:38
seanlinsley has joined #ruby-lang
04:38
seanlinsley has quit [Client Quit]
04:40
seanlinsley has joined #ruby-lang
04:41
hogoo has joined #ruby-lang
04:42
yfeldblum has joined #ruby-lang
04:42
hogoo has quit [Remote host closed the connection]
04:43
hogoo has joined #ruby-lang
04:45
vlad_starkov has joined #ruby-lang
04:46
makoto_ has joined #ruby-lang
04:47
havenwood has quit [Remote host closed the connection]
04:48
<
zenspider >
fucking encodings are gonna be the death of me
04:48
<
zenspider >
I just want to fucking SORT
04:48
<
ohsix >
there's no locale stuff you can set so things that care about ordering do the right thing?
04:48
<
ohsix >
collation settings
04:49
<
zenspider >
afaik, String#<=> doesn't respect any of it. I could be wrong.
04:49
<
ohsix >
looks like you need to use icu, just like everyone else ;D
04:49
<
zenspider >
and all the code I've found to normalize doesn't work
04:49
<
zenspider >
how is it that ruby 2.0 defaults to utf-8, but doesn't actually handle it in most places
04:50
<
ohsix >
because it's ad-hoc everyhwere, or at least that's my impression; i don't know crap about ruby and have been hoping to learn more by osmosis
04:50
makoto_ has quit [Ping timeout: 246 seconds]
04:50
retro|cz has quit [Read error: Operation timed out]
04:59
vinhbachsy has quit [Remote host closed the connection]
04:59
vinhbachsy has joined #ruby-lang
05:01
io_syl has joined #ruby-lang
05:02
io_syl has quit [Client Quit]
05:02
achiu2 has quit [Remote host closed the connection]
05:03
dik_dak has quit [Quit: Leaving]
05:04
vinhbachsy has quit [Ping timeout: 246 seconds]
05:04
Barrin6 has quit [Quit: Leaving]
05:04
Captain_Chen has joined #ruby-lang
05:05
yfeldblum has quit [Remote host closed the connection]
05:05
datanoise has joined #ruby-lang
05:06
postmodern has quit [Quit: Leaving]
05:06
makoto_ has joined #ruby-lang
05:06
achiu has joined #ruby-lang
05:07
vpretzel has quit [Remote host closed the connection]
05:07
gnufied has quit [Ping timeout: 252 seconds]
05:09
GarethAdams has quit [Ping timeout: 252 seconds]
05:09
coca_rails has joined #ruby-lang
05:10
GarethAdams has joined #ruby-lang
05:10
gnufied has joined #ruby-lang
05:10
lewix has quit [Remote host closed the connection]
05:10
makoto_ has quit [Ping timeout: 240 seconds]
05:11
vinhbachsy has joined #ruby-lang
05:13
mrevd has quit [Quit: Leaving.]
05:16
vlad_starkov has quit [Read error: Connection reset by peer]
05:16
makoto_ has joined #ruby-lang
05:16
michaeldeol has joined #ruby-lang
05:19
dhruvasagar has joined #ruby-lang
05:20
hogoo has quit [Remote host closed the connection]
05:20
makoto_ has quit [Ping timeout: 240 seconds]
05:20
hogoo has joined #ruby-lang
05:21
mrevd has joined #ruby-lang
05:21
michaeldeol has quit [Ping timeout: 246 seconds]
05:21
ylluminate` has joined #ruby-lang
05:22
ylluminate` has quit [Client Quit]
05:25
vinhbachsy has quit [Remote host closed the connection]
05:25
vinhbachsy has joined #ruby-lang
05:26
ylluminate has quit [Ping timeout: 260 seconds]
05:27
tectonic has joined #ruby-lang
05:29
tectonic has quit [Client Quit]
05:30
jerrytgarcia has quit [Quit: WeeChat 0.4.2]
05:30
vinhbachsy has quit [Ping timeout: 260 seconds]
05:34
prc has quit [Quit: Leaving.]
05:35
amerine has joined #ruby-lang
05:38
datanoise has quit [Ping timeout: 245 seconds]
05:40
coca_rails has quit [Read error: Connection reset by peer]
05:40
coca_rai_ has joined #ruby-lang
05:41
dhruvasagar has quit [Read error: Connection reset by peer]
05:41
dhruvasagar has joined #ruby-lang
05:44
gix has joined #ruby-lang
05:44
mannyt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:44
vlad_starkov has joined #ruby-lang
05:45
coca_rai_ has quit [Ping timeout: 245 seconds]
05:48
jerrytgarcia has joined #ruby-lang
05:48
mannyt has joined #ruby-lang
05:48
gix has quit [Ping timeout: 240 seconds]
05:50
lewix has joined #ruby-lang
05:51
dhruvasagar has quit [Read error: Connection reset by peer]
05:51
dhruvasagar has joined #ruby-lang
05:54
hogeo has quit [Remote host closed the connection]
05:54
hogeo has joined #ruby-lang
05:54
vlad_starkov has quit [Remote host closed the connection]
05:54
vlad_starkov has joined #ruby-lang
05:54
nXqd has quit [Ping timeout: 248 seconds]
05:55
postmodern has joined #ruby-lang
05:56
rahul_j has joined #ruby-lang
05:57
vlad_starkov has quit [Remote host closed the connection]
06:01
hogoo has quit [Remote host closed the connection]
06:06
yfeldblum has joined #ruby-lang
06:08
Cakey has quit [Ping timeout: 248 seconds]
06:09
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:09
snsei has quit [Remote host closed the connection]
06:10
dhruvasagar has quit [Read error: Connection reset by peer]
06:10
Cakey has joined #ruby-lang
06:11
dhruvasagar has joined #ruby-lang
06:13
dhruvasagar has quit [Client Quit]
06:14
r0bgleeson has quit [Ping timeout: 260 seconds]
06:16
dhruvasagar has joined #ruby-lang
06:16
makoto_ has joined #ruby-lang
06:16
wallerdev has joined #ruby-lang
06:17
snsei has joined #ruby-lang
06:19
michaeldeol has joined #ruby-lang
06:21
makoto_ has quit [Ping timeout: 260 seconds]
06:22
snsei has quit [Remote host closed the connection]
06:23
JohnBat26 has joined #ruby-lang
06:25
houhoulis has quit [Remote host closed the connection]
06:25
mrevd has quit [Quit: Leaving.]
06:25
snsei has joined #ruby-lang
06:26
mrevd has joined #ruby-lang
06:27
jonahR has quit [Quit: jonahR]
06:34
Voker57 has quit [Remote host closed the connection]
06:40
AKASkip has joined #ruby-lang
06:41
coca_rails has joined #ruby-lang
06:42
arBmind has joined #ruby-lang
06:42
hogeo has quit [Remote host closed the connection]
06:43
mrevd has quit [Quit: Leaving.]
06:46
dhruvasagar has quit [Read error: Connection reset by peer]
06:47
dhruvasagar has joined #ruby-lang
06:48
mrevd has joined #ruby-lang
06:48
hogeo has joined #ruby-lang
06:51
cads has joined #ruby-lang
06:54
nXqd has joined #ruby-lang
06:56
yfeldblum has quit [Remote host closed the connection]
06:56
yfeldblum has joined #ruby-lang
06:57
vinhbachsy has joined #ruby-lang
06:58
dhruvasagar has quit [Read error: Connection reset by peer]
06:58
dhruvasagar has joined #ruby-lang
06:59
AKASkip has quit [Ping timeout: 252 seconds]
07:01
vinhbachsy has quit [Ping timeout: 265 seconds]
07:05
gix has joined #ruby-lang
07:06
lewix_ has joined #ruby-lang
07:06
mrevd has quit [Quit: Leaving.]
07:08
lewix_ has quit [Remote host closed the connection]
07:08
lewix_ has joined #ruby-lang
07:10
simoz4 has joined #ruby-lang
07:10
gix has quit [Ping timeout: 260 seconds]
07:12
coca_rails has quit [Read error: Connection reset by peer]
07:12
coca_rails has joined #ruby-lang
07:13
lewix_ has quit [Ping timeout: 250 seconds]
07:15
simoz4 has quit [Ping timeout: 260 seconds]
07:15
lsegal has quit [Read error: Connection reset by peer]
07:15
lsegal has joined #ruby-lang
07:16
makoto_ has joined #ruby-lang
07:16
matp has quit [Quit: Bye!]
07:17
coca_rails has quit [Ping timeout: 245 seconds]
07:17
matp has joined #ruby-lang
07:18
anulman has quit [Quit: Leaving.]
07:20
makoto_ has quit [Ping timeout: 246 seconds]
07:22
simoz4 has joined #ruby-lang
07:25
jg has joined #ruby-lang
07:27
lewix has quit [Remote host closed the connection]
07:27
vinhbachsy has joined #ruby-lang
07:28
rahul_j has quit [Quit: rahul_j]
07:28
lewix has joined #ruby-lang
07:29
simoz4 has quit [Ping timeout: 240 seconds]
07:34
snsei has quit [Remote host closed the connection]
07:34
rahul_j has joined #ruby-lang
07:35
datanoise has joined #ruby-lang
07:37
snsei has joined #ruby-lang
07:41
datanoise has quit [Ping timeout: 260 seconds]
07:42
Captain_Chen has quit [Quit: Page closed]
07:42
AKASkip has joined #ruby-lang
07:43
nertzy3 has joined #ruby-lang
07:44
JoshuaPaling has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:44
|jemc| has quit [Ping timeout: 246 seconds]
07:48
snsei has quit [Remote host closed the connection]
07:51
ender has quit [Ping timeout: 240 seconds]
07:55
dhruvasagar has quit [Ping timeout: 260 seconds]
07:57
dhruvasagar has joined #ruby-lang
08:00
rahul_j has quit [Quit: rahul_j]
08:02
dhruvasagar has quit [Read error: Connection reset by peer]
08:02
Forgetful_Lion has joined #ruby-lang
08:03
cycorld has quit []
08:03
hogeo has quit [Remote host closed the connection]
08:03
h_kon has joined #ruby-lang
08:04
hogeo has joined #ruby-lang
08:04
hogeo has quit [Read error: Connection reset by peer]
08:04
gromitmpl has quit [Ping timeout: 260 seconds]
08:05
hogeo has joined #ruby-lang
08:06
dhruvasagar has joined #ruby-lang
08:06
cycorld has joined #ruby-lang
08:06
anulman has joined #ruby-lang
08:06
CaptainJet has quit []
08:07
fsvehla has joined #ruby-lang
08:09
jsullivandigs has quit [Remote host closed the connection]
08:09
ender has joined #ruby-lang
08:10
jsullivandigs has joined #ruby-lang
08:11
rahul_j has joined #ruby-lang
08:11
anulman has quit [Ping timeout: 240 seconds]
08:11
JoshuaPaling has joined #ruby-lang
08:12
Forgetful_Lion has quit [Ping timeout: 264 seconds]
08:12
dhruvasagar has quit [Ping timeout: 250 seconds]
08:12
brianpWins has joined #ruby-lang
08:13
Forgetful_Lion has joined #ruby-lang
08:13
dhruvasagar has joined #ruby-lang
08:13
coca_rails has joined #ruby-lang
08:14
vmoravec has joined #ruby-lang
08:14
jsullivandigs has quit [Ping timeout: 240 seconds]
08:16
makoto_ has joined #ruby-lang
08:18
dhruvasagar has quit [Ping timeout: 264 seconds]
08:18
dhruvasagar has joined #ruby-lang
08:19
amcoder has joined #ruby-lang
08:19
amcoder has quit [Max SendQ exceeded]
08:20
jg has quit [Ping timeout: 260 seconds]
08:21
makoto_ has quit [Ping timeout: 260 seconds]
08:22
amcoder has joined #ruby-lang
08:22
Forgetful_Lion has quit [Ping timeout: 264 seconds]
08:23
Forgetful_Lion has joined #ruby-lang
08:24
wallerdev has quit [Quit: wallerdev]
08:28
michaeldeol has quit [Remote host closed the connection]
08:29
ender has quit [Ping timeout: 240 seconds]
08:32
Mon_Ouie has joined #ruby-lang
08:32
Mon_Ouie has joined #ruby-lang
08:32
Forgetful_Lion has quit [Ping timeout: 264 seconds]
08:33
tbuehlmann has joined #ruby-lang
08:33
relix has joined #ruby-lang
08:34
iliketur_ has joined #ruby-lang
08:35
mistym has quit [Remote host closed the connection]
08:38
datanoise has joined #ruby-lang
08:42
nertzy3 has quit [Quit: This computer has gone to sleep]
08:42
datanoise has quit [Ping timeout: 246 seconds]
08:47
coca_rails has quit [Ping timeout: 245 seconds]
08:48
iliketur_ has quit [Quit: zzzzz…..]
08:50
robbyoconnor has quit [Read error: Connection reset by peer]
08:53
phus1on has joined #ruby-lang
08:54
unrealhoang has quit [Read error: Connection reset by peer]
08:54
robbyoconnor has joined #ruby-lang
09:01
elia has joined #ruby-lang
09:03
Cakey has quit [Ping timeout: 265 seconds]
09:04
rue|w has joined #ruby-lang
09:06
arBmind has quit [Quit: Leaving.]
09:07
anulman has joined #ruby-lang
09:09
hogeo has quit [Remote host closed the connection]
09:09
benlovell has joined #ruby-lang
09:09
hogeo has joined #ruby-lang
09:10
DouweM has quit [Read error: Operation timed out]
09:11
yfeldblum has quit [Ping timeout: 250 seconds]
09:11
hogeo_ has joined #ruby-lang
09:11
barttenbrinke has joined #ruby-lang
09:11
jsrn has joined #ruby-lang
09:12
hogeo has quit [Read error: Connection reset by peer]
09:12
anulman has quit [Ping timeout: 260 seconds]
09:13
jsullivandigs has joined #ruby-lang
09:13
<
yorickpeterse >
morning
09:14
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
09:16
kek has joined #ruby-lang
09:16
makoto_ has joined #ruby-lang
09:20
makoto_ has quit [Ping timeout: 260 seconds]
09:22
workmad3 has joined #ruby-lang
09:24
arBmind has joined #ruby-lang
09:24
mikecmpbll has joined #ruby-lang
09:25
marr has joined #ruby-lang
09:26
jsullivandigs has quit [Ping timeout: 240 seconds]
09:26
workmad3 has quit [Ping timeout: 240 seconds]
09:27
workmad3 has joined #ruby-lang
09:30
skade has joined #ruby-lang
09:30
michaeldeol has joined #ruby-lang
09:33
kitak_ has joined #ruby-lang
09:34
kitak_ has quit [Remote host closed the connection]
09:34
mannyt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
09:34
michaeldeol has quit [Ping timeout: 240 seconds]
09:34
kitak_ has joined #ruby-lang
09:36
kitak has quit [Ping timeout: 245 seconds]
09:38
yfeldblum has joined #ruby-lang
09:38
<
yorickpeterse >
got a request to transform a CSV so that the field delimiters are ^|^
09:38
<
yorickpeterse >
because somebody from $SOME_COMPANY apparently needs that
09:39
<
ohsix >
they'll probably want it changed again when they start needing ^|^
09:39
<
pipecloud >
yorickpeterse: lul. Is that a DSV? Dragon Separated Value?
09:39
yfeldblu_ has joined #ruby-lang
09:40
arBmind has quit [Ping timeout: 245 seconds]
09:40
<
workmad3 >
what's wrong with quoting the CSV field so that the delimiter doesn't matter?
09:40
<
yorickpeterse >
workmad3: they don't want quotes too
09:40
<
yorickpeterse >
lol
09:40
<
yorickpeterse >
Stupid Separated Value
09:40
<
pipecloud >
workmad3: If they can't already transform it, what makes you think they can do that?
09:40
<
workmad3 >
or are we likely dealing with crap CSV imports that can't handle proper CSV files?
09:40
<
yorickpeterse >
workmad3: they are likely not programmers who know what CSV is
09:40
<
pipecloud >
Sounds like yorickpeterse is dealing with being the smartest party involved.
09:41
<
workmad3 >
yorickpeterse: give them an XML file and say it's CSV+?
09:41
<
yorickpeterse >
hahahaha
09:41
<
yorickpeterse >
I might actually just do that
09:41
<
yorickpeterse >
or send them a SOAP envelope
09:41
<
pipecloud >
Or be a jerk and send them values separated by non-breaking whitespace characters.
09:42
<
workmad3 >
<CSV><![CDATA[
*csv_here* ]]></CSV> <-- there you go, CSV+ format
09:42
kitak_ has quit [Remote host closed the connection]
09:42
yfeldblum has quit [Ping timeout: 250 seconds]
09:43
<
workmad3 >
wrap that up in a SOAP envelope, tell them you've moved them to an enterprise SOA delivery mechanism...
09:43
kitak has joined #ruby-lang
09:43
coca_rails has joined #ruby-lang
09:43
<
yorickpeterse >
just send them JSON
09:43
<
yorickpeterse >
everything understands JSON
09:44
arBmind has joined #ruby-lang
09:44
yfeldblu_ has quit [Ping timeout: 250 seconds]
09:45
tomAnthonyShacha has joined #ruby-lang
09:47
<
workmad3 >
{"csv": "*csv_here"} right?
09:48
coca_rails has quit [Ping timeout: 245 seconds]
09:48
arBmind has quit [Read error: Connection reset by peer]
09:48
<
workmad3 >
or are we looking at {"csv": {"header": "f1|f2", "rows": ["1|2", "3|4"]}} L
09:48
arBmind has joined #ruby-lang
09:48
<
pipecloud >
Colon Separates values?
09:48
<
pipecloud >
Because that could get nsfw real fast.
09:49
<
yorickpeterse >
workmad3: that's not RESTy enough
09:49
<
yorickpeterse >
needs BSON too
09:51
<
yorickpeterse >
haha wtf Ruby, CSV can't write shit
*without* quoteS?
09:51
<
yorickpeterse >
* quotes
09:51
<
yorickpeterse >
well, time to use some weird value and find-replace that
09:53
<
workmad3 >
yorickpeterse: give it 'quote_char: "", force_quotes: false' as options?
09:53
AKASkip has quit [Ping timeout: 248 seconds]
09:53
<
yorickpeterse >
quote_char always needs a value
09:53
<
yorickpeterse >
I'll just use "(╯°□°)╯︵ ┻━┻"
09:53
Pupeno_w has joined #ruby-lang
09:54
<
ljarvis >
Emoji separated values
09:54
<
yorickpeterse >
BOOOO, has to be a single char
09:54
<
workmad3 >
CSV - Cat Separated Values
09:54
<
yorickpeterse >
ok Unicode bomb it is
09:54
<
workmad3 >
or unicode NBSP?
09:55
<
yorickpeterse >
meh, my font doesn't support the bomb
09:55
<
yorickpeterse >
I wonder if it does the Unicode pile of poop
09:55
<
pipecloud >
"Or be a jerk and send them values separated by non-breaking whitespace characters."
09:55
<
yorickpeterse >
NNNHHHGGGG it doesn't
09:55
<
workmad3 >
pipecloud: I was thinking the NBSP as a quote char rather than the separator
09:56
<
pipecloud >
There are more than one
09:57
anulman has joined #ruby-lang
10:00
vlad_starkov has joined #ruby-lang
10:01
anulman has quit [Ping timeout: 250 seconds]
10:04
<
yorickpeterse >
there
10:04
<
yorickpeterse >
Unicode Separated Value
10:07
michd is now known as MichD
10:11
benlovell has quit [Ping timeout: 240 seconds]
10:12
benlovell has joined #ruby-lang
10:15
vlad_starkov has quit [Remote host closed the connection]
10:16
cir0x has joined #ruby-lang
10:16
mbj has joined #ruby-lang
10:16
makoto_ has joined #ruby-lang
10:18
<
sluukkonen >
why did I read that as unicorn separated value
10:20
makoto_ has quit [Ping timeout: 245 seconds]
10:25
toretore has quit [Quit: Leaving]
10:28
Onixs has joined #ruby-lang
10:28
kek has quit [Remote host closed the connection]
10:30
<
yorickpeterse >
what the fuck is this shit
10:30
michaeldeol has joined #ruby-lang
10:32
Oloryn_lt2 has quit [Ping timeout: 265 seconds]
10:35
michaeldeol has quit [Ping timeout: 246 seconds]
10:35
francisfish has joined #ruby-lang
10:36
mistym has joined #ruby-lang
10:37
nXqd has quit [Ping timeout: 245 seconds]
10:37
hogeo_ has quit [Remote host closed the connection]
10:39
znz_jp has quit [Ping timeout: 245 seconds]
10:40
mistym has quit [Ping timeout: 246 seconds]
10:40
yfeldblum has joined #ruby-lang
10:40
datanoise has joined #ruby-lang
10:42
znz_jp has joined #ruby-lang
10:44
coca_rails has joined #ruby-lang
10:44
francisfish has quit [Read error: Connection reset by peer]
10:45
francisfish has joined #ruby-lang
10:45
yfeldblum has quit [Ping timeout: 248 seconds]
10:45
DouweM has joined #ruby-lang
10:46
datanoise has quit [Ping timeout: 265 seconds]
10:53
vinhbachsy has quit [Remote host closed the connection]
10:54
vinhbachsy has joined #ruby-lang
10:55
vinhbachsy has quit [Remote host closed the connection]
10:55
vinhbachsy has joined #ruby-lang
10:57
anulman has joined #ruby-lang
10:59
<
yorickpeterse >
>> nil && false
10:59
<
yorickpeterse >
wat
11:02
sepp2k has joined #ruby-lang
11:02
anulman has quit [Ping timeout: 246 seconds]
11:02
jsullivandigs has joined #ruby-lang
11:03
<
darix >
yorickpeterse: given nil is falsy already it didnt need to evaluate the 2nd part
11:05
<
yorickpeterse >
now I basically have to resort to `!!nil && false`
11:05
Nilium has quit [Ping timeout: 246 seconds]
11:05
<
darix >
yorickpeterse: you have 2 variables which you && right?
11:06
<
darix >
why not use not(foo.nil?) && bar
11:06
jsullivandigs has quit [Ping timeout: 250 seconds]
11:07
<
yorickpeterse >
yes
11:07
<
yorickpeterse >
not() ?
11:07
<
yorickpeterse >
basically now I have `return !!foo && !foo.empty?`
11:08
<
darix >
why not simply
11:08
<
darix >
foo and !foo.empty?
11:08
<
matp >
return !(foo.nil? || foo.empty?)
11:08
<
darix >
also why do you care about nil vs false?
11:08
<
yorickpeterse >
darix: I just don't like variable return types
11:09
<
darix >
both give you falsy
11:09
<
yorickpeterse >
it's a predicate method so I want a boolean
11:09
<
yorickpeterse >
>> nil and false
11:09
<
darix >
also what matp wrote
11:09
vlad_starkov has joined #ruby-lang
11:09
<
yorickpeterse >
That would be an option
11:10
<
matp >
aren't variable return types for predicate methods quite common in ruby though?
11:11
<
yorickpeterse >
Yes, but I still don't like them :)
11:11
<
yorickpeterse >
it just feels messy
11:11
<
matp >
ya, fair enough, it can be quite surprising
11:13
Nilium has joined #ruby-lang
11:13
postmodern has quit [Quit: Leaving]
11:14
cir0x has quit [Read error: Connection reset by peer]
11:15
cir0x has joined #ruby-lang
11:16
makoto_ has joined #ruby-lang
11:17
coca_rails has quit [Ping timeout: 245 seconds]
11:21
makoto_ has quit [Ping timeout: 265 seconds]
11:25
mikecmpbll has joined #ruby-lang
11:28
vlad_starkov has quit [Remote host closed the connection]
11:29
michaeldeol has joined #ruby-lang
11:31
<
yorickpeterse >
oh nice
11:31
<
yorickpeterse >
so we have this "enricher" daemon, nfi what it's used for
11:31
<
yorickpeterse >
apparently disabled too
11:31
<
yorickpeterse >
it decrypts some credentials
11:31
cmedeiros has joined #ruby-lang
11:31
<
yorickpeterse >
said encryption key is stored directly in the code
11:31
<
gnufied >
thats good
11:31
<
yorickpeterse >
and it's super short too
11:31
<
yorickpeterse >
9 characters ;_;
11:32
<
yorickpeterse >
No, probably some dumb online password generator
11:33
<
yorickpeterse >
<3 pwgen
11:35
vlad_starkov has joined #ruby-lang
11:36
cnivolle has joined #ruby-lang
11:37
vlad_starkov has quit [Remote host closed the connection]
11:37
vinhbachsy has quit [Remote host closed the connection]
11:37
michaeldeol has quit [Ping timeout: 260 seconds]
11:37
ledestin has quit [Quit: ledestin]
11:37
vinhbachsy has joined #ruby-lang
11:39
cmedeiros has quit [Ping timeout: 252 seconds]
11:40
cir0x has quit [Remote host closed the connection]
11:42
vinhbachsy has quit [Ping timeout: 265 seconds]
11:43
vinhbachsy has joined #ruby-lang
11:46
nXqd has joined #ruby-lang
11:50
diegoviola has joined #ruby-lang
11:50
cored has joined #ruby-lang
11:50
cored has joined #ruby-lang
11:50
cored has quit [Changing host]
11:53
elia has quit [Quit: Computer has gone to sleep.]
11:53
vinhbachsy has quit [Remote host closed the connection]
11:54
vinhbachsy has joined #ruby-lang
11:54
vlad_starkov has joined #ruby-lang
11:56
charliesome has joined #ruby-lang
11:57
vlad_starkov has quit [Remote host closed the connection]
11:57
cnivolle_ has joined #ruby-lang
11:58
AKASkip has joined #ruby-lang
11:58
anulman has joined #ruby-lang
11:59
vinhbachsy has quit [Ping timeout: 260 seconds]
11:59
cnivolle has quit [Ping timeout: 246 seconds]
11:59
hogeo has joined #ruby-lang
12:00
anulman1 has joined #ruby-lang
12:01
anulman has quit [Read error: Connection reset by peer]
12:03
benlovell has quit [Ping timeout: 260 seconds]
12:04
barttenbrinke has quit [Remote host closed the connection]
12:04
anulman1 has quit [Ping timeout: 240 seconds]
12:04
barttenbrinke has joined #ruby-lang
12:09
barttenbrinke has quit [Ping timeout: 264 seconds]
12:10
hogeo has quit [Remote host closed the connection]
12:11
hogeo has joined #ruby-lang
12:11
r0bgleeson has joined #ruby-lang
12:11
jg has joined #ruby-lang
12:14
coca_rails has joined #ruby-lang
12:14
lele|w has quit [Ping timeout: 260 seconds]
12:15
lele|w has joined #ruby-lang
12:16
makoto_ has joined #ruby-lang
12:17
benlovell has joined #ruby-lang
12:18
vlad_starkov has joined #ruby-lang
12:18
coca_rails has quit [Ping timeout: 245 seconds]
12:21
makoto_ has quit [Ping timeout: 260 seconds]
12:31
vlad_starkov has quit [Read error: Connection reset by peer]
12:32
vlad_starkov has joined #ruby-lang
12:32
elia has joined #ruby-lang
12:34
michaeldeol has joined #ruby-lang
12:36
mistym has joined #ruby-lang
12:38
Mon_Ouie has quit [Ping timeout: 245 seconds]
12:38
michaeldeol has quit [Ping timeout: 248 seconds]
12:39
kek has joined #ruby-lang
12:41
mistym has quit [Ping timeout: 264 seconds]
12:41
tomAnthonyShacha has quit [Remote host closed the connection]
12:42
yfeldblum has joined #ruby-lang
12:43
tomAnthonyShacha has joined #ruby-lang
12:44
datanoise has joined #ruby-lang
12:44
symm- has joined #ruby-lang
12:46
elia has quit [Quit: Computer has gone to sleep.]
12:47
yfeldblum has quit [Ping timeout: 264 seconds]
12:48
tomAnthonyShacha has quit []
12:48
tomAnthonyShacha has joined #ruby-lang
12:48
elia has joined #ruby-lang
12:49
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
12:49
datanoise has quit [Ping timeout: 265 seconds]
12:50
jsullivandigs has joined #ruby-lang
12:51
ledestin has joined #ruby-lang
12:53
smashwilson has joined #ruby-lang
12:55
jsullivandigs has quit [Ping timeout: 252 seconds]
12:55
symm- has quit [Ping timeout: 260 seconds]
13:01
hogeo has quit [Remote host closed the connection]
13:01
anulman has joined #ruby-lang
13:05
anulman has quit [Ping timeout: 248 seconds]
13:06
vpretzel has joined #ruby-lang
13:09
bastilian has joined #ruby-lang
13:09
mannyt has joined #ruby-lang
13:09
cmedeiros has joined #ruby-lang
13:13
rue|w has quit [Remote host closed the connection]
13:14
<
yorickpeterse >
man refactoring is the best
13:15
coca_rails has joined #ruby-lang
13:15
machuga|away is now known as machuga
13:15
<
yorickpeterse >
It's very much like stomping on sand castles at the beach while yelling "HAHAHA TAKE THAT SILLY CODE"
13:16
makoto_ has joined #ruby-lang
13:17
rahul_j has quit [Quit: rahul_j]
13:19
<
ledestin >
can anyone enlighten me how is it useful to throw specified to timeout exception inside timeout() block?
13:19
<
yorickpeterse >
to what?
13:19
<
ledestin >
to raise
13:20
<
yorickpeterse >
The sentence makes no sense
13:20
<
yorickpeterse >
are you asking why you want to raise in Timeout.timeout?
13:20
makoto_ has quit [Ping timeout: 260 seconds]
13:20
<
ledestin >
I'll try a longer explanation
13:21
dhruvasagar has quit [Ping timeout: 250 seconds]
13:21
<
r0bgleeson >
ledestin: catch/throw have a different meaning in ruby, thats why it might be confusing
13:22
<
ledestin >
timeout() makes a new exception class per call and in this way, recursive timeout() calls don't catch exception pertaining to other calls
13:22
<
ledestin >
r0bgleeson: it's about timeout implementation, not Ruby
13:22
<
r0bgleeson >
do you have some code to share?
13:23
<
yorickpeterse >
ledestin: you mean that nested timeout calls don't bubble up?
13:23
* yorickpeterse
is confuz
13:23
<
ledestin >
but, when you specify exception class, they raise that exception instead of custom per-call exception
13:23
<
r0bgleeson >
a code example will help
13:24
<
ledestin >
well, /usr/lib/ruby/1.9.1/timeout.rb has the code
13:24
<
ledestin >
timeout(1, IOError) is such an example
13:24
<
r0bgleeson >
oh okay, well, timeout.rb is known to be a not that good implementation for other reasons too
13:24
<
r0bgleeson >
i try to avoid using it
13:24
<
ledestin >
I'm just wondering why it was written that way
13:25
<
r0bgleeson >
the custom exception class? i have used that before
13:25
<
r0bgleeson >
to implement my own timeout exception class
13:25
<
ledestin >
because I'm doing my own timeout implementation
13:25
fijimunkii has quit [Ping timeout: 245 seconds]
13:25
<
yorickpeterse >
Ruby stdlib is funny
13:25
<
lupine >
I still use gserver in plances
13:25
<
lupine >
I'm so sorry
13:26
<
yorickpeterse >
heh
13:26
skade has joined #ruby-lang
13:27
<
r0bgleeson >
ledestin: I have used the custom class so instead of Timeout::Error it would be MyGreatLibrary::TimeoutError
13:27
<
r0bgleeson >
ledestin: that way there is no assumption my time outs are implemented on 'timeout.rb'
13:27
vlad_sta_ has joined #ruby-lang
13:27
<
ledestin >
r0bgleeson: yeah, me too. but that's not what my question is about
13:27
<
matp >
I think he was asking why doesn't it use the same default exception class every time, rather than creating a new one
13:28
<
ledestin >
matp: that's closer, yes. that's also interesting how would you use a custom passed exception
13:29
vlad_starkov has quit [Read error: Connection reset by peer]
13:29
<
ledestin >
matp: I've read once again, and no
13:29
<
ledestin >
matp: I understand why they use Class.new every time
13:29
benlovell has quit [Ping timeout: 250 seconds]
13:29
nXqd has quit [Ping timeout: 245 seconds]
13:30
<
ledestin >
though how would you use passed exception? timeout(1, IOError), for example
13:30
benlovell has joined #ruby-lang
13:30
mikecmpbll has joined #ruby-lang
13:31
<
r0bgleeson >
i think the kind of funny thing is that if a timeout block is CPU bound ruby never seems to release the thread so, the timeout thread never can kill it
13:31
<
r0bgleeson >
it just runs forever
13:32
<
r0bgleeson >
or until the CPU operation completes
13:32
kek has quit [Remote host closed the connection]
13:34
tkuchiki has quit [Remote host closed the connection]
13:34
tkuchiki has joined #ruby-lang
13:35
michaeldeol has joined #ruby-lang
13:35
barttenbrinke has joined #ruby-lang
13:37
lewix has quit [Remote host closed the connection]
13:39
jerrytgarcia has quit [Quit: WeeChat 0.4.2]
13:39
diegoviola has quit [Ping timeout: 252 seconds]
13:39
tkuchiki has quit [Ping timeout: 260 seconds]
13:39
michaeldeol has quit [Ping timeout: 264 seconds]
13:42
scampbell has joined #ruby-lang
13:42
soba has quit [Ping timeout: 260 seconds]
13:43
barttenbrinke has quit [Ping timeout: 246 seconds]
13:44
vlad_starkov has joined #ruby-lang
13:47
vlad_sta_ has quit [Ping timeout: 260 seconds]
13:48
coca_rails has quit [Ping timeout: 245 seconds]
13:48
robbyoconnor has quit [Excess Flood]
13:49
robbyoconnor has joined #ruby-lang
13:50
jerrytgarcia has joined #ruby-lang
13:50
kek has joined #ruby-lang
13:50
datanoise has joined #ruby-lang
13:57
prc has joined #ruby-lang
13:59
cir0x has joined #ruby-lang
14:01
rolfb has joined #ruby-lang
14:02
anulman has joined #ruby-lang
14:02
lfox has joined #ruby-lang
14:05
retro|cz has joined #ruby-lang
14:06
anulman has quit [Ping timeout: 245 seconds]
14:08
elia has quit [Quit: Computer has gone to sleep.]
14:09
cycorld has quit [Ping timeout: 240 seconds]
14:10
coca_rails has joined #ruby-lang
14:10
cycorld has joined #ruby-lang
14:10
toroidalcode has quit []
14:10
hogeo has joined #ruby-lang
14:11
fijimunkii has joined #ruby-lang
14:11
elia has joined #ruby-lang
14:12
breakingthings has joined #ruby-lang
14:16
makoto_ has joined #ruby-lang
14:18
florentg2 has joined #ruby-lang
14:18
skade has quit [Quit: Computer has gone to sleep.]
14:20
vinhbachsy has joined #ruby-lang
14:20
vinhbachsy has quit [Client Quit]
14:20
cycorld has quit [Remote host closed the connection]
14:20
coca_rails has quit [Remote host closed the connection]
14:20
makoto_ has quit [Ping timeout: 240 seconds]
14:21
coca_rails has joined #ruby-lang
14:22
havenwood has joined #ruby-lang
14:25
coca_rails has quit [Ping timeout: 245 seconds]
14:26
mannyt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:27
vpretzel has quit [Ping timeout: 250 seconds]
14:27
vlad_starkov has quit [Remote host closed the connection]
14:28
havenwood has quit [Remote host closed the connection]
14:29
skade has joined #ruby-lang
14:30
MaddinXx_ has joined #ruby-lang
14:32
hogeo has quit [Remote host closed the connection]
14:35
michaeldeol has joined #ruby-lang
14:36
elia has quit [Ping timeout: 248 seconds]
14:37
mistym has joined #ruby-lang
14:37
vlad_starkov has joined #ruby-lang
14:38
snsei has joined #ruby-lang
14:40
michaeldeol has quit [Ping timeout: 246 seconds]
14:40
havenwood has joined #ruby-lang
14:41
jxie has quit [Quit: leaving]
14:41
barttenb_ has joined #ruby-lang
14:42
mistym has quit [Ping timeout: 246 seconds]
14:43
elia has joined #ruby-lang
14:43
yfeldblum has joined #ruby-lang
14:44
h_kon has quit [Remote host closed the connection]
14:48
yfeldblum has quit [Ping timeout: 246 seconds]
14:48
skade has quit [Ping timeout: 265 seconds]
14:49
skade has joined #ruby-lang
14:50
cycorld has joined #ruby-lang
14:53
Oloryn_lt2 has joined #ruby-lang
14:54
tomAnthonyShacha has quit [Remote host closed the connection]
14:55
lfox has quit [Quit: ZZZzzz…]
14:56
cycorld has quit [Ping timeout: 250 seconds]
14:57
kek has quit [Remote host closed the connection]
14:58
mrevd has joined #ruby-lang
15:01
prc has quit [Quit: Leaving.]
15:02
anulman has joined #ruby-lang
15:03
rolfb has quit [Quit: Leaving...]
15:03
tomAnthonyShacha has joined #ruby-lang
15:04
kek has joined #ruby-lang
15:05
nigerianceo has joined #ruby-lang
15:06
benkhicks has joined #ruby-lang
15:07
anulman has quit [Ping timeout: 245 seconds]
15:07
ffio has joined #ruby-lang
15:08
knu has quit [Ping timeout: 240 seconds]
15:08
benkhicks has quit [Client Quit]
15:09
AKASkip has quit [Ping timeout: 264 seconds]
15:10
anulman has joined #ruby-lang
15:10
cored has quit [Ping timeout: 260 seconds]
15:11
robbyoconnor has quit [Ping timeout: 264 seconds]
15:11
cored has joined #ruby-lang
15:11
cored has joined #ruby-lang
15:11
cored has quit [Changing host]
15:14
lfox has joined #ruby-lang
15:16
makoto_ has joined #ruby-lang
15:21
benlovell has quit [Quit: leaving]
15:21
makoto_ has quit [Ping timeout: 264 seconds]
15:21
<
mrevd >
hey all. trying to get the general concensus on best practice for testing when writing an HTTP API wrapper
15:21
coca_rails has joined #ruby-lang
15:21
<
mrevd >
s/concensus/consensus
15:22
Oloryn_lt2 has quit [Read error: Connection reset by peer]
15:22
Oloryn_lt2 has joined #ruby-lang
15:23
symm- has joined #ruby-lang
15:24
tbuehlmann has quit [Quit: Konversation terminated!]
15:24
bjh13 has joined #ruby-lang
15:24
bf4 has joined #ruby-lang
15:25
mannyt has joined #ruby-lang
15:28
coca_rails has quit [Remote host closed the connection]
15:30
coca_rails has joined #ruby-lang
15:31
Oloryn_lt2 has quit [Ping timeout: 240 seconds]
15:32
tomAnthonyShacha has quit [Remote host closed the connection]
15:33
MrZYX|off is now known as MrZYX
15:34
tomAnthonyShacha has joined #ruby-lang
15:36
michaeldeol has joined #ruby-lang
15:37
<
yorickpeterse >
what part exactly, or everything?
15:39
snsei has quit [Remote host closed the connection]
15:40
bzalasky has joined #ruby-lang
15:40
michaeldeol has quit [Ping timeout: 246 seconds]
15:41
phus1on has quit [Quit: .]
15:42
mistym has joined #ruby-lang
15:44
serroft has joined #ruby-lang
15:46
seanlinsley has quit [Quit: seanlinsley]
15:46
seanlinsley has joined #ruby-lang
15:47
tkuchiki has joined #ruby-lang
15:48
kek has quit [Remote host closed the connection]
15:48
<
mrevd >
i mean the methods that don't touch the web service i realize i should cover. but what about an actual api call. should i bother stubbing it?
15:49
nXqd has joined #ruby-lang
15:49
<
yorickpeterse >
You can use webmock and the likes for it
15:49
<
yorickpeterse >
but you should definately test it
15:50
mistym has quit [Remote host closed the connection]
15:50
gromitmpl has joined #ruby-lang
15:50
<
mrevd >
cool thanks for that gem
15:51
yfeldblum has joined #ruby-lang
15:51
coca_rails has quit [Remote host closed the connection]
15:52
coca_rails has joined #ruby-lang
15:52
makoto_ has joined #ruby-lang
15:52
arBmind has quit [Quit: Leaving.]
15:53
nXqd has quit [Ping timeout: 246 seconds]
15:54
mikecmpbll has joined #ruby-lang
15:55
vlad_starkov has quit [Ping timeout: 250 seconds]
15:55
FastForward has joined #ruby-lang
15:55
FastForward has left #ruby-lang [#ruby-lang]
15:56
coca_rails has quit [Ping timeout: 245 seconds]
15:57
makoto_ has quit [Ping timeout: 272 seconds]
15:58
seanlinsley has quit [Quit: seanlinsley]
15:58
florentg2 has quit [Quit: florentg2]
16:00
dik_dak has joined #ruby-lang
16:00
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
16:02
jsullivandigs has joined #ruby-lang
16:02
Thanatermesis has joined #ruby-lang
16:02
shinnya has quit [Ping timeout: 245 seconds]
16:02
snsei has joined #ruby-lang
16:02
bzalasky has quit [Remote host closed the connection]
16:03
yfeldblum has quit [Remote host closed the connection]
16:04
enebo has joined #ruby-lang
16:04
snsei has quit [Remote host closed the connection]
16:04
kek has joined #ruby-lang
16:05
mistym has joined #ruby-lang
16:05
snsei has joined #ruby-lang
16:08
tomAnthonyShacha has quit [Remote host closed the connection]
16:09
tylersmith has joined #ruby-lang
16:09
benlovell has joined #ruby-lang
16:09
snsei has quit [Ping timeout: 248 seconds]
16:10
yfeldblum has joined #ruby-lang
16:10
rippa has joined #ruby-lang
16:14
ffio has quit [Quit: WeeChat 0.4.1]
16:15
mmorga has joined #ruby-lang
16:15
barttenb_ has quit [Ping timeout: 245 seconds]
16:16
makoto_ has joined #ruby-lang
16:17
anulman has quit [Ping timeout: 246 seconds]
16:17
kek has quit [Remote host closed the connection]
16:18
anulman has joined #ruby-lang
16:19
barttenbrinke has joined #ruby-lang
16:20
cmedeiros has quit [Ping timeout: 264 seconds]
16:20
Czupa has joined #ruby-lang
16:20
makoto_ has quit [Ping timeout: 246 seconds]
16:23
senj has joined #ruby-lang
16:24
kek has joined #ruby-lang
16:26
snsei has joined #ruby-lang
16:26
|jemc| has joined #ruby-lang
16:28
snsei has quit [Remote host closed the connection]
16:28
tkuchiki has quit [Remote host closed the connection]
16:28
snsei has joined #ruby-lang
16:29
phus1on has joined #ruby-lang
16:29
tkuchiki has joined #ruby-lang
16:33
tkuchiki has quit [Ping timeout: 240 seconds]
16:33
seanlinsley has joined #ruby-lang
16:33
snsei has quit [Ping timeout: 264 seconds]
16:35
cmedeiros has joined #ruby-lang
16:37
michaeldeol has joined #ruby-lang
16:37
cmedeiros has quit [Max SendQ exceeded]
16:41
michaeldeol has quit [Ping timeout: 248 seconds]
16:41
ender has joined #ruby-lang
16:45
marr123 has joined #ruby-lang
16:45
marr123 has quit [Remote host closed the connection]
16:46
Gaelane has joined #ruby-lang
16:47
relix_ has joined #ruby-lang
16:52
lfox has quit [*.net *.split]
16:52
datanoise has quit [*.net *.split]
16:52
marr has quit [*.net *.split]
16:52
relix has quit [*.net *.split]
16:52
Elico has quit [*.net *.split]
16:52
GaelanAintAround has quit [*.net *.split]
16:52
coca_rails has joined #ruby-lang
16:53
cads has quit [Ping timeout: 252 seconds]
16:53
robbyoconnor has joined #ruby-lang
16:55
cmedeiros has joined #ruby-lang
16:55
lfox has joined #ruby-lang
16:55
datanoise has joined #ruby-lang
16:57
cmedeiros has quit [Max SendQ exceeded]
16:57
cmedeiros has joined #ruby-lang
16:58
cmedeiros has quit [*.net *.split]
16:58
lfox has quit [*.net *.split]
16:58
datanoise has quit [*.net *.split]
16:58
stardiviner has quit [Remote host closed the connection]
16:59
cmedeiros has joined #ruby-lang
17:00
makoto_ has joined #ruby-lang
17:01
robbyoconnor has quit [Ping timeout: 272 seconds]
17:01
kek has quit [Remote host closed the connection]
17:01
coca_rails has quit [Ping timeout: 245 seconds]
17:02
sepp2k has quit [Quit: Konversation terminated!]
17:04
Elico has joined #ruby-lang
17:04
datanoise has joined #ruby-lang
17:04
lfox has joined #ruby-lang
17:05
rahul_j has joined #ruby-lang
17:05
makoto_ has quit [Ping timeout: 248 seconds]
17:05
michaeldeol has joined #ruby-lang
17:07
__butch__ has joined #ruby-lang
17:09
michaeldeol has quit [*.net *.split]
17:09
Elico has quit [*.net *.split]
17:09
lfox has quit [*.net *.split]
17:09
datanoise has quit [*.net *.split]
17:09
__butch__ has quit [Client Quit]
17:09
mistym has quit [Remote host closed the connection]
17:09
__butch__ has joined #ruby-lang
17:09
JoelMcCracken has joined #ruby-lang
17:09
jsrn has quit [Ping timeout: 250 seconds]
17:10
canton7-mac has joined #ruby-lang
17:10
michaeldeol has joined #ruby-lang
17:11
coca_rails has joined #ruby-lang
17:12
dwknoxy has joined #ruby-lang
17:14
brianpWins has quit [Quit: brianpWins]
17:15
lfox has joined #ruby-lang
17:15
datanoise has joined #ruby-lang
17:15
knu has joined #ruby-lang
17:15
dwknoxy has quit [Client Quit]
17:15
coca_rails has quit [Ping timeout: 245 seconds]
17:16
makoto_ has joined #ruby-lang
17:17
Elico has joined #ruby-lang
17:18
vmoravec has quit [Quit: Leaving]
17:21
makoto_ has quit [Ping timeout: 265 seconds]
17:25
slash_nick has quit [Ping timeout: 246 seconds]
17:25
slash_nick has joined #ruby-lang
17:25
tomAnthonyShacha has joined #ruby-lang
17:27
benlovell has quit [Quit: leaving]
17:28
Kabaka has quit [Ping timeout: 246 seconds]
17:29
jg has quit [Quit: Leaving]
17:29
tomAnthonyShacha has quit [Ping timeout: 245 seconds]
17:30
vlad_starkov has joined #ruby-lang
17:32
d2biG has quit [Ping timeout: 246 seconds]
17:34
mistym has joined #ruby-lang
17:34
mistym has quit [Changing host]
17:34
mistym has joined #ruby-lang
17:34
dhruvasagar has joined #ruby-lang
17:35
dRbiG has joined #ruby-lang
17:35
serroft has quit [Quit: Leaving.]
17:37
Kabaka has joined #ruby-lang
17:39
coca_rails has joined #ruby-lang
17:42
marr has joined #ruby-lang
17:44
coca_rails has quit [Ping timeout: 245 seconds]
17:45
canton7-mac has quit [Quit: Leaving]
17:46
tomAnthonyShacha has joined #ruby-lang
17:48
Pupeno_w has quit [Ping timeout: 252 seconds]
17:49
MichD is now known as michd
17:50
chabill has joined #ruby-lang
17:50
elia has quit [Ping timeout: 250 seconds]
17:51
Senjai`work has joined #ruby-lang
17:51
tomAnthonyShacha has quit []
17:51
tomAnthonyShacha has joined #ruby-lang
17:53
gix has joined #ruby-lang
17:55
CaptainJet has joined #ruby-lang
17:55
ffio has joined #ruby-lang
17:56
dhruvasagar has quit [Ping timeout: 272 seconds]
17:58
gix has quit [Ping timeout: 246 seconds]
17:59
iliketur_ has joined #ruby-lang
17:59
fijimunkii has quit [Ping timeout: 245 seconds]
17:59
benjarn has joined #ruby-lang
17:59
emmanuel__ has joined #ruby-lang
18:00
emmanuel__ has left #ruby-lang [#ruby-lang]
18:02
gix has joined #ruby-lang
18:03
jsrn has joined #ruby-lang
18:05
fijimunkii has joined #ruby-lang
18:06
hahuang65 has quit [Ping timeout: 245 seconds]
18:06
brianpWins has joined #ruby-lang
18:07
gix has quit [Ping timeout: 245 seconds]
18:11
cnivolle_ has quit [Remote host closed the connection]
18:13
tylersmith has quit [Read error: Connection reset by peer]
18:13
tylersmith has joined #ruby-lang
18:14
gix has joined #ruby-lang
18:14
AKASkip has joined #ruby-lang
18:15
dhruvasagar has joined #ruby-lang
18:16
makoto_ has joined #ruby-lang
18:16
saarinen has joined #ruby-lang
18:18
chabill has quit [Quit: Zzz]
18:19
gix has quit [Ping timeout: 272 seconds]
18:20
jonahR has joined #ruby-lang
18:20
io_syl has joined #ruby-lang
18:21
Coincidental has quit [Remote host closed the connection]
18:21
makoto_ has quit [Ping timeout: 265 seconds]
18:21
relix has joined #ruby-lang
18:21
relix has quit [Max SendQ exceeded]
18:25
relix has joined #ruby-lang
18:26
relix has quit [Max SendQ exceeded]
18:26
relix has joined #ruby-lang
18:27
tomAnthonyShacha has quit [Remote host closed the connection]
18:28
skade has quit [Quit: Computer has gone to sleep.]
18:28
knu has quit [Ping timeout: 246 seconds]
18:29
tomAnthonyShacha has joined #ruby-lang
18:30
serroft has joined #ruby-lang
18:33
MaddinXx_ has quit [Remote host closed the connection]
18:35
skmp has joined #ruby-lang
18:36
skmp1 has quit [Ping timeout: 246 seconds]
18:37
mrevd has quit [Quit: Leaving.]
18:37
Coincidental has joined #ruby-lang
18:38
momomomomo has joined #ruby-lang
18:39
MaddinXx_ has joined #ruby-lang
18:39
momomomomo has quit [Client Quit]
18:40
Coincidental has quit [Remote host closed the connection]
18:40
mrevd has joined #ruby-lang
18:40
coca_rails has joined #ruby-lang
18:41
iliketur_ has quit [Quit: zzzzz…..]
18:43
iliketur_ has joined #ruby-lang
18:45
coca_rails has quit [Ping timeout: 245 seconds]
18:53
workmad3 has quit [Ping timeout: 246 seconds]
19:01
cmedeiros has quit [Ping timeout: 250 seconds]
19:01
daikan has joined #ruby-lang
19:05
jg has joined #ruby-lang
19:06
benjarn has quit [Quit: WeeChat 0.4.2]
19:10
tomAnthonyShacha has quit [Ping timeout: 246 seconds]
19:10
mistym_ has joined #ruby-lang
19:13
barttenbrinke has quit [Remote host closed the connection]
19:13
deception has joined #ruby-lang
19:14
ffio has quit [Quit: WeeChat 0.4.1]
19:14
mistym_ has quit [Ping timeout: 240 seconds]
19:15
jsrn has quit [Quit: Leaving]
19:16
slash_nick has quit [Changing host]
19:16
slash_nick has joined #ruby-lang
19:16
makoto_ has joined #ruby-lang
19:16
mrevd has quit [Read error: Connection reset by peer]
19:17
arooni-mobile has joined #ruby-lang
19:18
mrevd has joined #ruby-lang
19:18
rolfb has joined #ruby-lang
19:20
makoto_ has quit [Ping timeout: 250 seconds]
19:21
coca_rails has joined #ruby-lang
19:24
llakey has joined #ruby-lang
19:24
tomAnthonyShacha has joined #ruby-lang
19:24
Czupa has quit [Ping timeout: 246 seconds]
19:25
dwknoxy has joined #ruby-lang
19:30
senj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:30
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
19:31
__butch__ has quit [Remote host closed the connection]
19:31
__butch__ has joined #ruby-lang
19:32
bf4 has quit [Quit: leaving]
19:34
anulman has quit [Quit: Leaving.]
19:36
vpretzel has joined #ruby-lang
19:38
michaeldeol has quit [Remote host closed the connection]
19:39
michaeldeol has joined #ruby-lang
19:41
anulman has joined #ruby-lang
19:42
Coincidental has joined #ruby-lang
19:43
michaeldeol has quit [Ping timeout: 246 seconds]
19:44
fijimunkii has quit [Ping timeout: 246 seconds]
19:44
tomAnthonyShacha has quit [Remote host closed the connection]
19:48
yfeldblu_ has joined #ruby-lang
19:51
yfeldblum has quit [Ping timeout: 240 seconds]
19:51
ddd has quit [Quit: to reboot for kernel upgrade]
19:53
ddd has joined #ruby-lang
19:56
rahul_j has quit [Quit: rahul_j]
19:56
lewix has joined #ruby-lang
19:58
hahuang65 has joined #ruby-lang
19:58
bin7me has joined #ruby-lang
20:07
dhruvasagar has quit [Ping timeout: 272 seconds]
20:15
michaeldeol has joined #ruby-lang
20:16
makoto_ has joined #ruby-lang
20:18
Mon_Ouie has joined #ruby-lang
20:20
makoto_ has quit [Ping timeout: 240 seconds]
20:21
MaddinXx_ has quit [Quit: Leaving...]
20:22
mjc_ has joined #ruby-lang
20:26
mistym is now known as mistym_lunch
20:29
vondruch has quit [Ping timeout: 252 seconds]
20:32
makerops has joined #ruby-lang
20:33
arooni-mobile has quit [Ping timeout: 250 seconds]
20:33
davejlong has joined #ruby-lang
20:33
<
makerops >
im not sure if I am thinking about things right, but essentially, I want a shared value, and two .subscribe loops, one for processing, and one for configuration parameters
20:34
<
makerops >
when a new config message comes through, it dings the other thread with the updated config
20:34
<
makerops >
am i thinking about that code correctly?
20:36
knu has joined #ruby-lang
20:37
mistym has joined #ruby-lang
20:37
vlad_starkov has quit [Remote host closed the connection]
20:38
jg has quit [Disconnected by services]
20:38
vlad_starkov has joined #ruby-lang
20:39
<
|jemc| >
well, one problem is that you should get your ConditionVariable from mutex.new_cond
20:39
__butch__ has quit [Quit: Leaving.]
20:39
vlad_starkov has quit [Remote host closed the connection]
20:39
<
|jemc| >
so that it is 'tied into' your mutex
20:39
jg_ has joined #ruby-lang
20:39
vlad_starkov has joined #ruby-lang
20:40
<
|jemc| >
and the argument passed to ConditionVariable#wait is a timeout length, not a Mutex object
20:40
benanne has joined #ruby-lang
20:41
vlad_starkov has quit [Remote host closed the connection]
20:43
<
|jemc| >
and I don't know what your channel_queue.subscribe methods are doing, so I can't say what else might be wrong
20:44
<
makerops >
those are working, they basically just sit lisentening waiting for a topic to roll through
20:44
<
|jemc| >
so it establishes a callback that gets called by some external threaded system, then?
20:44
<
makerops >
ya, amqp messages
20:45
deception has quit [Quit: Goodbye]
20:46
<
|jemc| >
well, it would also seem to me that conceptually, your producer would be doing the #signal ing and your consumer would be doing the #wait ing
20:47
<
|jemc| >
but I would guess that the error message you showed comes from my first point
20:47
<
|jemc| >
that the ConditionVariable needs to be 'owned' by the mutex
20:47
JoelMcCracken has quit [Ping timeout: 252 seconds]
20:48
arooni-mobile has joined #ruby-lang
20:48
tenderlove has joined #ruby-lang
20:49
Czupa has joined #ruby-lang
20:50
<
|jemc| >
but I can understand why one might not know that given how poorly the MonitorMixin and everything underneath it is documented :/
20:50
mannyt has quit [Ping timeout: 245 seconds]
20:52
vigintas has joined #ruby-lang
20:54
ledestin has quit [Quit: ledestin]
20:54
mannyt has joined #ruby-lang
20:55
gix has joined #ruby-lang
20:55
<
makerops >
i updated it to reflect close to the docs, just so I didnt stray too far
20:57
<
|jemc| >
which method is raising that error?
20:57
<
makerops >
looks lik eit
20:57
<
|jemc| >
your traceback doesn't say?
20:58
<
makerops >
buf.push(mesasge) goes through
20:58
<
makerops >
i just threw a puts after buf.push, which ran
20:58
<
|jemc| >
well, subscribe is registering a callback to be called later, by another thread, correct?
20:59
<
makerops >
an external message
20:59
gix has quit [Ping timeout: 246 seconds]
20:59
<
makerops >
i dont know the underlying mechanism
20:59
<
makerops >
i just updatd the gist with the whole code that sets up the tcp connection
21:00
<
|jemc| >
but it doesn't happen
_during_ the subscribe call, it happens at some point after, correct?
21:00
<
makerops >
ya, it gets into the subscribe call
21:00
<
makerops >
so that should be working, then I send a message to the subscribe call
21:00
<
|jemc| >
so, you don't want to do your synchronize outside the subscribe call
21:00
<
makerops >
wich in turn runs buf.push(message) and empty_cond.signal
21:01
<
|jemc| >
heh, that last one wasn't a question :P
21:01
<
makerops >
I want to setup two channels, and listen to a topic, one topic does nothing until a new config comes in, the other processes data
21:01
<
makerops >
there should be a shared var between them, that the config can change, and then throw over tothe processing thread
21:02
<
|jemc| >
what are trying to accomplish with the synchronize that wraps your subscribe call?
21:03
<
makerops >
thats what locks/signals no?
21:03
VTLob has joined #ruby-lang
21:03
<
makerops >
i need some type of shared value, that one thread locks, and the other can ask for, change, then send back
21:04
aef has quit [Ping timeout: 245 seconds]
21:05
meise has quit [Ping timeout: 245 seconds]
21:05
vigintas_ has joined #ruby-lang
21:05
<
|jemc| >
what you want to synchronize is the contents of your callback that you pass to subscribe
21:05
vigintas has quit [Ping timeout: 245 seconds]
21:05
<
|jemc| >
right now, you're just synchronizing the registering of the callback
21:05
mrevd has quit [Quit: Leaving.]
21:06
<
|jemc| >
but again, I would need to know what subscribe is actually doing in order to really tell you how this should be structured
21:06
Czupa has quit [Quit: Wychodzi]
21:06
Czupa has joined #ruby-lang
21:07
coca_rails has quit [Remote host closed the connection]
21:07
coca_rails has joined #ruby-lang
21:08
gromitmpl has quit [Read error: No buffer space available]
21:08
gromitmpl has joined #ruby-lang
21:11
phus1on has quit [Quit: .]
21:12
gix has joined #ruby-lang
21:12
Mon_Ouie has quit [Ping timeout: 240 seconds]
21:13
jg_ has quit [Ping timeout: 240 seconds]
21:14
dingus_khan has joined #ruby-lang
21:16
Asher has quit [Quit: Leaving.]
21:16
<
makerops >
|jemc|, woudl it matter?
21:16
makoto_ has joined #ruby-lang
21:16
gix has quit [Ping timeout: 240 seconds]
21:17
<
|jemc| >
yes, you need to know how the block you're passing to subscribe is being used
21:17
<
|jemc| >
when it is being used
21:17
<
|jemc| >
and by what thread it is being used
21:18
<
|jemc| >
to get the full picture of how to properly prevent your race conditions
21:18
<
makerops >
i cant get the dang thing to synch at this point
21:19
davejlong has quit [Remote host closed the connection]
21:19
<
makerops >
(I appreciate all the help btw)
21:20
makoto_ has quit [Ping timeout: 245 seconds]
21:22
Coincidental has quit [Remote host closed the connection]
21:22
znz_jp has quit [Quit: kill -QUIT $$]
21:23
prezJFK has joined #ruby-lang
21:24
mistym has quit [Remote host closed the connection]
21:24
vigintas_ has quit [Read error: Connection reset by peer]
21:24
sepp2k has joined #ruby-lang
21:25
znz_jp has joined #ruby-lang
21:25
mrevd has joined #ruby-lang
21:25
mrevd has quit [Read error: Connection reset by peer]
21:25
mrevd1 has joined #ruby-lang
21:27
<
|jemc| >
so, I don't know if you have some other circumstance that would require it
21:28
<
|jemc| >
but it seems to me that there's no reason to manually start a thread in your consumer
21:29
michaeldeol has quit [Remote host closed the connection]
21:30
Coincidental has joined #ruby-lang
21:30
<
makerops >
|jemc|, i completely took otu the subscribe in the consumer thread, nad still cant get it to rung
21:31
shaman42 has quit [Ping timeout: 246 seconds]
21:31
shaman42 has joined #ruby-lang
21:31
gix has joined #ruby-lang
21:32
<
|jemc| >
no, leave the subscribe but take out the consumer = Thread.start and the following consumer.join
21:32
<
makerops >
wrap the subscribe by buf.synchronize or vice versa?
21:32
dingus_khan has quit [Remote host closed the connection]
21:33
<
|jemc| >
sync inside the subscribe block
21:33
<
makerops >
thats what i thought
21:33
<
makerops >
wont synch
21:34
fijimunkii has joined #ruby-lang
21:35
mistym_lunch is now known as mistym
21:35
gix has quit [Ping timeout: 240 seconds]
21:36
gix has joined #ruby-lang
21:36
michaeldeol has joined #ruby-lang
21:37
scampbell has quit [Remote host closed the connection]
21:41
cir0x has left #ruby-lang [#ruby-lang]
21:41
cir0x has joined #ruby-lang
21:42
retro|cz has quit [Ping timeout: 245 seconds]
21:43
dingus_khan has joined #ruby-lang
21:44
gix has quit [Ping timeout: 240 seconds]
21:45
fijimunkii has quit [Ping timeout: 250 seconds]
21:46
<
makerops >
...tiny progress
21:47
robbyoconnor has joined #ruby-lang
21:49
gix has joined #ruby-lang
21:52
ledestin has joined #ruby-lang
21:55
arooni-mobile__ has joined #ruby-lang
21:55
MrZYX is now known as MrZYX|off
21:57
workmad3 has joined #ruby-lang
21:57
MrZYX|off is now known as MrZYX
22:00
bjh13 has quit [Quit: leaving]
22:00
mbj has quit [Quit: leaving]
22:01
jonahR has quit [Quit: jonahR]
22:02
robbyoconnor has quit [Ping timeout: 265 seconds]
22:04
vpretzel has quit [Quit: Adios!]
22:05
cmedeiros has joined #ruby-lang
22:05
Czupa has quit [Ping timeout: 248 seconds]
22:08
elia has joined #ruby-lang
22:09
tomAnthonyShacha has joined #ruby-lang
22:09
enebo has quit [Quit: enebo]
22:12
tomAnthonyShacha has quit [Client Quit]
22:13
tomAnthonyShacha has joined #ruby-lang
22:16
makoto_ has joined #ruby-lang
22:16
makerops has quit [Remote host closed the connection]
22:18
tomAnthonyShacha has quit []
22:19
lewix has quit [Remote host closed the connection]
22:19
lewix has joined #ruby-lang
22:19
lewix has quit [Remote host closed the connection]
22:20
makoto_ has quit [Ping timeout: 245 seconds]
22:26
machuga is now known as machuga|away
22:31
benanne has quit [Quit: kbai]
22:32
cmedeiros has quit [Ping timeout: 241 seconds]
22:33
wudofyr has quit [Remote host closed the connection]
22:33
wudofyr has joined #ruby-lang
22:34
postmodern has joined #ruby-lang
22:35
dingus_khan has quit [Remote host closed the connection]
22:36
coca_rails has quit [Remote host closed the connection]
22:36
prc has joined #ruby-lang
22:38
dingus_khan has joined #ruby-lang
22:40
coca_rai_ has joined #ruby-lang
22:42
callsea1_ has joined #ruby-lang
22:43
callsea1_ has quit [Client Quit]
22:45
simoz4 has joined #ruby-lang
22:45
cir0x has quit [Remote host closed the connection]
22:46
senj has joined #ruby-lang
22:51
mrevd1 has quit [Quit: Leaving.]
22:54
mrevd has joined #ruby-lang
22:55
tubbo is now known as MauryOnRails
22:57
Jeticus has joined #ruby-lang
22:58
breakingthings has quit []
22:59
CaptainJet has quit [Ping timeout: 265 seconds]
22:59
gix has quit [Ping timeout: 245 seconds]
22:59
yfeldblu_ has quit [Remote host closed the connection]
23:00
mmorga has quit [Remote host closed the connection]
23:00
MauryOnRails is now known as tubbo
23:02
yfeldblum has joined #ruby-lang
23:06
lcdhoffman has joined #ruby-lang
23:07
charliesome has joined #ruby-lang
23:09
nXqd has joined #ruby-lang
23:14
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
23:16
makoto_ has joined #ruby-lang
23:17
fsvehla has quit [Quit: fsvehla]
23:17
serroft has quit [Quit: Leaving.]
23:18
skade has joined #ruby-lang
23:19
skade has quit [Client Quit]
23:20
fsvehla has joined #ruby-lang
23:20
makoto_ has quit [Ping timeout: 245 seconds]
23:21
simoz5 has joined #ruby-lang
23:21
seanlinsley has quit [Quit: seanlinsley]
23:22
CoreData has joined #ruby-lang
23:22
mdedetrich has joined #ruby-lang
23:23
mbj has joined #ruby-lang
23:23
simoz4 has quit [Ping timeout: 264 seconds]
23:23
fsvehla has quit [Client Quit]
23:24
wallerdev has joined #ruby-lang
23:24
lcdhoffman has quit [Quit: lcdhoffman]
23:25
mistym_ has joined #ruby-lang
23:29
senj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
23:29
mistym_ has quit [Ping timeout: 240 seconds]
23:30
senj has joined #ruby-lang
23:31
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
23:33
relix has joined #ruby-lang
23:34
gix has joined #ruby-lang
23:34
ItSANgo_ has joined #ruby-lang
23:35
VTLob has quit [Quit: VTLob]
23:36
charliesome has joined #ruby-lang
23:36
relix has quit [Client Quit]
23:37
foster63 has joined #ruby-lang
23:38
ItS______ has quit [Ping timeout: 248 seconds]
23:39
gix has quit [Read error: Operation timed out]
23:40
vlad_starkov has joined #ruby-lang
23:40
foster63_ has joined #ruby-lang
23:40
nigerianceo has quit []
23:43
vlad_starkov has quit [Read error: Connection reset by peer]
23:44
coca_rai_ has quit [Remote host closed the connection]
23:46
mrevd has quit [Quit: Leaving.]
23:46
coca_rails has joined #ruby-lang
23:48
mrevd has joined #ruby-lang
23:49
CoreData has quit [Quit: CoreData]
23:49
workmad3 has quit [Ping timeout: 252 seconds]
23:49
CoreData has joined #ruby-lang
23:54
cored has quit [Ping timeout: 264 seconds]
23:55
cads has joined #ruby-lang
23:56
CoreData has quit [Quit: CoreData]
23:56
CoreData has joined #ruby-lang
23:58
gix has joined #ruby-lang
23:58
arooni-mobile has quit [Ping timeout: 246 seconds]
23:58
arooni-mobile__ has quit [Ping timeout: 252 seconds]
23:59
coca_rails has quit [Remote host closed the connection]