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