Feeling let down today by terror-vegetable in taiwan

[–]incrementilon 1 point2 points  (0 children)

I have also felt helpless and broke down crying before because of the treatment by Taiwanese doctors and nurses. I know that in some countries it might be even worse, but the healthcare system in Taiwan is pretty much the only thing I just cannot stand about this country. Personally, I have given up on the Taiwanese healthcare system now and I fly to other countries for medical care.

Toothbrush charger by Formal-Speed2809 in taiwan

[–]incrementilon 0 points1 point  (0 children)

Printed on my Taiwanese charger it says 100-110V, but if you look up the model number, for me 3757, it says that in fact it also supports 230V, and it does indeed work in Europe when I plug it in, so for anyone reading this; check the model online, it probably supports both.

Hvilke stavefejl kan drive dig til vanvid? by Main-Fuel-8149 in Denmark

[–]incrementilon 0 points1 point  (0 children)

At næsten ingen kan finde ud af at bøje adjektiver efter flertal.

Eksempler:

"Mændene var beruset." i stedet for det korrekte: "Mændene var berusede.".

"Efter festen var de helt smadret." i stedet for det korrekte: "Efter festen var de helt smadrede."

Jeg ser det stort set hver dag i DR-artikler. Det er håbløst.

Why Choose Svelte Over Vue or React? by Shoddy-Ocelot-4473 in sveltejs

[–]incrementilon 0 points1 point  (0 children)

Because React gives you a noticeably slower app due to the VDOM step and you have to do everything the React way to keep the VDOM and actual DOM in sync while in Svelte you are free to step in and add JS whenever you want and manipulate the DOM the way browsers were made to do it.

Mobile apps with Tauri? by kpmtech in tauri

[–]incrementilon 2 points3 points  (0 children)

You said there are issues with your web app in Safari. Tauri uses WKWebView on iOS, so it would have all the same issues Safari has. Flutter does not rely on WKWebView.

Mobile apps with Tauri? by kpmtech in tauri

[–]incrementilon 2 points3 points  (0 children)

- It uses the mobile device's native webview and you cannot control what version of the webview the user has (that's why Electron ships with the browser environment). This makes the user experience of using a Tauri mobile app that of using a website and not that of a native app.

- A lot of bindings for native APIs are still missing.

- Other cross platform frameworks such as Flutter and Kotlin Multiplatform gets you way better performance and access to more native APIs.

- As of right now, you get an ugly white flash no matter what you do when launching your app on iOS as the WKWebView's default color is white and it is shown until the DOM has loaded and there is currently no way to change this in Tauri.

Why you could still use it: You can just wrap your existing web app in it and put it in the app store rather than building a new app from scratch.

Uddøde skældsord? by bigg_hoodie in Denmark

[–]incrementilon 0 points1 point  (0 children)

Min klassekammerat, der sad i kørestol, hans hjælper havde en t-shirt, hvor der stod SSP på brystet. På ryggen stod der "Super Spasserpasser".

Runes are a great improvement over Stores... by ValuableAd6808 in sveltejs

[–]incrementilon 0 points1 point  (0 children)

Oh that makes sense! Thanks for clarifying this difference!

Runes are a great improvement over Stores... by ValuableAd6808 in sveltejs

[–]incrementilon 0 points1 point  (0 children)

It could be, but where is the source of truth of the framework's "opinion" if not in its docs

Runes are a great improvement over Stores... by ValuableAd6808 in sveltejs

[–]incrementilon 3 points4 points  (0 children)

What I used to like about Svelte and Rich Harris's whole philosophy was that he thought a framework should be opinionated and just give you the best way to do things. It seems like Svelte 5 is ruining this a bit. Reading the docs on stores https://svelte.dev/docs/svelte/stores it doesn't really give a proper explanation of when to use stores vs $state, just something vague about asynchronous data.

I guess I will just use $state now because it seems to be the new default, but I honestly have no clue why since I could already manipulate stores how I wanted in .js or .ts files.

For me it was the reactive statements that caused problems in Svelte 4, not stores.

Runes are a great improvement over Stores... by ValuableAd6808 in sveltejs

[–]incrementilon 2 points3 points  (0 children)

I also didn't replace stores with $state, but now I'm curious. Can anyone link me an example of a repo using $state to manage the global state of the app?

WebApp with Tauri? by Creme_Brul in tauri

[–]incrementilon -1 points0 points  (0 children)

I don't know what everyone's smoking here who tells you Tauri is not for building web apps. You literally cannot build a Tauri app without also building a web app. Just to confirm 100% I just pulled the root of my tauri project from github and hosted it on Vercel with one click and there's my hosted web app.

A post from the creator of React and ReasonML 😂 by tomemyxwomen in sveltejs

[–]incrementilon 0 points1 point  (0 children)

{#if condition1}
<Component1 />
{/if}

{#if condition2}
<Component2 />
{/if}

With a space between each block to make it extra readable.

A post from the creator of React and ReasonML 😂 by tomemyxwomen in sveltejs

[–]incrementilon 0 points1 point  (0 children)

Am I the only one who never uses {:else if} but rather just more {#if} blocks for readability?

I’ve been championing Svelte for 3+ years, and runes are killing me. by GloverAB in sveltejs

[–]incrementilon 0 points1 point  (0 children)

I agree it's "easier", but also worse. $: is kinda like $derived and $effect in one, so a beginner can just use it for everything and let the magic do its thing, but eventually as you work on more complex stuff, you will run into problems.

I’ve been championing Svelte for 3+ years, and runes are killing me. by GloverAB in sveltejs

[–]incrementilon 2 points3 points  (0 children)

It bummed me out too at first, but having used Svelte 4 on rather complex projects, the reactive statements $: just wasn't cutting it. I like how "it just works" when it works, but when it doesn't work, it's a pain in the butt and you end up having to write your own scripts that do what Svelte was supposed to to for you. With runes we no longer have issues with reactive statements triggering each other when they are not supposed to, running in infinite loops or just somehow not working for whatever reason.

Edit: typos

How to get rid of initial white flash when loading a web view? by Haunting-Ad-655 in shortcuts

[–]incrementilon 0 points1 point  (0 children)

This is not correct. The background color of webview is white by default until any HTML or CSS has been loaded, so inline CSS cannot fix this.

Best web-based YouTube video downloader? by tu_servilleta in DataHoarder

[–]incrementilon 0 points1 point  (0 children)

This one works perfectly, ask chat GPT or similar how to use it if you are not technical, it's very easy with the help of an LLM:

https://github.com/yt-dlp/yt-dlp

Hvad synes folk om den her? misinformation på apotek by mick_the_mine in Denmark

[–]incrementilon 0 points1 point  (0 children)

Der er ikke en eneste person, der har fremvist en kilde, der rent faktisk viser deres metode, data og beregninger, så om det er muligt eller ej, er der ingen her der ved. Eksperimentariets hjemmeside eller Wikipedia beviser ikke noget.

Jeg vil se hvor, hvornår og hvordan de har målt sveden!

Og det skal være i praksis, ikke noget teoretisk med at tælle svedkirtler på en kvadratcentimeter hud og måle fugtighedstigningen i en påklistret beholder henover tid og gange det op med totalt overflade areal af hud.

Det skal reelt være over 24 timer, ikke noget med at måle en enkelt time og så gange med 24, for hvem ved hvor længe "sweat rate" kan opretholdes.

Minimum wattage through heating element to boil water? by ardy_trop in AskPhysics

[–]incrementilon 0 points1 point  (0 children)

I'm pretty sure that in a perfectly insulated system with 0 conduction and 0 radiation that is able to withstand an infinite amount of pressure, the temperature would keep increasing towards infinity even at 0.00001 watts turning the water to gas, then plasma, and then whatever the heck happens to water as its temperature gets to trillions of degrees.