"C++11 feels like a new language." - Bjarne Stroustrup

Recently, Herb Sutter has opened on its website a new page “Elements of Modern C++ Style”, where he describes the advantages of the new standard and how they will affect the code.

C++11 standard introduces many new features. Next, we focus specifically and only on those features that make C++11 really feel like a new language compared to C++98, namely:

• They change the styles and idioms you will use when writing C++ code, often including the way you will design C++ libraries. For example, you will see more smart pointer parameters and return values, and functions that return big objects by value.
• They will be used so pervasively that you will probably see them in most code examples. For example, virtually every five-line modern C++ code example will say “auto” somewhere.
Tags: C++, C++0x, С++11
Skull 13 january 2012, 17:45

Who remembers the game called WipeOut, those will please Japanese movie from Japan Advanced Institute of Science and Technology(JAIST). They have made a model of WipeOut track in reality


Levitation is based on the Meissner Effect. Bolides are cooled with help of liquid nitrogen.
Сonsiderable interest arousing the bolides controlling system, but unfortunately we don't have any additional information
Selfer 12 january 2012, 21:05

You can restart anywhere or anytime. From any OS

Their page on Facebook
Tags: ui
KlauS 9 january 2012, 12:47

The design management is a very interesting thing, it seems as if it is, but on the other hand, it is not. At the same time, there exists an unstable verge between reality and fiction, and many people make good money on that, including me.

Honestly, this text writing pursued the selfish goals: it is some touchstone to be sent to people with which we will have to collaborate.

After we dot the i's and cross the t's, we have to either rush headlong into the abyss of passion, or delimit our areas of activity completely. So, let us talk about the screwups and why they cannot be fixed.
BumBum 6 january 2012, 16:00

Smashing Magazine has released another free set icon Aroma, created by Oliver Twardowski.

Majority of them are 150 icons and ideograms 24 × 24 pixels:

image

The remaining icons (it is about 103) picture keyboard images.


You can download the icon set for free in ZIP-archive (≈ .zip, 1.5 Mb).

The elements contained in this collection are free for personal and commercial use. Please link to this article if you want to spread the word or give it a tweet or share it. You may modify the file as you wish but please do not redistribute them elsewhere without written permission from Smashing Magazine and Oliver Twardowski.
Skull 4 january 2012, 14:56

Introduction


I have a Toyota Corolla 2003 with the factory built-in a car cassette radio. Of course, I have never used the cassettes, but a radio and fm modulator came in handy for me.
I am not particularly a music lover, but I wanted something more. Here are options what I had:
1. Put the frame for 1 or 2 din and install the ordinary cassette radio.
2. Buy its native one for $ 70 dollars on eBay with the CDs, but without the MP3 :)
3. Buy a fancy one for $ 600 dollars that would fit to my car.

However, I did not like any of the above…
1. An ordinary cassette radio did not have any computer.
2. Trade bad for worse :).
3. It is too expensive and not very popular ...

There came an idea to install the computer in the car. Here is what it was before and after.

imageimage
Pirat 3 january 2012, 15:14

I have always been interested in a subject of electric transport. When I finally moved from theory to practice, the long-awaited moment came. I would like to share my experience below.

Here are a couple of thoughts as an introduction.
Why now is everybody talking about electric cars, electric airplanes and electric bikes so actively? Finally, the main problem of electric transport was almost resolved, because there began appearing the quite compact and high-capacity batteries. Moreover, they are being charged for the acceptable time. In fact, just this was waited, and all the rest as a car body, chassis, electronics and electric motors were created a long time ago. All of this has already being used for a hundred years. The electric motors allow using the new solutions; for example, to be installed in the hubs of wheels.

Let us get to the point!

Technical characteristics:

- ordinary bike, the price is about $ 200
- electric motor: 48V / 380W
- battery: 48V / 10A
- speed without pedaling on a flat road 35-40 km / h
- traveling distance: 22-25 km on the hilly country and the city
- total charging time: 2 hours

image
Siera 30 december 2011, 20:34

Introduction


C ++ is unmanaged language, because the programs can escape without saving the user’s data and give the error messages, etc. For example, it takes only to get into an uninitialized memory. For example:

void fall()
{
char * s = "short_text";
sprintf(s,"This is very long text");
}

or

void fall()
{
int * pointer = NULL;
*pointer = 13;
}
It would be better if we could "catch" a program crash just like in java we are catching exceptions, as well we could do anything before the program will crash (save the user’s document, display a dialog with the error message, etc.)

A task does not have a general solution, as C ++ does not have its own model of exception handling that is work-related with the memory. Nevertheless, we will consider two methods that are using the features of the operating system that caused an exception.
Skull 25 december 2011, 13:26

I have recently read an article where its author states that the computer will never be able to understand the text as it is understood by the human. He cites a number of impossible tasks to machines as proof with an emphasis on the lack of efficient algorithms and modeling impossibility of a complete system, which would take into account all the possible alternatives of the text. However, is it really that bad? Is it true that for the solution of such tasks is needed special processing power? What is a situation of natural language text processing?

What does it mean to "understand"?


The first thing I was confused is the question itself. Could a computer be able ever to understand the text as it understood by the human? What exactly does it mean to "understand as the human"? Generally, what does it mean to "understand"? In the book “Data Mining: Practical Machine Learning Tools and Techniques” authors asked themselves a similar question. What does it mean to "get trained"? Let us assume that we have applied to the "interpreter" some training technique. How do we check whether or not a student is learning? If a student attended all the lectures on the subject, it does not mean that the student has learned and understood it. In order to test this, teachers hold examinations, where student is asked to complete some tests on the subject. Same thing is with the computer, we want to know whether it has learned (whether it has understood the text). In order to find out that we have to check, as it solves the specific applications, translates the text, highlights the facts, gives concrete meaning of a polysemantic word, etc. In this perspective, the meaning misses the importance at all. The meaning can be assumed as a certain state of the interpreter in accordance with which it handles text.
BumBum 22 december 2011, 19:33

image

A few days ago, the USA announced the withdrawal of troops from Iraq. They did not leave empty-handed and took the biometric data of three million Iraqi civilians (it is approximately 10% of the population). For several years, U.S. Marines carried handheld portable optical scanners, which allow quickly collecting the irises and fingerprints from any passer-by in the field.
xially 22 december 2011, 13:58