|
00:07
stanrifkin left
00:19
manu_ joined,
manu_ is now known as eseyman
00:21
itaipu joined
01:28
sibl joined
01:30
librasteve_ left
|
|||
| grondilu | any idea why `sub MAIN { start do-stuff-for-less-than-ten-seconds(); sleep 10; }` would not behave or even segfault? | 02:40 | |
| when `sub MAIN { await start do-stuff-for-less-than-ten-seconds(); }` seems to work just fine? | |||
|
02:42
hulk joined
02:43
kylese left
|
|||
| Voldenet | because it's ran on thread scheduler | 02:45 | |
| and when doing start you can't really expect any kind of timing | |||
| `Thread.start: &do-stuff-for-less-than-ten-seconds;` would start the actual thread in the background that would "hang" the app until aborted | 02:47 | ||
|
03:05
arkiuat left
03:15
hulk left,
kylese joined
|
|||
| grondilu | IIUC what I really want to do is `sub MAIN { my $job = start do-this(); do-that(); await $job; }` | 03:16 | |
| grondilu checks | |||
| still not quite working as expected. | 03:17 | ||
|
03:19
arkiuat joined
|
|||
| grondilu | What I'm trying to do is something like: `sub MAIN { my $graphics-loop = start graphics-loop(); sleep 10; await $graphics-loop; }` | 03:21 | |
| `sleep` here is just meant to simulate some other job. | |||
| gist.github.com/grondilu/8628e20fb...c8aa908a19 | |||
| this doesn't crash anymore, but the graphics loop does not seem to start until the sleep command has terminated. | 03:22 | ||
|
03:27
vasko453558 left
03:33
arkiuat left
03:34
vasko453558 joined
03:49
arkiuat joined
03:56
arkiuat left
04:17
arkiuat joined
04:26
lichtkind_ joined
04:29
lichtkind left
05:10
oodani left
05:13
oodani joined
05:19
ShimmerFairy left
05:30
ShimmerFairy joined
|
|||
| Voldenet | `my $thread = Thread.start(…); $thread.join` would use OS-level scheduler which is probably more predictable in this case, task scheduler is better for tasks that wait more than compute (networking, or interacting with other processes) also `init-white` will malloc the color every time you call it, you'll want to cache it | 06:06 | |
| rarely starting a thread is a good idea, but for any realtime rendering it's actually good, because you can increase priority | 06:07 | ||
| or bind specific thread to the specific cpu core | |||
|
06:31
Aedil joined
06:59
silug left,
silug joined
07:00
sivoais_ left
07:02
sivoais joined
07:03
Pixi left,
ShimmerFairy left
07:35
melezhik joined
08:06
arkiuat left
|
|||
| grondilu | turns out I can do without multithreading: gist.github.com/grondilu/c9882fdb4...7b55781834 | 08:09 | |
| ^this actually works, I can already play against Stockfish. Which is kind of amazing for a short program of 200 lines or so. | 08:10 | ||
| though it does use my Chess modules which are not really short. | |||
|
08:18
arkiuat joined
08:20
abraxxa joined
08:22
arkiuat left
08:23
LainIwakura joined
08:24
Sgeo left,
Sgeo joined
|
|||
| disbot6 | <simon_sibl> I probably have a Cro problem ? github.com/4zv4l/rakubin it used to work great, but just now I realized that when I setup tls and do a request from my browser using the IP instead of the hostname (get a certificate warning), that freezes the whole Cro part (web server), the tcp server part still works somehow | 08:27 | |
|
08:27
arkiuat joined
08:31
abraxxa1 joined
|
|||
| disbot6 | <simon_sibl> so I mean I cannot do any https request after that, but I can still connect to the other port using tcp and create new paste | 08:32 | |
|
08:33
arkiuat left
08:34
abraxxa left
09:03
arkiuat joined
09:08
arkiuat left
09:12
dakkar joined
09:18
Sgeo left
09:38
arkiuat joined
09:43
arkiuat left
09:44
melezhik left
09:53
sibl left
10:02
abraxxa joined
10:03
arkiuat joined
10:06
abraxxa1 left
10:07
abraxxa left
10:08
sibl joined,
arkiuat left
10:12
abraxxa1 joined
10:14
sibl left
10:17
abraxxa joined
10:20
abraxxa1 left
10:27
abraxxa1 joined
10:30
abraxxa left
10:31
abraxxa joined
10:32
arkiuat joined
10:33
abraxxa1 left
10:37
arkiuat left,
abraxxa2 joined
10:41
abraxxa left
11:06
arkiuat joined
11:11
arkiuat left
11:13
Pixi joined
11:16
ShimmerFairy joined
11:30
arkiuat joined
11:35
arkiuat left
11:42
hudo joined,
hudo__ left
12:05
arkiuat joined
12:09
arkiuat left
12:32
LainIwakura left
|
|||
| disbot6 | <antononcube> @simon_sibl I also have problems with “Cro” which started showing up in the last month or two, but not before. Different from what you describe, though. | 12:34 | |
|
12:38
arkiuat joined
12:43
arkiuat left
12:50
arkiuat joined
12:54
arkiuat left
|
|||
| disbot6 | <jubilatious1_98524> @grondilu I don't know for certain. What happens if you try sub MAIN { my $job = start do-this() andthen do-that(); await $job; } ? | 12:58 | |
|
13:07
arkiuat joined
13:12
arkiuat left
13:18
arkiuat joined
|
|||
| disbot6 | <antononcube> I find this interesting: 1. This repository does not say what "termbin" is : github.com/4zv4l/rakubin 2. This repository -- referenced from 1 -- does not say what "termbin" is : github.com/insomnimus/termbin?tab=...me-ov-file 3. This page -- referenced from 2 -- does not say what "termbin" is : termbin.com | 13:19 | |
|
13:24
arkiuat left
|
|||
| disbot6 | <simon_sibl> On the page of termbin it’s written: > Send some text and read it back From my readme it says: > lets you create paste from the command line. With both and the name, similar to pastebin/rakubin/termbin still not very obvious ? Even with the example in the readme ? | 13:24 | |
| <antononcube> Again, that does not say what “termbin” is, it says, what it does. | 13:33 | ||
| <antononcube> And, no, it is not obvious — obviously. | |||
|
13:35
arkiuat joined
13:45
arkiuat left
13:50
arkiuat joined
13:59
arkiuat left
14:27
arkiuat joined
14:32
arkiuat left
14:41
librasteve_ joined
|
|||
| librasteve_ | weekly: unix.stackexchange.com/a/803066/227738 | 14:44 | |
| notable6 | librasteve_, Noted! (weekly) | ||
|
14:51
arkiuat joined
14:52
bisectable6 left
14:56
arkiuat left
|
|||
| disbot6 | <jubilatious1_98524> Hmmm... | 14:58 | |
|
15:05
bisectable6 joined
|
|||
| Geth | advent/main: 556c0e499d | librasteve++ (committed using GitHub Web editor) | raku-advent-2025/authors.md make obvious that day 17 is open |
15:08 | |
| disbot6 | <librasteve> arggh, forgive my counting skills, it is the 18th that is still open .... so good news is that we have one single solitary lonely slot remaining in the raku advent cal ... if you can fill it, please please do (if you need a couple more days to write, then I am happy to swap my slot). 2nd / 3rd installments welcome - especially on raku one liners | 15:17 | |
| <librasteve> ;-) | |||
|
15:24
arkiuat joined
15:29
arkiuat left
15:33
Pixi` joined
15:35
Pixi left
15:42
arkiuat joined
15:46
arkiuat left
15:55
abraxxa2 left
16:11
arkiuat joined
16:16
arkiuat left
16:17
arkiuat joined
|
|||
| tbrowder | antononcube: i made a mistake, for all yr articles i had the same problem, it wouldn't take the like either (i just now fixed tha), but i mistook the one on the 15th by @corbin. it is also good, and his style is like your style when you discuss or create other packages for regular Raku users, not LLMs, thus the mistake | 16:32 | |
|
16:33
Pixi` left
|
|||
| korvo | tbrowder: Thanks! Indeed I was writing for humans. I have a totally different style for writing articles where LLMs are the primary audience; I try to expand out concepts and leave links so that newbies can teach themselves. | 16:35 | |
| ...Misleading semicolon. I explain for humans. LLMs don't need explanation, but syllogism. | |||
|
16:39
Pixi joined
|
|||
| disbot6 | <antononcube> @korvo Your article is very popular. But both your article and the referenced one by Joel Jakubovic do not explain what is the benefit of this perspective. Maybe, the intended audience is just people who know Smalltalk... | 16:58 | |
| <antononcube> From another point of view -- yes, Raku is very good at indulging making parsers and interpreters for new DSL ideas. | 16:59 | ||
| korvo | antononcube: The relevant concept in Kell and Jakubovic's papers is *fragmentation*. Quoting programmingmadecomplicated.wordpre...ubovic.pdf p4: | ||
| "Fragmentation refers to how every language ecosystem insists on its own version of very similar infrastructure: its own libraries, package manager, build system, debugger..." | 17:00 | ||
| I have been irritated with this for years, FWIW. Previously, on Lobsters and Software Engineering SE, we discussed the extent to which MLs or anything with ML-style modules can skip the concept of packages entirely: lobste.rs/s/xi3mi0/does_programmin...h_ml_style | 17:02 | ||
| disbot6 | <antononcube> Thanks for pointing out the "fragmentation" section of the article. Today the "Conclusion" section of that article sounds more informative to me... | 17:07 | |
| <antononcube> @korvo I haven't not used ML for 20+ years -- does that discussion apply to Raku's or Perl's ecosystems? | 17:15 | ||
| korvo | It could have applied to Raku in the past. I can't ask language communities to stop what they're currently doing, even if I think that it's a mistake. And it's not like zef is bad. | 17:17 | |
| disbot6 | <antononcube> Well, OpenAI's "gpt-5.2" says, no, it does not apply to Raku. 🤖 | ||
| korvo | The original question, which had been closed, isn't ML-specific. It challenges the more general idea of packages in *any* language. But that was considered too broad for Software Engineering SE. | 17:18 | |
| ...I'm not continuing that conversation, sorry. | 17:19 | ||
| disbot6 | <antononcube> Ok. I just want to say that "gpt-5.2" said more or less the same thing: > Stripped of ML jargon, that discussion is about: > > How much semantic structure a language can infer automatically vs how much > > must be made explicit — and how that affects readability, tooling, and large > ecosystems. | 17:21 | |
| korvo | Okay. Wrong, but understandable. | 17:22 | |
|
17:46
dakkar left
17:50
arkiuat left
18:02
arkiuat joined
18:17
kaskal left,
kaskal joined
18:34
stanrifkin joined
18:46
stanrifkin left
19:04
Aedil left
19:12
Aedil joined
19:21
abraxxa-home joined
19:34
stanrifkin joined
|
|||
| Geth | advent: habere-et-dispertire++ created pull request #139: Hello, World! |
19:53 | |
| advent/main: fb23663cd2 | habere-et-dispertire++ (committed using GitHub Web editor) | raku-advent-2025/authors.md Hello, World! (#139) A little bit about the Afrikaans localization of raku |
19:55 | ||
| lizmat | and that closes the remaining open slot on the Advent calendar :-) | 19:56 | |
|
19:58
arkiuat left
20:00
arkiuat joined
20:09
arkiuat left
20:11
arkiuat joined
20:15
arkiuat left
20:21
librasteve_ left,
arkiuat joined
20:29
arkiuat left
20:31
arkiuat joined
|
|||
| Geth | advent/main: 5f96337daf | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | raku-advent-2025/authors.md Mark day 17 as scheduled |
20:35 | |
|
20:36
arkiuat left
|
|||
| lizmat | librasteve hope you like my post for day 17 | 20:36 | |
|
20:50
xinming left
20:51
xinming joined
20:54
abraxxa-home left
20:57
arkiuat joined
21:01
arkiuat left
21:27
Aedil left,
stanrifkin left
21:29
lucs_ is now known as lucs
21:35
arkiuat joined
21:40
arkiuat left,
arkiuat joined
21:45
arkiuat left
22:08
arkiuat joined
22:13
arkiuat left
22:41
arkiuat joined
22:46
arkiuat left
23:14
arkiuat joined
23:17
Sgeo joined
|
|||