bsky-social-cqrjv-tsfgi bsky-social-xufsa-d6dvu bsky-social-cz7w7-ypiji
HN user
mrath
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.
I have not said SvelteKit can't do it. In fact having different options(and for free) is a great thing. I was raising the point that messaging [1] is that it is not recommended most of the time, and does not say when it is good to have an SPA.
Also mentions about scenario JavaScript is disabled. I am not too sure if these frameworks help there with SSR. May be it meant the user can still see a pre-rendered page but with almost no interaction possible?
Essentially I was saying there is a push towards server based frameworks.
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.
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.
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!
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?
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.
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.
Isn’t this similar to solidjs?
I almost thought my internet or dns has some problem until I opened HN
I don't have an idea on CPU design. Can this lead to M1 like performance?
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?
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.
Unfortunately whatever they do is not going to go well either locally or globally.
I am in late 30s, I recently switched jobs. Before this switch I never jumped for less than 20% hike. But this one I took slightly more than 30% cut. I never thought i would leave for less.
I was really disliking the tech stack, I could not change it even after trying. But there were lot of nice people, pay was above market levels. But i was still not satisfied, I could have stayed there and earn good increment every year by just doing 4-5 hours daily work.
The new company is a big Australian start up. My hope is that in the new company I’ll get to work with smart people and learn new things which I consider as an investment for my future growth.
But we only have 7.8 billion people. Or we are Saying people get reinfected multiple times within 33 days.
I switch between Fira Code, mononoki and Cascadia Code
Looks like you know a bit of Nim. Apart from ecosystem and IDE what are the some of the disadvantages of Nim compared to Go?
Thanks I’ll check it out.
I don’t know much about Nim, does it have a mandatory gc, like go? How good is Nim’s gc?
Those who have written some Go and Nim, home does the code look like vs go?
Unless it is an emergency you practically does not get good care unless you went private, even for private the wait time is too long. I am not impressed.
I am not a JavaScript developer but I have read some of the articles by Ryan and I feel like like he knows his stuff.
I wish him all the success. But in the current scenario of JavaScript ecosystem it is going to be quite hard for new framework to get traction.
People are ready to test drive another framework?
It is amazing and frightening at the same time. The other day I was reading somewhere that micro organisms on the surface of spacecraft survived on the cleaning liquid that is designed to kill them.
How does @Transactional span services? With a JtaTransaction manager?
If you are saying about micro services here which talk grpc/http then @Transactional does not help.
If you are talking about inside one service then you have write all that boilerplates, and it will not look as simple as Java
This language looks very nice, I have been keeping an eye on it. From what I remember there were some issues around memory management without gc, specifically because there were mutable, reference types and multithreading. How does it manage memory? Does it use something like ref counting? Is there any documentation around it?
I believe kotlin does not persuit performance and low overhead. But given that there are multiple variants of kotlin compilers (js, jvm, native) I think it will be a lot of work to maintain that, any behaviour need to be done in three places. Assuming that JetBrains can make some money from the Tools they sell, kotlin is probably in the right hands. May be good also have some vested interest for Kotlin to suceed.
I disagree with some of the points. I think something between mono and multi is good. If you have multiple independent products or multiple independent dev teams, they should probably have their own repo.
We had 30 odd services in a multi repo setup, we recently moved them all to a mono repo. The new mono repo structure so much easier to work with.
I have a hobby project in react which I started using CRA. It only have few screen but uses material UI and few other libs so the minified bundle size already over 700k without splitting. In dev the refreshes became slow to the point where I have wait a few seconds to see result after I change a file in IntelliJ. So I wanted to give snowpack a try, and the results are amazing, In a blink of eye the browser screen is updated and state is preserved.
I read the linked issue on react-refresh on the release note, but no idea if it fast enough or not.
I was told by a fellow Australian, that was a birth right as Australian :-)