skysight-inc/HackerNews huggingface dataset:
> what is libcurl's URL parser implementing, what is its goal?

I get the impression the goal would be "parsing whatever users expect to be able to use as a URL in practice". He's written before about the difficulty of pinning down "the syntax of URLs":

https://daniel.haxx.se/blog/2016/05/11/my-url-isnt-your-url/
Facebook doing unethical things again. What a surprise.

If you think this is an accident, let me remind you that I’ve personally reported a lot of posts breaking their community guidelines and none of them were deleted.

I would bet good money the offending posts were also reported plenty of times but no action was taken because it’s easier for FB to just close their eyes and pretend the problem doesn’t exist.
> If you start to really dig into the underpinnings of the topic,

Let's cover the most important part of partial derivatives, the geometric intuition.

Imagine the Smoky Mountains of east Tennessee, that is, smooth, rolling hills. Now to represent this landscape in math, let R be the set of real numbers, R^2 pairs of real numbers, that is, the coordinates of points in the plane with orthogonal axes X and Y, and let f: R^2 --> R, that is, f is a function of two variables, say, x and y, that is, the pair (x,y) in R^2, and the value f(x,y) is the height of the mountains above point (x,y), that is, a plane under the mountains.

Then at a point (x, y) the partial derivative of f(x,y) with respect to x is just the slope as in ordinary derivative of the mountain at point (x,y) in the direction of changing x. So, if the X axis runs east and west, the partial derivative of f(x,y) with respect to x is the slope of the mountain at (x,y) in the east-west direction. So the partial derivative is just like the derivative of a function of one variable, that is, a slope, except is for just one variable, say, x, with the other variable(s) y held constant.

So, if

f(x,y) = 3xy + 2x - y

then the partial derivative of f(x,y) with respect to x is just

D_x f(x,y) = 3y + 2

and the partial derivative of f(x,y) with respect to y is

D_y f(x,y) = 3x - 1

These partial derivatives are important in vector analysis and, thus, Maxwell's equations, electro-magnetism, fluid flow, optimization, etc.
125 IQ Sufficient for Machine-Learning?
Is an IQ of 125 sufficient to be moderately successful in the Machine-Learning/Deep-Learning Field (please provide a realistic answer w/ basis, not an "IQ doesn't mean anything and you can do anything if you believe in yourself"-esque response)?
Depends on the orbit: the ISS is in an automatically decaying orbit, as are quite a lot of near-earth satellites. It's geostationary that we need to worry about crowding.
Gatsby is absolutely a pleasure to work with. Any react developers should check it out!
Because minds are plastic and can be trained and acculturated. And because all minds are worthwhile beings. To start ranking and rating them is no more productive than it is at company-review time. Its unproductive, caustic and demeaning. And generally tiny differences are blown up into rationalizations for vast discrimination schemes by people with an agenda.
I think I agree with you about the Intelligencer, at least to the extent that I don't think it matters what the Intelligencer does.

But I disagree with you that a real journal has a duty to maintain a bad-faith off-topic out-of-process submission. That's a disservice to the cite record.
Project looks great. Where is the market data for stocks sourced from and how often is it updated?

Really good work!
Nor would you, a few years back, see any demonstrators waving Tibetan flags and suchlike in Copenhagen during a Chinese state visit. Danish police saw to that, legal niceties be damned.
Do you have a write-up available about the circumstances that led to your bank issues? I'm very interested in that read.
In-store good vs. At-home good
Serious question: what's the value of using this over https://uriparser.github.io/ ?
let's have less competent make the decisions! what could go wrong?
I use Facebook pretty regularly, but have never installed the app on my phone or tablet because of all the horrible things I've heard about it.
What are you quoting? I can't find that anywhere in the paper. The closest I could find (first paragraph of section 4) agrees with the point you're making.

edit: Now I understand you're probably replying to a comment (https://news.ycombinator.com/item?id=17950490), and probably accidentally made your response a top-level comment.
Correctness of Speculative Optimizations with Dynamic Deoptimization [pdf]
Na is the chemical symbol for sodium. What's strange in the statement?
Ask HN: Inexpensive Google Maps Replacement?
Our Google Maps invoice went from $4.11/mo to over $1k/mo. What are some lower priced options you would recommend?
But gps trackers, paid by the defendant, will then become just another bail bond: rich people buying their way out of jail. Then all the evils are back (corporations wanting more people arrested etc). If we are going to rely on gps it needs to be free, or even state-owned.
more likely the JS that hides the content or the JSON containing the hide filter are loaded/run/processed after the content

Facebook could be processing this client side instead of serving the content already filtered so you could un-hide content almost instantly. Either that or ease of development.
Oh I've been around a long time too, and I've definitely had that experience in the past. Presentation logic was the really _big_ one years ago. Few devs seemed at all bothered if their views were extremely complex, contained heavily nested conditionals, poorly componentised, etc. Presentation wasn't seen as "serious" code, because real devs did backends. As a result, so much of our available tools, libraries, docs, blog posts, etc. were valued based on how quickly you can churn out something that matches some mockup at one point in time, and that's it. You'd never make any significant updates, only create new pages to replace it. In this world, a completely separate dev (or designer) would throw together the HTML/CSS and the ecma dev would link up some events to the buttons.

I've really seen it flip after React matured, and everyone started transpiling w/ bundlers. I don't have some `colors.scss` with a bunch of constants, and then redefine those same constants in my .js anywhere -- I have a .js file with my palette. I don't embed logic into the template with a bunch of `<div ng-if` stuff anymore, I can use the same `if` I use everywhere else. All my static analysis for unreachable code detection, style guides, etc. runs the same everywhere.

I'd argue that those "simpler js enhanced pages" aren't so much simpler, as they are merely more familiar. 1 consistent approach in one language, that is equally (or more) suited for declarative code, is simpler than 3 languages with 3 approaches. One module that says `export default css({ p: { fontSize: '16px' } });` then importing it into another file is simpler than some scss `.MyBigClassName { p { font-size: 16px; } }` then remembering that classname in your HTML. `h('p', { onClick }, 'Hello!')` (or `<p onClick={onClick}>Hello</p>` in jsx) isn't more complicated than `<p class="foobar">Hello</p>` and some js elsewhere that says `$('.foobar').click(` or whatever.

I've taken this approach with my very intern/jr heavy team, and they all take to it really fast. It tends to be the older devs who are more resistant, because it requires changing old habits.
According to the originating NASA/UAH paper[1], where they took a fiber-making machine into their microgravity-simulating plane, gravity causes tiny amounts of convection inside the molten fiber. That's why you can't just float the fiber on air or something. Their guess is that the convection creates tiny little circular currents in the glass that are really excellent at causing crystal nucleation.

The core problem is that ZBLAN glass needs to be cooled down very quickly to solidify in the amorphous state. Drawing a fiber demands that you do it quite slowly to get a quality, consistent fiber. Drawing is not a technology that is going to improve hugely any time soon- it's too fundamental. Instead you need the microgravity to give you a little extra time to draw the fiber to the required quality.

[1]: https://www.researchgate.net/publication/8087775_Effects_of_...
In addition to this, it's important to note a class of scientific experiments that cannot be done by satellites that the ISS has been at the forefront of: researching the prolonged effects of micro-gravity and space-flight on the human body. This will be very relevant if we intend to send people to Mars or back to the Moon.
That's a problem for me, too. I'm in a few bands and otherwise host events, and I'm involved in other performance scenes, so FB events are really important to me. They're the #1 reason I can't give it up completely.
TSMC doesn't have a 14nm process, it's "16nm" process is 20nm, and considerably inferior to intel's 14nm same goes for the 12nm which is a BEOL improvement of 16nm with no density improvements.

The only process that Intel might use if they outsource to TSMC is going to be the high performance 7nm node when it's out in full swing which is insanely expensive and not available just yet for mass production.

For non CPUs it doesn't really matter but I doubt PCH, network chipset and modems are even built on 14nm but there is no process that Intel can use to tap out CPUs on especially it's high core count ones while keeping the same frequencies it's used to even with 7nm.

TBH this sounds more like some BS than a valid rumor.
While there are some valid concerns about using algorithms I'm quite happy that they got rid of cash bail. Making presumed innocent people pay to get out of jail has never made any sense to me.

For serious crimes, the number of people who say "well I would run for it to try and most of the rest of my life in prison, but I won't because then I (or whoever put the money up for me) won't get my bail back" has to be tiny.

For non serious crimes the number of people motivated by bail and not by avoiding spending the rest of their life as a fugitive has to be tiny.
Which doesn't stop it from being interference. Having that kind of information on every candidate makes it difficult for someone to support any position the CIA dislikes.
I don't think that it's "memorization" that's the key: I think it's repetition. Learning anything, but especially mathematics, requires you to just sit down and solve problems over and over again. That is what builds the right connections in your mind, gives you a feel for the shape of the solution, and gives you good intuitions about problems.

Like: it's a pretty useless skill to have memorized what the anti-derivative of the cosecant function is. But if you solve enough integrals, and are familiar with the techniques, you can see the path to the solution of the problem, even without having memorized every single function and anti-derivative.
The Art of War by Sun Tzu (Abridged)
After a while, it all starts to sound like sports & business. Are you also a star on Youtube or Twitch? Or do you work in the industry?
Patently false and just a way to whitewash the crime. Here are lynching/mob attack examples from Indian cities:-

1. Gurgaon : https://www.thehindu.com/news/cities/Delhi/muslim-meat-selle...

2. Hyderabad: https://www.firstpost.com/india/mob-lynching-telangana-polic...

3. Jaipur: https://timesofindia.indiatimes.com/city/jaipur/25-year-old-...

4. Chennai: https://indianexpress.com/article/india/two-beaten-in-chenna...

5. Ahemdabad: https://www.news18.com/news/india/woman-beggar-lynched-on-su...
>"It is difficult to see how tariffs that hurt U.S. companies and U.S. consumers will advance the Government's objectives with respect to China's technology policies," Apple

Wow. Then they are not trying very hard. The tariffs put pressure on China’s supply chain. Too expensive in China, then manufacturing to Vietnam hurting the Chinese economy. Let’s remember nothing has worked with China before.

We talk about low consumer prices like this should dictate all of our policies but who cares about low prices on electronic goods if you don’t have jobs to pay for housing, education, and food.
That may be, but what matters is whether the above conversation is a reasonably accurate representation of what has actually transpired. Is what they say true or false, generally speaking?
Managing your Amazon Redshift performance: How Plaid uses Periscope Data
> They do this because everyone sees value in people moving from government to private industry.

Who is "everyone"? The risks this opens for biased decision making or straight-up corruption are well-known.
Thanks for the clarification.

What surprises me the most is that not only Firefox but also my Safari Browser passes all those tests when ITP is enabled.
We had a chat with the "profile team" at GitHub recently and they are doing a great job as we speak at improving the GitHub profiles :)
Maybe it's cloning all GitHub repos of a user to compute activity?
This is a minor point, but I found understanding the "discourse" behind a field super helpful. In abstract algebra my professor spent a lot of time why we study certain structures (groups, commutative rings, modules, fields) more than others. One time he was making this super frustrated remark that our book (Dummit&Foote) calls ring a non-unitary ring whereas in class he'll call ring as a ring with unity (i.e. a ring that has 1). He was frustrated because for him this was not an interesting distinction and "to have interesting results you need to introduce a 1 anyway". I think this sort of emotional and human responses emphasizes what is important to understand in that field and what is not. Some people saw algebra as a laundry list of structures with axioms, whereas it's just another way of solving problems and structure is the approach, so finding useful structures for the problem in hand is more important than studying all those structures, as if memorizing the periodic table.
The Average Age of Every Country Until 2060
Perhaps, if you're using a lot of curl and want to make sure your program parses URLs the same way curl does.
GitHub's API does't provide the exhaustive list of all your contributions. Instead we crawl GitHub's website which is slow.

Details at https://github.com/AurelienLourot/github-contribs#how-does-i...

We are in talks with GitHub and they know that we are crawling GitHub.
That's enough to drive up the stock market by a lot (trillions of dollars of new money drive up market prices for stocks, and the value of exsiting investments, most of which are never sold to the 401ks by existing investers, goes up a lot).
Flite Test [1] has a ton of good articles and videos, from beginner to advanced level. This is a good place for getting started with the hobby.

At least a couple of years ago, Hobbyking [2] was the most popular webshop for buying all the parts. It's a Chinese company, and shipping is a decent proportion of the total price, so keep that in mind when looking at prices.

[1] https://www.flitetest.com/getting-started

[2] https://hobbyking.com/
It will be consistent with the logic used by the codebase that actually fetches the URL (curl), so it won't leave gaps between the expected behavior and actual behavior the way two disjoint implementations would.
This papers over the whole "relying on large cloud providers" issues in the first place. A decentralized system will ensure that websites won't need to rely on large, centralized powers beyond core infrastructure providers (which we have to fight to ensure are neutral parties, ala Net Neutrality) to avoid concentration of power to a select few.
Ask HN: What is the salary like for programmers in Canada in 2018?
I couldn't really find any up-to-date information on the internet. I'm a new grad that will be graduating soon, and I was wondering what the pay range is like in Canada.

I'm mostly interested in the Greater Toronto Area, but feel free to post your datapoints for other places as well!
Yes, so let China have it and let’s not manufacture anything. What could possibly go wrong.
Harry Truman would have been waiting for the punchline. He had no money, but he thought he shouldn’t denigrate the office of President by writing books or cashing in with a corporate gig. Medicare was partly passed to get him health insurance!

Yeah, it was a long time ago.
I can attest to the veracity of your claims. :-) [0]

[0] https://news.ycombinator.com/item?id=12264275
As a one-time dabbler in the local ISP business I found this fascinating but I also wanted to scream "Nooooo...stop" as I read! There are contractors who spend every day digging up streets, laying conduit. FFS use one of them to do the job rather than messing around looking for a Bobcat with the right Diamond saw attachment. Another thing I'd worry about is that there may be fiber in the ground or on poles already in this area -- currently not being used because there isn't a big enough market for service. In our town I am asked from time to time if the city should pay to "drop a fiber conduit in a trench they already dug for some other purpose, because this town has no fast Internet". I take them outside, point up at the fiber bundles running all around town on poles...
Crohn's is another inflammatory disease that has long been suspected by some researchers to be infectious. The company RedHill Biopharma just showed that a combination of generic antibiotics could be as effective as Humira, the highest gross-selling drug in the world, at treating the condition.

https://www.redhillbio.com/RedHill/Templates/showpage.asp?DB...

I keep seeing news about severe impacts of chronic infections that we aren't good at testing for, and aren't good at treating. Gut microbes that cause cancer, only just recently deciding that HPV's cancer risk to men was significant, and chronic Lyme disease are some examples.

This article cites the historic example of peptic ulcers, which the medical community didn't believe were caused by an infection, until after Barry Marshall infected himself with H. pylori in 1984, developed disease, and treated himself for it with antibiotics. Marshall and his partner won a Nobel Prize for this work.
I hope they donate to Let's Encrypt.
How Much Does It Cost to Create an App Like Snapchat?
China's surveillance state is subsidizing AI dominance
China has been the biggest beneficiary of globalization.
Apple wins first original video Emmy for ‘Carpool Karaoke’
I was under the impression that zero-g is the accepted terminology for when you experience free fall (in orbit, in an elevator). Is that wrong?

Regardless of terminology, I tried to highlight the fact that floating in space is not due to the absence of gravity as many people assume. You're experiencing about 90% of the gravity at the planet's surface just that everything else around you is accelerating along with you.
Check out Signed Distance Fields (SDF) on Shadertoy.
What does serverless offer over just vanilla lambda functions?
It looks like that option is only available on old reddit. If I opt out of both beta tests and the redesign in the "Account settings" section of my user settings, I go back to old reddit by default.
> Here is why: AMP is much cheaper and simpler to set up, ...

This needs a reference.
I’m optimistic the new sysyem will be fairer to people who can’t afford bail —but I do think all should get GPS.

I’m curious if the system does find that poor people (or rich, but one or the other) behave such that the system’s results are unexpected, in practice, what will politicians do?
"The fact that inflation has stayed persistently low despite all of that and the recent fed rate hikes says that something else is afoot."

I think a possible explanation is that deflationary pressure is still extremely high and that a deflationary spiral remains a risk.
JQ is a symptom
This just in, a couple of guns and bullets just killed 16 people.
Robots?
A Girardian Framing of Elite Collegs
At all?
The supply curve is ~0 due to homeowner capture of laws, so the price elasticity is huge. Very basic stuff.
For animal trading, if you ban them off facebook, they go elsewhere and then you need to hunt them down again. Better to leave them up, figure out who they are, get as close as you can to the top, then arrest everyone in one big operation. Don't blame facebook right away, they may have been instructed to keep these groups around.

I think many policing operations work like this. I used to work for a security company and we had a building across the street from an illegal brothel. I asked my supervisor why the police didn't shut it down and he basically echo'd what I wrote above; that if they bust it, it moves somewhere else in the city. If the police need to talk to one of the girls or the madame for some intel on another case, they have to go hunting for it again.
I've been using it for a few months, and it's pretty great.
What is pinned would be the content that doesn't change. It may mean the site architecture would need to be changed to accommodate one of these decentralized models.
Yes, for example the Dhall (non-Turing complete) programming language does this: https://github.com/dhall-lang/dhall-lang
I know it isn't Facebook's fault when things like this pop up (though they notoriously don't respond or react quickly/at all), but it's unfair that they ultimately don't face any consequences. If it were a small local site they'd likely be forced out of existence in short order.

Countries can't let Facebook get a free pass on these things just because they're Facebook.
> It turns out when you design the system specifically not to be racist, it isn't racist.

This is key, New Jersey went out of it's wait to avoid using anything that could be a proxy for race like zip codes. They also used big data to come up with the algorithm, the algorithm itself[1] is pretty strait forward and is not a black box.

The fear in California is that some counties will use black box ML systems that WILL have bias even if it's not intentional, just like how biases in the training data of image recognition tend to misidentify pictures of black people more then white people.

1. https://www.arnoldfoundation.org/wp-content/uploads/PSA-Risk...
I think that high level optimization is a synonym for machine independent optimization. The classic example would be common subexpression elimination. Similarly compiler level is a synonym for low level, machine dependent code generation. An example would be peephole optimization.

Front end vs back end.
> I'm not sure if people in the US really understand how horrified everyone, of every political stripe are about Trump's behaviour towards us and the elected Republican leadership's complicity in it.

Is this a factual statement? What is the source?

And I don't mean this in a snarky way, I mean it in a literal, epistemological sense.

I regularly read, both in forums and in the headlines, that "everyone" believes certain "things", but whenever I did just a little into the details I almost inevitably find that in reality, there is an extremely wide variety of opinions. After all, life is extremely complicated. So, likewise, I am interested interested in reading a bit deeper into this particular fact so I can be a more informed voter.
Your comment reminded me of this infographic. S&P 500 vs. Pundits: https://pbs.twimg.com/media/DloRqfCW4AE6EZs.jpg
Apparently it's the role of NHL to protect us from the predatory nature of hockey teams. :P
The butter donut reminds me of Alaska.
What were you trying to advertise out of curiosity?
The hidden cost of bootstrapping
Shouldn't the "algorithm" need to be published? Surely someone being held prisoner by a computer program should at least have the right to examine and potentially challenge the source code and data being used.
GIMP's UI is too painful to make me use it. Please make the UI logical and respect system conventions. Standard keyboard shortcuts on my Mac do not work with GIMP. This is horrible for average users that want their software to just work.