skysight-inc/HackerNews huggingface dataset:
>Fact is he left with thousands of legitimate documents that had no business being a part of his collection.

Going through all the files by himself would be a daunting task that would take years. There are literally 1,000's of documents. Raising the alarm now rather than 8 years from now is important.

Given the circumstances, grabbing everything and handing it over to a team of respectable journalists (who have a team of lawyers) to find out what is against the Constitution/not in favor of the people (seeing as journalists represent the people to an extent) to allow them to only leak the relevant ones that were crossing boundaries seems like a best decision act.

The journalists can leak documents over the course of years and slowly investigate each one to determine if it crosses boundaries and the alarms should be rung for the public.

Snowden would have had a single release of a handful of documents and gone on a very long vacation in a place nobody has ever heard of had he released a few documents himself. It's expensive to pay for a vacation for an entire group of journalists and lawyers.
As I mentioned in my reply to 'geocar, we would need to model the entire state machine, which (usually) means a stack or queue.

while(queue.Any())
next_queue.Enqueue(queue.Dequeue().Delete());

So, in this scheme you do lose access to the User instance once you call Delete().

A robust solution would probably involve using the visitor pattern to dispatch the correct Enqueue method of next_queue (i.e. we may have multiple next_queues), but as a side benefit of all that boilerplate, refactoring becomes simple, and you can get concurrency for nearly free.
> But we would presumably know about these laws, in advance

Court rulings and legal authorisations to conduct surveilance can and have ... you guessed it ... been kept secret
https://www.reddit.com/r/mildlyinteresting/comments/3lodsj/m...
Most "AAA" wanna be 3D games these days they download a bunch of files.
But word isn't actually big enough on small screen mobile devices to need that.
Office 2016 is 2GB on the PC for it's full installation, if you don't install the fonts, templates, themes help and quite a bit of other nonsense you can cut it by almost half.
On small screen devices Microsoft is shipping the office suit in individual APK's so they are probably still fine within the 50/100MB limit per size considering it's a much cut down version of office.
Waffle Takeout – Waffle.io on your servers
Why can't they just boot of an USB disk for testing?
No it's not strange. It's the only way to make sure everything is working correctly before giving your computer back. If you tell them you aren't comfortable with that they do have workarounds. If they DIDN'T need your password that would be a bigger red flag because it would mean they had backdoors.
I don’t think the author completely understood the DI frameworks. Just because a service in a DI framework is often a stateless singleton doesn’t mean they don’t allow stateful injection: EntityManager for JPA is a great example. Sure, there are other services with absolutely no state, but don’t blame the frameworks for promoting statelessness, it’s a practice promoted by many other software designs e.g. REST. I believe I have enough experience to say that state replications in a clustered environment does not scale and is not worth the pain.

Order.SubmitForPicking() sounds great on paper, that’s until you realize in order to submit an order for picking, you’ll need other value objects such as Customer, Account, Warehouse, Picker, Robot, Supervisor, Audit information …. the list goes on and on. How are you going to inject these info into an Order? And do they really belong in an order? I certainly don’t want to see all of these info in my JSON when I retrieve a single order on the client side.

The moment you move behaviors close to a value object is also the moment a plain object is no longer a plain object. Furthermore, a behavior laden value object becomes hard to evolve, extend and modify. There’s no clear boundary of where data ends and behavior begins, you certainly cannot package them up as a library and give it to your clients, you’ll have to create a separate set of value objects for that and start a maintenance nightmare.

It's kinda sad that Java Code Geek rejected my comments (and many others') and we have to come to Hacker News to express our views.
You should understand that Axel Springer AG is the parent company of Bild, a German conservative populist type sensationalist newspaper and publication that fits almost perfectly with Business Insider. If anything, I think AS may be looking to learn from BI's social media chops and elevate Bild's niveau. In case you are wondering, Bild is very much the same as you described Buzzfeed and BI. It's often dismissed and scoffed at but their sales and views are what every newspaper publisher dreams wet dreams of. The undeniable reality though is that beyond the sensationalism and the NSFA(merican)W nature, they also have broken open many political and economic scandal.
"Just" video in HTML5 is actually trivial. You just put a video in a <video> element and you're set. Maybe put multiple resolutions in and a button to switch out the src. If you want the additional compression of VP9, you can put both a WebM source and a MP4 source in the <video> element and the browser will pick the better one, no Javascript required.

As an example, I think 4chan has the simplest possible user submitted video hosting possible. They don't even need an encoding pipeline, they just serve user submitted WebM files < 3MB. It works quite well.

Where it becomes harder is if you want to do complex things, like slice up content in Javascript to insert ads, manually control buffering with Javascript, try to estimate bandwidth, etc. These are harder right now because the MSE API is pretty new and used by very few websites.
Omni-Channel Retail: Should You Add Brick-And-Mortar to Your ECommerce Business?
BofA Said to Cut Dozens of Traders, Bankers as Revenue Drops
Snowden: Can you hear me now?
That sounds like a nice system. In the US we don't have scanners you pick up at the entrance - it's more like you do the part the cashiers used to do. You pull up to a scanner, scan everything in your cart, bag everything, then put it back in your cart and pay at the machine.

A scale underneath the bagging area keeps tabs on everything you can to make sure you're not cheating the system. (Still, I've heard stories of people checking out all produce as watermelons.)
The other billionaire is Trump, of course.

My point is that if your concern (or pg's) is strictly of the form "minimize the number of innocent people being killed unjustly," there are much more effective reforms available than abolishing the death penalty. For example, switching to the Japanese criminal justice system:

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

Judging by comparative crime rates, this would probably save 10,000 to 15,000 innocent lives per year. And I mean certainly innocent lives, not conceivably innocent lives (like Glossip's).

Of course, it would be a reform in more or less exactly the opposite direction than you and everyone on this thread is suggesting. That's why I posted this under a throwaway.

Which raises the question: if minimizing the number of innocent lives taken unjustly isn't the source of the general concern for Glossip, what is?
So, how many apps can now fit on a (rumored) 16GB Google Nexus 5X taking into account that:

1. APKs will expand when installed (dalvik-cache directory)

2. APKs need to store user data and cache data (think Google Play Services, Chrome)

3. Google's “ecosystem” takes up more than 1.5GB from user-space (services, chrome, maps, google app, gmail, docs, slides, sheets, photos, drive, hangouts, street view, tts-engine, youtube, music, calendar, games, webview, play store etc)

4. User will want to store a few photos and videos on his phone and maybe have some offline music.
Lucene is moving away from TF-IDF to BM25 as the default. Pretty similar idea, but tends to performs a better with short content.

https://issues.apache.org/jira/browse/LUCENE-6789

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

In the very limited test cases where I've compared them it hasn't mattered much, but other's results are pretty compelling.

https://www.elastic.co/blog/found-bm-vs-lucene-default-simil...
What's the JS interop story with GopherJS? Is it possible to import native JS libraries and use them?
I'm doing a lot of tree transformation stuff at the moment where it comes up a fair bit. Thanks for the pointer, I'll give it a try.
Intra-site, they can be rather common. My Amazon and Etsy logins have long wishlists.
Switzerland, Netherlands and Norway are a good starting point. I believe that now that privacy became a major concern, we will see countries with some legislative background and experience in other sectors that require secrecy above everything else (e.g. private banking), evolve in secure havens for servers.
This job swapping problem is a different sort of problem. In your example, I have cluster saturation as a concern. Google would love to saturate their cluster, but I would wager they usually are nowhere near saturation (scheduling a job on Borg takes something like 90 seconds at minimum; there's a lot of ground to cover). The innovation in optimistic schedulers is that you can have multiple schedulers running against a master state. This is in contrast to a single scheduler, single state system like Mesos (forgive me if I've misspoken about Mesos, but this is how I remember it).
Its really all just a show. Our economy runs purely on the perceived confidence built through illusion and leveraging the immense natural resources we have.
I've had 5 packages in my life delivered by laser ship, and they fucked it up in various ways each time. I hate when I see a laser ship tracking number.
Actually it is an excuse. Callousness is about intent. Someone isn't being callous if they have no idea.
My company's app is a free install, and we have a fat binary to download on our website... but people still post and use the slim binaries elsewhere. Would be amusing if it were pirates though :)
In iOS9, there's at least "Siri Suggestions" at the top, then intermixed with all your apps there's "Bing Suggestions" and "Spotlight Suggestions", then there's a "Suggested Apps" in the separate "Handoff & Suggested Apps" settings screen, then there is "Suggested Apps" in the "App and iTunes Store" settings screen, then there is "Safari Suggestions" and "Search Engine Suggestions" in the "Safari" settings screen. I have no idea what half of these actually do though. Very confusing.
It makes you distrust the people teaching you - if they're going to answer your legitimate question with circular logic, it shows that they're missing some info and not willing to admit it. So they're either lying or wrong about this thing, and who know what else they're lying or wrong about?

Similar logic puts some people off of Christianity - x is in the Bible, and we know the Bible is true because the Bible says it is true, therefore x is also true. Hmm. Someone who tries to sell you that logic is also either lying or wrong, now you can't trust either that person or the Bible.
If you are concerned about the release of some of these documents, why aren't you focusing your attention on the crimes in government and the failure of oversight that made public disclosure necessary. Would you prefer Snowden had stayed silent and the crimes he revealed remained unknown?

Everybody makes mistakes, and it is reasonable to assume that someone trying to bring documents out of a state agency so the people can see them isn't going to have the luxury of time. This attitude that a whistleblower is somehow supposed to be perfect is suspicious; attempting to seed the meme that Snowden was anything other than a whistleblower, while diverting attention yet again from the crimes of a rogue intelligence agency.
Why shouldn't they do that? I am pushing cost for ingredients, kitchen maintenance, insurance, etc to a restaurant when I eat out, and that's great. That's what they specialize in.

Have drivers handle the driving side, and dispatchers pay when they need someone to deliver a person or parcel. There's no reason they have to be linked.
I have DRM content disabled in Firefox (41; Windows 10) and it plays using the HTML5 player just fine.
Wellness+And+Your+Next+Relationship
You asked your ex what your worst qualities were? I respect your courage.
How to Scale Your Company Culture
citation still needed. Don't confuse 60s TV shows with reality.
Identifying Unused AWS Resources to Control Costs
Meanwhile at ITV... https://itvplayer.uservoice.com/forums/247805-general/sugges...
> The pizza delivery driver doesn't get any of that delivery charge.

When I worked delivery, back in the mid-Triassic period (or early 1990s, whatever), I got $1/delivery (which was better than mileage reimbursement would have been) even though we didn't charge for delivery, and similar practices seemed to be common at other places providing similar services. If the now dominant practice of adding service charges for delivery has been accompanied by eliminating delivery pay to the people providing the service, well, that sucks for drivers, in the same way that it would suck if a restaurant put a "service included" charge on the bill and but paid its service staff the same base (below-minimum-wage) pay that is typical in tipped positions.

OTOH, if that dishonest practice factors into my decisions at all, it would factor into my decision not to frequent the business in question, rather than a decision to subsidize the bad practice by paying both an in-the-bill charge for the service and a tip for the service.
The BBC is not state-funded. The BBC is funded by the licence fee, which is not compulsory. If you don't have a TV and don't watch live broadcasts online, you don't have to pay it. (I don't.)
But a good bar bet should convince the mark he has the advantage. If the paper is correct then one direction has odds of 58%. You should be able to split the difference, offering $0.54 to my $0.46 and still have a 4% edge. Fool that I am, I would think I have the same edge, since I erroneously think the odds are 50/50. Since that makes us both convinced we have an identical edge this is the fairest bet.
Yes he did, to journalists.

Before the downvote button is spammed: He simply did not have time go go over every single one of the 100,000+ documents he claimed to leak, and give them to journalists in an intelligent manner. There simply was not enough time between him leaving the country and the documents being revealed for him to have done that.

So yes, he did very much indiscriminately leak them.
It really does seem like a race to the bottom at this point, but it's a releif to see that we're starting to move past calling people theives for ad blocking. Except for the scolding, this situation reminds of the days shortly before everyone had popup blocking built in to browsers; for normal people the internet is broken, and for us, it's hard to realize how awful it is until we use grandma's computer, and get a horrifying reminder of how the other half lives.

If someone's business model relies on exploiting security flaws on the client, they shouldn't expect to trade on that forever.
Google Announces the LG Nexus 5X and Huawei Nexus 6P
That seems more ideal, and gives the drivers an incentive to be courteous and professional and not "stick around".
Firefox 41 here (and located in UK) - I also get prompted to install flash.
EDIT: Cleared cookies and opted int again, seems to work for me now.
Today's safely encrypted data is tomorrow's open book
What the thinker thinks the prover proves. Instead of starting some metaconversation, it might be more productive to address how this information is new news or why the NSA should not be spying on foreign intelligence?
Grit is hard to come by for kids. You never find yourself interested in 'the whole field of music'. You find yourself drawn to the immediate. Seeing a piano in front of you, you might want to learn about it. You might get turned off the exact same way.

Unless your parents are directing you, childhood is a random walk through the universe of creative possibility.
Does anyone know of any other AMAs Gayle has done?

This AMA was full of wisdom and I would love to see how she would respond to other questions that I forgot to ask this time around.
A New Map Traces the Limits of Computation
(Orchestra dev here too!) That's a great question. We're hoping that emerging online expert communities like Upwork or Dribbble will make it easier and easier to find experts suited to the work, but it's definitely not a solved problem (or tech recruiting would be so much easier!).

Re: MTurk, there's nothing stopping you from stitching microtasks together with Orchestra, but I think that undersells Orchestra's strengths (e.g., collaboration among workers) a bit.
Infected ATMs gave away millions of dollars
Here are two papers that describe the techniques used by the FDA system (or that were used in the mid-2000's) to find these confusable names.

"Automatic identification of confusable drug names" (2006, http://goo.gl/W5DK0f PDF)

and

"Identification of Confusable Drug Names: A New Approach and Evaluation Methodology" (2004, http://goo.gl/RziUgf PDF)

Both by Grzegorz Kondrak and Bonnie Dorr.

I've used the BI-SIM in a medical-informatics system and it does quite well. I'm also a big fan of EDITEX, which for some uses is better.
It depends on the kind of housing and street layout. If you're in suburbia, walking to your street vs walking to your front door is a difference of 20 feet.

Also note that for many neighborhoods in the US, picking up the mail is a PITA - there's a collective mail box somewhere in the neighborhood that you need to walk to, usually a several minute walk. Door-to-door mail delivery only exists for houses that are several decades old.

If I could get a business to gather my postal mail & packages and park outside my door I would be very happy.
It's more of a lie by omission, I think.
That does sound less pleasant. Now that I'm thinking about that, I've encountered a system like that once. I think that was one of the first supermarkets trialing self-checkout. The system disappeared soon after and got replaced by what I've described.

It is quite easy to cheat the current system, though the random sampling helps some. I think someone somewhere made a decision that it is worth it to improve customer satisfaction and deal with some losses, but I have no idea.
Exactly. At those wholesale rates, $3 per KG of cargo via air even with a few days delay is amazing in the possibilities it raises, from production to usage.
Police use parallel construction when they don't want to reveal their methods. I seriously doubt law enforcement would engage in parallel construction if it had access to iMessage but Apple asked it to.
It is indeed a typo, sorry about that!

I've fixed it [1] after confirming [2] (yet again just now; I've ran those numbers many many times so I'm very confident it's not a one time fluke).

Thanks for catching it. You're also welcome to try to confirm the results yourself, they should be reproducible!

[1] https://github.com/gopherjs/gopherjs.github.io/commit/acea7a...

[2] https://gist.github.com/shurcooL/02183a57c51b28eaadf4
They would also get the option to charge non UK residents for access. There must be good reason they don't do this but it would certainly mean UK residents could access content while abroad without having to pretend they were at home and stop non UK residents 'cheating'. Would love to hear from the BBC if this is being considered.
I don't think anybody really associates couriers with sellers - they're part of the infrastructure. It doesn't really count as "contact with the customer" (unless you see it as a business opportunity - making the experience special - which for some reason no one takes).

E-commerce businesses do however have strong incentives to ditch the completely unreliable delivery companies, because they cause a lot of mess on the business end (besides angry customers, you waste a lot of time finding the package and scolding the delivery people). As a result, most delivery options suck equally.
Oh I look forward to your paper detailing the studies and data that led to these completely objective conclusions.
Ask them what their range is, without telling them your current salary. If they insist, say something like "That's not particularly relevant. It would take $X for me to take the job."

That way you don't have to lie about what your current salary is, but you don't give away information that is not in your best interest to give. You try to get them to give away information, which is great if it works, but you have a next move if it doesn't.
It's funny, but I feel a strong aversion at apologizing for offending someone when I didn't mean to. (I'm not being sarcastic).

Having thought about it, it doesn't really make sense, since I'd apologize for hitting someone even if I didn't mean to, and even if I couldn't be reasonably expected to hit them.
GopherJS compiles to "readable" JavaScript, so yes. You have to do something like js.Global.Call("functionname", arg1)
Location and a Startup's Likelihood of Success
Edward Snowden's just created a Twitter account. I've never seen the follower count go up that quickly: https://twitter.com/Snowden
Locating data outside the US is in no way a defense against US intelligence agencies. There are theoretically controls on domestic spying, and some possibility that Congress could make it illegal. They have a mandate to spy on foreign networks.

If they haven't cracked your European email provider, then they're not doing what we pay and order them to do.
In fairness to the prosecutors, it is really, really hard to prove insider trading cases. You have to prove, with evidence, that the person traded on confidential information. Short of already wiretapping someone's phone or email, that's hard to prove. That said, I still can't believe the number of people who stupidly send out this information over email or text, rather than face to face.
Working on a personal project built with rails and reactjs :-)
I disagree.

Grabbing everything because you don't have time to sift through the data and passing them to so-called "respectable journalists" doesn't make it right. In the same way that people claim dragnet surveillance is wrong to catch terrorists if it's violating the privacy of everyone else.
That's not an operator, it's just precedence rules.

while ((x--) > 0)
Shouldn't be surprised to see so many people tripping over each other to be offended on this site. I'd think that the same diverse group would also be cognizant enough to know that not every person visiting this site is going to know the history of every ethnic group in the world.

It's an blog post dude, not an insensitive advertising slogan for a new foreign market, get over yourself. Assume he didn't know any better and move on.
She spent so much time (over two hours!) going through each of these questions, and giving long, well-thought-out, individual responses. It was really great, and I hope to see more stuff like this in LSH's future!
Imagine people had refused to use the calculus because no one could really answer what an infinitesimal value really was.
Sometimes you just need to make progress.
New Survey Shows Tech Pros Really, Really Hate Their Commute
I suppose it's just a result of "maths is boring" complaints, hence the attempt to make things a bit more attention-grabbing, but I agree that it distracts from the actual content. Maths does need deep thought and reasoning, which more plain textbook design facilitates.

I remember using the books of Durell[1] when I was in school, and those were definitely quite plain.

[1] https://en.wikipedia.org/wiki/C._V._Durell
Amazon vs. Uber for the gig economy