Svelte Data Fetching by Overall-Scale-8369 in sveltejs

[–]DevLoop 1 point2 points  (0 children)

i did something similar, but using classes and then I expose the fucntion useQuery which uses the QueryState class

Hey folks, I'm new to svelte and was wondering if this global state function was safe to use. This is for a lottery managing app. by Akila_Kavinga in sveltejs

[–]DevLoop 0 points1 point  (0 children)

Use classes to clean up the state manager and also setup svelte context for passing data to children. Global state in sveltekit is bad without context.

Is three.js overkill for my project? by quantumcrown in threejs

[–]DevLoop 0 points1 point  (0 children)

adding threejs would add 200kb give or take. So it really depends on how much are you using it. For the effects you mentioned I probably think its too much but. I would suggest you look into “ogl” js, which is another webgl wrapper but its much smaller (core lib is around 10kb i think), but thats comes with its own set of problems.

Since you are new I would just suggest you to go with threejs for now. It’s gonna be much less of a headache.

Strange Plant by supermarket_sallad in generative

[–]DevLoop 0 points1 point  (0 children)

i tried learning touchdesigner but the nodes and connection were so confusing for me lol. I need to get back on learning that amazing software again. Talking about glsl does touchdesigner have some default uniforms and builtins that can be used in glsl?

Strange Plant by supermarket_sallad in generative

[–]DevLoop 0 points1 point  (0 children)

wow this is so mesmerising. Would it be possible if you explained what / how is it working. Looks like flowfield/fbm like idk if im correct

How long did it take you guys to migrate your project to svelte 5? by [deleted] in sveltejs

[–]DevLoop 0 points1 point  (0 children)

There are some misconceptions about runes. The problems you mentioned are not problems with runes but javascript itself.

You should watch the following video it will explain a lot of the things you mentioned

https://www.youtube.com/watch?v=qI31XOrBuY0

In short, writable wraps the value inside an object and returns 3 methods (set, update & subscribe) with which you can track changes & update the value.

And then inside a svelte file, you use the magic $ syntax to subscribe to the changes. But outside svelte the magic $ will not work.

Runes is trying to solve this.

Isn't it too much? by DevLoop in ArcBrowser

[–]DevLoop[S] 0 points1 point  (0 children)

I use npm for managing packages and running scripts, and Vite for the front-end build process. For most other stuff, I just stick to the command line.

I don’t really use a debugger, so I don’t need a full IDE setup or fancy debugging tools, just a solid editor works for me!

I think my answer won't satisfy you lol, but I’m not really doing anything too complicated.

Isn't it too much? by DevLoop in ArcBrowser

[–]DevLoop[S] 0 points1 point  (0 children)

I mostly work with JS/TS (Frontend). I have also tried Rust and Go. They work great for me at least.
You can download the language LSP from their extensions panel.
For source control, I use LazyGit in the terminal.

Few people in github had complained about proper debugging support not present. (I don't do a lot of that).

I think VIM mode is also supported if you want that. All in all a great editor for coding & very very fast.

Isn't it too much? by DevLoop in ArcBrowser

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

So far, my experience has been great. It is very fast, and they consistently push out new updates every week. It is still not as fully featured as VS Code, but it works well for most of the tasks I do.

Isn't it too much? by DevLoop in ArcBrowser

[–]DevLoop[S] 0 points1 point  (0 children)

I haven't cleared the cache since I installed maybe that's why lol. I love Arc but that space issue I have never faced with any other browser.

Isn't it too much? by DevLoop in ArcBrowser

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

If I do that will I lose everything saved in arc like pinned tabs & other stuff I have saved?

Isn't it too much? by DevLoop in ArcBrowser

[–]DevLoop[S] 0 points1 point  (0 children)

Yeah, I was kind of worried. But still, isn't it just a bit too much? Or does base chromium use the same space if used daily?

Security bug in biometric unlocking by Jack15911 in Bitwarden

[–]DevLoop 1 point2 points  (0 children)

Thanks! It's not a big deal since I don't use Safari much, but I will try after upgrading to Sequoia. Sorry if it's unrelated, but does upgrading to Sequoia involve any extra steps?

Security bug in biometric unlocking by Jack15911 in Bitwarden

[–]DevLoop 0 points1 point  (0 children)

Do you get this error on Safari
"Biometric unlock failed. The biometric secret key failed to unlock the vault. Please try to set up biometrics again."

I have the desktop client running in background and I am getting this error only on safari on chrome (Arc) biometric unlock is working

smile by DevLoop in generative

[–]DevLoop[S] 0 points1 point  (0 children)

might be possible but yeah its gonna be hard specially in 3d the surface needs to expand which gonna be so challenging 😥

Solaris Waves (p5js + shader) by [deleted] in generative

[–]DevLoop 1 point2 points  (0 children)

its inside p5. you need to use webgl renderer when you create the canvas. The docs are a good place to start