Here are some comments about time:

  • UTC: The time at the Prime Meridian is called Universal Coordinated Time (UTC). A mismatch was caused by the acronym of its universal necessity for all languages.

  • GMT: Before UTC was called Greenwich Mean Time (GMT), because the Prime Meridian was chosen to pass through the Royal Observatory in Greenwich.

  • Other timezones can be written as an offset from UTC. For example, Australian Eastern Standard Time is written UTC+1000, namely 10:00 UTC is 20:00 EST on the same day.

  • Summer time does not affect UTC. It's just a political decision to change its time-zone (offset from UTC). For example, GMT is still used: it's the British national time-zone in winter. In summer it becomes BST.

  • Leap seconds: By international agreement, UTC is kept within 0.9 seconds of physical reality (UT1, which is a measure of solar time) by introducing a "leap second" in the last minute of the UTC year, or in the last minute of June.

  • Leap seconds are not required to be declared (by astronomers) more than 6 months prior to their introduction. This presents a problem if you need any planning with second accuracy for more than 6 months.
Pirat 22 february 2012, 16:02

So, the news says that someone else has died due to video game addiction. Yes, it is Korea again.

I am not trying to prove that the video games are heroin. I remember that in this case the victim had a lot of problems in live. But, half of you know that the World of Warcraft sucks you into that and doctors consider the game addiction as a serious problem. So here's the big question: Are some games intentionally designed to keep you playing, even when you are not enjoying it?

Surely, they are.

5. Forming the habits (reflexes)


If you have ever been addicted to a game or known someone who was, then this article is really disturbing. It is written by Microsoft game researcher on how to make video games that attract players, whether they like it or not. This person has a doctorate in behavioral and brain sciences.
KlauS 21 february 2012, 18:08

Here is a memo for novice exorcist:)

Before I begin, I know what are phpDaemon and System_Daemon. I read some articles about this subject.

So, let's assume that you've already decided that you need the daemon. What should daemon be able to do?

• It should run from the console and unbind from it.
• It should write all information to the logs, nothing output to the console.
• It should be able to create the child processes and monitor them.
• It should perform an assigned task.
• It should correctly complete a job.
Tags: daemon, Php
ZimerMan 20 february 2012, 16:34

What kind of crap is going on with netbooks? Why I wanted a netbook, but did not buy one? Why I do not want today's netbooks even for free?

Why do I need the netbook?

First of all, I do not need it for the movies, games, and so on. I need the netbook for my work, namely I want to view sites, check my e-mail, do word processing and reading, work with the spreadsheets, and some more. This implies two requirements: the screen and the keyboard.

Secondly, it is clear that the device of this class I need for mobile work. This raises the requirements for a size, weight and the battery life.

Of course, there are some other requirements: the casing material, communication interfaces, etc. I will talk about them below.
Pirat 19 february 2012, 21:36

Every day the websites post some good reviews of new and interesting gadgets, where all device features are usually described perfectly well, but the gadget's photos are not that good. Often, we see this:
Siera 18 february 2012, 19:17

This article will first introduce you to some of the different styles used for personal names, and then some of the possible implications for handling those on the Web.


Intended audience: HTML content authors (using editors or scripting), script developers (PHP, JSP, etc.), and schema developers (DTDs, XML Schema, RelaxNG, etc.), Web project managers, and anyone who is involved in the design of forms, databases and ontology that capture people's names.

People who create web forms, databases, or ontology are often unaware how different people’s names can be in other countries. They build their forms or databases in a way that assumes too much on the part of foreign users.

This article doesn't provide all the answers – the best answer will vary according to the needs of the application, and in most cases, it may be difficult to find a 'perfect' solution. It attempts to mostly sensitize you to some of the key issues by way of an introduction. The examples and advice shown relate mostly to Web forms and databases. Many of the concepts are, however, also worth considering for ontology design, though we won't call out specific examples here.
xially 17 february 2012, 20:45

More than a year has passed since we analyzed Notepad++ with PVS-Studio. We wanted to see how much better the PVS-Studio analyzer has become since then and which of the previous errors have been fixed in Notepad++.
Andrey2008 17 february 2012, 10:49

Every new technology has its own comparisons with its competitors as jQuery is closely compared with Flash. Flash was the technology used by many web designers a while ago, but now it’s the turn of jQuery to add the special effects or interactivity to a website. jQuery makes it easier to create sophisticated custom effects and animations compared to Flash. This article provides some fantastic examples with amazing results, which can be achieved using standard browser and your imagination.

Apple like retina effect

BumBum 16 february 2012, 18:03

I just recently have come across a hit parade of the most annoying things for the programmer on the internet.

Here they are:

10. Comments that explain “how” but do not explain “why”

In the university where I was a student studying a course of programming, we were taught to make detailed comments to the code. It’s better to have too many comments than to have too few. Unfortunately, sometimes this advice grows into the paranoia, namely programmer comments every single line of code. For example:

$r = $n / 2; // Set $r to $n divided by 2

// Loop while $r - ($n/$r) is greater than $t
while ( abs( $r - ($n/$r) ) > $t ) {
$r = 0.5 * ( $r + ($n/$r) ); // Set $r to half of $r + ($n/$r)
Skull 15 february 2012, 19:47

Let us consider a situation when you need to handle collisions between some objects. What do you do in this case? Probably, the easiest solution would be to check interaction between these objects. This is the right decision, and everything will be fine until you get a lot of objects. As soon as their number gets up to a few thousand, you will notice that everything works much slower. What if you get thousands of the particles? Then everything stops. Here things get much more interesting. What tricks and optimizations would you use to solve this problem?

Let us consider 2D case to make it simple, the particles are round, and the radius of the particles is the same for all of them.

Table of contents

1. Overview of algorithms
1.1. Exhaustive search
1.2. Sweep & Prune
1.3. Regular grid
2. Some optimizations
2.1. Sweep & Prune
2.2. Regular grid
3. Speed comparison
4. Application (software and source code)
5. Conclusion
KlauS 14 february 2012, 16:38