»ö« 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.
ckraniak Blob one might help, but I think the union approach is solid enough for now. Maybe 00:20
For the other, I'm off to read about the details of the ABI and whatnot
timotimo best of luck! 00:23
lookatme o/
AlexDaniel lizmat: I dunno. Buggable is actually not part of whateverable. Filed it here: github.com/zoffixznet/perl6-buggable/issues/15 00:50
timotimo m: say %*ENV.keys.grep(/DEPRE/) 01:16
camelia (RAKUDO_NO_DEPRECATIONS)
timotimo m: BEGIN { %*ENV<RAKUDO_NO_DEPRECATIONS>:delete }; say ["hi"].&to-json 01:16
camelia [
"hi"
]
Saw 1 occurrence of deprecated code.
================================================================================
Sub to-json (from GLOBAL) seen at:
SETTING::src/core/Mu.pm, line 792
Please use JSON::Fast, JSON::Tiny or …
timotimo ^- points at the wrong location, shouldn't point at Mu.pm 01:16
timotimo m: say <hi there <howdy>> 01:27
camelia (hi there <howdy>)
timotimo m: use Test; cmp-ok ["hi", "ho", "<howdy>"], "~~", <hi ho <howdy>>; 01:29
camelia ok 1 -
timotimo how am i causing this problem ...
m: use Test; cmp-ok ["hi", "ho", "<howdy>", "<howdy again>"], "~~", <hi ho <howdy>>; 01:30
camelia not ok 1 -
# Failed test at <tmp> line 1
# expected: ("hi", "ho", "<howdy>")
# matcher: 'infix:<~~>'
# got: ["hi", "ho", "<howdy>", "<howdy again>"]
timotimo locally i'm getting "Value of type List uselessly passed to val()"
m: my @expected = < hello goodbye <lol> >; 01:35
camelia ( no output )
timotimo m: my @expected = < read outermost_sub <mainline> >;
camelia ( no output )
timotimo m: my @expected = < read outermost_sub <mainline> >; say @expected
camelia [read outermost_sub <mainline>]
timotimo literally all i have to do locally is that?
AlexDaniel u: 🙅🏻 01:56
unicodable6 AlexDaniel, U+1F645 FACE WITH NO GOOD GESTURE [So] (🙅)
AlexDaniel, U+1F3FB EMOJI MODIFIER FITZPATRICK TYPE-1-2 [Sk] (🏻)
AlexDaniel, U+FEFF ZERO WIDTH NO-BREAK SPACE [Cf] (control character)
AlexDaniel hey unicodable6, that's no the right order… care to sleep a bit between messages?
mspo 🙅 is a weird emoji on osx 01:57
very anime
AlexDaniel mspo: the first one? emojipedia.org/face-with-no-good-gesture/ 01:58
mspo both, really
but the first one is blonde
AlexDaniel compose compose ( ) N G 01:59
(for those using kragen/xcompose) 02:00
mspo AlexDaniel: I like the MS one kind of looks like an octopus 02:01
for win 10
AlexDaniel haha
I love it anyway. So expressive 02:02
mspo the rest... where the f are those arms coming from? especially twitter
...women with legs-for-arms saying "NO"
🛍 <- stupid 02:03
AlexDaniel I can't tell what it is… 02:04
u: 🛍
unicodable6 AlexDaniel, U+1F6CD SHOPPING BAGS [So] (🛍)
mspo 🕴️ get with it
seriously considering changing my custom-uploaded :hankhill: to 🕴️ on slack for work 02:05
🕴️🕴️🕴️🕴️🕴️🕴️
mspo u: 🏩 02:11
unicodable6 mspo, U+1F3E9 LOVE HOTEL [So] (🏩)
mspo why?!
AlexDaniel mspo: “Love hotels have enough cultural significance to be added to the first addition of emojis in unicode 6.0.” 02:28
mspo japan has an outsized infuence 02:29
influence
AlexDaniel u: U+FE4BE
unicodable6 AlexDaniel, U+FE4BE <Plane 15 Private Use-FE4BE> [Co] (󾒾)
AlexDaniel u: U+1F3EF
unicodable6 AlexDaniel, U+1F3EF JAPANESE CASTLE [So] (🏯)
AlexDaniel ↑ that's also like a few codepoints apart 02:30
mspo japanese post office 02:36
TEttinger emoji, from the japanese word moji and the english word emotion... 03:22
I can imagine why Japanese culture has an outsized influence, since their cell carriers were the first standardizers 03:23
AlexDaniel personally I'm not worried about extra symbols that we might not need potentially 03:41
it's the lack of things that drives me crazy :)
TEttinger U+31337 SIGN FOR DISAPPROVAL OF UNICODE 03:47
Guest53808 lol
TEttinger have we gotten past 3 * (65536) yet in codepoints? 03:48
adu <3 perl6 04:12
ckraniak Got WriteConsoleOutput working, did both the CHAR_INFO and the COORDs as unions with DWORDS and that did it 05:04
moritz \o 06:01
AlexDaniel o/ 06:08
DrForr .tell El_Che Need eyes on the FOSDEM bio - boss doesn't like my explanation. 09:41
ENOBOT? 09:43
masak moritz: I just read this one and thought about you: thestyleofelements.org/the-art-of-...878d0bff80 10:14
Ulti any protips on debugging a MAIN signature? 10:35
as in trying to discover why its constantly only ever throwing up the usage
moritz masak: I also thought of myself when reading that post :-) 10:37
masak :) 10:38
moritz one thing that I find crucial is to not hide information in error messages, when available 10:39
but otherwise, very nice post 10:40
jast "Something went wrong, code -1" 10:50
moritz "Cannot read /etc/foo" vs "Cannot read /etc/foo: Permission Denied" 10:52
this level, for example 10:53
jast "This shouldn't happen"
jast let's not make it too straightforward... "Cannot read file: Address already in use" 10:54
masak I once read a thing about an FTP client that had the worst error message ever, where not knowing the terminology would make the user *horrified* 10:55
the error was something like: "Error when running process: child killed"
jast you mean like git's messages about detached HEAD? :) 10:56
masak the "detached HEAD" thing always makes me think of Nearly Headless Nick in Harry Potter
I do wonder whether, had it had a much milder term, the very verbose message would also have have been less panicky 10:57
jast that's semi-detached you seem to be thinking about 10:58
git semi-detach --hinge HEAD
masak :) 10:59
recently I've come to think of Git branches as laundry labels, and HEAD as the pointy-bubbly you-are-here symbol from Google Maps 11:00
moritz mixed metaphors, but not bad :-) 11:05
jast they're more like post-its... easy to move 11:10
and HEAD is the post-it on a post-it (when it's not detached)
buggable New CPAN upload: Sub-Name-0.0.2.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.2.tar.gz 11:28
lizmat turned out "mi6 upload" didn't work because I had a space after my login name in the .pause file 11:29
DrForr Gotta love paste-os. 11:34
lizmat thanks to Andreas Koenig diggin in the error log, if was quickly determine what the problem was 11:42
lizmat *determined 11:48
buggable New CPAN upload: Sub-Name-0.0.3.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.3.tar.gz 12:58
lizmat handling the subtle difference between: 13:14
foo => { ... }
and:
"foo" => { ... }
the former being a named parameter, and the latter being a Pair positional 13:15
jnthn Only in argument lists, but yes :)
moritz masak: speaking of fast-and-loose thinking, there's a nice way to solve differential equations 13:53
say, dy/dx = x 13:54
as somebody who studied physics, I'm allowed to tear apart the differentials
and have dy = x dx
and then I slap an integral sign on both sides, and I'm good
timotimo i remember that
moritz mathemticians have... qualms with that method 13:55
masak moritz: there's half a dozen of "rules of thumb" like that, where doing the obvious thing with differentials actually works and has good rationales behind it 13:56
moritz: I think the reason there's even hesitation around that (and the reason you mention qualms) is that infinitesimals were at one point shown not to be rigorous in some ways
but -- and I'm not able to back this up with proof -- they are often rigorous enough for the rules of thumb to work 13:57
moritz masak: a prof I asked about this said there that you needed to proof certain properties of the solution function first to separate the differentials 13:59
moritz needs to be continuous, or something like that 13:59
geekosaur don't learn your math from physics. mathematicians faint when they see renormalization >.>
moritz "and in physics, it always works" was the next sentence
masak :)
I'm studying complex analysis in my off hours again. it's so beautiful.
masak it's beautiful enough that you can do analysis on the complex numbers. but the results in it are beautiful, too. 14:00
moritz always liked en.wikipedia.org/wiki/Cauchy%27s_i...al_formula 14:02
masak ah, yes. "all the vitamins and minerals are in the peel of the orange." :P 14:03
huf ! :D
moritz and even in an infinitely small peel! 14:04
masak those are the best peels
masak .oO( some of my best peels are infinitely thin ) 14:05
harmaahylje moritz: are you here? 14:43
moritz harmaahylje: on and off
harmaahylje can I pm you 14:44
moritz if it's something personal, sure 14:45
Perl 6 stuff is better discussed here
harmaahylje it is about logs irclog.perlgeek.de, but it seems that the link in topic (colabti.org) might have what I need 14:46
Geth ecosystem: 64ab0b3924 | (Shoichi Kaji)++ | META.list
remove skaji/perl6-CPAN-Uploader-Tiny; it's now on CPAN
15:03
buggable New CPAN upload: IO-Path-Dirstack-0.1.0.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...1.0.tar.gz 15:08
New CPAN upload: CPAN-Uploader-Tiny-0.0.3.tar.gz by SKAJI cpan.metacpan.org/authors/id/S/SK/...0.3.tar.gz
Geth doc: ba8ed096d7 | (Will Coleda)++ (committed using GitHub Web editor) | doc/Language/traps.pod6
fix typo
16:36
synopsebot Link: doc.perl6.org/language/traps
[Coke] I wonder if there's a way for git log to show me that I committed it using the web editor 16:42
Geth ecosystem: c6a1b286fc | (Shoichi Kaji)++ | META.list
remove skaji/mi6; it's now on CPAN
16:45
buggable New CPAN upload: Acme-Test-Module-1.0.4.tar.gz by SKAJI cpan.metacpan.org/authors/id/S/SK/...0.4.tar.gz 16:48
New CPAN upload: App-Mi6-0.1.0.tar.gz by SKAJI cpan.metacpan.org/authors/id/S/SK/...1.0.tar.gz
New CPAN upload: App-Mi6-0.1.1.tar.gz by SKAJI cpan.metacpan.org/authors/id/S/SK/...1.1.tar.gz 16:58
Geth ecosystem: e1748cdd73 | (Shoichi Kaji)++ | META.list
remove skaji/perl6-HTTP-Tinyish; it's now on CPAN
18:17
buggable New CPAN upload: HTTP-Tinyish-0.1.0.tar.gz by SKAJI cpan.metacpan.org/authors/id/S/SK/...1.0.tar.gz 18:28
New CPAN upload: App-Mi6-0.1.2.tar.gz by SKAJI cpan.metacpan.org/authors/id/S/SK/...1.2.tar.gz
Geth doc: 661b0b9480 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Type/DateTime.pod6
show example output from DateTime.nolw
19:30
synopsebot Link: doc.perl6.org/type/DateTime
novalinium I'm trying to use slurp on a captured output pipe from run, and I'm getting "Invocant of method 'slurp' must be an object instance of type 'IO::Handle', not a type object of type 'IO::Pipe'." I thought that IO::Pipe inherits from IO::Handle? 19:34
Geth doc: 64cbf77584 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Type/DateTime.pod6
show more examples
timotimo novalinium: it probably does, but you've got a type object there, not an instance 19:35
novalinium Can you point me at documentation for the difference? Minimal example of my syntax at ix.io/DON 19:37
timotimo well, you're trying to call slurp on an undefined object 19:38
m: my IO::Handle $handle; say $handle.slurp
camelia IO::Handle is disallowed in restricted setting
in sub restricted at src/RESTRICTED.setting line 1
in method FALLBACK at src/RESTRICTED.setting line 31
in block <unit> at <tmp> line 1
timotimo oh, well, camelia doesn't allow IO::Handle at all 19:39
novalinium Ah, that helped! Dropped a variable in a refactor, tyty! 19:39
timotimo that code works on my end, too 19:40
timotimo OK 19:40
novalinium Sorry for the time sink 19:41
timotimo no problem 19:44
AlexDaniel e: my IO::Handle $handle; say $handle.slurp 21:31
evalable6 (exit code 1) Invocant of method 'slurp' must be an object instance of type 'IO::Handle', not a type object of type 'IO::Handle'. Did you forget a '.new'?
in block <unit> at /tmp/gAxi5PhZlL line 1
AlexDaniel timotimo: evalable6 does :)
timotimo right 21:34
pmurias if I'm borrowing/adapting code from an open source library for nqp.js how should I do it copywrite wise? 21:36
moritz stackoverflow.com/questions/481458...-in-mixins I seem to recall that this (using a parameterized role inside a parameterized role) simply isn't supported 21:37
am I right? does anybody got a reference?
pmurias license of the stuff I'm basing my implementation on: github.com/ashtuchkin/iconv-lite/b...er/LICENSE
lizmat pmurias: make sure that the copyright message is included in the copyright message of NQP-js 21:39
possibly referring to which parts 21:40
the MIT license is really free
pmurias lizmat: by copyright message you mean the LICENSE file? 21:46
lizmat yep
subject to the following conditions: The above copyright notice and this permission notice shall be 21:47
included in all copies or substantial portions of the Software.
lizmat and another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2018/01/08/...m-nearing/ 21:51
Juerd \o/
I won't be going to fosdem this year 21:52
To those who are: have fun :)
moritz lizmat++ 21:54
AlexDaniel reportable6: list 22:15
reportable6 AlexDaniel, gist.github.com/ec12f13c951d88e2dd...f9760e67bf
AlexDaniel reportable6: 2018-01-01T00:00:00Z 2018-01-08T00:00:00Z
reportable6 AlexDaniel, OK, working on it! This may take up to 40 seconds
AlexDaniel, gist.github.com/b21cf622ff66fe897d...32ff375f18 22:16
lizmat AlexDaniel: will do the number of tickets info again next week
AlexDaniel lizmat: well, hopefully most readers will know about this page eventually github.com/rakudo/rakudo/wiki/Ticket-updates 22:18
lizmat yup, I linked to it several times already, I think. Well at least once :-)
AlexDaniel u: ⏳⌛ 22:58
unicodable6 AlexDaniel, U+23F3 HOURGLASS WITH FLOWING SAND [So] (⏳)
AlexDaniel, U+231B HOURGLASS [So] (⌛)
Zoffix lizmat++ good weekly 23:10
ennio good evening perl6! 23:11
Zoffix lizmat: some errata, if you wish to make corrections: "which also include a check on definedness" I don't think I added that; I made Int:D(...) coercers parse as coercers (they used to parse as just smileys). 23:12
AlexDaniel c: HEAD gist.githubusercontent.com/COMBORI...tfile1.txt
committable6 AlexDaniel, Successfully fetched the code from the provided URL.
AlexDaniel, ¦HEAD(14c2cdb): «04===SORRY!04=== Error while compiling /tmp/zIpxP4dFOD␤Variable '$raw' is not declared␤at /tmp/zIpxP4dFOD:14␤------> 03sub seconds ( 08⏏04$raw )␤ «exit code = 1»»
Zoffix lizmat: and Jeremy Studer made negated chained operators work correctly. They used to give different results. The perf was actually lost and will need to be remade again
ennio quick info: I just published a perl6 language extension for visual studio code 23:13
marketplace.visualstudio.com/items....perl6-lsp
Zoffix Well, the coercers have a check on definedness sometimes, but it's kinda broken 'cause the code used just uses the general knob for definedness 23:14
m: -> Int:D(Any:U) { }(Any)
camelia Parameter '<anon>' of routine '<anon>' must be an object instance of type 'Any:U', not a type object of type 'Any'. Did you forget a '.new'?
in block <unit> at <tmp> line 1
Zoffix ennio++ sweet
Zoffix god that stackoverflow developer survey is long AF 23:23
This one; if you want to list you want to see Perl 6 in the list next year: stackoverflow.az1.qualtrics.com/jf...erflow.com
Zoffix That was ridiculous. Just clicked random things for 2nd 3rd of the survey. I imagine I'm not the only one and their data is biased. 23:27
gfldex that's why it is called a "survey" 23:28
Zoffix Travis chimed in on our rakudo linux failures; tho so far only asked if we're still experiencing them: twitter.com/travisci/status/950463103464067073 23:29
AlexDaniel lol it asks if I'm skipping meals to be productive 23:34
yet the survey is so freaking long and boring
jnthn Goodness, what a long survey 23:40
timotimo it is 23:50