15 Jul 2024 |
Ategon (programming.dev) | so the server will only let you click once while its processing the click | 23:03:45 |
Alliegaytor | Ok, it doesn't pop up anymore with manual clicking | 23:04:05 |
grant | it locks your user until the pixel placement logic has completed | 23:04:26 |
Ategon (programming.dev) | doing a post about pixel pulses | 23:04:45 |
Alliegaytor | 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 | 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 (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 | Maybe a server disconnect sound? | 23:46:51 |
16 Jul 2024 |
taaz (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 |
taaz (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 |
taaz (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 |
taaz (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 | yeah i'll probably move it to redis eventually | 00:23:08 |
grant | that'll be more resilient anyway | 00:23:18 |
Ategon (programming.dev) | Download image.png | 01:07:02 |
grant | "global pixel place" | 01:07:18 |
Ategon (programming.dev) | sure it wont go wrong | 01:13:10 |
Ategon (programming.dev) | * surely it wont go wrong | 01:13:13 |
| Max@feddit.dk joined the room. | 02:25:09 |
Ategon (programming.dev) | finished sound and its in an mr | 02:40:28 |
Ategon (programming.dev) | I cant wait to enable global pixel place for myself | 02:40:38 |
grant | it's not going to be merged before the event ends | 02:57:54 |
grant | it's too close | 02:57:57 |
grant | like an hour left | 02:57:59 |
kersploosh | Nice work, everyone! The final canvas looks great! | 04:06:05 |
Alliegaytor | 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 |
Marius | 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.) | 08:19:35 |
eatham 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 |
Marius | I’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 |
Marius | I’ve seen this post https://toast.ooo/post/4062571 . If only I figure how to reset password in lemmy... | 08:27:51 |