skysight-inc/HackerNews huggingface dataset:
Thanks for the feedback zghst. Here's my response to your comments:

> I'm sure it would help if these tests used the minified version of React on the server.

Minification sometimes makes runtime performance worse due to the tricks that minifiers use to make code smaller. Even if it did help, it really only makes sense to run this benchmark against the unmodified react package installed from npm. If someone wants to look into make the react module run faster by modifying the source then that would be great, but I consider that outside the scope of this benchmark.

> First (in SearchResults.jsx), setState accepts a callback in its second parameter, you don't need componentDidUpdate() or this.doneCallback (which is triggering more GC).

Didn't notice that `setState` supported a callback. I made the change and it did not make any noticeable change in the benchmark (it only removed the need for a few extra assignments). NOTE: Adding a "this.doneCallback" is not trigging more GC because there is only one done callback every being created and it is common across both the Marko benchmark and the React benchmark.

> Second in SearchResultsItem.jsx, you have an empty componentDidMount() function, you should get rid of that.

Removing the empty function did make any noticeable difference in the numbers but I removed it anyway for those who want to re-run the tests on their own.

> In SearchResultsItem.jsx, you should just go with a className (className={"search-results-item" + (this.state.purchased && ' user-has-purchased')}) instead of a style object, which becomes useless if you don't have a purchase.

I used styles specifically because most React guides recommend using inline styles (not CSS class names). Also, as part of the benchmark I wanted to test behavior and I defined the behavior to be: "When the user clicks on the "Buy Now" button the search results item should turn yellow". I attempted to implement this in the most appropriate way for both Marko and React and I think I did it in a fair way.

> By giving each SearchResultsItem their own state management, you're making it more dirty than you has to be, it should just be a simple list item. Typically in this type of app (Search), the SearchResultsItem component would be stateless (no this.state, getInitialState). When someone clicks handleBuyButtonClick, that communicates the change to the store, which then flows down to SearchResults, which "re-renders" the list of SearchResultsItems.

What you are suggesting is the Flux way of updating the data store and view and I think that is a great approach. However, if I were to update this benchmark to do things in the Flux way then it would complicate the benchmark and it would make the React test slower given that it would try to re-render all of the search results items instead of just re-rendering the one search results item that was modified.
This happened to my early 2011 15" MacBook Pro sometime mid-2013. Apple repaired it for a $300 flat-fee via their "Repair Depot" option and luckily I haven't had the issue happen again yet (but it did come back with some extra scratches and a 3 month warranty, I think? - can't remember now.)

Hopefully the refund process isn't too difficult.
I didn't ask them. Maybe piracy + "I have a Windows license so it's ok-ish" rationalization.
> use \mathrm/\mathit (for LaTeX)

Even better, use `\text`, which re-sizes properly.
On the Pricing of Apple Watch
I can assure you that in the WP industry paid for themes is not a guarantee for success. We know, we've been there with Obox Themes. We have a business plan that we are confident will keep Layers around for a VERY long time.
That's like a new kind of LEGO for grownups. Someone should try to make a game where you can reuse such pieces, carve them, and then place them on top of existing google/bing/other maps.

Social Blades...
Azure Machine Learning Service Goes Live
"Millions of people haven't even summited Everest..."

Millions of people travel in commercial airliners every day, at altitudes greater than the summit of Everest.
A different way to frame the comment might be something like: "we were willing to sell out your privacy and security for a mere pittance, 'cause we're cheap whores".
When you're manipulating things with a mouse and keyboard, maybe not. When you're directly scrolling/dragging/pressing things with your fingers on a touch screen, jank and latency and frame rate make a huge difference in how you perceive the device's response to your actions.
This is probably not feasible, but I wonder if they could put one of these under buildings in earthquake-prone areas. It would be like a giant shock absorber for the building.
(1) sentiment analysis is the one area where bag of words really goes to die; there is a limit to how good the results you get will be and it won't be good.

(2) the right way to do this is to train a probability estimator on your scores, that is, put +/- labels on some of your documents, then apply logistic regression.

http://en.wikipedia.org/wiki/Logistic_regression

A lot of machine learning people think this is harder than it is and worry more about regularization, overfitting and such, but in the case of turning a score into a probability estimator you are (a) fitting a small number of variables and (b) if you have a lot of data and make a histogram you will ALWAYS get a logistic curve for any reasonable score, I think it has something to do with the central limit theorem.

This seems to be one of the best kept secrets in machine learning. I used to be the bagman who supplied data to people at the Cornell CS department and we ran into a problem where there was an inbalance in the positive and negative set and in that case the 0 threshold for the SVM is not in the right place because it gets the wrong idea about the prior distribution and T Joachims told us to do the logistic regression trick.

Also if you read the papers about IBM Watson they tried just about everything to fit probability estimators and wound up concluding that logistic regression "just works" almost all the time.
The solution is obvious don't allow outside observers into education classes. /s
Correct, RC4 will still be supported until OpenSSL drops it, which is probably never.
I don't have a 'video issue' as explained here, but I do have a problem with my my 'iSight' camera frequently not being recognized by Facetime (or anywhere else). The issue goes away upon rebooting.

Any ideas?
It's a 2012 edition MacBook Pro with Retina Display 15"
Great explanation of priviledge.
Sorry to break it to you, but psychosocial behaviors aren't always governed by rationality.

Edit: also, "to speak incoherently" and "to fail to articulate" are both acceptable definitions of the word "mumble":

https://en.wiktionary.org/wiki/mumble
Seems like a great plan, formalizing the well trodden and generally successful strategy of letting early adopters play with new tech early so that it's robust when mom and pop get their hands on it.
An Unusable FizzBuzz Clock
Link to the tech they are complaining about, since the article doesn't even include it. https://www.cloudflare.com/keyless-ssl
Heh it's not your fault, my ire/confusion was directed at the article not at you. This is all subjective anyway and as a sister comment indicates I may have been unique in my feelings towards it
Too superficial of an analysis to be taken seriously. There is a reason children are taught how to write an article with a proper introduction (introduce the problem and provide a map of the article body), body (explain the problem, provide proof and/or proof of concept plus examples, and propose solution if possible), and conclusion (summarize arguments) sections.
Paid for extensions, themes and a marketplace for designers and developers which we hope to launch in 30-60 days time.
I have a different perspective on this. School, especially in the later part of K-12 is many different things. There is a lot of bullshit, academically speaking. I'd say about 2/3 of my highschool teachers were pretty mediocre. Then there were the good ones. I actually liked studying math in high school because I got placed in advanced classes, and in a grade above my own. It provided a challenge, but also the teachers did a good job of explaining what I might use this math for: becoming an engineer or a researcher. The 10th grade algebra teacher actually had us do labs that would normally be reserved for physics classes: let's measure the swing of the pendulum and show that it's a harmonic oscillator empirically.

So I wouldn't say "I hated school", but I would say I hated my gym, art, and health classes for sure (don't get me started on sex ed. and I grew up in a fairly liberal state).
Product aside, the onboarding process is great. Within a couple of minutes they had my email address, I had a sharable URL of an interactive responsive design and a really clear idea of what the software could do.
> advertising SSL MITM as a service, for free

A service you can choose to use. Lenovo was installing malware without the knowledge of their users.

> doing MITM on a much larger scale that superfish will ever do

Again, optional, and for reasons beneficial to those utilizing the service.

> managed by people who's previous business was the project honeypot

This is oddly presented as a negative.

> monitoring and modifying traffic of websites it protects

As requested by the owner of the website. Adding the site's GA code without having to install it on the site itself is hardly the same as serving malware.

> apparently hosting several ISIS websites, while being an US-based company. How many other ones could afford that?

Fundamentalist propaganda shows up on plenty of sites like YouTube. CloudFlare's pro-free-speech attitude is pretty clear and results in things akin to KKK marches being allowed in the US despite the ugliness of their beliefs.

> controling several high-profile foreign websites

/me clutches pearls
If you could run at a perfectly consistent 24 fps, that would probably often be okay. But the typical failure mode is not running at a perfectly consistent lower frame rate; instead, it's variable length pauses with the tail of them being painfully long.
I'm helping teach a math education course at an elite university. We should be teaching how to teach, but we actually teach elementary school math to education majors who struggle with the material. It blows my mind how difficult this course has been for the students. It seems that every week we are lowering our standards a little more. We have no real hope of finishing a significant amount of material in one semester (but that is all they will probably take). I doubt we would be able to just fail the whole class and keep our jobs. Our goal is to teach them one single concept, so they know what it feels like to really understand something, and then maybe they will chase that feeling later.

The author mentions that education students are generally chattier and less respectful during lectures. This is also true for our class, and we have had ridiculous problems getting students to arrive for scheduled meetings and stay on top of their responsibilities. On the plus side, most of them are highly energetic and charismatic, which are great for teachers.

I knew about these problems before this class, but I could have never possibly imagined they are as dire as I've seen.
Why the Euro will ultimately fail
"Money only exists because two or more people believe that it does."

Er.. I get the point he's trying to make here, but I think what he's not seeing is that currencies basically spontaneously emerge out of the necessity of conducting trade. So, sure, you can try to pretend the construct doesn't exist, but you're just closing your eyes to the problem because you don't happen to like it.
Wonder whether I can visit it with my family, or at least have a look from up closer (we live in Los Angeles).

This is so good!
> You’re also more likely to [phonetically] reduce words
> if they’re predictable in the context, so that the word
> fine would be pronounced less distinctly in a sentence
> like “You’re going to be just fine” than “The last word
> in this sentence is fine.”

If pronouncing words less distinctly isn't mumbling, what is it?
Google has made its Usenet archive impossible to search
Also (presuming grandparent is American, which may be incorrect) the US supports dictators and totalitarian governments that oppress women in Saudi Arabia.
It's a 0.12 drop-in replacement with some minor API enhancements and a lot of bug fixes.

Also, all current v8 ES6 features are enabled in io.js by default, while they still require the --harmony flag on node.
As a resident of Portland, I was surprised at the historic levels of racism, though I wasn't surprised at the decreasing population of minorities. We have become a mecca of white hipsters, it's kinda crazy watching the transformation of various neighborhoods in human-scale timelines. We are talking 12 or less months to take a cheap/quiet neighborhood and have it turn into a new hotspot with new multi-story apartment buildings. See Division street for the latest.

Another note: the historic city of Vanport is now a racetrack, owned and operated by the city. PIR circumnavigates the old town perimeter, you can see in these two photos:

http://www.corvetteracing.com/tracks/trk_img/portland/portla...

http://thumbs.media.smithsonianmag.com//filer/ac/46/ac46ca81...
Maybe email hn@ycombinator.com to get support?
I don't think you went to the right school. It was made very clear to my classes from sec 3 onwards that taking "higher level math" (436, 536) would open a lot more doors in CÉGEP and university.

On the same topic, I firmly believe that CÉGEP offers the best general education in the world for 17 to 19 year olds.
Rankings and reputation are interrelated, but not the same thing. For example, rankings punish large class sizes, but well known professors like Larry Smith command 500+ person classes; simultaneously reducing rankings while improving reputation.

I would argue that McGill hits the right numbers, and certainly has a great law program, but it is middle of the road in terms of reputation.
Just saying we have as much to learn from them, as they from us. It's not productive to look at their censorship tools as one dimensional attacks on freedom of speech. Both sides are programmed to look at the issue (of censorship) differently, while in fact they are trying to solve the same problems.

When China is attempting censorship of mainstream and social media, they do so with the specific goal of preventing sudden/unpredictable destabilizing scenarios i.e. they are proactive. This has well known costs which gets quite a bit of publicity in the West.

The West on the other hand while "protecting freedom of speech" is forced into being reactive (https://twitter.com/nytimes/statuses/567805738173886464 + see Twitter CEO's comment about the failure to deal with online abuse\hate) There is a massive cost\consequence to being reactive i.e. ISIS\Charlie Hedbo etc that keeps accruing. When a family gets displaced from their home in Iraq or Syria, directly or indirectly, thanks to ISIS recruitment on Twitter or some clip on YouTube, currently, there isn't any serious pressure on companies or governments in the West to take responsibility. Everyone is programmed\biased to "protect freedom of speech" as a default position. There needs to be more pressure. Censorship and reducing anonymity shouldn't be treated as holy cows, that CEO's and Govt officials are afraid to publicly talk about.

Complicated story apologies if I am being overly brief.
Power Electronics in Practice
Thanks for the clarification. I was wondering if antivirus vendors would be removing superfish. I'm also curious what the process would be for revoking the root CA centrally. Is that something only the superfish vendor could do? Would anyone knowledgeable about this care to enlighten me?
What is DFJ?
I'd say it's mostly because "that's how it's always been", and because they can.

That's how it's always been, because before computers, it typically took 7-10 days to process through company procedures and banks.

And the cash flow cycle / rate of return is laughable in today's ZIRP environment. Especially if you are bigcorp, you can pay at Net+0 and take a loan at ~0% (+/- 0.1%) yearly, which translates to ~0.02% over 2 months, if you so wanted -- and no one would notice.

When I did contracting, I would happily give a 5% discount to get Net+0 -- in fact, a couple of times I raised my rate 10% a-priori and offered a 10% discount if they paid Net+0 instead of Net+30 (the latest I was willing to accept). None eventually accepted; One tried to get it through their bean counters and couldn't - the Net+X for X>30 is so deeply ingrained into most accounting departments that it can be considered an axiom, regardless of how little financial sense it might make in a given case.
It's much better to be 98/99 or 80/99 percentile than 99/50. Engineers at least understand writing enough not to make facepalm-inducing mistakes like miscalculating the average.
> But this also smells like a lighter version of the trick interview question.

It would be bad if we were talking about children forgetting it after one year. Since this is university students we are talking about, that's horrendous.

If they can't do averages, one wonders what else their basic education lacks. And how they even got there. And what they are worth to potential employers.
> french and history were always seen as more way more important than math classes

Where I went we could chose advanced math classes in the last 3 secondary years.

Most of the students would not take french classes seriously and I think the CEGEP's french standardized exam has a high failure rate.
Which kinda sounds even worse. It says essentially that they're willing to break critical security components on their entire product line for pennies per device.

Hey Lenovo, can you install this root cert I made on your entire product line for me? I'll give you like $20 for it. It's at least better than Superfish - I promise not to include the private key with a trivially-crackable password in the install, so only I can intercept all secure communications by any of your customers, instead of anybody in the world.
Edit: confirmed

https://www.crunchbase.com/organization/superfish

links to their website, which links to

https://twitter.com/superfishteam
Several of them even felt cheated for taking our "advanced" math classes which were, in their opinion, far beyond anything they would ever have to teach in high school or CEGEP.

Are you saying that people would go to school to be math teachers and say "teach me the math I need to teach my students"?

That's nuts.

I can't imagine a Spanish teacher who only knows the Spanish in the textbook. Or a woodshop teacher who only knows how to make napkin holders. Or an English literature teacher who's who's only read two of Shakespeare's plays. Or a computer programming teacher who only knows one language.

My dad taught civics and American history. I could ask him anything about those topics and he would answer, and love answering. My attention span would run out way before his knowledge and passion ever did.
A lot of Python corresponds 1:1, IME. The biggest difference I notice is the _ shortcut, which I wish Python would adopt - "_ + 1" is so much shorter than "lambda x: x + 1" and no less clear. (And you can always use the "{x => x + 1}" style if you want).

Oh, and I guess the constructor syntax, which again I wish Python would adopt. I end up with too many "self.x = x" lines in my Python __init__ methods; pure syntactic ceremony.
I write a lot of mobile web apps and find that the DOM is blazing fast. I wish I knew some examples of why people think that it is slow, but I have a few guesses.

1. Your mobile web framework is slow, not the browser DOM. Ditch your bloated frameworks - writing JavaScript without external libraries is not rocket science.

2. There are deliberate pauses in the DOM. The onclick event is very slow and unresponsive. I get very fast UIs by replacing it with ontouchstart

3. You are using too many animations. Smooth animations can work in mobile web, to a degree. But honestly, if the big reason nobody wants to do mobile web is because it doesn't support copious animations, I see that as a positive. I'd rather have a UI that just does what it should without having to wait through all the fanciness.
Lenovo does this for you with their system updater. It downloads and updates all drivers for your system, including bios updates and configuration tweaks that affect power and stability. It will install on a fresh install from Microsoft media - ie there is no need to keep what was preinstalled on the system. http://support.lenovo.com/us/en/documents/ht080136
To everyone complaining about the writing; yes, they need writing lessons, but it's not like you don't know what they mean. I'd like to see responses to the points they raise, rather than criticism of the style. It's a rant, with some value in it.
Mongol – The Insanely Useful Meteor Development Package
I mean, sure, you do, but that takes less time than removing all the stuff you don't want.
And, strangely, I didn't say otherwise. I'm typing this message on Windows. My main development IDE is Visual Studio. My primary RDBMS platform is SQL Server, deploy of course on Windows.

Yeah, the strawman that Microsoft can do no right is pretty easy to knock down, but has absolutely nothing to do with the context of this.

Again, a post on the second page (a ridiculous, extremely low quality post that had to be flagged off the front page) saw my benign comment get -11 within 60 seconds. I've never seen that before, much less for a completely moderate comment. I've seen this extremely pro-Microsoft moderation hit other threads hard, and it seems pretty obvious that it isn't by accident.
> I was so inspired by Chris' story

I hope only up to and not including the part of starving to death after eating the wrong thing.

Play stupid games, win stupid prizes.
I've watched a friend try and buy a pizza with Bitcoin. It was funny for the first five minutes or so.
Indeed I don't see why it had so many votes and even was on the HN frontpage yesterday
Windows-specific apps, and getting Linux working on modern macbooks has been difficult at times (Apple's bootloader is always a source of fun issues to troubleshoot....)

Any way you slice it, you're having to do things you'd rather not do and that aren't at all necessary were we in a sane world.
The first example isn't very good. I see what they're trying to do there, to collapse the ambiguity about which child is the boy. But if you work from the set of possible scenarios just purely from those that match the description, without assuming any methods or probability distributions on the way Mr Smith selected the child to go walking with, you get 1/3.

I advise students to always work this through from the combinations of possible scenarios.

The deeper truth of the vos Savant story is that verbal descriptions are ambiguous, and the even deeper truth is that probability calculations are highly volatile on information.

Eventually disagreements come down (among people who can competently do the calculations) to arguments about what such and such a phrase means, or what underlying probability distribution it implies.

Hence in the Monte Hall Problem, there is no advantage to switching if Monte selects the unchosen door to open at random, and it happens to be a goat. That situation is consistent with the description, but perhaps not the 'feel' of the game show setup.

In science, it is wise to be aware of this. If you have probability calculations that are so volatile based on interpretation, then you probably want to avoid trusting the results, no matter how careful your hermeneutic.
Teen Struggling to Survive After 'Superbug' Infection at UCLA Hospital
I'll do that. Thanks for taking a look.
This is only is if Windows Defender is operational - in which case the user definitely wants the malware to be disabled/removed. It's akin to having a SPAM defender - in which you grant administrative rights to the owner of the Anti-SPAM tool to redirect spam to the bit-bucket.