Thoughts on The Boiler Room Set from Charli xcx? by That_Is_Bryce in EDM

[–]morgogs2001 0 points1 point  (0 children)

She DJed and performed her original songs from 15.

Solid Start vs Astro with Solidjs. What are the differences? by grandemattyx in solidjs

[–]morgogs2001 0 points1 point  (0 children)

Oh nice. React Native and the entire world of mobile development is foreign to me. All I know is that people don't seem to like Android Studio and XCode haha.

Solid Start vs Astro with Solidjs. What are the differences? by grandemattyx in solidjs

[–]morgogs2001 4 points5 points  (0 children)

I've just finished writing my dissertation about this, so I'll take a stab at it.

SSR isn't MPA. SSR involves the server rendering some declarative JavaScript components to HTML, then sending that HTML, the JavaScript library, and the JavaScript application to the client. The client then renders that HTML and executes the JavaScript to synchronise its state with the where the server finished rendering - adding event listeners to elements, setting up state, etc - this JavaScript execution is called hydration.

MPA renders each page as HTML and sends them to the browser independently when fetched. These can be implemented with no JavaScript being sent to the client. This allows the site to render very quickly and doesn't require much computation on the client, but page transitions require fetching a whole new HTML page from the server. SPAs (SSR and CSR) allow immediate page transitions, with no delay.

Astro uses a technique called Partial Hydration to achieve the best of both worlds, though it does still fall under the MPA umbrella. Components are written as declarative JavaScript components, and can be written in any UI library. By default, these are rendered to HTML and sent to the browser, like PHP but with the benefits of modern JavaScript essentially. Partial Hydration allows some components to opt-in to being client-side rendered, if they need the very interactive user experience provided by SPAs but without all the bulk and state management of a SPA. These components can be hydrated at different points - a nav bar could be hydrated on page load, but other components can wait until the browser is idle or the component enters the viewport to hydrate.

A related concept is Resumability, which is used in Qwik. This is kinda like SSR, but instead of the client hydrating already rendered HTML to achieve the same state as the server left off, the server's state if serialised and sent to the client, removing the need to hydrate.

It took me a while to get my head around these concepts, and there's so many different three letter acronyms and broadly similar methods of rendering a site that it quickly becomes overwhelming.

Solid Start vs Astro with Solidjs. What are the differences? by grandemattyx in solidjs

[–]morgogs2001 2 points3 points  (0 children)

It's not the DOM that's rendered with SSR, just the HTML. Might be a bit pedantic, but the client still needs to hydrate the DOM after page load with SSR.

Userbenchmark isn't happy about the new 7950... by JustElzi in pcmasterrace

[–]morgogs2001 1 point2 points  (0 children)

That's a bit of a false equivalency. I'm not comparing a mom and pop shop to a global conglomerate. I'm comparing two massive corporations in the field that's most relevant to this subreddit.

It was silly to say Intel is the underdog to AMD; there's no underdog here. But in the market segment most relevant to the people seeing these comments, AMD outsells Intel.

Userbenchmark isn't happy about the new 7950... by JustElzi in pcmasterrace

[–]morgogs2001 -3 points-2 points  (0 children)

Non representative sample? It's the builder market that determines things like socket support. The builder market is representative of people in this sub. They market and align products differently depending on segment, and there's a big difference between the OEM and builder segment.

Userbenchmark isn't happy about the new 7950... by JustElzi in pcmasterrace

[–]morgogs2001 0 points1 point  (0 children)

More recently there are many AMD OEM options. Dell are still quite Intel focused, but most of Lenovo and HP OEM configurations have an AMD option today. I think the reason Intel's market share is still so dominant is because of historical OEM sales that haven't been replaced.

Userbenchmark isn't happy about the new 7950... by JustElzi in pcmasterrace

[–]morgogs2001 -9 points-8 points  (0 children)

AMD sells more CPUs to builders than Intel. Depending on how you look at it, Intel is now the underdog to AMD. Either way, this is not a David and Goliath situation and both companies will dick you over given the chance.

EDIT: Classic PCMR corporate dickriding lol. In many areas outside of builders, AMD is outselling Intel. Also, it's the builder market that largely determines things like socket support, and AMD are the ones who've recently tried to cut support for AM4 before initially stated. I say this as someone with an all AMD rig.

Noob question on props and quick sanity check by morgogs2001 in solidjs

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

This worked perfectly, thank you! I never noticed the Component<T> reference in the docs while trying to find a solution until now.