31

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

imageThere arises a question why tabs are better than spaces, so today I am going to discuss the most significant misconceptions about the tabs and how to use them properly.

Let's start with the fact that most people (at least on umumble) prefer tabs.
In fact, it is strange that many people still do not see the difference between indentation and alignment. Well, here it is - indentation:

for (int i = 0; i < 10; i++) {
if (a[i] == 0)
do_something(i);
}
And this is - alignment:

int some_variable = 0;
int v1 = 0;

The first one can be done by both tabs and spaces, but when you use the tabs the width of indent could be adjusted as you like. The the second one is strictly done by the spaces.
KlauS 26 january 2012, 13:56

A question recently posted on stackoverflow.com asked for people to submit programming terms that they or their team have coined and have come into regular use in their own circles.

Below are the most popular answers

Yoda Conditions
The act of using if (constant == variable) instead of natural if (variable == constant),; for example, if (4 == foo). Because it is like "if it is the blue – this is the sky" or "if that is tall – this is a man."

image
KlauS 1 january 2012, 16:15

Many are looking for such studies, which would have been pleasant for the person, and useful in the development of certain skills for the programmers, and people with an office work.

1) Juggling

imageA Juggling is a wonderful thing that is healthy for health and for the soul. What benefit can we get from the juggling?
First of all, it is a good exercise for the eyes that removing the stress from them, which is important for the people that have been working at the computer. Then, this is the physical exercise (even if it is a small) as for the hands, so for the feet (at the beginning we will have to constantly bend over to pick up the falling objects). Finally, it is a moral satisfaction from the fact that you get to manipulate objects in the air. The juggling did not require any accessories. Only three (initially two) objects of such form that would be convenient catch and toss up preferably not too light or too heavy.

The Internet has many videos on how to learn to juggle, for example:
www.howcast.com/videos/944-How-To-Juggle-Three-Balls
Well, the sweetest is juggling, which activates the mutual work of both hemispheres that stimulates the creative process and allows us to write a good code. The last thing is the speculation.
KlauS 19 september 2011, 12:24
1 2 3