skysight-inc/HackerNews huggingface dataset:
As a fellow Chinese who's been living in the West for a few years, I feel obligated to speak out against this:

Although I hold strong dissent against Chinese government in many aspects (in particular censorship, e.g. GFW), although I agree the traditional norm of Chinese culture and society does not commend rebellions, your argument is a slippery slope at its best. Essentially, you are exaggerating from both ends: a. going from political suppression and a humble (or even submissive, if you wish) culture to suppression on technical innovation; b. reading too much from the so-called SV culture and success stories, so much so to draw a strong equivalence between innovation and (social) disruption.

For (a), as many peer comments have already stated, there are many counterexamples. Japan has a much more submissive culture and Russia has similarly, if not more, suppressive political atmosphere. Innovations still happen in both places. And I also suggest you to read more history to see how many innovations were achieved in unwelcoming environment. Yes, these are obstacles and might affect the scale and success of innovations, but obstacles exist everywhere (if there were no opposition, rebellions even wouldn't be called "rebellions" in SV), and small (in the sense of domain, e.g. purely technical) innovations are still innovations, which leads to the second point--

For (b), "disruption" is really a buzz word loved by VC, and there is a trend of extending such buzz word to contexts we would not use this word originally, for example an invention in a particular domain is now a "disruption" in that domain, which makes a ripple sound like a tide. Fundamental, social disruptions can be significantly harder in China, but that does not prevent other innovations, or if you prefer, "disruptions", from happening.

In a nutshell, you are stretching these two ends to force them to meet:
the negative effect of political/cultural suppression --> impossible to innovate <-- the "disruptions" of innovations

And finally, pardon my language, your examples and references are utter nonsense. I know where you are trying to go from them, but they do not prove your point by any means.
which is like the whole federal budget

Don't forget the state and municipal budgets. Leaving those out can really skew your comparison to other countries which may be structured very differently. State budgets in the US combine to another $1.9 trillion [0], with some states like North Dakota having a budget as high as $18,760 per capita! Now I'm not saying it's possible to simply sacrifice all of those budgets on the altar of basic income, but it seems pretty reasonable that we might find a more efficient allocation of resources. After all, California's budget per capita is only $4,366.

[0] https://en.m.wikipedia.org/wiki/List_of_U.S._state_budgets
hey awesome work! in row 8, leftmost column, we see the "food" radical being laid out using different radical conventions on the ground truth versus the generated (IIRC, the lhs is simplified and the rhs is traditional?). Elsewhere we see the "thread" radical being rendered in simplified vs chinese traditional (but not japanese shinjitai). Have you done any deeper examination of the activation network to see if there's any sort of correspondence for some of these characters?
A very astute observation, sir! And what a novel line of reasoning, I might add.
2h commute each way? I feel like there's ways to "fix" this using pre-21st century "technology". The issue seems to be one of how society is organized, especially geographically, not one of self-driving cars.
Ask HN: Launching a new SaaS product, what stack and why?
Wondering what the HN community thinks would be the ideal platform to launch a B2B SaaS sales platform. No right or wrong answers, interested in the discussion, pros, cons of various stacks, architectures and cloud providers.
Wikipedia isn't a source of facts, but if you read your own link, you will learn that open carry used to be permitted, but since 2012 open carry of all firearms, loaded or unloaded, is prohibited.
Common problem solutions and algorithms
It's possible she could end up like this unfortunately: https://en.wikipedia.org/wiki/Genie_(feral_child)
Salary for Entry Level Mobile Application Developers
Newsflash: People already work in the car, I see it every fucking morning and they are a scourge to safety and insurance premiums. Adding a self-driving car and infrastructure is adding a bunch of overhead you're not even stopping to consider. Zoom out a little bit and Andreessen's vision of the future is the opening sequence to the Lego Movie. Shit you not.
This is the RevealingModulePattern that Crockford used to advocate back in the day, except assigning to an object that React creates instead of one you create..

http://javascript.crockford.com/private.html

https://addyosmani.com/resources/essentialjsdesignpatterns/b...

Be aware that memory usage can quickly balloon with this pattern, because the GC needs to keep alive anything referenced from inside the closure, including closure objects for the private methods for each individual instantiation of the component. With normal prototypal inheritance, there's only one function object per class; that's the upside of the explicit 'this'. This (and inability of early debuggers to inspect closure variables, which has since been fixed) were what killed this technique in the 2000s.

[Edit: parent post was edited to remove the code sample. I'll keep this up since apparently people are finding it informative, but be aware that I'm replying to the code sample that used to be in the parent comment, not anything in the article.]
It's simpler and faster. The whole process of {sublime/code/emacs/vim/atom} + texlive + pandoc + git is too much for me, while I can you boostnote and backup my note folder to the cloud (using git is fine because it produces Json output)
I'm volunteering with a school in the Puget Sound as part of TEALS and would love to get in touch about augmenting some of our curriculum with these bad boys (especially since the block language is similar to Snap, which is used in Intro CS). Do you have an email I can reach you at?
Why WebAssembly is awesome
Indeed it does! Typo on my part: 80 char limit.
Ask HN: Books to read to become a better C programmer on modern hardware
I write mostly C and realize there is a lot I don't know about how the underlying hardware deals with the code - cache comes up a lot.

What are some references that can help me get a better grasp on topics like this, with respect to modern hardware?
I wanted to play around with D using the DMD compiler but it's unfortunate I have to install VS2013 and the Windows SDK to work with 64-bit support in Windows. I've installed VS in the past and found it to be a bloated piece of software I'm not willing to do again.
How does Chinese handle the propagation of neologisms?

A rough 1:1 phonetic correspondence between oral and written languages intuitively (to me at least) would be more fit for the creation and propagation of news words, or am I missing some other natural form of conveyance and propagation that exists in the Chinese writing system?
> Modern games have given up on that for which I am very grateful.

Except Minecraft.
The reference is to Romulus and Remus, the legendary founding of Rome.

[1] https://en.wikipedia.org/wiki/Romulus_and_Remus
Walter, Andrei, and Herb proposed "static if" in N3329 (after it's big success in D) which was ultimately rejected. Ville Voutilainen explicitly revived it in N4461 with changes. Ville then iterated on that proposal a few times (P0128R0 and P0128R1). Finally, Jens Maurer took that and made some syntax changes with commitee input resulting in P0292R1 which was the accepted proposal. "static if" from D absolutely was the inspiration for "constexpr if". Each proposal references the last in a chain going back to Walter, Andrei, and Herb's proposal.
Mild rant:

I'm not convinced ES6 classes are better than components created the old way.

First, the lack of autobinding callback functions for child props is not ideal. I don't even have to think about it with createClass, and it requires at least one extra step with ES6. It's less convenient.

Second, I don't think HOCs are necessarily easier to reason about than mixins in many situations. React is already quite deficient in its own testing utilities (esp. when it comes to functional stateless components and HOCs such that I'd recommend everyone use enzyme), and testing a multi-wrapped HOC can be a PITA whereas whereas a component with multiple mixins is simpler to reason about in comparison. What I care about is testing the output of a component; I don't want to have to understand the internal structure of a component in order to test it in a shallow manner.

Id love to see an argument as to why they are better, but I haven't seen anything convincing. Plus our app uses a ton of non-invasive mixins and the upgrade away from them would complicate the app and make testing way more complicated.
A Murder Foretold (2011)
Yes it most certainly is. All the power system applications written in the 60's and 70's were done so in Fortran as they had to be fast and run numerical analysis on massive matrices. However, a lot of it is being rewritten in more modern languages like C++ or C depending on the application.
Since you're responding to a thread about my specific example...

I'm also willing to donate $100 to a charity of your choice if you can find evidence that a significant portion, (let's say more than 25%) of fake news being shared on Facebook is just people doing it to say "look how fake this is."
I enjoyed it. You will never top this one, though: https://news.ycombinator.com/item?id=12528934
Does nobody else get car sick when reading or looking at a screen in a moving car?
We migrated from Drupal to Django a few years ago and haven't been happier. Sites have become easier to maintain, new features are developed faster and designers find Django templates easier to work with.

We found Drupal's hooking system a pain to work with and it made debugging incredibly difficult.

We were using Drupal 6 at the time, not sure what has improved since then.
Use the stack with which you are most familiar with and get the product shipped.
Wonder how it would work out if you listed the top of the range at actually midway through the range. Maybe that would be the desired result - this is kinda similar sounding to my employer, where our "bring them on at" range is lower than the "expected pay at this role" range, because we want people to have room for nice raises even if they're not promotion-ready.
> Don't do public and private Don't use $this and use static classes Don't overload

You should look into functional programming.

> and dont use interfaces

Uhh... I guess? Interfaces are way of implementing a type system (e.g. discriminating unions) and also necessary for mocking up tests in many OOP projects.

> Don't use namespaces

This is just a terrible idea. Namespaces are used in almost every language to avoid collisions. Sometimes they are in the form of classes, but namespacing is hugely important.
Sure, but http://www.darknet.org.uk/2017/03/lastpass-chrome-extension-...

So maybe, "use a local password manager"?
Elm Weekly Drip and Exercise: Native Navigation
What did you change to improve ESD resilience?
Are you sure that google ever "merged" the dot and non-dot versions? As I recall (and I remember finding about that dots don't matter over a decade ago), it was like this since gmail launched?
I'm thinking cow.
After I searched for my credentials on haveibeenpwned I have started to use the suggested password feature for my important sites. I should really move all of them to this instead of my memorized password.
I may be naive but I sincerely think this is the first step in a larger sequence of events. Next 'fake' articles/sources will get a lower ranking in searches, then they'll be replaced with a button "this result is fake news, click here to read anyway". The final step will be complete removal of sources all together.

And what happens when Google is the subject of a hostile take over and those tools are in the hands of someone else? Slippery slope fallacy, you might cry but we'll see.
Yes that's right.
Is there no accountability for the agent? I can guess the answer.. but it's kind of sad. They keep testing the waters to see what they can get away with. And when they find out, they test the waters to see what more they can get away with.. is what it sounds like from your post.
Needs some sort of feedback or way to predict the new prices - way too frustrating that it's just a game of chance.
About (C), it has just become one.
My favorite:
- Procedural PHP / static calls
- Lightweight NoSQL DBAL (I use MongoDB under the hood but any key/value store would do)
- Vanilla JS on the Client
- Plain CSS witout preprocessors

Since I do a lot of JS on the client I am quite happy not to have it on the server as well - also I dont like that npm madness / complex infrastructure around it.

Where do you tend to?
The animated interpolations between fonts are wonderful to look at, and really demonstrate the flexibility and legibility of the generated characters.

I've heard that the font selection for Chinese/Japanese is limited due to the sheer number of characters, and this kind of smart style-transfer could be a solution for expanding the range of fonts. Amazing work, thank you for sharing!
You're right. Freespeech wasn't DARPA's motiviation. However it was the motivation of at least one of the engineers of ARPANET.

"My bias was always to build decentralization into the net. That way it would be hard for one group to gain control. I didn’t trust large central organizations. It was just in my nature to distrust them." -- Robert (Bob) Taylor

That's from the Issacson's book.
The story is too good. The girl, the monkeys defending her, the policeman ... all Disney-level stuff but where are the non-disney facts? A real story always has dark sides. This one is too perfect. I'm not saying that it is all fake, rather that I don't think we are getting the entire story. I wouldn't be surprised if we eventually learn that this girl was only living with the monkeys for a very short while, that her issues are more long-standing. Perhaps the truth is that she was a disabled girl found amongst monkeys and the story has been elaborated from those simple facts.

>>> "She behaves like an ape and screams loudly if doctors try to reach out to her."

Like an ape or like a monkey? She was raised by monkeys but acts like an ape? A lay person perhaps wouldn't know the difference but by now someone with knowledge would be on site. I have been around several disabled children. The screaming and fear of being looked at or touched is not uncommon. No mention of how she reacts to being clothed? I'm no expert on feral children but I would expect that after eight years of being naked one would not be happy about clothing and that would deserve some mention ... unless of course clothing is nothing new to her.

I want to see her feet, specifically her toes. If she really hasn't ever worn shoes then her toes will show it.

http://www.drgangemi.com/kids-health/childs-shoe/
A few years ago the New York Times' science writer published a book called "The Secret Life of the Grown-up Brain: The Surprising Talents of the Middle-Aged Mind. She summarized the latest medical research, which was concluding that brain performance didn't really taper off as we aged, and there were actual spikes in performance in specific areas.

While there were smaller declines in things like remembering names, one theory was that what we know gets consolidated, allowing older brains to make greater leaps in logic more quickly. While older brains are distracted more easily, one study suggested people learn to compensate by using the left and right brain together to maintain focus and progress, and this results in bringing more "firepower" to bear on the tasks at hand.
This. This. This. This. This.

You are way more likely to never ship and get stuck learning tons of tiny things that don't matter.
Ship, and ship with technical debt shamelessly.
you know...if it can be transpiled by babel that means you could write it in es5 compatible syntax...yourself...so if you don't want to use the babel tool chain...what's stopping you? Don't know es5? IMO it's not too fun compared to es6...but...
It will mean loss of jobs (however low paying and not fulfilling it may be) for people who can least afford to. People that cannot hope to retrain for a better job or have some kind of retirement plan in place.

I have mixed feelings about this...
Surely debatable. It's true that reintegration typically fails. Ferral children reveal how normal neural development requires early exposure to language and socialization. Most never acquire language.

We are truly social creatures.
Every time there is good aspect about China, people in HN have to talk about Government. 4Q !
https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
> Are you using Sendmail?

Not in a long time. I haven't found a situation in which I couldn't use Postfix in quite a while. Although the occasional sendmail.cf flashback still hits me.
For those who want the best of both worlds:

https://codemix.github.io/flow-runtime
Why do React and other js libraries emit warnings as console.error when browsers support console.warn?
While there is a hypothetical point on other experiments where I might agree that they're more bot than human, I would still consider this human art -- just bot-augmented.

To me, it's not more bot-created than a modern protest movement might be said to be Android- or Google- or Apple-created -- they are the extensions used to manifest a human will based on the combined creativity and values :)
Improving Personal Well Being with Global Outreach
I'm going to go through the list, but I think that often, I'll use Politifact, skew the results. What a Dem might get a neutral or slightly false will get a Repub a pants on fire or complete lie result. Here is one interesting quote (I only understand the econ stuff so that's where I pulled from:

"Trump’s 100-million figure of "out of work" Americans is highly misleading. This number -- in reality, a bit lower at 94 million"

The overall rating on this was completely false. Really? 7.4% off is "highly misleading". The article speaks to a quote Trump made where he did make a mistake in how the unemployment rate is calculate. He did, but his general point was that those not looking for work aren't represented in the unemployment numbers. And tht is a true claim. Trump put it tht they were considered employed, which is clearly wrong.

The article then veers into territory it should tread lightly on where they build their model of who is really out of work but still wants to work. It isn't very good. They aren't good economists, and more importantly at this point it becomes an opinion piece.

Trump's major sin was confusing the different status of recently unemployment people. I would have given him neutral to somewhat false.

There was on of Bernie being off in his numbers too and he god a mostly right rating. I've seen some real disasters where the statement by a Dem was completely unfactual and that was excused because the opinion-based non-factual analysis behind it was deemed to be true. That is no longer fact checking at all.

http://www.politifact.com/truth-o-meter/statements/2017/apr/...
I dunno if verbal tics are necessarily the metric to use for great presentations. I know some folks who stumble constantly but present ideas that are pretty incredible. Some people just have amazing recall and can fluidly spew out facts and conclusions. Some people can present compelling ideas they have thought of that no one else but struggle on the vocalization.
The source font I am using might have not 100% consistent with some of the target font, that leads to minor mode collapse. I think that is the reason here.
We aim to globally inspire, encourage and motivate people to implement a positive change. Our categories highlight fitness, giving back and enhanced productivity for all!
I think you have been watching too many movies lately. Your blanket statement about health centres is far from the truth.
She has some access to hygiene, clean water and food, medical attention, etc. Her life expectancy is going to be much higher in human society, though she will likely have difficulty adopting to society and will be behind on language and other skill development.

Of course she is frightened of people as it's still a new experience for her, and of course there's a cast of busybodies crowding her room, especially during a photo/camera op. However, it's wrong to say that the monkeys are doing a better job at parenting. There is no noble Mowgli fairy tale going on here.
There is not and you are correct. Obviously when you have a business to run it's not like you have the time or resources to go one degree further and try and become enforcement. You shake your head and move on to the next. Sadly, I could have bought 10 senior engineers per year for the cost of legal compliance and policy (around 1.5MM a year).
But the machines were only built and deployed as a reaction to human energies? If there were no people participating as they were, then no one would have gone to the efforts to build and run the bots. I feel your comment seems to gloss over how important the human factor was to bringing the more "mechanical" part into existence :)

EDIT: speaking of which, I wonder if reddit could use some of the data from this to detect sockpuppet network on reddit... I imagine communities of a certain type might have engaged (or not) with this phenomenon in a very different way than others
What you are asking is impossible to my knowledge. I don't know of any tracking for why people share or the political affiliation of those that shared it.

This also means you argument is purely conjecture too.
Technology-enabled Blitzscaling curated with notes
Evernote web clipper (for Chrome)!

It's bookmarks on steroids, saved for offline, taggable (no assumption of organizing data in a tree), and synced.

Probably the only useful Evernote feature.
It occurs to me that this technology could do absolutely amazing things as the imager for a space telescope...
IMO it's a sort of "inverted snobbery", where people (rightly) reject the idea that humans are uniquely superior, but they still want to feel special, so they compromise with the idea that humans are uniquely villainous.

I believe the correct approach is to attack the "unique" part: We aren't.
- https://en.wikipedia.org/wiki/Positive_psychology#Genetics
Except you chose to live that far away. I live right next to my office and it takes me less than 10 minutes to get to work.

Should I be compensated for my high rent that comes with living downtown?
Obligatory xkcd https://xkcd.com/1484/
Being working mostly in python and mercurial we choose it and are using it in production for 1-1/2 years and it's been very good so far.
Hackbusters report Loan term agreements exposed SEC forbidden FTP share
Which is weird, because using a password manager makes things easier. It's not extra effort to be secure.
He seems to be ignoring long-term maintenance costs. If you're building a $0.99 app then sure let the team pick whatever they want. But if you're building a huge SaaS web application with an expected 20 year lifecycle then that cuts the range of sensible choices way down.
Anyone know what kind of monkeys they were? I can't find any mention of it in this article or the original referenced source.
I'd say it seems to be a distribution of Chromium OS.

The fact is you can't just download and install Chrome OS into anything you want, just a Chromebook. This project seems to fix that.
I agree with this quite a bit. I mentioned the fact it took me building a business around it to justify effort in to it. Doing it "right" requires a lot of time and a team.