skysight-inc/HackerNews huggingface dataset:
I think you're speaking from the perspective of someone very casually comfortable with symbol manipulation. This does not describe the average middle school student. When I said "unintuitive", I was speaking from the perspective of an average middle school student, for whom this is all either at the edge of the ability, or, often, a bit past it, and for a non-trivial number of them, way past it.

In high school, I was a tutor for a non-accelerated, non-honors class that was about at this level in high school. After years of being in the accelerated course, it was a bit of an eye-opening experience. There's a lot of people who are just passed through this stuff with a C-, and I'm not even sure that's wrong, because there's a lot of people who just aren't ever going to get to the point where they can fluidly derive any of these equations. What you, and probably a great deal of the HN commetariat experience as "average" is actually way above average.

(And the students I was tutoring for, in the parlance of the day, would still mostly be considered "privileged". I would still not be calibrated for the mathematical skill of the truly disadvantaged.)
Hello HN. I am a Graphic designer/Wordpress designer exploring an idea. I didn't put an SSL cert on the store but I'm curious if you think the idea is worth pursuing.
According to the article, the attacks are currently ineffective for a number of reasons, one being their js code is bugged. Imagine Gavrillo Princip's gun was prone to jamming consistently.
> conduct a massive DDoS attack

That's not an accurate summary of what they're doing.

They're intermittently serving poisoned js in place of known analytics scripts.

Which changes the potential "who" a bit.
What's the horizon for WebAssembly capable browsers gaining enough marketshare that it becomes a viable compilation target?
It does have global menu. Figuring out what things are called in the new language of plasma and plasmoids takes some reading to figure, but that particular part of the UI is fine on KDE once you configure it to your liking.
No Human Can Beat AlphaGo, So What?
Exactly. WW2 didn't start because Hitler tried to exterminate the jews; it started because he invaded other countries. China could put a hundred million people to the sword and nobody would care as long as it stayed inside its own borders.
Have you tried Firefox's dev tools in Firefox 71? As far as I can tell they're way better than Chrome's.
This has finally allowed me to switch. I’ve been trying to since quantum came out two years ago, but this was always a deal breaker.

Firefox is generally still a little buggier and less performance in my experience, but not so much that I want to switch back. Hopefully they can stay relevant.
Also, aside from the two HNers who claim they actually do, nobody is turning off their adblocker as they go to see if a given site has acceptable ads.
So, maybe firewall off China for a couple of days? Sure, it would hurt on both sides but at least it would be clear that abuse at this scale leads to being blackholed.
One of my favorite things to break the ice with a younger gamer and the Quadratic Formula.

https://www.youtube.com/watch?v=ewAHYVzMobw

Super Mario Quadratics.
Didn't Apple do some CPU that runs JavaScript in a more optimized fashion? It wouldn't surprise me, which is odd cause for years I heard that was the plan for Java, but regular processors got faster and faster and the VM stayed.
Sure, but given enough effort perhaps we can figure out what the important details are that make the difference between 'dead' and 'mostly dead'?
I recently moved into a co-living space in Madrid and really enjoying it - I can see it becoming much more popular in the future. The social aspect for someone like me who moved to a new city is huge.

Living in a bunk is a different story - I've stayed in my fair share of hostels and honestly the worst part about a shared room is the snorers (even with ear plugs etc.)
And speaking of WordPress analytics: There is now a new official WordPress plugin that contains a whole Matomo instance, so you don't need to set it up seperatly.

https://matomo.org/blog/2019/10/matomo-analytics-for-wordpre...
Subterranean Challenges in War and Peace Conference, December 15-17, 2019
"Across the Great Wall we can reach every corner in the world."
Presumably, the people who work on the AMP spec are different from the people who work on Google search (or for that matter, Bing search, Yandex search, or any other search engine that consumes AMP). I doubt he has any control over how search results are ranked or presented.
> I prefer it that way, webdevs should fix it, we should fix the JPEG standard instead

Wow. Just wow. I have rarely seen so much ignorance. And this exactly why Chrome is cancer for the whole internet. I mean, seriously, why should the web developers fix something that is standardized just to make it work in Chrome? And fixing the JPEG standard...?
Parent is suggesting to post a gif of Steve Ballmer of Microsoft screaming "Developers, developers, developers" because MS owns GitHub now, and that was a widely derided moment in Microsoft's history.
JetBrains? It is the sample of the anecdotes of their user base.

Just like my anecdotes are the sample of our DAX and Fortune 500 customers.

Linux adoption? Yes it is wiping Windows on the server, that is why I always worked for Java/.NET shops since 2006, switching stacks as per customer project requirements, in some projects even both get equally used.

Somehow your replies always feel being about fear of using outdated tech, always having to jump into new toys to keep being employable.

Never felt the need to worry about that, as long as we have happy customers, opportunities abound, regardless of what is the latest tech stack fashion.
It puzzles economists and certainly me that people often behave as if the value of their time is zero. This turns up in mysteries such as why people commute so far, why grandmothers make scarfs out of acrylic instead of wool yarn, etc.

A "couple days of work" could be 3 to 5, U.S. minimum wage is $7.25 an hour, and if you work 8 hours a day that is $174 to $290.

A real wage for a developer in the U.S. is probably 10x that. A company I worked for charged $2000-$3000 for a simple interactive web site, probably more like $20,000 for a serious application with a fair number of screens.

I rarely do "free trials" of products, particularly when I am working for somebody else. Giving a product a fair evaluation could be week or more of work, which won't pay off unless I buy the product. If I am working for someone else I have to not only convince myself but may also need to convince my boss, convince my boss's boss, ...

Similiarly I see all kinds of hand-wringing from people who are afraid that they are going to exceed the free tier on AWS and get a bill for $2.

I am a big fan of low code, I think the world still needs a web-based version of the old Microsoft Access. Why that doesn't exist is beyond me, but I will say (1) Firebase isn't it, and (2) whenever somebody does make one they seem to quickly get bought and shut down.
Exactly what I'm thinking. Not everything is awful but the insistence of turning the browser into a vm and loading random javascript is pure insane. I'm not advocating for stoneage html and frames but let's take a step back and realize that not every website has to be an interactive webpage some designer dreamed up. I want information, not entertainment or an experience. The experience is what I take away from the information, not the clown paint smeared all over it for show.
Well my view is that both capitalism and communism have these problems, but that other alternate systems (which are neither capitalism or communism) could have better solutions.

Specifically:

- Pure capitalist systems all but rule out strong market regulation. It's not technically incompatible with a market-based system, but in practice people tend to start shouting "but that's not capitalism" as soon as you start proposing regulation as an expected norm as opposed to an unusual exception

- Communist systems all but rule out market-based solutions, which is just dysfunctional as it centralises power too much, and makes it difficult to efficiently distribute resources

I think it's unhelpful (bordering on obtuse) to assume that people criticising capitalism in 2019 are advocating for communism. Very few people would advocate for communism. What people are calling for is:

- A recognition that market failures are not an exception: they are common. And strong regulation is needed to counteract that.

- Large wealth equalities distort markets, and that we need limits on the amount of wealth individuals can control.
Yes, because Adblock Plus did it in the shadiest possible way imaginable. From the Wikipedia page:

> * In February 2013, an anonymous source accused Adblock Plus developer Wladimir Palant of offering to add his site's advertisements to the whitelist in return for one-third of the advertisement revenue.[68] In June 2013, blogger Sascha Pallenberg accused the developers of Adblock Plus of maintaining business connections to "strategic partners in the advertising industry", and called ABP a "mafia-like advertising network".[69] He alleged that Adblock Plus whitelisted all ads coming from "friendly" sites and subsidiaries, and promoted their product using fake reviews and pornography.[70] Faida responded to Pallenberg's accusations, stating that "a large part of the information concerning the collaboration with our partners is correct", but that the company did not see these industry connections as a conflict of interest.*

"We'll whitelist acceptable ads. Btw, acceptable means 'willing to pay us a kickback'".

The move on Adblock Plus did nothing to make me safer, so of course I ditched them for a more secure solution. Of course, it's Adblock Plus's goal and right to try to make a revenue, but I don't owe them the continued use of their product.

And I absolutely reject the premise that I owe every website that's willing to send a 200 OK response the right to run arbitrary javascript in my browser. If you don't want me 'mooching' your content, fine - put up a paywall.
I think it's useful to think of this as refactoring code to make it more readable (and therefore more teachable).

If you're a memorizer, your code might as well be obfuscated code:

def quadratic_formula(a, b, c):
return [
(-b - math.sqrt(b ** 2 - 4 * a * c)) / (2 * a),
(-b + math.sqrt(b ** 2 - 4 * a * c)) / (2 * a)
]

If you understand the importance of the expression under the square root (i.e. the sign of the discriminant) you can rename one subexpression:

def quadratic_formula(a, b, c):
discriminant = b ** 2 - 4 * a * c
return [
(-b - math.sqrt(discriminant)) / (2 * a),
(-b + math.sqrt(discriminant)) / (2 * a)
]

Of course you can refactor it further with pointless stuff like denom = 2a, but that doesn't add much semantic value. So the above is more or less the vocabulary we have about quadratic equations today.

Loh's contribution is a specific way of refactoring the code by first dividing by a:

def quadratic_formula(a, b, c):
b = b / a
c = c / a
discriminant = b ** 2 - 4 * c
return [
-b / 2 - math.sqrt(discriminant) / 2,
-b / 2 + math.sqrt(discriminant) / 2
]

Which then unlocks the ability to talk about the subexpressions in relation to the roots (a la Vieta's formula):

def quadratic_formula(a, b, c):
b = b / a
c = c / a
sumOfRoots = -b
productOfRoots = c
averageRoot = sumOfRoots / 2

# Want roots [averageRoot - delta, averageRoot + delta]
# such that:
# productOfRoots == (averageRoot - delta) * (averageRoot + delta)
# == averageRoot ** 2 - delta ** 2
delta = math.sqrt(averageRoot ** 2 - productOfRoots)

return [
averageRoot - delta,
averageRoot + delta
]

Your code is no longer using single-letter variable names!
Looks like it probably already is a viable target for many apps (at 88%+ share): https://caniuse.com/#search=wasm
Um... College dorms are pretty common and that's coliving with (usually) a complete stranger.
New mainstream languages like TypeScript, Rust, Kotlin, etc. People just opened the Pandora box of advanced types like discriminated union and intersection types.

There's no turning back. People will soon find they need more and more type operators, generics, and all kinds of type-level things. Each concrete operator or construct solves several specific type problems, and then introduces new ones. Until people realize dependent type is a thing.
Unless you have to support internet explorer for any reason, that would be today:

https://caniuse.com/#feat=wasm
That claims about Youtube. Especially "YouTube has contributed to a growth of the flat earth conspiracies at the expense of scientific fact."

Do you understand how algorithm or statistics works?

They are giving people what they want. Freedom. People is watching that videos and made them more popular. They are free to share their thoughts.

Even google can't predict all the negativeness and prevent them with computer systems. Expecting being a god from google is unfair.

I think this is hate for google more than arguments against google.

I dislike chrome and using Firefox for a long time. But i don't think this is objective and completely true.
Unfortunately, at least when I last tried during Loki, it's also extremely limited. I couldn't even install Firefox. Software in general seems to be limited solely to their bespoke storefront, which I'm not opposed to on principle, but (at the time anyway) it was pretty limited.
There are properly dumb ways to 'live life to fullest' - driving too fast, especially on bikes. Destructive addictive drugs and doing stupid stuff on those (psychedelics are mostly not those). And probably thousands more.

On the other side, there are those who make you feel amazing every time you do it, and the real risks are minimal. One example - sport climbing. Facing fear of one's death, while being safely belayed on rope that can hold 2 tonnes of static load. Overcoming that fear. Backpacking around the developing (but not so much) world, an extremely rewarding experience every single time. I would add tons of social activities with good friends to this.

Such a life won't feel 'wasted' in any measurable way, while being almost as safe as sitting at home reading books (and probably better for your eyesight).
#1 Growth Hack for SaaS
Decentralisation fans take note: despite wanting to remain independent, the only effective solution was in this case to re-insert a giant global intermediary (Cloudflare) and block all the anonymous unaccountable Tor users.

If a decentralised system is to stay decentralised, it needs to consider spammy bad actors.
This is Linux but I don't think that would be true even on Windows.
https://caniuse.com/#feat=wasm

Pretty much all relevant browsers support wasm (and I suspect data for the few non-compliant Chinese browsers may be outdated, they’re definitely not last released in 2016 or 2017). Do you have some other idea of wasm-capable?
Sorry, this is indeed what I meant to say. Will update the text!
The problem with such regulations is they tend to be written by the same kinds of people - those who still assume that having meaningful SQL characters in a password is insecure, or that every device on the Internet will have a static IP.
No op, but for me I use Chrome's "Replay XHR" constantly. Literally 100s of times/day. So I appreciate that it's simple as right-click->open menu->left-click "Replay XHR". AND that it takes me right back to where I was before: namely either the "Response" "tab" (not sure what to call that menu tab/option) or "Preview" "tab". AND that the "Preview" "tab" automatically detects and renders the JSON returned from my server.

FF requires several clicks to re-run XHR. And doesn't return me to where I was before. And doesn't render my JSON.

Thanks for listening.
Youth tobacco use highest in 19 years
Because, as you have repeatedly shown you already know, AMP pages are a constrained HTML that supports safe prerendering. Why ask a question you already know the answer to?
Six futuristic body hacks that exist
>>> I wonder if they're more careful in fulfillment in Europe or if they hope that the same argument (we're only a platform, guvnor) will be acceptable to European courts.

There are more regulations and norms. However given the amount of fraud over Amazon, think of the CE sign for example, I'd thought the regulators would have prosecuted and fined them to hell already. I can't explain the inaction on that part.

There are theoretically fines for carrying counterfeit but hardly anybody care about that. Just don't try to cross the Andorra to French border with a trunk full of clothes and handbags.

Where the US and EU differ, the EU leave official agencies take care of it and distribute fines, it's slow and easily half a decade after the fact, whereas the US leave anybody to sue the perpetrator for punitive damages or a class action. Strangely, neither have happened so far.
> the poorest person was entitled to live his life as he saw fit on his land, and should be regarded as equal to a rich plantation owner with employees and slaves

I think this describes neither medieval Europe nor the antebellum US South. Certainly in Europe, a king needed no 'bureaucracy' to take anything he wanted from anyone at any time. Lords could largely do the same with impunity, since they had the power to do so and were largely immune from prosecution due to the heavily politicized courts prior to the rise of heavy industry in 1700, after which non-lord authorities like commercial barons arose, and demanded better legal representation.

IMHO, the US south never really lost that same feudal sensibility, that titled folk deserve greater power / immunity than commoners and the demi-people below that. Before modern telecommunications which enabled enforcement of federal law, that mindset allowed ad hoc laws like Jim Crow to displace formal legal codes in the courts and enabled the segregationist inequality that persisted until the 1960's. I believe that even today that value system lives on in hearts and minds, even if the courts are shaped by it much less.
Really this is a roundabout way of harnessing the power of the Sun. In this case the energy used to liberate water vapor from the ocean.

When you think about it this way, all of our energy sources are just repackaged solar except for nuclear.
Artists are provoking Nintendo and Disney to sue Twitter bots that steal artwork
User is founder of "Managed outreach platform for digital agencies". Sorry, this sounds like an attempt to find customers for themselves.
Unpopular opinion: Trying to look at it from a constraint problem.

1) telling people not to use their phones. I think this is a losing fight. Why do people use their phones? Because waiting for red lights is boring. We have a 3 minute red light (1 min per direction) in one of our junctions. Almost every driver is distracted at end of 3 mins and somewhat on their phone.

I don’t think phones are going away anytime soon.

On the other hands I’d like cars to get a bit smarter. I’ve really been enjoying my comma Eon. It does a great job of following lanes allowing me to use my brain cycles for higher order environmental awareness about other cars. I feel a bit less guilty changing to another Spotify track on my phone.

But it’s also a phone problem too. The touch interface is horrible. There is no tactile feedback. Siri voice commands are really dumb as hell.

The phone could be mounted on the dash and the mobile is needs to guarantee every app can be used via voice with almost as much efficiency and accuracy as touching it.

Basically what I’m saying is. Let’s fight the problem at a deeper layer.
Flexplorer: CSS Flexbox explorer (open source)
They may be depressing and frustrating, but I think they are necessary. They answer a "what-if" that most people learning Lisp will ask themselves at some point.

Eg: I was never into the Lisp usage of parents until I saw some of the alternatives (I still prefer M-expressions though, but that's just personal taste).
> If researchers can scale up the postage stamp–size membrane in an affordable fashion

That's a huge "if." This type of development happens all the time and usually that "if" never comes true.
Strike Commander: Interview with Frank Savage
I think we need a solution for websites that aren't as unanimously popular as Netflix and Hulu. It's no surprise to me that the biggest entertainment services online can attract a subscription. But it would be a damn shame if those are the only services that can make much money. Just more and more centralization of content.

People often respond to this with "well, hobbyists make plenty of content for free," but the thing is that we benefit when our favorite hobbyists can make money from the craft and produce more work for us to enjoy instead of waiting around for their charity.

Though the growth of Patreon is a good step in the right direction, culturally. It shows a growing willingness to indeed pay content producers directly with small recurring transactions.
Jesus Christ. That blog post is horrifying
Sure, without issues. All (standard and custom) post types are supported!
What exactly is the rest of the world getting from allowing China access to the Internet?
OSM-based apps are better for cycling and walking directions than Google. Citymapper is great for urban public transport. Google Maps has a compelling advantage in car directions, but not so much in other ways of getting round.
Careful; this is things like FIPS, and it's likely to include things you don't like such as "ban the use of password managers and take technical measures to prevent pasting in passwords".
I can’t believe I played so much video pinball without knowing that trick!
We all know who the attacker is here, but it's not literally "proven" to the standard of evidence that would be required in a US court. The attacker still has plausible deniability.
I see the same pattern with early php/python where it was all about ease and RAD and now 80s sweng/plt ideas are coming back. Social tissue has a resitance.
Traffic/content blocking is better left to a third-party. Brave supports extensions but will be just as broken as Chrome when Chromium gets crippled. If site owners and ad networks want to make deals with each other, leave me an my machine out of it, like the rest of the advertising world does.
Baidu will serve the script over HTTPS (though firefox complained about a bad certificate), the issue is that it will also serve it over HTTP, and some 3rd party pages request the HTTP version.
Remember that all internet related companies that operate in China have mandatory stewardship from the CCP.

One reason may be that http makes it easier for surveillance or injection.
The lack of demarcations that correlate at all with major economic area distinctions is a red flag to me that this map is questionable.

There's definitely a big cultural distinction between the Boston/DC corridor part of the east coast states and everything else in those states. DC has more in common with Boston than DC has in common with other parts (e.g. Indiana) of the "midlands" panhandle the map has it occupying. The fact that there's a line smack through the DC metro itself is kind of a wtf. There should probably be "left coast" dots for the counties that Denver, CO and Austin, TX are in. Maine North of Portland has more in common with Quebec and western Pennsylvania than it does with anything in Southern New England. If those are my gripes based on my personal experience then I would wager the areas with which I have no experience are similarly inaccurate.

Edit: Just confirmed with people from Michigan, Indiana and west Virginia. They all had some pretty raised eyebrows at this map.

Edit2: Asked some Mainers, one called the map "bold".
OpenStreetMap data is very weak in many countries. It’s not an option if you are building applications for a global audience.
I presume the parent commenter was referring to OSM-based apps rather than openstreetmap.org (NB singular, not plural).
pwn a couple ad servers and service the poisoned js. It doesn't seem something that a dedicated malicious hacker group couldn't do.