[00:47] *** squashable6 left [01:44] *** leont left [02:20] *** hoelzro_ joined [02:20] *** Altreus_ joined [02:27] *** moon-child left [02:27] *** hoelzro left [02:27] *** Altreus left [02:33] *** moon-child joined [03:08] *** Kaiepi joined [03:15] *** vrurg left [06:32] good *, #moarvm [06:59] *** domidumont joined [07:00] *** samcv left [07:05] *** sena_kun joined [07:11] Good coffee time! [07:16] yes, apart from the point when I spilled a bit [07:46] *** zakharyas joined [08:22] *** Altai-man joined [08:25] *** sena_kun left [09:02] *** Altreus_ is now known as Altreus [09:06] *** zakharyas left [09:08] *** zakharyas joined [09:12] I pressed the hot water button instead of the coffee button. This is not useful. [09:13] just add tea [09:13] I realized before it produced much water ("huh, this coffee looks weak") :) [09:13] or alternative "decaf lite"! [09:13] And there is a cancel button :) [09:15] praise the engineers for offering the ability to retry [09:16] it was an Abort Retry Fail [09:21] Abort To Orbit :D [10:09] *** domidumont left [10:25] if it feels like you're sent into orbit, then what you just made wasn't coffee [10:35] canceling coffee is sort of like a deopt, right? [10:35] *** MasterDuke left [10:37] *** MasterDuke joined [10:53] *** leont joined [11:18] *** MasterDuke left [11:19] *** zakharyas left [11:30] *** MasterDuke joined [12:09] * jnthn wonders if lunch will have made him any smarter... [12:09] Getting all the bits lined up for resume is tricky [12:10] you're resuming new-disp with resume? [12:10] Indeed [12:11] It's the big missing piece [12:12] And it's not just about "make it work" but also "make it work decently fast" [12:12] And make it specialize well, both with and without inlining [12:13] and you have to solve all these at the same time? [12:13] And dealing with the fact that callsame is the actual point that we do the `resume`, but that's megamorphic and the place we'd really like to attach any kind of PIC to is a level up [12:14] Well, yes if I don't want to throw lots away later. [12:14] I don't have to actually implement all the spesh/inline bits right off, but I need to know what, approximately, it should do [12:15] ah right. yes, that sort of design skill - "this looks like it's the right direction" [12:15] "no obvious traps" [12:18] *** domidumont joined [12:19] That plus wanting relatively few mechanisms that solve many problems, rather than lots of special-case stuff [12:19] Which'd be a pity to end up with at this point, given how nicely general the mechanism is up to this point in time [12:20] Also because it's easier to optimize something without too many semantic details [12:23] *** sena_kun joined [12:24] *** zakharyas joined [12:25] *** Altai-man left [13:18] ¦ MoarVM: MasterDuke17++ created pull request #1352: Simplify and optimize isprime_I [13:18] ¦ MoarVM: review: https://github.com/MoarVM/MoarVM/pull/1352 [13:32] *** domidumont left [15:02] MasterDuke: We ended up with libtommath partly out of license concerns (although LGPL is probably OK; I always forget exactly what it enforces), but in a bigger part because of libtommath being far easier to build across platforms. [15:03] MasterDuke: Of note, stock gmp doesn't build on the MSVC compiler. [15:03] There is these days a fork that does: http://mpir.org/ [15:05] (Noting that at the time MSVC was my primary compiler, and there was no way there was time to go and shave that yak) [15:13] Phew, I think I've finally got most of a design that might actually work out [15:13] And doesn't have the implementation problems my first idea had [15:16] Well, first N ideas :) [15:16] Think I'll sleep on this and have a got at implementation starting tomorrow. [15:17] *go [15:21] jnthn: thanks, useful info [15:35] * [Coke] wonders why hacktoberfest repo is not using artistic. [15:35] <[Coke]> ww [15:37] fwiw, https://github.com/ShiftMediaProject/gmp seems more up-to-date [16:12] ah, nice :) [16:13] Given that exists, we maybe can think about a move to gmp, though of course it needs a vict^Wvolunteer... [16:13] And it's indeed a non-small task [16:14] my guess is that getting it integrated into the build is going to be more work than the code changes [16:15] since we aren't doing very complicated math ourselves, mostly just offering a passthrough to their functions [16:15] Yeah, mine too [16:15] Build stuff is always horrible :( [16:17] yeah. i would be interested in attempting the code changes, but not sure if i want to try and get it building... [16:19] i wonder how much work it would be to just get it building locally, make any necessary code changes, and then leave it up to someone else to do the full build integration [16:22] *** Altai-man joined [16:25] *** sena_kun left [16:37] *** lucasb joined [18:39] Out of curiosity, what would be required build-integration-wise to use GMP? Looking at Configure.pl, you look for a system libtommath and otherwise build the bundled one, right? Are there any unusual snares here or is it "this must work on all operating systems" kind of worries? [18:40] * tobs just made Perl "alien" modules for many things at work, including a custom version of GMP [18:44] I don't know for sure, but I'm assuming it's just the two you say - use a system one if found, and then "must work on all operating systems" [18:53] oh, it seems that all 3rdparty libraries currently bundled are pretty simple to build, judging from https://github.com/MoarVM/MoarVM/blob/master/Configure.pl#L585-L616. GMP would definitely need more encouragement from there but I'm inclined to try. [18:55] oooo, that would be very cool [19:08] tobs: how long do you think it would take you? [19:11] MasterDuke: I already started, but I have to understand Configure.pl too. This would be my first contribution to moar. In total I'd say 24 hours from now there is either a first candidate or I have discovered how hard it really is :P [19:12] oh nice, no complaints here! [19:12] *** zakharyas left [19:12] then i'm not even going to bother trying to get a local only build right now [19:26] *** lucasb left [19:32] <[Coke]> tobs++ [19:44] tobs++ MasterDuke++ [20:20] *** lucasb joined [20:23] *** sena_kun joined [20:25] *** Altai-man left [20:49] *** tbrowder left [20:50] *** kawaii left [20:50] *** chansen_ left [20:51] *** tbrowder joined [20:52] *** kawaii joined [20:54] *** chansen_ joined [20:59] *** sena_kun left [21:19] I just had the weirdest thing happen to me. While compiling moar my laptop wanted to go into hibernation but froze instead. For 30 minutes I tried every mechanism on the web to get out of this cleanly because this is my work laptop with 12 workspaces and 200 days uptime worth of shell history, if nothing else, and an encrypted disk that would not be cleanly unmounted. [21:20] After 30 minutes and no avail I held down the power button for 5s and rebooted. Amazingly, when it started back up, it continued right where it apparently failed to hibernate, all workspaces and files intact (as far as I can see). [21:20] Phew [21:21] tobs: how about using infinite bash history? [21:21] it could have been "suspend to both" where it suspends to ram but also to disk [21:22] something like [21:22] export HISTSIZE='' [21:22] export HISTFILESIZE='' [21:22] [21:22] export HISTCONTROL=ignoredups:erasedups # avoid duplicates [21:22] shopt -s histappend # append history entries [21:22] AlexDaniel: I do but it still won't survive a system crash where it is never written to disk. [21:22] I wish my work machine would manage 200 days without freezing up (I get a week or two :/). Pretty sure it's something graphics related, given I get some fascinating mis-renders of things shortly before a lot of them. [21:22] tobs: ohhh that's probably true [21:22] mis-renderings can often be a heat related thing [21:23] Hm, interesting. [21:24] this is a desktop machine? nvidia or amd gpu or intel built-in graphics? [21:24] Guess this also calls for a refresher backup to appease the computer gods :) [21:24] there's usualy a simple-ish way to get at the gpu temperature [21:25] timotimo: Desktop. Completely forgot and not at the machine right now to check, though pretty sure not built-in. [21:25] tobs: maybe also something like this? https://askubuntu.com/a/67306 [21:25] tobs: I remember losing the last few command and being really bummed when having to type them again :D [21:25] i have a munin set up just for fun, i get graphs of, among other things, temperatures for years and such [21:26] doing this in PROMPT_COMMAND feels a bit sketchy to me, but hey it should work [21:27] But yeah, I'd just assumed dodgy graphics driver or something else in the graphics stack (it seems to render stuff in the wrong places, like rendering bits of a different browser tab in another tab, etc.) Heat is an interesting idea. [21:28] jnthn: if it freezes up because of graphics, shouldn't it be possible to SSH to it anyway? [21:28] I was going to add "always seems to be Chrome", then realized that everything else I have is either a terminal or an IntelliJ (or such) instance. [21:28] not necessarily if the kernel freaks out because of it, but still [21:30] AlexDaniel: Didn't try, though I'm not sure what'd be possible even if I can. [21:30] Maybe I should try not running an Ubuntu that's barely still in support also... :) [21:31] i had some excitement this morning after applying a bios update. it rebooted and lost my modified boot order so it booted off my old drive. i had cloned the old onto the new, so i didn't immediately notice. but something was a little off (wrong bash history) and i rebooted and selected the write drive order and everything was fine [21:31] MasterDuke: xD [21:32] hm. i should wipe the old drive now that everything has been fine for 8 months so this doesn't happen again [21:55] *** SmokeMachine left [21:56] *** SmokeMachine joined [21:56] Why oh why does the checks page have the text "Check failure on line 180 in Build log" and then you click it and end up on the files changed tab? :/ [21:56] Talking about https://github.com/MoarVM/MoarVM/pull/1352/checks?check_run_id=1155104345 [21:57] Then hidden at the bottom is the link to the azure page to actually see what's up [21:58] Anyway, there's an NQP test failure [21:59] jnthn: yeah, the test is calling nqp::isprime_I with two args. locally i just removed the second (now un-needed) arg and it passes [21:59] ah, I see [22:00] Rakudo will need a patch also? [22:01] yep, just removing the ',100' here https://github.com/rakudo/rakudo/blob/master/src/core.c/Int.pm6#L160 [22:01] 'k [22:02] I'll look over the PR properly tomorrow. [22:02] cool, i should be around in the evening [22:05] Will have a crack at implementing the latest dispatch resumption design tomorrow, to find out why this variant won't work... [22:30] *** lucasb left [22:50] *** SmokeMachine left [22:51] *** tbrowder left [22:52] *** SmokeMachine joined [22:54] *** tbrowder joined [23:09] *** raku-bridge left [23:09] *** raku-bridge joined [23:09] *** raku-bridge left [23:09] *** raku-bridge joined [23:49] *** leont left