» Home » problem » Page 1
If a problem X (decision problem) is known to be NP-Complete, and proven to be reduced to problem Y, can you then say problem Y is NP-Complete?
by john in Web Design

If a problem X (decision problem) is known to be NP-Complete, and proven to be reduced to problem Y in polynomialtime, can you then say problem Y is NP-Complete?


My first thought was, no, problem Y needs to be shown that it is in NP. But after further thought, if X is reduced to Y, Y is already considered to be NP-Complete. Now I'm just confused...any help would be appreciated.


C++ code compiles but dies problem (Having a line (queue), a buffer, and if not empty problem)
by Stuka in Development Tools & Services

So I have a class. .h file with some variables like:


struct AudioSample
{
const unsigned char * buffer;
int len;
};
//...
const unsigned char * VideoFrameBuffer;
int VideoFrameLen;
std::queue<AudioSample> AudioSamples;
bool sampleSendingFinished;
bool frameSendingFinished;

Algorithm that is a combination of the continuous knapsack problem and the variable size bin packing problem
by Lithuania in Programming Languages

I'm trying to solve a problem (in php, but programming language doesn't matter).
I'm having a n number of persons that have paid money, and I have got a m number of persons that are going to pay the same amount as the sum of what the n number of people have paid.
I want to calculate the shortest route of money transfers between these persons. It is possible to split the payments and p


IE css problem or jquery ui problem? weird cursor while showing custom nested rows
by cjdavis in Development Tools & Services

I hope you can help me on this one.


Here's a simplified version of my row object.
Nothing special: a button, a title, and a content that slides down when the button is pressed.


var row = function(title)
{
this.clear = $('<div/>').css({clear: 'both'});
this.$icon = $('<div/>').addClass('ui-icon ui-icon-carat-1-s');
this.

Problem reading URL with Python. Code opens up any other URL. Possible Header or Cookie problem
by language-agnostic in Network & Servers

Using python urllib or urllib2, for the life of me, I can not read the following URL:
http://celem.michoacan.gob.mx/celem/publica/ficha_informativa_ordenamiento.jsp?p_id_ordenamiento=478


This page reads fine with Firefox or IE. I tried spoofing the User-Agent to simulate Firefox to no avail. This site uses cookies. I also tried using the cookielib module to no avail.


<

Problem running SSIS with ORACLE Data Source problem in Windows 64 bit
by Dave Lievense in Databases

I've managed to connect my SQL Server 2005 in Windows 64 bit server with ORACLE database. (Thanks to Mr. Jeyong Park :http://knol.google.com/k/jeyong-park/accessing-oracle-data-source-from-64bit/3vywlm4f31xae/12)


The problem is :
In SSIS when I used Oracle as a OLE DB Data Source and previewed the data, it works, however, when I run the Package, the OLE DB Data Source task fail


Problem using FBO: Only first pass renders. A possible problem at setting render target back?
by AtenRa in Development Tools & Services

I have a huge problem with using FBO.


I have a multi-pass display using FBOs and multitexturing. Everything seems to work fine until the end of first execution of display.


I set the render target back to screen using glBindFrameBufferEXT(GL_FRAMEBUFFER_EXT, 0) at the end of my display function but the passes after that do not take effect. The screen seems to freeze..


Can non styled HTML elements make any type of problem in document flow or any cross browser problem?
by gqlewis in Web Design

Should we write css to each element or only for those elements which want to give style?


like for example


<div id="first">
<span class="one">
<a href="#">content text</a>
</span>
</div>
<div id="second">
<span class="two">
<a href="#">content text&

CSS problem with list elements in Chrome & Safarie (no problem in Firefox or IE)
by Milander in Development Tools & Services

I'm looking for suggestions for debugging... I'm kind of at a loss right now. If you view this site in Firefox or IE, it will look fine... check it in Safari or Google Chrome and the text contained within the list elements of the sliding panel does not display :(


http://theatricalbellydance.com/home/


Any debug suggestions?


here is my HTML
<div id=

PHP mkdir() and fopen() does not work - permissions problem? umask problem?
by markku in Programming Languages

The following PHP script fails to create the directory. It will also fail to create the file (when the directory already exists).


ini_set('error_reporting', E_ALL);
define('ABSPATH', $_SERVER['DOCUMENT_ROOT']);
echo ABSPATH . '<br /><br />';
$dir_to_make = ABSPATH . '/aaatest';
$file_to_make = ABSPATH . '/aaatest/aaatest.txt';
echo umask() . '

Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .