[Coke] sw_vers is a macos thing. 00:03
I show it mainly to get the OS version in there. 00:04
arkiuat m: with 1000 { say exp($_)/(1+exp($_)) } 00:28
camelia NaN
arkiuat m: say exp 1000 00:30
camelia Inf
arkiuat m: .say for (.exp for 707..711).map({"%.2e".sprintf: $_}) 00:40
camelia 1.11e+307
3.02e+307
8.22e+307
Inf
Inf
arkiuat that looks about right for expected overflow of IEEE-754 binary64 floats 00:50
Voldenet hm, I saw notgull.net/block-pattern/ on orange website and I'm wondering if raku's block calling could do something similar without () 02:27
m: my $x = { my $a = 1; my $b = 2; $a + $b }; say $x # nope, obviously
camelia -> ;; $_? is raw = OUTER::<$_> { #`(Block|4435940645272) ... }
Voldenet m: my $x = { my $a = 1; my $b = 2; $a + $b }(); say $x # yes, but not beautiful
camelia 3
Voldenet m: sub call(&x) { x() }; my $x = call { my $a = 1; my $b = 2; $a + $b }; say $x # hmmm 02:28
camelia 3
Voldenet I wouldn't mind a hint on some built-in here 02:29
02:38 kylese left, hulk joined 02:40 lue is now known as ShimmerFairy
SmokeMachine m: say one(1, my $f).defined 02:43
camelia True 02:44
SmokeMachine say one(1, Failure.new).defined
evalable6 True
SmokeMachine say one(1, Failure.new).DEFINITELY 02:45
m: say one(1, Failure.new).DEFINITE 02:46
camelia True
02:47 johnjay left 02:49 johnjay joined 03:15 hulk left, kylese joined 03:30 itaipu left 03:39 itaipu joined 03:49 itaipu left 03:54 wayland76 left 04:05 itaipu joined 04:21 lichtkind_ joined 04:24 lichtkind left
arkiuat what, it's flapping now? 05:02
05:29 lue joined 05:31 ShimmerFairy left 05:46 lue is now known as ShimmerFairy
disbot6 <aruniecrisps> m: say 'க'.uniprop('Consonant') 06:08
<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
06:23 arkiuat left
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
06:42 Aedil joined
disbot6 <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
06:53 arkiuat joined
disbot6 <librasteve> github.com/librasteve/raku-App-Cra...the-day.md 06:54
06:58 arkiuat left 07:26 arkiuat joined 07:32 arkiuat left
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
07:59 arkiuat joined 08:03 arkiuat left 08:05 arkiuat joined 08:10 arkiuat left 08:39 arkiuat joined 08:44 arkiuat left 08:50 Sgeo left 09:05 arkiuat joined 09:10 arkiuat left 09:28 sibl joined 09:31 melezhik joined, Aedil left 09:35 librasteve_ joined 09:37 sibl left, arkiuat joined 09:42 arkiuat left 10:06 arkiuat joined 10:11 arkiuat left 10:38 arkiuat joined 11:40 melezhik left 11:45 librasteve_ left
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
13:10 Guest70 joined
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
13:16 Guest70 left
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
15:11 arkiuat left 15:14 sibl joined 15:15 arkiuat joined 15:17 sibl left, sibl joined 15:20 arkiuat left 15:21 arkiuat joined 15:33 deoac joined 15:41 sibl left 15:49 Aedil joined 16:06 lichtkind_ left 16:11 lichtkind joined
SmokeMachine Avatar the last air bender, legend of korra or the blue one? 16:43
16:52 human-blip left 16:54 human-blip joined
timo i assume it's the blue one since that's in cinemas right now 17:34
17:36 justache left 17:37 justache joined
[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
17:55 itaipu left 17:58 itaipu joined 18:48 Sgeo joined 19:00 arkiuat left 19:13 arkiuat joined 19:16 itaipu left 19:20 itaipu joined 19:26 stanrifkin joined
tbrowder arkiuat: i am unhappy with DateTime formatter and sought help here some years ago and tonyo showed me a way to create a prog to use it. but the problem was it somehow the built formatter was not truly reusable and the prog would freeze up. 19:57
i don’t remember who said they weren’t happy with its original creation. maybe lizmat 19:59
disbot6 <jubilatious1_98524> @Voldenet how is it a win if you tell people in one breath that {...} corlie braces create a new lexical scope, while in the next breath tell them it is "grouping...just for the sake of grouping."? 20:00
20:03 lichtkind left 20:08 arkiuat left 20:15 Aedil left
disbot6 <aruniecrisps> ShimmerFairy: I ran 'க'.uniprop('InSC') locally on rakudo-moarvm-2025.10 and i'm getting Output: None 20:16
20:19 lichtkind joined
disbot6 <jubilatious1_98524> Hi, weekly doesnt seem to work for me. Any help? 20:20
timo is InSc new in a unicode version we didn't have in 2025.10 yet? 20:22
disbot6 <aruniecrisps> i don't think so, it worked when ShimmerFairy ran it here using camelia 20:23
<aruniecrisps> 'க'.uniprop('InSC').^name is giving me 'Str'
<aruniecrisps> 'க'.uniprop('InSC').chars is giving me 0 20:24
<aruniecrisps> so 'க'.uniprop('InSC') is returning an empty string it looks like
<jubilatious1_98524> m: say 'க'.uniprop('InSC') 20:25
timo camelia is on latest master branch version
and we just got an upgrade to the latest unicode version in the last few weeks 20:26
20:26 deoac left
ab5tract aruniecrisps: You might enjoy github.com/Raku/problem-solving/issues/437 20:26
Feel free to comment with any frustrations of your own, if the spirit moves you 20:27
Ah, I was missing some context :) 20:28
disbot6 <aruniecrisps> ab5stract: here's the problem that i'm trying to solve using raku, i'm basically trying to make a script that inflects/conjugates nouns in the tamil languages, because nouns in the tamil language have grammatical cases 20:30
<aruniecrisps> so a great example of is in order to turn the noun நேரம் meaning time which is currently in its nominative case form into its oblique form, i have to replace the last ம் with த்து 20:32
<aruniecrisps> so நேரம் in its oblique case form is நேரத்து. the problem is that this only works if the second to last consonant is unmarked 20:33
<aruniecrisps> meaning that it has to be ர and not ரா, ரி, ரு, etc.
<aruniecrisps> in the tamil language* not languages
[Coke] 2025.12 just got released, that includes all the new unicode17 work 20:38
(like, earlier today)
no binary packages yet
20:39 justache left 20:40 justache joined
SmokeMachine Ok it’s decided… I’m giving a new mtg + avatar deck as Xmas gift to my daughters… :) 20:45
20:46 disbot7 joined, disbot6 left 20:50 xinming left 20:51 xinming joined 20:54 justache left 21:02 justache joined
disbot7 <aruniecrisps> huh 21:06
<aruniecrisps> whaddya know
<aruniecrisps> it works now
21:16 justache left 21:46 justache joined 22:07 stanrifkin left 22:18 justache left
disbot7 <librasteve> @aruniecrisps any chance you can share a code snippet (3-4 lines) for the Tips n Tricks? 22:27
22:41 arkiuat joined 23:11 jjidozzz joined
korvo I'm using Humming-Bird and I'd like to do some stuff asynchronously. I see a `start` in Humming-Bird's listen() but it seems to be synchronous. In particular I want to do something like `listen(8080); while 1 { say "Go"; go() }` but it seems like my later loop isn't run at all. 23:19
I know about Supply.interval but I'd like for this to work before I worry about making it more elegant.