🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:28 tadzik left 00:41 pecastro left 01:30 pecastro joined 01:31 nebuchadnezzar left 01:44 mowcat left 02:06 Garbanzo left 02:09 Garbanzo joined 02:24 kvw_5 joined 02:28 kvw_5_ left 02:30 gnufr33dom joined 02:33 eaterof joined, gabiruh_ joined 02:36 eater left, gabiruh left 02:37 pecastro left 03:09 raydiak left 03:17 muffindrake left 03:19 muffindrake joined, kini left 03:21 kini joined 03:22 raydiak joined 03:27 neshpion joined 03:49 oneeggeach joined 04:24 wamba joined 04:44 brtastic joined 04:46 oneeggeach left 04:58 kaiwulf left, guifa2 left 05:32 rir_ left 05:42 rindolf joined 05:57 brtastic left
summerisle tbrowder: it may come down to hacking it with the mop 06:09
but that does sound odd
06:11 parabolize left 06:20 neshpion left 06:24 jmerelo joined 06:43 wamba left 06:57 brtastic joined 07:31 gnufr33dom left, nebuchadnezzar joined 07:35 wamba joined 07:49 domidumont joined 07:55 pecastro joined 08:08 wamba left 08:15 db48x left 08:25 db48x joined 08:30 rindolf left 08:44 dakkar joined 08:59 sena_kun left 09:01 sena_kun joined 09:15 wamba joined 09:50 PimDaniel joined
PimDaniel \o everybody! 09:51
09:56 tadzik joined
PimDaniel I can symbolize a variable like this : my $what='thisvar'; $which='thatvar'; my $thisvar='I am beautifull'; my $thatvar='I am the best'; then you can write say $::($what) which says $thisvar content. How would i express it for a class variable : $instance.a.x but can be $instance.a.y ? 09:57
Thank's in advance. 09:58
I hope i was clear.
tyil PimDaniel: p.tyil.nl/r0qj would this answer your question? 10:01
10:04 wamba left
PimDaniel Thank's tyil At a first watch, i think so. I'll give a try but i think it is ok. 10:06
PimDaniel tyil it work's into my project, thanks! 10:12
tyil :> 10:13
10:15 rindolf joined 10:16 plvicente joined 10:21 mtj_ joined 10:25 Sgeo left 10:28 plvicente left 10:43 ufobat joined 10:53 aindilis left 11:39 plvicente joined 11:43 frost-lab joined
Geth ¦ doc: tbrowder self-assigned Show example of inheritance to add a new "new" method github.com/Raku/doc/issues/3813 11:46
11:49 plvicente left 11:57 synthmeat left 11:58 synthmeat joined 12:09 PimDaniel left 12:10 frost-lab35 joined 12:13 frost-lab left 12:33 Black_Ribbon left 12:41 plvicente joined 12:52 plvicente left 13:02 samebchase-7 joined 13:03 jargan joined, frost-lab35 left, modula joined 13:04 charsbar_ joined 13:05 tyilanmenyn joined, mightypork_ joined, broquain1 joined 13:06 hvxgr_ joined, plvicente joined, tejr left, Util_ joined 13:07 karupa joined, cpage left, andinus left, tyil left, samebchase- left, Mithaldu left, charsbar left, hvxgr__ left, Ekho left, broquaint left, jast left, cooper left, sivoais left, defaultxr left, Util left, karupanerura left, brass left, moritz left, sivoais joined, sivoais left, sivoais joined, moritz joined, cooper joined, mightypork left, jargan is now known as jast, charsbar_ is now known as charsbar, modula is now known as defaultxr 13:08 Mithaldu joined 13:10 brass joined 13:15 Ekho joined 13:16 plvicente left 13:49 jmerelo left 14:05 tyilanmenyn is now known as tyil 14:09 squashable6 left, squashable6 joined 14:16 broquain1 is now known as broquaint 14:53 simcop2387 left 14:57 simcop2387 joined 15:01 guifa2 joined
lizmat Have your Raku snippets tweeted automagically: twitter.com/juliawritescode/status...7199738891 15:02
weekly: twitter.com/juliawritescode/status...7199738891
notable6 lizmat, Noted! (weekly)
15:20 plvicente joined, samebchase-7 is now known as samebchase- 15:23 parabolize joined 15:30 brtastic left 15:36 plvicente left 15:45 MasterDuke left 15:48 MasterDuke joined 15:59 plvicente joined 16:10 plvicente left 16:25 jmerelo joined 16:54 kaiwulf joined 17:01 abraxxa left 17:02 plvicente joined 17:03 abraxxa joined 17:14 plvicente left 17:16 MasterDuke left 17:17 mowcat joined 17:18 Sgeo joined 17:22 Faisal joined, Faisal is now known as Guest31566 17:25 abraxxa left 17:26 KotH left, KotH joined 17:27 abraxxa joined 17:30 vike left 17:31 guifa2 left, guifa2 joined 17:34 gfldex_ is now known as gfldex 17:37 dakkar left 17:38 PimDaniel joined
PimDaniel o/ 17:38
How do i test match is True while matching : this does NOT work : if my ($type,$a,$b,$c) = ($v ~~ /^ ('horiz'|'vertic') '_' (\d+) '_' (\d+) '_' (\d+) $/)>>.Str { ... }
17:39 muffindrake left, CesareoAguirre joined 17:44 domidumont left 17:50 vike joined
PimDaniel Well i made it in 2 times 1/ capture and test the match, 2/ convert the match to Str. 17:53
17:53 PimDaniel left 18:00 lizmat left 18:01 lizmat joined
guifa2 .tell PimDaniel: taht's the best way to do it. 18:01
tellable6 guifa2, I'll pass your message to PimDaniel
18:08 Guest31566 left 18:09 cog left 18:11 guifa2 left 18:13 lizmat left
CesareoAguirre Hello. Im from Mexico and, since years, about to put hands on Perl again... well, now is Raku. If you want to join t.me/RakuLangMX well you probably found more questions than answers for now, but I want to spend at least an hour a day on this.. 18:14
18:15 neshpion joined 18:20 vrurg left 18:23 lizmat joined
jmerelo CesareoAguirre: not exactly the same, you know. Perl is Perl, and Raku... well, it's Perl in a way. 18:26
.seen salortiz 18:31
tellable6 jmerelo, I haven't seen salortiz around, did you mean sortiz?
jmerelo .seen sortiz 18:32
tellable6 jmerelo, I saw sortiz 2021-03-02T16:41:09Z in #raku: <sortiz> summerisle, In particular can be used for complex "returns" constraints.
18:32 guifa2 joined 18:37 guifa2 left
CesareoAguirre jmerelo: thats the thing, trying to understand how it was and how is now. 18:39
jmerelo CesareoAguirre: Well, Perl is alive and kicking. And Raku is a wonderful language you'll surely enjoy using. 18:40
18:41 plvicente joined 18:42 vrurg joined 18:43 wamba joined 18:47 lizmat_ joined, vrurg left 18:48 lizmat left 18:49 lizmat joined 18:52 jmerelo left, lizmat_ left 18:53 dumuzi joined, plvicente left 18:55 dumuzi left 18:59 pounce- is now known as pounce 19:01 sxmx left, sxmx joined
neshpion i want to use raku but i can't think of a reason why, i just cobble horrible bash scripts for everything. how can i convince myself to not torture myself? 19:04
summerisle at some point i was forced to jump from bash to perl 5 when i needed to do something that required greater performance than bash could provide. one of the biggest killer features for me to begin with was combining -ne/-pe with regular expressions and the topic variable. i imagine finding a similar "killer feature" would help. 19:10
what are you using bash scripts for neshpion
19:10 rindolf left
neshpion most recently i had one to take deviantart URLs and grab the deviation id => query API => find image source => wget, and that could probably be written in something that isn't horrible, and its corollary would check the dimensions of all the downloaded images and automatically symlink the square-or-wider ones to my wallpapers directory 19:12
another one i have launches ffmpeg for screen recording, it does some disgusting bash string manipulation and saves previous filenames to a cache file, adds sequential numbers to filenames, and launches ffmpeg for different tasks depending on what the desired output filename is 19:21
i'm pretty scared of that one but *it works* :D
19:40 MasterDuke joined, ufobat left 19:56 neshpion left 19:57 neshpion joined 20:03 cooper left 20:05 vrurg joined 20:07 wamba left 20:10 tejr joined 20:11 plvicente joined 20:13 cooper joined, wamba joined, vrurg_ joined 20:16 vrurg left 20:23 plvicente left 20:25 vrurg_ left 20:27 vrurg joined 20:30 vrurg_ joined 20:33 vrurg left, plvicente joined 20:36 Kaiepi left, Kaiepi joined, plvicente left
tonyo_ you're bringing me back to the 90s 20:38
20:38 aborazmeh joined
tonyo_ now i have to compile an nvidia video card driver over three days just for nostalgia 20:38
20:39 vrurg_ left
jdv79 the 90s werent that bad 20:39
tonyo_ i didn't say they were 20:42
jdv79 i was just making a random drive by comment with no implications 20:46
20:47 MasterDuke left
gfldex lolibloggedalittle: gfldex.wordpress.com/2021/03/11/ra...match-for/ 20:55
20:58 guifa2 joined, APic left
summerisle neshpion: both of those are definitely good use cases. the xml/html parsers I have used tend to be OK as long as (X)HTML is correctly formed (e.g. NOT using SGML features), otherwise weird stuff happens. DA is probably fine for that. 20:58
20:59 plvicente joined
tonyo_ gotcha - i liked the 90s..the days before cell phones 20:59
21:00 APic joined
summerisle but also the days of widespread SGML use... 21:00
jdv79 im fine with cellPHONES. all the *smart* stuff. idk, its not my bag. 21:01
gfldex I'm working in customer care for a largish cell phone provider. Saldy, I must report that most phones are smarter then their owners. 21:02
jdv79 yeah, xml wasnt put in its place at that point. sgml and xml, ugh.
21:02 guifa2 left 21:06 Kaiepi left 21:07 Kaiepi joined 21:11 Kaiepi left, Kaiepi joined 21:12 CesareoAguirre_ joined 21:13 tadzik left, CesareoAguirre left 21:14 Black_Ribbon joined 21:17 aborazmeh left, Kaiepi left 21:19 Kaiepi joined 21:31 tadzik joined 21:51 plvicente left
neshpion i'm fine with the idea of carrying a powerful touchscreen computer in my pocket, but not fine with its behavior being dictated by proprietary hardware and software 22:15
gfldex A while ago the german goverment made a big fuzz about a new app that one can use to report holes in the coverage of the mobile phone network. 22:22
One big sham.
We know exactly where those holes are because we can see your phone disapear when it leaves the reach of the cell tower down to a dozen meters.
When beam forming comes with 5G we can dial in on your position down to a meter or two. 22:23
22:41 Kaiepi left 22:42 Kaiepi joined 23:01 aluaces left 23:11 wamba left 23:22 aindilis joined 23:34 vrurg joined 23:38 aindilis` joined 23:39 vrurg left 23:47 pecastro left