»â« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
buggable 🎺🎺🎺 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!
samcv yay 00:02
00:04 geospeck left 00:07 setty1 joined 00:12 Ven`` joined
Perl6 Happy new Year everyone! 00:17
And good night :) 00:18
00:18 Perl6 left
Herby_ 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
I'd like to return a count of films with FilmProfit > 500000000, and count of < 500000000 00:27
Ven`` happy new year :)
Herby_ I'd like to start using actual databases for my programs instead of text files
Ven``: you too! 00:28
Ven`` Herby_: what's the issue you're having?
Herby_ Teaching myself SQL and stumped on an exercise 00:29
00:29 Ven`` left
comborico1611 Heh. I'm just starting on MySQL 00:31
00:32 Ven`` joined
Herby_ o/ \o 00:35
00:37 natrys left
Herby_ got it figured out: stackoverflow.com/questions/127893...-sql-query 00:38
00:43 Actualeyes left 00:59 pmurias joined
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"
(i have heard often "sqlite is not a replacement for mysql/postgresql/mssql, but a replacement for fopen". i like that sentiment) 01:01
01:04 kerframil joined 01:06 Ven`` left
comborico1611 It's cold out here in Texas, boys. 01:06
geekosaur "cold" 01:07
(single digits Fahrenheit here, likely to bottom out around -5Β°F overnight, or lower if the clouds stay away long enough.) 01:08
01:09 Ven`` joined 01:16 markong left 01:18 zacts joined, aeruder joined 01:23 aeruder left 01:27 aeruder joined 01:39 R0b0t1 left 01:42 R0b0t1 joined
Herby_ AlexDaniel: thanks 01:44
comborico1611: its a little chilly in Colorado too
TimToady in Mountain View, we're gonna go all the way down to 44℉ :) 01:46
(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
timotimo .tell moritz quotable6 can't grab irc data right now because 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.
buggable New CPAN upload: JSON-Fast-0.9.9.tar.gz by TIMOTIMO cpan.metacpan.org/authors/id/T/TI/...9.9.tar.gz
02:28 konsolebox joined 02:29 setty1 left 02:30 Zoffix joined, wamba left
Herby_ timotimo++ 02:30
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, ChanServ sets mode: +v ilbot3 02:59 cdg joined 03:04 cdg left
Zoffix m: my \test = *.say; test(42) 03:16
camelia 5===SORRY!5=== Error while compiling <tmp>
Variable '&test' is not declared
at <tmp>:1
------> 3my \test = *.say; 7⏏5test(42)
Zoffix boo
m: my \test = *.say; test.(42)
camelia 42
Zoffix 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
Zoffix m: "/tmp".IO.mkdir(0).say 04:05
camelia "/tmp".IO
04:05 astj left
Zoffix m: "/tmp".IO.mkdir(0).mode.say 04:05
camelia 1777
04:05 xcm joined
Zoffix sucks this got missed during IO grant >_< 04:05
"foo/bar/ber".IO.mkdir(0).say is even worse. Makes `foo` and can't make `bar` but doesn't complain about that 04:08
04:11 Kaiepi joined
Kaiepi happy new year!! 04:11
Zoffix Kaiepi: HNY! 04:12
R#1357 04:25
synopsebot R#1357 [open]: github.com/rakudo/rakudo/issues/1357 IO::Path.mkdir's behaviour poorly defined / routine doesn't fail when it should
Zoffix Made a spec proposal to clarify the behaviour of mkdir
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, aindilis joined 04:35 Herby__ joined 04:52 Cabanossi left 04:53 Cabanossi joined 04:57 astj joined 05:00 Herby_ left
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:00 Herby__ left 05:01 Herby_ joined, 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
buggable New CPAN upload: PDF-Font-Loader-0.1.9.tar.gz by WARRINGD cpan.metacpan.org/authors/id/W/WA/...1.9.tar.gz 05:58
06:03 khisanth_ left 06:08 daemon joined 06:09 daemon is now known as Guest85105 06:10 Guest85105 left, Guest85105 joined 06:11 Guest85105 is now known as daemon 06:25 khisanth_ joined
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:29
A couple of roast tests hid the bug due to this 06:30
06:32 daemon left 06:37 daemon joined, daemon is now known as Guest46450 06:38 Guest46450 left, Guest46450 joined 06:39 Guest46450 is now known as daemon, Actualeyes joined
Geth doc: ccafec86af | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/testing.pod6
Document `throws-like` LTAness with Failures
synopsebot Link: doc.perl6.org/language/testing
06:48 travis-ci joined
travis-ci Doc build errored. Zoffix Znet 'Document `throws-like` LTAness with Failures' 06:48
travis-ci.org/perl6/doc/builds/323725927 github.com/perl6/doc/compare/cd221...afec86aff6
06:48 travis-ci left
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""
I guess that'll resolve itself, no? 06:49
ZofBot: it's Y2K18 BUG!
ZofBot Zoffix, Couldn't do enough for me for a while
06:52 travis-ci joined
travis-ci Doc build errored. Zoffix Znet 'Document `throws-like` LTAness with Failures' 06:52
travis-ci.org/perl6/doc/builds/323725927 github.com/perl6/doc/compare/cd221...afec86aff6
06:52 travis-ci left
buggable [travis build above] ☠ Did not recognize some failures. Check results manually. 06:52
06:59 piojo_ joined, aindilis left 07:04 jeromelanteri left 07:08 Mikasi left 07:27 darutoko joined 07:33 piojo_ left, 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, traxex joined 09:36 traxex left, traxex joined 09:40 committable6 left, committable6 joined, ChanServ sets mode: +v committable6 09:42 ChoHag joined 09:53 ChoHag left 09:55 ChoHag joined 09:59 domidumont joined
Zoffix m: -> Int() $x { dd $x }.signature.params.head.constraints.say 10:04
camelia ( no output )
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
m: say all()
camelia ( no output )
Zoffix 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, 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, statisfiable6 joined, ChanServ sets mode: +v statisfiable6 13:10 konsolebox left 13:11 nativecallable6 left, nativecallable6 joined 13:13 konsolebox joined 13:19 Omniblast641 joined
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
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
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β–„
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
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β–„
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
jdv79 kool 13:29
13:48 pmurias left 13:55 pmurias joined 14:05 comborico1611 joined 14:07 geospeck joined 14:11 geospeck left
mspo man another one 14:18
14:28 pmurias left 14:34 wamba left, pmurias joined 14:53 aindilis joined 15:02 Perl6 joined, markong left, markong joined 15:05 mniip left
stmuk_ a hangover and I see "fruit salad" on the channel .. at least it doesn't blink 15:05
15:05 stmuk_ is now known as stmuk
Perl6 Hey guys when I try to use zef it says command not found 15:06
15:06 markong left, margeas joined
stmuk Perl6: its probably either not installed or not in your PATH? 15:10
Perl6 stmuk: It's definitely installed, and I think it's in the right place 15:21
stmuk: I know because if I try to install it again it says "All candidates already installed. No reason to proceed" 15:22
Oh wait how do I access my PATH? 15:25
15:25 natrys joined
stmuk which directory did you install perl6 under? 15:26
Perl6 stmuk: I think it's /home/user/zef
stmuk: Oh wait perl6, sorry, one second. :P Oops 15:28
It's in /home/user
stmuk ls -l /home/user/share/perl6/site/bin 15:29
do you see zef there?
Perl6 No such file or folder 15:31
stmuk what does "type perl6" say? 15:33
15:38 mniip joined
Perl6 perl6 is /home/user/rakudo-star-2017.07/perl6 15:40
15:40 dct left
stmuk export PATH=$PATH:/home/user/rakudo-star-2017.07/share/perl6/site/bin 15:41
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 :)
Perl6 Okay, I entered the command
15:42 releasable6 left, releasable6 joined
Perl6 Now type perl6 returns (/home/user/rakudo-star-2017.07/perl6) 15:43
stmuk zef should work now
Perl6 Hmm doesn't seem to. Maybe I should restart my PC? 15:44
stmuk you probably mistyped the PATH
15:46 Altreus left 15:47 Altreus joined, margeas is now known as markong
gfldex Perl6: if restarting your PC helps you to understand the problem… 15:47
Perl6 gfldex: lol 15:48
gfldex Perl6: see if the following is revealing: ls -la $HOME/.perl6/ 15:52
Perl6 That gives me a whole bunch of information 15:53
gfldex Perl6: try find $HOME -name zef 15:54
15:59 Perl6 left, Perl6 joined
Perl6 Okay, that returns /home/user : is a folder 16:00
stmuk "locate zef"
16:01 comborico1611_ joined
comborico1611_ You know whats weird? 16:01
what's 16:02
Question! what is the combiner x called (trying to read docs; there are many links in search)
Perl6 Locate zef game a massive amount of folders, mostly /home/user/zef/morepaths/... 16:03
comborico1611_ Ex. my $var = " " x $other-var;
Perl6 There are a few in /opt/rakudo-star... too
Herby_ comborico1611: cross operator? 16:04
comborico1611_ You sound unsure. :)
I'll check. Thanks!
"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"
Herby_ comborico1611: i'm seeing stuff referring to it as a metaoperator
comborico1611_ Thanks!
Herby_ or infix cross operator 16:06
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
comborico1611_ I forgot how to submit a complaint.
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.
Then the prompt said to install this type "blah blah blah".
Blah blah blah = sudo apt install rakudo 16:09
Something like that.
The official installation instructions were not good. 16:10
Herby_: Nope. It's not Infix Cross Operator. 16:11
I tried a capital x in the code, and it threw an error.
Herby_ then I'll have to defer to one of the brighter minds lounging around here :) 16:12
gfldex m: say "many" x 10;
camelia manymanymanymanymanymanymanymanymanymany
gfldex this ^^^ one?
comborico1611_ Ahh
Herby_ m: say "Happy New Year" x 3
camelia Happy New YearHappy New YearHappy New Year
comborico1611_ No problems, Herb. Thanks for the help! 16:13
A clue!
Yeah, it's that.
Now, what is its name? Haha.
And, what does infix mean? 16:14
Dictionary and Docs didn't help.
Herby_ infix operator: characterized by the placement of operators between operands
essentially the operator is in the middle 16:15
2 + 3
5 * 8
"hello" x 5
versus postfix: $number++ 16:16
versus prefix: ++$number
comborico1611_ Thanks! 16:17
Strange that the normal setup of operator and operands needs a name.
So the categories again are infix, postfix, and prefix, right? 16:18
Herby_ docs.perl6.org/language/operators
comborico1611_ Thanks!
Herby_ take a peek there. looks like there are quite a bit of categories that i've never heard of
16:20 domidumont left
comborico1611_ Whoa. Thats a bunch of operators, let alone categories. 16:20
16:21 domidumont joined 16:23 Ven`` joined
gfldex comborico1611_: please note we got a few more in docs.perl6.org/language/setbagmix 16:24
Herby_ holy canoli!
:) 16:25
Perl6 wow
comborico1611_ No offense, dear perl6ers, but I think this is how perl gets a reputation for unreadable.
16:25 geospeck joined
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.
Yes, I get that.
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.
Geth doc: f80757f9d3 | (Jeremy Studer)++ | doc/Language/quoting.pod6
Indicate that Β« Β» is equivalent to qq:ww:v

And link to the adverbs anchor on page.
Also move the indices for the quoting adverbs above the table's introductory statement, so that the anchors are created above it and it is visible (and provides context) upon linking.
synopsebot Link: doc.perl6.org/language/quoting
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.
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.
comborico1611_ these=this
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
Herby_ 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
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.
comborico1611_ I took it out, and it didnt' crash the program.
gfldex comborico1611_: it's a hint to the compiler. A perl5 compiler should complain. 16:34
Herby_ gfldex: thanks
comborico1611_ gfldex, oh yeah? I'll need to look at that. Thank!
gfldex in the future we can use that to tell the compiler it should compile for an older verion of perl6
16:35 Perl6 left
comborico1611_ I see. Rosenfeld needs to include this info with the sample code. Geez. 16:35
gfldex Herby_: that's a good start: github.com/croservices/cro
16:44 astj left, astj joined
Herby_ gfldex: i'll give it a look, thanks 16:45
16:48 manchicken joined, pmurias left
comborico1611_ I just discovered personally that Firefox Find In Page is better than Opera's. 16:48
16:48 geospeck left, geospeck joined 16:49 astj left, geospeck left 16:53 travis-ci joined
travis-ci Doc build passed. Jeremy Studer 'Indicate that Β« Β» is equivalent to qq:ww:v 16:53
travis-ci.org/perl6/doc/builds/323808129 github.com/perl6/doc/compare/ccafe...0757f9d35d
16:53 travis-ci left 16:56 Ven`` left 16:57 squashable6 left, reportable6 left, squashable6 joined, reportable6 joined, ChanServ sets mode: +v reportable6, zakharyas joined
Herby_ what are people's go to option when trying to pretty print json to see whats going on? 16:59
16:59 Ven`` joined
gfldex Herby_: see 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!
Herby_ gfldex: I'm on Windows 10
maybe I should have said pretty print data structures
gfldex Herby_: good luck to you then :->
Herby_ doesnt have to be json
gfldex jq should compile in cygwin 17:01
Herby_ do you use pretty::printer or data::dump?
TEttinger jq is that language that always "beats" perl 6 in code length competitions, right?
"beats" in quotes because it's complete gibberish when it does
gfldex no, jq is kind of css selectors on the CLI 17:02
17:02 MasterDuke left 17:03 yqt joined 17:05 comborico1611_ left
TEttinger is it a different jq? 17:05
gfldex seams so
Herby_ i think its just J
17:08 wamba joined 17:10 pmurias joined
TEttinger ah, it's Jelly I was thinking of 17:14
codegolf.stackexchange.com/questio...rray/71183 17:15
jq is used in an answer here, not the best (6 bytes!)
perigrin I don't think you're ready for that Jelly.
Herby_ i'll stick to Jam 17:16
17:19 pmurias left 17:22 bloatable6 left, coverable6 left, benchable6 left, bloatable6 joined, coverable6 joined, ChanServ sets mode: +v coverable6, benchable6 joined 17:25 pmurias joined 17:26 manchicken left 17:34 Ven`` left 17:37 webstrand joined 17:39 bisectable6 left, 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, quotable6 left 18:34 quotable6 joined, benchable6 left, bloatable6 left, squashable6 left, releasable6 left, nativecallable6 left, evalable6 left, unicodable6 left, releasable6 joined, squashable6 joined, benchable6 joined, bloatable6 joined
AlexDaniel squashable6: next 18:37
squashable6 AlexDaniel, βš πŸ• Next SQUASHathon in 3 days and β‰ˆ15 hours (2018-01-06 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel oh wow, so soon!
18:41 konsolebox joined 18:48 zakharyas left, zakharyas joined 18:54 epony left 18:57 aindilis left 19:02 zakharyas left 19:04 zakharyas joined 19:05 darutoko left
AlexDaniel lizmat: ↑ maybe 19:07
19:07 unicodable6 joined
Herby_ I wonder if Laurent Rosenfeld should submit his book here: devfreebooks.github.io/ 19:08
Think Perl 6 that is
19:13 epony joined 19:14 epony left 19:15 Kaiepi left, 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, ChanServ sets mode: +v greppable6 19:40 espadrine left
AlexDaniel lizmat: blah, wrong channel. ↑ was meant to be in #perl6-dev 19:41
lizmat assume it was about the next Squashathon ? 19:42
any special attention area for it ?
AlexDaniel lizmat: no I was thinking about the December report: github.com/rakudo/rakudo/wiki/Ticket-updates 19:48
but squashathon too, please
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:49
AlexDaniel lizmat: :( can't 19:56
no data was gathered back then, unfortunately
it should be possible, in theory, but reportable6 does not work like that 19:57
lizmat AlexDaniel: ok, too bad, next year then :-) 19:58
AlexDaniel yes, definitely!
20:07 cdg joined 20:10 epony left 20:11 cdg left 20:13 splatt9990 joined 20:14 splatt9990 left, comborico1611 left 20:15 comborico1611 joined 20:20 kerframil joined 20:23 markong left, markong joined 20:31 dct joined 20:35 s0me0ne-unkn0wn joined 20:38 s0me0n3-unkn0wn left
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.
El_Che I don't get how it's not failing for core devs
I'll try it on a mac as well
20:46 geospeck joined 20:58 evalable6 joined 21:04 dct left
lizmat El_Che++ 21:04
lizmat doesn't understand either 21:05
gfldex m: my &code = *.grep(Int).sort[0,*-1]; say code [5, 4, 2, 9, 1, 10, 5]; 21:08
camelia (1 10)
El_Che lizmat: I'll be damned. It passes on macos high sierra
lizmat is glad she's not crazy 21:09
El_Che what we know so far: the dev that added the test uses macos :) 21:10
21:11 zakharyas left
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
(probably the biggest target OS)
21:12 Zoffix joined
Zoffix El_Che: that test passes on rakudo's Linux travis and passes for me on Linux too 21:12
Herby_ Zoffix: o/
Zoffix \o 21:13
21:13 char_var[buffer] joined
El_Che Zoffix: it fails on my 15 Linux travis builds 21:13
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
Zoffix: yes
Ubuntu amd64 17.10
Zoffix El_Che: passes locally: gist.github.com/zoffixznet/c94ded0...1458e40ebc 21:15
El_Che just built it on local linux and macos
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 gist.github.com/zoffixznet/53873c4...424c94523d
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?
reportable6: list
reportable6 AlexDaniel, gist.github.com/42ceb156ff84759c72...7c6f899a20
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
AlexDaniel like this?
reportable6 AlexDaniel, gist.github.com/78c210faff30fb1234...36fb512821
AlexDaniel reportable6: 2017-10-06T02:26:20Z 2018-01-01T00:00:00Z
reportable6 AlexDaniel, OK, working on it! This may take up to 40 seconds
El_Che Zoffix: gist.github.com/nxadm/1680e0e1483b...7db13d329d 21:19
Zoffix: nothing special there
reportable6 AlexDaniel, gist.github.com/b1661b2879c4e352ab...7d6e0a58ae
Zoffix Yeah.
El_Che: no idea then :S
lizmat www.perl.com/article/a-slow-boat-to-data/ # Nadim++
El_Che 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
but I don't recall changing them on that machine 21:21
being higher would mean reaching the danger zone earlier 21:22
Zoffix: are you testing the released tars or something on bleed
timotimo idiom of the day: $foobar = (.IO with %*ENV<PATH_TO_THE_FILE) // $default_value; 21:23
Zoffix El_Che: bleed 21:24
Juerd timotimo: I'd probably use %ENV<PATH>.?IO 21:25
timotimo oh, hm
Zoffix $foobar = %*ENV<PATH_TO_THE_FILE>.?IO // $default_value;
timotimo yeah, that's not bad
Juerd Or to be honest, probably (%ENV<PATH> // $default-path).IO 21:26
But that kinda depends on the rest of the code
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: travis-ci.org/rakudo/rakudo/jobs/3...8096#L1480
El_Che Zoffix: 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
an extra .IO is of course a no-op on that, but i still wanted it separate
El_Che Zoffix: you'll see they all fail on the same test 21:29
21:29 Kaiepi left 21:30 Kaiepi joined
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'
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
Zoffix: gist.github.com/nxadm/9394d5c40be7...9d8d540c84 21:33
Zoffix c: 2016.05 say β€˜a’ x 9999999999999999999
committable6 Zoffix, ¦2016.05: «repeat count (-8446744073709551617) cannot be negative␀ in block <unit> at /tmp/bC90dUu_q3 line 1␀␀ «exit code = 1»»
Zoffix The original test just covered this bug ^
c: 2016.05 say β€˜a’ x 999999999999999999
committable6 Zoffix, ¦2016.05: «repeat count > 1073741824 arbitrarily unsupported...␀ in block <unit> at /tmp/qANaMATiTp line 1␀␀ «exit code = 1»»
Zoffix And this
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
running 21:36
Zoffix It should complete instantly... 21:37
21:37 setty1 left
El_Che gist.github.com/nxadm/207fb12975ef...963b158594 21:37
moarvm panic
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
Zoffix :o 21:39
El_Che running
not panicking yet :)
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;
camelia Can't concatenate strings, required number of graphemes 4294967296 > max allowed of 4294967295
in block <unit> at <tmp> line 1
Zoffix It should bail out ^ like that right away
El_Che it did now
took 20 sec or something like that 21:40
identic error
Zoffix why does it take 20sec tho :S 21:41
El_Che first test with correct perl6: gist.github.com/nxadm/52e8e320a92f...2f12c06195
machine has 16gb of ram, mostly not used 21:42
seems fast enough
Zoffix El_Che: what distro are you using there? I'm gonna fire it up in VM to see if I can repro this
El_Che ubuntu 17.10 amd64
but the point is, is that it fails on ALL distros 21:43
(see my travis link)
make it 40 sec
Zoffix El_Che: ok, then lets try something else first. How do you build your rakudos? Perhaps our build steps differ 21:44
$ cd $(mktemp -d); echo -e '#include <stdio.h>\nint main(void) { printf("%lld\\n", 0xFFFFFFFFLL); return 1; }' | gcc -x c -; ./a.out 21:46
4294967295 21:47
Do you get the same number?
geekosaur o.O 21:51
Zoffix lol 21:52
What's wrong? :)
geekosaur that result is correct for (long) and (int). (long long) should be larger unless printf() is broken 21:53
wait, I am misreading, sorry
Zoffix *phew* :)
geekosaur LL suffix should prevent extension of that constant 21:54
although C has some problems even in the standard around that
and, well, printf. even with ll flag (this gets into why the problems extend even into the standard) 21:55
21:58 char_var[buffer] left 22:01 leont joined
Zoffix m: -> Int:D('and not just :D but THE :D, please') $x { dd $x }(42) 22:02
camelia 42
Zoffix giggles
lizmat and another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2018/01/01/...-6-alerts/
Zoffix :o over 10000 commits daum 22:05
22:06 geospeck left
gfldex lizmat: a surprisingly sober weekly :) 22:06
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:07
so... sober? more a bit hangovvery :-) 22:08
Zoffix lizmat++ # good weekly. The Yearly Stats blew my mind 22:10
lizmat hehe... mischief achieved :-) 22:11
22:11 pecastro joined
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
22:12 espadrine joined
lizmat well, the P6W is not really core now, is it ? 22:14
that would be my reason not to push it as an alert 22:15
Zoffix OK :)
Zoffix goes back to hacking on definiteHOWQ coercers
22:15 Zoffix left 22:16 domidumont left
jnthn lizmat++ # weekly...especially collecting the stats :) 22:16
22:20 comborico1611 left 22:23 Aaronepower joined, Aaronepower left 22:24 Aaronepower joined
lizmat makes it an early night 22:27
22:38 markong left 22:46 vichib left 22:52 pecastro left