Index

Show enters and exits. Hide enters and exits.

00:00:01brixentarcieri: you never know, I should see if the specs run on it :)
00:00:11tarcierilol
00:00:34tarcieribrixen: well the "Roadmap" page for cardinal2 links to a server that isn't up anymore
00:00:34tarcieriheh
00:00:40evanbrixen: i'm curious if the minimal mspec runs on it actually
00:00:41evanprobably not.
00:01:26dgtizedI think cardinal is just in the parrot repo
00:01:50tarcieriyeah
00:01:52tarcieriI see that now
00:02:00tarcieriI'm reading an interview with the guy who's "maintaining" it
00:02:05tarcierihttp://on-ruby.blogspot.com/2007/02/parrotcardinal-mini-interview.html
00:02:20wmoxamhow far did Cardinal get?
00:02:29tarcieridunno
00:03:05evantarcieri: I think Kevin dropped out of ruby
00:03:10evanhaven't seen nor heard from him in years
00:03:53tarcieriheh
00:04:21seydarhow long have you all been in ruby?
00:04:32evan7 years
00:04:39seydarholy shit
00:04:40tarcierithe Ruby code in the page Ezra linked doesn't really seem t be valid
00:04:53tarcieriyeah, I've been using it for like... 5 I guess, heh
00:05:04tarcierido |i| puts "ruby got " + i; return i + 10 end
00:05:05tarcieriWTF?
00:05:10wmoxam5 or 6 for me
00:05:26seydartarcieri: looks like it's trying to return a function
00:05:31tarcieriyeah
00:05:32dgtizedI sort of used it in '02, but switched to using it for most things in '04
00:05:41evantarcieri: thats sorta right
00:05:50evantarcieri: he doesn't understand how ruby's blocks/closures work though
00:05:55seydardrbrain: rue: Defiler: you guys?
00:05:55evanand doesn't know the syntax well
00:06:16drbrainseydar: huh?
00:06:40seydarhow long have you been in ruby?
00:06:42wmoxamI started using it as a perl replacement for little sysadmin scripts. Didn't really start learning about the 'cool shit' until later
00:06:58seydarwmoxam: how long ago was that?
00:07:07wmoxam2002-2003
00:07:13tarcieriI'm just kind of surprised that Parrot was intended to be a VM for multiple languages but this is apparently the first time anyone thought of using multiple languages simultaneously
00:07:22rubuildius_ey64Charles Comstock: 587055622; bin/ci failed! http://rafb.net/p/yLhZfZ32.html
00:07:25tarcieriI sort of thought that was the point for some reason
00:07:49tarcierilike didn't Parrot start out as a joke about turning Python and Ruby into one language?
00:07:51evanfuck great.
00:07:54evanmore USZ errors
00:08:02seydarUSZ?
00:08:37drbrainabout as long as evan
00:08:37dgtizedhmm so I'm guessing that's just 1 shot?
00:08:37dgtizedtarcieri: parrot was for perl6
00:08:45tarcieriyeah
00:08:50tarcieriI'm talking about the name
00:08:55tarcieriapparently it was Python and Perl
00:09:24seydardrbrain: how long have ye been rubynizing
00:09:29seydaroh
00:09:37seydarnvm
00:09:50seydartarcieri: how long have you been rubying?
00:10:11tarcieriseydar: 4-5 years
00:10:24seydarand gramming in general?
00:10:43Maledictus leaves the room.
00:10:49tarcieriummm
00:10:59agardiner leaves the room.
00:11:00tarcierilike 20 years?
00:11:00tarcieriheh
00:11:12tarcierifar too many of which were wasted on C
00:11:12tarcieriheh
00:11:17seydarwhoa, i thought you were sub-30 years old
00:14:03seydarevan: what is USZ?
00:14:19evana kind of error that keeps popping up
00:14:40brynary leaves the room.
00:15:01seydari hate to be annoying, but what does it mean? what kind of error? Googling returns some german or austrian university
00:15:32evanhttp://rafb.net/p/yLhZfZ32.html
00:15:35evancheck out the bottom of that
00:15:50evanyou'll see an UnspecifiedZone error
00:16:41seydara zone is either young or old generation?
00:16:46evanyeah
00:16:55evanthat means that object had 0 as it's zone id
00:17:00evanwhich means it's corrupt
00:17:01Robdor leaves the room.
00:17:01evanbasically
00:17:22seydarsomething is altering that field?
00:17:28evani'd guess so
00:17:58seydarany other ideas?
00:18:01dgtizedbut only at random intervals
00:18:20dgtizedit's non-deterministic so it depends on how the objects are layed out in memory
00:18:55heycarsten leaves the room.
00:29:25seydaradios children
00:29:31seydarbed by 10, k?
00:29:39seydar leaves the room.
00:29:51radarek leaves the room.
00:31:57dgtizedevan: so we can enable both the jit and dynamic intepreter at the same time right?
00:32:06evansure
00:32:37dgtizedand that's a win?
00:33:30evanhopefully!
00:33:31evan:D
00:33:51dgtizedwell it certainly works with the specs for x86
00:34:01evanyeah, it should
00:34:09evanshould be a little faster also
00:34:11dgtizedbut I'm not seeing much of a change yet, trying some benchmarks
00:34:20dgtizedspecs I'm not seeing so much of a change
00:34:28dgtizedmaybe a second less
00:48:57boyscoutFix local eval scope problem - 1d015be - Evan Phoenix
00:49:16evanI also added -ed
00:49:17evanso you can do
00:49:24evanbin/rbx -ed -e 'a = 1; p a'
00:49:32evanand it will print out the sexy and bytecode before running it
00:49:39brixenheh, nice
00:49:40evangood for quick checks
00:49:44brixenthe sexy :)
00:49:52evani'm off for a jog
00:49:53brixenor would that be teh sexy
00:49:56brixenk
00:51:25nari enters the room.
00:52:00jtoy enters the room.
00:54:18boyscoutCI: Build 1d015be failed. http://ci.rubini.us/rubinius/builds/1d015bea0c87a9f02b566e8becf690e00fbfa8fc
00:59:21rubuildius_ey64Evan Phoenix: 1d015bea0; 1309 files, 5881 examples, 22035 expectations, 1 failure, 0 errors; http://rafb.net/p/tjt5oj99.html
01:06:44jicksta_ enters the room.
01:06:51jicksta leaves the room.
01:14:03enebo leaves the room.
01:16:17wmoxam leaves the room.
01:19:27boyscoutChanged tolerance on timing sensitive specs. - cc3779e - Brian Ford
01:20:18ezmobius leaves the room.
01:21:05boyscoutCI: cc3779e success. 1309 files, 5890 examples, 22058 expectations, 0 failures, 0 errors
01:24:08wyhaines leaves the room.
01:28:43rubuildius_ey64Brian Ford: cc3779e2c; bin/ci failed! http://rafb.net/p/UXt40978.html
01:31:16lopex leaves the room.
01:31:49dgtizedwhat's with it not telling what failed?
01:31:52evanddub: you around?
01:33:23kamalfariz enters the room.
01:34:44brixendgtized: probably a segfault
01:34:57brixenotherwise you'd see something
01:36:03dgtizedbut shouldn't the STDERR go to the paste as well?
01:36:16dgtizedso even with a segfault we still know what happened?
01:36:48brixenI know it was segfaulting on Array#initialize specs and it didn't show
01:36:55dgtizedhmm
01:42:36brixenwell, it seems you have to do "> foo.log 2>&1" as "2>&1 foo.log" is not working
01:43:49brixen&> foo.log also seems to work
01:44:04evan&> is the same as > .. 2>&1
01:44:14evanor should be
01:44:17brixenyeah
01:44:23brixenhttp://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html
01:44:36brixenthat doesn't show > .. 2>&1
01:47:39brixenhmm, it is actually already >>ci_log 2>&1 so dunno why it's not picking up the segfault
01:57:23mdalessio enters the room.
01:59:41dgtizedevan: is there a way we can turn on and off the JIT and dynamic/static interpreter at runtime?
01:59:52evannot atm, but I can add one
02:00:00evanwould you like to do it via a cli switch?
02:00:09evanie 'rbx --jit'
02:00:15dgtizedmakes sense to me
02:00:17evansure
02:00:19evani'll add that
02:00:34dgtizedthe other thing, is there a way to dump the jit output along with the describe output or no?
02:00:55evanlike, what the assembly looks like?
02:00:58dgtizedyea
02:01:01evanyep!
02:01:26evanbin/rbx -fdis <file>
02:01:30dgtizedah
02:01:43evanshould probably be -fasm
02:01:45evanbut you get
02:02:35dgtizedhmm is that your copy that has that, or should it be in the main repo?
02:02:38jbarnette leaves the room.
02:02:45evanshould be in the main repo
02:02:58evanoh er.
02:03:02evani'm still post jog
02:03:08evanbin/rbx describe -fdis <file>
02:03:11dgtizedah
02:03:28dgtizedok, yea that works
02:05:41dgtizedthe other thing that would be useful, is if we had a runtime option to force a particular method to be the jit version
02:06:14dgtizedand not just do the >50 hits method
02:07:30evanyou can do that now.
02:07:56evanmm = cm.make_machine_method
02:07:58evanmm.activate
02:08:05evancm is the CompiledMethod you want to do it for
02:08:12dgtizedah ok
02:09:04dgtizedand as a question on activate, activate just selects that as the method to dispatch too correct?
02:09:15evanyep
02:09:19evanit doesn't actually call it now
02:09:39evanit means the next time that CompiledMethod is used, that MachineMethod will be used for it
02:11:30dgtizedalright i'll go look at the Method activation machinery
02:11:49evanwhat are you looking for?
02:13:18dgtizedwanted to see how much dereferencing we have to go through to get to the MachineMethod
02:13:37evannone when it's called
02:14:03evanthe MachineMethod installs the pointer to the jit'd function in the VMM's run data member
02:14:23evanand run() is called in Task::execute
02:16:08dgtizedoh -- I hadn't seen VMMethod::specialize -- so ivar access to say @tuple, @total, @start on Array only gets switched to the my_field variety at runtime, not compile time?
02:16:35evanyep
02:17:45evanok, so..
02:17:54evanbin/rbx -Xrbx.jit
02:18:12evanor something else instead of -X
02:18:19evan-X being jvm style
02:18:24brixen-X is so java ish
02:18:31dgtizedright I remember headius wanted something like that
02:18:47evanmainly, these will be Rubinius::CONFIG variables that are added
02:18:48brixenI suppose if we will have Bignum options :)
02:19:28evangive me another option
02:19:36brixen--jit
02:19:50brixenbut I have a pref for long opts
02:20:02evanwell, i want to have a generic way of adding entries to CONFIG
02:20:09brixenahh I see
02:20:20evanbin/rbx --set rbx.jit
02:20:34brixenseems better to me
02:20:40evanproblem with that is that --set will always be consumed by the cli driver
02:20:45evanand never seen by rubyland
02:21:05dgtizedwhat happens for -e and the like?
02:21:12evanthey're still there
02:21:30brixennot in ruby
02:21:33evani suppose we could require another switch to enable the cli driver to read options
02:21:39brixenor not in ARGV
02:21:52evannot in ARGV
02:22:10dgtizedwe could just shove the extra options verbatim into an entry in Rubinius::CONFIG
02:22:16evani'm also adding the env variable route
02:22:19evanso you can do
02:22:27evanRBX_CONFIG="rbx.jit=true" bin/rbx ....
02:22:34evanso we could just not have a way to set them except for that
02:22:40evanthats kind of brittle though
02:22:49evansince there can only be one
02:22:53subvertir leaves the room.
02:22:58evan(well, i guess we could have CONFIG1, CONFIG2...)
02:22:59brixenruby takes -- to stop processing options
02:23:17dgtizedwe could just have RBX_CONFIG allow ; to seperate options
02:23:31brixenbin/rbx --set foo -- --set 'my set'
02:23:41dgtizedbut, I'm not so happy with environment variable usage so much
02:23:45evanok, well, i'll muse a little
02:23:47evani'm going to grab some dinner
02:25:47yugui enters the room.
02:29:46evanok, i guess we're waiting on dinner :)
02:30:23evanso, --set seems to generic
02:30:28evanto easy to conflict
02:30:42evancertainly seeing -- will stop processing no matter what
02:30:52ezmobius enters the room.
02:30:58tonguero_ enters the room.
02:33:36tonguero_ leaves the room.
02:34:50tongueroo leaves the room.
02:38:18atduskgreg leaves the room.
02:42:09brixen-X is fine (works for java) but it's no less generic
02:42:29brixenit's short, which is good
02:42:32evanok, so
02:42:38evanbin/rbx -Xrbx.jit
02:42:39evanor
02:42:43evanbin/rbx -X --set rbx.jit
02:42:53evanie, -X activates looking for --set's
02:43:06brixenlatter seems too complicated
02:43:09evank
02:43:13evani'll do the former
02:48:30subvertir enters the room.
02:58:13pastie leaves the room.
02:58:54pastie enters the room.
03:00:54brynary enters the room.
03:04:36benny enters the room.
03:07:07Cosmos95 leaves the room.
03:18:58moconnor enters the room.
03:20:46jbarnette enters the room.
03:25:46haxplorer enters the room.
03:27:51perezd88 enters the room.
03:27:53hemulen leaves the room.
03:32:51perezd88 leaves the room.
03:33:28moconnor_ enters the room.
03:44:34moofbong enters the room.
03:46:02yugui leaves the room.
03:48:21moconnor leaves the room.
03:53:25mediogre enters the room.
03:58:02binary42 enters the room.
03:59:11nicksieger leaves the room.
03:59:56perezd88 enters the room.
04:00:22fbuilesv enters the room.
04:14:02perezd88 leaves the room.
04:18:31jackdempsey enters the room.
04:20:43moofbong leaves the room.
04:32:54atduskgreg enters the room.
04:35:55wyhaines enters the room.
04:37:48boyscoutAdd cli switch to enable jit - 6c31ab6 - Evan Phoenix
04:38:24boyscoutCI: Build 6c31ab6 failed. http://ci.rubini.us/rubinius/builds/6c31ab682a04a7b7a7f1c0c83390fe907439daad
04:38:30evanhuh?
04:42:21evanoh.
04:43:47joearnold leaves the room.
04:44:52boyscoutRework parse_line - cd0db01 - Evan Phoenix
04:49:53jbarnette leaves the room.
04:50:36boyscoutCI: cd0db01 success. 1309 files, 5890 examples, 22058 expectations, 0 failures, 0 errors
04:52:28rubuildius_ey64Evan Phoenix: cd0db01a2; bin/ci failed! http://rafb.net/p/q55Sq116.html
04:52:33evangr.
04:55:26subvertir leaves the room.
04:55:48atduskgreg leaves the room.
05:09:44tongueroo enters the room.
05:14:17tonguero_ enters the room.
05:20:17ezmobius leaves the room.
05:29:17tongueroo leaves the room.
05:30:32qbproger leaves the room.
05:34:37joearnold enters the room.
05:46:19joearnold leaves the room.
05:53:40moconnor_ leaves the room.
05:53:56moconnor enters the room.
06:11:14atmos leaves the room.
06:17:58asap18 leaves the room.
06:25:09Jicksta leaves the room.
06:25:19jicksta_ enters the room.
06:28:24ezmobius enters the room.
06:29:35moconnor leaves the room.
07:19:54perezd88 enters the room.
07:21:53mdalessio leaves the room.
07:29:53brynary leaves the room.
07:32:11yugui enters the room.
07:47:52boyscoutMake mega-verbose work better - 28088b6 - Evan Phoenix
07:49:23perezd88_ enters the room.
07:49:33boyscoutCI: 28088b6 success. 1309 files, 5890 examples, 22058 expectations, 0 failures, 0 errors
07:52:07naeu enters the room.
07:52:41perezd88_ leaves the room.
07:57:18dbussink leaves the room.
07:57:22rubuildius_ey64Evan Phoenix: 28088b65d; bin/ci failed! http://rafb.net/p/LDSkB451.html
07:57:36dbussink enters the room.
07:59:46robin_dewd_ leaves the room.
08:10:24perezd88 leaves the room.
08:10:25jackdempsey leaves the room.
08:16:20wyhaines leaves the room.
08:21:15atduskgreg enters the room.
08:21:56kamalfariz_ enters the room.
08:24:01jackdempsey enters the room.
08:24:59jicksta_ leaves the room.
08:26:21kamalfariz leaves the room.
08:28:10jicksta enters the room.
08:30:03kamalfariz enters the room.
08:31:55ezmobius leaves the room.
08:43:33naeu leaves the room.
08:48:13kamalfariz_ leaves the room.
09:00:35haxplorer leaves the room.
09:00:44haxplorer_ enters the room.
09:03:40jackdempsey leaves the room.
09:06:07naeu enters the room.
09:07:31imajes leaves the room.
09:22:41tonguero_ leaves the room.
09:23:53stepheneb leaves the room.
09:43:49nari leaves the room.
09:48:48BlackEdder enters the room.
09:50:46haxplorer_ leaves the room.
09:51:28haxplorer enters the room.
10:20:25wireless_ leaves the room.
10:29:45Maledictus enters the room.
10:41:20jtoy leaves the room.
10:43:00kamalfariz leaves the room.
11:06:15BlackEdder enters the room.
11:10:11yugui leaves the room.
11:14:16atduskgreg leaves the room.
11:22:51ffwonko enters the room.
11:26:52chris2 enters the room.
12:04:02benny leaves the room.
12:06:40yugui_ enters the room.
12:18:52nari enters the room.
12:27:38CIA-70 leaves the room.
12:32:29ff-wonko enters the room.
12:36:14agardiner enters the room.
12:39:10CIA-64 enters the room.
12:44:52ffwonko leaves the room.
13:13:35benny enters the room.
13:22:27yugui_ leaves the room.
13:23:11yugui_ enters the room.
13:46:19mvr leaves the room.
13:47:03jtoy enters the room.
13:47:07inspired leaves the room.
13:50:07gavinstark enters the room.
13:55:38asap18 enters the room.
13:57:14cremes leaves the room.
13:59:20ff-wonko leaves the room.
14:16:39asap18 leaves the room.
14:19:26mediogre leaves the room.
14:19:35jackdempsey enters the room.
14:19:42cremes enters the room.
14:29:55hemulen enters the room.
14:35:55wyhaines enters the room.
14:36:24jackdempsey leaves the room.
14:42:31enebo enters the room.
14:45:55mutle_ enters the room.
14:53:01wmoxam enters the room.
14:54:32mutle leaves the room.
14:54:59jackdempsey enters the room.
14:56:30heycarsten enters the room.
14:59:40moofbong enters the room.
14:59:54imajes_ enters the room.
15:05:27jackdempsey leaves the room.
15:09:35stepheneb enters the room.
15:11:09imajes_ leaves the room.
15:18:53moofbong leaves the room.
15:32:28joearnold enters the room.
15:34:53fbuilesvevan: ping
15:37:04antares_ enters the room.
15:38:22binary42 leaves the room.
15:46:48macournoyer enters the room.
15:47:56fbuilesvdoes http://gist.github.com/43862 look good for generating the default srand seed value?
15:54:33chris2 leaves the room.
15:54:34joearnold leaves the room.
15:58:25a_visitor enters the room.
15:58:29ruefbuilesv: Needs a fallback in case /dev/urandom is not available
15:59:06fbuilesvrue: I thought of that but only windows came to my mind, any idea of where to get a random number there?
15:59:15fbuilesvI don't wanna generate it by hand if something's already available
15:59:20haxplorer leaves the room.
16:00:55ffwonko enters the room.
16:01:00haxplorer enters the room.
16:03:12ruefbuilesv: I would not worry about Windows too much for now, but it is possible a UNIXy system might not have /dev/urandom (or it might not be available)
16:03:41rueThere is sranddev(), but I dunno if it is any more portable
16:04:23AndrewO enters the room.
16:04:34fbuilesvLinux, FreeBSD, Solaris, Mac OS X, NetBSD, OpenBSD, Tru64 UNIX 5.1B, AIX 5.2, and HP-UX 11i. That's the list of OS that support urandom
16:04:51fbuilesvrue: by not being available what do you mean?
16:05:49fbuilesvI'll take a look at sranddev anyway
16:05:59rueMight not be mounted, permissions or something strange
16:06:56rueAlthough probably just some reasonable error would most likely be fine for now if urandom is not accessible
16:08:13fbuilesvsrandomdev() is an extension so I wouldn't count on in being available in general UNIX systems.
16:10:06rueCould always just hit the clock
16:10:06moofbong enters the room.
16:10:52haxplorer leaves the room.
16:11:28rueAs a fallback, that is
16:11:39fbuilesvrue: that sounds fine, let me do that.
16:13:06nicksieger enters the room.
16:13:45rueIncidentally, looks like it is probably a good idea to stay away from Yellowstone..
16:15:18fbuilesvrue: http://gist.github.com/43874
16:15:35fbuilesvand by yellowstone do you mean the park? I thought the warnings of it blowing and covering the planet with dust were already determined to be false.
16:15:50jptixfbuilesv: what's wrong with the way mri does the default seed value?
16:16:16jptixi.e. "If number is omitted, seeds the generator using a combination of the time, the process id, and a sequence number."
16:16:40fbuilesvjptix: I personally think there's no point in doing so many ops when you can have a reliable number from the system. There might be some weird rationale behind it.
16:16:50jptixgotcha
16:16:56jptixjust curious :)
16:17:08fbuilesvjptix: http://gist.github.com/43877 <-- way too comlpicated imo.
16:17:53tongueroo enters the room.
16:21:36ruefbuilesv: The else is unnecessary, move that to the block and make it rescue ENOENT, EACCES, EPERM explicitly
16:22:10fbuilesvrue: got it
16:22:38tongueroo leaves the room.
16:22:40ruefbuilesv: When are you heading to .nl? Or are you already in the old world?
16:22:47fbuilesvrue: Jan 17
16:23:02fbuilesvaccording to dbussink they're at -13 today so I should stay on this side of the pool for a while :P
16:23:19rueHeh
16:23:36rueYeah, it has been cold in Central Europe
16:24:00rueIt is generally -10 or so here this time of year, so we are more used to it. Bunch of accidents in Germany etc. though
16:24:29fbuilesvthe lowest over here in years has been 10ºC, so I better buy some thermic clothes :P
16:25:04ffwonkoyeah, to cold in germany... less than -15 °C
16:25:08ruefbuilesv: Layers is all you need :) Hit a hiking/mountain climbing/etc. store
16:25:27ffwonkothis weekend
16:25:36ffwonkolast weekend, i mean
16:25:40ffwonkowhatever
16:25:49binary42 enters the room.
16:26:21ruefbuilesv: You might make it to FOSDEM then
16:27:02a_visitor leaves the room.
16:27:22fbuilesvsaturday/sunday, sounds fine and it's not too far
16:31:08a_visitor enters the room.
16:31:21tongueroo enters the room.
16:33:47radarek enters the room.
16:34:16tongueroo leaves the room.
16:34:21ruefbuilesv: Yeah, train gets you there easy. Definitely a good thing to not have to pre-register :)
16:35:26fbuilesvyup, you going too?
16:37:31agardiner leaves the room.
16:37:49fbuilesvrue: http://gist.github.com/43884
16:38:26fbuilesvI could ^ Time.now.to_i with seed.hash like JRuby does if time alone sounds too simple.
16:38:39rueThinking/planning on going. Have to see how the job affects my schedule though
16:39:25fbuilesvI'l try to bring dbussink with me, he's old and grouchy though :P
16:39:27ruefbuilesv: You have an extra 'return' there, but otherwise looks good
16:40:04fbuilesvrue: that function should return the last seed used (before this invocation)
16:47:41a_visitor leaves the room.
16:53:40agardiner enters the room.
16:59:11boyscoutAdding a default seed for srand - 2a17cf8 - Federico Builes
17:00:49boyscoutCI: 2a17cf8 success. 1309 files, 5890 examples, 22058 expectations, 0 failures, 0 errors
17:01:58rubuildius_ey64Federico Builes: 2a17cf820; build failed! http://rafb.net/p/LJrRYS23.html
17:09:47fbuilesvrafb.net down?
17:10:39a_visitor enters the room.
17:11:06brixenfbuilesv: it's grabbing the time if you are cmd-clicking in irssi
17:11:27fbuilesvbrixen: what's irssi? this is 2009! :P
17:11:28brixenanyway, that failure is stupid and sporadic
17:11:37brixenfbuilesv: irssi ftw :D
17:11:40fbuilesvah ok, thought I had broke something :P
17:16:17CIA-64 leaves the room.
17:18:03benny leaves the room.
17:19:13ffwonko leaves the room.
17:20:24evanmorning
17:20:33jbarnette enters the room.
17:23:19Maledictus leaves the room.
17:25:04brixenmorning
17:25:07naeu leaves the room.
17:25:24brixenevan: I've got profiler output, but checking the math
17:25:33evancool!
17:25:38brixenand I've got 2 issues I need help tracking down
17:25:45evanok
17:25:55brixenI'll commit so you can see the code once I check this
17:26:29atduskgreg enters the room.
17:26:40lopex enters the room.
17:26:50benny enters the room.
17:29:36Maledictus enters the room.
17:33:31rueHi
17:34:01ruefbuilesv: I mean that you do not need the 'return' :)
17:34:48fbuilesvrue: how's that? I want to return the old seed, not the one I just assigned.
17:37:12CIA-64 enters the room.
17:37:34ruefbuilesv: Because the last expression is returned automatically? You are just wasting 7 bytes ;)
17:37:40joearnold enters the room.
17:37:44yugui_ leaves the room.
17:38:02fbuilesvrue: right, and it'll return the seed I just set. I need to return the one that was set _before_ I set the new one
17:38:20fbuilesvsrand returns the last seed, not the one you pass in, maybe I'm missing something?
17:38:44fbuilesvI don't want to return Kernel.current_srand
17:41:57ezmobius enters the room.
17:43:50kamalfariz enters the room.
17:49:05tongueroo enters the room.
18:06:47atduskgreg leaves the room.
18:07:10atduskgreg enters the room.
18:16:20joearnold leaves the room.
18:16:50ruefbuilesv: `def foo; return 1; end` == `def foo; 1; end`
18:22:23naeu enters the room.
18:22:52joearnold enters the room.
18:24:18atduskgreg leaves the room.
18:27:42radarek leaves the room.
18:27:46fbuilesvrue: ah I failed at understanding you
18:28:05fbuilesvI'm used to putting the return but I'll strip it off
18:29:48boyscoutStrip the return in the last commit. - 9679152 - Federico Builes
18:31:43boyscoutCI: 9679152 success. 1309 files, 5890 examples, 22058 expectations, 0 failures, 0 errors
18:37:55kamalfariz leaves the room.
18:39:04rubuildius_ey64Federico Builes: 9679152f6; 1309 files, 5881 examples, 22035 expectations, 0 failures, 0 errors
18:57:35djb enters the room.
18:58:12joearnol_ enters the room.
18:58:12atduskgreg enters the room.
18:58:12joearnold leaves the room.
19:05:35agardiner leaves the room.
19:28:17octopod leaves the room.
19:28:55octopod enters the room.
19:28:58dysinger enters the room.
19:30:58macournoyer leaves the room.
19:39:32brixenevan: ok, I think my biggest problem was that the enter/leave calls are not right
19:39:46brixene.g. disabled in op_ret
19:39:47evanhm
19:39:48evanok
19:39:58brixenso my times were wildly incorrect