00:30 arkiuat left 00:39 arkiuat joined 00:50 lichtkind joined 01:26 arkiuat left 01:35 arkiuat joined 01:46 arkiuat left 01:53 arkiuat joined 03:06 stanrifkin_ joined 03:09 stanrifkin left 03:28 vasko45 left 03:29 vasko45 joined 03:31 arkiuat left 03:40 arkiuat joined 03:45 arkiuat left 03:49 Aedil joined 03:57 lichtkind_ joined 04:00 lichtkind left 04:07 arkiuat joined 05:50 Sgeo left
patrickb o/ Hi there! How do I introspect the nativecall types from Rakudo? e.g. I have some variable that might have a uint16 or so, how do I find out that it's a native unit with a width of 16? 05:58
Ugh! It might actually be simpler than I thought and I'm just hitting a compiler bug. Investigating. 06:08
06:10 itaipu left
patrickb ... or it's more probably my own stupidity. 06:22
06:24 merpp left 06:49 kylese joined 06:50 kylese left, kylese joined 07:07 arkiuat left 07:12 arkiuat joined 07:13 abraxxa joined 07:14 mimosa joined 07:16 arkiuat left 07:17 itaipu joined, merpp joined 07:21 abraxxa1 joined 07:22 abraxxa2 joined 07:23 abraxxa left, abraxxa joined 07:25 abraxxa1 left, abraxxa1 joined 07:26 abraxxa2 left 07:28 abraxxa left 07:31 apa_c joined 07:33 abraxxa joined 07:36 abraxxa1 left 07:45 arkiuat joined 07:50 arkiuat left
disbot <simon_sibl> for this, all I found is that I can duplicate the \r\n in the Blob, anyone have another solution ? or an easy way (one liner ?) to duplicate the \r\n ? 08:02
<simon_sibl> my $patched-data = $data.subst(:g, "\r\n", "\r\n\r\n"); 08:11
08:19 arkiuat joined 08:24 arkiuat left 08:29 librasteve_ joined 08:40 dakkar joined 08:48 arkiuat joined 08:53 arkiuat left 09:00 apa_c left 09:02 abraxxa1 joined 09:04 abraxxa2 joined 09:07 abraxxa left 09:08 abraxxa1 left 09:21 stanrifkin_ left
disbot <simon_sibl> Somehow even with that, the Debian net install torrent returns Nil while other torrent file works đź«  09:23
09:23 arkiuat joined 09:28 arkiuat left 09:42 arkiuat joined 09:46 arkiuat left 09:49 arkiuat joined 09:54 arkiuat left 10:06 apa_c joined 10:23 arkiuat joined 10:24 abraxxa joined 10:27 abraxxa2 left 10:28 arkiuat left 10:33 abraxxa1 joined 10:35 ds7832 joined 10:36 abraxxa left, abraxxa joined 10:37 abraxxa2 joined 10:39 abraxxa3 joined, abraxxa1 left 10:41 abraxxa left 10:43 abraxxa2 left 10:47 abraxxa joined 10:48 ds7832 left 10:50 arkiuat joined, abraxxa3 left 10:51 ds7832 joined 10:55 arkiuat left 11:06 abraxxa1 joined, abraxxa2 joined 11:08 abraxxa left 11:11 abraxxa1 left 11:24 arkiuat joined 11:28 arkiuat left 11:51 arkiuat joined 11:55 arkiuat left 12:09 ds7832 left 12:22 ds7832 joined 12:24 arkiuat joined
[Coke] "This is due to the fact that Natives don't know their types because they're just values, without any metadata" 12:26
(from docs.raku.org/language/nativetypes) 12:28
12:29 arkiuat left, irfan joined 12:30 irfan left
disbot <simon_sibl> Is there any Raku backend that allows compiling to standalone binary ? Trying to find a replacement language for Nim (I dislike python syntax and crystal is much less mature and if I choose crystal, why not also restart ruby instead of Perl to merge knowledge) 12:41
lizmat there was a GSoC project once, but it was never completed :-( 12:43
12:52 arkiuat joined 12:57 arkiuat left 13:25 arkiuat joined 13:29 arkiuat left 13:30 ds7832 left 13:37 ds7832 joined 13:53 arkiuat joined 13:58 arkiuat left
Voldenet if you want standalone binaries then nothing beats golang 14:01
14:11 arkiuat joined 14:17 guifa joined 14:19 arkiuat left 14:50 arkiuat joined
disbot <.landyacht.> SmokeMachine: just wanted to say I love what you did with your Cro router utils :) being able to build a URI string with all the type checking is great 14:51
14:51 abraxxa2 left
disbot <.landyacht.> I’ll definitely grab that module the next time I build a website/service 14:52
SmokeMachine .landyacht.: thanks! There was a PR for Cro that I updated and it’s merged with part of those features… I’m preparing a new PR to add the rest of the features too. 14:55
disbot <.landyacht.> Oh nice, so it will be part of Cro itself soon probably 14:56
SmokeMachine I suppose so! :) 14:57
14:57 arkiuat left
SmokeMachine I’ll try to finish this new PR soon… but I’m just having too much fun trying to write something to be able to so live coding like strudel.cc in Raku (no, I do not plan to play it… I’m not good at it, but only write it…) 14:59
(Im doing that based on strudel.cc and on this old post: www.perl.com/pub/2004/08/31/livecode.html/) 15:00
patrickb c: use nqp; my int8 $i = 5; say nqp::reprname($i); 15:04
committable6 patrickb, ¦use: «Cannot find this revision (did you mean “all”?)»
patrickb m: use nqp; my int8 $i = 5; say nqp::reprname($i); 15:05
camelia P6opaque
patrickb Why is this not P6int?
15:10 arkiuat joined
lizmat because in Rakudo the $i gets upgraded to Int somewhere in the nqp:: arg handling 15:12
could be that it works in nqp
patrickb So there is basically no way to introspect the native types in Rakudo land? 15:14
15:15 arkiuat left 15:21 melezhik joined
melezhik . 15:22
lizmat patrickb: hmmm.... not with nqp ops, I don't think? 15:30
m: my int8 $a = 42; say $a.REPR # meh 15:31
camelia P6opaque
lizmat m: my int8 $a = 42; say $a.VAR.HOW.^name # perhaps this ? 15:32
camelia Perl6::Metamodel::NativeRefHOW
15:43 arkiuat joined 15:48 arkiuat left 16:04 m6locks joined 16:10 arkiuat joined 16:18 arkiuat left 16:45 hulk joined, kylese left 16:47 arkiuat joined 17:03 dakkar left 17:21 ds7832 left, ds7832 joined 17:26 human-blip left 17:28 human-blip joined 17:30 melezhik left 17:58 samebchase left, samebchase joined 17:59 arkiuat left 18:11 arkiuat joined 18:24 vasko45 left 18:25 vasko45 joined, ds7832 left 18:26 ds7832 joined, GreyTriangle joined
GreyTriangle arkiuat: are you here? 18:26
When I came here before, asking for recommendations for my first programming language, I think it was you that said that Python was dangerous because it might do damage or drive me insane or something 18:27
arkiuat GreyTriangle, yes, hello
GreyTriangle I was "AspiringCoder"
arkiuat hmm, no, I think that was antononcube
I was recommending Forth
GreyTriangle Ah, I see.
Well, is antononcube here? I've been wanting to ask for some time - what is the danger with Python as a first language? 18:28
arkiuat mostly that the libraries are very difficult to work with?
and there are a lot of them, so it's very sad
GreyTriangle Alright then. Thank you! 18:30
ds7832 I used Python before Raku, and always found it a pain to arrange Python libs with virtualenv and what not. But, from what people recently say,
18:30 vasko45 left
ds7832 with "uv" there seems to be a tool to make library management in python acceptable 18:30
arkiuat I've been thinking it over, and I'm less reluctant to recommend Raku as a first language than I was when you first asked 18:31
ds7832, that's great news for the pythonistas 18:32
GreyTriangle Interesting.
ds7832 yeah, people are quite enthused about it as far as I've seen
In general, the decision of 1st programming language should probably take into account what role you wish it to play in your life, and your personal inclinations 18:33
arkiuat I'd say it should also take into account whether you are planning to learn several different languages, or just want to settle down in your first language 18:34
ds7832 e.g. near-term employability? tool for crafting tools for home use? tinkering, hobby projects?
arkiuat and ds7832 is quite correct here 18:35
ds7832 and if employability plays a role: Aim for developping new applications? Or (probably) less flashy but more stable and decently-paid job administering or maintaining existing systems? In the latter case Perl 5 could well be worth considering 18:36
(but take my word on this with a few grains of salt) 18:37
GreyTriangle I'm not looking to work as a software engineer, but I do aspire to work with 3D models and animation. I think Python goes well wit Blender.
18:38 mimosa left
ds7832 Ah, well then yes, go by what language Blender has a good interface for and where good libraries exist 18:39
GreyTriangle :)
18:40 vasko45 joined
Voldenet "near-term employability" would imply that the best language is some java or something equally boring 19:07
I'd say whatever's fun is the best language
java could be fun, but not in typically employable spring-like stack 19:09
and if someone is starting out, they won't get competitive soon, so with very long term goal in mind, it's important they don't drop programming before learning things 19:10
to me, java is burnout language, it's rigid and tries to avoid any form of fun 19:12
19:12 stanrifkin joined
Voldenet python is not great, but definitely more fun than java 19:13
19:25 Aedil left 19:39 GreyTriangle left 19:41 GreyTriangle joined 19:42 GreyTriangle left
ab5tract anyone have access to a threadripper from the last 5 years? I'd love to see some Rakudo core setting compilation times 19:44
Voldenet: have you tried Kotlin? 19:47
I was just getting to the point of feeling like I had pared down my Java to a relatively sleek style
and then tried Kotlin, which makes quite a few excellent design decisions that amount to a somewhat similar feeling as to coding in Raku 19:48
dead easy class creation syntax is one that comes to mind, though I remember noticing a few others 19:49
19:50 vasko45 left 19:51 vasko45 joined 20:18 hulk left
Voldenet ab5tract: yes, imo it's great, but for some reason many teams don't like kotlin sadly :( 20:37
ab5tract yeah, it boggles my mind :(
Voldenet so in the end people make you use some outdated java, you can consider yourself lucky if you use quarkus or micronaut 20:38
or can use virtual threads
ab5tract we are wedded to spring(boot) at work. I don't hate it. streams and lambdas are a must in terms of java version tho 20:44
records too
disbot <antononcube> @GreyTriangle You can start here : pythonforprediction.wordpress.com/...-projects/ 20:52
<antononcube> Especially, find and contemplate on “TSBEO-APOO-OWTDI” — it is a big reason not to use Python and see it as a detrimental first programming language. 20:54
21:19 guifa left 21:23 guifa joined 21:48 apa_c left 22:05 lichtkind_ left 22:22 guifa left 22:23 guifa joined 22:34 distcline left, arkiuat left 22:46 arkiuat joined 22:54 kaskal left, kaskal joined 22:55 arkiuat left 22:57 arkiuat joined 23:17 ds7832 left 23:21 stanrifkin left, apa_c joined 23:26 Sgeo joined 23:30 apa_c left