Hacker Newsnew | past | comments | ask | show | jobs | submit | uhoh-itsmaciek's commentslogin

The problem is having to look in a different file for styling a component, and having to come up with a name for (at least one) CSS class per component. In traditional CSS, classes are intended to be reusable. You write a class definition once, and then use it in a bunch of different elements.

When working with a component-based UI (like in React), the components are typically the unit of reuse. Those CSS classes are used in one place: the component they're defined for. It's annoying to have to come up with a name for them, and to have to work in a separate file, especially if I just want `padding-inline: 4px` or `display: flex`.

Some argue separation of concerns, but CSS is inherently tightly coupled to the structure of your HTML: there's no getting around that. `.foo > ul` breaks if you replace that `ul` child with an `ol`.

I do agree that more intricate styling is harder to read with Tailwind, and I have some other gripes, too, but in general it's a good trade-off for component-based UIs.


Josh Comeau's CSS course is excellent: https://css-for-js.dev/

Maybe a rounded border? I agree it's too subtle as is.

Also, your Segal's Law link seems to have an encoding issue with the apostrophe.


Yeah rounded border seems like a good idea.

Also, weird, seems like I don't see the encoding issue on the segal's law.


FF on Android seems to work fine here. What problem are you seeing?

This is reminiscent of the Homer: https://simpsons.fandom.com/wiki/The_Homer


“The Homer” is best compared to the M2 Bradley, whose development process was described in the book (and later movie) “The Pentagon Wars”. Unfortunately, all large combat systems (most notably ships) tend to come with a grab bag of ‘features’ of varying utility.


Bradleys are actually very useful and likely best in their class as an infantry fighting vehicle.


The M2 Bradley is an amazing vehicle, which does not accomplish the goals which its development program started with (basically a low-cost and reliable armored personnel carrier). This is why the M113 is still in service.


> whose development process was described in the book (and later movie) “The Pentagon Wars”

both of these are NOT documentaries, they wildly misrepresent reality and are basically fiction


The Bradley has performed very well in Ukraine, and the man who wrote that book is both a liar and crazy.

Read up on what his proposed alternative was.


>Read up on what his proposed alternative was.

Perhaps you could give a summary?


They may be referring to the campaign Burton waged against the Bradley's testing program.

Basically he wanted the Army to do a bunch of tests we already knew the outcome of: that the munitions in question would defeat the armor. This wasn't some sort of scandal or surprise to the pentagon. No armored vehicle is invincible, and the Bradley is already as heavily armored as is practical to cross bridges without them collapsing, etc.

Burton made a ton of enemies treating this like some sort of huge scandal he was uncovering, but in reality he was distorting the situation, then used it to popularize his book.

Basically he's just a grifter, but because he was saying contrarian things a bunch of people who had no idea what was actually happening bought into his bullshit.

It's similar to what happened with the "Fighter Mafia" where the public latched onto it without understanding how utterly bullshit the contrarian proposal actually was.


Thanks for the summary.


The vibe is not the same, but Jonah is likeable, Felicia Day and Patton Oswalt are good as the Mads, and the movie selection is fantastic: Reptilicus? Munchie? The Christmas Dragon? Every film is a magnificent slice of different B-movie territory.


I know why it apologizes, but the fact that it does is offensive. It feels like mockery. Humans apologize because (ideally) they learned that their actions have caused suffering to others, and they feel bad about that and want to avoid causing the same suffering in the future. This simulacrum of an apology is just pattern matching. It feels manipulative.


Be sure to read the disclaimer.


>The curse from the tower of Babel has been lifted.

It wasn't a curse. It was basically divine punishment for hubris. Maybe the reference is a bit on the nose.


The main downside to many mobile web sites is the desperate plea to use the app you have to dismiss every time. I feel sorry for the devs who build a great mobile version only to be forced to put a stupid "$SITE is better in the app" banner on it.


There’s also companies which seemed to break their Web experience specifically to drive people into the app. Credit Karma hasn’t worked on a browser on mobile or desktop for me in years. But the app version always works.

I guess it’s my fault for trying to use an Intuit product to begin with when I already know they’re evil.


Does Credit Karma's app from last month work too?

This is a reason I also like the web is that after the page loads I can just do stuff instead of getting kicked out to have to update the app ... Or even having to re-log in ...


Fucking Menards and home Depot on mobile are two of the worst websites that exist. They're slow and full of bugs.

Desktop is fine. Mobile sucks. I have to imagine it's intentional to push mobile users towards the app.


Or feature limit the mobile web version.

In both cases, requesting the desktop version (i.e. using a non-mobile user-agent string) will give you back the normal, full-fat web version.


uBlock can stop those, if your device is allowed to have it.


Shoutout to Firefox for Android for being the only mobile browser of note that lets you use uBlock Origin


uBlock Origin Lite is available for Safari on mobile, though that's not exactly the same extension. Orion supports standard uBlock Origin on mobile, but then that's not a browser "of note."

You win this round!


Edge does as well.


Really? I thought it was a Chromium wrapper and subject to the same nerfing done to it and Chrome.


How? Do I need to configure something in uBlock Origin? If I go to, e.g., Reddit I still see the annoying "Open app" button.


Should be in one of the "annoyances" subscriptions.

My guess would be one of those two:

* AdGuard – Mobile App Banners under AdGuard

* EasyList – Notifications under EasyList


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: