HackerTrans
TopNewTrendsCommentsPastAskShowJobs

MarkBennett

no profile record

comments

MarkBennett
·há 10 meses·discuss
Has anyone seen any indication of what stack or chain this is based on? What is this x402 foundation they're going to participate in with Coinbase?
MarkBennett
·há 3 anos·discuss
I’ve been using Deno Deploy as as a paying customer for the last year, both because I want to support what they’re doing and because I appreciate the amazingly tight deployment times.

That said, it’s suffered for the lack of access to the file system or dynamic imports which makes things like MDX challenging without adding additional build steps.

Do Supabase Edge Functions allow read/write file system access? What about dynamic imports?
MarkBennett
·há 4 anos·discuss
Are there any benchmarks with the new server yet? Would be keen to see how it compares to the existing server as benchmarking on my machine showed a significant improvement over the existing http server in stdlib.
MarkBennett
·há 4 anos·discuss
It's my understanding that GFM is already easy to do, in fact there's an example of using it with Fresh in the fresh repository as it's used for the docs!

https://github.com/denoland/fresh/blob/main/www/routes/docs/...

Using MDX is a little trickier as the .mdx file needs to be compiled to a javascript file which is then interpretted. When running Deno yourself this isn't hard as you can use a dynamic import, but if you're planning on using Deno Deploy you'll be out of luck as it doesn't support dynamic imports currently.

https://github.com/denoland/fresh/issues/640

Deno Deploy has an open issue asking for support if you want to give it a star. ;)

https://github.com/denoland/deploy_feedback/issues/1

As a workaround, you can always setup a watcher and preprocess MDX files before deploying to Deno Deploy, but that seems against the spirit of what Fresh is trying to accomplish by getting rid of preprocessors.

Let me know if you figure out a way to get MDX on Deno Deploy working without precompile as I'd like to use it myself!
MarkBennett
·há 4 anos·discuss
You might want to consider giving Deno another shot, as they've spent a lot of time on building node comparability since v1.15 specifically to address these problems.

Many of the APIs you mentioned are supported already, while a few require the unstable flag...

https://deno.land/std/node/README.md

In my experience I've been able to use many node packages unmodified recently.
MarkBennett
·há 4 anos·discuss
ha ha, that was my first thought too