rajsite
rajsite
DDeno
Created by anggoran on 8/3/2023 in #help
deno_python
Seems like the use case is pretty similar, leverage some python libraries and code in a deno app, but the tradeoffs in implementation are different, python that runs inside the deno sandbox as webassembly vs global / system installed python. There is a fair number of libraries available in pyodide but true that it's not everything available on a system: https://pyodide.org/en/stable/usage/packages-in-pyodide.html
15 replies
DDeno
Created by anggoran on 8/3/2023 in #help
deno_python
Another thing to try could be using python via pyodide. With deno's npm and --node-modules-dir support I found you can leverage pyodide and the libraries compiled for it (the example there shows numpy): https://github.com/pyodide/pyodide/issues/3420#issuecomment-1542742906
15 replies
DDeno
Created by rajsite on 2/18/2023 in #help
Cache related headers not included in deno deploy for static file serving
Thanks for the help @Andreu Botella (he/they) 🙂 Have a good one!
18 replies
DDeno
Created by rajsite on 2/18/2023 in #help
Cache related headers not included in deno deploy for static file serving
Looking at the PR made me wonder how much of the deno std library had Deno Deploy specific logic in it. Does seem like there is some just searching for deploy but not a huge amount. Hopefully that's something they'll want to avoid growing too much 😅
18 replies
DDeno
Created by rajsite on 2/18/2023 in #help
Cache related headers not included in deno deploy for static file serving
Diving into the source to see what's happening is a lot more approachable in Deno, it's pretty nice. Feels like the deno deploy observability tools have room to grow. But still learning and all very cool!
18 replies
DDeno
Created by rajsite on 2/18/2023 in #help
Cache related headers not included in deno deploy for static file serving
Or just source inspection and clever thinking 😛
18 replies
DDeno
Created by rajsite on 2/18/2023 in #help
Cache related headers not included in deno deploy for static file serving
Have any approaches on how you figured that out? Logging responses yourself and noticing expected headers weren't present or is there some way to observe that in the deno deploy tooling?
18 replies