Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2018-01-01

Perl 6 | Reference Documentation | Rakudo

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

All times shown according to UTC.

Time Nick Message
00:00 buggable 🎺🎺🎺 It's time for the monthly Accidental /win Lottery 😍😍😍 We have 1 ballots submitted by 1 users! DRUM ROLL PLEASE!...
00:00 buggable And the winning number is 99! Congratulations to samcv! You win a can of WD40!
00:02 samcv yay
00:07 setty1 joined #perl6
00:12 Ven`` joined #perl6
00:17 Perl6 Happy new Year everyone!
00:18 Perl6 And good night :)
00:26 Herby_ I'm teaching myself a little bit about SQL and am stumped on an example
00:26 Herby_ I have a table with two columns:  FilmName, FilmProfit
00:27 Herby_ I'd like to return a count of films with FilmProfit > 500000000, and count of < 500000000
00:27 Ven`` happy new year :)
00:27 Herby_ I'd like to start using actual databases for my programs instead of text files
00:28 Herby_ Ven``: you too!
00:28 Ven`` Herby_: what's the issue you're having?
00:29 Herby_ Teaching myself SQL and stumped on an exercise
00:31 comborico1611 Heh. I'm just starting on MySQL
00:32 Ven`` joined #perl6
00:35 Herby_ o/ \o
00:38 Herby_ got it figured out: https://stackoverflow.com/questions/12789396/how-to-get-multiple-counts-with-one-sql-query
00:59 pmurias joined #perl6
01:00 AlexDaniel Herby_: fwiw sql and database management systems are cool, but for simple programs using files is just fine
01:00 timotimo IMO, sqlite is a nice replacement for "just use a text file"
01:01 timotimo (i have heard often "sqlite is not a replacement for mysql/postgresql/mssql, but a replacement for fopen". i like that sentiment)
01:04 kerframil joined #perl6
01:06 comborico1611 It's cold out here in Texas, boys.
01:07 geekosaur "cold"
01:08 geekosaur (single digits Fahrenheit here, likely to bottom out around -5°F overnight, or lower if the clouds stay away long enough.)
01:09 Ven`` joined #perl6
01:18 zacts joined #perl6
01:18 aeruder joined #perl6
01:27 aeruder joined #perl6
01:42 R0b0t1 joined #perl6
01:44 Herby_ AlexDaniel: thanks
01:44 Herby_ comborico1611: its a little chilly in Colorado too
01:46 TimToady in Mountain View, we're gonna go all the way down to 44℉  :)
01:47 TimToady (currently 54℉ though)
01:47 TimToady poor us :)
01:47 someuser1 joined #perl6
01:52 konsolebox joined #perl6
02:11 astj joined #perl6
02:17 astj joined #perl6
02:24 jeromelanteri joined #perl6
02:28 timotimo .tell moritz quotable6 can't grab irc data right now because https://irclog.perlgeek.de/p6dev/2017-12-31 gives a 500 internal server error if Accept: application/json is set :(
02:28 yoleaux timotimo: I'll pass your message to moritz.
02:28 buggable New CPAN upload: JSON-Fast-0.9.9.tar.gz by TIMOTIMO https://cpan.metacpan.org/authors/id/T/TI/TIMOTIMO/Perl6/JSON-Fast-0.9.9.tar.gz
02:28 konsolebox joined #perl6
02:30 Zoffix joined #perl6
02:30 Herby_ timotimo++
02:58 ilbot3 joined #perl6
02:58 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
02:59 cdg joined #perl6
03:16 Zoffix m: my \test = *.say; test(42)
03:16 camelia rakudo-moar e5b4f37f1: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Variable '&test' is not declared␤at <tmp>:1␤------> 3my \test = *.say; 7⏏5test(42)␤»
03:16 Zoffix boo
03:16 Zoffix m: my \test = *.say; test.(42)
03:16 camelia rakudo-moar e5b4f37f1: OUTPUT: «42␤»
03:16 Zoffix Ah
03:40 mingdao joined #perl6
03:41 konsolebox joined #perl6
03:46 Ven`` joined #perl6
04:05 Zoffix m: "/tmp".IO.mkdir(0).say
04:05 camelia rakudo-moar 42d7d74d1: OUTPUT: «"/tmp".IO␤»
04:05 Zoffix m: "/tmp".IO.mkdir(0).mode.say
04:05 camelia rakudo-moar 42d7d74d1: OUTPUT: «1777␤»
04:05 xcm joined #perl6
04:05 Zoffix sucks this got missed during IO grant >_<
04:08 Zoffix "foo/bar/ber".IO.mkdir(0).say is even worse. Makes `foo` and can't make `bar` but doesn't complain about that
04:11 Kaiepi joined #perl6
04:11 Kaiepi happy new year!!
04:12 Zoffix Kaiepi: HNY!
04:25 Zoffix R#1357
04:25 synopsebot R#1357 [open]: https://github.com/rakudo/rakudo/issues/1357 IO::Path.mkdir's behaviour poorly defined / routine doesn't fail when it should
04:25 Zoffix Made a spec proposal to clarify the behaviour of mkdir
04:25 Zoffix well, of IO::Path.mkdir; &mkdir remains the same and will just return a list of paths that did not fail
04:28 khw joined #perl6
04:30 aindilis joined #perl6
04:35 Herby__ joined #perl6
04:53 Cabanossi joined #perl6
04:57 astj joined #perl6
05:00 Zoffix ZofBot: HAPPY NEW YEAR BRUH!!!!
05:00 ZofBot Zoffix, 11? I asked becuase fpm (what I use to generate pkgs) is broken on alpine so I went into the rabbit hole to create the pkg manually using the tools (that downloads and compiles the stuff for you) you can get a package, but you loose a lot of flexibility I don't want to figure out how patches work on
05:01 Herby_ joined #perl6
05:01 Herby__ joined #perl6
05:13 xcm joined #perl6
05:20 parv joined #perl6
05:58 buggable New CPAN upload: PDF-Font-Loader-0.1.9.tar.gz by WARRINGD https://cpan.metacpan.org/authors/id/W/WA/WARRINGD/Perl6/PDF-Font-Loader-0.1.9.tar.gz
06:08 daemon joined #perl6
06:10 Guest85105 joined #perl6
06:25 khisanth_ joined #perl6
06:29 Zoffix Looks like throws-like() is warty too. While it checks for throwage, it does so while enabling `use fatal` and probably sinking result too, so deliberly explodes Failures that the user of the routine might wish to not have
06:30 Zoffix A couple of roast tests hid the bug due to this
06:37 daemon joined #perl6
06:38 Guest46450 joined #perl6
06:39 Actualeyes joined #perl6
06:46 Geth ¦ doc: ccafec86af | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/testing.pod6
06:46 Geth ¦ doc: Document `throws-like` LTAness with Failures
06:46 Geth ¦ doc: review: https://github.com/perl6/doc/commit/ccafec86af
06:46 synopsebot Link: https://doc.perl6.org/language/testing
06:48 travis-ci joined #perl6
06:48 travis-ci Doc build errored. Zoffix Znet 'Document `throws-like` LTAness with Failures'
06:48 travis-ci https://travis-ci.org/perl6/doc/builds/323725927 https://github.com/perl6/doc/compare/cd2216f4412d...ccafec86aff6
06:48 travis-ci left #perl6
06:48 buggable [travis build above] ☠ Did not recognize some failures. Check results manually.
06:48 Zoffix "oci runtime error: exec failed: container_linux.go:265: starting container process caused "could not create session key: disk quota exceeded""
06:49 Zoffix I guess that'll resolve itself, no?
06:49 Zoffix ZofBot: it's Y2K18 BUG!
06:49 ZofBot Zoffix, Couldn't do enough for me for a while
06:52 travis-ci joined #perl6
06:52 travis-ci Doc build errored. Zoffix Znet 'Document `throws-like` LTAness with Failures'
06:52 travis-ci https://travis-ci.org/perl6/doc/builds/323725927 https://github.com/perl6/doc/compare/cd2216f4412d...ccafec86aff6
06:52 travis-ci left #perl6
06:52 buggable [travis build above] ☠ Did not recognize some failures. Check results manually.
06:59 piojo_ joined #perl6
07:27 darutoko joined #perl6
07:33 piojo_ joined #perl6
08:08 piojo_ joined #perl6
08:13 setty1 joined #perl6
08:38 rindolf joined #perl6
08:51 geospeck joined #perl6
08:57 xcm joined #perl6
09:16 dct joined #perl6
09:22 wamba joined #perl6
09:27 cpup joined #perl6
09:29 traxex joined #perl6
09:36 traxex joined #perl6
09:40 committable6 joined #perl6
09:42 ChoHag joined #perl6
09:55 ChoHag joined #perl6
09:59 domidumont joined #perl6
10:04 Zoffix m: -> Int() $x { dd $x }.signature.params.head.constraints.say
10:04 camelia rakudo-moar 53a850800: ( no output )
10:05 Zoffix ^ interesting side effect of making Junctions work with output routines. There exist values on which calling .say produces no output, so it doesn't always print "\n" :)
10:05 Zoffix m: say all()
10:05 camelia rakudo-moar 53a850800: ( no output )
10:05 Zoffix wc
10:24 domidumont joined #perl6
10:29 sacomo joined #perl6
10:42 pmurias joined #perl6
10:50 philomath_ joined #perl6
10:59 espadrine joined #perl6
11:01 eliasr joined #perl6
11:02 traxex joined #perl6
11:03 Zoffix left #perl6
11:04 markong joined #perl6
11:04 piojo_ joined #perl6
11:09 domidumont joined #perl6
11:20 traxex joined #perl6
11:25 traxex joined #perl6
11:29 philomath_ left #perl6
11:47 notbenh joined #perl6
12:17 natrys joined #perl6
12:33 piojo_ joined #perl6
13:09 statisfiable6 joined #perl6
13:11 nativecallable6 joined #perl6
13:13 konsolebox joined #perl6
13:19 Omniblast641 joined #perl6
13:19 Omniblast641 10,03▄02,10▄06,02▄12,06▄09,08▄05,11▄10,10▄06,07▄09,13▄02,05▄02,06▄13,10▄10,04▄11,12▄06,10▄02,11▄09,10▄11,11▄05,11▄04,02▄08 ITS A BRAND NEW YEAR AND WEECHAT NEEDS FUNDS TO MAKE A BRAND NEW MULTITHREADED WEECHAT CLIENT.. PLEASE GO TO #WEECHAT AND TYPE !donate FOR MORE INFORMATION frxszmgv: statisfiable6 domidumont notbenh 09,07▄06,13▄10,07▄07,11▄13,10▄
13:19 Omniblast641 04,09▄10,07▄08,04▄05,03▄12,10▄03,07▄13,05▄07,09▄05,05▄05,02▄13,05▄10,10▄07,12▄06,07▄08,05▄02,11▄06,02▄10,07▄05 ITS A BRAND NEW YEAR AND WEECHAT NEEDS FUNDS TO MAKE A BRAND NEW MULTITHREADED WEECHAT CLIENT.. PLEASE GO TO #WEECHAT AND TYPE !donate FOR MORE INFORMATION ixugrkj: traxex statisfiable6 markong 02,04▄13,03▄03,08▄10,05▄06,11▄07,05▄05,07▄05,
13:19 Omniblast641 09,07▄09,05▄12,11▄11,07▄11,06▄08,08▄03,03▄04,13▄07,09▄05,06▄02,08▄07,11▄12,02▄05,13▄08,12▄09,07▄09,12▄10,08▄03,04▄06 ITS A BRAND NEW YEAR AND WEECHAT NEEDS FUNDS TO MAKE A BRAND NEW MULTITHREADED WEECHAT CLIENT.. PLEASE GO TO #WEECHAT AND TYPE !donate FOR MORE INFORMATION lzaij: traxex markong domidumont 04,04▄09,11▄07,09▄13,02▄03,12▄11,10▄07,06▄
13:19 Omniblast641 10,02▄10,06▄05,11▄12,03▄08,10▄13,03▄05,07▄04,11▄04,02▄07,05▄07,08▄11,02▄11,02▄05,03▄05,02▄12 ITS A BRAND NEW YEAR AND WEECHAT NEEDS FUNDS TO MAKE A BRAND NEW MULTITHREADED WEECHAT CLIENT.. PLEASE GO TO #WEECHAT AND TYPE !donate FOR MORE INFORMATION icaqboskzr: nativecallable6 konsolebox domidumont 04,11▄03,10▄02,09▄05,05▄12,09▄12,11▄03,08▄10,13▄07,12▄0
13:19 Omniblast641 11,10▄06,03▄10,09▄13,07▄09,11▄05,08▄11,08▄13,09▄02,07▄06,03▄02,10▄11,11▄05,10▄09,10▄03,12▄12,13▄06,07▄03 ITS A BRAND NEW YEAR AND WEECHAT NEEDS FUNDS TO MAKE A BRAND NEW MULTITHREADED WEECHAT CLIENT.. PLEASE GO TO #WEECHAT AND TYPE !donate FOR MORE INFORMATION krtogm: nativecallable6 markong domidumont 12,06▄09,05▄02,08▄07,06▄08,10▄05,04▄03,13▄11,07▄
13:19 Omniblast641 03,02▄03,10▄12,12▄13,03▄10,11▄04,06▄04,12▄02,06▄05,07▄08,08▄10,08▄13,10▄07,03▄02,11▄11,07▄04,03▄13,08▄12,03▄08,05▄08 ITS A BRAND NEW YEAR AND WEECHAT NEEDS FUNDS TO MAKE A BRAND NEW MULTITHREADED WEECHAT CLIENT.. PLEASE GO TO #WEECHAT AND TYPE !donate FOR MORE INFORMATION rnzorrqt: notbenh traxex elia 11,09▄03,04▄08,04▄09,10▄11,06▄08,03▄08,13▄0
13:29 jdv79 kool
13:55 pmurias joined #perl6
14:05 comborico1611 joined #perl6
14:07 geospeck joined #perl6
14:18 mspo man another one
14:34 pmurias joined #perl6
14:53 aindilis joined #perl6
15:02 Perl6 joined #perl6
15:02 markong joined #perl6
15:05 stmuk_ a hangover and I see "fruit salad" on the channel .. at least it doesn't blink
15:06 Perl6 Hey guys when I try to use zef it says command not found
15:06 margeas joined #perl6
15:10 stmuk Perl6: its probably either not installed or not in your PATH?
15:21 Perl6 stmuk: It's definitely installed, and I think it's in the right place
15:22 Perl6 stmuk: I know because if I try to install it again it says "All candidates already installed. No reason to proceed"
15:25 Perl6 Oh wait how do I access my PATH?
15:25 natrys joined #perl6
15:26 stmuk which directory did you install perl6 under?
15:26 Perl6 stmuk: I think it's /home/user/zef
15:28 Perl6 stmuk: Oh wait perl6, sorry, one second. :P Oops
15:28 Perl6 It's in /home/user
15:29 stmuk ls -l /home/user/share/perl6/site/bin
15:29 stmuk do you see zef there?
15:31 Perl6 No such file or folder
15:33 stmuk what does "type perl6" say?
15:38 mniip joined #perl6
15:40 Perl6 perl6 is /home/user/rakudo-star-2017.07/perl6
15:41 stmuk export PATH=$PATH:/home/user/rakudo-star-2017.07/share/perl6/site/bin
15:42 Perl6 I am afraid this will break my perl 6 command lol
15:42 stmuk the rakudo star installation process would have told you that :)
15:42 Perl6 Okay, I entered the command
15:42 releasable6 joined #perl6
15:43 Perl6 Now type perl6 returns (/home/user/rakudo-star-2017.07/perl6)
15:43 stmuk zef should work now
15:44 Perl6 Hmm doesn't seem to. Maybe I should restart my PC?
15:44 stmuk you probably mistyped the PATH
15:47 Altreus joined #perl6
15:47 gfldex Perl6: if restarting your PC helps you to understand the problem…
15:48 Perl6 gfldex: lol
15:52 gfldex Perl6: see if the following is revealing: ls -la $HOME/.perl6/
15:53 Perl6 That gives me a whole bunch of information
15:54 gfldex Perl6: try find $HOME -name zef
15:59 Perl6 joined #perl6
16:00 Perl6 Okay, that returns /home/user : is a folder
16:00 stmuk "locate zef"
16:01 comborico1611_ joined #perl6
16:01 comborico1611_ You know whats weird?
16:02 comborico1611_ what's
16:02 comborico1611_ Question!  what is the combiner x called (trying to read docs; there are many links in search)
16:03 Perl6 Locate zef game a massive amount of folders, mostly /home/user/zef/morepaths/...
16:03 comborico1611_ Ex. my $var = " " x $other-var;
16:03 Perl6 There are a few in /opt/rakudo-star... too
16:04 Herby_ comborico1611: cross operator?
16:04 comborico1611_ You sound unsure. :)
16:04 comborico1611_ I'll check.  Thanks!
16:05 comborico1611_ "Cross operator" is not showing up in search results.
16:05 stmuk hmmm sounds like you have multiple installations .. Star would have put it under its own directory plus "share/perl6/site/bin/zef"
16:05 Herby_ comborico1611: i'm seeing stuff referring to it as a metaoperator
16:05 Herby_ https://perl6advent.wordpress.com/2010/12/06/the-x-and-z-metaoperators/
16:05 comborico1611_ Thanks!
16:06 Herby_ or infix cross operator
16:07 comborico1611_ I see it in Docs.  The search will not show cross operator, but it will meta operator
16:07 stmuk Perl6: it might be easier to install Rakudo Star 2017.10 anyway and take note of the paths displayed at the last step of the install
16:07 comborico1611_ I forgot how to submit a complaint.
16:08 Perl6 stmuk: Yeah, probably :P Thanks for your help
16:08 comborico1611_ I too had trouble installing Rakudo Perl 6.  Eventually, I just typed in "perl6" into Bash.
16:08 comborico1611_ Then the prompt said to install this type "blah blah blah".
16:09 comborico1611_ Blah blah blah = sudo apt install rakudo
16:09 comborico1611_ Something like that.
16:10 comborico1611_ The official installation instructions were not good.
16:11 comborico1611_ Herby_: Nope.  It's not Infix Cross Operator.
16:11 comborico1611_ I tried a capital x in the code, and it threw an error.
16:12 Herby_ then I'll have to defer to one of the brighter minds lounging around here :)
16:12 gfldex m: say "many" x 10;
16:12 camelia rakudo-moar 333efa0b6: OUTPUT: «manymanymanymanymanymanymanymanymanymany␤»
16:12 gfldex this ^^^ one?
16:12 comborico1611_ Ahh
16:12 Herby_ m: say "Happy New Year" x 3
16:12 camelia rakudo-moar 333efa0b6: OUTPUT: «Happy New YearHappy New YearHappy New Year␤»
16:12 comborico1611_ No problems, Herb.  Thanks for the help!
16:12 comborico1611_ A clue!
16:13 comborico1611_ Yeah, it's that.
16:13 comborico1611_ Now, what is its name?  Haha.
16:14 comborico1611_ And, what does infix mean?
16:14 comborico1611_ Dictionary and Docs didn't help.
16:14 Herby_ infix operator: characterized by the placement of operators between operands
16:15 Herby_ essentially the operator is in the middle
16:15 Herby_ 2 + 3
16:15 Herby_ 5 * 8
16:15 Herby_ "hello" x 5
16:16 Herby_ versus postfix:  $number++
16:16 Herby_ versus prefix: ++$number
16:17 comborico1611_ Thanks!
16:17 comborico1611_ Strange that the normal setup of operator and operands needs a name.
16:18 comborico1611_ So the categories again are infix, postfix, and prefix, right?
16:18 Herby_ https://docs.perl6.org/language/operators
16:18 comborico1611_ Thanks!
16:18 Herby_ take a peek there. looks like there are quite a bit of categories that i've never heard of
16:20 comborico1611_ Whoa.  Thats a bunch of operators, let alone categories.
16:21 domidumont joined #perl6
16:23 Ven`` joined #perl6
16:24 gfldex comborico1611_: please note we got a few more in https://docs.perl6.org/language/setbagmix
16:24 Herby_ holy canoli!
16:25 Herby_ :)
16:25 Perl6 wow
16:25 comborico1611_ No offense, dear perl6ers, but I think this is how perl gets a reputation for unreadable.
16:25 geospeck joined #perl6
16:26 gfldex any language you don't know is unreadable
16:26 comborico1611_ There are so many operators that one can be good with perl6, but still not understand some things because of the copious operators.
16:26 comborico1611_ Yes, I get that.
16:27 timotimo there are more operators compared to, for example, python, but one operator only means ~one thing in perl6 whereas it can mean ~many things in, for example, python
16:27 comborico1611_ I'm just giving an honest opinion of what seems to be obvious to me.  But I don't know any programming language well, but I am familiar with 3 others, and this one by-far has the most operators.
16:27 Geth ¦ doc: f80757f9d3 | (Jeremy Studer)++ | doc/Language/quoting.pod6
16:27 Geth ¦ doc: Indicate that « » is equivalent to qq:ww:v
16:27 Geth ¦ doc:
16:27 Geth ¦ doc: And link to the adverbs anchor on page.
16:27 Geth ¦ doc:
16:27 synopsebot Link: https://doc.perl6.org/language/quoting
16:27 Geth ¦ doc: Also move the indices for the quoting adverbs above the table's
16:27 Geth ¦ doc: introductory statement, so that the anchors are created above it and it
16:27 Geth ¦ doc: is visible (and provides context) upon linking.
16:27 Geth ¦ doc:
16:27 Geth ¦ doc: https://irclog.perlgeek.de/perl6/2017-12-31#i_15637987
16:27 Geth ¦ doc: review: https://github.com/perl6/doc/commit/f80757f9d3
16:28 timotimo yeah, perl is definitely operator-rich
16:28 comborico1611_ But you know, I get these feeling Larry Wall really knows what he is doing.  And that's why I'm here.
16:28 gfldex operators are easy to search for. If you got a method call on an object, you first need to find the type of that object, before you can even start to look the method up.
16:28 comborico1611_ these=this
16:28 timotimo but we tend to think putting the information of what an operator does into the operator rather than the types you pass it is a good idea
16:29 Herby_ Is there a Perl 6 style/formatting guide floating around somewhere? I find that would help newcomers/beginners manage better
16:29 Herby_ i include myself in that crowd
16:33 comborico1611_ What does this mean at the top of a program? use v6;
16:33 gfldex Herby_: we don't got any that I know of. You may want to read code by jnthn if you want to see beauty.
16:33 comborico1611_ I took it out, and it didnt' crash the program.
16:34 gfldex comborico1611_: it's a hint to the compiler. A perl5 compiler should complain.
16:34 Herby_ gfldex: thanks
16:34 comborico1611_ gfldex, oh yeah?  I'll need to look at that.  Thank!
16:34 comborico1611_ Thanks!
16:34 gfldex in the future we can use that to tell the compiler it should compile for an older verion of perl6
16:35 comborico1611_ I see.  Rosenfeld needs to include this info with the sample code.  Geez.
16:35 gfldex Herby_: that's a good start: https://github.com/croservices/cro
16:44 astj joined #perl6
16:45 Herby_ gfldex: i'll give it a look, thanks
16:48 manchicken joined #perl6
16:48 comborico1611_ I just discovered personally that Firefox Find In Page is better than Opera's.
16:48 geospeck joined #perl6
16:53 travis-ci joined #perl6
16:53 travis-ci Doc build passed. Jeremy Studer 'Indicate that « » is equivalent to qq:ww:v
16:53 travis-ci https://travis-ci.org/perl6/doc/builds/323808129 https://github.com/perl6/doc/compare/ccafec86aff6...f80757f9d35d
16:53 travis-ci left #perl6
16:57 squashable6 joined #perl6
16:57 reportable6 joined #perl6
16:57 zakharyas joined #perl6
16:59 Herby_ what are people's go to option when trying to pretty print json to see whats going on?
16:59 Ven`` joined #perl6
17:00 gfldex Herby_: see https://packages.debian.org/stretch/jq
17:00 TEttinger I convert the JSON to XML then UML then tie a noose just in case. happy new year!
17:00 Herby_ gfldex: I'm on Windows 10
17:00 Herby_ maybe I should have said pretty print data structures
17:00 gfldex Herby_: good luck to you then :->
17:00 Herby_ doesnt have to be json
17:00 Herby_ lol
17:01 gfldex jq should compile in cygwin
17:01 Herby_ do you use pretty::printer or data::dump?
17:01 TEttinger jq is that language that always "beats" perl 6 in code length competitions, right?
17:01 TEttinger "beats" in quotes because it's complete gibberish when it does
17:02 gfldex no, jq is kind of css selectors on the CLI
17:03 yqt joined #perl6
17:05 TEttinger is it a different jq?
17:05 gfldex seams so
17:05 Herby_ i think its just J
17:08 wamba joined #perl6
17:10 pmurias joined #perl6
17:14 TEttinger ah, it's Jelly I was thinking of
17:15 TEttinger https://codegolf.stackexchange.com/questions/71172/find-the-largest-and-the-smallest-number-in-an-array/71183
17:15 TEttinger jq is used in an answer here, not the best (6 bytes!)
17:15 perigrin I don't think you're ready for that Jelly.
17:16 Herby_ i'll stick to Jam
17:22 bloatable6 joined #perl6
17:22 coverable6 joined #perl6
17:22 benchable6 joined #perl6
17:25 pmurias joined #perl6
17:37 webstrand joined #perl6
17:39 bisectable6 joined #perl6
17:42 khw joined #perl6
17:54 geospeck joined #perl6
18:11 Kaiepi joined #perl6
18:14 MasterDuke joined #perl6
18:19 haxmeister left #perl6
18:30 sjoshi joined #perl6
18:34 quotable6 joined #perl6
18:34 releasable6 joined #perl6
18:34 squashable6 joined #perl6
18:34 benchable6 joined #perl6
18:34 bloatable6 joined #perl6
18:37 AlexDaniel squashable6: next
18:37 squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in 3 days and ≈15 hours (2018-01-06 UTC-12⌁UTC+14). See https://github.com/rakudo/rakudo/wiki/Monthly-Bug-Squash-Day
18:37 AlexDaniel oh wow, so soon!
18:41 konsolebox joined #perl6
18:48 zakharyas joined #perl6
19:04 zakharyas joined #perl6
19:07 AlexDaniel lizmat: ↑ maybe
19:07 unicodable6 joined #perl6
19:08 Herby_ I wonder if Laurent Rosenfeld should submit his book here: https://devfreebooks.github.io/
19:08 Herby_ Think Perl 6 that is
19:13 epony joined #perl6
19:15 epony joined #perl6
19:18 Kaiepi joined #perl6
19:24 Kaiepi joined #perl6
19:28 cdg joined #perl6
19:29 cdg_ joined #perl6
19:37 traxex joined #perl6
19:39 greppable6 joined #perl6
19:41 AlexDaniel lizmat: blah, wrong channel. ↑ was meant to be in #perl6-dev
19:42 lizmat assume it was about the next Squashathon ?
19:42 lizmat any special attention area for it ?
19:48 AlexDaniel lizmat: no I was thinking about the December report: https://github.com/rakudo/rakudo/wiki/Ticket-updates
19:48 AlexDaniel but squashathon too, please
19:49 lizmat could you generate a report about the whole of 2017?  would like to add that to the Statistics item of the P6W I'm working on
19:56 AlexDaniel lizmat: :( can't
19:56 AlexDaniel no data was gathered back then, unfortunately
19:57 AlexDaniel it should be possible, in theory, but reportable6 does not work like that
19:58 lizmat AlexDaniel: ok, too bad, next year then  :-)
19:58 AlexDaniel yes, definitely!
20:07 cdg joined #perl6
20:13 splatt9990 joined #perl6
20:15 comborico1611 joined #perl6
20:20 kerframil joined #perl6
20:23 markong joined #perl6
20:31 dct joined #perl6
20:35 s0me0ne-unkn0wn joined #perl6
20:45 El_Che ok, failing "t/02-rakudo/08-repeat.t" is not docker related. Just tried to build in on my linux machine (not in a container) and it still fails
20:45 b2gills It was cold here in Iowa for new years celebrations, the temp was around -15°F.
20:45 El_Che I don't get how it's not failing for core devs
20:45 El_Che I'll try it on a mac as well
20:46 geospeck joined #perl6
20:58 evalable6 joined #perl6
21:04 lizmat El_Che++
21:05 * lizmat doesn't understand either
21:08 gfldex m: my &code = *.grep(Int).sort[0,*-1]; say code [5, 4, 2, 9, 1, 10, 5];
21:08 camelia rakudo-moar 333efa0b6: OUTPUT: «(1 10)␤»
21:08 El_Che lizmat: I'll be damned. It passes on macos high sierra
21:09 * lizmat is glad she's not crazy
21:10 El_Che what we know so far: the dev that added the test uses macos :)
21:12 Herby_ b2gills: that is a little chilly
21:12 El_Che the question is if the test is broken of if there is something broken on Linux
21:12 El_Che (probably the biggest target OS)
21:12 Zoffix joined #perl6
21:12 Zoffix El_Che: that test passes on rakudo's Linux travis and passes for me on Linux too
21:12 Herby_ Zoffix: o/
21:13 Zoffix \o
21:13 char_var[buffer] joined #perl6
21:13 El_Che Zoffix: it fails on my 15 Linux travis builds
21:14 Zoffix El_Che: and on your local Linux too, right?
21:14 El_Che Zoffix: we're talking i386 and amd64 on Debian, Fedora, Centos, Alpine and Ubuntu
21:14 El_Che Zoffix: yes
21:14 El_Che Ubuntu amd64 17.10
21:15 Zoffix El_Che: passes locally: https://gist.github.com/zoffixznet/c94ded073bfe8f87b6b7cf1458e40ebc
21:15 El_Che just built it on local linux and macos
21:16 lizmat AlexDaniel: could you add an "all-time" report about tickets, for the time that data was collected ?
21:16 Zoffix El_Che: what's your `ulimit -a`? Mine's https://gist.github.com/zoffixznet/53873c4f0285a36bca1008424c94523d
21:17 lizmat AlexDaniel: then I could use those numbers for 2017 (indicating that it would only be partial anyway)
21:17 AlexDaniel just use the first and last snapshots?
21:17 AlexDaniel reportable6: list
21:17 reportable6 AlexDaniel, https://gist.github.com/42ceb156ff84759c7239967c6f899a20
21:18 AlexDaniel reportable6: 2017-10-06T02:26:20Z 2018-01-01T18:00:00Z
21:18 reportable6 AlexDaniel, OK, working on it! This may take up to 40 seconds
21:18 AlexDaniel like this?
21:18 reportable6 AlexDaniel, https://gist.github.com/78c210faff30fb1234da3936fb512821
21:18 AlexDaniel reportable6: 2017-10-06T02:26:20Z 2018-01-01T00:00:00Z
21:18 reportable6 AlexDaniel, OK, working on it! This may take up to 40 seconds
21:19 El_Che Zoffix: https://gist.github.com/nxadm/1680e0e1483b194424670d7db13d329d
21:19 El_Che Zoffix: nothing special there
21:19 reportable6 AlexDaniel, https://gist.github.com/b1661b2879c4e352ab18df7d6e0a58ae
21:19 Zoffix Yeah.
21:19 Zoffix El_Che: no idea then :S
21:19 lizmat https://www.perl.com/article/a-slow-boat-to-data/   # Nadim++
21:20 El_Che Zoffix: specially because the build fails on my local machine in in docker containers run in travis
21:20 El_Che Zoffix: some of my values are higher
21:21 El_Che but I don't recall changing them on that machine
21:22 El_Che being higher would mean reaching the danger zone earlier
21:22 El_Che Zoffix: are you testing the released tars or something on bleed
21:23 timotimo idiom of the day: $foobar = (.IO with %*ENV<PATH_TO_THE_FILE) // $default_value;
21:24 Zoffix El_Che: bleed
21:25 Juerd timotimo: I'd probably use %ENV<PATH>.?IO
21:25 timotimo oh, hm
21:25 Zoffix $foobar = %*ENV<PATH_TO_THE_FILE>.?IO // $default_value;
21:25 timotimo yeah, that's not bad
21:26 Juerd Or to be honest, probably (%ENV<PATH> // $default-path).IO
21:26 Juerd But that kinda depends on the rest of the code
21:26 Zoffix El_Che: I see some failures on travis on Linux, but I think it's still reverberations from New Years glitch  and none of the failures are in the test file you're mentioning: https://travis-ci.org/rakudo/rakudo/jobs/323768096#L1480
21:28 El_Che Zoffix: https://travis-ci.org/nxadm/rakudo-pkg/builds/321564136
21:28 timotimo yeah, the other half of the thing was actually $other-thing.add("blah"), so it was already an IO
21:28 timotimo an extra .IO is of course a no-op on that, but i still wanted it separate
21:29 El_Che Zoffix: you'll see they all fail on the same test
21:30 Kaiepi joined #perl6
21:31 El_Che I was wondering if rakudo-pkg could be a canary for release candidates. A lot of extra platforms to test. I'll see if I can automate that
21:31 Zoffix El_Che: what does this tell you maximum ram usage is on your linux box where it fails? /usr/bin/time perl6 -e 'say ("a" x 1073741824).chars == 1073741824'
21:32 Zoffix sudo apt-get time;  # unless you don't want to install it; in which case, does that code say "True" or does it fail?
21:32 El_Che anyway, if someone knowledgable about the repeat test would ping if it can be ignore or not. So I can release 2017.12 pkgs
21:33 El_Che Zoffix: https://gist.github.com/nxadm/9394d5c40be7d9518dac349d8d540c84
21:33 Zoffix c: 2016.05 say ‘a’ x 9999999999999999999
21:33 committable6 Zoffix, ¦2016.05: «repeat count (-8446744073709551617) cannot be negative␤  in block <unit> at /tmp/bC90dUu_q3 line 1␤␤ «exit code = 1»»
21:33 Zoffix The original test just covered this bug ^
21:33 Zoffix c: 2016.05 say ‘a’ x 999999999999999999
21:33 committable6 Zoffix, ¦2016.05: «repeat count > 1073741824 arbitrarily unsupported...␤  in block <unit> at /tmp/qANaMATiTp line 1␤␤ «exit code = 1»»
21:33 Zoffix And this
21:34 Zoffix El_Che: can you pastebin the full output of the failing testfile? ./perl6 t/02-rakudo/08-repeat.t
21:34 El_Che the time output is for 2017.11 already installed
21:36 El_Che running
21:37 Zoffix It should complete instantly...
21:37 El_Che https://gist.github.com/nxadm/207fb12975ef454f82772c963b158594
21:37 El_Che moarvm panic
21:38 Zoffix El_Che: this code panics too, right? perl6 -e 'my $a = "a" x 2**30; my $b = "b" x 2**30; my $c = $a ~ $b; my $d = $b ~ $a; my $e = $c ~ $d;'
21:38 El_Che hungry bastard, 8,5 gb
21:39 Zoffix :o
21:39 El_Che running
21:39 El_Che not panicking yet :)
21:39 Zoffix m: my $a = "a" x 2**30; my $b = "b" x 2**30; my $c = $a ~ $b; my $d = $b ~ $a; my $e = $c ~ $d;
21:39 camelia rakudo-moar 333efa0b6: OUTPUT: «Can't concatenate strings, required number of graphemes 4294967296 > max allowed of 4294967295␤  in block <unit> at <tmp> line 1␤␤»
21:39 Zoffix It should bail out ^ like that right away
21:39 El_Che it did now
21:40 El_Che took 20 sec or something like that
21:40 El_Che identic error
21:41 Zoffix why does it take 20sec tho :S
21:41 El_Che first test with correct perl6: https://gist.github.com/nxadm/52e8e320a92fe86b939c652f12c06195
21:42 El_Che machine has 16gb of ram, mostly not used
21:42 El_Che i7
21:42 El_Che ssd
21:42 El_Che seems fast enough
21:42 Zoffix El_Che: what distro are you using there? I'm gonna fire it up in VM to see if I can repro this
21:42 El_Che ubuntu 17.10 amd64
21:43 El_Che but the point is, is that it fails on ALL distros
21:43 El_Che (see my travis link)
21:43 El_Che make it 40 sec
21:43 El_Che real0m39,520s
21:44 Zoffix El_Che: ok, then lets try something else first. How do you build your rakudos? Perhaps our build steps differ
21:46 Zoffix $ cd $(mktemp -d); echo -e '#include <stdio.h>\nint main(void) { printf("%lld\\n", 0xFFFFFFFFLL); return 1; }' | gcc -x c -; ./a.out
21:47 Zoffix 4294967295
21:47 Zoffix Do you get the same number?
21:51 geekosaur o.O
21:52 Zoffix lol
21:52 Zoffix What's wrong? :)
21:53 geekosaur that result is correct for (long) and (int). (long long) should be larger unless printf() is broken
21:53 geekosaur wait, I am misreading, sorry
21:53 Zoffix *phew* :)
21:54 geekosaur LL suffix should prevent extension of that constant
21:54 geekosaur although C has some problems even in the standard around that
21:55 geekosaur and, well, printf. even with ll flag (this gets into why the problems extend even into the standard)
22:01 leont joined #perl6
22:02 Zoffix m: -> Int:D('and not just :D but THE :D, please') $x { dd $x }(42)
22:02 camelia rakudo-moar 333efa0b6: OUTPUT: «42␤»
22:02 * Zoffix giggles
22:02 lizmat and another Perl 6 Weekly hits the Net: https://p6weekly.wordpress.com/2018/01/01/2018-01-perl-6-alerts/
22:05 Zoffix :o over 10000 commits daum
22:06 gfldex lizmat: a surprisingly sober weekly :)
22:07 lizmat well, I did have a lot to drink last night and got only out of bed around 3:30pm, almost immediately catching up to work on the P6W
22:08 lizmat so...  sober?  more a bit hangovvery  :-)
22:10 Zoffix lizmat++ # good weekly. The Yearly Stats blew my mind
22:11 lizmat hehe...  mischief achieved :-)
22:11 pecastro joined #perl6
22:12 Zoffix for pushing weeklys as info alerts: it's up to you really. If you give me some stable host for your IRC, I can add you to the p6lert bot so you could publish
22:12 espadrine joined #perl6
22:14 lizmat well, the P6W is not really core now, is it ?
22:15 lizmat that would be my reason not to push it as an alert
22:15 Zoffix OK :)
22:15 * Zoffix goes back to hacking on definiteHOWQ coercers
22:15 Zoffix left #perl6
22:16 jnthn lizmat++ # weekly...especially collecting the stats :)
22:23 Aaronepower joined #perl6
22:24 Aaronepower joined #perl6
22:27 * lizmat makes it an early night
23:01 stmuk_ joined #perl6
23:13 dct joined #perl6
23:30 xcm joined #perl6
23:33 vichib joined #perl6
23:45 quotable6 joined #perl6
23:58 astj joined #perl6

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

Perl 6 | Reference Documentation | Rakudo