Something is wrong with this PRNG, it uses a large (65536 bit) pool of bits from which randomness is extracted in sets of 256 bits, what seems to fail is the bit storage feature (ests,sts,lts,elts) ...

Is gdb debugger with command line interface used in industry while developing application software(c++) in unix? If not which IDE will industry usually use while developing application software(c++) ...

By now, most web containers have an annotation variant of their xml configurations for Java EE. I'm guessing this is because it's better to keep things in Java where they can be managed, coded with ...

I have been a programmer for almost 1 year.
As an ADHD adult, naturally I don't have the same strength of attention on ordinary stuffs as my colleagues do.
And I find the catastrophe made by me are ...

So, if I am designing a system as a set of different roles (client, app-server, backend services 1 to n). Each of these roles will have their own logging mechanism. I can aggregate all the logs at one ...

I've inherited a project with a fairly large codebase, and the original developer rarely, if ever, replies to emails. There's a ton of different ways to do some things in it, and I don't know all of ...

I found this little gem waiting for me in the Windows (10/TP) bootmgr located on the first 300+- MB partition.
Can anyone explain to me what it does?
Is there an assembler hidden somewhere?
These all ...

Bugs creeping into code can be minimized, but not entirely eliminated as it is written - programmers are, although many would disagree, only humans.
When we do detect an error in our code, what can ...

gdb implemented support for reverse debugging in 2009 (with gdb 7.0). I never heard about it until 2012. Now I find it extremely useful for certain types of debugging problems. I wished that I heard ...

I am working on a large C++ project. It consists in a server that exposes a REST API, providing a simple and user-friendly interface for a very broad system comprising many other servers. The codebase ...

I was wondering if there are some good ways to encourage people to read error messages when the compilation fails.
People (especially) the junior ones usually ignore the error messages and just ask ...

If we refer to exceptions as bugs, why not just call it a bug in the first place instead of an exception?
If in the code it's called exception and as soon as it occurs it's called a bug. Then why not ...

I have been working on a database project, and I recently received a bug report for the remote execution of some queries.
Usually, you try to find out the actual cause for the bug to occur and then ...

I'm currently learning about unit testing, specifically JUnit (with Java).
Searching the web I see many threads talking about why you should use it, what type of methods you should use it with but I ...

I have a front end single page app deployed on S3. It is minified on production.
It creates error only when it is minified via grunt on production.
I cannot repro the issue in dev.
How do I go about ...

I'm working on a fairly large project that involves 3D drawing, and I want to add some visualizers (for example, to see the bounding boxes of the objects) to make debugging easier. However, I'm having ...

When you arrive in the morning, you find that your software does not work anymore, even though it did when you left yesterday evening.
What do you do? What do you check first? What do you do to stop ...

I have to set up remote debugging for a multi threaded application running on a embedded device. C++ is the language.
I've gotten so far and got the remote debugging working for a simple application, ...

For comparison, for a runtime fatal error, it is often that the cause of the error is way before the error crashes a program.
For a logic error, it doesn't crash a program. It happens when the state ...

We have the following problem: at the end of the iteration we give our Android app to our customers to test.
Our customers report bugs that are not reproducible on our test devices.
How can we deal ...

The question is how to cope with absence of variable declaration in Python, PHP, and the like.
In most languages there is a way to let the compiler know whether I introduce a new variable or refer to ...

I'm writing a PDE solver, and I have a bug that only shows up in very large test cases. That is, with small grids the program gives correct answers, but there's a large amount of unaccounted-for error ...

As my current Java projects grow bigger and bigger, I feel a likewise growing need to insert debug output in several points of my code.
To enable or disable this feature appropriately, depending on ...

I work for a software product company. We have large enterprise customers who implement our product and we provide support to them. For example, if there is a defect, we provide patches, etc. In other ...

Many years ago when debugging real time systems (such as the ones used in telephone switches) we had to use logic analyzers (which read execution straight from the CPU) or emulators (which physically ...

I'm not even sure how to define this difficulty. It reminds me of the test a couple of prospective employees did on me before I got a job. They would pick an object in the room and then I'd be allowed ...