skysight-inc/HackerNews huggingface dataset:
Ever since I read David Agus's "A Short Guide to a Long Life":

-10 portions of fruit and veggies a day (1 portion: ~ 80g)

-No processed foods.

-Wild caught fish at least twice a week

-Red meat twice a week, at most.

-Anything else is fair game, as long as I make it myself so I know what it contains. Pizzas, pasta, burgers, steak, cakes (with stevia instead of sugar).

-No supplements of any kind.

-No trans fats, additives, fruit juices, smoothies, corn syrups, "natural flavourings" or "concentrated" juices

-As little stuff that I can't pronounce as possible.

I eat out only during social occasions (at least once a week), almost never on my own.

I have been doing this for a year now, although I have been eating healthily for at least five years now.

Results?

- I look five years younger (I am 33). Not my own assessment, but that of other people, mostly females.

- My gut flora changed to the point where I never get diarrhea anymore, a problem I have had since I was very young.

- Blood results could not be better.

- I rarely feel down or moody.

A number of other factors contributed to the above, so diet alone does not fix everything. But I had really underestimated its importance. In retrospect, I shouldn't have been surprised, it is simply paying attention to what goes inside my body.
Ask HN: Who is participating in Mozilla's global sprint?
I've had this situation happen a few times in my career, my advice is take the money and don't look back. Invest the money, burn it, buy rental properties with it,or go on a trip. It is always better to have a successful exit.
> I thought iMessage was implemented as a protocol with end-to-end encryption. At least Apple claims that it is.

Sorry, let me be more precise: iMessage is not a true "zero knowledge" protocol construction - Apple could, theoretically, port your iMessage history to another iPhone without using your device's private key or iCloud password. This might be helpful to read: https://blog.cryptographyengineering.com/2013/06/26/can-appl...

> I don't see how security and usability can be opposites. They are in conflict with each other to an extent, but increasing security doesn't necessarily hurt usability or vice versa. There are many products which have become both more usable and more secure over time, or which are both more usable and more secure than their competitors.

Let me try to formalize it a bit. Security is offered through confidentiality, integrity or authentication (increasingly integrity is just a sub-feature of authentication). Before you add authentication, a user might have been able to access their data or account somewhere without needing to log in. But access control was required, so now they need to enter a password, which requires password management of some kind.

When you add a security service, what capabilities in the application are now impossible, or more difficult? Maybe those capabilities were undesirable or negligible, but they were there; by removing those capabilities you have added a cost, or a friction in its place. A possible workflow has been diminished, even if its for good reason.

In practice you can reduce the impact of these quite a lot, i.e. encrypted messaging doesn't have to be PGP, it can be like iMessage. But fundamentally security (or cost) and usability have been transacted.
For most practical purposes, there is no such thing as a "secondary market" for private company shares for "moderately successful" companies like these. The shares themselves will be subject to a shareholders agreement, the boilerplate for which prohibits their unauthorized sale.
I couldn't find much use in Prolog when I tried it. At first it was neat how you could express simple problems, then I learned how one used ! for everything else. It felt like instead of working on a solution, I had to work on what the solution isn't.

It's a very specialized system in my view, so there is no hope of it ever becoming general-purpose. But maybe that's because I don't know enough of Prolog.
I'm thinking on switching to Soylent (or Joylent) do you have any thoughts, pieces of advice etc for a starter ?
For Route53 integration, have you looked at https://github.com/kubernetes-incubator/external-dns?

(or its progenitors Mate and DNS-Controller)

Looks like CoreOS just contributed an ALB Ingress implementation: https://github.com/coreos/alb-ingress-controller
I only eat two meals a day, but I cook all my meals (bring lunch to work). The staples are boiled leafy greens with hoisin sauce, a meat dish (stir-fry), and steamed rice (30-30-40). Whenever I make food, I try to make enough that lasts 2-3 meals. I am partial to pork.

When I am really lazy at home, I'll make ramen + egg + leafy green + a piece of processed cheese (it dissolves to make the broth thicker).

I don't really eat snack too often, but I'll take those raw almonds packet from work sometimes. I buy fruits when I can, especially strawberries or grapefruits.

When I cook all my food, I feel healthier, and it also saves money. I don't take any supplement.
> I'm all for environmental sustainability, but there are very few people who would have their survival threatened by any environmental changes in their lifetime. For those few on an island somewhere who very well could be threatened in their lifetime, there is no intervention that will prevent that change - the damage is already done.

Environmental changes to coastal regions doesn't just mean flooding.

It means the eco-system changes, and the things that live there are no longer able to live there, which means the humans who rely on those things have to leave. Some of those people are going to die because of it.

http://www.irinnews.org/feature/2017/05/23/vietnam%E2%80%99s...
Come Hack on Fiat Chrysler Automobiles on Bugcrowd
Hotels pay 30% to travel agencies instead of passing them into customers
How much time do you spend preparing food?
The point of calling it the War Between the States or the War of Northern Aggression is that the term "civil war" rejects the notion of secession, that the South seceded to form the Confederate States of America, a separate country.
All possible pythagorean triples, visualed
Prince XML, a software tool to generate PDF from HTML and CSS, is written in Mercury.

https://en.wikipedia.org/wiki/Prince_(software)

From above page:

>Prince was developed using the Mercury functional logic programming language.
jacquesm is talking about corporate officers harming the company, not random investors
Not particularly good, though that's more because I have a sweet tooth than because of anything I eat in a meal. So I'd eat perfectly healthy for breakfast, lunch and dinner, but end up ruining it by eating a chocolate cake or muffin afterwards. Or going through half a pack of biscuits later.

On another note, am I the only one somewhat surprised about how healthy the diets of people here seem to be?

Is that typical of Silicon Valley and the startup scene? Do people there just eat more healthily than the average person in the country?

Where's the startup CEO who's just come back from McDonalds, eats a lot of processed food, barely exercises and spends most of their free time on the internet or watching TV?

Eh, it's fine.
For me, what killed it was the fun of making a simple change to your program and due to a single character mistake insert a bug that turns its run time from O(n) to O(e^e^n).

Besides, deep first recursive searches are easy to write and almost never work well in practice, so even the problems that are greatly represented in Prolog either do not get efficient binaries from the existent Prolog compilers or are easy enough to write in another language that little is lost on the transition (often both).

That said, I do think search based programming is underrated. There ought to be some representation for theorem resolvers that is good for general purpose programming. It's just that nobody found it yet.
Talk to your online customers through live video and voice chat with Tagove
Demystifying the IO Monad for Rubyists
Security in general is a bit lacking in k8s, though with RBAC in 1.6 and encrypted Secrets in 1.7, it seems they are working hard to make things better.

In GKE I just use one cluster per permission domain, which is fine for one team (and 2-3 permission domains), but obviously for large orgs would be a massive headache.
No supplements. No weird diets, no "clean" eating or gluten free.

My big thing now is to make sure my gut microbiome is doing well and the little buggers have food, mainly fiber.

Other than that I try to eat a balanced diet which has meat but just nowhere near what most people seem to eat. 90% vegetables, fruit, grains.

I also try to skip meals when possible if I know I'm not going to pig out later on junk food.

tl;dr concentrate on nutrients and low calorie when possible

edit: I should also note I drink water for all meals no pop or juices I treat those as a dessert
The type of agreement I'm alluding to transfers the beneficial value of the shares, voting rights, dividends, acquisition proceeds, etc. It's synonymous with selling the shares, when you are prohibited from doing so.

Mark Zuckerberg was on the buy side of a few of these type of deals. That's a "moderately successful" company.
There is a huge difference between short-selling stock in a public company or offering privately held stock when you are not an officer. selling stock of a company that you are C-level exec of (or founder) and that you hit with 'bad news' during a fundraising round is not going to make you any friends.

Your co-shareholders could easily make a claim, whether it will stick or not is as always up to a judge but it's very dangerous territory, and you are likely operating outside your shareholder agreement (at least, all the ones that I've seen) and also likely outside of your mandate as an officer of the company (depends on your role, but usually you would be). These things have to be handled with some diplomacy and tact otherwise you could very well harm the company directly in such a way that the harm would be easy to quantify. Which is a very bad situation to be in, so make sure you play by the book when doing these things.
These types of selective moderation make HN seem like the typical hive-mind that shouts down and uses abusive moderative tactics to prevent any diversity of opinion from sticking around.

Enjoy your kingdom.
I'm pretty uninformed about libffi but can it help with kind of module interoperability? I've used it to get Ruby to call C functions. I would guess that it could be used for other dynamic languages to call compiled functions such as JS to Haskell like the OP seems to be desiring. Is this true?
I make mason bee houses(hotels, whatever) where ever I end up living (renting, moved around a bit). They're pretty awesome, no stingers, pollinate everything, and the houses are easy to build.
Show HN: Jsonsmash, an emulated shell for dealing with massive json files
I agree. This is not the point though, nor what I said.
Yeah some studies show exercise in a fasted state increases adrenaline and human growth hormone production, so it's kind of like getting natural steroids. :) It also helps train your muscles to burn fat for energy which is great for endurance (you have far more fat in your body vs. sugar for energy). Great info here: https://intensivedietarymanagement.com/fasting-and-exercise-... and http://leangains.com/
Not sure about the US and not a lawyer, but often as a founder/board member you sign a shareholder agreement which includes a provision not to undertake anything which would deliberately cause damage to the company/other shareholders. There are perhaps other points as well. I imagine the US is more litigious here than Europe (where my experience comes from)
Have you been exposed to more recent research on Prolog language constructs?

In particular, I recommend the following publication:

https://arxiv.org/abs/1607.01590

if_/3 and other declarative predicates like dif/2 are more general alternatives and likely good solutions in the cases you mention. They are still quite recent, at least if we ignore the fact that dif/2 was even available in the very first Prolog system, sometimes called Prolog 0.
Back up to 2 again in 2015. Not obviously any progress since 2000.

Also, here are some numbers on famine:

Data Dive: Slipping into famine
http://www.reuters.com/article/us-datadive-famine-idUSKBN18M...
Another link of interest: http://www.pl-enthusiast.net/2017/05/24/jean-sammet-a-rememb...
Worth also mentioning that war itself is kind of petering out:
http://www.slate.com/content/dam/slate/articles/news_and_pol...
Presumably Hari https://en.m.wikipedia.org/wiki/Hari_Seldon
In the morning I eat a banana just before hitting gym. After workout I consume a scoop of whey protein. Later in the breakfast I eat three egg whites, one whole egg, sweet potato/oatmeal and a glass of milk with biscuits. After two and half hours I eat two egg whites, one whole egg and some sweet potato. After another interval of two and half hours I go for my lunch which is usually two chappatis with some vegetable(s). In the evening I drink a glass of milk and after sometime I eat an apple. My dinner is usually light stuff like fruits or porridge.
What can be the impact of implementing it to the ecosystem?

I found nothing in the article. I hope they don't want to use it on rivers.
This sounds a bit extreme. I just avoid processed food as much as possible. Include most restaurants in there.

Everyone should watch as much of this talk as they can: https://m.youtube.com/watch?v=dBnniua6-oM
I think there is a general impression AI will start at the bottom wrung and slowly get smarter. But, it seems to me that Chess and GO are Intellectual games. So, doesn't it stand to reason Intellectual jobs will be just as likely(if not more) to fall to AI first.
Stock Trading: no customers, no employees and no investors, check my profile for details on how to start. Good luck!
Isn't this basically what PRECIS (RFC 7564) is about? There are open source implementations of that, like golang.org/x/text/secure/precis for Go (including the predefined profiles for e.g. usernames) or Unicode::Precis for Perl.
Sweet! In high school we had a print shop with a human-powered flatbed press. It took four people to run it.

Two on the dirty side, one pulling the big lever and another wielding the ink roller.

Two on the clean side, one to put the paper on the press and another to take it off.

We got to try our hands at this chromatic stuff, with a little bit of metal-leaf thrown in.

That stuff was HARD to get right! But it was really nice when we did.
Thanks much for the info! I'll give it a try.
I had trouble with insomnia until I took up the practice of meditation. It was not my intention to solve my insomnia via meditation, but that's what happened incidentally.
The author of the linked blog post has a post exactly about this: https://www.imperialviolet.org/2014/06/27/streamingencryptio...

(I defined and implemented a variant of Adam's idea with NaCl secretboxes: https://github.com/dchest/nacl-stream-js)
> If you are really using Prolog professionally, then typically Prolog is the database. You simply assert facts, and retrieve them by querying the built-in Prolog database.

That was my personal aha moment with Prolog when I realised that Prolog statements are quite similar to SQL queries in that you declaratively define the results you expect instead of the exact directions describing how to arrive at those results.

It's a very powerful and elegant concept.
2 week weight loss l how to lose weight fast at home
"Actually yes, the attack on Fort Sumter was an act of treason."

Yes, the attack on Fort Sumter is now considered an act of treason, to no dispute, since the north has won and (probably) the country is better for it.

However, at the time of the conflict, it was the sovereign state of South Carolina exercising its sovereignty on its territory.

I personally think the emphasis on state sovereignty of the phrase "War Between the States" is ever more relevant today in the face of the ever expanding power grab of the federal government.
Because: Error establishing a database connection.

(Seems to be back now.)
Anyone have an archived version? Looks like it's hosted on wordpress and the database got hammered.
And what's capital i, in English and most other countries it's I, but in Turkish it's İ, while I is uppercase ı.
During your fast period, do you drink water or abstain from all consumption?
If I remember rightly there was a study about ten years ago that showed that multiple small meals throughout the day provided the same benefits as three meals.
And some countries don't use zip-codes at all.
I started on a second round of keto but found staying under 40g net carbs quite hard (should be nearer 20g. 20g is almost guaranteed to enter ketosis according to /r/keto), so I reduced calories and started 16:8 to try to boost fat burn in place of ultra low carb. I've found staying under 1500 calories really easy as I enjoy coffee in the morning.
$25K USD is an egregiously large sum of money. I'd argue only $5K is necessary. If I were you, I'd move to somewhere like the Philippines and live like a king with $5K/year.
Because database connections are hard.
"Hard" or just frustrating? I have found the latter to be true. You're not solving difficult technical problems; you're fighting your tools and figuring out the quirks of the hundreds of abstractions and third party libraries you rely upon to make widgets do their thing.
How China Went from Paris Accord Outsider to Leading the Talks
South Carolina wasn't a sovereign state from the day it joined the union.
3 Tips on becoming better at Reading and Debugging code
I recently did this exercise, and the prices were much higher than they were 5 years ago when I was last self-employed. Searching for family-level marketplace plans.

Marketplace plans are very expensive and they are the only plans that carry the features of the ACA, e.g., coverage for pre-existing conditions. You can buy non-marketplace plans for much cheaper (about $600/mo for a family plan, in my case, which is more aligned with what I used to pay), but they will not have the features Obamacare mandates. This is a good option if you don't already have pre-existing conditions.

You can also check into freelance co-ops, which sort of function like a union, in that they negotiate group insurance plans, etc., on behalf of their members, providing more of the benefits of a traditional employment situation. I just started looking into these again too, so I don't know who is good for this right now.

To be honest it's worth pricing out whether expatriating to not-America is more cost effective than buying health insurance here.
https://web.archive.org/web/20170529185317/http://danwang.co...

https://archive.is/9ksWG
(Author here)

Matt, I'm very sorry. It was a genuine mistake. I always try hard to attribute sources (as you can see from the references in the doc, and on the couple of hundred other articles on my blog). It was nothing personal, it was an oversight :)

I've corrected this now on the site. Sorry again. Thanks for bringing this to my attention.

Regards

/\/ick
Short answer: because intelligence isn't about solving propositional logic.
I hope you are kidding. If you aren't, then you're falling into the same us-vs-them mentality that led to the persecution of Jews during WWII and racism against blacks in America. This method of pushing against literally half of the entire population will lead to backlash against those who think like you, distracting from real social problems that could actually be addressed.
I still suspect it's this reason from the post:

> You don’t need a CS degree to be a developer

With another catch. Basically, a lot of people don't intend to go into the tech industry right away. No, they end up in it because it's one of the faster growing industries with decent financial prospects.

So they learn something else, work in a different field for a bit (or a low paid retail job) then end up going into tech where the jobs and money are.

Not everyone is 'passionate' about the subject.
They must have not counted ISIS killings then, among others, which I would have thought are considered genocidal.
Was more referring to how he says don't nap. Why can't I wake up at 7 on Saturday and then have an afternoon nap

I don't need "punishment" for something I want to do (stay out on Friday)
For 16:8 fasting it's just water (I like using a sodastream to make seltzer water) and black coffee. Maybe a tea if I want to mix something up. Never any sugar, cream or other things added to coffee/tea. For the 72 hour fasts it's the same but I have a couple cups of bone broth during the day. It's a minimal amount of calories (~100-200 cals) but more importantly helps get more electrolytes, which I've noticed can be trickier to manage while fasting.
So, are you saying that Neo4j is 100% free as in "100% AGPL, otherwise Commercial License if you don't want to use the AGPL"? In other words, the code is exactly the same, only with a different license?
It’s about 15 or so years ago I tried Prolog in an application for analyzing features of images. I remember two things from that – 1. Even though concurrency is elegantly described through guards, implementation turned out to to be not that easy, 2. You have to bypass the beauty of pure logical statements in practice (for example see the 'Craft of Prolog' by Richard O'Keefe on optimizing Prolog code). Once we get to this level of writing Prolog code, you find other standard languages and libraries more competitive and practical.
Wow! How did I never hear of this?! There should be a Package in the AUR (Arch User Repository) for this.
How to set environment variables in Hugo
> [Chrome] is an eight-lane highway to the largest advertising company in the world. Google built it to maximize revenue from your searches and deliver display ads on millions of websites.

Can someone please explain this statement to me. Does using chrome change which ads are displayed to you? Does Firefox do anything differently?

Personally I use ad blockers so my choice of browser is really based on which blocker plugin is easiest to install. Chrome does this pretty well...
https://web.archive.org/web/20170529183402/http://danwang.co...
These are good questions! As a simple control, I have asked myself these questions with Java in mind, which enjoys notable popularity.

Would I write an operating system in Java? No. A Unix command-line too? No. A video game? Probably not.

In my view, this casts some doubt on the test's adequacy to answer the initial question. In the concrete case of Java, I think marketing and other influences also played important roles. It could be possible to apply these advantages to Prolog too.
Because college is funner when you don't have to take the CS weeder course.
Firefox needs multiprocessor asap and a great sandbox... after that, yeah, fuck Chrome (except for those site who can't code against a standard, for what they're worth)
> Don't worry if you are bound to a non transfer-ability clause. Getting around that is always possible with a bit of lawyering.

Please expand on this.
If you're worried about your resume, just use the down time to pad it with new skills.

Maybe something like this?
https://www.coursera.org/specializations/scala
Just... Wow. Well done my dude, well done!
> I think that people who go to college decide on what to major in significantly based on two factors: earning potential and whether a field is seen as high-status.

Also laziness, virtue signaling, dilettance, and genuine interest.
It's a huge mistake for Unicode to have two different code points having the same glyph. There should not be semantic meaning that disappears when something is printed.

We're going to be suffering for that mistake for a looong time.
Does maths make you moral?