»ö« 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.
00:01 cdg left
AlexDaniel gfldex: while you probably have your own TODO list, maybe you can take a look at github.com/perl6/doc/issues/38 ? 00:02
gfldex: it is the oldest issue right now, but it does not look very hard
but it is very confusing… 00:03
gfldex: to me it seems like you can add “This is not a real operator” sentence to docs.perl6.org/routine/$LESS-THAN_...ix_%3C_%3E and we can close the issue 00:04
by the way, I am going through older tickets again. Please don't mind my annoying comments 00:08
00:08 yqt left 00:12 zacts joined 00:13 addison left
dalek c: 38036e1 | (Wenzel P. P. Peppmeyer)++ | doc/Language/quoting.pod6:
untangle index entry for < >
00:16
00:19 rindolf left
gfldex m: say &circumfix:«< >»; 00:19
camelia rakudo-moar c9dcc9: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤ circumfix:«< >» used at line 1. Did you mean 'circumfix:<{ }>', 'circumfix:<:{ }>', 'circumfix:<[ ]>'?␤␤»
gfldex m: say &circumfix:«( )»; 00:22
camelia rakudo-moar c9dcc9: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤ circumfix:<( )> used at line 1. Did you mean 'circumfix:<{ }>', 'circumfix:<:{ }>', 'circumfix:<[ ]>'?␤␤»
gfldex m: say &circumfix:<( )>;
camelia rakudo-moar c9dcc9: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤ circumfix:<( )> used at line 1. Did you mean 'circumfix:<{ }>', 'circumfix:<:{ }>', 'circumfix:<[ ]>'?␤␤»
gfldex ENOSUCHOPERATOR 00:23
00:24 adu left, [particle] joined
dalek c: 22ddf6d | (Wenzel P. P. Peppmeyer)++ | doc/Language/operators.pod6:
( ), < >, { } are terms (at least they are not circumfixes)
00:26
c: b3dc4f2 | (Wenzel P. P. Peppmeyer)++ | doc/Language/operators.pod6:
add index entry for the empty list
00:28
00:29 addison joined
dalek c: 58b051d | (Wenzel P. P. Peppmeyer)++ | doc/Language/quoting.pod6:
fix index typo
00:30
00:31 jack_rabbit left 00:55 raiph left
dalek c: 2eb85f3 | (Wenzel P. P. Peppmeyer)++ | doc/Language/operators.pod6:
untangle index entry for .( ), .{ }, .[ ]
01:01
01:21 dj_goku joined, dj_goku left, dj_goku joined 01:26 dj_goku left 01:43 kid51 joined, Actualeyes joined 01:44 kaare_ left 01:46 ilbot3 left 01:47 ilbot3 joined 01:55 kalkin- left, kalkin-_ joined 01:59 addison left 02:14 committable joined, committable left
dalek c: dcab8da | (Wenzel P. P. Peppmeyer)++ | html/js/main.js:
remove #__debug__ and add [Debug: off] to footer
02:23
c: 461a54c | (Wenzel P. P. Peppmeyer)++ | html/js/main.js:
add embedded svg link check
02:41 zacts left 02:44 holyghost left 02:45 noganex joined 02:48 noganex_ left 02:54 BenGoldberg_ joined 02:57 holyghost joined, kid51 left 03:03 perlawhirl joined
dalek sectbot: 20c5d19 | MasterDuke17++ | committable.pl:
Group commits by output (#10)
03:06
sectbot: a1fd6fc | MasterDuke17++ | committable.pl:
Fix debugging value left in accidentally
03:09
03:22 dj_goku joined, dj_goku left, dj_goku joined 03:27 dj_goku left 03:49 zacts joined 03:57 dj_goku joined, dj_goku left, dj_goku joined 03:59 skids left
dalek sectbot: 841ee41 | (Aleks-Daniel Jakimenko-Aleksejev)++ | Perl6IRCBotable.pm:
Use nickname as a description for gists
04:01
sectbot: c6b2106 | (Aleks-Daniel Jakimenko-Aleksejev)++ | Perl6IRCBotable.pm:
Indentation
sectbot: 7c22ea4 | (Aleks-Daniel Jakimenko-Aleksejev)++ | Perl6IRCBotable.pm:
Comments, refactoring

Nothing important really, just code mangling
sectbot: c763c0c | (Aleks-Daniel Jakimenko-Aleksejev)++ | / (2 files):
bisectable: more magic and rainbows

  * More detailed bisect log (show exit codes, script output, etc.)
  * If the output is identical, then show it. Gist it if it does not fit.
04:06 zacts left 04:18 BenGoldberg_ left, dj_goku left 04:19 dj_goku joined, dj_goku left, dj_goku joined 04:30 rgrinberg left
dalek sectbot: 111cebb | MasterDuke17++ | committable.pl:
Switch order of revision(s) and output
04:30
osystem: 41b277b | (Sam Morrison)++ | META.list:
Add Uzu to ecosystem
04:35
osystem: 896d3f1 | azawawi++ | META.list:
Merge pull request #226 from scmorrison/master

Add Uzu to ecosystem
04:37 Cabanossi left
dalek sectbot: 48693da | MasterDuke17++ | committable.pl:
Sort output

The ordering doesn't have any meaning, but multiple runs with the same input will now have the output in the same order
04:41
04:41 Cabanossi joined 04:42 rgrinberg joined 04:45 khw left
holyghost Hello 04:46
04:47 sno left
holyghost is going to learn swift 04:48
I looks as swift uses syntax of haskel where perl uses CLOS
s/per/perl6/
I might be wrong though 04:49
dalek sectbot: 40fb215 | (Daniel Green)++ | / (3 files):
Clean up alt_nicks
05:00
holyghost and the other way round as far as I can see 05:07
geekosaur I'd say ML instead of Haskell, since it's the generic parts that all the ML family languages have 05:09
05:14 rgrinberg left
holyghost geekosour, ML ? 05:23
geekosaur, Markup Languages ?
parabolize en.wikipedia.org/wiki/ML_(programming_language)
geekosaur that, yes 05:24
holyghost ok I understand now
geekosaur although the language family itself is larger and includes Haskell, Curry, Mercury, F#, etc.
holyghost and gofer 05:25
geekosaur and historical pre-Haskell languages Gofer and Miranda
holyghost a functional language
we had to learn about gofer as a functional language at school
geekosaur and Lazy ML although about the only thing it was used for was to write the first version of ghc >.>
holyghost I read the gofer source code once, it's quite ellegant 05:26
where lua is just based on C's var args, gofer has its own system 05:27
It also compiles everywhere
I think I have a tarball around somehwere with my gofer modifications, I could' have lost it though
ML is of the 70ies ... then it is older than haskel (Ediburgh?) 05:28
s/Ediburgh/Edinburgh/ 05:29
ok now I remember, you actually use lambda calculus for functionality
geekosaur yes. ML predates Haskell. I mentioned Lazy ML (essentially a basic ML with laziness) as a precursor already 05:31
holyghost I see 05:32
geekosaur the folks experimenting with laziness and purity were starting to fragment around LML, Gofer, Miranda, etc. and decided to make a common language
holyghost it's some sort of inference engine's rule firing then 05:33
TEttinger and then they couldn't decide on whether it would be Miranda 5 or Miranda 6 so they called it Haskell
geekosaur well, only sort of, since Miranda was closed spec as well as closed source 05:34
TEttinger wow
closed spec, that's a hell of a relic
holyghost Haskel <-> 1985
AFAIK it's haskel vs. scheme at first year in uni 05:35
geekosaur basically it was Research Software Ltd.'s baby, which was part of why they wanted to define a new language with an open spec and open process
holyghost scheme is of 1986
TEttinger hm, are there any major closed-source PLs these days?
parabolize why didn't ML take off? the wiki page shows guards, lets, tail recursion all sorts of good stuff. Did ML have that stuff in the 70s?
TEttinger yep
like lisp, ahead of its time
but a bit nicer syntax for people not used to it, I'd say 05:36
05:36 dj_goku left
TEttinger also like plankalkul, which was just about literally ahead of its time 05:36
masak or maybe everyone else was/is way behind
:) 05:37
hi, #perl6
geekosaur TEttinger, I'd argue Verilog (VHDL is a rather weak open clone) and Matlab (Octave likewise)
TEttinger (around the time of the enigma machine, a professor in (nazi and not nazi) germany made what's very similar to APL with no implementation until 1990s)
holyghost plankakul is probably what the mainframes in the armies of WWII used
TEttinger nope
masak they did not 05:38
TEttinger no implementation at his time
they were still writing in machine code by flipping individual gates
holyghost I could be wrong though, an army man told me they had an assembler in WWII
masak Plankalkül was quite pioneering when it came to abstract data types
dalek sectbot: 4b7b3b4 | (Aleks-Daniel Jakimenko-Aleksejev)++ | committable.pl:
committable: LIMIT constant, limit bumped to 300

Note that it does not run anything in parallel, so it is a bit slow.
sectbot: 32cdbc8 | (Aleks-Daniel Jakimenko-Aleksejev)++ | committable.pl:
committable: much better output

Also, keep results in the same order
masak there's a nice paper about it by Knuth and some others
TEttinger it's shocking that the guy was able to see so far ahead and without any way to prove that his notation was useful 05:39
konrad zuse
holyghost I see
TEttinger it was long before ASCII was a thing :) 05:40
holyghost Ada then ?
TEttinger it used "real math" symbols, cough like a certain other language can, cough :)
(plankalkul)
holyghost I meant the lady "*Ada*"
TEttinger oh yes 05:41
holyghost It's somewhat of a saga :-)
TEttinger Countess Ada of Lovelace
holyghost she programmed machine code I though
s/though/thought/
masak holyghost: from what I've seen, Ada Lovelace didn't so much use a programming language, as describe algorithms in words and math operations
TEttinger I think her machine was analog, not electronic at all of course
holyghost sure
TEttinger yeah, founded programming I suppose 05:42
though you can argue it goes back much further
masak arguably
holyghost machine code in the sense that she used numbers (ALU)
masak algorithms go back to Al'Kwarismi at least ;)
TEttinger before or after al-jabr? 05:43
"that algebra guy"
holyghost Arabians also invented the cypher '0'
ASCII is based on it in 8x8 rows
TEttinger and you can look at an algorithm as a recipe and suddenly everyone has invented recipes
right, ciphers are definitely a sort of algorithm 05:44
was it da vinci who had lots of ciphered journals?
holyghost Later on the school of Athens did "number theory"
TEttinger (I suppose lots of people back then were concerned about theft of their ideas) 05:45
geekosaur note that she also "wrote programs for" a machine that did not exist. (iirc when someone finally did build a difference engine, they tried her programs... and found *one* bug.)
TEttinger nice.
was that babbage's engine?
geekosaur yes
TEttinger (I guess named after the person who constructed one, or after the person who devised the plans?)
05:46 AlexDaniel left
holyghost that's mentioned in the dictionary 05:46
babbage's engine
geekosaur it was ... well beyond the technology of the time. and by the time the tech had caught up, people were doing things in other ways, so an actual difference engine was only built within the past decade
TEttinger oh wow
parabolize Lovelace's first program: upload.wikimedia.org/wikipedia/com...umbers.jpg
TEttinger I wonder what kind of bug it was
MasterDuke wasn't the difference engine built longer ago? but the analytic engine was only built recently? 05:47
geekosaur Charles Babbage built some simpler "computing engines", but only planned out the difference engine; metalworking was not up to actually building it
TEttinger looms were also programmable in the 1800s, with common implementations and actual standards... kinda amazing 05:49
05:49 jack_rabbit joined
holyghost TEttinger, what's a loom ? 05:49
TEttinger (they still needed orphans to risk getting their arms chopped off for them to function, but I guess not much has changed, cough shenzhen) 05:50
holyghost: weaves fabric in automated patterns
holyghost right as a carpet
TEttinger like for mass-manufacturing rugs
yeah
05:50 AlexDaniel joined
TEttinger they needed to be able to reproduce some rather complex motions and used an early punch card system 05:51
geekosaur yeh, the original Jacquard loom is still considered one of the earliest programmable machines
holyghost I cannot find the link tp babbage engine in the dictionary anymore, must be an older version (I cannot parse every TNHD tarball ;-) 05:52
TEttinger en.wikipedia.org/wiki/Joseph_Marie...quard_loom
holyghost node scripture ? 05:53
I mean, there's this writing where you use knots in a piece of rope 05:54
(It's not in freeciv though :-)
TEttinger quipu, yeah
en.wikipedia.org/wiki/Quipu "talking knots"
05:55 canopus left
dalek sectbot: 5671d64 | (Aleks-Daniel Jakimenko-Aleksejev)++ | committable.pl:
committable: no need to chdir here

It would be great to get rid of all “chdir”-s, but unfortunately it is not always possible. However, this one is not the case.
05:55
sectbot: b04f37b | (Aleks-Daniel Jakimenko-Aleksejev)++ | committable.pl:
Missed one occurrence of LIMIT
holyghost flood, 'do not mingle in the affairs of bots' I guess :-) 05:57
s/mingle/meddle
06:00 jack_rabbit left
holyghost I am downloading 'star trek - voyager', I am going to watch some so I am a bit away from the computer 06:02
06:02 canopus joined
holyghost all seasons 06:02
Also, I am going to buy some beer in an hour 06:06
My oldest daughter becomes 15 of age
tomorrow
dalek sectbot: 5d7fd25 | (Aleks-Daniel Jakimenko-Aleksejev)++ | committable.pl:
committable: handle uncompilable commits properly

Also print warnings in exactly the same manner as other output.
06:11
holyghost I bought her an mp3 player with a good interface, 4Gb of space and 4 albums on it
06:11 bisectable joined 06:12 committable joined
holyghost She has a Vaio portable where she can put her music on it 06:12
06:13 sno joined 06:20 wamba joined 06:22 espadrine joined
AlexDaniel if anybody is wondering what all these bisectbot changes are about, see my explanation on #perl6-dev here: irclog.perlgeek.de/perl6-dev/2016-0...i_12844444 06:23
06:23 ChoHag left, Khisanth left
holyghost personal.ee.surrey.ac.uk/Personal/L...gon/jargon 06:24
Search for Babbage on that page
I though I'd share
s/though/thought
and www.catb.org/~esr/jargon/html/E/engine.html 06:25
06:28 firstdayonthejob joined 06:35 abraxxa joined 06:37 Khisanth joined 06:39 jack_rabbit joined 06:42 CIAvash joined 06:45 firstdayonthejob left 06:51 Dragon535 joined
holyghost apparently a truck drove in on a crowd in Nice, France 06:56
DrForr Heard earlier this morning. :(
06:59 RabidGravy joined
holyghost We're at 2 happenings such a month in Europe 07:03
07:16 TreyHarr1 joined
dalek osystem/MARTIMM-patch-1: 0d68a2c | (Marcel Timmerman)++ | META.list:
new module Semaphore::ReadersWriters
07:18
CIAvash holyghost: Khwarizmi was Persian/Iranian 07:21
holyghost ok
en.wikipedia.org/wiki/Main_Page 07:23
excuse me, en.wikipedia.org/wiki/Muhammad_ibn...-Khwarizmi
I once read a book on Islamic philosphy, Abu Sienna <-> Avicenna 07:24
Ibm means droid AFAIK
s/Ibm/Ibn/ 07:25
c. 780-850, after the installation of muslims by Aristoteles 07:26
Aristoteles was one of their prime figures for philosphy, I am not sure
Avicenna was the name in Latin of Abu Sienna, he was the greatest ph. of them all the book said 07:27
However there were other ph. who didn't speak freely because of the islam
07:27 domidumont joined
holyghost "Islamititsche Filosofie" - author Leezenberg 07:28
I am driking to my daughter's best wishes for her birthday, so I might fluctuate somewhat 07:29
15 years old
Please take your time
07:30 AndyBotwin left
holyghost I also read Arabian nights for 600 pages, which good in magic (the game) but not too good when you see some strains through the book 07:31
The only publisher we have in Dutch is "Bulaaq" for translations 07:32
07:32 dj_goku joined
holyghost Finding the book in English would be difficult 07:32
Then, I had a course on standard modern arabic which I gave to my father who is more into religion -> philosophy
07:33 AlexDaniel left
holyghost I even studied japanese for a month, I know some hiragana, katakana and kanji by heart 07:33
I try to read up on these things on wikipedia
I have 2 japanese to english dictionaries, where one is from Oxford the other's bigger 07:34
It's 4 years ago
07:34 TreyHarr1 left
holyghost I really need to relearn the hiragana, vocabulary and grammar 07:34
07:35 domidumont left
holyghost If you know that, you can read most Japanese websites 07:35
07:35 araujo_ joined
holyghost here's what I mean : en.wikipedia.org/wiki/Hiragana 07:36
The characters are thereon
07:37 dj_goku left
holyghost You just look up the word by english pronounciation e.g. fugu (fu and gu) and you have the english translation 07:44
07:44 holyghost left 07:45 holyghost joined 07:47 Dragon535 left 07:52 salva joined 08:07 perlawhirl left 08:08 domidumont joined
xiaomiao hey - if anyone has a minute or two to spare and wants to entertain me, I'd be interested in a simple perl6 program that just fetches one URL in a loop (say, 100 times) and prints the reply 08:08
08:09 domidumont left
masak "prints the reply" -- the reply being the body of the response? 08:09
08:10 domidumont joined 08:11 darutoko joined 08:16 holyghost left 08:27 TreyHarr1 joined 08:30 zakharyas joined 08:31 user9 joined 08:38 domidumont left 08:43 espadrine left 08:48 wamba left
moritz xiaomiao: add a loop around the example in github.com/sergot/http-useragent#usage 08:52
xiaomiao moritz: ah, good idea 08:53
08:54 wamba joined 08:55 holyghost joined
xiaomiao now let's see if perl6 is faster than Go <_< 08:56
timotimo haha, no. 08:57
TEttinger but is it faster than INTERCAL? 09:02
09:02 araujo_ left
gfldex Perl 6 is mean to make the programmer faster, not the computer. 09:03
timotimo well, we're hoping the speed penalty is going to go down even more with time
hahainternet Go's a fairly unique language anyway 09:22
its niche is limited in a computer science sense, but very large volume of actual use
profan TEttinger: only if you say please enough 09:23
masak and not too much 09:24
09:26 brrt joined 09:33 dj_goku joined 09:34 Zoffix joined
DrForr Much as Perl 5 was. 09:34
09:36 abraxxa left
konobi go is also dangerous 09:36
Zoffix .ask ugexe should the "New repository version 2 and new Distribution interface" be added to Rakudo's ChangeLog or is that entirely an internal change? If it should be added, would you let me know what to write into ChangeLog? github.com/rakudo/rakudo/commit/f4...6f7cd99e66
yoleaux Zoffix: I'll pass your message to ugexe.
konobi dtrace.org/blogs/wesolows/2014/12/2...-is-trash/ 09:37
DrForr Hey, I play quite a bit... Oh, the language :)
hahainternet it's actually fine as a language, it's extremely enjoyable and very pragmatic 09:38
but people hate the people behind it, and the fact it's so simple
it's certainly not a language to end all language development, but in its niche it is superb
09:38 dj_goku left
konobi and there was a recent fairly high profile article on how golang totally broke a running system because the authors make way way way too much assumption about what is "safe" 09:38
masak it seems more enjoyable than C :)
profan that tends to come with the memory safety 09:39
hahainternet konobi: could you link me to that article please?
profan: threading and syncing too, also nice things like unicode strings
konobi masak: i'm playing with terralang for the same sort of stuff
hahainternet terra's very cool but a very very different language
it targets the lowest level features it can, Go is much higher level
Lua is a closer comparison to Go than Terra imho
profan hahainternet: i think they slipped abit on the threading bit
konobi github.com/golang/go/issues/1435
09:40 kurahaupo joined
profan i mean cps is nice, but go still has the shared memory history bit too 09:40
hahainternet profan: 'shared memory history'? 09:41
konobi you can do cps in perl though
hahainternet profan: do you mean the ability to share memory without intending to?
profan hahainternet: i mean, you still have race conditions and all that fun even with the channels
hahainternet oh absolutely you ca
it in no way is fully safe in almost any regard, i see it as a valuable companion to Perl
making a language that embodies all of these safety principles results in so many compromises in other areas you lose the simplicity that makes things enjoyable 09:43
i think that's one of the greatest achievements of Perl 6 to me 09:44
it has a simple appearance, and can be used in a simple way, but that simplicity is obtained by extremely thorough design, rather than naivete (sp)
09:48 CIAvash left 09:53 rindolf joined 10:10 abraxxa joined
konobi i wonder if you could create an nqp runtime using the language/token/lexer features in terralang 10:11
10:11 labster left 10:13 pmurias joined
pmurias konobi: in order to run Perl 6 on it? 10:13
konobi pmurias: yeah
10:15 Actualeyes left
konobi pmurias: how's the JS backend working? 10:15
pmurias konobi: it compiles rakudo to JavaScript and a few % of the setting. I'm working on making nqp-js emit faster code as the rakudo compiled to js is too slow and compiling the setting would take ages 10:17
konobi pmurias: (terralang.org/api.html#the-language...lexer-api)
pmurias: habe you looked at using node-inspector to do the JS profiling?
it covers not just timing info, but you can use heap snapshotting too... and it'll take you down to the line of code that individual objects were defined at (using diffs to narrow it down) 10:18
pmurias konobi: I have used devtool to profile things but it has problems with native extensions 10:19
konobi pmurias: node-agent-devtools? 10:20
pmurias konobi: just the devtool package from npm 10:21
konobi ah... you probably want node-inspector... it's the only one being actively developed now, since it's part of one of IBMs offerings 10:22
10:24 TEttinger left
pmurias konobi: I'll check that out 10:25
konobi pmurias: oh! and built in flamegraph support
github.com/node-inspector/node-inspector 10:27
pmurias devtool seems to have the same profiling as chrome does but it runs inside of electron so it doesn't like native extensions 10:28
konobi this uses the remote debugging protocol within V8, so native addons won't affect anything 10:30
10:32 Actualeyes joined 10:33 perlawhirl joined, perlawhirl left, perlawhirl joined
timotimo blogs.dropbox.com/tech/2016/07/lep...-at-15mbs/ - kinda cool, but not interesting for us, probably 10:34
konobi i'd have thought lz4 with shared dictionaries would have been better there 10:36
10:37 kaare_ joined
gfldex timotimo: that means, if you upload jpegs to dropbox, make sure you have the legal right to change them. If you don't you better encrypt them. 10:37
timotimo go ahead and try it? :) 10:38
gfldex: did you see it's actually lossless?
gfldex timotimo: lossless, after decoding. If you compare the files, they are diffrent. There are plenty of agreements between companies that make that illegal. 10:39
timotimo wait, really? 10:40
gfldex if the file get's 20% smaller, they must differ
timotimo no. 10:41
if you zip a text file, it "gets smaller", but when you unzip it again, it's the same content again
gfldex as I understood the article they reencode the jpegs
timotimo no, they do not 10:42
gfldex sorry, i'm misstaken then
timotimo "Lepton achieves a 22% savings reduction for existing JPEG images, by predicting coefficients in JPEG blocks and feeding those predictions as context into an arithmetic coder. Lepton preserves the original file bit-for-bit perfectly."
that's all you need to know
also this paragraph makes clear you don't get the lepton'd file, you get the original file 10:43
"Lepton can decompress significantly faster than line-speed for typical consumer and business connections. Lepton is a fully streamable format, meaning the decompression can be applied to any file as that file is being transferred over the network. Hence, streaming overlaps the computational work of the decompression with the file transfer itself, hiding latency from the user."
gfldex github.com/dropbox/lepton actually makes it clear with a lot less words :) 10:44
10:44 perlawhirl left
timotimo *shrug* 10:45
anyway, now we all know what's what. and that's good 10:46
10:49 yqt joined 10:56 holyghost left 10:59 TreyHarr1 left 11:00 holyghost joined 11:02 TreyHarr1 joined 11:12 hmmm joined 11:17 adu joined 11:25 pmurias left 11:32 kid51 joined, pmurias joined 11:34 dj_goku joined 11:37 brrt left 11:38 itaipu joined 11:39 dj_goku left
sammers hi from Japan 11:43
rjbs o/ 11:44
11:45 grondilu joined
moritz \o 11:46
11:49 itaipu left 11:50 TreyHarr1 left 11:52 TreyHarr1 joined 12:02 yqt left
timotimo o/ 12:05
12:06 TreyHarr1 left 12:07 holyghost left 12:18 M-Illandan left, M-matthew left, tadzik left 12:21 holyghost joined 12:22 abraxxa left 12:23 pmurias left 12:25 pmurias joined
pmurias konobi: re running on top of terra if you want to port Perl 6 to some VM, what you likely want to do is not to implement nqp the language on it but add QAST (which is Perl6/nqp already parsed into a tree) backend 12:26
12:26 TreyHarr1 joined 12:29 Actualeyes left 12:31 domidumont joined 12:32 Actualeyes joined 12:34 RabidGravy left 12:39 TreyHarr1 left, dvinciguerra_ joined 12:42 TreyHarr1 joined 12:45 Sgeo left 12:49 RabidGravy joined 12:50 melezhik joined
melezhik hi Perl6 gurus! Does anybody know how to comment a _whole block_ of perl6 code, not commenting by `#' every single line? 12:51
psch melezhik: we have #`[ ] as block comment form 12:52
melezhik: note that the amount of brackets is up to you, as long as it's matching
moritz also pod
=begin comment
...
=end comment
12:52 zakharyas left
DrForr #`( ... ) 12:52
melezhik thanks, sounds good
12:52 TreyHarr1 left
melezhik I anticipated that perl6 has the same way with pod comments (: 12:53
psch oh, right, #` doesn't care which type of parenthesis you use
m: say #`<< nothing >> "something"
camelia rakudo-moar 51a611: OUTPUT«something␤»
gfldex also ^VI#^[ :-P
12:53 rgrinberg joined
psch m: say #^[ bar ] "foo" # uhh? 12:55
camelia rakudo-moar 51a611: OUTPUT«5===SORRY!5===␤Argument to "say" seems to be malformed␤at <tmp>:1␤------> 3say7⏏5 #^[ bar ] "foo" # uhh?␤Other potential difficulties:␤ Unsupported use of bare "say"; in Perl 6 please use .say if you meant $_, or use an explicit invo…»
12:55 tadzik joined 12:56 MasterDuke left
moritz #^... is a whole-line comment 12:56
so it complains about bare say
m: say
camelia rakudo-moar 51a611: OUTPUT«5===SORRY!5===␤Argument to "say" seems to be malformed␤at <tmp>:1␤------> 3say7⏏5<EOL>␤Other potential difficulties:␤ Unsupported use of bare "say"; in Perl 6 please use .say if you meant $_, or use an explicit invocant or argument, …»
psch yeah, which just means that the ^ does nothing, doesn't it
moritz right
timotimo m: say #`/ test / "yo"
camelia rakudo-moar 51a611: OUTPUT«5===SORRY!5===␤Argument to "say" seems to be malformed␤at <tmp>:1␤------> 3say7⏏5 #`/ test / "yo"␤Other potential difficulties:␤ Unsupported use of bare "say"; in Perl 6 please use .say if you meant $_, or use an explicit invocant or…»
Frameless timotimo: curious, is hack.p6c.org/~timo/coverage/ being updated on regular intervals? 13:00
And related question: how can I run that stuff locally?
melezhik: it's worth noting most editors support keyboard shortcuts to comment out selected text. Like CTRL+D 13:01
timotimo it is not
the process is a bit involved
13:02 hmmm left
timotimo so, you start by having the "line_based_coverage_3" (or some number) branch of moarvm checked out and built 13:02
Frameless Alright. I may be interested in increasing coverage in about a month
timotimo that'll give you access to a new environment variable
i think it's MVM_COVERAGE_LOG or something
set it to a filename that includes a %d somewhere for the PID
and then run the test suite. multi-thread is allowed because of the PID thing 13:03
Frameless Sounds simple enough :) Thanks.
timotimo it's not all yet :) 13:04
Frameless heh
timotimo the crapton of files you end up with would ideally go through sort, uniq, and grep for CORE.setting before you feed it to the tool
the next step is the dumped moarvm file. you get that from moar --dump CORE.setting.moarvm
and all that feeds together into moarvm's tools/parse_coverage_report.p6 13:05
melezhik huh, #`[ ... ] even better then pod :) 13:06
thanks to all for advices!
perlpilot melezhik: serves a different purpose than pod
melezhik yeah, I know
13:06 rgrinberg left 13:07 rgrinberg joined
timotimo what i like about pod is that my editor will highlight pod markup in pod comments :) 13:12
13:12 zakharyas joined
perlpilot is slightly surprised the #`/ ... / comment above didn't complain about the delimiter 13:16
timotimo well, it would have to parse all comments starting immediately with a ` as "failed attempt at block comment"
perlpilot That seems preferable to silently treating everything to end of line as a comment. 13:17
If someone has #` in their code, they were most likely trying to do an embedded comment. 13:18
dalek c: 55332b8 | titsuki++ | doc/Language/terms.pod6:
Fix a typo from "Pi" to "pi"
c: 3a6e347 | (Itsuki Toyota)++ | doc/Language/terms.pod6:
Merge pull request #708 from titsuki/fix-typo

Fix a typo from "Pi" to "pi"
Frameless
.oO( pie... )
13:20
13:21 M-matthew joined, M-Illandan joined 13:23 cognominal joined 13:25 melezhik left
holyghost *smile* those bots are funny sometimes 13:26
s/*smile*/*lol* whatever/ 13:27
13:29 domidumont left 13:30 huggable joined
Frameless huggable: hug holyghost 13:30
huggable hugs holyghost
holyghost *lol* 13:31
I really need to write an IRC bot once 13:33
I don't know what I would put into it but on #perl and #perl6 nobody would mind too much though
huf meh. put an irssi in a screen and script it 13:34
13:34 molaf joined 13:35 dj_goku joined
holyghost right 13:35
13:37 TreyHarr1 joined 13:40 dj_goku left 13:43 skids joined 13:44 sufrostico joined 13:47 Praise- joined, Praise- left, Praise- joined 13:48 TreyHarr1 left 13:49 adu left
dalek -six-help: eb9b799 | coke++ | summary.p6:
track and report on new @LARRY tag
13:52
[Coke] is it intentional that the TOC is colored when shown above the content, but black when to the left? (docs) 13:57
13:57 Praise- is now known as Praise
gfldex [Coke]: it is intentional 13:57
[Coke] what's the purpose? 13:58
gfldex the internet seams to agree that ToC like navigation elements on the left side of the screen do not require blue links 13:59
i tried the same for the ToC on top and it look very out of place
14:01 infina joined
ugexe Zoffix: gist.github.com/ugexe/5de557c23058...3af52a1609 # changeloggy notes on distribution stuff 14:01
yoleaux 09:36Z <Zoffix> ugexe: should the "New repository version 2 and new Distribution interface" be added to Rakudo's ChangeLog or is that entirely an internal change? If it should be added, would you let me know what to write into ChangeLog? github.com/rakudo/rakudo/commit/f4...6f7cd99e66
14:02 infina left, infina joined
[Coke] I'd rather it was consistent, but not enough to make a PR for it, so I guess it's fine. :) 14:02
14:02 cdg joined
Frameless ugexe: thanks 14:04
gfldex [Coke]: if you look at developer.mozilla.org/en-US/docs/W.../undefined you will see that the site is split into two parts. The allways-there-alway-navigation-part and a main body. In the main body clickable elements are marked with blue. Likely because the clickyness is the exception, while in the left part it is not.
14:05 khw joined
[Coke] I think "TOC" overrides "position on screen". links embedded in paragraphs are different than a TOC, sure 14:05
holyghost Now that I thought of it, there's this new VRML thing : Babylon javascript for developing 3D browser apps, thought I'd let you know 14:06
14:06 salva left 14:09 cdg left 14:10 setty1 joined 14:13 zakharyas left 14:15 TreyHarr1 joined 14:16 AlexDaniel joined 14:27 TreyHarr1 left 14:32 ptolemarch joined 14:36 yqt joined 14:41 kid51 left
AlexDaniel sometimes I wonder how much stuff I have 「git stash」-ed in a gazzilion number of repos all over my filesystem… 14:42
14:44 ribasushi joined, kid51 joined
lucs If in Perl 5 I would do 「$foobar = Foo::Bar->new or die "$@"」, in Perl 6, given 「use Inline::Perl5; use Foo::Bar:from<Perl5>; my $foobar = Foo::Bar.new」, how do I get P5's 「$@」? 14:45
14:47 pmurias left
gfldex if Foo::Bar.new returns a Failure it would be in $foobar and you could .Str that. 14:47
14:47 rgrinberg left
geekosaur ideally you got a Failure back from Foo::Bar.new and can extract it. otherwise you'd have to trap the exception it threw 14:48
hoelzro how could Foo::Bar return a Failure if it's from Perl 5 land?
Frameless lucs: FWIW, you don't need explicit use Inline::Perl5
lucs (trying...)
geekosaur $@ for that was considered a hack, but equivalent to the latter (if p5's eval caught an exception, it stuffed it in $@)
lucs Frameless: Oh, just the 「⋯:from<Perl5>」 is enough? 14:49