Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2013-03-31

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:26 mwn3d_phone joined #rosettacode
02:13 mwn3d_phone1 joined #rosettacode
03:47 mwn3d_phone joined #rosettacode
03:53 mwn3d_phone joined #rosettacode
05:50 mwn3d_phone joined #rosettacode
08:45 BenBE joined #rosettacode
08:45 BenBE joined #rosettacode
10:16 relrod mikemol: Hey - I'm CodeBlock, but I don't use that account anymore (I have +O here on that account though) - can you transfer that to this account (relrod)?
10:16 relrod not urgent
10:18 relrod mikemol: also, would you be interested in me bringing a bot in here that can evaluate code in a bunch of different languages, using SELinux sandboxes? It's in a number of other channels/networks, happy to join it here.
10:19 BenBE relrod: You could bring it to Freenode/#geshi ;-)
10:19 relrod BenBE: sure
10:20 BenBE relrod: tia.
11:03 eMBee relrod: which languages does the bot support? and how chatty is it? it might be interesting for the discussion of code snippets for tasks, but i am not sure.
11:08 BenBE !langs
11:08 BenBE * rublets supports: apricot, arroyo, bash, befunge, brainfuck, c, c#, c++, ceylon, clay, clisp, clojure, elixir, erlang, f#, forth, frink, go, golfscript, groovy, haskell, io, j, java, javascript, lolcode, lua, maxima,  objective-c, ocaml, ooc, pascal, perl, perl6, perpetual, php, prolog, python, python3, racket, ruby (see !rubies), sbcl, scala, scheme, smalltalk, sml, sqlite, tcl, zsh
11:09 BenBE eMBee: You can test over at #geshi ;-)
11:15 eMBee impressive list
12:19 BenBE joined #rosettacode
12:19 BenBE joined #rosettacode
13:49 mikemol relrod: Sure, bring it in.
13:49 mikemol I think there are a couple bots in here with similar functions.
13:50 mikemol relrod: BTW, you should be able to associate your codeblock account with your relrod account via nickserv. The +O should carry over automatically.
13:50 mikemol You can even disassociate the CodeBlock nick from your account once you're done, IIRC.
13:54 mikemol So, TODO list for today:
13:54 mikemol 1) Update MediaWiki and any/all extensions plausible.
13:54 mikemol 2) Install mod_cloudflare
13:55 mikemol 3) Apply any other changes necessary to get proper IP-based blocking functioning again.
13:56 mikemol 4) Unblock all of the IP blocks I've done via the CF interface, let that be handled via MW again.
13:56 mikemol 5) Test to see if the above has fixed account creation woes. If not, fix those.
14:22 kpreid joined #rosettacode
14:47 mwn3d_phone joined #rosettacode
15:03 mwn3d_phone1 joined #rosettacode
15:08 mwn3d_phone joined #rosettacode
15:47 PKai[RCo] joined #rosettacode
15:55 Gerard_Schildber joined #rosettacode
16:04 mwn3d_phone1 joined #rosettacode
16:11 Barrym95838[RCo] joined #rosettacode
17:02 BenBE_ joined #rosettacode
17:10 BenBE joined #rosettacode
17:10 BenBE joined #rosettacode
17:24 mwn3d_phone joined #rosettacode
17:50 sirdancealo2 joined #rosettacode
18:08 Barrym95838[RCo] joined #rosettacode
18:10 Kernigh[RCo] joined #rosettacode
18:51 mwn3d_phone joined #rosettacode
18:53 mwn3d_phone joined #rosettacode
19:21 relrod mikemol: yeah, I wanted to keep the accounts separate. If I can disassociate it, then that's fine. I'll look into it
19:23 rublets joined #rosettacode
19:23 relrod !perl> print 1;
19:23 rublets 1
19:31 BenBE !perl> $foo = (1 2 3); print $foo;
19:31 rublets Number found where operator expected at 1364758317.785438.pl line 1, near "1 2"
19:31 rublets (Missing operator before  2?)
19:31 rublets Output truncated: https://gist.github.com/835997359cede2299f56
19:31 fedaykin "BenBE s Perl Evaluation"
19:32 Kernigh[RCo] !perl> say "Do we have 5.10?";
19:32 rublets String found where operator expected at 1364758354.0524817.pl line 1, near "say "Do we have 5.10?""
19:32 rublets (Do you need to predeclare say?)
19:32 rublets Output truncated: https://gist.github.com/f762ba25a51fffadd444
19:32 fedaykin "Kernigh[RCo] s Perl Evaluation"
19:32 * mikemol doesn't know how long this upgrade will take.
19:33 mikemol "...doing rev_id from 89401 to 89600" ...
19:33 mikemol I don't know how many revisions are on the wiki.
19:34 Kernigh[RCo] !perl> use v5.10; say "Do we have 5.10?";
19:34 rublets Do we have 5.10?
19:35 Kernigh[RCo] !ruby> puts RUBY_VERSION
19:35 rublets Kernigh[RCo]: You matched multiple rubies. Be more specific. See !rubies for the full list.
19:35 Kernigh[RCo] !rubies
19:35 rublets Kernigh[RCo]: default, jruby-1.6.7, ruby-1.9.3-p125, ruby-head, ruby-2.0.0-p0, ruby-1.9.3-p194, rbx-head, ruby-1.8.7-p358 (You can specify 'all' to evaluate against all rubies, but this might be slowish.)
19:35 Kernigh[RCo] !rbx> puts RUBY_VERSION
19:35 rublets 1.8.7
19:35 rublets => nil
19:35 Kernigh[RCo] !ruby-2> puts RUBY_VERSION
19:35 rublets 2.0.0
19:35 rublets => nil
19:36 BenBE !php> $a = get_declared_functions(); var_dump($a);
19:36 rublets PHP Fatal error:  Call to undefined function get_declared_functions() in /home/ricky/1364758640.134134.php on line 1
19:37 BenBE !php> $a = get_declared_classes(); var_dump($a);
19:37 rublets array(82) {
19:37 rublets [0]=>
19:37 rublets Output truncated: https://gist.github.com/ed409f1df3622a4141dc
19:37 fedaykin "BenBE s Php Evaluation"
19:40 Kernigh[RCo] !perl> printf "%vd\n", $^V
19:40 rublets 5.16.2
19:41 relrod there's also
19:41 relrod !version perl
19:41 rublets perl-5.16.2-260.fc19.x86_64
19:41 relrod wow that was really delayed :(
19:42 relrod and !langs for the list of things it can eval
19:42 Kernigh[RCo] !langs
19:42 * rublets supports: apricot, arroyo, bash, befunge, brainfuck, c, c#, c++, ceylon, clay, clisp, clojure, elixir, erlang, f#, forth, frink, go, golfscript, groovy, haskell, io, j, java, javascript, lolcode, lua, maxima, objective-c, ocaml, ooc, pascal, perl, perl6, perpetual, php, prolog, python, python3, racket, ruby (see !rubies), sbcl, scala, scheme, smalltalk, sml, sqlite, tcl, zsh
19:45 BenBE relrod: How long are the Gists stored?
19:45 relrod BenBE: they're permenant, but private
19:45 BenBE !version brainfuck
19:45 rublets brainfuck-ruby-0.0.1-1.fc18.noarch
19:46 BenBE !version c++
19:46 rublets ccache-3.1.9-1.fc18.x86_64
19:47 Kernigh[RCo] !java> System.out.println("Do I need to put this in main?");
19:47 rublets Rublets.java:1: error: <identifier> expected
19:47 rublets public class Rublets { System.out.println("Do I need to put this in main?"); }
19:47 rublets Output truncated: https://gist.github.com/ba090d22f07a9fc6c040
19:47 fedaykin "Kernigh[RCo] s Java Evaluation"
19:48 relrod huh, that c++ !version response is a bug...
19:48 * relrod looks
19:48 BenBE !version c
19:48 rublets ccache-3.1.9-1.fc18.x86_64
19:48 relrod that's a bug too ;)
19:48 BenBE relrod: Same for C ;-)
19:48 Kernigh[RCo] !version java
19:48 rublets file /usr/bin/javac is not owned by any package
19:49 BenBE !version erlang
19:49 rublets erlang-erts-R16B-0.3.fc19.x86_64
19:49 BenBE !version haskell
19:49 rublets ghc-compiler-7.4.2-11.fc19.x86_64
19:49 Kernigh[RCo] !java> public static void main(String[] args) { System.out.println("Too long!"); }
19:49 rublets Too long!
19:49 BenBE !version javascript
19:49 rublets js-1.8.5-13.fc19.x86_64
19:50 Hypftier !java: enum X { X; { System.out.println("Does an enum work, too?"); }}
19:50 relrod Hypftier: s/:/>/
19:50 Hypftier meh :/
19:50 BenBE !lolcode> I can haz cheeseburger? kthx bye.
19:50 rublets Line 1: Invalid lol program: Was expecting allowed line but found "I can haz cheeseburger? kthx bye." instead
19:50 Kernigh[RCo] !java> public static void main(String[] args) { System.out.println(System.ge​tProperty("java.version")); }
19:50 BenBE !lolcode> I can haz cheeseburger.
19:50 rublets Line 1: Invalid lol program: Was expecting allowed line but found "I can haz cheeseburger." instead
19:50 rublets 1.7.0_09-icedtea
19:51 mikemol ...doing rev_id from 136201 to 136400.
19:51 Kernigh[RCo] mikemol: There might be 154651 revisions.
19:52 mikemol 138001 to 138200
19:53 mikemol About six minutes to go, then.
19:53 BenBE ?
19:53 mikemol BenBE: Wiki upgrade. It's calculating sha1s for each revision entry.
19:54 BenBE Okay, was just wondering ;-)
20:02 mikemol OK, db upgrade is done.
20:14 mikemol MW upgrade is done.
20:14 mikemol Moving on to mod_cloudflare
20:19 mwn3d_phone1 joined #rosettacode
20:31 mikemol OK, the cloudflare integration still requires more work.
21:26 Kernigh[RCo] !ruby> sleep 5; puts "This program is slow."
21:26 rublets Kernigh[RCo]: You matched multiple rubies. Be more specific. See !rubies for the full list.
21:27 Kernigh[RCo] !rbx> sleep 5; puts "This program is slow."
21:27 rublets Terminated
21:27 rublets SignalException: SIGTERM
21:27 rublets Timeout of 5 seconds was hit.
21:27 Kernigh[RCo] !rbx> sleep 4; puts "This program is 1 second faster."
21:27 rublets This program is 1 second faster.
21:27 rublets => nil
21:30 sirdancealo2 joined #rosettacode
21:30 Kernigh[RCo] !ruby2> puts RUBY_VERSION
21:31 Kernigh[RCo] !ruby-2> puts "With a hyphen: " + RUBY_VERSION
21:31 rublets With a hyphen: 2.0.0
21:31 rublets => nil
21:31 mwn3d_phone joined #rosettacode
21:39 mikemol Huh
21:40 mikemol Someone's trying to attack RC again.
21:40 mikemol This time, they're flooding me with TCP RST packets pretending to be from 141.101.98.246
21:42 BenBE !php function a($a) { return $a<1?1:gmp_add(a($a-1), a($a-2)); } $a=gmp_strval(a(42), 10); echo "$a\n";
21:42 BenBE !php> function a($a) { return $a<1?1:gmp_add(a($a-1), a($a-2)); } $a=gmp_strval(a(42), 10); echo "$a\n";
21:42 rublets No output. (return code was 124)
21:42 rublets Timeout of 5 seconds was hit.
21:42 BenBE !php> function a($a) { return $a<1?1:gmp_add(a($a-1), a($a-2)); } $a=gmp_strval(a(23), 10); echo "$a\n";
21:42 rublets 75025
21:42 BenBE !php> function a($a) { return $a<1?1:gmp_add(a($a-1), a($a-2)); } $a=gmp_strval(a(30), 10); echo "$a\n";
21:42 rublets 2178309
21:42 BenBE !php> function a($a) { return $a<1?1:gmp_add(a($a-1), a($a-2)); } $a=gmp_strval(a(35), 10); echo "$a\n";
21:42 rublets No output. (return code was 124)
21:42 rublets Timeout of 5 seconds was hit.
21:43 BenBE !php> function a($a) { return $a<1?1:gmp_add(a($a-1), a($a-2)); } $a=gmp_strval(a(32), 10); echo "$a\n";
21:43 rublets 5702887
21:43 BenBE !php> function a($a) { return $a<1?1:gmp_add(a($a-1), a($a-2)); } $a=gmp_strval(a(34), 10); echo "$a\n";
21:43 rublets No output. (return code was 124)
21:43 rublets Timeout of 5 seconds was hit.
21:43 BenBE !php> function a($a) { return $a<1?1:gmp_add(a($a-1), a($a-2)); } $a=gmp_strval(a(33), 10); echo "$a\n";
21:43 rublets No output. (return code was 124)
21:43 rublets Timeout of 5 seconds was hit.
21:44 BenBE !php> function a($a) { static $b = array(); if(isset($b[$a])) return $b[$a]; else return $b[$a] = $a<1?1:gmp_add(a($a-1), a($a-2)); } $a=gmp_strval(a(50), 10); echo "$a\n";
21:44 rublets 32951280099
21:44 BenBE !php> function a($a) { static $b = array(); if(isset($b[$a])) return $b[$a]; else return $b[$a] = $a<1?1:gmp_add(a($a-1), a($a-2)); } $a=gmp_strval(a(500), 10); echo "$a\n";
21:44 rublets 36501474072363421101223707790647935​59960815815014554978527478293668001​99361550174096573645929019489792751
21:44 BenBE !php> function a($a) { static $b = array(); if(isset($b[$a])) return $b[$a]; else return $b[$a] = $a<1?1:gmp_add(a($a-1), a($a-2)); } $a=gmp_strval(a(1000), 10); echo "$a\n";
21:44 rublets 113796925398360272257523782552224175572745​930353730513145086634176691092536145985470​146129334641866902783673042322088625863396​052888690096969577173696370562180400527049​497109023054114771394568040040412172632376
21:45 mwn3d_phone1 joined #rosettacode
21:45 BenBE !php> function a($a) { static $b = array(); if(isset($b[$a])) return $b[$a]; else return $b[$a] = $a<1?1:gmp_add(a($a-1), a($a-2)); } $a=gmp_strval(a(10000), 10); echo "$a\n";
21:45 rublets <output is long> Output truncated: https://gist.github.com/a5bbf9e3fde91b235e98
21:45 fedaykin "BenBE s Php Evaluation"
21:49 mikemol OK, IP-based blocks should operate properly now. Enjoy.
22:01 BenBE relrod: How to do multiline for e.g. Haskell?
22:02 relrod BenBE: Not really any way to do multiline... :(
22:04 BenBE !haskell> a -> 0 = 1; a -> 1 = 1; a -> b = a(b-1) + a(b-2); print a(42)
22:04 rublets <interactive>:2:3: parse error on input `->'
22:04 BenBE Funny, which one ;-)?
22:26 s0rear joined #rosettacode
22:58 nimdAHK joined #rosettacode

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary