tynet-lichat/shirakumo - IRC Chatlog
Search
Wednesday, 22nd of March 2023, 17:12:53 UTC
17:19:29
selwyn
do you want to define a new primitive of type polyhedron?
17:20:20
shinmera
wouldn't deltahedron be more accurate?
17:20:53
shinmera
what is the name for a triangle mesh?
17:21:56
selwyn
gjk works on convex polyhedra
17:22:22
shinmera
Yeah I know, but we really don't need to bother with the additional complexity of anything but triangle meshes
17:22:35
shinmera
and things that aren't triangle meshes will get their bespoke primitive like sphere
17:22:56
shinmera
so it wouldn't be apt to call it polyhedron when it's not the supertype of all polyhedra
17:23:13
selwyn
i just call it a triangle mesh
17:23:59
shinmera
since the convexity *is* an important detail.
17:28:08
selwyn
do you want to implement gjk by specialising define-hit-detector on those
17:38:51
shinmera
As mentioned above I want two user-facing APIs; intersects-p, and detect-hits
17:39:55
shinmera
since gjk by itself can't provide everything needed for detect-hits, I wouldn't worry about the user-facing API yet
17:40:06
shinmera
just implement it with regular functions for now
17:58:45
shinmera
One question will be the representation of the mesh, which as mentioned I'm not sure about.
18:00:48
shinmera
probably the most efficient would be an array of floats which implicitly represent the verts as groups of three, and an array of indices that implicitly represent the tris as groups of three.
18:08:11
shinmera
which has the added bonus of being easy to upload to GPU.
18:09:03
selwyn
does the book have a gpu implementation?
18:09:12
selwyn
haven't looked at the gpu chapter yet
18:09:34
shinmera
dunno what it has for gpu.
18:09:55
selwyn
the algorithm doesn't seem that parallelizable
18:10:02
selwyn
but guess i will find out
18:17:04
shinmera
SAL9000: sooo I moved my weechat over to a new Arch-based server, which presumably has a more recent weechat. the lichat script now has a strange behaviour where the buffer won't clear its unread counter if you're on that buffer, meaning as soon as I switch away from the buffer it pops up saying I've got unread messages on it.
18:17:42
Colleen
Can you compare the Weechat versions before/after?
18:17:42
SAL9000
Can you compare the Weechat versions before/after?
18:18:34
Colleen
o_O that's a huge upgrade, I'm on 3.7.1 at the moment
18:18:34
SAL9000
o_O that's a huge upgrade, I'm on 3.7.1 at the moment
18:18:45
shinmera
the old servers run ubuntu
18:18:51
Colleen
lol I was expecting debian
18:18:51
SAL9000
lol I was expecting debian
18:18:55
shinmera
and in addition I hated updating them because stuff would break every time
18:18:56
Colleen
(given the super old weechat)
18:18:56
SAL9000
(given the super old weechat)
18:19:23
Colleen
I've been trying to look into Nix/NixOS again (for server duties)
18:19:23
SAL9000
I've been trying to look into Nix/NixOS again (for server duties)
18:19:39
shinmera
I've got stuff set up with Arch, ZFS, and LXD now.
18:20:06
shinmera
Or rather: proxmox on the root, Arch VM for my stuff, LXC/LXD Arch containers for the actual services.
18:20:17
shinmera
This time doing it "right" and having one container per thing, rather than muddling it all.
18:20:38
Colleen
where is zfs in that stack? proxmox, arch vm, both?
18:20:38
SAL9000
where is zfs in that stack? proxmox, arch vm, both?
18:21:39
shinmera
I didn't handle the root setup myself, my cohort did that.
18:21:50
shinmera
but we can now (finally) snapshot stuff for backups.
18:21:57
shinmera
didn't have regular backups on the old server :y
18:23:08
shinmera
augh this buffer stuff is very annoying
18:23:38
Colleen
yeah I'll see what I can do. gotta go for now though :(
18:23:38
SAL9000
yeah I'll see what I can do. gotta go for now though :(
18:23:58
shinmera
just wanted to let you know in case
20:05:57
selwyn
should i branch from physics?
20:33:22
shinmera
hopefully gingerale won't have any scalding remarks so there won't be much churn on the physics branch before the merge
20:50:58
gingerale
Trying to look at the documentation but I'm just too tired to focus
20:51:33
shinmera
there's always tomorrow.
20:52:04
gingerale
Yeah, just hopefully I'm not too tired after work again
20:52:14
selwyn
i believe i once had to prove the theorem that gjk uses
20:54:22
selwyn
implementing all of gjk tonight will be tricky but i get how the algorithm works
20:54:45
shinmera
and no worries, there's no particular rush.
20:59:17
selwyn
does 3d-vectors have a method for approximately equal?
20:59:46
shinmera
At least I don't think it does. It would be called v~=
21:30:15
selwyn
https://github.com/Shirakumo/trial/blob/physics-gjk/physics/gjk.lisp#L34
21:33:20
shinmera
Bike: you might want to check file-notify on macos. I believe it's pretty badly bugged (not cleaning up FDs on failure among other stuff)
21:34:36
shinmera
I am amazed at how visceral my reaction is upon seeying >= lol
21:37:15
shinmera
I religiously use < and <=
21:38:12
shinmera
they read better to me because it follows the left-to-right smaller->greater scheme.
21:43:22
Colleen
"Hmm, my WSL has weechat 2.8 as well?" "Oh, it's still on the *previous* Ubuntu LTS. Yay."
21:43:22
SAL9000
"Hmm, my WSL has weechat 2.8 as well?" "Oh, it's still on the *previous* Ubuntu LTS. Yay."
22:14:58
selwyn
how do i write a protocol?
0:44:49
Colleen
Shinmera: noted. we're actually using it on WSL, though. (and inotify doesn't respond with the native windows filesystems. much fun)
0:44:49
Bike
Shinmera: noted. we're actually using it on WSL, though. (and inotify doesn't respond with the native windows filesystems. much fun)
5:08:52
gingerale
shinmera: Images on kandria.com seem to have broken?
Thursday, 23rd of March 2023, 5:12:53 UTC