Skip to main content
Shop Talk Show

650: Layout in CSS, Balatro Q&A, Chrome Biz, & Forkin VS Code

64 min episode · 2 min read

Episode

64 min

Read time

2 min

Topics

Productivity, Investing, Fundraising & VC

AI-Generated Summary

Key Takeaways

  • CSS attr() with types: Chrome's new attr() function accepts type parameters (integer, color, etc.) instead of strings only, enabling HTML attributes to work like component props. Set data-columns="5" and use it directly in CSS calculations without JavaScript bridging layers or extensive CSS variant rules.
  • Windsurf AI capabilities: Codeium's Windsurf editor demonstrates superior debugging by analyzing entire codebases to solve nil pointer dereference errors in Go. It traces code usage patterns across files and provides accurate solutions, though processing takes longer than competitors like Cursor or Trey for complex problems.
  • Chrome sale complications: Forcing Google to sell Chrome faces major obstacles: no clear business model exists (Chrome generates zero direct revenue), potential buyers are limited due to multi-billion dollar valuation, and Mozilla depends on Google's search engine payments for survival, creating ecosystem disruption risks.
  • Raycast Focus advantage: Raycast's focus mode succeeds where standalone apps fail because users already invoke Raycast via Command+Space hundreds of times daily. Deep system access enables blocking social media sites and apps at network level without installing separate extensions or granting additional permissions to new software.
  • VS Code fork ecosystem: Multiple AI-focused VS Code forks (Cursor, Windsurf, Trey) compete by maintaining extension compatibility while adding differentiated AI features. Trey offers polished UI improvements and free access, Cursor provides proactive suggestions, while Windsurf excels at deep codebase analysis for complex debugging scenarios.

What It Covers

CSS attr() function gains type support in Chrome, unlocking prop-like functionality for HTML attributes. Discussion covers AI code editors (Cursor, Windsurf, Trey), terminal preferences (Ghostty), and Chrome's potential forced sale by DOJ.

Key Questions Answered

  • CSS attr() with types: Chrome's new attr() function accepts type parameters (integer, color, etc.) instead of strings only, enabling HTML attributes to work like component props. Set data-columns="5" and use it directly in CSS calculations without JavaScript bridging layers or extensive CSS variant rules.
  • Windsurf AI capabilities: Codeium's Windsurf editor demonstrates superior debugging by analyzing entire codebases to solve nil pointer dereference errors in Go. It traces code usage patterns across files and provides accurate solutions, though processing takes longer than competitors like Cursor or Trey for complex problems.
  • Chrome sale complications: Forcing Google to sell Chrome faces major obstacles: no clear business model exists (Chrome generates zero direct revenue), potential buyers are limited due to multi-billion dollar valuation, and Mozilla depends on Google's search engine payments for survival, creating ecosystem disruption risks.
  • Raycast Focus advantage: Raycast's focus mode succeeds where standalone apps fail because users already invoke Raycast via Command+Space hundreds of times daily. Deep system access enables blocking social media sites and apps at network level without installing separate extensions or granting additional permissions to new software.
  • VS Code fork ecosystem: Multiple AI-focused VS Code forks (Cursor, Windsurf, Trey) compete by maintaining extension compatibility while adding differentiated AI features. Trey offers polished UI improvements and free access, Cursor provides proactive suggestions, while Windsurf excels at deep codebase analysis for complex debugging scenarios.

Notable Moment

One developer discovered Windsurf's AI spent considerable time analyzing their entire Go codebase to diagnose a nil pointer dereference error, tracing usage patterns across multiple files before delivering an accurate fix that other AI editors missed completely.

Know someone who'd find this useful?

Episode Transcript

Hey there, ShopBase. You are listening to another episode of the Shop Talk Show. I'm Dave Rupert with me, Chris Coyer. Hey, Chris. How are you? That's right. Here we are. Thanks, Dave. You know, I we have a guest lined up next week, I think. We're gonna get the the guest train back rolling in. Please write in if you have somebody you'd you'd like to hear from. You know? We're probably gonna go with some classics and and whatever else we we find interesting. Yeah. This week, there's a number of things to talk about. One of the things that I'm glad and surprised to see so much writing about was the, ATTR, the attribute function in CSS. Chrome has dropped a version of it, which is, pretty cool. It's not new. We've been able to have that function for a long time, but it was really, really limited. I wouldn't be surprised if people either didn't know it or only used it a very handful of times when they're doing something like with text. So for example, it was like a the only you can only get a string. So let me just get that out of the way first. When you use the a t t r function, what CSS thought you were getting was a string regardless of what you think it was. If you put, like, data Dave equals five in your HTML and then in CSS said, you know, give me the attribute value of data Dave, it would give you five as a string. It would absolutely be unusable as the number five, and there was no way to coerce it, really. I don't even I don't even remember any really exotic tricks or anything. I'm pretty sure there was just no way to get a five out of that. Yeah. I mean, like, you know, something like column count, you might be able to use a number, but most of the time, you want that to be a string, like a PIX value. So you couldn't concatenate either. Right? It was you're just stuck. Right? I don't even think you could you know, I I know what you mean. Like, something like line height has is, like, unitless or whatever. Mhmm. So if you put, like, data line height three and then try to use that value, I don't I still think it didn't work. So it was really, really limited. Yeah. Just to, like, appending text to something sort of. Yeah. And then what do you use text for? Very, very little in CSS. The only thing is the content property, which you could put on pseudo elements. So if there's before and after, you'd go content, and then you'd use attribute and say what attribute you want. And that was useful once in a blue moon and a lot of times for just, like, stuff you see on CodePen, for example, like doubling the text because you have some …

Get the full transcript (12,467 words) + summary by email — free

One-time email with the complete transcript and AI summary of this episode. No account needed.

One email, no spam. We’ll also show you what SignalCast does.

Browse all Shop Talk Show transcripts →

You just read a 3-minute summary of a 61-minute episode.

Get Shop Talk Show summarized like this every Monday — plus up to 2 more podcasts, free.

Pick Your Podcasts — Free

Keep Reading

Books, tools, and gear mentioned in this episode

SignalCast may earn commission on purchases via these links.

Tools

  • Discussion covers AI code editors (Cursor, Windsurf, Trey), terminal preferences (Ghostty)
  • Discussion covers AI code editors (Cursor, Windsurf, Trey)
  • Raycast's focus mode succeeds where standalone apps fail because users already invoke Raycast via Command+Space hundreds of times daily.
  • Discussion covers AI code editors (Cursor, Windsurf, Trey)
  • Multiple AI-focused VS Code forks (Cursor, Windsurf, Trey) compete by maintaining extension compatibility
  • by Codeium

    Codeium's Windsurf editor demonstrates superior debugging by analyzing entire codebases to solve nil pointer dereference errors in Go.

course

  • by Andy Bell

    SPONSORS: Complete CSS by Andy Bell

More from Shop Talk Show

We summarize every new episode. Want them in your inbox?

Similar Episodes

Related episodes from other podcasts

Explore Related Topics

This podcast is featured in Best Cybersecurity Podcasts (2026) — ranked and reviewed with AI summaries.

Read this week's Investing & Markets Podcast Insights — cross-podcast analysis updated weekly.

You're clearly into Shop Talk Show.

Every Monday, we deliver AI summaries of the latest episodes from Shop Talk Show and 192+ other podcasts. Free for one show.

Start My Monday Digest

No credit card · Unsubscribe anytime