Hacker Newsnew | past | comments | ask | show | jobs | submit | gsanderson's commentslogin

Looks great!

One suggestion would be adding a focus trap, such as when a Dialog opens. It's nice to use the tab key to move around the Dialog (inputs and buttons). Currently focus leaves to the page behind. It might be as simple as adding https://alpinejs.dev/plugins/focus#x-trap


Yeah, I looked into it but wanted to avoid adding plugins.

I already do a bit of (simple) focusing here and there, so it shouldn't leave the focus on the background:

https://github.com/hunvreus/basecoat/blob/main/src/js/dialog...

But more complex scenario require you to be specific about the field you want to see focused. I was thinking about allowing you designate the field to focus on.

What would you suggest?


Why aren't you just using the built-in dialog element that already handles this?


<dialog> is kind of a PITA to style (backdrop, transitions, etc), and doesn't really solve any of the tough problems with dialogs (e.g. locking scrolling).

I tried really hard to use <dialog> and popover but didn't succeed. Maybe somebody more skilled can make it happen.


Regulation? Unfortunately this administration is going in the opposite direction.


Thought I'd check to see how his memecoin is currently doing. It's exactly as expected.

I wonder how many of his supporters bought at $70 ...


Baffles me too. His ignorance is astonishing.


I think it's because it's one thing he can control all by himself. Look at all the attention he's receiving. The "will he/won't he" reality TV. Put a tweet saying X%. No, they won't be cancelled. Yes I'm suspending them for 90 days. And so on.


Except he can't. They're abusing a legal loophole that probably can be easily defeated in court if anyone interested can actually locate their balls to do it


reasonably he can, even if its illegal. unless he gets inpeached and removed, theres no mechanism to stop him.

even then, congress can vote but who would actually remove him from power?


All the way up to the SCOTUS, at which point it'll be a 7-2 vote in Trump's favor.


I don't believe he can get a 7/2 ruling in SCOTUS. But I do believe he can get Republicans in the current Congress to jump for him, and to try to ensure their majority by disenfranchising people before the midterms.


The are a few republican judges that dont seem too keen on having their names attached to the demise of American empire


Even fewer that won't fall in line if threatened to be doxxed to the MAGA mob via Xitter.


I believe that particular ship has sailed.


How many of them are on the SCOTUS?


maybe 2 which is not enough


I'm not saying he won't win the case but you're daft if you think it won't be 5-4 on the grounds that congress actually has to pass something to signal their intent to the courts.


The question here is not whether congress has to pass something, the question is can congress delegate this authority which is explicitly set by the constitution.

There were a bunch of sentences regarding non delegation of powers of congress, mainly for federal agencies, and courts deciding that congress can't delegate those faculties, so, by the book, this would be a similar situation. There is actually an ongoing case for this aspect of the discussion:

https://www.theguardian.com/us-news/2025/apr/07/trump-tariff...


He has a long record of advocating for tariffs. He thinks they're a good idea.


Yep, apparently that's in the works. They aren't going to reduce the deficit or debt. It soared during Donald's first term and will again.


Donald is weak. He was always going to fold. Once China and the EU called his bluff and retaliated, he was done. Lasted less than 24 hours.


Sir, the tariff on china has just increased to 125%.

I don't know why he held off on the other countries, but choose to go to "war" with China.


I assume because of Peter Navarro (and of course Ron Vara).


They said they were going to war with China over the Panama Canal too, yesterday. Using the "most lethal fighting force", apparently.


14d chess of course.


The tariffs that he kept on would be nothing to sneeze at in more… civilized times. The market overreacted, as was priced in the vix at 50+. We are not out of the woods yet.


125% tariff rate on your biggest importer isn't something I'd say is "nothing to sneeze at" personally. Particularly when the expert economist used to justify it is made up.


Yeah I was wary of saying 'declaration of war' (even though I think it's kinda true), but at least those imports will route themselves through Vietnam or wherever now in a few months.


He didn't even know that the EU had put in tariffs until a journalist asked him at the press conference after he announced the pause.


The EU actually executed some strategy. First they said they would love 0/0 tariffs, which sounds fair to pretty much anyone. And when that didn't fly they put on selective reciprocal 25% tariffs. What Trump did looks even more like a clown show.


They floated 0/0 tariffs before the reciprocal tariffs (and again after), and their tariffs this morning was in retaliation for the steel and aluminum tariffs, not for the reciprocal tariffs.


Nah, no reciprocation. America calling things reciprocation is just America lying.


I am normally all in favor of metonymy, it's perfectly fine and well understood style.

In the case of Trump-as-Mad-King tariffs, it sure would be nice if the world didn't conflate America, the historical land of twisting other nation's arms to reduce tariffs, with Trump and his fake-emergency tariffs.

I can understand if you do, and if America has permanently lost a lot of good will by electing this buffoon for you, I can hardly argue with you.

But still. In my mind, these are Trump's tariffs, not America's.

And specifically the idea that Trump's tariffs are reciprocal, that is even more "Trump is just a liar" than something any honest American would argue.


Even if you call it “Trumps Tarrifs” that means we have a better than even chance of having to deal with this.

If you’ve never elected a buffoon like this it’s easy to believe it’ll never happen. If you’ve done it not once, but twice, it’s really hard to believe it won’t happen again.


Maybe I should write "an American" instead. As in, I assume the person I am responding to is an American and is calling it reciprocal tariffs to propagate the idea that it was reciprocation.


[flagged]


It's a smart strategy designed to exert maximum pressure on someone who is publicly saying they want to annex some of your territory (Greenland), and generally acting in an irrational manner.


This. He was playing a character. People think it was a documentary.


You need to use the block option, relentlessly. There's loads of garbage on there but you can clear much of it away. See it -> block it -> done.


level of effort vs. payoff. my interest level in a lot of twitter posts is very, very low, and blocking constantly just isn't worth my time. at some point you just have to concede the platform is dying and move elsewhere.


Wow that's petty.


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

Search: