Alex Gleason's avatar
Alex Gleason
alex@gleasonator-com.mostr.pub
npub108pv...yev6
I create Fediverse software that empowers people online. I'm vegan btw. Note: If you have a question for me, please tag me publicly. This gives the opportunity for others to chime in, and bystanders to learn.
Alex Gleason's avatar
Alex Gleason 2 years ago
Half the accounts in the morning are Nostr, but at night it's all fedibros.
Alex Gleason's avatar
Alex Gleason 2 years ago
Danny Devito and Joe Pesci are secretly the same person.
Alex Gleason's avatar
Alex Gleason 2 years ago
Nerds online are driving up the price of CRTs because they want to play blurry Mario like it's 1990 again.
Alex Gleason's avatar
Alex Gleason 2 years ago
Rubber duck: We're doing a weird trick with Nostr+HTTP in Ditto, which follows these steps: 1. Client hits the API, eg POST /api/v1/statuses 2. Ditto sends a WebSocket message to the client, asking it to sign the Nostr event. 3. The client signs the Nostr event, using NIP-07, a stored key, or whatever other method it wants to use, then sends it back over the WebSocket. 4. All this time, the HTTP request from step 1 still hasn't received a response. But now that the backend (Ditto) is finished, it delivers the response. Here is the problem: sometimes that takes more than 60 seconds. It's no issue for Deno, which is very efficient at dealing with idle HTTP connections, but most webservers such as Nginx and anything on top, will cut the request off at 60 seconds. 60 seconds is a reasonable amount of time to wait for a user to sign an event. But now I'm introducing proof-of-work requirements, some of which are designed to not finish in less than 60 seconds on purpose. So now I need to rethink this. I originally chose this design because Mastodon clients already rely on the HTTP response to show toasts such as "Post successfully submitted! [View]" and "Internal Server Error". By keeping the connection open, we can submit the correct response code when it's ready, avoiding a broken UX. So the question is how to extend the duration of the request. Or how to prepare the information needed before making the request. I know this sounds insane, but it will be so worth it.
Alex Gleason's avatar
Alex Gleason 3 years ago
I've been trying to follow my own advice of "don't let your memes be dreams" and do everything that I think I should do as quickly as possible.
Alex Gleason's avatar
Alex Gleason 3 years ago
>pokemon crystal romhack >guy demos it for 1 hour on YouTube >calls it the "perfect" version of the game >download it >apply patch >start game >"Are you a boy or a girl?"
Alex Gleason's avatar
Alex Gleason 3 years ago
WE GET IT. THEY HAVE THANKSGIVING TOGETHER EVERY YEAR. WE GET IT. IT'S SO WHOLESOME. WE GET IT. image
Alex Gleason's avatar
Alex Gleason 3 years ago
Is PlayStation dead? Sony does not seem capable of manufacturing a game console.
Alex Gleason's avatar
Alex Gleason 3 years ago
application/x-gameboy-rom application/x-gameboy-color-rom
↑