>>> float(1)
1.0
>>> float(1) / 10
0.10000000000000001
>>> 4 + (float(1) / 10)
4.0999999999999996
4 + (float(1) / 10) is expected to be 4.10000000000000001
Is this a kind of bug?
In one web page we use a flash upload control but becouse a flash bug in the upload event the session is lost as its posted back with a new session.
We have tought of using a table with ip and old session id or a query string with the old session id in order to reassing it in the uploaded event...
Knowing the old session id how can i reassign it to the client? (In C#)
Running a (seg)faulty native windows binary from within a cygwin shell leads to restart the binary for several times. Since I want to analyze the bug I activated windbg as the post mortem debugger (yes, as administrator), but somehow cygwin interferes and windbg does not get triggered.
OS: 64bit Windows7 (happened on WindowsXP as well), Cygwin 1.7.x
I'm about to develop my own browser inconsistency/bug compendium site but I'm wondering if I really need to - can we get a wiki of sites that do this already? I'm aware of a lot of them but I hope I'm not missing out on some major ones.
I wanted mine to be more intuitive and social-like for most people, powered by tags and screenshots and test-case pages.
Any tips How to figure out where is memory leak in my Facebook app, its ASPX using Facebook toolkit DLL and I am afraid the bug may be in that CS library.
The problem is that after one week uptime, server is running out of memory and needs to be rebooted, there are quite many users and I cannot run debugger on this "production server", so I would need to simulate somehow use on my local PC.
I am looking for options for an open source C++ front end that I could customize for my requirements. I do not need the back end implementation, just that it would help to find a fast and relatively bug free C++ front end that supports most standard features. Any suggestions?
[I did google, clang seems to be an option but I don't have any experience with llvm]
Arpan
Is this another bug of xdebug?
I've already installed the latest version of xdebug for PHP 5.3 yesterday.
Here is the problem description:
When I press Resume,the Suspend button is grayed out,though there are breakpoints there.
Anyone met this problem?
I have a team developing software in MS Visual Studio and now they want to start using MS Team Foundation Server, mainly for versioning and maybe patch and bug tracking.
They don't have any experience with MS Team Foundation Server, but they are very enthusiastic with MS products.
So whats the best free open source alternative solution? Git, SVN, CVS, Bugzilla, plugins, etc.
I mean, we've all done it, making some changes and the checking them in with messages such "as made some changes" or "fixed a bug." Messages so inane, so pointless, you might as well have written "magical fun bus" in their place (of this, I am guilty), as it would be, perhaps, more descriptive. I ask you then, what is the most pointless, most off topic, strangest, or just WORST commit message you have ever authored?
Object graph
[Instance A]
tree
/ \
/ \
/ \
↓ ↓
[Instance B] [Instance C]
apple bug
Question
Instance A has to reference copies to Instance B and Instance C.
If I retain or release Instance A, which has references to the other two instances, what happens to the various reference counts?
i just went to test a website in firefox 4 (beta 10) and the horizontal menu is showing up vertically.
Here is the website: http://www.fsf60k.org/
In chrome, the menu is horizontal like this:
but in firefox 4 it shows up like this:
I am using the superfish horizontal menu. The examples on the website seems fine in firefox 4.
how would i begin to investigate if this is a bug in firefox 4 or is there something wrong with my horizontal menu code??
Being stuck with a scala 2.9 compiler bug I've decided to try moving to Scala 2.10 RC. As a part of the switch I was trying to install SBT 0.13 snapshot.
The official web page lists a broken link:
http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt//0.13.0-SNAPSHOT/sbt.tgz
There is nothing about 0.13 in the directory, the link gives Error 404.
Any ideas about where to get the file?
I am presenting a UIViewController as a modal viewcontroller with modalPresentationStyle = UIModalPresentationFormSheet. I have few UITextFields on its view.
My issue is that when I try to dismiss the keyboard ([textfieldname resignFirstResponder]), it doesn't do anything. However when I change the modalPresentationStyle to UIModalPresentationPageSheet, it works.
This seems to be a bug. Has any one faced similar problems and found a work around? Could I be doing anything dumb and silly?
test = 'a'
test2 = '@a'.slice(0)
test3 = '@a'[1]
puts test.hash
puts test2.hash
puts test3.hash
Output:
100
64
97
Is this a bug or am I misunderstanding how the hash method works? Is there a way to fix this?
Hi all,
I have an asp.net page that runs certain algorithm and returns it's output. I was wondering what will happen and how to handle a case where the algorithm due to a bug goes into infinite loop. It will hog the cpu and other sessions will be served very slowly.
I would love to have a way to tell IIS, if processing Algo.aspx takes more than 5 seconds, kill it or something like that.
Thanks in advance
I'm having some strange issues with .removeClass() and .addClass() in jQuery.
Specifically it seems that when I use .removeClass() the class is indeed removed, but a single space is left in it's place. then when I .addClass("secondclass") I get class=" secondclass" (with the space in front).
I'm using jQuery 1.4.1
Is this intended behaviour or a bug? How to stop it?
Hello everybody,
JQuery accordion animation (as well as simple hides / shows) looks weird with some browsers (IE, Opera). But Fire Fox and Chrome renders animation perfectly without artifacts.
Html layout tends to shake with IE / Opera during animation as if surrounding paddings / margins are changed for small random value.
How can I minimize this effect.
Is it jquery bug or browsers issue?
We're trailing the use of the built in bug tracking, and have written some integration into our helpdesk software that allows for escalation via workitems.
One thing I haven't found out how to do, is to merge all changes associated with a work item (say to go from dev branch to main) - I appreciate you can double click on a changeset in the merge dialog to view if it is associated with a workitem, and also that I can select individual changesets, and groups of adjacent changesets; but there doesn't appear to be any way to merge changes by workitem?
Is this another bug of xdebug?
I've already installed the latest version of xdebug for PHP 5.3 yesterday.
Introduction of osCommerce is here.
Here is the problem description:
When I press Resume,the page is directly shown,though there are breakpoints there.
Anyone met this problem?
I'm maintaining a PHP library that is responsible for fetching and storing incoming data (POST, GET, command line arguments, etc). I've just fixed a bug that would not allow it to fetch array variables from POST and GET and I'm wondering whether this is also applicable to the part that deals with the command line.
Can you pass an array as a command line argument to PHP?
Hi folks!
When I use call_user_func on a non-static method in PHP 5.2 I get a Strict Warning:
Strict Standards: Non-static method User::register() cannot be called statically
But on PHP 5.3.1 I don't get this warning. Is this a bug in PHP 5.3.1 or is the warning removed?
Hi, looking at a database dump file, and I see many records in various tables with their version number set in values other than 0 (even 94 in one case). I understand it has to do with hibernate locking strategy, but my concern is that today is Sunday, and the site has almost no visitors so is: is this normal ? Or is there a known hibernate bug or even some programming malpractice producing this ?
Thanks in advance.
I've been looking into some bug trackers and Retrospectiva seems like a good tool. However, I am having all sorts of trouble installing it on my machine. I followed the guide on their site (http://retrospectiva.org/tickets/357) but it hasn't helped much and there don't seem to be a lot of users on their site that work with Windows.
I am wondering if any of the SO users have any experience working with Retrospectiva.
I need to find a way of taking a hibernate object and discovering at runtime all of the getter methods that relate to persistable fields. I'm using annotations in the classes but have previously had difficulties working with them (I ran into a 2 year old bug the java developers still haven't fixed).
Does anyone know how I can do this please, ideally without using annotations? Thanks.
PS - What I'm trying to do here is to update a new object with values from an existing object dynamically.