bugs

Bug Metrics -- What can I get from my Bug Database?

As part of a internal research project, we are trying to collect some metrics from a Bugzilla database; we already have found a tool to help us collect some metrics from it (BugzillaMetrics) but we are now asking ourself what metrics should we collect? Now, that is why I would like to ask you: ** What Kind of Metrics about Bugs do you...

Distributed ProjectManagement/Bug Tracking...

Now that we have DSCMs, are there any Project Management / Bug Tracking tools that are distributed? ...

PHP: call method in the context of each object of the inheritance chain

Look at the following code snippet: <?php class A { function fn() { print 'Context: Class:' . get_class($this) . ' Parent:' . get_parent_class($this) . "\n"; if(get_parent_class($this)) { parent::fn(); } } } class B extends...

Editbox portion of ComboBox gets selected automatically

Hello, I have a small problem that has been annoying me for some hours. In my WinForms (.NET 3.5) application I create some ComboBoxes (DropDownStyle = DropDown) in a TableLayoutPanel at runtime and fill it with strings. The ComboBoxes are configured to resize automatically (Anchor = Left | Right). The problem is that whenever the Com...

Submit form via image

Is there any way that user submits the form using image instead of the form button while the request made is still the POST rather than GET? It seems that submitting form via image will result into the GET request. I do not want to post it in this manner as I will be posting the account credentials . For instance, I want to log in. Any h...

Safari and Chrome: problem editing input 'size' attribute on the fly

Hi, I have the following bit of code to create an automatically resized text input: // setup quick jump input $("#goto").keydown(function(e){ var size = $(this).val().length; // sanity if ( size < 1 ) { size = 1; } $(this).attr("size",size); // if enter then GOTO-> if ( e.keyCode == 13 ) { window.location.href =...

How do I go about building a test plan for our QA department?

We are currently preparing our testing department for a new release of our latest project. We would obviously like them to follow a thorough plan for testing our software and insuring that bugs are passed back to us (the development team) before release. Are there any good tools or methodologies to follow in creating this test plan? ...

Why do I get this error using {1..9} in zsh?

I run the following code zgrep -c compinit /usr/share/man/man{1..9}/zsh* I get zsh: no matches found: /usr/share/man/man2/zsh* This is strange, since the following works echo Masi{1..9}/masi This suggests me that the problem may be a bug in Zsh. Is the above a bug in Zsh for {1..9}? ...

How does OpenID delegation work on the Relying Party? Have the specs changed recently?

Consider this scenario. I have my own website, that I use as my identifier, but I use a third-party OpenID provider (in my case yahoo), as described here, to login on Relying Party (RP) websites such stackoverflow and sourceforge. It seemed to be a wise move: I am not locked in with an OpenID provider, since if/when yahoo will not of...

IE 8 dropping memory pages?

This question is a spin-off/evolution of this question. (That question got marked as resolved because I put a bounty on it and it auto-resolved, but it never really got answered.) The summary is this: we have an ASP.NET site. Sometimes we get errors when the client asks for bizarre urls. From the resources the client is asking for,...

Perplexing STL bug in Release in Visual Studio.

I have what I'm pretty sure is a bug in the optimizer in Visual studio 2005. The problem is with an STL map. Here's the relevant code: MyMapIterator myIt = m_myMap.find(otherID); if (myIt != m_myMap.end() && myIt->second.userStatus == STATUS_A) { //Prints stuff. No side-effects whatsoever. } else if (myIt != m_myMap.end() && myIt->...

SVN + PROJECT MANAGEMENT + WIKI + TODO LIST

Hi there Let's say I have web hosting account on linux on which i wish to host a svn server with wiki, project management to do lists, bugs, etc. Can you recommend me such a tool(which has all of those - if is possible ) or do I have to put them separately? do you know a good link with tutorial about how to setup those? ...

.Net Round Bug

The Math.Round function for .Net 3.5 SP1 appears to round 0.5 to zero, while it rounds 1.5 to 2.0. I have tested this with decimal numbers, and the following code: decimal pos = 0.5m; decimal neg = -0.5m; Console.WriteLine("Pos: {0} Rnd: {1}", pos, Math.Round(pos)); Console.WriteLine("Neg: {0} Rnd: {1}", neg, Math.Round(neg)); Console...

Javascript breaking Firefox?

About 5 times over the past 6 months, in complex javascripts, I'll get an error in firefox only (IE6, 7, 8, Chrome, Safari, Opera are all fine) whereby nothing in my javascript happens. There will be no messages in the error console, and according to Firebug, all my scripts are totally blank. Force reloading and clearing the cache does ...

Workaround for drawing bug when Overlaying a <div> over an <iframe> in Safari?

I'm getting a very weird drawing bug in Safari, and i would like to see if there's any workaround I could take... I'm currently displaying a <div> (absolutely positioned, high z-index) on top of an IFrame that displays contents from other sites. Just for context, the <div> is a toolbar we show over other sites. This works well in all b...

Delphi: TOleControl puts ActiveControl in wrong state?

In Mike Lischke's now defunct Virtual Treeview, there was workaround code added to fix a bug when using a TWebBrowser control on the same form. The problem was that if the user tries to interact with a TOleControl (from which TWebBrowser descends), the first mouse click is eaten. They have to then click again to give the control focus....

IE8 hangs when more than 4 async XmlHttpRequests are triggered concurrently

for (var i = 0; i < 5; ++i) { var xhr; if (window.XMLHttpRequest) { xhr = new XMLHttpRequest(); } else if (window.ActiveXObject) { xhr = new ActiveXObject("Msxml2.XMLHTTP"); } xhr.open('GET', '/Test/LongOperation?p=' + new Date()); xhr.send(''); } This is only a demo (not live code) but it illustrates the core probl...

php code disappearance bug

<? class AccountModel { public $form = array ( 'email' => 'email', 'password' => array ( 'alphaNumeric' => array ( 'on' => 'create', 'required' => false, 'error' => 'Alphabets and numbers only' ), 'alphaNumeric' => array ( 'on' => 'update', 'required' => false, 'e...

Numbers Comparison - Python Bug?

Hello, Deep inside my code, in a nested if inside a nested for inside a class method, I'm comparing a certain index value to the length of a certain list, to validate I can access that index. The code looks something like that: if t.index_value < len(work_list): ... do stuff ... else: ... print some error ... For clarificati...

Why is this C function crashing at fclose?

Hi guys! Please help me understand why this function throws an exception when it reaches fclose : void receive_file(int socket, char *save_to, int file_size) { FILE *handle = fopen(save_to,"wb"); if(handle != NULL) { int SIZE = 1024; char buffer[SIZE]; memset(buffer,0,SIZE); int read_so_far = 0; int re...