»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋 Set by Zoffix on 25 July 2018. |
|||
00:04
khisanth_ joined
00:31
MasterDuke left
|
|||
elcaro | bisectable6: say ((0, 0), (0, 1), (1, 1)).grep(*.any) | 00:37 | |
bisectable6 | elcaro, Bisecting by output (old=2015.12 new=8a37b93) because on both starting points the exit code is 0 | ||
elcaro, bisect log: gist.github.com/1a5df27e933c29d8b0...7a3196a390 | |||
elcaro, (2019-01-29) github.com/rakudo/rakudo/commit/c2...ee4b1ee0fb | |||
00:39
jbjovi joined
00:42
olongjohnson joined
00:44
jbjovi left
|
|||
elcaro | Issue #2975 raised for the above regression | 00:44 | |
00:55
Sgeo__ joined
|
|||
olongjohnson | I can pull file access / modified times with the IO class. Is there any way to retrieve creation times? | 00:56 | |
00:58
Sgeo_ left
01:01
mowcat left
01:03
[particle] joined
|
|||
elcaro | olongjohnson: unix doesn't have a concept of creation time for files | 01:04 | |
as for windows, I know it does tell you creation time in the file props... thought i'm not sure where that info is stored | |||
I don't to much development on windows | |||
01:04
[particle]1 left
|
|||
elcaro | correction: some googling has advised me some unix filesystems do keep track of creation time.. so it depends on what FS you use, and again, there's probably no built-in that will "just work" | 01:07 | |
olongjohnson | That's kind of what I figured. I do work more on NTFS & EXT4 file systems which should have it available somewhere. For instance, you can grab file creation times with Windows' native PowerShell. | 01:09 | |
01:12
[particle]1 joined
01:13
[particle] left
01:14
powerbit left
|
|||
ugexe | use nqp; say nqp::stat("myfile.txt", nqp::const::STAT_CREATETIME) | 01:16 | |
elcaro | ugexe++ I will add that into File::Stat | 01:18 | |
ugexe | looks like there are a few from the ops list you can add -- github.com/perl6/nqp/blob/master/d...kdown#stat | 01:20 | |
01:22
[particle]1 left,
[particle] joined
|
|||
olongjohnson | Much apprciated | 01:23 | |
elcaro | ugexe: yeah, at the time I made it, I was just satisfying a need for someone who needed access to unix stat values | 01:26 | |
but I do wanna expand it to also wrap around nqp::lstat, as well as add the other consts | |||
01:29
[particle] left,
MasterDuke joined
01:30
MasterDuke left,
MasterDuke joined
01:37
epony left
01:44
aborazmeh joined,
aborazmeh left,
aborazmeh joined
01:49
sitbk joined
01:51
AlexDaniel left
01:56
zakharyas joined
01:57
sitbk left
02:01
Manifest0 left
02:02
Manifest0 joined
02:05
hythm joined
02:07
sitbk joined
02:10
sitbk left
02:16
[particle] joined
02:23
[particle]1 joined
02:24
[particle] left
02:29
[particle] joined
02:30
[particle]1 left
02:41
[particle]1 joined,
[particle] left
02:42
Sgeo_ joined
02:46
Sgeo__ left
02:53
[particle] joined
02:54
[particle]1 left
03:48
hythm_ joined,
hythm left,
ChoppedBacon left
03:49
giraffe left
03:52
ChoppedBacon joined
03:55
giraffe joined
03:59
Cabanossi left
04:04
Cabanossi joined
04:10
molaf_ joined
04:12
Sgeo__ joined,
hythm_ left
04:15
Sgeo_ left,
aborazmeh left
04:25
nadim_ left
04:31
arkaitz joined
04:36
aindilis` left,
arkaitz left
04:43
Sgeo__ left
04:47
curan joined
|
|||
holyghost | good morning | 05:00 | |
05:02
Sgeo joined
05:16
jmerelo joined
05:18
nadim_ joined
|
|||
holyghost | hi JJ | 05:18 | |
jmerelo | holyghost: hi | ||
05:22
cpan-p6 left
|
|||
holyghost | jmerelo : I am working on your issues for Game-Stats and Game-Bayes | 05:23 | |
then they'll be done | |||
05:25
sauvin joined
|
|||
holyghost | use-ok as starter tests is a great idea | 05:25 | |
05:27
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
|
|||
holyghost | After the packages are done, I will try to read more perl6 books/tutorials | 05:27 | |
I'm just coding perl6 as C++ for example | 05:28 | ||
I have the book "Think Perl 6" from O'Reilly | 05:33 | ||
It'll help me on the way out | |||
05:43
reach_satori left,
robertle left
05:44
Rayler joined
|
|||
holyghost | jmerelo : where do I put the version number in a pod6 ? | 05:48 | |
Anyway, I've put it in the =begin tag | 05:49 | ||
jmerelo | holyghost: you don't. Please read the documentation about modules | 05:51 | |
holyghost | ok, I will | 05:55 | |
05:56
nadim_ left,
Sgeo left
05:57
Sgeo joined
|
|||
holyghost | jmerelo : metadata ? | 06:00 | |
jmerelo | holyghost: what do you mean? | 06:02 | |
06:02
Rayler left
|
|||
holyghost | jmerelo : for a pod6 including a version number I use =VERSION | 06:03 | |
jmerelo | holyghost: this advice might seem a bit familiar. Read the documentation. | 06:04 | |
06:04
Rayler joined
|
|||
holyghost | jmerelo : don't worry my pod6s include metatdata | 06:12 | |
now | |||
version, title ,author | 06:13 | ||
then I added a description | |||
Geth | doc: dd4f701d67 | (JJ Merelo)++ | 4 files Bumps up version to account for the elimination of TypeGraph |
06:15 | |
doc: bad990053a | (JJ Merelo)++ | CONTRIBUTING.md Perl6::TypeGraph is already outside the repo And in the ecosystem, tested and documented. Good job @antoniogamiz. Closes #2573 |
|||
holyghost | As I said I had to read up :-) | 06:16 | |
06:18
nadim_ joined
06:19
Sgeo_ joined
06:20
Sgeo left
|
|||
lizmat | weekly: ajs.github.io/tools/2019/06/11/perl...e-012.html | 06:30 | |
notable6 | lizmat, Noted! | ||
06:32
reach_satori joined
06:33
Black_Ribbon joined
06:37
nadim_ left,
lizmat left
06:38
dyske left
06:39
dyske joined,
lizmat joined
06:44
domidumont joined
06:45
Sgeo__ joined
06:49
Sgeo_ left
07:05
patrickb joined
07:09
ZzZombo_ joined
07:12
ZzZombo left,
ZzZombo_ is now known as ZzZombo
07:14
rindolf joined
|
|||
holyghost | Game::Stats reached beta status (github.com/theholyghost2/p6-Game-Stats), I just need to elaborate on the tests and maybe add examples | 07:17 | |
07:20
Rayler left
|
|||
jmerelo | holyghost: it compiles. That's something. | 07:23 | |
holyghost | jmerelo : I use "use-ok" for every module in t/00-load.t | 07:24 | |
jmerelo | holyghost: you might want to eliminate use before use_ok, though. If use is not ok, you will not be able to use them. | ||
holyghost | ok | ||
07:25
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
holyghost | I've removed it | 07:26 | |
prove6 --lib works for me | |||
07:28
dyske left,
dyske joined
|
|||
jmerelo | holyghost: I'm not saying it does not. Also, you might want to use zef test . for modules. | 07:29 | |
holyghost | I see | ||
I installed prove6, it's clearer to me | |||
anyway, I didn't know that | |||
07:32
dyske left
07:33
dyske joined
|
|||
holyghost | Later on JJ, I'm going to work on p6-Bayes-Learn, it needs several things still then if lizmat wants to sh better writes something about Game::Bayes instead of the simplicity in Game::Stats | 07:34 | |
It needs a small text based game in tests | 07:35 | ||
e.g. by elevating with a physics engine, I don't know yet | |||
then running RPG systems in the tests on it, the physics for when enemies collide etc | 07:36 | ||
It's probably gonna be a huge test system | |||
Just saying | 07:37 | ||
s/p6-Bayes-Learn/p6-Game-Bayes | |||
s/test/test and example/ | 07:38 | ||
Game::Stats is made for Hidden Markov Models and Game::Bayes e.g. for Age of Empires 3 | 07:40 | ||
^-- this is the Good Thing about it | 07:41 | ||
Life is Good :-) | 07:46 | ||
jmerelo : if it's finished, is there someone who's going to publish it ro does it just stay on github ? | 07:50 | ||
s/ro/or | 07:51 | ||
07:53
aborazmeh left
|
|||
jmerelo | holyghost: leave it in GitHub until it's stable and everything has been ironed out. People can still use it from GitHub | 07:57 | |
07:57
dolmen joined
|
|||
holyghost | ok, thanks for the issues | 07:57 | |
I'm getting better at perl6 every day | 07:58 | ||
I'm aiming at Game::Bayes next week | |||
Game::Stats is a very simple package to understand and you cannot just make statitics tests then calculating just a function from it | 07:59 | ||
As I said, I might want some more examples | |||
It was built for speed so the interfaces lack | 08:00 | ||
08:00
dolmen left
|
|||
holyghost | s/interfaces/interfaces and somewhat the API/ | 08:01 | |
speed in games | |||
08:01
dolmen joined,
skaji_ left
08:03
skaji_ joined
08:05
dolmen left
08:07
noisegul joined
08:13
dmaestro left,
dolmen joined
08:14
hankache joined,
dakkar joined
08:22
dolmen left
08:33
Rayler joined
08:39
Sgeo_ joined
08:42
Sgeo__ left
08:54
ray_ler joined
08:55
Rayler left
09:00
veesh left
09:02
veesh joined
09:06
ravenousmoose_ joined
09:08
ravenousmoose left
09:16
ray_ler left
09:19
powerbit joined
09:28
adu left
09:43
dyske left
09:44
dyske joined
09:48
mowcat joined,
dyske left
09:49
dyske joined
09:50
reach_satori left
10:05
Sgeo_ left,
Sgeo_ joined
10:08
nadim_ joined
10:09
ravenousmoose_ left
10:10
ravenousmoose_ joined
10:14
ravenousmoose_ left,
domidumont left,
zakharyas left
10:24
Black_Ribbon left
10:28
nadim_ left
10:36
veesh left
10:41
veesh joined
|
|||
jmerelo | .tell timotimo perl6-gtksimple is failing because the location for the dlls is hardcoded: github.com/perl6/gtk-simple/issues | 10:43 | |
yoleaux | jmerelo: I'll pass your message to timotimo. | ||
jmerelo | .tell you seem to be the last one who's worked on that, so you might know how to fix it... | 10:44 | |
yoleaux | jmerelo: I'll pass your message to you. | ||
holyghost | JJ ^^ | 10:45 | |
jmerelo | .tell timotimo you seem to be the last one who's worked on that, so you might know how to fix it... | ||
yoleaux | jmerelo: I'll pass your message to timotimo. | ||
jmerelo | :-) | ||
holyghost | All bots are stupid :-) | ||
It needs some AI :-) | 10:46 | ||
jmerelo | holyghost: but obedient. | ||
holyghost | .tell yoleaux "All bots are stupid but obedient" | 10:47 | |
yoleaux | holyghost: Thanks for the message. | ||
10:47
hankache_ joined
|
|||
jmerelo | ... and polite | 10:48 | |
lizmat | .oO( some bots do get the message ) |
||
holyghost | Id was almost infinitely looping :-) | 10:49 | |
*It | |||
10:50
hankache left
|
|||
holyghost | OTOH I was talking to my AI/Adaptive Systems/DB/Programming profs, it seems I can write a game of tabletop "Risk" with Game::Bayes, I'll try to make it an examples dir for that next week | 10:51 | |
risk-o-matic in the tests and a non-curses (non-ncurses) GUI which prints the rectangles of neighbouring Risk table regions | 10:52 | ||
with army size in them | 10:53 | ||
I'll start on Mars :-) | |||
I would also like to do an M$ "Age of Empires (3)" game with it using NCurses module, again later on | 10:55 | ||
NCurses for such as nethack graphics | |||
Plenty of "@"'s :-) | 10:56 | ||
Newt wars :-) | |||
10:57
skids joined
|
|||
holyghost | My module pagan can help with the 2D graphics, again later on | 10:58 | |
s/2D/2D, tile and isometric | |||
For a tabletop Risk you would choose conditional probabilities starting with ask-attack, ask-defend, ask-move-armies etc | 10:59 | ||
then use the decisions theory in Game::Bayes | 11:00 | ||
*decision theory | |||
11:05
skids left
11:08
ravenousmoose joined
11:12
nadim_ joined
11:20
skids joined
11:41
dolmen joined
11:47
ZzZombo_ joined
11:48
veesh left,
ZzZombo left,
ZzZombo_ is now known as ZzZombo
11:50
hankache_ left,
veesh joined
12:02
nadim_ left
12:12
Rayler joined
12:13
domidumont joined
12:15
Itaipu joined
|
|||
Itaipu | p6: say hello world ;) | 12:16 | |
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/JljpJoHYwV Unexpected closing bracket at /tmp/JljpJoHYwV:1 ------> 03say hello world ;08⏏04) |
||
Itaipu | oops | ||
p6: say 'hello world ;)' | 12:17 | ||
evalable6 | hello world ;) | ||
12:19
demanuel joined
12:28
ray_ler joined
12:31
Rayler left
12:51
domidumont1 joined
12:52
Rayler joined
12:53
ray_ler left,
domidumont left,
Rayler left
12:56
dyske left
13:07
jmerelo left
13:08
Sgeo__ joined
13:12
Sgeo_ left
13:39
pmurias joined
|
|||
pmurias | what's a good :from<...> to load node.js modules on rakudo.js? | 13:39 | |
moritz | nodejs? | 13:45 | |
rakudonode | |||
13:47
johnjohn101 joined
13:48
curan left
|
|||
patrickb | why not just "js"? | 13:50 | |
13:51
domidumont joined
13:52
mtg joined
|
|||
pmurias | patrickb: maybe people will want other js module loading schemes than calling require | 13:52 | |
moritz | there's more js than just node | 13:53 | |
13:53
domidumont1 left
|
|||
patrickb | Even when I'm on node? | 13:53 | |
pmurias | patrickb: rakudo.js is not node only | 13:54 | |
patrickb | But when I'm in a browser there can't be any node modules, right? | ||
moritz | pmurias: if you write a use Thing :from<...>; you're in Perl 6, not (necessarily) node | 13:55 | |
erm, meant patrickb | |||
pmurias | patrickb: node modules can be used in the browser by a bundler (webpack or parcel) | ||
patrickb | And those are different from other stuff I might load in a browser... | 13:56 | |
pmurias | patrickb: what I mean is that it should be possible to bundle your Perl 6 script together with node.js modules and run it in the browser | 13:57 | |
patrickb: and I suspect there is value for things that aren't valid in the place where you are running stuff in to have a different :from<...> so that they are cleanly detected as impossible | 14:03 | ||
patrickb | Got it. Thanks for the explanation! | 14:04 | |
14:04
pamplemousse joined
14:14
Rayler joined
14:29
Rayler left
|
|||
abraxxa | is all the infrastructure online again? | 14:31 | |
14:33
mtg left
14:36
mowcat left
|
|||
moritz | not quite; we're still in the process of establishing shared control of the DNS of perl6.org | 14:36 | |
which is complicated by the domain owner currently being busy with YAPC preparations | 14:37 | ||
14:40
Sgeo__ left
|
|||
nine | In a cro application, where would I catch exceptions like "Cannot write to a closed socket" when a websocket goes away mid-write? | 14:49 | |
yoleaux | 10 Jun 2019 22:10Z <japhb> nine: Ah, good to know re: python3, thank you. | ||
holyghost | FYI, I have the whole week now from my profs for working on perl6, so I'll try to get to 30000+ lines a year | 14:54 | |
abraxxa | moritz: thanks for the info! | 14:57 | |
14:57
abraxxa left
15:03
mtg joined
15:08
pmurias left,
patrickb left
15:38
dolmen left
|
|||
kawaii | nine: might be best asking in the #cro channel, but currently that is a pretty major problem with the architecture, those errors are not passed back up the pipeline so sockets seem to just 'die' silently and your application has no idea. | 15:44 | |
15:50
jmerelo joined
15:51
johnjohn101 left
|
|||
holyghost | JJ, I have the whole week time to work on perl6 modules from my profs from now on | 15:54 | |
I don't have to work in scheme and C++ anymore except for some games I write in cc and python | |||
discord6 | <Vendethiel> too bad :-) | 15:55 | |
<Vendethiel> working with racket is always a treat | |||
holyghost | So I'm going to do 60000+ lines a year in perl6 :-) | ||
debugged, tested etc | 15:56 | ||
jmerelo | holyghost: OK, good luck. | ||
holyghost | Starting from today | 15:57 | |
thanks | |||
15:57
cpan-p6 left
15:58
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
16:01
Woodi joined
|
|||
Geth | doc: JJ assigned to antoniogamiz Issue Fix duplicated index entries and avoid them in the future by adding a test. github.com/perl6/doc/issues/1912 931fcc1272 | (JJ Merelo)++ | shippable.yml |
16:01 | |
holyghost | hi Woodi | 16:02 | |
16:20
aindilis joined
|
|||
Geth | doc: ade3687918 | (JJ Merelo)++ | shippable.yml Try and upgrade zef |
16:21 | |
16:21
dogbert11 left
16:23
dolmen joined
16:24
robertle joined
|
|||
Geth | doc: e3ed9e62c9 | (JJ Merelo)++ | shippable.yml zef can't upgrade itself |
16:29 | |
16:35
dakkar left
16:56
dolmen left
17:04
Jim___ joined
17:06
reach_satori joined
17:09
dolmen joined
17:40
dolmen left
17:49
rindolf left
|
|||
Geth | doc: afe831b462 | (JJ Merelo)++ | META6.json Only reindent, but fixed upstream error closes #2850 fixes perl6/tap-harness6#32 |
17:52 | |
17:56
rindolf joined
18:14
domidumont left
18:19
sauvin left
18:21
Grauwolf left,
Grauwolf joined
18:39
Woodi left
18:41
dogbert17 joined
18:54
Woodi joined
18:57
mtg left
19:00
Jim___ left
19:03
jmerelo left
19:36
|oLa| left
19:37
pecastro joined
19:40
Black_Ribbon joined
20:04
giraffe left
20:09
holyghost left
20:14
pmurias joined
20:16
skids left,
|oLa| joined
20:17
rindolf left
20:18
adu joined
20:19
rindolf joined
20:21
|oLa| left
20:27
AlexDaniel joined
20:36
patrickb joined
20:46
kurahaupo left
20:47
kurahaupo joined
20:57
rindolf left
21:04
olongjohnson left
21:05
rindolf joined
21:11
robertle left
21:17
pmurias left
21:19
pamplemousse left
21:24
pmurias joined
21:27
holyghost joined
21:43
kini left
22:08
mowcat joined,
johnjohn101 joined
22:23
TeamBlast left
22:30
kini joined
22:36
pmurias left
22:45
Sgeo joined
22:48
adu left
22:49
|oLa| joined
23:01
pecastro left
23:02
patrickz joined
23:04
rindolf left
23:06
johnjohn101 left,
patrickb left
23:13
sivoais left
23:23
patrickz left
23:49
MilkmanDan left
23:53
noisegul left
|