Popular Posts

Wednesday, 23 September 2015

Google's new Brotli compression algorithm beats Zopfli by up to 20 to 26 percent



The Brotli Compression Algorithm is an open source algorithm. It is developed by Jyrki Alakuijala and Zoltan Szabadka. It is data compression library. It is very close in speed to deflate but it is more efficient in comparison.
Brotli can be used in version 2.0 of the Web Open Font Format. Here we can find github library
It is a generic-purpose lossless compression algorithm. It  use combination of a modern variant of the LZ77 to compresses data, Here is some note for Brotli
The Brotli algorithm, is just like 'small bread' in Swiss German, it produces tiny compressed files and then use other current algorithms, It has 20-26 % higher compression ratio  than Zopfli.

It produces tiny file than Gzip, Where Gzip is most popular comparison algorithm for compressing Web content sent to a browser.

Monday, 21 September 2015

Computer Programming Introduction

Computer Programming

1. What is Programming

In computing, a program is a specific sequence of operations to perform any task in computer. According to John von Neumann in 1945 we should store the all passive instructions or statements of programs and execute it sequentially to get the required out put
The program contains a one-at-a-time sequence of instructions that the computer follows as in active state. Typically, the program is stored in storage area as passive state. The CPU get instruction by one by one and execute, it also consider the dependency between instructions. The storage area contain two type of statements

  1. Data
  2. Instruction
When CPU fetch the instruction it execute it properly with the required data and produce the output.

2. What is Programming Language

We read the program is sequence of instruction, and we write these instruction in Programming Language (PL).
Just Like human natural languages, every PL has its own way of writing the instruction that is called syntax and write instructions are called the code. Standards have been set by ANSI for mostly PL, and ANSI-standard languages are dialect free. Every language has own compiler or interpreter to convert the language code into machine readable code. There are two common classification of Computer Programming Language.





Server Side
Client Side
ASP
JavaScript
PHP
VBScript
Java
HTML (Structure)
Python
CSS (Designing)
Ruby
AJAX  (Extension of JavaScript )
Go
jQuery (Extension of JavaScript )
JavaScript (NodeJS)
ActionScript
Perl
Dart
Lasso
VBScript
Lua
Typescript
Progress WebSpeed
Python
Table 1

You have notice Javascript is exist in both class, it is really powerful language it has implementation on both side. Most of language has implementation on both side. It mean it all about requirement to implement. Most of popular web industries are using the different language according to their requirement for example Google App engine is developed in python. According to Wikipedia article Facebook's applications written in various Programming languages, including PHP, C, C++, Erlang and others. Yahoo is originally developed in JavaScript and PHP. There is list of most popular sites developed in different Programming languages
Soruce: Wikipedia


3. What is scripting Language

Scripting language is usually interpreted rather than compiled. These PL supports scripts, programs coded for a special run-time environment. Mostly programs are converted permanently into executable code before the execution. In scripting case, code only interpreted one command at a time. JavaScript is most popular example of scripting language on the Browser that do not convert any machine readable code at once. Python is another example of scripting language with the term "script" mostly used for small programs in such languages.