« first day (1653 days earlier)      last day (3296 days later) » 

Yeah you need to set up a web server to do that
 
@rlemon that didn't work either :(
 
this is the dark theme'd dev tools I use
might be useful to you to peek at the code
 
"Arguing with a troll is like playing chess with a pigeon. He'll just knock all the pieces over and shit on the board. And when he's done he'll strut around like he won."
 
can anyone answer why the proto evaluates to object?
i'm just not 'getting' this
 
@nderscore right. that's what's confusing me about this
i set the proto parameter
to foo and bar
shouldn't i be seeing that evaluate in proto?
 
foo and bar's constructor is Object
so no
 
that went over my head
i set the proto param
so shouldn't i expect that as the proto?
 
what makes you think you set the proto?
 
11:11 PM
__proto__ points to the underlying object.
prototype points to its properties
in your case the underlying object is an Object object
 
so proto points to the 'top of the chain' object?
 
function Point(x, y) {
    this.x = x;
    this.y = y;
}

var myPoint = new Point();

// the following are all true
myPoint.__proto__ == Point.prototype
myPoint.__proto__.__proto__ == Object.prototype
myPoint instanceof Point;
myPoint instanceof Object;
does this make it more clear?
 
no, b/c the constructor is assigning myPoints prototype to Point.prototype
my code doesn't use the constructor
i assign directly
 
:/ it is the same concept.
__proto__ points to Point.prototype
 
11:15 PM
and if i dropped the new constructor, shouldn't i expect it to point to Point?
 
c.__proto__ -> b
c.__proto__.__proto__ -> a
c.__proto__.__proto__.__proto__ -> object
 
thanks for the post
 
i got the scope(the method is on the scope) but is not called
 
@FlorianMargaine do you really have 300+ containers running
 
11:30 PM
Javascript in Albania
 
@MarikselAzemaj Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
that comment is even worse.
 
$scope.edit = function edit(value)
			{
				$scope.todo.editMode = true;
				console.log(angular.element('section .unhide').length);
				angular.forEach(angular.element('section .unhide'),function(value,key){
					console.log(angular.element(value));
					(angular.element(value)).on('click',function(){
					console.log("Click handler");
					$scope.todo.editMode = false;
				})
				});
				console.log(angular.element('section .unhide').scope());
			};
 
@rlemon oh hah
 
11:35 PM
still no luck
 
yours is just the full context
 
@Loktar he shot himself in the foot so many times in that thread
 
yeah
 
How do I specify the version I want when npm install - ing?
 
the click event does not work
 
11:37 PM
@StevensHaen package@version
npm install foo@1.0.0
 
Hi!!! Does anyone have an idea if we could find a tighter upper bound for the following modified dfs algorithm?
0
Q: Time Complexity of modified dfs algorithm

evindaI want to write an algorithm that finds an optimal vertex cover of a tree in linear time O(n), where n is the number of the vertices of the tree. A vertex cover of a graph G=(V,E) is a subset W of V such that for every edge (a,b) in E, a is in W or b is in W. In a vertex cover we need to have ...

 
angler fish are fucking nuts.
watching a tv show on them
too much insanity for one animal,
 
meta.stackoverflow.com/a/291021/3459110 Why is this so much downvoted?
 
11:55 PM
 
niiiiiice
 
@vamsiampolu I've never tried using named functions like that. I do something like $scope.edit = function() {};
 

« first day (1653 days earlier)      last day (3296 days later) »