Echo JS 0.11.0

<~>

tracker1 comments

tracker1 1 day ago. link 2 points
Nice... worth noting, you should stick to compact line-delimited JSON when using this technique... I'd also look into websockets as another alternative, especially if you want bidirectional data streams.

Another consideration, you should use local storage and/or site messages to reduce the number of long lived, persistent connections to a single server, especially if your users are likely to have multiple tabs open to a website/app.  Most browsers limit you to 6 simultaneous connections, so using the technique above without accounting for this behavior can cause issues with multiple open tabs.

For example, I'll assign a random id to the current browser/tab and then negotiate a "leader" as the active browser tab, or last active browser tab on activation, and that leader will be the one with the persistent connection, then updates can be fed into local-storage so the data/state can be used across multiple tabs.  This can be used for things like notifications or interactive chats, such as on Facebook or LinkedIn.
tracker1 2 days ago. link 1 point
https://cudatext.github.io/

Not really up for trying it currently... I really like the integrated terminal in VS Code, the "console" in CudaText doesn't seam nearly as good, also been using the DB tools in VS Code lately, which has been surprisingly useful.

Not to mention, I use Code's C@ extensions a lot as well, which likely won't see an equivalent here.  I also use Rider when more actively working on a C# project, depending on what I'm doing... but mostly Code.
tracker1 2 days ago. link 1 point
For what it's worth, I've been pretty happy with Hono + OpenAPI + Zod, which has worked very well for me in recent projects.  From there, you can do client generation with a number of tools from OpenAPI, while Zod will do runtime validation against your Hono API implementation.
tracker1 15 days ago. link 1 point
Definitely a cool idea... My only thought/suggestion, are you doing rendering even if the canvas is outside the current scroll region?  I don't know if ThrreJS or your code already account for this scenario and simple leaves it alone.

Aside: Really would be cool to see a Donkey Kong Country style game as a browser-native 3d, not like the pre-rendered 3d on a 2d surface of the original game.  Or, for a more 3D effect, similar to Crash Bandicoot games.
tracker1 16 days ago. link 1 point
Looks interesting, that said, the main project site is a bit painful for me in terms of readability and color contrasts.
tracker1 20 days ago. link 2 points
Congrats on the release... I'd probably post it to Hacker News as it's really OT here, I know you mention RIOT.js, but the project really isn't JS centric.
tracker1 20 days ago. link 1 point
Yeah, I'm in a pretty locked down env at work, and couldn't get to the article itself.
tracker1 29 days ago. link 1 point
Needs some work on the constraints for mouse interactions which can totally break positioning.. at least for me in Chrome.
[more]