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


Not sure what you mean by that lol

The answer.

[flagged]


Don't post AI slop here please.

I normally would not, as is evidenced by my comment history.

However, in this one case, it seemed approporiate.


Ironically, you could probably generate a browser extension or user script to do that in one to three prompts.

If you can't one-shot that you've been declawed /s

In response, POTUS just declared a global 10% tariff. Does anyone understand if this is legal?

https://www.reuters.com/world/china/trump-orders-temporary-1...


Offhand, yes, this looks legal, under section 22 of the Trade Act of 1974. Such tariffs, however, are limited to 150 days and a maximum rate of 15%.

I think I found the law:

> SEC. 122. BALANCE-OF-PAYMENTS AUTHORITY.

> (a) Whenever fundamental international payments problems

> require special import measures to restrict imports—

> (1) to deal with large and serious United States balanceof-payments deficits,

> (2) to prevent an imminent and significant depreciation of

> the dollar in foreign exchange markets, or

> (3) to cooperate with other countries in correcting an international balance-> of-payments disequilibrium,

> the President shall proclaim, for a period not exceeding 150 days

> (unless such period is extended by Act of Congress)—

https://www.govinfo.gov/content/pkg/COMPS-10384/pdf/COMPS-10...

search for "SEC. 122." to find it quickly.

None of these seem to apply and I am not a lawyer, but if they do not apply then, why would the president have the power of taxation when that is given to the legislative branch not executive branch.

Not clear to me why these new tariffs would be on better footing than the last and the last never seemed to be on good footing.


Its like going 70 mph in a sleepy subdivision because a road sign on the interstate says you can go 70 there.

Trump is taking an law that says "You can do X if Y" and saying "I can do X"

150 days thing is just moving the goal posts.


> Its like going 70 mph in a sleepy subdivision because a road sign on the interstate says you can go 70 there.

> Trump is taking an law that says "You can do X if Y" and saying "I can do X"

I think it's more like going 70mph downtown because there's a sign saying "if onn an interstate you can do 70mph" -- the "if on an interstate" is pretty important there!


The question is if after 150 days..does he just do it again?

The irony is 10% universal global tariff might actually make some economic sense if he got rid of all the other ones

In practice, isn't this just a blanket federal sales tax/VAT? Isn't that inflationary?

I am curious, what do you see as the benefit of this style of taxation?


Potentially inflationary yes but would correct the current account deficit and some of the other imbalances (lack of blue collar jobs, excessive financialisation, income inequality) that accompany it.

Not the best way but not completely stupid either.

If you’re interested in this perspective look up Michael Pettis’s work, he explains it better than me.

To be clear, I’m not defending trump, I think he is an idiot. This would be a “stopped clock is right twice a day” situation if he ends up doing it


Aw shucks, I guess we'll have to wait another year to find out won't we?

In a sense this is the correct level of punishment for all. The courts are slow and deliberative.

The Congress could solve this in a week. Impeachment and removal from office.


You are correct. My country does not have the similar separation of powers the US has. I do not understand why Americans have a hard time realizing this: the President and other elected officials work for YOU. They literally run for office to get the position, and they get voted in. Why would someone let an elected official enrich themselves and their friends with your money? Why would the legislative branch allow that?

A populace with a functioning representative democracy deserves its leaders.


There is no mechanism for citizens of the united states to recall a president or member of congress. They must wait 2, 4, and 6 years depending on who they'd like to replace. This contributes to the the current woes as as many members of congress and some presidents (like this one) would certainly undergo recall battles or be immediately recalled. Since we can't though, and elections in this country are a 12-16 month barrage of lies, propaganda and ads by the time voting does come around people just check which ever box matches their team, zero thought given and are thankful the whole mess is over with so they can mostly ignore politics until its time to start complaining again about how poorly they're represented. Repeat.

Another issue is that you actually need a lot of money to meaningfully run for most federal office roles, so that's one filter which promotes rich guys who don't care about doing the job well.

To put it another way, I have not participated in a federal election where I was excited about my options, ever. I have always been triage voting in federal elections ever since I was old enough to vote.

So yes, we do vote for our clowns, but only because we're not given any decent options to vote for.

Fortunately, the US giving a lot of power to states means that our more local elections are a lot more interesting to participate in and at least in my state, I have several decent options to vote in people who will make a real difference.


>”Why would someone let an elected official enrich themselves and their friends with your money? Why would the legislative branch allow that?”

Let is a heavily loaded term here. The most an individual can reasonably do is cast their single vote in an election year. I could attempt to bring a lawsuit against a politician, but it would almost certainly be thrown out due to a lack of standing. Activism is certainly an option, but that is really just an effort to convince others to cast their single vote differently. Outside of those options, one would have to break some laws.


About 30% of our electorate consists of so-called "deplorables" who are geographically distributed in a way that gives them outsized influence. The deplorables were happy to set aside their own best interests at the voting booth because Trump promised to hurt other people more.

Promises were made, and as far as the deplorables are concerned, promises were kept. They continue to approve of his actions wholeheartedly.

There is probably no way back for us, unfortunately. Please keep in mind than a healthy majority of American voters either voted against Trump or chose to sit out the election. We are largely powerless, though, due to system-level weaknesses that have been present since the nation's founding but couldn't effectively be exploited until recently.


>Why would someone let an elected official enrich themselves and their friends with your money? Why would the legislative branch allow that?

Republicans in Congress were elected expressly to allow Trump to do as he wishes.

>A populace with a functioning representative democracy deserves its leaders.

Yes. Despite Trump himself being a fascist, the government continues to operate as a representative democracy. Most Congresscritters have their thumbs up their asses waiting for things to get much worse, which mirrors the vast majority of voters.

Is it national apathy? Decadence? Addiction to the drama, anger and depravity of Trump TV?

Elect an abuser, get abused. Is this surprising?


> Multiple applications sharing a database [0]

> Regret

Thanks for this data point. I am currently trying to make this call, and I was still on the fence. This has tipped me to the separate db side.

Can anyone else share their experience with this decision?

[0] https://cep.dev/posts/every-infrastructure-decision-i-endors...


My advice: One code base and one database.

In my experience, it's easier to take schema out into a new DB in the off-chance it makes sense to do so.

The big place I'd disagree with this is when "your" data is actually customer data, and then you want 1 DB per customer whenever you can and SQLite is your BFF here. You have 1 DB for your stuff(accounting, whatever) and then 1 SQLite file per customer, that holds their data. Your customer wants a copy, you run .backup and send the file, easy peasy. They get pissed, rage quit and demand you delete all their data, easy!


> If you know what you're doing you don't need AWS support.

Some big companies have massive monolith code bases. This is not a generalization you could apply universally. There are a lot of other considerations. What kind of features are we talking about, what kind of I/o patterns are planned, what is the scale of data expected, etc.


I think you are responding to the wrong comment. I never said that.

Highly recommend reading Designing Data-Intensive Apps [1] and Monolith to Microservices [2]. I can't remember which (maybe both?) but I definitely took away the idea that if services share a DB, that DB's schema is now a public interface and becomes much more difficult to evolve with new requirements.

[1] https://www.amazon.com/Designing-Data-Intensive-Applications... [2] https://www.amazon.com/Monolith-Microservices-Evolutionary-P...


The way I think of it is that a DB should only be accessed by a single replicaset in k8s. Only processes of identical code should share the DB. Everything else is through RPC interfaces.

This is how large scale systems are built, but the pattern makes less sense the smaller your footprint is.


The old school solution to this is have different schema in your database, and have views as the cross team public interface.

Coming from a world of acquisitions, I see almost every startup make the same decision of having a single database for everything. Can’t stress enough how big of a problem this becomes once you scale even a little bit. Migrations are expensive and time consuming. And for most teams, moving an application to a different db almost always becomes an urgent need, when they are least able to.

The issue wasn't sharing a database, it was not being clear about who owns what.

Having multiple teams with one code base that has one database is fine. Every every line of code, table and column needs to be owned by exactly ONE team.

Ownership is the most important part of making an organization effective.


He doesn't want to manage the database the way he manages the rest of his infrastructure. All of his bullet points apply to other components as well, but he's absorbed the cost of managing them and assigning responsibilities.

- Crud accumulates in the [infrastructure thingie], and it’s unclear if it can be deleted.

- When there are performance issues, infrastructure (without deep product knowledge) has to debug the [infrastructure thingie] and figure out who to redirect to

- [infrastructure thingie] users can push bad code that does bad things to the [infrastructure thingie]. These bad things may PagerDuty alert the infrastructure team (since they own the [infrastructure thingie]). It feels bad to wake up one team for another team’s issue. With application owned [infrastructure thingies], the application team is the first responder.


What's the DBMS? We moved in the other direction with postgres, merged multiple databases to simply have a schema per service/application instead. All the advantages with none of the disadvantages, imo. (We then had a single database per running test/dev environment, rather than multiple.) Of course, that's a pg thing, if you use MySQL for example it's not an option.

Yes, we are using postgres and my plan was to use separate schemas, if going the single db route.

The only thing that worried me is that one product might need SOC 2 sooner than another. I thought separate databases would give a smaller compliance surface to worry about. However, this will be my first time going through this process, so I am pretty uninformed here.


i think this is aligned with the author's choice. a separate schema is effectively a separate database (from a product eng perspective) with shared infra.

Accept that eventually you'll have multiple databases, so it makes sense to plan from that from the start and get in place the mechanisms for the databases to talk to each other.

the method for databases to talk to each other is via?

if we're not talking about replicas, we're talking about coordination at the app level, right?


Linked servers or FDWs

Separate! You lose the flexibility to move logic between the application and the database when the database is its own API.

I am far from the halls of corporate decision making, but I really don't understand why bug bounties at trillion dollar companies are so low.

Because it's nice to get $10k legally + public credit than it is to get $100k while risking arrest + prison time, getting scammed, or selling your exploit to someone that uses it to ransom a children's hospital?

Is it in fact illegal to sell a zero day exploit of an open source application or library to whoever I want?

Depends. Within the US, there are data export laws that could make the "whoever" part illegal. There are also conspiracy to commit a crime laws that could imply liability. There are also laws that could make performing/demonstrating certain exploits illegal, even if divulging it isn't. That could result in some legal gray area. IANAL but have worked in this domain. Obviously different jurisdictions may handle such issues differently from one another.

Thanks, great answer. I was just thinking from a simple market value POV.

What about $500K selling it to governments?

Issue 1: Governments which your own gov't likes, or ones which it doesn't? The latter has downsides similar to a black market sale.

Issue 2: Selling to governments generally means selling to a Creepy-Spooky Agency. Sadly, creeps & spooks can "get ideas" about their $500k also buying them rights to your future work.


Meshy?

That's one. You can also do it just with Gemini: https://www.youtube.com/watch?v=9dMCEUuAVbM

Workflow can be text-to-model, image-to-model, or text-to-image to model.


> you can do it even easier as a solo dev.

I get the feeling that we are in the golden age of LLM dev tools, where many tools like Claude Code are very subsidized. That will go away soon, and worse. In the most recent Dwarkesh podcast with Dario, he mentioned that not all tokens should cost the same.

He gave an example where tokens giving advice to restart a computer should be cheap. On the other hand, tokens advising a pharma company on molecules should be expensive.

In the near future I can imaging CC replying:

> That's a great idea, this will solve the problem in production! However, given the number of users I see, this will be charged at 20x. Would you like me to proceed?


Scavengers Reign was easily my favorite sci-fi, in any media format, of the last decade+. So incredibly inventive with the alien biosphere.

Gotta add "Primal" to your list of must-watches ..

What makes you think a tunnel would be safe? Just need to re-purpose this little guy:

https://blog.sintef.com/digital-en/inachus-project-robot-sea...


a network of tunnels and sensors is easier to defend than a open space exposed position where drones can see you from miles away, I guess that makes tunnels better for defense

Given that we have bunker busters that will travel beyond the horizon at hypersonic speeds and bust 200 feet of reinforced concrete...

I don't think any fixed installation is particularly easy to defend?

Also, I'll grant that a drone can see you from miles away, but don't you think any one of a large and growing number of satellites can spot your massive earthworks from tens and hundreds of miles away for the months or years it takes you to construct?


Given that we have nuclear weapons why bother making anything?

The Russian invasion of Ukraine has been going the other way around entirely.

It's attackers that can't defend against anything.


Makes me think the noble houses of Westeros should have dug tunnels to foil the Targaryen dragon advantage.

they did - that's why dorne was never conquered

Little known fact, dragonglass is an excellent semiconductor

the operator of those would get hit by an aerial drone from one of the other tunnel exits

But now you've forced your adversary to deploy and use "this little guy" on top of everything else they're doing. If you raise the costs high enough that they can't pay, you win. Yay!


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

Search: