🦋 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:05
thaewrap1 left
00:07
thaewrapt joined
00:22
human-blip joined
|
|||
coleman | I don't think it can, at least not like Sublime or VS Code. You have some main "anchor" features in JetBrains-style IDEs, such as the project view | 00:25 | |
antononcube | @wayland76 "Does anyone know if Comma can do multiple windows?" -- Yes. | 01:04 | |
01:29
nine left
01:30
nine joined
01:43
kylese left,
kylese joined
02:15
kylese left,
kylese joined
02:30
kylese left
02:35
kylese joined
04:01
beastieboo_ joined
04:04
beastieboo left
04:05
beastieboo_ left
04:06
beastieboo_ joined
04:19
beastieboo_ left,
beastieboo_ joined
|
|||
wayland76 | Took me a while, but I figured it out (grab the editor tab and drag it outside the window). Thanks antononcube -- I wouldn't've looked as hard had you not told me it was possible :) . | 04:42 | |
05:01
soverysour joined,
soverysour left,
soverysour joined
05:03
jpn joined
05:10
wayland76 left
05:13
wayland76 joined
05:38
soverysour left
05:48
soverysour joined,
soverysour left,
soverysour joined
06:10
soverysour left
06:23
soverysour joined,
soverysour left,
soverysour joined
06:37
Sgeo left
07:11
jpn_ joined
07:13
jpn left
07:21
soverysour left
|
|||
wayland76 | I've seen the basic Singleton examples around the place, but is there a fuller example hiding in a package somewhere that I can look at? | 07:22 | |
07:28
thaewrapt left
|
|||
wayland76 | Actually, I've figured out what I wanted. Sorry to disturb everyone :) | 07:28 | |
07:31
thaewrapt joined
07:36
thaewrapt left
07:37
soverysour joined
07:47
thaewrapt joined
07:52
jpn_ left,
dawids joined
08:17
soverysour left
08:23
thaewrapt left
08:35
thaewrapt joined
08:39
thaewrapt left
08:50
thaewrapt joined
08:55
thaewrapt left
08:57
beanbrain left
09:06
thaewrapt joined
09:12
thaewrapt left
|
|||
antononcube | This resource access class uses Singleton: github.com/antononcube/Raku-Chemis...ss.rakumod | 09:16 | |
I pretty much followed the example in docs.raku.org . | |||
(We do not want to read/ingest the multi-language chemical elements data every time some function of that package is invoked.) | 09:18 | ||
09:22
thaewrapt joined
09:27
thaewrapt left
09:38
thaewrapt joined
09:44
thaewrapt left
09:54
thaewrapt joined
10:02
thaewrapt left
10:05
jpn joined
10:12
thaewrapt joined
10:19
thaewrapt left
10:20
thaewrapt joined
10:24
andinus left
10:26
thaewrapt left
10:28
andinus joined
10:38
thaewrapt joined
10:43
thaewrapt left
10:54
thaewrapt joined
10:55
soverysour joined
10:59
thaewrapt left
11:10
thaewrapt joined
11:16
thaewrapt left
11:20
thaewrapt joined
11:26
thaewrapt left,
soverysour left
11:27
soverysour joined,
soverysour left,
soverysour joined
11:36
thaewrapt joined
11:42
thaewrapt left
11:46
thaewrapt joined
12:08
teatime joined
12:10
soverysour left
12:11
jpn left
12:14
soverysour joined
13:07
soverysour left
13:12
soverysour joined,
soverysour left,
soverysour joined
|
|||
Another set of namespace questions. I am working on a package for graph algorithms — the discrete mathematics structure called “graph.” | 13:35 | ||
I was considering the namespace “Math::Graph”, but I see in the Perl5 ecosystem there is a “Graph” package. Should I use that name? | 13:36 | ||
Graphs can be seen as not just mathematical, or course, but also a “computer science” domain. | 13:38 | ||
I think, using something like “GraphTheory” would give too high hopes… | 13:40 | ||
Here is the Perl5 “Graph”: metacpan.org/pod/Graph | 13:43 | ||
Here is the one I am working on: github.com/antononcube/Raku-Graph | 13:45 | ||
Needless to say Graph theory is huge. But certain algorithms like path and cycle finding are relatively easy to implement and fundamental mathematics-wise and computer-science-wise. | 13:49 | ||
lizmat | FWIW, Graph:: look ok to me | 13:50 | |
antononcube | @lizmat Great, thanks! | 13:51 | |
BTW, I was considering re-programming Perl5’s “Graph” into Raku, but it turned out it was easier to write the algorithms directly in Raku. (To me at least…) | 13:52 | ||
Having the fast shortest path finding in graphs is going to be quite a booster for the Geography related projects I am currently focusing on… | 13:53 | ||
So, I far have tested Raku’s “Graph” path finding algorithms on very small graphs. | 13:54 | ||
lizmat | getting the exact semantics in the P5 modules was way more difficult than getting the functionality :-) | ||
antononcube | What do you mean? The naming of the class methods according to Graph theory’s glossary? | 13:59 | |
lizmat | I mean, it makes more sense to re-imagine in Raku :-) | 14:00 | |
antononcube | Haha — ok, yeah. | 14:01 | |
@lizmat I strongly suspect Graph path and cycle finding can be good showcases of “ParaSeq”. | 14:04 | ||
lizmat | I hope so :-) | 14:05 | |
antononcube | The question is how explicit that should be — inside “Graph”, as method options, or an outside modifier. | ||
lizmat | maybe you wouldn't need to make that choice: ParaSeq should be good enough for >>.foo | 14:08 | |
14:08
jpn joined
|
|||
antononcube | This is what I meant by “outsider modifier”. | 14:09 | |
lizmat | ah, ok :-) | 14:10 | |
antononcube | This might become an important question soon, since I need “Graph” on fairly large graphs. (Like country / continent route network graph.) | ||
14:13
jpn left
|
|||
lizmat | antononcube ParaSeq.hyperize(x, $degree) will *not* hyperize at all for $degree == 1 | 14:55 | |
so it could be as simple as providing a "degree" argument, defaulting to 1 | 14:56 | ||
15:00
teatime left
|
|||
antononcube | Yeah, sounds good. | 15:12 | |
15:23
jpn joined
15:28
jpn left
15:45
soverysour left
15:46
soverysour joined
15:52
jpn joined
15:58
jpn left
15:59
soverysour left
16:00
jpn joined
16:04
soverysour joined,
soverysour left,
soverysour joined
16:11
jpn left
16:41
wayland joined
16:42
wayland76 left
17:14
dawids left
|
|||
librasteve | tbrowder: sorry, I just don't like POD6 - that doesn't mean that its bad, or not useful, or not popular - it just means that it's not for me ... it's akin to my dislike of Java ... in the case of POD6 the feeling comes from the idea that with MD you can do 80% if what POD can do - but I can do that in GitHub, in Bear, in PYNBs ... and MD is already my word processor of choice, for example I write business plans, | 17:14 | |
action trackers and so on in it all the time | |||
17:15
soverysour left
|
|||
so maybe I'm a one off, or maybe there's a set of raku newbies who like the idea of embedding docs in code in literate programming style but who would like to use MD rather than learn POD ... if so, then a POD directive such as =begin md / =end md (that maybe turns on MD to POD conversion) would be appreciated | 17:18 | ||
gist.github.com/librasteve/fb00312...efd5d5bd59 | 17:22 | ||
^^ for now, I wrote a utility "ramd" that #| takes markdown file and evals all code lines delimited by '```perl6 xxx ```' | 17:26 | ||
17:27
jpn joined
17:46
Sgeo joined
17:48
soverysour joined
17:53
soverysour left
18:22
soverysour joined,
soverysour left,
soverysour joined
18:27
soverysour left
18:34
soverysour joined
18:35
jpn left
18:50
teatime joined
19:15
wlhn left
19:21
jpn joined
|
|||
tbrowder | librasteve: good idea. you should ensure pod6.2 has something like that, and antononcube’s Markdown::Grammar could probably deal with it. i have never liked markdown, nor did i like perl pod particularly. but i do love github’s markdown rendering. | 19:53 | |
19:53
jpn left
20:08
ecocode left
20:33
wafflus joined
|
|||
librasteve | tbrowder: thanks for the feedback .... I will take a look at pod6.2 and maybe aim for a PR | 20:53 | |
21:29
soverysour left
21:56
thaewrapt left
21:58
thaewrapt joined
22:08
ecocode joined
22:11
jpn joined
22:18
jpn left
22:23
wlhn joined
|
|||
[Coke] | folks, I will not be stopping in at the raku con - flight got canceled for the thing I was flying out for, I'll miss that, so not going at all. | 22:23 | |
22:47
jpn joined
22:52
jpn left
22:58
jpn joined
22:59
bdju left
23:01
bdju joined
23:02
DarthGandalf joined
23:04
jpn left,
wafflus left
23:35
wlhn_ joined
23:38
wlhn left
23:43
jpn joined
|
|||
antononcube | @Coke That is good way to manage gambling addictions — not going to Vegas at all! | 23:45 | |
23:48
jpn left
|