skysight-inc/HackerNews huggingface dataset:
Is there any standard for the user activation APIs? Changing the signature for postMessage seems like a particularly aggressive change.
Well said, I couldn't have put it better myself. I see all these people clamoring for the return of coal and coal miners, yet the amount of miners dying due to entirely preventable causes is infuriating. We're willing to throw away anything and everything for the sake of making slightly more money for people that already have too much to count.
Tell that to the shooter.
Depends on what I'm building. Rails is fast to iterate on, a cobbled-together Go service is great for specific niches, JavaScript and TypeScript plus an ORM are good all-rounders that can help your team work across different parts of the stack and have interesting possibilities when it comes to sharing logic, and I'd probably build a toy project in Rust because Diesel is pretty interesting.

The best answer is usually "whatever your company is already using", and unless there was a compelling reason I'd start with that.
Very, very, very little of the taxes are spent on law enforcement. You could quadruple their budget, and nobody would notice the tax increase.
And JavaScript is probably the most written in language in the world... doesn't mean it's great. Though, it is good enough for most things.

I always liked C# better than Java though.
Telling someone to "not dress provocatively" harms their identity and right to self-expression. It devalues them as a independent human being, reducing them to perpetual victimhood. The crime against which it "protects" is heinous and life-altering and, sadly, our culture still has a somewhat permissive attitude towards it in some situations (e.g., on college campuses).

If anyone's right to identity and self-expression is exemplified by keeping wallet and keys in their car, then, yes, I suppose they should certainly assert their rights by keeping valuables in their car!
Or you could do more than wish Haiku well and give us a hand developing it :)
Tell HN: Unhappy with Australia's encryption legislation? Have your say
If you are angry about the encryption legislation then you must make a submission here.

https://www.aph.gov.au/Parliamentary_Business/Bills_Legislation/Bills_Search_Results/Result?bId=r6195

Making a submission is the tangible action you can actually take instead of just raging online.

Write a submission - it is easier than it sounds - just say what you think and submit it.
And someone asking Siri to set a reminder to "prepare the dough" only to find that Siri heard something much more morbid.

https://twitter.com/danielpunkass/status/1073723442179031041
On more than one occasion, changing the user agent in Firefox leads to a faster Google product. It's most definitely happening, but Google hides behind the excuse that it's using "cutting edge" technology and they have compatibility layers for browsers that don't support the new features.

This would be solved if they did feature detection instead of browser sniffing, but given that the user agent hack works, they're very likely doing browser sniffing.

Better yet, they should probably wait to adopt new standards until things are actually standardized, instead of doing things as soon as they hit "experimental" status.
I think in the modern political stage we've forgotten that regulations on industry is not a market distortion but a market correction (when done correctly). Regulations exist to incorporate the costs of externalities into the cost of doing business.

This sort of a market correction only receives criticism on an inter-industry level (and possibly with regards to imports if the cost is only applied domestically) because everyone in that industry is motivated to care about the well being of their workers without suffering an economic disadvantage for doing so (in fact, not caring is often a penalty beyond the cost to adhere to the regulation to make adherence an economically sound decision).
IMO anyone in the chain that can take responsibility needs to start doing so, and the consumer is at the very end of it.
How Samuel Beckett Created the Unlikely Mantra That Inspires Entrepreneurs Today
Coal isn't great either (worse in a lot of ways), but the type of risk is different.

I just find it odd that Nuclear seems to create these almost religious followers like the parent comment I replied to that ignore the tradeoffs and special risks of Nuclear failures. Wind and solar seem a lot more preferable and are getting better with battery improvements leading to increased capacity with a lower cost.
Sounds like you thrive on anecdotes. You should move to Australia, not many people have guns, so we just man up and kill each other with a single punch.
+1, this is a lot more common than people expect... though the "best practice" I've seen from megacorps doing morally gray things is to form a front/shell company that takes all the heat. Surprised Google didn't take this route.
Remove objective. The employer doesn't care what you want. They have problems in search of problem solvers. Write a short paragraph detailing your strengths, achievements, hard skills and soft skills. Use the job descriptions and openings you apply to as the form of your career objective. This is considered a US-centric best practice.

My background: I run a professional career coaching service for global career seekers in Shanghai, China. All the best.
Given non-compliance violence is the step taken. Most people comply.
Underground coal fire that's been burning since 1962:

https://en.wikipedia.org/wiki/Centralia_mine_fire

The area above is not inhabitable.
Presumably if the coal industry has regulatory capture then the rules are written to allow for easily exploitable loopholes. Not to mention many people simply can't afford a lawyer or have no way of getting to one.

So a lawsuit becomes simply an expected cost of doing business, like how some software companies treat data leaks.
Arguably the lisp family contains the “huggiest” use of characters, but something like Paredit turns those parentheses into something of a turbo-charged way of handling code forms.

But it leads to another problem: hatred of typing commas in non-lisps.
What a stupid argument. I'll take the 1% chance an assailant executes an unarmed person for no reason over the 20% chance I lose a duel, thanks.

I'm so glad I don't live in America.
That is indeed the reasoning, but there is no good evidence that 3 strike laws reduce crime.

In fact multiple studies suggest that 3 strike laws have unintended consequences like increased fatal attacks on police, and twice sentenced criminals committing more serious crimes (because they will recieve a life sentence regardless of the seriousness of the offense).
> not on the stack

Except for locals. (Well, OK, the Python stack is reified in the heap, but local variables are translated into small integer indices into the stack frame.)

> an entry in the namespace dictionary

Except for locals, which do not involve memory allocations or dictionary lookups.

Anyway, we're getting farther and farther away from the topic, which was that Python argument passing is no different from any other language in which everything is an object.
I'd rather this then police come in hot, shooting first and asking questions later. Mass violence is the exception, not the rule, and police should be deescalating situations, not causing trouble.
I suspect that a lot of people would stop using Tinder if they became aware it was possible to pay to boost your
"position". People don't want to think that the person they matched with got there by paying lots of cash.
I don't see why people think that this is such a monumentous task when the alternative is MS developing an entirely separate browser.
Can you list some examples (or are examples collected somewhere?)
employees are not business partners. You can't say "You. Leave. Now." to your business partner.
Based on their handling of marketing Edge right in my task bar, I'm pretty skeptical it'd be a step up in any sense of the term.
I don't know F#, but I do know C#, and it feels like the author is trying to make C# look more difficult/verbose than it needs to be to make F# look better. Here is an alternative version of the "Everything is a function" section's IPasswordPolicy thing: https://ideone.com/3Savt9
I even went a little overboard with the function that takes a list of functions and returns a single composed function -- I could've also written a one-off that uses "&&" like the F# version:
bool isValidCustom(pw) { return f1(pw) && f2(pw) && ...; }
Am I missing something? Why did the author make the C# version so complex??
https://www.bollymeditube.com/2018/10/how-to-get-rid-of-smel...
But the capitalist doesn't believe he knows how to allocate capital, while the statist does.

The capitalist believes the exact opposite – that he can never claim to be a better planner than "nature itself" so we should admit defeat and let things transpire naturally while we each focus on our individual lives and businesses, which presumably we know how to live or run better than the state.
As Facebook Raised a Privacy Wall, It Carved an Opening for Tech Giants
I think modern OCaml's toolchain is quite nice — Dune, OPAM, Utop, OCaml/ReasonML support for VSCode. I am a newcomer to OCaml world, but so far it's been great for me.
I think that's a little pessimistic (and a shade condescending?).

You can easily call yourself a React Engineer today, for one interview, and be a frontend specialist for the next.

If your company is using a stack, why wouldn't you hire people that actually like to work with it and know its quirks?

As someone who mostly does Java infrastructure work, sure anyone can learn Java. It's the easiest. But there's plenty of room to bring value with experience and specialization if you want.

I just hope no one feels forced into it because of market forces.
https://www.bollymeditube.com/2018/10/how-to-remove-blackhea...
In a big city a good looking woman will accumulate 5 or maybe 10 thousand right swipes within a few weeks. How is she ever to get to your profile without you doing something to bump yourself to the top of the queue? There's physically no time in the day for her to even swipe that far.
> The New York Times interviewed more than 60 people, including former employees of Facebook and its partners, former government officials and privacy advocates.

> The Times also reviewed more than 270 pages of Facebook's internal documents and performed technical tests and analysis to monitor what information was being passed between Facebook and partner devices and websites.
I can only agree to his hate of spaces. I personally hate space based languages. It only brings annoying problems and you have to care for things (spaces/tabs) that you shouldn't have to care about in the first place. {}'s -> Love.
With all due respect, this sounds like the wrong solution.

(1) It's too much of a hassle. Delivery drivers probably won't bother
(2) What's to stop a thief from scanning a fake barcode?
I do not see your comment as fair to the parent:

> there are umpteen alternatives (gradle etc)

there was ant (build tool) then came maven which is much more flexible and contains dependency management capabilities (and _is loved_ by many) nothing to add that the parent did not already say. Then came gradle which has faster build speed and features like incremental builds and a Groovy based configuration.

pip did not ship with python for a long time, and has problems of its own.
Clean coal refers to scrubbing pollutants and possibly CO2 from emissions. It isn't necessarily bullshit.
>In the past 30 years, the biggest coal seams were mined out in Appalachia, leaving thinner seams coursing through sandstone.

...

>And because there's no coal, it is considered development mining or construction. So sampling the air for toxic dust is not required, even though it is the most dangerous dust. Former MSHA officials told us some inspectors did it, but most did not.

Hopefully the lawsuits cost them. However the folks that make these decisions never see the consequences; they've taken their bonuses and gone by now.
Furthermore the mine doesn't pay for medicare. We all do.
import numpy as n

seriously? the community norm is:

import numpy as np

and because its a norm, nobody is confused. But the author certainly is.

the whole list of complaints basically exposes his basic lack of familiarity with the language.
That's just lying. I received reimbursement for every single interview I've had. Some companies might also give you a small stipend for spending or meal reimbursements while away from home, but at least reimbursing the cost of traveling should be included. I've also had a company that's literally ten miles away from where I live willing to reimburse me for Lyft rides to and from the office.

That said, I've only ever interviewed for companies in the tech industry and the financial industry. It's possible that companies in other industries are different.
2002 according to https://en.wikipedia.org/wiki/Kademlia - and this is a nice article for the layman (who still understands basic CS) to understand it.

I'm a bit dubious about where the name "Kademlia" came from :-)
To be fair, hacker news is a special kind of technology website. A place where many know a lot more about technology than walt mossberg. He wrote for the masses ( actually the business people - WSJ ), not for "hackers". For most us, he is just some dude. For the masses, he is the technology guy. But ultimately, he was a journalist, not a technology guru.
Hopefully you (and others who thought similarly) have finally learned the lesson that dictatorship is never the solution.
Great change is rarely brought about with merely individual action.

Is that actually true?

Although I guess 'great', 'rarely', and what counts as individual action or not are so vague as to make that impossible to test. ...It just makes me feel I need do nothing. But I don't like that word 'merely', begging the question there.
The problems you point out support the rationale for the decentralized nature of US police authority. In the US, federal, state, and local police authorities are for the most part independent from each other. I believe this is quite unusual if you were to survey the structure of police authority in other countries. This is one way to mitigate the "blast radius" of corrupt officials.

While I agree that there are some structural problems with policing (militarization, over-reliance on guns, prioritizing officer safety over citizen safety), I don't think "completely tear[ing]" it down is a wise course.
Spring Boot has been the de-facto standard standard in the industry for years. Java newbs even associate it with Java Backend. There's nothing else.
This looks a bit different from karat.io which specializes in engineering candidate screens. Aside from the different roles what is different about this from that service?

Also, "gatekeepers" may have a negative connotation for some. It can imply status conferred by tenure or social acumen, not merit, for example. Think "ball of mud architecture", where the ones who created the ball are gatekeepers usually in the negative sense that they don't want to see change because it might disrupt their position.
The problem is that maintaining a browser engine is enormously expensive. There are so many features you need to maintain, security issues to deal with, etc. In the past Microsoft made money off of their operating system, and they made Internet explorer then Edge off of that, but now they make money off of the cloud and clients expect people to support Chrome. Microsoft was spending too much money they didn't need to for return. I think because of the expensiveness of maintaining a browser engine used by so many people, they were destined to be basically a natural monopoly operated by a few concerned actors. Of course, google as one of the two major internet giants, is the most concerned with supporting the development of a web browser.
This isn't true if you've actually seen production Rust code, but the point is irrelevant to the issue of swift being GC'd - it is.
It is BS because they never put anything behind it.
And if your mercenaries incorrectly target the wrong (innocent) person?
> Thieves don’t deserve to die, but it’s okay that it’s a risk they run.

Why is that okay?
"Furthermore the mine doesn't pay for medicare. We all do. "

Exactly. Worst case they can file for bankruptcy and blame evil environmentalists.
Telemetry is not really a problem except to the paranoid.

Not only is it anonymized, it's very useful. It helps provide essential data for bug fixes, especially for an OS and application software that rely so much on not breaking backwards compatibility.
Indeed, and to clarify "clean coal" isn't referring to cleaning the coal, it is referring to increased effort put into trying to reduce released pollutants when using the coal.

There was a hilarious quote from a while back where a politician referred to train loads of "cleaned coal" heading out of Montana which created a misunderstanding about what clean coal technologies are trying to do. There is no "cleaned coal".

(Aside, I believe calling those technologies "clean coal" is quite hyperbolic, but that is a separate issue)
Related problem in public health monitoring of mines in Queensland Australia:

https://www.abc.net.au/news/2017-05-29/black-lung-report-cat...

Interestingly, the public health and epidemiologists they used for a lot of this (the workers I mean) appear to be American.
Would be interested in some links to SDKs and/or style guides. As a developer, how do I get started writing my app to target the Librem 5?

Went through the website and many forums but haven't found any definitive.
How would one go about monetizing this data?
> Matching on the different type constructors

Terminology nitpick: Pattern matching is done on value constructors (or just "constructors", but at the intersection of FP and OOP that could be confusing).

"type constructor" means something like `List` (as opposed to `List[Int]`) – a generic type that hasn't been applied to any type argument(s) yet, and will "construct" a type (like `List[int]`) when you apply it.
Haha, fair enough. There's certainly a balance to be made.
This is really impressive. Thanks for posting it.

This website tells the truth when it says that following the deep work ritual is a pain. I've read the book and wholeheartedly agree with whatever Cal Newport says, but so far planning my day has been the most difficult thing to do, especially when I have to update it after the planning derails.
I keep jumping between planning my on my computer using org-mode or planning it on paper. So far, nothing has stuck.

I'll give this website shot for some time.
Levandowski’s Pronto.ai plans to ship automated driving systems in 2019
Hi, this is indeed open source and available right now on https://github.com/Microsoft/Trill
We will edit the original announcement to make that clear. We also reached out to OnMSFT to see if they can edit the article with this info. Let us know if you have any question or feedback.
Yes, that's the Freenet Project response that I was thinking of. Thanks for citing it.

But the problem now is that there's technical backup for both sides. So defense counsel will likely need a credentialed expert to submit a report, be deposed, and testify. Although I haven't followed any of these cases, I'm guessing that many defendants have accepted plea bargains. Because battles of experts can get expensive fast.

And then you've got the challenge of explaining this stuff to a jury. And countering the emotional "evil child molester" rhetoric. I wonder if the Freenet Project would provide such an expert?
Hard to verify what you're saying. June wasn't a bottom for ETH and the most he could've made with that trade was ~4x.

But even if you're right and he did make a great trade, that doesn't make him a genius. He's a gambler and sometimes gets a great hand.

He was super bullish on EOS before it tanked. He very publicly called a bottom[1] for BTC on Sept 13th when it was $6,300 and it's down by ~50% since.

[1] https://twitter.com/novogratz/status/1040288811643809798
Introducing LeapUVC: A New API for Education, Robotics and More
WALK IN INTERVIEWS AND JOBS IN UAE 8 GULF COUNTRIES
I think most beginners learn languages to solve some particular thing. Python has a lot of great libraries and tutorials for learning. It doesn’t matter if Python has a lot of idiosyncrasies—new Pythonistas are copy/pasting and mad-libbing their way to a basic understanding of coding.

Learning to program from first principles is hard, but I reckon Racket, a lisp, with it’s wealth of teaching materials and well thought out design is about as good a way to start as any. It’s small and consistent enough to actually learn from the ground up rather than by pulling on one thread.
> Except for locals.

I meant the C stack, not the Python stack. At the C level all Python objects are allocated on the heap (except for some of the singletons like None which are statically allocated by the interpreter). (The fact that I used the term "heap" indicates that I was talking about the C level, since there is no "heap" at the Python level.)

> Python argument passing is no different from any other language in which everything is an object.

I disagree, since again you have left out the namespace binding step completely.
That's an important point. I'd caution people getting upset about this (especially getting upset with the judge) to recognize that judges are bound to consider higher court decisions.

There is arguably good reasons why police (and fire fighters, and social workers, and meterologists) and the governments they work for can't be sued for not protecting people from the bad actions of others, or disasters. It's not their fault that bad stuff happens (and when it is, that's a different legal situation).

That said, state constitutions can be more restrictive, and it would be interesting to consider the effect of creating such a duty would have.

Perhaps it could be created as a duty to the state government rather then individually harmed people, such that the state attorney general would be the one who sued (or more likely settled with a consent decree that created policy changes).
> The social network allowed Microsoft’s Bing search engine to see the names of virtually all Facebook users’ friends without consent, the records show, and gave Netflix and Spotify the ability to read Facebook users’ private messages.

> The social network permitted Amazon to obtain users’ names and contact information through their friends, and it let Yahoo view streams of friends’ posts as recently as this summer, despite public statements that it had stopped that type of sharing years earlier.

The records the New York Times reviewed were "generated in 2017" and "some were still in effect this year." That means not only did these agreements cross through Facebook's representations to various governments, they also overlap with GDPR.
So, if you are being robbed, you would rather that the police wait a few blocks away?
"Given a string S and a set of words D, find the longest word in D that is a subsequence of S."

Found under "Foundations of programming" -- this is exactly the type of problem I'd expect as question one under this section. When it's made by Googlers, that is.

I make a lot of cool stuff day to day, and usually that requires a lot of code and knowledge about programming and topics that are rather advanced (currently I'm building a distributed collaboration system with event sourced data in Microsoft Orleans) -- but questions like this are just about the furthest thing from what I want from a developer. We're gonna be in a lot of trouble in the future if every developer is learning Google sanctioned code problems at Google University on their Google Chromebook in Google Chrome on Google.com. And I'm not even speaking about how disgusting that sounds -- just tell me how that's going to breed diversity in thought?

If I came across this problem in my "Foundations of Programming" course equivalent when I first started to learn how to code, well I'd probably be enjoying my life as a woodworker right about now.