-
Notifications
You must be signed in to change notification settings - Fork 14
Humor
This page is dedicated to gather interesting and funny moments related to the bots.
<cuonglm> most standard unix tools will honor it
<cuonglm>echo 1 | grep 1 0<&-
<cuonglm> give you
<cuonglm> grep:(standard input): Bad file descriptor
<greppable6> cuonglm, Found nothing!
<cuonglm> greppable6:what do you mean?
<greppable6> cuonglm, https://gist.github.com/9c4b7bd93581c2ac71dc27b79a54687b
<Bowlslaw> does perl have a 'flag' reading function, like opt()? so if i call my script with a cmd line argument and a flag?
<yoleaux> 29 Mar 2018 23:03Z <Zoffix> Bowlslaw: well, first$dbh.prepare("select price from $table")
is an unsafe statement. You need to quote $table properly. I don't use DBIish, but there should be some method to quote stuff (placeholders might work too). As for the sum,my $total = $sth.allrows».head.sum
<Bowlslaw> ???
<evalable6> Bowlslaw, rakudo-moar 20495f097: OUTPUT: «Stub code executed in block at /tmp/o68Dey4P6L line 1»
<Bowlslaw> ahh what's happening
<AlexDaniel>
try this: my $p = Proc::Async.new: ‘less’, :w; start { sleep 2; await $p.put: ‘hello world’; $p.close-stdin }; react { whenever $p.start { say ‘pager closed’ } }
<evalable6> AlexDaniel, rakudo-moar 9e6ae276a: OUTPUT: «hello worldpager closed»
<AlexDaniel> oh lol evalable6
<AlexDaniel> I added “try this:” on purpose thinking it will not compile :D
<yy6p6> hi
<yy6p6> how can I generate an executable for a file?
<yy6p6> I want a jar
<yy6p6> I use
<yy6p6>./perl6-j --target=jar --output="hello.jar" hello.p6
<yy6p6> in hello.p6 i have
<yy6p6>sub MAIN(){ say "hi"; }
<evalable6> yy6p6, rakudo-moar ec0422e75: OUTPUT: «hi»
<mst> note: this channel was accessible only to diakopter so I've stolen ownership of it and given Zoffix and jnthn basic chanserv permissions
<notable6> mst, Noted!
<jnthn>
sleep &
<evalable6> jnthn, rakudo-moar 847d3d60b: OUTPUT: «Use of uninitialized value of type Callable in numeric context in block <unit> at /tmp/I…
»
<evalable6> jnthn, Full output: https://gist.github.com/28764fb6d98cc9d1e059e2d7205ac3b5
*** squashable6 has quit: Remote host closed the connection
<jmerelo> Well, and Squashable just bailed out on us...
*** squashable6 has joined channel #perl6
<AlexDaniel> squashable6: when will you stop doing that?
<squashable6> AlexDaniel, I cannot recognize this command. See wiki for some examples: https://github.com/perl6/whateverable/wiki/Squashable
<AlexDaniel> squashable6: when?
<squashable6> AlexDaniel, I cannot recognize this command. See wiki for some examples: https://github.com/perl6/whateverable/wiki/Squashable
<AlexDaniel> WHEN
<AlexDaniel> squashable6: when
<squashable6> AlexDaniel, Next SQUASHathon in 20 days and ≈23 hours (2018-07-07 UTC-12⌁UTC+14). See https://github.com/rakudo/rakudo/wiki/Monthly-Bug-Squash-Day
<AlexDaniel> :S
<squashable6> 🍕🍕🍕 First contribution by jkramer++! ♥
<jkramer> squashable6: Lies! I contributed plenty of (tiny) doc fixes
<squashable6> jkramer, ALRIGHT, LET'S DO IT!!!
<jkramer> :D
<samcv> notable6: https://cry.nu/perl6/adding-and-improving-file-encoding-support-in-moarvm/
<notable6> samcv, I cannot recognize this command. See wiki for some examples: https://github.com/perl6/whateverable/wiki/Notable
<samcv> notable6: please note https://cry.nu/perl6/adding-and-improving-file-encoding-support-in-moarvm/
<notable6> samcv, Noted!<AlexDaniel> weekly: https://cry.nu/perl6/adding-and-improving-file-encoding-support-in-moarvm/
<notable6> AlexDaniel, Noted!
<AlexDaniel> notable6: reset please
<notable6> AlexDaniel, Moved existing notes to “please_2018-09-26T21:53:16Z”