00:00
srbaker has joined #ruby-lang
00:00
<
theoros >
zenspider: curious, the second one works!
00:00
<
zenspider >
theoros: the semicolon forces ruby to use /bin/sh -c '...'
00:00
<
theoros >
zenspider: thanks. /usr/bin/time doesn't exist on my system, i tried it when i went googling
00:01
<
theoros >
zenspider: ah, useful to know, although a bit mysterious
00:01
<
zenspider >
as does | or >, etc.
00:01
<
theoros >
(if you don't know it)
00:01
<
zenspider >
if it looks plain enough, it tries to use execvc straight up.
00:01
<
zenspider >
cheaper and easier overall
00:01
<
theoros >
i switched to Benchmark.realtime in the end :)
00:01
<
zenspider >
HOLY FUCK rspec is inefficient
00:01
<
zenspider >
or that.
00:01
<
zenspider >
if all you want is wall clock, that's great
00:02
<
theoros >
still shelling out, but hey
00:02
<
zenspider >
right now I'm using /usr/bin/time -l so I can get resident memory from the process as well... because rspec... ick
00:02
<
zenspider >
depending on the resolution you need: def bench; t0 = Time.now; yield; Time.now - mt0; end
00:02
<
zenspider >
bench do ... end
00:03
<
zenspider >
err.. . t = bench do ... end
00:03
<
zenspider >
that should get you wallclock times down to milliseconds or so
00:04
<
theoros >
only needed hundredths of a second, i think, but yeah i could've gone for that one too
00:04
<
theoros >
i guess micro is nice to have just because
00:04
<
zenspider >
ARGH... wtf rspec... why you take so long?!?!?
00:07
cschneid has joined #ruby-lang
00:09
agarie has quit [Remote host closed the connection]
00:12
drbrain_ has joined #ruby-lang
00:12
drbrain has quit [Quit: Leaving...]
00:15
datanoise has quit [Ping timeout: 244 seconds]
00:18
codekoala has joined #ruby-lang
00:18
<
zenspider >
daaaaamn
00:19
mercwith1mouth has joined #ruby-lang
00:19
mercwithamouth has joined #ruby-lang
00:19
mistym has joined #ruby-lang
00:21
bzalasky_ has quit [Remote host closed the connection]
00:24
<
zenspider >
I don't even know how to guess how rspec goes so slow and soooo big in those cases
00:25
drbrain_ has quit [Quit: Goodbye]
00:26
eban has quit [Quit: WeeChat 0.3.8]
00:26
eban has joined #ruby-lang
00:29
drbrain has joined #ruby-lang
00:30
justinram has quit [Remote host closed the connection]
00:34
spuk has quit [Ping timeout: 276 seconds]
00:37
cored has quit [Ping timeout: 260 seconds]
00:38
cored has joined #ruby-lang
00:38
cored has quit [Changing host]
00:38
cored has joined #ruby-lang
00:40
idkazuma has quit [Remote host closed the connection]
00:41
idkazuma has joined #ruby-lang
00:42
jtoy has quit [Quit: jtoy]
00:43
richardjortega has joined #ruby-lang
00:44
MartynKeigher has quit [Excess Flood]
00:45
datanoise has joined #ruby-lang
00:46
MartynKeigher has joined #ruby-lang
00:46
idkazuma has quit [Ping timeout: 252 seconds]
00:49
__butch__ has quit [Quit: Leaving.]
00:53
chaosis has quit [Read error: Connection reset by peer]
00:56
spuk has joined #ruby-lang
00:57
asdfqwer has joined #ruby-lang
00:57
asdfqwer has quit [Client Quit]
01:00
krohrbaugh has quit [Quit: Leaving.]
01:04
tdy has quit [Ping timeout: 252 seconds]
01:05
havenn has joined #ruby-lang
01:05
srbaker has quit [Quit: Computer has gone to sleep.]
01:05
chimkan has joined #ruby-lang
01:11
srbaker has joined #ruby-lang
01:12
tdy has joined #ruby-lang
01:14
Sinestro has joined #ruby-lang
01:18
marr has quit [Ping timeout: 252 seconds]
01:21
emocakes has quit [Quit: emocakes]
01:24
brianpWins has quit [Quit: brianpWins]
01:26
setmeaway2 has quit [Read error: Connection reset by peer]
01:28
havenn has quit [Remote host closed the connection]
01:32
dhruvasagar has joined #ruby-lang
01:33
dankest has joined #ruby-lang
01:35
chimkan__ has joined #ruby-lang
01:36
mjio has joined #ruby-lang
01:36
dhruvasagar has quit [Read error: Connection reset by peer]
01:37
gregmoreno has quit [Ping timeout: 256 seconds]
01:37
chimkan has quit [Ping timeout: 248 seconds]
01:38
dhruvasagar has joined #ruby-lang
01:41
kurko__ has quit [Quit: Computer has gone to sleep.]
01:42
kurko__ has joined #ruby-lang
01:42
chimkan__ is now known as chimkan
01:42
tylersmith has quit [Quit: tylersmith]
01:45
maxmanders has quit [Quit: Computer has gone to sleep.]
01:46
dhruvasagar has quit [Ping timeout: 256 seconds]
01:46
dhruvasagar has joined #ruby-lang
01:49
<
UziMonkey >
wrong channel again... :P
01:49
dankest has quit [Quit: Leaving...]
01:50
srbaker has quit [Quit: Computer has gone to sleep.]
01:52
srbaker has joined #ruby-lang
01:55
krohrbaugh has joined #ruby-lang
01:56
setmeaway has joined #ruby-lang
01:56
countdigi has quit [Quit: leaving]
01:56
countdigi has joined #ruby-lang
01:57
lcdhoffman has quit [Quit: lcdhoffman]
02:03
jbsan has quit [Quit: jbsan]
02:05
ddd has joined #ruby-lang
02:05
bzalasky has joined #ruby-lang
02:05
ddd is now known as Guest19919
02:05
mistym has quit [Remote host closed the connection]
02:06
jonahR has joined #ruby-lang
02:07
Guest71844 has quit [Ping timeout: 245 seconds]
02:08
mistym has joined #ruby-lang
02:08
mistym has quit [Changing host]
02:08
mistym has joined #ruby-lang
02:15
thufir_ has joined #ruby-lang
02:15
havenwood has quit [Remote host closed the connection]
02:17
swav has joined #ruby-lang
02:19
chimkan has quit [Ping timeout: 252 seconds]
02:24
klebervirgilio has quit [Remote host closed the connection]
02:25
klebervirgilio has joined #ruby-lang
02:26
Nisstyre-laptop has joined #ruby-lang
02:27
mistym has quit [Remote host closed the connection]
02:29
klebervirgilio has quit [Ping timeout: 244 seconds]
02:36
grough has joined #ruby-lang
02:41
baba has quit [Quit: WeeChat 0.4.0]
02:42
cored has quit [Ping timeout: 276 seconds]
02:43
cored has joined #ruby-lang
02:43
cored has joined #ruby-lang
02:43
cored has quit [Changing host]
02:45
rsl has quit [Quit: Computer has gone to sleep.]
02:47
KA_ has joined #ruby-lang
02:49
bzalasky has quit [Remote host closed the connection]
02:51
bzalasky has joined #ruby-lang
03:02
vmoravec has quit [Ping timeout: 256 seconds]
03:02
vmoravec has joined #ruby-lang
03:04
dhruvasagar has quit [Ping timeout: 255 seconds]
03:06
dhruvasagar has joined #ruby-lang
03:10
dankest has joined #ruby-lang
03:11
vmoravec has quit [Ping timeout: 245 seconds]
03:11
vmoravec has joined #ruby-lang
03:12
srbaker has quit [Quit: Computer has gone to sleep.]
03:12
AndChat| has joined #ruby-lang
03:14
Banistergalaxy has quit [Ping timeout: 245 seconds]
03:16
mantono has quit [Ping timeout: 252 seconds]
03:16
mantono has joined #ruby-lang
03:17
srbaker has joined #ruby-lang
03:20
talonstriker has joined #ruby-lang
03:21
tylersmith has joined #ruby-lang
03:21
richardjortega has quit [Quit: richardjortega]
03:21
Rizzle has joined #ruby-lang
03:22
lsegal has joined #ruby-lang
03:26
headius has joined #ruby-lang
03:26
headius has quit [Client Quit]
03:27
headius has joined #ruby-lang
03:29
tomzx_mac has joined #ruby-lang
03:30
aedorn has quit [Quit: Leaving]
03:30
QaDeS has quit [Quit: Ex-Chat]
03:34
bzalasky has quit [Remote host closed the connection]
03:36
headius has quit [Quit: headius]
03:36
headius has joined #ruby-lang
03:36
nertzy has quit [Quit: Leaving]
03:37
nertzy has joined #ruby-lang
03:39
davidbalber|away is now known as davidbalbert
03:42
grough has quit [Quit: Computer has gone to sleep.]
03:42
mantono has quit [Ping timeout: 260 seconds]
03:43
mantono has joined #ruby-lang
03:44
talonstriker has quit [Ping timeout: 245 seconds]
03:45
Rarrikins has joined #ruby-lang
03:47
Rarrikins_w has quit [Ping timeout: 248 seconds]
03:53
bzalasky has joined #ruby-lang
03:54
tylersmith has quit [Quit: tylersmith]
03:55
codekoala has quit [Quit: WeeChat 0.4.0]
03:56
mantono has quit [Ping timeout: 252 seconds]
04:03
lun_ has joined #ruby-lang
04:04
nertzy has quit [Read error: Connection reset by peer]
04:04
nertzy has joined #ruby-lang
04:04
datanoise has quit [Ping timeout: 252 seconds]
04:05
srbaker has quit [Quit: Computer has gone to sleep.]
04:06
charliesome has joined #ruby-lang
04:06
therod has quit [Quit: Leaving...]
04:07
kurko__ has quit [Quit: Computer has gone to sleep.]
04:07
thorncp has quit [Ping timeout: 256 seconds]
04:08
headius has quit [Quit: headius]
04:08
nertzy2 has joined #ruby-lang
04:08
thorncp has joined #ruby-lang
04:09
kurko__ has joined #ruby-lang
04:09
mistym has joined #ruby-lang
04:09
mistym has joined #ruby-lang
04:10
lun_ has quit [Ping timeout: 240 seconds]
04:11
nertzy has quit [Ping timeout: 240 seconds]
04:13
stonerfish has joined #ruby-lang
04:16
stringl__ has joined #ruby-lang
04:16
stringl__ has quit [Client Quit]
04:16
stringly_typed has joined #ruby-lang
04:21
postmodern has joined #ruby-lang
04:25
datanoise has joined #ruby-lang
04:32
thoughtfulgoblin has quit [Remote host closed the connection]
04:36
therod has joined #ruby-lang
04:38
io_syl has quit [Ping timeout: 252 seconds]
04:40
codekoala has joined #ruby-lang
04:41
io_syl has joined #ruby-lang
04:42
havenwood has joined #ruby-lang
04:42
ryez_ has joined #ruby-lang
04:44
stonerfish has quit [Ping timeout: 276 seconds]
04:44
tylersmith has joined #ruby-lang
04:46
therod has quit [Ping timeout: 244 seconds]
04:48
dankest has quit [Quit: Leaving...]
04:50
Dan has joined #ruby-lang
04:53
ryanf_ has joined #ruby-lang
04:57
kurko__ has quit [Quit: Computer has gone to sleep.]
04:59
rue has quit [Remote host closed the connection]
05:01
tylersmith has quit [Quit: tylersmith]
05:04
rue has joined #ruby-lang
05:06
chimkan_ has joined #ruby-lang
05:06
chimkan_ has quit [Client Quit]
05:07
kurko__ has joined #ruby-lang
05:07
[dmp]_ has quit [Read error: Operation timed out]
05:08
Guest85414 has quit [Read error: Operation timed out]
05:08
L0rdShrek____ has quit [Ping timeout: 264 seconds]
05:09
wycats__ has quit [Ping timeout: 260 seconds]
05:09
Harzilein has quit [Ping timeout: 260 seconds]
05:09
pkondzior__ has quit [Ping timeout: 248 seconds]
05:09
randym has quit [Ping timeout: 248 seconds]
05:09
franckverrot has quit [Ping timeout: 252 seconds]
05:09
akamike has quit [Ping timeout: 248 seconds]
05:09
guilleiguaran has quit [Ping timeout: 245 seconds]
05:09
amdprophet has quit [Ping timeout: 246 seconds]
05:09
soahccc has quit [Ping timeout: 276 seconds]
05:09
valeri_ufo has quit [Read error: Operation timed out]
05:09
thejspr has quit [Ping timeout: 260 seconds]
05:09
akahn has quit [Ping timeout: 255 seconds]
05:09
dreinull_ has quit [Ping timeout: 260 seconds]
05:10
abuiles_ has quit [Ping timeout: 248 seconds]
05:10
bpot has quit [Ping timeout: 255 seconds]
05:10
agib has quit [Ping timeout: 276 seconds]
05:10
anildigital_work has quit [Ping timeout: 252 seconds]
05:10
UziMonkey has quit [Ping timeout: 260 seconds]
05:10
Spaceghost|cloud has quit [Ping timeout: 260 seconds]
05:10
jMCg has quit [Ping timeout: 276 seconds]
05:10
jwollert has quit [Ping timeout: 248 seconds]
05:10
jasiek has quit [Ping timeout: 244 seconds]
05:10
beawesomeinstead has quit [Ping timeout: 244 seconds]
05:10
scrr has quit [Ping timeout: 244 seconds]
05:10
meise has quit [Ping timeout: 264 seconds]
05:10
grandy has quit [Ping timeout: 260 seconds]
05:11
herpless_ has quit [Ping timeout: 276 seconds]
05:11
therod has joined #ruby-lang
05:12
jwollert has joined #ruby-lang
05:12
mbr has quit [Ping timeout: 248 seconds]
05:12
Muz_ has joined #ruby-lang
05:12
Muz has quit [Ping timeout: 264 seconds]
05:13
coffeejunk has quit [Ping timeout: 252 seconds]
05:13
KA_ has quit [Read error: Connection reset by peer]
05:14
KA_ has joined #ruby-lang
05:14
sonne has quit [Ping timeout: 255 seconds]
05:16
jasiek has joined #ruby-lang
05:16
masterkorp has quit [Ping timeout: 255 seconds]
05:16
khaase has quit [Ping timeout: 255 seconds]
05:16
ryanf_ has quit [Quit: broken pipes |||]
05:16
Muz_ has quit [Ping timeout: 252 seconds]
05:17
mbr has joined #ruby-lang
05:17
mercwith1mouth has quit [Remote host closed the connection]
05:17
mercwithamouth has quit [Remote host closed the connection]
05:17
masterkorp has joined #ruby-lang
05:17
agib has joined #ruby-lang
05:18
msch has quit [Ping timeout: 245 seconds]
05:18
sonne has joined #ruby-lang
05:19
valeri_ufo has joined #ruby-lang
05:20
khaase has joined #ruby-lang
05:20
coffeejunk has joined #ruby-lang
05:21
ridget has joined #ruby-lang
05:21
ridget has quit [Remote host closed the connection]
05:21
therod has quit [Ping timeout: 255 seconds]
05:22
dankest has joined #ruby-lang
05:23
kurko__ has quit [Quit: Computer has gone to sleep.]
05:24
jMCg has joined #ruby-lang
05:24
stevechiagozie has quit [Quit: Computer has gone to sleep.]
05:24
meise has joined #ruby-lang
05:26
Muz has joined #ruby-lang
05:26
Tref has joined #ruby-lang
05:26
afterburned6387 has joined #ruby-lang
05:27
[dmp] has joined #ruby-lang
05:27
[dmp] has quit [Changing host]
05:27
[dmp] has joined #ruby-lang
05:28
Nisstyre-laptop has quit [Quit: Leaving]
05:29
stringly_typed has quit [Quit: Computer has gone to sleep.]
05:29
stonerfish has joined #ruby-lang
05:30
scrr has joined #ruby-lang
05:32
tomzx_mac has quit [Ping timeout: 260 seconds]
05:37
kgrz has joined #ruby-lang
05:37
lun_ has joined #ruby-lang
05:43
Tref has quit [Quit: Tref]
05:45
Tref has joined #ruby-lang
05:47
noop has joined #ruby-lang
05:47
UziMonkey has joined #ruby-lang
05:47
noop_ has joined #ruby-lang
05:48
noop has quit [Remote host closed the connection]
05:48
noop_ has quit [Read error: Connection reset by peer]
05:48
lun_ has quit [Remote host closed the connection]
05:48
noop has joined #ruby-lang
05:49
Tref has quit [Read error: Connection reset by peer]
05:53
dhruvasagar has quit [Ping timeout: 264 seconds]
05:54
davidbalbert is now known as davidbalber|away
05:58
slyphon has quit [Quit: slyphon]
06:01
brianpWins has joined #ruby-lang
06:01
thone has joined #ruby-lang
06:02
Nisstyre-laptop has joined #ruby-lang
06:02
mistym has quit [Remote host closed the connection]
06:03
soypirate has quit [Ping timeout: 264 seconds]
06:04
tonni has quit [Remote host closed the connection]
06:04
thone_ has quit [Ping timeout: 252 seconds]
06:09
coffeejunk has quit [Remote host closed the connection]
06:09
kgrz has quit [Quit: Computer has gone to sleep.]
06:09
coffeejunk has joined #ruby-lang
06:10
mistym has joined #ruby-lang
06:16
mistym has quit [Remote host closed the connection]
06:19
kgrz has joined #ruby-lang
06:24
davidbalber|away is now known as davidbalbert
06:26
mjio has joined #ruby-lang
06:26
mjio has quit [Client Quit]
06:27
gokul has joined #ruby-lang
06:28
gokul has quit [Client Quit]
06:29
nXqd has joined #ruby-lang
06:31
gokul has joined #ruby-lang
06:31
Mon_Ouie has joined #ruby-lang
06:39
Tref has joined #ruby-lang
06:41
JohnBat26 has joined #ruby-lang
06:42
wycats__ has joined #ruby-lang
06:43
davidbalbert is now known as davidbalber|away
06:43
JohnBat26 has quit [Remote host closed the connection]
06:46
yobiflare has quit [Ping timeout: 252 seconds]
06:46
tonni has joined #ruby-lang
06:47
nazty has quit [Read error: Connection reset by peer]
06:50
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
06:56
havenwood has quit [Remote host closed the connection]
06:56
Tref has quit [Quit: Tref]
06:58
dc5ala has joined #ruby-lang
06:58
JohnBat26 has joined #ruby-lang
07:00
KA_ has quit [Quit: KA_]
07:02
nXqd has quit [Ping timeout: 245 seconds]
07:03
Averna has quit [Quit: Leaving.]
07:03
vesan has quit [Read error: Connection reset by peer]
07:03
vesan has joined #ruby-lang
07:03
SubSpawn has quit [Ping timeout: 248 seconds]
07:03
swav has quit [Remote host closed the connection]
07:04
nXqd has joined #ruby-lang
07:04
sepp2k has joined #ruby-lang
07:05
SubSpawn has joined #ruby-lang
07:06
guilleiguaran has joined #ruby-lang
07:06
L0rdShrek____ has joined #ruby-lang
07:07
akahn has joined #ruby-lang
07:07
grandy has joined #ruby-lang
07:07
dreinull_ has joined #ruby-lang
07:07
Guest85414 has joined #ruby-lang
07:07
thejspr has joined #ruby-lang
07:07
akamike has joined #ruby-lang
07:07
Spaceghost|cloud has joined #ruby-lang
07:07
workmad3 has joined #ruby-lang
07:08
pkondzior__ has joined #ruby-lang
07:08
bpot has joined #ruby-lang
07:08
randym has joined #ruby-lang
07:08
abuiles_ has joined #ruby-lang
07:08
b1rkh0ff has quit [Ping timeout: 252 seconds]
07:08
dhruvasagar has joined #ruby-lang
07:10
headius has joined #ruby-lang
07:10
drbrain has quit [Quit: Goodbye]
07:10
anildigital_work has joined #ruby-lang
07:11
beawesomeinstead has joined #ruby-lang
07:11
drbrain has joined #ruby-lang
07:11
herpless_ has joined #ruby-lang
07:12
Sinestro has quit [Read error: Operation timed out]
07:13
JohnBat26 has quit [Remote host closed the connection]
07:14
rue has quit [Read error: Connection reset by peer]
07:17
Mon_Ouie has quit [Ping timeout: 256 seconds]
07:18
mantono has joined #ruby-lang
07:18
amdprophet has joined #ruby-lang
07:21
b1rkh0ff has joined #ruby-lang
07:26
headius has quit [Quit: headius]
07:28
antbody has joined #ruby-lang
07:30
schaerli has joined #ruby-lang
07:33
workmad3 has quit [Ping timeout: 276 seconds]
07:35
face has joined #ruby-lang
07:36
faces has quit [Ping timeout: 255 seconds]
07:36
amerine has quit [Quit: Computer has gone to sleep.]
07:38
JohnBat26 has joined #ruby-lang
07:40
krz has joined #ruby-lang
07:45
achiu has quit [Ping timeout: 276 seconds]
07:46
achiu has joined #ruby-lang
07:48
jonahR has quit [Quit: jonahR]
07:49
dankest has quit [Quit: Leaving...]
07:49
tonni has quit [Remote host closed the connection]
07:51
mercwithamouth has joined #ruby-lang
07:51
KA_ has joined #ruby-lang
07:52
coffeejunk has quit [Ping timeout: 260 seconds]
07:53
nazty has joined #ruby-lang
07:54
nazty has quit [Client Quit]
07:55
mmuehlberger has joined #ruby-lang
07:55
coffeejunk has joined #ruby-lang
07:56
marr has joined #ruby-lang
07:57
Axsuul has quit [Ping timeout: 260 seconds]
08:00
dankest has joined #ruby-lang
08:00
schaerli has quit [Remote host closed the connection]
08:01
dr_bob has joined #ruby-lang
08:02
judofyr has joined #ruby-lang
08:07
gnufied has joined #ruby-lang
08:09
rue has joined #ruby-lang
08:10
agile has quit [Ping timeout: 248 seconds]
08:11
agile has joined #ruby-lang
08:11
dr_bob has quit [Quit: Leaving.]
08:12
tonni has joined #ruby-lang
08:12
mmuehlberger has quit [Quit: mmuehlberger]
08:14
kgrz has quit [Ping timeout: 264 seconds]
08:15
lun_ has joined #ruby-lang
08:15
dr_bob has joined #ruby-lang
08:15
chendo_ has joined #ruby-lang
08:16
beho has joined #ruby-lang
08:18
mmuehlberger has joined #ruby-lang
08:18
therod has joined #ruby-lang
08:18
vlad_starkov has joined #ruby-lang
08:19
kain has quit [Quit: exit]
08:22
JohnBat26 has joined #ruby-lang
08:22
nobod127 has joined #ruby-lang
08:22
nobody__ has quit [Read error: Connection reset by peer]
08:22
Nisstyre-laptop has quit [Ping timeout: 248 seconds]
08:22
therod has quit [Ping timeout: 252 seconds]
08:27
jxie has quit [Quit: leaving]
08:29
schaerli has joined #ruby-lang
08:32
KA_ has quit [Quit: KA_]
08:35
datanoise has quit [Ping timeout: 251 seconds]
08:37
wallerdev has quit [Quit: wallerdev]
08:39
apeiros_ has joined #ruby-lang
08:40
dankest has quit [Quit: Leaving...]
08:40
lun__ has joined #ruby-lang
08:43
lun_ has quit [Ping timeout: 244 seconds]
08:45
<
yorickpeterse >
morning
08:51
io_syl_ has joined #ruby-lang
08:51
io_syl has quit [Ping timeout: 240 seconds]
08:51
io_syl_ is now known as io_syl
08:53
woollyams has joined #ruby-lang
08:53
woollyams has quit [Remote host closed the connection]
08:56
solars has joined #ruby-lang
08:57
<
apeiros_ >
ooooh, nice
08:57
<
apeiros_ >
if you inherit from String, methods like sub return the subclass, not String
09:03
ottbot has joined #ruby-lang
09:03
datanoise has joined #ruby-lang
09:03
adambeynon has joined #ruby-lang
09:07
schaerli has quit [Remote host closed the connection]
09:08
QaDeS has joined #ruby-lang
09:09
dr_bob has quit [Quit: Leaving.]
09:11
datanoise has quit [Ping timeout: 256 seconds]
09:13
<
postmodern >
apeiros_, nice that must be new
09:14
dr_bob has joined #ruby-lang
09:15
<
apeiros_ >
postmodern: indeed, I was pretty sure it used to be different
09:15
<
apeiros_ >
at least I seem to remember having written a wrapper/metathingy to make that easy
09:15
Criztian has joined #ruby-lang
09:22
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
09:24
brianpWins has quit [Quit: brianpWins]
09:25
Qfwfq has joined #ruby-lang
09:26
yobiflare has joined #ruby-lang
09:27
_bart has joined #ruby-lang
09:27
<
_bart >
What the difference of this channel compared to #ruby ?
09:28
workmad3 has joined #ruby-lang
09:28
<
yorickpeterse >
This one is for the cool guys
09:28
<
yorickpeterse >
and the official one
09:29
<
_bart >
yorickpeterse: Haha, I expected that answer, fair enough
09:30
headius has joined #ruby-lang
09:30
<
_bart >
I'd argue that Ruby on not really about redundancy, and the '-lang' part is redundant.
09:30
<
_bart >
Anyway, I just tried to run `rvm install 1.9.3-p385`, but while installing, I get this error: There was an error while trying to resolve rubygems version for 'latest'. Any ideas?
09:31
<
apeiros_ >
yorickpeterse: so #ruby is for the hot guys? or for the cool girls?
*unsure*
09:31
<
yorickpeterse >
apeiros_: No, for the zeno scum
09:31
<
yorickpeterse >
* xeno
09:32
<
apeiros_ >
cool, I'm zeno scum!
09:32
* apeiros_
achievement unlocked
09:33
<
yorickpeterse >
_bart: it should log the process to a file
09:33
<
_bart >
Ah, I did a reinstall, and it ran fine, weird weird stuff!
09:33
<
yorickpeterse >
Your best bet is to start looking in that file (it should mention the file path)
09:34
schaerli has joined #ruby-lang
09:35
<
postmodern >
_bart, more basic questions in #ruby (how to install etc)
09:36
<
postmodern >
_bart, also ask in #rvm
09:36
<
_bart >
Haha, already got it working guys, now moving on to the cool stuff
09:37
kcassidy has joined #ruby-lang
09:39
datanoise has joined #ruby-lang
09:40
mercwithamouth has quit [Quit: Lost terminal]
09:40
eban has quit [Quit: WeeChat 0.3.8]
09:41
eban has joined #ruby-lang
09:42
jxie has joined #ruby-lang
09:43
bzalasky has quit [Remote host closed the connection]
09:46
<
yorickpeterse >
postmodern: hey that new chruby release has a fix for Tmux, does that mean I can remove my chruby_reset hack from my bashrc?
09:46
<
yorickpeterse >
there one where you'd do `chruby_reset; chruby ....`
09:47
<
postmodern >
yorickpeterse, it should fix it, i don't use tmux personally
09:47
<
postmodern >
yorickpeterse, the fix is in auto.sh, which resets state on initial load
09:48
datanoise has quit [Ping timeout: 264 seconds]
09:48
<
yorickpeterse >
sweet
09:48
<
yorickpeterse >
I have to say that chruby is pretty fucking baller
09:48
<
postmodern >
yorickpeterse, danke :)
09:49
<
postmodern >
yorickpeterse, i have plans on extracting setup.sh into a small util
09:49
<
postmodern >
yorickpeterse, make it the chruby of ruby installers
09:49
<
yorickpeterse >
eh? I think ruby-build mostly solves that issue
09:49
<
postmodern >
now if only the maintainer of ohmyzsh would fix their ruby plugin!
09:49
<
judofyr >
yeah, ruby-build works great for me together with chruby :)
09:50
<
postmodern >
yorickpeterse, mostly, except it doesn't integrate with the system package manager, and you have to update it constantly
09:50
<
yorickpeterse >
Though the way you apply patches in ruby-build is a bit annoying
09:50
<
yorickpeterse >
postmodern: well that's part of the point, most package managers have shit versions of Ruby
09:50
<
postmodern >
also you have to use CONFIG_OPTS which is awkward imho
09:50
<
yorickpeterse >
or patch them (Ubuntu), lag behind (Debian/Ubuntu) or only have the latest one (Arch)
09:51
<
yorickpeterse >
Though Arch has the rollback whatever repo
09:51
<
postmodern >
yorickpeterse, no, i mean ruby-build can't install dependencies for building ruby
09:51
<
yorickpeterse >
aah
09:51
<
postmodern >
yorickpeterse, it expects openssl, zlib, etc are pre-installed
09:51
<
yorickpeterse >
Yeah I can see that being useful
09:51
<
postmodern >
i really just want to do: ruby-install ruby-1.9.3-p123 --configure-options-here ...
09:55
swav has joined #ruby-lang
09:56
soahccc has joined #ruby-lang
10:00
xcombelle has joined #ruby-lang
10:00
<
theoros >
darix: huh, neat, this might explain why i was recently getting microsecond differences with Time.now arithmetic despite using Timecop
10:01
chekcmate has joined #ruby-lang
10:02
gianlucadv has joined #ruby-lang
10:03
skade has joined #ruby-lang
10:03
headius has quit [Quit: headius]
10:04
io_syl has quit [Quit: Computer has gone to sleep.]
10:04
charliesome_ has joined #ruby-lang
10:05
GarethAdams has joined #ruby-lang
10:05
<
chekcmate >
Rails for Zombies yaay!
10:07
headius has joined #ruby-lang
10:08
charliesome has quit [Disconnected by services]
10:08
charliesome_ is now known as charliesome
10:09
<
charliesome >
headius: welcome to melbourne!
10:09
<
headius >
thank you!
10:09
<
charliesome >
how are you liking it so far?
10:10
dzhulk has joined #ruby-lang
10:11
<
headius >
well, I've been working on my workshop most of the day, but what I've seen so far is nice :-)
10:11
robbyoconnor has quit [Ping timeout: 256 seconds]
10:15
<
charliesome >
awesome
10:16
<
charliesome >
if you're heading to the wednesday night 'tba' event, maybe i'll see you there
10:16
beho has quit [Remote host closed the connection]
10:16
Guest19919 has quit [Quit: Lost terminal]
10:17
klebervirgilio has joined #ruby-lang
10:17
<
yorickpeterse >
nerds in the bus
10:17
<
yorickpeterse >
* bush
10:17
<
yorickpeterse >
ffs
10:18
<
yorickpeterse >
wait, that sounds awfully wrong
10:18
idkazuma has joined #ruby-lang
10:21
vlad_starkov has quit [Remote host closed the connection]
10:22
klebervirgilio has quit [Ping timeout: 255 seconds]
10:22
klebervirgilio has joined #ruby-lang
10:22
headius has quit [Quit: headius]
10:24
<
injekt >
nerds in the bush eh
10:24
masterkorp has left #ruby-lang ["WeeChat 0.3.2"]
10:24
<
injekt >
nerds down under
10:24
<
charliesome >
i will have you know that melbourne isn't the bush
10:25
<
judofyr >
oh boy. now I'm suddenly writing my own todo tool :(
10:25
<
charliesome >
judofyr: is it in node.js
10:25
<
judofyr >
charliesome: vim
10:25
flexd has quit [Read error: Operation timed out]
10:25
<
charliesome >
judofyr: but are you using ember.js
10:26
Mon_Ouie has joined #ruby-lang
10:26
flexd has joined #ruby-lang
10:26
<
judofyr >
charliesome: yes, I implemented node.js in vimscript so I can user ember.js to connect to my MongoDB-database through a node.js proxy
10:26
klebervirgilio has quit [Read error: Connection reset by peer]
10:26
<
injekt >
it's turds all the way down
10:26
<
charliesome >
judofyr: sounds like a todo list to me!
10:26
kgrz has joined #ruby-lang
10:26
klebervirgilio has joined #ruby-lang
10:27
<
judofyr >
but seriously: vim plugin + Ruby query
10:27
<
judofyr >
so I can write "> !done && due!(5.days)" and it will give me a nice list
10:27
<
yorickpeterse >
judofyr: why don't you write it in PHP?
10:27
<
yorickpeterse >
PHP is a perfectly capable language
10:27
<
judofyr >
you guys are terrible…
10:27
<
injekt >
id use haskell
10:27
<
judofyr >
NEVERMIND
10:28
<
charliesome >
personally i would use slash
10:28
<
injekt >
psh you would
10:28
<
charliesome >
youve probably never even heard of it
10:28
megha has joined #ruby-lang
10:28
<
injekt >
actually I read over most of the source, charliesome
10:28
<
injekt >
nice work, btw
10:28
<
charliesome >
oh sweet
10:28
<
charliesome >
no glaring issues?
10:29
<
injekt >
I wasn't looking for them, but from what I could see it looked like a neat idea
10:29
<
yorickpeterse >
NUFF SAID
10:29
<
charliesome >
injekt: i bet you can see my ruby bias showing :p
10:29
<
injekt >
charliesome: haha yes
10:29
klebervirgilio has quit [Read error: Connection reset by peer]
10:30
klebervirgilio has joined #ruby-lang
10:30
r4do has joined #ruby-lang
10:30
<
charliesome >
i want to add doc comments/some form of inline documentation but i can't think of a nice way to do it that's easy to modify my parser to look for
10:31
kcassidy has left #ruby-lang [#ruby-lang]
10:32
<
injekt >
yorickpeterse: fuck you i read most of that crap
10:32
<
injekt >
charliesome: heh, I think that's a really hard thing to get right
10:33
<
charliesome >
a block of comments above method/class definitions would be the nicest, but hard given that my lexer/parser operate independently
10:33
<
charliesome >
yorickpeterse: that thread made me angry
10:33
<
injekt >
and they'll be ignored before parsing?
10:33
<
charliesome >
injekt: basically
10:34
<
charliesome >
i wonder if it'd be good to take the opportunity to rewrite the parser with a peg
10:35
<
yorickpeterse >
welcome to the world of the blind
10:35
<
charliesome >
yorickpeterse: let me get this straight - this dan kaminsky guy, is he somewhat influential?
10:36
<
yorickpeterse >
"I have this hammer, it's kinda retarded and doesn't have a stick to hold on to. However, I've been using it for decades and it works fine! You should use it too!"
10:36
<
yorickpeterse >
charliesome: he's some security dude I believe
10:36
<
charliesome >
>security dude
10:36
<
charliesome >
>php fan?
10:36
maxmanders has joined #ruby-lang
10:37
<
injekt >
he seems to just play devils advocate most of the time
10:37
<
andrewvos >
Basically you can pretty much always replace the term "devils advocate" with "cockbag"
10:38
<
injekt >
he seems to just play cockbag most of the time
10:38
<
injekt >
that didn't quite work out
10:38
<
injekt >
it sounds like a college drinking game
10:38
<
andrewvos >
It does
10:38
<
andrewvos >
Not a fun one
10:38
<
yorickpeterse >
You drink cock bags with co-workers?
10:39
<
charliesome >
judofyr: dammit i was about to OH that
10:39
<
judofyr >
charliesome: too fast for yah
10:42
kgrz has quit [Ping timeout: 252 seconds]
10:45
<
chekcmate >
yorickpeterse: that just sounds wrong ._.
10:45
dzhulk has quit [Quit: Leaving.]
10:46
<
yorickpeterse >
well he brought it up
10:46
<
yorickpeterse >
don't shoot the messenger
10:46
klebervirgilio has quit [Read error: Connection timed out]
10:46
<
injekt >
it's andrewvos' fault
10:47
<
chekcmate >
"did you mean cowbag"?
10:47
klebervirgilio has joined #ruby-lang
10:48
<
chekcmate >
you don't mean your testicles when talking about cock bag, right?
10:48
beho has joined #ruby-lang
10:48
<
injekt >
why wouldn't he mean that?
10:49
<
chekcmate >
which would actually be a more acceptable one, since it's actually a back
10:49
<
injekt >
i dont even
10:49
<
chekcmate >
it's knitted
10:49
<
chekcmate >
aren't you a fan
10:49
<
chekcmate >
egg warmer
10:49
<
yorickpeterse >
injekt | he seems to just play cockbag most of the time
10:49
<
yorickpeterse >
injekt | it sounds like a college drinking game
10:49
<
yorickpeterse >
Oh wait, college
10:50
<
yorickpeterse >
I read collegue
10:50
<
chekcmate >
oooohhhh
10:51
<
chekcmate >
vanilla bean hurray!
10:51
klebervirgilio has quit [Ping timeout: 244 seconds]
10:52
klebervirgilio has joined #ruby-lang
11:01
emocakes has joined #ruby-lang
11:03
Mon_Ouie has quit [Ping timeout: 276 seconds]
11:05
<
andrewvos >
haha quoted by two people on twitter <3 <3
11:06
<
yorickpeterse >
You must be some Twitter super star
11:06
<
andrewvos >
judofyr,charliesome
11:06
sduckett_ has quit [Read error: Operation timed out]
11:06
vlad_starkov has joined #ruby-lang
11:06
<
judofyr >
brb, lunch
11:07
sduckett has joined #ruby-lang
11:09
<
injekt >
default method argument values are evaluated within the context of the method, right?
11:09
schaerli has quit [Remote host closed the connection]
11:09
klebervirgilio has quit [Read error: Connection timed out]
11:10
<
yorickpeterse >
yes
11:10
<
yorickpeterse >
e.g.
11:10
cultureulterior_ has joined #ruby-lang
11:10
<
yorickpeterse >
def foo(first, second = first.whatever) # dat shit be cool yo
11:10
<
injekt >
always forget that, feels foreign
11:11
<
andrewvos >
that's quite useful that is
11:11
klebervirgilio has joined #ruby-lang
11:13
klebervirgilio has quit [Read error: Connection reset by peer]
11:13
klebervirgilio has joined #ruby-lang
11:14
kgrz has joined #ruby-lang
11:14
thone_ has joined #ruby-lang
11:17
thone has quit [Ping timeout: 276 seconds]
11:17
klebervirgilio has quit [Read error: Connection reset by peer]
11:17
concernedcitizen has joined #ruby-lang
11:18
klebervirgilio has joined #ruby-lang
11:21
Rizzle has quit [Read error: Connection reset by peer]
11:22
klebervirgilio has quit [Read error: Connection reset by peer]
11:22
gnufied has quit [Quit: Leaving.]
11:22
klebervirgilio has joined #ruby-lang
11:23
gnufied has joined #ruby-lang
11:23
msch has joined #ruby-lang
11:23
toretore has quit [Read error: Connection reset by peer]
11:24
toretore has joined #ruby-lang
11:25
schaerli has joined #ruby-lang
11:26
<
manveru >
even works w
11:26
<
manveru >
even works with kwargs
11:27
<
manveru >
->(a: "hi", b: a.strip){ [a,b] }.(a: "yay ")
11:27
<
manveru >
=> ["yay ", "yay"]
11:28
carloslopes has joined #ruby-lang
11:31
gustavnils has joined #ruby-lang
11:35
carloslopes has quit [Remote host closed the connection]
11:37
concernedcitizen has quit [Remote host closed the connection]
11:38
<
judofyr >
def foo(a, b = (c = 2; 3)); [a, b, c]; end
11:38
klebervirgilio has quit [Read error: Connection timed out]
11:39
robbyoconnor has joined #ruby-lang
11:39
klebervirgilio has joined #ruby-lang
11:40
tbuehlmann has joined #ruby-lang
11:40
<
judofyr >
ef map(head = (res = []), *tail, &blk); res || [yield(head), *map(*tail, &blk)] end
11:42
kgrz has quit [Quit: Computer has gone to sleep.]
11:42
<
judofyr >
def reverse(head = (res = []), *tail); res || [*reverse(*tail), head] end
11:43
solars has quit [Quit: WeeChat 0.3.7]
11:43
<
judofyr >
I like the double-star: *map(*tail)
11:43
solars has joined #ruby-lang
11:45
dc5ala has quit [Quit: Ex-Chat]
11:48
emocakes has quit [Quit: emocakes]
11:51
robbyoconnor has quit [Ping timeout: 260 seconds]
11:57
<
soahccc >
has_many :orders
11:57
jxie has quit [Quit: leaving]
11:58
<
judofyr >
wrong window?
11:58
<
andrewvos >
Coding rails in #ruby-lang is punishable by death
11:59
<
soahccc >
Xchat on mac has some weird shortcuts to switch between tabs instead of selecting text :) This was the last bit of a message in a wrong window
12:00
<
soahccc >
but yeah, who throws the first stone? :)
12:02
yobiflare has quit [Ping timeout: 252 seconds]
12:03
Qfwfq has quit [Ping timeout: 255 seconds]
12:06
lun__ has quit [Remote host closed the connection]
12:06
idkazuma has quit [Remote host closed the connection]
12:07
lun_ has joined #ruby-lang
12:09
gokul has quit [Quit: Leaving]
12:09
<
certainty >
me! quick! someone get me a stone
12:14
Qfwfq has joined #ruby-lang
12:17
postmodern has quit [Quit: Leaving]
12:19
kcassidy has joined #ruby-lang
12:20
Qfwfq has quit [Ping timeout: 255 seconds]
12:21
idkazuma has joined #ruby-lang
12:26
thone has joined #ruby-lang
12:26
Qfwfq has joined #ruby-lang
12:29
thone_ has quit [Ping timeout: 256 seconds]
12:33
Qfwfq has quit [Ping timeout: 255 seconds]
12:34
megha is now known as unix
12:34
Qfwfq has joined #ruby-lang
12:41
mmuehlberger has quit [Quit: mmuehlberger]
12:41
DEac- has quit [Read error: No route to host]
12:41
thone_ has joined #ruby-lang
12:41
DEac- has joined #ruby-lang
12:43
lun_ has quit [Remote host closed the connection]
12:44
krz has quit [Quit: krz]
12:44
thone has quit [Ping timeout: 260 seconds]
12:46
thufir_ has quit [Quit: Leaving.]
12:46
dzhulk has joined #ruby-lang
12:47
sush24 has joined #ruby-lang
12:47
jvrmaia has joined #ruby-lang
12:47
jvrmaia has quit [Remote host closed the connection]
12:47
ddd has joined #ruby-lang
12:48
ryez_ has quit [Quit: Page closed]
12:49
setmeaway has quit [Ping timeout: 252 seconds]
12:49
thone has joined #ruby-lang
12:49
schaerli has quit [Remote host closed the connection]
12:50
dhruvasagar has quit [Ping timeout: 252 seconds]
12:51
thone_ has quit [Ping timeout: 252 seconds]
12:51
Criztian has quit [Remote host closed the connection]
12:53
nkr has joined #ruby-lang
12:55
maxmanders has quit [Quit: Computer has gone to sleep.]
12:55
carloslopes has joined #ruby-lang
12:57
FastJack has quit [Ping timeout: 245 seconds]
12:58
setmeaway has joined #ruby-lang
13:00
kain has joined #ruby-lang
13:01
QaDeS_ has joined #ruby-lang
13:02
QaDeS has quit [Ping timeout: 252 seconds]
13:04
Qfwfq has quit [Ping timeout: 255 seconds]
13:05
imperator has joined #ruby-lang
13:05
Qfwfq has joined #ruby-lang
13:05
FastJack has joined #ruby-lang
13:09
r4do has quit [Ping timeout: 256 seconds]
13:09
thone has quit [Ping timeout: 248 seconds]
13:11
thufir_ has joined #ruby-lang
13:11
Qfwfq has quit [Ping timeout: 255 seconds]
13:13
unix has quit [Ping timeout: 264 seconds]
13:14
jtoy has joined #ruby-lang
13:16
jtoy has quit [Client Quit]
13:16
noop has quit [Quit: Leaving]
13:17
Qfwfq has joined #ruby-lang
13:18
unix has joined #ruby-lang
13:21
imajes has quit [Excess Flood]
13:21
imajes has joined #ruby-lang
13:22
djinni` has quit [Ping timeout: 252 seconds]
13:22
soypirate has joined #ruby-lang
13:25
anjen has joined #ruby-lang
13:26
anjen has quit [Client Quit]
13:26
r4do has joined #ruby-lang
13:28
GarethAdams|Work has joined #ruby-lang
13:28
GarethAdams has quit [Read error: Connection reset by peer]
13:29
djinni` has joined #ruby-lang
13:30
thone has joined #ruby-lang
13:33
chekcmate has quit [Quit: Page closed]
13:34
GarethAdams has joined #ruby-lang
13:37
tjadc has joined #ruby-lang
13:37
Hakon has joined #ruby-lang
13:37
GarethAdams|Work has quit [Ping timeout: 248 seconds]
13:38
__BigO__ has joined #ruby-lang
13:38
Qfwfq has quit [Ping timeout: 255 seconds]
13:39
Qfwfq has joined #ruby-lang
13:41
mmuehlberger has joined #ruby-lang
13:42
dustint_ has joined #ruby-lang
13:42
dustint has joined #ruby-lang
13:44
__BigO___ has joined #ruby-lang
13:44
__BigO__ has quit [Ping timeout: 255 seconds]
13:45
mistym has joined #ruby-lang
13:45
mistym has joined #ruby-lang
13:48
dustint_ has quit [Quit: Leaving]
13:49
thone has quit [Ping timeout: 255 seconds]
13:50
cored has quit [Quit: leaving]
13:50
thone has joined #ruby-lang
13:50
MartynKeigher has quit [Excess Flood]
13:52
beiter has joined #ruby-lang
13:52
cored has joined #ruby-lang
13:52
cored has quit [Changing host]
13:52
cored has joined #ruby-lang
13:53
carloslopes has quit [Remote host closed the connection]
13:54
MartynKeigher has joined #ruby-lang
13:54
__BigO___ has quit [Remote host closed the connection]
13:56
mistym has quit [Remote host closed the connection]
13:56
carloslopes has joined #ruby-lang
13:58
jtoy_ has joined #ruby-lang
14:00
schaerli has joined #ruby-lang
14:02
jxie has joined #ruby-lang
14:03
rsl has joined #ruby-lang
14:03
banister`sleep has joined #ruby-lang
14:04
KA_ has joined #ruby-lang
14:05
mmuehlberger has quit [Ping timeout: 245 seconds]
14:06
datanoise has joined #ruby-lang
14:06
kiwnix has joined #ruby-lang
14:07
kgrz has joined #ruby-lang
14:10
scampbell has joined #ruby-lang
14:10
imajes has quit [Excess Flood]
14:10
imajes has joined #ruby-lang
14:11
fsvehla has joined #ruby-lang
14:12
Qfwfq has quit [Ping timeout: 255 seconds]
14:12
Criztian has joined #ruby-lang
14:13
Qfwfq has joined #ruby-lang
14:14
jxie has quit [Quit: leaving]
14:17
mmuehlberger has joined #ruby-lang
14:18
mistym has joined #ruby-lang
14:18
mistym has quit [Changing host]
14:18
mistym has joined #ruby-lang
14:24
imperator has quit [Quit: This computer has gone to sleep]
14:24
vlad_starkov has quit [Remote host closed the connection]
14:31
outoftime has joined #ruby-lang
14:32
schaerli has quit [Remote host closed the connection]
14:33
banister`sleep has quit [Remote host closed the connection]
14:33
KA_ has quit [Quit: KA_]
14:34
wallerdev has joined #ruby-lang
14:42
jonahR has joined #ruby-lang
14:44
b1rkh0ff has quit [Read error: Connection reset by peer]
14:45
anonymuse has joined #ruby-lang
14:45
b1rkh0ff has joined #ruby-lang
14:46
chekcmate has joined #ruby-lang
14:47
Qfwfq has quit [Ping timeout: 255 seconds]
14:47
melter has quit [Remote host closed the connection]
14:49
kgrz has quit [Ping timeout: 240 seconds]
14:50
melter has joined #ruby-lang
14:50
kgrz has joined #ruby-lang
14:50
stevechiagozie has joined #ruby-lang
14:50
stevechiagozie has quit [Client Quit]
14:51
gnufied has quit [Quit: Leaving.]
14:58
Qfwfq has joined #ruby-lang
14:58
Hakon has quit [Quit: Leaving...]
14:58
mistym has quit [Remote host closed the connection]
14:59
bantic has joined #ruby-lang
15:00
__BigO__ has joined #ruby-lang
15:01
schaerli has joined #ruby-lang
15:03
setmeaway has quit [Read error: Connection reset by peer]
15:04
chekcmate has quit [Quit: Page closed]
15:04
Qfwfq has quit [Ping timeout: 255 seconds]
15:04
stonerfish has quit [Ping timeout: 276 seconds]
15:04
setmeaway has joined #ruby-lang
15:05
beho has quit [Remote host closed the connection]
15:09
slyphon has joined #ruby-lang
15:10
slyphon_ has joined #ruby-lang
15:11
mistym has joined #ruby-lang
15:11
mistym has quit [Changing host]
15:11
mistym has joined #ruby-lang
15:12
bantic_ has joined #ruby-lang
15:12
davidbalber|away is now known as davidbalbert
15:12
kentos has joined #ruby-lang
15:13
bantic has quit [Read error: Connection reset by peer]
15:13
bantic_ is now known as bantic
15:14
slyphon has quit [Ping timeout: 255 seconds]
15:14
slyphon_ is now known as slyphon
15:17
nick_h has quit [Read error: Operation timed out]
15:17
gnufied has joined #ruby-lang
15:17
nick_h has joined #ruby-lang
15:21
lun_ has joined #ruby-lang
15:22
jgreenleaf has joined #ruby-lang
15:23
banister`sleep has joined #ruby-lang
15:24
jgreenleaf has quit [Client Quit]
15:26
_protagoras271_ has joined #ruby-lang
15:27
rippa has joined #ruby-lang
15:27
KA_ has joined #ruby-lang
15:27
dr_bob has quit [Quit: Leaving.]
15:28
r4do has left #ruby-lang [#ruby-lang]
15:28
MaddinXx has joined #ruby-lang
15:30
<
jtoy_ >
what is the recommended way to share private libraries in a company, I would like to use something like gems
15:30
dr_bob has joined #ruby-lang
15:32
mephux has quit [Excess Flood]
15:32
rippa has quit [Ping timeout: 240 seconds]
15:33
<
jtoy_ >
benwoody: that is sweet
15:33
imperator has joined #ruby-lang
15:34
anachronistic has joined #ruby-lang
15:34
beho has joined #ruby-lang
15:34
mephux has joined #ruby-lang
15:34
bantic has quit [Ping timeout: 248 seconds]
15:35
Qfwfq has joined #ruby-lang
15:35
tonni has quit [Remote host closed the connection]
15:35
nXqd has quit [Remote host closed the connection]
15:36
enebo has joined #ruby-lang
15:36
<
jtoy_ >
surprised it doesn't offer any very simple auth
15:38
<
benwoody >
they suggest basic auth with Rack::Auth
15:39
<
benwoody >
but yeah, it would be nice if we could segment what we have with built in auth
15:43
jxie has joined #ruby-lang
15:44
imajes has quit [Excess Flood]
15:44
thufir_ has quit [Quit: Leaving.]
15:44
imajes has joined #ruby-lang
15:44
maxmanders has joined #ruby-lang
15:45
rippa has joined #ruby-lang
15:45
kurko__ has joined #ruby-lang
15:47
savagecroc has joined #ruby-lang
15:47
<
savagecroc >
any idea how to get a string and strip all but 1 space out of it
15:48
skade has quit [Quit: Computer has gone to sleep.]
15:49
carloslopes has quit [Remote host closed the connection]
15:50
<
injekt >
savagecroc: you'll need to be a little more detailed..
15:50
io_syl has joined #ruby-lang
15:50
<
savagecroc >
"- - - - - - - - -" becomes "- - - - - - - - - - - -"
15:50
imajes has quit [Excess Flood]
15:50
<
savagecroc >
oh i've worked it out
15:51
rins has joined #ruby-lang
15:51
bantic has joined #ruby-lang
15:51
imajes has joined #ruby-lang
15:51
<
injekt >
.squeeze ' '
15:52
io_syl has quit [Client Quit]
15:52
<
savagecroc >
' - - - - -- - -'.gsub(/\s{2,}/, ' ')
15:52
<
savagecroc >
oh that works too :)
15:52
jmeeuwen has quit [Remote host closed the connection]
15:52
jmeeuwen has joined #ruby-lang
15:52
<
injekt >
you could also do .gsub(/\s+/, ' ')
15:53
<
savagecroc >
oh yeah of course
15:53
<
injekt >
but squeeze is nice :)
15:53
<
savagecroc >
ah actually
15:53
<
savagecroc >
yeah sorry the real example is actually "--bla-this --and-bla-that --and-something=wahtever"
15:54
<
savagecroc >
so the gsub is the one
15:54
<
judofyr >
savagecroc: .squeeze works fine here
15:54
<
judofyr >
on that str
15:54
Qfwfq has quit [Ping timeout: 255 seconds]
15:54
wmoxam has joined #ruby-lang
15:55
<
injekt >
judofyr: maybe he meant that newline literally
15:56
<
injekt >
if so squeeze would leave it there, gsub would replace it
15:56
<
savagecroc >
ah yeah sorry.. yeah.. poor examples
15:56
<
savagecroc >
but yeah squeeze works for the flat one
15:56
<
injekt >
lol flat one
15:56
<
judofyr >
gsub it is then :)
15:56
<
injekt >
guys make sure your strings are flat
15:57
rippa has quit [Ping timeout: 240 seconds]
15:57
<
savagecroc >
that's the example
15:58
<
injekt >
much better example
15:58
<
savagecroc >
and it works too
15:58
<
injekt >
should have lead with that ;)
15:58
<
savagecroc >
yeah sorry :)
15:58
<
savagecroc >
i was in the middle of writing it
15:58
<
savagecroc >
i like having very descriptive commands in this server setup tool i've been writing
15:58
<
savagecroc >
also means i should be able to start sticking in comments after things
15:59
<
judofyr >
savagecroc: even better: *CMD.split(/\s+/) and don't invoke the shell :)
16:00
<
savagecroc >
judofyr: i'm confused :/ what do you mean don't invoke the shell?
16:00
<
andrewvos >
Or use `system "command", "arg", "arg"`
16:00
<
judofyr >
savagecroc: sorry, I mean: call the command with an Array instead of a String (that way you don't have the shell splitting stuff on spaces)
16:01
<
judofyr >
like andrewvos shows
16:01
<
injekt >
yeah I much prefer that
16:01
<
savagecroc >
oh .. hmm
16:01
<
injekt >
you could also not even split it and just do %w( ... )
16:01
<
savagecroc >
i'd have to rewrite my run command
16:01
<
savagecroc >
it only takes a string at the moment
16:01
<
injekt >
you send it to system() ?
16:01
<
judofyr >
injekt: ooh. now that's a nice idea
16:01
<
injekt >
then you can just send an array
16:02
<
savagecroc >
nah.. i'm using open4
16:02
<
injekt >
judofyr: i get them sometimes!
16:02
<
savagecroc >
this mainly gets tunneled out to remote servers
16:02
<
judofyr >
inkjet: quite impressive
16:02
<
injekt >
in fact, even if you were forced to use a string
16:03
<
injekt >
I'd still use %w()
16:03
methods has joined #ruby-lang
16:03
methods has left #ruby-lang [#ruby-lang]
16:03
<
judofyr >
yeah %w() * ' '
16:03
<
injekt >
psh getting all fancy with * over join
16:03
<
injekt >
judoftry: quite impressive
16:04
<
savagecroc >
so i'm guessing %w() splits on \n
16:04
<
injekt >
judoftry bahaha
16:04
<
injekt >
savagecroc: splits on whitespace
16:04
<
savagecroc >
ah right
16:04
<
injekt >
%w(foo bar) #=> ['foo', 'bar']
16:04
<
savagecroc >
ah how's that different from %w{foo bar}
16:04
<
injekt >
%w(foo\nbar) #=> ['foo', 'bar']
16:04
<
judofyr >
%w*foo bar**%* *
16:04
<
savagecroc >
or it's not?
16:04
<
injekt >
savagecroc: it's not
16:05
<
injekt >
the ( or { or *sigh*, judofyr * are just delimiters
16:05
<
judofyr >
savagecroc: Bring Your Own Delimiters
16:05
<
savagecroc >
ahh is it %w!WHATEVER!bla bla!WHATEVER!
16:05
JohnBat26 has quit [Ping timeout: 245 seconds]
16:05
<
savagecroc >
yeah i get it
16:05
<
injekt >
that wouldn't be valid
16:05
<
injekt >
right that was an example
16:05
<
injekt >
go to bed injekt
16:05
<
savagecroc >
i love heredoc so much
16:05
<
savagecroc >
it makes so much stuff readable
16:05
<
injekt >
i hate heredocs
16:06
blacktulip has joined #ruby-lang
16:06
<
savagecroc >
ok challange
16:06
<
injekt >
i dont really, im just being a cockbag
16:06
tdy_ has joined #ruby-lang
16:07
<
injekt >
mother of god, i would put it inside a damn file
16:07
tdy has quit [Read error: Connection reset by peer]
16:07
schaerli has quit [Remote host closed the connection]
16:07
<
savagecroc >
it's so short thought, didn't seem worth it
16:07
<
savagecroc >
though* a massive one
16:07
x0F has quit [Disconnected by services]
16:07
x0F_ has joined #ruby-lang
16:07
<
savagecroc >
i was doing string replacement
16:08
<
savagecroc >
for a config file
16:08
x0F_ is now known as x0F
16:08
<
injekt >
I would use a template if it were me
16:08
dr_bob has quit [Quit: Leaving.]
16:09
<
injekt >
erb or something quick and easy, then you can add a method which returns that text with variables bound to it
16:09
spuk has joined #ruby-lang
16:10
<
savagecroc >
ok.. fair point
16:10
Qfwfq has joined #ruby-lang
16:11
<
savagecroc >
what about for little little bits like this
16:11
<
savagecroc >
bare in mind.. it looks much better in sublime
16:11
<
savagecroc >
because it can actually syntax highlight ruby properly
16:12
snk has quit [Quit: rebuuuuuuut.]
16:12
wmoxam has quit [Quit: leaving]
16:12
krohrbaugh has quit [Quit: Leaving.]
16:12
JohnBat26 has joined #ruby-lang
16:14
snk has joined #ruby-lang
16:14
srbaker has joined #ruby-lang
16:15
<
andrewvos >
`mvn clean install` <- SO MUCH FUN
16:15
wmoxam has joined #ruby-lang
16:16
wmoxam has quit [Client Quit]
16:16
tylersmith has joined #ruby-lang
16:16
wmoxam has joined #ruby-lang
16:16
wmoxam has quit [Client Quit]
16:16
banister`sleep has quit [Remote host closed the connection]
16:19
tonni has joined #ruby-lang
16:19
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
16:19
dr_bob has joined #ruby-lang
16:21
kith_ has joined #ruby-lang
16:21
Qfwfq has quit [Ping timeout: 255 seconds]
16:21
carloslopes has joined #ruby-lang
16:21
kith has quit [Disconnected by services]
16:21
kith_ is now known as kith
16:22
wmoxam has joined #ruby-lang
16:22
JohnBat26 has quit [Read error: Operation timed out]
16:23
wmoxam has quit [Client Quit]
16:23
wmoxam has joined #ruby-lang
16:23
wmoxam has quit [Client Quit]
16:24
wmoxam has joined #ruby-lang
16:24
davidbalbert is now known as davidbalber|away
16:25
lun_ has quit [Remote host closed the connection]
16:26
JohnBat26 has joined #ruby-lang
16:26
rippa has joined #ruby-lang
16:27
melter has quit [Ping timeout: 245 seconds]
16:28
lun_ has joined #ruby-lang
16:28
carloslopes has quit [Ping timeout: 260 seconds]
16:29
wmoxam has quit [Client Quit]
16:29
wmoxam has joined #ruby-lang
16:29
dr_bob has quit [Quit: Leaving.]
16:30
wmoxam has quit [Client Quit]
16:30
KA_ has quit [Quit: KA_]
16:30
judofyr has quit [Remote host closed the connection]
16:31
wmoxam has joined #ruby-lang
16:31
wmoxam has quit [Client Quit]
16:32
mistym is now known as mistym_meeting
16:32
wmoxam has joined #ruby-lang
16:32
KA_ has joined #ruby-lang
16:32
imperator has quit [Quit: This computer has gone to sleep]
16:32
davidbalber|away is now known as davidbalbert
16:33
wizonesolutions has quit [Read error: Operation timed out]
16:33
melter has joined #ruby-lang
16:33
mistym_meeting is now known as mistym
16:34
anachronistic has quit [Quit: anachronistic]
16:34
wmoxam has quit [Client Quit]
16:36
richardjortega has joined #ruby-lang
16:36
wmoxam has joined #ruby-lang
16:37
KA_ has quit [Client Quit]
16:38
wizonesolutions has joined #ruby-lang
16:38
mistym is now known as mbklein
16:38
mbklein is now known as mistym
16:39
KA_ has joined #ruby-lang
16:39
__butch__ has joined #ruby-lang
16:40
Stilo has joined #ruby-lang
16:41
savagecroc has quit [Remote host closed the connection]
16:42
Qfwfq_ has joined #ruby-lang
16:43
kgrz has quit [Quit: Computer has gone to sleep.]
16:44
yianna has joined #ruby-lang
16:45
kevinfagan has joined #ruby-lang
16:46
mercwithamouth has joined #ruby-lang
16:46
fsvehla has quit [Quit: fsvehla]
16:47
wyhaines has joined #ruby-lang
16:47
maxmanders has quit [Ping timeout: 252 seconds]
16:49
tdy_ has quit [Ping timeout: 245 seconds]
16:49
maxmanders has joined #ruby-lang
16:50
Criztian has quit [Remote host closed the connection]
16:51
Qfwfq_ has quit [Ping timeout: 255 seconds]
16:52
lun__ has joined #ruby-lang
16:52
lun_ has quit [Read error: Connection reset by peer]
16:52
<
injekt >
mvn itself kinda of contradicts your statement
16:57
Qfwfq has joined #ruby-lang
16:58
alvaro_o has joined #ruby-lang
17:00
rins has quit [Quit: leaving]
17:00
sush24 has quit [Quit: This computer has gone to sleep]
17:01
geopet has joined #ruby-lang
17:01
Nisstyre-laptop has joined #ruby-lang
17:03
Qfwfq has quit [Ping timeout: 255 seconds]
17:04
cored has quit [Ping timeout: 248 seconds]
17:04
apeiros_ has quit [Remote host closed the connection]
17:05
tdy_ has joined #ruby-lang
17:05
imajes has quit [Excess Flood]
17:05
tdy_ has quit [Client Quit]
17:05
Nisstyre-laptop has quit [Read error: Connection reset by peer]
17:06
tdy has joined #ruby-lang
17:06
Nisstyre-laptop has joined #ruby-lang
17:07
imajes has joined #ruby-lang
17:08
mistym has quit [Remote host closed the connection]
17:09
gnufied has quit [Quit: Leaving.]
17:10
yianna has quit [Read error: Connection reset by peer]
17:10
cored has joined #ruby-lang
17:10
cored has quit [Changing host]
17:10
cored has joined #ruby-lang
17:10
yianna has joined #ruby-lang
17:11
nkr has joined #ruby-lang
17:12
zhul_mechanos has joined #ruby-lang
17:14
GarethAdams has quit [Quit: Leaving...]
17:14
workmad3 has quit [Ping timeout: 240 seconds]
17:15
glebm has joined #ruby-lang
17:15
spuk has joined #ruby-lang
17:17
_bart has quit [Ping timeout: 245 seconds]
17:17
mistym has joined #ruby-lang
17:17
mistym has quit [Changing host]
17:17
mistym has joined #ruby-lang
17:18
mmuehlberger has quit [Quit: mmuehlberger]
17:19
Qfwfq has joined #ruby-lang
17:19
sn0wb1rd has quit [Quit: sn0wb1rd]
17:20
retro|cz has quit [Ping timeout: 276 seconds]
17:21
Mon_Ouie has joined #ruby-lang
17:22
Qfwfq has quit [Disconnected by services]
17:23
dblack_ has joined #ruby-lang
17:23
carloslopes has joined #ruby-lang
17:24
imperator has joined #ruby-lang
17:25
kcassidy has left #ruby-lang [#ruby-lang]
17:29
tonni has quit [Remote host closed the connection]
17:30
srbaker has quit [Quit: Computer has gone to sleep.]
17:33
retro|cz has joined #ruby-lang
17:34
Ridders24 has joined #ruby-lang
17:34
apeiros_ has joined #ruby-lang
17:35
vmoravec has quit [Quit: Leaving]
17:36
gregmoreno has joined #ruby-lang
17:36
alvaro_o_ has joined #ruby-lang
17:36
maxmanders has quit [Ping timeout: 256 seconds]
17:37
io_syl has joined #ruby-lang
17:37
JohnBat26 has joined #ruby-lang
17:37
JohnBat26 has quit [Client Quit]
17:39
io_syl has quit [Read error: Connection reset by peer]
17:39
io_syl_ has joined #ruby-lang
17:39
tbuehlmann has quit [Remote host closed the connection]
17:39
io_syl_ is now known as io_syl
17:39
brianpWins has joined #ruby-lang
17:40
alvaro_o has quit [Ping timeout: 248 seconds]
17:40
mmuehlberger has joined #ruby-lang
17:41
maxmanders has joined #ruby-lang
17:42
idkazuma has quit [Remote host closed the connection]
17:42
Xzyx987X has quit [Ping timeout: 244 seconds]
17:43
solars has quit [Read error: Operation timed out]
17:44
srbaker has joined #ruby-lang
17:45
dzhulk has quit [Quit: Leaving.]
17:45
fsvehla has joined #ruby-lang
17:46
schaerli has joined #ruby-lang
17:46
Qfwfq has joined #ruby-lang
17:49
srbaker has quit [Ping timeout: 240 seconds]
17:49
schaerli has quit [Remote host closed the connection]
17:50
mrsolo has joined #ruby-lang
17:57
ryanf has quit [Quit: leaving]
17:57
__BigO__ has quit [Remote host closed the connection]
17:58
__BigO__ has joined #ruby-lang
18:01
mercwithamouth has quit [Quit: Lost terminal]
18:01
mercwithamouth has joined #ruby-lang
18:01
mercwithamouth has quit [Client Quit]
18:01
pkrnj has joined #ruby-lang
18:01
mercwithamouth has joined #ruby-lang
18:02
yianna has quit [Remote host closed the connection]
18:02
imajes has quit [Excess Flood]
18:05
imajes has joined #ruby-lang
18:07
face has quit [Ping timeout: 240 seconds]
18:07
Nisstyre-laptop has quit [Ping timeout: 252 seconds]
18:08
Xzyx987X has joined #ruby-lang
18:08
Qfwfq has quit [Ping timeout: 255 seconds]
18:09
Qfwfq has joined #ruby-lang
18:09
havenwood has joined #ruby-lang
18:10
amerine has joined #ruby-lang
18:10
yianna has joined #ruby-lang
18:10
jtoy_ has quit [Quit: jtoy_]
18:12
davidbalbert is now known as davidbalber|away
18:12
skade has joined #ruby-lang
18:14
sn0wb1rd has joined #ruby-lang
18:15
Qfwfq has quit [Ping timeout: 255 seconds]
18:15
lun__ has quit [Remote host closed the connection]
18:21
Qfwfq has joined #ruby-lang
18:21
cultureulterior_ has quit [Quit: cultureulterior_]
18:23
Nisstyre-laptop has joined #ruby-lang
18:24
lun_ has joined #ruby-lang
18:24
Nisstyre-laptop has quit [Read error: Connection reset by peer]
18:25
dankest has joined #ruby-lang
18:29
yianna has quit [Remote host closed the connection]
18:29
kevinfagan has quit [Quit: Leaving...]
18:34
justinram has joined #ruby-lang
18:34
lun_ has quit [Remote host closed the connection]
18:35
yianna has joined #ruby-lang
18:36
wmoxam has quit [Ping timeout: 256 seconds]
18:36
glebm has quit [Quit: Computer has gone to sleep.]
18:37
brain_shim has quit [Ping timeout: 248 seconds]
18:38
JohnBat26 has joined #ruby-lang
18:38
jaimef has quit [Ping timeout: 248 seconds]
18:38
slyphon has quit [Quit: slyphon]
18:39
yellow5 has quit [Ping timeout: 264 seconds]
18:40
slyphon has joined #ruby-lang
18:40
wudofyr_ has quit [Ping timeout: 276 seconds]
18:41
yellow5 has joined #ruby-lang
18:41
wmoxam has joined #ruby-lang
18:41
wmoxam has quit [Client Quit]
18:44
jtoy has joined #ruby-lang
18:45
jaimef has joined #ruby-lang
18:45
Stilo has joined #ruby-lang
18:46
wmoxam has joined #ruby-lang
18:46
nazty has joined #ruby-lang
18:51
Qfwfq has quit [Ping timeout: 255 seconds]
18:51
brain_shim has joined #ruby-lang
18:51
Qfwfq has joined #ruby-lang
18:52
wudofyr_ has joined #ruby-lang
18:53
havenwood has quit [Remote host closed the connection]
18:54
Rarrikins_n has joined #ruby-lang
18:55
marr has quit [Ping timeout: 240 seconds]
18:55
havenwood has joined #ruby-lang
18:56
Rarrikins has quit [Ping timeout: 255 seconds]
18:58
glebm has joined #ruby-lang
18:58
xcombelle has quit [Read error: Connection reset by peer]
19:00
cored has quit [Ping timeout: 264 seconds]
19:02
cored has joined #ruby-lang
19:02
cored has quit [Changing host]
19:02
cored has joined #ruby-lang
19:02
ryez has quit [Ping timeout: 245 seconds]
19:03
KA_ has quit [Quit: KA_]
19:03
davidbalber|away is now known as davidbalbert
19:04
Sinestro has joined #ruby-lang
19:05
Sinestro has quit [Remote host closed the connection]
19:05
mmuehlberger has quit [Read error: Connection reset by peer]
19:05
KA_ has joined #ruby-lang
19:05
mmuehlberger has joined #ruby-lang
19:09
Mon_Ouie has quit [Ping timeout: 248 seconds]
19:09
Mon_Ouie has joined #ruby-lang
19:10
mistym is now known as mistym_lunch
19:10
pr0ton has joined #ruby-lang
19:11
JohnBat26 has quit [Ping timeout: 260 seconds]
19:11
imajes has quit [Excess Flood]
19:11
imajes has joined #ruby-lang
19:12
JohnBat26 has joined #ruby-lang
19:14
codekoala has quit [Ping timeout: 256 seconds]
19:17
JohnBat26 has quit [Read error: Connection reset by peer]
19:17
JohnBat26 has joined #ruby-lang
19:18
benanne has joined #ruby-lang
19:18
yianna has quit [Remote host closed the connection]
19:20
sepp2k has quit [Ping timeout: 256 seconds]
19:21
dzhulk has joined #ruby-lang
19:21
sepp2k has joined #ruby-lang
19:22
tylersmith has quit [Quit: tylersmith]
19:23
yianna has joined #ruby-lang
19:23
__butch__ has quit [Quit: Leaving.]
19:25
rubarlion has joined #ruby-lang
19:25
Qfwfq has quit [Ping timeout: 255 seconds]
19:26
Qfwfq has joined #ruby-lang
19:26
<
rubarlion >
Does anyone know what the 'boards' in electrical appliances such as microwaves
19:26
<
rubarlion >
|| coffee makers are called?
19:27
codekoala has joined #ruby-lang
19:28
beho has quit [Ping timeout: 245 seconds]
19:28
srbaker has joined #ruby-lang
19:29
pr0ton has quit [Quit: pr0ton]
19:30
<
badeball >
rubarlion: pcb?
19:30
beiter has quit [Quit: beiter]
19:31
JohnBat26 has quit [Ping timeout: 248 seconds]
19:31
pr0ton has joined #ruby-lang
19:31
dzhulk has quit [Quit: Leaving.]
19:31
pr0ton has quit [Client Quit]
19:31
<
rubarlion >
badeball: ah, yeah ty
19:34
aedorn has joined #ruby-lang
19:34
KA_ has quit [Quit: KA_]
19:36
rubarlion has quit [Read error: Connection reset by peer]
19:37
rubarlion has joined #ruby-lang
19:39
rubarlion has quit [Read error: Connection reset by peer]
19:39
bluepojo has joined #ruby-lang
19:41
rubarlion has joined #ruby-lang
19:41
ficco has joined #ruby-lang
19:41
havenn has joined #ruby-lang
19:41
lun_ has joined #ruby-lang
19:43
yianna has quit [Remote host closed the connection]
19:43
imajes has quit [Excess Flood]
19:44
imajes has joined #ruby-lang
19:45
JohnBat26 has joined #ruby-lang
19:46
seydar has joined #ruby-lang
19:47
pr0ton has joined #ruby-lang
19:48
rubarlion has quit [Read error: Connection reset by peer]
19:49
Hakon has joined #ruby-lang
19:50
srbaker has quit [Quit: Computer has gone to sleep.]
19:50
rubarlion has joined #ruby-lang
19:52
davidbalbert is now known as davidbalber|away
19:53
ottbot has quit [Ping timeout: 252 seconds]
19:56
skade has quit [Ping timeout: 240 seconds]
19:57
havenn has quit [Remote host closed the connection]
19:57
srbaker has joined #ruby-lang
19:57
pr0ton has quit [Ping timeout: 248 seconds]
19:58
dankest has quit [Quit: Leaving...]
19:58
beho has joined #ruby-lang
19:58
marr has joined #ruby-lang
19:58
skade has joined #ruby-lang
19:58
bluepojo has quit [Read error: Connection reset by peer]
19:59
bluepojo has joined #ruby-lang
20:00
bluepojo_ has joined #ruby-lang
20:00
bluepojo has quit [Read error: Connection reset by peer]
20:01
bluepojo_ has quit [Remote host closed the connection]
20:01
Qfwfq has quit [Ping timeout: 255 seconds]
20:01
bluepojo has joined #ruby-lang
20:02
Rarrikins_n has quit [Ping timeout: 256 seconds]
20:03
dzhulk has joined #ruby-lang
20:04
__butch__ has joined #ruby-lang
20:04
srbaker has quit [Quit: Computer has gone to sleep.]
20:05
bluepojo_ has joined #ruby-lang
20:05
<
andrewvos >
injekt: You don't like doing EVERYTHING in XML? What is wrong with you, bro?
20:05
bluepojo has quit [Read error: Connection reset by peer]
20:07
Qfwfq has joined #ruby-lang
20:07
mistym_lunch is now known as mistym
20:07
Rarrikins has joined #ruby-lang
20:10
<
injekt >
andrewvos: yeah I know, im a weird kinda guy
20:10
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
20:11
splitDiff has joined #ruby-lang
20:11
jastix has joined #ruby-lang
20:11
davidbalber|away is now known as davidbalbert
20:12
bluepojo_ has quit [Ping timeout: 248 seconds]
20:13
tonni has joined #ruby-lang
20:14
skade has quit [Ping timeout: 276 seconds]
20:14
imajes has quit [Excess Flood]
20:15
imajes has joined #ruby-lang
20:15
skade has joined #ruby-lang
20:17
wmoxam has quit [Ping timeout: 248 seconds]
20:20
rubarlion has quit [Read error: Connection reset by peer]
20:21
rubarlion has joined #ruby-lang
20:22
rubarlion has quit [Read error: Connection reset by peer]
20:23
dyfrgi has left #ruby-lang [#ruby-lang]
20:23
RickHull has joined #ruby-lang
20:24
rubarlion has joined #ruby-lang
20:24
<
RickHull >
i've got a mini lib that does some command line prompting, reading and writing $stdin, $stdout
20:24
wmoxam has joined #ruby-lang
20:24
splitDiff has quit []
20:24
<
RickHull >
for unit testing, can i test whether $stdout had some lines written to it?
20:25
gekken has joined #ruby-lang
20:25
<
RickHull >
the one method i'm concerned with allows passing in IOs other than $stdin/out, so i could take that approach
20:26
seydar has quit [Quit: leaving]
20:27
<
heftig >
RickHull: pass a StringIO
20:27
gekken has quit [Client Quit]
20:27
rubarlion has quit [Client Quit]
20:28
<
RickHull >
makes sense, thx
20:29
rippa has quit [Ping timeout: 240 seconds]
20:29
<
RickHull >
i'm still curious if you can test $stdout tho...
20:29
<
badeball >
RickHull: my take would be to create an application entry point of sorts where you specify what streams to use for input and output. don't use stdin or stdout directly.
20:29
<
badeball >
doing that, you could test it by giving it something other than stdout.
20:30
<
heftig >
RickHull: mock $stdout by replacing it with a StringIO
20:30
<
RickHull >
badeball: yeah that's built in already
20:30
<
heftig >
it's a variable, afterall
20:30
<
RickHull >
heftig: yep, understood :)
20:30
carloslopes has quit [Remote host closed the connection]
20:30
<
RickHull >
nonetheless i remain curious :p
20:32
Okosuta has joined #ruby-lang
20:34
Qfwfq has quit [Ping timeout: 255 seconds]
20:34
adambeynon has joined #ruby-lang
20:35
Qfwfq has joined #ruby-lang
20:39
yobiflare has joined #ruby-lang
20:39
pr0ton has joined #ruby-lang
20:42
workmad3 has joined #ruby-lang
20:45
Mon_Ouie has quit [Remote host closed the connection]
20:45
wmoxam has quit [Ping timeout: 252 seconds]
20:46
Rarrikins_s has joined #ruby-lang
20:46
Mon_Ouie has joined #ruby-lang
20:48
wmoxam has joined #ruby-lang
20:48
Rarrikins_y has joined #ruby-lang
20:48
codekoala has quit [Quit: WeeChat 0.4.0]
20:49
codekoala has joined #ruby-lang
20:49
Rarrikins has quit [Ping timeout: 252 seconds]
20:51
workmad3 has quit [Ping timeout: 240 seconds]
20:51
Rarrikins_s has quit [Ping timeout: 276 seconds]
20:52
skade has quit [Ping timeout: 240 seconds]
20:56
__BigO__ has quit [Remote host closed the connection]
20:57
__BigO__ has joined #ruby-lang
20:59
spuk has joined #ruby-lang
21:01
anonymuse has quit [Quit: Leaving...]
21:04
agarie has joined #ruby-lang
21:04
Stilo has joined #ruby-lang
21:05
tbuehlmann has joined #ruby-lang
21:06
anonymuse has joined #ruby-lang
21:07
intellitech has quit [Read error: Operation timed out]
21:10
Myk267 has joined #ruby-lang
21:11
Qfwfq has quit [Ping timeout: 255 seconds]
21:12
Qfwfq has joined #ruby-lang
21:14
jastix has quit [Remote host closed the connection]
21:16
swav has quit [Read error: Connection reset by peer]
21:17
swav has joined #ruby-lang
21:18
wmoxam has quit [Quit: leaving]
21:18
nerd has joined #ruby-lang
21:19
unix has quit [Ping timeout: 244 seconds]
21:19
wmoxam has joined #ruby-lang
21:19
davidbalbert is now known as davidbalber|away
21:20
davidbalber|away is now known as davidbalbert
21:22
lun_ has quit [Remote host closed the connection]
21:22
dblack_ has quit [Quit: dblack_]
21:25
lun_ has joined #ruby-lang
21:25
sailias has quit [Quit: Leaving.]
21:27
sailias has joined #ruby-lang
21:28
intellitech has joined #ruby-lang
21:30
kurko__ has quit [Quit: Computer has gone to sleep.]
21:30
MaddinXx has quit [Remote host closed the connection]
21:31
beiter has joined #ruby-lang
21:31
tonni has quit [Remote host closed the connection]
21:33
__BigO__ has quit [Remote host closed the connection]
21:33
kurko__ has joined #ruby-lang
21:33
kurko__ has quit [Max SendQ exceeded]
21:34
kurko__ has joined #ruby-lang
21:34
kurko__ has quit [Max SendQ exceeded]
21:34
kurko__ has joined #ruby-lang
21:35
kurko__ has quit [Max SendQ exceeded]
21:36
carloslopes has joined #ruby-lang
21:37
yobiflare has quit [Ping timeout: 255 seconds]
21:37
lun_ has quit [Remote host closed the connection]
21:37
__BigO__ has joined #ruby-lang
21:38
skade has joined #ruby-lang
21:40
adambeynon has joined #ruby-lang
21:42
Ridders24 has quit [Ping timeout: 248 seconds]
21:44
febuiles has joined #ruby-lang
21:44
febuiles has quit [Changing host]
21:44
febuiles has joined #ruby-lang
21:45
rebelcan has joined #ruby-lang
21:47
Qfwfq has quit [Ping timeout: 255 seconds]
21:48
lun_ has joined #ruby-lang
21:48
Qfwfq has joined #ruby-lang
21:49
lun_ has quit [Read error: Connection reset by peer]
21:50
workmad3 has joined #ruby-lang
21:51
KA_ has joined #ruby-lang
21:52
ottbot has joined #ruby-lang
21:53
lun_ has joined #ruby-lang
21:53
chendo__ has joined #ruby-lang
21:54
Rarrikins_y has left #ruby-lang [#ruby-lang]
21:55
aedorn has quit [Quit: Leaving]
21:59
yianna has joined #ruby-lang
22:00
Hakon has quit [Quit: Leaving...]
22:00
yianna is now known as ykk
22:07
anonymuse has quit [Quit: Leaving...]
22:08
slyphon has quit [Ping timeout: 248 seconds]
22:09
coffeejunk has quit [Remote host closed the connection]
22:10
coffeejunk has joined #ruby-lang
22:12
intellitech has quit [Quit: intellitech]
22:16
MartynKeigher has quit [Excess Flood]
22:17
mmuehlberger has quit [Quit: mmuehlberger]
22:18
idkazuma has joined #ruby-lang
22:18
MartynKeigher has joined #ruby-lang
22:18
carloslopes has quit [Remote host closed the connection]
22:18
havenwood has quit [Remote host closed the connection]
22:18
bluepojo has joined #ruby-lang
22:19
anonymuse has joined #ruby-lang
22:20
hahuang65 has joined #ruby-lang
22:23
jtoy has quit [Quit: jtoy]
22:23
Qfwfq has quit [Ping timeout: 255 seconds]
22:24
Qfwfq has joined #ruby-lang
22:25
ryanf has joined #ruby-lang
22:25
fsvehla has quit [Quit: fsvehla]
22:25
yobiflare has joined #ruby-lang
22:26
methods has joined #ruby-lang
22:27
_bart has joined #ruby-lang
22:31
carloslopes has joined #ruby-lang
22:31
ryanf_ has joined #ruby-lang
22:32
wyhaines has quit [Read error: Connection reset by peer]
22:33
wyhaines has joined #ruby-lang
22:34
workmad3 has quit [Read error: Operation timed out]
22:34
ryanf has quit [Ping timeout: 276 seconds]
22:34
meizaps has quit [Ping timeout: 245 seconds]
22:34
intellitech has joined #ruby-lang
22:34
meizaps has joined #ruby-lang
22:35
dustint has quit [Ping timeout: 255 seconds]
22:36
carloslopes has quit [Ping timeout: 244 seconds]
22:36
lun_ has quit [Ping timeout: 248 seconds]
22:37
blacktulip has quit [Remote host closed the connection]
22:37
sepp2k1 has joined #ruby-lang
22:38
sepp2k has quit [Ping timeout: 240 seconds]
22:38
tonni has joined #ruby-lang
22:39
skade has quit [Quit: Computer has gone to sleep.]
22:40
methods has left #ruby-lang [#ruby-lang]
22:41
ryanf_ is now known as ryanf
22:42
alvaro_o__ has joined #ruby-lang
22:45
febuiles has quit [Quit: febuiles]
22:45
Qfwfq has quit [Ping timeout: 255 seconds]
22:45
soypirate has quit [Ping timeout: 272 seconds]
22:46
alvaro_o_ has quit [Ping timeout: 264 seconds]
22:50
dustint has joined #ruby-lang
22:53
slyphon has joined #ruby-lang
22:53
klebervirgilio has quit [Remote host closed the connection]
22:55
scampbell has quit [Remote host closed the connection]
22:57
wmoxam has quit [Ping timeout: 255 seconds]
22:57
bzb has joined #ruby-lang
22:57
MartynKeigher has quit [Excess Flood]
22:58
mjio has joined #ruby-lang
22:58
remi has quit [Read error: Operation timed out]
22:58
remi has joined #ruby-lang
22:58
remi has quit [Changing host]
22:58
remi has joined #ruby-lang
23:00
_bart has quit [Quit: _bart]
23:01
crankharder has quit [Ping timeout: 256 seconds]
23:01
MartynKeigher has joined #ruby-lang
23:01
crankharder has joined #ruby-lang
23:01
yellow5 has quit [Ping timeout: 256 seconds]
23:01
drumsrgr8forn8 has joined #ruby-lang
23:02
yellow5 has joined #ruby-lang
23:03
chendo__ has quit [Read error: Connection reset by peer]
23:03
toretore has quit [Quit: Leaving]
23:04
MartynKeigher has quit [Excess Flood]
23:05
rubarlion has joined #ruby-lang
23:06
chendo__ has joined #ruby-lang
23:07
jtoy has joined #ruby-lang
23:08
ottbot has quit [Ping timeout: 264 seconds]
23:10
dankest has joined #ruby-lang
23:10
soypirate has joined #ruby-lang
23:10
codekoala has quit [Ping timeout: 255 seconds]
23:12
rubarlion has quit [Read error: Connection reset by peer]
23:14
slyphon has quit [Ping timeout: 240 seconds]
23:14
rubarlion has joined #ruby-lang
23:14
jtoy has quit [Quit: jtoy]
23:19
rubarlion has quit [Read error: Connection reset by peer]
23:20
mistym has quit [Remote host closed the connection]
23:21
Mon_Ouie has quit [Ping timeout: 255 seconds]
23:22
rubarlion has joined #ruby-lang
23:23
beho has quit [Remote host closed the connection]
23:25
dankest has quit [Quit: Leaving...]
23:27
rubarlion has quit [Read error: Connection reset by peer]
23:27
rubarlion has joined #ruby-lang
23:27
__BigO__ has quit [Remote host closed the connection]
23:29
lele has quit [Quit: Coyote finally caught me]
23:31
benanne has quit [Quit: kbai]
23:32
drumsrgr8forn8 has quit [Ping timeout: 260 seconds]
23:36
RORgasm has joined #ruby-lang
23:37
havenwood has joined #ruby-lang
23:37
pr0ton has quit [Read error: Operation timed out]
23:39
rubarlion has quit [Read error: Connection reset by peer]
23:39
chendo__ has quit [Quit: Computer has gone to sleep.]
23:42
wmoxam has joined #ruby-lang
23:43
znouza has quit [Ping timeout: 246 seconds]
23:43
jtoy has joined #ruby-lang
23:43
mistym has joined #ruby-lang
23:43
justinram has quit [Remote host closed the connection]
23:44
dustint has quit [Ping timeout: 244 seconds]
23:45
KA_ has quit [Quit: KA_]
23:50
pr0ton has joined #ruby-lang
23:52
znouza has joined #ruby-lang
23:52
intellitech has quit [Quit: intellitech]
23:52
lele has joined #ruby-lang
23:53
ykk has quit [Remote host closed the connection]
23:53
mwjcomputing has joined #ruby-lang
23:55
davidbalbert is now known as davidbalber|away
23:55
chendo__ has joined #ruby-lang
23:56
jonahR has quit [Quit: jonahR]
23:56
RORgasm has quit [Remote host closed the connection]
23:56
jtoy has quit [Quit: jtoy]
23:58
wmoxam has quit [Ping timeout: 244 seconds]
23:58
havenwood has quit [Remote host closed the connection]
23:59
outoftime has quit [Quit: Leaving]
23:59
anonymuse has quit [Quit: Leaving...]