»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋 Set by Zoffix on 25 July 2018. |
|||
00:18
cpan-p6 left
00:19
cpan-p6 joined
00:31
snarkyboojum joined
00:32
w17t left,
cpan-p6 left
00:33
cpan-p6 joined
00:45
sivoais left
00:48
sivoais joined
00:49
w17t joined
00:56
molaf joined
01:02
zachk left
01:17
cpan-p6 left
01:18
cpan-p6 joined
01:34
snarkyboojum_ joined
01:35
snarkyboojum left
|
|||
Geth | doc: eea0dd0879 | (Michal Jurosz)++ | doc/Type/DateTime.pod6 Fix output of Instant method example in DateTime.p6 |
01:38 | |
synopsebot | Link: doc.perl6.org/type/DateTime | ||
doc: b8873a3688 | cfa++ (committed using GitHub Web editor) | doc/Type/DateTime.pod6 Merge pull request #2628 from mj41/mj-dt-instant Fix output of Instant method example in DateTime.p6 |
|||
01:38
cpan-p6 left
|
|||
01:38
cpan-p6 joined
02:14
cpan-p6 left,
cpan-p6 joined
|
|||
cpan-p6 | New module released to CPAN! Font-FreeType (0.1.4) by 03WARRINGD | 02:23 | |
02:28
cpan-p6 left,
cpan-p6 joined
02:35
snarkyboojum_ left
02:42
cpan-p6 left,
cpan-p6 joined
02:47
molaf left
03:00
molaf joined
03:18
cpan-p6 left,
cpan-p6 joined
03:32
cpan-p6 left,
cpan-p6 joined
03:46
cpan-p6 left,
cpan-p6 joined
03:58
w17t left
04:00
cpan-p6 left
04:01
cpan-p6 joined
04:07
mowcat joined
04:13
cpan-p6 left,
cpan-p6 joined
04:19
Cabanossi left
04:22
Cabanossi joined
04:25
Sgeo_ left,
Sgeo joined
04:34
cpan-p6 left,
cpan-p6 joined
04:41
abraxxa joined
04:43
chee left
04:44
chee joined
04:45
abraxxa left
04:58
cpan-p6 left,
cpan-p6 joined
04:59
abraxxa joined
05:02
reach_satori joined
05:09
jmerelo joined
|
|||
jmerelo | releasable6: status | 05:09 | |
releasable6 | jmerelo, Next release will happen when it's ready. 9 blockers. 174 out of 306 commits logged | ||
jmerelo, Details: gist.github.com/09c99b65792af0d149...df22cde9eb | |||
05:11
w17t joined
05:16
Sgeo left,
Sgeo joined
05:19
cpan-p6 left
05:20
cpan-p6 joined
05:33
Ven`` joined,
cpan-p6 left
05:34
cpan-p6 joined,
molaf left
|
|||
jmerelo | .tell moritz perl6.org seems to be down | 05:35 | |
yoleaux | jmerelo: I'll pass your message to moritz. | ||
jmerelo | .tell timotimo: *.perl6.org seems to be down | 05:36 | |
yoleaux | jmerelo: What kind of a name is "timotimo:"?! | ||
jmerelo | .tell timotimo *.perl6.org seems to be down | ||
yoleaux | jmerelo: I'll pass your message to timotimo. | ||
05:42
Ven`` left
05:47
cpan-p6 left
05:48
cpan-p6 joined
05:51
isomorphismes joined,
mowcat left
05:53
curan joined
06:02
cpan-p6 left,
rindolf joined,
cpan-p6 joined
|
|||
Geth | doc: 782a7de40e | (JJ Merelo)++ | doc/Type/Any.pod6 Example for categorize refs perl6/doc#1731 |
06:08 | |
doc: 048d6e05c5 | (JJ Merelo)++ | doc/Type/Any.pod6 Adds example for classify refs #1731 |
|||
synopsebot | Link: doc.perl6.org/type/Any | ||
doc: e390f35632 | (JJ Merelo)++ | doc/Type/Any.pod6 Adds reduce, refs #1731 |
|||
synopsebot | DOC#1731 [open]: github.com/perl6/doc/issues/1731 [docs] Many methods in Any docs are wrong | ||
06:08
w_richard_w joined
06:19
molaf joined
06:23
isomorphismes left
06:26
cpan-p6 left,
cpan-p6 joined
|
|||
Geth | doc: 832eac7044 | (JJ Merelo)++ | doc/Type/Any.pod6 Reflow and fixing definitions, refs #1731 |
06:30 | |
synopsebot | Link: doc.perl6.org/type/Any | ||
doc: f5d17a2bfe | (JJ Merelo)++ | doc/Type/Any.pod6 Some reflow and corrections |
|||
doc: 218b7f1825 | (JJ Merelo)++ | doc/Type/Any.pod6 Eliminates protos closes #2629 |
|||
06:32
ferreira left
06:33
sauvin joined
06:35
rindolf left
06:39
molaf left,
abraxxa left
06:40
abraxxa joined,
cpan-p6 left,
cpan-p6 joined
06:51
rindolf joined
06:55
mahafyi joined
07:01
cpan-p6 left
07:02
cpan-p6 joined
07:03
dominix_ joined
07:06
dominix left
07:20
sauvin left,
ravenousmoose joined
07:23
cpan-p6 left,
cpan-p6 joined
07:36
cpan-p6 left,
cpan-p6 joined
07:38
kkielak joined
07:46
sauvin joined
07:50
cpan-p6 left,
cpan-p6 joined
07:55
sauvin left,
snarkyboojum joined
07:59
abraxxa left
|
|||
cpan-p6 | New module released to CPAN! Algorithm-Evolutionary-Simple (0.0.6) by 03JMERELO | 08:00 | |
New module released to CPAN! Font-FreeType (0.1.5) by 03WARRINGD | |||
08:02
rindolf left
08:03
rindolf joined,
kkielak left
08:04
cpan-p6 left,
sauvin joined,
cpan-p6 joined
08:27
Ven`` joined,
Ven`` left,
cpan-p6 left,
mahafyi left,
cpan-p6 joined
08:34
dakkar joined
08:42
kensanata joined
08:50
cpan-p6 left,
w_richard_w left,
cpan-p6 joined
09:03
abraxxa joined
09:08
zakharyas joined
09:14
kudzo left
09:20
sno left
09:25
snarkyboojum_ joined,
cpan-p6 left,
cpan-p6 joined
09:26
snarkyboojum left
09:33
reach_satori left
09:36
abraxxa left,
abraxxa joined
09:40
dpk left,
yoleaux left
09:52
snarkyboojum_ left
09:56
tyil left
09:57
tyil joined
10:00
cpan-p6_ joined,
cpan-p6 left
10:05
reach_satori joined
10:13
cpan-p6_ left,
cpan-p6 joined
|
|||
lizmat drops a pin | 10:17 | ||
did we lose yoleaux ? | |||
discord6 | <Vendethiel> Hasn’t it been several months already? | 10:22 | |
jmerelo | lizmat: looks like it | 10:23 | |
perl6.org has been acting up lately. | |||
This morning the domains did not work... | |||
lizmat | yoleaux reacted to me on the 14th of Feb | 10:25 | |
which is less than a week ago? | |||
moritz | jmerelo: what exactly was the error? | ||
when I checked, things worked | |||
10:26
dpk joined
10:31
scovit left
|
|||
jmerelo | moritz: it didn't respond, simply | 10:32 | |
moritz: it lasted a few minutes. Check the log circa 7am | 10:33 | ||
10:40
reach_satori left
10:48
cpan-p6 left,
cpan-p6 joined
11:21
cgfbee joined
|
|||
lizmat clickbaits p6weekly.wordpress.com/2019/02/18/...dy-thanks/ | 11:31 | ||
tadzik | I got chills reading the first sentences. I'm glad it's just about the domain | 11:33 | |
lizmat | wow, I was so **not** going for that thought | 11:35 | |
although you could argue it is an end of an era | |||
11:36
reach_satori joined
|
|||
Juerd | Had similar chills yesterday :) | 11:39 | |
lizmat | shit, so **not** I was going for :-( | 11:40 | |
11:43
sacomo joined
|
|||
tadzik | I blame my grim mood; it's not really implying that in any way, the wording is perfectly appropriate: happy, and a bit nostalgic :) | 11:43 | |
El_Che | lol | 11:44 | |
" In the past week he has passed | |||
" | |||
masak .oO( that's a nice Andy Lester (aka PETDANCE) you have there. would be a shame if something were to... happen to it ) | 11:50 | ||
El_Che | do you ack? | 12:09 | |
12:09
zakharyas left
|
|||
lizmat acks all the time | 12:10 | ||
12:11
mowcat joined
|
|||
masak | I was an occasional `ack` user until I found total happiness with `git grep` | 12:17 | |
12:33
sno joined
|
|||
jmerelo | masak: you probably don't do much outside repos. | 12:33 | |
masak: I don't either :-) | |||
masak | I do, a few. I've been known to `git init` a project that I downloaded, just so that I can `git grep` it | 12:35 | |
jmerelo | masak: :-) | 12:37 | |
tadzik | :D | 12:39 | |
timotimo | i expect searching through a mildly compressed blob of everything that's in the repo but in a single file can be quite efficient | 12:40 | |
jmerelo | timotimo: git is supposed to be a content-addressable filesystem that poses as a source control system. Thus efficiency. | 12:46 | |
timotimo | there's no gain if your blob files are just the same files again but with "blob" in front | 12:47 | |
which is why git has packfiles | |||
12:55
lucasb joined,
abraxxa left
12:56
abraxxa joined,
abraxxa left
12:58
abraxxa joined,
sacomo left
12:59
jmerelo left,
sno left
13:01
ravenousmoose_ joined
13:03
reach_satori left,
ravenousmoose left
13:11
nwellnhof joined
|
|||
nwellnhof | p6: say Date.new('2019-01-01') + -1 | 13:12 | |
camelia | 2019-01-00 | ||
13:12
AlexDani` joined
|
|||
nwellnhof | p6: say Date.new('2019-01-01') - 1 | 13:12 | |
camelia | 2018-12-31 | ||
13:14
AlexDaniel left
|
|||
lucasb | github.com/rakudo/rakudo/blob/mast...#L223-L240 | 13:17 | |
13:19
AlexDani` is now known as AlexDaniel
13:20
nwellnhof left
|
|||
lucasb | ah, I can't understand those multis... need coffee first :) | 13:20 | |
what's the point of nqp::eqaddr($d.WHAT,Date) when parameter $d already is Date:D? to make sure it won't work with subclasses of Date? | 13:23 | ||
13:25
tyil left
|
|||
moritz | correct | 13:27 | |
13:32
sacomo joined,
zakharyas joined
13:37
sacomo left,
tyil joined,
llfourn_ left,
tyil is now known as Guest91383
13:38
w17t left
13:49
discord61 joined
13:51
llfourn joined
|
|||
SmokeMachine | guifa: how is your translation module going? I've being playing with something like this: | 13:57 | |
13:57
discord6 left
|
|||
lizmat | twitter.com/perlcon/status/1097828513388904449 # cheaper rooms at PerlCon 2019 | 13:57 | |
13:57
Guest91383 left
|
|||
SmokeMachine | www.irccloud.com/pastebin/xhBULlDs/ | 13:57 | |
13:58
discord61 is now known as discord6
|
|||
El_Che | lizmat: you'll have to do the laundy and serve breakfast :) | 13:59 | |
lizmat | are you sure you want breakfast from me? or have me do your laundry ? | ||
14:02
mowcat left
|
|||
El_Che | it's a cheaper room for a reason, probably :) | 14:05 | |
14:09
tyilanmenyn joined
14:12
tyilanmenyn is now known as tyil
14:19
molaf joined
14:24
Matthew[m] is now known as matthew[m]
|
|||
jkramer | Ahoy | 14:26 | |
Can someone help me understand what's happening here? dpaste.com/28MZAPA | 14:27 | ||
Somehow the result of the gather is completely different from what I'm take'ing | 14:28 | ||
lucasb | do you want to create 2-elem arrays from the list of words? | 14:32 | |
jkramer | Also this looks like the loop is iterated again after it was already finished? dpaste.com/0X1C3JF | 14:34 | |
lucasb: Well I actually want to do something more complex but I made this poor-man's rotor to illustrate the problem | |||
14:35
sena_kun joined
|
|||
jkramer | Ahh, looks like I need to clone the stuff I'm taking or it'll return @x itself. Is that intentional? | 14:38 | |
lucasb | "iterated again after it was already finished" test('foo bar baz'.words.&test) <-- called twice, no? | ||
jkramer | Oops yeah true | ||
Ok so when I do "take @x" and then modify @x, that also modifies the @x that I've already taking outside the gather? | 14:39 | ||
lucasb | dunno, possibly :) can you try @x<> ? | 14:40 | |
jkramer | You mean "take @x<>"? | ||
lucasb | yes, the zen slice | ||
jkramer | That returns (["baz"], ["baz"]).Seq | 14:41 | |
This seems weird, I'm relatively sure I've been take'ing arrays like this in the past and had no problems. | 14:42 | ||
14:44
curan left
|
|||
lucasb | m: sub f(@a) { my @x; gather { for @a { @x.push: $_; take @x[*] } } }; dd f([1,2,3]) | 14:45 | |
camelia | ((1,), (1, 2), (1, 2, 3)).Seq | ||
lucasb | m: sub f(@a) { my @x; gather { for @a { @x.push: $_; take @x[] } } }; dd f([1,2,3]) | ||
camelia | ([1, 2, 3], [1, 2, 3], [1, 2, 3]).Seq | ||
lucasb | hmm, I was expecting @x<> to just do what I want :) | 14:46 | |
14:46
w17t joined
|
|||
lucasb | jkramer: but yeah, .clone seems to work | 14:46 | |
guifa | SmokeMachine: barring a more robust testing module (and nailing down exactly how I want to have people call it), it’s pretty much done | 14:55 | |
Well, that and the absence of the two built in functions — but I’m working on those, there’s just a LOT of work that has to get done first. I just finished last night a full BCP47 parser | 14:56 | ||
Who would have thought that “en-Shaw-US-t-es-Hebr-ES-u-ca-islamic-x-foo-bar-hahahaha” is a valid language code? | 15:00 | ||
jnthn | It's just an identifier :P | ||
guifa | (American English, written in the Shaw script, as transformed [translated] from Peninsular Spanish written in Hebrew script that uses the Islamic calendar and has private tags of “foo” “bar” and “hahahaha”) | 15:01 | |
jnthn: I know hahaha, it’s still a bit insane how detailed the tags were. | 15:02 | ||
discord6 | <Rogue> isn't that how you send all your communications? | ||
<Vendethiel> I installed a module to a specific location with zef —to=.perl6 install .... I seem to see the module there. But I have no idea what the incantation is for p6 to pick it up. use lib ‘.perl6’; doesn’t work (which makes sense, it wants to be use compunit or w/e). | 15:07 | ||
guifa | Any preferences on naming? Should the BCP47 module return a class “Locale” or “LanguageTag” ? | 15:08 | |
LanguageTag makes more sense because of all the extra information they can hold beyond just language/region/script, but in practice many people use Locale (and a lot of other frameworks use that term) | 15:09 | ||
discord6 | <Rogue> Well, name it what it ought to be, imo | 15:10 | |
15:11
zakharyas left
|
|||
SmokeMachine | Vandethiel: have you tried 6pm? | 15:14 | |
sena_kun | Vendethiel: perl6 -I$path where $path should be, like, /your/absolute/or/a/local/path/lib | 15:15 | |
15:20
skids joined
|
|||
SmokeMachine | Vandethiel: github.com/FCO/6pm | 15:20 | |
15:27
zakharyas joined
15:32
zacts joined
|
|||
discord6 | <Vendethiel> SmokeMachine: I'm too scared of my sysadmisn to annoy them yet again :-). I'll try -I first | 15:33 | |
guifa | For the META6.json file inside of “provides” do I include a list of each class (all or exported only?) and their associated file? Or do just the (sub)modules with their filename regardless the number of classes/roles contained within? | ||
discord6 | <Vendethiel> sena_kun: seems like -I does the same thing as use lib. Doesn't work. | 15:34 | |
<Vendethiel> I'm keeping that 6pm link though, I definitely want to use that later... | |||
sena_kun | guifa, just a "submodule"/file | 15:35 | |
so if you have A.pm6 and class B, class C, class D there, you only write "A": "A.pm6". | |||
15:36
molaf left
|
|||
sena_kun | or, rather, `: "lib/A.pm6", but you get the idea, I hope. :) | 15:38 | |
15:40
zakharyas1 joined,
zakharyas left
15:50
zakharyas1 left,
El_Che left
15:52
El_Che joined
15:53
ferreira1 joined
|
|||
discord6 | <Vendethiel> yeah no, -I definitely doesn't work, even if I try to use some other $HOME I know works | 15:53 | |
sena_kun | hmm, that's odd to me, as it works with e.g. locally stored modules(e.g. clonned from github). On the other hand, zef likely precompiles it, so something other might be necessary in order to use the module. | 15:55 | |
15:58
Sgeo_ joined
15:59
Sgeo__ joined
16:00
Sgeo left
16:02
Sgeo_ left
|
|||
discord6 | <Vendethiel> yeah, that's the issue for sure. I just don't know how to solve it. | 16:05 | |
<Vendethiel> maybe create a repo manually. | 16:06 | ||
16:08
perlbot left,
simcop2387 left,
zakharyas joined
16:09
reach_satori joined
16:12
simcop2387 joined,
simcop2387 left,
simcop2387 joined,
perlbot joined
|
|||
sena_kun | you can probably open an issue for the zef repo with the question. | 16:14 | |
16:15
woolfy left
16:16
kensanata left
16:22
discord6 left,
discord6 joined,
woolfy joined
16:23
jmerelo joined
|
|||
jmerelo | releasable6: status | 16:24 | |
releasable6 | jmerelo, Next release will happen when it's ready. 6 blockers. 175 out of 308 commits logged | ||
jmerelo, Details: gist.github.com/b89f1c81d1dbc661a3...ea07c43ad4 | |||
discord6 | <Vendethiel> I'm not sure it's a zef issue at all. I think it's a perl 6 issue. I just don't know how to tell rakudo where to look for precompilde modules. | 16:25 | |
jmerelo | That's so a zef issue. | 16:27 | |
discord6 | <Vendethiel> I don't run zef when I run perl6 | 16:28 | |
jmerelo | Yep, but it's intimately related to how zef works. All the CompUnit thing is a bit tangled between zef and Rakudo | 16:31 | |
In that particular case, you are looking for a CompUnit path. That's not documented, but if I remember correctly the path includes a call to NQP::sha1 | 16:32 | ||
jnthn | I think you'd perhaps have to use -Iinst#/the/path if it's an installation repository | ||
jmerelo | At any rate, zef's (and thus rakudo's) advice to that kind of thing is: don't. All details of actual storage places are implementation-dependent and you should not take care of that. | ||
jnthn | Rather than a file system one | 16:33 | |
I think --to=... will assume there's to be an installation repo there, not a filesystem one | 16:34 | ||
Whereas -I defaults to a filesystem one | |||
discord6 | <Vendethiel> jnthn: I just figured it out... Yup, need inst# | 16:37 | |
<Vendethiel> oh note, use lib 'inst#foo'; also works. | 16:38 | ||
<Vendethiel> jnthn++ ugexe++ # blogpost was helpful too | 16:39 | ||
jmerelo | Which blogpost? | 16:40 | |
jnthn | I think zef and perl6 are making sensible individual choices on defaults here, but it does mean one has to be aware that there's multiple kinds of repository. | 16:41 | |
discord6 | <Vendethiel> advent of code blogpost | ||
<Vendethiel> argh. I have deps installed for my own user, so --install-to=... doesn't install them -- they're technically "present"... | 16:44 | ||
16:45
MasterDuke left
16:47
zakharyas1 joined
|
|||
Geth | ecosystem: mtw++ created pull request #428: Add Bio::ViennaNGS |
16:49 | |
16:49
seance joined
16:50
zakharyas left
|
|||
El_Che | pretty sure you all have seen this: betanews.com/2019/02/19/google-dev-tld/ | 16:59 | |
in case rakudo, raku, perl 6 domains need to be squattered | |||
hahainternet doesn't have the money yet | 17:00 | ||
Geth | doc: 7f98d42ea0 | (JJ Merelo)++ | doc/Type/Any.pod6 Replaces and moves invert, refs #1731 |
17:03 | |
doc: e642731b9c | (JJ Merelo)++ | doc/Type/Any.pod6 Adds rotor refs #1731 |
|||
synopsebot | Link: doc.perl6.org/type/Any | ||
17:04
mahafyi joined
|
|||
El_Che | Oh joy: perl6channel.dev €9,720.16 Renews at €9.71/yr | 17:06 | |
17:06
zakharyas1 left
|
|||
hahainternet | El_Che: it goes down each day | 17:06 | |
domains.google/tld/dev/ to see the actual prices | |||
instead of that crap news article | 17:07 | ||
jmerelo | El_Che: WTAF | ||
hahainternet | in 9 days it'll be $0 | ||
jmerelo | hahainternet: we'll wait then. | 17:08 | |
hahainternet | jmerelo: i'll be buying mine on feb 22nd | ||
for $350 | |||
El_Che | "You appear to be in a country where Google Domains is not yet available." | ||
oh joy | |||
hahainternet | El_Che: que? | ||
perl6.dev will be £82/year | 17:09 | ||
due to premium status | |||
slightly annoying | |||
vrurg | hahainternet: not to mention the downpayment. | 17:13 | |
hahainternet | vrurg: see above | 17:15 | |
Geth | doc: 201056003c | cfa++ | xt/code.pws Spelling. |
17:16 | |
17:23
dakkar left,
dakkar joined
17:28
zacts left
17:42
dakkar left
17:47
gregf_ left
|
|||
guifa | Okay I *think* I have everything uploaded to github for anyone who wants to play around with BCP74 | 17:52 | |
SmokeMachine: I’ll try to get Fluent added to github sometime tomorrow. Basically, signature for localization is going to be something similar to | 17:54 | ||
sub localize (Str $message-id, LanguageTag $language, *%variables —> Str) { … } | 17:56 | ||
github.com/alabamenhu/BCP47 | 17:57 | ||
jmerelo | guifa++ | 17:58 | |
And guifa++ extra on the asturianu dictionary :-) | 17:59 | ||
18:10
mahafyi left
18:11
mahafyi joined
18:16
zachk joined
|
|||
guifa | jmarelo: thanks! reminds me I need to publish my massive update to the dictionary | 18:17 | |
18:17
zachk left,
zachk joined
18:18
zachk left,
zachk joined
18:40
molaf joined
19:03
dominix__ joined
|
|||
Xliff | gist.github.com/Xliff/395ac11d29c3...ed552bde6d | 19:04 | |
hahainternet | Xliff: very nice | 19:06 | |
Xliff | The library itself is kinda raw and just barely supported, but if I can get in contact with the upstream maintainer, I'm willing to contribute back to it. | ||
I've been waiting for a scriptable spreadsheet for ages. | 19:07 | ||
Well.... scriptable with Perl6. | |||
19:07
dominix_ left
|
|||
Xliff | I still think I may end up making a P6 interface for Google Sheets if someone doesn't get to it. | 19:07 | |
hahainternet | i wish i had the time to contribute | 19:08 | |
Xliff | Gist now shows script used to make the screenshot. | 19:09 | |
Ulti | so this is blocking me from building on macOS, does anyone have some advice "GNU tools detected, despite this not being a GNU-oriented build." | 19:11 | |
hahainternet | Ulti: i don't know for sure | 19:14 | |
but did you install coreutils through brew or similar? | |||
the default tools in macos are BSD, but it's common to install the GNU ones | |||
jmerelo | Xliff: you do that! | ||
hahainternet | so i expect you've got 'incorrect' paths set | ||
Xliff | jmerelo: What? Google Sheet iface for P6? | 19:19 | |
Ulti | hahainternet: yeah I but this was working as recently as yesterday and I've not touched my tooling | ||
jmerelo | Xliff: yay! | ||
Ulti | could be paths | ||
*shrug* | |||
Xliff | jmerelo: Possibly. If the muse strikes me. | ||
hahainternet | Ulti: i don't have a mac and haven't for years, see what's in "echo $PATH" | 19:20 | |
jmerelo | Xliff: if she does not, _I_ might :-) | ||
hahainternet | Ulti: and if it was working a day ago, you can bisect with git | ||
so pick a time you know it worked, check out that version, see if it does :) | |||
Xliff | I'm so involved with GTK stuffs, that might make a nice diversion. | ||
jmerelo | Xliff: no, really, that kind of thing would be really useful. gist might be gone any day... | ||
Xliff | jmerelo; gist will be gone, what? | 19:21 | |
hahainternet | he means if you commit your code upstream, or make your own libraries, they will persist | ||
i think :) | |||
Xliff | Well, the code exists here: | ||
github.com/Xliff/p6-GTKSheet | 19:22 | ||
I need to get a README.md up. | |||
jmerelo | Xliff: it's a service that might or might not be there soon for publishing our stats and whetever. | ||
Xliff++ | 19:23 | ||
Ulti | hahainternet: yeah its not the version in git either so its probably something my side | ||
19:23
sauvin left
19:28
snarkyboojum joined
19:35
sno joined
19:41
silug left
19:50
kkielak joined
19:53
silug joined
19:58
pecastro joined
20:02
jmerelo left
20:05
lucasb left,
snarkyboojum_ joined
20:06
snarkyboojum left
20:25
kkielak left
20:26
kkielak joined
|
|||
guifa | Bad practice to add coercion types to Str for module classes? | 20:27 | |
Or is that an generally accepted use of augment? | 20:28 | ||
20:28
snarkyboojum_ left
|
|||
lizmat | guifa: augment should be avoided as much as possible | 20:31 | |
it still has various issues, specifically if you're trying to augment something more than once or have nested augments | 20:32 | ||
I don't recall the specifics, but if there's another way to do it, you should use that :-) | |||
guifa | Ha, noted. I guess it seems weird that we can write classes to define their own coercion methods, but can’t really defined how things can coerce into them. | 20:33 | |
Just going be lots of multi sub/methods for now :-) | 20:34 | ||
lizmat | guifa: yeah, I wonder if we should have a .COERCE method API for that as well | 20:35 | |
20:35
mowcat joined
|
|||
guifa | Then again, it could also have the oddity that A defines its own coercion to B, and B also defines a coercion for A into B. I suppose there would just need to be a tie breaker in that case | 20:36 | |
Xliff | Would anyone find P6 bindings for GTKSourceView interesting? | 20:40 | |
wiki.gnome.org/Projects/GtkSourceView | |||
20:47
snarkyboojum joined
20:57
sena_kun left
|
|||
TreyHarris | In starting to package up a module for upload, I noticed that my use of META6.pm6 meant that every time I made any change to my META6, the resulting json's order got shuffled. Is there an easy way to keep it stable so I don't have so many useless diff lines? Digging about the code in META6 didn't show me a 'sort' option or something... | 21:36 | |
If there's a standard way to stably order JSON, I don't know it | 21:37 | ||
moritz | have you looked it jq supports that? | 21:38 | |
TreyHarris | moritz: Looks like it might... I need to remind myself how to use jq as a passthrough, then I should just have to slap `-S` onto it | 21:40 | |
moritz | jq -S . < yourfile | ||
works even without the . :D | 21:41 | ||
TreyHarris | heh, yup. thanks--I use jq to extract data into human-readable form a lot more often that to spit out JSON | 21:42 | |
21:47
matthew[m] is now known as Matthew[m]
|
|||
Xliff | Is there a limit to the size of a Perl6 enum? | 21:47 | |
AlexDaniel | Xliff: test it? | 21:50 | |
Xliff | Yeah... working on that now. :P | ||
AlexDaniel: perl6 -I../cairo-p6-paths/lib -I../p6-Pango/lib -I../p6-GtkPlus/lib -e 'use GTK::Compat::KeySyms; say GdkKeySymbols.enums.elems' # 2270 | 21:59 | ||
AlexDaniel | Xliff: is it how many millions of values are there? | 22:00 | |
Xliff | 2270 values in one enum. | 22:01 | |
AlexDaniel | I'm kidding of course, but 2270 values is of course not a problem | ||
Xliff | github.com/Xliff/p6-GtkPlus/blob/m...eySyms.pm6 | 22:02 | |
AlexDaniel | but I do wanna know if there's a limit that you can hit before you run out of memory… | ||
Xliff | What would be the point of such a large enum? If it pushed the limits of memory, it couldn't be used! %) | 22:03 | |
Scripts that use it gotta live somewhere. | |||
AlexDaniel | well, I have a machine with 64G of RAM at home… | 22:04 | |
El_Che | AlexDaniel: and does it run a terminal just fine? | 22:05 | |
AlexDaniel | El_Che: not really, no | ||
Xliff | Mine is still 32. | ||
El_Che | oh noes | ||
Xliff | I need $$$ to go to 64. :P | ||
AlexDaniel | El_Che: I'm disappointed by how fast that gets used up for disk cache | ||
Xliff | Although 32G is treating me just fine. No where even close to running out of memory. | ||
El_Che | AlexDaniel: it's thrown away as needed, isn't it? | 22:06 | |
Xliff | AlexDaniel: My VM uses 12G and I have it running all the time. | 22:07 | |
Still have about half the 32G left. | |||
AlexDaniel: Oh! Check out my issue on #whateverable. I can't get sake to run a test-bot | 22:08 | ||
Xliff lunch & | 22:09 | ||
rindolf | hi all | 22:30 | |
AlexDaniel: wow, 64 gb | |||
rindolf has 3 gb on this laptop | 22:31 | ||
and 8 gb on my desktop box | |||
22:31
skids left
|
|||
El_Che | rindolf: what do you run on the laptop? Win7 or Linux? | 22:33 | |
22:33
snarkyboojum left
|
|||
rindolf | El_Che: linux | 22:34 | |
El_Che: fedora 29 x64 | 22:35 | ||
El_Che | Gnome? Or something lightweight? | 22:38 | |
I have a 11y old small laptop I use sometimes with 2gb ram | |||
I run ubuntu with gnome on that | |||
but I would probably be annoyed by its speed for everyday stuff | 22:39 | ||
(I tried some more lightweight desktop environment, but I couldn't get used to them) | |||
AlexDaniel | El_Che: yes, of course, but if I'm doing some stuff with a lot of data, I don't want to be pulling from the drive | 22:42 | |
22:44
kerrhau joined
|
|||
AlexDaniel | El_Che: around 200G would make me happy I think | 22:44 | |
doesn't sound that unrealistic nowadays | |||
El_Che | I was very happy with a 249MB disk not so long ago, you brat :) | 22:46 | |
AlexDaniel | or maybe very large and crazy fast SSDs will make me equally happy | 22:47 | |
El_Che | why choose! | ||
rindolf | El_Che: i use xfce there | 22:53 | |
El_Che | rindolf: good choic | 22:54 | |
e | |||
23:01
kurahaupo left
23:02
kurahaupo joined
23:24
snarkyboojum joined
23:28
pecastro left
|