00:10
ilyam_ [ilyam_!~ilyam@eng.nat.mtv.ooyala.com] has joined #ruby-lang
00:11
SkramX [SkramX!~SkramX@pool-173-73-134-143.washdc.east.verizon.net] has joined #ruby-lang
00:23
fayimora [fayimora!~fayimora@95.175.159.4] has joined #ruby-lang
00:24
Heimidal [Heimidal!~heimidal@factory-smtp.factorylabs.com] has joined #ruby-lang
00:27
macmartine [macmartine!~macmartin@069-064-227-254.pdx.net] has joined #ruby-lang
00:39
takaokouji [takaokouji!~takaokouj@2001:268:306:3:226:8ff:fedd:31a3] has joined #ruby-lang
00:50
takaokouji [takaokouji!~takaokouj@2001:268:306:1:225:bcff:fedc:e1fe] has joined #ruby-lang
00:59
<
postmodern >
interesting, it appears 1.9 requires const_missing be defined as a class-method
00:59
<
postmodern >
and 1.8 wants it defined as an instance-method within the meta-class
00:59
<
postmodern >
ran into this when trying to override const_missing for ruby consoles
01:00
h4y4shi [h4y4shi!~chatzilla@rrcs-67-79-54-130.sw.biz.rr.com] has joined #ruby-lang
01:04
Kero [Kero!~kero@31-151-127-178.dynamic.upc.nl] has joined #ruby-lang
01:06
bryno [bryno!~b@unaffiliated/bryno] has joined #ruby-lang
01:10
<
h4y4shi >
I was looking at some code where they used double space instead of tab. Is there a difference between the two?
01:11
replore [replore!~replore@203.152.213.161.static.zoot.jp] has joined #ruby-lang
01:12
Heimidal [Heimidal!~heimidal@c-67-165-197-126.hsd1.co.comcast.net] has joined #ruby-lang
01:14
<
Spooner >
h4y4shi: Most code uses double-space (or the occassional 4-space). Using tab is generally shunned.
01:15
* Spooner
waits for a tab/space war.
01:16
<
shevy >
people using tabs are dumb
01:17
<
h4y4shi >
so I can do a double space kind of thing?
01:17
<
h4y4shi >
are they functionally the same?
01:17
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby-lang
01:17
<
Spooner >
h4y4shi: You should be able to set your editor to do double-space when you press tab.
01:17
<
h4y4shi >
Okay I will try thanks for the tips
01:17
<
shevy >
h4y4shi: ruby allows you to use tabs and spaces however you like
01:18
<
postmodern >
down with tabs
01:18
<
shevy >
but ideally, however you decide, always stick to it consistently
01:18
<
Spooner >
Yes, it is purely an aesthetic difference in Ruby (unlike Python/YAML/etc).
01:18
<
shevy >
yeah. I settled for 2 spaces as indent in ruby
01:18
<
postmodern >
it's more important what your tabwidth is in your editor
01:19
<
h4y4shi >
My tabwidth is four spaces
01:19
<
postmodern >
since ruby code can become deeply nested, full tabs will push the code off the screen
01:19
<
h4y4shi >
Oh okay I see
01:21
wmoxam [wmoxam!~wmoxam@pdpc/supporter/active/wmoxam] has joined #ruby-lang
01:24
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby-lang
01:33
ilyam [ilyam!~ilyam@eng.nat.mtv.ooyala.com] has joined #ruby-lang
01:33
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.40] has joined #ruby-lang
01:35
mztriz [mztriz!~mztriz@nkugateway.nku.edu] has quit [#ruby-lang]
01:39
ryanf [ryanf!~revfitz@50.0.160.40] has joined #ruby-lang
01:40
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby-lang
01:42
gregmore_ [gregmore_!~gregmoren@S01067444012f4469.vc.shawcable.net] has joined #ruby-lang
01:43
bglusman [bglusman!~bglusman@c-71-224-192-35.hsd1.pa.comcast.net] has joined #ruby-lang
01:45
uniqanomaly [uniqanomaly!~ua@dynamic-78-8-80-34.ssp.dialog.net.pl] has joined #ruby-lang
01:59
SuperTaz_work [SuperTaz_work!~supertaz_@38.99.52.59] has joined #ruby-lang
02:00
<
drbrain >
erikh: I hate you
02:01
<
erikh >
can't we all just get along?
02:02
<
drbrain >
yeah, once you stop using odd-numbered tab stops
02:04
jxie [jxie!~jxie@218.64.29.238] has joined #ruby-lang
02:04
<
newbold >
I'd always wondered about the tab stops
02:05
<
drbrain >
s/tab stops/indentation
02:05
<
newbold >
drbrain: ah, right
02:05
<
newbold >
I was noticing earlier when I was messing with vim (something I don't do often) that the default indentation when pressing tab was some unholy number of spaces
02:05
<
newbold >
it looked awful
02:06
<
drbrain >
for ruby, I have vim configured to make tab == 8 column indent
02:06
rpowell [rpowell!~rpowell@CPE-121-218-99-41.lnse4.ken.bigpond.net.au] has joined #ruby-lang
02:06
<
drbrain >
oops, tab == 2 column indent
02:06
<
drbrain >
so viewing files with tabs in them is fine
02:06
<
drbrain >
but then I cat the file and go WTF‽
02:07
<
newbold >
drbrain: wait, so should I be using 2 spaces for each line of indentation?
02:08
<
erikh >
drbrain: yeah, but that's because you work on the ruby source code
02:10
<
shevy >
newbold you should use 2 spaces consistently to indicate one level of indent when you work on ruby code
02:10
imperator [imperator!~Daniel@184-96-109-96.hlrn.qwest.net] has joined #ruby-lang
02:12
<
erikh >
linus swears by 8 space indent, or at least used to
02:12
<
erikh >
but this is one of those things that's totally personal preference
02:13
<
shevy >
hmm his premise is odd
02:14
<
shevy >
"Especially when you've been looking at your screen for 20 straight hours, you'll find it a lot easier to see how the indentation works if you have large indentations."
02:14
<
shevy >
never had that problem with 2 spaces indented ruby code
02:15
<
erikh >
not saying I agree with him -- it's just a personal taste thing is all
02:15
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
02:17
<
erikh >
the internet is magical
02:18
* imperator
used to use 3-space indentation, but switched to 2 a couple years ago
02:23
flowerpot [flowerpot!~flower@ec2-50-112-114-252.us-west-2.compute.amazonaws.com] has joined #ruby-lang
02:26
WillMarshall [WillMarshall!~willmarsh@ppp121-44-86-68.lns20.syd6.internode.on.net] has joined #ruby-lang
02:30
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby-lang
02:39
ryanf [ryanf!~ryanf@230.sub-174-253-229.myvzw.com] has joined #ruby-lang
02:46
flowerpot [flowerpot!~flower@ec2-50-112-114-252.us-west-2.compute.amazonaws.com] has joined #ruby-lang
02:49
twittard_ [twittard_!~twittard@wc.lax.truecarcorp.com] has joined #ruby-lang
02:52
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
02:58
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby-lang
03:01
MistyM [MistyM!~MistyM@50.72.70.192] has joined #ruby-lang
03:01
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
03:02
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
03:03
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
03:04
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby-lang
03:05
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
03:05
jorgenpt [jorgenpt!~jorgenpt@arachnophobia.daxnet.org] has joined #ruby-lang
03:06
ryanf [ryanf!~rfitz@ec2-50-18-158-149.us-west-1.compute.amazonaws.com] has joined #ruby-lang
03:09
ylluminate [ylluminate!~ylluminat@rrcs-24-123-53-166.central.biz.rr.com] has joined #ruby-lang
03:13
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
03:15
twittard [twittard!~twittard@cpe-76-169-74-39.socal.res.rr.com] has joined #ruby-lang
03:22
<
MistyM >
In a DSL, is there a way to make methods in a block resolve to different methods than when used outside the block?
03:23
<
MistyM >
E.g., foo 1 #=> @foo = 1; bar { foo 1 } #=> @bar = 1
03:29
<
ryanf >
MistyM: check out instance_eval
03:29
<
MistyM >
ryanf: Was having trouble figuring out how to define the method in a proper scope for that to work.
03:30
<
MistyM >
E.g., `define_method`ing within `def bar` wasn't enough, it used the original definitions.
03:38
jmontross1 [jmontross1!~Adium@static-96-236-65-137.snfcca.dsl-w.verizon.net] has joined #ruby-lang
03:38
<
jmontross1 >
how may one send multiple params to a private method using .send(:method, param1)
03:38
<
jmontross1 >
that works with one param… but when you have two i am not sure what to do..
03:39
<
ryanf >
.send(:method, param1, param2)
03:46
rpowell [rpowell!~rpowell@CPE-121-218-99-41.lnse4.ken.bigpond.net.au] has joined #ruby-lang
03:47
dv310p3r [dv310p3r!~dv310p3r@c-98-203-41-91.hsd1.fl.comcast.net] has joined #ruby-lang
03:49
<
MistyM >
ryanf: How would you suggest redefining the methods?
03:49
<
MistyM >
E.g., def bar █ define_method etc. and def bar █ class << self; define_method etc. don't seem to override the original method definitions.
03:51
rpowell [rpowell!~rpowell@CPE-121-218-99-41.lnse4.ken.bigpond.net.au] has joined #ruby-lang
03:51
<
ryanf >
MistyM: I'm not sure I understand what you're trying to do
03:51
<
ryanf >
instance_eval evaluates the block in the context of an entirely different object
03:52
<
ryanf >
so that object can have whatever methods you want
03:52
<
ryanf >
but it doesn't require redefining anything per se
03:54
tenderlove [tenderlove!~tenderlov@pdpc/supporter/active/tenderlove] has joined #ruby-lang
04:02
brianpWins [brianpWins!~brianpWin@S01060014bf8930ea.vc.shawcable.net] has joined #ruby-lang
04:02
gokulnath [gokulnath!~gokulnath@115.111.177.122] has joined #ruby-lang
04:03
matled [matled!~matled@85.131.246.184] has joined #ruby-lang
04:03
My_Hearing [My_Hearing!~Mon_Ouie@subtle/user/MonOuie] has joined #ruby-lang
04:06
<
MistyM >
ryanf: Oh, right.
04:06
<
MistyM >
Hm, I guess instance_eval only returns the most recent return value if multiple methods are in the block.
04:07
gokulnath [gokulnath!~gokulnath@115.111.177.122] has joined #ruby-lang
04:08
<
bnagy >
don't blocks always behave like that?
04:11
<
MistyM >
Yeah, don't know why I expected different.
04:12
<
bnagy >
getting the methods to work differently will be easy, but if you want to mess with ivars and stuff it's going to be tricky and ugly, I'd imagine
04:15
Phrogz [Phrogz!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby-lang
04:16
<
MistyM >
Yeah, I got it now. It's kind of crazy but works.
04:17
<
Phrogz >
This hurts my head: [{a:1,b:2},{c:3,d:4}].inject(&:merge) #=> {:a=>1, :b=>2, :c=>3, :d=>4}
04:17
<
Phrogz >
I don't understand how that Symbol#to_proc is working with inject.
04:17
rippa [rippa!~splitta@85.158.54.234] has joined #ruby-lang
04:17
<
Phrogz >
Some look smart and 'splain it to me.
04:17
<
Phrogz >
s/Some/Someone/
04:19
<
bnagy >
I guess merge is being used as the block and {a:1,b:2} is being used as the initial
04:19
<
Phrogz >
bnagy: Sure; but Symbol#to_proc I thought just sent the symbol-as-method name to the single block arg. How is the second block param coming in as an argument to merge?
04:20
<
Phrogz >
It's the same weirdness as (1..10).inject(&:+) #=> 55
04:21
<
bnagy >
why's that weird?
04:21
<
bnagy >
it's the first example in the documentation (I was about to paste the link to ;)
04:21
<
Phrogz >
bnagy: inject yields two values to its block, right?
04:22
<
Phrogz >
Rather...maybe I better go look at what Symbol#to_proc is really doing for blocks that aren't arity 1.
04:22
<
bnagy >
If you specify a symbol instead, then each element in the collection will be passed to the named method of memo. In either case, the result becomes the new value for memo
04:23
<
bnagy >
it's right there in the doc, I don't see what's odd?
04:23
<
Phrogz >
Let me create an example of weirdness, then. A few mins, perhaps.
04:25
ksinkar [ksinkar!~ksinkar@117.195.111.77] has joined #ruby-lang
04:25
krz [krz!~foobar@unaffiliated/krz] has joined #ruby-lang
04:26
<
Phrogz >
OK, it's not weird given that this works:
http://pastie.org/3247723 Thus I've now learned that Symbol#to_proc sends the symbol as method to the first block param, and passes all extra block params as arguments to that send.
04:26
<
Phrogz >
Ah, I know why I was confused.
04:26
* Phrogz
makes new example
04:28
<
Phrogz >
But I see now that it won't destructure arrays as multiple arguments for you automatically.
04:28
<
Phrogz >
OK, sanity restored. Symbol#to_proc is now officially cooler.
04:30
<
bnagy >
I have 0 idea what you are talking about
04:31
<
bnagy >
the first object becomes the memo, then subsequent objects get passed to :meth on the memo object, it's as simple as that
04:31
<
bnagy >
(1..10).inject(:+), 1 is the first memo, then memo=1.+2 (3) then memo=3.+3 etc
04:32
<
bnagy >
I'm not sure where arity is coming into it in those examples (merge and +)
04:32
<
Phrogz >
bnagy: Ignore inject, other than the fact that it passes two values to the block.
04:33
<
Phrogz >
The key here is that Symbol#to_proc has more utility than just block_arg.send(symbol)
04:33
<
Phrogz >
Other than &:+ for inject, this is the first time I've ever seen it used with a block that has more than one value yielded to it.
04:34
<
Phrogz >
And I always chalked &:+ up to inject weirdness, since it even lets you just pass a symbol, i.e. enum.inject(0,:+) if you want.
04:36
gregmore_ [gregmore_!~gregmoren@S01067444012f4469.vc.shawcable.net] has joined #ruby-lang
04:36
* Phrogz
works to come up with a convoluted example using zip and each to do fun things to objects.
04:38
darkf [darkf!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
04:45
flowerpot [flowerpot!~flower@ec2-50-112-114-252.us-west-2.compute.amazonaws.com] has joined #ruby-lang
04:48
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
04:48
gregmore_ [gregmore_!~gregmoren@S01067444012f4469.vc.shawcable.net] has joined #ruby-lang
04:55
darkf [darkf!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
05:08
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby-lang
05:10
krz [krz!~foobar@2002:3a45:c93c:0:691b:34b4:c170:5d54] has joined #ruby-lang
05:10
krz [krz!~foobar@unaffiliated/krz] has joined #ruby-lang
05:11
mikeric [mikeric!~mike@S0106c03f0e8b23f3.vc.shawcable.net] has joined #ruby-lang
05:12
retro-in-better- [retro-in-better-!~retro@106.142.broadband6.iol.cz] has joined #ruby-lang
05:15
<
Phrogz >
Hrm, except of course #zip.each wouldn't actually yield two values; it'd yield the array of two values. That's a shame.
05:16
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
05:40
ahs3- [ahs3-!~ahs3-@adsl-065-005-193-158.sip.rdu.bellsouth.net] has joined #ruby-lang
05:46
cylence [cylence!~cylence@64-71-24-18.static.wiline.com] has joined #ruby-lang
05:47
flowerpot [flowerpot!~flower@ec2-50-112-114-252.us-west-2.compute.amazonaws.com] has joined #ruby-lang
05:47
cylence [cylence!~cylence@64-71-24-18.static.wiline.com] has joined #ruby-lang
05:47
vereteran [vereteran!~vereteran@static.88-198-170-117.clients.your-server.de] has joined #ruby-lang
05:47
ksinkar [ksinkar!~ksinkar@123.201.117.198] has joined #ruby-lang
05:48
flowerpot [flowerpot!~flower@ec2-50-112-114-252.us-west-2.compute.amazonaws.com] has joined #ruby-lang
05:50
vladalive [vladalive!~vladalive@176.52.68.243] has joined #ruby-lang
05:56
Phrogz [Phrogz!~phrogz@pdpc/supporter/professional/phrogz] has joined #ruby-lang
06:02
hitekrednek [hitekrednek!~new@static24-72-49-17.r.rev.accesscomm.ca] has joined #ruby-lang
06:03
darkf [darkf!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
06:03
robbyoconnor [robbyoconnor!~wakawaka@guifications/user/r0bby] has joined #ruby-lang
06:07
bglusman [bglusman!~bglusman@c-71-224-192-35.hsd1.pa.comcast.net] has joined #ruby-lang
06:11
<
shevy >
c = 'cat'; c.define_singleton_method(:hi) { p 'hi' }
06:11
<
shevy >
is the same as
06:14
RORgasm [RORgasm!~rorgasm@nyv-exweb.iac.com] has joined #ruby-lang
06:14
andrewhl [andrewhl!~andrew@24-246-14-26.cable.teksavvy.com] has joined #ruby-lang
06:17
jmontross [jmontross!~Adium@64.74.213.74] has joined #ruby-lang
06:26
Locke23rus [Locke23rus!~quassel@128-70-125-206.broadband.corbina.ru] has joined #ruby-lang
06:29
JohnBat26 [JohnBat26!~Eugene@89.175.77.79] has joined #ruby-lang
06:30
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
06:34
yxhuvud [yxhuvud!mongo@h-5-47.a212.priv.bahnhof.se] has joined #ruby-lang
06:47
flowerpot [flowerpot!~flower@ec2-50-112-114-252.us-west-2.compute.amazonaws.com] has joined #ruby-lang
06:47
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
06:49
lianj [lianj!~lianj@17.145.34.193.static.giga-dns.com] has joined #ruby-lang
06:49
lianj [lianj!~lianj@subtle/user/lianj] has joined #ruby-lang
06:49
jmontross [jmontross!~Adium@64.74.213.74] has quit [#ruby-lang]
06:55
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
06:59
gianlucadv [gianlucadv!~gianlucad@host78-84-dynamic.44-79-r.retail.telecomitalia.it] has joined #ruby-lang
07:01
<
erikh >
anyone have any ideas?
07:03
havenn [havenn!~skipper@pool-71-189-127-105.lsanca.fios.verizon.net] has joined #ruby-lang
07:03
<
yxhuvud >
stop molest the poor child!
07:08
<
erikh >
the poor child is being terminated by its parent
07:08
<
erikh >
don't blame the messenger :)
07:10
heftig [heftig!~Jan@archlinux/developer/heftig] has joined #ruby-lang
07:10
<
erikh >
#daemon should raise if it's failing so I'm not too worried about that being a problem
07:10
<
erikh >
and I checked with dtruss, no leaky descriptors unless you count the dtrace device
07:13
<
zvrba >
erikh: huh? the child exits of itself
07:13
csherin [csherin!~csherin@115.111.177.122] has joined #ruby-lang
07:14
<
zvrba >
erikh: it doesn't do anything but send USR1 to its parent and exits.
07:14
<
erikh >
use like this: daemonize; loop { sleep 1 }
07:14
<
erikh >
the parent should exit before it hits the loop statement, which it does do, but it takes out the child with it.
07:15
<
erikh >
(the child should loop.)
07:15
<
zvrba >
there is no reason for why the parent should exit before hitting loop
07:16
<
erikh >
you mean the if pid; loop { sleep 10 } doesn't do waht I expect? that'd be contrary to the documentation and all the debugging i've done
07:16
<
zvrba >
what do you expect it to do?
07:16
<
erikh >
properly terminate the parent and go on its merry way
07:16
<
zvrba >
or, why do you expect the parent to exit before loop is run
07:16
<
erikh >
read the code again, please.
07:17
stoor [stoor!~stoor@ip4da85716.direct-adsl.nl] has joined #ruby-lang
07:17
<
erikh >
ok, what happens when that Process.kill statement is run on the ppid of the child?
07:17
dr0id [dr0id!~andy@203.171.245.184] has joined #ruby-lang
07:17
<
zvrba >
what happens when fork is executed?
07:17
<
erikh >
what does fork return to the parent?
07:17
dr0id [dr0id!~andy@unaffiliated/dr0id] has joined #ruby-lang
07:17
<
erikh >
so if pid is going to do what
07:17
<
zvrba >
having a PID doesn't mean that the child has started to run
07:18
<
zvrba >
scheduling is non-deterministic.
07:18
<
erikh >
ok -- let me explain this in very pedantic terms
07:18
<
zvrba >
the kernel can create the child process, but you don't know when its first instruction will be run
07:18
<
erikh >
the if pid; loop { sleep 10 }; end only happens in the parent
07:18
<
erikh >
and loops endlessly
07:18
<
erikh >
it never exits the method
07:19
<
erikh >
the child then executes kill(USR1) on the ppid
07:19
<
erikh >
which is trapped to call exit.
07:19
<
erikh >
what is unclear here then
07:19
<
zvrba >
nothing. what's YOUR problem?
07:19
<
erikh >
look, my penis is HUGE
07:19
<
erikh >
I don't really care about yours.
07:20
<
zvrba >
or, what is happenning in this program, and what do you expect to happen?
07:22
<
zvrba >
there is no loop in the child process, why do you expect it to continue running_
07:23
thone_ [thone_!~thone@g226032204.adsl.alicedsl.de] has joined #ruby-lang
07:24
burgestrand [burgestrand!~burgestra@h-45-63.a155.priv.bahnhof.se] has joined #ruby-lang
07:25
<
erikh >
derp; my apologies, block form fork exits as soon as the block does
07:25
<
erikh >
forgot about that little detail ;)
07:39
ylluminate [ylluminate!~ylluminat@rrcs-24-123-53-166.central.biz.rr.com] has joined #ruby-lang
07:40
s0ra_h [s0ra_h!~sora_h@sorah.jp] has joined #ruby-lang
08:05
kyrylo [kyrylo!~kyrylo@46.118.230.39] has joined #ruby-lang
08:05
kyrylo [kyrylo!~kyrylo@subtle/user/kyrylo] has joined #ruby-lang
08:06
DRCALKIN [DRCALKIN!~DROOL_AND@cpe-66-69-208-144.austin.res.rr.com] has joined #ruby-lang
08:07
jMCg [jMCg!~hiro@static.117.115.40.188.clients.your-server.de] has joined #ruby-lang
08:07
jMCg [jMCg!~hiro@apache/committer/igalic] has joined #ruby-lang
08:07
solars [solars!~solars@clnet-kmu02-090.ikbnet.co.at] has joined #ruby-lang
08:08
<
zenspider >
minitest 2.11.0 released
08:10
krz [krz!~foobar@58.69.201.60] has joined #ruby-lang
08:10
krz [krz!~foobar@unaffiliated/krz] has joined #ruby-lang
08:10
postmodern_ [postmodern_!~postmoder@c-71-237-178-98.hsd1.or.comcast.net] has joined #ruby-lang
08:12
<
zenspider >
rubyinline 3.11.1 released
08:13
h4y4shi [h4y4shi!~chatzilla@rrcs-67-79-54-130.sw.biz.rr.com] has joined #ruby-lang
08:15
roadkith [roadkith!~kith@unaffiliated/kith] has joined #ruby-lang
08:16
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
08:18
charper [charper!u1691@gateway/web/irccloud.com/x-xswnusiyaxaogiqa] has joined #ruby-lang
08:20
_ko1 [_ko1!~ko1@atdot.nue.ci.i.u-tokyo.ac.jp] has joined #ruby-lang
08:21
stoor [stoor!~stoor@095-097-012-177.static.chello.nl] has joined #ruby-lang
08:35
molgrew [molgrew!~bozo20@85.182.139.18] has joined #ruby-lang
08:39
mtkd [mtkd!znc@209-20-90-74.slicehost.net] has joined #ruby-lang
08:50
fayimora [fayimora!~fayimora@95.175.159.10] has joined #ruby-lang
08:51
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
08:52
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby-lang
09:00
<
zenspider >
srbaker: 'sup bitch?
09:01
toretore [toretore!~toretore@crr06-3-82-231-12-81.fbx.proxad.net] has joined #ruby-lang
09:04
dnjaramba [dnjaramba!~dnjaramba@41.72.193.86] has joined #ruby-lang
09:17
Stereokitsune [Stereokitsune!~mayoi@nessa.yuuzukiyo.net] has joined #ruby-lang
09:18
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby-lang
09:19
tvl [tvl!~tvl@arrakis.uio.no] has joined #ruby-lang
09:20
qpingu [qpingu!~Adium@67.218.117.238] has joined #ruby-lang
09:22
<
zenspider >
any brits awake?
09:22
flooose [flooose!~chris@mnch-5d86ef89.pool.mediaWays.net] has joined #ruby-lang
09:26
cyri_ [cyri_!~cyri_@149.93.119.80.rev.sfr.net] has joined #ruby-lang
09:28
shevy [shevy!~shevy@178-190-74-31.adsl.highway.telekom.at] has joined #ruby-lang
09:28
<
bnagy >
0930 in london, so yes, probably lots
09:30
<
rue >
Millions, even
09:30
<
zenspider >
bnagy: I meant _here_... :P
09:32
simpleton_ [simpleton_!29874214@gateway/web/freenode/ip.41.135.66.20] has joined #ruby-lang
09:32
<
simpleton_ >
Hey guys, I cannot get rid of the demon that is the HTTP segfault error. Need help or divine intervention!
09:33
Xzyx987X [Xzyx987X!~Xzyx987X@c-75-72-121-187.hsd1.mn.comcast.net] has joined #ruby-lang
09:34
vel_ [vel_!736fb17a@gateway/web/freenode/ip.115.111.177.122] has joined #ruby-lang
09:34
deryl [deryl!deryl@perfecting.rubyists.com] has joined #ruby-lang
09:34
kitallis [kitallis!~kitallis@122.172.247.109] has joined #ruby-lang
09:35
<
rue >
Does the ruby work for other things? E.g. if you try open-uri?
09:35
<
shevy >
nothing ever works
09:36
<
simpleton_ >
hello again rue. Well it works with omniauth but crashes for a koala process. Haven't tried open-uri
09:36
zz_chrismcg [zz_chrismcg!~chrismcg@devilfish.octopod.info] has joined #ruby-lang
09:37
<
rue >
make test might also show errors
09:37
basicxman [basicxman!~basicxman@178.79.149.144] has joined #ruby-lang
09:37
basicxman [basicxman!~basicxman@unaffiliated/secrece] has joined #ruby-lang
09:37
<
rue >
vel_: Which problem?
09:37
TTilus [TTilus!terotil@idan.ihme.org] has joined #ruby-lang
09:38
t0h [t0h!thelineva@nikita.tnnet.fi] has joined #ruby-lang
09:39
<
vel_ >
rue if the program is run it give a error un-defined variable callback_val
09:39
<
molgrew >
should it be defined?
09:40
<
rue >
The problem is rather obvious :)
09:42
<
vel_ >
Is there a better way to perform nested callbacks that's my need.
09:43
<
molgrew >
is that a new problem?
09:44
<
vel_ >
nope that's what I tried doing.
09:44
tekin [tekin!~tekin@cpc8-with5-2-0-cust208.1-4.cable.virginmedia.com] has joined #ruby-lang
09:44
<
molgrew >
try a search for the string 'callback_val' in your source code
09:45
<
rue >
Right, this has nothing to do with scoping as such
09:46
gnufied [gnufied!~gnufied@122.172.224.153] has joined #ruby-lang
09:47
dave_miles [dave_miles!~davemiles@gatej.mh.bbc.co.uk] has joined #ruby-lang
09:49
futurechimp [futurechimp!~futurechi@109.239.86.106] has joined #ruby-lang
09:52
flowerpot [flowerpot!~flower@ec2-50-112-114-252.us-west-2.compute.amazonaws.com] has joined #ruby-lang
09:52
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby-lang
10:00
zmack [zmack!~zmack@109.99.235.103] has joined #ruby-lang
10:01
robotmay [robotmay!~robotmay@94.30.13.228] has joined #ruby-lang
10:11
chrismcg [chrismcg!~chrismcg@pdpc/supporter/active/chrismcg] has joined #ruby-lang
10:13
x0F_ [x0F_!~x0F@unaffiliated/x0f] has joined #ruby-lang
10:24
mytrile [mytrile!~mytrile@94.26.28.135] has joined #ruby-lang
10:27
michael_mbp_ [michael_mbp_!~Marin@62.215.214.4] has joined #ruby-lang
10:28
dmathieu [dmathieu!u2561@gateway/web/irccloud.com/x-scfcvzajxstohxxa] has joined #ruby-lang
10:32
vladalive [vladalive!~vladalive@176.52.68.243] has joined #ruby-lang