skysight-inc/HackerNews huggingface dataset:
> It's basically the magic vs explicit discussion all over again. Like usually in this discussion, the magic approach is really appealing until it doesn't work, and then the pro-explicit people will go all "told you so" on you.

Well... Have any "pro-explicit people" gone all "told you so" about all the magic that's going on with setState?

I don't think so. I don't think it's a binary magic vs explicit choice. I usually lean towards explicit, but as setState demonstrates, it's possible to find some kind of balance where the benefits of the magic outweigh the downsides, or at least are not that bad of a choice.
Do it piece by piece. There's no need to do it all at once, so start incorporating it where it makes sense when opportunity shows itself. By doing a massive rewrite you're just inviting badly structured code.
>many people (myself included) don't learn early on that feeling sad or overwhelmed is normal and ok

Until someone told you what is normal and what is not you have no problems doing something. So it's not about being sad is ok, it's about not judging at all.
You're gatekeeping metal health problems.
News articles don't stop at the title. The classes involve more than just "telling them to be mindful".
The pig that wants to be eaten.

I was very young and impressionable and I think this book is like philosophical crack cocaine.
Not unrelatedly - another story on the front page today:

The Decline of Historical Thinking

Mindfulness is not new, it's just the word that is new.
Hooks are an alternative to HOCs and RPs.

Their bad part is, they add another concept besides components.

Their good part is, they allow to convert non-display components to hooks, which removes the guessing of where the logic is stored.
The Tao Te Ching was very important to me. Every time I feel I learn something about life, I check the book and it's there already!
How to Make KFC STYLE Crunchy Fried Chicken at Home (Video and Recipe)
Is it? The problem is scaling at the stores, both in support and sales, and that they can't really keep up.

There are some fairly obvious ways to tackle both of those issues that have been ignored - god forbid Apple lowered themselves to have an actual sales counter that could churn through customers who know what they want rapidly. Triage and management of support cases seems to need desperate reform (it's still great that Apple gave me a whole new Macbook last week. It's bad that it took two weeks with a dead machine before they could see me and that product reliability is going downhill so fast that this is the third time that Macbook has fried itself in two years).
I'm no mental health expert but isn't mindfulness a proven method for improving one's mental health?

Schools can't fix dysfunctional families. All they can do is give kids some tools to cope with such challenges. Even if it doesn't help a particular child, why would it be wrong to at least try?
Why Is My Perfectly Good Shellcode Not Working? Cache Coherency on MIPS and ARM
"this book" being Blood Heir, not The Fifth Season.
I have worked in the open office all my career but couple of years ago I got contract job on the customer who gave me tiny office with small window. That silence was amazing, if I wanted to talk to someone I could just walk out of office and knock the door or book a meeting. Otherwise, I could just code. It was the most productive time of my career, too bad it ended and I returned back to modern times.
> it’s illegal for corporations to donate to candidates.

Only directly, I thought? Can't they can give money to PACs which then give to candidates? In theory there's no collusion but...
You are asserting that depression is a learned behaviour?
In some people's ideal world, Reddit would run an extremely lean organisation. Instagram got acquired when they had 13 employees, showing you can be successful with a very small number of employees.

If Reddit had 10 employees and a $5 million annual salary budget, all the employees would be very well compensated, but they wouldn't need to raise $300 million from investors or aggressively pursue ad revenue by pushing an app to avoid ad blocking.

Personally I'm not sure if running as a pseudo-nonprofit would work or not. It's possible there's a cat-and-mouse game with spammers, astroturfers, and griefers that can only be solved with large numbers of employees and high revenue. Perhaps successful online nonprofit projects like Internet Archive and Debian have only avoided this because the don't have the combination of user-generated content and a large user base that make them attractive to spammers. Or perhaps the fact Reddit has so many more users than MetaFilter is a sign sites following this model just don't get big.
Reject New Funding for Border Surveillance: No Tech Wall
Why Writing Firmware Is Kinda Like Software Exploitation (2014)
I suggest you RTFA before facepalming.

It is as much about being literate in the issues as it is about solving them.
Part of the legibility is your screen time, how much time did your spend reading that font. I'm using DejaVu Sans for about 10 years and while there may be slightly better fonts, it's not worth it to change it. Just pick one font and stick with it, don't change it every six months. This goes for websites and OS as well.

Arbitrary changes are annoying because you are losing your hard learned visual parser settings.

On mobile when I'm about to read longer article I use plugin to change all elements to medium size black on white sans-serif.

For legibility, consistency and familiarity is more important than finding the perfect font.
Reminds me of Little Bets by Peter Sims
Are you suggesting we shouldn't teach mindfulness to children? That it's not a useful skill? That the time would be wasted?

>“It’s not just to make them feel better in the short-term,” Dr. Deighton said, “but to better equip them for later in life.”
Functionally for passenger? It isn't much different since taxi hailing apps now exist.

For driver, very different. Taxi vehicles are typically exclusive business use, often times used by different drivers in shifts. Different municipalities may set fare rates or minimums for service. May set caps on number of cars. Or might not, maybe they just require commercial insurance and an application to be filled out. It's different everywhere. Some cities lyft/uber drivers are even employees of a subsidiary since not recognized as contractors.

Generally lyft/uber went into markets going 'nananana, we are not a taxi because this is a cellphone! Look at the app! Rideshare!' So regulators ended up having to make a new legal class of service. The companies could just throw straps at the problem until enough users jumped on and 'transit proposals' could be made to towns.
Yes, in an utopia, this class may be useless.
Scientists create a bacterial resistance DNA global database
I think this makes perfect sense. Good one from the Buddhists this one.
It's all about making the children stronger, tougher and more aware of them self and people around them. How they affect the world and how the world affects them. If the world is mean, harsh or tough, they are already capable to handle them self.

One can also as an adult start practicing this. Can be quite exhilarating.

Here is a good book on the subject
https://www.amazon.co.uk/Miracle-Mindfulness-Gift-classic-re...
Ten minutes to take back embarrassing texts you send on Facebook Messenger
> Children have no problems with happiness or well-being.

This seems rather naive to me. Unhappiness is far from absent from the lives of many children and young people, and social media is making it worse. See yesterday's yougov survey results that indicate that "18% of young people in UK do not think life is worth living" [1].

This new curriculum subject is about helping children to understand and navigate their own feelings and deal with stresses so that they are less likely to turn into messed-up teenagers and adults. As a parent of school-age children I think this is an entirely good thing.

[1] https://www.theguardian.com/society/2019/feb/05/youth-unhapp...
If you've never seen a depressed child then I beg you to pay attention. Children have incredibly complex, fascinating and perceptive minds, they aren't just happy food processing automata until they reach puberty.

It's exactly this kind of reductionism which leads parents to ignore their children's psychological needs, which leads to schools having to take action.
Last quarter report they had -$0.22 eps, and they report today, analysts are still expecting it to be less than zero per share.

Edit: earnings beat with $0.44 eps, haven't looked at full report though for any gotchas.
> They have grievances with the existing systems, reason to believe those in power won't address those grievances, and reason to believe replacing those in power with people more sympathetic to their grievances will address them.

So they are doing exactly the same as those in power, which is taking care of themselves.
He died some time ago.

Oh, you mean the play? Could you expand on your response and show how the play is accurate and inaccurate?
And... its gone. Database error. :-(
Hi, indeed this is a MVP to test the idea.
I used it myself yesterday to send a message to 176 contacts, it took me honestly no more than 8 minutes (on Android). The search feature is quite a deal but not critical.
CCPA will not be enough. US needs a GDPA (General Data Protection Act).
> That literally did not exist several years ago, even though ad blocking has been around for decades.

What is "several years"? This has definitely existed, say, five years ago. Not at this scale, of course, but it's not a recent invention by a long shot.
> The transceiver on board Longjiang-2 was designed to allow radio amateurs to [...] command it to take and downlink images.
I think this topic is too complicated to discuss over text like this.

I agree with you, I’m sure we think similarly, and it seems like talking to children about mindfulness could be amazing.

I fear that many schools/teachers won’t do a good job at it, judging exclusively from my own experience back in school... but that’s a different issue.
Climate in Svalbard 2100 – a knowledge base for climate adaptation
I'm always puzzled with the fact that people search for surrogate solutions instead of pursuing the real issue.

If you don't feel well there is so much you can do. Make serious effort in making friends, join a sports club or something else you like, solve long running conflicts with other people, don't over- or under achieve on a level which doesn't fit you (school/work), be proud with the things you accomplish instead of never being satisfied, etc...

Perhaps it just seems easier to buy another self-help book, and take a mindfulness class.
> Children have no problems with happiness or well-being

I'm happy for your past self, but your experience is not universal. Many people as children and teenagers have problems with these things. Its hard to take action to work on these without having a mental framework to organise your thoughts and communicate about them.
They're probably also the kind of person who tells depressed people to "cheer up, life's not all that bad after all!"
Either gender can manage to pee into a container in a vehicle if they really want to. There are adapters you can buy if needed.

Some people may not really want to, which is fine. They are probably the same ones who would find the lack of showers a deal breaker.
Fortnite Is the Future
So, being able to mindfully just observe your feelings without passing judgement...?
What I don't get is why they are making Chrome mandatory. What happened to web standards? It's not like other Chromium-based browsers or Firefox can't already use Chrome Custom Tabs and run Progressive Web Apps.

It seems like Google learnt from the Electron project and decided to mandate Chrome on their mobile platform so they can suck up as much data as possible.

With PWAs getting closer functionality to native apps now, I can see a future where most mobile apps are being powered by Chrome. I'm surprised they managed to top the privacy intrusion Google Play Services already does.
I hate this trend of forcing really weak story telling into articles. I clicked the link because I was interested in the headline, not the balmy weather in Singapore.
It's not theoretical, it's practical. Here's some code with a self-referential struct:

https://play.rust-lang.org/?version=stable&mode=debug&editio...

Here, we have a self-referential struct. If you run this, you may get different numbers than me, but

[src/main.rs:17] &f = Foo {
x: 5,
p: 0x00007ffcbbba41c0
}

Here, p points to x. It's all good. The address of f is

[src/main.rs:19] &f as *const Foo = 0x00007ffcbbba41b8

We move f into oh_no. Its address changes:

[src/main.rs:25] &f as *const Foo = 0x00007ffcbbba3f28

... but p does not:

[src/main.rs:26] &f = Foo {
x: 5,
p: 0x00007ffcbbba41c0
}

Any access of p is now a use-after-free.

Does that make sense?
No, because no company in their right mind will give up its IP like this. You will have to purchase the company, or minimally, purchase an exclusive license to that technology at 10x or even 20x the price.
Are we really going that low to take beliefs from WER (white, educated, rich) people? I mean wasn't Seneca the rich man during that time? And also Marcus Aurelius book doesn't seem appealing to read because it was never meant to be published.
I follow this sometimes but having a wide range of patterns in the same project feels so dirty in a way... Although it makes sense, refactor only when you need to.
I really struggle with the term "mindfulness" as it seems it can mean anything and everything, depending on who you ask. We had some Mindfulness workshops at a previous employer and it was so full of woo and magical thinking that it really turned me off and felt like a huge waste of time.

My current company also recently introduced a Mindfulness workshop only this time it was really a basic meditation workshop which I enjoyed.

At this point, I don't even know how to react when something related to Mindfulness is announced.
Google adds new security updates celebrating Safer Internet Day
This message is intended with no snark or sarcasm - it's _very_ popular for women in the outdoor/vanlife communities to use specially designed funnels. An amazon search will be enlightening.
The same limitation appeared recently on the play store (so it's still possible to do in Android if I would publish in alternative store). The monetization is simple: every SMS is sent by your device so the pricing is the pricing of your network provider. Also if you want to send messages to more than 10 contacts you need to unlock the premium textblast through an in app purchase.
So yes your contact list is safe. I doesn't work with Google Voice looks like it's only US based and I am in Europe.
Ok so they are running huge amounts of data through tensorflow.

I am more interested in what the data is and what can be gained by using such a large amount. I was under the impression that the benefits of training data plateaued off after a certain amount.
I would love to be asked to do a code review during the interview process. What a great idea.

I can imagine that another good thing about it is that it takes enough focus and is a familiar enough task that even if I’m in nervous-applicant mode, it will kick me over into acting like I’m already working there.
I quit marijuana 2 months ago being a smoker since 15 (11 years). I felt it was making me stupid. I never really was much of a drinker, but now that I've quit weed, I probably have 3-4 beers a night. Drinking definitely makes me feel worse than smoking weed, but I think long-term weed use might be worse for your brain.

Ideally I wouldn't be drinking or smoking, but there's this urge inside of me that just makes me need to do something to change my cognition.
"But once they start looking at adults"

I suspect one of the biggest sources of misery for a lot of kids are other kids.
I want regulation at the state level. Obviously, people know the legislation would be too heavy handed so they're trying to pass it at a layer where they don't need to compromise. That's a perversion of the system.
Learning to talk again: life without internet in Tonga
The filter looks at the SNI header during the TLS handshake. If it doesn't like the host it will reset the connection.
Funny fact indeed :)
Probably not. The established streamers might.
Oh no, I have to call you out. What a challenge! Will I rise to meet this grave insult to my honour? But I must, I surely must.

Give me a break. I honestly don't even know what you're insinuating here but perhaps you're too afraid to say it out loud?
My five year-old son now talks about his mind in the third person as a result of this. I'm having to retrain him with responsibility for his own actions.

Lovely idea and all but having untrained people teaching psychological practices to reception-grade children seems rather foolhardy to me.
Connecting the dots: where hard work and dreams can lead you
> Whom do you think they learned this from?

I suspect that in a non-ignorable number of cases, "no one", because it's entirely possible their brain chemistry is just screwy.
> Thats the core of any version control system, namely "what exactly am I versioning?".

I would say that's less fundamental than answering "give me the exact state of the repo at time t"

> You can't do that with git,

Maybe I misunderstand but you can branch from some arbitrary point and cherry-pick to your heart's content. Of course the hashes won't be the same but does that matter?
Sounds like you had a bad workshop the first time round. Mindfulness should be rational, scientific and entirely free of woo or magical thinking.
Could you provide a concrete example where it breaks down?

With regards to Austrian economics, as far as I remember, the school is not even mentioned in Hazlitt's book, but you are right that he was heavily influenced by it. But the book and its propositions stand on their own, I think.
Can someone make a Show HN link composing of all useful books discussed in this thread? :P
I agree problems need to be tackled at the source, but some self-help books may help you deal with the problem. 12 Rules for Life is one such book.
You're really focusing on the idea its a joke about his name and that makes it racist. That's not what is being implied in the film.

Instead, realize its a joke about not being in the boys club because he's not like the leadership, he's different and yeah he has a silly name so fuck 'em.
I think if needed it can be learned later, I don't see any problem with that. I started being interested in meditation around 23 when I was on the very bottom of my emotional state.

But I see that most people around me never experienced this and for them, meditation and yoga is an exotic exercise.

One thing which I really don't like here is instead of giving kids free time to experience life themselves they will add one more boring official class.
Is there preliminary plan of how Never-Slow Mode would be deployed? I assume the idea is to eventually have it enabled by default on all mobile devices and to prompt laptop/desktop users to enable it if they have a slow connection?
Smart Home Developer Manifesto: 15 Principles
Jordan Peterson describes something like this, but as if one is embedded within the other, as the game itself which can be wonr or lost, and the meta-game of all future games which means you get to continue playing; and uses it to discuss why cheating in games is so bad, especially when teaching children about cooperation.

Cheating might win you the game, but it means nobody will trust you and nobody will want to play with you in future and you're out of the meta-game, you lost the more important thing. It's important to lose fairly at a game, so you get to play again long term.

Something that comes up in HPMOR where a dark lord can't submit and be humble to learn a lesson, instead fighting and killing everyone but losing the larger goal, and something which surely comes up every time someone is "technically right" on a mailing list or forum argument but in such a way that nobody wants to engage with them in future.
Certainly for me it was, compounded by adults not taking this seriously (and a certain amount of screwy brain chemistry.)

If your parent is a teacher at the same school, your school life is going to be A+ miserable.
But hang on - there ARE serious problems in our society, culture and economy that need solving, and wishing them away or cloaking yourself in a blanket of warm feelings isn't going to change them, is it?
It does. It's just that so far no smaller sites have been brought to court (smaller as in not FAANG sized). I assume these things will change a few years down the line.

For those downvoting OP, could you please provide reasoning? GDPR is pretty clear that you need to be able to not opt into tracking.
I wanted a high end phone, but looking at my use case I didn't need one. I chose one that can be repaired down the line.

It lags slightly in the app tunable,but other than that a phone for 9k SEK would be waste of money.
Yes, but the perfect font would still be perfect. Which could benefit people that are not unbiased yet.
Wasn't sure what CLDR is ;), though a quick search online turned up a relevant sounding Wikipedia article:

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

In that, it mentions macOS does use it.

The macOS "System Preferences" (system wide control panel) does have a colour settings area. No mention of CLDR, it's more about the locally connected displays and their display gamut (eg Adobe RGB, sRGB, etc).
Many of the bullet points are somewhat vague, but one is strangely specific:

> Prohibiting companies from charging passengers with disabilities higher prices during busy times.

First of all, what constitutes 'disability'?

How will passengers identify themselves as 'disabled' to the apps?

How would the companies store this highly private information? (think medical-info grade, not credit-card grade)

What will indemnify the companies from claims of discrimination, claims possible in light of the companies being aware of users' disabilities, information they never wanted to keep in the first place?

And finally, not to make it the main topic, but who would pay for this? That "surge pricing" you pay is, in turn, being paid to the drivers. The drivers are "chasing the surge'.
Fortinte aepic games
Rn! Run! Run! Run!
NYTimes wishes Facebook an happy birthday [video]
It is going to solve acute problem of you personally being negatively affected by stress.
Not all jokes about silly names are racist, but in the context of the scene the dismissal of the name is implying "and this guy is foreign, we didn't even bother learning his name so obviously he's fired."
Buildkite CI now offers public build pages
Nah, HN is jaded as usual but every React dev I've talked to outside HN has been looking forward to this day with excitement ever since hooks landed in alpha.

I've yet to see HN get truly excited about anything JS-related, particularly React. Personally I'm excited but I wouldn't bother elaborating my excitement here because I know I'll just attract the usual crowd making unfound assumptions about my experience or complaining about hooks not following best practices (like, I don't know, JSX?).
What other laws are you willing to break in order to run your company? Are you fine with tax fraud?
What had you tried?

(I hypothesize that) electronics might be a problem with embryos whose future survival depends on reading correctly the magnetic field of the earth.

1) There are weight traps able to differenciate among a human and a small rodent or penguin. You should study that in your system. Is basically a plate buried in soil that acts as a switch when someone steps over there.
Understanding the POCSAG paging protocol