skysight-inc/HackerNews huggingface dataset:
"In the case of Hong Kong, the ideals at risk here are the right to self-governance."

American here using a VPN from China, not an operative. My view after 10 years in China with businesses in China and Hong Kong, is that it is useful to think about Hong Kong similarly to a USA state. It's a state where the people inside can exit into China at will, while all the other people in all the other states in China must get permission to enter Hong Kong. So, its a state where the people living inside have all the benefits of being Chinese, with few of the downsides. But from a bigger picture, Hong Kong is not anymore entitled to complete self-governance apart from China's oversight than California is entitled to act against the US federal government. Very few Americans would support any US State in the Union to exit the Union. And, Chinese nationals do not support it for their own Country's territories.

About your extra thoughts that China is "is demonstrably a country with little freedoms afforded to its people". Every place has its majority and minority viewpoint, and what you are saying here is at best a fringe minority viewpoint in China. On the whole, the Chinese majority does not welcome your pity in regards to their systems. They are amazed at the shitshow they see about USA violence and political machinations. They see marches on Portland Oregon with Antifa on the left and whoever on the far right and think, China has it good, and in many ways, they are correct.

Violent crime as measured in murders per 100K of population in the USA is a magnitude worse than in China, the murder rate is literally 10x worse in the USA. I've walked down dark streets at night all over working class neighborhoods in Guangdong province and never once felt unsafe. At nighttime, there are huge crowds in public squares, sometimes with hundreds of women dancing coordinated to music, and there is no fear. I've done the same in large cities like Shanghai, going where I please at midnight, with no feeling of danger. That's what they value here and it brings a type of freedom that you can't enjoy in the USA.

Chinese do not share the same values as you, and from my view, that's OK.
You have to remember Disney includes Pixar, Marvel, Star Wars, and 20th Century Fox, which includes the Simpsons. They advertise 30 seasons of the Simpsons on the Disney plus landing page.
> “Ironically, [Woz’s] design was so minimized that normal mere mortals couldn’t figure it out. To go to production, we had to have technicians testing the things so they could make sense of it. If any one part failed, the whole thing would come to its knees. And since Jobs didn’t really understand it and didn’t want us to know that he hadn’t done it, we ended up having to redesign it before it could be shipped.”

I encountered this kind of thing at an Autodesk event a couple years back. AI was generating bridge designs the civil engineers didn’t understand. So, Autodesk had to dial down the AI until the designs could be evaluated by enough people to get a building permit.

Edit: quote is from the article & about Woz’s design
'Most'? Woz is actually pretty lucky, he's appreciated, people know what he did, and he's fairly wealthy. When it comes to successful Hands and Faces, the Hands more often end up like Kildall or one of an even more anonymous faceless team that did all the work but will never be known.
Yeah, all we have so far is the names attached and a few words said on a big stage. We know very little about the shows, and obviously the people working on it will try to make it sound as good as they can. If I had a penny for every time some actor hyped up a movie or show that ended up being awful...

And I agree, Netflix goes for a wider breadth, but they have a significant number of quality and original content. Shows like Maniac, Our Planet, Russian Doll, Master of None, Ozark, Stranger Things, American Vandal and so on. There's something on there for everyone, and enough that you're never out of shows to watch.
If a restaurant did it in the US, it would be illegal discrimination on the basis of national origin. This particular restaurant would only fly depending on whether they could qualify as a private club exempt from the Civil Rights Act.
>The author didn't ask me about it, he just assumed the compiler was buggy and gave us a bad review. Sigh.

Did you write a letter complaining? Any response? Do you have a link to the review or copy of it? (Sorry, I just find this history fascinating).
How does a platform prevent coordinated activity if it allows end to end encryption?
You're probably right. I just get frustrated when people insist on reading value judgments in literally everything. Sometimes the curtains are just blue, you know?
There are two problems with this, but both can be solved by having two people.

The first is you'd probably have to get someone else to hide the scent for you. Not so easy when training solo.

The second is that when you want to reinforce a behaviour you generally give a trigger or marker as soon as possible after the event. If you wait too long, the dog may associate the marker with another behaviour they've done in the meantime and overwrite the correct learning. So a 'yes' or clicker as soon as the dog alerts is the best way to go. But if you yourself don't know where it is, you risk reinforcing a failure. This is easy with a helper so you can glance at them and they indicate if you are correct or not.
Nostalgia can have some very strange effects.
How One Bad Year at Work Led to Chasing Financial Independence
To be fair, the old guard probably did the same before (post 2nd world war). Lucent (US), Nortel (Canada), Siemens (Germany), Alcatel (France) were all too happy to put their equipments in South America, Asia and Africa. It is a fair game, nothing to do with demonizing China. One would expect China to not accept Lucent equipments in its core telco network for the exact same reasons.

Nobody really cared when western countries were spying after the 2nd world war (it was mostly phone calls and network security was a joke). Now, it is digital, and our footprint is way larger. Spying on telco network brings way more information now, than before. It is taken more seriously. Either intentionally (e.g. room 641A: https://en.wikipedia.org/wiki/Room_641A) or not, tapping on telco networks is the great way to spy at scale.
The Suicidal Animal: Science and the Nature of Self-Destruction
The fingerprint scanner was always a curious addition to me. It seemed completely useless other than being a great way to justify the $25k spend a year on a terminal.

I'm also very curious as to whether it actually works. Is the biometric authentication properly configured to actually be more secure?
Why Criticism Is Good for Creativity
GCP has marketed their amazing network so its interesting this isn't supported.
Cloud NAT would be fine except it costs 4.5¢ per GB (in both directions) which could hurt some use cases. If your backend VMs pull in more than 64.8 GB per month from the Internet it's cheaper to just pay for the public IP. (Only applies to outbound connections initiated by the VM, inbound connections through load balancers don't go through the NAT.)

I'll echo what others have said - it sucks that they're doing this before adding IPv6 support. A good portion of traffic could bypass the NAT entirely considering how many services support IPv6 these days.

They don't start charging until April, so maybe they'll surprise us with an IPv6 announcement before then, but I'm not betting on it. :(
I could've sworn that the Panasonic laptops that I've seen EMTs use here in Australia had exactly that. Though I've never been in the best shape when I'm in the back of an ambulance lol
Actually - if I can get totally illegal drugs in the UK, I suspect that if market forces work the same way for legal drugs as they do for illegal, folks who face death without their drugs will find a way to get supply of those drugs.

And it will be totally appalling if the EU to prove a point blocks shipments of those drugs.

This is a chance for the US perhaps to get in with some timely shipments using the US military or other govt resources. Could save lots of UK lives while the EU let's their neighbors die.
Some of the accounts were so obvious that I accidentally found them just reading tweets in Hong Kong related hashtags.

There were random-looking screen names with stolen images for avatars tweeting almost verbatim the same messages:

https://twitter.com/davywtf/status/1160959728626929671
This is literally the plot to like 5% of all Star Trek TNG episodes. Is there anything they don't predict?
You'll probably like Nancy Leveson's model and work if you haven't seen it:

http://sunnyday.mit.edu/accidents/safetyscience-single.pdf

http://sunnyday.mit.edu/
It’d definitely be really cool. We could find their secret hideouts. Startup idea right there you have.
Happy Birthday ! I had a guitar that my (not a musician) uncle gifted me too. Never stuck with it long enough. Last year (after we moved to another country) I was gifted a Ukelele. My family still recognizes my longing wish for learing to make music this I guess. Thanks for sharing.
Relevant:

https://www.chicagotribune.com/news/breaking/ct-chicago-teac...
Cool, I'll take a look!

I was quickly searching around and found this paper [1]:

"Pause 'n' play: formalizing asynchronous C#".

It looks promising, although it is behind a paywall ;-(. Also, the keyword "formalizing" tells me that maybe this goes a bit deeper than the kind of description I'm looking for...

1: https://dl.acm.org/citation.cfm?id=2367181
Sounds like you should read the rest of the article, not just part of the introduction.

Also, in general, I think you should read more stuff that's objectively true instead of stuff written to persuade you to support a particular political agenda. Reading persuasive tracts like the ones you're paraphrasing gives power to the leaders of the political faction the tracts are from; reading things that are objectively true gives power to you instead.
There aren't many people in the React community who are explicitly arguing that everything should be React. But there seem to be very few things that the React community believes are a poor fit for React.

Take addons.mozilla.org. It's a simple, tiny website with a list of browser addons and a button to download each one. Perfect fit for server-rendered HTML, right? Nah, front-end developers rewrote it in React. [1]

Or blogs. Blogs are just a collection of text pages with occasional images and links. Surely you should use static HTML for those, right? Well, okay, but only for the initial page load; after that, make sure you let React take over so it can "improve" your page navigation. [2]

[1] https://blog.mozilla.org/addons/2017/10/25/test-new-look-add...

[2] https://www.gatsbyjs.org/blog/2017-07-19-creating-a-blog-wit...
What have we been doing as a society? Asking politicians and corporations to give us what we don't need, to get rid of what we do need, and to not make us pay for it. We got what we ordered.
No way! I didnt realise it was able to do that. Pretty cool tbh!
So if I understand it correct Crawlab is another simple easy to use admin for managing web crawlers, one still needs to use scrapy or write their own crawlers. It should be similar to the admin tool I mentioned in my earlier comment and at:

https://github.com/topics/scrapy-ui

https://github.com/topics/scrapyd-ui
Have you looked into using Cloud NAT? Do you need all those ephemeral v4 IPs?

(I work in Google Cloud Networking -- though not this particular area.)
I understand that Chinese values are different from mine, and I appreciate the importance of that. I'm not arguing for, for example, the overthrow of the communist party in mainland China. However, as much as you wouldn't impose American values on China, I wouldn't want to see Chinese values imposed on Hong Kong. HKers clearly do not share those values.

Setting aside the HK question, I would also like to point out that there are dozens of countries which are not as violent as America but have governments of the people. I'm writing my comment now from Osaka, Japan, where the streets are clean, the people are safe, there's excellent public transit throughout the country, etc - and the government rules at the pleasure of its people.

Edit: because it's important in discussions such as these, I sought out information about you to judge your biases. I found that you're the founder of a company that arguably lives and dies by mainland China having a favorable view of you.
i tend to agree with the sentiment, however i’d say the important distinction is that a government has the ability to force things on people, a corporation only had the ability to influence “choice”... we can discuss whether that choice is truly a choice in many cases, but i think the initial difference is enough for it to stand on its own on the other side of a clear line in the sand
So Disney+ will have original content for mature audiences content from Fox? I totally think it'll be a monster hit but it seems like if you're not interested in the franchises and want to watch truly original series / content you need an HBO or Netflix.
Thats only when the EIP is not attached to a running instance. If its associated with a running instance there is no charge.
I was at Transmeta. It was good for my career!
I used to strive for "const correctness" in my game engine code, and wasted a fair amount of time fighting the compiler and editing function signatures as requirements changed. Mostly eliminating const from the codebase simplified things a lot.

Didn't do any comparison studies of performance, but the productivity boost from not having to think about it was nice, and I suspect any performance difference is margin-of-error stuff like the sqlite results in this article.
I don’t fully understand your use case, but in case this helps:

- Future is a trait, not a type, so you can write your own future types.

- Future’s poll method takes a context argument, and async/await-based futures pass that argument unchanged to any sub-futures that they await. The context argument is a pointer to a standard library type (std::task::Context), which itself contains a pointer to a “waker” object that’s meant to be supplied by the executor, with some predefined methods. There’s some room for customization here, but it’s not as flexible as it probably should be – e.g. for now, as far as I can tell, you can’t get the pointer back out of the waker, only call the standard methods on it. Thread-local storage is an option, of course.
> so long as someone is speaking their opinion respectfully and in good faith, it matters not what that opinion is; and that the defense of this necessitates a generous presumption of good faith

Isn't that the point of a discussion forum such as HN?

> I think it's reasonable to suggest that certain viewpoints are simply not welcome on Hacker News

I disagree that contrary viewpoints "no matter how eloquently stated" should be purged. Let them stand or fall on their merits.
For some context on how close to vanishing the community is (granted, by their own strict definition on who a Parsi is), please see:

https://www.economist.com/node/21561946/all-comments?page=1
(Archive link - https://archive.is/S9pkF )
In Italy General Practitioners visit from their local offices, or they can come to your home if you can't move for any reason. When you're 14 you just go to a local SSN (our NHS) office and you pick one who is convenient for you and still has available spots, and then you simply go to his or her office during visit times. Having a doctor who you know is constantly there, knows you and your medical history is quite nice, so much that you often have to wait a long time because old folks tend to go to their office just to chat, so I guess they tend to also be an impromptu psychological service for those who need support. Obviously the other side of the coin is that your doctor may have way too many people assigned to his practice, and seeing him means waiting for hours in its waiting room, which is for some simply not feasible.

When it's late, or an holiday, and your doctor is not in its office, you can go to a local walk in clinic ("Guardia medica") if you need a doctor but it's not an emergency (the hospital's ER is free only for actual medical emergencies).
You really think interns are allowed to push code to production at FB?
Does anyone think the coursera courses are worth it? I signed up and am working through them in my free time.
HyperCard?
I have a really hard time with the idea that there is this thing called Architecture and it is separate from some other property or activity like Code/Coding.

If you show me the implementation of a low-level component (a file, class, namespace - depending on your design idioms and PL) in your system... basically, a set of functions/methods organized and composed into a whole -- then I can tell you if you have an Architect on your hands.

For any business offering (any system/product line) the skill set required to factor this into a decoupled/maintainable whole is the same skillset required to compose a lower level subsystem or component.

(Granted there is typically some knowledge/experience at the higher level system required --eg, around database systems/tradeoffs/theory, distributed system tools/properties/theory, etc -- but the core skillset of factoring is the same.)

If you can't decouple a component into set of compose-able functions serving some component contract (I call this coding by the way), then you should not be trusted to compose an architecture for a system/offering. Similarly if you can do this decoupling at the low level and do it well, then you can do it at the higher level -- again, assuming you have experience and are familiar with the data structures typically found at those higher levels (queues, dbs, coordinators, stream processors, etc).

There's a single fundamental skillset. It's the ability to instinctive decouple a system -- any system at any level -- into proper parts.

One might say - well, an Architect is someone with this skillset. The non-Architects, the Juniors can be left to code up the smaller pieces, where problems stemming from their lack of skill can at least be marginalized.

This is weakly true and a simplistic view, however. Because decisions made at lower levels can have permeating effects quite rapidly. Another way to put this is that as one problem-solves within an overall system architecture, one encounters novelty on the regular, so to speak. And the solution/s to this or that novelty has to be slotted first at the right level of the system... in one instant, you will find that the top-level systems need a slight adjustment to accommodate things, in another you'll find that nothing needs to be perturbed above the component at hand.

If you say the Junior needs to tap the Architect's shoulder in each such instance, then you'll find quickly that this is pointless and the Architect would do better to write some code.

You either have people with the skillset or you don't. If the skillset is there, the architecture will be organically established. If the skillset is absent, whether you have an Architect in title bears less on the technical quality of your system but you may get a win on the team/organizational side of things.
This is not too difficult in PulseAudio. Every output has a "monitor" which can be routed to any application that's recording. You can do this through a GUI called pavucontrol, though it's not as pretty or flexible-looking as patchage or many of the other JACK patchbays. PulseAudio is, of course, more geared toward consumer and basic professional scenarios in general. Synchronization becomes important once you're routing through a couple of different applications.
I would be excited if something aggregated this experience. For now it's really fragmented, and I will likely be canceling my subscriptions and going back to the dark ages if that problem worsens with Disney and Apple entering the over crowded market. History doesn't repeat itself, but it does rhyme.
True to form, there's multiple forms of const in C++.

const on a methond says "I won't mutate the state of this class (except for members explicitly marked as mutable)

A const reference says I won't mutate this (unless I const_cast away the constness first)

But a const variable actually is a promise to C++, saying "This object will never mutate after initialization ever forever I promise for real this time " (except in the destructor, then it's OK).

Confusingly, all together this means you're only allowed to cast away constness if the object wasn't const to start with.

___

Some of the above may be wrong, not a language expert.
Though no-one (for a rounded-down definition of no-one) uses PHP without front-controllers and templating systems these days, giving up that feature.
I saw the comment you are referring to and it was most likely wrong. The majority of Chinese people are genuinely "pro-China" and there are vastly more regular Chinese people than professional sockpuppets.

That being said, I do agree with keeping politics off HN and wish it was enforced a bit more strictly.
Doing the Impossible: A Step-by-Step Guide
What's weird to me is that Google itself has excellent IPv6 support. Every Google web site, API, or other service I've come across fully supports IPv6. Compute Engine VMs are the outlier.

They actually utilize this for their "private Google access" system, which allows you to access Google services from a compute engine VM without a public v4 address. The VM's private v4 address gets mapped into an IPv6 address, along with some extra bytes identifying the customer's network. (You can see this by setting up such a VM and accessing an AppSpot app that echos your source IP.)
Thanks @timqian--really like the look of this and the examples cracked me up--esp.: "Monthly income of an indie developer".

I'd 2nd the comments below on Safari & size--ultimately I'm excited about using this in some mobile projects we're planning.
My troop is 80+ years old, however I just took over a few months ago. The troop was doing very poorly when I took over: only 7 registered youth, rarely camping, no summer camp in several years, previous Scoutmaster didn't even want to be the Scoutmaster, no Patrol spirit/identity, both the adults and youth had no idea how the program was supposed to work (no Patrol Method, no training, etc).

This was a troop that had a strong program and 30+ youth 15 years ago, chartered by a large-ish church.

I don't think the troop produced any paper-Eagles in those 15 years (I kept in touch), but when I took over, the head of the church asked for better Eagle Projects.

As for girls, I'm fine with that. Character-building isn't only for boys. There is Girl Scouts of the USA (GSA) troops that have good outdoor programs but they are very few and far in-between. They are more known for "glamping" and selling cookies. Gold Award doesn't have the same recognition as Eagle Scout. Something that I found out: GSA troops are not always sponsered by an organization, and those that are sponsered, are not owned by the sponsering organization. In contrast, all BSA troops have a sponsering(chartering) organization and the sponser owns the troop. So, GSA and BSA have different programs and fulfil different needs. It's good that more youth now have more options for personal growth.

If I had a daughter and BSA wasn't available, I would look into American Heritage Girls (a scout-like organization, sometimes called Heritage Scouts) or another program like that. The BSA has had co-ed programs for 14-21 year olds since the 1970s though: Venturing, Varsity, and Explorers. However I think it's just Venturing now, IDK.

FYI, in Cub Scouts, boys and girls are seperated by dens (patrols). In Scouts BSA (renamed from Boy Scouts where youth can earn Eagle), boys and girls are seperated by troops (but can have same number, same chartering org, etc... just separate youth structure).
Like Google Earth? I'll check that video out when I have more bandwidth, thanks!
Also a good book to read, if you like Graham Greene:
https://www.goodreads.com/book/show/12688827-the-man-within-...