Readit News logoReadit News
blittle commented on Windsurf employee #2: I was given a payout of only 1% what my shares where worth   twitter.com/premqnair/sta... · Posted by u/rfurmani
fermentation · a month ago
I often see job postings here looking for "top <1% engineer talent" paying $100k and <1% equity and I wonder who is actually applying.
blittle · a month ago
Not a 1% engineer
blittle commented on Storefront Web Components   shopify.dev/docs/api/stor... · Posted by u/maltenuhn
vasusen · 3 months ago
Really cool! Curious to know what was your testing strategy for these?
blittle · 3 months ago
Lots of e2e tests
blittle commented on Storefront Web Components   shopify.dev/docs/api/stor... · Posted by u/maltenuhn
xfalcox · 3 months ago
This looks like a great fit for allowing people to monetize their Discourse forums, by having partners stores and plugging those instead of ads.

Will build a quick poc integration. How can I contact you with feedback?

blittle · 3 months ago
I'm excited to see what you build! DM me on bluesky: https://bsky.app/profile/bretlittle.com
blittle commented on Storefront Web Components   shopify.dev/docs/api/stor... · Posted by u/maltenuhn
calebkaiser · 3 months ago
I'm a big fan of web components, and this seems like a very cool project. I'm curious about how it fits into the broader frontend ethos at Shopify. I remember the Shopify team being one of the earliest proponents of React Server Components, for example. Is the team still working in that direction as well, or does this represent a new direction org-wide?
blittle · 3 months ago
I'm also on the hydrogen team. Today we also shipped support for Hydrogen on React Router 7, which has experimental support for RSC: https://remix.run/blog/rsc-preview
blittle commented on Storefront Web Components   shopify.dev/docs/api/stor... · Posted by u/maltenuhn
shooker435 · 3 months ago
This seems super powerful. Would you recommend that an app developer who is creating App Blocks for PLPs (Search, Collections, etc.) use these new Web Components instead of building everything themselves?
blittle · 3 months ago
This is primarily for embedding in 3p sites, Shopify already has liquid for hosted storefronts. As for search and collections, we don't quite yet have support for search and filters. Though we do support pagination.
blittle commented on Storefront Web Components   shopify.dev/docs/api/stor... · Posted by u/maltenuhn
blittle · 3 months ago
I'm on the dev team that built this. Happy to answer any questions!

We essentially use web components as a templating language to dynamically generate a GraphQL query to Shopify. Then render the data as text nodes inside the web components. This is powerful because the components don't include shadow roots. So you can come with your own HTML and CSS.

Most web component libraries are opinionated about design, and give you many CSS custom properties or CSS parts to customize. We tried really hard to invert that, and instead give you the design control. Most of our web components just produce a text node, with no shadow root!

There's a few exceptions, like the cart for example, where it's easier to just have an out of the box component that does it all for you `<shopify-cart>`. Though...you can actually build the entire cart component with the lower level primitives!

blittle commented on Should We Respect LLMs? A Study on Influence of Prompt Politeness on Performance   arxiv.org/abs/2402.14531... · Posted by u/rbanffy
1970-01-01 · 4 months ago
I think we agree on this if you agree that practicing gratitude in life and directly practicing it on non-sentient objects are not the same thing. Going to church to pray, going to therapy, practicing mindfulness, etc. isn't the same thing as seeing each grape growing on a vine as an anthropomorphic object. Don't anthropomorphize your lawnmower.
blittle · 4 months ago
You also don't communicate with human language to your lawnmower to get it to work.
blittle commented on In the US, regenerative farming practices require unlearning past advice   investigatemidwest.org/20... · Posted by u/PaulHoule
theoreticalmal · 10 months ago
What on earth is a regenerative farmer doing on HN? I’m very curious and intrigued
blittle · 10 months ago
I'm a software engineer, but my wife runs a regenerative flower farm. So I'm exposed to both worlds

u/blittle

KarmaCake day49March 9, 2016View Original