Some of our users run static analysis only occasionally. They find new errors in their code and, feeling glad about this, willingly renew PVS-Studio licenses. I should feel glad too, shouldn't I? But I feel sad - because you get only 10-20% of the tool's efficiency when using it in such a way, while you could obtain at least 80-90% if you used it otherwise. In this post I will tell you about the most common mistake among users of static code analysis tools.
0
Andrey2008 25 april 2013, 6:40
Debich April 19, 2013, 17:53
One more tool, to help with eye tiredness
http://eyepitstop.com

As an experiment, we have decided to offer everyone interested a PVS-Studio registration key for 5 days to study its 64-bit diagnostics more thoroughly.

Tags: bugs, C, C++, pvs-studio
0
Andrey2008 16 april 2013, 16:05
evanlarsen March 27, 2013, 18:58
How about Macaroni Code.

Where your code is so full of abstractions and interfaces that only have one implementation, it becomes harder to follow than if it was spaghetti code.
Rumpel March 27, 2013, 10:23
USB Drivers with heavy usage die sooner or later because the number of write tasks is limited. Not keeping a backup is just stupid.
This applies for ALL storage devices. I guess you used it heavily in 1,8 years and now it is dead and especially with this temper proof
USB drive you are pretty much screwed anyway. Just keep backups next time.
reiiiiiiiiii March 26, 2013, 22:02
Hello,
please help me, begging!!! I am destroyed, I bought a "datashur" stick about 1,8 years ago, all my work is on it I mean all my life....today like usual I unlocked (green light on..after my code typed) my data shur and put it in my computer, but my computer not seen it...I looked but the stick played like usual...green light on, my computer still not seen it. After a minute the green light was of and it started flashing lights, green and red then only red, I repeated this several times but it act the same: stick played like usual green light on, computer not recognized it, one minute later flashing lights then only red on.

please.... if somebody can help me m,y life is over if I can't access my datashur stick.

if you can help me I'll be grateful all my life.
wayaba March 22, 2013, 13:40
Does anybody tried to work with APIs once authenticated with this extension?

I'd like to give you some tips on what useful items you can find on our website www.viva64.com.
The audience of our site is constantly rising. Programmers subscribe to our blog, follow us in twitter, and so on. As a result, many of our readers read new articles but don't know of other useful materials posted earlier. We don't position us as an information portal, so you may miss a lot of useful items of information when visiting our site. However, we find it cruel to refer our readers to the site map. Yes, you can find all the site contents there but it's an impossible task for a guest to choose what to read.
That's why I've decided to arrange a small tour around our website for new visitors. I've picked out the sections which, I suppose, will be most useful and interesting. Enjoy your reading.
  1. All about "64-bit"
  2. Developing extension packages for Visual Studio 2005/2008/2010/2012 using C# with real-life samples
  3. Collection of interesting resources on C/C++ programming
  4. The compiler is to blame for everything
  5. Wade not in unknown waters. Part one, two, three.
  6. Is it reasonable to use the prefix increment operator ++it instead of postfix operator it++ for iterators?
  7. How to complement TDD with static analysis
  8. A sample collection to aid in studying typical misprints and mistakes in C/C++ programming
  9. How to make fewer errors at the stage of code writing. Part one, two, three.
  10. 32 OpenMP Traps For C++ Developers
  11. Studying methods of attracting people to a software product's website
  12. Security, security! But do you test it?
In conclusion I'd like to invite you to follow me in twitter: @Code_Analysis. There I post links not only to our own new articles but to many other interesting programmer resources too. And one more thing. Could you please vote for our tool PVS-Studio in Visual Studio Gallery? It's been there for a long time, but unfortunately there are almost no responses.
Tags: articles, C++, code, cpp, dev
0
Andrey2008 12 march 2013, 8:12

Hi to everyone!

imageSimkl, a leading developer of innovative services and products for IM platforms, has recently launched a new website design and also unveiled a new software version of Skype recording service with cloud storage. The new application IM Chat & Voice Recorder V3.0 for recording Skype audio calls is for use by corporate monitoring agencies, parents concerned with the safety of their children online and all Skype users who want to gain instant and direct access to all voice and text recordings, without worrying about high costs, restrictions or service limitations.
+1
Siera 8 march 2013, 11:50
jnerd404 February 20, 2013, 0:41
I was able to solve this with a Yii::import('application.models.LoginForm'). Now, the problem is UserIdentity. I don't get this problem. Isn't Yii supposed to locate the classes since they have already been loaded in main.php?
Janny February 19, 2013, 1:26
Axel Gembe's trial lasted for seven hours. No one from Valve was present, though someone from the Wall Street Journal turned up. Security breach aside, there was no evidence to suggest Gembe had been responsible for pushing the Half-Life 2 source code on the internet. However, Gembe admitted to hacking into Valve's network. The judge sentenced him to two years' probation, citing his rough childhood and the way he had worked to turn his life around as considerations when it came to deciding on the relatively lenient punishment.

Since the days of a Gold Rush a little has changed in the rating of high-risk enterprises by the man. A half century later, still in the same California is the Silicon Rush epicenter.
image
Here are in the photo San Francisco in XIX century and today.
0
Pirat 18 february 2013, 21:37
kleop February 18, 2013, 21:36
You have problems with your sources. Try to find "LoginForm.php" by yourself and place it to the same directory where all of your sources are located
Janny February 16, 2013, 6:56
Produced by Architect and MIT Professor Neri Oxman, this 3D printed Corset was just one of 18 Prototypes of the Human Body, and was part of her exhibit entitled ‘Imaginary Beings, Mythologies of the Not Yet’ at the Centre Pompidou in Paris earlier this year. This model, created on the Objet Connex500 features a highly creative spider-wed like design.
jnerd404 February 15, 2013, 8:24
I get the error below after adding the code for the widget in SiteController:

include(LoginForm.php): failed to open stream: No such file or directory

Any ideas?

I find this question pretty strange. The answer is yes, of course, and that will be so for a long time. But I'm asked this question from time to time at conferences or when communicating with developers on forums. I've decided to answer this question in the form of a brief post so that I could just refer people to it in the future.

We develop the PVS-Studio code analyzer for C/C++ software developers. People sometimes ask me why these particular languages; C/C++ is old and few developers use it, isn't it so? When I tell them this is quite a popular language and it is widely used, they look sincerely astonished.

Perhaps the reason is that the Internet is full of articles, forums and news about new languages and their capabilities. Programmers who don't work with the C/C++ language simply don't notice rare news items about it among all that stuff. It's quite natural: there's no point in advertising what has been widely known and used for a long time. As a result, they come to the conclusion that this language was abandoned long ago and now is used only to maintain some old projects.

It's not so. This is a very popular, live and actively developing language. Just have a look at the rating of programming languages to see that I'm right. Currently it can be found here: TIOBE Programming Community Index for January 2013.

TIOBE Programming Community Index for January 2013

If you sum up C, C++ and Objective-C, you'll get 37%. It's 6 times higher than PHP, for instance. The extinction of the C/C++ language family is quite out of the question.

Here's the answer to the question why it's C/C++ that we prefer to support in PVS-Studio: because these are the most popular languages nowadays. Besides, they are complex, tricky and much error-prone. It's just a paradise where static code analyzers can thrive.

Note. Don't take it as a criticism of the C or C++ language. It's just the price we have to pay for the flexibility of these language and the capability of getting fast optimized code they generate.

Once again I would like to touch upon the wrong belief that C/C++ is now used only in old projects or microcontrollers. No, many contemporary and popular applications are being written in this language. For instance, such is Chromium - you can't say it's an ancient project by any means.

Here is a list of popular applications written in C++: C++ Applications.

To finish the article, I would like to give you one more link to a discussion: Why is C++ still a very popular language in quantitative finance?
Tags: C++, cplusplus, cpp
0
Andrey2008 6 february 2013, 7:41

Surely, you paid attention to the computer using which the young John Connor hacked PIN-code to the ATM and the access code to the lab in Terminator 2. This computer was the Atari Portfolio. When the movie was showing in theaters in 1991, it seemed beyond the fiction. I was lucky to find it, and I want to share with you its features.
image
0
Killer 4 february 2013, 13:02

These days it is almost impossible to find a clear and understandable description. Honestly, this is my first article (hopefully not the last one). I will give you an example of top 5 3D printed models.
The main part of the list is taken from the official blog post of Stratasys Ltd, (in the past it was Objet. Two companies merged into one), but this is not the point. The purpose of my post to show the capabilities of three-dimensional printing.
0
KlauS 31 january 2013, 20:25

imageA few days ago, the earliest Half-Life 2 version was released in the network for the media. Obviously, this version has not been finished yet, as the main game’s character is not known to the whole world of players a theorist physicist, who wears glasses and a protective suit and holds in his hand a crowbar, but bearded dwarf Ivan, a space biker, who is opposing against the staff of the research center. 15 years ago, the disk contents was reserved exclusively for members of the regular publishers.
0
Papay 28 january 2013, 13:14

Surprisingly, there is not any information on this bright event in Runet, but I'm going to fix it. It is no joke, but a first year student of the Berlin’s Mediadesign Hochschule, due to its short animated movie called R`ha got a contract in Hollywood!
image
0
xially 21 january 2013, 13:08

According to my red-planet interests, I often find unusual pictures of Mars or illustrated scientific facts about this planet. Some of them are so awesome that I want to run out into the street and show them to all passersby. However, I am not sure if people will understand me on the street, but here, I hope readers will appreciate the amazing details about our neighbor in the Solar System.
image
0
ZimerMan 15 january 2013, 14:33
Robotron January 13, 2013, 10:26
Maybe

"The process of taking a well-designed piece of code and, through a series of small, reversible changes, making it completely unmaintainable by anyone except yourself. "

should be called "refuctoring"

After I have read another smartphone review that started with words "definite leader in its screen size of 4.6 inches", I could not resist writing this post.
I am totally confused, watching the current trend of new products:

• Huge screen!!!
• More than 320 dots per inch!!!
• Quad-core processor!!!
• Separate GPU!!!
• 12000000-pixel camera!!!
• 4G/LTE/WiFi n-standard!!!
• GPS / A-GPS / NFC / Bluetooth!!!
• Only for 600 euros!!!

Where are innovations in the batteries?
0
Pirat 11 january 2013, 22:21

Today I want to offer to umumble lovers this small set of applications that are intended to increase productivity while working with the frontend. If you will not find your favorite app here, then you are very welcome to make some comments!

Form Builder
image
This beautiful form builder helps you to create the most marvelous CSS login boxes and other input items in very short time. Besides the forms on the website of this project, you can create other equally beautiful CSS elements including buttons and ribbons.
0
Sparks 8 january 2013, 14:26

image
The largest flag collection has 2400 icons are available in these sizes: 16 × 16, 24 × 24, 32 × 32, 48 × 48, and 64 × 64. There are national flags of all countries including these bonuses: England, Abkhazia, Nagorno-Karabakh, the Red Cross, South Ossetia, Somaliland, the flag of Mars, NATO, and so on.
0
Skull 3 january 2013, 13:04

In live