The World Of Programmer

Saturday, 22 March 2014

HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the development flexibility that PHP provides.

HHVM runs much of the world’s existing PHP. The HHVM team, along with many wonderful community members, has made it a stated, high priority goal to run all existing PHP code existing out in the wild.

What are the HHVM Features ...

The Hack Language

JIT Compilation

HNI

FastCGI support

Increasing PHP5 Parity

hphpd debugger

and much more

One of the strongest and most significant features in HHVM is its support for a wide range of databases. Writing a database-enabled web page is incredibly simple using one of the database specific extensions (e.g., for mysql), or using an abstraction layer like PDO, or connect to any database supporting the Open Database Connection standard via the ODBC extension. Other databases may utilize cURL or sockets.

Rather than directly interpret or compile PHP code directly to C++, HHVM compiles Hack and PHP into an intermediate bytecode. This bytecode is then translated into x64 machine code dynamically at runtime by a just-in-time (JIT) compiler. This compilation process allows for all sorts of optimizations that cannot be made in a statically compiled binary, thus enabling higher performance of your Hack and PHP programs.

To date, HHVM (and its predecessor HPHPc before it) has realized over a 9x increase in web request throughput and over a 5x reduction in memory consumption for Facebook compared with the PHP 5.2 engine + APC.

There are two main areas where HHVM scripts are used.

Server-side scripting : This is the most traditional and main target field for HHVM. You need three things to make this work. The HHVM parser, a web server and a web browser. You need to run the web server, with a connected HHVM installation. You can access the Hack program output with a web browser, viewing the Hack page through the server. All these can run on your home machine if you are just experimenting with Hack programming. See the installation instructions section for more information on how to install HHVM.

Command line scripting : You can make an HHVM script to run it without any server or browser. You only need the HHVM parser to use it this way. This type of usage is ideal for regularly executed scripts or testing new libraries and functionality. These scripts can also be used for simple text processing tasks. See the section about Command line usage of HHVM for more information.

Sunday, 9 March 2014

Admit it, you played Flappy Bird. And for a brief period of time, you may have even liked the incredibly addictive game.
After millions of people downloaded the viral hit, however, creator Dong Nguyen decided enough was enough ..it was time to pull the plug, making it unavailable in the iOS and Android app markets.
But never say never again: Nguyen revealed in an interview with Rolling Stone that there is still at least a sliver of a chance that the extremely simple game will return in a blaze of avian glory.
"I'm considering it," said Nguyen when asked if it would ever be offered again, so take that with a grain of salt; we'll believe it when we see it.
In the meantime, we bet Android users can still download an APK somewhere, and iPhone fans can always check eBay to see if somebody's selling their phone with the game on it.
As for why Nguyen pulled the app, he mentioned that the game's massive success was crushing and weighing him down, and it threatened his simple life: "I'm a master of my own fate," he said, "[an] independent thinker."

Wednesday, 5 March 2014

Every one owns an android device these days and some who are a bit further in that root their devices and istall custom roms and what not. In the fact of installing custom roms AOSP and CyanogenMod are the best the customisations that CyanogenMod provides are much when compared to the stock android. So lot of developers use CyanogenMod but as far as the new users who have a little knowledge on all the steps that are included in the process of getting to that its a bit tricky so in order to avaoid that there has been a money raising campaingn to make CyanogenMod available to aevery device and to intall it in a easy manner.

Thursday, 20 February 2014

Project Loon balloons float in the stratosphere, twice as high as airplanes and the weather. In the stratosphere, there are many layers of wind, and each layer of wind varies in direction and speed. Loon balloons go where they’re needed by rising or descending into a layer of wind blowing in the desired direction of travel.

People can connect to the balloon network using a special Internet antenna attached to their building. The signal bounces from this antenna up to the balloon network, and then down to the global Internet on Earth.

NAVIGATING WITH THE WIND
Project Loon balloons travel approximately 20 km above the Earth’s surface in the stratosphere. Winds in the stratosphere are stratified, and each layer of wind varies in speed and direction. Project Loon uses software algorithms to determine where its balloons need to go, then moves each one into a layer of wind blowing in the right direction. By moving with the wind, the balloons can be arranged to form one large communications network.

STRATOSPHERE
Situated on the edge of space, between 10 km and 60 km in altitude, the stratosphere presents unique engineering challenges: air pressure is 1% that at sea level, and this thin atmosphere offers less protection from UV radiation and dramatic temperature swings, which can reach as low as -80°C. By carefully designing the balloon envelope to withstand these conditions, Project Loon is able to take advantage of the stratosphere’s steady winds and remain well above weather events, wildlife and airplanes.

Each balloon can provide connectivity to a ground area about 40 km in diameter at speeds comparable to 3G. For balloon-to-balloon and balloon-to-ground communications, the balloons use antennas equipped with specialized radio frequency technology. Project Loon currently uses ISM bands (specifically 2.4 and 5.8 GHz bands) that are available for anyone to use.

Project Loon began in June 2013 with an experimental pilot in New Zealand, where a small group of Project Loon pioneers tested Loon technology. The results of the pilot test have been used to improve the technology, and continued refinements are now being tested in an ongoing series of research flights in California’s Central Valley.