00:00
brianpWins has quit [Quit: brianpWins]
00:03
gregmoreno has quit [Remote host closed the connection]
00:07
ryanv-raptor has joined #ruby-lang
00:07
ryanv-raptor has quit [Client Quit]
00:10
Nisstyre-laptop has joined #ruby-lang
00:11
jtoy has quit [Quit: jtoy]
00:11
sush24_ has joined #ruby-lang
00:12
sush24 has quit [Read error: Connection reset by peer]
00:12
esad has quit [Ping timeout: 255 seconds]
00:15
tenderlove has quit [Remote host closed the connection]
00:16
tenderlove has joined #ruby-lang
00:17
madish has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121026125834]]
00:17
tbuehlmann has joined #ruby-lang
00:18
<
atmosx >
I use YAML::ENGINE.yamler='syck' with yaml, instead of psych.
00:18
<
atmosx >
adjusts some issues
00:19
<
zzak >
atmosx: you should consider switching, syck hasnt been maintained for a very long time now
00:20
<
atmosx >
zzak: yeah but doesn't give utf-8 troubles that psych does. I need proper Greek UTF8 support.
00:20
<
atmosx >
zzak: thanks for th einfo though, I had no idea.
00:20
robotmay has quit [Remote host closed the connection]
00:20
tenderlove has quit [Ping timeout: 248 seconds]
00:22
justinram has quit [Remote host closed the connection]
00:22
esad has joined #ruby-lang
00:23
<
atmosx >
zzak: okay
00:24
krz has quit [Quit: krz]
00:26
tenderlove has joined #ruby-lang
00:26
dankest has joined #ruby-lang
00:26
mpan has joined #ruby-lang
00:27
Fretta has joined #ruby-lang
00:28
<
zzak >
atmosx: syck is also completely removed from ruby 2.0, and youll have to install the gem (which isnt maintained) in order to still use it
00:29
<
atmosx >
k, I'll switch back asap
00:30
Asher has quit [Ping timeout: 264 seconds]
00:31
v0lta has quit [Remote host closed the connection]
00:32
m3nd3s has joined #ruby-lang
00:34
yfeldblum has joined #ruby-lang
00:36
<
zzak >
atmosx: do it, and dont be afraid to ask questions if you get stuck or run into a bug
00:36
RWN has joined #ruby-lang
00:37
RWN has quit [Remote host closed the connection]
00:37
itsmeduncan has joined #ruby-lang
00:38
shtirlic has quit [Remote host closed the connection]
00:39
ruby-lang233 has joined #ruby-lang
00:40
ruby-lang233 has quit [Client Quit]
00:41
mrsolo has quit [Quit: This computer has gone to sleep]
00:41
wyhaines has quit [Remote host closed the connection]
00:43
methods has joined #ruby-lang
00:43
methods has quit [Remote host closed the connection]
00:45
imperator has joined #ruby-lang
00:45
ryanf has quit [Ping timeout: 264 seconds]
00:46
blazes816 has quit [Ping timeout: 244 seconds]
00:46
jtoy has joined #ruby-lang
00:48
sailias has quit [Quit: Leaving.]
00:48
itsmeduncan has quit [Quit: itsmeduncan]
00:49
jonahR has quit [Quit: jonahR]
00:49
__butch__ has quit [Quit: Leaving.]
00:51
stevechiagozie has joined #ruby-lang
00:53
sush24_ has quit [Quit: Leaving]
00:54
yxhuvud2 has joined #ruby-lang
00:54
sailias has joined #ruby-lang
00:55
davidbalbert is now known as davidbalber|away
00:55
|_ is now known as `\
00:56
yxhuvud has quit [Ping timeout: 264 seconds]
00:56
KA_ has joined #ruby-lang
00:57
stevechiagozie has quit [Quit: Computer has gone to sleep.]
00:58
musl has quit [Quit: Terminal is F****'d]
00:58
nazty has quit [Quit: Leaving]
00:59
musl has joined #ruby-lang
00:59
musl has quit [Client Quit]
00:59
nazty has joined #ruby-lang
01:00
sailias has quit [Quit: Leaving.]
01:02
musl has joined #ruby-lang
01:06
ilyam has quit [Quit: ilyam]
01:08
<
Paradox >
who wants to know what i get to code
01:08
<
Paradox >
its a fun project of fun
01:11
Guest29624 has quit [Quit: WeeChat 0.3.9.2]
01:12
megha has joined #ruby-lang
01:13
decal has quit [Quit: leaving]
01:14
gaveen has quit [Ping timeout: 248 seconds]
01:17
arooni-mobile has joined #ruby-lang
01:17
megha has quit [Quit: WeeChat 0.3.9.2]
01:19
dankest is now known as dankest|away
01:19
kurko_ has quit [Ping timeout: 256 seconds]
01:21
sepp2k1 has quit [Remote host closed the connection]
01:23
gix has quit [Ping timeout: 246 seconds]
01:25
arooni-mobile has quit [Ping timeout: 248 seconds]
01:26
dankest|away has quit [Quit: Leaving...]
01:29
gix has joined #ruby-lang
01:30
jondot` has quit [Ping timeout: 244 seconds]
01:30
`\ is now known as pythonsnake
01:34
macmartine has joined #ruby-lang
01:41
arooni-mobile has joined #ruby-lang
01:41
sn0wb1rd has quit [Quit: I will be right back]
01:41
cableray has joined #ruby-lang
01:42
asaaki has quit [Ping timeout: 255 seconds]
01:44
dwu1 has joined #ruby-lang
01:44
mistym has joined #ruby-lang
01:44
mistym has joined #ruby-lang
01:44
mistym has quit [Changing host]
01:45
imperator has quit [Quit: This computer has gone to sleep]
01:45
megha has joined #ruby-lang
01:47
megha has quit [Client Quit]
01:50
<
pythonsnake >
Paradox: me
01:50
<
pythonsnake >
Paradox: me
01:50
KA_ has quit [Read error: Connection reset by peer]
01:50
KA_ has joined #ruby-lang
01:53
asaaki has joined #ruby-lang
01:54
yxhuvud has joined #ruby-lang
01:55
megha has joined #ruby-lang
01:56
yxhuvud2 has quit [Ping timeout: 265 seconds]
01:59
KA__ has joined #ruby-lang
01:59
KA__ has quit [Read error: Connection reset by peer]
02:00
KA_ has quit [Read error: Connection reset by peer]
02:00
KA_ has joined #ruby-lang
02:01
KA__ has joined #ruby-lang
02:03
jtoy has quit [Quit: jtoy]
02:03
KA__ has quit [Read error: Connection reset by peer]
02:04
arooni-mobile has quit [Quit: Leaving]
02:04
stevechiagozie has joined #ruby-lang
02:04
KA__ has joined #ruby-lang
02:04
KA_ has quit [Ping timeout: 244 seconds]
02:04
KA__ is now known as KA_
02:04
ryanf has joined #ruby-lang
02:05
megha has quit [Read error: Connection reset by peer]
02:06
_knitetemplar has joined #ruby-lang
02:07
KA__ has joined #ruby-lang
02:07
ryanf has quit [Read error: Connection reset by peer]
02:07
KA__ has quit [Read error: Connection reset by peer]
02:08
KA_ has quit [Read error: Connection reset by peer]
02:09
ryanf has joined #ruby-lang
02:12
ilyam has joined #ruby-lang
02:12
ilyam has quit [Client Quit]
02:14
stonerfish has quit [Ping timeout: 276 seconds]
02:14
gaveen has joined #ruby-lang
02:14
gaveen has quit [Changing host]
02:14
gaveen has joined #ruby-lang
02:15
esad has joined #ruby-lang
02:18
voker57 has quit [Read error: Connection reset by peer]
02:19
charliesome has joined #ruby-lang
02:19
voker57 has joined #ruby-lang
02:20
AndChat| has joined #ruby-lang
02:22
Banistergalaxy has quit [Ping timeout: 265 seconds]
02:22
justinseiter has quit [Ping timeout: 252 seconds]
02:23
hahuang65_ has quit [Quit: Computer has gone to sleep.]
02:25
esad has quit [Quit: Computer has gone to sleep.]
02:30
lsegal has joined #ruby-lang
02:31
atmosx has quit [Quit: And so the story goes…]
02:33
stonerfish has joined #ruby-lang
02:33
sailias has joined #ruby-lang
02:35
marcostoledo has joined #ruby-lang
02:36
justinseiter has joined #ruby-lang
02:38
tbuehlmann has quit [Ping timeout: 248 seconds]
02:50
faces has quit [Read error: No route to host]
02:53
Asher has joined #ruby-lang
02:54
yxhuvud2 has joined #ruby-lang
02:56
yxhuvud has quit [Ping timeout: 264 seconds]
03:03
havenn has quit [Remote host closed the connection]
03:04
imperator has joined #ruby-lang
03:07
jonahR has joined #ruby-lang
03:08
jonahR has quit [Client Quit]
03:08
jonahR has joined #ruby-lang
03:10
sn0wb1rd has joined #ruby-lang
03:11
gix has quit [Ping timeout: 252 seconds]
03:12
alvaro_o has quit [Quit: Ex-Chat]
03:13
m3nd3s has quit [Remote host closed the connection]
03:13
bluepojo has quit [Ping timeout: 264 seconds]
03:13
Stormpath has left #ruby-lang [#ruby-lang]
03:15
pbjorklund has quit [Read error: Connection reset by peer]
03:15
gix has joined #ruby-lang
03:16
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
03:17
pkrnj has joined #ruby-lang
03:18
diegoviola has quit [Quit: WeeChat 0.3.9.2]
03:20
pbjorklund has joined #ruby-lang
03:24
Rarrikins has quit [Ping timeout: 255 seconds]
03:26
justinseiter has quit [Ping timeout: 255 seconds]
03:46
cirenyc has joined #ruby-lang
03:50
havenn has joined #ruby-lang
03:51
stevechiagozie has quit [Quit: Computer has gone to sleep.]
03:54
yxhuvud has joined #ruby-lang
03:55
stardiviner has joined #ruby-lang
03:56
yxhuvud2 has quit [Ping timeout: 248 seconds]
03:57
macmartine has joined #ruby-lang
03:59
jbsan has quit [Quit: jbsan]
04:00
jbsan has joined #ruby-lang
04:00
sailias has quit [Quit: Leaving.]
04:01
stevechiagozie has joined #ruby-lang
04:04
Antiarc has quit [Read error: Operation timed out]
04:05
rsl has quit [Quit: Computer has gone to sleep.]
04:06
glebm has joined #ruby-lang
04:09
Antiarc has joined #ruby-lang
04:10
cored has quit [Ping timeout: 252 seconds]
04:29
AndChat| has quit [Ping timeout: 248 seconds]
04:30
Banistergalaxy has joined #ruby-lang
04:31
macmartine has quit [Quit: Computer has gone to sleep.]
04:35
macmartine has joined #ruby-lang
04:40
cyberrodent has joined #ruby-lang
04:41
_knitetemplar has quit [Remote host closed the connection]
04:49
savage- has joined #ruby-lang
04:50
Croms has joined #ruby-lang
04:51
spuk has joined #ruby-lang
04:53
xalei has joined #ruby-lang
04:54
yxhuvud2 has joined #ruby-lang
04:58
yxhuvud has quit [Ping timeout: 256 seconds]
05:00
havenn has quit [Remote host closed the connection]
05:07
savage- has quit [Quit: savage-]
05:11
martamccasland has joined #ruby-lang
05:11
randallagordon has joined #ruby-lang
05:12
savage- has joined #ruby-lang
05:12
stevechiagozie has quit [Quit: Computer has gone to sleep.]
05:21
gsav has joined #ruby-lang
05:23
savage- has quit [Quit: savage-]
05:30
jroid has joined #ruby-lang
05:31
<
jroid >
Can anyone explain to me what defining a function with an = does? Ex. def resource_type=(resource_type)
05:31
gsav has quit [Ping timeout: 255 seconds]
05:32
<
mistym >
It supplies a default value for the argument when it's not passed.
05:33
<
mistym >
E.g. def foo(arg='bar'); puts arg; end. foo() #=> 'bar'. foo('baz') #=> 'baz'
05:34
itsmeduncan has joined #ruby-lang
05:37
<
jroid >
I do understand the foo example, the code i've come across looks slightly different, specifically the position of the = sign.
05:38
<
jroid >
I'm baffled
05:40
itsmeduncan has quit [Quit: itsmeduncan]
05:43
Fretta has quit [Quit: Fretta]
05:45
sailias has joined #ruby-lang
05:47
savagecroc has joined #ruby-lang
05:48
<
savagecroc >
hmm what's a good way of getting rid of all the 0's after the first non 0 when working backwards in the array.. e.g. [1,0,0,1,0,0] = 1.0.0.1 [1,0,0,0,0] = 1 [0,1,0,2,0] = 0.1.0.2 [0.0.0.0.1] = 0.0.0.0.1
05:48
macmartine has quit [Read error: Connection reset by peer]
05:50
bzb has joined #ruby-lang
05:51
macmartine has joined #ruby-lang
05:52
bzb has quit [Client Quit]
05:52
<
macmartine >
imperatorL convention. optional
05:52
<
macmartine >
imperator: ^
05:53
<
macmartine >
as is other punctuation such as ! and ?
05:53
<
jroid >
imperator: thanks
05:54
socialcoder has joined #ruby-lang
05:54
<
socialcoder >
hello
05:54
yxhuvud has joined #ruby-lang
05:54
<
socialcoder >
Classes in Ruby are first-class objects---each is an instance of class Class.
05:54
<
socialcoder >
trying to figure out what that means
05:54
<
socialcoder >
can anyone decode it for me please
05:55
<
socialcoder >
class Class? what is that
05:55
cableray has quit [Ping timeout: 276 seconds]
05:55
<
socialcoder >
anyone?
05:56
yxhuvud2 has quit [Ping timeout: 248 seconds]
05:59
<
ryanf >
socialcoder: every object has a class
05:59
<
ryanf >
Class is a class
05:59
<
ryanf >
classes are objects of the type Class
05:59
dankest has joined #ruby-lang
05:59
<
ryanf >
in the same way that strings are objects of the type String
06:00
<
socialcoder >
true, but at the very basic, what is a class?
06:00
<
socialcoder >
Is it some kind of a blueprint? like a table of content?
06:00
<
macmartine >
socialcoder: you can't have a class without it eventually being of type Class. Going up the hierarchy.
06:00
<
socialcoder >
also class with small letter c and Capital letter c is different?
06:00
<
macmartine >
Read about inheritance
06:01
havenn has joined #ruby-lang
06:01
<
macmartine >
socialcoder: a child is of the human class, as is an adult
06:02
<
socialcoder >
ah I see
06:02
<
socialcoder >
that makes more sense
06:03
<
macmartine >
socialcoder: as is a grandmother and cousin, but they all may have slightly (or drastically) different characterstics
06:03
<
macmartine >
socialcoder: but they are all of the same class
06:04
<
socialcoder >
the human class
06:05
havenn has quit [Ping timeout: 248 seconds]
06:06
mpan has quit [Ping timeout: 264 seconds]
06:06
<
socialcoder >
going there now
06:06
<
socialcoder >
I was at ruby doic
06:06
<
socialcoder >
but it was very technical for a newbie like me
06:06
<
macmartine >
read both
06:09
guns has joined #ruby-lang
06:09
socialcoder has quit []
06:16
Nisstyre-laptop has quit [Read error: Connection reset by peer]
06:17
fjfish has joined #ruby-lang
06:18
Nisstyre-laptop has joined #ruby-lang
06:20
gaveen has quit [Ping timeout: 248 seconds]
06:20
francisfish has quit [Ping timeout: 248 seconds]
06:21
macmartine has quit [Quit: Computer has gone to sleep.]
06:22
imperator has left #ruby-lang ["Leaving"]
06:22
pkrnj has quit [Quit: Computer has gone to sleep.]
06:24
xalei has quit [Remote host closed the connection]
06:25
kiddorails has joined #ruby-lang
06:26
dankest is now known as dankest|away
06:26
hahuang65_ has joined #ruby-lang
06:30
pkrnj has joined #ruby-lang
06:31
pkrnj has quit [Client Quit]
06:37
cableray has joined #ruby-lang
06:40
<
savagecroc >
i'm getting setfacl: /srv: Invalid argument when running setfacl --modify user:blix_int:r-x /srv
06:40
<
savagecroc >
any ideas why?
06:40
<
savagecroc >
wrong chan
06:41
hahuang65_ has quit [Quit: Computer has gone to sleep.]
06:43
ryanf_ has joined #ruby-lang
06:44
guns has quit [Quit: guns]
06:46
savage- has joined #ruby-lang
06:48
ryanf has quit [Ping timeout: 255 seconds]
06:48
sailias has quit [Read error: Connection reset by peer]
06:51
ryanf_ has quit [Read error: Connection reset by peer]
06:51
ericmuyser has joined #ruby-lang
06:51
ryanf has joined #ruby-lang
06:54
yxhuvud2 has joined #ruby-lang
06:57
yxhuvud has quit [Ping timeout: 246 seconds]
06:58
mercwithamouth has quit [Ping timeout: 276 seconds]
06:58
mjbamford has joined #ruby-lang
07:03
cableray has quit [Ping timeout: 252 seconds]
07:03
ryanf has quit [Quit: broken pipes |||]
07:04
Croms has quit [Quit: Croms]
07:08
ryanf has joined #ruby-lang
07:09
cyberrodent has quit [Ping timeout: 276 seconds]
07:23
dankest|away is now known as dankest
07:30
dhruvasagar has quit [Ping timeout: 255 seconds]
07:33
andrewhl has quit [Remote host closed the connection]
07:40
dankest is now known as dankest|away
07:40
dankest|away has quit [Quit: Leaving...]
07:47
<
alec >
do a lot of rails devs telecommute?
07:54
yxhuvud has joined #ruby-lang
07:57
yxhuvud2 has quit [Ping timeout: 264 seconds]
07:57
Mon_Ouie has joined #ruby-lang
07:59
kiddorails has quit [Ping timeout: 265 seconds]
08:00
swav has quit [Remote host closed the connection]
08:00
megha has joined #ruby-lang
08:01
megha is now known as security
08:01
swav has joined #ruby-lang
08:01
security is now known as firewall
08:06
swav has quit [Ping timeout: 276 seconds]
08:10
hakunin_ has joined #ruby-lang
08:11
hakunin has quit [Read error: Connection reset by peer]
08:14
tonni has quit [Remote host closed the connection]
08:14
soypirate has joined #ruby-lang
08:26
savage- has quit [Quit: savage-]
08:26
solars has joined #ruby-lang
08:28
Axsuul has quit [Ping timeout: 256 seconds]
08:30
kiddorails has joined #ruby-lang
08:30
serhart has quit [Quit: Leaving.]
08:30
larrylv has joined #ruby-lang
08:38
mistym has quit [Remote host closed the connection]
08:39
savagecroc has quit [Ping timeout: 252 seconds]
08:42
firewall has quit [Quit: WeeChat 0.3.9.2]
08:42
megha has joined #ruby-lang
08:43
megha is now known as firewall
08:43
soypirate has quit [Remote host closed the connection]
08:46
pbjorklund has quit [Read error: Connection reset by peer]
08:46
pbjorklund has joined #ruby-lang
08:48
larrylv has quit [Ping timeout: 248 seconds]
08:51
jroid has quit [Quit: ChatZilla 0.9.89 [Firefox 18.0/20130104151925]]
08:54
yxhuvud2 has joined #ruby-lang
08:57
yxhuvud has quit [Ping timeout: 264 seconds]
09:04
stonerfish has quit [Quit: Leaving.]
09:07
richardburton has joined #ruby-lang
09:08
richardburton has quit [Quit: Leaving.]
09:12
firewall has quit [Ping timeout: 248 seconds]
09:12
MaddinXx has joined #ruby-lang
09:12
yxhuvud2 has quit [Ping timeout: 276 seconds]
09:13
rippa has joined #ruby-lang
09:15
martamccasland has quit [Ping timeout: 246 seconds]
09:15
yxhuvud has joined #ruby-lang
09:16
yxhuvud has quit [Client Quit]
09:17
yxhuvud has joined #ruby-lang
09:18
kiddorails1 has joined #ruby-lang
09:19
apeiros_ has quit [Remote host closed the connection]
09:20
apeiros_ has joined #ruby-lang
09:22
kiddorails has quit [Ping timeout: 252 seconds]
09:26
karasawa has joined #ruby-lang
09:27
firewall has joined #ruby-lang
09:31
ssspiff has quit [Remote host closed the connection]
09:34
justinram has joined #ruby-lang
09:34
kain has quit [Ping timeout: 255 seconds]
09:35
sspiff has joined #ruby-lang
09:35
sspiff has quit [Changing host]
09:35
sspiff has joined #ruby-lang
09:36
larrylv has joined #ruby-lang
09:36
dhruvasagar has joined #ruby-lang
09:36
<
manveru >
alec: try #rubyonrails :)
09:38
karasawa has quit [Ping timeout: 276 seconds]
09:39
<
reactormonk >
manveru, we need a bot with a lengthy enough forward to rubyonrails so we can justify using the bot
09:39
<
manveru >
bots usually don't survive for long in here
09:41
io_syl has quit [Ping timeout: 246 seconds]
09:45
karasawa has joined #ruby-lang
09:45
kain has joined #ruby-lang
09:49
io_syl has joined #ruby-lang
09:49
martamccasland has joined #ruby-lang
09:50
dkhaburdzania has joined #ruby-lang
09:50
adambeynon has joined #ruby-lang
09:51
nkr has joined #ruby-lang
09:55
dkhaburdzania has quit [Quit: Leaving...]
09:56
bright_day has joined #ruby-lang
09:56
<
bright_day >
so i have some understanding of ruby like how it works code blocks IO and kind of just general understanding and i want to build web application using sinatra also i'm reading book programming ruby 1.9 so what you think should i first read this book and get better understanding of ruby and after that learn sinatra and built this web application or just write this web application and i will understand ruby better on my way?
10:00
tenderlove has quit [Remote host closed the connection]
10:01
tenderlove has joined #ruby-lang
10:05
tbuehlmann has joined #ruby-lang
10:06
tenderlove has quit [Ping timeout: 264 seconds]
10:06
swav has joined #ruby-lang
10:10
<
reactormonk >
bright_day, write a prototype, add comments where you think your code looks ugly and see if you find a way to make it better.
10:11
jxie has quit [Quit: leaving]
10:13
xcombelle has joined #ruby-lang
10:19
x2q has joined #ruby-lang
10:21
ryanf has quit [Ping timeout: 264 seconds]
10:22
<
apeiros_ >
hrmpf, how can I suppress C generated warnings? reassigning $stderr doesn't cut it
10:22
<
apeiros_ >
(e.g. reassigning to a constant)
10:23
<
apeiros_ >
oh… wait…
10:23
<
apeiros_ >
stupid me… used the wrong method :D
10:23
<
apeiros_ >
reassigning $stderr works
10:29
wallerdev has quit [Quit: wallerdev]
10:29
wallerdev has joined #ruby-lang
10:32
tenderlove has joined #ruby-lang
10:35
jonahR has quit [Quit: jonahR]
10:42
shtirlic has joined #ruby-lang
10:46
kiddorails1 has quit [Read error: Connection reset by peer]
10:46
kiddorails has joined #ruby-lang
10:47
ericmuyser has quit [Quit: ericmuyser]
10:48
karasawa has quit [Ping timeout: 260 seconds]
10:57
caemir has left #ruby-lang ["Je pars..."]
11:00
Nisstyre-laptop has quit [Quit: Leaving]
11:08
LanceHaig has joined #ruby-lang
11:08
lele has quit [Ping timeout: 246 seconds]
11:09
toretore has joined #ruby-lang
11:11
kiddorails has quit [Quit: Leaving.]
11:11
kiddorails1 has joined #ruby-lang
11:17
wallerdev has quit [Quit: wallerdev]
11:17
sandbags has joined #ruby-lang
11:17
sandbags has quit [Changing host]
11:17
sandbags has joined #ruby-lang
11:22
robotmay has joined #ruby-lang
11:24
jondot` has joined #ruby-lang
11:27
<
Mon_Ouie >
Doesn't it also work to set $WARN to nil?
11:27
voker57 has quit [Ping timeout: 255 seconds]
11:28
<
Mon_Ouie >
Ah, apparently that's the default
11:28
<
Mon_Ouie >
Maybe I'm thinking of $VERBOSE then
11:28
dous has quit [Remote host closed the connection]
11:28
* apeiros_
works on PrettyYaml
11:28
<
apeiros_ >
working with badly formatted locale files sucks the life out of me :)
11:29
dous has joined #ruby-lang
11:31
<
apeiros_ >
anybody happen to know how to manually read a .gemspec file? (manually still allows the use of all Gem::* classes)
11:32
bright_day has quit [Remote host closed the connection]
11:32
<
injekt >
apeiros_: what?
11:33
<
apeiros_ >
ah, Gem::Specification.load(path) seems to do it
11:33
<
injekt >
'manually read' was a little ambiguous
11:34
<
apeiros_ >
yeah, I know, that's why I added the stuff in ()
11:34
<
apeiros_ >
but obviously still not clear enough :)
11:37
kiddorails has joined #ruby-lang
11:41
kiddorails1 has quit [Ping timeout: 276 seconds]
11:43
rsl has joined #ruby-lang
11:47
<
apeiros_ >
hm, the "|" string notation in yaml can't seem to have multiple trailing newlines…
11:47
<
apeiros_ >
and the indented string notation can't have any trailing newlines at all…
11:55
dwu1 has quit [Quit: Leaving.]
12:04
esad has joined #ruby-lang
12:05
christeraustad has joined #ruby-lang
12:05
atmosx has joined #ruby-lang
12:11
madish has joined #ruby-lang
12:21
shtirlic has quit [Remote host closed the connection]
12:21
shtirlic has joined #ruby-lang
12:26
shtirlic has quit [Ping timeout: 246 seconds]
12:30
firewall has quit [Ping timeout: 246 seconds]
12:33
ViPi has joined #ruby-lang
12:33
kiddorails has quit [Ping timeout: 255 seconds]
12:34
atmosx has quit [Quit: And so the story goes…]
12:35
serhart has joined #ruby-lang
12:44
Rarrikins has joined #ruby-lang
12:44
MaddinXx has quit [Remote host closed the connection]
12:46
firewall has joined #ruby-lang
12:48
vlad_starkov has joined #ruby-lang
12:49
ddv has joined #ruby-lang
12:49
vlad_starkov has quit [Read error: Connection reset by peer]
12:50
ddv has quit [Changing host]
12:50
ddv has joined #ruby-lang
12:50
vlad_starkov has joined #ruby-lang
12:54
blacktulip has joined #ruby-lang
12:55
christeraustad has quit [Quit: christeraustad]
12:59
sepp2k has joined #ruby-lang
13:05
kiddorails has joined #ruby-lang
13:09
imperator has joined #ruby-lang
13:12
larrylv has quit [Remote host closed the connection]
13:13
mercwithamouth has joined #ruby-lang
13:17
mercwithamouth has quit [Ping timeout: 240 seconds]
13:18
esad has quit [Quit: Computer has gone to sleep.]
13:19
mercwithamouth has joined #ruby-lang
13:19
x0F has quit [Disconnected by services]
13:19
x0F_ has joined #ruby-lang
13:19
x0F_ is now known as x0F
13:21
justinram has quit [Remote host closed the connection]
13:22
justinram has joined #ruby-lang
13:24
<
Spaceghost|cloud >
multiple trailing newlines?
13:25
<
Spaceghost|cloud >
The | has to be on each line of the block of text, no?
13:25
<
apeiros_ >
with yaml? no
13:25
xcombelle has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC.]
13:26
<
apeiros_ >
YAML.load "foo: |\n bar\n baz\n\n\n" # => {"foo"=>"bar\nbaz\n"}
13:27
<
apeiros_ >
seems the only way to preserve trailing newlines is by quoting the string
13:28
mercwithamouth has quit [Ping timeout: 240 seconds]
13:30
emocakes has joined #ruby-lang
13:31
postmodern has quit [Quit: Leaving]
13:34
* apeiros_
wants Dir.glob_first to be part of core
13:35
banister`sleep has joined #ruby-lang
13:36
<
imperator >
what would that do?
13:37
nyuszika7h has quit [Read error: Connection reset by peer]
13:37
<
apeiros_ >
the same as Dir.enum_for(:glob, pattern).first
13:37
itsmeduncan has joined #ruby-lang
13:37
<
apeiros_ >
i.e., abort on first match and return it
13:38
<
heftig >
not so useful if you can't control the sort
13:39
<
apeiros_ >
glob is sorted
13:40
<
apeiros_ >
hm, though it depends on the system
13:40
<
apeiros_ >
ok, true, sort order would need to be platform independent
13:43
larrylv has joined #ruby-lang
13:45
jonahR has joined #ruby-lang
13:48
nyuszika7h has joined #ruby-lang
13:49
rsl has joined #ruby-lang
13:49
larrylv has quit [Ping timeout: 252 seconds]
13:49
runeb has joined #ruby-lang
13:52
banister`sleep has quit [Remote host closed the connection]
13:54
mytrile has joined #ruby-lang
14:01
workmad3 has joined #ruby-lang
14:02
itsmeduncan has quit [Quit: itsmeduncan]
14:03
sepp2k has quit [Ping timeout: 248 seconds]
14:03
mercwithamouth has joined #ruby-lang
14:04
neocoin_ has quit [Remote host closed the connection]
14:05
kgrz has joined #ruby-lang
14:06
wycats_ has quit [Quit: Planned maintenance, back soon]
14:06
anildigital_work has quit [Quit: Planned maintenance, back soon]
14:06
bpot has quit [Quit: Planned maintenance, back soon]
14:06
agib__ has quit [Quit: Planned maintenance, back soon]
14:06
pkondzior__ has quit [Quit: Planned maintenance, back soon]
14:06
thejspr__ has quit [Quit: Planned maintenance, back soon]
14:06
herpless_ has quit [Quit: Planned maintenance, back soon]
14:06
abuiles_ has quit [Quit: Planned maintenance, back soon]
14:06
beawesomeinstead has quit [Quit: Planned maintenance, back soon]
14:06
akahn has quit [Quit: Planned maintenance, back soon]
14:06
dreinull_ has quit [Quit: Planned maintenance, back soon]
14:06
franckverrot has quit [Quit: Planned maintenance, back soon]
14:06
L0rdShrek___ has quit [Quit: Planned maintenance, back soon]
14:06
tubbo`cloud has quit [Quit: Planned maintenance, back soon]
14:06
Spaceghost|cloud has quit [Quit: Planned maintenance, back soon]
14:06
robotmay_ has joined #ruby-lang
14:07
sepp2k has joined #ruby-lang
14:09
karasawa has joined #ruby-lang
14:09
robotmay has quit [Ping timeout: 264 seconds]
14:11
ebouchut has joined #ruby-lang
14:11
MaddinXx has joined #ruby-lang
14:16
larrylv has joined #ruby-lang
14:17
itsmeduncan has joined #ruby-lang
14:17
christeraustad has joined #ruby-lang
14:21
larrylv has quit [Ping timeout: 248 seconds]
14:23
kiddorails has quit [Ping timeout: 276 seconds]
14:26
itsmeduncan has quit [Quit: itsmeduncan]
14:26
robotmay_ has quit [Ping timeout: 260 seconds]
14:26
jonahR_ has joined #ruby-lang
14:26
christeraustad has quit [Remote host closed the connection]
14:26
christeraustad has joined #ruby-lang
14:28
jonahR has quit [Ping timeout: 252 seconds]
14:28
jonahR_ is now known as jonahR
14:28
jacktrick has joined #ruby-lang
14:36
runeb has quit [Ping timeout: 248 seconds]
14:36
kiddorails has joined #ruby-lang
14:36
runeb has joined #ruby-lang
14:40
robotmay has joined #ruby-lang
14:41
wycats_ has joined #ruby-lang
14:41
stardiviner has joined #ruby-lang
14:42
Banistergalaxy has quit [Ping timeout: 248 seconds]
14:43
runeb has quit [Remote host closed the connection]
14:43
Banistergalaxy has joined #ruby-lang
14:44
Nss has joined #ruby-lang
14:44
workmad3 has quit [Ping timeout: 252 seconds]
14:45
marcostoledo has quit [Quit: Leaving...]
14:46
anildigital_work has joined #ruby-lang
14:47
Guest85414 has joined #ruby-lang
14:48
bpot has joined #ruby-lang
14:49
esad has joined #ruby-lang
14:50
herpless_ has joined #ruby-lang
14:50
pkondzior__ has joined #ruby-lang
14:50
agib__ has joined #ruby-lang
14:51
thejspr__ has joined #ruby-lang
14:52
<
imperator >
so, the latest rails security vulnerability was actually yaml?
14:53
<
imperator >
(speaking of yaml)
14:53
<
apeiros_ >
I think parameter preprocessing in general
14:53
<
apeiros_ >
but I haven't really read the report
14:55
abuiles_ has joined #ruby-lang
14:55
akahn has joined #ruby-lang
14:56
beawesomeinstead has joined #ruby-lang
14:56
dreinull_ has joined #ruby-lang
14:56
franckverrot has joined #ruby-lang
14:56
L0rdShrek___ has joined #ruby-lang
14:56
mercwithamouth has quit [Ping timeout: 244 seconds]
14:57
mercwithamouth has joined #ruby-lang
14:58
<
manveru >
Dir.glob(pattern){|f| break f }
14:59
gaveen has joined #ruby-lang
14:59
gaveen has quit [Changing host]
14:59
gaveen has joined #ruby-lang
14:59
tubbo`cloud has joined #ruby-lang
15:00
Spaceghost|cloud has joined #ruby-lang
15:01
<
apeiros_ >
manveru: needs additional handling for no result
15:02
<
manveru >
nil in both cases?
15:02
voker57 has joined #ruby-lang
15:02
voker57 has quit [Changing host]
15:02
voker57 has joined #ruby-lang
15:02
asaaki|home has joined #ruby-lang
15:02
<
apeiros_ >
no, glob returns []
15:02
<
manveru >
not with block
15:02
asaaki has quit [Ping timeout: 276 seconds]
15:02
<
manveru >
and it saves wrapping into an enumerator
15:05
wallerdev has joined #ruby-lang
15:07
MaddinXx has quit [Remote host closed the connection]
15:07
MaddinXx has joined #ruby-lang
15:07
stardiviner has joined #ruby-lang
15:10
MaddinXx has quit [Read error: Connection reset by peer]
15:11
MaddinXx has joined #ruby-lang
15:16
emocakes has quit [Quit: emocakes]
15:18
wallerdev has quit [Quit: wallerdev]
15:18
imperator has quit [Quit: Leaving]
15:20
ebouchut has quit [Quit: This computer has gone to sleep]
15:23
ebouchut has joined #ruby-lang
15:26
andrewhl has joined #ruby-lang
15:29
kgrz has joined #ruby-lang
15:29
jacktrick has quit [Ping timeout: 255 seconds]
15:35
itsmeduncan has joined #ruby-lang
15:38
Nss has quit [Quit: Sto andando via]
15:42
rue has quit [Remote host closed the connection]
15:42
rue has joined #ruby-lang
15:43
_knitetemplar has joined #ruby-lang
15:50
itsmeduncan has quit [Quit: itsmeduncan]
15:51
jacktrick has joined #ruby-lang
15:51
MaddinXx has quit [Remote host closed the connection]
15:51
blahwoop has joined #ruby-lang
15:52
m3nd3s has joined #ruby-lang
15:53
runeb has joined #ruby-lang
15:57
runeb has quit [Ping timeout: 240 seconds]
15:59
justinram has quit [Remote host closed the connection]
16:00
jacktrick has quit [Ping timeout: 248 seconds]
16:00
cyberrodent has joined #ruby-lang
16:01
soypirate has joined #ruby-lang
16:03
karasawa has quit [Ping timeout: 264 seconds]
16:03
karasawa has joined #ruby-lang
16:03
soypirate has quit [Max SendQ exceeded]
16:04
soypirate has joined #ruby-lang
16:12
countdigi has joined #ruby-lang
16:14
soypirate has quit [Quit: Leaving]
16:14
ebouchut has quit [Quit: This computer has gone to sleep]
16:17
singpolyma has quit [Ping timeout: 246 seconds]
16:19
jacktrick has joined #ruby-lang
16:20
sn0wb1rd has quit [Read error: Connection reset by peer]
16:20
sn0wb1rd has joined #ruby-lang
16:21
shtirlic has joined #ruby-lang
16:26
davidbalber|away is now known as davidbalbert
16:28
jxie has joined #ruby-lang
16:32
tbuehlmann has quit [Remote host closed the connection]
16:34
robotmay_ has joined #ruby-lang
16:36
robotmay has quit [Ping timeout: 264 seconds]
16:37
vlad_starkov has quit [Remote host closed the connection]
16:42
neocoin has joined #ruby-lang
16:42
wallerdev has joined #ruby-lang
16:45
larrylv has joined #ruby-lang
16:46
wyhaines has joined #ruby-lang
16:48
setmeaway has joined #ruby-lang
16:54
shtirlic has quit [Remote host closed the connection]
16:55
ebouchut has joined #ruby-lang
16:59
mistym has joined #ruby-lang
16:59
_br_ has quit [Excess Flood]
17:00
_br_- has joined #ruby-lang
17:02
adambeynon has joined #ruby-lang
17:04
_br_- has quit [Excess Flood]
17:06
singpolyma has joined #ruby-lang
17:06
martamccasland has quit [Ping timeout: 276 seconds]
17:07
_br_ has joined #ruby-lang
17:08
larrylv has quit [Remote host closed the connection]
17:12
vlad_starkov has joined #ruby-lang
17:13
srbaker has quit [Quit: Computer has gone to sleep.]
17:16
savage- has joined #ruby-lang
17:18
kgrz has quit [Quit: Computer has gone to sleep.]
17:19
robotmay has joined #ruby-lang
17:19
kiddorails has quit [Ping timeout: 256 seconds]
17:20
jonahR has quit [Quit: jonahR]
17:20
stevechiagozie has joined #ruby-lang
17:21
chessguy has joined #ruby-lang
17:21
sandbags has quit [Remote host closed the connection]
17:21
robotmay_ has quit [Ping timeout: 264 seconds]
17:21
martamccasland has joined #ruby-lang
17:21
vlad_starkov has quit [Ping timeout: 252 seconds]
17:24
robotmay has quit [Ping timeout: 264 seconds]
17:25
_knitetemplar has quit [Remote host closed the connection]
17:27
leopard_me has joined #ruby-lang
17:28
robotmay has joined #ruby-lang
17:34
rsl has joined #ruby-lang
17:34
runeb has joined #ruby-lang
17:34
cirenyc has quit [Quit: Leaving...]
17:35
robotmay has quit [Ping timeout: 276 seconds]
17:40
apa has joined #ruby-lang
17:40
havenn has joined #ruby-lang
17:40
soypirate has joined #ruby-lang
17:42
andrewhl has quit [Remote host closed the connection]
17:48
singpolyma has quit [Quit: Lost terminal]
17:48
dhruvasagar has quit [Ping timeout: 260 seconds]
17:48
apa has quit [Quit: apa]
17:48
singpolyma has joined #ruby-lang
17:52
kiddorails has joined #ruby-lang
17:54
apa_ has joined #ruby-lang
17:56
rsl has quit [Ping timeout: 252 seconds]
17:56
srbaker has joined #ruby-lang
17:57
chessguy has quit [Remote host closed the connection]
17:57
apa_ has quit [Remote host closed the connection]
17:59
rsl has joined #ruby-lang
18:01
ViPi has quit [Quit: Computer has gone to sleep.]
18:02
ebouchut has quit [Quit: This computer has gone to sleep]
18:04
savage- has quit [Quit: savage-]
18:06
apa has joined #ruby-lang
18:06
_Sketch_ has joined #ruby-lang
18:06
rsl has joined #ruby-lang
18:06
rsl has quit [Client Quit]
18:10
<
_Sketch_ >
Hello! How do I run and make ruby tests in the 'tests' directory of the ruby source?
18:13
srbaker has quit [Quit: Computer has gone to sleep.]
18:14
m3nd3s has quit [Remote host closed the connection]
18:16
dhruvasagar has joined #ruby-lang
18:17
dhruvasagar has quit [Read error: Connection reset by peer]
18:18
<
Mon_Ouie >
_Sketch_: make check ?
18:20
runeb has quit [Remote host closed the connection]
18:20
<
_Sketch_ >
Mon_Ouie: make:
*** No rule to make target `check'. Stop.
18:21
stevechiagozie has quit [Quit: Computer has gone to sleep.]
18:21
brianpWins has joined #ruby-lang
18:22
<
Mon_Ouie >
Hm, I took that from the README file of the github mirror (I don't have a copy here to test)
18:23
workmad3 has joined #ruby-lang
18:24
thorncp has quit [Ping timeout: 260 seconds]
18:24
Rarrikins has quit [Ping timeout: 255 seconds]
18:27
dwu1 has joined #ruby-lang
18:28
thorncp has joined #ruby-lang
18:30
srbaker has joined #ruby-lang
18:33
shtirlic has joined #ruby-lang
18:34
apa has quit [Remote host closed the connection]
18:34
_Sketch_ has quit [Read error: Connection reset by peer]
18:35
_Sketch_ has joined #ruby-lang
18:39
gix has quit [Ping timeout: 240 seconds]
18:39
srbaker has quit [Quit: Computer has gone to sleep.]
18:40
gix has joined #ruby-lang
18:42
Nisstyre-laptop has joined #ruby-lang
18:43
justinram has joined #ruby-lang
18:45
<
canton7 >
_Sketch_, read the makefile?
18:45
srbaker has joined #ruby-lang
18:46
kiddorails1 has joined #ruby-lang
18:46
kiddorails has quit [Read error: Connection reset by peer]
18:46
tenderlove has quit [Remote host closed the connection]
18:46
tenderlove has joined #ruby-lang
18:46
stevechiagozie has joined #ruby-lang
18:47
<
zzak >
Array(Dir.glob(pattern){|f| break f}).flatten.first
18:47
ViPi has joined #ruby-lang
18:47
ViPi has quit [Max SendQ exceeded]
18:47
kiddorails1 has quit [Read error: Connection reset by peer]
18:47
kiddorails has joined #ruby-lang
18:48
weeb1e has quit [Remote host closed the connection]
18:49
shtirlic has quit [Remote host closed the connection]
18:49
workmad3 has quit [Read error: Operation timed out]
18:49
weeb1e has joined #ruby-lang
18:51
tonni has joined #ruby-lang
18:52
JohnBat26 has joined #ruby-lang
18:53
srbaker has quit [Quit: Computer has gone to sleep.]
18:53
ebouchut has joined #ruby-lang
18:57
gaveen has quit [Ping timeout: 248 seconds]
18:57
wyhaines has quit [Remote host closed the connection]
18:58
stonerfish has joined #ruby-lang
18:59
<
Mon_Ouie >
canton7: Yeah, autotools sources (and to a greater extent, their output) are known to be incredibly clean and readable :p
18:59
ViPi has joined #ruby-lang
18:59
ViPi has quit [Max SendQ exceeded]
19:00
ViPi has joined #ruby-lang
19:00
ViPi has quit [Max SendQ exceeded]
19:00
<
canton7 >
true. I would never call it a first resort
19:00
ViPi has joined #ruby-lang
19:00
ViPi has quit [Max SendQ exceeded]
19:03
jbsan_ has joined #ruby-lang
19:04
jbsan has quit [Ping timeout: 264 seconds]
19:04
jbsan_ is now known as jbsan
19:05
ebouchut has quit [Quit: This computer has gone to sleep]
19:06
sepp2k has quit [Remote host closed the connection]
19:08
ViPi has joined #ruby-lang
19:08
ViPi has quit [Max SendQ exceeded]
19:09
ViPi has joined #ruby-lang
19:09
ViPi has quit [Max SendQ exceeded]
19:09
ViPi has joined #ruby-lang
19:09
ViPi has quit [Max SendQ exceeded]
19:10
ViPi has joined #ruby-lang
19:10
ViPi has quit [Max SendQ exceeded]
19:11
ViPi has joined #ruby-lang
19:11
ViPi has quit [Max SendQ exceeded]
19:11
ViPi has joined #ruby-lang
19:11
ViPi has quit [Max SendQ exceeded]
19:12
kiddorails has quit [Quit: Leaving.]
19:12
kiddorails1 has joined #ruby-lang
19:12
ViPi has joined #ruby-lang
19:12
ViPi has quit [Max SendQ exceeded]
19:13
ViPi has joined #ruby-lang
19:13
ViPi has quit [Max SendQ exceeded]
19:13
ViPi has joined #ruby-lang
19:13
ViPi has quit [Max SendQ exceeded]
19:13
tbuehlmann has joined #ruby-lang
19:13
ebouchut has joined #ruby-lang
19:14
ViPi has joined #ruby-lang
19:14
ViPi has quit [Max SendQ exceeded]
19:14
ViPi has joined #ruby-lang
19:14
ViPi has quit [Max SendQ exceeded]
19:15
ViPi has joined #ruby-lang
19:15
ViPi has quit [Max SendQ exceeded]
19:15
kiddorails1 has quit [Read error: Connection reset by peer]
19:15
kiddorails has joined #ruby-lang
19:16
ViPi has joined #ruby-lang
19:16
itsmeduncan has joined #ruby-lang
19:18
s1n4 has joined #ruby-lang
19:18
dankest has joined #ruby-lang
19:20
andrewhl has joined #ruby-lang
19:21
itsmeduncan has quit [Client Quit]
19:21
setmeaway has quit [Quit: Leaving]
19:22
<
manveru >
zzak: wtf
19:23
slaytanic has quit [Ping timeout: 248 seconds]
19:23
<
zzak >
manveru: haha, idk
19:23
wyhaines has joined #ruby-lang
19:23
<
manveru >
Array("hi").flatten.first
19:23
<
manveru >
very... useful :)
19:24
<
zzak >
Array() is awesome
19:24
neocoin has quit [Remote host closed the connection]
19:24
<
manveru >
i wish irc had /sarcasm
19:24
s1n4 has quit [Quit: peace out]
19:24
mytrile has quit [Remote host closed the connection]
19:24
<
zzak >
irssi has
_empasis_ and
*boldness* instead
19:27
<
zzak >
manveru: explain this one to me
19:27
slaytanic has joined #ruby-lang
19:27
<
zzak >
Array(nil); vs Array({}); vs Array('')
19:27
<
zzak >
'' initialized
19:28
Sinestro has joined #ruby-lang
19:28
<
manveru >
because Array(arg) calls arg.to_ary or arg.to_a
19:28
swav has quit [Remote host closed the connection]
19:29
<
zzak >
undefined method `to_a' for "":String
19:30
<
manveru >
i guess the docs are lying then :)
19:30
runeb has joined #ruby-lang
19:31
<
manveru >
>> [nil, {}, '', 1].map{|o| [Array(o), (o.to_ary rescue (o.to_a rescue [o]))] }
19:31
<
manveru >
=> [[[], []], [[], []], [[""], [""]], [[1], [1]]]
19:31
<
manveru >
kinda like that
19:32
nkr has quit [Read error: Connection reset by peer]
19:33
dankest has quit [Quit: Leaving...]
19:33
nkr has joined #ruby-lang
19:35
runeb has quit [Ping timeout: 260 seconds]
19:36
srbaker has joined #ruby-lang
19:36
weddingcakes has joined #ruby-lang
19:39
<
zzak >
ok yah, i was just reading rb_Array()
19:39
<
yfeldblum >
manveru, why does that look complex?
19:39
<
zzak >
first check is to_ary
19:39
<
zzak >
if nil, then check to_a
19:40
<
zzak >
if nil then rb_ary_new3(1, value)
19:40
<
manveru >
yfeldblum: because it uses Rubinius::Type.check_convert_type, and i have no idea what that is
19:40
Sinestro has joined #ruby-lang
19:40
<
zzak >
rb_ary_new3: Creates an n-element array from the arguments.
19:40
<
manveru >
and github code search sucks...
19:40
<
zzak >
manveru: so does rb_Array()
19:41
<
zzak >
rb_check_array_type == rb_check_convert_type(ary, T_ARRAY, "Array", "to_ary");
19:41
<
_Sketch_ >
Mon_Ouie canton7: Hmm. Not finding anything on google either.
19:41
srbaker has quit [Quit: Computer has gone to sleep.]
19:41
<
manveru >
but it never changes the type of the original
19:42
rolfb has joined #ruby-lang
19:43
<
canton7 >
manveru, what directory are you running 'make check' from?
19:44
<
zzak >
it does, sorta
19:44
<
manveru >
canton7: no idea
19:44
<
canton7 >
manveru, well that's kind of important
19:44
<
zzak >
manveru: i think rbx uses check_convert_type because mri does
19:44
<
manveru >
canton7: for whom?
19:44
<
canton7 >
oops, wrong user. sorry
19:44
<
manveru >
zzak: yeah
19:45
<
canton7 >
_Sketch_, what directory are you runing 'make check' from?
19:45
<
manveru >
zzak: i just think it could be more straightforward :)
19:45
<
zzak >
and even if you dont commit, you should have a clone of mri, and rbx.. git grep > google
19:45
ebouchut has quit [Quit: This computer has gone to sleep]
19:45
<
zzak >
manveru: from an rbx perspective yes, but mri no
19:46
<
manveru >
but i need to write me some vim plugin that returns github urls to positions in the source i'm looking at
19:46
<
zzak >
so the docs aren't wrong
19:46
<
manveru >
anyway, i'm sure there are some braindead edge-cases that the rbx approach handles and mine doesn't
19:46
martamccasland has quit [Ping timeout: 260 seconds]
19:46
<
zzak >
and TIL about the implementation of Array()
19:47
<
zzak >
yeh, and for SPEED
19:47
<
manveru >
i don't think Array is used widely...
19:48
weddingcakes has quit [Quit: leaving]
19:48
workmad3 has joined #ruby-lang
19:48
<
manveru >
hasn't ever been useful to me
19:48
<
yfeldblum >
manveru, because it also checks the types ...
19:48
<
manveru >
yfeldblum: yeah, but to_a returns self anyway, so why bother doing more work?
19:49
<
manveru >
Array#to_a, that is
19:49
<
manveru >
Array#to_ary even
19:49
<
zzak >
its mostly for convenience
19:49
<
manveru >
if it is called, i bet rbx would inline it
19:50
<
yfeldblum >
manveru, what if the receiver isn't an Array?
19:50
<
manveru >
then it should try to_ary, then to_a, and otherwise [obj]
19:51
<
yfeldblum >
manveru, what if to_ary returns an object that isn't an Array?
19:51
rue|w has joined #ruby-lang
19:52
<
manveru >
then i guess it blows up :P
19:52
ebouchut has joined #ruby-lang
19:53
<
yfeldblum >
manveru, yeah, "it blows up" isn't likely to be one of rubinius' operating principles; thus the complexity
19:53
robotmay has joined #ruby-lang
19:54
bzb_ has joined #ruby-lang
19:54
bzb has joined #ruby-lang
19:54
bzb has quit [Read error: Connection reset by peer]
19:55
<
manveru >
the biggest problem is probably that rbx doesn't call a method to check the type
19:55
<
manveru >
so it has to be the builtin Array
19:55
bzb_ has quit [Client Quit]
19:56
<
_Sketch_ >
canton7: root directory, and test/.
19:56
<
_Sketch_ >
canton7: also tried 'make test-all' in both. Nope.
19:59
robotmay has quit [Ping timeout: 264 seconds]
20:02
rue|w has quit [Remote host closed the connection]
20:03
sepp2k has joined #ruby-lang
20:05
workmad3 has quit [Ping timeout: 244 seconds]
20:05
srbaker has joined #ruby-lang
20:06
stevechiagozie has quit [Quit: Computer has gone to sleep.]
20:12
ebouchut has quit [Quit: This computer has gone to sleep]
20:16
rippa has quit [Ping timeout: 260 seconds]
20:17
swav has joined #ruby-lang
20:17
ryanf has joined #ruby-lang
20:18
tenderlove has quit [Remote host closed the connection]
20:22
akamike has quit [Remote host closed the connection]
20:23
cableray has joined #ruby-lang
20:23
kiddorails has quit [Ping timeout: 240 seconds]
20:23
martamccasland has joined #ruby-lang
20:24
s1n4 has joined #ruby-lang
20:25
heftig has quit [Quit: leaving]
20:26
jacktrick has quit [Quit: Leaving]
20:26
s0ber_ has joined #ruby-lang
20:29
s0ber has quit [Ping timeout: 255 seconds]
20:29
s0ber_ is now known as s0ber
20:30
akamike has joined #ruby-lang
20:30
martamccasland has quit [Ping timeout: 264 seconds]
20:30
macmartine has joined #ruby-lang
20:31
swav has quit [Remote host closed the connection]
20:31
stevechiagozie has joined #ruby-lang
20:35
_Sketch_ has quit [Read error: Connection reset by peer]
20:35
_Sketch_ has joined #ruby-lang
20:36
karasawa has quit [Ping timeout: 248 seconds]
20:36
stevechiagozie has quit [Ping timeout: 252 seconds]
20:36
karasawa has joined #ruby-lang
20:37
ViPi_ has joined #ruby-lang
20:37
kiddorails has joined #ruby-lang
20:38
ViPi has quit [Ping timeout: 265 seconds]
20:39
mercwithamouth has quit [Ping timeout: 240 seconds]
20:39
kiddorails has quit [Client Quit]
20:39
kiddorails has joined #ruby-lang
20:40
workmad3 has joined #ruby-lang
20:40
jondot` has quit [Read error: Connection reset by peer]
20:42
itsmeduncan has joined #ruby-lang
20:43
karasawa has quit [Remote host closed the connection]
20:44
stevechiagozie has joined #ruby-lang
20:44
cableray has quit [Quit: cableray]
20:45
karasawa has joined #ruby-lang
20:45
havenn has quit [Remote host closed the connection]
20:51
shtirlic has joined #ruby-lang
20:54
jondot` has joined #ruby-lang
20:55
vlad_starkov has joined #ruby-lang
20:56
heftig has joined #ruby-lang
21:02
itsmeduncan has quit [Quit: itsmeduncan]
21:03
heftig has quit [Quit: leaving]
21:05
ronaldo__ has joined #ruby-lang
21:07
ViPi_ has quit [Quit: Computer has gone to sleep.]
21:08
hakunin has joined #ruby-lang
21:08
glebm has quit [Quit: Computer has gone to sleep.]
21:09
hakunin_ has quit [Read error: Connection reset by peer]
21:10
mpan has joined #ruby-lang
21:11
kiddorails has quit [Ping timeout: 252 seconds]
21:12
wyhaines has quit [Remote host closed the connection]
21:13
stevechiagozie has quit [Quit: Computer has gone to sleep.]
21:16
heftig has joined #ruby-lang
21:17
Nisstyre-laptop has quit [Ping timeout: 252 seconds]
21:18
srbaker has quit [Quit: Computer has gone to sleep.]
21:22
mpan has quit [Ping timeout: 272 seconds]
21:27
MaddinXx_ has joined #ruby-lang
21:27
mercwithamouth has joined #ruby-lang
21:28
banisterfiend has joined #ruby-lang
21:30
ronaldo__ has quit [Quit: eyb]
21:33
workmad3 has quit [Ping timeout: 276 seconds]
21:34
shtirlic has quit [Remote host closed the connection]
21:36
cableray has joined #ruby-lang
21:36
jacktrick has joined #ruby-lang
21:41
jtoy has joined #ruby-lang
21:42
swav has joined #ruby-lang
21:43
ronaldo__ has joined #ruby-lang
21:46
jtoy has quit [Ping timeout: 265 seconds]
21:47
swav has quit [Ping timeout: 264 seconds]
21:47
firewall has quit [Ping timeout: 276 seconds]
21:49
brianpWins has quit [Quit: brianpWins]
21:52
dankest has joined #ruby-lang
21:53
blacktulip has quit [Remote host closed the connection]
22:02
firewall has joined #ruby-lang
22:07
ronaldo__ has quit [Quit: eyb]
22:08
jacktrick has quit [Quit: Leaving]
22:13
m3nd3s has joined #ruby-lang
22:15
yfeldblum has quit [Ping timeout: 248 seconds]
22:17
christeraustad_ has joined #ruby-lang
22:18
blazes816 has joined #ruby-lang
22:19
jacktrick has joined #ruby-lang
22:21
christeraustad has quit [Ping timeout: 276 seconds]
22:26
srbaker has joined #ruby-lang
22:27
dankest is now known as dankest|away
22:28
dankest|away has quit [Quit: Leaving...]
22:30
brianpWins has joined #ruby-lang
22:30
yfeldblum has joined #ruby-lang
22:32
macmartine has joined #ruby-lang
22:39
soypirate has quit [Quit: Leaving]
22:40
soypirate has joined #ruby-lang
22:41
jtoy has joined #ruby-lang
22:43
havenn has joined #ruby-lang
22:45
mpan has joined #ruby-lang
22:46
jtoy has quit [Ping timeout: 240 seconds]
22:47
hahuang65 has quit [Ping timeout: 256 seconds]
22:51
hahuang65 has joined #ruby-lang
22:53
s1n4 has quit [Quit: leaving]
22:54
andrewhl has quit [Remote host closed the connection]
22:55
thone has joined #ruby-lang
22:55
MaddinXx_ has quit [Remote host closed the connection]
22:57
m3nd3s has quit [Remote host closed the connection]
22:58
mercwithamouth has quit [Ping timeout: 272 seconds]
22:58
thone_ has quit [Ping timeout: 240 seconds]
22:59
mistym has quit [Remote host closed the connection]
22:59
macmarti_ has joined #ruby-lang
22:59
mercwithamouth has joined #ruby-lang
23:00
macmartine has quit [Ping timeout: 276 seconds]
23:00
m3nd3s has joined #ruby-lang
23:01
Nisstyre-laptop has joined #ruby-lang
23:02
glebm has joined #ruby-lang
23:02
vlad_starkov has quit [Remote host closed the connection]
23:03
vlad_starkov has joined #ruby-lang
23:05
vlad_sta_ has joined #ruby-lang
23:05
vlad_starkov has quit [Read error: Connection reset by peer]
23:07
srbaker has quit [Quit: Computer has gone to sleep.]
23:08
m3nd3s has quit [Remote host closed the connection]
23:08
vlad_sta_ has quit [Remote host closed the connection]
23:08
_knitetemplar has joined #ruby-lang
23:09
m3nd3s has joined #ruby-lang
23:09
blahwoop has quit [Ping timeout: 248 seconds]
23:18
_knitetemplar has quit [Remote host closed the connection]
23:20
jondot` has quit [Ping timeout: 256 seconds]
23:25
m3nd3s has quit [Remote host closed the connection]
23:25
apeiros has joined #ruby-lang
23:27
apeiros_ has quit [Ping timeout: 264 seconds]
23:30
martamccasland has joined #ruby-lang
23:36
itsmeduncan has joined #ruby-lang
23:37
robotmay has joined #ruby-lang
23:38
vlad_starkov has joined #ruby-lang
23:42
m3nd3s has joined #ruby-lang
23:42
jtoy has joined #ruby-lang
23:44
apeiros has quit [Ping timeout: 252 seconds]
23:46
jtoy has quit [Ping timeout: 264 seconds]
23:49
mistym has joined #ruby-lang
23:49
mistym has quit [Changing host]
23:49
mistym has joined #ruby-lang
23:50
sepp2k has quit [Remote host closed the connection]
23:50
dankest has joined #ruby-lang
23:51
cyberrodent has quit [Ping timeout: 252 seconds]
23:54
itsmeduncan has quit [Quit: itsmeduncan]
23:55
apeiros_ has joined #ruby-lang
23:57
cyberrodent has joined #ruby-lang
23:57
bzalasky has joined #ruby-lang
23:59
karasawa has quit [Ping timeout: 276 seconds]
23:59
karasawa has joined #ruby-lang