skysight-inc/HackerNews huggingface dataset:
Why tunnel when there are already lava tubes?
I can see the benefit being enormous if you use typescript. Currently it is often a struggle to come up with the magic combination of generic parameters and HoC ordering to make things work, which might still fail if your HoC has an incomplete typing specification. Using a couple of very simple easily typed functions makes things much easier to reason about and to specify correctly.
What does Upper Middle Class mean?
I could see someone paying for the novelty of one of the first well-known AI paintings, but I can imagine supply and demand economics will drive prices way down as more high quality AI art floods the market. Good time to get in though while supply is still low and demand is high.
>The real bad part is that CSS is in no way designed to be interacted with by anything but CSS.

Am I the only person who thinks this is a feature, and that the "bad part" is CSS supporting animations and transitions?

I mean - HTML for markup, CSS for layout and colors, JS for logic and animation. There was a very clear and well defined separation of concerns to the web, why did we have to go and ruin it by making CSS almost Turing complete then having everyone generate CSS and HTML with javascript?
How I Accidentally Wound Up Running an Outlaw Biker Gang
I think the journalism results from this:

https://journals.plos.org/plosmedicine/article?id=10.1371/jo...

If so, it appears to be neither original research nor a systematic review. I think it's worth being sceptical (especially given the wording of the Guardian article).

If you live in a developed country where people aren't repeatedly killing themselves through acute exposure the relevant section of the link above appears to be:

"The US EPA concluded in 2016 that the existing epidemiologic literature provided “sufficient evidence that there are neurodevelopmental effects occurring at chlorpyrifos exposure levels below that required to cause acetylcholinesterase inhibition” [11]. Such chronic, low-level exposures are often overlooked or dismissed as benign because neither the pregnant woman nor the fetus shows clinically visible signs or symptoms. Furthermore, the developmental deficits do not manifest until months or years later. Indeed, the scientific consensus is that AChE inhibition is uninformative with regard to neurodevelopmental effects in children and that the toxic effects from chronic, low-level exposure occur at concentrations too low to inhibit cholinesterase [1,9]. The evidence thus indicates that OP pesticides can interfere with brain development at levels previously thought to be safe or inconsequential."

The following paragraphs rely on this conclusion or speculate. I think it's worth reviewing those references, which I have not yet done. They are:

https://www.regulations.gov/document?D=EPA-HQ-OPP-2015-0653-...
https://doi.org/10.1093/toxsci/kfx266
https://doi.org/10.1016/j.neuro.2013.09.003
Here, have some empirical evidence. [0]

The Atlantic [1] spends some time with this study, and here are some takeaways. Attractiveness is measured from 0 to 1.

* The headline: People are "hypergamous" (what a terrible word), aiming about 0.25 above their own position

* Women are most attractive (0.62) when young, with sharp falloff; men are most attractive (0.53) in mid-life, with middling falloff

* "Men experience slightly lower reply rates when they write more positively worded messages."

* Different metropolitan areas have different dating patterns

Humans are weird.

[0] http://advances.sciencemag.org/content/4/8/eaap9815

[1] https://www.theatlantic.com/science/archive/2018/08/online-d...
Novel Smartphone Interventions Improve Cognitive Flexibility and OCD Symptoms [pdf]
>but it does lead one to question what's preventing greater participation.

It seems as if capitalism is designed to concentrate wealth in the hands of owners and shareholders. Employees were never intended to participate beyond the means granted them by their wages, and the incentives behind the financial systems with which they could tend to fleece anyone but the wealthy.

Somehow we've convinced ourselves that capitalism is supposed to be more egalitarian than it is. I think solutions begin with recognizing that the inequities we see in society are not a flaw in the system, but the system working as intended.
I tend to make a certain amount of time for something consistent every day (like, usually about 30 min on Khan for the last 6 months trying to level up my math skills) and then a certain amount of time for random playtime (like my safari books only subscription) where I just do whatever I feel like doing for that time.

My life got a lot better when I just committed to doing certain things every day (yoga and making my bed, for instance). So I just added "study" to those things.

Another pro tip-- have kids when you're 23... I'm 40 and now they are mostly grown so I have a lot of free time LOL An hour of yoga a day is a lot less of a commitment than it would have been when I was 28, had two small kids, and was in grad school.

That's a joke, but the kernel of truth in it is: you don't have to learn everything now. With luck you will live to be 70+ years old and so the benefit of even 15-20 a day of study really adds up over several decades.
r^2 is not that relevant. The moon is 384,400 km from the earth and can cause a total solar eclipse despite only being 3,474 km wide where the earth is 12,742 km wide.

The geometry works out more or less linearly with distance. So 1.5 / 0.384 = 1.065. Which means and object 1.065x as wide as the earth would also provide a total solar eclipse. Making sunshades more than 2x effective L1 vs LEO.

PS: Only 1/2 the time they are on the sun facing side, but they are not perpendicular with sunlight for that entire half. At a 45 degree angle a sunshade blocks ~70% as much sunlight vs a 0 degree angle.
The problem is that we don't know how Mongo will choose to exercise this brand new license, and how courts will rule on them. I've brought this change to our corporate counsel and they are advising we stay clear of it.
> React doesn’t offer a way to “attach” reusable behavior to a component

I know the angular resentment here is high, but some things Angular 1 got right. Directives added as attributes to another component was very powerful and allowed this in better ways than HOCs in React. Im looking forward to try this out.
What Is JavaScript: The Basics and History of JavaScript – FrontNet Blog
There's a popular book called "Factfulness" that explores the dynamic you're describing: the world is generally getting better and the media is institutionally incapable of reporting it (because they thrive on sensation instead of facts).

If you are swayed by facts and data, it's probably right up your alley.
What do you do when you want to update state in other places in response to a change in a component? How about if you want to make your component's state persistent (particularly when the component is external to your project)? Also, what do you do to generate state dumps for error reporting?
> Good question! That’s the “investment” part. They risked the funds to create the value in the first place in exchange for returns on their investment.

That's not really an answer. You're just saying their entitled to the passive returns from ownership because they owned something else. It's circular. Anyone could take a risk with the funds if given access to them, even the janitors and line workers.
> The fact that someone has to manually promote a slave as master is a big operational cost.

It doesn't need to be manual, only in a layer above/outside PostgreSQL. There are solutions that automate leader elections for any secondary-promotable-to-primary system (not just PostgreSQL), just not built into PostgreSQL.

We looked for about two years, on and off, to setup smoother, less-manual HA for our PostgreSQL setup. We ended up writing some, as you say, "tools / plumbing to overcome those issues". By far, though, the most time we spent on it was been spent in reading, testing, and getting to understand how things work.

After everything, unfortunately, no other system fit our requirements. Many came close in their marketing copy, but on closer look, every system had caveats. Ultimately, PostgreSQL is the only system I could still trust to do the right thing. In fact, the solid foundation that Postgres provides is why I can trust third-party layers (similar to Stolon and Patron) to focus on the job of switchover correctly without losing or otherwise messing with my data. In fact, I can even switch which tool I use, without it affecting my data.

The little plumbing we've written over Pg's built-in replication allows us to horizontally scale using logical replication and assuredly have HA using physical replication. At the end of the day, any shop that does anything important with data at scale needs to know how their data is actually being treated, irrespective of what the marketing promises. Hell, even when the data-store does not blatantly lie to you about keeping your data safe or uncorrupted, you can lose data due to bad use of tooling or explicitly-set unsafe configuration. "I'll just use this; it'll solve all my problems!" is rarely a thing to blindly believe when dealing with important data.
The problem is people are forced, basically at risk of imprisonment/fines/jail/seizure of their property, if they don't pay their taxes. The problem is the taxes are inflated to outrageous levels to pay for these type of stuff which isn't even benefiting the local taxpayer.

It is the same reason BBC restricts their content to UK only (for online services).
Ancient Roman Empire was politically stable. When this is not the case one really needs very local water sources.
Medium's Do Not Track Policy Still Tracks You
The relevant DNT policy from their privacy page[1]:

> Medium complies with the “Do Not Track” (“DNT”) standard recommended by the World Wide Web Consortium. For logged-out users browsing with DNT enabled, Medium’s analytics will not receive data about you, but we will do some first-party tracking in order to customize content and provide data to third-party service providers that enable Medium Services to work. When you use Medium while logged-in to your account, we cannot comply with DNT. Here’s some more information about Medium’s Do Not Track policy.

The reason I bring it up is because I see that Privacy Badger is trusting them by default.

[1]: https://medium.com/policy/medium-privacy-policy-f03bf92035c9
For heroin specifically, I looked into usage rates a few years ago, unfortunately I can't find my notes so no sources here (and it is really hard to find such data).

But from what I recall, usuage rates of heroin in the population in the late 60s and early 70s was comparable to recent years, then fell a bit and remained more or less stable through the early 2000s. The return of addicted GIs from Vietnam prompted the start of the war on drugs by Nixon [1]

The big problem with heroin is what they are cutting it with. Prescription opioids, different ball of wax.

[1] https://www.presidency.ucsb.edu/documents/special-message-th...
Most neuroscience work have hypotheses, but I am arguing that it is more similar to discovery science even so.
That seems interesting:

> If you were to hold that empty teaspoon just one yard above the star's surface and drop it, it would strike the surface at 4.3 million mph.

E.g. about 2 million m/s, c is 300 million m/s.
The difference is that you bought the laptop with Windows already installed, so the manufacturer went through all of those headaches for you.
White males who enlisted in the military were not recipients of privileged treatment by society.
I think Doreen's correct. "deal gone wrong" is just more idiomatic (you could probably say it's short for "[the] deal [in question is a deal] that has gone wrong")
This is a pretty big win for everyone.
On a similar note, it would be nice if some of the drawers of the fridge had red LED lights to keep leafy greens photosynthesizing, to keep them green.
Yes. No availability zones though.
It also makes it look like it was condoned at higher levels if it gets out and can give ammo for lawsuit settlements at lower levels for other dirt-bags.
"I mean, its sorta why GMOs exist. To reduce the need of pesticides that are sprayed on farms. "

When you look at Roundup, GMOs are designed to resist pesticide, not the actual pest.
Starcraft, like SupCom, has both upgrades and sidegrades. The attack and defense +1/+2/+3 upgrades are a huge part of the strategy. They're similarly expensive and slow and flatly better.
Whether you live in the US or not, the US dictates a lot of things. After 9/11 banking and finance changed radically, and that was global not limited to the US.

Before 9/11 many states allowed it (as did many countries)...now no States allow it and as far as I’m aware Panama was the last country to outlaw the practice.

But if you know of a jurisdiction let me know...
Lol hyperbole much?
All About Progressive Web Applications #PWA in One Blog Post
Yes, there is evidence that psychedelics can be useful. I agree that they can be useful to give a different perspective to quit a rut, as you wrote.

Still, according to experts and many anecdotes on reddit, psychedelics are very risky (unwanted bad effects) and not safe drugs and not miracle drugs.

The risk of bad short term and long term effects depends highly on the dosage and the personal mindset and the current environment. Nobody knows in advance how your brain will react.

https://www.reddit.com/r/drugs

https://www.reddit.com/r/Psychedelics
None of those people would be reporting to Sundar if they were still there, with the exception of Singhal.
Does it matter who's diversity? If the argument is that a company with a non-diverse workforce can't deal with users from different walks of life, they don't have a diversity problem, they have an empathy problem. (Arguably most programmers have an empathy problem.)

While I'm sure hiring 2 women and 0.2 black people for every scrum team may help fix the empathy issue, so would hiring white guys who don't think they're the center of the universe. Of course to do that we'd need to stop (as an industry) rewarding and recognizing people who think they're the elite for doing a perfectly normal white-collar job that occasionally involves high school math.

(And I definitely don't think we need diversity of political opinions. I don't want to know my coworkers' political opinions, whatever they may be. What would be great would be if I could get coworkers who just don't think their particular ideology is super important in terms of their work life. Any companies that are more on the chill side like this?)
To echo some parts of your points:

- logging the things you do that matter to you (via a time tracker) is one thing I've found super useful

- committing to do the thing every day is much easier rather than once a week
"The painting, called Portrait of Edmond Belamy, was created by a Paris-based art collective called Obvious."

Hopefully the person who wrote the code, freely shared it and even helped them to get it running will see some of that ridiculous windfall:

https://twitter.com/DrBeef_/status/1055285640420483073
It's system-wide. Sorry, wrong shortcut, Alt+Cmd+F5.
This sounds interesting, but I don't completely understand.

Does this mean that only that specific implementation may be used without a 3rd party infringing copyright?
(I cannot resist making a They Might be Giants reference.)

There's precdent for "Omnicorn" [1]-- after all, "On its head is every manner of horn".

[1] http://tmbw.net/wiki/Lyrics:Omnicorn
No, I am saying that coercing people to have sex they do not want is rape, which is a criminal (not civil) offense, regardless of one’s contract with their employer.
>The same is true with senior executives. If you fire manager or even a director for sexual harassment you're risk is at one level, if you fire someone who is VP or above then that person has a wide array of ways to 'fight back' that can cause serious harm to the company, so the company has a problem.

It's not just that (e.g. the thread of negative consequences).

It also, who would have been doing the punishment?

Other senior executives. Who were friends with Andy, went to the same parties and clubs, spend time together etc.

Despite token lip service, they wouldn't care about a misconduct claim from someone below their league.

They wouldn't care about such a complain against one of their own. Some would just trust his version of things, and others would think the only issue is him getting called for doing it (whereas if he did it without getting called for it, it would be fine).

In fact, they might have laughed it off with Andy too, either in "that person is telling bs", or in "hey bro, you overdid it there, better lay low". (And the fact that the person making the accusation might indeed be lying, or at least that has been the case sometimes, makes it even easier to brush it off).

Also, if you don't pay fellow exec for getting caught in such things, the same thing might be done to you, if you get in a similar situation (or another kind of disfavor). Better to support the fellow senior exec, to receive the same support yourself.
Absolutely agreed. However, I don't think spending 15 years in China is a particularly rare trait in tech work -- a very good chunk of the people I work with in tech on a day-to-day basis were born and raised in a foreign country (typically China, India, or Russia, though there's a very long tail there). In fact, my own background (that of a very, very, small rural US town) who went to a liberal arts college is extremely rare in my own experience in tech. Of course, I'm a white heterosexual so I'm considered a member of "the majority"...

Diversity metrics based on the color of your skin or the country where you were born are an awful way to assess actual diversity of thought. It's much more about your own personal experiences regardless of your environment. It's a shame that's hard to quantify so everyone ignores it.
>I think some creative products lose a bit of their essence when not created by humans

Does they though? I bet in 10 years, if you walked into an art gallery, you'd still be drawn to certain pieces and not others regardless of wether they were created by human or AI.

As AI improves it will get ever closer to that "hand-made" look to the point we probably won't be able to tell, especially with something with as much intrinsic variety as creativity. In fact, if AI is trying to copy a "human style", we might be able to define how narrow or broad our range of creativity really is.
This is why executives go to strip clubs together. So they’ve all got something on each other, so no one betrays their cosy little club.
This is an important way to look at the data. By looking at individuals over time, it essentially quantifies social mobility. But then you have to take it a step further. Does the difference in individuals' mobility over time change over time? In other words, has social mobility gotten better or worse? Only then are you comparing apples to apples in pessimism/optimism.
In the end it is supposed to be a decentralised AWS/cloud computing service with the benefits that computation is more or less private (limited to no snooping) and (the actually important bit) with market driven pricing that seems to be driving the cost below that of AWS.

Sia and a number of other projects are trying to address hot and cold storage while Golem and company are addressing the compute. With some clever architecture design, these decentralised systems could be combined to make a decentralised remote server.
Size Matters | Only the Longest Blockchain Is the True Blockchain
isc.ro
i2c.
So adding class lifecycle events to functional components? Why not just use a class?

The beauty of the functional components is that immediately you know there's ZERO state in here. It's just rendering markup based on input.

Now there's more to look out for given this `hook` thing. I don't like it.
It's probably trouble with the sensors in combination with bad capacitors, which cause the motors to not accelerate the elevator at the rate which it is programmed to expect, so it doesn't quite exactly know where it is. Tldr it's glitchy.
I’d say the useState hook should receive a name parameter first and not depend on the call order. That way one can do branching, loops etc. This way it feels like too much magic.
This looks like unnecessary magic. Classes are a core programming concept and this seems to be trying to get JS devs who didn't deal with them before to try and learn something else, while being completely non-transferable to any other language.

Making the built-in state management functions simpler would be better, as well as using newer JS constructs like decorators (aka attributes) to wire things up declaratively. MobX has been leading the way here for awhile with a very smooth dev UX that's even better than this Hooks proposal.
I've installed Ubuntu on a variety of semi-mondern Dell and HP laptops and generally there is little to no post-install tweaking required save for some preferences I have that Canonical does not, like always showing the damn menu items. To be fair, there are settings on Windows I always change as well, like always showing the file extensions.

As far as hardware problems are concerned the only thing I run into regularly is touchpad palm rejection not working. This is a pain in the ass but it doesn't affect every machine.
They shouldn't be when there are so many libertarians in tech that'd prefer small government. Should have something in common.

The problem is the majority of republicans are backwards on social issues and trapped by low-brow "conservative" media. William Buckley must have turned over in his grave.
Never Violence (by Astrid Lindgren) (2007)
Star Simpson is actually somewhat notorious for her naivete:

https://thetech.com/2007/11/13/simpson-v127-n40

http://henryjenkins.org/blog/2007/10/i_was_a_teenage_terrori...

Edit: not sure why the downvotes, I was actually attempting to defend her, in the sense that her innocence has gotten her into bad situations in the past.
Disclaimer: I run an unlocking business.

Not exactly the same thing, but operator unlocking was deemed legal in 2013...

https://www.loc.gov/item/prn-13-041/statement-regarding-whit...

...and measures were put in place to oblige operators to assist consumers in unlocking their phones.

Fast forward to 2018, and nothing really has changed. Unlocking a phone legally via you operator is a nightmare. They'll make you jump through 17 hoops and you will give up. Customer retention is key.

When operator unlocking is not possible, rooting a phone or playing with base settings is the only way, so this is great news.

However, I have a strange feeling that things won't get much easier. As has happened with operators, hardware manufacturers will go to great lengths to protect their playground.
Not horrifying: When your refrigerator dies and you can go buy another without blinking.

Horrifying: When you misplace a $20 bill and now you can't pay your rent.

It's really simple to understand.
What 'tree' are you referring to? Higher order components are just functional components that accept a component as a argument and return a new component. There aren't any additional nodes added to your VDOM unless you specifically make a HOC that does that.
This isn't true. Can you cite examples?
> If the situation is avoided, then there's no need to differentiate. That's the best part about the "don't" policy. There are plenty of people out there.

It’s not my company's business as to who I am allowed to date or engage in a consensual relationship with. It literally has nothing to do with them.
wikiBudgets US 2016