Echo JS 0.11.0

<~>

tracker1 comments

tracker1 1705 days ago. link 1 point
One niggle with the post.  IndexedDB's API was really meant to be a groundwork API and the expectation was that libraries would be built on top of that to make interactions easier to deal with for front end developers.
tracker1 1708 days ago. link 1 point
somewhat useful package... I usually just put the following at the top of js modules that need it..

    const delay = ms => new Promise(r => setTimeout(r, ms));

Then I can use `await delay(10)` or whatever in practice.  Often after file operations, so they can sync up before continuing (more for windows antivirus, etc) in node... or to slow down certain operations in a browser.

I will also use this when stubbing API clients when the server-side isn't ready, or similar on the server to simulate longer loads to check UI/UX behaviors.
tracker1 1708 days ago. link 2 points
I think about the only time I ever use defer method these days is with something like zxcvbn, that is massive.  I have a wrapper (asdfgh) that waits for it to be loaded, and handles this for me.

I do like the import() function since it's in browser pretty much everywhere at this point... I don't really worry too much about supporting legacy browsers these days.  ES2020 is generally a safe to use target at this point.  I also realize that some people will disable JS altogether, and while I understand the sentiment, it shouldn't apply to applications.
tracker1 1708 days ago. link 1 point
Appreciate the article... and I agree, redis is very cool... I've used it for sequence generation, caching, pub/sub and queues.  This article off topic though.
tracker1 1709 days ago. link 2 points
I just removed the other two posts since this one had conversation... the author keeps posting about this library via differing venues though.

Not a huge issue... just gets a bit over the top sometimes.
tracker1 1710 days ago. link 1 point
That's 3 posts on this in a week... come on man.
tracker1 1714 days ago. link 1 point
While the default "Deno Deploy" from the Deno company will be a paid service, there will be self-host solutions that will match and I wouldn't be surprised if CloudFlare and other providers become viable solution targets as well.

I'm a bit mixed on the likes of Firebase, Fauna and Dynamo direct client access and security, it does seem like a relatively cool in the box approach.

I don't think this process has been posted about, and I will limit any future posts to after alternative targets are available and/or that target other platforms.

https://deno.com/deploy
[more]