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...
Now that we have DSCMs, are there any Project Management / Bug Tracking tools
that are distributed?
...
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...
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...
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...
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 =...
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?
...
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}?
...
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...
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,...
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->...
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?
...
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...
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 ...
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...
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....
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...
<?
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...
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...
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...