skysight-inc/HackerNews huggingface dataset:
For China, the answer is fairly simple: talent.

An example: At the moment, 9 of the top 10 algorithms for Stanford Question Answering Dataset, including all of the top 5, are by Chinese teams. (2 of them by Microsoft Asia which is based in Beijing and the other 7 are by Chinese companies).

https://rajpurkar.github.io/SQuAD-explorer/

I wrote this about 3 months ago and the trend becomes quite concrete faster than I thought:

> Key competitive advantages of China are their strength in quantitative skills, a huge population, and the hard working and competitive culture of the populace.

> ...

> My back-of-the-envelope calculation, assuming above figures, is the proportion will be about five times as large. But China has more than 4 times the population of the US, so the difference in potential numbers of AI-capable natives could be around 20 times. ...

> ...

> The distinct advantage of the US is that it is the magnet for top talents and ambitious people from all over the world, including the Chinese, so it might continue to lead for a while. However, if the US becomes inhospitable to talents or potential talents, it is clear that China with its quality and quantity of human resources will soon take the lead.

Full comment here: https://news.ycombinator.com/item?id=15569339
groans obnoxiously
C++ templates are used for two different features in Rust: generics, and a more broad "metaprogramming."

The other threads talk a bit about general metaprogramming, so let's talk about the other bit. On the generics side, here's an illustrative example, taken from http://en.cppreference.com/w/cpp/language/function_template

#include <iostream>

template<typename T>
void f(T s)
{
std::cout << s << '\n';
}

int main()
{
f(7);
}

Here, the function f will take any type T, and print it out. in this case, 7 is an int, so T is int.

In Rust, here's the same function:

fn f<T>(s: T) {
println!("{}", s);
}

fn main() {
f(7);
}

here, 7 is an i32, so T is i32. But, we get a compilation error in Rust:

error[E0277]: the trait bound `T: std::fmt::Display` is not satisfied
--> src/main.rs:2:22
|
2 | println!("{}", s);
| ^ `T` cannot be formatted with the default formatter; try using `:?` instead if you are using a format string
|
= help: the trait `std::fmt::Display` is not implemented for `T`
= help: consider adding a `where T: std::fmt::Display` bound
= note: required by `std::fmt::Display::fmt`

error: aborting due to previous error

This illuminates a core difference between Rust's generics and C++'s templates: in the C++ case, the code is typechecked after the code is expanded. So it works. However, we don't even need that `main` to cause a compilation error in Rust; it only checks the body of the function. In this case, Rust says "Hey, you accept any T, but you try to print it out. What if a type isn't printable? That wouldn't work!"

The fix is:

use std::fmt::Display;

fn f<T: Display>(s: T)

// or in near-future Rust, a slightly nicer syntax, still needs the 'use' line too:

fn f(s: impl Display)

This changes the signature to say "we take any type T that implements the Display trait." Now we know that the body of the function works properly.

There are advantages and disadvantages to both approaches. In some senses, the tradeoffs are the same as any duck typed vs not situation: the C++ approach is far more flexible, but the Rust approach has stronger guarantees. We also chose the style we did because we prefer the nicer errors; C++ template errors are notoriously complex, though many say they get used to how to read them over time.

Additionally, neither languages' story is complete here. C++20 has a new feature called "Concepts" that gives you some degree of similar features here, but it's complex and I haven't read the version that was merged into the draft of C++20, so maybe someone else can elaborate on it. Rust is also adding a 'const fn' feature that gives you access to similar tricks to constexpr in C++, as well as more features for our bounded generics.
Google should not do business in countries that commit gross human rights abuses.
It depends on the extent of the film recording.

Camtasia works really nicely for doing floating head videos and it has options for dealing with green screens and video touch ups.

That also means it works fine for doing product review videos or vlogging. Basically video coming in from a single source.

It's not comparable to something like after effects but if you just wanted to record something with a video camera then Camtasia will work no problem for both the recording and the editing of that video.

All of its animations, transitions, zoom, panning and pop up tooltips can be applied to that film recording just like you could with a screencast recording.

You can even combine both that film recording with your screen recording as different tracks. It really is a versatile product for all things related to creating videos.

I'm not affiliated with Camtasia either, and I would switch to an OS solution immediately if something existed that was comparable but the only tool that I know of that is remotely close is Screenflow and it's MacOS only + paid, so it's basically just a direct competitor to Camtasia (Camtasia runs on MacOS too, and its project files are compatible with both Windows and MacOS).
But they remove any apps that might show boobs?
My Blog Now Has a Content Security Policy –  How I've Done It
Your question can be answered by reading the other comments here.
Quick Branding for Red Hat OpenShift Container Platform with Your Company Logo
...and, if I understood their tables correctly, use of tranquilizers (benzodiazepines, etc.) is associated with significantly greater risk.
If you think IntelliJ is bad, what do you think of Eclipse?

One of my worst IDE experiences was working on a Scala project in Eclipse, with a whole ton of plugins installed. Latency was incredibly high. It was like working on a lagged 300 baud terminal.
> Their use is exactly for night or irregular use

I have exactly the opposite experience. Although public transport here is pretty good (by US standards, anyway - especially the subway system), I usually take the taxi. After all the apps appeared and started to compete with one another, it became extremely cheap (usual ride is about $3, expensive one is $6-7), clean and convenient.

And on top of it, taxis can use public transport lanes - so the traffic isn't that much of an issue.
The only thing superior about HTML/CSS/JS GUI are its ease of deployment and portability characteristics. As a UI platform, it feels like a huge step back from modern desktop GUI APIs, like we are doing UI programming in the 90s again.
I totally dig the downvotes. They keep illustrating that the voting population of HN does not know much about what it takes to run a business and what those who run businesses know to be an undeniable truths.
"Don't be evil too soon."
I don't know if you're a dad but this is pretty much the quintessential dad joke! As a dad, I upvote.
> I was always in the minority till the Final Cut X came out

Final Cut Pro was my first video editor. When X came out, I couldn't stand it. I hated how a lot of Apple fanboys just started apologizing for it. But it was good in a way that it forced the rest of the market to step up its game. I'm glad a lot of studies decided to move away from it. It pretty much turned into iMovie Pro.
They will be in Nigeria soon . They have fine-tuned YouTube so that with crappy networks they are amazingly fast in Nigeria and most of West African countries. Google is aggressively pushing heir products in this region.
Came here to say that. It's repulsive, I prefer to search manually than to introduce another risk factor.
The article doesn't really make it clear, but is this assuming that cost of transit is the same or less than current options? I mean, I ride my bike to work and my wife walks. Our commutes are short and cost effectively nothing. So for us, the appearance of AVs makes no difference at all.

During the Great Housing Bubble, there was the notion of 'drive till you can afford it,' promoting suburban sprawl further and further out from the city center. Until rising gas prices made that a bad option.

And if this further erodes funding for public transit, what happens to the folks who can't afford other options?
There is an optional two-factor login (phone+password).
Well the saying is bad apples spoil the bunch, and obviously in some cases the whole bunch is spoiled but we refuse to believe it, and instead still think we’re at the few bad apples part.
So why isn't Google lobbying for free and better college education in the US, if they foresee a decreasing pool of talent in the US in the future?
This doesn't work with C either or does it? C has a reasonable ABI so maybe we should get to the point where exchanging C++ libraries is as easy as doing this with C
That's not the official point of entry, the main React site is: https://reactjs.org/docs/hello-world.html
It's building infrastructure.
L.A.'s Homelessness Surged 75% in Six Years
Reading the comments, there seems to be a lot of misconceptions and biases. But one general rule that’s been thrown out the window: Goverment is not the same as the People.

A tech hub, bringing coding, tech and entrepreneurship to a region (any region) is a good thing. It creates opportunities and helps lower and middle income individuals/family grow.
This is my framework of choice. Super minimal, and no JavaScript included (just how I like it).
It is that moment you realize that stated principles are not congruent with actions and just maybe those principle were mostly political theater
Yeah, I meant the less literate version. It's obviously not murder, but I believe it should be treated at least as seriously.
Google should not do many things, but investors want company that makes money, not one that is moral.
Sure. And you should stop driving/riding petroleum using vehicles because fuel demand props up prices and funds these countries.
पर्स में रख ले एक चीज़ हमेशा रहेगा पर्स पैसो से भरा astrology tips in hindi
Based on your explanation I would say both of those are valid, depending upon one's own personal definition of "restaurant" is.

If one thinks of a restaurant as a business that accepts money to serve you food then the comparison is the same. No matter what you thought of the restaurant, the fact is they took your money and served you food.
Then we should be using FORTRAN 77 forever?
With the healthcare system being privatized, higher education receiving massive cutbacks, falling PISA scores, social welfare being slashed and shoehorned into a new model conditional on employment status, mass surveillance bills being pushed through parliament, a rising far right etc. etc... I agree that it would be wonderful if any country could be more like Finland now, but I doubt you'd want to head the way the country is currently going.
Good news! Google is already almost male-exclusive, so the company's culture seems to align quite well with the Saudi culture (I assume they aren't cutting people's hands for stealing users' data, but that policy could change in the future).
Microservices are Not the solution to your problems
How do we get around the paywall on this? Google workaround no longer works and WSJ isn't worth a subscription to me.
This comment is so misleading and devoid of any information it should probably be removed.
Another paper about CHIP and cardiovascular diseases https://www.ncbi.nlm.nih.gov/pubmed/28636844

same team apparently
Also, GUI toolkits were never fun or easy to use in desktop development. I've used MFC, wx and Qt with C++, Forms and WPF with C# and Qt with Python. All of those had their challenges so browser-based GUIs don't seem so bad as an alternative. Not a fan of JS but modern toolkits are almost at a point where they hide enough of the ugliness.
Easy. "Don’t they make you proud to be British!" is incongruous because nobody is proud to be British!

(I jest, please don't kill me)
> Everything is so fragmented these days.

Maybe we need a cloud-cloud. One place to put all our files. The unifying interface would take care of uploading/downloading files to/from the individual clouds.

Would be nice if all clouds supported a common communication protocol. I for one would like to mount cloud storages as network drives in macOS without third-party apps (aka badly working hacks). One can dream…
So from what I can gather, they're going all the way to Bouvet Island to bounce radio waves off the Moon and back to Earth. Why??? To say they did it? I don't understand this hobby.
The announcement is misleading. These are changes since the previous beta release (4.0.0b2), not since wxPython 3.0.

Full changelog: https://github.com/wxWidgets/Phoenix/blob/master/CHANGES.rst

Migration guide: https://docs.wxpython.org/MigrationGuide.html
Don't you kind of wish they just said screw it, let's just use React for the standard and move forward. Is that wrong to say?
Why You Keep Buying the Wrong Cryptocurrencies
I completely understand the issue of not wanting spam of various sorts broadly defined, but I do think restricting it to academic addresses is a huge mistake. As an established researcher on the verge of leaving an academic institution, but who is still very much interested in research, I'm becoming acutely aware of how cliquey academics is, and how problematic it is for the field and society as a whole.

The assumption that anyone who might have anything important to say would be at an academic institution is extremely dangerous (just as is the problem of access to journals outside of academic institutions, etc.).
Sonic ‘Attacks’ Show Us How Susceptible Our Brains Are to Mass Hysteria
> I'm stuck with python2.4 or 2.6

Not even 2.7?! 2.6 hasn't had a security update since 2013[0], I dread to think how old 2.4 is.

[0]: https://www.python.org/download/releases/2.6.9/
Color Blending in Machine Embroidery
Your question might be answered if you offered an example (or two) of something more capable and/or cheaper. I'm really interested in what you think would be cheaper.

Keep in mind the goal seems to be to build something with a high node-count, rather than just core count so small size is important.
What is so terrible about the syntax? My biggest problem with Rust isn't the language, but the tooling which is still not quite there yet.

I find the syntax ok, and you do get used to the snake_case.
I assune you can patent part of an overall process (certainly that's the case in virtually all software patents), which could be a way to prevent others from replicating your process without explaining the whole thing, no?
The Parable of the Mexican Fisherman
And I feel the other way around. "Modern Desktop GUI" feels clunky and archaic to me :-) Like menus and toolbars and the "ribbon" ajd the status bar and those clunky desktop widgets...
Ah I had never read an article about it, just saw the phone plans and talked to folks when I was there. Minimum googling brought me here - https://www.google.com/amp/s/qz.com/333313/milliions-of-face...
Please do tell us about these better specced, better supported off-the-shelf commodity components!

Unless they're planning to fab 100 of these, chances are high that the retail margin on a Pi still leads to one of the cheapest BOM for a one-off project like this
Because that's not Google's job, that's the job of the local, State and Federal Government of the United States.

Edit: they do fund a lot of PhD research in US universities, including fellowship for PhD students. But one can't expect a company, even Google, to overhaul the entire system
Only if a company can operate free of implementing a governments tyrannical policies.

The question is if such a company will actually be free to serve/help the people or will it be a tool of the oppressive regime
i.e. The government is reducing taxes and reducing services.

That's precisely WHY some people like Finland. The government is stepping out of the way (as we can see in this article)
Which internet are you on that requires 30% of all made on it? If news is any indicator the vast majority of people have no interest in paying for and even reading the content - the headline will suffice.
Curation has its merits, for example not nearly as many trojaned clones. Ransomware does not exist. Ahhh users, bless them. The public daily demonstrates a lack of interest in owning and operating a well maintained and updatable/ed device.
Since at least the early 19th century? In Europe, conservatives were the ones who supported absolute monarchies.
The main misconception is that it is a tech hub that will bring coding, tech, and entrepreneurship to the region. The article just mentions data centers, likely to compete with AWS data centers in the country. https://www.google.com/amp/mobile.reuters.com/article/amp/id...
32-bit vs 64-bit is largely inconsequential when the nodes only have 1-2GB of RAM. The ecosystem I'm referring to means you can run a vanilla Linux on a RPi with no extra work. You can google a problem and have a reasonable chance of finding a solution around the RPi and so on.
The issue is who is going to pay for the extensive testing required to get from lab to hospital. That takes years, and lot of organizational skill, and a lot of money. If a drug has gone off-patent, all that is already done, so many companies will be glad to manufacture it. But for new treatments, somebody has to push it through clinical trials, with the (quite substantial) risk that something which looked good in the lab fails to work in larger studies, or has unforeseen side effects.
It also falls on consumers to choose not to support such companies if they fail to abide by our moral code of ethics.

Plugging for duckduckgo - making the switch is easy, free, and without ethical mishaps.
It's simple math really. Expanding their regions expands the talent pool by reaching talent in new populations who may not want to move. If they get kicked out by the regime they don't lose the tech, it's exported immediately no doubt.
We send you a message when we have a promising coin
The government's job is to lobby itself into spending more money on public education?
Ive tried both and OpenShot was 100 times better for me. Shotcut was slower for me and I didnt like the UI as much.
Google might be a good example of that actually - they pulled out of China because they refused to conform to the regime there.
That actually sounds perfect in my book, where they are supposed to be as broke as possible and do as little as possible or nothing. :-)

(Yes yes, I'm well aware that most other HNers are of another opinion than I am.)
This seems very much to be a false dichotomy. There's a whole space between the two extremes.
Personally I'm fascinated by all these good looking people I see on Instagram who make a lot of money doing little more than taking a picture with some gummy vitamins or drinking a cup of tea. Or being paid by a tourism agency to take all expense paid trips around the world.

Not afraid to admit I'm jealous.
He's saying that the app store takes 30% of your earnings.
Show HN: Neutron64.com, code editor built as a progressive web app
No it hasn't. "Optional" has been the status quo, meaning a lot of shit remained broken. "Mandatory" means everyone now has to deal with all the broken shit, and the stuff that re-breaks, and the stuff that gets exploited, on and on ad infinitum. This is guaranteed to make less reliable services.
I really like their approach but I want to comment on the Mexican Fisherman story.

Neither the fisherman nor the banker have it right. You see, the banker may be overly ambitious, but the fisherman is not taking precaution against future's uncertainty. You can be sure DHH has enough money and he doesn't need the headache of running a big business. The fisherman, on the other hand, may want to consider the day he cannot fish and not expect the seas to provide until his very last day.
Migraine a 'risk factor' for cardiovascular disease
This sort of reasoning is faulty, common, and quite irritating. The maximum safe speed includes all necessary safety margins, which have already been incorporated by engineering.

The maximum safe speed varies according to conditions, of course, but it is the actual maximum safe speed. By definition you can drive at maximum safe speed all day long with only the usually accepted risk of vehicular travel.
The short answer is that I used gifine [1]. The longer answer is that I researched this extensively and wrote a post called Terminal Recorders: A Comprehensive Guide that covers many of the available options [2]. If you're trying to pick a tool to use, you might find that post useful. Gifine was the right choice for me, but there are pros and cons for each tool.

- [1] https://github.com/leafo/gifine

- [2] https://intoli.com/blog/terminal-recorders/
valid point. However I also often see "politics optimized sales" where the current pet project of whoever has the most swing goes up front even if it's a terrible product and death to revenue.
How many people would you say subscribe to something they pay for online? For example news? The pool of subscribers for magazines and news is an ever shrinking pie. I know of no one in the last three jobs that maintains a subscription that’s under under age 40.
It’s notable that Amazon, despite record growth, is also in a hiring freeze for nearly the entire Retail business. Leadership is also simplifying the management chain to reduce bureaucracy.
Swedish taxis have been deregulated for ages. It means you have to be careful at the airport, because the taxis waiting can charge you absolutely what they want to take you into the city.
you do understand that 'better supported' in the case of the raspberrypi means that you are running a 32bit os? that's all they officially support - and have no plans to change

do you really think something or better and cheaper is impossible? the rpi is _the most overpriced sbc on the market_ particularly if you're not using it for raspbian (32bit only) and the module ecosystem

nanopi neo2 and rock64 are better and cheaper alternatives
Not everyone wants to study and/or work in the US, not only for financial reasons.
I absolutely love that story, and it's a big influencer for my daily decision process.
What good games do you guys play, and on what systems? I grew up with a Gamecube and original XBox, and pretty any game that had a single player also had a coop version. Now on systems like the PS4, most games have strictly single-player and online multiplayer. I don't like that I have to buy another system, copy of the game, TV, etc just to play a game in the same room as a friend.
Google's new AI research paper on prediction of medical outcome
What are we talking about?
Show HN: ArtFlow – a simple Tilt Brush-like directly in your browser (VR App)
Especially if you replaced Alabama and Carolina with California.
Different libraries would then be compatible and interchangeable. You could mix and match web components using different or no frameworks on a page.
Electron != web app. Have you tried using Slack's actual web client vs the Electron app? I personally strongly prefer the stand-alone client. The same with the git GUI client. The equivalent web thing is github.com.

If the original statement was "I prefer Electron for my desktop apps over Qt/Wx/GTK/etc." I could totally understand that. But the original comment was "My 'go to GUI' is a web app". That's not the same thing. It is our modern version of "when all you have is a hammer, everything looks like a nail."
For such a wealthy country with rich history and strong economic ties to the US, I've never heard of anyone visiting Saudi Arabia and I've never seen any promotions or advertisements to visit.

Are there travel restrictions there?
You probably shouldn't use the service, simple as that.