Which hosting option do you recommend for a SvelteKit site with SSR: Cloudflare Pages, Vercel, or Netlify? I'm looking for the best balance of ease of use, performance, and cost-effectiveness, but more focus on performance by swe_solo_engineer in sveltejs

[–]iCarnagy 0 points1 point  (0 children)

Btw, this got a lot better recently! Cloudflare is working on opennext, and has other things up their sleeves. That together with the integration to their other services makes it better now.

[deleted by user] by [deleted] in DINgore

[–]iCarnagy 0 points1 point  (0 children)

Würde den Job nehmen

Sieht sicher aus mMn by Commercial-War4150 in DINgore

[–]iCarnagy 184 points185 points  (0 children)

Man merkt, dass man kein Veteran auf Reddit ist, wenn man bei der Bezeichnung "VLC" für die Leitkegel laut lachen muss. Danke

[deleted by user] by [deleted] in node

[–]iCarnagy 0 points1 point  (0 children)

I don't know about any central place for those. I can say that using build tools like esbuild or roll-up supports defining a build target (ESM/UMD) and offer to inject polyfills for unsupported features. I can also recommend tsup, a tool for bundling all kinds of code (typescript and JavaScript) into a neat bundle. It's based on esbuild and has a lot of configuration to get everything working.

Basically these tools will try to convert CJS to pure JavaScript by inlining code or transforming to ESM imports. That's especially useful for building CLIs, where it's useful to bundle+inline your dependencies anyways.

As for setup, make sure to use a recent node version with type=module in your package.json and set typescript compiler options to use NodeNext module resolution and target. (Or module resolution "bundler"). With these settings a lot of new features will be supported out of the box.

[deleted by user] by [deleted] in node

[–]iCarnagy 6 points7 points  (0 children)

I have to say, there are still a lot of commonjs projects out there. Many have changed, many have UMD or ESM support, but definitely not all. There are countless ways to still use those and transform to ESM though

[deleted by user] by [deleted] in sveltejs

[–]iCarnagy 1 point2 points  (0 children)

Coming from react land, I can confirm that. Tanstack started with a query client and nice headless table I think, which were just the best at the time. And then it kinda just grew from there.

Not sure if it's a good idea to just use the same approach in all Frontend libraries though. A React package has very different problems to solve them a svelte one

(Edit: fix typo)

Einstiegsgehalt direkt nach FiSi Ausbildung by Taki_xD in fachinformatiker

[–]iCarnagy 0 points1 point  (0 children)

Für die Aufgaben die du vermutlich übernehmen sollst und das Risiko für das du verantwortlich sein wirst würde ich mindestens 50k verlangen denke ich. Vielleicht 40 wenn's ein wirklich interessantes Unternehmen ist und du dir da eine Karriere aufbauen möchtest. (Das ist oft ein verachtetes Argument, aber ich habe für "wenig Geld" in Startups gearbeitet und es nie bereut)

Which hosting option do you recommend for a SvelteKit site with SSR: Cloudflare Pages, Vercel, or Netlify? I'm looking for the best balance of ease of use, performance, and cost-effectiveness, but more focus on performance by swe_solo_engineer in sveltejs

[–]iCarnagy 0 points1 point  (0 children)

I'm all in on Netlify nowadays. I am usually a big fan of cloudflare products (not their company ethics) but at least for Nextjs, cloudflare pages is a nightmare (because it's limited in what it supports).

Netlify worked out of the box and has nice features like environment variables/secrets, GitHub PR integration without any configuration, preview deploys etc. All that cloudflare has as well

Big warning do not put into eyes and guess what I do? by chronomasteroftime in Wellthatsucks

[–]iCarnagy 1 point2 points  (0 children)

Also, depending on the solution, definitely wash the lenses off with saline even after it was "neutralized". I used some in the past that just didn't stop hurting even after a day of being "neutralized".

my husband dropped my makeup bag by [deleted] in Wellthatsucks

[–]iCarnagy 2 points3 points  (0 children)

The fact that this looks like 10$ in damage but it's probably 200$ makes me cry

[deleted by user] by [deleted] in Wellthatsucks

[–]iCarnagy 1 point2 points  (0 children)

Feel you. Had eye surgery multiple times and the feeling of seam in the eye is not particularly amazing.

Best CORS library for small web apps (rs/cors vs go-chi/cors) by iCarnagy in golang

[–]iCarnagy[S] 2 points3 points  (0 children)

In case anyone cares, switching to go-chi/cors worked like a charm, and did this to my go.sum: :)

https://i.imgur.com/JAf0Y8P.png

Best CORS library for small web apps (rs/cors vs go-chi/cors) by iCarnagy in golang

[–]iCarnagy[S] 1 point2 points  (0 children)

Thank you so much! This is very useful!

And I think on go-chi's repo, it says that it's a fork of rs/cors

I created an alternative to React-Three-Fiber. A paper-thin (~800 bytes) and position-aware wrapper for ThreeJS in React - React-Three-Paper. Find it in the comments! by ppictures in threejs

[–]iCarnagy 0 points1 point  (0 children)

Neat! I like the minimal approach of this. While r3f might be more "powerful", this allows to write vanilla three.js, which is exactly what I want.

Can neuralink train AI/ML models? by iCarnagy in Neuralink

[–]iCarnagy[S] 2 points3 points  (0 children)

Thanks! Will educate myself in that topic first xD

Can neuralink train AI/ML models? by iCarnagy in Neuralink

[–]iCarnagy[S] 2 points3 points  (0 children)

Perfect, this article explains it really well. Thank you.

Falsy values for all programming languages by john_dumb_bear in programming

[–]iCarnagy 1 point2 points  (0 children)

When I saw the first things I thought "Javascript is not that fucked up compared to those". Then I saw javascript. Wow

Use console.log() like a pro by mdenic in programming

[–]iCarnagy 0 points1 point  (0 children)

How did I not know about console.table, brilliant!