25 May 2026
notable6 librasteve_, Moved existing notes to “weekly_2026-05-25T15:11:31Z” 15:11
librasteve_ rakudoweekly.blog/2026/05/25/2026-...lease-193/ 15:56
disbot4 <melezhik.> Got some comments here - programming.dev/post/50946597 16:28
librasteve_ weekly: Got some comments here - programming.dev/post/50946597 20:06
notable6 librasteve_, Noted! (weekly)
26 May 2026
avuserow being able to round to the nearest 0.25 via `$x.round(0.25)` is great 04:02
disbot4 <librasteve> waaat 05:46
<librasteve> I never realised you could do that - curious to know when it would actually be useful :-) 05:48
lizmat weekly: wiki.gentoo.org/wiki/Raku 08:24
notable6 lizmat, Noted! (weekly)
disbot4 <simon_sibl> from this ugly mess: github.com/4zv4l/z8basm/blob/main/z8basm.pl 09:35
<simon_sibl> to this much better script: github.com/4zv4l/rz8basm/blob/main/rz8basm.raku
<librasteve> is this Z8b as in Zilog? (very nice exampe of how awesome Raku is btw!!) 09:49
lizmat simon_sibl: if you're running this on big files in verbose mode, you might want to use "print sprintf(...)" and "use v6.e.PREVIEW" 10:19
also: the format "0x%02x" can also be written as: "%#02x"
m: say sprintf("%#02x",42) 10:20
camelia 0x2a
disbot4 <simon_sibl> I don’t know Zilog, I called it z8b because I used zig and it’s a 8bit kind of thing xD 10:35
<simon_sibl> What’s the update that makes printf + sprintf better than printf alone ? XD 10:36
<simon_sibl> Ah I didn’t know for that format ! Thanks !
lizmat well.. still looking at a way to make printf use the new sprintf logic in 6.e, so that's work in progress 10:37
re new sprintf: dev.to/lizmat/moving-printf-format...rward-1m3p 10:40
librasteve_ weekly: re new sprintf: dev.to/lizmat/moving-printf-format...rward-1m3p 10:44
notable6 librasteve_, Noted! (weekly)
disbot4 <librasteve> @simon_sibl - ah ... my guess was a little wide en.wikipedia.org/wiki/Zilog_Z8 10:45
<simon_sibl> Ah yes indeed, my code is just a tiny little toy xD 10:53
<simon_sibl> I see this more as a blueprint I can reuse if I make something more complex The core emulator and grammar with actions are already there 10:54
[Coke] had some domain issues with personal email last few days in case anyone was trying to reach me. Should all be resolved once things propagate. 12:41
lizmat
.oO( the joys of running your own mail server )
12:46
disbot4 <antononcube> weekly: rakuforprediction.wordpress.com/20...-examples/ 13:51
avuserow librasteve: I want to round a value (font-size in this case) to the nearest quarter point. No particularly deep reason, just the precision that I saw recommended. 14:07
I'm trying to find the equivalent perceptual size of two fonts so there's some math that would generate very non-round numbers 14:08
disbot4 <librasteve> ah - that's a very good use case - thanks for explaining! 14:27
[Coke] ah, nothing like having to write a regex for matching parens (why are you even allowing parens in here, markdown...) 15:22
is there a $*PROGRAM equivalent for a module? 16:53
I guess $?FILE is closest. 17:00
lizmat m: class A { say $?CLASS } 17:19
camelia (A)
lizmat m: module A { say $?CLASS }
camelia ===SORRY!=== Error while compiling <tmp>
Variable '$?CLASS' is not declared. Perhaps you forgot a 'sub' if this
was intended to be part of a signature?
at <tmp>:1
------> module A { say <HERE>$?CLASS }
lizmat m: module A { say $?MODULE }
camelia (A)
lizmat ah, you mean where the file lives ? 17:20
ugexe presumably they want the path to the things that are being used
lizmat yeah, duh :-)
disbot4 <melezhik.> www.reddit.com/r/linux/comments/1t...vices_and/ quite a number comments here as well 17:36
[Coke] I had been using $*PROGRAM everywhere, and everything happened to work... until I started moving folders to their new homes, whoops. 17:37
lizmat simon_sibl re github.com/4zv4l/rz8basm/blob/main...m.raku#L35 18:24
it just occurred to me that you could probably reduce the TOP method to: 18:25
make buf8.new(@!ops.map( -> $stmt { ... } ) 18:26
with the end of the for loop being ($op, $arg).Slip
.tell finanalyst what is the best URL to read the latest RakuDoc spec? 18:53
tellable6 lizmat, I'll pass your message to finanalyst