Thursday, February 16, 2012

The Inner Product

The Inner Product: "The inner product (or ``dot product'', or ``scalar product'') is an operation on two vectors which produces a scalar."

'via Blog this'

Universal quantification - Wikipedia, the free encyclopedia

Universal quantification - Wikipedia, the free encyclopedia: "In predicate logic, universal quantification formalizes the notion that something (a logical predicate) is true for everything, or every relevant thing. The resulting statement is a universally quantified statement, and we have universally quantified over the predicate. In symbolic logic, the universal quantifier (typically , U+2200 ∀ , a turned A) is the symbol used to denote universal quantification, and is often informally read as "given any" or "for all". Universal quantification is distinct from existential quantification ("there exists"), which asserts that the property or relation holds for at least one member of the domain."

'via Blog this'

FAQ: What do the double vertical bars mean at the end of Section 4.1? - FBSwiki

FAQ: What do the double vertical bars mean at the end of Section 4.1? - FBSwiki:

'via Blog this'

jQuery HTML5 Fullscreen Slideshow / Gallery

jQuery HTML5 Fullscreen Slideshow / Gallery: "This jQuery plugin lets you create fullscreen galleries where the slides are shown on the entire screen using the fullscreen APIs provided by Firefox 10+ and Chrome 15+ (and possibly Safari 5.1+).

In all other browsers it falls back to displaying the slideshow in the entire viewport."

'via Blog this'

Pinterest Data Analysis: An Inside Look

Pinterest Data Analysis: An Inside Look: "Pinterest’s traffic charts aren’t hockey sticks-- they’re rocket ships.  In our experience, when traffic is growing that sharply there is often something even more amazing going on under the hood. We wanted to see if the usage and engagement numbers for Pinterest were as remarkable as its traffic and gain insights into exactly what was driving growth. Unfortunately, the company has kept very quiet when it comes to its data."

'via Blog this'

Estimating like an Adult – What to Steal from Agile… — Write More Tests

Estimating like an Adult – What to Steal from Agile… — Write More Tests: "It turns out that we humans get a little weird about time. However much you believe “six hours” is “just an estimate”, however much buy-in there is from the team about this, and however many times you’ve accepted that there’s always hidden complexity, if a six hour task takes eighteen hours, everyone gets a little squirrely."

'via Blog this'

APOD: 2012 February 16 - NGC 5965 and NGC 5963 in Draco

APOD: 2012 February 16 - NGC 5965 and NGC 5963 in Draco:

'via Blog this'

Tuesday, February 14, 2012

What is a view? - Backbone.js Tutorials

What is a view? - Backbone.js Tutorials: "What is a view?

Backbone views are used to reflect what your applications’ data models look like. They are also used to listen to events and react accordingly. This tutorial will not be addressing how to bind models and collections to views but will focus on view functionality and how to use views with a JavaScript templating library, specifically Underscore.js’s _.template."

'via Blog this'

Binding model attributes to form elements with backbone js

Binding model attributes to form elements with backbone js: "Binding model attributes to form elements with backbone js"

'via Blog this'

Zombies! RUN! (Managing Page Transitions In Backbone Apps) | ThoughtStream.new :derick_bailey

Zombies! RUN! (Managing Page Transitions In Backbone Apps) | ThoughtStream.new :derick_bailey: "At the heart of all of these questions is a problem that most backbone developers will run into at some point: zombies. That’s right – the living dead creatures and plague us and cause problems… only in this case, we’re referring to zombie objects in an application – otherwise known as memory leaks."

'via Blog this'

JavaScript File & Folder Structures: Just Pick One | ThoughtStream.new :derick_bailey

JavaScript File & Folder Structures: Just Pick One | ThoughtStream.new :derick_bailey: "JavaScript File Organization: You’re Doing It Right

The reality of JavaScript in general web-based development (not talking about server side at all, here) is that it makes absolutely no difference how your files and folders are organized. Zero difference at all… at least as far as the JavaScript runtime is concerned."

'via Blog this'

Asynchronously Load HTML Templates For Backbone Views | ThoughtStream.new :derick_bailey

Asynchronously Load HTML Templates For Backbone Views | ThoughtStream.new :derick_bailey: "As JavaScript applications become larger and larger, we have to think about the download size, memory usage and other performance constraints for our end users. There are a number of aspects to consider, one of which is how to deliver the HTML templates that your application is using, to the user’s browser, so that your application can render the templates."

'via Blog this'

derickbailey/backbone.marionette - GitHub

derickbailey/backbone.marionette - GitHub: "Backbone.Marionette is a composite application library for Backbone.js that aims to simplify the construction of large scale JavaScript applications. It is largely a collection of common design and implementation patterns found in the applications that I (Derick Bailey) have been building with Backbone, and includes various peices inspired by composite application architectures, such as Microsoft's "Prism" framework."

'via Blog this'

Rewriting My ‘Guaranteed Callbacks’ Code With jQuery Deferred | ThoughtStream.new :derick_bailey

Rewriting My ‘Guaranteed Callbacks’ Code With jQuery Deferred | ThoughtStream.new :derick_bailey: "Then a few of my friends started talking about jQuery’s “deferred” objects and “promises”. I had heard of this previously but had not bothered to learn it. When I finally decided to dig in to it, this morning, I found that it was a much more robust implementation of what I had just written. I found a good article that helped me understand it better, and began working on an update for Marionette to use deferred objects instead of my own code. Addy Osmani also wrote a really good article on MSDN, which sheds even more light on how these work and how to work with them.

"

'via Blog this'

3 Stages Of A Backbone Application’s Startup | ThoughtStream.new :derick_bailey

3 Stages Of A Backbone Application’s Startup | ThoughtStream.new :derick_bailey: "The three stages that I have identified in my own applications are (in order):

The Application’s Foundation
The Application’s Initialization
A Contextual Start (optional)
"

'via Blog this'

Get A Model From A Backbone Collection Without Knowing If The Collection Is Loaded | ThoughtStream.new :derick_bailey

Get A Model From A Backbone Collection Without Knowing If The Collection Is Loaded | ThoughtStream.new :derick_bailey: "In working with a client recently, we ran in to a rather sticky situation. We were setting up a route to “persons/:id”, and as you would expect, we wanted to load the person in question and display the details of that person. The trick, though, is that we needed to wait until the persons collection was loaded to be able to retrieve the person from the collection. If we navigate to this route from somewhere else in the application, this isn’t an issue. The persons collection was already loaded and everything goes on normally. If we use a bookmark to get to this url directly, though, then there was no guarantee that the persons collection was loaded because we had not previously run any code to load the collection."

'via Blog this'

DOM Namespace

DOM Namespace:

'via Blog this'

javascript - Display the elements of [object Text] [object HTMLUListElement]? - Stack Overflow

javascript - Display the elements of [object Text] [object HTMLUListElement]? - Stack Overflow: "for (var member in myObj){
    if (myObj.hasOwnProperty(member)){
        alert(myObj[member]);
    }
}"

'via Blog this'

Document Object Model (DOM) Level 2 Core Specification

Document Object Model (DOM) Level 2 Core Specification: "This specification defines the Document Object Model Level 2 Core, a platform- and language-neutral interface that allows programs and scripts to dynamically access and update the content and structure of documents. The Document Object Model Level 2 Core builds on the Document Object Model Level 1 Core.

The DOM Level 2 Core is made of a set of core interfaces to create and manipulate the structure and contents of a document. The Core also contains specialized interfaces dedicated to XML."

'via Blog this'

W3C DOM Level 2 version 1.0 - Java API: Interface Node

W3C DOM Level 2 version 1.0 - Java API: Interface Node: "The Node interface is the primary datatype for the entire Document Object Model. It represents a single node in the document tree. While all objects implementing the Node interface expose methods for dealing with children, not all objects implementing the Node interface may have children. For example, Text nodes may not have children, and adding children to such nodes results in a DOMException being raised."

'via Blog this'