»ö« 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 Manifest0 left 00:10 Manifest0 joined
Xliff m: say -45.fmt('%d') 00:20
camelia -45
Xliff m: say -45.fmt('%x')
camelia Cannot convert string to number: trailing characters after number in '032⏏5d' (indicated by ⏏)
in block <unit> at <tmp> line 1
Xliff ^^ WTF?
m: say -45.base(16).say
camelia 2D
-1
Xliff ^^ Also WTF
timotimo the - has lower precedence than method calls 00:22
you need to put parenthesis
m: say -1.sqrt
camelia -1
timotimo m: say (-1).sqrt 00:23
camelia NaN
Xliff m: say (-45).fmt('%x')
camelia -2d
Xliff Hmmm....
Not what I'm looking for. -45 is signed int8. I want the uint8 representation. Something is getting borked in the conversion from C 00:24
Still might be my fault, but I've traced it back to a C call.
C is returning a 4-byte integer that I've converted to a CStruct of 4 1-byte values. Problem is, they are supposed to come across unsigned.
So it looks like that -45 is supposed to be 0xd3 00:25
timotimo: Is there a way to convert back?
timotimo i'm not sure how exactly our signed/unsigned stuff works, i just know it's a little wonky 00:26
Xliff m: say (-45 + 256).fmt('%x')
camelia d3
Xliff That looks like the ticket.
discord6 <Tyler (Aearnus)> is there anything like apidock.com/ruby/Object/tap in perl6? 00:27
timotimo yup 00:28
oh, not with automatic returning of self, though
discord6 <Tyler (Aearnus)> ah yeah that was an important part I wanted to chain them together 00:29
00:29 netrino_ left
discord6 <Tyler (Aearnus)> wanted to turn this gist.github.com/Aearnus/7ef9acb1f4...9ff7ed5045 into a method chain 00:30
timotimo m: (1..10).&({ "original: $_".say; $_ }).comb.&({ "array: $_".say; $_ }).grep(* %% 2).&({ "after grep: $_".say; $_ })
camelia original: 1 2 3 4 5 6 7 8 9 10
array: 1 2 3 4 5 6 7 8 9 1 0
after grep: 2 4 6 8 0
timotimo gist.github.com/timo/44efb53aa1368...d1656c8aa9 - check this out 00:31
this basically does what you want, though i guess by accident :P 00:32
oh, no, actually not
but you can implement tap as a postcircumfix operator just like this tunnel operator
discord6 <Tyler (Aearnus)> hmm yeah that would be nice using the .& trick actually works for my purposes I think
timotimo hold on, no, it *does* do what you want
00:34 MasterDuke joined, MasterDuke left, MasterDuke joined
timotimo m: sub postcircumfix:<⦓ ⦔>($a, &code) { my $b = $a; code($a); $b }; (1..10)⦓ (*.perl ~ " original").say ⦔.Array⦓ (*.perl ~ " as array").say ⦔.grep(* %% 2)⦓ (*.perl ~ " grepped").say ⦔.map(*²)⦓ (*.perl ~ " squared").say ⦔.say 00:34
camelia 1..10 original
$[1, 2, 3, 4, 5, 6, 7, 8, 9, 10] as array
$((2, 4, 6, 8, 10).Seq) grepped
$((4, 16, 36, 64, 100).Seq) squared
(4 16 36 64 100)
timotimo that should be exactly what you want
discord6 <Tyler (Aearnus)> so it is! 00:35
00:35 netrino_ joined
timotimo bedtime! 00:35
discord6 <Tyler (Aearnus)> marginally related question: why don't you have to specify mut on $a?
timotimo $a doesn't get mutated there 00:37
oh, you mean because it's the "mutator tunnel operator"? 00:38
it's for methods that mutate stuff and return something you don't care about
like the splice method in the example
00:39 Cabanossi left
Xliff mut? 00:40
Oh. It's NOT there.
timotimo: Nice job! Night! 00:41
discord6 <Tyler (Aearnus)> ah, thank you. night! 00:42
00:48 Cabanossi joined 00:52 cpage left, TimToady left, TimToady joined 00:58 jdv79 left, jdv79 joined
Xliff m: use NativeCall; class A is repr('CStruct') { has uint8 $.aa; }; my $c = A.new(:aa = 250); $c.gist.say 01:02
camelia Cannot modify an immutable Pair (aa => True)
in block <unit> at <tmp> line 1
Xliff m: use NativeCall; class A is repr('CStruct') { has uint8 $.aa is rw; }; my $c = A.new(:aa = 250); $c.gist.say
camelia Cannot modify an immutable Pair (aa => True)
in block <unit> at <tmp> line 1
Xliff m: use NativeCall; class A is repr('CStruct') { has uint8 $.aa is rw; }; my $c = A.new(:aa => 250); $c.gist.say
camelia Default constructor for 'A' only takes named arguments
in block <unit> at <tmp> line 1
Xliff m: use NativeCall; class A is repr('CStruct') { has uint8 $.aa is rw; }; my $c = A.new(aa => 250); $c.gist.say
camelia A.new(aa => -6) 01:03
Xliff jnthn: ^^ uint8 is being interpreted as signed
timotimo: ^^ uint8 is being interpreted as signed
.tell jnthn Is this indication of uint8 being interpreted as signed: use NativeCall; class A is repr('CStruct') { has uint8 $.aa is rw; }; my $c = A.new(aa => 250); $c.gist.say # -6 01:07
yoleaux Xliff: I'll pass your message to jnthn.
01:08 netrino_ left, Manifest0 left
MasterDuke Xliff: rakudo currently has lots of problems with unsigned natives 01:11
yoleaux 29 May 2019 11:25Z <pmurias> MasterDuke: great, I moved to a pure js replacement for firefox but it's good that proper bigint support arrived there too
Xliff MasterDuke: Yikes! 01:12
MasterDuke: Makes working with C code harder...
01:14 netrino_ joined, Manifest0 joined 01:31 farcas_ joined 01:35 aborazmeh joined, aborazmeh left, aborazmeh joined 01:46 molaf left 01:47 netrino_ left 01:53 netrino_ joined 01:54 dogbert17 joined 01:59 molaf joined 02:03 Manifest0 left 02:08 Manifest0 joined 02:17 Manifest0 left 02:22 Manifest0 joined 02:26 netrino_ left 02:32 netrino_ joined 02:46 aborazmeh left 03:05 netrino_ left 03:11 netrino_ joined 03:17 Xliff left 03:35 Manifest0 left 03:40 Manifest0 joined 03:44 netrino_ left 03:49 Manifest0 left 03:50 netrino_ joined 03:54 MasterDuke left 03:57 Manifest0 joined 04:08 molaf left 04:22 Manifest0 left 04:23 netrino_ left, lgandras_ joined, reach_satori_ left 04:28 Manifest0 joined 04:29 netrino_ joined 04:30 lgandras_ left 04:38 nadim_ joined 04:48 Manifest0 left 04:52 Manifest0 joined 05:02 netrino_ left 05:03 Manifest0 left 05:08 Manifest0 joined, netrino_ joined 05:16 jmerelo joined 05:18 Manifest0 left
jmerelo squashable6: status 05:19
squashable6 jmerelo, ⚠🍕 Next SQUASHathon in ≈22 hours (2019-06-01 UTC-14⌁UTC+20). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
05:22 Manifest0 joined 05:41 kaare_ joined, kaare__ left 05:45 Manifest0 left 05:46 reach_satori_ joined
Geth doc: 8bf1e1517f | (JJ Merelo)++ | 4 files
Augments definition, qualifies it and closes #1265
05:47
05:50 Manifest0 joined 05:54 veesh left, reach_satori_ left 05:56 Manifest0 left 06:00 Manifest0 joined 06:01 veesh joined 06:07 farcas_ left 06:08 farcas82 joined 06:14 Manifest0 left 06:17 netrino_ left 06:21 Manifest0 joined 06:22 netrino_ joined 06:24 sauvin joined 06:34 domidumont joined 06:35 Manifest0 left 06:40 cpan-p6 left, Manifest0 joined 06:42 cpan-p6 joined, cpan-p6 left, cpan-p6 joined
Geth doc: antoniogamiz self-assigned Refactor htmlify.p6 github.com/perl6/doc/issues/1823
JJ assigned to antoniogamiz Issue type-graph.txt: what is it good for? github.com/perl6/doc/issues/2584

  coke self-assigned xt/links-not-links.t explodes github.com/perl6/doc/issues/2830
  coke assigned to JJ Issue xt/links-not-links.t explodes github.com/perl6/doc/issues/2830
  coke self-unassigned xt/links-not-links.t explodes github.com/perl6/doc/issues/2830
a02efecd02 | Coke++ | xt/code.pws learn new words
06:47
06:48 antoniogamiz joined
jmerelo antoniogamiz++ 06:48
antoniogamiz: but I would really leave that for the last month of the summer of code... 06:50
antoniogamiz: anyway, it's good to let people know you're working on it.
antoniogamiz I know but what I'm trying to do is understand how docs is generated to know what cases should be in the mini-doc 06:51
for instance, how definitions are processed and what headings are considered 06:52
06:54 noisegul joined
noisegul Good morning 06:54
antoniogamiz o/ 06:55
holyghost good morning
06:55 netrino_ left, dominix joined
holyghost I did some work on my game, SDL2 is a bitch compared to SDL 1.2, anyway there's image loading code and displaying lists of images to generate e.g. a walking NPC (==nonplayerchar) 06:56
classified :-) 06:57
06:59 dominix left, dominix joined 07:01 dominix left, dominix joined, netrino_ joined 07:07 adu left 07:08 Manifest0 left 07:09 dominix left 07:11 dominix joined
ufobat_ funny.. i dont understand anymore why my solution works ;D 07:13
07:14 Manifest0 joined 07:15 reach_satori_ joined
ufobat_ and it doesn't work :D 07:20
07:22 Manifest0 left 07:28 Manifest0 joined, dominix_ joined 07:31 dominix left 07:32 dakkar joined 07:34 netrino_ left 07:40 netrino_ joined 07:42 Manifest0 left 07:49 farcas82 left 07:50 Manifest0 joined, rindolf joined
07:55 zakharyas joined
jmerelo ufobat_: not knowing why it works is probably better that not knowing why it does not work. 07:59
08:03 rindolf left 08:04 domidumont left 08:05 Manifest0 left 08:13 netrino_ left 08:14 rindolf joined, Manifest0 joined, leont joined
moritz antoniogamiz: $*DR is the place where all the documentation pieces are stored, and it's used to generate the search index, the disambiguation files etc. 08:16
yoleaux 29 May 2019 21:36Z <antoniogamiz> moritz: I have to go pls ask me when you can :)
08:19 netrino_ joined
antoniogamiz yep I knew that, I only thought it had another purpose (because of %routines-by-type) 08:20
08:21 antoniogamiz left 08:26 domidumont joined 08:27 Manifest0 left 08:33 Manifest0 joined 08:34 domidumont left 08:42 Manifest0 left
jnthn . 08:47
yoleaux 01:07Z <Xliff> jnthn: Is this indication of uint8 being interpreted as signed: use NativeCall; class A is repr('CStruct') { has uint8 $.aa is rw; }; my $c = A.new(aa => 250); $c.gist.say # -6
jnthn .tell Xliff Yup, the value seems to match up with that hypothesis.
yoleaux jnthn: I'll pass your message to Xliff.
08:49 Manifest0 joined 08:52 AlexDaniel joined, netrino_ left 08:55 dominix_ left 08:59 netrino_ joined 09:01 Manifest0 left 09:02 angelds joined 09:05 Manifest0 joined 09:13 Manifest0 left 09:16 molaf joined 09:17 Manifest0 joined 09:24 yqt joined 09:31 netrino_ left
holyghost .tell Xliff There's code for drawing GameObjects, Entity, MovingEntity and Sprites, I've put comments in all relevant files. This afternoon I'm going to try to put the first game subsystem in for starting out the game by drawing a Room (.pm6) in the main-loop 09:33
yoleaux holyghost: I'll pass your message to Xliff.
holyghost Now, I'm going to drink something, Daemons and Dragons await me at its end :-) 09:34
09:35 Manifest0 left 09:38 netrino_ joined 09:41 Manifest0 joined 09:45 Manifest0 left 09:50 Manifest0 joined 09:55 Manifest0 left 10:00 Manifest0 joined 10:01 jeromelanteri joined 10:08 molaf left 10:10 netrino_ left 10:15 ravenousmoose joined 10:17 netrino_ joined, leont left 10:23 Manifest0 left 10:27 vrurg left 10:29 Manifest0 joined 10:34 donaldh joined 10:43 molaf joined 10:49 netrino_ left
holyghost There, the first game model is in place (Rogue0), now I need to add images so it actually paints and updates them 10:54
10:56 netrino_ joined
jmerelo holyghost: it's not there until it's tested. 10:57
holyghost: or, for that matter, compiled. This line will not compile: $!entities = \$!room.levitate-entities; 10:58
holyghost: I can't emphasize enough the need to test something before even doing a commit. Not to mention compile it, of course. 10:59
holyghost: this is not correct Perl6: $*($!entities). I don't even know what it is. 11:00
I fail to understand why you keep doing this. Producing lines and lines of non-compiled code and posting them here, or telling the channel that you have done, is a drag on everyone's time. 11:02
Months ago, when you started doing this, we were eager and willing to help. Even patch your code so that it compiles. But my patiencen run thin a long time ago. 11:03
You simply don't want your code to compile, don't want to learn Perl 6, don't have any intention of reading the links or material that we have handed to you. 11:04
lizmat suspects holyghost is an AI with not so much I 11:05
jmerelo holyghost: So I give up here. Please don't ask anything else for me, don't tell me to check the code you haven't even bothered to try and compile, don't tell you're programming the next teleporting sphere. I'm not asking, don't tell. 11:08
holyghost I'll not mention my code anymore then, I just wanted to say I worked some more 11:11
I do understand the issues, I'll talk about it when Xliff and me debug it 11:12
jmerelo holyghost: everyone is working here. Most people don't talk about that. And most people here do bother to compile what they've written.
holyghost: debug is when there's a bug. That's when you actually run something and run into an unexpected output when you test. In order to debug, you need to run _and_ test. 11:13
Voldenet >I can't emphasize enough the need to test something before even doing a commit.
Voldenet rolls eyes
Is that really necessary?
jmerelo holyghost: you haven't done any of that.
Voldenet: it apparently is. I wish it would not, but it seems to be. 11:14
holyghost I concur that repositoried code should compile in the first place 11:16
11:17 kurahaupo left
holyghost anyway, I've written the basics of the graphics routines for my game entities 11:20
I am just into making non-lvalued reference code
which might be cool
the reverse I mean, lvalue 11:21
*lvalued
11:28 netrino_ left 11:33 llfourn joined 11:35 netrino_ joined
holyghost Xliff, if you're awake, there's a simple graphics system in place, we need to paint a Plains bg then by next week I'll add these bmp image files 11:41
Then it needs to paint each entity instance in the Plains room 11:42
I need to insert these, again I need to make or put in graphics for it
Later on, I will insert more game subsystems for gameplay etc 11:43
That's it, I'm a bit afk now
11:56 zakharyas left 12:07 netrino_ left 12:14 netrino_ joined 12:16 ribasushi left 12:21 Ekho left 12:22 ribasushi joined 12:25 yqt left 12:26 niceplace left 12:29 niceplace joined 12:32 MasterDuke joined
MasterDuke Another HN thread where a perl6 comment might be relevant news.ycombinator.com/item?id=20049491 12:33
12:36 MasterDuke left 12:38 Ekho joined 12:43 rindolf left 12:44 Manifest0 left 12:46 netrino_ left 12:49 Manifest0 joined 12:53 netrino_ joined 12:59 Manifest0 left 13:00 rindolf joined 13:05 Manifest0 joined 13:07 wbn left 13:09 jmerelo left, wbn joined 13:17 vrurg joined 13:19 reach_satori_ left 13:21 lgtaube left 13:25 netrino_ left 13:32 netrino_ joined 13:36 Manifest0 left 13:42 veesh left 13:43 Manifest0 joined 13:46 veesh joined 13:48 zakharyas joined 13:51 veesh left 13:55 veesh joined 13:57 pecastro joined 13:59 ijneb left 14:00 khisanth_ left 14:01 veesh left, ravenousmoose left 14:03 veesh joined 14:05 netrino_ left 14:08 bfisher joined 14:11 netrino_ joined 14:13 khisanth_ joined 14:14 ravenousmoose joined 14:21 angelds left 14:22 MilkmanDan left, Manifest0 left 14:23 MilkmanDan joined 14:24 bfisher left 14:27 Manifest0 joined 14:31 Manifest0 left 14:32 ravenousmoose left 14:37 Manifest0 joined 14:38 ravenousmoose joined 14:44 netrino_ left 14:50 lgtaube joined, netrino_ joined, SCHAPiE left 14:54 scimon joined 14:56 Manifest0 left 14:57 SCHAPiE joined 15:01 Manifest0 joined, jmerelo joined 15:05 veesh left 15:07 veesh joined 15:13 wbn left 15:14 veesh left
El_Che weekly: 15:14
notable6 El_Che, 9 notes: gist.github.com/749f121e6060a1ec6a...0354061814
El_Che weekly: groups.google.com/forum/m/#!msg/go...b9qxB2BAAJ ian's comment
notable6 El_Che, Noted!
15:16 wbn joined 15:21 ijneb joined 15:22 netrino_ left 15:26 sena_kun joined 15:29 netrino_ joined, reach_satori joined 15:31 Manifest0 left 15:34 robertle joined 15:36 Manifest0 joined 15:41 molaf left 15:49 veesh joined 15:55 ncz joined 15:56 ncz left, veesh left 15:57 Manifest0 left 15:59 skids joined 16:02 netrino_ left 16:04 Manifest0 joined 16:08 netrino_ joined 16:09 Manifest0 left 16:15 Manifest0 joined 16:21 donaldh left, ravenousmoose left 16:22 dakkar left 16:25 scimon left 16:35 freddykiks joined, Manifest0 left 16:36 veesh joined 16:40 Manifest0 joined, netrino_ left
16:47 netrino_ joined
16:53 molaf joined 16:55 Manifest0 left
holyghost Xliff, I've put a MILESTONES.txt in the main game directory 16:55
Geth doc: ffca8b2b49 | (JJ Merelo)++ | doc/Language/faq.pod6
Fixed #2830

This makes lines longer that they should be... Anyway, fair is fair. Thanks for the report.
16:58
synopsebot Link: doc.perl6.org/language/faq
16:59 Manifest0 joined 17:08 jeromelanteri left 17:15 lucasb joined 17:19 netrino_ left 17:24 Manifest0 left
holyghost Xliff, I've started the game subsystems' documentation in lib/Paganvisions2.pm6 (it's a pod6) 17:24
17:26 netrino_ joined 17:30 Manifest0 joined 17:48 zakharyas left 17:54 |oLa| joined 17:58 |oLa|1 left 17:59 netrino_ left 18:05 netrino_ joined
tobs m: gather LOOP: loop { last LOOP; } 18:07
camelia ( no output )
tobs m: gather LOOP: loop { last LOOP; NEXT {} }
camelia labeled last without loop construct
in code at <tmp> line 1
in block <unit> at <tmp> line 1
tobs That doesn't seem right, does it? 18:08
m: LOOP: loop { last LOOP; } 18:09
camelia ( no output )
tobs m: LOOP: loop { last LOOP; NEXT {} } # slightly different without gather
camelia labeled last without loop construct
in block <unit> at <tmp> line 1
tobs ah, it was only different in the REPL
ah, great, it's in R#2699 already 18:10
synopsebot R#2699 [open]: github.com/rakudo/rakudo/issues/2699 [phasers] Labeled last/next doesn't work with FIRST/LAST/NEXT phasers
holyghost Xliff, you should know that all depends on the rendering methods for mepersonally, the rest of the game subsystems I can write with testing them. The graphics pipeline is all I cannot test as my SDL2 is FUBAR
Xliff, everything else will be modular, so you can e.g. test a physics subsystem or collisions with numbers in t/ dir 18:13
After that, I only need a tester for mouse button collision (a motion or button click is just a tuple) 18:14
Then I can manage, I hope I can give you the graphics system by next week, I'd like to debug on Tuesday. 18:15
So keep that day free somewhere at GMT+2 18:16
.tell Xliff I'd like to debug the graphics system on Tuesday at GMT+2 18:17
yoleaux holyghost: I'll pass your message to Xliff.
holyghost Life is good :-) 18:18
I'm going to try to make my Zero-Day Warez compile tomorrow 18:23
beertime for the right-minded ! 18:24
Xliff, hm, the beerware license :-) 18:26
If there's perl6 module hackers with time on their hands that want to help out on github.com/theholyghost2/PaganVisions2, a multi-type game system + games themselves, I need bmp graphics and code, see the MILESTONES.txt file there 18:31
Sorry, after Tuesday I meant
Game subsystem start of docs is in lib/PaganVisions2.pm6 (a pod) 18:32
Arm yourselves :-) 18:33
I probably need a RandomNumberGod class, again $rng.rolld4, those kind of things 18:35
18:37 netrino_ left 18:41 jmerelo left 18:44 netrino_ joined 18:46 freddykiks left 18:51 Manifest0 left 18:53 domidumont joined 18:54 domidumont left 18:55 Manifest0 joined 19:06 Manifest0 left 19:07 scott is now known as riot_scott 19:09 leont joined 19:11 Manifest0 joined
holyghost hi leont 19:11
leont Hi
19:11 riot_scott left 19:13 Guest84315 joined, Guest84315 is now known as scott, scott left, scott joined, scott left, scott joined 19:16 andrzejku joined 19:17 bfisher joined 19:18 netrino_ left 19:23 netrino_ joined 19:39 Manifest0 left 19:42 netrino__ joined 19:43 scott left 19:44 scott joined, netrino_ left 19:45 Manifest0 joined 19:49 Manifest0 left 19:51 scott is now known as riot_scott, riot_scott is now known as scott 19:55 Manifest0 joined 20:01 mowcat joined, mowcat left, mowcat joined 20:03 holyghost left, melezhik left 20:10 ufobat__ joined 20:14 ufobat_ left 20:15 noisegul left 20:27 Manifest0 left 20:33 Manifest0 joined 20:40 Manifest0 left 20:44 dolmen joined, Manifest0 joined 20:52 dolmen left 20:53 Manifest0 left 20:55 andrzejku left
Altreus can someone tell me what's wrong with this schema? gist.github.com/Altreus/bb16ce6697...9378707e4b 20:56
SmokeMachine: if I may ping you regarding my Red question :)
20:56 AlexDaniel left 20:57 AlexDaniel joined 20:58 Manifest0 joined
SmokeMachine Altreus: are you using the Schema.pm6 or just the deploy.p6? 20:59
Altreus oh woops, I mis-pasted 21:00
hang on
SmokeMachine: Fixed ^_^
omg
nearly fixed
I must be tired
OK now it's right 21:01
SmokeMachine gist.github.com/FCO/bb44970049115b...3c81378b85
Altreus hum
SmokeMachine Altreus: oh! good! what was the problem?
Altreus in that case...
no sorry I meant the gist was finally right xD 21:02
SmokeMachine it worked here...
Altreus hmm yes 21:03
it works if I run it like you did
But the same stuff in files does not work
SmokeMachine let me try it...
Altreus I tried: perl6 -I . -I ~/src/Red/lib deploy.p6 21:04
current aster
master
SmokeMachine same problem here... I'm taking a look... www.irccloud.com/pastebin/yO30rq43/ 21:07
Altreus nice, glad it's not just me :D 21:08
Thanks for jumping on it ^_^
SmokeMachine it seems to be a bug on the indirect relationship... 21:12
because this works... www.irccloud.com/pastebin/zpuYMmSl/
hum!!! I think I know! 21:13
Yes... 21:15
Altreus: the indirect relationship tries to require a module with the same name of the model you asked... 21:16
so, that's why it's trying to `require` a Organisation that do not exists... 21:17
Altreus I thought that, but your examples work
Why doesn't it happen to Person and Post in blog2?
or even just blog
SmokeMachine you can change that passing the argument `:require`
like this:
www.irccloud.com/pastebin/aI8O8mug/
Altreus Nice, good thinking putting a workaround in 21:18
SmokeMachine Altreus: on that examples, each model is in its own file...
Altreus in blog, it's in a Schema file 21:19
SmokeMachine Altreus: Person is on a Person.pm6 file and Post is on a Post.pm6 file...
Altreus oh wait, I confused myself
Yeah, I tried doing it that way too, but I wanted it to be in MyApp::Schema::Organisation
and it got *really* verbose
And this Schema.pm6 doesn't use the indirect form: github.com/FCO/Red/blob/master/exa...Schema.pm6 21:20
I was only using the indirect form because they were in different files before... which means I can try something...
SmokeMachine yes, because everything is defined in the same file...
Altreus: got it... 21:21
Altreus: would you mind to do me a favor?
Altreus: could you open a issue asking to make it more explained on the docs? (I hope some day we can have a good doc...) 21:22
21:22 cpan-p6 left
Altreus I can do that 21:22
I have changed my schema to use the direct form, since I can do that :)
SmokeMachine Altreus: and I would love to know what are you thinking of Red so far...
Altreus Confusing :D! 21:23
SmokeMachine :)
Altreus I'll let you know when I've written real code now that I've solved this
But I think I like the way it fits together, using Perl6 magic
21:23 netrino__ left
SmokeMachine :) great to know... if you find anything confusing again, please let me know! 21:24
21:24 cpan-p6 joined, cpan-p6 left, cpan-p6 joined
Altreus thanks, I will ^_^ 21:25
I'll add a bit more info to this issue as well
SmokeMachine yes, please!
21:31 leont left
Altreus I submitted it with a thought but I am not certain whether it is even sensible because I'm also still learning perl6 in the first place ^_^ 21:36
SmokeMachine Altreus: Red do not use global state... 21:42
Altreus hmm it uses $*RED-DB and stuff 21:46
how does that work?
Tempted to spend my work day tomorrow trying to learn the Red code :D
SmokeMachine $*RED-DB is a dynamic variable... not global... 21:48
Altreus: perl6.online/2018/10/31/dynamic-va...in-perl-6/ 21:49
Altreus: please! do it!!! if you want, we are needing some help as well! :)
Altreus ahh like local in perl5
except better
21:51 mowcat left
SmokeMachine but about $*RED-DB, vrurg has suggested a better solution for that (github.com/FCO/Red/issues/153) it's in experimental state currently... 21:52
(but it internal uses $*RED-DB...) 21:53
21:58 Manifest0 left 22:03 Aceeri joined 22:04 Aceeri left, Manifest0 joined 22:09 netrino__ joined 22:15 Voldenet left 22:24 kurahaupo joined 22:26 rindolf left, Voldenet joined, Voldenet left, Voldenet joined 22:31 Voldenet left, netrino__ left 22:35 Voldenet joined, Voldenet left, Voldenet joined 22:38 netrino__ joined 22:41 SCHAPiE left 22:43 SCHAPiE joined 22:50 Manifest0 left 22:56 Manifest0 joined, Voldenet left 23:02 Voldenet joined, Voldenet left, Voldenet joined 23:07 Manifest0 left 23:13 Manifest0 joined
lizmat weekly: dev.to/melezhik/azure-automation-w...rrow6-45eh 23:14
notable6 lizmat, Noted!
23:17 sena_kun left 23:20 netrino__ left 23:22 netrino__ joined, Manifest0 left 23:25 pecastro left 23:27 Manifest0 joined 23:36 Manifest0 left 23:41 Manifest0 joined 23:55 netrino__ left