I do not know why I may need it, but suddenly I wanted to have two mouse pointers in Linux, after all I already have two mice, one is a wireless mouse and the other is a touchpad one. The idea came at a time when I hooked up a second mouse, namely, a third cursor control device.

I want each mouse to get a cursor, but how do I get it?

Let's see what xinput will tell us:

max 23:20:19 ~ $ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)]
⎜ ↳ Genius 2.4G Wireless Mouse id=12 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=14 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Villem id=9 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
↳ HP WMI hotkeys id=15 [slave keyboard (3)]
Tags: linux, xorg
0
Pirat 30 march 2014, 21:03

Today nobody has time to travel a mile and learn things from menders. Now it’s the time of self learning. Buy books from market or download it from Google or some ebook selling sites. If you don’t understand anything from ebook or hard copy, then you have option to search videos from internet. So it will be easy now to understand things online with example weather its programming, marketing strategy, new technology invention or even movie or advertisement making.

YouTube has largest database of videos on various topics. Then also there are several users who are in search of YouTube options. The reasons is that YouTube is banned in some country for violating rules and what happen if you want to promote your product videos or business videos. It is become necessary to promote your products in targeted audience. Now, here we try to present you some websites, which is same like YouTube. These sites will allow you to upload and share videos among great audience to target.
+2
SteveFort 2 november 2013, 16:09

Just recently I've checked the VirtualDub project with PVS-Studio. This was a random choice. You see, I believe that it is very important to regularly check and re-check various projects to show users that the PVS-Studio analyzer is evolving, and which project you run it on doesn't matter that much - bugs can be found everywhere. We already checked the VirtualDub project in 2011, but we found almost nothing of interest then. So, I decided to take a look at it now, 2 years later.

PVS-Studio and VirtualDubI downloaded the archive VirtualDub-1.10.3-src.7z from the VirtualDub website. Analysis was performed by PVS-Studio 5.10. It took me just about one hour, so don't be strict with me. I surely must have missed something or, on the contrary, taken correct code fragments for incorrect ones. If you develop and maintain the VirtualDub project, please don't rely on my report - check it yourselves. We always help the open-source community and will grant you a registration key.

I'm also asking Avery Lee to get me right. Last time his reaction to my mentioning VirtualDub in one of the articles was pretty negative. I never mean to say about any program that it's buggy. Software errors can be found in every program. My goal is to show how useful the static code analysis technology can be. At the same time, it will help to make open-source projects a bit more reliable. And that's wonderful.
0
Andrey2008 21 october 2013, 7:57

I'm currently experiencing a strong cognitive dissonance, and it won't let me go. You see, I visit various programmers' forums and see topics where people discuss noble ideas about how to write super-reliable classes; somebody tells he has his project built with the switches -Wall -Wextra -pedantic -Weffc++, and so on. But, God, where are all these scientific and technological achievements? Why do I come across most silly mistakes again and again? Perhaps something is wrong with me?

0
Andrey2008 3 october 2013, 10:29

Abstract


About a year ago we published in our blog a series of articles on development of Visual Studio plugins in C#. We have recently revised those materials and added new sections and now invite you to have a look at the updated version of the manual.

Creating extension packages (plug-ins) for Microsoft Visual Studio IDE appears as quite an easy task at the first sight. There exist an excellent MSDN documentation, as well as various articles, examples and a lot of other additional sources on this topic. But, at the same time, it could also appear as a difficult task when an unexpected behavior is encountered along the way. Although it can be said that such issues are quite common to any programming task, the subject of IDE plug-in development is still not thoroughly covered at this moment.
0
Andrey2008 12 september 2013, 5:45

Calculator
In this article I'm going to discuss a problem few people think of. Computer simulation of various processes becomes more and more widespread. This technology is wonderful because it allows us to save time and materials which would be otherwise spent on senseless chemical, biological, physical and other kinds of experiments. A computer simulation model of a wing section flow may help significantly reduce the number of prototypes to be tested in a real wind tunnel. Numerical experiments are given more and more trust nowadays. However, dazzled by the triumph of computer simulation, nobody notices the problem of software complexity growth behind it. People treat computer and computer programs just as a means to obtain necessary results. I'm worried that very few know and care about the fact that software size growth leads to a non-linear growth of the number of software bugs. It's dangerous to exploit a computer treating it just as a big calculator. So, that's what I think - I need to share this idea with other people.
0
Andrey2008 9 september 2013, 11:46

Grounded Pointers

Not so long ago one of our colleagues left the team and joined one company developing software for embedded systems. There is nothing extraordinary about it: in every firm people come and go, all the time. Their choice is determined by bonuses offered, the convenience aspect, and personal preferences. What we find interesting is quite another thing. Our ex-colleague is sincerely worried about the quality of the code he deals with in his new job. And that has resulted in us writing a joint article. You see, once you have figured out what static analysis is all about, you just don't feel like settling for "simply programming".

0
Andrey2008 2 september 2013, 11:23

Boost, PVS-Studio

We thought of checking the Boost library long ago but were not sure if we would collect enough results to write an article. However, the wish remained. We tried to do that twice but gave up each time because we didn't know how to replace a compiler call with a PVS-Studio.exe call. Now we've got us new arms, and the third attempt has been successful. So, are there any bugs to be found in Boost?

0
Andrey2008 23 august 2013, 8:30

image

Recently, I have read some article where was a discussion about multiple use of cryptographically strong hash for a password. That discussion has pushed me to a math topic. The essence of the problem arises from the idea of multiple (1,000 or more times) password processing before storing by any cryptographically strong algorithm (typically, it is a hash function) in order to get a slow algorithm of verification that effectively resists brute force in case of interception or theft of this value by an intruder . This idea is not new, and it is used by the developers of Cisco, RAR and many others. But, as far as hashing is an operation that compresses many values, there is a logical question - don’t we damage the resistance of system? I will try to answer this question.
+2
Pirat 13 march 2012, 15:50

Many people probably know that the latest stable version of Firefox got its own web inspector. Its release was a matter of time, it is potentially very interesting, but now it's not specifically about it. In the 11th version of the browser this inspector will receive an interesting upgrade 3D DOM Inspector. This mode previously could be seen by installing Tilt 3D add-ons. In brief, this thing can visualize the components of the website and view them from different angles, it looks like this:
image
+3
Papay 8 march 2012, 16:09
1 2 3 4