skysight-inc/HackerNews huggingface dataset:
> I don't know how accurate that is for PDF's, but webpages are supposed to look the same,

One of Adobe's early talking points for the value of PDF's was that they would "look the same on all systems". Of course some context is necessary. PDF first appeared in 1993. In 1993, while the internet did exist, most individuals who were not associated with a university, research lab, or govt. agency, had no access to 'the internet'.

As well, the computing world was much more diverse. One had Dos, early Windows, and various MacOS variants all coexisting, one had numerous different variants of Unix on the numerous different RISC workstations in existence. And, here was the big deal, 'documents' created on each of these systems were to a large extent incompatible with each other. In this context, 'document' should be thought of as "a file used to create paper printouts" as opposed to what we think of a 'document' now in 2018. There was some compatibility, in that Windows systems would, sometimes, read 'documents' produced by Dos based word processors, and of course the lowest common denominator, plain text file, was 'almost' compatible (line ending differences was the biggest incompatibility). But for anything more complicated, if person X created a 'document' on Dos, and they wanted person Y, using SunOS, to see a version that "looked the same", their best bet was to print their document to paper and give Y the printer output. Because if they could send the electronic file to Y somehow, chances were that Y would be unable to open it, and even if they could, there was a good chance that it did not 'look the same' (from a 'looks like the same paper printout' level of same).

PDF came about in this world where paper was still king, and Adobe's marketing of "looks the same" was really meant to be "produces the same paper printout for the receiver Y as it does for creator X". That is why, today, in 2018, that viewing a PDF still looks like one is viewing WYSIWYG of a paper printout. PDF is, quite intimately, tied to the concept that there are discrete sheets of paper that it is formatting data onto. Yes some viewers do provide an 'almost' HTML continuous scroll look, but that is done 100% in the viewer, the underlying PDF format is very paper page oriented at its core.

So, when comparing PDF intent to web page intent, the phrase "looks the same" has different meanings. For PDF, it was designed such that "looks the same" means that a paper printout looks identical to the original. And that the designer/creator has full control over the look, while the viewer has no control over the look. For web pages, "looks the same" is far less strict, and is really not the same meaning, because the web was always intended to allow the viewer much freedom in deciding how to display the HTML content, taking away the designers ability to strictly determine look and presentation. With the result that HTML data was never meant to "look the same" with the same strictness intended by PDF.
I'm in a highly similar role, and doing MVPs for billionaire investors and CXOs who want to push and test their side-projects on a monthly basis. My answer would be: the "correct stack" (the one to have maximum impact with minimum time commitment) highly depends on the business idea itself: is it database-heavy, network speed critical, big data, AI requirements, related to crypto, related to offline businesses, .... Efficiency of languages and frameworks mostly depends on the libraries of the language, not anything else. I'd be happy to jump on a call with you, let's connect, email me at jakobm@mit.edu and I'll share my LinkedIn and references!
Could something like this be used to move the "linting" that the react team recommends directly into react itself?

If you can abuse error stack traces to get the call stack, and some trickery to get the string representation of the component function that called the hook (following it through all intermediate custom hooks), you could then have the full text of the function body and know for sure that it's calling a Hook, and from there could run some linting on that internally and scream to the console if a hook is being used incorrectly.

It may have a pretty significant performance and possibly size overhead depending on how much code is needed to inspect the function body and actually do the parsing/linting, but removing the need for a linter ("need" might be too strong of a word?) would make it easier to get started with, and safer to use for developers who, like it or not, don't read docs fully, don't setup or use linters, or just want to throw something together with very little tooling. And obviously it would all be stripped from production builds.

Has the react team explored this idea? and are there reasons that I'm missing that it won't work or isn't ideal?
You can embed images in the HTML as well
Aren't roads funded from gas tax?

And schools are almost entirely paid by the local property taxes, at least in the communities where most of Apple employees will live.
Here’s what I mean: https://gist.github.com/thomasfoster96/c4a20053c747196f027fc...

> A key design goal is that creating a custom Hook is easy. You should be able to literally copy paste part of your component (e.g. a bunch of useState calls and some event handlers) and call it a day.

I'd totally understand that reasoning, because the keyed Hooks are more verbose and would generally require two or three parts of a component to be copy-pasted – but the examples under Flaws #3 and #5 didn't make this clear (to me at least), and I hadn’t seen ‘ease of custom Hook implementation’ cited as an argument against keyed hooks before.

I’m really just playing devil’s advocate here, because in my playing around with Hooks I haven’t yet found a case where keyed Hooks are necessary, but I have accidentally put calls to useState() inside a conditional a heap of times.

Edit: Flaw #5, not #7
I think this misses the point. Deep fakes will simply make all video and audio evidence subject to significant doubt. We simply lose a whole body of media as evidence that most people will accept - the provenance will become all important.

Like Mattress reviews - all video and audio will become an evidential dead zone.
honestly, who cares if your car survives? will you survive? if you have a car made within the last 20 years, most likely yes.
MariaDB Connector for Node.js
To expand on this:

1987 there was a shipwreck that was 4x as bad as the Titanic (over 4,000 deaths).

In 2002 over 2,000 people died in one (nearly 2x the Titanic)

A 2006 wreck had 1,000 deaths. The same magnitude as the Titanic.

It seems that it is only unthinkable for people who can't use Wikipedia.
Perhaps, but the real tragedy of the Titanic is ego and bad safety procedures, in my opinion. The conception of the ship being "unsinkable" led to the lack of lifeboats, and when the ship sank...
Does this comment imply the only (reliable) way to make million dollars is using C++? My company uses (mostly) python and we're making millions of dollars too. It's almost as if for every different task there might be a better tool solving the problem.
> That's a significant chunk of the MBA curriculum. Of course you don't have to get it from there, but if you look at who teaches in business schools, quite a few of the professors specifically research those subjects.

I am mostly judging it from results of MBA managers. It seems that highly motivated happy teams are rather exception then rule. This kind of psychological knowledge seems to lead to manipulative behavior that most eventually figure out in the span of months and consequently leads to lack of trust, demotivation.

> The typical complaint I hear isn't about their leadership skills, it's about a lack of technical expertise or lack of appreciation for subject matter expertise. As an example, I've seen some of Harvard Business School's materials, and their curriculum definitely teaches to seek technical expertise.

As general as both complains are, they are closely related to leadership skill, they are not independent of it. The "no appreciation for subject matter expertise" is euphemism for "experts under their leadership are unable to use their skill and knowledge and are treated without respect and without regard". It means that project is running into the same problems again and the leader does not care, because problems are not affecting him right now and experts are effectively talking to a wall that smiles back.

Lack of technical expertise means that experts are forced to implement decisions they know will lead to problems and then get resentfulness when those problems happen and they are blamed for it. It means you work around the manager and not with manager. It means that you have to keep secrets and manage manager, because manager cant be trusted.

I don't know what exactly those schools teach, so I can not say what exactly is wrong with it. But I had managers that I respect to this day, not all of them were technical and they seemed to be able to work around lack of technical knowledge better then mba I have seen. Mba are good at creating illusion of well run project for upper management. That absolutely has value, especially in corporation, but is not really leadership skill and is not same as actually run the project well.
>The posters here wondering why you can't name them are on to something

Imprecise phrasing on my part, the discussion here has been around naming hooks with Symbols.

> We had from 5 to 8 people on the team at different times. Maybe maintaining one of the most popular open source projects isn’t “hard work” for you but we find it challenging.

I meant React Hooks specifically, not Redux, which I assume is what you mean here.

> We try to solve problems that product engineers run into. If you have better ideas we’d love to hear them.

Use the built-in OOP system instead of writing a worse new one? Reinventing methods and properties with poor, misleading syntax as a thin layer over the OOP system of the host language is... well, it's helping bloggers, I guess.
For those not in the know, this appears to be a sequel of sorts to https://kubernetes.io/blog/2016/06/illustrated-childrens-gui...
That certainly is a cost. But it's not what the parent poster was saying... I'll bet the costs you speak of are covered by income taxes and the corporate tax, with a little leftover per employee (so - a large pot of extra money at the end of the day).
Perhaps Nvidia are writing drivers that don't conform to the guidelines Apple provide for approval? Maybe they're trying to pull a Logitech and include lots of data gathering that Apple object to. Or they're ignoring things like events from power management. Or their drivers are just shitty Mojave citizens. Or they're trying to force a Mojave equivalent of GeForce Experience to be installed with their drivers.

If Nvidia are being dicks in the face of reasonable requests, why would that be Apple's fault?
People are struggling to understand even Bitcoins.
Just to pile onto that a little bit more - the Lisp family of languages is not unambiguously more expressive than other languages. I think that, when Lispers claim that Lisp is really expressive, what they really mean is that it has macros, and the supporting features that make macros work so well in Lisp.

The problem is, most dialects also have some horribly unexpressive things, too. Dynamic scope, cadadr, fifty bajillion words for "equals", stuff like that. My least favorite is that, in most Lisps, code and data look exactly the same. No M-expressions means that you can't reliably understand the basic structure of a blob of code by simply skimming. You've always got to be carefully reading it. Which gets exhausting if you're working in an unfamiliar codebase. Perhaps that's why Lispers have less of a tendency to travel in packs.

There's really just one Lisp dialect that gets to unironically wear an "I'm super-duper expressive!" t-shirt, in my book, and it's a young one: Clojure.
I've heard a lot about LXD from a coworker and would love to try it. From what I have found, I have to install and run snapd on CentOS. [1]. Are there plans to remove this requirement in the future? It looks to be in edge/testing on Alpine so that is promising. [2]

[1] - https://discuss.linuxcontainers.org/t/lxd-on-centos-7/1250

[2] - https://pkgs.alpinelinux.org/packages?name=lxd&branch=edge
Texas Astronomers Find That Dark Matter Dominates Across Cosmic Time
I've been on and off L-theanine in different forms but regulated regimens for around 8 years. Of course my experience is just anecdotical and applies only to my metabolism and psychology but your case sounds like what happens when I get tolerance to L-theanine. The capsules do that for me pretty fast, but if I rotate between L-theanine rich Korean Sencha, Oolong and Gyokuro/matcha the effect never goes away.

I only need to not get too high on caffeine and to not repeat the same tea so much, if I do when I realise and switch to the other one the effect comes back.

Getting Oolong's and senchas with good theanine content is hard, specially finding one that works for you. Glutamate rich smell is a good indicator as well as the color or whiteish spots. Gyokuro or matcha is a safer source but if you only use that you get the tolerance thing too.

Yellow bag Lipton also works a little bit for me but not as effectively.
> This boils down to semantics, doesn’t it?

No, the CIA position that MBS knew about and ordered the murder and that it was not a rogue operation does not differ only by “semantics” (except in the sense that every difference in meaning, even the mostvsubstantive, is “semantic”) from the “rogue operation” cover story that the KSA retreated to after their “he visited and left the consulate with no problem, if something happened it had nothing to do with us” story failed and then the “okay, he was killed in our embassy, but it was not murder, just a fight that he started” story also failed.

> I’d be a lot more concerned if they took a position that this was a total farce.

They did take that position until they realized that it wasn't working.
> So the 'advisory' would be: don't break laws.

Whose laws? Why should the Swiss follow US laws? What if the US establishes arbitrary laws? Should the Swiss still follow those laws?
Someone downvoted me, but I'd like to point out to the genius that did that, today's FT article titled, "Trump makes Huawei CFO a bargaining chip" (FT, Dec 13, 2018) which is what I was asking.
> Canada too. It's one of many Americanizations that we have to tolerate daily online.

Oh the humanity, a U.S. organization dealing in U.S. dollars, the world reserve currency. Maybe it should say, but it's not some grand indignity.
Sticking to attributes on classes doesn't have this ordering issue, because construction only happens once.

class Form extends ReactishComponent {
name = this.useState('Mary')
surname = this.useState('Poppins');
width = this.useState(window.innerWidth);

constructor () {
this.useEffect(() => {
const handleResize = () => this.width.set(window.innerWidth);
window.addEventListener('resize', handleResize);
return () => window.removeEventListener('resize', handleResize);
})
}

handleNameChange = e => this.name.set(e.target.value)
handleSurnameChange = e => this.surname.set(e.target.value)

render () {
return (
<>
<input value={this.name.get()} onChange={this.handleNameChange} />
<input value={this.surname.get()} onChange={this.handleSurnameChange} />
<p>Hello, {this.name.get()} {this.surname.get()}</p>
<p>Window width: {this.width.get()}</p>
</>
)
}
}
How Fierce Competition Shaped Uber and Lyft’s Fundraising Strategy
Indeed. There are some fucking crazy people out there. I was at a relatively minor gig, right at the front and someone threw a full beer can at the frontman and smashed him right in the face. He picked a stage speaker up and threw it at the guy, then dived off the stage and tried to strangle him. He had just lost it by then. So gig ended there and when the police turned up and took statements, I overheard that apparently this guy had followed the frontman round the last 5 gigs and thrown cans at him at each one.
15 years ago I worked with a computer programmer who believed the Moonlanding was fake.

Join any discussion on climate change in the Wall Street Journal and you’ll see a large number of people who believe it’s also fake.
This is why the EU has laws against this kind of race to the bottom between nations
Pickups absolutely exist outside of the US. It's just that the pickups that are sold elsewhere are generally smaller than what we're used to in the US (think old Ford Ranger/Chevy S10 size instead of a new F-150).
>if you wanted to say "anyone can be a scientist/engineer regardless of sex" then surely you'd de-emphasise sex. Instead it's made the primary focus, often put in the headline.

The reasoning behind this (which I'm not saying is good or bad) is that people see women and girls are underrepresented in science, or lacking role models etc. so perhaps pointing out the achievements of women in science can help dispel the notion (perhaps less common now than in the past) of science being a men's field, or worse, an old boys club.
I agree with you 100%

Monopolization of the healthcare system and drug criminalization are two sides of the same coin. With headlines about opioid abuse epidemics, and looking back at how ridiculous the war on drugs is, and how ridiculous it is to have cannabis as a Class I substance, it's difficult to argue that the medical system is somehow functioning well when it comes to drug regulation.

Take acyclovir, which is an important antiviral medication. Research has shown that it's safe for over the counter use, which review panels have acknowledged, but those panels have still recommended against OTR availability because they're afraid of "setting a precedent" with regard to OTR availability.

Drug regulation really has not increased safety at all; it only increases the power of monopolies, legal or illegal.
Some anecdata: my work computer is logged into HN with a username thats gender-neutral. I'm about 3 times more likely to be downvoted on this account. I've also noticed a lot more replies on this account tend to flat out tell me I'm wrong or don't know what I'm talking about (my favorite was the time someone told me it's against HN's rules to be dumb in the comments) while replies on my other account tend to be more constructive ("have you considered XYZ..."). I've been thinking about getting both sets of comment replies and running them through Watson's tone analyzer or something but I'm not sure any good would come of it.

And of course, it's entirely possible I'm just a complete moron when I'm on this computer.
Tea in this context refers to drinks made out of a specific plant: Camellia Sinensis. Interestingly both black and green teas are made out of that very same plant. It's mostly the post-processing that make them either green, black, oolong, pu-erh, etc.

Just like there are different varieties of grapes more or less adequate to produce some kind of wines, there are different varieties of Camellia Sinensis. All varieties of Camellia Sinensis were thought to contain caffeine, until this specific variety was (re-)discovered.

Herbal teas are basically infusions of any plant that's not Camellia Sinensis.
With a DNS tunnel, you can achieve "free Wifi" almost everywhere. Iodine[0] is easy to setup.

[0] https://github.com/yarrick/iodine
You don't even need Python or Selenium anymore, Windows 10 includes a built in MAC changer from Device manager.
An ethical website visitor session tracker is coming
Cynical, but I tend to agree. What's interesting now is that this video is being used as a wedge between different factions within the US.
The Dangers of Mothering While Black – A weeks jail for sitting on the floor
They pretty much suck, you're not missing much.
I think that's good reason to do some research on the main packages your rely on.

I've been burned by react-router more than once, so for my last few projects I went for a much older, stabler package (I think it was page.js). I didn't impact my project much, but saved me from dealing with the react-router hell of tight coupling with react combined with a history of ridiculous non-backwards-compatible updates.
Safe Rust has no UB, by design, but unsafe does exist. We have a fairly short list of UB though https://doc.rust-lang.org/reference/behavior-considered-unde...
It’s self evident they have full access to the network requests as they are a MITM, and from the article you can see they are in fact logging at least the URLs being accessed, the IPs, and User-Agent for trillions of requests.

And they are cavalier enough with the data to use it for writing a random “Black Friday Analytics” blog post that is only tangentially related to their core value proposition.
A lot of other stuff might be analyzable from those "POST /store/checkout" requests, too, so please keep sharing with the world. Thanks! You're awesome!
Yes. Having a common overall structure is good.

When I open a Maven project, the Java sources are always (99,99% of the time) in src/main/java, the resources are in /src/main/resources, the Java test sources are in src/test/java, etc.

Every project has to have source code, every project could have resources. Every project could have test sources, etc.
When you say "destination IP of the softether tunnel (your real PC)" Do you mean that you have 2 PC's tunneled to each other over that VPN? If so, the VPN provider would of course see both ends of their tunnel.
Apache Spark [video]
Fair enough, it is very frustrating to see the industry i am a part of be so...sociopathic.
One possibility is to hard fork the chain and convince everybody that the forked version is the real version, including the users and exchanges. (Something like the "fix" for "The DAO" in Etherum.) In the hard fork you can change slightly the algorithm, or make a haircut (like the usual solutions of countries in these situations).

The old unforked version of the coin will continue to drop to 0, and will try algorithmically desperately to sell worthless bonds to try to raise the price, but nobody sane would buy them.

I'm not sure if this is legal or moral, but I would not be surprised if something similar appears in the future.
"Tea"

"Brew"

So, when did it become that a plant leaves that are harvested, cleaned ,and then put in hot water to make a mix == tea?

It can be anything.

Technically Brugmansia can be made into a tea, it's caffeine free, the tropane alkaloids may not mix well/death.

Click bait title.
Jira is a bit of a kitchen sink, so it's strange for them to be doubling down like this. Lots of customers have complained about the restriction and the other trackers don't have it. It would be great to see some research supporting their opinion or if they could just accept that it is a legitimate need for some customers.

One negative result I've seen in Jira (that I haven't seen using other trackers) is that management is very careful to split up stories individually and assign each person tasks. As a result, team members are only concerned with their own tasks and don't want to help each other, which is disastrous on an "agile" team.
How AI could help us with anything, really.
Not what I meant, I mean actually damaging something not just reputation or stock price. Even just deleting some critical file that had to be restored from a backup but just releasing information about the company doesn't fit my mental model of sabotage.
> If Nvidia are being dicks in the face of reasonable requests, why would that be Apple's fault?

Because Apple sold the hardware /with/ the software, and now they completely broke that (<5 year old) hardware?
Please try the PDF available from phippy.io.
Trap-jaw ants do this funny catapult thing: When they close their jaws at those speeds against an inamovible object... see yourself: https://www.youtube.com/watch?v=52XZ_zjl1ck

edit: A better image example https://www.youtube.com/watch?v=0lw3-kCBx50&t=9%3A41
"Windows Classic"-like widgets are also gone from GTK3 in Linux (whereas GTK2 still has its "Redmond" widget mode). Luckily the default 'Adwaita' theme is quite close in appearance, even more than what's now in Windows 8 or 10.