00:01
__butch__ has quit [Quit: Leaving.]
00:01
Hakon has quit [Quit: Leaving...]
00:02
nitti has joined #ruby-lang
00:04
swarley_ has joined #ruby-lang
00:05
siyusong has quit [Quit: Computer has gone to sleep.]
00:07
gsav has joined #ruby-lang
00:12
havenn has joined #ruby-lang
00:12
chendo__ has joined #ruby-lang
00:13
brianpWins has quit [Quit: brianpWins]
00:15
siyusong has joined #ruby-lang
00:23
benanne has quit [Quit: kbai]
00:24
thatdutchguy has joined #ruby-lang
00:27
Tearan has joined #ruby-lang
00:29
take_cheeze has quit [Read error: No route to host]
00:30
fjfish has joined #ruby-lang
00:30
francisfish has quit [Ping timeout: 240 seconds]
00:35
take_cheeze has joined #ruby-lang
00:38
naquad has quit [Ping timeout: 255 seconds]
00:39
siyusong has quit [Quit: Computer has gone to sleep.]
00:41
siyusong has joined #ruby-lang
00:41
Sambalero has quit [Remote host closed the connection]
00:42
brianpWins has joined #ruby-lang
00:43
mrsolo has quit [Quit: Leaving]
00:48
fbernier has quit [Read error: Connection reset by peer]
00:50
thatdutchguy has quit [Remote host closed the connection]
00:54
Serial_Killer_C has joined #ruby-lang
00:54
replore_ has joined #ruby-lang
00:54
blazes816 has quit [Quit: blazes816]
00:58
replore_ has quit [Remote host closed the connection]
01:00
vlad_starkov has joined #ruby-lang
01:00
Kingy has quit [Quit: Leaving]
01:01
sn0wb1rd has quit [Quit: sn0wb1rd]
01:01
nitti has quit [Remote host closed the connection]
01:08
dpatel has quit [Quit: dpatel]
01:11
coryf has joined #ruby-lang
01:11
woollyams has quit [Quit: Computer has gone to sleep.]
01:11
nitti has joined #ruby-lang
01:13
roadt has joined #ruby-lang
01:17
vlad_starkov has quit [Read error: Connection reset by peer]
01:17
cdt has joined #ruby-lang
01:19
cdt has quit [Client Quit]
01:19
krohrbaugh has quit [Quit: Leaving.]
01:20
tenderlove has quit [Remote host closed the connection]
01:23
sn0wb1rd has joined #ruby-lang
01:23
gsav has quit [Read error: Connection reset by peer]
01:28
ryanlecompte has quit [Remote host closed the connection]
01:29
gsav has joined #ruby-lang
01:32
vlad_starkov has joined #ruby-lang
01:34
dous has quit [Remote host closed the connection]
01:34
lcdhoffman has quit [Quit: lcdhoffman]
01:35
Asher has quit [Ping timeout: 246 seconds]
01:35
lsegal has joined #ruby-lang
01:37
CaptainJet has quit []
01:38
headius has quit [Quit: headius]
01:39
lcdhoffman has joined #ruby-lang
01:47
nitti has quit [Remote host closed the connection]
01:48
jtoy has quit [Quit: jtoy]
01:49
Tearan has quit [Quit: Sleepy Badger....]
01:51
Tearan has joined #ruby-lang
01:51
stardiviner has joined #ruby-lang
01:52
enebo has quit [Quit: enebo]
01:53
Tearan has quit [Client Quit]
01:54
justinmcp has quit [Remote host closed the connection]
01:56
vlad_starkov has quit [Remote host closed the connection]
01:57
HikkiJP has joined #ruby-lang
02:02
havenn has quit [Remote host closed the connection]
02:07
lcdhoffman has quit [Quit: lcdhoffman]
02:12
alvaro_o has quit [Quit: Ex-Chat]
02:15
jaimef has quit [Ping timeout: 240 seconds]
02:16
slyphon has joined #ruby-lang
02:17
VegetableSpoon has joined #ruby-lang
02:18
dous has joined #ruby-lang
02:18
dous has quit [Changing host]
02:18
dous has joined #ruby-lang
02:19
gsav has quit [Read error: Connection reset by peer]
02:19
spuk has joined #ruby-lang
02:19
nertzy has quit [Quit: This computer has gone to sleep]
02:21
Mon_Ouie has quit [Read error: Connection reset by peer]
02:25
Serial_Killer_C has quit [Remote host closed the connection]
02:25
Mon_Ouie has joined #ruby-lang
02:28
jackhammer2022 has joined #ruby-lang
02:28
HikkiJP has quit [Ping timeout: 260 seconds]
02:30
HikkiJP has joined #ruby-lang
02:38
cdt has joined #ruby-lang
02:38
methods has joined #ruby-lang
02:41
methods has left #ruby-lang [#ruby-lang]
02:43
intellitech-afk is now known as intellitech
02:45
VegetableSpoon has quit [Quit: Leaving]
02:47
Tearan has joined #ruby-lang
02:47
nitti has joined #ruby-lang
02:51
nitti has quit [Ping timeout: 246 seconds]
02:52
cdt has quit [Ping timeout: 246 seconds]
02:52
gsav has joined #ruby-lang
02:52
Tearan has quit [Quit: Sleepy Badger....]
02:57
Mon_Ouie has quit [Ping timeout: 246 seconds]
02:58
Mon_Ouie has joined #ruby-lang
02:58
jaimef has joined #ruby-lang
03:04
HikkiJP has quit [Quit: .•«UPP»•.]
03:07
ryanf_ has joined #ruby-lang
03:12
S1kx has quit [Quit: Leaving]
03:15
sduckett has quit [Ping timeout: 246 seconds]
03:21
Tearan has joined #ruby-lang
03:24
sn0wb1rd has quit [Read error: Connection reset by peer]
03:25
methods has joined #ruby-lang
03:26
sn0wb1rd has joined #ruby-lang
03:29
bfreeman has joined #ruby-lang
03:32
swarley_ has left #ruby-lang [#ruby-lang]
03:32
swarley has joined #ruby-lang
03:42
justinmcp has joined #ruby-lang
03:45
esad has joined #ruby-lang
03:49
siyusong has quit [Quit: Computer has gone to sleep.]
03:51
jtoy has joined #ruby-lang
03:54
ryanf_ has quit [Quit: broken pipes |||]
03:57
nitti has joined #ruby-lang
03:57
gsav has quit [Ping timeout: 244 seconds]
04:00
headius has joined #ruby-lang
04:01
siyusong has joined #ruby-lang
04:02
nitti has quit [Ping timeout: 246 seconds]
04:04
l0st1 has quit [Quit: leaving]
04:05
headius has quit [Client Quit]
04:05
headius has joined #ruby-lang
04:06
cdt has joined #ruby-lang
04:07
ryanf_ has joined #ruby-lang
04:10
Tearan has quit [Quit: Sleepy Badger....]
04:11
cdt has quit [Ping timeout: 246 seconds]
04:12
blazes816 has joined #ruby-lang
04:13
ryanlecompte has joined #ruby-lang
04:13
justinmcp has quit [Remote host closed the connection]
04:15
take_cheeze has quit [Ping timeout: 268 seconds]
04:18
take_cheeze has joined #ruby-lang
04:21
jxie has quit [Quit: leaving]
04:21
Sambalero has joined #ruby-lang
04:22
ryanf_ has quit [Quit: broken pipes |||]
04:23
Sambaler_ has joined #ruby-lang
04:23
Sambalero has quit [Read error: Connection reset by peer]
04:23
fbernier has joined #ruby-lang
04:27
jxie has joined #ruby-lang
04:32
conor_reedy has joined #ruby-lang
04:32
swarley has quit [Read error: Operation timed out]
04:34
mistym has quit [Remote host closed the connection]
04:39
aleiphoenix has joined #ruby-lang
04:40
aleiphoenix has left #ruby-lang [#ruby-lang]
04:40
jxie has quit [Quit: leaving]
04:40
havenn has joined #ruby-lang
04:43
jxie has joined #ruby-lang
04:44
undersc0re97 has quit [Read error: Connection reset by peer]
04:46
undersc0re97 has joined #ruby-lang
04:51
methods has quit [Quit: Leaving.]
04:52
Tearan has joined #ruby-lang
04:52
methods has joined #ruby-lang
04:53
Tearan has left #ruby-lang [#ruby-lang]
04:55
Ethan has joined #ruby-lang
04:55
jtoy has quit [Quit: jtoy]
04:56
conor_reedy has quit [Ping timeout: 260 seconds]
04:57
conor_reedy has joined #ruby-lang
04:58
ryanf_ has joined #ruby-lang
04:58
undersc0re97 has quit [Ping timeout: 240 seconds]
05:01
jxie_ has joined #ruby-lang
05:01
jxie has quit [Ping timeout: 268 seconds]
05:03
gsav has joined #ruby-lang
05:08
justinmcp has joined #ruby-lang
05:09
jtoy has joined #ruby-lang
05:10
coryf has quit [Remote host closed the connection]
05:11
methods has quit [Quit: Leaving.]
05:11
vlad_starkov has joined #ruby-lang
05:12
jtoy has quit [Client Quit]
05:17
xuser has joined #ruby-lang
05:17
ryanf_ has quit [Quit: broken pipes |||]
05:30
justinmcp has quit [Remote host closed the connection]
05:34
gsav has quit [Ping timeout: 240 seconds]
05:38
roadt has quit [Ping timeout: 255 seconds]
05:39
roadt has joined #ruby-lang
05:41
d3vic3 has quit [Ping timeout: 246 seconds]
05:42
Sambaler_ has quit [Remote host closed the connection]
05:43
d3vic3 has joined #ruby-lang
05:49
blazes816 has quit [Quit: blazes816]
05:50
conor_reedy has quit [Quit: conor_reedy]
05:54
justinmcp has joined #ruby-lang
05:57
jxie_ has quit [Ping timeout: 260 seconds]
05:58
jxie has joined #ruby-lang
06:02
Ethan has quit [Ping timeout: 255 seconds]
06:03
agarie has joined #ruby-lang
06:03
rue|w has quit [Remote host closed the connection]
06:04
rippa has joined #ruby-lang
06:07
headius has quit [Quit: headius]
06:07
yxhuvud has joined #ruby-lang
06:08
siyusong has quit [Quit: Computer has gone to sleep.]
06:10
Mon_Ouie has quit [Ping timeout: 246 seconds]
06:10
ryanlecompte has quit [Remote host closed the connection]
06:11
solars has joined #ruby-lang
06:12
VGoff is now known as VGoff_afk
06:13
Ethan has joined #ruby-lang
06:13
Axsuul has quit [Remote host closed the connection]
06:14
woollyams has joined #ruby-lang
06:15
justinmcp has quit [Remote host closed the connection]
06:22
burgestrand has quit [Remote host closed the connection]
06:25
workmad3 has joined #ruby-lang
06:27
ryanlecompte has joined #ruby-lang
06:28
havenn has quit [Remote host closed the connection]
06:31
VGoff_afk is now known as VGoff
06:35
heftig has quit [Quit: leaving]
06:36
ruurd has joined #ruby-lang
06:37
JohnBat26 has joined #ruby-lang
06:44
rue|w has joined #ruby-lang
06:46
rue|w has quit [Remote host closed the connection]
06:47
dhruvasagar has joined #ruby-lang
06:54
rue|w has joined #ruby-lang
06:55
justinmcp has joined #ruby-lang
06:56
agarie has quit [Remote host closed the connection]
06:58
nitti has joined #ruby-lang
06:59
sepp2k has joined #ruby-lang
07:00
ryanlecompte has quit [Remote host closed the connection]
07:00
areil has joined #ruby-lang
07:02
nitti has quit [Ping timeout: 260 seconds]
07:04
fjfish has quit [Remote host closed the connection]
07:04
chendo__ has quit [Quit: Computer has gone to sleep.]
07:05
workmad3 has quit [Ping timeout: 260 seconds]
07:05
msch has quit [Quit: Coyote finally caught me]
07:06
jbwiv has quit [Ping timeout: 244 seconds]
07:06
msch has joined #ruby-lang
07:06
thone has joined #ruby-lang
07:07
Hakon has joined #ruby-lang
07:09
thone_ has quit [Ping timeout: 246 seconds]
07:09
mytrile has joined #ruby-lang
07:13
brianpWins has quit [Quit: brianpWins]
07:28
agarie has joined #ruby-lang
07:30
lsegal` has joined #ruby-lang
07:30
lsegal has quit [Read error: Connection reset by peer]
07:34
itsphilz has joined #ruby-lang
07:35
lsegal` has quit [Read error: Connection reset by peer]
07:35
lsegal has joined #ruby-lang
07:35
cardoni has joined #ruby-lang
07:35
itsphilz has quit [Client Quit]
07:37
irleif has joined #ruby-lang
07:40
gnufied has joined #ruby-lang
07:43
krz has joined #ruby-lang
07:47
Asher has joined #ruby-lang
07:50
agarie_ has joined #ruby-lang
07:50
agarie has quit [Read error: Connection reset by peer]
07:53
cardoni has quit [Quit: cardoni]
07:54
Axsuul has joined #ruby-lang
07:55
justinmcp has quit [Remote host closed the connection]
07:57
klaut has joined #ruby-lang
07:59
francisfish has joined #ruby-lang
07:59
JohnBat26 has joined #ruby-lang
08:01
heftig has joined #ruby-lang
08:05
icooba has joined #ruby-lang
08:06
wallerdev has quit [Quit: wallerdev]
08:06
cyri_ has joined #ruby-lang
08:09
vlad_starkov has quit [Remote host closed the connection]
08:10
vlad_starkov has joined #ruby-lang
08:14
ryanf has quit [Quit: leaving]
08:14
vlad_starkov has quit [Ping timeout: 244 seconds]
08:16
cdt has joined #ruby-lang
08:16
faces has joined #ruby-lang
08:18
facest has quit [Ping timeout: 252 seconds]
08:19
robotmay has joined #ruby-lang
08:21
bastilian has quit [Quit: Leaving...]
08:27
irleif has quit [Quit: Computer has gone to sleep.]
08:28
nofxx has quit [Ping timeout: 240 seconds]
08:28
cardoni has joined #ruby-lang
08:30
workmad3 has joined #ruby-lang
08:32
irleif has joined #ruby-lang
08:33
CrazyHorse18 has quit [Quit: Leaving.]
08:33
justinmcp has joined #ruby-lang
08:35
gaveen has joined #ruby-lang
08:35
gaveen has quit [Changing host]
08:35
gaveen has joined #ruby-lang
08:37
irleif has quit [Quit: Computer has gone to sleep.]
08:39
jbsan has quit [Quit: jbsan]
08:41
bastilian has joined #ruby-lang
08:41
zz_chrismcg is now known as chrismcg
08:42
jbsan has joined #ruby-lang
08:43
runeb has joined #ruby-lang
08:43
cyri_ has quit [Quit: cyri_]
08:46
dr_bob has joined #ruby-lang
08:48
woollyams has quit [Quit: Computer has gone to sleep.]
08:49
cardoni has quit [Quit: cardoni]
08:49
nofxx has joined #ruby-lang
08:53
cyri_ has joined #ruby-lang
08:54
rippa has quit [Ping timeout: 246 seconds]
08:55
CrazyHorse18 has joined #ruby-lang
08:55
CrazyHorse18 has quit [Client Quit]
08:56
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
08:56
CrazyHorse18 has joined #ruby-lang
08:57
voker57__ has quit [Read error: Operation timed out]
08:58
nitti has joined #ruby-lang
09:01
CrazyHorse18 has quit [Ping timeout: 265 seconds]
09:02
nitti has quit [Ping timeout: 246 seconds]
09:02
Y_Ichiro_ has joined #ruby-lang
09:02
Y_Ichiro_ has quit [Changing host]
09:02
Y_Ichiro_ has joined #ruby-lang
09:04
CrazyHorse18 has joined #ruby-lang
09:04
herpless__ has joined #ruby-lang
09:04
Y_Ichiro has quit [Ping timeout: 248 seconds]
09:04
herpless_ has quit [Ping timeout: 248 seconds]
09:04
ammar has quit [Ping timeout: 248 seconds]
09:05
ammar has joined #ruby-lang
09:06
envygeeks has joined #ruby-lang
09:06
envygeeks has left #ruby-lang [#ruby-lang]
09:07
tris has quit [Excess Flood]
09:08
esad has quit [Quit: Computer has gone to sleep.]
09:08
runeb has quit [Remote host closed the connection]
09:08
esad has joined #ruby-lang
09:08
jxie has quit [Quit: leaving]
09:09
judofyr has joined #ruby-lang
09:11
voker57__ has joined #ruby-lang
09:12
tris has joined #ruby-lang
09:13
rippa has joined #ruby-lang
09:16
<
judofyr >
perry: or maybe you need a -devel package
09:16
<
judofyr >
perry: libstdc++-devel or libstdc++-dev
09:17
<
perry >
thanks I will try
09:18
<
perry >
judofyr: thank you! installed libstdc++-devel on rhel 6.3
09:18
<
judofyr >
perry: awesome!
09:19
woollyams has joined #ruby-lang
09:19
sandbags has joined #ruby-lang
09:19
rippa has quit [Ping timeout: 240 seconds]
09:24
toretore has joined #ruby-lang
09:24
lele|w has quit [Quit: Leaving]
09:25
lele|w has joined #ruby-lang
09:25
justinmcp has quit [Remote host closed the connection]
09:28
tjadc has joined #ruby-lang
09:30
lele|w has quit [Ping timeout: 272 seconds]
09:36
roadt has quit [Ping timeout: 246 seconds]
09:38
Artheist has joined #ruby-lang
09:40
KU0N has joined #ruby-lang
09:42
CrazyHorse18 has quit [Quit: Leaving.]
09:42
voker57 has joined #ruby-lang
09:42
CrazyHorse18 has joined #ruby-lang
09:42
voker57__ has quit [Ping timeout: 240 seconds]
09:43
<
KU0N >
I have a silly question, given for example 1024, how can I get 10 out of it (2**10), is there a smart way that doesn't involve a loop?
09:49
CrazyHorse18 has quit [Quit: Leaving.]
09:57
<
KU0N >
omg, I'm so stupid it's make me cry
09:57
<
andrewvos >
Math.log(1024) / Math.log(2)
09:57
<
KU0N >
Yea I know that at the math level, but for some reason while coding I totaly forgot about it:P
09:58
<
andrewvos >
KU0N: Yeah, you're probably better off than me. I have no idea what that does.
09:58
nitti has joined #ruby-lang
09:58
<
andrewvos >
KU0N: But I'm good at google :)
09:59
runeb has joined #ruby-lang
09:59
CrazyHorse18 has joined #ruby-lang
10:01
<
judofyr >
whitequark: how's it going?
10:01
CrazyHorse181 has joined #ruby-lang
10:02
faces has quit [Ping timeout: 246 seconds]
10:03
nitti has quit [Ping timeout: 256 seconds]
10:03
CrazyHorse18 has quit [Ping timeout: 245 seconds]
10:05
woollyams has quit [Quit: Computer has gone to sleep.]
10:05
roadt has joined #ruby-lang
10:07
justinmcp has joined #ruby-lang
10:16
x0F has quit [Disconnected by services]
10:16
x0F_ has joined #ruby-lang
10:17
x0F_ is now known as x0F
10:20
klaut has quit [Remote host closed the connection]
10:23
agarie_ has left #ruby-lang [#ruby-lang]
10:23
agarie has joined #ruby-lang
10:26
tbuehlmann has joined #ruby-lang
10:30
justinmcp has quit [Remote host closed the connection]
10:30
sush24_ has joined #ruby-lang
10:34
woollyams has joined #ruby-lang
10:34
charliesome has joined #ruby-lang
10:35
sush24 has joined #ruby-lang
10:35
sush24_ has quit [Ping timeout: 260 seconds]
10:36
sush24_ has joined #ruby-lang
10:39
sharma__ has joined #ruby-lang
10:39
sush24 has quit [Ping timeout: 260 seconds]
10:41
sush24_ has quit [Ping timeout: 240 seconds]
10:44
sharma__ has quit [Ping timeout: 244 seconds]
10:44
kristofferrr has joined #ruby-lang
10:45
faces has joined #ruby-lang
10:55
agarie has quit [Remote host closed the connection]
10:58
Assurbanipal has joined #ruby-lang
10:58
nitti has joined #ruby-lang
11:03
nitti has quit [Ping timeout: 246 seconds]
11:07
kristofferrr has quit [Quit: ❤]
11:07
rue has quit [Remote host closed the connection]
11:07
rue has joined #ruby-lang
11:09
banisterfiend has joined #ruby-lang
11:09
<
banisterfiend >
hi, anyone here use rbenv?
11:09
<
judofyr >
nope. rvm all the time.
11:09
sush24_ has joined #ruby-lang
11:09
roadt has quit [Ping timeout: 240 seconds]
11:12
rue has quit [Ping timeout: 268 seconds]
11:13
sush24_ has quit [Ping timeout: 240 seconds]
11:14
melter has quit [Ping timeout: 268 seconds]
11:14
<
khaase >
anyone using rspec?
11:14
chendo_ has quit [Ping timeout: 245 seconds]
11:14
<
khaase >
how can I tell rspec-mock to return whatever the method some object should_receive would return normally?
11:15
chendo_ has joined #ruby-lang
11:17
roadt has joined #ruby-lang
11:22
cyri_ has quit [Quit: cyri_]
11:24
lcdhoffman has joined #ruby-lang
11:25
<
judofyr >
woah, it hasn't been updated in a year
11:26
<
khaase >
judofyr: ahm, yeah, but it seems like I have to wrap the receiving object with something there
11:26
nertzy has joined #ruby-lang
11:26
anannie has joined #ruby-lang
11:26
<
khaase >
judofyr: same goes for other spy libs
11:26
<
khaase >
judofyr: I don't like that, as I don't pass in the object
11:26
<
khaase >
judofyr: so I'll have to rebind constants
11:26
<
khaase >
which sucks
11:27
<
khaase >
I think I'd rather mock the response, then
11:27
<
khaase >
but that sucks, too
11:27
<
judofyr >
khaase: any_instance_of(User) { |u| mock.proxy(u).foo) }
11:27
jgomez has joined #ruby-lang
11:27
<
khaase >
it's not an instance, you
11:27
<
khaase >
I'm trying to expect an instance creation
11:28
<
khaase >
it 'defaults to single_page mode' do
11:28
<
khaase >
Travis::SSO::SinglePage.should_receive(:new)
11:28
<
judofyr >
in that case, this will work: mock.proxy(Travis::SSO::SinglePage).new
11:28
<
khaase >
I want new to still return the normal return value
11:28
<
judofyr >
"mock.proxy replaces the method on the object with an expectation, implementation, and also invokes the actual method."
11:29
sn0wb1rd_ has joined #ruby-lang
11:29
<
khaase >
ah, cool, then I misread the examples
11:31
melter has joined #ruby-lang
11:31
epitron_ has joined #ruby-lang
11:31
epitron_ has quit [Changing host]
11:31
epitron_ has joined #ruby-lang
11:33
dreamhaw1 has joined #ruby-lang
11:33
ammar_ has joined #ruby-lang
11:33
thone_ has joined #ruby-lang
11:34
kirin` has quit [Disconnected by services]
11:34
Asher1 has joined #ruby-lang
11:34
kirin` has joined #ruby-lang
11:34
roadkith has joined #ruby-lang
11:35
krz has quit [Quit: krz]
11:36
blowmage` has joined #ruby-lang
11:37
chendo_ has quit [Ping timeout: 264 seconds]
11:38
dous has quit [Remote host closed the connection]
11:38
faces has quit [*.net *.split]
11:38
ammar has quit [*.net *.split]
11:38
Asher has quit [*.net *.split]
11:38
thone has quit [*.net *.split]
11:38
Hakon has quit [*.net *.split]
11:38
sn0wb1rd has quit [*.net *.split]
11:38
blowmage has quit [*.net *.split]
11:38
dreamhawk has quit [*.net *.split]
11:38
epitron has quit [*.net *.split]
11:38
sn0wb1rd_ is now known as sn0wb1rd
11:38
chendo_ has joined #ruby-lang
11:39
kirin` has quit [Ping timeout: 260 seconds]
11:41
kirin` has joined #ruby-lang
11:41
Axsuul has quit [Ping timeout: 245 seconds]
11:45
nertzy has quit [Quit: This computer has gone to sleep]
11:46
kirin` has quit [Ping timeout: 246 seconds]
11:47
woollyams has quit [Quit: Computer has gone to sleep.]
11:47
kirin` has joined #ruby-lang
11:48
Hakon has joined #ruby-lang
11:50
lele has quit [Quit: Coyote finally caught me]
11:50
lele has joined #ruby-lang
11:52
kirin` has quit [Ping timeout: 244 seconds]
11:54
kirin` has joined #ruby-lang
11:55
Asher1 has quit [Quit: Leaving.]
11:55
Asher has joined #ruby-lang
11:58
nitti has joined #ruby-lang
11:59
kirin` has quit [Ping timeout: 268 seconds]
12:00
kirin` has joined #ruby-lang
12:02
d3vic3 has quit [Quit: leaving]
12:03
nitti has quit [Ping timeout: 265 seconds]
12:05
kirin` has quit [Ping timeout: 240 seconds]
12:07
kirin` has joined #ruby-lang
12:07
nitti has joined #ruby-lang
12:07
rue has joined #ruby-lang
12:12
kirin` has quit [Ping timeout: 260 seconds]
12:13
kirin` has joined #ruby-lang
12:18
nitti has quit [Remote host closed the connection]
12:19
kirin` has quit [Ping timeout: 260 seconds]
12:19
nitti has joined #ruby-lang
12:20
kirin` has joined #ruby-lang
12:20
wyhaines has joined #ruby-lang
12:20
rue has quit [Remote host closed the connection]
12:21
rue has joined #ruby-lang
12:24
babinho has quit [Remote host closed the connection]
12:25
kirin` has quit [Ping timeout: 252 seconds]
12:26
kirin` has joined #ruby-lang
12:30
justinram has joined #ruby-lang
12:31
ruurd_ has joined #ruby-lang
12:31
justinmcp has joined #ruby-lang
12:32
pbjorklund has quit [Remote host closed the connection]
12:32
kirin` has quit [Ping timeout: 264 seconds]
12:33
kirin` has joined #ruby-lang
12:33
ruurd has quit [Ping timeout: 246 seconds]
12:35
Uranio has joined #ruby-lang
12:38
kirin` has quit [Ping timeout: 244 seconds]
12:40
kirin` has joined #ruby-lang
12:40
sush24 has joined #ruby-lang
12:44
mistym has joined #ruby-lang
12:44
mistym has quit [Changing host]
12:44
mistym has joined #ruby-lang
12:45
kirin` has quit [Ping timeout: 246 seconds]
12:46
kirin` has joined #ruby-lang
12:48
dous has joined #ruby-lang
12:48
mistym has quit [Remote host closed the connection]
12:51
kirin` has quit [Ping timeout: 246 seconds]
12:51
malev has joined #ruby-lang
12:53
kirin` has joined #ruby-lang
12:53
dous has quit [Ping timeout: 246 seconds]
12:54
nettsundere has joined #ruby-lang
12:57
dous has joined #ruby-lang
12:57
dous has quit [Changing host]
12:57
dous has joined #ruby-lang
12:58
conorreedy has joined #ruby-lang
12:58
justinmcp has quit [Remote host closed the connection]
12:58
kirin` has quit [Ping timeout: 252 seconds]
12:59
kirin` has joined #ruby-lang
13:01
<
andrewvos >
Is this normal lately?
13:01
<
andrewvos >
Error Bundler::HTTPError during request to dependency API
13:01
slyphon has quit [Ping timeout: 245 seconds]
13:01
rmascarenhas has joined #ruby-lang
13:02
scampbell has joined #ruby-lang
13:02
<
ddd >
they disabled the api endpoints (some issue. qrush says they're working on it) it just gets the full source index so stuff still works. known error and issue
13:02
cantonic_ has joined #ruby-lang
13:02
<
Uranio >
how could define a method havin 3 (or more) parameters but only one needed, the others as optional
13:03
<
andrewvos >
Uranio: def hello(one, two=31, three=232)
13:03
<
andrewvos >
Uranio: Default parameters
13:03
<
andrewvos >
haha nice banisterfiend
13:04
<
andrewvos >
I would put that on my macbook but I'm getting a matt black cover for it
13:04
CrazyHorse181 has quit [Quit: Leaving.]
13:05
<
Uranio >
thanks andrewvos
13:05
kirin` has quit [Ping timeout: 248 seconds]
13:06
cantonic has quit [Ping timeout: 260 seconds]
13:06
cantonic_ is now known as cantonic
13:06
kirin` has joined #ruby-lang
13:06
<
andrewvos >
pleasure
13:06
<
andrewvos >
In IntelliJ I'm getting "cannot load such file -- acouchi/rspec/matchers (LoadError)
13:07
<
andrewvos >
With github.com/AndrewVos/acouchi
13:07
<
andrewvos >
Any idea why that might be?
13:07
<
andrewvos >
Command line works great
13:08
<
andrewvos >
Guessing it's something to do with my gem, because everything else seems to be ok.
13:09
<
andrewvos >
Oh, I've installed the gem with `rake install` in the gem path. I haven't installed it from rubygems.
13:10
ferdinandsvehla has joined #ruby-lang
13:10
ferdinandsvehla has quit [Client Quit]
13:10
slyphon has joined #ruby-lang
13:10
<
banisterfiend >
andrewvos: i got my new MBA, it's the shit.
13:11
<
banisterfiend >
8 gig ram on a tiny 11" machine :))
13:11
kirin` has quit [Ping timeout: 260 seconds]
13:12
<
andrewvos >
banisterfiend: I got a Mid 2011 MBA... I can't upgrade the RAM cause it's soldered in there :(
13:13
kirin` has joined #ruby-lang
13:14
roadkith has quit [Quit: Leaving...]
13:14
<
andrewvos >
Oh it's an 11"
13:14
<
andrewvos >
I'm pretty jealous
13:15
mistym has joined #ruby-lang
13:15
<
andrewvos >
Any idea about that issue banisterfiend?
13:15
<
banisterfiend >
andrewvos: yea, i had a mid-2011 MBA before, i stupidly only got 2 gig ram on it, it really struggled :(
13:15
<
andrewvos >
I've got four, but it's not that great.
13:15
<
banisterfiend >
spilling beer on it turned out to be a good thing
13:15
<
andrewvos >
Maybe I should buy an 11"
13:15
<
banisterfiend >
ah ok
13:15
vlad_starkov has joined #ruby-lang
13:16
<
banisterfiend >
andrewvos: did you upgrade the processor too?
13:16
<
andrewvos >
What's the max specs you can get on one?
13:16
<
andrewvos >
Never mind that, I'll go to apple.com
13:16
lcdhoffman has quit [Quit: lcdhoffman]
13:16
<
banisterfiend >
andrewvos: you can get 8 gig ram, 512gb SSD, dual-core 2gz ivybridge i7 processor
13:16
<
banisterfiend >
andrewvos: i upgraded the SSD to 256 and bumped the ram to 8 gig, but didnt upgrade the processor
13:17
<
banisterfiend >
andrewvos: i think it's a bad idea to upgrade the processor on the 11" model anyway
13:17
<
banisterfiend >
cos it uses up the battery 10% faster
13:17
<
banisterfiend >
and the battery is bad enough already, only ~5 hours
13:17
<
andrewvos >
Wow it's not bad
13:18
<
banisterfiend >
andrewvos: it'll cost you a fucktonne to get the 512gb SSD though
13:18
<
banisterfiend >
so i just went to 256 which is enough for me
13:18
<
banisterfiend >
zzak: sup
13:18
^sandbags^ has joined #ruby-lang
13:18
^sandbags^ has quit [Changing host]
13:18
^sandbags^ has joined #ruby-lang
13:18
<
andrewvos >
banisterfiend: Don't need 128gib
13:18
kirin` has quit [Ping timeout: 244 seconds]
13:18
<
zzak >
a mid 2011 mba is cheap now
13:18
<
banisterfiend >
andrewvos: you mean you wont go over 128?
13:19
<
andrewvos >
I don't think so
13:19
<
zzak >
is 2012 mba ram soldered?
13:19
nettsundere has quit [Read error: Operation timed out]
13:19
<
banisterfiend >
hmm, i use it as my primary computer these days, so i needed the 256
13:19
kirin` has joined #ruby-lang
13:19
sandbags has quit [Ping timeout: 246 seconds]
13:19
fbernier has quit [Read error: Connection reset by peer]
13:20
<
banisterfiend >
zzak: yes, so make sure u max it out when u order it
13:21
fbernier has joined #ruby-lang
13:21
<
andrewvos >
banisterfiend: Actually just realised I'm using 200gb on this MBA :/
13:21
<
banisterfiend >
andrewvos: yeah it's really easy to eat it up
13:22
CrazyHorse18 has joined #ruby-lang
13:22
<
banisterfiend >
when i had 128gb on my last mba i was forever deleting stuff to make room for new stuff
13:22
<
zzak >
i dont think im ordering one anytime soon, just bought a new asus 3 months ago
13:22
<
andrewvos >
banisterfiend: I have no idea what I'm using 200gb on
13:23
<
zzak >
andrewvos: java
13:23
<
zzak >
kill it with fire
13:23
<
andrewvos >
zzak: think so?
13:23
<
zzak >
maybe, im just trolling you
13:24
roadkith has joined #ruby-lang
13:24
<
andrewvos >
I would believe that
13:24
<
zzak >
does osx have a disk usage analyzer?
13:24
<
judofyr >
zzak: Daisy Disk
13:25
babinho has joined #ruby-lang
13:25
kirin` has quit [Ping timeout: 252 seconds]
13:25
<
judofyr >
is pretty nice, although the free version has a delay on startup
13:26
CrazyHorse18 has quit [Ping timeout: 240 seconds]
13:26
<
andrewvos >
judofyr: Haha I was just googling that
13:26
<
andrewvos >
wnd: df is nice but can never remember the arguments to make output nice
13:26
kirin` has joined #ruby-lang
13:27
dous has quit [Remote host closed the connection]
13:27
banisterfiend has quit [Read error: Connection reset by peer]
13:27
CrazyHorse18 has joined #ruby-lang
13:28
<
wnd >
personally I just use "du -s foo bar | sort -nr | head" on gnu/bsd. it's quick to run and almost universally available.
13:29
faces has joined #ruby-lang
13:29
sailias has joined #ruby-lang
13:29
slyphon has quit [Ping timeout: 245 seconds]
13:29
<
judofyr >
yeah, I use "du" if I'm I know I have a big folder, but Daisy Disk when I'm like "wtf is taking all of this space?"
13:29
dous has joined #ruby-lang
13:30
dhruvasagar has quit [Ping timeout: 260 seconds]
13:31
banisterfiend has joined #ruby-lang
13:32
kirin` has quit [Ping timeout: 255 seconds]
13:32
<
zzak >
sounds like andrew is the second option right now
13:33
kirin` has joined #ruby-lang
13:34
_Mon_Ouie_ has quit [Ping timeout: 246 seconds]
13:34
malev has quit [Ping timeout: 246 seconds]
13:34
nettsundere has joined #ruby-lang
13:34
_Mon_Ouie_ has joined #ruby-lang
13:35
lcdhoffman has joined #ruby-lang
13:35
malev has joined #ruby-lang
13:35
banisterfiend has quit [Read error: Connection reset by peer]
13:36
JH__ has joined #ruby-lang
13:37
jxie has joined #ruby-lang
13:38
kirin` has quit [Ping timeout: 252 seconds]
13:38
irleif has joined #ruby-lang
13:40
kirin` has joined #ruby-lang
13:42
vlad_starkov has quit [Remote host closed the connection]
13:42
wyhaines has quit [Remote host closed the connection]
13:43
banisterfiend has joined #ruby-lang
13:44
<
banisterfiend >
judofyr: do u know anything about the new iseq struct in 2.0 ?
13:44
<
judofyr >
banisterfiend: nope
13:44
<
banisterfiend >
judofyr: i wanna know the equivalent of iseq->name in 2.0
13:44
mwjcomputing has joined #ruby-lang
13:44
<
judofyr >
haven't followed ruby-core lately
13:44
<
banisterfiend >
seems like some pretty big changes there at least
13:45
<
ddfreyne >
what is iseq?
13:45
<
judofyr >
instruction sequence
13:45
kirin` has quit [Ping timeout: 264 seconds]
13:45
<
judofyr >
every "block" of Ruby is a different instruction sequence (method, class definition, block)
13:46
<
judofyr >
(rescue, else)
13:46
naquad has joined #ruby-lang
13:46
kirin` has joined #ruby-lang
13:48
<
judofyr >
banisterfiend: I'd look in the RubyVM::InstructionSequence-code and see if it still spits out the ->name
13:49
<
banisterfiend >
i wonder how badly 2.0 breaks debugger this time
13:49
^sandbags^ has quit [Remote host closed the connection]
13:50
<
judofyr >
oh, that doesn't use the iseq
13:51
<
crankharder >
when your one argument to a method is *args, how do i strip out the last, non-blk arg that i expect to be a hash? i know there's some method for that, drawing a blank
13:51
<
judofyr >
crankharder: options = args.last.is_a?(Hash) ? args.pop : {}
13:51
<
judofyr >
crankharder: Rails has a helper method for it
13:51
<
judofyr >
but nothing in Ruby core AFAIK
13:52
<
crankharder >
know what that helper is?
13:52
kirin` has quit [Ping timeout: 260 seconds]
13:52
<
judofyr >
crankharder: extract_options or something
13:52
<
judofyr >
RSTRING_PTR(iseq->location.label)
13:52
<
judofyr >
RSTRING_PTR(iseq->location.path)
13:53
<
judofyr >
crankharder: extract_options!
13:53
banisterfiend has quit [Read error: Connection reset by peer]
13:53
kirin` has joined #ruby-lang
13:54
roadkith has quit [Quit: Leaving...]
13:55
Mon_Ouie has joined #ruby-lang
13:56
malev has quit [Remote host closed the connection]
13:57
erichmenge has joined #ruby-lang
14:03
banisterfiend has joined #ruby-lang
14:03
methods has joined #ruby-lang
14:06
Artheist has quit [Remote host closed the connection]
14:06
vlad_starkov has joined #ruby-lang
14:06
Mon_Ouie has quit [Read error: No route to host]
14:09
Mon_Ouie has joined #ruby-lang
14:09
Mon_Ouie has quit [Changing host]
14:09
Mon_Ouie has joined #ruby-lang
14:09
slyphon has joined #ruby-lang
14:09
gsav has joined #ruby-lang
14:09
sduckett has joined #ruby-lang
14:12
kurko__ has joined #ruby-lang
14:14
groszek has left #ruby-lang ["."]
14:15
mistym_ has joined #ruby-lang
14:18
gsav has quit [Quit: Lost terminal]
14:18
malev has joined #ruby-lang
14:18
carloslopes has joined #ruby-lang
14:24
ryanlecompte has joined #ruby-lang
14:24
erichmenge has quit [Quit: Be back later]
14:27
Artheist has joined #ruby-lang
14:28
vlad_starkov has quit [Remote host closed the connection]
14:28
erichmenge has joined #ruby-lang
14:28
erichmenge has quit [Read error: Connection reset by peer]
14:28
erichmeng has joined #ruby-lang
14:28
_JH_ has joined #ruby-lang
14:29
gsav has joined #ruby-lang
14:30
lcdhoffman has quit [Quit: lcdhoffman]
14:30
fletch_ has joined #ruby-lang
14:34
heftig has quit [Quit: Lost terminal]
14:35
vlad_starkov has joined #ruby-lang
14:36
enebo has joined #ruby-lang
14:36
vlad_starkov has quit [Remote host closed the connection]
14:36
heftig has joined #ruby-lang
14:38
_JH_L has joined #ruby-lang
14:39
_JH_L has quit [Client Quit]
14:41
Assurbanipal has quit [Quit: Konversation terminated!]
14:41
_JH_ has joined #ruby-lang
14:42
<
Uranio >
I wonder why can't suscribe to the ruby talk mailing list
14:42
<
judofyr >
Uranio: hm?
14:42
runeb has quit [Remote host closed the connection]
14:43
rue|w has quit [Ping timeout: 268 seconds]
14:44
Sambalero has joined #ruby-lang
14:44
<
whitequark >
judofyr: nice. I'm currently at the transformation for turning all the complex method argument variants into a unified array unpacker
14:44
<
Uranio >
judofyr: I suscribed a lot of time but don't get in the list
14:44
<
judofyr >
whitequark: who said Ruby didn't have complex pattern matching? :)
14:46
<
judofyr >
whitequark: but very nice. I assume you do this at a very early stage and just generate "basic" extraction code?
14:50
irleif has quit [Quit: Computer has gone to sleep.]
14:50
faces has quit [Ping timeout: 248 seconds]
14:50
intellitech has quit [Ping timeout: 260 seconds]
14:51
Hakon has quit [Quit: Leaving...]
14:52
<
whitequark >
judofyr: exactly! the multiple assignment is almost on par with haskell's pattern matching
14:52
vlad_starkov has joined #ruby-lang
14:52
<
whitequark >
yes. I get an (args) array as a primitive, and then just unpack it with usual indexing
14:52
coryf has joined #ruby-lang
14:52
<
whitequark >
nothing fancy or nonstandard. just simple (send :[])
14:53
<
whitequark >
well, in fact I export the `undefined' in rubyland here, but rubinius does that as well
14:53
<
whitequark >
(otherwise you couldn't differ between missing argument and nil
14:53
<
andrewvos >
Is it because there is no module in there?
14:53
<
whitequark >
andrewvos: no
14:53
<
whitequark >
it's because the lib is not in your $LOAD_PATH
14:53
<
andrewvos >
Ok well that's a start
14:53
<
whitequark >
*the lib directory
14:54
<
andrewvos >
whitequark: I failed to mention that I have managed to require "acouchi" and "acouchi/cucumber" already. Only acouchi/rspec/matchers fails.
14:54
vlad_starkov has quit [Remote host closed the connection]
14:54
<
andrewvos >
This is 1.9.3 by the way
14:55
enebo has quit [Quit: enebo]
14:55
<
judofyr >
andrewvos: well, output $LOAD_PATH and see if you see anything fishy
14:55
faces has joined #ruby-lang
14:56
<
andrewvos >
judofyr: Good idea.
14:56
<
judofyr >
whitequark: hm… so if I override Array#[], then I can change unpacking of arguments?
14:56
<
andrewvos >
Wow that's huge ($LOAD_PATH)
14:56
<
whitequark >
judofyr: well, basically, yes. that's why you should not do that :)
14:57
<
whitequark >
I might add an immediate expansion step
14:57
<
judofyr >
whitequark: and I assume you assume that the compiler will be smart enough to inline the method call?
14:57
<
whitequark >
so it would be extracted to (tuple-index (args) $i)
14:57
<
whitequark >
judofyr: obviously
14:57
dhruvasagar has joined #ruby-lang
14:57
<
whitequark >
that's pretty much the whole point of foundry
14:57
<
matti >
Hey whitequark
14:57
<
matti >
whitequark: Do you have any way to build Ruby on Windows?
14:57
<
whitequark >
matti: ewww. well. technically I have a winxp vm right now
14:58
<
matti >
whitequark: I mean, compile from scratch.
14:58
<
whitequark >
matti: what's your problem?
14:58
<
matti >
whitequark: I need to test File::lutime I've done and part of it is handling Windows API.
14:59
<
andrewvos >
whitequark: The rspec directory doesn't exist!
14:59
<
matti >
whitequark: So I am looking for somebody who might have ability to build Ruby on Windows.
14:59
<
matti >
whitequark: Anyway, sorry to bother.
15:00
<
whitequark >
matti: well, I guess I could build it
15:00
<
andrewvos >
Sorry I mean judofyr ^
15:00
<
judofyr >
andrewvos: :)
15:00
<
andrewvos >
judofyr: What does this meaaaaaan
15:00
<
zzak >
i think you need devkit for that
15:00
<
andrewvos >
judofyr: I'm pretty lost here. What could cause it not to be tehre?
15:02
<
andrewvos >
judofyr: Never mind I think I got it
15:03
dhruvasagar has quit [Ping timeout: 256 seconds]
15:04
dhruvasagar has joined #ruby-lang
15:05
yxhuvud2 has joined #ruby-lang
15:05
<
judofyr >
whitequark: man, you've made me really want to create my own little language :)
15:05
<
judofyr >
whitequark: only I kinda want it to be everything (low-level, high-level, concurrent, whatever)
15:05
<
whitequark >
judofyr: check out Rust
15:05
<
whitequark >
it is really really good
15:05
<
whitequark >
unlike some other mozilla products, I'd say...
15:06
yxhuvud has quit [Ping timeout: 246 seconds]
15:07
<
banisterfiend >
whitequark: do u know where in the ruby source they hide the symbols?
15:08
<
banisterfiend >
whitequark: i mean some non-static functions are inaccessible
15:08
<
banisterfiend >
do you know where they change their visibility?
15:10
jbwiv has joined #ruby-lang
15:10
<
whitequark >
banisterfiend: could you show me an example?
15:10
dhruvasagar has quit [Ping timeout: 246 seconds]
15:10
<
whitequark >
I think I understand what you mean
15:10
<
whitequark >
but to remember where precisely that code was, I need some clue
15:11
rindolf has joined #ruby-lang
15:11
<
banisterfiend >
ok holdon
15:11
<
banisterfiend >
im looking at the 2.0 codebase now though
15:11
ryanlecompte has quit [Remote host closed the connection]
15:12
<
whitequark >
banisterfiend: ie trunk?
15:12
<
whitequark >
I believe it's not yet branched from HEAD
15:13
<
whitequark >
banisterfiend: ahhhh, then I misunderstood you
15:13
<
whitequark >
I had no idea
15:13
methods has left #ruby-lang [#ruby-lang]
15:13
<
whitequark >
well, that option lead to some additional optimization
15:14
<
whitequark >
esp. for LLVM
15:14
<
banisterfiend >
The problem is that these symbols are marked as RUBY_EXTERN, are globally available in the ruby static library, but are not visible in the ruby binary itself. ruby_current_thread, for example, is marked as an external symbol in the data section, and is visible in libruby-static.a but not in ruby:
15:14
<
banisterfiend >
this one in particular is driving me crazy: ^
15:14
<
banisterfiend >
whitequark: it makes writing debuggers very difficult
15:14
<
whitequark >
banisterfiend: could you use dlopen/dlsym?
15:14
<
whitequark >
if it's exported externally
15:15
<
whitequark >
ah, only in static library, yeah
15:15
irleif has joined #ruby-lang
15:15
<
whitequark >
I see.
15:18
rippa has joined #ruby-lang
15:18
banisterfiend has quit [Read error: Connection reset by peer]
15:18
irleif has quit [Client Quit]
15:19
banisterfiend has joined #ruby-lang
15:20
banisterfiend has quit [Read error: Connection reset by peer]
15:23
ulisescab has joined #ruby-lang
15:23
banisterfiend has joined #ruby-lang
15:23
mytrile has quit [Remote host closed the connection]
15:23
tjadc_ has joined #ruby-lang
15:24
tjadc has quit [Ping timeout: 244 seconds]
15:24
judofyr has quit [Remote host closed the connection]
15:25
<
banisterfiend >
i need a way of getting the current thread
15:26
<
zzak >
banisterfiend: ever file a ticket?
15:26
<
banisterfiend >
zzak: no i just looked at it tonight for the first time
15:26
<
banisterfiend >
im trying to port binding_of_caller to 2.0
15:31
mistym_ has quit [Changing host]
15:31
mistym_ has joined #ruby-lang
15:31
tjadc_ has quit [Read error: Connection reset by peer]
15:31
mistym has quit [Disconnected by services]
15:31
mistym_ is now known as mistym
15:31
mistym_ has joined #ruby-lang
15:32
tjadc has joined #ruby-lang
15:37
_whitelogger__ has joined #ruby-lang
15:38
jonasac has quit [Ping timeout: 246 seconds]
15:39
_whitelogger_ has quit [Remote host closed the connection]
15:39
mistym_ has quit [Remote host closed the connection]
15:39
lele has joined #ruby-lang
15:41
sebastianb has joined #ruby-lang
15:42
yorickpeterse has joined #ruby-lang
15:42
jonasac has joined #ruby-lang
15:44
runeb has joined #ruby-lang
15:46
kurko__ has quit [Ping timeout: 248 seconds]
15:47
<
Spaceghostc2c >
banisterfiend: Dude, bruv, we want you to hang out!
15:48
runeb has quit [Ping timeout: 252 seconds]
15:49
kurko__ has joined #ruby-lang
15:51
sandbags has joined #ruby-lang
15:51
sandbags has quit [Changing host]
15:51
sandbags has joined #ruby-lang
15:53
intellitech has joined #ruby-lang
15:56
erichmeng has quit [Quit: Be back later]
15:56
JohnBat26 has quit [Ping timeout: 252 seconds]
15:58
banisterfiend has quit [Read error: Connection reset by peer]
15:59
wyhaines has joined #ruby-lang
15:59
irleif has joined #ruby-lang
15:59
cyri_ has joined #ruby-lang
16:00
francisfish has quit [Remote host closed the connection]
16:01
kurko__ has quit [Ping timeout: 264 seconds]
16:02
kurko__ has joined #ruby-lang
16:04
enebo has joined #ruby-lang
16:05
ryanlecompte has joined #ruby-lang
16:07
krohrbaugh has joined #ruby-lang
16:08
erichmenge has joined #ruby-lang
16:09
sush24 has quit [Quit: This computer has gone to sleep]
16:12
Hakon has joined #ruby-lang
16:12
blazes816 has joined #ruby-lang
16:12
sush24 has joined #ruby-lang
16:12
JohnBat26 has joined #ruby-lang
16:13
thatdutchguy has joined #ruby-lang
16:15
sn0wb1rd has quit [Quit: sn0wb1rd]
16:15
<
kith >
is there something like ary.shifteach?
16:17
<
Mon_Ouie >
What would it do?
16:17
kurko__ has quit [Ping timeout: 245 seconds]
16:17
<
kith >
like .each but remove the element from self
16:18
<
Mon_Ouie >
So at the end of the loop the array is empty?
16:18
<
Mon_Ouie >
You could just call clear at the end
16:18
wallerdev has joined #ruby-lang
16:18
<
Mon_Ouie >
Or use shift until the array is empty
16:19
tjadc has quit [Read error: Connection reset by peer]
16:19
<
kith >
yeah... thought a dedicated method would be cool
16:19
Serial_Killer_C has joined #ruby-lang
16:19
kurko__ has joined #ruby-lang
16:19
<
Mon_Ouie >
There is no method that does it already, though (well… reject! called with a block that always true kind of does, but that's ugly)
16:20
JohnBat26 has quit [Ping timeout: 265 seconds]
16:20
sush24 has quit [Quit: This computer has gone to sleep]
16:21
Hakon has quit [Read error: Connection reset by peer]
16:23
<
heftig >
Mon_Ouie: not that ugly, i think. if consuming an element can fail and terminate the loop, you'd end up with an array that's missing just the elements that were successfully consumed
16:23
<
heftig >
that's at least a possible use, i think
16:24
irleif has quit [Quit: Computer has gone to sleep.]
16:26
dr_bob has quit [Quit: Leaving.]
16:26
Serial_Killer_C has quit [Remote host closed the connection]
16:27
<
heftig >
if you want the shifting behavior instead, i guess a method that does "yield shift until empty?" would do
16:29
rue has quit [Remote host closed the connection]
16:29
anannie has quit [Ping timeout: 256 seconds]
16:29
rue has joined #ruby-lang
16:30
sn0wb1rd has joined #ruby-lang
16:33
carloslopes has quit [Quit: Leaving.]
16:34
QaDeS has joined #ruby-lang
16:35
irleif has joined #ruby-lang
16:35
dpatel has joined #ruby-lang
16:36
Uranio has joined #ruby-lang
16:36
CrazyHorse181 has joined #ruby-lang
16:37
cardoni has joined #ruby-lang
16:37
wyhaines has quit [Ping timeout: 245 seconds]
16:37
CrazyHorse18 has quit [Ping timeout: 246 seconds]
16:38
wyhaines has joined #ruby-lang
16:39
A124 has joined #ruby-lang
16:40
jgomez has quit [Read error: Connection reset by peer]
16:42
__butch__ has joined #ruby-lang
16:45
tenderlove has joined #ruby-lang
16:45
runeb has joined #ruby-lang
16:45
runeb has quit [Read error: Connection reset by peer]
16:46
runeb has joined #ruby-lang
16:46
chrismcg is now known as zz_chrismcg
16:46
cdt has quit [Quit: Ex-Chat]
16:47
richardjortega has quit [Quit: richardjortega]
16:48
roadt has quit [Ping timeout: 246 seconds]
16:48
nettsundere has quit [Read error: Connection reset by peer]
16:50
runeb has quit [Ping timeout: 252 seconds]
16:56
mmb has joined #ruby-lang
16:57
roadt has joined #ruby-lang
16:58
lcdhoffman has joined #ruby-lang
16:58
<
mmb >
is there any reason that code inside an inherited hook wouldn't be able to see class constants in the subclass?
17:00
burgestrand has joined #ruby-lang
17:01
<
Mon_Ouie >
No, but don't forget constants are lexically scoped
17:01
sduckett has quit [Ping timeout: 260 seconds]
17:02
<
Mon_Ouie >
i.e. just doing AConstantDefinedInASubclass won't work
17:02
alvaro_o has joined #ruby-lang
17:02
justinram has quit [Read error: Connection reset by peer]
17:03
justinram has joined #ruby-lang
17:03
greg- has joined #ruby-lang
17:04
areil has quit [Ping timeout: 246 seconds]
17:04
robotmay has quit [Ping timeout: 260 seconds]
17:05
nettsundere has joined #ruby-lang
17:06
areil has joined #ruby-lang
17:06
heftig has quit [Quit: leaving]
17:07
<
Mon_Ouie >
Oh, wait, of course there's a reason
17:07
cardoni has quit [Ping timeout: 246 seconds]
17:07
<
Mon_Ouie >
The hook is called when the subclass is
*created*
17:07
heftig has joined #ruby-lang
17:07
<
Mon_Ouie >
Thus, before you get a chance to define any constant
17:07
<
erikh >
aren't compilers awesome?
17:08
greg- has quit [Ping timeout: 245 seconds]
17:08
CoverSlide has quit [Quit: leaving]
17:08
CoverSli1e has joined #ruby-lang
17:09
justinram has quit [Remote host closed the connection]
17:10
CoverSli1e is now known as CoverSlide
17:11
jtoy has joined #ruby-lang
17:11
larsthegeek has joined #ruby-lang
17:12
larsthegeek has quit [Client Quit]
17:14
workmad3 has quit [Read error: Operation timed out]
17:16
ruurd_ has quit [Quit: Leaving...]
17:18
intellitech has quit [Ping timeout: 240 seconds]
17:20
irleif has quit [Quit: Computer has gone to sleep.]
17:20
intellitech has joined #ruby-lang
17:21
robotmay has joined #ruby-lang
17:21
sush24 has joined #ruby-lang
17:22
cardoni has joined #ruby-lang
17:30
cardoni has quit [Quit: cardoni]
17:31
__butch__ has quit [Read error: Connection reset by peer]
17:31
__butch__1 has joined #ruby-lang
17:32
irleif has joined #ruby-lang
17:33
irleif has quit [Client Quit]
17:33
__butch__1 has quit [Client Quit]
17:34
cyri_ has quit [Quit: cyri_]
17:35
heftig has quit [Quit: leaving]
17:35
intellitech has quit [Ping timeout: 260 seconds]
17:36
carloslopes has joined #ruby-lang
17:39
Guest1354 is now known as mitchty
17:40
wyhaines has quit [Read error: Connection reset by peer]
17:40
wyhaines has joined #ruby-lang
17:41
sepp2k1 has joined #ruby-lang
17:41
sepp2k has quit [Ping timeout: 260 seconds]
17:41
havenn has joined #ruby-lang
17:42
Axsuul has joined #ruby-lang
17:52
savage- has joined #ruby-lang
17:53
burgestrand has quit [Ping timeout: 248 seconds]
17:54
alexkane has quit [Quit: alexkane]
17:54
ryanlecompte has quit [Ping timeout: 268 seconds]
17:55
brianpWins has joined #ruby-lang
17:55
robotmay has quit [Ping timeout: 246 seconds]
18:01
sduckett has joined #ruby-lang
18:03
Brad_ has joined #ruby-lang
18:03
francisfish has joined #ruby-lang
18:07
gaveen has quit [Ping timeout: 246 seconds]
18:07
ruurd has joined #ruby-lang
18:09
nofxx has quit [Quit: Leaving]
18:09
nofxx has joined #ruby-lang
18:09
nofxx has joined #ruby-lang
18:09
nofxx has quit [Changing host]
18:09
headius has joined #ruby-lang
18:09
irleif has joined #ruby-lang
18:10
nitti has quit [Remote host closed the connection]
18:13
Brad_ has quit [Quit: Page closed]
18:13
Bradley has joined #ruby-lang
18:14
Bradley has quit [Client Quit]
18:15
alexkane has joined #ruby-lang
18:19
justinram has joined #ruby-lang
18:19
mwjcomputing has quit [Quit: Leaving]
18:19
gaveen has joined #ruby-lang
18:19
gaveen has quit [Changing host]
18:19
gaveen has joined #ruby-lang
18:21
culturefuturist has joined #ruby-lang
18:22
malev has quit [Ping timeout: 260 seconds]
18:23
culturefuturist has quit [Client Quit]
18:24
havenn has quit [Remote host closed the connection]
18:24
malev has joined #ruby-lang
18:28
havenn_ has joined #ruby-lang
18:30
culturefuturist has joined #ruby-lang
18:32
intellitech has joined #ruby-lang
18:34
<
culturefuturist >
am I in the chatroom now?
18:35
heftig has joined #ruby-lang
18:35
__butch__ has joined #ruby-lang
18:36
achiu has quit [Read error: Connection reset by peer]
18:38
darkmug has joined #ruby-lang
18:40
nitti has joined #ruby-lang
18:45
brunocoelho has joined #ruby-lang
18:48
gnufied has quit [Quit: Leaving.]
18:50
<
culturefuturist >
Is anyone there, or has the forum died?
18:50
nitti has quit [Ping timeout: 276 seconds]
18:50
Uranio has quit [Quit: WeeChat 0.3.8]
18:52
thatdutchguy has quit [Remote host closed the connection]
18:53
heftig has quit [Quit: leaving]
18:56
enebo has quit [Quit: enebo]
18:57
intellitech has quit [Quit: This computer has gone to sleep]
18:57
heftig has joined #ruby-lang
18:57
sush24 has quit [Quit: This computer has gone to sleep]
18:57
intellitech has joined #ruby-lang
18:59
thatdutchguy has joined #ruby-lang
19:01
havenn_ has quit [Remote host closed the connection]
19:02
cyri_ has joined #ruby-lang
19:02
havenn has joined #ruby-lang
19:02
<
culturefuturist >
Anybody home?
19:02
thatdutchguy has quit [Remote host closed the connection]
19:03
<
brunocoelho >
culturefuturist: I think it's better you post your issue at #rubyonrails
19:04
<
brunocoelho >
I think they are able to help you more
19:04
irleif has quit [Quit: Computer has gone to sleep.]
19:04
brunocoelho has quit [Remote host closed the connection]
19:05
<
mistym >
culturefuturist: People are usually here, sometimes it gets quiet for a bit.
19:10
areil has quit [Remote host closed the connection]
19:10
gnufied has joined #ruby-lang
19:10
gnufied has quit [Client Quit]
19:10
kurko__ has quit [Ping timeout: 245 seconds]
19:11
kurko__ has joined #ruby-lang
19:15
tenderlove has quit [Remote host closed the connection]
19:15
__butch__ has quit [Quit: Leaving.]
19:17
bfreeman has quit [Quit: bfreeman]
19:17
enebo has joined #ruby-lang
19:19
jtoy has quit [Quit: jtoy]
19:20
nofxx has quit [Ping timeout: 246 seconds]
19:20
Serial_Killer_C has joined #ruby-lang
19:29
intellitech has quit [Quit: This computer has gone to sleep]
19:32
rolfb has joined #ruby-lang
19:33
intellitech has joined #ruby-lang
19:37
nofxx has joined #ruby-lang
19:37
nofxx has quit [Changing host]
19:37
nofxx has joined #ruby-lang
19:38
nettsundere has quit [Ping timeout: 260 seconds]
19:39
Sambalero has quit [Remote host closed the connection]
19:40
nitti has joined #ruby-lang
19:40
culturefuturist has quit [Ping timeout: 245 seconds]
19:41
cyri_ has quit [Quit: cyri_]
19:43
intellitech has quit [Quit: This computer has gone to sleep]
19:44
<
whitequark >
erikh: they are!
19:44
rippa has quit [Ping timeout: 255 seconds]
19:45
swarley has joined #ruby-lang
19:47
Serial_Killer_C has quit [Remote host closed the connection]
19:47
intellitech has joined #ruby-lang
19:47
bfreeman has joined #ruby-lang
19:49
<
erikh >
oh. delivered so much snark today I forgot about some of it.
19:51
bfreeman has quit [Client Quit]
19:51
lteo has joined #ruby-lang
19:54
<
lteo >
does anyone happen to know if there's a way to use ruby's Resolv::DNS class to do a DNS query from a selected source IP? (say if i am on a system with multiple public IPs)
19:54
nettsundere has joined #ruby-lang
19:56
enebo has quit [Quit: enebo]
19:57
cyri_ has joined #ruby-lang
19:57
tbuehlmann has quit [Remote host closed the connection]
19:57
jtoy has joined #ruby-lang
20:00
<
erikh >
lteo: not afaik.
20:00
<
lteo >
erikh: thanks for confirming. i thought so too based on the docs
20:01
achiu has joined #ruby-lang
20:02
<
erikh >
Resolv is kind of a weird library, at least the 1.8 version is
20:02
<
erikh >
it doesn't consult nsswitch but it gladly checks /etc/hosts unless you explicitly tell it not to
20:03
<
erikh >
(and you do that by overriding its list of servers, not flipping a bit or anything)
20:04
roadt has quit [Ping timeout: 246 seconds]
20:05
sailias has quit [Quit: Leaving.]
20:06
vlad_starkov has joined #ruby-lang
20:06
alexkane has quit [Quit: alexkane]
20:07
havenn has quit [Remote host closed the connection]
20:08
havenn has joined #ruby-lang
20:08
intellitech has quit [Quit: This computer has gone to sleep]
20:10
jtoy has quit [Quit: jtoy]
20:11
elux has joined #ruby-lang
20:12
rolfb has quit [Quit: Leaving...]
20:12
havenn has quit [Ping timeout: 246 seconds]
20:14
tenderlove has joined #ruby-lang
20:14
intellitech has joined #ruby-lang
20:14
jtoy has joined #ruby-lang
20:15
Artheist has quit [Remote host closed the connection]
20:16
rolfb has joined #ruby-lang
20:16
jtoy has quit [Client Quit]
20:18
enebo has joined #ruby-lang
20:18
dfanjul has joined #ruby-lang
20:18
havenn has joined #ruby-lang
20:19
tenderlo_ has joined #ruby-lang
20:19
mephux has quit [Quit: w0ots...]
20:20
tenderlove has quit [Ping timeout: 246 seconds]
20:20
nitti has quit [Remote host closed the connection]
20:21
mephux has joined #ruby-lang
20:21
nitti has joined #ruby-lang
20:22
Sambalero has joined #ruby-lang
20:23
wyhaines_ has joined #ruby-lang
20:23
woollyams has joined #ruby-lang
20:23
havenn has quit [Read error: Connection reset by peer]
20:24
wyhaine__ has joined #ruby-lang
20:24
havenn has joined #ruby-lang
20:25
wyhaines has quit [Ping timeout: 256 seconds]
20:27
wyhaines_ has quit [Ping timeout: 260 seconds]
20:28
<
rolfb >
anyone have any experience with good libraries for reading/writing xls documents with ruby?
20:29
<
erikh >
spreadsheet gem
20:29
havenn_ has joined #ruby-lang
20:29
havenn has quit [Read error: Connection reset by peer]
20:31
alexkane has joined #ruby-lang
20:32
alexkane has quit [Client Quit]
20:32
erichmenge has quit [Quit: Be back later]
20:33
dfanjul has quit [Quit: leaving]
20:34
havenn_ has quit [Ping timeout: 245 seconds]
20:37
<
drbrain >
there's a better one…
20:40
lcdhoffman has quit [Quit: lcdhoffman]
20:41
richardjortega has joined #ruby-lang
20:41
<
drbrain >
at least, ^^ writes xslsx files
20:41
<
erikh >
xlsx != xls
20:41
<
drbrain >
which Numbers, Office, etc can read
20:42
<
erikh >
I've never had probs with the spreadsheet gem myself, but the author is pretty annoying.
20:43
swarley has quit [Ping timeout: 268 seconds]
20:44
havenn has joined #ruby-lang
20:46
ruurd has quit [Quit: Leaving...]
20:48
dumfries has quit [Excess Flood]
20:49
ulisescab has quit [Remote host closed the connection]
20:50
woollyams has quit [Quit: Computer has gone to sleep.]
20:50
dumfries has joined #ruby-lang
20:54
enebo has quit [Ping timeout: 244 seconds]
20:55
rindolf has quit [Read error: Connection timed out]
20:55
culturefuturist has joined #ruby-lang
20:55
rindolf has joined #ruby-lang
20:55
elux has quit [Quit: Bye!]
20:56
vlad_starkov has quit [Ping timeout: 244 seconds]
20:56
vlad_starkov has joined #ruby-lang
20:59
<
tdy >
best bet is #rubyonrails
21:00
rindolf has quit [Client Quit]
21:01
blowmage` has left #ruby-lang [#ruby-lang]
21:01
sepp2k1 has quit [Remote host closed the connection]
21:01
blowmage has joined #ruby-lang
21:05
havenn has quit [Remote host closed the connection]
21:06
lele has quit [Quit: Coyote finally caught me]
21:06
kurko__ has quit [Ping timeout: 245 seconds]
21:06
lele has joined #ruby-lang
21:07
slyphon has quit [Quit: WeeChat 0.3.8]
21:08
kurko__ has joined #ruby-lang
21:09
wmoxam has quit [Quit: leaving]
21:11
havenn has joined #ruby-lang
21:12
rolfb has quit [Quit: Leaving...]
21:13
Asher has quit [Quit: Leaving.]
21:14
Asher has joined #ruby-lang
21:14
scampbell has quit [Remote host closed the connection]
21:14
Mon_Ouie has quit [Remote host closed the connection]
21:16
nitti has quit [Remote host closed the connection]
21:18
headius has quit [Quit: headius]
21:18
nitti has joined #ruby-lang
21:23
<
culturefuturist >
ok. Thanks tdy
21:24
culturefuturist has quit [Quit: Page closed]
21:25
irleif has joined #ruby-lang
21:28
CrazyHorse181 has quit [Quit: Leaving.]
21:28
havenn has quit [Remote host closed the connection]
21:32
jamjam has joined #ruby-lang
21:34
justinmcp has joined #ruby-lang
21:41
carloslopes has quit [Quit: Leaving.]
21:42
HikkiJP has joined #ruby-lang
21:42
kurko__ has quit [Ping timeout: 240 seconds]
21:43
rolfb has joined #ruby-lang
21:45
kurko__ has joined #ruby-lang
21:46
agile has quit [Ping timeout: 246 seconds]
21:50
imajes has quit [Excess Flood]
21:52
intellitech has quit [Quit: Leaving]
21:52
imajes has joined #ruby-lang
21:53
rolfb has quit [Ping timeout: 265 seconds]
21:53
havenn has joined #ruby-lang
21:54
nitti has quit [Quit: Leaving...]
21:54
CrazyHorse18 has joined #ruby-lang
21:55
wyhaine__ has quit [Remote host closed the connection]
21:56
vlad_starkov has quit [Remote host closed the connection]
21:56
justinmcp has quit [Remote host closed the connection]
21:57
CrazyHorse181 has joined #ruby-lang
21:57
Serial_Killer_C has joined #ruby-lang
21:57
gsav has quit [Quit: Lost terminal]
21:58
headius has joined #ruby-lang
21:58
CrazyHorse18 has quit [Ping timeout: 248 seconds]
21:58
<
zzak >
you ever wait for your cat to yawn, and stick a pen in his mouth?
21:59
<
zzak >
or your finger
21:59
Serial_Killer_C has quit [Remote host closed the connection]
21:59
headius has quit [Client Quit]
22:01
VGoff is now known as VGoff_afk
22:02
VGoff_afk is now known as VGoff
22:05
klaut has joined #ruby-lang
22:10
lcdhoffman has joined #ruby-lang
22:12
justinram has quit [Remote host closed the connection]
22:14
siyusong has joined #ruby-lang
22:14
mistym has quit [Remote host closed the connection]
22:15
juppcamper has joined #ruby-lang
22:15
lcdhoffman has quit [Quit: lcdhoffman]
22:15
agile has joined #ruby-lang
22:16
juppcamper has left #ruby-lang [#ruby-lang]
22:17
workmad3 has joined #ruby-lang
22:19
agarie has joined #ruby-lang
22:19
dpatel has quit [Ping timeout: 246 seconds]
22:20
kurko__ has quit [Quit: Computer has gone to sleep.]
22:22
__butch__ has joined #ruby-lang
22:22
justinmcp has joined #ruby-lang
22:22
dpatel has joined #ruby-lang
22:24
woollyams has joined #ruby-lang
22:26
HikkiJP has quit [Ping timeout: 252 seconds]
22:28
__butch__ has quit [Quit: Leaving.]
22:29
solars has quit [Read error: Operation timed out]
22:30
malev has quit [Ping timeout: 276 seconds]
22:30
jeffreyhood has joined #ruby-lang
22:31
havenn has quit [Remote host closed the connection]
22:31
Kero has joined #ruby-lang
22:31
cyri_ has quit [Quit: cyri_]
22:32
jeffreyhood has quit [Quit: Leaving]
22:32
<
jaimef >
is there an alternative to Fixnum#gigabytes?
22:33
<
drbrain >
what is Fixnum#gigabytes?
22:33
<
drbrain >
oh, an activesupport thing
22:34
<
jaimef >
some sort of activesupport converter to fixnum * (1024 * 1024)
22:34
thatdutchguy has joined #ruby-lang
22:35
<
drbrain >
or even (5 / 1E9).floor
22:35
A124 has quit [Quit: Leaving.]
22:38
__butch__ has joined #ruby-lang
22:38
krohrbaugh1 has joined #ruby-lang
22:38
mistym has joined #ruby-lang
22:40
krohrbaugh has quit [Ping timeout: 246 seconds]
22:44
siyusong has quit [Quit: Computer has gone to sleep.]
22:44
tenderlo_ has quit [Remote host closed the connection]
22:45
rmascarenhas has quit [Ping timeout: 276 seconds]
22:45
sandbags has quit [Remote host closed the connection]
22:49
Mon_Ouie has joined #ruby-lang
22:49
rolfb has joined #ruby-lang
22:52
wyhaines has joined #ruby-lang
22:54
rolfb has quit [Ping timeout: 272 seconds]
22:54
fletch_ has quit []
22:55
irleif has quit [Quit: Computer has gone to sleep.]
22:58
agarie has quit [Remote host closed the connection]
22:59
tenderlove has joined #ruby-lang
23:07
slyphon has joined #ruby-lang
23:07
vlad_starkov has joined #ruby-lang
23:09
gsav has joined #ruby-lang
23:10
__butch__ has quit [Quit: Leaving.]
23:11
vlad_starkov has quit [Ping timeout: 246 seconds]
23:18
postmodern has joined #ruby-lang
23:19
tenderlove has quit [Remote host closed the connection]
23:19
gsav has left #ruby-lang [#ruby-lang]
23:23
wyhaines_ has joined #ruby-lang
23:23
gaveen has quit [Remote host closed the connection]
23:24
wyhaines has quit [Ping timeout: 255 seconds]
23:27
QaDeS has quit [Quit: Ex-Chat]
23:29
irleif has joined #ruby-lang
23:32
wyhaines_ has quit [Remote host closed the connection]
23:33
irleif has quit [Client Quit]
23:33
WillMarshall has joined #ruby-lang
23:40
erichmenge has joined #ruby-lang
23:43
lsegal has joined #ruby-lang
23:48
toretore has quit [Quit: Leaving]
23:49
rolfb has joined #ruby-lang
23:49
ryanf has joined #ruby-lang
23:53
kurko__ has joined #ruby-lang
23:53
rolfb has quit [Ping timeout: 260 seconds]
23:57
kurko__ has quit [Ping timeout: 245 seconds]
23:59
kurko__ has joined #ruby-lang