skysight-inc/HackerNews huggingface dataset:
Reading the blog post the complaints on no Data Integrity seem to be a symptom of not using models/data store correctly. Problems not specific to Django or any other web framework.

1. Data races - Use a combination of model versioning and uniqueness checks to prevent data races.

2. get_or_create/update_or_create - Duh, the atomicity is enforced by the parameters you use. Create unique indexes on the model for the things you expect to use in your parameters
Thats why after 8 years, i have 100+ reviews, with 100% feedback. shit i should put that on a resume.
The idea that Freedom of Speech is just a thing from the US constitution is particularly odd if you're not from the US. Freedom of Speech is, surely, a measure of how free you are to communicate your message to other people.
This might be the coolest visualization of evolution ever
My mind always creates an image of a person I'm reading about. If there are no physical characteristics, it actually makes reading harder. Fiction writers generally know how to paint this picture (except for the very bad ones), but in journalism it's not a given.

So I'm glad that long-form non-fiction authors expend a few words on this. Height + "sexy librarian" is certainly not the most elegant formulation, but it's enough to avoid the frustrating blankness of an unbuilt narrative actor.
I'm in agreement, but generally pessimistic that there will ever be a sufficient number of "we."

Voicing my dissatisfaction outside of a news cycle where they're in the mud gets me labeled a hater, neckbeard, out of touch, a hardliner, or any of the dozens of bog standard reasons to dismiss criticism.
Some would say the US has two grids and Texas had one.
At least it's not a giant pile of cocaine I guess... Edit: that was a bit of sarcasm, as these usually don't get reported...
A similar, and perhaps more amusing, situation happened in Canada a few years ago. We have a 245.5% import tariff on cheese (why? Because dairy farmers are more important than poor people, apparently) but there was a much lower tax on "food preparations", including packaged pizza toppings.

So companies would package up "pizza topping kits" in the USA, import them to Canada as "food preparations"... and then remove the cheese, which could be sold separately for far more than the cost of the complete kit.

After a couple years, the classification rules were amended to exclude anything containing cheese from the "food preparations" tariff class.
Not directly related to this release, but for any CoreOS folks reading, you might want to take a look at the comments here: https://www.reddit.com/r/docker/comments/51pnra/moving_from_...

I really like CoreOS and rkt. At my company we're building our next generation infra on CoreOS and Kubernetes with Docker. We'd like to switch from Docker to rkt eventually. The two things blocking this for us are:

1. rkt is focused on production usage (which is good) but is completely lacks a development workflow akin to Docker Compose and Docker for Mac. (Kubernetes is not a suitable alternative to Docker Compose, before someone suggests it.) Since rkt doesn't use a client/server model like Docker, having a seamless experience with a VM like Docker for Mac where the client on the host is just sending requests to the server will require some work, or a different approach altogether. Yes, we could use rkt only for deployment and develop with Docker, but that complicates our stack in a way that just doesn't provide the benefit to justify it yet.

2. Integration in Kubernetes at the same level of maturity as Docker. As mentioned in that reddit thread, "rktnetes" is currently described as a "work in progress." I remember somewhat recently that official Kubernetes release notes introducing rkt support literally linked to a Google Doc filled with issues. Kubernetes itself has very bad documentation, so linking to a Google Doc isn't a huge surprise, but it still shows that rkt support is still very early. It will happen, certainly, but it's not there yet.
> it has generated electricity 100% of the time the sun was shining

They've done studies, you know. 60% of the time, it works every time.
There's a Zappa piece from "Yellow Shark" about this - "Welcome to the United States."
The main point was that film isn't interested in exact photorealism. As you said, it doesn't matter, because the simplified models are good enough. Therefore it's unlikely that the film industry will be the first to produce a fully computer-generated video that will be indistinguishable from a camcorder capture.

The reason most of the CG you see in TV or movies looks very good is because they take place within real video. We're not looking at a completely CG scene -- it's mixed with video from the real world. And that's a perfectly valid technique, but my comment was talking about 100% CG.

A secondary point re: the film industry is that artists must necessarily retain control of the art pipeline in order to create scenes that advance the plot. That requires the art pipeline to be flexible. The more flexible your art pipeline, the more productive your studio is. Yet that flexibility is precisely opposite to realism. Obviously, the more realistic a purely CG scene looks, the less flexibility you get, otherwise it wouldn't appear real; hence the argument that the vfx industry won't be the ones to produce the elusive fully-CG fully-realistic video. (It doesn't make financial sense for them to do so, if nothing else.)
Honestly, after the last year and a half, anything that wants root access, that is not open source, is out. Now, being open source does not make that automatically safe but it is a step in the right direction. Dropbox, MS Office, etc, are closed source tools that puts too much at stake.

Granted my team is small, but we just uninstalled dropbox today. Going to use the web interface and look for another solution in the meantime.
Dude, just pay the $1.99. It's a quality app with no ads, and it's, what, 0.3% the cost of the device you're running it on?
Oh...I assure you they do! Why? Because these fees come out of profits.
Now leave that bottle on a shelf for a week, and see if the original bears any resemblance.

It won't.

This isn't controversial, it's basic chemistry. The aromatics in truffles (excluding 2,4-dithiapentane) are water-soluble, not fat-soluble. Applying heat to your truffles-in-olive-oil mixture is not going to change this simple fact.
> Nobody's offended by your choice, that's your personal call, but to think that your particular decision is one other people can or should make, forcing your will on them, is pretty arrogant.

We are talking about physical reality here. Arrogance doesn't even enter into it. We each, as individuals, make choices, and those choices have consequences.

> "Sexually transmitted" diseases have been given to people through other means, the primary vector being blood transfusions.

Primary? Are you serious? The primary means is through unprotected sex, hence the term "sexually transmitted". The blood supplies in most countries have been safe for decades.

http://www.cdc.gov/bloodsafety/bbp/diseases_organisms.html

> So your "it's easy" answer is actually advice that's misguided at best and insulting at worst.

I think your "find" function must be broken. I used the word novel, not easy.

Definition of Novel: Strikingly new, unusual, or different
Just don't assume loathing is linear...
There should probably be a restriction on offering plea bargains, basically eliminating "plead to a lesser charge". The DA should be allowed to prosecute no more than the charges they want you to plead to. Piling on charges is coercion, threatening a good chance of ruining your entire life vs. a guarantee of only ruining a little of it.
EFF to Court: Public Right to Access the Law Should Not Be Blocked by Copyright
This photo and ones like it are a large part of why people were saying "No, US, please don't go and invade Iraq on a whim". Just because the event has passed does not mean that the information is relatively meaningless.

If more people had've paid attention to this photo and its ilk, perhaps the US wouldn't have destroyed Iraq, and ISIS wouldn't be doing those atrocities of which you speak.
The Performance Equation
There is a large difference between not saying what type of fish it is, and directly contradicting the truth(lying.)

McDonalds didn't lie in any of that advertising(no matter how gross the food is.)
They even had the actual type of fish in a discover-able format which the high end sushi restaurant fails to do and charges you high prices for what might be worse than what McDonalds is selling you; how would you know?
What about the pictures of today that need to be historical in the future?
One of the several things that bothers me about Twitter is that news agencies now use it as a source of react quotes. A private company showing the opinions of people unrelated to the event is now a 'news source'.
Keep in mind too that making false statements, even a simple denial, to a federal agent is a crime. https://en.wikipedia.org/wiki/Making_false_statements
well, yeah. that would hurt their bottom line
I agree with you. To continue your internet-as-a-physical-place analogue, Facebook is basically a mall where you are encouraged to hang out and intermittently enticed to buy things.

-No porn on Facebook is the equivalent to no nudity allowed at the mall.

-Banning users is the equivalent of kicking a person out of the mall.

-Censoring messages is the equivalent of... uh.. gagging a person just before they can say something you didn't want them to say.

-Direct messaging people or groups is the equivalent of talking to your friends, while an anonymous person videotapes and listens without really letting you know they're doing that.

-Posting a status is the equivalent of shouting what you're feeling or thinking to nobody in particular

-Facebook curating newsfeeds is the equivalent of putting you in a room and showing videos of the things your friends are shouting, intermittently throwing in advertisements, and just kind of letting you believe that what you're seeing is real and unadulterated.

Point is, if you look at Facebook like a physical establishment, it's a pretty weird place.

But as long as people continue to recognize that censorship and surveillance are not cool, they will continue to complain to the groups who engage in it, and constantly be on the lookout for better alternatives.

I personally recommend Snapchat for un-surveilled interaction with friends, Hacker News for news with uncensored commentary, and LinkedIn to stay connected with people. And I'm glad that there are reasonable alternatives to all of these
I agree with you, it does look wonky. Maybe in person it would be better. Honestly I am just pissed at the greed that drove the issue more than anything.
"Ordered sets" are coherent in the sense that you can make a data structure like a set and then define an order over its members, and call it an ordered set, but "ordered sets" are not sets.

There are certain purposes sets are natural for. When you introduce ordering, you will naturally be asked to add methods for querying or perhaps modifying that ordering in various ways. Many methods later, it's worth asking why you are calling this data structure a set, and what its actual purpose is supposed to be.
How about "No sir, never."
What "cutting edge challenges" are there to get running on Mesos/Kube/Swarm? Are you just referring to getting the cluster booted? There are just so many options for that these days.

Just curious, I was skimming through ECS docs last night and it seems like some of the basic building blocks look very similar to their equivalent constructs in Kube/Nomad.
Slightly off topic, but I'm evaluating Helm for use and I'm wondering about people's experiences? Good? Bad? Run don't walk away?
The sort of puppy-dog C++ style on Arduinos - a sort of pedomorphic variation on "'C' with classes", chock full of singletons and the inability of constructors to operate unless they're called in A Certain Place - pretty much works.

What's less attractive is Dogmatic Bikeshedding C++ OO Fundamentalism.
you kinda already have an instance of IPFS from the creator of bittorrent, its called btsync. totally p2p. Tho somebody needs to make a 'Solid' layer on top of it.

as far as social net is concerned I'd settle for a middle ground social network like ello with irrevocable privacy and non-censorship protections built in from the founding doc itself.
The Beach
Steve Jobs Explains Why Apple Dropped the Headphone Jack [video]
It isn't the original question, but I thought it was a legitimate one.

The cardiologists and their like can be outvoted. That's how it goes in a democracy. But the number of people who lose on net may be greater than the number of people who win on net. So the only way it gets implemented may be through... let's say "undemocratic" means.

Note well: I'm not advocating this. I'm just pointing out that this may be the way the politics works out.
Show HN: Sign a document online and have it physically sent
> release of toxins and carcinogens over large residential areas

Thought experiment: how big of a nature-only walled-off preserve would we need around a nuclear plant in order to protect against that? And if that amount of area were instead covered with solar panels, how much energy would that produce?

My impression given the efficiency of nuclear is that it'd still win, plus you get a sweet nature reserve out of it.
You should just say, "How should I know? Am I a botanist? I've smoked a lot of stuff."
Solution: eat cheap vegan food. The risk of a fake apple or carrot scandal is exactly zero.
relying upon the ordering of a dictionary is wrong, even with py3.6. Lots of people test for that by using an explicitly random dictionary ordering per test run via PYTHONHASHSEED (way more feasible than "shuffling test data" since not all dictionary use is that simplistic. sys.modules is a dict, for example, how do you "shuffle" that?) That apparently accidental feature is being removed.
Border guards aren't stupid. They know when you're being evasive, and they'll ask followup questions.
Well, that's a relief. I look forward to seeing your comments sponsored by SquareSpace.
He might have been pressured... just like the employees in the recent story about Well's Fargo.
The first one is particularly puzzling, given that prostitution is not completely illegal throughout the US:

https://en.wikipedia.org/wiki/Prostitution_in_the_United_Sta...
So that's now WebVR coming to all three major browsers, that's great :)
It seems extremely clear that Watts could have avoided this incident. While the details of the altercation are not unambiguous, Watts was not spontaneously assaulted by an officer: the most charitable possible interpretation is that he angered a border guard by behaving in a non-compliant fashion. Even if one was to accept that the border guards escalated the situation far beyond what was appropriate, it is apparent that, had Watts not inexplicably refused to comply with a legally-appointed officer, he could have almost certainly avoided this outcome.

One can certainly come away from this story with a reasonably justified degree of suspicion towards border security. But the most obvious lesson is that belligerence towards officers is almost certain to make a situation worse.
Bacteria Invade Antibiotics and Transform into Superbugs
I'm also weird!

In my opinion incorporating only makes sense if you have multiple cofounders and want shared ownership, or if you get investment etc.

If you are running your business alone, I don't see the point of incorporation.

Limited liability doesn't magically protect you from lawsuits. But it does cost a lot of money (obviously this depends on location, but even if it's cheap to register a business somewhere, all the accounting and minimum taxes and reporting etc sum up).

I run my company as a sole proprietorship, and I'm not planning to incorporate any time soon.

I've seen people waste thousands of euros on incorporating and setting up a company, only to close up again a year later... what a waste of time and money...
Rolling releases and ubuntu-like cadences are why Linux environments are pretty much always ugly and have usability problems. It takes time to work on UX, which is something a lot of projects don't do.
It seems clear that there was no confession of a "federal crime." It is not a crime, federal or otherwise, of any jurisdiction in the United States, to have once smoked cannabis in Canada.
This is strictly worse than a prefilled epinephrine syringe, which a quick google search tells me costs about $10 [0].

In fact, Adamis recently tried to get FDA approval to sell prefilled syringes as an alternative to Epi-Pens, but it was rejected with demands for more expansive patient usability study and product stress testing [1].

The creator of this "3D printed Epi Injector" evidently does not understand the problem that actually needs to be solved.

[0]: http://www.buyemp.com/product/epinephrine-prefilled-syringe

[1]: http://www.fiercepharma.com/marketing/still-no-epipen-challe...
I remember a mostly deaf person I knew for a while. It was pretty amazing-- she could mostly understand what I said through reading my lips and what little hearing she had. She could also speak pretty well.

She told me that she could feel the beat of music -- literally the vibrations. When I asked her about bird songs, she said she had never heard them. I was momentarily dumbstruck. Day-to-day, I take bird songs for granted, but when I stop and think about it, they are some of the most beautiful, mysterious, transcendent things I've ever heard. And she'll never know...

Makes you wonder what other sensory experiences we humans are missing out on.
Yes, which is why algorithms aren't an adequate solution to the problem of screening Facebook posts.
There's no minimize button in app windows' title bars, but you can minimize an app by clicking its icon in the dock.
Well,

If the aluminum they're getting is worth more than they're paying for it, they want to buy and export as much as possible. They then store it until they can sell it at the appropriate price. Especially considering that you'd assume the loophole is going to close sooner or later.
South Jersey's 9/11 Stories
NixOS is awesome and I lost a very long internal battle years ago to support it heavily. Very very pro NixOS. I've not been in cloud for almost a year now so I've not been following, however, my company builds fully towards AWS like this: lambda+kinesis+sqs+rds+s3+kms
Internet also offers you large audience instantly. If you really wants your speech to been seen and not censored, you can setup your own website for it.
I loathe farmer subsidies. I have no idea why our government gives farmers so much money and so many advantages - nobody in our society really benefits from those incredible spendings and it's a significant fraction of our state budget.
Every fucking day I see this posted. Can we just update when they aren't using 100% renewable energy again.
Actually, there are a number of companies making printers that can print high-quality optics. For example LuxExcel: https://www.luxexcel.com/
rkt support for a local kubernetes cluster should be in the next version of minikube[0]. A PR was just merged to master today. [1] Of course, theres still a lot of work to be done.

[0] https://github.com/kubernetes/minikube

[1] https://github.com/kubernetes/minikube/pull/511

disclosure: I work on minikube at google
I own 0.000012584948% of all the factories that Ford owns (500 shares of F) and I've never done a lick of work nor made a single decision for them. I own a similar tiny slice of many other factories. All perfectly passive for me.
Well I'm highly suspicious of arguments that anything in economics is "inherently immoral". I prefer to talk about outcomes.

But in any case, I'm not suggesting a labour tax, I'm suggesting a wealth tax. I think my argument is similar to George's: just as LVT encourages efficient use of land, a wealth tax encourages efficient use of wealth in general.
I used elemeentary os at work for a while.

Looked great at the first view.

Months after using it became a living hell to work with it.

The delay between app switches is a shit.

Swiched to GNOME/Debian. Never looked back.
Still no hidpi support?
Patrick had already spun down his consulting business before this happened -- I think before Starfighter started, even.

It was lucrative, but not pleasant, and he made more enjoyable money working for himself.
It makes me sad that I will be explaining to future generations that the web was once the last bastion of freedom.
When your boss asks you to move to another nation in order to break that nation's laws, just say "no".
a guess: in case China closes the loophole.
Box EKM is an insecure piece of shit
It's not that he can't enter the US. It's just that he has to file an extra form and pay a fee.

The legal situation around marijuana in the US sucks. It may be legal at the state level where you live, but it's still very much illegal at the federal level and in theory you can spend a year in federal prison on the first offense for any amount.
This is irrelevant if you use a proper business account like American Express. You have return protection, are able to return anything within 90 days, if ymthe merchant won't accept it then the payment processor does a charge back and returns your money.
> (Kubernetes is not a suitable alternative to Docker Compose, before someone suggests it.)

Why not? I have been contemplating this exact thing right before I came to procrastinate on HN.

A few of my local development workflows are using minikube[1]. Kubernetes within minikube is a lot like docker-compose. The only use case I have for docker-compose is pycharm integraion[2], but someone will probably make it work with minikube one day. There is a tool to convert from docker-compose to kubernetes[3].

1. https://github.com/kubernetes/minikube
2. https://www.jetbrains.com/help/pycharm/2016.1/docker-compose.html
3. https://github.com/kelseyhightower/compose2kube
> In fact changing the title from the source is kind of frowned upon on this site.

I think it's perfectly acceptable to change clickbait headlines to simple factual ones. In this case something like, "First hand account of a case worker in the Salvation Army disaster recovery center following 9/11". Or even just the existing headline without the "The worst part was 6 months later".
Should we be trying to educate them on merits and benefits on an open source alternative?
What part of that do you believe I was disagreeing with?
Liking the bongos! I mean, I don't know if my productivity has gone up, but I sure have been busy checking a lot of music from this thread out...