skysight-inc/HackerNews huggingface dataset:
For the initial release, NLL will be enabled in "migration" mode in 2018 only. `#![feature(nll)]` will continue to be available -- that hard-enables MIR borrowck instead of the migration mode. (edit: to be clear, the feature gate is not stabilized, but it will be available on nightly)

Migration mode means that the MIR borrow check will run, and if it errors, then AST borrow check will run, and if that compiles successfully then the MIR borrow check errors will be downgraded to warnings. If MIR borrow check is successful then AST borrow check does not run and its errors will not impact the results.

Eventually we will enable MIR borrowck fully on all editions; I personally hope this happens sooner rather than later so we can delete the old code, but we have no concrete timeline just yet.
A demonstration of Hooks is live right now at ReactConf and looks very cool: https://www.youtube.com/watch?v=kz3nVya45uQ (go back about 1.5 hrs into the past to see the start of the demo).
I think the key thing for me is something my dad told me when I was griping about school as a kid: "It's about having options."

Ever since then, I've targeted my educational investments in a way that points me towards the sorts of options that I want to have.

This "gimme options" perspective also helps keep you going when learning sucks, because not having the kinds of options you want sucks more. Having some experience living with limited options can really drive home the fear that serves to get you into the mood to keep learning.
I think the term they're skirting is "hosted".

For "serverless", I think of users downloading the whole application and running it locally. To do that, the code, content, and config need to be made portable and reusable, ie packaged.
In the last big DOTA tournament, the top prize was over $11MM. The last StarCraft world tournament's entire prize pool was $700k.

I don't know why there's such a disparity in the payouts. Maybe games like DOTA are more spectator friendly and thus can raise more money for ads? Or maybe it's because the top DOTA players are streamers are more diverse, mostly coming from different countries in Europe, but also NA and Asia, while the top StarCraft players tend to be almost exclusively Korean.
Oh I just assumed Download linked straight to a zip file or something so I instinctively skipped over it.
Not really. Slack would have to have a real, native app that used exclusively stock OS controls. I very much doubt they'd do that, so there would still be a lot of work required to implement dark mode.
Not if you spin the rocket end-over-end
Can you clarify this last statement? Surely it's a question of which geographic nation-state you plan on working in. Not all of us live or want to live in North America.
To be fair, JavaScript has been a moving target and things like classes are quite new. Then again, it doesn't make sense to avoid features just because they're new.

I think the point is that they want to provide two ways to do simple things: classes and functions. Functions have better performance, classes are more flexible.
Or !important; everywhere
>> this thing only makes water when you probably don't need water.

Living in California recently I constantly see the weather forecast claiming 70-90% humidity and yet the area is basically a dessert with almost no rain. I suppose there are many more areas in the world like that.
The income divide increasing int he past few decades is due to globalization. This much is obvious.

Many huge American companies have done super well as we move to a global economy - tech is a great example. There's more money to be made when you can start selling more iPhones to India and the development costs stay the same.

Whether this new global revenue wealth goes workers vs corporate pockets depends on the supply of labor. Does Apple mostly want to employ Americans? If so, these rich global companies need to compete for a limited supply of American workers - our salaries rise. Tech workers in the USA make much more money than other countries - we have many successful companies here all wanting American tech labor.

On the flip side , not all American labor falls under this category. If companies don't care if the labor is domestic or outsourced or immigration is easy (flexible supply), then American workers don't see much gain from these global companies making more global money - the new wealth is split between top American executives and developing countries..

Most companies fall into the latter category - which is why we've seen the income divide grow, the average American worker's wage stagnate, and developing countries wages grow.
Feynman is such an engaging writer in his autobiographies that if you only read stories from him about himself, some of his problematic attitudes can seem just funny quirky stories: https://restructure.wordpress.com/2009/08/07/sexist-feynman-...

In his biography of Feynman, Lawrence Krauss apparently details incidents in which Feynman had affairs with his colleagues' wives, and even pretended to be a student to chase co-eds. Some biographers have suggested (but not justified) that Feynman's behavior is partly due to the loss of his young wife.

https://www.goodreads.com/book/show/8586536-quantum-man
From each according to schedule; to each according to fatigue.
You can't expect a tool to work when you don't know how to use it.

You're blaming google because you're using the tool wrong. If you're searching for furniture, type in 'furniture'. If you're searching for different furniture brands type in 'different furniture brands'. If you want to discover furniture brands type in "discover furniture brands".
I think checklists get favored because they're easy to codify in the form of procedures and business processes. They're also easy to measure and report on.

The broader, more complex concerns you point to are difficult to measure and thus perhaps more likely to be given short shrift.
The article goes into some details on that. Basically at that level, you're bribing the employee to not bother to file a wrongful termination lawsuit (that they have the resources to execute on, and that will be embarrassing for the company whether or not it succeeds). Incentives are structured around defending the company from that.
Situations change. What you get for free today, you are not guaranteed to get for free tomorrow, nor should you feel entitled to continue using a tool previously provided for free.

This is absolutely no different than commercial vendors who change pricing or licensing terms year to year (ie “we no longer offer an on prem version; SaaS only now; last year you paid $100k, this year our price is $200k”). You’ve just been anchored to an unusually low price previously.
Ask HN: How do you deal with a bad API?
Right now I'm coding against a bad API. Spotty docs. No test environment. Ungroomed data. Many behaviors impossible to predict until real users in particular populations or situations turn up and do real-user things.

I have a bag of tricks that is working well enough for me. But I figure many HNers must have other good tricks and API war stories. So I'll ask: What bad APIs have you dealt with, and how have you kept your code and your team sane despite that?
While attempting to refute the idea that the poor haven't improved their station since the 70s, they cite a lot of stats that show most households make more income than their parents did (inflation adjusted), but they completely neglect to account for the huge factor that is the number of people working (or cumulative hours worked) per household in order to achieve that improvement. In the 1970s, there were a lot more single-income households. The new standard of multi-income households, I expect, entirely accounts for any gains made by the lower income quintiles of people.
Exactly. And people would get surprised to know just how many "sexually progressive" (I'm using that term because I don't know a better one) people there are in silicon valley.

I know people who have full BDSM dungeons in their homes, go to all sorts of outrageous parties and have some of the craziest stories.

SV in general has every type of person.

I recall some contractors commenting on a multi-million dollar "pleasure dungeon" they built into a huge mansion in Los Altos Hills....

So, for some this can be SSC, for other context it can be far worse.

One thing is for sure, whatever the context, these situations typically don't turn out good when they get the public eye.
How is the effort to require manufacturers to provide an unlock for repair different from law enforcement efforts to require an unlock for lawful searches ? Or isn't it ? Argument has been that any backdoor would make encryption vulnerable.
Is buying a Tesla that great for CO2 footprint? No, nor is buying any new car. Over the life of the vehicle, it's pretty close to a wash vs. a similarly-sized new BMW roadster, unless you drive it an awful lot. If buying a Tesla helps Tesla make more batteries more cheaply, and make gasoline a lower-volume commodity, then there's some benefit there.

Beef is bad for CO2 for 3 reasons:

1) getting water (pumping) to the beef or the cropland to feed the beef often causes CO2 to be produced.

2) growing cattle feed is extremely CO2-intensive due to the ammonia-based fertilizers corn uses. Every stalk of corn is producing CO2 because of the way we grow corn.

3) beef's popularity and need for feed means we're repurposing rainforest and releasing eons of poorly-sequestered carbon. It's a one-time hit, and then after that the damage is minimal, but it's a big one-time hit.

If you go strictly grass-fed beef, I suppose you could argue you're not producing as much CO2, but substitute CO2-intense beef would get that much cheaper in price, negating most of the benefit.
> What does that have to do with work?

She worked for him. Not sure if it's intentional but your reply seems full of willful ignorance.
Forget retirement, something like 20% live paycheck-to-paycheck with no emergency fund and would be in crisis mode with an unexpected $500 bill.
> but I'm not sure what else they could have done.

They could have fired him without compensation for breaking the law, and then used the money to defend themselves in the resulting lawsuit. Duh.

I shouldn’t have to say this, but coercing people to have sex they do not want is a criminal offense.
Obviously you are free to name your project whatever you like, but I think it is important to avoid clichés. Part of fixing any problem is pointing out its existence. If I could actually dictate rules, I would start by barring music video directors from including any audio that is not in the single from their work.
Do rockets have cylinders?
Profit Sharing Now by Kaushik Basu, Former Chief Economist of the World Bank
Thanks for saying it right. This will help me remember.
The whole 'introverted extrovert' (and vice versa) thing is pretty stilly.

In the old days we had a word for people who neither sought nor avoided emotional stimuli: normal.
Nit: neurology != neuroscience.

We do know a LOT about neuroscience, but we've no idea how much we've yet to discover. Likely, it's a fractal, so we're not anywhere close and never will be. Like in Physics, we know a LOT about electrons and how to build a bridge, but we know nothing about 'dark energy'. It's also true in neuroscience that we know a LOT about action potentials but nearly nothing about how astrocytes interact with synapses. It's not a smooth march, but a VERY spasmatic stumble.

I don't think fields should progress in any manner whatsoever. They progress as they do and at their own paces. Otherwise it wouldn't be research, it'd be following plans. It's not something that can be proscribed, but more described.
I'd love to read more about this if you have any handy links or books etc.
People gravitate towards environments where they can do what they want. If you've read anything about Sergey Brin and his behavior towards women who worked at Google, especially in the early days, and the fact that he's still where he is, tells anyone who's looking for a safe place to sexually harass women that Google is a safe place to operate.

https://qz.com/work/1326942/sergey-brin-started-google-with-...
Your pipeline design looks pretty sweet!
Oh that's a cool idea - Maybe there's an opportunity extend this into a github/gitlab/etc plugin. I'll look into that!
Paradox grand strategy games are real-time, but it's bending the definitions of the genre to a ridiculous, meaningless level to consider them RTS games.
You spend 40 hours a week just at work, not to mention commute and lunch. If you're getting a full night's sleep that means you spend more time with the people you work with than you do probably anyone else in the world. I agree you should aim for a healthy work-life balance and date outside the workplace but it's a bit naive to think that people won't build relationships with people they see that often.
It's still pretty good. :)

I sometimes wish there were more micro, but I'm really not that good at micro so it's probably for the best. Haha I always feel like I have things to do, macro-wise.

Haven't played much recently due to the game lengths, but it's always fun.

(Go Vasari!)
One day they'll just generate the exact image you wanted to see and you won't even have to have the actual experience of the real scene.

Then they'll just generate the corresponding chemical releases in your brain to make you feel the same pleasure of seeing the image, so you won't even have to open your eyes.

Finally, they'll invent a perfect, euphoric euthanization process that'll be objectively more pleasurable than being alive.
Right but with recompose you get extra wrapping components in your tree which is what they were trying to avoid.
True. Usually a degree these days has inflated value, but it says something though, and that's fact that one has made an effort at finishing something.
Exactly. The greatest problem with this article is its underlying assumption that "diversity" is good by itself and that companies should pursue it. The author makes the point that she is not "diverse enough", while ignoring the fundamental issue that measuring "diversity" and showing that it is a goal worth pursuing by itself is non-trivial and problematic. The fact that she is counted as "diversity" while claiming that she isn't is exactly the reason why current societies' and organizations' extreme focus on and overvaluing of diversity is misguided.
What people at that level in any large corporate hierarchy have a healthy work-life balance? I would expect the answer to be near zero.
You're going to have to give it priority over other interests .
I believe the rest of the article is making the same point as you. There are lots of factors at play.
Ask HN: How do you test start up ideas
What are your best strategies for testing start up ideas besides launch the actually MVP?
As a Linux user and advocate, it's really frustrating to see these types of comments being down-voted. Linux still has a ton of issues OOTB, and disregarding negative experiences like this won't make them go away.

I wish that instead of preaching Linux when it clearly isn't ready, we'd spend more time making it ready.
Surprisingly less so in Europe.
Oh thanks, so they’re all patched and it only works against older iphones/non-updated iphones.
Ironically, HR people I have known in the past have been some of the worst offenders in this area...

Think of Zenefits, for example, an HR tools tech company which had to literally create an official policy stopping people from having sex in stairwells at the office.
Photography has never really been about the limits of the camera. Your average consumer will look at megapixels and just assume more is better. A more astute consumer might look at things like aperture size, dynamic range, noise levels, etc. And those things do matter in extreme cases, but a good photographer will be able to produce great photos even with a well below average camera.

People like Ansel Adams aren't known because they had the best camera of the day. Adams is mostly known for what he did in the darkroom, that's where his ability to take a piece of crap the film originally recorded and turn it into a work of art.

Any serious photographer will tell you it's a lot more about what you do before and after you press the button, than the equipment you have. And some really good photographers don't do any post processing, just like some photographers won't move a leaf. But post processing both digitally and in the darkroom have been at the heart of most photographer's toolbox since the beginning.
I put different, more powerful engines in street cars too, also update drive trains and brakes. My point is there is a world of difference between generally understood car building safety metrics and what the insurers are ok with and grafting immature 'self driving' tech into a vehicle.
I'm not knocking it or saying it's wrong, just a very different project with very different safety implications
phishing bullshit
You can use AWS as a simple DO but it will probably be more costly.
DRM on a game, application, or media assets, for example? Which is most of the use of it.
Hire remotely if you want diversity...
There's Planetary Annihilation. Many of the same people who worked on TA and SupCom worked on it. It seems to channel many of the same points.

https://store.steampowered.com/app/386070/Planetary_Annihila...

I've wanted to dig into this game for years, but haven't had the time. What little I have spent was a few campaign missions fighting on planets the size of tennis balls.
> Paying him lots of money to go away seems like a no brainer move here from Google's perspective, but I'm not sure what else they could have done.

The story suggests that he could have been fired without much if any kind of severance package. But besides the worry that such a senior person would file a termination lawsuit, there was the problem that Google's board had given him a $150M stock grant a few weeks after Google investigated the complaint. It's not clear whether the board knew of the investigation before rewarding him, but that sum apparently served as a reference point when settling the matter:

> The $150 million stock grant gave Mr. Rubin an enormous bargaining chip when he started negotiating his exit package about a month later. That is because an executive’s stock compensation — and how much of it they would leave behind — is often taken into consideration during settlement talks.
https://news.ycombinator.com/newsguidelines.html

>Otherwise please use the original title, unless it is misleading or linkbait; don't editorialize.
>I don’t have physical or mental disabilities.

As a woman, you have a bit of both.
I'd say I felt much more rested (but that's obvious) after the first few nights, but overall mood and mental improvements seemed to be noticeable, on reflection, a month or two in. I think even if I didn't feel subjectively better though, I'd keep doing it. I choose to trust our existing body of scientific knowledge about how damaging lack of sleep is and how critical sleep is for long term mental and physical health.
Another fun fact: you can replace the need for ullage acceleration with a Propellant Management Device that uses surface tension among other things to hold propellant enough to fuel an impulse that will settle the rest of the tank.

http://www.pmdtechnology.com/Index.html

For very low accelerations, they can even draw propellant "upwards" against the acceleration.
Care to write a substantial contributing comment, or do you intend to keep this random complaint about the simplification of a common pattern in React as shallow as possible?

Edit: No really, I'd like to hear why you think this would make React a "clusterfuck mess" rather than... simpler.
Why do so many sites have UX like this one, where after you start reading, the text gets grayed out and you have to click a button "Read Full Story"? It's annoying to the user - if I want to read more, just let me scroll.

It can't save that much bandwidth to send just part of the story. Is it to measure user engagement?
Longboarding. Funnier, faster and easier on the joints than running. Complements well a gym workout that is mostly strength-based and never gets boring (unlike cycling in the city to me).
I think it also made sense beforehand. But the main issue is that most companies are extremely risk averse, perhaps even out of necessity. The stock market butchers companies based on their results over 3 month windows. That's really about the most idiotic system imaginable, but it's the one that we have. This is why I think ever more of the companies with big goal driven ideas are staying private. Go public and suddenly everything is about reducing risk and working to min-max on a quarterly cycle, annual in the worst case.

This is really distorting progress in our country because while going public may severely impair any longterm revolutionary goals of a company, it'll also make you [the founders] filthy stinking rich.
Sad news, more welfare recipients.
What a smear piece.

They were having a relationship, and one time the woman didn't feel like giving oral sex and felt 'coerced'.

What does that mean exactly and how do you investigate it? I've pleased people in all kinds of way, including sexual when I didn't feel like it, and I don't go crying about it - it's no big deal.

It's not a company's place to air people's dirty laundry - what happens in hotel rooms of all places, is none of anyone's employer's business. If there was a problem - call the police.

End of story.

The reason Mr Rubin was given an exit package is unknown. It could have absolutely nothing to do with oral sex in a hotel room. How would this mediocre reporter know? He/she doesn't.
There's a great book called "Welcome to Moonbase" by Ben Bova (1987) written from the perspective of an established colony on the moon providing an information handbook for someone recently relocated to live and work there. A lot of ground is covered, from governance, technology, buildings, recreation, mining, food, farming. I have fond memories of reading this book, and this article reminded me of it. I think about that book often, it was, like this article, very inspiring. It's interesting to see how the ideas about moon habitation have, and have not, changed over the past 30 years. The mention of "3d printing" the building structures in this piece, for example.
"covers up harassment and passes the trash" is eerily reminiscent of the catholic church's way to handle child molesting priests.
RE "no water in the air blow freezing", that's not true. In the mountains you can hang your towel up to dry at night. It freezes, then dries through sublimation. Ever seen funny smooth ice formations?
This is nice, but it isn't as nice as it should be. This is a section 1201 exemption[1] which is where the Library of Congress decides there needs to be an exemption to the law and puts it into place for a period of 12 months. Every year they review these exemptions and they often fall off. If you go to the link below and replace 2018 with 2008 - 2017 you can see exemptions for the last 10 years that have been added and removed. If it isn't on the list in the following year, it is no longer an exemption.

What we need is Congress to update copyright law to make these exemptions permanent.

[1] https://www.copyright.gov/1201/2018/
In case you're curious... Isaac Asimov wrote an introductory essay 'The Second Nova' (1974) for a volume of collected stories by Stanley G Weinbaum. This is what he said about Weinbaum's first published story, 'A Martian Odyssey' (1934):

"Weinbaum was the first, as far as I know, to create extraterrestrials that had their OWN reasons for existing.

He did more than that, too; he created whole sense-making ecologies."

It's a really great story! Most of Weinbaum's science fiction is just brilliant.