bugs

Really new to XCode. Why won't the thing run?

Hi, I'm trying to follow the April 2009 and Winter 2010 Stanford iPhone app development videos and I'm running up against the same problems with both. First, they don't appear to be using the latest version of XCode - the Outlets and Actions panels are in a different window and there is little info on the net about this (other than one...

pls give reason why this java program always comes to the else part

public class Test { public static void main(String[] args){ if (5.0 > 5) // (5.0<5) for both case it is going to else System.out.println("5.0 is greater than 5"); else System.out.println("else part always comes here"); /*another sample*/ i...

Export Native library to external Package in Eclipse not working. is it a Bug?

I was about to report a but to Eclipse, but I was thinking to give this a chance here first: If I add an external package, the application cannot find the referenced native library, except in the case specified at the below: If my workspace consists of a single project, and I import an external package 'EX_package.jar' from a folder ou...

arrayListOutOfBoundsException... Please Help?

This is my class Debugger. Can anyone try and run it and see whens wrong? Ive spent hours on it already. :( public class Debugger { private String codeToDebug = ""; public Debugger(String code) { codeToDebug = code; } /** * This method itterates over a css file and adds all the properties to an arraylist */ public void searchDu...

Javascript style variables with "-" in their name aren't able to be changed?

Okay, so this bug has cost me quite a bit of time and embarrassment. It seems that any style variable with a - in it's name can't be modified by javascript. As seen here: <!DOCTYPE html> <html lang="en"> <head> <title>Class Test</title> <meta charset="utf-8" /> <style> body { text-align: center; ...

MediaWiki: workaround for watchlist restricted to 7 days?

I'm running MediaWiki 1.13.2. When I go to my watchlist, I'm limited to only viewing the last 7 days (though MediaWiki should permit me to view the last 30 days). I've tried: Clicking the all button Changing the URL Changing the settings under MY PREFERENCES->WATCHLIST. When I save (e.g. 30 days) it resets back to 7 days! Googling fo...

itext issue: IE7 showing 404 sorry page title in the tab

hi guys, I am trying to figure out why I'm getting this tab title in IE7. The tab says "We're sorry/(french equivalent)" which is basically our 404 not found page title. The pdf is generated fine and the response status is 200, why is it still redirecting to the 404? The weird thing is its only happening to my machine, my coworker is ...

Virtual functions should not be used excessively - Why ?

I just read that we should not use virtual function excessively. People felt that less virtual functions tends to have fewer bugs and reduces maintenance. I'm not able to get what kind of bugs and disadvantages can appear due to virtual functions. EDIT : One reason I can think of is virtual function may be slow than normal function due...

Is this mingw bug ?

Hi, I have been trying to execute this program on my migw ,through code::blocks, #include <string.h> #include <math.h> #include <stdio.h> #define N 100 int p[N]; int pr[N]; int cnt; void sieve() { int i,j; for(i=0;i<N;i++) pr[i]=1; pr[0]=pr[1]=0; for(i=2;i<N;i++) if(pr[i]) { p[cnt]=i; cnt++; ...

ASP.NET - Trailing Slash and Tilde

I've found what seems like a bizarre problem with IIS 6.0 and .NET 3.5. I always use the tilde for all URLs (eg: ~/mypage.aspx) so if I go to mydomain.com/mypage.aspx, everything works fine. If, however, I add a trailing slash and go to mydomain.com/mypage.aspx/, all links on the page which use the tilde get rendered as mydomain.com/mypa...

After June 16 Flash update, sifr doesn't work in chrome.

Text is being replaced just fine in firefox. And it WAS working in chrome just last night. I come in this morning and its broken in chrome only. Anyone else having similar trouble? Or know of a fix? ...

java swing : JTable strange behavior from getAccessibleChild() method resulting in null pointer in client code

Hello, I've encountered a strange behavior from JTable (JDK 1.5_22): After a selection change in the table and under some unknown particular circumstances, the JTable will call the cell renderer with 'null' for the value parameter. This will eventually lead to a nice 'Null Pointer Exception' on a custom renderer code that is not ready f...

jQuery works in FF but not in Safari

I have some event handlers that work in FF and not in Safari. Simply put, I have a list of friends, some hard-coded, some pulled in from a database. Clicking on a buddy opens a chat window... this is much like the Facebook chat system. So in Firefox, everything works normally and as expected. In Safari, clicking on buddies that are har...

Weird bug , PHP code get prints in browser screen instead execution .

I am making some code , But it is so strange that code just get prints on screen , I am not able to find any reason of it. Please help me out of this, rest of the code is working fine. Thanks ...

Why do I get a TypeInitializationException when calling HtmlHelper.AntiForgeryToken?

Preamble I've searched to see if I can find this question anywhere on here and I can't. I previously asked on meta if it would be valid to report the bug on SO. The consensus was that I should report the bug at the source and if I was feeling community minded, perhaps to ask and answer the question on SO so that other people might com...

Menu appears/disappears randomly in IE7

Stumped...my menu shows up about 25% of the time in IE7. It appears to be a stacking issue: I can see the menu at first but once the header image and the rest of the page loads, it disappears. I've tried setting the z-index in both the menu and its parent elements, but nothing's working... Here's the site: http://www.hospiceofmissoula...

Funny behavior in firefox hover on div

Problem solved, thanks everybody Here's the problem I have something like this <a href='http://google.com' class="buy_now" > <div class='yada yada' > Go </div> </a> buy_now has background-color on :hover In chrome it works In firefox, while hovering, it keeps flashing / blinking etc Is there anything wrong with my code or this ...

visual studio: unable to delete folder this function is not supported on this system

Appparantly I'm the only one on the Internet experiencing this problem because I can find ZERO other reports of anyone else encountering it. Unfortunately I've been dealing with it for months and I don't know what else to do. sometimes when I attempt to delete a folder from visual studio 2010, I get the error "unable to delete folder 'X...

Entity Framework 4 - How work around to use cast with interfaces

How can I use cast in Linq to Entities? I need something like this: if (typeof(myObject) is IMyInterface) { return MyObjectSet.Where(x => ((IMyInterface)x).MyProperty == 1); } If I try above code, I get an exception. It's an expected behavior of EF or it's a bug? ...

Educational example to show that sometimes printf as debugging may hide a bug

Hello all, I remember when I was in some course of C programming, a teacher once suggested to use printf to watch the execution of a program that I was trying to debug. This program had a segmentation fault with a cause that I cannot remember at the moment. I followed his advice and the segmentation fault disappeared. Fortunately, a cle...