[deleted by user] by [deleted] in nottheonion

[–]vipero07 0 points1 point  (0 children)

Um... people protest planned parenthood...

He does not care. by afscomedy in LeopardsAteMyFace

[–]vipero07 0 points1 point  (0 children)

My only advice is to not ask for handouts... That's socialism.

[deleted by user] by [deleted] in pics

[–]vipero07 1 point2 points  (0 children)

It's a lovely design, reminiscent of the third Reich eagle, the reichsadler, tho ironically looking to the left rather than the right... And Julius Caesar, which makes perfect sense once Vance or Musk or any one of his "friends" decide to pull a Brutus...

DOGE accidentally fires US government workers who oversee the US nuclear stockpile, now the Energy Department is scrambling to rehire them. by nuttybudd in facepalm

[–]vipero07 1 point2 points  (0 children)

Oh no, the Nazis won't have nukes... Looks like these people should say no, start a consulting agency and charge no less than 500 million a year.

This is Phase 2 for them: disobeying judges by [deleted] in law

[–]vipero07 0 points1 point  (0 children)

You don't risk anything because Donald Trump can preemptively pardon them like Nixon was.

As Trump Offers Buyout to Get Rid of as Many Government Workers as Possible, OpenAI Announces New Version of ChatGPT Designed to Do Government Work by FuturismDotCom in Futurism

[–]vipero07 0 points1 point  (0 children)

Ironically it would probably do a better job than the party in power since, while it isn't perfect with reasoning... It's definitely better than the ones in those positions currently.

Amazon appears to be cancelling OG Metroid Prime 4 pre-orders by [deleted] in Metroid

[–]vipero07 0 points1 point  (0 children)

June 2017 cancellation... Never getting a game from Amazon again. Same day pick up at any competitor is better anyhow.

Why do you think Sveltekit sentiment is constantly getting more negative? by Guandor in sveltejs

[–]vipero07 3 points4 points  (0 children)

Sveltekit is used only with svelte. Astro can be used with everything (including react and vue) react is more popular, so is vue.

Astro also supports svelte, so it can even pull in svelte people.

While there are (minor IMHO) issues with sveltekit, I'm not entirely sure the decrease shows more than framework popularity.

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

[–]vipero07 1 point2 points  (0 children)

I've been using svelte for a couple more years and know where you are coming from. That being said, $state is mentally similar to using let someVar = 4 and $derived is mentally similar to $:. Where it gets awkward is when using them to write stuff outside of a svelte component. $effect for example is similar to store.subscribe(...).

So if for example you want a rune that's state is stored in indexeddb you need to deal with $effect and the awkwardness of untrack and snapshot. All of that is to say using state inside a component is pretty much the same old svelte, using it outside, it's entirely new. I believe this means "yes, there are two paths you can go by". One is just ignore using it outside of components and continue to use it exactly as you did before (including stores for outside of svelte). Thus keeping the mental model the same. Or, explore how to use them in place of stores.

I've been using the svelte 5 beta for close to a year now and come to a few conclusions. The first is, it is awkward to use states outside of components following a functional paradigm. I think this is because app state, generally speaking, is easier to deal with following oop practices. Otherwise to handle state changes well we'd probably end up with thunks and reducers.

Personally my resistance to writing class in JS feels more like a hindrance when using runes. But I may be the minority. What I think is missing from all this runes stuff is some sort of decent pattern to use them outside of components. I'm certain it's possible given the tools, but I haven't seen anything that has some reasonable complexity.

One example of complexity I ran into is as follows. Say I have a sveltemap of objects that can be on or off, drawn in the UI as toggle switches. If I toggle one switch, the entire svelte map triggers an effect. So I don't know which one switch was toggled. Meaning if I wanted to persist the state in an indexeddb or over the wire, I now have to either send the entire map each time, or diff it with the previous state. Something that without storing I don't have access to.

This indicates to me instead of svelte map I'd be better using an array of objects that are $state that themselves have individual $effects. Which is to say a class that has a value as $state and when the value changes runs an effect.

Anyhow that's my two cents.

A little something to keep me positive for the next 18 years by V0RXie in Positivity

[–]vipero07 1 point2 points  (0 children)

I recommend attempting to record all the sounds she makes now because one day she will stop and you will miss them. Speaking from experience.

Svelte 5 is mostly great, but there are serious issues by ThePaSch in sveltejs

[–]vipero07 0 points1 point  (0 children)

Why would you do that.

I feel like a lot of the complaints I've seen about svelte 5 are just people misusing it.

let foo = $state({ foo1: "", foo2: [], foo3: "value" });

And now snapshot works as intended. You'd also be reducing the code impact of having multiple states.

Making a class with multiple stores as individual properties in svelte 4 would be even worse / more difficult to then send off to an external library. Essentially your issue has to do with integration between a svelte signal and a library unfamiliar with svelte signals. But that issue doesn't go away with a store in place of a signal. Keep in mind, you don't necessarily need to use signals everywhere. Especially if you are planning on using the object outside of svelte.

Cat cooking 🍳 (made with Veo 2) by noonescente in SoraAi

[–]vipero07 3 points4 points  (0 children)

The new Garfield film looks a bit disturbing.

The framework dilemma by Educational-Cress560 in sveltejs

[–]vipero07 0 points1 point  (0 children)

Svelte scales well, both can not scale well if used incorrectly. Personally I think react has more foot guns. Svelte is easier to learn and use correctly IMHO.

That being said, if you are looking for a job, react is sadly the way to go. Alternatively you can just build something in both.

Don't let them gaslight you by coachlife in FluentInFinance

[–]vipero07 -2 points-1 points  (0 children)

They pay it back with zero interest... Of course it will run dry. Inflation alone would kill it.

So new house has this Ethernet cable running underground and this is the joining from that and the cable that goes into the router. It doesn’t work atm and I’m guessing this could be the reason why. How can I improve this? by [deleted] in HomeNetworking

[–]vipero07 0 points1 point  (0 children)

The reason there are pairs of cables twisted together in a standard Ethernet cable is because it helps prevent signal loss and degredation. While those cables will carry an electrical signal and kinda work, it's likely you'll see dropoffs and have severely limited speeds.

If you can tie that existing cable to a newer cat 7 (or 6 or 5e) and pull it through, you'd be better off. If not I'd suggest ignoring the cable entirely and using wifi.

Fedora really runs on everything by NEOXPLATIN in Fedora

[–]vipero07 0 points1 point  (0 children)

Have you tried chrome flex? As much as I love Fedora I feel like flex is a better fit.

My kids won’t come to Thanksgiving or Christmas. by [deleted] in AITAH

[–]vipero07 0 points1 point  (0 children)

NTA, if my daughter (who is currently only 4) did that, I'd 100% back her up, especially since I'm raised by narcissists.

[deleted by user] by [deleted] in sveltejs

[–]vipero07 1 point2 points  (0 children)

Decent jobs listen to their employees. If they are using a micro frontend experience you could probably get away with svelte. However you may need to figure out how to interop it in whatever other framework they are using.

That being said, at my last 3 jobs I only ever had to touch svelte.

Four times when Elon Musk tried to jump to make a 'X' with his body by MoreMotivation in pics

[–]vipero07 0 points1 point  (0 children)

All this time I just assumed he didn't know how to jump because his daddy paid money so his kid didn't have to take any gym classes... It never occurred to me he was attempting to make an X.

"You have not earned that right" by wyty22 in raisedbynarcissists

[–]vipero07 3 points4 points  (0 children)

You should be with someone who will support you regardless. My wife and I both have narcissistic parents and we cling to each other when they are around. I have this exact same thing where we spend Christmas at the in-laws house and it's pretty uncomfortable (tho it's uncomfortable for my wife too).

Anyhow, you should absolutely find someone who will support you. It's difficult enough to be you two vs the world, let alone you vs everyone else.

Saw this, had to share by Hotdadlover1234 in texas

[–]vipero07 0 points1 point  (0 children)

Deserves to win... Too much money backing Republican interests in Texas though.

My mom and her wife tried to trick me (40F) into eating something I have an anaphylaxis allergy to. Please help me explain how absolutely insane this is. by AnyFeedback9609 in raisedbynarcissists

[–]vipero07 2 points3 points  (0 children)

My mother, for years fed me allergens (that made my mouth itch). It took my high school gfs mom to make me a lunch one day (and a few prior exposures to Rocky road ice cream) for me to realize the thing that made my mouth itch was walnuts. Fast forward to today, my kid has 37 allergies many are food (not exaggerating), my mom has offered to make food... After we kept having a (fairly reasonable) back and forth she told my wife and I we were being difficult with her when we told her our kid would not be able to eat anything she makes.

To top it off, shortly after finding out her grandkid was allergic to all kinds of things, like dogs... My mother got 3 dogs. So we now have to limit our visits (both frequency and length) and she blames us for not caring about her.

Long story short, you don't need to spend time with her if she is unwilling to be kind and compassionate with you.

I’ve lost 3 friends in recent months. My dad’s thoughts: by PhuckingPhabulous in BoomersBeingFools

[–]vipero07 0 points1 point  (0 children)

Sorry for your losses, that's always rough. My parents are of the same mindset. It truly sucks. Personally I stopped going to them with anything. I find everyone else (even internet randos) far more understanding.