!wYqGVthtJzpjPdHmbe:matrix.org

Canvas Meta

240 Members
General discussion for Canvas - https://canvas.toast.ooo - Bridged to Discord42 Servers

Load older messages


SenderMessageTime
15 Jul 2024
@ategon:matrix.orgAtegon (programming.dev)so the server will only let you click once while its processing the click23:03:45
@alliegaytor:matrix.orgAlliegaytorOk, it doesn't pop up anymore with manual clicking23:04:05
@grant:aftermath.gggrantit locks your user until the pixel placement logic has completed23:04:26
@ategon:matrix.orgAtegon (programming.dev)doing a post about pixel pulses23:04:45
@alliegaytor:matrix.orgAlliegaytor
In reply to @grant:aftermath.gg
it locks your user until the pixel placement logic has completed
yeah I saw that. it feels a bit more than a bandaid
23:05:33
@grant:aftermath.gggrant
In reply to @alliegaytor:matrix.org
yeah I saw that. it feels a bit more than a bandaid

there's no other shards and it's global to the instance socket.io handler

i'm not sure of a better way to exec a lock like that

23:06:36
@ategon:matrix.orgAtegon (programming.dev)Working on some sounds, if anyone has anything specific you want a sound for let me know (other than pixel available)23:44:17
@alliegaytor:matrix.orgAlliegaytorMaybe a server disconnect sound?23:46:51
16 Jul 2024
@wereii:matrix.orgtaaz (biglemmowski.win)
In reply to @grant:aftermath.gg

there's no other shards and it's global to the instance socket.io handler

i'm not sure of a better way to exec a lock like that

there are few ways to do it "properly", redis mutex (node-redlock) which is basically SET on key that's specific to a user, with NoteXists flag to make it error out if already set (value does not matter) and optionally with TTL or postgres - SELECT user FOR UPDATE NOWAIT to get an error if something is already accessing that user
00:20:08
@wereii:matrix.orgtaaz (biglemmowski.win)
In reply to @grant:aftermath.gg

there's no other shards and it's global to the instance socket.io handler

i'm not sure of a better way to exec a lock like that

* there are few ways to do it "properly", redis mutex (node-redlock) which is basically SET on key that's specific to a user, with NoteXists flag to make it error out if already set (value does not matter) and optionally with TTL or postgres - SELECT user FOR UPDATE NOWAIT to get an error if something is already accessing that user
00:20:37
@wereii:matrix.orgtaaz (biglemmowski.win) * there are few ways to do it "properly", redis mutex (node-redlock) which is basically SET on key that's specific to a user, with NoteXists flag to make it error out if already set (value does not matter) and optionally with TTL or postgres - SELECT user FOR UPDATE NOWAIT to get an error if other process is already accessing that user and bail out 00:21:08
@wereii:matrix.orgtaaz (biglemmowski.win) * there are few ways to do it "properly", redis mutex (node-redlock) which is basically SET on key that's specific to a user, with NoteXists flag to make it error out if already set (value does not matter) and optionally with TTL, or with postgres - SELECT user FOR UPDATE NOWAIT to get an error if other process is already accessing that user and bail out 00:22:08
@grant:aftermath.gggrantyeah i'll probably move it to redis eventually00:23:08
@grant:aftermath.gggrantthat'll be more resilient anyway00:23:18
@ategon:matrix.orgAtegon (programming.dev)image.png
Download image.png
01:07:02
@grant:aftermath.gggrant"global pixel place"01:07:18
@ategon:matrix.orgAtegon (programming.dev)sure it wont go wrong01:13:10
@ategon:matrix.orgAtegon (programming.dev) * surely it wont go wrong01:13:13
@max=40feddit.dk:aftermath.ggMax@feddit.dk joined the room.02:25:09
@ategon:matrix.orgAtegon (programming.dev)finished sound and its in an mr02:40:28
@ategon:matrix.orgAtegon (programming.dev)I cant wait to enable global pixel place for myself02:40:38
@grant:aftermath.gggrantit's not going to be merged before the event ends02:57:54
@grant:aftermath.gggrantit's too close02:57:57
@grant:aftermath.gggrantlike an hour left02:57:59
@kersploosh:matrix.orgkersplooshNice work, everyone! The final canvas looks great!04:06:05
@alliegaytor:matrix.orgAlliegaytor Really impressed with the hosting and patching as it went along 👍️ It was basically seamless after the first patch. Thanks grant and Ategon (programming.dev) :D 04:07:27
@marius851000:mariusdavid.frMariusI wonder, has anyone started an atlas? I might want to host that if no one else does. It allow to have an interactive map of the finished canvas with infos about the placed arts (those info need someone to enter them. They can be put in a Git repo.)08:19:35
@eatham:matrix.orgeatham OLD ACCOUNT
In reply to @marius851000:mariusdavid.fr
I wonder, has anyone started an atlas? I might want to host that if no one else does. It allow to have an interactive map of the finished canvas with infos about the placed arts (those info need someone to enter them. They can be put in a Git repo.)
AFAIK, no one has started yet, but check the lemmy incase someone has. Also, grant said if someone makes one he will provide a subdomain
08:25:56
@marius851000:mariusdavid.frMariusI’ll probably make a repo on GitLab later today, and do some cleanup. I already experimented a bit with this about 2 years ago for pxls (but never hosted it).08:27:13
@marius851000:mariusdavid.frMarius I’ve seen this post https://toast.ooo/post/4062571 . If only I figure how to reset password in lemmy... 08:27:51

Show newer messages


Back to Room ListRoom Version: 10