sachaw
Explore posts from serversImporting deno modules with import maps
Hi, I am currently trying to import a deno library either locally or via url.
The library contains a deno.json file containing an import map for jar packages.
I have tried importing the mod.ts file (which thows an error complaining about local imports (no import map to resolve them).
Also tried importing the deno.json but you can't import json modules like this AFAIK.
Any ideas?
Thanks.
5 replies
Way too iterate over Deno.serve connections?
Hi, as a lot of the old http api's are now deprecated, I would like to know if there is a nice way to achieve the following:
Create a
Deno.serve
instance, iterate over each request, my goal is to put this in an async generator that yields upgraded websockets.
This is doable with the Deno.listen
api, but now that the Deno.serveHttp
is deprecated, I'm not sure how to proceed.
Thanks.4 replies
Force effect computation, or alternate approach?
I'm trying to write my own force directed graph, I am able to display nodes and links just fine with a random initial coordinate.
I also have a simple function that calculates the next positions for the nodes.
However I need to call that function at a rather high rate.
When I put it inside of an interval, nothing gets updated. I'm pobbably missing something here.
Any assistance would be much appreciated.
11 replies
Nicest way of having computed properties in a store?
I'm trying to model my store in a concise way,
I want to have some base properties, and some computed properties, I think the cleanest way is to use getter/setters but currently they are not reactive as I'm clearly doing something wrong. This is what I have currently:
13 replies
Plan for open source orginizations
Hi, I've used Railway for quite some time now and very happy with the service.
I am looking to move some services of our open source organization over, but none of the current plans fit very well.
We quickly run into an issue where say we wanted 5 maintainers to have access, that would run us $100/month + usage where chances are some of those admins will never or very infrequency login.
Not asking for a handout and happy to pay appropriately for usage, but the seat model for teams just doesn't work for us.
Would this be something that can be negotiated?
4 replies