skysight-inc/HackerNews huggingface dataset:
I totally agree with this, and I will repeat a somewhat controversial view I hold:

Governments & business owners directly gain power & influence in the world via their citizens/workers productivity. The western attitude to "mental illness" is shaped VERY strongly by this - when you get "depressed" working an overly stressful job with no hope of anything better, it is better to convince the poor sap that its a problem with THEM rather than a problem with the world. Then give you some pills to make it better.

This dysfunctional culture will swallow up all your time, force you to work on things you fundamentally don't believe in, leave you isolated from people and then tell you its your fault for being depressed. We need to make the world stop dehumanizing us. Monkeys in cages get depressed.

When 5% of people are depressed, maybe its fair to say they should seek treatment on their own. When 30%, 40%, 50% of people are depressed.... its time to adapt the world to fit peoples well-being instead of the other way around..
NO documentation for react?
I think here was are seeing @vadimberman's caveat coming to bite. These sorts of messages don't look like someone communicating badly, but someone doing as well as they can given the architecture.

The subsystem that understands the error doesn't have the context to tell the user what to do about it, but the subsystem with context doesn't understand the failure mode in enough detail to actually give the right advice.
Using Google Analytics 360 and BigQuery to Grow Your Business
re: https://news.ycombinator.com/item?id=15991373

https://github.com/papers-we-love/papers-we-love
Dial is a bad design for time, because most of the time people want to heat something up for a short time: 15, 30 or 60 seconds. On many microwaves this involves slightly turning a dial and then counting the required number of seconds in your head (because the exact angle is too small to select right away). A log scale dial would solve this problem, but then it makes adding another 30 seconds a non-trivial operation, because the angle is no longer constant.
Offtopic, but this sonata is connected to one of the most witful naming (in my opinion) in IT industry:

The Silverlight clone was named to Moonlight (a Mono project - RIP), which on the surface seems like just a simple association, but Moonlight is a sonata in C#! :)
UofA also has a telescope facility on Mount Lemmon with night observations open to the public. The program is equally good.
You are right, but now we are not discussing thermal efficiency, but total mpg which is related, but not the same thing. Efficiency being equal, you'll get more mileage from an electric car, because it can get back some energy from regenerative breaking, and it definitely has less internal friction.
I'm using DuckDuckGo and I just realised I should install something similar, thanks!

https://addons.mozilla.org/en-US/firefox/addon/ddg-hide-unwa...

EDIT: You can actually achieve something similar with bookmarks, using keywords and '%s'

The idea is: take a link to a search query string of a search engine, and replace the query part with '%s'. For example, take the following search query on DuckDuckGo:

cute hedgehog -site:www.pinterest.com -site:boredpanda.com -site:amazon.com -site:etsy.com

This results in:

https://duckduckgo.com/?q=cute+hedgehog+-site%3Awww.pinterest.com+-site%3Aboredpanda.com+-site%3Aamazon.com+-site%3Aetsy.com&t=ffab&ia=web

Bookmark that, and replace the "cute+hedgehog" part with "%s", then edit the bookmark and add (for example) "ddg" to the "keyword" section, then typing in:

ddg cute hedgehog

... will send you to:

https://duckduckgo.com/?q=cute+hedgehog+-site%3Awww.pinterest.com+-site%3Aboredpanda.com+-site%3Aamazon.com+-site%3Aetsy.com&t=ffab&ia=web
>It's not clear to me why sugar from an apple is better than sugar from soda. Can you explain or link to a source?

The obvious difference is that I can only eat so many apples; I've gotta eat three apples to get as much sugar as a soda pop (or a cup of apple juice, for that matter... apple juice has more sugar than soda pop.)

There is also a claim that the effort to digest an apple makes it a lot better for you than drinking the same amount of apple juice.
Wouldn’t it be the “Gold standard”, then?
When I was young I had a chance to meet two very young huffaz (we say hafız) candidate. They were probably around 10 to 12 years old. What fascinating was, they did not know any Arabic and memorize almost more than a full page a day continuously. I remember them as very calm and nice kids. Also for the context, there are around 77.000 words in Koran.
>Best diet ever.

No bread, no pasta, no potatoes? I beg to differ.
Kids have other ways of obtaining games than their parents buying them. And most kids have more than one parent. And that one example prevents you from understanding my entire comment?
The Dutch have the lowest obesity rates in the developed world, at 8%, and 35% of their trips are taken by bicycle. Is that just a coincidence? I mean,technically, sure, you got to eat less than you burn to lose weight, but observably, people who regularly get moderate exercise as an ongoing practice tend to have their weight under control.

I had one winter where I didn't cycle and I gained 15 pounds before I even noticed. It took a little under a month to lose, which I did by eating less, but I also got back on the bike. That's the only time I've gained weight, and losing it wasn't some special act of will or anything, I decided to do it and I did it.

The rest of my family is sedentary, and fat. They're always talking about how they've got to lose weight but they're intimidated by it and they never stick with their diet plans for long. They don't have the intimate relationship with their metabolism that someone who excercise daily has.
I thought you were asking a rhetorical question to show that obfuscation is a valid security measure that we all use. What was your intention?
If there's any exercise that has helped me shed weight, it's hiking. By being moderately active throughout the whole day you easily burn an extra 1500-2000kcals. Jogging has never really helped in shedding weight for me, just general fitness.
Those sizes surely warrant a small render farm and not just beefed-up workstations?
Do you drink coffee before then? I could probably do this diet most days (I've done many days within a 10 hour window) but I 'start the clock' early if you count black coffee, since it's something I start every morning with.

EDIT: See you answered that question. I should get back on this.
Might be remembering wrong, but I thought when I went to the Eiffel Tower about 30 years ago, I had to pay to use the bathroom (there was a coin thing on the door to the stalls). That doesn't seem very different to me, though obviously someone can pay to use a toilet and take all the toilet paper if it's on a roll inside.
Wanted to try, but it's not available in the Chinese app store for both iPhone and iPad
The blockchain is the third entry.
What’s interesting is when LSD was first discovered and popularized with psychiatrists, it was considered a “model psychosis” - inducing a temporary state of psychosis which researchers could use to study mental problems. That theory was discredited in the late 60’s when it got banned (it was one of the reasons why it was supposed to have no medical value).

I believe there’s a lot of truth to it, from my experience it totally matches a mini psychotic event.
Yeah, the button is the user answer, not what you want the computer to say to you. This guideline is backwards.
Voters find the low density (light, air, lack of bulk, lack of height) to be a much more important asset, and the two are not compatible.
And limiting late night meals. It's important that you have a long enough fasting window.

If you regularly eat until midnight, you'll have to skip lunch as well.
This (highly stylized) rendering of the opening of Bach's Matthew Passion has helped me appreciate the structure of this extraordinary piece of music: https://www.youtube.com/watch?v=AAafyK44fCc
It would be good to know what off-axis or on-axis means in the context of telescope mirrors.
You know im just a programmer,right? http://www.timeforwellness.org/blog-view/vitamin-d-improves-...
Though Southeast Asia, where bananas originated, grows dozens of varieties of banana, the Cavendish is the only kind deemed acceptable for export.

This is a pity because a lot of the bananas you see here in SE Asia are more flavorful than the Cavendish anyway. Industrial agriculture's need to produce identical, identifiable, marketable products year after year is responsible for some very destructive and fragile monocultures.
On android phones I have used before I can set password for each individual app, but you cannot do that on iPad or iPhone via iOS's parental control, that's too bad after I realized that, am I missing something?
I am worried this is just the beginning.

Once control of the masses is centralized in one place, it will be too tempting to tighten the screws - or just screw around - with some or all people.

Want to make everyone dance to a new law? Easy peasy. Limit bathroom breaks? No sweat.

Even enforcement can be made more "painless" via machine learning:

Gradually, a model of people’s behavior takes shape. “Once you identify a criminal or a suspect, then you look at their connections with other people,” he said. “If another person has multiple connections, they also become suspicious.”

Simply cut off that person's credit cards and WeChat accounts etc. Anyone seen helping this person get food to eat is similarly penalized. Pretty soon the person will learn to obey the system or starve. In fact it will be a nice Pavlovian proportional response. Each infraction is punished by some limitation of your ability to transact. And voila -- a population of docile adults, perfectly conditioned by an ever more efficient system to do whatever the new laws say they should.

Just like drones make war less costly, this will make law enforcement less costly, leading to a proliferation of "easy"-to-enforce laws.
> ... or was ever true

This needs a reputable citation. What an anonymous user personally thinks about it is hardly relevant.

By the way, knowing a language is very different from use in day to day speech.
I did post my findings on the GitHub issue :-)
Show HN: Free Anycast DNS resolver for families and kids (Adult content filter)
Would like to share here a project that we have been working on for the last ~10 months.

It all started with the goal of properly blocking adult & explicit content out of our own kids devices and expanded it to a free service that anyone can use.

Feedback is welcome:

https://cleanbrowsing.org

CleanBrowsing is free Anycast DNS resolver that automatically blocks adult content and enforces safe search on Google, Google Image search, Bing, Youtube, etc. We have been crawling and categorizing the web for many months and we feel it got to a point where our database is large enough and we are able to accurately identify and block sites that should be not safe for kids.

Try it out and let us know what you think.
My impression is that Apple works in project mode only for building a new project, not improving existing ones. The reason quoted for this was secrecy, not breaking down silos.

Where did you read that they work in project mode more widely?
the negation of "operators must block all unlawful traffic" is "operators are permitted to not block all unlawful traffic", not "operators must not block any traffic on the basis of it being unlawful."
Is there anyone who wouldn't mind sharing salary from Intel?
sed and it's bigger brother awk, are excellent tools to have in your daily use toolkit.

O'Reilly have an excellent book: "sed & awk
Book by Arnold Robbins and Dale Dougherty"

For awk, there is the classic book:"The AWK Programming Language by Alfred V. Aho,‎ Brian W. Kernighan,‎ Peter J. Weinberger"
If Wikipedia is to be believed, Gros Michel is still grown and consumed in Asia. It's the Central American plantations that were ravaged by disease, and that's where the US/Europe get their bananas from.
AMD Processor and Graphics Products Preview at CES 2018
As a counterexample, I tried to fast from 8PM to 11PM and it triggered a starvation response in me and 4 days in, it made binge on what ever I set my eyes on. I do a bulk of moving around in the morning. So maybe I should do it in the evening, may be like a 7AM to 5PM. I am a woman. So the physiological differences may also come into play. I dunno.

I am just adding this comment because, invariably articles on food & health results in comments about intermittent fasting with glowing reviews. It really does marvels for some/many. There are also cases like me for whom it does seems to hurt. Maybe I am approaching it wrong. Just adding my anecdote for a balanced view.
Why do you think breakfast is called 'break fast'?
LimeSDR
It's an opinion piece
How Postgres unique constraints can hang your app
How I came to write D (2014)
> When trying to make a seemingly arbitrary architectural choice, then perhps to break the tie you can ask yourself "if an error occurs, will this allow me to get the right info to the user?"

Definitely. That is something I've never heard discussed, and it really should be discussed. User experience is influenced by the inner works of the engine, too.
people ate loads of sugar before modern processed foods. the consumption of sugar is not something that was forced upon us by evil corporations.

taxes don't make sense because people will just substitute sugary foods for other types of food. isocaloric exchange of sugar for other nutrients doesn't lead to weight loss. so the end result is that consumers pay more for something they enjoy (sweet food and drink) without any public health benefit.
"…we really do not have a good working definition of what constitutes life. At the most fundamental level, we still do not know whether the difference between animate and inanimate is simply a difference in kind or degree."

What would a "difference in kind" look like?

I thought it was pretty well established at this point there's no magic, that "life" is just another layer in the layers of natural complexity, how matter organizes itself, from physics to chemistry to biology to sociology and ecology.

Why would there be an expectation of a sharp (non-linguistic) boundary between "life" and "non-life", animate and inanimate, physics and chemistry, chemistry and biology?
I am quite surprised to see a recommendation to shop at Walmart on HN. I thought it was common knowledge that Walmart is a pretty terrible company and that people shouldn't support that?

Sure, you save money, but at what cost?
that makes it a lot clearer, thanks!
What point? Sir, it's too late. At no point. In any country.

https://m.youtube.com/watch?v=TlO2gcs1YvM

https://m.youtube.com/watch?v=DjUdVxJH6yI
Also interested as someone with a bad neck.
Is it wrong for a newspaper to hold opposing opinions?
I think not.
https://www.barebones.com/products/bbedit/faqs.html#no_licen...:

”Do I have to pay to use BBEdit?

No. You can use BBEdit without purchasing a license, in the same way you’ve been using TextWrangler (yes, for free). If you want BBEdit’s complete feature set (web authoring tools, and other exclusive features), you can purchase a license any time you like.”

They also claim that gives you more than TextWrangler’s feature set (https://www.barebones.com/products/bbedit/comparison.html). If they didn’t add nagging for upgrades, it seems they simply renamed TextWrangler to BBEdit.
Don't think so. Carbohydrates-heavy foods are the foods most associated with weight gain. Sugar is pretty bad, though not as bad as potato chips, fries etc.
Yeah, I'm definitely the same way. I experience a number of clear shifts when I'm off refined carbs. Hunger, energy level, mood, inflammation level (e.g., joint pain). Fruit is fine. I fell off the wagon while with family over Christmas and I'm eager to work my way back.

Regarding cooking, I'm a big fan of the Instant Pot, the countertop pressure cooker. Tonight I made pork shoulder over cabbage [1] with root vegetables [2]. Meal cost is something like $4, and the leftovers keep and freeze well. I've even worked out a deal with a friend where we cook extra and swap.

[1] http://nomnompaleo.com/post/111934821818/pressure-cooker-kal... (also try it with a softboiled egg on top; the hot yolk is stellar on the pork)

[2] http://nomnompaleo.com/2017/11/06/instant-pot-autumn-mash
Thanks for this link. I didn’t know who he was. I found his story inspirational. He says some chefs are artists. This may be true but there is a fundamental difference between a chef and a fine artist such as a painter. Chef’s product is useful. He has customers. There are well-defined standards for excellence such as the Michelin stars. But what an artist produces by definition is useless. Must be useless. Otherwise it will be denigrated as “not art but illustration,” or “decoration” or “commercial.” So the problem is to find a value system for something which is useless.
I rarely exceed 2000 calories.

I am small framed (68 kg), what they'd call at the gym "skinny fat". I'm in my mid-forties with noticeable fat around the abdomen. I have never been obese to be concerned about fat accumulation but I have vowed to never grow older AND fatter. :-) I've been doing IF as habit now with some success not only because of my work schedule primarily being in the morning but also because I have to dash out of the house for school runs after the emotionally exhausting work of herding cats out of bed (food in the throes of such trauma doesn't appeal to me). Also, I can get 6 hours of concentrated work done when I know I have no breakfast to think about before fetching the boys from school.

I have noticed accelerated loss of fat (I have fat calipers to measure) when I remove bread, pasta, rice and nuts for three consecutive days of the week.
Carbohydrates are metabolized very differently when consumed along with fiber. This is why the glycemic load of apple juice is about twice as high as an apple and white rice is about twice as high as brown rice:

https://www.health.harvard.edu/diseases-and-conditions/glyce...
I used to think like that, then I became a consultant and got to enjoy how companies whose main business is not at all related to IT do work.

100% of them don't care about code beauty or maintainability, just something that does what they need for their actual business, done in X days within Y euros/dollars/yang/....

So they get what they want, with the quality they are willing to pay for.
Even if you’re reading FB 50 minutes a day, you’re probably only downloading 5-10 minutes of that time. In the last two months, The FB app has used 557 MB of data on my iPhone. That’s about 1% of my soft data cap over that time with VZN.
Elements of Software Construction [1] (MIT OCW 6.005 2008) has an excellent practical introduction to programming with the State Machine paradigm.

It uses Java but is applicable to any language because it's a design centric approach. In particular, lectures [2] [3] [4] [5].

It relies on a very lightweight notation and presents a choice of 4 design patterns (not just GoF State) to synthesise the code directly from the design [3].

[4] shows how to apply invariant reasoning to State Machine design, which is an extremely powerful reasoning tool.

[5] is very interesting because it explains how to deal with structured traces, which are modelled as streams using a regular grammar. This turns out to be a very simple but powerful design approach that is applicable to many situations, and very straightforward to implement using JSP (nothing to do with Java, stands for Jackson Structured Programming). Because this is basically a parser (at a very abstract level), the course then follows naturally to the FP paradigm.

It also includes a couple of very cool hands-on exercises:

Multipart file transfer [6] [7]

Midi piano player [8]

In fact, the whole course is outstanding.

[1] https://ocw.mit.edu/courses/electrical-engineering-and-compu...

[2] https://ocw.mit.edu/courses/electrical-engineering-and-compu...

[3] https://ocw.mit.edu/courses/electrical-engineering-and-compu...

[4] https://ocw.mit.edu/courses/electrical-engineering-and-compu...

[5] https://ocw.mit.edu/courses/electrical-engineering-and-compu...

[6] https://ocw.mit.edu/courses/electrical-engineering-and-compu...

[7] https://ocw.mit.edu/courses/electrical-engineering-and-compu...

[8] https://ocw.mit.edu/courses/electrical-engineering-and-compu...
> Did you know that Jenkins Pipeline cripples Groovy

Yes. I've run into some limitations; first because of a Pipeline DSL, and when I ditched it in favor of normal scripting I ran into further problems, like Jenkins disallowing the use of isinstance (due to a global configuration of permissions, apparently - I don't have administrative rights there) and many other parts of the language. It was kind of a pain, actually, because I developed my script locally - mostly inside groovysh - where it all worked beautifully and it mysteriously stopped working once uploaded. A frustrating experience, to say the least.

> over the wild claims many programmers make regarding their PL expertise.

I believe I'm a bit of a special case[1] here, wouldn't you agree? Many of the languages on that list I only learned about, however, many of them I learned, having written several thousand (on the low end) of lines of code in them. It's got to be at least 30, I think? I'd need to count.

Anyway, I argue that such an accumulation causes a qualitative difference in how you learn new languages, allowing for rapid acquisition of further ones. It's like in role-playing games, if you buff your stats high enough you start getting all kinds of bonuses not available otherwise :)

[1] If I'm not and you know of someone with the same hobby, please let me know! I'd be thrilled to talk to such a person!
It's true, of course, that "just eating less" will cause you to lose weight. That part is not controversial, if you discount the fringe. However, there is evidence that this is a lot harder than it sounds, which is why we all have these weird diets in an effort to get ourselves to eat less.

Being fat is pretty terrible; Not only does it feel physically bad, but everyone seems to feel it's okay to pick on you about it, because, as we all know, how much you eat has a lot to do with it. Stop putting food in your mouth, am I right?

However, statistically speaking, once you are obese, there's an extremely, uh, slim chance of you attaining and keeping a healthy weight for any period of time.

http://ajph.aphapublications.org/doi/10.2105/AJPH.2015.30277...

This indicates that to go from having a long term obese BMI to long term 'normal' bmi, you have to have willpower in the top 1% (If we're assuming it's mostly willpower, and I don't have a better model)
> Well TIL that I have been “intermittent fasting” for my entire adult life.

If you snack at night or until midnight (or drink any sugary drinks at night), as many casually do, no you haven't. You'd need to make sure that calories are completely restricted when the feeding window closes.

Check out this paper: https://www.ncbi.nlm.nih.gov/pubmed/8238506 done on adult men -- with that said, IF hasn't been studied much. My original post is purely anecdotal. YMMV.
I would point out the difference in someone who simply creates a tool, and a salesperson who, perhaps, knowingly lies, stretches the truth, hides inconvenient truth, and otherwise uses unethical means to promote something they know is wrong.

There is also a very steep scale of diminishing complicity. Is the accountant that works at the electric company which provides electricity to the office building where the sketchy sales guys plot to sell their unhealthy products also complicit (assuming he knows what goes on there)?
This is really interesting. Given how open most development tools are and the fact that users will constantly generate data makes them a natural environment for deep learning based productivity plugins. But we can't have nice things :( -- also this doesn't sound like a great way to make money.