Recent submissions

Comment · 2 years ago
bsky-social-cqrjv-tsfgi bsky-social-xufsa-d6dvu bsky-social-cz7w7-ypiji
Comment · 2 years ago
As a backend developer, I was finding it difficult to use svelte kit to develop a SPA. Specifically it is hard to know from the docs how to handle authentication. The router is not much exposed. I hoped that 2.0 would add something in this area. nextjs docs have a section on server and client based authentication which is useful.
Comment · 3 years ago
Comment · 3 years ago
> Having a server component is just the natural step after a decade of bloated and unnecessary SPAs.

Not sure I buy that argument. While I am not totally against the idea of server based frameworks, what is disappointing is the frameworks are appearing to plant the above message.

SPAs provided us a good boundary and that is blurred by all these server based frameworks. You now have server for UI, server for BE. While I agree some SPAs are heavy, I think we have reasonable solutions for most. And these server based framework still need all the work that is done in SPA, just that routing and some aspects of bundling are taken care.

Comment · 3 years ago
More and more frontend frameworks are now somewhat mandating a server part. I know pretty much all(sveltekit, nextjs) say you can do static export, but docs are more focused to use with a server. IMO it appears like this is being pushed by cloud vendors sponsoring those projects.

If you want to build a plain old SPA, the new react docs pretty much have no info. Sveltekit docs discourages it. I have not looked much into vue, but it appears like vue does better here.

Qwik while has a static export, looks like you lose all the good parts of you don’t use a server.

I can certainly see the SEO and other good thing that comes with SSR but not everyone needs it.

Comment · 3 years ago
From the blog post: Qwik is a next-gen web application framework (and meta-framework) designed for instant application startup, no matter how big the app is. Qwik uses a modern and innovative approach that “streams” chunks of JavaScript to the end user — and it does it automatically!
Comment · 3 years ago
I guess that only pins tools by nixpkgs version, or does it have capability to pin by exact version of tools like say go 1.18, pg 12, node 16 etc?
Comment · 3 years ago
Yes, I think I get that. But it is not easy to pin on different packages. For example if I want golang 1.18, node 12, I need to find the commit corresponding to those and add them. I mean it is possible but not as easy as it should be.
Comment · 3 years ago
Is there a way to pin a version of the tool with this? For me, the biggest problem with Nix is that version pinning is not easy, actually it is complex.
Comment · 4 years ago
Isn’t this similar to solidjs?
Comment · 4 years ago
I almost thought my internet or dns has some problem until I opened HN
Comment · 4 years ago
I don't have an idea on CPU design. Can this lead to M1 like performance?
Comment · 4 years ago
From the docs it looks like you have dedicated instance of service for each user, is that correct. Or it is a kind of multi tenant system where data might be colocated. I am guessing that it is a multi tenant system but If you spin off an instance for user, how do you do that?
Comment · 4 years ago
I am working on a side project solving the exact same thing. The project is not open source yet and I am not very actively working on it. I kind of created it to learn golang and some web technologies and other infra tools that I normally don’t use at work. Good to know that there is a market for, not that i have plans to commercialise it but if i open source it people might be interested to contribute.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton