headache

how to search xcode doc set

here's another really stupid question. XCode has a Developer Documentation window. There are sections dedicated to sorting the results of a language reference search. There's no search bar. No button that says "Search for:". No magnifying glass. What am I looking for??? Google doesn't understand my question, and I thought I'd ask you ...

struts.xml cant find action or result

New to struts Here is the error: Jul 30 14:42:04 ERROR http-8080-Processor18 Dispatcher.serviceAction:512 - Could not find action or result No result defined for action com.domain.location.action.LocationAction and result input - action - file:/opt/apache-tomcat-5.5.20/webapps/location/WEB-INF/classes/struts.xml:1203:37 Here is my jsp...

ASP.Net AJAX - Any end-to-end examples of writing a WebControl?

I'm trying to write an AJAX enabled WebControl. This is my first AJAX control and apart from the usual use of UpdatePanels and ScriptManagers, I've not got a lot of experience in the other angles and use of AJAX. I've found a number of examples and projects that claim to be AJAX enabled control's, although they all seem to be missing th...

Figuring out how to use hover function in jquery to highlight one cell only

Hello, I have this table. I want to change the color of a cell, from black to red, when i move over that cell, I'm using the .hover method, and i'm having trouble figuring out how to make work accordingly to what i need. <html> <head> <script type="text/javascript" src="jquery-1.4.js"></script> <script> $board = $('#bo...

Working with foreign keys - cannot insert

Hi everyone! Doing my first tryouts with foreign keys in a mySQL database and are trying to do a insert, that fails for this reason: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails Does this mean that foreign keys restrict INSERTS as well as DELETES and/or UPDATES on each table that...

MySQL & PHP Use of Undefined Constant

Alright, PHP is throwing this error (only in the logs): Error PHP Notice: Use of undefined constant department - assumed 'department' (line 5) PHP Notice: Use of undefined constant name - assumed 'name' (line 6) PHP Notice: Use of undefined constant email - assumed 'email' (line 7) PHP Notice: Use of undefined constant message - as...

Problem with Jquery append on hover appending twice?

Okay, so I'm trying to achieve something like you have in the back end of Wordpress where when you hover over a row in the the table of posts, it displays the edit, trash and preview links. However, when I try this, it appends the links twice which is a bit of a problem. I read that the hover fires functions off twice on hover in chrom...

Render to texture still rendering to screen in OpenGLES

Hello there. I'm trying to get a bunch of stuff done in OpenGLES, but here's where I'm starting - drawing stuff to a texture, then displaying that texture. I create some buffers: glGenFramebuffersOES(1, &frameBuffer); glGenRenderbuffersOES(1, &colorRenderbuffer); glBindFramebufferOES(GL_FRAMEBUFFER_OES, frameBuffer); And then I set ...

What was the most complicated bug(to resolve) in your life?

Right now I'm resolving one single bug with user rights and the resolution lasts two weeks. It's just awful. I think it's the most complicated bug I've ever seen so far. What about you? ...

Choosing the most suitable integer size/range to use for variables

stdint.h in C99 provides many options for integer sizes, types and ranges - so many I don't know what ones to choose! I know how to use size_t and ptrdiff_t when appropriate, and I use fixed size types for storage and transmission. My question concerns values that will only be stored in memory of the host machine. For example, a struct...

PHP Require Recursion (...or the lack thereof)

Alright, I'm having an issue, as many other people are seeming to have, without fix. The issue is, when I try to use require or require_once, it will work fine if the file to be required is in the same subdirectory, but the moment it sees a file outside of their subdirectory, it quits. Here is basically what the file tree looks like: mai...