skysight-inc/HackerNews huggingface dataset:
> Are you absolutely certain that everything that jQuery does can now be done in a clear and concise way using plain Javascript?

Can you give us some examples of things that you're worried can't be written clearly using plain JS? Obviously everything you can do with jquery you can do without jquery. Its just a library.

> Can you have a sophisticated selector for Event Delegation without using jQuery but make the code concise and easy to read?

What do you mean by event delegation in this context?

> What about child selectors ("ul.thisClass > li.thatClass" > span.otherClass")

document.querySelector / querySelectorAll supports this. Its available in all browsers on all platforms if thats how you chose to make web apps: http://caniuse.com/#feat=queryselector
China does not officially list the websites it blocks for this reason: they don't want to turn it into a WTO case. If you ask China telecom why Facebook isn't working, they'll say...must be Facebook's fault.

Anyways, the US probably doesn't care that much as we probably make more on trade with China (even American retail marks up China-sourced cheap items), that we don't find it worth rocking the boat over this. Also, by keeping out international services, Chinese services never face competition to become worldwide competitive, meaning they are basically leaving the rest of the world to established mainly-USA players.
Pollen: the book is a program
Honestly, fixing the education of educators would be the best long term solution.

Alternatively, creating a complete, ready-to-go curriculum package for every course (as defined in every state) that could be handed to anyone might be a startup-able solution to that problem.

Although, that might also just be a patch that leads to a local maximum of not-very-good teachers teaching from better-than-before curriculum. Where making better teachers would lead to better teaching (eventually).
We already do, it's just not anywhere close to evenly distributed.

Kim Kardashian and Paris Hilton did no actual work, yet made a lucrative living, even in their late teens.

Almost everyone has personal family+friends that they value in ways other than needing their labor. But it doesn't scale. People have a Dunbar number of somewhere a little (perhaps a lot) over ~140, but nowhere near a nation-state population.
> At what point do people just accept the fact that Trump won a democratic election, racists voting or not.

We'll see when Mueller's investigation is over.
Yeah, now we just wreck up the place and leave... or not.
And that's supposed to offend them? how?

What makes you think Chinese are after making others follow them? I think they are pretty happy with the way things are now.

Do you think that's what we are after? Making others emulate us? That sounds racist to me.
Same thing in Cargo: http://sasheldon.com/blog/2017/05/07/how-i-broke-cargo-for-w... https://github.com/rust-lang/cargo/issues/3982
Do you have a source?

(Not disbelief or concern trolling, I'd like to find out more about this case.)
scaling for the fun of scaling.

I think your arguments are misguided, for every compute bound task where Hadoop/Spark undeperform, 1000 other ETL type tasks where hadoop is indispensable. As a result any organization running a large hadoop cluster will already have underused compute capacity for free and a maintainance staff which already taking care of the cluster. Thus from an organizations perspective the time difference is not material especially for batch jobs, this is the reason why Presto and Spark have been so successful. They enabled underutilized hadoop clusters to be used for ML and data science while delivering reasonable performance for Zero cost.
If such a large proportion of the country is in the party, then... what's the problem? As I understand it, essentially any high performing college student can join the party, and then there's deal making and voting within the party. I wouldn't be surprised if there's different "factions" within the party, each fighting for control, or each who have a different vision for the future.

Isn't that just a different framing of the same basic setup in the U.S. where say 1/3 of the population is in the mid/upper class and debate about and set policy and direction for the country? We call our factions "parties" but other than naming things at different levels I'm not really sure I see much of a difference.
I am not worried about the poverty, I am more worried about the whole estate boom and it is on the edge of collapsing. Actually, there are ghost cities in China...those who got rich because they sold lands. They weren't rich because of their skills. This is a big problem to create a more balanced social classes based on income. A healthy economy cannot rely on just one or two specializationa (this is so evidence in Hong Kong, where nearly the captials were built on banking, investment and real estate; there is very little room for anything else to emerge). China has the same problem: major cities is populated with the professionals. In America at least every state has something to offer...
A LITTLE FUN FOR THE BOYS
In terms of consumer preferences, the US and Chinese auto markets are actually pretty similar right now. Chinese buyers seem to want most of the same things as US buyers. Of course they're not exactly the same but more alike than Japan, Europe, Africa, or South America. Australia is also fairly similar to China and the US.

It's hard to predict the impact of potential trade restrictions and electrification requirements. The big multinational auto makers are pushing hard to harmonize rules around the globe, but populists and nationalists are pushing back.
> I disagree with censorship of this kind; However, I wonder how the US would like it if the shoe was on the other foot?

Here's a list of websites blocked in China: https://en.wikipedia.org/wiki/Websites_blocked_in_mainland_C...

They block Wikipedia. Hardly a mass-surveillance system. The Chinese government is neanderthal.
> The $100,000 may well have been a small fraction of what was actually spent, but until we have proof the outrage needs to be kept down

The outrage isn't about the amount spent, so why should it be kept down absent evidence of greater amount spent.

> We're in real danger of revisiting yellow journalism and creating an even more polarizing political situation.

I see no evidence of the former (at least not on this subject, though I think there are structural reasons to think that that's unlikely to be a useful reference point more generally), and don't see avoiding polarization at all costs as a goal.
Canada Pushes Back Against U.S. Copyright Demands in NAFTA
Every service should make such an acknowledgement.
This almost doubles rail capacity.

There is an easier way to do that (run a single train of double the length, if needed with two locomotives) but it introduces larger latency.
Warnings are ignored because people don't use -Werror and then fine tune which warnings warnings they want and don't want to see.
The argument is more along the lines that China gets it slower due to a combination of tech not being released and research and communication with foreign users being more difficult due to web censorship.

As one example, outside of tech areas that lacked strong traditional incumbents (fintech, e-commerce) or where strong cultural/linguistic context is needed (Chinese NLP), what areas are there where Chinese products enabled through blocking foreign ones are superior?

(e.g. I'd argue that Google's products for photos, email, maps/navigation, video conferencing, and translation -- all blocked in China -- exceed that of any competitor, Chinese or otherwise)
I agree jQuery isn't really needed but at the same time it's simpler for people who may not understand JavaScript fully of willing to look at boring web API docs to replicate some of the functionality.
The Untold Story of Kim Jong-Nam’s Assassination
Bjarne himself has written/spoke about that era quite a lot, I can't direct you into anything specific but he usually weaves a lot of tidbits from the past into his talks.
Yes, I can definitely tell you're interested in having a serious and thoughtful discussion about these issues, and can see that it would really be worth my time to engage with your nuanced opinions on the matter.
"Rising Sun" was made into a movie.[1] It has some of the early MIT Leg Lab robots in it.

[1] https://en.wikipedia.org/wiki/Rising_Sun_(film)
Thanks for enumerating. Having used Macs since System 5, I'm definitely more accustomed to ⌘O for Open across applications, including the Finder, but I can understand how muscle memory can be hard to rewire. And while I'm sympathetic to the frustrations of learning the idiosyncrasies of a new system, I'm sure you recognize memorizing (new) shortcuts for applications independent of platform is something is par for the course.

If these are true sticking points for you, I'd suggest taking a look at the Finder alternatives again. I wouldn't be surprised if the Show in Finder feature isn't overridden in these environments. I can't imagine that the points you've listed are likely to be changed in Finder: they're behaviors that have existed across many, many versions.
I would, but unfortunately I’ve not read a greater proportion of the ones in this round :)
There's this common claim that spiking networks are somehow more power efficient. Yet I have never seen any evidence to support it, or even any decent explanation why would it ever be the case.
Announcing tools for the AI-driven digital transformation
They can still watch youtube videos about molecular biology all they want. The numbers don't really matter in that regard. And why would Google care if whatsapp is banned? Facebook didn't care that google search was banned.

Banning Facebook would actually give a boost to their productivity, not much to lose there.
But for some reason comments complaining about paywalls never get down-voted to grey.
Privacy Coins – What are they, how do they work, and why are they needed?
As I said, not a rule just a trend.
Different cultures have different relationships to authority. Han culture is very different from the west.

https://en.wikipedia.org/wiki/Power_distance
It's kind of funny that people worry about users on Safari, and [here] you suggest "ignore 18% of the world's total population".
Whatapp employed 55 employees when it was sold for 19 billion.

Banning whatsapp to get local competitor which employs local talent, is actually better for China from poverty point of view, isn't it?
Oh look, more anonymous and unnamed sources, what a surprise. Yes, 100k in ad buys somehow did more damage than literally every single news/media organization that were pro-Clinton. Give me a fucking break
&#8203;ATO resolves 'intermittent issues' affecting its online services, again
Macquarie Government claims protected-level cloud accreditation from ASD
[100% Off] Course Marketing Strategies: Build a Business Teaching – All Coupons
Don't forget New Hampshire! We have no income tax, no sales tax, and a significant population of software developers.

https://www.bls.gov/oes/current/oes151132.htm#st
From the Brookings article:

> Even if only a few of these assumptions about Amazon’s interests were correct, they would limit Amazon to only one to three places. Amazon already knows that, and given what we know about the company and the site selection industry, it most likely has a favorite.

I think I can guess what they are thinking, but it would be nice if they just named those 3 likeliest metro areas.
> But my answer is: No, I will not deface the mailx source code in order to make life easier for customers of a vendor of non-Unix systems who chose to clutter his directory name space with useless entries. I will especially not do so as this vendor has threatened free software on several occasions.

> The Heirloom Project is oriented at the Unix tradition, and it is free. If you want to use mailx, there is the technically and morally sane option of using a free Unix implementation. You are on your own if you choose against it.

This guy sounds like a real pain in the ass.
I see, quite interesting.
eBay is not known for their attention to security.

https://www.nytimes.com/2014/05/22/technology/ebay-reports-a...

https://www.cnet.com/news/ebay-hacked-requests-all-users-cha...

https://www.consumeraffairs.com/news/ebay-hacked-again-bbc-r...

That said, I wonder whether that particular exposure is limited to eBay Germany or is paralleled worldwide.
21st century version of https://en.wikipedia.org/wiki/Salami_slicing

Can't wait for this to show up as a plot device for Mr. Robot or something.
> At what point do people just accept the fact that Trump won a democratic election,

Even if everything was above board, at best Trump won exactly because of anti-democratic features of the US Presidential election system. So, in no case did Trump “win a democratic election”.
> The next thing to look at would be the change in IT jobs.

We are already deep in the current cycle of disruption by software. "IT" (if you include programming, security, data centers, support staff etc) is fairly large and more diverse than advertising and/or "newspaper".

I don't think it works like a waterfall / Gantt chart; it happens in parallel and we are currently seeing lots of white collar office jobs changing. (HR|Finance|Recruiting|Legal Council|Retail) are all getting optimized to the point that their ranks are thinning quickly. My first job was moving physical file-folders between a storeroom and an office -- that job is now obsolete as those files have largely been digitized.
I won't pretend to intimately understand the Chinese sociopolitical atmosphere, but it's clear to me that China wants to establish some form of international hegemony. This isn't an initiative focused on improving the country itself either through parity or bleeding edge advancement, which is the tone in many European countries and societies that have no aspirations to significantly influence world politics. For example, Czechoslovakia doesn't want to dominate the world culturally, economically, or politically. They mostly stick to making their country and people happy and prosperous.

China sees its 1.4 billion person population, and wants to extend itself across the world with a similar magnitude to the British Empire of old, or the American world order of the past 70 years. The translation of this Chinese publication is full of buzzwords and phrases that read like a McKinsey white paper, but with a distinctly Marxist bent (the Chinese are REALLY fond of their pithy phrases, they have many more phrase "memes" with significant time spans).

This is the difference between China and the late Soviet Union. China understands that the way to global power isn't a particular ideology - it's all about being big, big, big. Some choice quotes stand out to me: "Online positive publicity must become bigger and stronger, so that the Party's ideas always become the strongest voice in cyberspace."

"The online and offline worlds must form concentric circles, and, under the leadership of the Party, mobilize the people of all nationalities, mobilize all aspects of enthusiasm, to jointly realize the great rejuvenation of the Chinese nation and the struggle for the China Dream."

The Chinese Dream in particular is something everyone who is interested in Chinese society should understand. It sounds like the American Dream, but it's markedly different. Global hegemony is an explicit goal. The Century of Humiliation is thought of as something that should be left in the past, yet is still repeatedly brought up whenever Western powers are perceived to have done something violating Chinese rights. China deserves to be great, from both hard work and its numbers.

Whether or not this works, time will tell. The internet as a practical invention is American. The production of silicon based computers, the microcodes they interpret, the languages that compile down to microcode, its all English. Global trade language is English. International politics is in English. To become a superpower in cyberspace implies that on some level, the default conversation and framework should be set by China in Chinese. They've got a long way to go.
Or, there could be some genuine redistribution so the mobs wouldn't have to be suppressed by the hording, greedy bourgeoisie.
Haha, I appreciate the response, I'm glad that upon doing your own investigation you found that my wording was reasonable.

As far as legality goes, it's difficulty to say. I think that a project like this is likely paying lawyers good money to make sure they stay 'in the green', but lawyers can only do so much to protect you when you do the things that they're doing. We all know that projects like Paragon and many others are the reasons why regulations will come even harder in these areas.

As for to what extent the law needs to protect investors from making terrible investments, I'm not sure, the game changes a lot when companies start completely lying to their investors, and that does seem to me (as a non-lawyer) like one of the many good places where lines can be drawn.
why not.. when they already have this : https://twitter.com/0XDEDBEEF/status/912026226658652160
Race Conditions in OAuth 2 API Implementations
The best they do is manufacture.

The kids growing now in West have lost ability to tinker.

If you are into electronics and manufacturing, China is like playground to experiment. In the west, we are losing rights to fix the gadgets we own.
Yes they do. My Windows 10 upgrade, which was from Microsoft, came with Candy Crush [1] and some third party PDF annotation app. They also added ads in their OS [2] to try and upsell you.

[1]https://www.theverge.com/2015/5/14/8606925/candy-crush-saga-...

[2]https://www.theverge.com/2017/3/17/14956540/microsoft-window...
And you can stop using React, then sue. Even if they also stop using your patent, they were in violation when they used it. They can't retroactively put you in violation with their revocation.

Moreover, nothing is preventing you from informing them of your patent and asking that they stop using it. If they continue to, it's clearly willful infringement.
Because it's not under control, which against Chinese government's philosophy.
I don't think that burying jQuery is the best idea, too. It is a very well-designed library. What we really need is a library of functions to make the native APIs less awful and verbose - which exists: Zepto.js.

Ultimately mutating the DOM directly is just an awful job - it's solving problems that are ancillary to the problem that you are trying to solve (making great UIs). React and Vue feel like sensible abstractions, although there's still a far better but undiscovered solution to this problem.
You may well be right, but what law would it violate?
"these top-gun developers are so expert in their language, they tend to write code that looks like ancient runes and forbidden arcanes. You can’t figure what it does just by reading it, but it works, just like a magic incantation"

https://incise.co/what-wrong-with-c/
> the outrage needs to be kept down

No. If a foreign power attempted to influence one of my country's elections for its own gain, I am outraged. The amount of effort or money spent is quite immaterial to me.
How to measure developer's productivity
> assuming that the function that calls you will obey the language semantics

That's not what I said.

What the compiler is doing in this NeverCalled example is observing:
- that the code in the current compilation unit is not "well-formed", but
- that the compilation unit can be "rescued" by some other module that could be linked in, if that other module did something specific,
and therefore concluding that it should imagine that this other module exists and does this exact thing, despite the fact that such module is in fact entirely a hallucination.

This is very different from simply assuming that a thing that in fact exists really does implement its stated interface.

Here's a different example:

#include <stdio.h>

typedef int (*Function)();

static Function Do;

static int Boom() {
return printf("<boom>\n");
}

void NeverCalled() {
Do = Boom;
}

void MightDoSomething();

int main() {
printf("Do = %p\n", Do);
MightDoSomething();
return Do();
printf("after Do\n");
}

In this case, it is possible that MightDoSomething could call NeverCalled, and that's one way this module could rescued from not being "well-formed". Should the compiler assume that MightDoSomething calls NeverCalled at some point then? No, that's absurd. There's nothing about the "void()" function interface that obliges such a function to clean up after you if write code that dereferences a null pointer or divides by zero.

We trust that a random void() function won't smash the stack and overwrite local variables, because that's a reasonable interface for a function to have. That's composable. That's different from expecting it to do "whatever it takes" to fix local undefined behaviour.
From a search and social standpoint, when I was in China, only Bing and Wechat worked.

Instagram, etc. wouldn't refresh.
Apple cannot guarantee I will not include any of that in my firmware.

They also should not be that surprised to find photos in my firmware, as they have shipped photos in their firmware in the past (https://www.nycresistor.com/2012/08/21/ghosts-in-the-rom/)
Targeting ads to play on deep seated racial issues using the fruits of an unprecedented data mining operation, combined with targeting to swing states can have a very high ROI considering the rust belt and some midwest states were going to be razor close regardless.
Any effective government will rightly 'isolate' itself from this kind of pollution -
http://www.slate.com/articles/news_and_politics/interrogatio...
There will be a bottleneck. It took hundreds of years of sea ban for Ming China to fall behind in the Age of Sail; it might take a few decades for a closed society to euthanize itself in a digital age built on free exchange and open discourse.
I would have tried it, but it wanted me to create an account. For an Asteroids game tech demo. Why not just ask for a name?
What's your point? High standards are... racist? Classist?
Ask HN: How to handle equity for small project with lots of cofounders?
I'm a college student working with 5 other people on an app, 3 of us on iOS, 2 of us on Android, and 1 person on a web portal (so 6 people total). We are trying to figure out how to distribute equity and how the company should be structured.

Currently, we are thinking about doing something where every 40 hours of work is considered 1 "share" of the company, with all work being valued equally. We will first spend money on the company as needed, and then each person will receive any profits in proportion to the number of shares they have. This way, if any of us decide to leave we won't feel cheated out of all the hard work we have put in.

So if I have 3 shares, and there are 10 shares in total, with 1000$ in profit, I will get 300$.

I have some problems with this main structure as it can be hard to figure out who is going to be making decisions in terms of how to spend the company's money, and how final say on direction/vision is decided, as we have no person who is a clear CEO or executive.

So far I have just been making most of the calls as I sourced our first client and it was my idea, but I'm not sure if that is the best way to handle things.

I'm looking for any advice on how to set up equity and how to decide who is making the larger decisions for the company. Thanks!
I ran into it while trying to clone the source for Minix, just to poke around and read the code. (I think it was COM and not AUX but same principle)
It doesn't even make sense to hold this position. Aux.c isn't even a usefully descriptive name for a file you'd find in a mua.
>This started as "Russia hacked the election" and now we are talking about

I guess you missed the news about their attempted and successful intrusions into state election databases?
Apple also has an ad network on mobile. And they provide users with some opt-out functionality.

I won't be surprised if this gets challenged for anti-trust.