It is hard to believe that a modern processor (CPU) is the most complex product in the world. What is so complex in this piece of metal?

image

In this article I will try to explain how a modern processer (CPU) is made from the sand.

Processor Manufacturing

It takes about $ 5 billion dollars to build a processor manufacturing factory. This factory approximately has 4 years to return the invested funds in its technology, before it will start making the profit. If we make some simple calculations that comes to 100 microchips per hour that the factory should manufacture in order to return the invested funds.
Papay 4 february 2012, 14:10

After I have read some article about the handling of critical errors in PHP, I noticed that the error codes were customized specially for the bitwise operations in PHP, however, in the article’s examples and the comments are used regular operators for comparison in order to check the error codes.

For example, there were such variations:

if ($error['type'] == E_ERROR || $error['type'] == E_PARSE || $error['type'] == E_COMPILE_ERROR){…}
or

if(in_array($error['type'], array(E_ERROR, E_PARSE, E_COMPILE_ERROR)) {…}
Thereby, I decided to write a short article about the bitwise operations with examples of their use.
BumBum 2 february 2012, 21:20

While developing the code analyzer PVS-Studio intended for searching issues in 64-bit and concurrent software, we came to the need of collecting fresh information on the Internet on some topics. For example, it is always useful to answer the questions of programmers who may be interested in our tool on various forums and blogs. While collecting the data we found out that there is much information on the Internet and therefore manual search might be very long and tiresome. Thus the task of automating the process of searching for fresh data appeared. In this post we will tell you how we do this.
But I bet you have said right now: "Ha-ha! The guys are reinventing the wheel and are not aware of Google Alerts". Well, we are aware of Google Alerts. And it is almost the thing we need but not quite :-). We have been using Google Alerts for more than half a year and did not manage to get what we needed. And here is what we need:
Tags: Google, html, Php, script
Andrey2008 31 january 2012, 17:00

I decided to find out if there is practical sense in writing ++iterator instead of iterator++ when handling iterators. My interest in this question arouse far not from my love to art but from practical reasons. We have intended for a long time to develop PVS-Studio not only in the direction of error search but in the direction of prompting tips on code optimization. A message telling you that you'd better write ++iterator is quite suitable in the scope of optimization.

But how much relevant is this recommendation nowadays? In ancient times, for instance, it was advised not to repeat calculations. It was a good manner to write:

TMP = A + 10;
X = TMP + B;
Y = TMP + C;

instead of

X = A + 10 + B;
Y = A + 10 + C;

Such subtle manual optimization is meaningless now. The compiler would handle this task as well. It's just unnecessary complication of code.
Andrey2008 30 january 2012, 13:18

imageAccording to some saying, the programmers are human devices that convert caffeine into the programming code :)

If you ask any programmer when the most productive time to work, most likely that will be the night time. Someone may start earlier, somebody else could start later, and some people prefer to go to bed at 4 am. However, the most popular one to get up at 4 am and do the job before the daily turmoil will start.

The purpose of all this is to get rid of distractions during the day. What is so special about the night?

I think it all comes to three things: the maker’s schedule, sleepy brain and the bright computer screen.
Sparks 29 january 2012, 19:24

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

Now, it is the Year of Dragon. Traditionally, it is an important and successful year, the year of battles and victories. Previous 2011 passed as the typical one. During past year were done a lot of good things, such as the new patents, variety of products and continuous development of technology. However, this article will be about something else. The story will be about a girl by a name Sintel and the dragon from the short film Sintel, released by Blender Foundation more than a year ago. This film gave a huge drive to the development of the free open source 3D content creation suite Blender for the entire year 2011. Of course, this article should have been posted in the past, but it is better late than never.

A devil is hidden in the details. In computer science there is no project that could have gotten without the transition to a simplified character that does not correspond to the real world. Here are examples: illumination, hair, tissue and many other things. Therefore, there will be a lot of clickable pictures (caution, the traffic!). All models and scenes from the film are licensed under CC-BY 3.0 and are available as archives of svn project.

So, let us get started!
image
Pirat 24 january 2012, 16:55

Introduction


Hello my dear umumbleuser! In this post I am going to discuss the sleep and productive activity. I am interested in the topic of my own productive sleep. The last few years I thought that the sleep is just a waste of time, and therefore, I tried to shorten the time of my sleep. But the more I did it, the more I began to look like a zombie, and then I began to look for an alternative. Consequently, this post will be a synthesis of all the information I found. Let us begin!

We learn during our sleep

I would like to begin that sleep is not a waste of time. It was a great discovery for me. Our brain does not rest during our sleep, it processes the information. All the time while we are peacefully sleeping and dreaming, the brain is processing all the received information for the day. What it finds useful it puts in long-term memory for years to come, but that is not needed it throws out. Thus, when we are awake, we only collect information for further processing in our sleep. So, how does this happen? Here we need to get acquainted with concepts such as the types of sleep.
xially 20 january 2012, 17:49

Copy-Paste, Ctrl-C, Ctrl-V
I create the PVS-Studio analyzer detecting errors in source code of C/C++/C++11 software. So I have to review a large amount of source code of various applications where we detected suspicious code fragments with the help of PVS-Studio. I have collected a lot of examples demonstrating that an error occurred because of copying and modifying a code fragment. Of course, it has been known for a long time that using Copy-Paste in programming is a bad thing. But let's try to investigate this problem closely instead of limiting ourselves to just saying "do not copy the code".
Andrey2008 19 january 2012, 18:52

Recently I came across a video on Youtube, which shows technology of the Smart Window.

The Smart Window casts a touch-controlled interface onto transparent glass with ambient light. Samsung was demonstrating a whole range of applications from Twitter to Microsoft Office, all touch-controlled and viewable directly on the glass. Images are viewable in daylight, and there's a nighttime mode that uses side-lighting and flipped colors. It could be found in hundreds of movies and TV series, starting from the Star Trek.

It seems that you only have to solve the problem of voice recognition, and the touch screen will be exactly the same as in the Star Trek.


Can you imagine putting one of these in every room of your house?
KlauS 17 january 2012, 17:58