Hacker News new | past | comments | ask | show | jobs | submit | arandomusername's comments login

So now we are pro imperialism?

This stuff is also what breeds hate against US world wide. People are tired of foreign government mendling in their country.


> and have any semblance of democracy, if they even bother to maintain it.

Isn't this democracy? People voted for Trump and this is pretty much what he ran on.


LMDB is the only one here in C, so the interop is probably what makes LMDB so slow in here


Curious, what overhead is there calling C code from other languages?


Go doesn't use the C calling convention, but has its own growable stack system and goroutine scheduler that maps to goroutines to threads. So a goroutine can't just call a C function directly.

In order to interface with C code safely, Go's runtime has to jump to the system stack and do some additional setup, make the call, and then switch back. (Adding to that, if the call takes too long, this prevents other goroutines on the same OS thread from running, so the scheduler must jump in and move those goroutines to a different thread.)

All of this is expensive, though we are talking about nanoseconds, not milliseconds. Performance is mostly a problem when doing lots of very quick calls (e.g. you're writing a game engine interacting with something like OpenGL) or lots of slow calls (causing scheduler trashing).


Thanks! Is this also the case even Rust consumes a C library?


No, my understanding is that Rust uses normal stacks, and it uses a classic threading model, so aside from async, calling C doesn't need to any runtime stuff.


That is correct, and was a major motivation for dropping green threads way back in 2014.


> As of January 19, the Protecting Americans from Foreign Adversary Controlled Applications Act will make it unlaw- ful for companies in the United States to provide services to distribute, maintain, or update the social media platform TikTok

https://upload.wikimedia.org/wikipedia/commons/3/30/TikTok_v...

Please do some research next time before spreading lies.


That is simply a topical remark within the judgement denying the injunction. It isn't relevant to what is enforceable or being enforced. The Act in question doesn't contain wording that implies that TikTok would have been required to be taken immediately offline, as the act requires enforcement by the FTC, which hasn't yet moved on the matter.

https://www.congress.gov/bill/118th-congress/house-bill/7520...


It clearly states it will be unlawful for companies (e.g oracle for cloud, google for app distro) to provide services to Tiktok


From the White House Press Secretary:

“It is a stunt, and we see no reason for TikTok or other companies to take actions in the next few days before the Trump Administration takes office on Monday. We have laid out our position clearly and straightforwardly: actions to implement this law will fall to the next administration. So TikTok and other companies should take up any concerns with them.”

Please do some research next time before accusing people of spreading lies.


Then why did they sign the law?


It's funny how the only time there's something bipartisan is when it's to do Israel's bidding.


> the only time there's something bipartisan is when it's to do Israel's bidding

The gay marriage bill was at Israel’s bidding?

I worked on the TikTok bill. I really don’t care about Israel. While it’s tempting to see everything through the lens of your pet issue, it’s myopic to believe everything is motivated by a single cause, particularly a foreign-policy line.


Since you worked on the bill, can you clarify if the driving force behind it was national security concerns which have not been revealed to the public?


> if the driving force behind it was national security concerns which have not been revealed to the public?

No. It was national security risks that have been amply disclosed. The Cuban Missile Crisis was still a crisis even if the Soviets didn’t launch.


What are the possible capabilities here?


See: https://news.ycombinator.com/item?id=42738464

This has been publicly litigated well.


Right, but what's the actual demonstration of this? I keep hearing "TikTok can do bad thing" but it's not shown to actually happen and we don't seem interested in making them not do that.


https://theintercept.com/2025/01/09/tiktok-ban-israel-palest...

https://www.youtube.com/watch?v=-7xTxAilSF0

Tiktok ban bill was due to it being more pro palestinian. It's no coincidence that most congress members get funded by Israeli lobbyist group.


I worked on this bill, and believe I flipped two Senate votes for it. I really couldn’t care less about Palestine.


We all know you don't care about Palestine, you care about Israel.


> We all know you don't care about Palestine, you care about Israel

Not sure who "we" are, but they're wrong.

It's not a war I have strong views nor knowledge about. I've never visited either place and while I respect people who have strong views on both sides of the debate, my pet war over the last few years has been Ukraine. (Though even there I'm aware enough not to paint everything through the lens of Russian meddling.)


Are you a lobbyist for Meta or something?


> Are you a lobbyist for Meta or something?

Nope, just worked on it as a private citizen. (Don't have an account with any Meta service.)

In an ideal world, we'd regulate social media. I've tried and failed advocating for privacy legislation--the people who are passionate about privacy in America, unofortunately, also tend towards political nihilism, which makes the cause a political nonstarter. I'm also concerned about Chinese influence over American society, and care about Taiwan's security, so TikTok sort of aligned between my views on privacy, teen mental health and national security.


Switzerland has 8.1% VAT


You don't need a legal basis. You only need more power.


No it's not. Literally from the study that the article was based on:

> the earliest ice-free conditions (the first single occurrence of an ice-free Arctic) *could* occur in 2020–2030s under all emission trajectories and are *likely* to occur by 2050


> SpaceX still has big margins there

Probably to fuel the R&D cost


Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: