News for hackers. Stuff that matters.

kyleyeats

The story of this asteroid having a ~3% chance to hit Earth was huge, but I never heard about it being ruled out shortly afterward. It still has a 4% to hit the Moon.
Re:You suck at CSS (and that's okay)[2022] on Tuesday March 11, 2025 @07:01PM (#43338040)
Atomic CSS is great. It does abuse class="" in the same way style="" was abused. It's counter-intuitive but the obvious code smells produced here are better than the non-obvious code smells created by other style architecture approaches.

I've always now-and-then packaged up and open-sourced the pattern I use for CSS. The projects have gotten smaller and smaller. This reflects well on CSS as a technology.

I think class="" has more to offer in an information density sense. There's more potential there than style="" had. Instantly lumping them together was my first response too, but I was wrong. The in-the-HTML shorthand of frameworks like Bootstrap/Tailwind/CASS is insanely useful in a way that inline styles never were.

Re:You suck at CSS (and that's okay)[2022] on Tuesday March 11, 2025 @06:29PM (#43337799)
It's easy to mock people who've had a failed project. I wish you success with yours.
Re:You suck at CSS (and that's okay)[2022] on Tuesday March 11, 2025 @03:12PM (#43335993)
Yep, it's weird and controversial. That's why I wrote a book explaining it and used a pseudonym.

Now: ~60% of devs know some CSS, rest feel guilty

YSAC's pitch: ~10% of devs know lots of CSS, rest avoid it without guilt (they suck and that's okay)

I guess 0% would mean a dead CSS, so it's closer to dead, sure.

If you get a more powerful saw, you can either cut down more trees or you can spend less time cutting down trees. CSS is a more powerful saw now. I'm suggesting spending less time cutting down trees instead of cutting down more trees.

Re:You suck at CSS (and that's okay)[2022] on Monday March 10, 2025 @09:55PM (#43328351)
Basically the same idea, yep. CASS doesn't use abbreviations or numerals though.
Re:You suck at CSS (and that's okay)[2022] on Monday March 10, 2025 @08:52PM (#43328015)
The argument I make in the book is that the last 5% of CSS/design should be written by people who can write CSS. Nobody else should even be writing CSS because it turns into a huge mess when everyone jumps in.

I mothballed this project because people were so incredibly cruel about it (a CSS project!). Remember that people who work on this stuff are people, and we're just trying to make things better. Also, you can pry .vertical-center from my cold, dead hands.

Re:You suck at CSS (and that's okay)[2022] on Monday March 10, 2025 @08:35PM (#43327899)
Thanks! Lists were the bane of my existence with this project. I could never make all the browsers happy.

This is a #wontfix (sorry), but I might fork it into a new, LLM-oriented CSS project. Fonts and lists will be the first things I look at.

Re:You suck at CSS (and that's okay)[2022] on Monday March 10, 2025 @07:52PM (#43327588)
It's true. Between atomic CSS libraries and LLMs, there's almost no reason to write CSS nowadays.
Re:You suck at CSS (and that's okay)[2022] on Monday March 10, 2025 @07:34PM (#43327441)
The predecessor to this project was a Bootstrap 3 theme: https://rriepe.github.io/1pxdeep/

The book has a lot of content over what to make pretty and what not to make pretty. I think knowing what not to bother with is an underrated skill. A lot of what inspired me to write it was backenders handing off markup that they tried to make semi-passable. Unstyled HTML, please!

Re:You suck at CSS (and that's okay)[2022] on Monday March 10, 2025 @07:28PM (#43327391)
I agree. CASS (the library this book was promoting) is actually really great paired with LLMs. If I revisit this project, it'll be along the lines of using it with LLMs.
Re:You suck at CSS (and that's okay)[2022] on Monday March 10, 2025 @07:25PM (#43327358)
The perfection should be downstream of the project's coded standards, not downstream of the faithful implementation of the designer's work. Some designers are really good about maintaining standards-- but the book would argue all that effort should be spent elsewhere.

It's basically "the arbitrary padding the designer liked in the moment" vs. "the standard padding that's everywhere in the project." This book argues you should always use the standard padding. Your product should be pixel-perfect, just not in the PSD-to-HTML sense.

Re:You suck at CSS (and that's okay)[2022] on Monday March 10, 2025 @07:18PM (#43327288)
Edited the year into the title. CASS (the CSS library) and YSAC (this book) have been a huge marketing mess, to be honest. And yeah the substack was part of it-- I think the book came first though. Kyle Yeats (rhymes with stylesheets) was going to be a Youtube persona but I could never really get the feel of it right.

The book morphed into being more about project management. I think there's a lot of value in it still, in that respect, so I'm putting it all online for free.

Re:Boring tech is mature, not old on Tuesday February 11, 2025 @11:25AM (#43014730)
Old is actually good now because of LLMs. You want something old.
Re:Tailwind V4 Is Finally Out on Wednesday January 22, 2025 @09:41PM (#42800052)
As someone who made a competing product along these lines (that got no attention or traction): Tailwind gives CSS a "place" in the codebase. It benefits orgs, not necessarily apps. I didn't get it at first either. But it's very useful to the people to whom it's useful.
Re:Ross Ulbricht was just granted a full pardon on Tuesday January 21, 2025 @07:38PM (#42787204)
The seven offenses in question: distributing narcotics, distributing narcotics by means of the Internet, conspiring to distribute narcotics, engaging in a continuing criminal enterprise, conspiring to commit computer hacking, conspiring to traffic in false identity documents, and conspiring to commit money laundering
They're buried in these offers right now.
Re: on Thursday October 10, 2024 @11:22PM (#41805692)
Bat Boy is making the announcement.
Re:House passes $1.6B to deliver anti-China propaganda overseas on Thursday September 12, 2024 @03:24AM (#41518350)
For comparison, that's like 10% of Fox News' revenue.
Re:Kawaii – A Keychain-Sized Nintendo Wii on Monday July 22, 2024 @06:01PM (#41040277)
It might not work without the Nintendo logo.
Re:TUAW Returns as a Gross, Zombie AI-Generated Garbage Site on Wednesday July 10, 2024 @12:49PM (#40928821)
Don't be mad at the people who bought TUAW. Be mad at the people who hawked TUAW.
Julian's not a whistleblower, he's a journalist. Whistleblowers are people within the organization.
It's because it didn't loop back to queues at any point. It's just a tangent on a tired topic.
I was eating lunch at a place I'm applying to, and volunteering at, and someone casually dropped a hateful comment towards "straight white males." At work! Nobody called her out on it. It boggles the mind. So I stopped volunteering and applying there. Good luck with the hate, that's my thought.
Re:Ask HN: What was your most humbling learning moment? on Monday June 03, 2024 @03:05AM (#40560077)
This happens to people who read more than they talk. I never hold it against them.
This is a propaganda piece by the state-funded BBC. Notice that the focus of the article is whether the technology is accurate enough, not whether they should be doing it at all in the first place. It's an Overton nudge, a softball position that's easy to take-- because of course the tech will get better.

Older »