skysight-inc/HackerNews huggingface dataset:
Nothing wrong with the goal of advancing ones local industries. Competition is good, but only if it's fair.

China uses and copies a lot of western technologies yet puts a lot of restrictions on western countries that want to do business in China. To get access to their huge market certain businesses are required to share their intellectual properties with the Chinese. Is that fair? Kawasaki Heavy Industries shared their technology and now the Chinese get more contracts to build trains than they do.

Facebook is banned, Wikipedia is blocked, and Google was kicked out some years ago. Nortel networks collapsed because it is alleged that Chinese hackers stole their IP which was used by Huawei to reach its present heights. I don't consider American governments as saints but regarding China's practices I am not surprised America is acting the way it is.
Everytime i hear about those stories i wonder how italy got its free pass to enter the european union. It sometimes feel like a country from the other side of the sea.
Any one know what sort of jar that is? and/or where to buy one?

Edit: its called a demijohn if anyone else was curious, used for making wine
>>How are they going to make a Google Stadia style service that requires custom hardware units in data centers around the world with the lowest possible latency to the end user? And how are they going to do it quickly?

I mean....they already do, so in that sense they are ahead of Stadia. Playstation Now is a real service that exists and which you can use already, and which required custom hardware in datacentres around the world. Now we can argue whether it's as good as Stadia promises to be, but that's purely theoretical at this point - one product is an actual commercial thing you can get, the other one exists in beta stages.
tbh I'd assume the point of a bizarro undercover boss was less to do with actually turning the company around and more to do with "other C-level execs discover junior product manager has insights into customer base and development timelines that aren't captured by metrics, McKinsey or reports from the division VP; junior product manager discovers the things he thought the CEO should obviously introduce are in fact very difficult to change, and realises how difficult it is to grasp the needs of other products and departments" crammed into 40 minutes of TV time.
The first driver ("platoon commander") would still need to be human. I'm not sure people would sign up for this, as your error could result in deaths of people in cars following you.
The writing is really odd.

"According to the Dansville Historical Society, Jackson would create and use this cereal in his sanitarium in Dansville NY."

Well, did he or didn't he? Why say "would create" when you meant "created"?

"In 1878 Jackson would have a visitor to his medical facility, Dr. John Harvey Kellogg"

Again ...

"These institutions would teach that if you ate a healthy breakfast you could be more productive at work. Of course, that would be an excellent selling feature that would win over converts. Cereal companies would begin to pop up like weeds."

I'm not usually so picky, natural voice, etc. But it seems odd to use "would" all the time.
I respect that. We all have our tolerances.
If you enjoy tough games, i encourage you to take a look into crazyhouse (https://en.wikipedia.org/wiki/Crazyhouse). It is the analogue to shogi, captured pieces can be redeployed as a single move.
You can play crazyhouse on lichess.org for free, just a email is required.
GM Yasser Seirawan is the most prominent crazyhouse fan playing on crazyhouse(https://lichess.org/@/yasser-seirawan).
As is internationally common, pieces _can_ be dropped with check, this makes the game extremely violent. Considering that your opponent can use captured pieces against you, a material loss feel twice as hard as in normal chess, in the long run. Nevertheless the game of crazyhouse is completely dominated by dynamic factors. E.g a queen is barely worth two pieces and (in high class games) often it is sacced for a single piece and a tempo. If you have black you will have a hard time to survive the opening against a good player, some even believe that the game is winning for white and i think this is not way off. If your oppononent is 200 Elo points stronger, expect to get mated until move 30 or even move 20. A single slip and you can get mated in move 15 or earlier.
I hope i have wet your appetite :-)
And try and exercise everyday.

It will make you feel better, look better, be more relaxed and you can always expand into social exercise activities.

Plus if you're working in IT you need to balance all of the sitting down.
I guess they do not realise what is coming?

> '...one of the ways that people can improve their own social credit score is to report on the supposed misdeeds of others.'
Yeah, Moritz Mühlenhoff really should have stayed a movie critic, and should not touch important debian packages anymore.
lol you watched too many hollywood movies growing up that you can't imagine daily life an another country being as good or better than living in America you silly goose
There are interesting research being done, but I don't think we have enough knowledge to make any recommendations. People who eat healthy and stay fit also get diabetes.
use The Lounge if you want to host something like that yourself, it is open source. I like it. https://thelounge.chat/
As I said, I do _not_ think that China will retaliate in this way. But I worry that things could get out of hand if emotions take over.

Trump's emotions are on display for everyone to see, but I think the US administration and maybe even Trump himself are more aware of the trade-offs than they're letting on.

In China, I believe, it's the other way around. The regime likes to appear rational and unemotional, but I think they are struggling hugely to keep more aggressive nationalist sentiment at bay.

There's a danger that face saving and responding "adequately" to perceived national humiliation could take on a dynamic of its own.

This is the stuff that wars are made of - real wars, not just trade wars.
I like the downvotes for expressing a cynical perspective :)))
Main problem or not, having the "release" version number on anything other than an actual release version is begging for problems.
To be fair, plenty of sufficiently old computers are so power hungry that they can be replaced with a modern device that pays its cost (even including many externalities) after only a brief period of operation.
I didn't see Whatsapp singled out in the article or by the parent. But good to know it has a simple UI.

There is a comment in the story about cross platform woes and incompatibilities.

I've never managed to install Whatsapp on my computer.
I think Jodel is a little similar to this. There's hashtags, but it's location based. Living in a larger town, it's quite interesting to read and follow along with others nearby.
> Isn't that the point in SOLID though? To try and have some guiding principles for achieving simplicity.

Probalby yes, but some things are an overkill.

"Single responsibility principle" is great, and should be practised.

"Open–closed principle" is also good. No problem here.

"Liskov substitution principle" sometimes feels like it should be more a language feature than an implementation one.

"Interface segregation principle" can be ok. The problem lays on when one creates interfaces for things that don't need one, because they are one of a kind. The code becomes confusing without any real gain.

"Dependency inversion principle" depends a bit on the previous point, because the links are through interfaces.

I've seen (and been charged to maintain) programs with too much ID (of SOLID) done, and it's chaotic.

It makes sense to do them in an enterprise size program, it makes sense to do them as a refactor when the program grows. But people applying principles willy-nilly on programs that do not need them (yet) make it too confusing for the ones after.
How does it affect their social credit score if they don't like it?
Nice. That's a really useful way of looking it it. I'll definitely commit that to memory.
Pretty sure they meant "more than half a century".
Configure your buckets else leaks are going to cost you
City centers should not allow cars at all.
How do you know how the law works in parent's country?
No idea, I wish these people would at least reply and correct me if something is wrong.
Adobe India Announces AEM Multicity Meetup – June'19
I have been trying to read Daring Greatly by Brené Brown.
She discusses about how our self-worth is often tied to our abilities to do things.
His identity is hardly a deep secret; anyone who really cares can find it out, and verify his credentials.

(Not that those credentials are really relevant here, no?)
Huawei committed to security guarantees, but future of its phones is unclear
I am not a big fan of 'Solid'. Some of them are true but of the category 'water is wet'. I.e., the SRP principle. Others don't seem useful. The open-closed principle, for instance. All software should be adaptable and we generally don't know what requests are going to come from the field so we cannot write parts of software to never be changed. Perhaps you think that

bool is_prime(int n)

is never going to change but someday somebody is going to request that it can report progress during its calculation. So really, you can never know.

Also, these things with dependency injection and interfaces. Please, only introduce these complications when you can prove that you need them. The software will be complicated enough when it is satisfying all its requirements. It is unnecessary to invent complications for no reason.
I thought ripped jeans were a Grunge thing of the early and late 90s...
I once reported a bug in Visual Studio community edition. One or two weeks later, a developer (I think) remote logged in to my PC to troubleshoot what was happening. The next update had a fix for the issue.
For one, I imagine since this project is more academic in nature (as opposed to commercial or for entertainment) they aren’t optimizing for flashiness but for historical accuracy based on the archeology. Second they probably have a lot less funding than a high budget video game. It would be cool though if the makers of Assassins Creed could devote some of their big budget and expertise to helping this project shine, as long as it doesn’t detract from their core mission of historical inquiry and accuracy.
https://en.oxforddictionaries.com/definition/dystopian

> Relating to or denoting an imagined state or society where there is great suffering or injustice.

> ‘the dystopian future of a society bereft of reason’

> ‘the utopian dream that became a dystopian nightmare’

No, I'd say the NY Post made a typo.
FYI:Alternatives to Google Products – the Complete List
https://restoreprivacy.com/google-alternatives/
Thing missing from the discussion is the different safety and threat
model fully autonomous cars have compared to human drivers.

Mass incidents are one of them.

* If one autonomous cars fails catastrophically on some road, all other cars with same model and/or software are likely to do the same. Huge pileup in fast tragic can become nightmare for the car maker/operator.

* If there is a software error in the overnight update or planned sabotage, hundreds of thousands of cars can get into accidents in very short time period until the failure is noticed.

* Simple loss of trust due to security incident, discovery of exploit, server configuration error, hacking in the network can lead to security groundings of millions of cars at once. If all Toyota's are grounded for a week, the economic impact around the world is huge.

Even if the autonomous driving works, designing the security and safety infrastructure that keeps them working will be real challenge. I'm sure it will be worked out but it's not going to happen in few years.
There is a fantastic talk by Kevlin Henney where he deconstructs the SOLID principles as each being either misunderstood when they were written - or frequently misunderstood after. It was done here:

https://vimeo.com/157708450

I won't spoil it by writing all the points here - just some pearls.

* The Open/Closed principle is redundant because it is already covered by the Liskov substitution principle.

* Bob Martin's view of the Dependency Inversion principle is in fact the Single Responsibility principle.

He suggests 5 more principles - but I won't spoil it by listing them here. Go see it!
Given sufficient motivation, I expect it would be possible to replace the card reader and punch with something a little more modern. It wouldn't be period-correct, but it would provide a more convenient way to get data into and out of the machine.

Frankly while the machine itself is interesting, what I'm really interested in is what they find on those tapes and disk packs!

I wonder if they have a Twitter feed or mailing list to keep updated on their progress. This is a really cool "barn find".
> Oracle seems to have stepped away from this and only offers limited time support for their own JDKs which also cost money.

This is inaccurate (I work at Oracle on OpenJDK). Oracle provides the JDK under two different licenses: the commercial OTN, for support subscribers, and the free OpenJDK license (here: http://jdk.java.net/). Moreover, Oracle's OpenJDK builds are the official ones in the sense that bugs reported against OpenJDK must be reported against those (as those are the builds that the developers use). For 8u and 11u, the similarly official builds are these ones by Red Hat: https://adoptopenjdk.net/upstream

The thing about support is misleading becuase Java no longer has major releases (9 was the last one ever), and now has two upgrade paths: a gradual one: 9->10->11->12->... and a non-gradual one: 11->11.0.1->11.0.2.->...11.0.x->17 (neither of these is the same as the old model). The difference between upgrading from 11.0.2 to 11.0.3 and 11.0.2 and 12 can be very small (12 is not a major version), the gradual path is the recommended one as it will be the cheapest overall, and OpenJDK development is built around the gradual path. As far as OpenJDK builds go, Oracle supports only one of those paths for free (the recommended gradual one), while the other is for subscribers only. Note that in the recommended upgrade path, you will be supported by Oracle builds forever at no cost, and will never have to do another major upgrade again. So all the bug fixes and security patches for 11.0.2 are provided by Oracle, completely for free, in 12, which is not a major release.

As to the paid support path, this is how Oracle funds OpenJDK development. Oracle is the company that contributes >90% of the resources to OpenJDK (Here are the recent contribution stats for 11 and 12: [1][2]. Note that the stats do not consider contribution size.) So it's important to remember that all OpenJDK JDKs are developed primarily by Oracle, and it is Oracle's support subscription that funds OpenJDK development. And if, for example, you find a bug in Amazon Coretto, they will reproduce it on the Oracle (or Red Hat, depending on version) builds and submit it to the OpenJDK project for Oracle (or sometimes Red Hat) developers to fix.

[1]: https://blogs.oracle.com/java-platform-group/building-jdk-11...

[2]: https://blogs.oracle.com/java-platform-group/the-arrival-of-...
Same with me. I’ve had two bluetooth headphones, one pair from sony and one pair from bower & wilkins. Never had problem with them.
Ever considered a career in the death industry?
As someone struggling with this too, it's seriously the key.

No matter how I eat/sleep/schedule.. nothing seems to bring everything together in my life as having an exercise routine. It shouldn't be the cherry on top, it needs to be the glue that holds together.

Or maybe a better analogy: treat it like brushing your teeth. Sure it can be a chore, and something that needs to be done.. but you can't NOT do it without significant long term consequence to your health.
It's nice to know my Nexus 6p will continue to function, then. I dug it out of a drawer a month ago and it updated. It can no longer see my WiFi. It can see my neighbours' WiFi no problem, just not mine. Looking on the bright side, I guess that means I don't need to worry about the Huawei baseband.
This book is about UX. That is not how "it looks" but how "it feels". I think for UI, as mentioned in other comments you might want to check out https://refactoringui.com/
When TLS is everywhere, what's the most reasonable way for law enforcement to surveil suspects?
Anything that relates to automatic code generation.
Google HTML Style Guide recommends to omit optional tags
Enough with repeating the official propaganda of "espionnage", etc. This is a transparent pretext.

The real issue is the US facing the end of their status of top dog with the rise of a superpower that does not answer to them (which is an emotive subject).

It's no hyperbole to state that they are fighting for their empire and resorting to gunboat diplomacy. Nothing less, nothing more.

This is an extremely sensitive, and indeed emotive, topic in China. People should really realise the level of anger and long term effects this can only have in China. Amd for what? Short term feeling of power for US...
Everybody need to eat and pay rent, so yes, you do need money.
There could be all sort of reasons, but cow's milk no matter what we feed the cow it's still a cocktail of bovine hormones.

The cow just gave birth and its in lactation period, so its hormones are through the roof no matter what. Plus the cow is often already pregnant with the next calf, which further enhances the female hormonal content.

The growth hormones naturally present in the milk are meant to boost a calf from birth to 500 pounds in less than a year, let's think about that.

That bovine hormonal content and fat content is not meant for human consumption, humans only adapted to digest it about 10K years ago, and most humanity is still lactose intolerant.

It's just not normal to drink the milk of another species, especially in the massive amounts that we do.
Textbook example of perfect being the enemy of good. If we can't solve the problem 100% with this (cheap, easy to retrofit) method then why even try?
This is probably because IRCCloud is not the one running the server the channel is hosted on; You don’t have to use it if your friends do.

If that changed the average HN user’s attitude would probably change as well.
They opinion don't affect the credit score, they currently live abroad. How can we evaluate the system? number of people likes / dislikes? National level of happiness?
I can understand their reasons, but they effectively LIED to the users, creating problems and headaches to them.

It’s a ends justified the means situation and they got it terribly wrong.
Reminds me of this XKCD https://xkcd.com/927/
Now, that's Orwellian. As described in the book.

It's not the cameras, the government agents in the shadows or the spying technology... It's the end result of everyone spying on each other that made the world of 1984 so inescapable to Winston.
Item #2 relates to reflecting on your work, Reflective Practice. Give Donald Schon's book The Reflective Practitioner a read (or heck, the Wiki page). It deals with being able to rise above work and improve how you work.
> Huawei will never do that, the very concept of free or open-source is absolutely alien to them.

The Shenzhen ecosystem has taken the idea of 'Open' and 'Open Source' further than perhaps anywhere else in the world. Huawei the company is built on that kind of information sharing. I highly doubt it's alien to Huawei.

[1] https://www.szoil.org/

[2] https://convidera.com/article/shenzhen-chinas-ecosystem-for-...
He's from the infrastructure part of the Nokia (i.e. what was NSN - https://en.wikipedia.org/wiki/Nokia_Networks), rather than selling handsets part of Nokia.
Those are American salaries, you should account for cost of living and possible lack of employer-covered pension savings cost with that.
Are the rules of what costs you social credit score available?
There are no easy answers. All the answers in this thread are worth trying though. Walks and runs and bike rides help. So does meditation. Social interaction with people you trust (or if you don’t trust anyone, with people you don’t know very well).
Personally have been going through this myself, and recently. Some things which make me feel better:

* Finding my own independence to do things. I often tied my own activities to that of my partner. So many times I felt like I was WAITING for things, when I didn't need to be.

* Find your own hobbies which are outside of work related things.
I am interested in kite surfing for example. I've never done it, but I've begun digging into it.

* People will say this often: Exercise.
Don't quickly dismiss this. It's MENTALLY hard to motivate yourself, I get it.
I HATE going. But, I ALWAYS feel better after having gone. There is something about tackling things you DON'T want to do, and getting satisfaction from having accomplished doing it. Plus, your whole body, including your brain, get distinct benefits which persist longer than the time you work out. So you work out 30 minutes, but you feel great for hours after, and your body physically benefits well beyond too.

* Find friends you can just hang out with. I moved to a new city and hardly know anybody. But I still take trips 1-2 hours away to see friends because I NEED that interaction. It breaks me out of my own world/thoughts.
This is more of a "Reply" to the rebuttal; the actual rebuttal is here https://www.pnas.org/content/108/42/E833 And this is the original paper https://www.pnas.org/content/108/17/6889

My two cents (as a pre-morning-coffee-biased and non-expert judge of this research) is that sample sizes are pretty small so authors shouldn't be reading too much into the "importance" of factors in logistic regression model.
Need more info really to diagnose your problem. For lack of focus you can try the pomodoro technique. Although I would say that if you can't focus on something chances are you also don't enjoy it. If you don't enjoy it why are you doing it? Do you want a high-paid job as a programmer? Because if you don't really enjoy programming then your life will quickly become miserable as a full time programmer. This is often masked as "burnout".

That said, I would suggest to learn coding by building something that you actually want to build. Maybe you have an idea for a project that could make money somehow? Then learn the bare minimum you need to learn in order to build that project.

If you just sit there thinking "I am going to learn how to code" then you will likely dick around learning little bits here and there with no real aim. Coding is a means to an end, not a means in itself.

Here is another idea: take a look at the projects on freelancing sites like Upwork. Try coding some of them yourself. You could make yourself a goal to complete a paid project on Upwork within one years time. Pick a language/platform, find projects in that area on upwork, do them yourself as practice runs, learn the bare minimum you need to complete each practice project. As you do more and more you will learn new things each time and eventually you will be confident enough to do a paid project (though you will likely have to bid a pretty low price to get the job!). But you will have the satisfaction of having earned hard money for your efforts, even if its not much!
If SRP is akin to water is wet I'm working with newborns.

What is so trivial about what to do in a class? Deciding where to put what is one of the hardest part of the job...
US spy chiefs used classified info to warn tech execs about business w China
Automatically Obtaining SSL Certs by Let's Encrypt with DNS-01 Challenge and AWS