skysight-inc/HackerNews huggingface dataset:
Kubernetes and Nomad are resource schedulers. Resource scheduling is a hard problem. For example, Linux is also a resource scheduler.

Right now, we're seeing something similar to the OS wars in the 80's, 90's and 2000's. Back then there was Solaris, Linux, Unix, BSD, etc. In the 2000's, Linux won. After that, the sheer force of community made it easy to deploy and use.

The community around Linux mitigated its complexity by making distributions -- opinionated choices around how to set up linux, including what package manager to use, what init process to use, etc.

Kubernetes is, in my opinion, far more complicated than Nomad, but it's also more feature rich. To mitigate that complexity, quasi-distributions of kubernetes are emerging, like kops ( https://github.com/kubernetes/kops ) and kubespray ( https://github.com/kubernetes-incubator/kubespray ). My personal favorite is Typhoon ( https://typhoon.psdn.io/ ), because it uses a "package manager" (software delivery mechanism) that allows you to declare dependencies between packages and also allows you to deploy the entire cluster from the ground up -- Hashicorp's Terraform ( https://www.terraform.io/ ).

The kubernetes package manager is helm ( https://helm.sh/ ), but if I were you I'd wrap helm charts in terraform modules using the helm provider ( https://github.com/mcuadros/terraform-provider-helm ).

By contrast, Nomad is much simpler to set up and has a much better modular design. But then, so did the OS GNU Hurd. And no one uses that anymore. Kubernetes is much more monolithic in design (huh, so is Linux).

Therefore, I would choose kubernetes, but treat it like an OS. It's complicated. Don't choose what ingress you will use. Instead choose what distribution you will use, and let the distribution guide your decisions, unless you have a good reason.

Realize that you're learning an OS (resource scheduler = os in my head). Kubernetes has more complexity than Nomad up front, but at least it's not accidental complexity. K8s calls the resource scheduler problem what it is -- hard, and treats it appropriately.

The other safe bet is Terraform as the package manager. Choose a kubernetes distro that uses it (Typhoon, Kops). It is getting huge.

Kubernetes' extensible API is what really makes it cool. Having a prometheus operator ( https://github.com/coreos/prometheus-operator ) automatically monitor your services for you is pretty nice.

Finally, don't expect the stability you see in the Linux OS. Kubernetes is still coming out of the primordial ooze, though it's way more mature than Nomad in its community. Still, when a google search for how to do something on a cluster mostly turns up github issues, you know we're still in the early stages.

That said, Nomad is way easier to set up, and supports things like raw execution, JVM direct execution, and chrooted exec, so if you can't use containers at least you can still use a cluster. You'll be rigging everything yourself, but raw execution actually gives you a lot of rope ( https://github.com/hashicorp/nomad/issues/150 ). So if you need to do something really custom, Nomad might not be so bad. Kind of like embedded Linux.
Yes, that's exactly what I meant. Sorry for not being clearer.
I experimented with something similar to this way back[1], but took a slightly different approach - you can replace the reference to the function itself inside the function with a new function[2], one that returns a 'Recurse' object. That way it looks like it's calling the original method but really it's doing your own thing.

1. https://tomforb.es/adding-tail-call-optimization-to-python/

2. https://gist.github.com/orf/41746c53b8eda5b988c5#file-tail_c...
I agree that it works properly now. Thanks for making this.
You also have to store all those tools somewhere. That's the bigger issue for me.
I wonder if the the end result of all of this is going to be an increase in the construction of data centers close enough to the EU to serve it properly, but outside its jurisdiction entirely. In Africa, for example, or perhaps a post-Brexit UK.

It seems that being close to Europeans without being subject to EU law is going to be a big advantage going forwards.
There’s a rule from XP that people still ignore at their own peril. The rule of Three is, for those who tend to overengineer, a plea to wait a little longer. But for everyone else it’s a call to action.

When you hit three copies of a pattern is when you should reconsider your choices. Just because a pattern was fine ten minutes ago doesn’t mean you should keep doing it now. At some point it has become “too much and as part of the campsite rule you have to ask if the block of code is ridiculous. It may have already been ridiculous, or you might be the one who took it there, but that doesn’t matter because you’re here now and what are you gonna do about it?
>The parent comment

I wasn’t finished writing.

>we should write up 8 different formal policies?

Yes. That’s obvious.
That's the thing I don't like about Apple products. I swapped the HDD for a SSD in my father's Mac Mini and had to order a kit with all the right special screwdrivers and special tools just for that.
jQuery's bread and butter is DOM manipulation. However, for even moderately small use cases (even an interactive form) it is useful to use React, Angular, or some data binding framework, as state changes in jQuery quickly become unmaintainable.
This is super cool, nice one!
The GDPR explicitly states that companies can prove their adherance to best practices using certification (https://gdpr-info.eu/art-42-gdpr/), so it usually would be sufficient to show a certificate from an accredited source to "prove" that data is handled appropriately. Don't forget though that the user also has the right to know which other processors or joint controllers have a copy of his/her data, so companies will have to provide a list with all of the services they use.
I think traits (as I know them) are still nominal subtyping. E.g.: a Rust struct implementing a next() method does not implement the Iterator trait even if they are structurally equivalent. You have to explicitly implement the trait.
> Example for 8b would be this: "We have technology in place which allows us with reasonable certainty to know whether or not you personal data has been disclosed"

Arguably, such technology doesn’t exist (at least when plugged into a computer network). What penalties are in place if you lie in the response?
Slightly longer TLDR: They perumatated the partial sums of a set of transactions around a timeframe and found a near combination to 130k

“The payments marked with * add up to $129,999.72, just as Simpson found. Note that we only needed to span 7 transactions to find this sequence, but were considering sequences of up to 12.

Again, this is the only way to select from a window of 12 transactions to get any number within $1 of a $10,000-round number near $130,000.

We tested 8,386,560 possibilities, looking for false positives.

We found one positive result, and it's exactly the result we expect to find if the "just a coincidence" hypothesis is false: Around the time the Daniels payment was made, for the amount the Daniels payment was in.”
Ask HN: Which version of JavaScript are you using for public websites in 2018?
Based on the compatibility table at [1], current browsers (with the exception of Internet Explorer) widely support ES6 and also include significant support for ES2016+.

Would you be happy to ship ES6 (or even newer) code as part of a public website in 2018?

If not, would you recommend writing ES6 code and transpiling to ES5 (using Babel or similar)? Or just sticking to writing ES5 code, avoiding ES6 features altogether?

Are there other reasons not to use ES6, apart from the lack of support in Internet Explorer?

[1] https://kangax.github.io/compat-table/es6/
And I think it's awfully easy for people who don't do independent unpaid research, and don't contribute in any way to its being conducted, to have strong opinions about the responsibilities researchers have to them.

Let me sum this up: they're not working for you. You don't get to tell them what to do. If AMD wanted to protect their users, they'd quadruple their security verification budget. What do you think that budget is as a percentage of R&D costs at AMD? Take a guess.
Can't you capture the output of the graphics card directly? Cameras seem like an inefficient way to do things.
Rabe is one of the most famous. When book "Rabe Dairy" was published in China years ago there were memorial ceremonies. There were few if not no mentions of Nazi background though.
Chinese people remember those foreigners who help them during difficult time in the war against Japanese invasion. There was a movie about an India doctor. There are statues a Canadian doctor in a lot of famous medical schools for memory of him. His home town attracted many Chinese tourists every year.
Interesting in and of itself, and yes I'm familiar with the design pattern, but with so much code to accomplish the simplest of things, Spolsky's "architecture astronauts"* spring to my mind straight away. Perhaps it's JavaScript that's not the best choice of a language here?

____

* https://www.joelonsoftware.com/2001/04/21/dont-let-architect...
Naturally, milk only contains trace amounts of vitamin D. I don't think ancient humans were fortifying their milk.
Milk does not naturally contain vitamin D; fish, mushrooms, and egg yolks are the only natural sources, but the mushrooms have to be exposed to sunlight (which is unlikely; they grow in the shade) and nobody eats that many eggs, so only pescetarian cultures retain darker skin at northern latitudes.
Local web server for full stack development
I recall paying around $1/gb in ~2006, and that was for a 5400rpm drive (and I’m sure the older members here will say something in the mb range). So while i agree, the rate we have come to expect value to increase isn’t continuing on that exponential curve we experienced the last 20 years, the prices are not expensive by any means.
So crap by design? Who would do that on purpose?
Wasn't really after anything specific, just some a few interesting things thrown together. Checked back today and there are some good posts above!
stephen_g, if you are interested, then I wrote a very simple scenario of how QE could (and IMHO did) spill over into "real economy" here -- https://news.ycombinator.com/item?id=16606140
Your first sentence describes the intuition where if customers tip waiters more, companies will pay waiters less.

I've actually heard that in many places, the customers actually tip enough that it goes beyond the ability of companies to pay less directly. So the waiters' pay actually does get pushed a lot higher. So high in fact that there's an disparity issue between front staff (waiters) and back staff (chefs), who actually get much worse because they're exposed to pure company pay.
Yes it is, and has been done. Subject to [edit: a] security policy (NOT defined by implementation) and a meaningful statement of threat (what are you protecting against?)

This paper might prove to be an enlightening read: http://www.mdpi.com/2078-2489/7/2/23
I've not been on fb for the past 3-4 years, the absolute best decision I have ever made, no more trying to decrypt cryptic statuses from people you have no interest in and 100% less pictures you could care less about.
Just remember there is a "go away†, this request is too onerous" get-out clause for GDPR requests. Just as there is a billable option for excessive queries.

Both options have to be reasoned —and the person making the request and squeal off to the ICO at any point— but in a letter like the linked one, I would find it hard to justify forensically picking through years of historical access data and not charge a fee for doing so.

Compliance regarding breach notification is forward-looking too, so all this nonsense about "has this ever happened" is outside the GDPR, as far as I can see, anyway.

† The GDPR contains no rules about being polite. If somebody made demands like this at me, I would be considerably less polite than my example there.
Race, religion, nationalism, social status, me vs. you.. we’ve been at this for ages. Has there really been a point in time where the human collective consciousness hasn’t involved a sense of duality?

One supposed exchange from over 2,500 years ago: https://tricycle.org/trikedaily/buddha-talks-brahmin-suprema...
America Has a Massive Hepatitis a Problem, and No One Is Talking About It
The answer every single time is:

A) You are using personal data in good faith as part of and don't need a lawyer. Just reply. I work for an organisation at the larger end of the SME scale and wont be using a lawyer. Like I don't use a lawyer for routine contractual disputes like debt collection until the debtor refuses to pay.

B) You are walking a fine line and relying on the exact wording rather than the spirit of the law. You are not acting in good faith and trying to make money out of customer data. You need a consultancy firm and lawyers and you wont get any sympathy from me.

I'm not sure whether you are serious or this continues your repeated anti-EU comments on HN, Silhouette. I find it OT and I hope the moderators do to.
In Praise of ADHD
I understand your sentiment, but we’ve swung so far towards the unrelenting abuse of consumer data, I’m supportive of regulation through any means necessary.

To your point, if a business is not explicitly banned, but banned because of regulation about what that business can do, that’s exactly the sort of regulation we want. We don’t dictate your business specifically, just what you can and can’t do with the data. If you can operate within those regulations, congrats!
The No True Scotsman fallacy is based on the arguments of a single interlocutor who is trying to evade the conclusion.

Your description sounds more like a series of different conversations with different people at different times starting from different topics. Since people, times and topics vary, yeah, you'll get different counterarguments.

Especially since, like all programming theories, the content, meaning and boundaries of OOP are widely disagreed on.

But that doesn't make it a No True Scotsman.
Whistleblower describes how firm compiled user data to target American voters
Voting is one area where people do not and definitely should not trust some “expert group” to authenticate their choices as a black box. The process needs to be simple enough to be easily reconstructed.
War in video games: propaganda or entertainment ? (2015)
My business takes credit card payment information from users. But it doesn't store that information - it just forwards it to Stripe.

So if a user asks me for details of all her personal information, do I have to go to Stripe and say, "Please give me the credit card information you have on Jenny Smith"? Or do I say to the user, "Please contact Stripe directly - your Stripe customer ID is cus_34534985798243"?
You still seem to be (intentionally?) ignoring the difference between permissible, and ethical.
Latest edition of the book: https://courses.csail.mit.edu/6.042/spring18/mcs.pdf
The GDPR specifically has a clause for those cases, it applies also extraterritorially, and will be inforced, if necessary, by seizing your funds via the SWIFT interbanking system.

That's a very bad idea
“Don’t do those things” isn’t advice here, it’s shorthand for “you can refrain from doing these things, but in that case....”

In other words, some businesses have requirements. If you don’t want to follow those requirements, don’t go into that business.
>Quick kick then fall back to infinity good/swing over to low bad

What does all that mean?

Quick kick = apply some voltage?

So with a capacitor you are looking for infinite resistance (no current flow) as a sign that it’s good, or some current flow (low resistance) as a sign it’s bad? Did I get that right?
Yes, so what? Did you know that as an individual, you can literally be imprisoned for decades for violating the law? Why is it so shocking that a company that violates the law can be forced into bankruptcy?

The key term there, of course, is "up to". You don't get fined the maximum amount for the smallest violation. It's a range, depending on the severity of the violation, and probably whether there was gross negligence and/or maliciousness.
Considering the normal situation is they receive no actual notice at all from most breaches and find out through the news if they are lucky I would say the very absence of disclosure is the true nightmare. You usually find out a year later when the data appears on the dark web and is then pulled into something like haveIbeenpwned.com.
Neuroscience is a big one. I would posit that understanding the brain is the biggest scientific frontier of my generation.
I don't know, would it really be so complicated for most businesses? Taking my former SaaS business as an exmaple, I would have needed to gather the required information from two sources basically:

- Our database (containing user data like login, e-mail etc.)

- Our third-party SaaS providers such as Mailchimp (e-mail address and name), Mailjet (no personal data stored directly there) and Stripe (transaction history).

Automatically pulling together the necessary information from these sources and sending it to the user seems totally doable and not overly complex.

In general, I think the whole idea behind these rights is to incentivize companies to implement well-documented and automated processes for dealing with user data, and to keep the data in as few places as possible.

BTW I'd be very interested to hear from people running startups how they process user data and how many different data stores / services they use to manage that data!
At least GCHQ is more comparable than you'd think, and they and NSA often work closely together.
Is it possible that 2 is a consequence of other factors? Like climate change or some other combinations of forces? Was the economy unable to support the number of forces due to climate change and as a result debasement of currency was seen as the best way forward?

Hyperinflation wasn’t game over for Germany. It had a brief empire shortly after it’s hyperinflation period.
The increasing reliance on ICs seems to put a really big wrench in the system.

Seeing a relative, that loved working on cars, swearing over a broken wiper because the engine is just fine but the IC studded control board clearly is not doing its job, is disheartening.
i have a laptop, toshiba working... but my other laptop is broke & wouldnt turn on. I also have old storage devices that have files on it & it will not give me anything. most of the op sys were orginal windows to xp. this laptop has win10
The language is better off without them. Few features mess up a language implementation to the same extent as full continuations. It's a CS pipe dream; just because everything may be modeled theoretically using continuations, that doesn't mean it's a practical approach in the real world. Map and terrain, they're not the same thing.
I wonder how one would read 1000+ pages of a technical book like this.
It's not dairy alone that causes height gain. High dietary protein correlates with production of IGF-1 which correlates with bone growth. Casein stimulates IGF-1 production somewhat more than other proteins, but not by much. Indians eat a relatively low-protein diet due to the prevalence of vegetarianism and not actually that much dairy; most of it is fermented, which, IIRC, deactivates casein.
You’re assuming there’s a coupon. I explicitly said these were zero coupon. In this case the price at 9 year 11 month is higher than 750$, dumbass.

The entire point of QE is to increase the bond price, thereby reducing the yield. You don’t have a clue.
Fast-track GDPR then inject the fine money into the NHS with compliments from the EU.
Binance Announces $1M USD Decentralized Exchange Coding Competition
Here is a direct link to a website with this letter: https://constantk.wordpress.com/2017/06/30/the-nightmare-let...
Women are fading out from Bollywood music, an analysis of 24,000 songs
The UK has adopted GDPR and will sign it into UK law in April. The UK is bound by it even after Brexit. If they chose to repeal it then it could put it's firms at a competitive disadvantage with European customers
Show HN: Vue.js plugin that handles buttons asynchronous lock with fancy spinner
Of course I remember Kuwait, slant-drilling under the Iraqi border. And the apparent, later denied, US tolerance or at least indifference when the Iraqi ambassador stated that Iraq would take direct action if Kuwait was not called into order.
Cheese and yogurt both have lactose.
Oddly I could never get into SMAC.
It works when it works :)

I've seen my fair share of folks pick up Olympic lifting. While many eventually "get" it, the overhead squat does not force good form. People lean forward, or pick up their heels. After shoulders, hips, and ankles eventually gain flexibility, then, yeah, the overhead squat ensures good form because you can't support much weight on the bar otherwise. If you can overhead squat a solid amount of weight, you must have good form. A kind of survivorship bias :)

For me, I have flexibility issues. I've been lifting from years now. I can "Asian squat" now and I can back squat well over 300lbs, but I can only overhead squat 125lbs once, and then I'm tore up for days.
Is it possible that the multiple bugs in iOS 11 could be attributed (in part) to the frustration felt by Apple's engineers about the open office floor plan in the new campus?
I actually started thinking about this and have tested an idea for answering data portability requests (https://www.dpkit.com) for the German market, so far there's not much interest though.

Which aspects do you think would be interesting to automate or are particularly painful from your perspective?
We have some repair cafe events about every one or two months in Silicon Valley.

Here’s one such organization that holds them on a quarterly basis, for anyone interested:

http://www.repaircafe-paloalto.org
Check out “How to Read a Book” by Mortimer J. Adler. It seems like a pithy title, but he’s quite serious and has interesting things to say on the subject.
Seconded as well. I've yet to see the final episode, but so far it has been very good. As a non-US'an the Vietnam War was dealt with by a few paragraphs in the high school history books. Oh, and of course by watching movies like apocalypse now, full metal jacket, and, yes, Rambo 2. So it has certainly been very interesting to learn about the background, politics and the higher level military situation.
It might get tricky if you're planning on making money; at some point it seems likely credit card companies would be asked to stop funnelling money to "offshore criminal enterprises".
Depends on who you ask. Those who trust government will tell you that you can count on the subjective enforcement not to go after you as much, and of course the good ol "don't break the law and you have nothing to worry about". The rest of us that understand government incompetence/corruption and risk mitigation would tell you that you have to weigh whether these risks are real enough to you. I would tell a non-growth-focused early stage company uninterested in locale variety with limited resources (e.g. bootstrapped company in beta) to avoid EU customers since there are only downsides.
The Fukushima meltdown was ultimately due to power loss as well. The tsunami started the ball rolling, but the simultaneous loss of power from the reactors, the backup generators, and the grid is what led to disaster.
All rise and no fall: how Civilization IV reinforces a dangerous myth