skysight-inc/HackerNews huggingface dataset:
HAProxy is a great fit for most microservices, but I'm not sure it has the feature set for most organizations that are deep into microservices - at least in the way the author describes it. The problem is more business-driven than technical; so let me explain why (and feel free to correct me if you think I'm wrong!)

Most companies don't need microservices, so I'm making an assumption that any company using microservices has both the volume and complexity of business partners that make a microservices approach a good business idea (this assumption is assuredly false, but still useful). And if you've gone this route, the next step is generally organizing your business around an SOA where business units can be represented by an API (microservices are useful from a business perspective because you have many stakeholders within a company that want to make small changes frequently but independently). Once you've done that, you start wanting to encapsulate your relationship with your customers in an API as well, and the eventual destination (if your company survives long enough and is successful) is that you just operate a set of APIs that power your customer-facing UX product in addition to the API-based services you provide to your high-volume clients.

My point is this: the end state of a microservices architecture is an API gateway. API gateways provide essential services such as authentication, access control, and connection throttling. You still need something like HAProxy to provide you with load balancing, health checks, etc. across many nodes - but you're going to have a very simple instance of HAproxy for each microservice and rely on your API gateway to organize everything under a single domain.

With microservices, your configurations can get incredibly complex very quickly, so it's often better to maintain independent components with very simple configurations (that can be easily updated dynamically) than to try to have a single component in the middle of your stack upon which many other components are dependent.
Wow, good thing all those employees ground their lives into dust for a while, working past 11pm to "get their hands dirty" for a business which was fundamentally a cash pit.

(And those are the "good jobs"...!)
OCaml core development officially switched to GitHub
It's a very simple question to answer: "return null" returns null.
The current system isn't perfect but in a market economy, new entrants challenge incumbents with systems that better tap the talents of the labor pool.

You are free to design your own incentive system and compete with those you believe rely too much on rank.
I dunno, I write CSS for a living so I got nervous when I saw the title, but when I read it I can tell this is advice from the frontlines.

This guys understands CSS, and if you actually understand CSS you dont need tools like SASS, and you dont need rigid structures like BEM.

The most beautiful (and seemingly ignored) aspect of CSS is that specificty cascade. Everybody seems to be trying to isolate their CSS into modules so they dont conflict instead of using the CSS together in harmony.

After writing thousands upon thousands upon thousands of lines of CSS here are my quick opinions:

- 1 global CSS files should take care of 95% of the styling, and if a specific views needs to override that global style, give it a teenty tiny bit of CSS

- SASS is cool, but largely unnecessary, and so I believe that 80% of the time people use it it just creates more work (learning curve, project requirements, compliation step) than it saves. Again, I write CSS for a living and I have never found a place where SASS sould have saved me work if you actually know how to write CSS.

- Nesting is awful, thats not how CSS works. I could abuse indents and arbitrarily block my code in JavaScript and if I did that everybody would assume I was an amateur who didnt know what I was doing. When I see nested CSS I go on high alert for bugs because it is clear the author doesnt understand CSS

- while IDs and classes can be useful, So many frameworks now work in a way that they write all of the styles you might nedd in advance and then you 'tag' which elements get which styles ising classes. This is literally no better than inline styles, and is an abuse of HTML in an attempt to not have to write a small amount of CSS. If your markup is CLEAN and simplethen styling it with CSS is also very straightforward. I havent read the authors piece but in the past year I have noticed a drastic reduction in my own use of classes and other identifiers in HTML as my understanding of more advanced CSS selectors has increased.

CSS is a beautiful, POWERFUL language, and I would recommend everybody to do a few things:

- stop using CSS you didnt author

- write your CSS by hand (no SASS, STYLUS, LESS)

- Only ever copy-paste code youve written, if youre bringing external CSS into your codebase, retype what you need from it.

I know those sound like youre going to be sitting there forever typing in thousands of lines of CSS, but operating that way VERY QUICKLY forces you to gain skill at discerning what is actually required or not.

Whenever I do responsive consulting I feel like most sites are 5x overbuilt in the HTML, which means that your CSS is many many times longer than it needs to be. The biggest bottleneck to CSS simplicity is poorly thought out HTML markup.
Why not? This appears to be researched still so I don't think there is a consensus that it isn't possible.
Lawsuit accuses Apple's iOS 9 Wi-Fi Assist of burning through $5M+ in data
a member of the Meat Advisory Panel... said "“The top priorities
for cancer prevention remain smoking cessation, maintenance of
normal body weight and avoidance of high alcohol intakes.”"

emeritus fellow at the Institute of Food Research, also said the
effect was small.

The North American Meat Institute said defining red meat as a cancer
hazard defied common sense.

Due to economies of McDonald's, Burger King et al, there appears to be an intense lobbying group

which would go against any attempt to bring forth discussion on this topic.

I won't be surprised if a decade or two from now we see the issue in the same light as Lead

poisoning primarily due to someone's[1] fight against the status quo.

On a related topic, there is an interesting documentary Cowspiracy [0] (available on Netflix)

which talks about the carbon footprint caused by the animal husbandry. Although it's feature

length, I think the first two acts are compelling.

[0] http://www.cowspiracy.com/

[1] https://en.wikipedia.org/wiki/Clair_Cameron_Patterson

Edit: Flow.
That is a big reason why Coursera is so appealing and it won in the MOOC race. By having a few open sessions a year, they can provide official support from course TA and students all gather in an active forum to discuss the material and help each other. It's why MIT's OpenCourseWare is not nearly as popular as Coursera. I'd argue it's a must for the to keep going with this approach, otherwise it will turn into another OpenCourseWare.
Infinitely fast phase velocity with zero-index metamaterials
>Typeface design has a western normativity problem

Why does it seem like everything has a western normativity problem? What things have an eastern normativity problem?
But on this particular holiday, a booking had slipped through unnoticed, due to a website malfunction, according to a former employee. Rather than cancel an appointment at the last minute, Homejoy’s cofounder and CEO Adora Cheung grabbed a toilet brush and a vacuum cleaner. Then she headed to San Francisco’s Mission Dolores neighborhood and scrubbed.

“The customer had no idea,” said Arjun Naskar, one of the earliest employees at Homejoy, who shared the story as an example of the founders’ intense determination to succeed.

Profiles in courage!

I mean, you can take this sentiment too far (I'm sure Cheung is a great person). But this is a website premised on capturing a premium off the work of people who scrub toilets every day, day-in, day-out, right? It's telling that a tech founder doing that job just once constitutes a lede.

Semi-related reminder: tip your hotel housekeepers.
You seem to be replying to a comment which has very little in common with the one I wrote.
Because doctors don't wear masks to protect themselves.

Of course they do, because they are also humans vulnerable to diseases. Even more so because they are exposed daily and are usually not the ones introducing diseases into the environment. The masks protect both the patient and the doctor. Mask can also protect doctors from chemicals they might be routinely exposed to.

In any case, they wear masks. Your comment is a red herring. The important part is the social stigma of (not) wearing masks and how to prevent it.
That the reference can be null is hardly the fault of the implementation of Option in Java,unless people expect individual classes to modify the type system.
It took Wiles seven years to prove the thing (and the proof needed to be patched!), so I wouldn't be discouraged if it takes a while to understand. A nice thing about mathematics is, it waits for you.

If you're interested in the mathematics behind this, I'm not sure a direct attack on the FLT proof is the best route to take. The paper that proves a famous conjecture is normally sitting on a mountain of prior work, which means the final paper (1) assumes familiarity with that mountain and (2) is highly technical because all of the understandable things have already been tried.

So instead, why not start learning about the mountain?

The truth of FLT follows from the two claims:

(1) Taniyama--Shimura--Weil conjecture: "Every elliptic curve is modular."

(2) Ribet's Theorem: "If FLT has a counterexample, then such and such an elliptic curve is not modular."

As it happens, TSW was originally believed to be too difficult to prove, but I suppose the connection with FLT motivated people. Taylor and Wiles proved the absolute minimum of TSW that they could get by with and still get a contradiction from Ribet's theorem. (My understanding is that TSW is now fully proved -- the "modularity theorem".)

If you're wanting to "get" FLT, I'd encourage you to look into elliptic curves, modular forms, and their relationship. I wonder if working on the mathematics of elliptic curve cryptography might be a good way to get a feel for elliptic curves.

However, if you do want to take the direct route, I believe that Faltings's highly compressed article provides a syllabus. Once you can read and completely understand every sentence of that article, it is highly likely that the Wiles and Taylor and Wiles papers will make sense. I... would really not recommend this route.
Classic case of a company finding itself in the position of being a middleman with questionable value-add.

Once you introduce someone to their new cleaner there's zero motivation for the customer to not just kick out the middleman and deal with the cleaner directly. Especially when these app companies throw their hands up and say "hey they don't work for us... they're an independent contractor" if something goes wrong. They tried to have the best of both worlds (be a middleman with no responsibility) and, not surprisingly, the market called them out for it.
>> incidentally, contrary to what most people seem to think, the nazis actually tried to get rid of Fraktur

Wiki says they were for it before they were against it:
The Fraktur typefaces were particularly heavily used during the time of Nazism, when they were initially represented as true German script, the press scolded for its frequent use of "Roman characters" under "Jewish influence" and German émigrés urged to use only "German script".[6] However, in 1941 Fraktur was banned in a Schrifterlass (edict on script) signed by Martin Bormann as so-called Schwabacher Judenlettern ("Schwabacher Jewish letters").[7]
You could, of course, funnel profits towards expanding the business; unless, of course, you lack the acumen to do so.
Raymond Chen article for anyone that is interested: http://blogs.msdn.com/b/oldnewthing/archive/2015/09/15/10641...
In other news: reading books causes rectal cancer too. All tested groups that got cancer were reading books at least 1 cubic centimeter in volume per week
Awesome!! Thanks!
Thanks!

1. They're retained indefinitely, but adding the option to delete them automatically after some time would be pretty simple (it still needs a regular delete button).

2. HTMLhouse is meant to be more of a dead simple paste-and-go thing, which is why CSS, JS, etc. is all in one editor. And while it's fit for developers, I have a few features planned that'll make it more useful for bare-bones web hosting.

3. I've tried to keep the interface as clutter-free as possible, but where would that button be most useful, on the published page? Or on the editor itself?
Have you considered the trajectory of history over the last 500 years or so.
My father gave me a hammer and a stump with nails started in it at 2. I would play outside and investigate the world as I grew up. I had a chemistry set, the radio shack electronics starter books, and a workshop where I could assemble model rockets. While my father only had a high school degree, he was very mechanically inclined. His parents had a garage growing up, and he was changing oil in cars at age 9. When ever we did projects around the house, he had me involved helping. I guess being involved and getting a chance to explore the world helped me the most.
This confirms the findings described in the book "The China Study". It describes a massive long term survey done in china. Animal proteins is harming.
If you guys want to play the definition game, then we need to have an honest discussion on the definition of "contribution" and "deserve".

Gold is rarer, than oxygen and carbon. The market prices it higher. Does that mean it contributes more? Is gold more important than oxygen and carbon?

Sure, there needs to be an incentive to work hard. But there shouldn't be an incentive to being born in the lucky circumstances that leads you to becoming a surgeon, or the even luckier and more exclusive circumstances that lead you to becoming a CEO (white, male, relatively privileged). And why does a CEO who works hard 80 hours a week deserve more than a janitor working 3 jobs 80 hours a week just to keep her family afloat, to get her kid enough food and a safe place and help her get through the crappy public school that the CEO pays $30-60k a year (multiples of the janitor's salary) to keep his kid out of?

There shouldn't be an incentive to treat people as commodities. Does a surgeon deserve twice as much if for whatever reason there are half the number of surgeons this decade compared to last? Does a janitor deserve half the pay just because the birthrate increased and there are twice as many people to compete against? (I'm simplifying. It's not important whether doubling the supply halves the price.)
https://www.moves-app.com/ also uses machine learning to classify walking, running, cycling etc. Not sure what algos but there are some pointers on the founder's website - http://www.cs.cmu.edu/~akyrola/
Step 1) Install HomeBrew
Step 2) Profit
For me it was price. I have three kids, so we do a lot of laundry. I simply wanted someone to fold and put away about twice a week...

Home joys minimum worked out to be about $75 per visit... So about $37.5 per hour... And I don't think folding clothes as a service worth $600 per month.
By all counts, global poverty has fallen dramatically due to market economies and globalization. Your hyperbole is unnecessary.

http://www.economist.com/news/leaders/21578665-nearly-1-bill...
Don't expect future Nevada senators to be any different than Harry Reid on the issue.

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

> A two-thirds majority of Nevadans feel it is unfair for their state to have to store nuclear waste when there are no nuclear power plants in Nevada. Many Nevadans' opposition stemmed from the so-called "Screw Nevada Bill," the 1987 legislation halting study of Hanford and Texas as potential sites for the waste before conclusions could be made.

> The governor of Nevada had 90 days to object and did so. However, the United States Congress overrode the objection. If the governor's objection had stood the project would have been abandoned and a new site chosen.
I've noticed this even with Groupon. Walk into place with a Groupon, they offer you the same price but just bypass Groupon. They get a new customer in the door, the customer is fine with it because it's the same price, but the business makes more money because they don't have to pay Groupon their cut.
Yes, but does everyone in his company hold the same position? As I look around my office space at the many different positions, $70,000 (roughly $38,000 adjusted for cost of living differences) starting would be on par for some building staff, low-balling for some business staff, laughably low for the dev staff (but worth it with good benefits and some desperation), and a flat out no for some other positions.

$38k is the median average in my area, but tech is in its infancy here. If this place does have the tech boom that so many are pushing for, then the median average (based on current market rates) is going to shift upwards by a nice chunk of change. As such, it would seem as if other industries are being underpaid if the only metric is median income.
"There wasn't a confirmation phone call, text or email to remind me."

Really? That's about the only thing I'd expect from a web-based service scheduling tool - something to remind/confirm/verify my scheduled appointment. Dare I ask what they're doing that something as fundamental as this didn't make the 'feature' cut?
I use to do this right out of college, I might get back to it. I would recommend getting an empty journal book and dating every page. forget using emacs or vim.
I think we went of the tracks a few posts ago. I was saying that entrepreneurs take significant personal and financial risks and there is a high rate of attrition for even good businesses. My point was that after a physically, emotionally, and financial draining 5 year period there is a high probability that you end up with significant debt and no source of income (lol kind of like my college experience I guess). I know that teachers get crapped on and are underpaid. I get that it's unfair and it sucks.
Yeah, Homejoy's demise took everyone by surprise. Unless the company is public, it's almost impossible for a casual observer to tell how healthy it is.
The unnatural way Homejoy raised their seed rounds, with Cheung basically calling up Levchin and PG [1] was instrumental in setting up a failed business. This gave the startup undeserving social proof and let to the huge funding it should have never received.

[1] https://www.youtube.com/watch?v=lVDmyRxeGCo&list=PLQ-uHSnFig...
> You have literally 6 features; you do not need to do dimensionality reduction here.

We do have six features, but they are not rotation invariant. I was hoping we could find the "axis of maximal motion" (or something along those lines) within each sample period, project the movement along that axis, and then do FFT to find what kind of bouncing around the test subject were doing. That didn't work out too well in practice, but it still sounds like the smart thing to do :-) What do you think?
I heartily recommend using this[0] tool for any Coursera course you are currently taking.

[0] https://github.com/coursera-dl/coursera-dl
Not to mention, they want more business. A cleaner who steals doesn't work for long. The business is heavily driven by referrals and references.
And wood smoke is more carcinogenic than tobacco smoke.

So what? I don't want to live in a world without bacon, sausages, roast beef, pipes and cigars!

The fundamental fallacy is the idea that tobacco is so dangerous that it, and anything comparably dangerous, must be banned. Tobacco's dangerous. Cigarettes are a really bad idea. Eating meat for breakfast, lunch and dinner is a pretty bad idea. Don't do that so much.

But you, I and everyone else on earth will die sometime, of something: whether it's cancer, congestive heart failure or something else entirely, we all die. The question is, will we live before we die?
Don't put your emergency equipment in the basement when you're building in a flood zone.

I don't think Fukushima really needed, or experienced, a long cascade of extremely unlikely events. It was just badly designed, then experienced a not-particularly-unlikely event.
It seems to me there is something wrong with a technology when how to apply it in its most basic and fundamental use cases is so controversial.
Strongly agree; the "just world fallacy" types are frequently right-wing. Seeing a disruption of inequality is offensive to them because they view it as a refutation of the social Darwinism they worship at the church of capitalism.

It doesn't matter if the right wingers are poor or struggling themselves: rather than envisioning a world in which they don't have to struggle as hard, they envision a world in which they have broken beyond their struggle somehow and are now being bled by the "taker" leeches as a result of left wing political goals being met. The sad side of this is that many of these people have zero chance of breaking beyond their struggle specifically because there is not wider political support for redistributing resources.

The fall into poverty is an act of justice in this perverse mindset. Poverty is the result of bad choices of the individual in their view. Of course we can dismiss this kind of simplification as childish (the result of an intentionally crafted propaganda campaign designed to cause people to vote against their interests), but there are millions of people who will have hateful fire in their eyes if you deny that poverty is avoidable for any person with the proper magical choices.
I hear this all the time whenever I say anything about anything contributing to cancer. People use the excuse "Everything gives you cancer, so who cares?" No, not everything gives you cancer. Only things that give you cancer, give you cancer. Lots of foods have anti-cancer properties. Basically, the more natural the food is, the more likely it will be to prevent or even treat cancer. Now when I say treat cancer, I am not saying it is guaranteed to get rid of all your cancer, or you should not seek help from a trusted smart cancer fighting person (notice I did not say doctor or oncologist?). Check out https://www.youtube.com/watch?v=yxWRxtS_cGI. Basically if you eat vegetables and fruit, these are anti-cancer. But if you already have cancer, you have to be careful with fruit because of the sugar. But vegetables are good. However, even with fruits and vegetables, the more natural their state the better. If you juice them instead of blending the whole thing, you lose a lot of the nutrition. You are no longer eating it in the original state it was intended to be consumed. They were designed to be a complete package, the nutrients complement each other and enable your body to deal with and use the other things in the food. If they were grown with pesticides or herbicides, these can contribute to cancer. If the ground they are grown in is nutritionally depleted, the food will be also. If the ground or water used is polluted, the food will be also. The best thing is to buy a water distiller, to clean your own water. Then grow your own fruits and vegetables using that water and using high quality, clean, plant superfood. From http://www.foodrising.org/, you can even purchase a very low maintenance, small hydroponic system that allows you to easily grow very nutritious, better than organic fruits and vegetables.