| 20 Dec 2025 | |||
| disbot6 | <aruniecrisps> looks like discord doesn't work | 06:09 | |
| Voldenet | hm, bridge works and the bot is up | 06:17 | |
| m: say 'க'.uniprop('Consonant') | |||
| camelia | None | ||
| disbot6 | <aruniecrisps> i've been trying to figure out how to get the Indic_Syllabic_Category uniprops to show | 06:29 | |
| <aruniecrisps> but it looks like it's not working | 06:30 | ||
| <librasteve> grondilu: try crag '{ .&exp / (1 + .&exp) }(10)' gives 1 | 06:42 | ||
| <librasteve> (because default .Str does round(0.001)) | 06:43 | ||
| <librasteve> (in App::Crag) | 06:45 | ||
| <librasteve> right now you have to go my $*TOLERANCE = .001; { .&exp / (1 + .&exp) }(10) =~= 1 to get True - I have made an App::Crag issue for TOLERANCE to track the round value | 06:51 | ||
| <librasteve> right now e ** (i * π) =~= -1 works fine btw | 06:52 | ||
| <librasteve> github.com/librasteve/raku-App-Cra...the-day.md | 06:54 | ||
| ShimmerFairy | m: say 'க'.uniprop('InSC') | 07:57 | |
| camelia | Consonant | ||
| ShimmerFairy | You have to specify the name of the property you want, in this case Indic_Syllabic_Category or InSC for short (raku/rakudo doesn't handle loose matching, so you have to spell them fairly precisely) | 07:58 | |
| tbrowder | if anyone receives an xmas card from me outside us i would appreciate it if you could tell me the date you receive it. i missed the official usps last date for western europe by xmas :-( | 12:28 | |
| but my raku label maker pkg is getting closer to publishing | 12:29 | ||
| as is my usps zip+4 pkg | 12:30 | ||
| lizmat | Q: what do you think was a noticeable new module in the Raku Ecosystem? | 12:34 | |
| tbrowder | i would appreciate someone being an A4 label maker tester. you need access to an available A4 mailing label template or specs. my us letter personal labels are 1” high by 4” wide with slightly rounded corners. label text is 2 to 4 lines in a font that is OCR friendly address-wise for postal service automated letter sorters. | 12:41 | |
| timo | arkiuat: liz fixed the defined issue on one junctions yesterday | 12:59 | |
| m: my $x = do { my $a = 1; my $b = 2; $a + $b }; say $x # /cc Voldenet | 13:00 | ||
| camelia | 3 | ||
| arkiuat | timo, yes, I just figured that out after I looked at #raku-dev. lizmat is amazing. | 13:11 | |
| timo | she is | 13:13 | |
| Voldenet | timo: ah of course, thanks | 13:16 | |
| disbot6 | <jubilatious1_98524> @Voldenet don't {...} braces create a separate scope? | 13:36 | |
| timo | i first read that as wanting a don't scope. fortunately, that also exists! (in an ecosystem module) | 13:42 | |
| patrickb | lizmat: Gnome::Gtk4. Technically first released on 2024-11-06. But got lot's of love in 2025. And could use some coverage | 13:52 | |
| disbot6 | <jubilatious1_98524> @timotimo Don't know really. Don't scope seems an oxymoron. If {state $x=0; ... } can hoist a block-enclosed assignment statement into the outer scope, then maybe {STATE ...}; alone could hoist the entire block (i.e. make the curly-braces invisible)? | 14:00 | |
| Voldenet | jubilatious1_98524: yes and the idea comes from the blogpost I linked earlier | 14:02 | |
| tldr if you have long function with a lot of dependencies, between variables, you can organize those into blocks to tidy things up a bit | 14:03 | ||
| arkiuat | a long time ago and I don't remember where, I read someone expressing regrets about how DateTime's named formatter argument had been designed, and expressing thoughts about it should be done differently. Does anyone else remember anything like that? I'd love to take another look at it. | 14:04 | |
| +how | |||
| disbot6 | <jubilatious1_98524> @Voldenet my takeaway from the Rust blog post you cite is this (quoting): "There is one more benefit that’s not exposed in the above example: erasure of mutability." | ||
| <jubilatious1_98524> (but AFAIK state doesn't affect mutability, so a STATE declaration might be confusing in this regard). | 14:08 | ||
| Voldenet | that point is very rust specific | 14:10 | |
| but I like the idea of grouping related variables together just for the sake of grouping (and unused variables are cleaned up by GC, so it's double the win) | 14:11 | ||
| arkiuat | Voldenet, I guess in Raku we can call it the do-block pattern | 14:14 | |
| timo | one of my favourites is still "phaser blast" | 14:17 | |
| where blast stands for "BLock, Alternatively STatement" | 14:18 | ||
| lizmat | or blorst: BLock OR STatement | 14:19 | |
| timo | not sure if i like it quite as much. it's a fun word to say | 14:22 | |
| lizmat | blast is a lot less used than blorst in the core | 14:23 | |
| afk to see some avatar& | |||
| timo | is there actually a difference? | ||
| have fun | |||
| SmokeMachine | Avatar the last air bender, legend of korra or the blue one? | 16:43 | |
| timo | i assume it's the blue one since that's in cinemas right now | 17:34 | |
| [Coke] is seeing a lot of avatar lately, but in a MTG context. | 17:39 | ||
| SmokeMachine | [Coke]: I’ve seen that as well… I got interested… in my mind abater and mtg make sense together, but I haven’t tried yet… | 17:47 | |
| [Coke] | the bending mechanics are nifty. | 17:50 | |
| I enjoy the new "voiced emotes" too much. "yip yip!" "my cabbages!!" | 17:51 | ||