Raku Conference Day 2 on Youtube: www.youtube.com/watch?v=BL9-XdC9WYI 🦋 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 14 August 2022. |
|||
00:01
jaguart joined
|
|||
Xliff | tonyo++ # Already there! :) | 00:03 | |
guifa_: Um... applications to install? Casks to pour? | |||
00:04
phogg joined
00:06
reportable6 left
00:08
reportable6 joined
|
|||
tonyo | if you're a bash user then you can upgrade the ancient version that ships with osx using brew | 00:08 | |
guifa_ | Ah, I think you meant just for Raku stuff | 00:10 | |
00:13
jgaz left
00:14
jaguart left,
jaguart joined
|
|||
Xliff | guifa_: Well... Raku stuff too. | 00:17 | |
I have Raku and brew setup. | |||
tonyo: Yeah, I had a time upgrading to Bash 5. I'm still on zsh until I get that fixed. | 00:27 | ||
tonyo | what's the issue? if you install via brew you need to add it to /etc/shells so chsh allows it | 00:28 | |
Xliff | Yeah, and when I do that, stuff like "brew" stops working. | 00:29 | |
So I have to get my path straight. | |||
tonyo | oh -- heh , guessing you need to add the right shell hooks to ~/.bash_profile | ||
Xliff | Yeah... and I just haven't had the time to. | 00:30 | |
I'm on the PC, right now. | |||
Trying to find an answer to some issue that might affect my embryonic Gnome Shell raku bindings. | 00:31 | ||
770,000 lines of Raku and growing. | |||
guifa_ | If you have any non-Apple-based wireless speakers, Airfoil is a pretty obligatory program — makes it easy for me to stream to other types of speakers | 00:44 | |
guifa_ uses a Mac, but is firmly in camp Google for everything but his desktop OS | |||
Textual is the better IRC client if you want something modern. Otherwise, standard command line ones work fine ofc | 00:47 | ||
Xliff | Can I download Textual? I currently am waiting for Apple to restore my itunes account. | 00:51 | |
Aha! I can. | 00:53 | ||
And I did. | |||
01:00
XliffyMac joined
|
|||
jaguart | so newbie opinion - pod6 is a pita - convince me I'm wrong please | 01:06 | |
tonyo | i | ||
XliffyMac | OK, how can I set the font size for the user list in Textual? | ||
tonyo | i've used pods for years, i don't disagree | ||
XliffyMac | I love the Pre and Post declarator PODs. Just ask guifa. | 01:07 | |
jaguart | yeah - nah, better in other lang/tooling. dont understand why Raku brought pod along | 01:08 | |
XliffyMac | gist.github.com/Xliff/c78fb770c8b1...bdb007e9c6 | ||
tonyo | that and TAP | ||
jaguart | Xliff - that is nice - but =head Heading and =item1 blah | 01:10 | |
tonyo | @xliff more interesting to me would be a slang that behaves like datalog for querying sqls | ||
XliffyMac | tonyo: Got a link? | 01:11 | |
tonyo | en.wikipedia.org/wiki/Datalog | ||
i'll write your examples in datalog-ish | |||
Xliff | Cool! Toss 'em in the gist comments. | 01:15 | |
Something like this? | |||
docs.xtdb.com/language-reference/d...g-queries/ | |||
guifa_ | Xliffy: I'm not sure on that one, I haven't styled it too extensively (plus I like fairly small text personally....one of my gripes about apple's new UIs being all iOS-y with way too much whitespace) | ||
Xliff | guifa_: Ah, no worries. Thanks! | ||
guifa_ | I don't mind pod6. Though, to be fair, I don't use all of its features that extensively. But I like the idea of them. Definitely a few things I'd change though but there's some room for growth I think at leat while its not super highly adopted in the wild outside of Rakudocs | 01:18 | |
01:21
XliffyMac left
|
|||
jaguart | what bugs me is the unreadability of the =pod sections when viewing code. I'd replace the content with markdown | 01:24 | |
and the semantic sections - no real guidelines except cpan history | 01:25 | ||
which is ok - just not really defined, so varies enormously | 01:26 | ||
the main thing missing though is the javadoc equiv - complete interactive codebase exploration | 01:27 | ||
which probably will result in everyone rolling their own | 01:28 | ||
Xliff | Guys -- check the new comment I wrote here: gist.github.com/Xliff/c78fb770c8b1...bdb007e9c6 | 01:29 | |
jaguart | the beauty of your second comment is that you could extend support for non-sql or different flavours of sql | 01:31 | |
Xliff | jaquart: Yep. JUST made that point in an edit. | 01:32 | |
jaguart | one thing - most of my SQL is somewhat interpolated - even when the args are parameterised | ||
Xliff | jaguart: That is handled through a different mechanism. | ||
guifa_ | jaguart: that's one reason I've been slowly experimenting with it. Just like I'm trying to push for us having well coded modules early in the ecosystem to guide the way, I think I will eventually try to do a similar approach with POD6 | ||
Xliff | At that point, the query becomes more of a view and is processed like a template (and in many cases IS a template) | 01:33 | |
guifa_ | consistency of use will engender greater utility | ||
But there's also that huge chicken and egg problem | |||
Right now, everyone just uses Markdown because, well, README.md is enough and no one likes writing docs anyways | |||
jaguart | guifa: yes - imagine if you just embeded your README.md in your =doc section... | 01:34 | |
guifa_ | I think my initial push is going to be for a lot bigger use of declarator pod. That's fairly unambiguous in how it should be used, and is super IDE friendly | 01:35 | |
jaguart | I do like the declarators - they are easy to read | 01:36 | |
guifa_ | I've still been mulling over how best to use some of the other features for the best of literate coding with docs processing | ||
jaguart | I'd just like to adopt some recommends for markdown and javadoc-like standards | ||
guifa_ | But I'm going to need to do a lot of experimentation I'm sure before I get what I think works best | ||
jaguart | I'm of the opion that we just use what actually works in the wild | 01:37 | |
sure tweak it to make it rakuish, but why invent a new set of semantics | |||
and also why invent a new flavour of markdown | 01:38 | ||
tonyo | pod was around before markdown | 01:40 | |
jaguart | yes - and it shows :) | 01:41 | |
I'll probably ask again - docs are a bugbear of mine. I've written my thoughts at jaguart.tech/raku-pod6-is-a-pita | 01:43 | ||
I am off though - its 3:40 in France - au revoir | |||
tonyo | you could write a slang to use markdown rather than pod | 01:44 | |
and it would likely gain some success, particularly from non-perlers | |||
jaguart | tonyo: thanks - this newbie will look at 'slangs' | ||
01:52
jaguart left
|
|||
guifa_ | Slangs are fun | 01:58 | |
haha | |||
Of course I realized after releasing my recent slang I found I had accidentally commented out a bunch of tests | 01:59 | ||
and so there were a few bugs | |||
02:17
melezhik joined
|
|||
melezhik | o/ | 02:17 | |
02:18
pamplemousse left
|
|||
melezhik | .tell jjatria - I think this is something you might be interested to run PublicSuffix cron jobs - Cromtit - github.com/melezhik/Cromtit ( Cro(ntab) + Tomtit ) | 02:18 | |
tellable6 | melezhik, I'll pass your message to jjatria | ||
02:19
pamplemoussecach joined
02:23
melezhik left
03:23
reportable6 left
03:24
reportable6 joined,
notable6 joined,
greppable6 joined
03:25
bisectable6 joined,
committable6 joined,
bloatable6 joined,
coverable6 joined,
Xliff left,
nativecallable6 joined
03:26
statisfiable6 joined,
shareable6 joined,
unicodable6 joined,
quotable6 joined,
benchable6 joined,
releasable6 joined,
tellable6 joined,
evalable6 joined,
sourceable6 joined,
linkable6 joined,
squashable6 joined
03:57
pamplemoussecach left
04:57
perlbot joined,
simcop2387 joined
05:57
releasable6 left,
quotable6 left,
shareable6 left,
bloatable6 left,
bisectable6 left,
nativecallable6 left,
tellable6 left,
evalable6 left,
statisfiable6 left,
coverable6 left,
reportable6 left,
notable6 left,
committable6 left,
sourceable6 left
05:58
committable6 joined,
releasable6 joined,
reportable6 joined,
quotable6 joined,
shareable6 joined,
notable6 joined
05:59
statisfiable6 joined,
coverable6 joined,
bloatable6 joined,
tellable6 joined
06:00
evalable6 joined,
nativecallable6 joined,
sourceable6 joined,
bisectable6 joined
06:03
djerius joined
06:06
reportable6 left
06:09
reportable6 joined
06:30
kjp joined
06:33
camelia joined,
nine joined
06:34
m_athias joined
|
|||
Nemokosch | I don't know how using Mac aligns with the high ideals of Raku | 06:35 | |
06:53
samebchase joined
07:05
Sgeo left
07:24
jaguart joined
07:40
sena_kun joined
07:48
jaguart left
08:10
dakkar joined
|
|||
jjatria | melezhik: oh, interesting. I'll take a look! | 08:17 | |
tellable6 | jjatria, I'll pass your message to melezhik | ||
09:33
sena_kun left
10:31
sena_kun joined
11:31
linkable6 left,
evalable6 left
11:32
linkable6 joined
11:33
evalable6 joined
12:07
reportable6 left
12:09
abraxxa joined
12:10
reportable6 joined
12:11
abraxxa left
12:15
abraxxa joined
12:22
abraxxa left
12:23
abraxxa joined
13:06
jgaz joined
14:06
reportable6 left,
quotable6 left,
nativecallable6 left,
evalable6 left,
linkable6 left,
sourceable6 left,
shareable6 left,
notable6 left,
bloatable6 left,
statisfiable6 left,
bisectable6 left,
tellable6 left,
unicodable6 left,
committable6 left,
squashable6 left,
coverable6 left,
benchable6 left,
greppable6 left,
releasable6 left,
quotable6 joined,
committable6 joined,
reportable6 joined,
unicodable6 joined
14:07
statisfiable6 joined,
squashable6 joined,
sourceable6 joined,
greppable6 joined,
releasable6 joined,
shareable6 joined
14:08
bloatable6 joined,
nativecallable6 joined,
tellable6 joined,
coverable6 joined,
linkable6 joined
14:09
evalable6 joined,
benchable6 joined,
notable6 joined,
bisectable6 joined
14:17
Furor joined
14:41
Furor is now known as Colere
14:43
guifa joined
14:59
melezhik joined
|
|||
melezhik | o/ | 14:59 | |
tellable6 | 2022-08-17T08:17:47Z #raku <jjatria> melezhik: oh, interesting. I'll take a look! | ||
melezhik | .tell jjatria it's WIP, however is it something you might be into? Asking at the early state of design ... | 15:01 | |
tellable6 | melezhik, I'll pass your message to jjatria | ||
15:06
melezhik left
15:58
ajr joined
16:00
smimp joined
16:27
jgaz left
16:34
dakkar left
16:45
abraxxa left
16:51
Colere left
16:57
melezhik joined
|
|||
melezhik | . | 16:57 | |
16:58
Colere joined
17:00
Furor joined
17:03
Colere left
17:14
melezhik left
17:25
wafflus joined
|
|||
wafflus | is this a bug ("foobar" ~~ /foob|\w+?/ it returns f) but according to the manual is should return the longest possible match so i would expect it to return foob and not f | 17:30 | |
if i make it non greedy then is does work like i expect it to | |||
17:31
sena_kun left
17:46
pamplemoussecach joined
|
|||
lizmat | moritz_ ^^ | 17:47 | |
18:06
reportable6 left
18:08
reportable6 joined
18:09
sena_kun joined
|
|||
jjatria | I've been looking into what it would take to make PublicSuffix accept user-provided lists, and it's doing my head in | 18:11 | |
tellable6 | 2022-08-17T02:18:19Z #raku <melezhik> jjatria - I think this is something you might be interested to run PublicSuffix cron jobs - Cromtit - github.com/melezhik/Cromtit ( Cro(ntab) + Tomtit ) | ||
2022-08-17T15:01:21Z #raku <melezhik> jjatria it's WIP, however is it something you might be into? Asking at the early state of design ... | |||
jjatria | Because if I do, then it means that it could be loaded with two different lists in two different scopes | 18:12 | |
And since Raku likes to keep things lexical, what you'd expect is for those two scopes to have access to two different lists | |||
18:13
pamplemoussecach left
|
|||
jjatria | But then that means that the functions I export need to close over the list they were imported with | 18:13 | |
tonyo | m: say ('foobar' ~~ /foob|\w+?/); | 18:14 | |
camelia | ï½¢fï½£ | ||
tonyo | m: say ('foobar' ~~ /foob||\w+?/); | ||
camelia | ï½¢foobï½£ | ||
jjatria | And that's when I start wondering whether it makes sense to go through all that trouble... and the current automatic release with precompiled lists starts looking a hell of a lot more attractive | ||
tonyo | seems like that | and || is backwards, either in docs or in implementation | 18:15 | |
jjatria | You want different lists on different scopes? Import different versions. Easy. I might punt on this | ||
tonyo | m: say ('foobar' ~~ /fooc||\w+?/); | 18:16 | |
camelia | ï½¢fï½£ | ||
tonyo | m: say ('foobar' ~~ /fooc|\w+?/); | ||
camelia | ï½¢fï½£ | ||
wafflus | @tonyo thanks i'm never too sure as i'm a bit of a noob | 18:17 | |
18:18
pamplemoussecach joined
|
|||
tonyo | m: say ('foobar' ~~ /foob|\w+/); | 18:18 | |
camelia | ï½¢foobarï½£ | ||
tonyo | wafflus: part of it is that's not a very good regex since `foob` is a subset of `\w+` | ||
wafflus | well maybe of course its just an example i'm never quite sure which way is the better way when doing regexes but it does seem like a ubg | 18:19 | |
bug | |||
tonyo | m: say ('2a31238' ~~ /\d\w|\d\w\d+?/); | ||
camelia | ï½¢2a3ï½£ | ||
wafflus | i guess i can just stick to normal alteration using || | 18:20 | |
tonyo | that does look like a bug in either the docs or in the implementation | ||
wafflus | or use non greedy its kind of hard when you can't predict things | ||
i mean greedy | 18:22 | ||
tonyo | i think if you don't have the subset idea then it should be fine in practice to do it the way intended by the docs | ||
that last regex example shows the pipe doing it's thing | 18:23 | ||
wafflus | anyways thanks | 18:26 | |
18:29
jgaz joined
18:58
pamplemoussecach left
19:01
pamplemoussecach joined
19:02
[Coke] joined
19:32
melezhik joined
|
|||
melezhik | .tell lizmat irclogs.raku.org log seem get stuck, no updates since yesterday | 19:33 | |
tellable6 | melezhik, I'll pass your message to lizmat | ||
19:34
jaguart joined
19:42
jgaz left
19:48
RakuIRCLogger joined
|
|||
lizmat | . | 19:48 | |
tellable6 | 2022-08-17T19:33:16Z #raku <melezhik> lizmat irclogs.raku.org log seem get stuck, no updates since yesterday | ||
lizmat | seems the logger died :-( | ||
will re-concile with colabti logs tomorrow | |||
melezhik | yeah, on my estimation it happened a couple days ago | 19:49 | |
sure, no rush | |||
20:06
pamplemoussecach left
20:09
wafflus left
20:17
melezhik left
20:18
jaguart left
20:27
pamplemoussecach joined
20:31
pamplemoussecach left
20:32
sjn left
20:45
sjn joined
20:52
[Coke]_ joined
20:55
[Coke] left
21:44
sena_kun left
22:01
discord-raku-bot left
22:05
discord-raku-bot joined
22:06
pamplemoussecach joined
22:10
pamplemoussecach left
22:42
pamplemoussecach joined
22:46
pamplemoussecach left
23:07
Sgeo joined
23:55
ajr left
|