bugs

Java + readLine with BufferedReader

I'm trying to read a line of text from a text file and put each line into a Map so that I can delete duplicate words (e.g. test test) and print out the lines without the duplicate words. I must be doing something wrong though because I basically get just one line as my key, vs each line being read one at a time. Any thoughts? Thanks. ...

SD-App on OSX (or alternative distributed bug tracker with sync to GitHub)

Hi all, I have been working trying to install via CPAN and GIT SD ( http://syncwith.us/sd/ ) on an Intel MBP on OSX. So far it has been a unsuccessful process. My question is has anyone else installed SD under OSX and if so if you have any links to guidance that would be really helpful, so far JFGI has not worked for me. Alternatively...

C# AcroPDF always print on first printer

I got a weird problem. I have a program that (does many things but also) show pdf via axAcroPDF control. In the control, I hide the toolbar because I dont want the user to have access to them, so I made a Print button (the only feature I want them to have access). Now, I went throu the hell to find how to change the default printer beca...

GLSL - Problem of casting and weird bug

Hi, i'm here to get help about a strange behavior of my GLSL code when i cast a float to an int and i never seen such a bug since i started GLSL Actually i'm trying to achieve mesh skinning on CPU with GLSL I use an ATI Radeon HD 4850 (Gainward) and i work with OpenGL 2.1 on Windows XP so on CPU side I gather bones indices and weights...

FireFox overflow bug#550882: (overflow:hidden) to (overflow:visible) with script = no scrollbars!

I ran into a problem recently and found out that this is a bona-fide bug in FireFox 3.6.x. What happens is this: If you set up your page's initial CSS overflow property on the body tag to be: hidden, THEN you change the style value via a script (like javascript) to:visible.... FireFox does NOT render the scrollbars on screen. You can st...

What's your pet peeve or 'favorite' confusing feature in R

Mine from today: qnorm() takes Probabilities and pnorm() takes Quantiles. ...

.NET Deflate Stream Error/Bug

Has anyone experienced the following error while using the .NET Deflate Stream? System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.IO.Compression.HuffmanTree.CreateTable() at System.IO.Compression.Inflater.DecodeDynamicBlockHeader() at System.IO.Compression.Inflater.Decode() at System.IO.Compres...

Setting a fixed height to a block breaks the 100% width

The problem is when I try to set height: 20px to all rows this breaks the natural width: 100% from a block element. This bug only occurs on IE7 (tested on FF, Chrome and IE8). HTML <div id="container"> This must be adjusted to content <div class="row">row 1</div> <div class="row">row 2</div> <div class="row">row 3</div> ...

Bug in Zend_Date (back in time)

I have a very strange problem, Zend_Date is converting my timestamp to a year earlier. In my action: // Timestamp $intTime = 1293922800; // Zend_Date object $objZendDate = new Zend_Date($intTime); // Get date echo date('Y-m-d',$intTime).'<br>'; echo $objZendDate->get('YYYY-MM-dd'); This outputs: 2011-01-02 2010-01-02 Can anyone t...

Cufon: line-height problem

I'm trying to use something like that... .cufon-font-style-1 { font-size:40px; line-height:-20px; } it's not working in IE, FF, Chrome... i changed my Docytype and nothing changed... ...

"Input array is not a valid rank" error message when using CopyPIxels method

[StructLayout(LayoutKind.Sequential)] public struct PixelColor { public byte Blue; public byte Green; public byte Red; public byte Alpha; } public PixelColor[,] GetPixels(BitmapSource source) { if(source.PixelFormat!=PixelFormats.Bgra32) source = new FormatConvertedBitmap(source, PixelFormats.Bgra32, null, 0); int width = source...

networking program crashes

hey guys, i got this code from http://www.evolt.org/node/60276 and modified it to listen for a single "1" coming from the other side but whenever i run this program it stops and python IDLE goes to non-responding on "data1,addr = UDPSock.recvfrom(1024)" def get1(): # Server program, receives 1 if ball found # ff1 is file w/ received da...

What I have minus months in database (mysql), is it the php code?

Hi, Description: I am doing purchasing function, whenever the users make purchases, it will add 1 month privilege to my access special page of my site. I have received some complaints from my users, please read the problem section. Problem: Out of 500 users, there are few users, that for example: make purchase today, but the expirati...

Visual Studio 2010 UI Rendering Issue

Recently I have been having an issue with my installation of Visual Studio 2010. On starting up, the menu items aren't being displayed correctly and are kind of clipping each other. Also, the start up page isn't displayed correctly either. Here is a video of what is happening: http://www.youtube.com/watch?v=DWEIc_TMG_A You can see me...

Strange behavior in Matlab when exporting figure to eps, pdf

When I make a figure in Matlab, with a legend and a rectangle that touches the y axis (strange, I know) upon exporting the figure to eps (or pdf) I've noticed that the rectangle obtains the line-style of the last line drawn (rather than what the rectangle was drawn with) This behaviour also occurs for rectangles drawn after the one tha...

promlem in IE6,DOM element delete

My javascript CODE var TDCount = 3; var i=0; function insertTD(){ var possition=document.getElementById('elmnt_pos').value; if(possition=="") { possition='a'; alert('Enter a number!!!'); } if(isNaN(possition)) { alert('Enter a number!!!');...

Whose Bug Is This - IE or Windows/.NET?

When I run this and then go into the task manager and manually end one of the iexplore instances (there are 2 presumably since IE now also uses multiple processes) I see an error pop-up box that says a tab has been recovered. However, iexplore itself is invisible because of my process settings. Accordingly, I don't think that that pop-...

Code Warranty - clarification

I am working as a consultant doing programming work for a company. I get a flat rate for components in the project (or milestones as we call them). The client recently introduced the idea of 'code warranty' to me. A term which I am unfamiliar with. He states that 'code warranty' is the period where errors/bugs in the code will be fixed ...

Intentionally Buggy Code (Python)

This is a strange request but I'm looking for buggy Python code. I want to learn more about bugs and debuggers and I need some buggy code to work with. Unfortunately, all the code I've written is short and bug-free (so far). Preferably it's not GUI stuff (b/c I'm just starting to learn it) but anything's good. Thanks in advance ...

Have you ever turned a bug into a feature?

Possible Duplicate: Has a bug in your software ever turned out to be a feature ? I found myself interested to read this post about an arithmetic bug which accidentally turned into an AI feature. In the same way, have you ever turned a bug into a feature? ...