🦋 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.
Xliff How long does it take to Lock.protect? I am trying to have events write to the screen every 0.05 seconds. I will need to Lock.protect the screen while each element draws. Given that this is a TUI, I shouldn't have much trouble doing this with Raku, should I? 00:14
00:27 yewscion_ joined 00:33 yewscion_ left 01:04 kylese left 01:08 kylese joined 01:14 kylese left, kylese joined 01:33 Tirifto_ joined 01:34 Tirifto left
coleman raku.org server has gone offline; we're aware and investigating 01:36
should be back 01:42
02:15 kylese left, kylese joined 02:31 Sgeo_ joined 02:34 Sgeo left 02:41 wayland left, wayland76 joined 02:50 wayland76 left, wayland76 joined 03:13 wayland76 left, wayland76 joined 03:22 Aedil joined 03:37 wayland76 left, wayland76 joined 03:45 kylese left 03:48 kylese joined 03:57 wayland76 left, wayland76 joined 04:19 yewscion_ joined 04:22 gabiruh_ left 04:24 yewscion_ left 04:30 gabiruh joined 05:13 wayland76 left 05:14 wayland76 joined 05:28 Xliff left 05:40 wayland76 left, wayland76 joined
ab5tract coleman++ 05:46
05:55 Sgeo_ left 07:11 lichtkind joined 07:18 wayland76 left, wayland76 joined 07:21 wayland76 left, wayland76 joined 07:56 wayland76 left, wayland joined 08:08 wayland left 08:09 wayland joined 08:12 merp left 08:22 Aedil left
Voldenet Xliff: last time I've check lock.protect took around 3us, so you can have 1000 components just fine - it depends if you are going to render scrollable lists with N items in TUI 08:37
tellable6 Voldenet, I'll pass your message to Xliff
08:51 wayland left 08:52 wayland joined 08:54 melezhik joined
melezhik o/ 08:54
what RakuAST is going to change for "mere mortals"? My lasting expectation from Rakudo is performance , will it decrease rakudo programm start up time? 08:56
lizmat no: RakuAST only lives at compilation, and most likely when you start your rakudo program, it already has been compiled 09:02
and the bytecode (at least initially) will be the same as with the legacy grammar, or even less optimized (again, initially) 09:03
melezhik i mean when I say descrease start time, time required to program to start when compiled data already in place is still wanting, at least for _my_ case ( Sparrow launches a lot of Raku proccesses and this is by design ) 09:05
just in general I wish rakudo will take less time to start a program 09:06
and hoped that RakuASK could do something about it, and now I see it is not, byt thanks for clarification anyways 09:07
Raku proccesses -> Rakudo proccesses ( when a whole new programm gets run as a separate proccess ) 09:08
Voldenet for that use case, I bet it'd be nice at some point to be able to reuse the compiler without reloading everything 09:11
melezhik yeah, unfortunatelly or likely sparrow designs relies on separate procceess which makes some things very easy, and other things very hard 09:23
Voldenet Have you checked whether checkpointing (criu?) would help?
melezhik what's that? 09:24
Voldenet the technique that lets you save running process into binary 09:25
I don't know whether startup time is slow enough that this would help though 09:26
09:26 yewscion_ joined
Voldenet and it would definitely complicate loading actual code 09:27
09:31 yewscion_ left 09:34 wayland left 09:35 wayland joined 09:43 wayland left, wayland76 joined 09:47 wayland76 left, wayland76 joined 09:53 stanrifkin joined
melezhik yeah 09:56
10:51 melezhik left
wayland76 .tell melezhik Regarding AST, while there's no optimisation improvements yet, it should give the opportunity for better optimisation in some cases. In dev.to/fco/the-future-of-red-orm-for-raku-44gf skim down to the section called "The promise of RakuAST". Short version: We might be able to compile some blocks to SQL and run them on the database server. 11:11
tellable6 wayland76, I'll pass your message to melezhik
wayland76 Btw, the first hit for "red ORM ast" is still a Wikipedia page about a Viking story from the 10th century :) 11:12
No, my bad, a novel (1940s) set in the 10th century. 11:13
SmokeMachine usercontent.irccloud-cdn.com/file/.../image.png 11:14
stanrifkin Terminal::LineEditor does not support CTRL-L for clearing the screen, right?
wayland76 www.google.com/search?client=firef...ed+orm+ast
SmokeMachine yes... on google I got that... but my default id ddg... :) 11:15
wayland76 stanrifkin: According to raku.land/zef:japhb/Terminal::LineEditor it does "refresh-all", whatever that is. 11:16
SmokeMachine: Nice! I tried it a few years back, but didn't quite manage to tear myself away from Google yet.
SmokeMachine wayland76: thanks for talking about that post... maybe that will help to change the first occurrence on google...
wayland76 haha, no worries :) . 11:17
Hmm. For just "Red Orm", it's not even in the top 10 on Google. That's more important to change. 11:18
Also, I'll probably at some point want to discuss whether there are any useful points of collaboration between Red ORM and the Table-Oriented Programming stuff. 11:19
But I want to finish more Table-Oriented Programming stuff before we get into that very far. 11:20
SmokeMachine wayland76: please, let me know when you want to discuss that (or any other thing...) 11:21
wayland76 One big difference though -- I want Table-Oriented Programming to support not just SQL, but also spreadsheets, and in-memory tables. And CSV files.
I've currently got some basic TOP stuff going (I can make tables in either memory or Postgres with pretty much the same code, and can eg. read in a Linux command output as a table, and spit it out as a CLI table, or a CSV), but I'm currently working on the TOP operators (so that we can do a join between a CSV file and a Postgres table) 11:23
Once the operators are done, there will be a few bits and pieces (ie. groups of columns), and then I'm going to call it MVP and put it on the back burner so I can do Tree-Oriented Programming (think being able to use XPath/XSLT operations in Raku code). 11:24
(Just trying to give some idea of a timeline) 11:25
I'll probably talk to you once I have MVP and before I put it on the back burner.
11:28 melezhik joined 11:30 melezhik left
tbrowder Howdy, I added a new-problem solving issue: add ttwo new pod formatting codes: O (overline) and S (strikethrough) 11:37
*two 11:38
12:12 yewscion_ joined 12:14 melezhik joined 12:21 yewscion_ left 12:51 JimmyZhuo joined 13:03 yewscion_ joined 13:08 yewscion_ left 13:20 melezhik left 13:21 melezhik joined
melezhik SmokeMachine: it could be that search engine uses your browser search history via cookie and shows you results wrt previous search 13:22
tellable6 hey melezhik, you have a message: gist.github.com/6f0beb43a2b5cc2bfb...fe874b91f9
melezhik wayland76: thanks
wayland76: viking - not bad assosiation for Red BTW )) 13:23
SmokeMachine: in other words you may try to repeat the search from browser anonimous mode, my assumption might be incorrect though, just guessing ) 13:25
SmokeMachine wayland76: I had a project to create a role called Reddish that one would implement a few methods and it would give Red interface to anything... I never had time for that...
melezhik: I'm not really sure how it works on ddg... 13:30
13:32 JimmyZhuo left, melezhik left 13:53 Geth left 13:54 Geth joined, lizmat left, lizmat_ left, lizmat joined, Aedil joined 14:17 yewscion_ joined 14:23 yewscion_ left 14:46 wayland76 left 14:47 wayland76 joined 14:54 wayland76 left, wayland76 joined 14:57 wayland76 left, wayland76 joined 15:02 wayland76 left, wayland76 joined, wayland76 left, wayland joined 15:05 andinus left 15:12 wayland left 15:13 wayland joined 15:27 andinus joined 15:28 wayland left, wayland joined 15:35 wayland left, wayland76 joined 15:39 wayland76 left, wayland76 joined 15:41 wayland76 left 15:42 wayland76 joined 15:56 wayland76 left, wayland joined 16:07 wayland left, wayland76 joined 16:37 Guest32 joined 16:38 Guest32 left 16:39 wayland76 left, wayland76 joined 16:44 wayland76 left, wayland76 joined 16:54 wayland76 left, wayland joined
librasteve The narrative is set in the late 10th century and follows the adventures of the Viking Röde Orm - called "Red" for his hair and his temper, a native of Scania. lol 17:00
17:03 wayland left 17:04 wayland joined 17:38 wayland left, wayland joined 18:08 wayland left, wayland joined, yewscion_ joined 18:16 yewscion_ left 18:21 yewscion_ joined 18:26 yewscion_ left
timo Voldenet: would you like to investigate criu for faster rakudo startups? 18:27
i'm also interested in seeing that 18:29
antononcube There is a graphs (hamiltonian paths) question in Mathematica.StackExchange that can be answered with Raku implementations in "Graph". I think it is fine to file separate Raku-centric StackOverflow question, right? 18:32
Geth docker: f0fda4f404 | (Anton Oks)++ (committed using GitHub Web editor) | .github/workflows/test-docker-image.yml
test-docker-image.yml: Test Docker images also for all version bumbs

Let's do a Docker image build also on every new Rakudo-Star version, not only on `Dockerfile` changes.
Should hopefully discover issues BEFORE we even get into issues with the `official Docker image build`, see also
  - github.com/docker-library/official...pull/18923
18:49
18:58 wayland left, wayland76 joined 19:00 wayland76 left, wayland76 joined 19:22 yewscion_ joined 19:23 DarthGandalf left 19:24 DarthGandalf joined 19:26 wayland76 left, wayland76 joined 19:27 yewscion_ left 19:34 wayland76 left 19:35 wayland76 joined 19:42 wayland76 left, wayland joined 19:50 Aedil left 19:53 notna joined 20:22 yewscion_ joined 20:27 yewscion_ left
Geth App-Rakubrew/main: ba23039c73 | (Patrick Böker)++ | 2 files
Make shell detection work in Windows with newer PowerShells

On newer PSes the module path doesn't contain "Windows" in it's name anymore.
20:30
20:33 merp joined 21:00 notna left 21:12 yewscion left 21:58 eseyman left 22:01 manu_ joined 22:03 manu_ is now known as eseyman 22:07 Sgeo joined 23:00 wayland left, wayland joined
wayland SmokeMachine: Regarding different "Storages", that's something I've been working on getting TOP to do. It's probably not very efficient yet. 23:19
23:25 wayland left 23:30 lichtkind left 23:51 grondilu left 23:53 grondilu joined