skysight-inc/HackerNews huggingface dataset:
It can easily make sense.

Consider a very simple model, where each person in the country has a probability `p_i` of the chance that they vote for party A, and `1-p_i` that they vote for party B.

Now if we have access to the values `p_i` of all `n` people in the population, then probability that party A wins can be calculated as

P = sum_{a \in {0,1}^n with |a| > n/2} product_{i = 1 to n} {p_i if a_i = 0 else 1-p_i}

(The precise formula doesn't matter, but clearly it can be computed.)
Now assume that we don't have all the values `p_i`, but only the values of `k` people randomly sampled from the population.
Then we can calculate `P` on these values to get an estimate of the probability that A will win the election.
Our result clearly won't be exact, but we can use statistics to find values `P_1` and `P_2` such that the real value of `P` is in the range `P_1 <= P <= P_2` with high probability over the random sampling of people.

Here we have assumed an underlying random model, which has a probability, and we can estimate that probability within error bounds.
We could try to calculate

P* = sum_{way of sampling k people} (probability of sampling this way) * (probability A wins in this case)

But then we don't know how likely a certain set of `p` values is to be sampled, so we have to guess. Hence we are mixing uncertency and probability.
Real statistical models have many different levels of uncertainties and probabilities like that.
F# is high on my list of things to dive into when I get time.

I've also got Seven Languages in Seven Weeks in my queue of books to go through.

Do some DirectX or OpenGL graphics work.

Play with mobile development, either native or Xamarin.
within out lifetime the oceans will be completely destroyed

A bit of an exaggeration, no? There have been several mass extinction events in the past and yet the world exists today.
Sure they can, especially on MPLS circuits sold for exactly this reason -- and with SLA commitments to deliver packets w/ specific markings within specific parameters (i.e. up to 5 Mbps of traffic marked ef will have maximum latency of 30 ms between A-Z).

Not on your home Internet connection, perhaps, but if you're a company and you want guaranteed performance levels (i.e. for VoIP traffic), you can certainly get it.
One man with a gun can control 100 without one. -Vladimir Lenin
It should be there! https://jobs.lever.co/amplitude/c40e24a6-1452-4c5c-9e95-7dc2...
This is exactly why Flynn resigned, so he's in hot water.
There's no need to exclude -0.0, since mathematically and by all tests available to the floating point unit it's equal to +0.0.
SoCal does have a feeling of superficiality, you can pick up on it a little after people move back to the Bay from LA.... but then again the Bay so many people that have this feeling of entitlement that came outta no where.. just something I've noticed within the past 15 years....

On the flip side, there are also a handful of people that I met around from both areas that are down to earth. Maybe it's just high concentration.... or monkey see, monkey do.
While that may be true, I think what this boils down to is a form of prosecutorial discretion, where the discretion is in the hands of the ruling party.
This is why I finally decided to subscribe to the NY Times. We should support real journalism, for it is in jeopardy now.
How Location Analytics will revolutionize the Retail industry
It’s also going to be stepping up its efforts with mixed reality on Windows 10 on PCs, which is a core feature of the forthcoming Creators Update for Microsoft’s desktop OS.

So another update that will fail to install on my force-upgraded laptop from 2009, but will still try every day, no matter what, whenever it feels like it?

Anybody in the market for a laptop shaped brick for cheap?
This is becoming the next Watergate. Isn't it?
Not being able to legally fire an employee that isn't working out can put a lethal amount of stress on a new company. New Zealand can do whatever they like but this can deter new businesses from operating there. Which is fine but is worth knowing about before you do so. That is all I'm saying.
It's great to see the press bringing the duplicity of Trump's cabinet to light. I worry though that they've inured us to scandal. This would undoubtedly be a debilitating scandal for a normal administration, but at this point I think people almost expect Trump and his appointees to tell big lies.
Lots of criticism in this thread by folks who are missing the point.

@mattrobenoit -- neat idea and the 70% savings in bandwidth is awesome. The side effect of helping mitigate the S3 issue for you was a sweet little bonus!
I'd put this closer to a $200 cut, just because the hand controllers are so incredibly vital to enjoying VR.
Dude I was mind blown when I saw that the exploit for a 3DDS was vectored via a sound file?

But my personal favorite was the GTA exploit on the PSP, good times :D
What happens next?

Assuming that Congress wants to make the actual precedent of pushing for criminal charges for perjury (hint: they don't) you would have to actually establish that perjury occurred. He was asked about whether he discussed the election, not whether he discussed anything at all.

The press really is running with this Russia stuff though. It's pretty impressive. What exactly is the angle? Why did Russia want Trump to win? Did he promise to hand over the Crimea or something? Does anyone know?
Here's what George W. Bush's ethics lawyer has to say:

https://twitter.com/RWPUSA/status/837136831405752320
It's great that this is finally happening, I just wish it happened a few years ago. But hey, I'll take what I can get.
I was told that full-stack backend position filled up.
Email stephan.kemper@viasat.com if interested! I always forget that part :(
Perjury, like libel, requires intent and a lack of ambiguity - you will not see a perjury prosecution from this.
That machine learning stuff which has been around for the past 60 years out of humanity's, what, 10,000 years of 'modern' humans (starting with the invention of agriculture)? That's only really reached parity with humans on a broad range of cognitive tasks in the past within the last 5-10 years?

Yes, that stuff.
VOICE as Trump’s Reichstag Fire
"Sessions last year had more than 25 conversations with foreign ambassadors as a senior member of the Armed Services Committee, including the British, Korean, Japanese, Polish, Indian, Chinese, Canadian, Australian and German ambassadors, in addition to Kislyak"

Ehh, I probably buy this "I didn't meet him as a Trump surrogate" line(he was head of Senate Armed Services committee?), but this is exactly the kind of pointless reactionary conspiracy fueled pablum that the Trump campaign ran against Clinton. You made the bed, now lay in it.
And this is the reason why I finally canceled the WSJ subscription. BTW, just want to applaud to NYTimes and Washington Post for the great job they have been doing under such pressure from Trump.
I don't understand the problem with this. In Ben Gurion airport in Israel, if you look like a religious Jew you'll most likely get asked questions regarding the Torah portion of that week.
Currently to do it properly it's by killing poor people.
Clapper directly lied under oath to Congress and nothing happened. This will be no different, the thing that's sad is how hypocritical and partisan the HN community shoes itself to be.
Show HN: Safe-bundle-update, safely update your gem dependencies
There is nothing here to prove that he perjured himself.

From the article:
In January, Sen. Patrick J. Leahy (D-Vt.) asked Sessions for answers to written questions. “Several of the President-elect’s nominees or senior advisers have Russian ties. Have you been in contact with anyone connected to any part of the Russian government about the 2016 election, either before or after election day?” Leahy wrote.

Sessions responded with one word: “No.”

Justice officials said Sessions met with Kislyak on Sept. 8 in his capacity as a member of the armed services panel rather than in his role as a Trump campaign surrogate.

“He was asked during the hearing about communications between Russia and the Trump campaign — not about meetings he took as a senator and a member of the Armed Services Committee,” Flores said.

___

Unless they can prove that the meeting was related to the election then it seems unlikely that this was perjury.
This is why I love HN. So much of global warming discussion is about reducing our current effects on the environment. If we can geo-engineer effectively and safely it won't matter.

I fear humanity may be in a race condition between our ability to engineer solutions and the problems that come with scaling our population.
Yes, you need to get the SOX into the stratosphere, so it doesn't rain out so fast.
Alteryx – S-1 Breakdown
Could c'est normal be translated "That's how it goes"?

I am not fluent in French, but I know that just because English has a word that looks like a Latinate one, it doesn't mean we use it the same way. In English, "normal" has two uses. First, it has a kind of insulting meaning, like "boring", "average", etc., as is often captured when people say things like "I don't want to be normal, I want to be unique." When we use it more straightforwardly, we tend to limit it to medical or scientific situations: "My blood pressure is normal." So it feels a little stiff.

Another thing to think about is whether a word's meaning is bent by its sound. In English, "normal" is stressed on its first syllable. NORmul. It kind of just stops there and stands, boringly. But isn't in French it stressed on the second syllable? NurMAAAAAL. It kind of trails off, and by doing so, seems at least to me to convey the meaning of "Oh whatever, c'est la vie, that's just how it goes". So you have to use an English word that also trails off, like goes.
Do you think he's not telling the truth? When the CBP states it "does not administer written tests to verify a traveler’s purpose of travel” I'm not sure what could make this seem more authentic given any evidence from the CBP will never be shared.
Yes, const in C++ is interesting, though not as powerful as my proposal, for many reasons:
- A const function can modify its arguments
- ... and global variables, as you said.
- You can always const_cast it away.
- A non-const function doesn't identify which argument it mutates.

As for sandboxing, I was talking about sandboxing a library within the app, which is a language-level issue. Not sandboxing the app as a whole, which is more like an OS-level issue. Perhaps your root shell uses a parser and you want to prevent bugs in it from crashing your shell...
They'd have to jack up subscription prices 500% to just cover the AWS bandwidth charges!
Clever idea. Maybe HN could benefit from it?
Finally! Just after decades of support, NYT doesn't like current administration. Real journalism would be NYT asking to revoke Obama's Nobel prize. Did I miss this masterpiece?
It's funny how all logic completely goes out the window when politics is concerned. Otherwise super bright people I know just start uttering the most random of things. Welcome to politics as sport. As long as my team is winning, who cares.

The question posed to him during the hearing was did he meet with Russian government about the campaign. Senators meet ambassadors. It's what they do. As long as he didn't negotiate for Trump, it's all good.

That being said, a special bipartisan prosecutor makes sense. Session should recuse himself from this issue.
If the president actually colluded with the Russians I'd say it's substantially bigger than Watergate.
I really hope I'm cynical and wrong but I doubt it. Without congressional investigations nothing will happen. So far they haven't really stood up to Trump on anything else, not sure why they'd start now.

Maybe after they repeal the ACA and cut taxes on the rich they do something, but they'll need Trumps cooperation to make those first two things happen.
The statements about jobs not being destroyed is about _aggregate_ jobs. If you pick any specific group of people (or animals) you can find many examples of groups losing jobs. Hopefully this doesn't come as a surprise to you and hopefully you can see how these are different things. Markets shift, that's the whole point of markets, and when they do it's very painful for those they shift away from. The most poignant example of this is that a smaller percentage of Americans have jobs now than they did in the 70s (and even as recently as 2008). But those jobs have gone to other countries and perhaps there's a good reason for that.

> Saying that automation has not destroyed jobs is simply a lack of imagination on the part of these researchers.

I honestly burst out laughing at this, what do you think these researchers have failed to imagine? The idea of confining their view strictly to horse employment and not considering the employment as a whole? Researchers shouldn't be imaginative in how they approach experiments, they should be scientific and precise. If they don't like the results they get they shouldn't imagine new definitions of employment that justify their preconceived notions.
Mitigating an AWS Instance Failure with the Magic of Kubernetes (Spire)
"var output = (*byte)(unsafe.Pointer(m))" This will give you the pointer to the byte slice object which may have its own structure which is opaque to you and this is not same as "getting the pointer to C byte array". It is weird that it was producing correct results at all :)
The problem with solutions like these is you see global outages, like googles global VM outage last year.

Also from the public description this sounds like one big system, ie the second "region" may not be a public Google Cloud region. Just as much chance of an outage,
Meeting with a government ambassador in your role as head of the Senate Armed Services committee and claiming you didn't talk about the election is a far cry from meeting with the Attorney General potentially set to potentially prosecute your wife and claiming you only discussed your grandchildren.
Understood, and I concede that this veered off-topic, hence the talking past one another.

And hey, I love "Frank Sinatra Has a Cold" as much as the next person.
Subscribe now! Support this coverage!

https://subscribe.washingtonpost.com/
I got a bit confused by your post. I gather that you are simply recording the fact that the title was changed in accordance with the posting guidelines, not that you are complaining about it. Just in case other people were similarly confused...
Can the admin make this the preferred format and include it in the question itself? and perhaps move this comment down so that it won't push down the rest of thread.
It will probably take several weeks before it is possible to purchase put options on Snap.

The cost of LEAPS is very high when they are purchased on speculative companies. For example, take Tesla.

Tesla closed today at $250. To purchase an "at the money" $250 put dated January 2019 (aka a LEAP) would cost you $54. So TSLA stock would need to fall below $196 at expiration before you began to make money on it. That's a simplification because you could always sell your put early, possibly at a profit. Buying a January 2018 put would be cheaper, but still quite expensive at $37.

To reduce the cost of a put you can buy one that is "out of the money". For example the TSLA $200 put dated January 2019 would be cheaper, only $31. However, TSLA would need to fall below $169 before you made any money at expiration.

So, look at that last example. TSLA now $250, you pay $31 now and you don't make money unless TSLA closes below $169 at expiration.

Math like that is why sophisticated investors often short stock rather than buy puts. They need to pay a price to "borrow" the stock to short but for many companies that price is quite low, below 10% a year. The cost of buying put options on the same stock could be two or three times as high as directly shorting the stock.

When SNAP puts become available I expect the math to be much worse than for TSLA. It will cost A LOT to buy puts on such a speculative company. In trader talk, the "implied volatility" will be very high.
Thank you. <3
Let's not descend into this circle of hell, please. Such comments are not allowed on HN, regardless of whose politics are which or how wrong they are
I agree. The only thing I'd change is can't -> won't. We won't do it, we refuse to.
From the NYT article:

----------

On Wednesday, a Justice Department official confirmed that Mr. Sessions had two conversations with Ambassador Kislyak last year, when he was still a senator, despite testifying at his Jan. 10 confirmation hearing that he had no contact with the Russians. At that hearing, Mr. Sessions was asked what he would do if it turned out to be true that anyone affiliated with the Trump team had communicated with the Russian government in the course of the campaign. He said he was “not aware of any of those activities.”

“I have been called a surrogate at a time or two in that campaign and I didn’t have — did not have communications with the Russians, and I’m unable to comment on it,” Mr. Sessions said at the time.
The voice of vacuum
And Snapchat recruiters are talking to me about coming over and helping their data scientists productionize their models and monetize their data. Why not both?
I'm in the same position as you, personally I'm going with rust + desktop (gtk, don't bother with gtk if you're tied to windows btw) development for something different. I'm pretty sure rust will have a bright future. Prior to that I was brushing up on c + gtk, which is definitely a culture shock but in a good way.

I haven't really been interested in go because it covers the same ground as .net but with a(IMHO) worse language.
Hockeystick | Data Engineer, Software Engineer | Toronto, Canada | Full-Time | Canada Citizen or Permanent Resident

We're a fintech startup (https://www.hockeystick.co/) with a big vision for using data to improve how private capital markets and innovation clusters work. With Hockeystick, you can automate your data collection and reporting process while making use of that insight for better analysis. Funds can capture private company data and measure portfolio performance in less time, and even evaluate the quantitative and qualitative impact of startup programs and services with ease.

Our small team is set to accomplish some lofty goals this year and we want you involved.

Roles we are hiring for include:
* Data Engineer - Python, ETL, SQL, DevOps
* Software Engineer - Ruby on Rails 4, Javascript, React, HTML 5, CSS 3

For more information, please visit https://www.hockeystick.co/about#jobs or forward your CV to jobs@hockeystick.co
Lyft Is Said to Seek New Funding as Its Rival Uber Stumbles
I don't think so.

Supermarkets and e-commerce are entirely different competencies and I have no trouble believing that being good at one doesn't give you a tonne of advantage at the other.

Putting some startup's tea-bot into a store is far easier than integrating that tea-bot into an online ordering system.
For a 64-bit floating point number, the difference between [0,1) and [0,1] is for all practical purposes nonexistent. The chances of getting 1.0 exactly are so low that you can't build a test to know if it's excluded or not.

For a 32-bit floating point number it's more of a problem, but your application would have to be extremely demanding to detect the difference.
It's a good line, but then you read that none of the other members of the Armed Services Committee have confirmed contact with the Russian ambassador. It then reads a bit more like an excuse, albeit possibly an acceptable one.

> The Washington Post contacted all 26 members of the 2016 Senate Armed Services Committee to see whether any lawmakers besides Sessions met with Kislyak in 2016. Of the 20 lawmakers who responded, every senator, including Chairman John McCain (R-Ariz.), said they did not meet with the Russian ambassador last year. The other lawmakers on the panel did not respond as of Wednesday evening.
Please don't post garden-variety political stories to HN.

This kind of thing is off-topic here and would easily deluge the site if we didn't actively prevent it from doing so.
But there seems to be a recent surge in data center construction in the area, with something like 7 (?) new DCs being built right now.
Well, I'm talking about "state of the art" apps. You can always fallback to server-side rendering/pure html if the connection is too slow and you can't afford the boostrap/init download. Depending on your use case SPA may actually be an improvement as the static resources can be cached. WASM is supposed to compete with native apps. Why don't you complain about MBs to download on native apps?
AWS Lambda – Best practices
Video song by footpath girls
> The ad division has taken something that the editorial division was doing, and engaged in a bit of light blackmail.

Sure, that's definitely how it was presented. I'm just saying that we've been given a story, and very little to back it up. I'm not sure where these emails are they are referring to, and if it's possible to corroborate the story, but I think it's worth noting how little sources were cited, and how we got snippets of sentences, not even a single full email. Neither Snapchat nor Everytown are on record in the article either. Do I believe there's some truth to the story? Yes, and my other comments go into detail on that, but I don't think we should be immediately believing everything presented here without corroboration of some sort, just because it fits our current worldview.
No, it didn't. Take your lukewarm half-formed boilerplate takes elsewhere
Lots of small incremental changes; buttons, inputs and textareas (different hover/focus styles), ... Not surprising considering they rolled out the new header not too long ago.
Sessions had contact with the Russian ambassador as a member of the Armed Services Committee, not as a campaign surrogate. This is a non-issue.
> They also offer Amazon "Fresh" which is essentially the same service except they don't skirt labor laws by classifying their employees as contractors.

At least in DC, the Amazon Fresh (and Prime Now) drivers are definitely just random people in their own car, the same as Instacart.
I'm not certain this makes total sense since one company is based in Silicon Valley and the other is based in Seattle/Redmond which has very different cost of living figures (granted WA is now catching up to the valley). And to top that off, as a coder myself, I doubt I will simply decide to start coding for fun once I meet some mythical salary figure.
His answer to Senator Franken is more damning.
https://www.youtube.com/watch?v=2BpgHcanjCQ

"I have been called a surrogate at a time or two on that campaign and I did not have communications with the Russians. Um. And I'm unable to comment on it."
There is currently a developing story about how various players intersect in the Ukraine. The short version is the Trump lifts sanctions against Russia, a Ukranian politician named Artemenko leads the charge to oust the current Ukranian president Poroshenko on corruption charges, and Russia keeps Crimea. This was outlined in a document hand-delivered to Michael Flynn, the disgraced/resigned National Security Advisor, by Michael Cohen, Trump's longtime personal lawyer with massive interests in the Ukraine.

It's an unholy mess and Talking Points Memo seems to be doing the best job of tracking this facet of the ongoing trainwreck.

https://www.nytimes.com/2017/02/19/us/politics/donald-trump-...

There's also this fantastic New Yorker story just published that outlines the Russian position generally. Shorter: fucking with the U.S. was worth it to push back against American arrogance and to assert Russian worth on the world stage; didn't expect it to work this well.

http://www.newyorker.com/magazine/2017/03/06/trump-putin-and...
Rent dresses/tuxedo