🦋 Welcome to the former MAIN() IRC channel of the Raku Programming Language (raku.org). This channel has moved to Libera (irc.libera.chat #raku)
Set by lizmat on 23 May 2021.
00:02 reportable6 left 00:03 reportable6 joined 01:03 bisectable6 left, coverable6 left, notable6 left, releasable6 left, squashable6 left, evalable6 left, nativecallable6 left, unicodable6 left, quotable6 left, greppable6 left, reportable6 left 01:04 notable6 joined, reportable6 joined, squashable6 joined, quotable6 joined, bisectable6 joined 01:05 greppable6 joined, evalable6 joined, nativecallable6 joined 01:06 releasable6 joined, unicodable6 joined, coverable6 joined 01:12 RandalSchwartz left 01:14 RandalSchwartz joined
lucs Is rakubrew reliable to use? 01:40
avuserow . 01:41
tellable6 2021-07-09T22:44:45Z #raku <SmokeMachine> avuserow have you taken a look at Red’s SQL generation? Mostly on how it converts Raku’s code into SQL?
2021-07-09T22:47:16Z #raku <SmokeMachine> avuserow it seems more magical than what you want… but maybe it worths taking a look
avuserow lucs: yes. 01:42
lucs Okie doke, thanks. 01:43
avuserow SmokeMachine: I have seen Red. It is definitely too much magic but I am very intrigued in how it works. I haven't delved far enough to get to how the magic is made
lucs, I usually install the latest commit, which usually works fine, but you might be better served by installing the latest release. 01:44
SmokeMachine avuserow: we override many operators to make them return Red::AST objects and based on that we generate the SQL
lucs avuserow: Yeah, I'll stick to stable, thanks. 01:45
I was about to start asking questions about problems I'm having, but realized I'm running 2020.01, so I'll level up a bit :) 01:46
SmokeMachine avuserow: we also have some control exceptions to find Boolean tests inside of map/grep/join blocks that helps it to create SQL based on those blocks
avuserow SmokeMachine: wow, fancy 01:47
I am hoping that if I ever need a "more magic" module, we'll have macros. but operator overloading is pretty cool too.
I briefly considered writing a Slang or using a block to somehow generate where clauses... but I have a real application to finish too :) 01:48
SmokeMachine avuserow: we intent to replace the way we discover what a block do and treate Red::AST by a simple translation RakuAST -> Red::AST once RakuAST is released… 01:50
One could also use Red::AST directly to generate SQL if needed… 01:51
a avuserow this is how it “understands” the blocks: github.com/FCO/Red/blob/master/lib...de.pm6#L56 01:54
avuserow: and here is where the control exception I told you is thrown: github.com/FCO/Red/blob/master/lib...ST.pm6#L28 01:56
01:57 john joined
avuserow very interesting. 01:58
SmokeMachine So, every time we find a new Boolean test inside the block we add a new column on the truth table and duplicate the rows (1 time for true value and the other for false value)
02:04 john left 02:18 Tirifto left 02:20 Tirifto joined 02:57 Kaipi left, Kaiepi joined 03:14 john joined 03:20 john left 03:24 john joined 03:29 dvu joined 03:30 john left 04:08 john joined 04:14 john left 04:26 RandalSchwartz left 04:41 john joined, guifa joined
guifa o/ 04:41
moon-child \o 04:45
05:06 guifa left 05:09 john left, guifa joined 05:21 jmcgnh left 05:24 jmcgnh joined 05:43 john joined 05:58 Eddward_ left 06:02 reportable6 left 06:05 reportable6 joined 06:09 john left, Doc_Holliwood joined 06:13 guifa left 06:24 dvu left, xinming left, Grrrr left, Woodi left, Util left, avar left, jdv left, japhb left, frost left, vrurg_ left, kjp left, m6locks left, archenoth left, casaca left, gugod left, samcv left, _________ left, greyrat left, DarthGandalf left, jess left, smarton left, ingy left, corwin left, Maylay left, summerisle left, synthmeat left, RaycatWhoDat left, jmcgnh left, Tirifto left, unicodable6 left, evalable6 left, nativecallable6 left, quotable6 left, swaggboi left, sono left, Sgeo left, peder left, Geth left, lucerne left, discord-raku-bot left, markmarkmark left, aolko[m] left, Ulti left, andinus` left, mtj left, leont left, SmokeMachine left, rjbs left, kybr left, perlbot left, nine left, kawaii_ left, sena_kun left, jrjsmrtn left, vodkra left, Doc_Holliwood left, Kaiepi left, Manifest0 left, Voldenet left, linkable6 left, sourceable6 left, bloatable6 left, tellable6 left, statisfiable6 left, committable6 left, shareable6 left, benchable6 left, oodani left, cognominal left, CIAvash left, cnx left, demostanis[m] left, bdju left, dcx left, m_athias left, Altreus left, moritz left, skaji left, cooper left, juanfra left, tinita left, elcaro left, camelia left, nebuchadnezzar left, doconthe1ocks left, lucs left, jjatria left, bartolin_ left, pierrot left, pounce left, reportable6 left, coverable6 left, releasable6 left, greppable6 left, bisectable6 left, squashable6 left, notable6 left, TempIRCLogger left, dg left, polettix_ left, ecocode left, sivoais left, Od1n left, lizmat left, Henry151 left, AlexDaniel left, littlebenlittle[ left, esh_ left, gfldex left, jercos left, Ekho left, broquain1 left, domm left, patterner_ left, rba left, happy-dude left, PotatoGim left, gabiruh_ left, jcallen left, timo left, sftp left, samebchase left, KotH left, solitario left, gordonfish left, avuserow left, JRaspass left, dustinm` left, perryprog left, tejr left, tbrowder left, Juerd left, ugexe left, daxim left, dpk left, simcop2387 left, GreaseMonkey left, zostay left, pjlsergeant left, rypervenche left, leedo left 06:25 Doc_Holliwood joined, reportable6 joined, jmcgnh joined, dvu joined, Kaiepi joined, Tirifto joined, coverable6 joined, unicodable6 joined, releasable6 joined, nativecallable6 joined, evalable6 joined, greppable6 joined, bisectable6 joined, quotable6 joined, squashable6 joined, notable6 joined, japhb joined, swaggboi joined, sono joined, aolko[m] joined, Manifest0 joined, Voldenet joined, Sgeo joined, peder joined, linkable6 joined, sourceable6 joined, bloatable6 joined, tellable6 joined, statisfiable6 joined, committable6 joined, shareable6 joined, benchable6 joined, oodani joined, xinming joined, cognominal joined, frost joined, synthmeat joined, _________ joined, Geth joined, vrurg_ joined, kjp joined, tejr joined, m6locks joined, archenoth joined, lucerne joined, greyrat joined, DarthGandalf joined, discord-raku-bot joined, jess joined, RaycatWhoDat joined, casaca joined, smarton joined, markmarkmark joined, ingy joined, corwin joined, Maylay joined, gugod joined, samcv joined, summerisle joined, mtj joined, tbrowder joined, Grrrr joined, KotH joined, Juerd joined, leont joined, SmokeMachine joined, rjbs joined, ugexe joined, daxim joined, Woodi joined, happy-dude joined, dpk joined, TempIRCLogger joined, kybr joined, simcop2387 joined, GreaseMonkey joined, perlbot joined, nine joined, zostay joined, pjlsergeant joined, kawaii_ joined, CIAvash joined, littlebenlittle[ joined, cnx joined, AlexDaniel joined, demostanis[m] joined, juanfra joined, Util joined, sena_kun joined, jrjsmrtn joined, vodkra joined, solitario joined, avar joined, jdv joined, gordonfish joined, avuserow joined, Ulti joined, dg joined, andinus` joined, PotatoGim joined, polettix_ joined, tinita joined, JRaspass joined, gabiruh_ joined, ecocode joined, elcaro joined, cooper joined, skaji joined, moritz joined, Altreus joined, m_athias joined, dcx joined, bdju joined, pounce joined, pierrot joined, bartolin_ joined, jjatria joined, lucs joined, doconthe1ocks joined, nebuchadnezzar joined, camelia joined, Henry151 joined, lizmat joined, sivoais joined, Od1n joined, rba joined, patterner_ joined, domm joined, broquain1 joined, Ekho joined, jercos joined, gfldex joined, esh_ joined, samebchase joined, sftp joined, timo joined, jcallen joined, perryprog joined, dustinm` joined, leedo joined, rypervenche joined, john joined 06:29 phogg joined 06:31 john left 06:45 sena_kun left 07:00 john joined 07:18 john left 08:18 quotable6 left, benchable6 left, reportable6 left, unicodable6 left, notable6 left, nativecallable6 left, evalable6 left, bisectable6 left, coverable6 left, squashable6 left, tellable6 left, committable6 left, linkable6 left, sourceable6 left, bloatable6 left, statisfiable6 left, shareable6 left, releasable6 left, greppable6 left, shareable6 joined, releasable6 joined, nativecallable6 joined, squashable6 joined 08:19 bloatable6 joined, unicodable6 joined, tellable6 joined, bisectable6 joined, reportable6 joined, coverable6 joined, evalable6 joined 08:20 quotable6 joined, linkable6 joined, statisfiable6 joined, committable6 joined, benchable6 joined, notable6 joined, greppable6 joined 08:21 sourceable6 joined 09:21 evalable6 left, statisfiable6 left, committable6 left, releasable6 left, greppable6 left, sourceable6 left, squashable6 left, coverable6 left, bloatable6 left, notable6 left, quotable6 left, bisectable6 left, linkable6 left, shareable6 left, nativecallable6 left, unicodable6 left, reportable6 left, benchable6 left, releasable6 joined, evalable6 joined, committable6 joined, bisectable6 joined, statisfiable6 joined, shareable6 joined 09:22 reportable6 joined, linkable6 joined, bloatable6 joined, benchable6 joined, squashable6 joined, unicodable6 joined 09:23 greppable6 joined, nativecallable6 joined, coverable6 joined, notable6 joined, sourceable6 joined 09:24 quotable6 joined 10:06 Altai-man joined 10:08 Sgeo left 10:31 sono left 11:31 linkable6 left, evalable6 left, evalable6 joined 11:33 linkable6 joined 12:02 reportable6 left 12:05 reportable6 joined 12:18 dogbert11 joined 12:21 frost left 12:28 Doc_Holliwood left 12:33 john joined 12:36 squashable6 left, squashable6 joined
ugexe lucs: yes rakubrew is reliable to use 12:42
lucs ugexe: Excellent. Just got up, will proceed with that now. 12:44
12:48 john left 13:47 rypervenche left 14:13 rypervenche joined
Geth doc/methodop_dot_amp: 20d5fa2a99 | (Daniel Sockwell)++ (committed using GitHub Web editor) | doc/Language/operators.pod6
clarify .& methodop

Based on the current docs, I thought that `foo.&{...}` created an unnamed method and called it on `foo`. However, Jonathan's answer to at
clarified that it creates a Block and calls that Block with method syntax.
This commit clarifies the description to avoid similar confusion.
doc: codesections++ created pull request #3912:
clarify .& methodop
14:20 guifa joined 14:35 RandalSchwartz joined 14:45 Voldenet left 15:20 monkey_ joined 15:33 monkey_ left 15:36 Eddward_ joined 15:39 wefewf joined
Geth doc: a253810b94 | (Daniel Sockwell)++ (committed by Juan Julián Merelo Guervós) | doc/Language/operators.pod6
clarify .& methodop

Based on the current docs, I thought that `foo.&{...}` created an unnamed method and called it on `foo`. However, Jonathan's answer to at
clarified that it creates a Block and calls that Block with method syntax.
This commit clarifies the description to avoid similar confusion.
linkable6 Link: docs.raku.org/language/operators
15:45 Voldenet joined 15:58 RandalSchwartz left 16:00 RandalSchwartz joined 16:15 melezhik joined
melezhik looks like whateverable rakudo versions are not available at the moment - gist.github.com/melezhik/4fca7b89e...bd1d4c3547 16:16
not sure who is in charge for that ...
16:20 RandalSchwartz left 16:23 melezhik left 16:25 Eddward_ left
leont Seems the government has messed up so badly that I might attend the Raku Conference after all, because my (IRL) plans have been cancelled :-/ 16:42
16:59 RandalSchwartz joined
moritz leont: sounds like NL 17:05
leont Indeed
17:32 RandalSchwartz left
guifa leont: I want to say nice but … ugh, I'm sorry stuff is hitting so hard 18:01
18:02 reportable6 left 18:04 reportable6 joined 18:28 Doc_Holliwood joined 18:38 Sgeo joined 18:49 xinming_ joined 18:52 xinming left
casaca hi rakudoers. I'm trying to install `NativeLibs` on openbsd, one the tests, 02-cannon-name.t fails on line 13. i think it's because `platform-library-name` in VM.p6 explicitly prevents appening the version number to the library name if running on windows, darwin, or openbsd 19:03
19:05 Doc_Holliwood left
casaca [NativeLibs] # Failed test 'libfoo.so.2' 19:06
[NativeLibs] # at t/02-cannon-name.t line 13
[NativeLibs] # expected: 'libfoo.so.2'
[NativeLibs] # got: 'libfoo.so'
guifa casaca: interesting. You might try posting in #raku-dev as well (sometimes responses in either room can be a bit slow especially on weekends, but hopefully someone will have a quick fix for you) 19:14
19:22 wefewf left 19:29 Eddward_ joined, abraxxa-home joined
casaca guifa: thanks for your reply, i'll keep that in mind. 19:32
19:38 sm1 joined
ugexe ~ raku -e 'say $*VM.platform-library-name("foo".IO, :version(v3))' 19:58
looks like it works to me
looks like it works to me 19:59
20:38 evalable6 left, linkable6 left, linkable6 joined 20:40 evalable6 joined 20:44 vrurg_ is now known as vrurg 20:53 sono joined 20:55 sm1 left 20:57 abraxxa-home left 21:33 Eddward_ left
casaca ugexe: ty for taking the time, but you seem to be running on macOS. it fails on openbsd 22:08
ugexe yeah, im running on darwin
and afaik it works on windows as well
but you said it doesnt work on windows, darwin, or openbsd 22:09
guifa ugexe: I read it as saying that VM.p6 did something differently on those systems, rather than failing on all of them. Might be mistaken though. 22:11
ugexe VM.pm6 is doing the right thing on darwin and windows 22:12
what i think they might be getting at is something is wrong with NativeLibs, and not anything core raku like VM.pm6 22:13
casaca it works on those two because they don't need to append the version number; but you have to on openbsd. 22:14
$version.defined and nqp::iseq_i(nqp::add_i(nqp::add_i($is-darwin,$is-win),$is-openbsd),0) 22:16
imo, openbsd needs to be taken out of that check. ill check in #raku-dev 22:17
ugexe thats why im confused, because i just showed you the output of a darwin system that includes the version 22:20
22:21 squashable6 left 22:22 squashable6 joined
casaca ah, check out after line 88 with comment: "OS X needs version before extension" on github.com/rakudo/rakudo/blob/mast...e.c/VM.pm6 22:24
they take care of that a few lines above the check I posted before 22:26
22:29 RandalSchwartz joined 23:10 dogbert17 joined, dogbert11 left 23:30 RandalSchwartz left 23:48 jess left