🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel! Set by lizmat on 6 September 2022. |
|||
00:25
guifa_ joined,
guifa_ left
01:07
hulk joined
01:08
kylese left
01:10
topnep left
01:11
topnep joined
02:15
hulk left,
kylese joined
03:10
gabiruh left
03:11
gabiruh joined
03:15
topnep left,
topnep joined
03:38
_________ left
03:45
kylese left
03:48
kylese joined
04:04
_________ joined
04:12
guifa left
04:31
gordonfish left,
gordonfish joined
04:52
Aedil joined
05:19
topnep left
05:21
topnep joined
06:16
gordonfish left,
gordonfish joined
06:40
apac joined
07:22
apac left
07:25
topnep left
07:26
topnep joined
07:29
Sgeo_ left
07:45
wayland76 joined
|
|||
wayland76 | [Coke]: I've been using "zef --depends --build-depends --test-depends install ." and it installs the package as well. If I leave out the '.' it throws a usage message. The usage message indicates that the . is optional. | 07:51 | |
tellable6 | 2025-05-08T23:40:30Z #raku <japhb> wayland76 The --depends option, I believe | ||
2025-05-08T23:58:13Z #raku <[Coke]> wayland76 zef install --deps-only . | |||
wayland76 | Oh, --deps-only -- I missed that comment. | 07:52 | |
07:53
sjm_ joined
|
|||
wayland76 | Yeah, that works. Thanks! | 07:55 | |
08:28
lichtkind joined
08:39
lizmat left
10:04
sjm_ left
10:13
sjm_ joined
11:14
donaldh left
|
|||
ab5tract | Does anyone have experience building a modern PWA that is entirely intended to run on locally? | 11:28 | |
Or should I just stop fighting and use Electron? | 11:29 | ||
11:36
topnep left
11:39
topnep joined
11:43
topnep left,
cmburn1 joined,
topnep joined
11:45
cmburn left
11:51
Guest18 joined,
lichtkind left
12:32
apac joined
|
|||
[Coke] | ./win 13 | 13:04 | |
13:08
apac left
13:10
sjm_ left
14:13
lichtkind joined
14:20
apac joined
14:46
PaulW2U joined,
apac left
14:57
apac joined
15:08
Sgeo joined
15:18
apac left
16:39
wayland76 left
16:40
wayland76 joined
|
|||
[Coke] | kicked off a 3d print job with filament that is colored/textured like wood. | 16:42 | |
... it smells like a firestarter when printing. | |||
is there actually *wood* in here? wtf. | |||
coranila | according to google, yes, wood filament contains 15% wood | 16:44 | |
tellable6 | 2025-05-08T09:31:04Z #raku <wayland76> coranila Thanks! | ||
coranila | kinda makes sense too; lignin and cellulose don't really mind the temperatures most FDM printers print at; inventing synthetic wood-likes seems harder | 16:45 | |
17:00
apac joined
17:21
apac left
18:10
melezhik joined
|
|||
melezhik | weekly: sparrowdo.wordpress.com/2025/05/09...jobs-flow/ | 18:10 | |
notable6 | melezhik, Noted! (weekly) | ||
melezhik | if someone would read this I'd appreciate any feedback ( typos, logical flaws, style improvements, whatever ) - thanks | 18:11 | |
18:12
melezhik left
18:28
lizmat joined
18:30
lizmat left
18:31
lizmat_ joined
18:49
apac joined
|
|||
Voldenet | ab5tract: I have and indexedDB is surprisingly good api | 19:06 | |
19:07
wayland joined,
wayland76 left
|
|||
Voldenet | but electron apps don't suffer from many problems – they don't get suspended, they don't share thread with js scripts on other pages | 19:08 | |
if you design it well (with typescript's interfaces), you can share a lot of the code between environments | 19:11 | ||
19:15
abraxxa-home joined
19:18
stanrifkin joined
19:30
abraxxa-home left,
Guest18 left
19:31
Aedil left
20:09
abraxxa-home joined
|
|||
melezhik. | Also cross posted this to HN - news.ycombinator.com/item?id=43939889 , please vote if you like , thanks | 20:10 | |
20:16
lizmat_ left
20:17
lizmat joined
21:22
Xliff joined
|
|||
Xliff | \o | 21:22 | |
Is anyone now using RakuAST in any of their own projects? | 21:23 | ||
[Coke] | 12 | 21:26 | |
21:37
abraxxa-home left
|
|||
Xliff | [Coke] - You have 12 projects using RakuAST? | 21:45 | |
wayland | melezhik: 2 problems. 1. The first paragraph in the Sparrow Integration section contains a run-on sentence. Either split into multiple sentences, or use other punctuation (semicolons, em-dashes), or both. | 22:00 | |
2. The text is pretty clear, but the diagram isn't. In the first diagram, I get the first line, but not sure what the rest are doing. | 22:01 | ||
In the second diagram, it's not clear what all the parts inside "node i" are doing. Nor is it clear how the tasks relate to the Sparrowhub repo. | 22:02 | ||
Might be worth asking an AI to turn them into UML SVG diagrams, and then see if they make sense that way. | |||
(I mentioned UML because it's conventionalised, so it's easier to understand what's going on, since it's familiar) | 22:03 | ||
Maybe tell the AI to ask you clarifying questions as well. | |||
[Coke] | Xliff: ww | 22:04 | |
wayland | Xliff: Yes-and-no. I'm using the RakuAST branch because it fixes bugs that annoy me, but I'm not using the actual RakuAST for anything yet. | ||
I tried building Signatures with it manually at one point, but ran into a bug doing that, and haven't gone back to it. | 22:05 | ||
The Signatures effort was part of a Logic Programming idea that's probably 3rd or 4th on the list (after Table-Oriented Programming and Tree-Oriented Programming). | 22:06 | ||
22:11
cmburn1 left
22:24
lichtkind left
|
|||
Xliff | weyland: So is signature creation still borked? | 22:32 | |
Because I would love a way to make reusable signatures for NativeCall function pointers. | 22:33 | ||
Yeah... so why can't you use a Signature in a sub declaration? | 22:37 | ||
m: use NativeCall; my $s = :(uint32, num64, Pointer); $s.^name.say; sub mySub ($s) { ... }; | |||
camelia | Signature | ||
Xliff | That doesn't work because the original definition of $s is no longer in scope. | 22:38 | |
Hence my desire to see if I can get it working via RakuAST | |||
22:46
lizmat left
|
|||
wayland | Xliff: github.com/rakudo/rakudo/issues/5591 | 22:47 | |
timo | at the very least it would have to be a constant rather than a lexical variable | ||
wayland | I haven't tested in nearly a year now, so it may work. | ||
I'd like to put Signatures on tables at some point (so that people can only push in correct data), but haven't gotten there yet. | 22:49 | ||
Xliff | Nope. Not fixed. | 22:53 | |
timo | how are you trying to use it? | ||
Xliff | timo: Running the given code | 22:54 | |
timo | ah, that is never going to work like that though | ||
you're just declaring a sub that takes an argument and calls it $s | |||
the $s in that spot isn't related to the $s from outside | |||
Xliff | Oh, I know that. I'm talking about weyland's from 5591 | ||
I'm thinking the only way my thing is going to work is if I send it through RakuAST. | 22:55 | ||
Then I can feed the signature through the sub declaration nodes. | |||
timo | ah | 23:02 | |
23:13
lichtkind joined
|
|||
SmokeMachine | m: say [1,2,3] ~~ [*,*,*] # if this is true... | 23:18 | |
camelia | True | ||
SmokeMachine | m: say %(:bla("1"), :ble("2")) ~~ %(:bla(*), :ble(*)) # should this also be true? | 23:19 | |
camelia | False | ||
timo | there doesn't seem to be a behaviour of ACCEPTS for Map - Map | 23:23 | |
m: say <bla ble> ~~ %(:bla(*), :ble(*)); | 23:24 | ||
camelia | True |