Ugh, that's not how big O notation works.
Deno raises $21M
341–350 of 397 posts
Re: Deno raises $21M
#342Re: Deno raises $21M
#343Interesting how this will play out. It's an ambitious goal to consolidate client side and server side javascript ecosystems which is quite fragmented today. On the other hand, this may only increase fragmentation further by introducing another target to develop for (wait for transpilers that can automagically convert between deno and node code). I will always look at javascript as this problem kid that cannot get its…
Re: Deno raises $21M
#344Is there a NextJS-like framework for Deno?
Re: Deno raises $21M
#345The rise of JavaScript-only clouds intended as "defacto" solutions for web development scares the hell out of me. Monocultures are dangerous. At least in the early Node era, it sat alongside all the other flavors of server infra out there with a near-infinite variety of languages, platforms, OSes. Now we're being told that the future of web development is…Deno? That's it? One tool? One language? One platform? Not the…
I'd rather work for a monoculture than a cowboy pick-whatever-you-want one; it's not a dichotomy, sure, but I'm aware of the latter for business continuity. You run into scaling and talent acquisition issues. Bus factor. Etc. If you as a company can say "We need a Deno developer" instead of "We need a full-stack Javascript/NodeJS/Scala/Java/Go/Rust/Erlang developer" (just to name a random array of languages) you can hire and train a lot better.
Re: Deno raises $21M
#346> Cold start (time to first response, ms) O(100) O(1000) O(10000) Ugh, that's not how big O notation works.
Re: Deno raises $21M
#347Earlier quoted context omitted.
There are ways to version your database schema. Then you just need to make sure your code version is tied to your database version.
You can't restart all of your web services atomically. What happens if two web services are running two different versions for a couple seconds?
1. Old version
2. Old version/new version both live.
3. New version live after step 2 is confirmed as fully done.
Re: Deno raises $21M
#348Earlier quoted context omitted.
Been writing web stuff since before the dot-com bust. Preact + TypeScript is probably my favorite front-end programming combo yet. I liked VB6 and C# WinForms, though, so maybe I’m an invalid sample.
C# WinForms was super comfy for when you just wanted to throw together some simple GUI tool for internal use. As powerful as WPF and similar frameworks are they definitely lose to WinForms in ease of use.
Re: Deno raises $21M
#349> Cold start (time to first response, ms) O(100) O(1000) O(10000) Ugh, that's not how big O notation works.
Big-O means given an arbitrary function of some complexity, it is definitely bounded by this other function from the top, i.e. that other function is always larger than our arbitrary function.
f(n) \in O(n^2) means n^2 (ignoring constant factors) is always larger than f(n). If you have no polynomial elements in your O(g), then you only state the constant factor. Like in O(1).
So saying Cold_start(service) \in O(100 ms) is exactly the same as saying the cold start will always be below 100 ms. It makes sense to not say they are all O(1), although strictly they are, as the interesting bit is the difference in magnitude of the constant.
Re: Deno raises $21M
#350Earlier quoted context omitted.
Has been possible (and surprinsingly easy) for a while through CDNs like skypack or esm.sh
So deno runs JS? I thought it ran exclusively typescript.