Tag: tutorial
February 9, 2013
beginner, client-server, http, I/O File, implementation, internet, javascript, network, nodejs, programming languages, sockets, tcp/ip
Previous tutorials on node.js could be found here: We have learned to create a http server by using require(‘http’) and http.createServer(…).listen(port). The node.js is based on Javascript and event-driven model, which means that the events happen later …
Javascript is the world’s most used programming language nowadays. Your Javascript application can attract billions of audiences and there is no other programming language can achieve a similar scale. …
Ajax stands for AsynchronousJavascript and Xml. It is not a new programming language or tool. Instead, it is a new way of using existing standards to exchange data between client and …
Heron’s Formula is a method to compute the area of a triangle when you know its three sides, a, b, and c. The area S is then based on p where and can be easily implemented …
The problem is from codeforces: http://www.codeforces.com/contest/268/problem/B This is clearly a math counting problem. In easy description, the problem can be described as: how many numbers are there in this pattern, …