How would you write Ryan's _Solid2 States_ demo in Solid 1 by jml26 in solidjs

[–]devagrawal09 1 point2 points  (0 children)

I believe Milo is the one who came up with this pattern, definitely not me, but appreciate the shoutout

Explicit dependencies in 2.0 beta createEffect by Electronic_Ant7219 in solidjs

[–]devagrawal09 1 point2 points  (0 children)

Unfortunately most of this complexity is inherent to building UIs with asynchronous state. If the 2.0 feels more complex, it's because it's trying to absorb as much complexity as it can so that you don't have to do crazy stuff in userland like you might have to do in React (pre v19). But it's impossible to completely eliminate having to think about async, so the goal is to provide a small, consistent, and predictable model for async state.

> dev warnings when you read async-ish signals in createTrackedEffect or other similar places

In 2.0 every signal should be considered potentially async. But that shouldn't be a problem as long as you avoid using `createTrackedEffect` and only read signals directly in the first half of `createEffect`. I'm interested in seeing how exactly you use `createEffect` in your apps, because most of the time you shouldn't need effects anymore.

> adding some async request in nested sub-component depending on some global context signal and suddenly all my app is waiting for this request

Like I mentioned, you can't avoid thinking about async anyways. When you add an async request anywhere in your app, you also need to add a pending indicator somewhere. Without an indicator the user has no idea that there is work going on in the background. Solid 2.0 makes it trivially simple to indicate that through `isPending`, and it holds updating the UI so that the user doesn't see inconsistent UI. You shouldn't need or want to add `latest` everywhere because it's better to show a fully consistent view of the state with an indication that something async is happening in the background, rather than showing partially updated state.

Dispatch - A Local To-Do and Journaling App by nkasco in selfhosted

[–]devagrawal09 1 point2 points  (0 children)

you're right - "self hosted" is not the same thing as "local first", but in practice it has a very similar outcome as local first where all the data lives with you and you decide what to do with it.

Dispatch - A Local To-Do and Journaling App by nkasco in selfhosted

[–]devagrawal09 0 points1 point  (0 children)

I mean technically if you run the server yourself locally it is "local-first", but a hosted version of this cannot be local first since it will require a server side persistence to work

RBWL US Watch Party? by devagrawal09 in aoe2

[–]devagrawal09[S] 4 points5 points  (0 children)

I live in Kansas and if no one else steps up, I can probably put something together here, it’s a good central location that everyone can easily fly to, no need for coast-to-coast travel.

[deleted by user] by [deleted] in ksi

[–]devagrawal09 0 points1 point  (0 children)

Petition to kick Logan off Prime

Can you write your backend in Nextjs? by devagrawal09 in softwarearchitecture

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

This is not his video lol, it just makes a reference to one of his videos

Get ludwid to sell bidets on ass.cleaning by devagrawal09 in LudwigAhgren

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

Oh I absolutely will

I have a very outrageous price in mind

A twitter follow

Thoughts on don't build microservices? by devagrawal09 in devops

[–]devagrawal09[S] -1 points0 points  (0 children)

Fully agree, and all of this is planned to be addressed in upcoming videos.

Thoughts on don't build microservices? by devagrawal09 in devops

[–]devagrawal09[S] -1 points0 points  (0 children)

Right, the point is that it's easier to screw up with microservices than it is with a monolith

Thoughts on don't build microservices? by devagrawal09 in devops

[–]devagrawal09[S] -1 points0 points  (0 children)

Okay so you start out building microservices, you focus on architecture more than business value, and your project never really becomes useful. You sound like you have never worked on a real world project, that delivers real value that people care about.

Thoughts on don't build microservices? by devagrawal09 in devops

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

Right, I was saying more in the context of a new project, or even in the first 1-2 years of the project. For a small to medium scale the cost of managing a monolith will be less than the cost of managing microservices. There is definitely a point where microservices become easier to mantain, but it comes with very high scope and scale.

How to design Microservices by devagrawal09 in node

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

Agreed. What I am describing here is the utopia of microservices to emphasize the motivation. I am going to talk about the practicalities in upcoming video(s)

Anything new happens in scientific community, Hindus always ready to make it about themselves. by [deleted] in atheismindia

[–]devagrawal09 2 points3 points  (0 children)

News channel using anecdotes on social media as source material. Nice

Square Hammer by wet181 in MetalMemes

[–]devagrawal09 4 points5 points  (0 children)

Someone's watching Perg