»ö« 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:09
geraud joined
|
|||
samcv | AlexDaniel, :) | 00:13 | |
00:13
b2gills joined
|
|||
AlexDaniel | samcv: hello? :) | 00:14 | |
samcv | <AlexDaniel> samcv: these are called hands :) | 00:15 | |
AlexDaniel | ah… wow | ||
samcv | i see your neural implants are working | ||
AlexDaniel | ZofBot: do you have any neural implants? What about hands? | 00:16 | |
:| | 00:17 | ||
ok, I won't bring this up again… | |||
samcv | sore topic for zofbot i'm sure | 00:18 | |
00:20
_28_ria left
00:22
_28_ria joined
00:30
_28_ria left
00:32
_28_ria joined
00:38
BenGoldberg joined
00:47
mcmillhj left
00:52
Cabanossi left
00:54
Cabanossi joined
01:10
aindilis joined
01:18
perlawhirl joined
01:22
labster left
01:24
mitchum left,
perlawhirl left,
perlawhirl joined
01:26
perlawhirl left
01:27
perlawhirl joined
01:28
perlawhirl left,
perlawhirl joined
01:32
mitchum joined
01:33
cpage_ left
01:35
cpage_ joined
01:36
Cabanossi left
01:39
Cabanossi joined
01:44
BenGoldberg left
01:45
ilbot3 left
01:48
ilbot3 joined,
ChanServ sets mode: +v ilbot3
02:00
_28_ria left
02:01
_28_ria joined
02:05
AlexDaniel left
02:23
noganex_ joined
02:26
noganex left
02:27
mcmillhj joined
02:32
mcmillhj left
02:34
perlawhirl left,
perlawhirl joined
|
|||
TreyHarris | What _is_ utf8-c8, anyway? I couldn't find a definition of it and the only places it seems to be used (by that exact name anyway) are in Perl 6-related contexts | 02:39 | |
geekosaur | one of several hacks for round-tripping non-utf8 data (e.g. filenames on the filesystem, which are not guaranteed to be utf8 on posix) | 02:40 | |
02:41
BenGoldberg joined
|
|||
TreyHarris | geekosaur: what does the "c8" refer to? | 02:41 | |
[Coke] | 8bit c strings, mebbe | 02:44 | |
geekosaur doesn't recall the origin. probably need jnthn | 02:45 | ||
or try to search the list archives | 02:46 | ||
02:46
mcmillhj joined
|
|||
TreyHarris | geekosaur: tried but that was a rabbit hole, the first reference was after it was already in the code | 02:47 | |
doesn't matter, i was just curious | 02:48 | ||
02:50
mcmillhj left
02:51
geekosaur left
02:53
geekosaur joined
02:54
xtreak joined
02:58
Ben_Goldberg joined,
BenGoldberg left,
Ben_Goldberg is now known as BenGoldberg
03:03
xtreak left
|
|||
TreyHarris | m: HyperWhatever.new.^methods | 03:03 | |
camelia | ( no output ) | ||
03:04
xtreak joined
|
|||
TreyHarris | m: say HyperWhatever.new.^methods | 03:04 | |
camelia | (<anon> <anon> soft <anon> <anon> yada perl <anon> <anon> <anon> onlystar candidates unwrap wrap <anon> multi package leave <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> cando fire_if_phasers add_phaser has-phaser phasers WHY set_why perl of po… | ||
03:08
xtreak left
03:22
xtreak joined
03:36
Cabanossi left
03:38
Cabanossi joined
03:41
BenGoldberg left
03:44
mcmillhj joined
03:47
Zoffix joined
|
|||
Zoffix | m: sub {}.^methods.say | 03:47 | |
camelia | (<anon> <anon> soft <anon> <anon> yada perl <anon> <anon> <anon> onlystar candidates unwrap wrap <anon> multi package leave <anon> <anon> <anon> <anon> <anon> <anon> <anon> <anon> cando fire_if_phasers add_phaser has-phaser phasers WHY set_why perl of po… | ||
Zoffix | It's just this sub it returns: github.com/rakudo/rakudo/blob/c134...ver.pm#L15 | ||
m: say (** + 2)(1..10) | 03:48 | ||
camelia | (3 4 5 6 7 8 9 10 11 12) | ||
03:48
mcmillhj left
|
|||
Zoffix | There's a bit of a glitch where HyperWhatever.new gets interepreted as ** hyper whatever instead of throwing like it was meant to | 03:49 | |
03:52
estrabd left
03:58
khw left
04:07
Cabanossi left,
Zoffix left
04:08
Cabanossi joined
04:14
_28_ria left
04:15
_28_ria joined
|
|||
samcv | TreyHarris, it is utf-8 clean 8 | 04:19 | |
the c8 means clean 8 | |||
because it retains all data and does not discard invalid or improper sequences | |||
04:21
wamba joined
04:22
mcmillhj joined
04:26
_28_ria left,
mcmillhj left
04:27
_28_ria joined
04:29
skids left
04:30
_28_ria left
04:32
_28_ria joined,
_28_ria left,
mcmillhj joined
04:34
_28_ria joined,
_28_ria left
04:35
_28_ria joined
04:36
Cabanossi left
04:38
Cabanossi joined
04:39
_28_ria left
04:46
xtreak left,
xtreak joined
04:54
spebern joined,
BenGoldberg joined
05:04
BenGoldberg left
05:06
Cabanossi left
05:07
ChoHag joined
05:08
Cabanossi joined
05:15
mcmillhj left
|
|||
Geth | ecosystem: d690e3a1da | (David Warring)++ (committed using GitHub Web editor) | META.list Add Native::Packing Structured reading and writing of numeric binary data github.com/p6-pdf/perl6-Native-Packing |
05:17 | |
05:22
mcmillhj joined
05:27
spebern left,
mcmillhj left
05:29
spebern joined
05:31
kent\n left
05:33
mcmillhj joined,
drrho_ left,
spebern left,
kent\n joined
05:39
wamba left,
mcmillhj left
05:45
mcmillhj joined
05:47
domidumont joined
05:48
lowbro joined
05:49
mcmillhj left
05:50
RabidGravy joined
05:51
lowbro left,
lowbro joined
05:52
domidumont left
05:53
domidumont joined
05:56
drrho_ joined,
mcmillhj joined
06:00
mcmillhj left
06:06
grumble left,
Cabanossi left
06:07
grumble joined
06:08
Cabanossi joined
06:21
wamba joined
06:26
curan joined,
imcsk8 left,
domidumont left,
imcsk8 joined
06:28
domidumont joined
06:35
darutoko joined
06:37
abraxxa joined
06:40
imcsk8 left
06:41
imcsk8 joined
06:44
espadrine joined
06:47
ChoHag left
06:50
Cabanossi left
06:52
Cabanossi joined
|
|||
RabidGravy | Is there something in the ecosystem that binds errno/strerror that I am missing? | 06:55 | |
I mean it's not particularly onerous to have to declare it in the code but, y'know, re-use | 06:58 | ||
06:58
ChoHag joined
07:04
espadrine left
07:07
eroux joined,
CIAvash joined
07:10
grondilu joined
07:27
rindolf joined
07:35
Cabanossi left
07:36
parv joined
07:37
imcsk8 left,
imcsk8 joined
07:38
Cabanossi joined
07:39
RabidGravy left
07:41
wamba left
07:46
wamba joined
07:52
Sgeo left
07:53
Sgeo joined
|
|||
u-ou | how do I get a REPL after running a script? | 08:03 | |
masak | you... don't? | 08:05 | |
your idea is to somehow still be in the lexical environment of the script, yes? | |||
u-ou | yeah | ||
there are other languages that let you do it | 08:06 | ||
08:07
wamba left,
wander joined
|
|||
masak | aye | 08:07 | |
not saying it's a bad idea or anything | |||
but I'm not aware that Rakudo allows it | |||
08:07
RabidGravy joined
|
|||
u-ou | ok | 08:07 | |
masak | (or the underlying nqp compiler toolkit) | ||
RabidGravy | Boom! Boom! | 08:10 | |
08:11
setty1 joined
|
|||
masak | .u boom | 08:11 | |
yoleaux | U+101E1 PHAISTOS DISC SIGN BOOMERANG [So] (𐇡) | ||
08:11
wander left
|
|||
u-ou | is there a .WHAT for container type | 08:12 | |
RabidGravy | VAR | 08:13 | |
? | |||
u-ou | why is every answer another question on IRC >:P | 08:14 | |
RabidGravy | *shrug* | 08:15 | |
masak | I dunno, why? :P | 08:16 | |
u-ou: we're a curious bunch, so we ask questions ;) | |||
u-ou | :P | 08:21 | |
jnthn | In a pinch, you can always stick `loop { EVAL prompt "> " }` at the end of the script :P | 08:32 | |
u-ou | :) | 08:34 | |
08:34
tokomer_ joined
|
|||
samcv | heh | 08:35 | |
08:36
Cabanossi left
08:37
xtreak left
08:38
tokomer_ left,
Cabanossi joined,
tokomer left
08:39
tokomer joined
08:40
xtreak joined
08:50
kurahaupo joined
08:51
xtreak left
08:52
kurahaupo left
|
|||
Ulti | need BASIC break style support where you capture ctrl+c and get a REPL at the current point of execution :) such security | 08:52 | |
08:52
xtreak joined
08:55
kurahaupo joined
|
|||
tokomer | /j #programming | 08:55 | |
08:57
n0xff joined
|
|||
masak | m: loop { EVAL prompt "> " } | 08:58 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> EVAL is a very dangerous function!!! (use the MONKEY-SEE-NO-EVAL pragma to override this error, but only if you're VERY sure your data contains no injection attacks) at <tmp>:1 ------> 3loop { EVAL … |
||
masak | thought so | ||
09:01
mr-foobar left
09:02
mr-foobar joined
09:04
kurahaupo_ joined,
kurahaupo_ left,
kurahaupo_ joined,
kurahaupo left
09:10
wamba joined
09:13
mcmillhj joined
|
|||
dalek | t-ZMQ: 978adfa | RabidGravy++ | lib/Net/ZMQ/Pollitem.pm: fix typeconstraint 'as' |
09:14 | |
Net-ZMQ: 11006ea | RabidGravy++ | .gitignore: | |||
Net-ZMQ: add precomp to gitignore | |||
09:14
dalek left
|
|||
yoleaux | 19 Mar 2017 14:59Z <AlexDaniel> dalek: ahoi, please update that repo to use geth instead: Change the webhook to geth.perl6.party/?chan=#perl6-dev (or #moarvm for moarvm), Content-type: application/json and "Send me everything." | 09:14 | |
RabidGravy | yeah there were a lot of commits on that PR :-\ | 09:16 | |
09:18
mcmillhj left
|
|||
timotimo | i'm not sure Net-ZMQ should keep reporting here | 09:19 | |
RabidGravy | timotimo++ cheers for that, it was kind of blocking one of my plans for world domination | 09:26 | |
timotimo | yeah, github notifications are pretty much 100% useless for me at the moment :< | 09:27 | |
18.5k unread mails in my github folder, too | |||
09:47
robertle joined
09:49
llfourn left
09:54
llfourn joined
09:55
kurahaupo_ left,
kurahaupo joined
09:56
llfourn left
09:58
kurahaupo_ joined
09:59
llfourn joined
10:00
kurahaupo left,
lowbro left
10:02
kurahaupo_ left
10:11
dogbert17 joined
|
|||
Geth | doc: Gnouc++ created pull request #1281: doc/Type: correct List definition |
10:23 | |
10:24
parv left
10:25
kurahaupo joined
10:27
mr-foobar left
10:31
mr-foobar joined
10:35
wamba left
10:43
kurahaupo left,
kurahaupo joined,
kurahaupo left
10:44
kurahaupo joined
10:45
RabidGravy left,
lowbro joined,
lowbro left,
lowbro joined
10:48
kurahaupo left
10:53
gdonald left,
gdonald joined
10:58
movl left,
RabidGravy joined
11:06
Cabanossi left
11:08
Cabanossi joined
11:15
movl joined
11:17
CIAvash left
11:22
bjz joined
|
|||
Geth | doc: 60dbcb834f | (Cuong Manh Le)++ (committed by Zoffix Znet) | doc/Type/List.pod6 doc/Type: correct List definition (#1281) |
11:22 | |
RabidGravy | valgrind still really unhappy with Net::ZMQ | 11:23 | |
11:28
wamba joined
|
|||
Geth | doc: 4c3d62b340 | dmaestro++ (committed by Zoffix Znet) | doc/Language/operators.pod6 Document the infix method call operators (#1273) This documents the behavior implemented in: github.com/rakudo/rakudo/commit/cb...ceec2c74de and github.com/rakudo/rakudo/commit/be...17b7309526 |
11:30 | |
11:35
Swinebead joined
|
|||
Swinebead | Hello | 11:35 | |
Say 3 | |||
'p6: say 3;' | 11:36 | ||
RabidGravy | m: say 3 | ||
camelia | 3 | ||
Swinebead | p6: say 3; | ||
camelia | 3 | ||
Swinebead | Nice | 11:37 | |
11:37
Cabanossi left,
wamba left
|
|||
Swinebead | Is perl 6 released yet | 11:37 | |
moritz | yes! | ||
Swinebead | I was looking at it today it looks awesome | 11:38 | |
masak | it's released | ||
11:38
Cabanossi joined
|
|||
Swinebead | I've not had to code for several years but learned perl 5 and now perl6 is out | 11:38 | |
It all looks straightforward except for the parallel stuff | |||
masak | (I always thought "released"/"not released" was a funny distinction to use for an open-source project, but there you go... people seem to think that way) | 11:39 | |
Swinebead | Where's a good place to understand? The docs confused me a bit | ||
masak | there are books on the way | ||
this channel is a pretty great place to learn | |||
moritz | I'm biased, but I like leanpub.com/perl6 :-) | ||
11:39
xtreak left
|
|||
Swinebead | Ok cheers | 11:40 | |
moritz | (pro tip: buy it today, tomorrow you can't buy it anymore because a publisher takes over) | ||
Swinebead | I'll check out perl 6 tomorrow... (It's night time here now) | 11:41 | |
It looks like they changed cpan to zef or something ? | 11:42 | ||
RabidGravy | the module installer is different | 11:44 | |
11:46
Swinebead left
11:51
Swinebead joined
11:55
Swinebead left
12:05
Cabanossi left
12:08
Cabanossi joined
12:35
wamba joined
12:51
wamba left
12:56
wamba joined
12:57
AlexDaniel joined
13:00
wamba left
|
|||
AlexDaniel | m: my Int @a = 1, 2; say @a[0 | 1] | 13:03 | |
camelia | any(1, 2) | ||
AlexDaniel | m: my int @a = 1, 2; say @a[0 | 1] | ||
camelia | any(1, 2) | ||
AlexDaniel | m: my int @a = 1, 2; say @a[-1 | 1] | ||
camelia | any(2, 2) | ||
AlexDaniel | m: my int @a = 45, 83, 29, 67; say @a[-1 | 1] | 13:04 | |
camelia | any(67, 83) | ||
AlexDaniel | m: my int @a = 45, 83, 29, 67; say @a[-2 | 1] | ||
camelia | any(29, 83) | ||
AlexDaniel | .oO( python mode? ) |
||
13:05
MilkmanDan left,
perlawhirl left
|
|||
AlexDaniel | m: my int @a = 45, 83, 29, 67; say @a[3 | 1] | 13:06 | |
camelia | any(67, 83) | ||
13:06
perlawhirl joined
|
|||
AlexDaniel | m: my int @a = 45, 83, 29, 67; say @a[4 | 1] | 13:06 | |
camelia | any(0, 83) | ||
AlexDaniel | m: my int @a = 45, 83, 29, 67; say @a[30] | ||
camelia | 0 | ||
AlexDaniel | oh | ||
13:07
MilkmanDan joined
|
|||
AlexDaniel | m: my int @a = 45, 83, 29, 67; say @a[-1] | 13:07 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Unsupported use of a negative -1 subscript to index from the end; in Perl 6 please use a function such as *-1 at <tmp>:1 ------> 3my int @a = 45, 83, 29, 67; say @a[-1]7⏏5<EOL> |
||
13:11
perlawhirl left,
MilkmanDan left,
perlawhirl joined
13:12
curan left,
MilkmanDan joined
13:13
bjz_ joined,
perlawhirl left
13:14
perlawhirl joined,
WAAAZQB joined,
SAAR98Q joined,
perlawhirl__ joined,
bjz left
13:19
AlexDaniel left
13:22
skids joined
13:25
domidumont left,
domidumont joined
|
|||
w4and0er96 | ping | 13:35 | |
13:37
MilkmanDan left
13:38
MilkmanD1n joined
|
|||
moritz | peng! | 13:44 | |
13:44
pmurias joined
13:47
setty1 left
13:48
rindolf left
13:51
Cabanossi left
13:53
Cabanossi joined
13:54
domidumont left
13:56
domidumont joined
14:01
MilkmanD1n left
14:02
MilkmanDan joined
|
|||
Geth | ecosystem: 1188064bf0 | (Julien Simonet)++ | META.list Add Log::Any (See github.com/jsimonet/log-any) |
14:09 | |
14:12
mcmillhj joined
14:25
pmurias left,
wamba joined
14:26
lowbro left
14:45
khw joined
14:46
cdg joined
15:01
pochi_ joined
15:03
[particle]1 joined,
kipd_ joined,
dustinm`_ joined
15:04
w4and0er96__ joined,
peteretep_ joined,
isacloud_ joined,
stux|RC joined,
chansen_ left
15:05
f3ew_ joined,
revdiablo joined
15:06
Util_ joined,
jdv79_ joined,
ponbiki_ joined,
BinGOs_ joined,
jercos_ joined,
hcit joined,
chansen_ joined
15:07
riatre_ joined
15:09
luis` joined
15:10
jsimonet1 joined,
xxpor_ joined,
tomboy64 left,
pochi left,
synopsebot6 left,
lucas-1 left,
ponbiki left,
w4and0er96 left,
felher left,
hcit_ left,
peteretep left,
[particle] left,
stux|RC-only left,
kipd left,
dustinm` left,
luis left,
isacloud left,
riatre left,
orevdiabl left,
jsimonet left
15:11
w4and0er96__ is now known as w4and0er96,
felher joined
15:12
peteretep_ is now known as peteretep,
isacloud_ is now known as isacloud,
kipd_ is now known as kipd,
mithaldu_ joined,
lucas-1 joined,
titsuki joined
15:13
dg joined
15:20
Cabanossi left
15:22
isBEKaml joined
15:23
Cabanossi joined,
rindolf joined
15:31
BinGOs_ is now known as BinGOs,
BinGOs left,
BinGOs joined
15:36
ParkPirk joined
15:37
bazzaar joined
|
|||
bazzaar | \o perl6 | 15:37 | |
Ulti | o/ | 15:40 | |
bazzaar | brilliant blog series by Oracle using matplotlib from perl6, with Inline::Python, in Part7 last coloured butterfly plot, found I needed to add .cache to $x,$y sequences to get it to work, couldn't find a way to add comment or send email | 15:43 | |
15:43
gdonald left
15:44
gdonald joined
|
|||
bazzaar | possible I'm doing something wrong, but anyway, that's all I wanted to report | 15:46 | |
15:47
eroux left
15:49
domidumont left
|
|||
timotimo | hm, what version of perl6 are you running? | 15:49 | |
bazzaar | timotimo: Rakudo version 2017.01 built on MoarVM version 2017.01 implementing Perl 6.c | 15:51 | |
timotimo | okay, that's a little out of date, but it's probably the latest rakudo star you can get | 15:52 | |
Geth | ecosystem: matiaslina++ created pull request #316: Add Matrix::Client to ecosystem |
||
timotimo | perhaps it's not necessary in a newer version | ||
15:52
abraxxa left
|
|||
bazzaar | timotimo: been having issues with datetime.date too :-) , looking forward to upgrading to next rakudo star | 15:53 | |
timotimo | aye, this upcoming release will come with a rakudo-star | 15:54 | |
until then, we actually just started building AppImages for rakudo and rakudo-star | |||
samcv.github.io/rakudo-appimage/ - feel free to try 'em out | 15:55 | ||
isBEKaml | timotimo: Sorry, what are appimages? Docker? Digital Ocean? | 15:56 | |
timotimo | neither of those | 15:57 | |
15:57
jmiven left
|
|||
timotimo | appimage is just chmod +x my.appimage; ./my.appimage | 15:57 | |
isBEKaml | timotimo: Oh, okay. When are we doing the next Star release? | ||
timotimo | NeuralAnomaly: status | 15:58 | |
NeuralAnomaly | timotimo, [✘] Next release will be in 1 day and 12 hours. Since last release, there are 24 new still-open tickets (0 unreviewed and 1 blockers) and 138 unreviewed commits. See perl6.fail/release/stats for details | ||
isBEKaml | \o/ | ||
timotimo | i think zoffix wanted to delay it by a bit, i don't know if that is already in this date/time or not | ||
15:58
robertle left
15:59
ParkPirk left
|
|||
isBEKaml | I'm just trying out a star release. Someone reminded me that I left my packages go stale | 15:59 | |
s/left/let/ | 16:00 | ||
Geth | ecosystem: 6618623dfa | (Matias Linares)++ (committed by Zoffix Znet) | META.list Add Matrix::Client to ecosystem (#316) github.com/matiaslina/perl6-matrix-client/ |
||
16:01
Dunearhp joined,
Dunearhp left
|
|||
timotimo | oh, cool | 16:02 | |
16:02
Dunearhp joined
|
|||
bazzaar | timotimo: I like those AppImages, and the instruction how to run 'em, it'll give folk a way of seeing if an issue in their code is due to running an oldish perl6 implementation | 16:03 | |
timotimo | yeah, should be good | ||
also, currently travis jobs for checking modules will pull down moar, nqp, and rakudo, compile all of them, then install zef, and then it'll test the module | 16:04 | ||
using an appimage that gets updated daily or more often will clearly be much better | |||
16:04
mcmillhj left
16:10
Zoffix joined
|
|||
RabidGravy | yeah, it takes ten times as long to build rakudo than it does most of the tests for my modules | 16:11 | |
Zoffix | The bot reports normal time, and there's still the posibility it'll be delayed by 2 days. And that's the time for *compiler* release only. Rakudo Star was planned to be done in 2017.04 and with the RC releases the final release of it is usually 1-2 weeks after the compiler's release. | 16:12 | |
So normal time is 3rd Saturday of the month, but this month it might be delayed by 2 days to be on Monday | |||
timotimo | thanks for the clarification | 16:13 | |
RabidGravy | my tablet needed 36 apps updated | ||
Zoffix | And delay is due: squeezing all IO into the release. I'm gonna be done with all the functionality changes by normal release date, but the 2 day delay will let me squeeze in all the performance improvements as well; especially on Windows. If that stuff misses the release, regular users will only get it in July, when next-next Rakudo Star ships. So, I figured may as well delay this release by 2 days and ship it | 16:15 | |
all in it | |||
16:16
rindolf left
|
|||
Zoffix | NeuralAnomaly: status | 16:16 | |
NeuralAnomaly | Zoffix, [✘] Next release will be in 1 day and 12 hours. Since last release, there are 24 new still-open tickets (0 unreviewed and 1 blockers) and 138 unreviewed commits. See perl6.fail/release/stats for details | ||
Zoffix | ^ and that's not a real blocker. It's just a reminder for me to throw out TAP.pm6 from core; the release bot won't proceed when there are blockers :) | ||
Well, back to the salt mines! \o | 16:17 | ||
16:17
Zoffix left
|
|||
isBEKaml | Zoffix: go ahead, release untested software :-) | 16:17 | |
16:20
Zoffix joined
|
|||
Zoffix | isBEKaml: it's the opposite actually :) A lot of stuff was untested; this release got at least 500 more tests and more coming. I also usually TDD, so no untested stuff from me in rakudo :) | 16:21 | |
bazzaar | timotimo: Thanks for your help. (Perl, and now Perl6 in one working lifetime, how lucky is that!) | 16:22 | |
Zoffix | 117 new commits to test suite, with 1,631 new lines of tests added this month: github.com/perl6/roast/pulse/monthly | 16:23 | |
16:24
bazzaar left
16:27
st_elmo joined
16:28
Zoffix left
16:30
robertle joined
16:31
peteretep_ joined,
isacloud_ joined
16:32
Peter_R left,
peteretep left,
isacloud left,
kipd left,
mxco86 left,
yusrideb left,
erdic left,
pecastro left,
cpage left,
pecastro joined,
erdic joined,
leah2 left,
shadowpaste0 joined,
isacloud_ is now known as isacloud,
yusrideb joined,
Peter_R joined,
peteretep_ is now known as peteretep
16:33
gdonald left,
rindolf joined,
gdonald joined
16:34
jonas1 left
16:35
leah2 joined
16:39
grumble left,
kipd joined,
grumble joined
16:40
Unavowed left
16:46
ggherdov left
16:47
isBEKaml left,
ggherdov joined
|
|||
robertle | ri'; | 16:50 | |
sorry, daughter commandeered my keyboard... | 16:52 | ||
it's a promising sign though that her otehrwise senseless input is properly terminated with a semicolon | 16:53 | ||
perigrin | she may be a C programmer! | ||
huf | eh, multibyte char values are implementation defined | 16:54 | |
bad bad juju | |||
17:00
mcmillhj joined
17:06
pnu__ joined,
Cabanossi left
17:07
gregf_ left,
bjz_ left
17:08
Cabanossi joined
17:15
domidumont joined
17:16
bjz joined
17:34
khw left
17:36
bjz left
17:40
kurahaupo joined
17:43
khw joined
17:45
bstamour joined
17:52
khw left,
zapwai joined
|
|||
masak | today's mini-challenge: implement en.wikipedia.org/wiki/Fox,_goose_a...ans_puzzle as a program that takes an initial state, a goal state, allowed transitions and illegal states, and produces a shortest solution | 17:56 | |
17:59
bstamour left
|
|||
TimToady | .oO(today's maxi-challenge: getting wikipedia to use Oxford comma...) |
18:09 | |
18:15
ChoHag left
18:17
ChoHag joined
18:21
Rawriful joined
18:25
avuserow joined,
dalek joined,
ChanServ sets mode: +v dalek
18:29
domidumont left
18:34
cdg left,
sjn joined
|
|||
masak | heh. | 18:52 | |
I happen to like the Oxford comma, but I don't see why people feel they need to get all prescriptive about it | |||
TimToady | I didn't, I only thunk it. | 18:53 | |
masak | if you did, I wonder if Slashdot would frontpage with "Larry Wall iterates through all of Wikipedia, painstakingly adding Oxford commas" :P | 18:55 | |
masak .oO( originally known for rn, patch and Perl... ) :P | 18:56 | ||
TimToady | well, all we really need to do is fix is the texts that teach it wrong... | 18:57 | |
masak | and then sit back and wait a generation or two | ||
TimToady | ss:2nd/is // | ||
Geth | ecosystem: 28ae3f00ad | (Sterling Hanenkamp)++ | META.list Hash::MultiValue now uses a META6.json |
19:06 | |
19:15
ponbiki_ is now known as ponbiki,
darutoko left,
ponbiki is now known as Guest32572
19:16
Guest32572 is now known as ponpon
19:33
Rawriful left
19:36
Rawriful joined
19:38
jsimonet1 is now known as jsimonet
19:53
mcmillhj left
20:00
mcmillhj joined
20:09
mcmillhj left
20:13
mcmillhj joined
20:18
mcmillhj left
20:26
gdonald left,
gdonald joined
20:28
robertle left,
mcmillhj joined
20:29
cdg joined
20:33
mcmillhj left
20:34
espadrine joined
20:42
bjz joined
20:44
mcmillhj joined
20:51
mcmillhj left
20:52
rindolf left
20:53
pytuger joined,
pytuger left,
pytuger joined
20:57
bjz left
20:59
AlexDaniel joined,
mcmillhj joined
21:03
wamba left
21:15
cdg left,
cdg joined
21:16
mcmillhj left
21:17
mcmillhj joined
21:19
zapwai left
21:21
st_elmo left
21:22
mcmillhj left
|
|||
samcv | NeuralAnomaly, status | 21:25 | |
NeuralAnomaly | samcv, [✘] Next release will be in 1 day and 7 hours. Since last release, there are 25 new still-open tickets (1 unreviewed and 1 blockers) and 98 unreviewed commits. See perl6.fail/release/stats for details | ||
timotimo | + 2 days | 21:29 | |
samcv | also is star coming out in a week | ||
21:30
skids left,
mcmillhj joined
|
|||
timotimo | at the very earliest, i believe? | 21:30 | |
21:35
mcmillhj left
21:37
zapwai joined
21:38
cdg left
21:51
RabidGravy left
|
|||
sammers | hi all | 21:52 | |
AlexDaniel | \o/ | 21:54 | |
sammers | m: sub foo($i){$i+10 };sub bar($i){$i+10};5.&foo.&bar.say; | ||
camelia | 25 | ||
sammers | whenever I do the . notation chaining on subs I can't put the .bar on a newline... | 21:55 | |
like we can with methods | |||
timotimo | yeah, only allowed when . is followed by alphanumeric | ||
actually, alpha only | |||
sammers | thanks, that is mentioned here docs.perl6.org/routine/$FULL_STOP | 21:56 | |
is there a technical reason for that? or is this some rational decision to not allow this? | 21:58 | ||
timotimo | still wanna catch people trying to use . for concat | ||
sammers | ok, so with .& that would look something like: 'string ' . &foo(123) | 22:00 | |
22:01
dct joined
22:05
Cabanossi left
22:06
baest_ left
22:08
Cabanossi joined
22:14
dct left
22:16
lizmat joined,
baest joined
|
|||
ugexe | you can end the line with \ | 22:20 | |
"whatever"\ \n .&foo() | 22:21 | ||
timotimo | yeah | 22:22 | |
22:40
espadrine left
22:44
skids joined
22:50
Cabanossi left
22:53
Cabanossi joined
22:56
john51 left
22:59
john51 joined
23:15
ChoHag left
23:24
ChoHag joined
23:27
bjz joined,
Rawriful left
|
|||
sammers | I wonder if it might make sense to have an exception for `.&`? I am most likely not considering all situations, but other than this, where else would .& or . & be attempted? sub bar($b){$b}; say "first" . &bar("second"); # which should fail with Unsupported use of . to concatenate strings; | 23:32 | |
23:33
labster joined
|
|||
AlexDaniel | sammers: why put whitespace around . at all in this case? | 23:34 | |
sammers | right, I wouldn't. that is the case they are trying to capture | 23:35 | |
for p5 users when they use . for concat instead of ~ | |||
for method chaining .n has to be followed by an alpha. but what about subs that need to be called with & or unicode names? | 23:36 | ||
AlexDaniel | m: sub bar($a, $b){ $a ~ $b}; say ‘first’\ .\ &bar(‘second’) | ||
camelia | firstsecond | ||
AlexDaniel | m: sub bar($a, $b){ $a ~ $b}; say ‘first’\ .&bar(‘second’) | ||
camelia | firstsecond | ||
timotimo | i'd +1 a flag that prevents those "you're a naughty p5 programmer, aren't you?" errors | ||
AlexDaniel | just use unspace instead | ||
timotimo: sometimes I feel like +1-ing a full removal of p5 errors | |||
sammers | ok, I know that we can use the unspace now, but, I am suggesting that there could be an exception for .& | 23:37 | |
for chaining | |||
AlexDaniel | sammers: or at least the error message can be more awesome by suggesting unspace | ||
timotimo | do we also want an exception for .""? | ||
well, have to spell it .""() | |||
sammers | just sub names | ||
so if there is a unicode sub name | 23:38 | ||
it would be nice to just chain methods / subs regardless. as long as they had valid sub / method names. | 23:40 | ||
23:40
gdonald left
|
|||
sammers | without unspace | 23:40 | |
23:41
gdonald joined
|
|||
timotimo | it's a little dangerous that putting a .foo on the next line after something is highly sensitive to the presence or absence of a ; | 23:43 | |
if the user doesn't make it clear with indentation, it can be misleading | |||
sammers | "(1,2,3)\n.map(...)\\n.&bar(special => 'second')\n.grep(...)\\n&foo.say;" | 23:45 | |
like this example, perl6intro.com/#_chaining | |||
if you use your own subs inbetween you have to unescape | |||
of you put the routines on a new line | |||
TimToady | re .&foo, you can always put .self.&foo if you hate unspace | 23:48 | |
timotimo | m: say &unique | 23:49 | |
camelia | sub unique (| is raw) { #`(Sub|60835656) ... } | ||
timotimo | oh, didn't realize | ||
so, here's something hilarious | |||
sammers | hmm | ||
TimToady | on the design decision to allow .foo on the next line, most of the time when you default to $_ it's in a very small context, a map or grep or small loop, which tends to work against the situation where you want a lot of newlines | ||
so they don't overlap as much as you'd expect | 23:50 | ||
timotimo | trying to open a file with a really long name gives a funny result | ||
aaaaaaaaaaaaaaaaaaaaaa: name to | |||
TimToady | or to put it the other way, when you use a lot of newlines, you're unlikely to be defaulting methods to $_ | ||
timotimo | dang, it didn't copy over | ||
TimToady | you're more likely to be using explicit vars in that case | ||
timotimo | 000003f0: 6161 6161 6161 3a20 6e61 6d65 2074 6f00 aaaaaa: name to. | 23:51 | |
00000400: 1300 0000 000a 2020 696e 2062 6c6f 636b ...... in block | |||
it totally put a 00 byte there %) | |||
sammers | that makes sense, I like to use a lot of small subs and write them in a way that allows me to chain them. so it isn't that I am unable to chain them, it would just be "nice" to be able to chain them like any other method when I have to use .&. | 23:52 | |
timotimo | char *c_message = MVM_malloc(1024); | 23:55 | |
OH NO YOU DIDN'T :D :D :D | |||
samcv | hmm? | 23:59 |