All Questions
0
votes
0answers
2 views
Parse value to None in ndb custom property
I have a custom ndb property subclass which should parse an empty string to None. When I return None in the _validate function, the None value is ignored and the empty string is still used.
Can I ...
0
votes
0answers
2 views
Why some rdf files does not contain <rdf:Description rdf:about=…>?
I'm using Jena to write a rdf file that describes online posts. According to the sioc ontology/namespace that I'm using there is, for instance, the following:
Class: sioc:Post
Property: ...
0
votes
0answers
2 views
Coding Standards for Gremlin/Cypher
*Hi All,
We are in the process of developing a review tool for Gremlin/Cypher as we predominently work with Neo4j graph databases in our project to reduce the manual review effort and also deliver ...
0
votes
0answers
3 views
X-PHP-Response-Code Headers
I saw this header(X-PHP-Response-Code) here in this SO answer and was wondering.
What is the function and are there any other X-PHP-* headers?
If there are what is their function and usage (as much ...
-1
votes
0answers
5 views
tips for file upload php
Can you tell me a couple of tips when uploading files, here is my code.
Why some images can not be displayed in a browser?
And can someone tell me something about torrent upload?
Whether to set the ...
0
votes
0answers
4 views
Cannot enqueue array value
I create a Queue that include two dimentional array, the size of every element of that array is 2. Exception occurs when i enqueue 2-size array in the queue. The following is my code, please help me ...
0
votes
0answers
4 views
Captcha generated text not being matched with text entered for validation in textbox
I have a registration JSP for for user which has to be submitted once captcha image content is validated with content entered in corresponding text field. Captcha is coming as image response from a ...
0
votes
0answers
7 views
dynamically added widgets inaccessable in Qt
I have a subclassed QToolButton(in a toolbar added to mainwindow with addToolBar() ) that works as a "drag and drop button" dragging subclassed QTextEdits on the central Widget of a QMainWindow which ...
0
votes
0answers
2 views
Windows Azure The remote server returned an error: (404) Not Found
I'm following this tutorial which is about Table Storage Service. I'm using the emulator version of the tutorial which you can find at point 5 of paragraph "Configuring your connection string when ...
1
vote
0answers
4 views
When I declare Random inside my loop in C#, it gives me nonrandom numbers - declaring it outside my loop gives me random numbers. Why?
I'm creating a deck of cards. When I try to shuffle, I am getting some weirdness.
The constructor before calling my program goes through the following loop (pseudo code,inclusive)-
for i in (0,13):
...
0
votes
0answers
2 views
Need to update stock of item directly into sql table
In my project there is a mistake in current stock, so I have to write a query for directly update the current stock for all items based on sales and purchase.
my tables are...
item stock table
itemid ...
0
votes
0answers
5 views
memorystream out of memory( “out of memory” exception )
[System.Runtime.InteropServices.DllImport("gdi32.dll")]
public static extern bool DeleteObject(IntPtr handle);
using (var bitmap = new Bitmap((int)(PixelSize.Width), ...
0
votes
0answers
3 views
Create Nested Drag and Drop divs with jquery-ui
I want to create a nested div with jquery-ui drag and drop plugin.
I create something like this but its not work for child1 and child2.
Fiddle Link
My code is like this:
$(function () {
...
0
votes
0answers
2 views
Install python-numpy in the Virtualenv environment
I would like to install the python-numpy in the Virtualenv environment. My system is Ubuntu 12.04, and my python is 2.7.5. First I installed the Virtualenv by
$ sudo apt-get install ...
0
votes
0answers
3 views
Does request_terminate_timeout overwrite max_execution_time?
Does the request_terminate_timeout in the PHP-FPM Pool Definitions overwrite the max_execution_time in php.ini file?