apeiros_ changed the topic of #ruby-lang to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
mistym has quit [Remote host closed the connection]
pepper_chico has quit [Quit: Computer has gone to sleep.]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
mistym has quit [Remote host closed the connection]
S1kx has joined #ruby-lang
S1kx has quit [Changing host]
S1kx has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
Wildhoney has joined #ruby-lang
pkrnj has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
marr has quit [Ping timeout: 240 seconds]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
symm- has quit [Ping timeout: 245 seconds]
mwjcomputing has joined #ruby-lang
brianpWins has joined #ruby-lang
pkrnj has joined #ruby-lang
banisterfiend is now known as banister`sleep
bzalasky has joined #ruby-lang
kurko__ has joined #ruby-lang
wmoxam has joined #ruby-lang
wmoxam has quit [Client Quit]
wmoxam has joined #ruby-lang
kurko__ has quit [Client Quit]
nXqd has quit [Ping timeout: 252 seconds]
kurko__ has joined #ruby-lang
Tectonic has joined #ruby-lang
benanne has quit [Quit: kbai]
Tectonic has quit [Client Quit]
nXqd has joined #ruby-lang
xalei has quit [Quit: Leaving]
pepper_chico has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
charliesome has joined #ruby-lang
nXqd has quit [Ping timeout: 260 seconds]
wallerdev has joined #ruby-lang
robbyoconnor has joined #ruby-lang
Jake232 has quit [Quit: Computer has gone to sleep.]
v0yager has joined #ruby-lang
jmaya has joined #ruby-lang
robbyoconnor has quit [Read error: No route to host]
robbyoconnor has joined #ruby-lang
v0yager has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
spuk_ has joined #ruby-lang
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
io_syl has quit [Ping timeout: 252 seconds]
io_syl has joined #ruby-lang
jmaya has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
Tectonic has joined #ruby-lang
Tectonic has quit [Client Quit]
postmodern has joined #ruby-lang
L4mppu has quit [Ping timeout: 276 seconds]
Guedes has quit [Read error: Operation timed out]
Guedes has joined #ruby-lang
xalei has joined #ruby-lang
xalei has quit [Client Quit]
mwjcomputing has quit [Ping timeout: 255 seconds]
ddd_ is now known as ddd
kurko__ has quit [Quit: Computer has gone to sleep.]
cstrahan has quit [Ping timeout: 256 seconds]
Aria has quit [Remote host closed the connection]
Aria has joined #ruby-lang
sush24 has joined #ruby-lang
Stilo has joined #ruby-lang
Honeycomb has joined #ruby-lang
Wildhoney has quit [Ping timeout: 256 seconds]
spuk_ has quit [Ping timeout: 240 seconds]
havenn_ has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
kurko__ has joined #ruby-lang
davidbalber|away is now known as davidbalbert
xalei has joined #ruby-lang
mistym has joined #ruby-lang
Honeycomb has quit [Quit: Leaving.]
soypirate has quit [Ping timeout: 245 seconds]
xalei has quit [Client Quit]
randallagordon has quit [Quit: leaving]
randallagordon has joined #ruby-lang
apeiros_ has joined #ruby-lang
methods has joined #ruby-lang
spuk has joined #ruby-lang
havenn_ has quit [Remote host closed the connection]
apeiros_ has quit [Ping timeout: 264 seconds]
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby-lang
kennyvb has quit [Read error: Operation timed out]
fragamus has joined #ruby-lang
kennyvb has joined #ruby-lang
hakunin has quit [Ping timeout: 245 seconds]
dmoctezuma has joined #ruby-lang
megha has quit [Ping timeout: 246 seconds]
Evanescene has joined #ruby-lang
Evanescene has left #ruby-lang [#ruby-lang]
megha has joined #ruby-lang
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
gregmoreno has joined #ruby-lang
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
davidbalbert is now known as davidbalber|away
<soahccc> Can I somehow (can be dirty, the topic tends to get a bit dirty) call a method of a module WITHOUT defining a module_function(because this would alter the Module which isn't my domain)? Just learned that you can retrieve an UnboundMethod from classes but I can't figure out how to do this with a module.
<soahccc> Alternative is to copy the code but then I would have to keep that external code updated
breakingthings has joined #ruby-lang
apeiros_ has joined #ruby-lang
brianpWins has joined #ruby-lang
<lianj> soahccc: t = Object.new; t.extend(YourModule) t.some_method
apeiros_ has quit [Ping timeout: 256 seconds]
<breakingthings> I hath an rspec conundrum, if any of the night owls should grace me with their presence:
<breakingthings> Is there a better way to achieve the stubbing of the TCPSocket instance without using attr_reader/accessor here?
fragamus has quit [Quit: Computer has gone to sleep.]
sush24 has quit [Quit: This computer has gone to sleep]
megha has quit [Ping timeout: 256 seconds]
ryanf has quit [Ping timeout: 246 seconds]
<soahccc> lianj: Thank you! That was to easy :)
jxweng has joined #ruby-lang
jxweng has quit [Client Quit]
spuk_ has joined #ruby-lang
ryanf has joined #ruby-lang
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
kurko__ has quit [Quit: Computer has gone to sleep.]
xalei has joined #ruby-lang
dc5ala has joined #ruby-lang
ryanf has quit [Ping timeout: 264 seconds]
bzalasky has joined #ruby-lang
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
ryanf has joined #ruby-lang
tylersmith has quit [Quit: tylersmith]
bzalasky has quit [Remote host closed the connection]
breakingthings has quit []
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
pepper_chico has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
pepper_chico has joined #ruby-lang
megha has joined #ruby-lang
zprnorgan has quit [Ping timeout: 245 seconds]
bzalasky has joined #ruby-lang
pepper_chico has quit [Quit: Computer has gone to sleep.]
megha has quit [Quit: WeeChat 0.4.0]
<soahccc> What does :: actually refers to? Object? I tried to "reset" the lookup scope for proxy object by redirecting const_missing to Object but this just raises "Object is not missing constant User!"
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 276 seconds]
xalei has quit [Quit: Leaving]
mistym has quit [Remote host closed the connection]
xalei has joined #ruby-lang
xalei has quit [Client Quit]
xalei has joined #ruby-lang
xalei has quit [Client Quit]
xalei has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
<soahccc> Hmm my solution ended up as a Rails resp. AS solution (but the problem was caused through it) but I got told that it is polite to post self answered solutions :) https://gist.github.com/2called-chaos/a26fe6b7f8332351fc86
kgrz has joined #ruby-lang
devoper has joined #ruby-lang
ryanf has quit [Ping timeout: 255 seconds]
sush24 has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
refd has joined #ruby-lang
mytrile has joined #ruby-lang
tbuehlmann has joined #ruby-lang
xalei has quit [Remote host closed the connection]
simi has quit [Read error: Operation timed out]
apeiros_ has joined #ruby-lang
faces has joined #ruby-lang
face has quit [Ping timeout: 245 seconds]
brianpWins has quit [Quit: brianpWins]
apeiros_ has quit [Ping timeout: 276 seconds]
mytrile has quit [Remote host closed the connection]
Averna has quit [Quit: Leaving.]
solars has joined #ruby-lang
Averna has joined #ruby-lang
simi has joined #ruby-lang
Nisstyre-laptop has quit [Ping timeout: 256 seconds]
ryanf has joined #ruby-lang
<rue> breakingthings: Put a shim between your TCP calls and the code
<rue> Oh, hm. Left
kgrz has quit [Ping timeout: 252 seconds]
justinram has joined #ruby-lang
ryanf has quit [Ping timeout: 248 seconds]
sush24_ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
sush24 has quit [Ping timeout: 264 seconds]
nXqd has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
tbuehlmann has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
xxaM has quit [Remote host closed the connection]
intellitech has joined #ruby-lang
adambeynon has joined #ruby-lang
skade has joined #ruby-lang
nXqd_ has joined #ruby-lang
nXqd has quit [Ping timeout: 264 seconds]
apeiros_ has joined #ruby-lang
Gues_____ has joined #ruby-lang
Gues_____ has left #ruby-lang [#ruby-lang]
GrayVoice has joined #ruby-lang
GrayVoice has quit [Client Quit]
GrayVoice has joined #ruby-lang
marr has joined #ruby-lang
nXqd_ has quit [Ping timeout: 245 seconds]
apeiros_ has quit [Read error: Connection reset by peer]
nXqd has joined #ruby-lang
GrayVoice has quit [Client Quit]
L4mppu has joined #ruby-lang
justinram has quit [Remote host closed the connection]
solars has quit [Ping timeout: 252 seconds]
apeiros_ has joined #ruby-lang
sush24_ has quit [Ping timeout: 256 seconds]
sush24_ has joined #ruby-lang
s1n4 has joined #ruby-lang
s1n4 has quit [Client Quit]
kevinfagan has quit [Quit: ZNC - http://znc.in]
kevinfagan has joined #ruby-lang
gregmoreno has quit [Ping timeout: 264 seconds]
gregmoreno has joined #ruby-lang
benanne has joined #ruby-lang
mytrile has joined #ruby-lang
jfarmer has joined #ruby-lang
sepp2k has joined #ruby-lang
<jfarmer> What environment would my code have to be running in for Ruby to set __FILE__ to the string "(ruby)"?
<jfarmer> And/or is there a way to controller what __FILE__ reports?
jonahR has quit [Quit: jonahR]
<apeiros_> jfarmer: some form of eval
<jfarmer> Ah, I see, an argument to eval?
<jfarmer> got it
<jfarmer> eval("puts __FILE__", TOPLEVEL_BINDING, "(ruby)")
<jfarmer> Ok, cool! Thanks.
workmad3 has joined #ruby-lang
sush24_ has quit [Ping timeout: 252 seconds]
maxmanders has joined #ruby-lang
sush24 has joined #ruby-lang
maxmande_ has joined #ruby-lang
jfarmer has quit [Quit: Textual IRC Client: www.textualapp.com]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
maxmanders has quit [Ping timeout: 240 seconds]
swav has joined #ruby-lang
gnufied has joined #ruby-lang
gnufied has quit [Client Quit]
skade has quit [Ping timeout: 248 seconds]
benlovell has joined #ruby-lang
skade has joined #ruby-lang
barttenbrinke has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
io_syl has quit [Quit: Computer has gone to sleep.]
skade has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 252 seconds]
benlovell has quit [Quit: Zzz]
banister`sleep has quit [Remote host closed the connection]
refd has quit [Read error: Connection timed out]
workmad3 has quit [Ping timeout: 260 seconds]
refd has joined #ruby-lang
refd has quit [Max SendQ exceeded]
barttenbrinke has quit [Remote host closed the connection]
kain has quit [Ping timeout: 240 seconds]
refd has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
Wildhoney has joined #ruby-lang
febeling has joined #ruby-lang
bright_day has joined #ruby-lang
marr has quit [Ping timeout: 252 seconds]
justinram has joined #ruby-lang
devoper has quit [Remote host closed the connection]
devoper has joined #ruby-lang
refd has quit [Read error: Connection timed out]
Evanescene has joined #ruby-lang
Evanescene has left #ruby-lang [#ruby-lang]
refd has joined #ruby-lang
maxmande_ has quit [Ping timeout: 245 seconds]
francisfish has quit [Remote host closed the connection]
maxmanders has joined #ruby-lang
francisfish has joined #ruby-lang
MaddinXx has joined #ruby-lang
charliesome has joined #ruby-lang
soknee has joined #ruby-lang
soknee has left #ruby-lang [#ruby-lang]
soknee has joined #ruby-lang
gustavnils has joined #ruby-lang
banister_ has joined #ruby-lang
soknee has quit [Quit: Leaving.]
soknee has joined #ruby-lang
judofyr has joined #ruby-lang
imperator has joined #ruby-lang
<imperator> good morning
AndChat| has quit [Ping timeout: 252 seconds]
barttenbrinke has joined #ruby-lang
barttenbrinke has quit [Read error: Operation timed out]
banister_ has left #ruby-lang [#ruby-lang]
banisterfiend has joined #ruby-lang
<banisterfiend> imperator: good morning http://i.imgur.com/3gbPRx3.gif
maxmanders has quit [Ping timeout: 256 seconds]
benlovell has joined #ruby-lang
refd has quit [Ping timeout: 245 seconds]
maxmanders has joined #ruby-lang
<imperator> banisterfiend, alrighty then
<banisterfiend> imperator: sorry just came across that on reddit around the time you said hello so i felt compelled to share ;)
<imperator> reddit, because irc wasn't a big enough time sink!
mytrile has joined #ruby-lang
jxie has quit [Quit: leaving]
soypirate has joined #ruby-lang
<darix> imperator: you just need to change the definition what counts as productive ... and suddenly reddit and irc arent such a time sink anymore ;)
refd has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
kain has joined #ruby-lang
s1n4 has joined #ruby-lang
francisfish has joined #ruby-lang
benlovell has quit [Quit: Zzz]
Banistergalaxy has joined #ruby-lang
Banistergalaxy has quit [Client Quit]
Banistergalaxy has joined #ruby-lang
gustavnils has quit [Quit: Textual IRC Client: www.textualapp.com]
gustavnils has joined #ruby-lang
s1n4 has left #ruby-lang ["leaving"]
countdigi has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
yehoshua has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
swav has quit [Remote host closed the connection]
yehoshua has quit [Client Quit]
nXqd has quit [Ping timeout: 256 seconds]
ddd has quit [Ping timeout: 245 seconds]
Wildhoney has quit [Ping timeout: 256 seconds]
Wildhoney has joined #ruby-lang
ddd has joined #ruby-lang
febeling has quit [Quit: febeling]
francisfish has joined #ruby-lang
devoper has quit [Quit: Leaving]
vlad_starkov has joined #ruby-lang
justinram has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
Stilo has joined #ruby-lang
swav has joined #ruby-lang
postmodern has quit [Quit: Leaving]
Aria has quit [Remote host closed the connection]
Aria has joined #ruby-lang
sarclops_ has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
moxie_ has joined #ruby-lang
* imperator releases sys-proctable 0.9.3 into the wild
mytrile has joined #ruby-lang
sarclops_ has quit [Quit: sarclops_]
judofyr has quit [Remote host closed the connection]
jsaak has quit [Ping timeout: 260 seconds]
shaman42 has quit [Remote host closed the connection]
MaddinXx has quit [Remote host closed the connection]
moxie_ has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
cyndis has quit [Read error: Connection reset by peer]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
jsaak has joined #ruby-lang
workmad3 has joined #ruby-lang
yianna has joined #ruby-lang
jonahR has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
yianna is now known as ykk
soknee has quit [Quit: Leaving.]
rsl has joined #ruby-lang
workmad3 has quit [Ping timeout: 252 seconds]
dekronin1 has joined #ruby-lang
dekroning has quit [Ping timeout: 245 seconds]
mytrile has joined #ruby-lang
dekronin1 has left #ruby-lang [#ruby-lang]
cyndis has joined #ruby-lang
kgrz has quit [Quit: Computer has gone to sleep.]
nazty has quit [Read error: Connection reset by peer]
JohnBat26 has joined #ruby-lang
rsl has quit [Ping timeout: 252 seconds]
justinram has joined #ruby-lang
kgrz has joined #ruby-lang
realDAB has joined #ruby-lang
rsl has joined #ruby-lang
wobblini has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Ping timeout: 256 seconds]
jvrmaia has joined #ruby-lang
jvrmaia has quit [Remote host closed the connection]
wobblini has joined #ruby-lang
jxie has joined #ruby-lang
nertzy2 has quit [Quit: Leaving]
nertzy has joined #ruby-lang
ploppy_ has joined #ruby-lang
shaman42 has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
rsl has quit [Quit: Textual IRC Client: www.textualapp.com]
pepper_chico has joined #ruby-lang
pepper_chico has quit [Max SendQ exceeded]
shaman42 has quit [Client Quit]
pepper_chico has joined #ruby-lang
pepper_chico has quit [Max SendQ exceeded]
shaman42 has joined #ruby-lang
pepper_chico has joined #ruby-lang
realDAB has quit [Quit: realDAB]
ploppy_ has quit [Quit: why no +v ?]
ploppy_ has joined #ruby-lang
shaman42 has quit [Client Quit]
ploppy_ has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby-lang
zprnorgan has joined #ruby-lang
spuk_ has quit [Quit: Human beings were created by water to transport it uphill.]
kith has quit [Remote host closed the connection]
kith has joined #ruby-lang
workmad3 has quit [Ping timeout: 248 seconds]
realDAB has joined #ruby-lang
davidbalber|away is now known as davidbalbert
refd has quit [Quit: Leaving]
soknee has joined #ruby-lang
soknee has quit [Client Quit]
soknee has joined #ruby-lang
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
spuk has joined #ruby-lang
srbaker has joined #ruby-lang
maxmanders has quit [Ping timeout: 264 seconds]
maxmanders has joined #ruby-lang
kith_ has joined #ruby-lang
srbaker has quit [Client Quit]
adambeynon has quit [Quit: Computer has gone to sleep.]
soypirate has quit [Ping timeout: 256 seconds]
soknee has quit [Quit: Leaving.]
adambeynon has joined #ruby-lang
kith has quit [Ping timeout: 264 seconds]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
nXqd has joined #ruby-lang
srbaker has joined #ruby-lang
spuk has joined #ruby-lang
kith_ is now known as kith
ykk has quit [Remote host closed the connection]
b3nt_pin_ has joined #ruby-lang
Stilo has joined #ruby-lang
bright_day has quit [Remote host closed the connection]
b3nt_pin_ has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
davidbalbert is now known as davidbalber|away
swav has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
davidbalber|away is now known as davidbalbert
methods has left #ruby-lang [#ruby-lang]
b3nt_pin_ has joined #ruby-lang
soknee has joined #ruby-lang
crazymykl has quit [Quit: Konversation terminated!]
as-cii has joined #ruby-lang
swav has joined #ruby-lang
swav has quit [Remote host closed the connection]
as-cii has left #ruby-lang [#ruby-lang]
yxhuvud has joined #ruby-lang
barttenbrinke has joined #ruby-lang
io_syl has joined #ruby-lang
dvorak has quit [Read error: Operation timed out]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
realDAB has quit [Quit: realDAB]
workmad3 has quit [Ping timeout: 264 seconds]
sebasoga has joined #ruby-lang
ykk has joined #ruby-lang
wallerdev has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
sarclops_ has joined #ruby-lang
sebasoga_ has joined #ruby-lang
davidbalbert is now known as davidbalber|away
sebasoga has quit [Ping timeout: 252 seconds]
tomzx_mac has joined #ruby-lang
sebasoga_ has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
sebasoga has joined #ruby-lang
soknee has quit [Quit: Leaving.]
soknee has joined #ruby-lang
soknee has quit [Client Quit]
sebasoga has quit [Ping timeout: 264 seconds]
benlovell has joined #ruby-lang
sebasoga has joined #ruby-lang
soknee has joined #ruby-lang
<ddfreyne> banisterfiend: ping
<ddfreyne> Banistergalaxy: ping
breakingthings has joined #ruby-lang
maxmanders has quit [Ping timeout: 245 seconds]
soknee has quit [Client Quit]
srbaker has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby-lang
shaman42 has joined #ruby-lang
voker57 has quit [Remote host closed the connection]
relrod has joined #ruby-lang
davidbalber|away is now known as davidbalbert
L4mppu has quit [Changing host]
L4mppu has joined #ruby-lang
L4mppu has quit [Quit: Leaving]
L4mppu has joined #ruby-lang
L4mppu has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
<ddfreyne> khaase: welcome to IRC
<khaase> hi :)
<ddfreyne> khaase: Moving to Berlin in two months by the way
<khaase> ddfreyne: oh sweet, we should hang out
<khaase> ddfreyne: though tbh, I haven't even managed to meet chad since he moved here
<zzak> <3
<ddfreyne> khaase: Would proper Belgian beer convince you?
<ddfreyne> To hold your promise, I mean :D
<khaase> hahaha
<khaase> I actually know a place in Potsdam where you can get pretty good Belgian beer
<khaase> like 40 different kinds or so
nguerin has joined #ruby-lang
<ddfreyne> So few :(
<zzak> #germanproblems
<khaase> hahaha
davidbalbert is now known as davidbalber|away
<khaase> I missed the Hoff saving the wall today. #germanproblems
nguerin_ has joined #ruby-lang
<ddfreyne> Maybe I can use the relocation budget SoundCloud has provided for me to move all my beer
lsegal has joined #ruby-lang
<khaase> like ten mins away from where I live
<whitequark> ddfreyne: didn't soundcloud migrate away from ruby?
<ddfreyne> whitequark: They use plenty of different things now
<ddfreyne> khaase: I am so tempted to link to the Hasselhoff gif now, but I think it’s a bit NSFW
realDAB has joined #ruby-lang
<khaase> ddfreyne: no worries, it's sunday, no one's at work
nguerin has quit [Ping timeout: 260 seconds]
happydude has joined #ruby-lang
happydude has quit [Client Quit]
robbyoconnor has joined #ruby-lang
yxhuvud2 has joined #ruby-lang
<ddfreyne> khaase: I’m at my parents’ place, and I don’t think I could explain that gif to my mother
yxhuvud has quit [Ping timeout: 260 seconds]
nguerin_ has quit [Ping timeout: 258 seconds]
davidbalber|away is now known as davidbalbert
<ddfreyne> Things I did not expect to do on a sunday: debug a Ruby script with gdb
delqn has quit [Ping timeout: 245 seconds]
soknee has joined #ruby-lang
<ddfreyne> rescue Segfault ← doesn’t even work. Ruby sux
nguerin has joined #ruby-lang
<havenwood> "NeverSayDie will let you rescue from SEGV's and is evil."
<ddfreyne> havenwood: ♥
<ddfreyne> Why does it not surprise me that tenderlove wrote this :D
nguerin_ has joined #ruby-lang
solars has joined #ruby-lang
nguerin_ has quit [Read error: Connection reset by peer]
nguerin has quit [Ping timeout: 258 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<breakingthings> needs more gorbypuff
lsegal has joined #ruby-lang
amerine has joined #ruby-lang
barttenbrinke has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]
yxhuvud2 has quit [Quit: Nettalk6 - www.ntalk.de]
benlovell has quit [Quit: Zzz]
agile has quit [Ping timeout: 245 seconds]
barttenbrinke has quit [Ping timeout: 258 seconds]
yxhuvud has joined #ruby-lang
benlovell has joined #ruby-lang
realDAB has quit [Quit: realDAB]
bzalasky has joined #ruby-lang
<ddfreyne> havenwood: neversaydie is awesome
<havenwood> ddfreyne: :D
<ddfreyne> havenwood: I can now continue working on other stuff while nokogiri keeps segfaulting
amerine has quit [Quit: Computer has gone to sleep.]
<whitequark> lol
happydude has joined #ruby-lang
<whitequark> actually you can rescue a segfault
<whitequark> trap(:SEGV)
<whitequark> or maybe not
<ddfreyne> “It’s only abuse if it crashes” ♥
<whitequark> apeiros_: re Introspection module; it's not enough
<whitequark> there is also no #dup on BasicObject.
<whitequark> (as I've just discovered while exploring the second of the two valid uses of B/O ever)
<apeiros_> that's not really a problem. there is allocate and initialize_copy/initialize_clone/initialize_dup
<apeiros_> oh, hm
<apeiros_> while you could recreate dup, that'll be harder for clone
<yorickpeterse> http://preview.python.org/ why is the Ruby website not as sexy as this? :<
<apeiros_> so I guess you're right
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
<whitequark> yorickpeterse: why the heck can I assign to 1 in python? :D
benlovell has quit [Quit: Zzz]
<yorickpeterse> it's an L
agile has joined #ruby-lang
<yorickpeterse> HN is already all over it
benlovell has joined #ruby-lang
wobblini has quit [Read error: Operation timed out]
<whitequark> what's HN?
dcwu has joined #ruby-lang
<breakingthings> whitequark: a miserable little pile of lies
ryanf has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
pbjorklund has quit [Ping timeout: 256 seconds]
<whitequark> breakingthings: s,little,big, ...
<whitequark> meh.
<whitequark> I *really* need ruby_parser to support keyword arguments.
soknee has quit [Quit: Leaving.]
havenwood has quit [Remote host closed the connection]
pbjorklund has joined #ruby-lang
crankharder has quit [Ping timeout: 245 seconds]
sepp2k has joined #ruby-lang
anjen has joined #ruby-lang
davidbalbert is now known as davidbalber|away
soknee has joined #ruby-lang
happydude has quit [Quit: Leaving]
r0bby has joined #ruby-lang
robbyoconnor has quit [Disconnected by services]
r0bby is now known as robbyoconnor
Stilo has joined #ruby-lang
L4mppu has quit [Quit: Leaving]
L4mppu has joined #ruby-lang
L4mppu has quit [Changing host]
L4mppu has joined #ruby-lang
kurko__ has joined #ruby-lang
Ridders24 has joined #ruby-lang
<injekt> heh
skbierm has joined #ruby-lang
amerine has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 276 seconds]
r0bby has joined #ruby-lang
simi has quit [Read error: Operation timed out]
gregmore_ has joined #ruby-lang
symm- has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
gregmoreno has quit [Ping timeout: 248 seconds]
r0bby has quit [Ping timeout: 240 seconds]
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
pepper_chico has quit [Quit: Computer has gone to sleep.]
vlad_sta_ has quit [Remote host closed the connection]
<rue> whitequark: Patches not welcome
dc5ala has quit [Quit: Ex-Chat]
<whitequark> rue: wel this is EXACTLY the problem
pepper_chico has joined #ruby-lang
kentos has quit [Ping timeout: 264 seconds]
<freedrull> if you're making an extension for a c library, should you include the authors of the c library in the authors field in the gemspec?
<freedrull> or just the people who made the ruby extension i guess.....
sarclops_ has quit [Quit: sarclops_]
<lianj> include why_ too
<whitequark> freedrull: no. just the ruby folks.
<Aria> Just the extension.
<lianj> yea
<whitequark> freedrull: however, add a section "Acknowledgements" or so
<whitequark> and describe the original authors ther
<freedrull> seems fair
thone has joined #ruby-lang
swav has joined #ruby-lang
Wildhoney has quit [Ping timeout: 264 seconds]
<lianj> freedrull: if their lib was enjoyable to wrap, then yes :P
srbaker has joined #ruby-lang
thone_ has quit [Ping timeout: 264 seconds]
kentos has joined #ruby-lang
meizaps has quit [Ping timeout: 264 seconds]
sarclops_ has joined #ruby-lang
agile has quit [Remote host closed the connection]
meizaps has joined #ruby-lang
agile has joined #ruby-lang
skbierm has quit [Quit: Verlassend]
happydude has joined #ruby-lang
marr has joined #ruby-lang
pepper_chico has quit [Quit: Computer has gone to sleep.]
anjen has quit [Quit: anjen]
crankharder has joined #ruby-lang
blacktulip has joined #ruby-lang
happydude has quit [Quit: Leaving]
ruby-lang626 has joined #ruby-lang
justinram has quit [Ping timeout: 264 seconds]
sarclops_ has quit [Quit: sarclops_]
justinram has joined #ruby-lang
sebasoga has quit [Quit: Computer has gone to sleep.]
<Ridders24> how do I get my output to display the urls such a www.foo.com, instead of just foo? http://pastie.org/6585098
ryanf has quit [Quit: leaving]
robbyoconnor has joined #ruby-lang
b3nt_pin_ has quit [Remote host closed the connection]
benlovell has quit [Quit: Zzz]
<drbrain> Ridders24: probably post_links.map { |link| link.uri }
ruby-lang626 has quit [Ping timeout: 245 seconds]
brianpWins has joined #ruby-lang
ykk has quit [Read error: Connection reset by peer]
<Ridders24> drbrain, I can't get that to work
ykk has joined #ruby-lang
madish has joined #ruby-lang
<drbrain> how so?
benanne has quit [Quit: kbai]
<drbrain> what are you trying to accomplish?
<Ridders24> trying to make a simple web crawler. I want it to give it a url and then collect all the links from that page then collect all the links from the previous crawled urls, and just keep outputting them for now into a list
vlad_starkov has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
<Ridders24> lianj: the examples ive been looking at with those, either produce urls from just within the first page provided, or just the title of the urls not the url itself
<drbrain> Ridders24: then you just need to link.click
<drbrain> mechanize will take care of constructing the full URL
<Ridders24> drbrain: thats the problem I can't get it to produce the full url
<drbrain> Ridders24: mechanize takes care of it internally
<Ridders24> oh it see, how do i stop that?
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<drbrain> unfortunately it's difficult and requires accessing mechanize internals
tbuehlmann has joined #ruby-lang
<Ridders24> drbrain: what else could I use ?
alessio_rocco has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 258 seconds]
<drbrain> you can do it with links.map { |link| agent.resolve(link, page).to_s }
francisfish has quit [Remote host closed the connection]
anjen has joined #ruby-lang
francisfish has joined #ruby-lang
<drbrain> oops
<drbrain> agent.agent.resolve
bzalasky has joined #ruby-lang
oon_ has left #ruby-lang [#ruby-lang]
pepper_chico has joined #ruby-lang
tylersmith has joined #ruby-lang
krohrbaugh has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
tbuehlmann has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
soknee has quit [Quit: Leaving.]
stonerfish has joined #ruby-lang
wobblini has joined #ruby-lang
stonerfish has quit [Client Quit]
dcwu has quit [Read error: Connection reset by peer]
adambeynon has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
soknee has joined #ruby-lang
soknee has quit [Client Quit]
publicvoid has joined #ruby-lang
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
krohrbaugh has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
alessio_rocco has quit [Ping timeout: 256 seconds]
lguardiola has joined #ruby-lang
lguardiola has left #ruby-lang [#ruby-lang]
rippa has quit [Ping timeout: 240 seconds]
amerine has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> and so begins the long and boring task of writing code like this: http://pastie.org/6585730
<yorickpeterse> If I can't dream the standard lib after this I'm probably doing something wrong
srbaker has quit [Quit: Computer has gone to sleep.]
krohrbaugh has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
dvorak has joined #ruby-lang
krohrbaugh has quit [Client Quit]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Client Quit]
krohrbaugh has joined #ruby-lang
symm- has quit [Ping timeout: 264 seconds]
benanne has joined #ruby-lang
gustavnils has quit [Quit: Textual IRC Client: www.textualapp.com]
srbaker has joined #ruby-lang
alessio_rocco has joined #ruby-lang
srbaker has quit [Client Quit]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
davidbalber|away is now known as davidbalbert
<whitequark> yorickpeterse: go make a DSL to make it shorter.
<whitequark> and by DSL I don't mean hijacking self.
srbaker has joined #ruby-lang
srbaker has quit [Client Quit]
<yorickpeterse> I spent some time trying to get some code together to auto generate it but meh
symm- has joined #ruby-lang
<whitequark> yorickpeterse: well good luck maintaining that crap
spuk has joined #ruby-lang
L4mppu has left #ruby-lang ["Leaving"]
<yorickpeterse> The alternative, importing stuff from the current runtime, is even worse
<yorickpeterse> Been there, done that, didn't work
madb055 has joined #ruby-lang
<whitequark> yorickpeterse: also why the fuck BasicObject < Class ?
<yorickpeterse> Because there's no such thing as a singleton class in ruby-lint
<yorickpeterse> Normally it's BasicObject -> BasicObject singleton -> Class
<yorickpeterse> Note that definitions inheriting is somewhat different than extending
<whitequark> BasicObject does not inherit BasicObject singleton either.
<whitequark> you can thank me later.
<yorickpeterse> Correct, but what's available in the singleton does become available in BasicObject
mistym has quit [Remote host closed the connection]
<yorickpeterse> For example¸ Kernel is smashed into the singleton but is also available in BasicObject itself
<whitequark> make yourself four regexps to parse that and cut down time needed to define the stdlib in, I dunno, two orders of magnitude
<whitequark> yorickpeterse: what you are talking about has nothing to do with Ruby object system
<yorickpeterse> yeah lets spend some time doing that for only a single file that I already did
<whitequark> yorickpeterse: wat? you said you were going to define the entire stdlib that way.
<yorickpeterse> Yeah, and you only pastied a single case: BasicObject
<yorickpeterse> plus I already have some tools to generate most of the info that I need
<whitequark> yorickpeterse: which is more than 4 times shorter than your code describing exactly that
<whitequark> and equally more clear.
<yorickpeterse> big whoop
* whitequark shrugs
<whitequark> well, yes
<yorickpeterse> maybe I'll add some YAML based syntax layer around it or w/e, but not for now
Ridders24 has quit [Quit: Leaving]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
srbaker has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
srbaker has quit [Client Quit]
pepper_chico has quit [Quit: Computer has gone to sleep.]
Averna has quit [Quit: Leaving.]
Artheist has joined #ruby-lang
pepper_chico has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ykk has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 245 seconds]
alessio_rocco has quit [Ping timeout: 260 seconds]
benanne has quit [Quit: kbai]
pepper_chico has quit [Quit: Computer has gone to sleep.]
krohrbaugh has quit [Quit: Leaving.]
gregmore_ has quit [Read error: No route to host]
gregmoreno has joined #ruby-lang
lcdhoffman has joined #ruby-lang
felipe_Brz has joined #ruby-lang
<felipe_Brz> any reason why I can't assign the result of a block like this http://pastie.org/6586431 to a variable?
<drbrain> felipe_Brz: use map instead of each
<felipe_Brz> hmm I'll read about that. thanks drbrain
Nisstyre-laptop has joined #ruby-lang
ykk has joined #ruby-lang
blacktulip has quit [Remote host closed the connection]
mistym has joined #ruby-lang
felipe_Brz has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307122853]]
pepper_chico has joined #ruby-lang
xalei has joined #ruby-lang
pepper_chico has quit [Max SendQ exceeded]
srbaker has joined #ruby-lang
ryanf has joined #ruby-lang
ryanf has left #ruby-lang [#ruby-lang]
Bwild has quit [Ping timeout: 264 seconds]
bzalasky has joined #ruby-lang
Bwild has joined #ruby-lang
mjio has quit []
earthquake has quit [Quit: earthquake]
sarclops_ has joined #ruby-lang
sarclops_ has quit [Client Quit]
FastJack has quit [Ping timeout: 245 seconds]
alessio_rocco has joined #ruby-lang
alessio_rocco has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
anjen has quit [Quit: anjen]
apeiros_ has joined #ruby-lang
brownhd has joined #ruby-lang
Bwild has quit [Ping timeout: 256 seconds]
brownhd has quit [Client Quit]
Bwild has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
francisfish has quit [Remote host closed the connection]
ryanf has joined #ruby-lang
ryanf has left #ruby-lang [#ruby-lang]
davidbalbert is now known as davidbalber|away
woollyams has joined #ruby-lang
soknee has joined #ruby-lang
mjio has joined #ruby-lang
bzalasky has joined #ruby-lang
publicvoid_ has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
publicvoid has quit [Ping timeout: 256 seconds]
solars has quit [Ping timeout: 260 seconds]
soknee has quit [Quit: Leaving.]
skade has joined #ruby-lang
hasimo-t has joined #ruby-lang
mistym has quit [Remote host closed the connection]
kurko__ has quit [Quit: Computer has gone to sleep.]
tenderlove has quit [Remote host closed the connection]
skade has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
mistym has joined #ruby-lang
skade has joined #ruby-lang
Averna has joined #ruby-lang
cored has quit [Ping timeout: 256 seconds]
cored has joined #ruby-lang
hakunin has joined #ruby-lang
kurko__ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
justinram has quit [Remote host closed the connection]
sarclops_ has joined #ruby-lang
simi has joined #ruby-lang
v0yager has joined #ruby-lang
Wildhoney has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
sarclops_ has quit [Client Quit]
soypirate has joined #ruby-lang
pepper_chico has joined #ruby-lang
pepper_chico has quit [Max SendQ exceeded]
pepper_chico has joined #ruby-lang
sheerun has quit [Quit: ZNC - http://znc.in]
skade has quit [Read error: Connection reset by peer]
maxmanders has quit [Quit: Computer has gone to sleep.]