skysight-inc/HackerNews huggingface dataset:
I read the book, a very long time ago, but my understanding is that China was never interested in expansion, culturally. China itself was a vast, insular monarchy for thousands of years, protected by the Himalayas to the west, an ocean to the east and south, and vast steppes to the north. The Chinese, culturally, were convinced of their innate superiority (like most cultures!) and only wanted to perfect their kingdom, not grow it.

European culture, on the other hand, was not homogenous and the in-fighting between "white" nations forced each one to find advantage anywhere they could find it, including overseas, and the valuable raw-materials a globe-spanning empire can give the homeland. The technical difficulties of running large navies, building ships, lead to lots of engineering advances.

So, I guess if China hadn't been unified, and had been more vulnerable, parts of it would also have been forced to seek advantage in trade, and history would have been a very different story.
Nestle claims to have a zero tolerance policy toward slavery, see https://www.nestle.com/ask-nestle/human-rights/answers/nestl...

We have zero tolerance for illegal trafficking or slavery. If we find any evidence of it then we report it to appropriate authorities immediately.
Latency in LTE is, I think 5 ms. The rest from the delay is normal network delay and not an issue of LTE. So with 5G (with everything else being the same) will reduce the delay by about 4 ms.
> How does shared_ptr work? Reference counting?

Yep.

> What's wrong with using a proper generational moving garbage collector?

Because then you don't have deterministic performance which is necessary in certain contexts–or am I misunderstanding you here?
how is this more blizz related than wow related?
My understanding is that when you smash particles together with high enough energy, you end up with a total particle mass greater than before, and so, yeah, in a way, it must be.
Decoupling data declarations from the actual implementation for web-scraping
Networks are usually capable of this. (See examples in Europe). It is a deliberate choice from the ISPs to not offer unlimited data packages. You can make much more money with selling overprized "1 GB packages". It is a business issue, not a technical one.
Here's the tweet by the Institute of Geologic and Atmospheric Investigations in Mexico.

https://twitter.com/SIMMSAmex/status/1008374780351967233
> Fiber like GPON is shared physically-ish, but DWDM isolates individual waves so thoroughly that it's hard to think of that as a shared physical medium unless you're thinking about backhoe fade and the like.

This is incorrect. GPON does not use DWDM, or any individual waves per subscriber. GPON is a shared medium with one wavelenght used in the upstream and one wavelenght used in the downstream direction. Each subscriber is allocated bandwidth on the shared medium.

Not even next generation PON uses DWDM. Next generation PON still uses on upstream and one downstream wavelenght per PON tree, but there can be multiple PON trees on the same backhaul fiber. It's more like a CWDM overlay of PON trees.

The only PON that uses DWDM is WDM-PON, but it isn't deployed commercially at scale yet.
Russia uses fake American social media profiles to astroturf every website with a comment box with extremist propaganda.

See how that’s different than a private news organization being a little too obsequious?
That's not what 'noise' looks like to me, or well, it's not the white noise I'd associate with TV, more like err, a semirandom generated height map of sorts. Still, that amount of detail requires billions of datapoints, generating those quickly is beneficial. I can imagine games like Elite: Dangerous and No Man's Sky use those a lot for the trillions of planets they have.
I'd like to understand how you came up with the equation summing up to 235
https://80000hours.org/
What is it, 1 out of every 7 person started on SSRIs ends up with a success story? And lots of ties of such drugs to mass shooters?

Yeah - it's all for our safety...nothing to do with regulatory capture.
No but I don't have to be good because 90% of all software is stupid CRUD.
I consider myself capable enough to solve most problems in an average way.
>To be a great, rather than just a big power, China needs the world’s acceptance. More open domestic markets, fewer hidden subsidies and less dumping, less industrial espionage and less aggression in the South China Sea would all help.

Why? The US posturing and genocide in South America for 200 years did not stop it from being a great power, that the pacific rim will now see the same from a yellow and not white face doesn't change much.
I'd argue that a government is supposed to fear its citizens. It's just not supposed to censor them and take away their rights to quell that fear: rather, it should hold itself accountable and not do things that would cause resentment.
Cross-browser library of nice looking CSS box-shadows – update 1.0.4
I think of the relationship between the voters and the Council to be like a 2-branch government with checks and balances. The voters are the legislative branch, but their decisions can be overturned by the judicial branch (the Council). Those judicial decisions can themselves be overturned by a supermajority of the legislative branch.

Decentralization is a spectrum, not a binary. While a centralized entity plays a part in the process, ultimate authority rests with the voters. The Council also has a plan to decentralize itself over time and voters will eventually be able to vote on removing or replacing the Council.
Scientists scramble to stop banana being killed off
And of course Obama used it more than all other presidents combined.

Which is why a libertarian had a really odd choice to make last election: go with someone who has hollowed out the constitution in her time in office as much as possible, or go with someone who promises to hollow out different parts of it. Or not vote.
At least 2 downvotes on this comment. I'm done with this site.
Pure capitalism can literally never sustain useless work.
Or perhaps it could be a cooperative relationship where neither side has to fear?
Blizzard on running classic WoW on modern engineering
Sounds cool! What parts is it supposed to support?

- Mach-O binaries?

- ARM?

- Objective-C?

- ?
Is there irrefutable, objective proof that TDD is the one true way?

I've looked into TDD but it simply does not fit my way of thinking and how I approach problems. I prefer to test systems when I have finished them as I cannot formulate a test before I know what I'm testing.

Especially for organically dogfood-development TDD is a bad methodology as you discover requirements as you go.

TDD is however great if you have requirements before you start writing any code (aka Waterfall but swap Testing and Coding)
No, Shaltai were doing their own work, publishing the teasers and auctioning the info to highest bidder.
From the article: "To suppress views of China that it does not like, the party is trying to replicate its domestic censorship on a global scale," says Isabel Hilton

Real purpose behind EU's copyright filter?
The simple solution there is to simply not use specific parameters (outside ovious edge-cases, ie supplying -1 and 2^63 into your memory allocator). Writing a simple reproducible fuzzer is easy for most contained functions.

I find blackbox testing itself also fairly useful. The part where you forget which parameter combinations may occur can be useful since you now A) rely on documentation you made and B) can write your test independent of how you implemented it just like if you had written it beforehand. (Just don't forget to avoid falling into the 'write test to pass function' trap)
Twilio apps really shine for this sort of thing. You can imagine all sorts of UX for a private emergency number:

Forward the call to your primary cell number directly.

If you only have a small number of potential counterparties, blow up all your notification streams with "555 555-5555 (Mom) is trying to get in touch [and has pressed 5, indicating an emergency]."

etc etc
It's funny how pundits from countries that have (and are still doing) all those things, point the finger at other countries for doing the same (and, internationally, far less).

"aggression in the South China Sea"? The US has invaded 3+ countries in the last 20 years producing as much failed states. Is it just a "big" and not a "great" power?
That assumes your enemy was holding back their efforts due to some bizarre case of chivalry.
That would be the ideal; the rules change somewhat when you've got strong autocratic tendencies.

This is a good opportunity to quote Bert Brecht, who (after seeing which way the wind blew, doing a 180 degree flip on his original stance) penned the poem 'Die Lösung' in response to the East German Worker's Uprising of June 17th, 1953 -

"Nach dem Aufstand des 17. Juni / Ließ der Sekretär des Schriftstellerverbands / In der Stalinallee Flugblätter verteilen / Auf denen zu lesen war, dass das Volk / Das Vertrauen der Regierung verscherzt habe / Und es nur durch verdoppelte Arbeit / Zurückerobern könne. Wäre es da / Nicht doch einfacher, die Regierung / Löste das Volk auf und / Wählte ein anderes?“

The translation is my own, and neither German nor English is my first language, so please bear with me:

"After the June 17th uprising / The secretary of the Writers' Union / Had leaflets distributed on the Stalinallee / They said that the people had lost the trust of the government / And could only regain the trust by doubling their efforts / Wouldn't it be simpler, then / If the government dissolved the people / and elected another?"
The Elizabeth Holmes Indictment Won’t Make Silicon Valley Any Less Reckless
Even if that is not the intended purpose, it may inevitably end up being used for that.
>and it still needn't matter to us because it's only a resource-stripped sh&thole

Yeah, if it was a resource-plenty shithole it would matter more, since it could be plundered. /s

There's also the fact that those suffering will still be people in either case, but who cares for that when they're living bit outside of shitholes /s
I agree with pretty much everything you say but the reality for the majority of people is they can't afford to "just walk away" when those things are so widespread.

It was in another recent thread someone was insisting you should "just walk away" if the company doesn't have private offices.

It's not practical for most people.
Not really a network engineer so cant really help with that. The 20ms is just my experience and the 1 to 2ms is the theorical number given by the people designing 5G. Found this writeup but still not really sure beyond improvements to the slot-based framework and higher frequency as being the reasons

https://www.edn.com/electronics-blogs/5g-waves/4460346/5G--T...

All these latency numbers vary a lot based on connection quality. As I understand you basically need line of sight for 5G to work at its maximum frequency and will fallback to what is basically 4G when such a connection is not possible. But then again the antennas/stations for 5G should be much smaller and thus easier to deploy closer to the end users.
> true unlimited data, you have to have true unlimited bandwidth.

Semantics: no, you just need to throttle each connection such that ever user can have continuous data flow given the available back-haul.

Can your ISPs infrastructure handle everyone saturating their connection? It’s all about QOS vs Contention Ratio. It’s unlikely everyone will want to stream ten 4k videos to their home or smartphone all the time, but so long as telephony and streaming video work most of the time for most people we can probably consider that unlimited in the common parlance.
Maybe block-chain can actually be useful this time, it is quite easy to create a news forum that even the most powerful government can not bring down. where educated individuals are rewarded to vote on articles just like HN.

Here in JP we see people holding cardboard stating how they are miss-treated in front of the ward office.
Letting these voice be heard means more leverage to the citizen. like pressuring law changes.
A large part of the world is not like America.
In Chinese twitter there are quite a few words you simply can not type.
“So if you see green bananas in the shop you know there is an issue with supply because the taste in the UK is for yellow bananas with just a tiny bit of green.”
Google enters 'strategic partnership' with China's JD.com
What the World Cup can teach project teams
Sort of similar sort of story:
https://imgur.com/gallery/iJD8f
Djitter – how to build a Twitter clone using Django 2.0 – Part nine
Tessian raises $13M to transform the way enterprises secure email
Note: The Economist is British.
> And of course Obama used it more than all other presidents combined.

Could you provide a source for that?
This article is a book report written by an old crank who doesn't like that modern scholarship focuses on what we can best tell what happened instead of some fairy-tale to make flag-wavers feel good about themselves. It's in a publication that generally hates intellectuals, especially those in academia.
https://news.ycombinator.com/item?id=17331850
Just ARM for now, and support for certain memory protection restrictions that iOS imposes. Honestly, I really didn't do much other than tweak the Makefile, modifying a call to mprotect, and rearrange some deallocation code. TCC doesn't support Mach-O yet, and that's not something that I have enough expertise to support, so all execution is done by JITing an ELF binary in memory as it's done on macOS.
France here, for 20€ I got 100GB domestic + 15GB EU roaming, which is very much asymptotic to unlimited for me. Considering moving to 50GB (domestic+EU roaming) for 25€ and stop worrying when I cross a border.
There is nothing wrong with globals and singletons. They are very good patterns. Some areas of code deal with global state, and there is no sense in pretending it is not so. On the other hand some other areas definetly need a closure of their own (like a workload dumped to a worker thread).

The usual issues with globals pop up when people whant to run shortcuts and never implement the data separation from global to local when they should, think they can be used to replace a database like system, or - the horrors - use some multi level stack based system to push and pop global state as they merrily progress along the call stack - i.e run computations while using the global state as some sort of auxiliary storage unit.
all in all, the best option is to run as far away from war as possible
Many would argue your example supports the author’s point. US meddling in South and Central America significantly tarnished the US reputation. Further, destabilzed govts led to underperforming economies that could be great alternative trade partners. Instead, those countries are now vulnerable to Chinese influence in return for investment captial.

While you may have wished to divert attention from China or simply return to your favorite whipping boy, you also highlight the need to conform with Western ideals.
So was Thatcher, but you could find no one better cheerleader for the Neo-liberal policies of the US than her.
Comparing Languages for Engineering Server Software: Erlang, Go, and Scala(Akka) [pdf]
De Tocqueville was visiting a country that had already been purged of key dissenting voices. When the American Revolution broke out, society was quite split on whether to remain a colony or to rebel. The revolutionaries won in large part by burning down loyalists' houses and tarring and feathering them, until they either fled to Canada and the West Indies or kept their mouths shut from fear. Saying that the independent US was so great because Tocqueville thought it free and prosperous is like saying any repressive state is so great because when you traveled there you met so many happy people and did not see anything amiss.

If you like contemporary primary sources, there are plenty of letters and diaries documenting how oppressive the revolutionaries were. No surprise that doesn't get covered in American schools, it would get in the way of constructing a national mythology like every newly independent nation wants to do (my own Eastern European country is just as bad).
This seems to be the key paragraph:

> A confident power permits debate to flourish, unthreatened by ideas; a fearful
> one will seek to manipulate or shut it down. The party is increasingly obliged
> to try to replicate its domestic censorship on a global scale, to suppress
> views of China that the party does not like, wherever they are manifested.
> Sustained investment in propaganda in Chinese-language media and in Western
> media, subtle and unsubtle attempts to exert influence through the party’s
> United Front Work Department, pressuring business partners to support
> political positions on Taiwan and the South China Sea, buying political
> influence and muscle-flexing on Western campuses—all have caused alarm in
> several countries recently, notably in Australia and New Zealand.

I guess it shouldn't surprise anyone that China is trying to control the narrative overseas. Most major powers try to do the same.
Dilbert Principle
Interesting how the State-Socialist authoritarian countries ended up not actually being an existential threat to freedom, due to the weakness of a planned economy. But since China embraced capitalism, it's economy became very strong, and so is now a more serious threat.
Super interesting.

It's kind of hard to believe how our species has managed to explore furthest of planets, stars and galaxies while just drilling 7.62 miles through the crust of the very planet we exist on and "dominate" [0] -- a testament to how challenging crust drilling can be, right on par with exploring deepest parts of Earth's oceans.

[0] https://www.fs.blog/2016/01/yuval-noah-hararri-on-why-we-dom...
I think earlier intervention makes much more sense. If you grow up in an environment which doesn't value education, and you yourself doesn't value education, the education in college may not help you much. The degree may help you some, the education may leave some prints in your head, but it won't be much. Like any training or education, if you don't value music much, the probability music benefits you much is also low. And you may not be happy taking the education, unless the education is, well, not so educating, but more like hanging out with the brotherhood or other socializing. Not saying it's not good, but it's definitely not so academic.

The Asians traditionally don't value basketball playing, and why don't the basketball teams try to normalize for students whose childhood environment didn't value basketball playing? Why don't the colleges try to normalize for introverts or working bees whose environment didn't value extroverting or leadership?
A quick Google search would do you well. Take this article for example: https://www.theguardian.com/us-news/2015/mar/16/whistleblowe...

Or even this one:
https://www.longislandpress.com/2017/01/14/obamas-legacy-his...
The shortage is a myth and corporate propaganda.

They have collectively adopted a strategy of constant moaning because they always want more and better candidates for lower prices.
If the US reputation was tarnished so much list all the countries where US backed invasions or coups killed more than 100,000 people in the 20th century.

And please call it what it is: genocide.

I do enjoy a bit of whataboutism in the morning, the need to not murder millions is not a western ideal, the First, Second, Korean, Vietnam and Iraq wars all show how little value democracies place on the lives of non-citizens.
The point is endurance, not speed!

Basically after a few days the poor horse gets totally exhausted and just stops.

Might make a claim that a human walking on two legs is especially efficient use of food energy.

To increase the amazement, supposedly the US military has discovered that on really long exercise, say, all-out exercise over several days, say, walking 100 miles through deep snow, women have more endurance than men. The explanation is that the women start out with more fat reserves and are able to use them. So, too soon the men run out of fat and, thus, out of energy.

So, maybe in running down a horse, African zebra, or antelope, female humans might be better than male humans!
But globes don't have capitols...?
Note that Black Mirror started on Channel 4, a public service regulated, but privately-owned broadcast channel.
Ask HN: What is your comfort book?
The book you read over and over for whatever reason. Mine is "Money: A Suicide Note" by Martin Amis, a book I listened to and re-read several times.
Uncensorable distributed apps existed long before blockchain. I really hope you were sarcastic
Guam, the Phillipines, the Spanish American War, The Monroe Doctrine, 200+ years of meddling in Latin American affairs as a result.

Good grief, why are we even having such a conversation?

"but your genocide was worse than our genocide"

Learn to separate rhetorical devices, propaganda for the working classes via the free public education system, and actual historical facts and context.

Let's just say that altruism and moral purity haven't been high on the political values pile anywhere that power relations are exercised. A little less "my precious" will help in a dispassionate and accurate analysis.
Yes, indeed. It's quite strange that we never had this kind of criticism against US in the past when they always used the same kind of diplomacy (I mean, they're still doing it).
Great news for the Finnish people.

Still waiting for decent Firestore querying capabilities, though.
You're correct, but if I was looking for that kind of package, I'd use it as a search term. And, given the pervasive Unicode support, I guess most people would be happy with the result.
You said "I've never once heard of ketamine used for that." and asked me "But did you actually know of it as a date rape drug before you googled "ketamine date rape?""

Yes. I heard about that putative connection from one of the times when the "date rape drug detection straw" or something similar made the rounds. At this point I can no longer find the specific link. I think it was from last year. Two possibilities from the media I frequent are:

* HN 5 years ago at https://news.ycombinator.com/item?id=6122049 . (The link to the original article no longer exists.)

* Phyrangula from 6 years ago https://freethoughtblogs.com/pharyngula/2012/12/04/its-a-goo...

Looking at the other media sites I read:

* Neatorama from 8 years ago https://www.neatorama.com/2010/06/30/10-weird-items-people-t... says "tests on the liquid found the animal tranquilizer ketamine, a hallucinogenic drug often used in date rape"

* a comment on BoingBoing last year is the comment "From horse tranq, to date rape drug, to therapy. Is there anything Special K can’t do?", at https://bbs.boingboing.net/t/dissociative-psychedelic-ketami... . A 12 year old BoingBoing article at https://boingboing.net/2006/09/20/willie-nelsons-myste.html references the commentary:

> For instance, one report called the disassociative hallucinogen Ketamine a “date rape drug.” There is, of course, no such thing as a date rape drug. There are drugs that were developed to be used – and are used – for other purposes that are, on rare occasions, used for date rape. And then there’s alcohol, which has been the more easily available and frequently used substance of choice for date rapists since time immemorial.

I completely agree that the association with ketamine as a "date rape drug" is hyped-up drug-war propaganda, and alcohol is a far more common date rape drug, and ketamine has has many therapeutic uses. (Look at how many people are allowed to carry explosives with them on a plane - nitroglycerin is a common heart medicine.)

But I think I have demonstrated enough examples which show why I don't think you should be surprised when someone makes that connection. Instead, I think you should be pushing back against the propaganda.
I'd love to hear more about how you intend to achieve this in a way that doesn't greatly reward either side for behaving poorly.