skysight-inc/HackerNews huggingface dataset:
## Diet/nutrition is my biggest focus, as I believe that what we eat is what we are made of ultimately.

1. Minimize all processed food. I always find that processed food has too many things which are not food. If I need something processed, I prefer making it at home, as I know exactly what I've put. (mayo or bread for example)

2. Minimize carbs. I believe carb rich foods doesn't have any sustenance, so they should be avoided. This has been relatively easy for me as I don't like things like potato, rice and bread anyways. This also includes fruits for the most part, eating some only when bought locally and are in season. As for deserts, they are reserved only for big celebrations and only if home-made.

3. Minimize bad fats. Most vegetable fats are bad for us and are far too easy to turn into trans-fat, so I try to avoid most of them. The fats which I use are evoo for salads and avocado oil for cooking.

4. Avoid restaurants. Because most of the restaurants are focused on making money (of course), but this focus means that they are trying to present the cheapest ingredients in the most palatable way, which in turn means they reach for sugar far too often.

5. No snaking. That should be obvious, but I don't wanna stay in high-insulin mode all the time.

6. Maximize salad. A basic leafy greens salad is one of the most nutritionally dense and good thing you can have, so I have one with every single meal.

7. Maximize good fats. Butter is one of the perfect foods in the world, so is an avocado. Eggs play an important role too. Pork belly and fatty-rich cuts are also there. I don't focus on eating much meat though.

8. Fat-free is never good, so I always go full fat. This is mostly about diary, but I also avoid chicken/turkey cuts, as its too lean and I don't focus on protein.

9. Work on gut health. A lot of things happen in there and have a profound effect on the rest of us. I prefer raw products where possible, and some which target the gut directly. For example, I have some raw kimchi as part of most meals, use raw cheese when available, and I try to not overcook things.

10. Home-made bone broth. This is something new I'm still experimenting with, but I'm trying to have some broth made and then use it as a basis for other meals (or on its own)

11. Fasting. Recently started experimenting with different fasting protocols, which allowed me to move past the weight plateau which I was in. It was awkward at the beginning, but now I can go without eating for extended periods without any worry or thoughts about food.

12. Do not count calories. For one, I think this is based on reductionist science, but also I just suck at it.

## Physical activity

I'm in process of transitioning from running heavy program (4-6 hours of running per week) to strength heavy program, something like starting strength, strong lifts, or calisthenics. Haven't quite figured that out for now, but for the time being I'm just focused on about an hour of walking per day.
Yet ANOTHER WAY of Getting Root on High Sierra
Any chance to vote for google + facebook+ youtube neutrality? Maybe that will save the patient
It will get killed by him (isn't Jim involved in both Wikipedia AND Wikia), just like Wikia meant the end of the "trivia" sections that were very popular on Wikipedia and featured on most articles up to the release of Wikia, then they got transferred over and banned from Wikipedia.
Hacker News Pledge of Allegiance
I pledge allegiance to the Teat of Silicon Valley's Paul Graham,
and to Y Combinator, which he founded, one Start-up under "Hackers",
undownvotable, with money and macbooks for yuppies.
How are "hidden" cameras defined?

There's a lot of devices including smartphones that have tiny, almost invisible-to-the-naked-eye pin-hole cameras. Do those count? If I want to have a hidden cam to watch my birdfeeder, is that illegal?
Out of curiosity, what do people dislike about IPv6? I know next to nothing about networking, but it all I've observed from people against IPv6 is that it looks weird. It's downfall seems to be that we're so embedded into IPv4.

So ignoring IPv4, what is the problem with IPv6?

I was hoping we were still slowly making the switch. In the same way that the modern web took ages, but eventually adapted to update browsers more than once a decade and now it's reasonable to use modern JS features. I didn't give up hope on the "modern" web features.. should I give up hope on IPv6?
No, I was just wondering if these border loopholes were one-way or could be played from West to East, too.
Measuring the Performance of Firefox Quantum with RUM
These posts suck.
(Actually it's back up to two days now, I think it might just be that the break in downloading made my ISP unthrottle my connection).
Because mechanical turk MUST be supervised. The reward is disassociated from performance - it's the agent problem, writ large, since workers are effectively anonymous and paid piecework. In any paper using mechanical turk, half or more is trying to get the humans to do what they're told correctly. (They behave more like mischevious djinn than computers if allowed to act freely.) Just dropping in mechanical turk without a feedback system would lead to arbitrary responses, unhandled queries, and unsolvable inconsistencies.
With pointers, you have to differentiate where the pointer is from where the pointer is pointing to is.

let b = Box::new(5);
let r = &*b;

Here, r is on the stack (or in a register), but is pointing to something on the heap, so "&T is heap allocated" feels wrong.
I see it as equal parts mental and physical.

You've taken action which is half the mental battle. The rest is goals and discipline. Setting goals for myself helps me keep interested in running and working out. In any aspect of life, I find that having no goals means having no direction.

"Success is nothing more than a few simple disciplines practiced every day. Discipline is the bridge between goals and success."
-Jim Rohn

Physically speaking, I'm no expert, and am always open to new ideas, but am happy to tell you what I've benefited from thus far.

I've recently taken a real liking to the alkaline-rich diet. It's straight forward: less acids, more alkaline. There are plenty of resources online to better sort those out. I've experienced numerous benefits from letting this influence my eating; feeling more awake, clearer thinking, and being completely free of heartburn.
http://www.doctoroz.com/article/alkaline-food-plan
https://draxe.com/alkaline-diet/
https://www.webmd.com/diet/a-z/alkaline-diets

Growing/fermenting your own kefir I feel must be mentioned. It is basically the superfood of superfoods and you only have to buy a small amount once to yield an unlimited supply. You can't buy the grains in stores, but you can easily order it online (ebay, etc.) or find someone on craigslist like I did. Kefir drinks are available in stores but it severely lacks the full probiotic benefits kefir offers and is a waste of money given the alternative approach of making it yourself for free. The variety of benefits are almost too good to be true; the person I bought it from emailed me these sources, which have much more information:
https://goo.gl/HQf2n9
https://imgur.com/a/flFRk

Meditation also has endless benefits mentally and physically but is something I am trying to get into more.

Hope I helped, even if just a little bit. Again, I'm no health expert but I'm happy to share the knowledge/experience I do have!
Certainly if someone breaks into my house and watches it with not-spy-at-all cameras, they can know how I live and provide me with better products shaped for my habits and preferences, and help me with emergencies or particularly difficult tasks. But that might be sliiightly inconvenient at times, no?
New York’s Tilt Toward Congestion Pricing Was Years in the Making
Nothing, no single diet or single exercise program, works best for everybody. The only things that are really in common are:

1) Be motivated to change your lifestyle. A lot of people are motivated to be healthier (I mean, who isn't?), but not a lot of people are motivated to make deep, fundamental changes to the way they live. Quick recommendations like "no sodas" can give you something to feel good about, but only adopting one or two of these recommendations is unlikely to cause a meaningful difference. If you are motivated then you can develop new habits, and if you develop new habits then you can develop new healthy habits which will keep you healthy.

2) Stop being sedentary. That doesn't mean stop sitting, or getting up and doing push-ups every hour. That also doesn't mean you should quit your job where you sit at a desk and program all day. It means that you need to be engaged in some kind of physical activity that is both personally enjoyable, stringent enough to make you sweat, and that you can commit to doing on a regular (not daily, but not only on the weekends either) basis. Very few of us have hours and hours of free time available to us every week where we sit around bored with nothing to do - part of the lifestyle change is examining where you are spending your time and making a conscious decision to prioritize yourself and your health above whatever else was taking up your time before.

3) Don't conflate weight with health (unless you are severely underweight or obese, in which case your weight actually does impact your health). Adopting a healthy lifestyle may or may not cause your weight to change, depending on the changes you commit to making, and in any case if the changes you commit to making are healthy changes, then the rate of weight change will be slow. If you are making lifestyle changes to improve your weight and not your health, then you are likely to slack off when you get to a weight that you feel better about and regress. If you have issues with your body image, you're better off discussing those issues with a therapist first, before adopting drastic lifestyle changes - the classic dangerous (albeit extreme) example revolves around people who develop eating disorders in an attempt to be "healthy".

4) Adopt a healthy diet. This means different things for different people - different people have different physiology with different activity levels and different energy needs, not to mention that different people find different foods tasty, different foods cost different amounts of money in different places if they are available at all, and different people have different circumstances which dictate how much food they can prepare at home. You should ideally consult an experienced, registered dietitian who can help you make the healthy choices which are right for you instead of trying to make choices about your diet on the basis of diet or recipe books written for the mass-market by authors living in different personal circumstances than you.
There are probably a lot of people like me on HN who _need_ a unix box to do their work, and the various Macs are still far and away the best general purpose unix boxes available (best chassis, best peripheral compatibility, best (o|O)ffice software compatibility).

Now that Google Docs and Office 365 are "good enough" for most things, I would probably be happy to go back to Linux if there was a Linux machine that had comparable build quality yet was a bit cheaper than a Mac.
My partner does photography and has a Datacolor Spyder 4, which I of course borrow to calibrate all my monitors. At work I have a 30" IPS and next to it vertically an old 24" tn-film. After calibration, they are very close color-wise and they both are very enjoyable for reading code. The tn panel has worse viewing angles and about ~80% of sRGB, but after calibration it is absolutely much nicer even for development.

I calibrate my monitors with DisplayCAL[0] on Linux.

There should be one calibrator in every office, the difference it makes is enormous.

[0] https://displaycal.net/
Thanks Joe. It is indeed possible to have the user enter info freehand but that functionality is not build in that example bot. Should have done that in will do it now!:)
> Me and You start a company together. We would like to split things 50/50. We setup an address such that when values are paid to it, half goes to you, half goes to me.

What is the real world use case for that, though? That seems like a contract that makes sense as long as you and I trust each other, which rather negates the purpose of a contract.

Some immediate issues that strike me:

* There's nothing to stop either of us offering the services of the company outside of that contract;

* There's no way to ensure that one of us isn't freeloading;

* If my wallet gets stolen you'll be paying half the earnings of the company to the hacker until the contract is somehow voided;

* Which raises the question of how can this contract get voided? Do either of us get to void it whenever we feel like it? What if I've lost my key? Do we potentially just have to live with the money being paid into hacked / unusable accounts forever?

So all you've really saved is the bother of dividing a number by two and doing bank transfers, in return for which you've gained significant operational burdens.
You can get a lot of uMatrix's functionality just by enabling the "I am an advanced user" checkbox in uBlock Origin. I actually find it a better interface, but that's a personal preference.
Seconding what others said about habits and building a routine. From the power of habit book, I picked up that it's easiest to break old and make new habits at times of life change - change in numbers of people around you (death, birth, divorce, coupling up), change of location or work.

I made proximity to gym/swimming pool one of my most important factors in my last flat hunt, mapped out relevant facilities in London, wrote a scraper that searched for flats in walkable radius, used Google Maps API to calculate walking distance and uploaded it to google sheets for me to review. After moving to the new flat, I made sure to go to the gym every morning for the first 3 weeks. Even if I did little exercise (10 mins of cardio), it was about developing a habit of getting up and going there regularly. So far it's been good, though I wouldn't say the results are visible to everyone in the outside world, not that I care anyway. Being so close to the gym removes excuses like "it's not on the way to work", "I cannot carry my towel with me". Going in the morning makes me free to do anything at night without feeling bad about skipping exercise.

I am lucky to have a fast rate of metabolism and most of my cooking repertoire is around salads and basic meals, which imho are healthy. I stock up and freeze meat that I buy from butchers and farmers' markets.
I would think Apple would have released an update by now... but nothing yet. Can tell us something about the complexity of the code they need to change. Anybody an idea about how quickly they could release security updates?
This is a really helpful distinction, thanks for clarifying.
the topic is - bitcoin (Bitcoin hits $10,000). how is tether related to bitcoin? there are hundreds of coins of various credibility.
If you are a tech-type company doing business in the EU and this is news to you, hie thee hence to a lawyer forthwith. The GDPR has teeth. You are not going to want to discover you're in violation the hard way.
I disagree about "wiki not being used much [other than] Wikipedia [except super-niche areas]". Just a few successful, absolutely useful and worthwile as much as notable examples off the top of my head:

- http://www.scp-wiki.net/ — platform for artistic expression

- http://duolingo.wikia.com/wiki/Duolingo_Wiki — practical FAQ for users, by users (I learned from it quite a few things I needed about the app)

- https://wiki.archlinux.org/ — super practical, ultimate guide/HOWTO for many Linux-related technologies

- https://en.wikipedia.org/wiki/WoWWiki

- not to mention cr*ploads of "corporate wikis" in corporate intranets where any and all information can be lost (ummm... "found" according to official corpo-speak...)

I pose that wiki as a technology is now firmly entrenched and was without doubt revolutionary. (Btw, it was pioneered on http://c2.com, not "Wikipedia itself".)
The 500 lines of code is, to be clear, just a guesstimate. It really is related to how those lines of code are compiled into Ethereum opcodes. Maybe you can get a thousand lines of code. My point is that it's pretty small, compared to what most developers are used to.

The max gas limit is voted on by Ethereum miners. They recently raised it to 6.7 million (I believe it was 4.5 million not so long ago). The gas is what is used to store the contract (thus increasing the block chain size), or to execute code (thus increasing the work load on the miners), so it's up to them.

More Eth = more $$, but they have to weigh that against the downsides. If the price of Eth keeps going up, they have less incentive to increase the gas limit, because they get more money for doing the same work.
Rogue Wave Software acquires Java developer tool provider ZeroTurnaround
arguably, neutrality is an impossible task. where there is any editing or selection involved (be it by a person, or by an algorithm), neutrality disappears.
Javascript may have some functional concepts (mainly, functions as first order objects) but the programming style of most common javascript projects is not functional. This is with the notable exception of event-driven frameworks and precompiled languages like purescript.
This is the remnant of a previous OSX feature, that is you could go into single user mode, type passwd root, then create a password, then login with root / password. I guess there's a lesson here about complexity.
> they're filming their own property

What? No. Guests have reasonable expectation of privacy, same as hotels.
Everyone who sells bare metal as a service takes this seriously. As AWS build their own hardware, especially in these newer machines, I would guess that its not possible to flash firmware from the user machine, only from the control node.
I've also just begun to play with smart contract programming.

One problem I'm having is with event listening.

It seems that MetaMask doesn't yet support subscriptions, nor does my localhost testRPC instance pass it in the web3 object.

Some have suggested I need to run my own node just to listen for contract events. Has anyone figured out an easier solution?
I'm done with it, what do I care?

Although it is more traumatic for whoever has to deal with the body.
>> IMO being a front-end dev is borderline masochistic :)

Some of us just like the challenge.
If there were actually competitive markets for ISP services, we would be having a different conversation. Not that the ISPs could ever just be trusted to 'do the right thing' as Pai seems to believe (we have regulations precisely because corporations cannot be trusted to do the right thing), but it would be harder for ISPs to unilaterally restrict services. Practically speaking, the only option now is muni broadband.
I don't imagine this will last long. As soon as citizen journalists start to report on some of the unpleasant realities behind the current political upheavels the MSM will go into full attack mode.

MSM: 'stop giving a voice to racists|islamophobes'.
Jimbo: 'but we're the good guys, allowing anyone to report on their lived experiences'.
MSM: 'well it sounds racist to us'.
Jimbo: 'but they're factually correct'.
MSM: 'whatever; some people think they're racist, therefore they are.'
Jimbo: 'OK, we'll put some controls in place to stop the racist reporters..'

And so the MSM gains another member and the project is dead in the water.
What problem are you trying to solve?

What existing sites/communities do people visit to solve that problem today?

How do you hope what you're proposing will be better than those?

What mechanisms or incentive structures will you deploy to turn that hope into reality?

(You're talking about building a site based on user-generated content. This isn't easy, but maybe you can learn from other sites that have gotten good traction.)

(Also, you're talking about a really wide set of topics. It might be hard to tackle them all at once.)
I should note that single user mode / passwd root thing has been around for quite some time, so remember kids, the only security is physical security...
True, but in the 1970s when I was a kid, I watched a lot of Saturday Morning cartoons which had a lot of toy ads, and my father's comic books had toy ads too. Selling crap to children too young to understand advertising has a long history.
AI Is Fire
Andy Rubin Takes Leave of Absence Amid Report of ‘Inappropriate Relationship’
Yet again another example of one good use for MS browsers, installing a different browser.
The Princeton study: https://freedom-to-tinker.com/2017/11/15/no-boundaries-exfil...
Snapchat redesign: How the new Discover feed and friend page works
Aryzon – cardboard AR goggles for iPhone
Can't agree more. The main thing that keeps me using OSX is Adobe Creative Cloud.

I'd mention aesthetics, but the current Linux distros look quite good, plus they're customisable.
This. I really don't understand why companies are so allergic to human intervention.
I know precisely why they did this. They did it because IntelliJ cannot cope with a file being part of two different modules.

Scala/JVM + Scala.js has been sharing code for almost three years now, and it works perfectly out-of-the-box in Eclipse. However, in IntelliJ they barely made it kind-of work by creating an artificial `shared` module (in addition to the normal `jvm` and `js` modules) that `jvm` and `js` depend on. But `shared` cannot see the definitions from `jvm` and `js` with that model. [1]

So because IntelliJ cannot deal with shared source files, they bastardized the language to work around that limitation.

They really should have fixed the IDE instead.

[1] https://youtrack.jetbrains.com/issue/SCL-7859
Because in a 100-node cluster, you get 100 du results. With osh you can post-process cluster output in arbitrary ways, e.g. summing.

Also:

- Piping of Python objects instead of strings.

- Integrated database access (SQL results -> stream of Python tuples).

- Support for arbitrary Python processing.
Like a dashcam for your home, maybe insurance companies would even lower your rates if you have them.
When they "record every keystroke", do they mean:
a) every keystroke on that particular webpage?
b) every keystroke of any webpage on any tab of the browser?
c) every keystroke on the laptop itself?

If it's b or c, I have a MAJOR problem with this.
> what they're trying to find on a site, and clarify pain when using applications.

No. We are doing analytics for the sole purpose of selling our products and services better. Let's not kid ourselves into thinking we are spying on our users for the greater good. Nobody implements user tracking simply to make their user's lives better. If it does happens, it's merely a side effect of our sales strategies.
> Chrome on the other hand is not stagnant, far from it. And Google is not letting Chrome stagnate.

That's not Brendan Eich's point of view as part of the tc39 (the standardization body for JavaScript) :

https://youtu.be/gO2tt9x9zBc?t=11m58s
https://en.m.wikipedia.org/wiki/The_Mythical_Man-Month has a quick summary of all ideas presented in the book.
I don't understand what is meant by "capabilities". My understanding of what capabilities are is so abstract, that asking if they worked is not something that could possibly be asked. I might have missed something, or this guy is an architecture astronaut (both?).
Yes, PVS-Studio Can Detect Memory Leaks
You need good garbage collection for functional programming. Now we have good garbage collection.
NYT would only break a story on Franken if they knew it was about to be widely circulated. As a crusading progressive who also has quirks and wit, he was their archetype, they surely agonized over taking him down even with the current #MeToo zeitgeist. I'm not bothered because NYT has basically accepted their place in the industry and anyone visiting the site knows what to expect

WaPo is basically just a content site for Clintonites, as such, I would expect Roy Moore was a gift from heaven for them. If they are not careful, they will end up just as a less-fun HuffPost