682: Whiskey, Security, Antitrust, and Fun with CSS Functions
Episode
57 min
Read time
2 min
Topics
Productivity, Investing, Philosophy & Wisdom
AI-Generated Summary
Key Takeaways
- ✓CSS @function syntax: Chrome 139 introduces custom CSS functions using @function with dash-dash naming, result property for return values, and source-order-based precedence where lowest declaration wins, enabling logic abstraction from declarative styles into reusable functions with media query support.
- ✓npm security response: Storybook reduced dependencies working with E18E efficiency group, avoiding the two-hour window when chalk and strip-ansi were compromised through phishing attack. Projects with fewer base-level dependencies face lower risk when supply chain attacks target widely-used terminal formatting libraries.
- ✓Google antitrust outcome: Judge Mehta ruled Google can retain Chrome and continue paying Apple for default search placement, requiring only search index data sharing with competitors and syndication services availability. Forcing Chrome sale would create downstream harms affecting browser investment and web platform development funding.
- ✓CSS if function pattern: The if function consolidates multiple result statements into condition-value pairs separated by semicolons, supporting media and supports queries. This switch-statement-like syntax improves readability when handling ten-plus breakpoints compared to stacked @media blocks with repeated result declarations.
What It Covers
Chris and Dave explore CSS custom functions and if statements, discuss npm security vulnerabilities affecting chalk and strip-ansi packages, analyze Google's antitrust case resolution allowing Chrome retention, and debate authentication challenges for children.
Key Questions Answered
- •CSS @function syntax: Chrome 139 introduces custom CSS functions using @function with dash-dash naming, result property for return values, and source-order-based precedence where lowest declaration wins, enabling logic abstraction from declarative styles into reusable functions with media query support.
- •npm security response: Storybook reduced dependencies working with E18E efficiency group, avoiding the two-hour window when chalk and strip-ansi were compromised through phishing attack. Projects with fewer base-level dependencies face lower risk when supply chain attacks target widely-used terminal formatting libraries.
- •Google antitrust outcome: Judge Mehta ruled Google can retain Chrome and continue paying Apple for default search placement, requiring only search index data sharing with competitors and syndication services availability. Forcing Chrome sale would create downstream harms affecting browser investment and web platform development funding.
- •CSS if function pattern: The if function consolidates multiple result statements into condition-value pairs separated by semicolons, supporting media and supports queries. This switch-statement-like syntax improves readability when handling ten-plus breakpoints compared to stacked @media blocks with repeated result declarations.
Notable Moment
Dave's son performs password resets every single time he logs into any service because he never remembers his credentials, leading Dave to propose RFID badge authentication for children instead of traditional password management systems.
You just read a 3-minute summary of a 54-minute episode.
Get Shop Talk Show summarized like this every Monday — plus up to 2 more podcasts, free.
Pick Your Podcasts — FreeKeep Reading
More from Shop Talk Show
718: 3D Printing Life Upgrades, Don’t Give Away Your Dopamine, and CodePen App Deploys
Jun 8 · 58 min
Design Matters
Chris Duffy
Feb 9
More from Shop Talk Show
717: Better DX for Web Components, What Was Popular That Now We’re Used To?
Jun 1 · 53 min
The Partially Examined Life
PEL Presents NEM#241: Humor in Music Discussion
Nov 9
More from Shop Talk Show
We summarize every new episode. Want them in your inbox?
718: 3D Printing Life Upgrades, Don’t Give Away Your Dopamine, and CodePen App Deploys
717: Better DX for Web Components, What Was Popular That Now We’re Used To?
716: Google I/O 2026 Recap Edition
715: Would You Like a LLM With Your Browser?
714: Camping, Burnout, and Chris’ CSS Talk
Similar Episodes
Related episodes from other podcasts
Design Matters
Feb 9
Chris Duffy
The Partially Examined Life
Nov 9
PEL Presents NEM#241: Humor in Music Discussion
In Good Company with Nicolai Tangen
May 1
HIGHLIGHTS: Jamie Dimon - CEO of JPMorgan Chase
Software Engineering Daily
Apr 23
Hype and Reality of the AI Coding Shift
Pod Save America
Feb 6
1117: Trump Threatens to Steal the Midterms
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 up to 3 shows.
Start My Monday DigestNo credit card · Unsubscribe anytime