Do you know what value produce this code in JavaScript?

var foo = 1;
function bar() {
if (! foo) {
var foo = 10;

If you are surprised what will produce "10", then the following code confuse you at all:

var a = 1;
function b () {
a = 10;
function a() {}

In this case, the browser produces "1". So what exactly is going on? Although this behavior seems strange, dangerous and confusing, in fact it is very powerful and significant tool JavaScript. There is a name for term for such behavior, which is “hoisting”. This article will try to explain the mechanism of the language, but first let us talk about scope in JavaScript.
Sparks 30 october 2011, 17:14

Codify is available in the App Store. It is a first code editor for iPad with the native interface and support for the touchscreen. It is very convenient: using a finger press on the object features and a pop-up window will appear with a list of options. Most importantly, the written code can be run any time in order to test the accelerometer and multi-touch. There would be no more problems with emulators!

Codify is built on the base of Lua language that is a simple and smart programming language, and it is well suited to create games for iPad.
MeLavi 28 october 2011, 16:49


It is unlikely that someone would complain on this trip: a team of Google employees recently has traveled across the Swiss Alps to photograph the Albula-Bernina line that is considered one of the most scenic rail routes in the world, and it is included in the UNESCO World Heritage List.

The route is known for its mountain sceneries that starts from a Swiss commune Thusis and goes through St. Moritz to the Italian border in Tirano. The panoramas have made with the support of Rhaetian Railway that will appear on the "Google Maps” soon.
Skull 24 october 2011, 18:48

The full list of changes and enhancements was released for NetBeans 7.1 beta.
We will focus on the most important changes that are related to PHP and the web development.

Support CCS3

There are supported and highlighted a new syntax, new elements and the pseudo-classes ...

xially 8 october 2011, 16:41


This is not a joke, the developers of the service Google Analytics added a new tool to track the traffic of any resource in real-time mode. A new tool has its own name that is Google Analytics Real-Time. The service is available only in the new version of the interface, so if you still use the old one, then change the habits. Of course, if you want to track in the real- time mode.

The developers believe that Google Analytics Real-Time will help the webmasters to track the popularity of various materials on the resources. Previously, the traffic tracking was also possible in the real-time mode, but for that purpose were used the third-party tools and services, for example:
KlauS 3 october 2011, 14:50

Everyone has a history. A person changes over time, changes appearance, character, remained unchanged only the name. This year, Adobe celebrates its 25th anniversary. A quarter of century is a considerable age even for a man, and for a company that deals with the computer technologies is simply a great age, few companies can boast about such history.

Let us look back and see how Adobe has been developed over the time and its most famous product - Photoshop. Let us trace the transformation of the logo and loading screen.

The company logo was changed three times.


Vanrok Marwa drew this version; she is the wife of Vanrok John, who is the founder of Adobe.
Skull 2 october 2011, 13:45


imageThe last four years I have lived and worked as a programmer in the United States in the Silicon Valley. During this time I have collected some observations that I'd like to share. I will focus on the infrastructure issues, such as the transport, internet, roads, crime, water, entertainment, and etc. I will tell only about my own experience. I hope this article will be interesting for the specialists that are thinking about working in the Silicon Valley.


imageRoads and automobile transportation
First thing I noticed when I came to the valley, it is excellent quality of the roads. The highway usually has four lanes in the each direction. The outer left lane can be used when more than one person is the car. The speed limit is usually 105 km / h., and it is controlled by the police forces that pull over the people, who drive over the limit. I have to say that they do not pull over for 120 km / h., but for 130 km / h., they may write a ticket. These two statements are verified by my own experience.
Sparks 30 september 2011, 13:22

Each of us complained about the forecasters, when finds to be in the rain without an umbrella. In this article, we will tell you how to make a forecast based on the model WRF (Weather Research & Forecasting Model) for the several days in advance.

A few words about WRF

WRF is a numerical weather prediction model, which is suitable to predict the condition of the atmosphere, as well for research. It has been developed by the community of scientific organizations the United States, including the National Center for Atmospheric and Ocean, the National Center for Atmospheric Research.
It is a system of modules: the preparation module of initial and interfacial data (WRF Preprocessing System), it is the actual determinant core (Advanced Research WRF), the post-processing module (WRF Postprocessing System).
Most part of the model is implemented in the language fortran, which is using the library MPI. Modules are written on C for working with data. The model is available in the source codes.
Naturally, the model consumes an enormous amount of CPU time, and it is designed to run on supercomputers, since the weather forecast is one of the toughest tasks.
MeLavi 29 september 2011, 13:58

Every day new standards of CSS3 and HTML5 enter more deeply into the life of web designers and web developers, and the browsers are becoming more compatible with these standards.


In connection with this event we would like to present you a selection of 10 buttons of CSS3 that will make your life easier during the layout and creation of the web applications.
Tags: button, CSS3, html5
Siera 15 september 2011, 12:02

imagePREDICTION: Apple to release iPhone 5 on October 4 and start shipping by the end of October.

Apple reportedly plans to release the golden master of iOS 5, its forthcoming operating system update for the iPhone, iPad and iPod touch, to its overseas assemblers at some point between September 23 and September 30, on time for a mid-October launch of a fifth-generation iPhone.

Analyst Ming-Chi Kuo revealed to AppleInsider on Monday that the new iPhone and iPod touch went into mass production in late August, and assemblers are currently scheduled to receive the golden master of iOS 5 the week of September 30. Typically, a golden master version of software is identical to the code that eventually becomes the final release to the public.
Masyk 13 september 2011, 5:26