Developers Club geek daily blog

Transfer: Tragedy common lisp

1 year, 1 month ago
Transfer of the letter of Mark Miller, one of participants of committee on standardization JavaScript is offered to your attention. In this letter Mark tells what he can lead "a creeping ficherizm" at design of programming languages to. And why he does not want to add syntax of "let-block" to javascript.

Read more »


Vectorization, small bug and seven-stylish crutch

1 year, 1 month ago
Just I found a solution of a strange bug which pursued me the whole week. This small epic made such impression on me that I decided to share it with community. The error which I found, perhaps is present only at my firmware and most likely will never affect you. Unless you decide to do to Cordova/PhoneGap/HTML5 the application with vector graphics for Windows Phone 8.1

Read more »


We deal with syntax of templates in Angular2

1 year, 1 month ago

Many having for the first time seen syntax of the Angular2 templates begin to lament, what horror made a pier, really it was impossible as in Angular1 at least. Why it was necessary to enter this variety skobochek, asterisks and other nonsense! However on closer examination all becomes far simpler, the main thing not to be frightened.

As templates in AngularJS are its integral part, it is important to deal with them at the very beginning of acquaintance from the new version of this framework. At the same time we will discuss what benefits this syntax in comparison with angular 1.x gives us. And it will be best of all to consider it on small examples.

This article is in many respects based on materials of these two articles:



To simplify material supply, let's understand. I will mean all branch of Angular 1.x while under Angular2 — a branch 2.x by AngularJS.

Note: evening of the day off therefore, etc. report about typographical errors in a pm. He is very grateful also pleasant reading.

Read more »


Tender results on programming on JS: Mail filters

1 year, 1 month ago
Thanks to all participants of our last tender on programming!

We received 408 solutions from 237 different participants (only one participates in tender, the last from solutions from each participant, and we publish the last options). Besides, 7 solutions were sent us or after the termination of term of acceptance of works, or employees of Hola, and we considered them out of the competition.

Read more »


We collect simple MariontteJS+ES6 the application by means of Brunch

1 year, 1 month ago
Hello. I would like to tell as by means of Brunch it is possible to collect MariontteJS+ES6 the application.



Today the 2016th year and methods to collect applications it is a lot of. Below I suggest to consider Brunch

Read more »


Experience of Angular + Typescript + project Offline SPA in a year

1 year, 1 month ago
imageI want to share the small positive experience about the project Typescript based on Angular + after a year. It is not a new sheaf, and I am sure that already many successfully use it. Of course, already many wait for more articles about React or Angular 2.0, but it seems to me, and this experience will be useful to someone.

Read more »


Angular 2 against React: Also there will be blood

1 year, 1 month ago
(transfer, original of article)

Angular 2 reached a beta and has every chance to break monasteries of a top framework in 2016. Time of dismantling. Let's look that it can oppose React, the sweetheart from 2015.

Disclaimer: I worked with the first Angular, but switched to React in 2015. I published the Full course of React and Flux. So yes, I am prejudiced. But I will attack both parties.

Well, it is time to begin. Also there will be blood.


Read more »


Animation of the falling snow is one Canvas more effective than animation on DOM several times

1 year, 1 month ago
. In comparison with native JS on the DOM elements, implementation of animation algorithms on Canvas is usually more productive many times over. It is the known fact (but with features for small number of particles as it will become clear later), and it can find implementation so everything disturbing traditional under NG, but driven by rational users of "the falling snow". That it was not enough loading, in recent years it is considered a good form "to start" snow on the website scarcely noticeable, with the minimum quantity of snowflakes (5-15). Here both the effect is, and honor loads of the processor any.

Therefore, so far to NG some more days still winter, I suggest to arrange a hakatonchik on implementation of the best algorithms on a kanvasa and their analogs on DOM, having taken as a basis generally ancient native algorithms which as at most turned back in jQuery plug-in that it was convenient to connect. The most part of these algorithms does not proportion load of the processor or is made inefficiently therefore even at small number of snowflakes load the processor for 100%. Here an example of a review article where more than 10 implementations are considered, not everything, meeting in the nature. In addition, we will consider several electees to receive a backlog on development of algorithm and implementation it with good efficiency (5-6 more options will turn out). On this basis it is possible to construct completion.

Read more »


Murderers of optimization

1 year, 1 month ago
image

In this post councils are stated how not to write a code which performance will be much lower than expected. Especially it concerns situations when the V8 engine (used in Node.js, Opera, Chromium etc.) refuses to optimize some functions.

Read more »


Multiplication tables … kind of

1 year, 1 month ago
Preface
This post — short retelling of this video in English.
If there is no time to read — a living example here. In the field of factor it is possible to substitute any non-negative values. My darlings — 51, 99, 106, 134, 150.


The mathematics never ceases to surprise with the beauty. This post how to turn such simple operation as multiplication into something surprising. Now answer a question — that the general between it pictures?


Read more »