Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lucacasonato
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
lucacasonato
3y ago
We will soon support WASM imports (`import source foo from "./foo.wasm"`). [1] [1]: https://github.com/tc39/proposal-source-phase-imports
32.
▲
by
lucacasonato
3y ago
You could also just use `String.prototype.padStart()` [1], and you get a nice optimized C++ implementation :D [1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
33.
▲
by
lucacasonato
3y ago
It does not use TSC / do type analysis. This is purely syntax analysis. The "slow types" restriction specifically exists because JSR does not use TSC or do type analysis :)
34.
▲
by
lucacasonato
3y ago
1. You can bypass slow types checks during publishing. You will just get a lower JSR score. 2. TypeScript is shipping features in the next release (TS 5.5) has quick-fixes in the editor to make it super easy to add explicit types :) The TS
35.
▲
by
lucacasonato
3y ago
The TypeScript syntax is very stable - there is no spec, but it's very stable. The type system on the other hand: not very stable, and yeah I agree - that would be risky to rely on. However as JSR only relies on the syntax, not on the
36.
▲
by
lucacasonato
3y ago
You can use Queues for this :) https://deno.com/blog/queues
37.
▲
by
lucacasonato
3y ago
Hey, I'm one of the developers working on Deno KV. Happy to answer questions!
38.
▲
by
lucacasonato
3y ago
I built this! Ask me things :D
39.
▲
by
lucacasonato
3y ago
Storage cost + write ops are multiplied by region count
40.
▲
by
lucacasonato
3y ago
Yes, Deno KV is much closer to D1 than to Cloudflare KV.
41.
▲
by
lucacasonato
3y ago
Thanks <3
42.
▲
by
lucacasonato
3y ago
Yes, the hosted KV solution built into Deno Deploy is one of the ways Deno makes money.
43.
▲
by
lucacasonato
3y ago
Yes, sort of - on Deno Deploy the authentication doesn't come from a token in env vars, but from intrinsic security tickets baked into the Deno Deploy system. Also, it's a bit faster on first connect, because compared to KV connec
44.
▲
by
lucacasonato
3y ago
I worked on some of this - happy to answer questions :)
45.
▲
by
lucacasonato
3y ago
Check out https://wintercg.org
46.
▲
by
lucacasonato
3y ago
If you are same origin, you do not require CORS to use type=module. Also type=module works on HTML pages served from file:// (file:///.../index.html).
47.
▲
by
lucacasonato
3y ago
I don't think this will happen. People _love_ cutting edge innovation. Cutting edge innovation happens on cutting edge platforms, not in the legacy.
48.
▲
by
lucacasonato
3y ago
Most Node APIs work just like they do in Node, yes. Some are not yet implemented (like the ones you mentioned). We'll be addressing them in priority order based on user feedback and how many NPM packages are blocked by the given featur
49.
▲
by
lucacasonato
3y ago
thanks! :D
50.
▲
by
lucacasonato
3y ago
Hey folks - I worked on this. AMA
51.
▲
by
lucacasonato
3y ago
JS runtime != JS engine Runtime: - Chrome - Deno - Node - Bun Engine: - V8 - JSC - SpiderMonkey - LibJS
52.
▲
by
lucacasonato
3y ago
All branch deployments share one store. All main deployments share a different store.
53.
▲
by
lucacasonato
3y ago
Hey - I am one of the engineers that works on Deno KV. Happy to answer questions.
54.
▲
by
lucacasonato
4y ago
Well except for NPM :D
55.
▲
by
lucacasonato
4y ago
Our editor integration is completely editor agnostic. Deno implements the Language Server Protocol [1], which essentially all editors support. Because of this the new inlay hints feature, is supported on all editors that support inlay hints
56.
▲
by
lucacasonato
4y ago
It is not. It is a custom runtime on custom infrastructure. Why do you assume we use Cloudflare under the hood?
57.
▲
by
lucacasonato
4y ago
One of the next releases will improve the plugin API to the point where authentication providers can be very easily added as plugins.
58.
▲
by
lucacasonato
4y ago
It uses the Mozilla certificate store by default.
59.
▲
by
lucacasonato
4y ago
Are you behind a corporate firewall? Can you set `DENO_TLS_CA_STORE=system` and try again?
60.
▲
by
lucacasonato
4y ago
Thanks for the kind words!
More ›