skysight-inc/HackerNews huggingface dataset:
Can someone explain the benefits of React's DOM diffing model?

Rather than try to diff two DOM trees and optimize reconciliation, why not use one-way data binding and update exactly what has changed, with 0 reconciliation cost?
Either way, the upfront work - linking DOM elements with model attributes - is the same. In JSX this is done by interpolating variables into the template, and in one-way data binding this is done via data attributes.

Anecdotally, I've found one-way data binding (using Rivets[1]) to be very fast in practice for a view hierarchy ~10 layers deep.

[1] http://rivetsjs.com/
The intelligent investor - benjamin graham. In my home country investing is still a mystery for many and there are no good books. This book gives you some base and perspective about investinng
I often see a lady riding her RoundABout scooter, on disability, picking up trash on the side of the road. She's incredibly nice and good hearted, and hates sitting around doing nothing. But the reason I stopped to talk to her was that it is unbelievably unusual for someone who is obviously on disability to be out doing something for the common good.

And unless you have some hard data showing people on public assistance use their free time doing the unsung dirty work society needs, I don't believe it will magically start happening if we change the name of welfare to UBI.
I think the idea is that you would use their service to specify the authentication method, and they would provide the ability to log in via that specification. They aren't forcing you to use FB; it is merely a demo of one of many authentication methods they'd be able to let you choose from:

> an experiment where you can share your servers with your friends by using Facebook as the authentication mechanism. It’s a quick way to show how versatile the ScaleFT authentication platform can be: Give us a reliable authentication mechanism, and we can log you into a server with it.
Well, I still believe that world became better than it was: https://www.ted.com/talks/larry_brilliant_makes_the_case_for...

And, of course, it all is just a food for thought, doesn't necessarily mean we need to prohibit sales of self-driving vehicles (except for special technical applications).

But still we have to understand that it's our conscious effort, not just the "natural force of Progress". As a society we should intervene and regulate things, and make that decision to steer the economic trends in ways harmonious with society's needs. As a related thought, I think, Jaron Lanier puts it nicely: https://youtu.be/XdEuII9cv-U?t=11m37s
Fake pretentious rubbish.
Danny, the Champion of the World. For kids and kids at heart. One of the books that I feel made me want to be a maker/hacker.
Humans have a tendency to always think "it's different this time".

Trucking won't disappear overnight.
7% cheaper, repeated over and over is meaningful. 1n 1900, people had to spend 43% of their income on food, now it is 13%. They spent 12% of their income on clothing, now it is 4%. Basic goods getting cheaper particularly helps poorer people.

http://www.theatlantic.com/business/archive/2012/04/how-amer...
I gave Stafford Beer's "Think Before You Think" [1] as a gift because I didn't seem to understand any of the book, so I gave it to someone smarter than me in the hope she would eventually explain it to me. I've forgotten to follow up on that.

[1] https://www.amazon.com/Think-Before-You-Complexity-Knowledge...

(Edit: I just looked at the Amazon page and realized the book seems to cost about $200 used -- can that be true...?! I think I paid $30 for it. Maybe I should have kept it.)
I second this! I've recommended this to countless people. Did you guys find that a lot of people are really skeptical that a book can have such an impact? It certainly worked wonders for me as well.
Goods becoming 7% cheaper means everyone on Earth is 7% wealthier. You might be happy with current prices, but very poor people definitely aren't.
Yes. I recently almost purchased one of these for $800 on eBay simply because I have a spare SSD and 16 GB of DDR3.

I won't pay $2000 for a laptop from Apple that has these things already soldered in.

In the end I still couldn't justify it as I want an I7 which they no longer sell with the ability to add ram and SSD.
Why should not having a BS in statistics prevent anyone from properly learning and applying statistics in a rigorous scientific fashion?

There are a lot of people with a rigorous mathematical background (mathematicians, physicists, biologists, computer scientists, ...) who are perfectly capable of understanding and applying stats concepts at a high level.
In addition, these people have a lot of experience with doing scientific research, so shouldn't they be even more qualified to call themselves "data scientists"?

Can you give an example of something that clearly distinguishes a "data scientist" from say a physicist who learned regression from a stats textbook?
Maybe it's just me but I'm getting tired of UBI being put forward as a realistic answer to technological displacement of workers. The most immediate problem would be getting it through legislatures without loopholes that undercut its purpose as a replacement for all other redistributions. That simply never happens, particularly in the US.

The next problem is that no one seems to appreciate how incompatible it is with open borders in a world of nation-states. The latter is particularly telling since advocates of UBI are often advocates of less restrictive immigration across the world, yet they don't seem to see the problem. It's an indication of how ungrounded the discussion about UBI is right now.
And I clicked this thinking it was some competitor to Google Fiber, to describe their networking architecture.
The majority of the population now don't starve when there's bad weather, have indoor plumbing, healthcare, don't die from playing tennis without socks.

What do we need money for now, and why? Houses mostly, because a) hand built, and b) scarcity.
The technical knowledge in it is both out of date, and more relevant than ever.

The particular details are long since irrelevant - even in 1996 optimizing for the 8086 was irrelevant. But the thought process, approach and lessons learnt from optimizing the 8086 are still relevant today.

In fact, they're probably more easily demonstrated through and example using the 8086 than in modern environments. I still use Abrash's S3 FIFO buffer story when I'm mentoring people.

So yes, but no.
The Swiss Family Robinson. A children's book, about a family that has no other option but to become makers.
The Master and Margarita by Mikhail Bulgakov.
People who don't give a fuck already doing it.

Also, just because no one is willing to pay for what you do doesn't mean you are doing nothing. I think there will be a bunch of people doing different things than now and many anti-UBI people would call what they gonna do 'sitting around'.
I'm skeptical about the timelines of these reports. Certainly we'll never see all 1.8 million drivers lose their jobs overnight. These guys are predicting auto-truck apocalypse in 5-10 years, and we still don't have a single commercial system on the road that's capable of even lightening the load on a driver, much less replacing him. I think truck automation will go in 2 ways at the same time, and we can watch the progress of each:

Systems to ease the strain on independent drivers. Ones that can cruise on the highway without supervision indefinitely, but need help with city streets, parking, maintenance, loading and unloading, keeping manifests, dealing with whatever company is loading and unloading the cargo, etc. They may need somewhat fewer of this class of driver, since the trucks will be able to run more continuously and there will be less need for second drivers and probably fewer trucks. Motels and truck stops will hurt some when the truckers can sleep while the truck drives instead of stopping. I think we're at least a decade away from this existing at all, much less being common.

Full automation for tightly integrated logistics chains. Maybe the Wal-Marts, Amazons, Fedexes, and other huge companies that own the entire logistics chain will be able to figure out how to use fully automated trucks, that can drive from one company facility to another, complete with parking and maneuvering, driving local streets, and letting other company systems handle the logistics of loading and unloading and keeping track of what items are where. I bet at least one of them will start experimenting with something like this in the next 5-10 years, but probably at least 20 years before it works well enough for them to cut down on the number of drivers they employ.

There will be job losses, but it will be slow and gradual. There should hopefully be plenty of time for the economy to adapt, and hopefully either create new jobs for all of these people to do, or move towards something like UBI. I think we'll have to have a massive cultural shift before anything like UBI would be considered or even possibly make sense.
That's only true in the short term. Historically, innovation has always killed jobs in the short term but created them in the long term.
Would you rather have Donald Trump intervening to steer economic trends in harmonious ways, or would you rather trust the natural force of progress?
You would do neither. Instead, you would do C) borrow to buyback stock.

http://www.wsj.com/articles/share-buybacks-the-bill-is-comin...
Patch the Process
It was Indians exercising their rights as people in a democracy that got Facebook's initiative banned. I'd say that's exactly how the world should work, instead of huge mega-corps being left to willy-nilly regulate access to one of the biggest revolutions in the past 30 years.
Super cool! I did not realize that Peter Schröder did this kind of work in the 1990s, I always see him on crazy discrete differential geometry papers.
That doesn't sound like it could possibly scale. I sure wouldn't trust anyone's individual brain to intuit correct answers for an entire society without having quantitative data.
I am in the New Orleans area.
Were the people who created computers and advances in healthcare and those other innovations really driven by the need to have food on the table? Is that, and not either the seek of knowledge or the desire to get rich, really the engine of these advancements?
Civil war against robots is what will happen:

http://fourlightyears.blogspot.com/2016/03/get-ready-for-our...
React's popularity makes it popular target for (sometimes uneducated) criticism. JSX is one of common targets. Library's size is other. Misconception that its just VDOM is another. And then there's popular FUD about how FB may nuke your project on a whim due to patent clause in its license.
At least until recently, they would have been hard-pressed to do a refresh - Broadwell had basically no non-low-power SKUs for a long while, so you wouldn't want one in your MBP.

So they'd need to refresh with Skylake, which would add lead time, particularly with how long it took to ramp up Skylake manufacturing yield.

Meanwhile, if they were going to leverage anything from Skylake for OS X features (looking at you TSX-NI), they wouldn't want to refresh the desktop until they could get it there too, which would probably mean Xeon E[57] v4, and that only came out this quarter.[1]

So I'd probably blame this current delay on refreshing on a ripple from Intel's Broadwell/Skylake timeline debacle, and Apple deciding to merge any intervening hardware upgrades into the next iteration forward.

[1] - The slight oddity with this logic is that the Xeon E[57] v3, Q2 2015, _does_ have working TSX bits, so they could have conceivably shipped that, even though it's "technically" Haswell. Maybe they got scared when Intel had to use the chicken bits to disable TSX in the first Haswell revs? [2]

[2] - http://www.anandtech.com/show/8376/intel-disables-tsx-instru...
I haven't used my CD drive for probably 2 years, at least since my car can play USB and Bluetooth music.

You can buy a USB DVD-RW for about $20. I am glad most laptops and small form factor PCs are doing away with the drives as default.
I doubt that Putin is Uyghur, nor he looks like one. But, that's besides the point. Even if he was Uyghur, that would make him a member of a minority nation from Russia, who would speak Uyghur language as his mother tongue. I do not see the connection with the original post.

Russians speak the Russian language, its various local dialects, and were speaking it since it evolved from old (Proto)Slavic language(s). Of course it changed a lot during the millenia, but it is a natural language like any other major european language.
The issue is that I'd bet that those in the UAE are much more aware of the choices they have. Facebook was targeting some of the poorest people, and moreover were taking a pretty colonialist view towards things. Not the same scenario.
Just so you don't think that the entire Haskell community disapproves of your ideas, let me say that I very much appreciate this kind of programme (as long as you preserve purity!).
Limited Partners
Bangkok is much cheaper and has more variety than Singapore. It has real communities from different parts of the region and the world who maintain their culture, run their own schools, and speak their own languages... not some kind of silly-Singlish with cheapened versions of iconic dishes of everywhere, like this Michelin stared foodstall selling soy sauce meat. The ignorance of western culinary practitioners to mainland Chinese cuisine is really staggering.

It wouldn't surprise me if the Michelin star reviewers they used here were those "considers-self-Chinese, can't-even-properly-speak-Mandarin" Singaporeans with some kind of half western/half-Singapore restauranteur career and a Cantonese family.

The first time I went to China, 15 years ago, I flew through Singapore. "Eat well here, the food in China is terrible!" my ultra-rich Chinese-Singaporean friends told me. Still in China now, and I've since been back to Singapore: how wrong they were!

I just founded a mainland Chinese food-related startup...
The superior version of the metroid music is Super Metroid Symphony by Blake Robinson's Synthetic Orchestra.

https://www.youtube.com/watch?v=3m_ooRjCuNw&list=PLROcUs85n5...

The warp records-ish versions in metroid prime are pretty awesome too.
Thanks for sharing that post. It echoed many of the thoughts I'd had about the game. The sheer genius of Metroid 2 is how well it juxtaposes the ruins of a lost civilization with the sheer alien horror of the "jungle" that is taking over. The music and sounds don't just complement that, they play a starring role in the creation of that tension.
"The Rise and Fall of the Third Reich: A History of Nazi Germany" by William L. Shirer. It's a classic history book of our century which, despite its title, primarily focuses on Hitler's raise to power in the early 30s and the long, painful and ultimately futile international attempts at avoiding WW2 in the late 30s.

It's a book I wish everyone would read, particularly everyone in a public office and the media. It's a shame that comparing politicians and their actions to Hitler has became a cliche everyone now is quick to ignore. Meanwhile there's plenty of stuff happening in the world straight from the Nazi playbook of the 30s.
I have the feeling, alle the counter arguments simply boil down to "all humans are lazy and won't work anymore if we don't force them" which is a pretty dull view on humanity.
> This is no different from your ISP or the guy next to you on the coffee shop wireless.

You're a paying customer of your ISP and they're bound by the law and your contract.

Tor exit nodes can be anyone, anywhere, who feels like messing up your traffic.
Just an FYI, there's a typo here:

> During this [[though]] period, I regularly considered giving up my Open Source project a few times. Somehow, I couldn’t. I just soldiered on. And in the end, it all worked out well.
I think the solution is to install the Brew version of the Unix-land tools you use, then set your path to favor these over the Apple supplied executables.

That's what I did for Emacs, find, bash, etc. and it works fine.
That's in the virtual DOM. React will diff the VDOM and browser DOM and only render actual differences.

The React API will also let a component decide for itself if it should be rendered.
I always like to think about the fact that they went to the moon in the 1960s. We're all a bunch of babies compared to what they pulled off then.

"The on-board Apollo Guidance Computer (AGC) was about 1 cubic foot with 2K of 16-bit RAM and 36K of hard-wired core-rope memory with copper wires threaded or not threaded through tiny magnetic cores. The 16-bit words were generally 14 bits of data (or two op-codes), 1 sign bit, and 1 parity bit. The cycle time was 11.7 micro-seconds. Programming was done in assembly language and in an interpretive language, in reverse Polish."

[1] http://stackoverflow.com/questions/739561/what-programming-l...
How would a strict language help? `0 * x = 0` doesn't hold if `x` is substituted by a non-terminating computation `f ()`. What exactly would be the benefit?
I don't think that's the <= you were looking for ...
There is no economic reason to automate things in order to replace 1.8 million drivers with 1.8 million engineers.

Automation happens when you can replace 1.8 million drivers with 0.18 million engineers.
Hi, I appreciate you highlighting this. I was quite worried receiving an e-mail from Keybase about this, nut looks like others are having the same problem :(
The Interpretation of Cultures (Clifford Geertz)
Those aren't AI based products...
Yeah that's weird. I am unable to sort of view all reviews, I am sure Indid not page through 65 reviews, I saw the same people turn up twice, (and what is with having your gravatar image with your partner in it?)

It seems odd - but it is my first ever time looking at Airbnb so I may have missed something
QuadRooter: New Android Vulnerabilities in Over 900M Devices
https://en.wikipedia.org/wiki/Dead_Hand_(nuclear_war)

> Accounts differ as to the degree of automation of Dead Hand... more recent sources indicate the system was semi-automatic. In a 2007 article, Ron Rosenbaum quotes Blair as saying that Dead Hand is "designed to ensure semi-automatic retaliation to a decapitating strike." Rosenbaum writes, "Of course, there's a world of difference between a 'semi-automatic' doomsday device and the totally automatic—beyond human control—doomsday device."
I only hate the self-centered asshats who ride their bikes in the middle of the road when there's a perfectly good sidewalk or bicycle lane built especially for them at great expense to the tax payers, all while riding at a leisurely pace some twenty miles per hour under the speed limit. But yeah, I'm the crazy one.
Pretty sure most people's thought processes don't function like that.
America’s Lost Boys
Finance‘s Tech Problem
...However it seems to be working in the US strangely? Used Pingdom Tools to see what happens and it seems to be showing up correctly, but tried it from Sweden and a complete different story.
When countries we don't like begin to carry out their own drone strikes, expect to hear something like, "Civilized nations don't carry out justice like that in the 21st century. This has to stop now."
Swift build time optimizations – Part 2
I hope no one is trusting a "Mac" LCD monitor for any sort of serious color work. Especially the laptop ones are truly awful and hard to calibrate due to the glossy nature.

Heck, a decent HP DreamColor / EIZO / NEC display costs almost as much as the top of the line 15" MacBook Pro.
Atlas Shrugged

Just kidding. I did give a friend The Go Programming Language by Donovan & Kernighan, though
More likely most programmers hear about the previous generation...

I remember reading Abrash's articles in Dr. Dobb's back in 1995 and 1996. They were written as Quake was being finished, and it was brilliant to follow the progress month for month.

I was in high-school, but based on the articles, I was able to build my own Quake-like rendering engine at about the same time as quake was released. I knew x86 assembler and had picked up various tricks for texture-mapping beforehand. However, I implemented a BSP-builder and a sorted edge rasterizer inspired by ID. It got pretty good. I remember struggling with perspective correct texture mapping a lot (couldn't find a reference to it. Had no internet). I cracked it solely based on a sentence in one of Abrash's articles about the "distance division". Suddenly his paragraphs about using the FPU in parallel with the CPU for texture mapping fell into place. I even developed various tools for lighting, level editing, scripting. I always wanted to do a game with it, but never managed to actually build it. Within a few years, software rendering was obsolete anyway, and the Quake engine far far behind -- I think my primary interest was in the algorithms not building the game.

I've implemented a lot of algorithms since then, and every time I work on a new difficult problem, I always think back at these articles and the challenges described.

To me, Abrash's articles were an inspiration for at least the following reasons:

1) They show that even really hard problems can be solved by tenacious individuals or small teams.

2) He presents and compares various solution approaches (with pros and cons) -- Don't settle with the first idea.

3) He and Carmack compromised and "cheated" (e.g. BSP and surface caching) for performance reasons -- Something I've ended doing myself many times. If the problem is too difficult, try to simplify it.

4) That smart people struggle solving problems too. Don't give up! Eventually you find a solution -- Carmack hadn't slept much the weekend he implemented the Potential Visibility Set, which was the big breakthrough when developing Quake.

5) Overall friendly and accessible explanations of clever ideas.

Sadly, the Quake engine is irrelevant today, and I wish someone would write a similar serious of articles about their development efforts and battles.

Does anyone know of anything similar from the past 10 years?
The average income in India was $1,497 in 2013 or $124.75 a month. So that $2 for 500MB means 1.6% of your monthly income is spent on internet to download a few hundred individual pages with no audio or video. In the US, with an average income of $3,769 a month, the equivalent 1.6% of monthly income ($60) can get you unlimited LTE data on a lower-tier provider or MVNO. Quite a big difference between 500MB and unlimited.

This shows just how much we're getting ripped off here in Canada. For a 1GB plan from Rogers you're looking at $90/mo! [0] Rogers doesn't even offer an unlimited data plan; their largest plan is $385/mo for 60GB.

[0] http://www.rogers.com/consumer/wireless/smartphone-plans?ipn...
It's just that most people don't care. You won't believe how many students (non IT related field) I see who still run 10.8/10.9, or whatever OS their MacBook came out with.

Also: if you hold down alt-R for performing Internet Recovery on a Mac it downloads the OS it came out of the store with. No idea why. I've had to internet recover a 2013 MacBook Air a week ago and it downloaded... Mavericks.