 Your new post is loading...
 Your new post is loading...
|
Scooped by
Mickael Ruau
April 7, 2013 3:56 PM
|
Fail-fast is a property of a system or module with respect to its response to failures. A fail-fast system is designed to immediately report at its interface any failure or condition that is likely to lead to failure. Fail-fast systems are usually designed to stop normal operation rather than attempt to continue a possibly flawed process. Such designs often check the system's state at several points in an operation, so any failures can be detected early. A fail-fast module passes the responsibility for handling errors, but not detecting them, to the next-higher system design level.
Fail-fast systems or modules are desirable in several circumstances:
From the field of software engineering, a Fail Fast Iterator is an iterator that attempts to raise an error if the sequence of elements processed by the iterator is changed during iteration.
|
Scooped by
Mickael Ruau
April 7, 2013 3:54 PM
|
Les utilisateurs des applications informatiques sont aussi des utilisateurs quotidiens de Gmail, Facebook, Flickr et iPhone.
|
Scooped by
Mickael Ruau
April 7, 2013 3:53 PM
|
When designing for the web, you can analyze usage data for your product and compare different interfaces in A/B tests.
|
Scooped by
Mickael Ruau
April 7, 2013 3:51 PM
|
De l’autre côté de l’Atlantique, mais aussi à d’autres endroits du monde comme en France, des gens sont en train de réinventer la façon de faire de l’informatique. Ils s’appellent Amazon, Facebook, Google, Netflix ou LinkedIn pour les plus connus.
|
Scooped by
Mickael Ruau
April 7, 2013 3:49 PM
|
Découvrez un tour d’horizon des grandes options architecturales… et quelques précieux conseils.
|
Scooped by
Mickael Ruau
April 7, 2013 3:46 PM
|
Propriétés de l'objet Math
|
Scooped by
Mickael Ruau
April 7, 2013 3:45 PM
|
Le blog d'OCTO Technology, cabinet d'architectes en systèmes d'information
|
Scooped by
Mickael Ruau
April 7, 2013 3:43 PM
|
Une session Python 2 pas très satisfaisante : >>> tva = 17.5/100 >>> prix = 3.50 >>> prix*tva 0.61249999999999993 >>> round(_, 2) 0.60999999999999999 De quoi de quoi, Python serait-il victime de la bogue du Pentium, et ne saurait pas effectuer de si élémentaires opérations de comptabilité ? Nous allons montrer ici que ce problème existe sur tous les ordinateurs et comment le contourner avec Python.
|
Scooped by
Mickael Ruau
April 7, 2013 3:40 PM
|
Mise à jour du 10/02/11, par Hinault RomaricOracle vient de publier en urgence des correctifs pour le bogue des nombres à virgule flottante dans Java.Ce bogue entraine le blocage du Runtine Java lorsque celui-ci convertit le nombre ...
|
Scooped by
Mickael Ruau
April 7, 2013 3:38 PM
|
Programming with the Twitter API: Apply core programming constructs to a dynamic data source (Beginner/Intermediate)
|
Scooped by
Mickael Ruau
April 7, 2013 3:36 PM
|
In computing, floating point describes a method of representing an approximation to real numbers in a way that can support a wide range of values. The numbers are, in general, represented approximately to a fixed number of significant digits (the mantissa) and scaled using an exponent. The base for the scaling is normally 2, 10 or 16. The typical number that can be represented exactly is of the form:
The idea of floating-point representation over intrinsically integer fixed-point numbers, which consist purely of significand, is that expanding it with the exponent component achieves greater range. For instance, to represent large values, e.g. distances between galaxies, there is no need to keep all 39 decimal places down to femtometre-resolution, employed in particle physics. Assuming that the best resolution is in light years, only 9 most significant decimal digits matter whereas 30 others bear pure noise and, thus, can be safely dropped. This is 100-bit saving in computer data storage. Instead of these 100 bits, much fewer are used to represent the scale (the exponent), e.g. 8 bits or 2 decimal digits. Given that one number can encode the astronomic and subatomic distances with the same 9 digits of accuracy, but, because 9 digits are 100 times less accurate than 9+2 digits reserved for scale, this is considered as precision-for-range trade-off. The example also explains that using scaling to extend the dynamic range results in another contrast with usual fixed-point numbers: their values are not uniformly spaced. Small values, the ones close to zero, can be represented with much higher resolution (1 femtometre) than distant ones because greater scale (light years) must be selected for encoding significantly larger values.[1] That is, floating-point cannot represent point coordinates with atomic accuracy in the other galaxy, only close to the origin.
The term floating point refers to the fact that their radix point (decimal point, or, more commonly in computers, binary point) can "float"; that is, it can be placed anywhere relative to the significant digits of the number. This position is indicated as the exponent component in the internal representation, and floating-point can thus be thought of as a computer realization of scientific notation. Over the years, a variety of floating-point representations have been used in computers. However, since the 1990s, the most commonly encountered representation is that defined by the IEEE 754 Standard.
|
Scooped by
Mickael Ruau
April 7, 2013 3:33 PM
|
Les nombres à virgule flottante sont les nombres les plus souvent utilisés dans un ordinateur pour représenter des valeurs non entières. Ce sont des approximations de nombres réels.
Les nombres à virgule flottante possèdent un signe s (dans {-1, 1}), une mantisse m (aussi appelée significande) et un exposant e. Un tel triplet représente un réel s.m.be où b est la base de représentation (généralement 2 sur ordinateur, mais aussi 16 sur certaines anciennes machines, 10 sur de nombreuses calculatrices, ou éventuellement toute autre valeur). En faisant varier e, on fait « flotter » la virgule décimale. Généralement, m est d'une taille fixée.
Ceci s'oppose à la représentation dite en virgule fixe, où l'exposant e est fixé.
|
Scooped by
Mickael Ruau
April 7, 2013 3:31 PM
|
Réponse : Si vous comparez 2 chaines de caractères, javascript dit bien que "010" est plus petit que "10". La comparaison est alphabétique. Pour comparer ces 2 valeurs en chiffres, il faut les convertir d'abord.
|
|
Scooped by
Mickael Ruau
April 7, 2013 3:55 PM
|
Les équipes de développement attendent de Java qu’il les aide à augmenter leur productivité.
|
Scooped by
Mickael Ruau
April 7, 2013 3:54 PM
|
This is the first of a two part introduction to writing testable Javascript UI code. The first article presents a basic sample application containing several common anti-patterns and their solutions. In the second article, the application will be refactored using the described techniques, a simple XHR mock will be presented, and add a test suite will be added to help future developers maintain the code.
|
Scooped by
Mickael Ruau
April 7, 2013 3:53 PM
|
Tout bon artisan vous le dira : la qualité de ses outils est primordiale pour la réussite de son art. Le peintre sélectionne avec soin son pinceau, l'ébéniste son rabot, le
|
Scooped by
Mickael Ruau
April 7, 2013 3:51 PM
|
|
Scooped by
Mickael Ruau
April 7, 2013 3:47 PM
|
Il n'y a pas que des navigateurs graphiques supportant JavaScript qui soient susceptibles de consulter un document Web. Il existe des outils de consultation de pages qui ne supportent pas JavaScript, ou, ce qui est pire, n'en ont qu'un support partiel. De plus, les robos indexeurs des moteurs de recherche sont incapables d'indexer du contenu qui serait produit en JavaScript. C'est la raison pour laquelle, à chaque fois que du contenu ou une fonctionnalité est ajouté à une page en faisant appel à JavaScript, il est nécessaire de prévoir une alternative sous un format accessible à ce genre d'outils de consultation (le plus souvent simplement du HTML), et fournissant à ces outils une information équivalente et des fonctionnalités permettant d'atteindre les mêmes buts. Cette alternative doit être présente dans un élément noscript, enfant de script lorsqu'il est descendant de l'élément body. Par exemple :
|
Scooped by
Mickael Ruau
April 7, 2013 3:45 PM
|
Obtenir un seul résultat pour un calcul donné : à première vue, cela semble une évidence ; c’est en fait un vaste sujet de recherche.
|
Scooped by
Mickael Ruau
April 7, 2013 3:43 PM
|
Le blog d'OCTO Technology, cabinet d'architectes en systèmes d'information
|
Scooped by
Mickael Ruau
April 7, 2013 3:42 PM
|
Le CSSOM (CSS Object Model) dans Internet Explorer 10 et les applications du Windows Store en JavaScript prennent en charge les unités pixel à virgule flottante et la précision en virgule flottante dans les valeurs de dimensionnement et de...
|
Scooped by
Mickael Ruau
April 7, 2013 3:40 PM
|
|
Scooped by
Mickael Ruau
April 7, 2013 3:37 PM
|
|
Scooped by
Mickael Ruau
April 7, 2013 3:35 PM
|
Forum pour webmasters, création de sites web avec HTML 5, XHTML, CSS 3 et Standards W3C
|
Scooped by
Mickael Ruau
April 7, 2013 3:33 PM
|
On appelle représentation (ou codification) d'un nombre la façon selon laquelle il est décrit sous forme binaire. La représentation des nombres sur un ordinateur est indispensable pour que celui-ci puisse les stocker, les manipuler.
|