bugs

WPF Drag n drop doesn't fire CommanBinding.CanExecute

Yes, I know it sounds weird, but it doesn't, the question is why, and if there's a work around. It works with everything, even when you hit PrintScreen or Pause keys, CanExecute fires. So after doing a drag drop, in order to make it fire, you have to do "something" else, like a mouse click, focus, hit a key, anything. That'll make the ev...

Mvc.FormatDescription error in ASP.NET

Hi there, I'm testing the security of my application and by injecting some quotes in one of my parameters, the system returns the following error: Invalid token, expected closing quote ' on {busobj:Mvc.FormatDescription('{var:entity=Transactions.Allowance,idValue=069'"}')} I did not successfully find anything that could explain what ...

Why can't I edit the values in my DataGridView, even though its not set to ReadOnly?

I have a DataGridView, which is not set to ReadOnly. None of its columns are set to ReadOnly, and the object it is bound to is not set to ReadOnly. Yet, I can't edit the DataGridView items? The .DataSource property of the DataGridView is set to a ReadOnlyCollection<>, but I can programmatically alter the elements, just not from the UI...

ObjectDataSource reacts to commented-out GridView?

I came across a very strange behavior in asp.net's ObjectDataSource, the description to reproduce is somewhat long, so bear with me while I set the scene. So, imagine a trivial ObjectDataSource/GridView combo in a User Control. The ObjectDataSource calls a method which returns a List of objects, and the GridView shows these objects in...

Paragraph tags in Conflict with Meyer's Reset in IE7?

Working on a rather small, and simple layout, I decided to use Meyer's CSS Reset rules to clear some of the expected discrepancies between browsers. All was working fairly well until I decided to add a few paragraphs into a couple nested divs. Once I placed the paragraph-tags within the second nested div, the background images of both t...

Applet 'blinking', 'flashing' under OSX while scrolling.

Hi, I have the problem that an applet in Safari or FF under OSX 'disappears' for 1-2 sec when scrolling and then fully redraws again. This effect I call 'blinking/flashing' because it looks like it. This usually happens if the applet is bigger then the browser window - so I need to scroll. Is this a general problem with OSX? Is it a k...

Reorganising a development teams as it grows

How do you grow from 6 to 20+ developers and maintain the same productivity? When I started at my company there were only 6 of us doing development. There were no communications issues. Each developer knew the system from top to bottom and was capable of implementing any feature. At the start of each release cycle each feature was estima...

IE loses css styles after table rows are appended with javascript

I have a problem where i am doing an ajax fetch of some table rows which i use to replace a table's body. The problem is that sometimes IE(6/7) decides to forget about all page styles after such an append. (that is to say, it reverts to using styles in css includes at the top of the page, but not styles defined on the page itself) I h...

MATLAB "bug" (or really weird behavior) with structs and empty cell arrays

I have no idea what's going on here. I'm using R2006b. Any chance someone out there with a newer version could test to see if they get the same behavior, before I file a bug report? code: (bug1.m) function bug1 S = struct('nothing',{},'something',{}); add_something(S, 'boing'); % does what I expect add_something(S.something,'t...

What is a standard warranty period for software development?

How long do you warranty your software against bugs, defects, or security issues after final acceptance by the client? I've used a 90 day window for our web development projects in the past, after which it becomes a time and materials billing scenario. I'm curious what others are doing. ...

ZLIB on Windows: gzopen/gzwrite/gzclose produces castrated output file / antivirus at fault?

I've been chasing a very mysterious bug for days now, which seems to revolve around the (ZLIB library); it occurs once every month or so, and only on some specific production environments. Here is what the code does: The program calls gzopen to write to a file X. The program writes data to the file, doing several gzwrite. The program f...

Jquery Multiselect - Trigger event manually?

I'm using the jquery multiselect control from: http://abeautifulsite.net/notebook/62 I need to manually check one of the options via javascript on a specific event. Whenever I try to change the checked attribute, or trigger a click, call the click function explicitely etc., I the checkbox gets checked but the CSS is never changed and t...

Dual-queue producer-consumer in .NET (forcing member variable flush)

I have a thread which produces data in the form of simple object (record). The thread may produce a thousand records for each one that successfully passes a filter and is actually enqueued. Once the object is enqueued it is read-only. I have one lock, which I acquire once the record has passed the filter, and I add the item to the back...

Why doesn't anyone care about this MySQLdb bug? is it a bug?

TL;DR: I've supplied a patch for a bug I found and I've got 0 feedback on it. I'm wondering if it's a bug at all. This is not a rant. Please read this and if you may be affected by it check the fix. I have found and reported this MySQLdb bug some weeks ago (edit: 6 weeks ago), sent a patch, posted it on a couple of ORM's forums, mailed ...

Bizarre bug when trying to use HTTP Caching Headers from PHP

I'm setting what I think are the correct HTTP Headers for caching from PHP and am getting a 500 error on every second request. Can anyone point me in the right direction? The code doing the caching is: <?php header('Content-Type: text/css'); $content = file_get_contents('test.css'); header('Content-Length: '. strlen($content )); $e...

Does anyone know of a decent free online bug tracker for web development purposes?

Does anyone know of a decent FREE online bug tracker for web development purposes? ...

jQuery selector bug? composed selector vs. simple selector & find()

Something is very awkward about my situation... i have something like this: <div id="selector"> <input type='radio' /> <input type='radio' /> <input type='radio' /> </div> if I use $("#selector input[type=radio]") all three elements are found, but if I use $("#selector").find("input[type=radio]") or even find("input") only th...

ASP.net MVC DropDownList Pre-Selected item ignored

I am facing a simular problem as outlined in the question "Html.DropDownList in ASP.NET MVC RC (refresh) not pre-selecting item" I'm using ASP.net MVC 1.0 and need to associated a javascript call when the DropDownList is changed. <%=Html.DropDownList("SelectList", (SelectList)ViewData["SelectList"], ...

What's going on with Java's Date class? Is this a known bug?

I know Date is mostly deprecated, but I still use it form time to time (less code than using Calendar). I came across a truly bizarre bug, and I'm wondering if anyone can explain this to me. This code, which adds 24 days to the current time: long nowL = System.currentTimeMillis(); Date now = new Date(nowL); System.out.println("now = "+...

Possible core-data bug: attributes named 'updated' don't work correctly?

I have a Core Data entity called Post. One of it's attributes is called updated and it is a date. The stored XML looks like this: <attribute name="updated" type="date">266164481.00000000000000000000</attribute> From this I concluded that the data is being stored correctly. When I read the data back the returned value is a NSCFNumber, ...