ChrisGaudreau
Re:Is ReactJS really fast?
on Monday June 01, 2015 @10:51AM (#9638957)
In the context of React, it allows you to implement a `shouldComponentUpdate` method which simply compares the references of two objects, which is extremely fast. If the references remain the same, then there is no need to invoke `render` again.
Re:ES6 in Depth: Destructuring
on Friday May 29, 2015 @10:59AM (#9624929)
Prototype-type based systems are cool in theory, but aren't much fun to use in practice. They are incredibly powerful and easy to abuse. Basically single inheritance in disguise.
Classes aren't great either, but at least using class inheritance makes you feel icky, you're not likely to have shared state on the prototype being randomly mutated, and it's pretty readable.
Re:Solved by Flexbox
on Friday May 22, 2015 @12:25PM (#9589304)
I think I actually had a similar problem, but using `filter`. Don't really remember though.
Re:How I learned to stop worrying and love React
on Saturday May 16, 2015 @11:52AM (#9556521)
Separation of concerns and separation of technologies are a different thing. It would appear you haven't done your research. See Pete Hunt's famous talk:
Jet – Lightweight, Realtime Message Bus for the Web
I'm an Imposter
SighJS
Re:GraphQL Introduction
on Friday May 01, 2015 @05:47PM (#9474733)
Better Asynchronous JavaScript
Re:How to Center in CSS
on Sunday April 19, 2015 @08:20PM (#9405467)
Would this technique work to center, say, an <img> tag with undeclared dimensions inside of a div? Or do you have to jump through hoops?
Re:Boolean parameters to API functions considered harmful (2011)
on Wednesday April 15, 2015 @02:36AM (#9379231)
An alternative using ES6 object parameters:
function addObserver(observer, func, { weak = false } = {}) {
if (weak) {
// ...
}
}
addObserver(observer, 'load', { weak: true });Playground – game framework that doesn't try to solve everything
JSNES: A JavaScript NES emulator
ECMAScript 6: Feature Overview and Comparison
Re:Meteor 1.1 Released – Now Supporting Microsoft Windows and MongoDB 3.0
on Tuesday March 31, 2015 @11:08PM (#9301280)
> the fact that it is hosted makes it a non starter.
What do you mean?
URGENT: need script to remove spam (JSBin)
Re:Ember's Glimmer Engine
on Tuesday March 03, 2015 @04:25PM (#9140872)
Just Ember. I'm pretty sure Ember doesn't even have a dependency on Handlebars anymore. (possibly only off stable)
Re:Gore: Yet another Go REPL that works nicely
on Saturday February 21, 2015 @01:35PM (#9086371)
A Pry for Go would be enough to make me switch fully to Go.
“Discuss latest changes to master before releasing”
Re:US Has More Solar Workers Than Coal Miners
on Wednesday December 03, 2014 @07:53PM (#8697297)
Except that corn is used for more than just ethanol.
Re:Caltech professor claims Israeli spy infiltrated JPL
on Saturday November 15, 2014 @08:20AM (#8611622)
It's amazing how people who should know better demand proof of something obvious that's been written about so many times, just like how Fox News demands proof that Obama isn't secretly a Muslim. Or how people demand proof that goto is a Bad Thing™.
Re:Caltech professor claims Israeli spy infiltrated JPL
on Saturday November 15, 2014 @12:13AM (#8610909)
It is amazing just how much Israel spies on America, and how nobody knows about it. If you dare to say it publicly then your reputation and career are destroyed, and you are an antisemitic terrorist sympathizer, if not also a terrorist.
Re:OpenBazaar is a decentralized Dark Net market that's 'untouchable' ...
on Saturday November 08, 2014 @11:31AM (#8577322)
Untouchable by police? That's a pretty big claim. What would happen if the government were to round up some computers and control 50% or more of the network?
Re:Rust and Go
on Friday November 07, 2014 @09:18PM (#8575760)
Personally, I like to learn any language, regardless of how popular it is. It's just fun.
Re:Ad blocker that clicks on the ads
on Monday October 27, 2014 @11:37AM (#8516111)
Working in technology, you probably make a lot of money. Could be wrong. $5 a month probably means more to the general population.
Personally, I feel far less privacy when making online payments and giving out my credit card or trusting some middle provider than I do when visiting a site that has ads which I can disable.
Re:The Problem with Positive Thinking
on Saturday October 25, 2014 @04:23PM (#8509279)
Nobody likes unpleasant feelings. For many people it is even worse than physical pain. Positive thinking and similar strategies offer a seductive way to temporarily suppress negative thoughts and feelings, but deluding yourself will likely bring only disappointment in the end.
Re:In conversation with Marc Andreessen
on Monday October 20, 2014 @04:44AM (#8481170)
I grew up on the East coast too. When I was ten or so, it was really common for people around here to have that installed.