General — DO NOT USE

General -- DO NOT USE

D3.js transitions killed my CPU! A d3.js & pixi.js comparison

www.octo.chD3.js certainly is the most versatile JavaScript data rendering library available: turning data into mind blowing visualizations is only limited by your imagination. A key component to turn static pages into animated ones are the powerful selection transitions. However, too many simultaneous transitions on a web page will soon bring you CPU on its knees.
Hence this blog post.

We faced this problem when displaying swiss transport real time data on a map, within an SVG layout: rendering was lagging, event sourced data were not consumed consistently and laptop batteries were drowning at a dramatic speed. A video from a first attempt can be seen, and compared to a newer implementation with the technique presented in this article. Another surprise came from rendering a simple clock, burning 20% of CPU with a single transition.

If d3.js has no serious concurrents for many rendering problems, we decided to give try to a JavaScript library used for building games and leveraging the strengths of HTML5 and GPU: pixi.js.

At first, we will propose in this post a comparison between the two libraries in terms of rendering performance. For the sake of completeness, we will also discuss native CSS transitions. We will then dive into a couple of tricks to enhance dynamic visualizations with each of the two libraries and will even combine them to get the best of both worlds.

The project source code with benchmark data are hosted on github and a demo is available on github.io.

Read more

General -- DO NOT USE

Toward a better software factory

The improvement of software factories is one of the current OCTO’s R&D topics. This article presents our vision regarding their future. Before diving into new features and perspectives, let us first describe the concepts and limits of current software factories.

 

What is a software factory?

A software factory is made of several tools for both development and automation of the overall software building process, from development steps to production delivery. A software factory also contains all the tools required for software development, thus including documentation, wiki and source code manager.
Software factory is important in development industrialization : it is actually the keystone of a continuous integration. Indeed, state-of-the-art software development follows a process based on the software factory. It provides a better control of development quality and progress through indicators.

The following diagram provides an overview of a software factory :

Read more

General -- DO NOT USE

Last days to benefit from 20% reduction on your USI 2011 registration, june 28th&29th

In three years, USI has become the reference conference for « geeks » and « bosses » wishing to create Information Technologies that transform our society and our organizations.

During the first editions, we had the great honor to welcome important persons such as Neil Armstrong, Eliyahu Goldratt, Juan Enriquez, Neal Ford, Chris Anderson, Martin Fowler… and many actors of our professions coming from Google, Microsoft, SAP, Mozilla,…

Read more

General -- DO NOT USE

Xcode 3.2.3 , IOS4 and OCMock

To unit test our iPhone developments we rely heavily on Google-Toolbox-for-Mac and OCMock.
After updating to the iphone SDK4 (IOS4) and Xcode 3.2.3 we had an unpleasant surprise : our testing frameworks refused to compile and as of today we have no information about how to solve this situation.
Nevetheless we managed to resolve this problem :
Read more