Photo
ialreadydontlikeyou:

Chrome overtakes Internet Explorer as the Web’s most popular browser

futurejournalismproject:Filed under that didn’t take long. Chrome’s first public, stable release was in December 2008. The first version of Internet Explorer, 1995.
In 2002-2003, IE controlled about 95% of the browser market.
More info via The Next Web.
Image via StatCounter.

You have no idea how much this turns me on.

ialreadydontlikeyou:

Chrome overtakes Internet Explorer as the Web’s most popular browser

futurejournalismproject:
Filed under that didn’t take long. Chrome’s first public, stable release was in December 2008. The first version of Internet Explorer, 1995.

In 2002-2003, IE controlled about 95% of the browser market.

More info via The Next Web.

Image via StatCounter.

You have no idea how much this turns me on.

Quote
"Crowds are not always wise"

— Dr. Xavier Amatriain “Improving recommendations

Text

How we build our Javascript

responsivenews:

This post isn’t strictly about responsive design but hopefully it’ll give you some insight into how you can optimise your JS to help support the goals of a responsive site.

Read More

Tags: javascript
Text

Simple inheritance with NodeJS

While I was porting a JavaScript class from the client side to the server side, I’ve found a nice utility from NodeJS to simplify the inheritance patterns on JavaScript. You all know there’s a few cool methods and techniques floating around, here a few nice articles about that: Classical Inheritance in JavaScript, Simple JavaScript Inheritance and Inheritance revisited. Well, the thing is, with NodeJS, things get simpler. Let’s say you have a List class you want to inherit from, to create a ComplexList class, with NodeJS you can use util.inherits method to simplify the pattern and avoid doing monkey business. Example:
var List = function(arr) {
    this.children = arr;
}

List.prototype.ordered = true;
List.prototype.sort = function() { ... }

var ComplexList = function(arr) {
    /** @borrow List.constructor */ 
    List.call(this, arr);
}

    /** @inheritance */
    util.inherits(ComplexList, List);

ComplexList.prototype.complexProperty = true;
ComplexList.prototype.complexSorting = function() { ... }

var Players = new ComplexList();
      Players.sort(); // inherit from List

console.log(Players instanceof ComplexList) // true
console.log(Players instanceof List) // true

It’s that simple. Hope you find this useful!

Update: There’s some discussion on the NodeJS mailing list about deprecating util.inherits, so be aware of it on the next versions. I’ll be using it anyway

Photo
I’ve been following the buzz around Chico UI lately, and I’ve found a lot of interesting thoughts, like this guy (don’t remember the name) saying that the only thing that is missing, is a Todo App demo builded with Chico. I actually, don’t think we need one, but any way, I builded one and I put it on Github, here.
Although I’m no longer working in the Chico’s dev team, I can say that this framework is not aiming to solve architecture or structure issues on web apps, like Backbone (great tool by the way) or Spine. Chico is just a collection of widgets ready to use, to build UIs really quick, without rethinking solutions.

Some of the features I’m using
List Class
Blink Widget
Countdown Widget
Keyboard Events
CSS Library
I hope you enjoy this demo ;)

I’ve been following the buzz around Chico UI lately, and I’ve found a lot of interesting thoughts, like this guy (don’t remember the name) saying that the only thing that is missing, is a Todo App demo builded with Chico. I actually, don’t think we need one, but any way, I builded one and I put it on Github, here.

Although I’m no longer working in the Chico’s dev team, I can say that this framework is not aiming to solve architecture or structure issues on web apps, like Backbone (great tool by the way) or Spine. Chico is just a collection of widgets ready to use, to build UIs really quick, without rethinking solutions.

Some of the features I’m using

  • List Class
  • Blink Widget
  • Countdown Widget
  • Keyboard Events
  • CSS Library

I hope you enjoy this demo ;)

Photo
natos:

Just sketching (Taken with instagram)

natos:

Just sketching (Taken with instagram)

Video

natos:

kitsunde:

Douglas Crockford: The State and Future of JavaScript

If your a fan of JavaScipt, this is a must see!

Text

Sort collection by datetime

I came across this simple solution, to sort collections with JavaScript by datetime and I think it worth to share it. I would prefer to sort and filter collections on the server side, but some times, we need to tweak things and we can’t change APIs right away. So here a quick fix to do it with JavaScript.


// Let's say you have a date collection of things, like:
var collection = [
	{name: '#1 thing', time: '2012-03-16T07:22Z'},
	{name: '#2 thing', time: '2012-03-15T12:00Z'},
	{name: '#3 thing', time: '2012-03-17T20:25Z'},
	{name: '#4 thing', time: '2012-03-13T13:45Z'}
];

// the sorting function
var sortFunction = function(a, b) {
	// check this docs page from mozilla
	// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/sort
	// we use date objects to get milliseconds values
	return new Date(a.time).valueOf() - new Date(b.time).valueOf();
}

// Apply the sort function
collection.sort(sortFunction);

// See te results
console.log(collection);

I hope you find this tip useful!

Tags: JavaScript
Text

Cutting the mustard

responsivenews:

The browser is a hostile development environment and supporting a wide range of desktop browsers can be tough work.

One of the immediate challenges we discovered when we first started the responsive news prototype was the large range of devices that we would have to support. It terrified us. This article is about a solution we use to alleviate this problem.

Read More

Photo
Hey! Fronteers 2012 announced!
Fronteers 2012 will take place on Thursday 4th and Friday 5th of October, in Pathé Tuschinski in Amsterdam. The conference will be entirely in English.
Hope I can make it this year ;)

Hey! Fronteers 2012 announced!

Fronteers 2012 will take place on Thursday 4th and Friday 5th of October, in Pathé Tuschinski in Amsterdam. The conference will be entirely in English.

Hope I can make it this year ;)