PostId
int64
13
11.8M
PostCreationDate
stringlengths
19
19
OwnerUserId
int64
3
1.57M
OwnerCreationDate
stringlengths
10
19
ReputationAtPostCreation
int64
-33
210k
OwnerUndeletedAnswerCountAtPostTime
int64
0
5.77k
Title
stringlengths
10
250
BodyMarkdown
stringlengths
12
30k
Tag1
stringlengths
1
25
Tag2
stringlengths
1
25
Tag3
stringlengths
1
25
Tag4
stringlengths
1
25
Tag5
stringlengths
1
25
PostClosedDate
stringlengths
19
19
OpenStatus
stringclasses
5 values
unified_texts
stringlengths
47
30.1k
OpenStatus_id
int64
0
4
5,465,729
03/28/2011 22:20:10
254,455
10/15/2008 00:17:24
319
22
How do you send e-mail via PHP on a GoDaddy shared host using CodeIgniter?
I am using CodeIgniter on a GoDaddy shared host and I need to send e-mails from a contact form. Following information from CodeIgniter, GoDaddy, and serveral web forums I came up with the following non-working code: This is in config/email.php <?php if ( ! defined('BASEPATH')) exit('No direct script access ...
php
email
codeigniter
godaddy
null
null
open
How do you send e-mail via PHP on a GoDaddy shared host using CodeIgniter? === I am using CodeIgniter on a GoDaddy shared host and I need to send e-mails from a contact form. Following information from CodeIgniter, GoDaddy, and serveral web forums I came up with the following non-working code: This is in config/em...
0
10,896,442
06/05/2012 11:25:54
1,437,190
06/05/2012 11:07:01
1
0
how to make a password protected screen lock android application
i want to develop an android application like any other password protecting screen lock app. i just need to know there basic coding for it or any tutorial that can help me through it. i want to develop it in eclipse. my aim is to develop app like one shown in sherlock tv series. I M ...
android-application
null
null
null
null
06/06/2012 20:59:53
not a real question
how to make a password protected screen lock android application === i want to develop an android application like any other password protecting screen lock app. i just need to know there basic coding for it or any tutorial that can help me through it. i want to develop it in eclipse. my aim is to develop app like ...
1
2,241,603
02/11/2010 01:19:44
5,019
09/07/2008 11:51:36
785
30
What is the best way for a WinForms application to determine exactly which Windows operating system it is running on?
I have a WinForms application that needs to behave in specific ways (specifically shell to a certain installer) based on the operating system on which it is running. I am using the System.OperatingSystem class, and combining the PlatFormID, Major, Minor and Build numbers which gets you most of the way there. Unfo...
c#
winforms
windows
operating-system
null
null
open
What is the best way for a WinForms application to determine exactly which Windows operating system it is running on? === I have a WinForms application that needs to behave in specific ways (specifically shell to a certain installer) based on the operating system on which it is running. I am using the System.Operat...
0
6,950,946
08/05/2011 03:03:31
807,516
06/20/2011 23:02:41
103
5
Spring MVC and Ajax requests in the same controller
I have the following controller setup in Spring 3.0.5 @Controller @RequestMapping (value="myForm") public class SubmitClassController { //Status object with getters and setters Status myStatus= newStatus(); @RequestMapping (method=RequestMethod.GET) ...
java
ajax
spring-mvc
extjs
null
null
open
Spring MVC and Ajax requests in the same controller === I have the following controller setup in Spring 3.0.5 @Controller @RequestMapping (value="myForm") public class SubmitClassController { //Status object with getters and setters Status myStatus= newStatus(...
0
9,075,892
01/31/2012 07:25:40
1,179,414
01/31/2012 03:12:23
7
3
Java voice processing
I now have a demand is, for a given speech file, like TOEFL listening or celebrities such as speech English speech, how to realize the automatic conversion, text, and automatic segmentation, intercept point in time? There is no readily available API calls?
java
null
null
null
null
01/31/2012 08:26:32
not a real question
Java voice processing === I now have a demand is, for a given speech file, like TOEFL listening or celebrities such as speech English speech, how to realize the automatic conversion, text, and automatic segmentation, intercept point in time? There is no readily available API calls?
1
5,801,911
04/27/2011 09:24:37
726,899
04/27/2011 09:17:29
1
0
New bee to Zend framework.
I have a directory(Base) inside my models (models) directory,it holds a class that is extended by a class inside the models(one-level up).When it tries to execute the class inside the models, it cannot find the class it is extending. It throws a fatal error class not found.
include
models
null
null
null
12/24/2011 05:20:50
not a real question
New bee to Zend framework. === I have a directory(Base) inside my models (models) directory,it holds a class that is extended by a class inside the models(one-level up).When it tries to execute the class inside the models, it cannot find the class it is extending. It throws a fatal error class not found.
1
6,843,893
07/27/2011 11:57:29
831,669
07/06/2011 13:27:44
15
1
Birt - OutOfMemoryError: PermGen space
I'm currently developing a tool allowing me to get statistics from anyware simply by going on a website I also created. For those who don't know, Birt is a reporting tool, and an eclipse plugin. My problem is the following : I installed tomcat on the server hosting my website, and installed the Birt ReportEngi...
java
memory
birt
birt-report
null
null
open
Birt - OutOfMemoryError: PermGen space === I'm currently developing a tool allowing me to get statistics from anyware simply by going on a website I also created. For those who don't know, Birt is a reporting tool, and an eclipse plugin. My problem is the following : I installed tomcat on the server hosting m...
0
10,862,994
06/02/2012 14:16:19
1,432,471
06/02/2012 13:40:21
1
0
Subsquare with most different numbers algorithm
I was trying to invent an efficient algorithm for the problem below, but I think I failed. I'm given a board **n** * **n** with different numbers in it and an integer **k** (k <= n) as well. I have to find a square **k** * **k** contained within the board, where the amount of different numbers is the biggest. For thos...
algorithm
rectangle
square
null
null
null
open
Subsquare with most different numbers algorithm === I was trying to invent an efficient algorithm for the problem below, but I think I failed. I'm given a board **n** * **n** with different numbers in it and an integer **k** (k <= n) as well. I have to find a square **k** * **k** contained within the board, where the...
0
7,679,818
10/06/2011 20:01:46
711,514
04/16/2011 20:08:37
8
0
Regex to extract function-name, & it's parameters
I am building an application where the user can specify an expression for some fields. The expression shall contain functions too. I need to evaluate these expressions and display final value in report. I had an expression to extract function-name & it's paramters. Previously, the function parameters were decimal v...
c#
regex
null
null
null
null
open
Regex to extract function-name, & it's parameters === I am building an application where the user can specify an expression for some fields. The expression shall contain functions too. I need to evaluate these expressions and display final value in report. I had an expression to extract function-name & it's paramt...
0
8,144,650
11/15/2011 23:32:26
1,048,606
11/15/2011 23:00:12
1
0
Good idea to start game development using open source java game engines?
Hello I am new to game development and I have followed tutorials where they show you how to make your own animation class and sound class as well as the basics but I was wondering if it would be beneficial if I were to just use an open source java game engine like jMonkey or the Lightweight Java Game Library, instead o...
java
open
engine
development
null
11/16/2011 03:07:08
not constructive
Good idea to start game development using open source java game engines? === Hello I am new to game development and I have followed tutorials where they show you how to make your own animation class and sound class as well as the basics but I was wondering if it would be beneficial if I were to just use an open source...
4
11,351,590
07/05/2012 19:53:20
261,217
01/28/2010 17:58:13
244
17
Round unsigned int up to the multiple of 4 in C++
How would you implement the function `unsigned round_up_to_multiple_of_4(unsigned x)`? Let's assume performance is not an issue, so the shortest code is welcome. My solution is: return x+(4-x%4)%4; 11 bytes between `return` and `;`. I believe one can do better :)
c++
integer
null
null
null
07/05/2012 20:03:47
not constructive
Round unsigned int up to the multiple of 4 in C++ === How would you implement the function `unsigned round_up_to_multiple_of_4(unsigned x)`? Let's assume performance is not an issue, so the shortest code is welcome. My solution is: return x+(4-x%4)%4; 11 bytes between `return` and `;`. I believe one can do b...
4
7,217,061
08/27/2011 20:10:40
796,184
06/13/2011 15:30:53
96
1
Android developers fee without credit card?
I've created an application for android, wich took me several months to complete. I've always been thinking that when it'd be done, I could publish it on Android market. Now I went to the website, and found I had to pay €25, wich I was prepared to do. But then I found out that **I Cannot pay it without a credit card...
android
android-market
publishing
credit-card
market
08/27/2011 20:24:39
off topic
Android developers fee without credit card? === I've created an application for android, wich took me several months to complete. I've always been thinking that when it'd be done, I could publish it on Android market. Now I went to the website, and found I had to pay €25, wich I was prepared to do. But then I found...
2
10,589,768
05/14/2012 19:23:30
401,147
04/16/2010 00:27:33
1,183
5
How to pass method argument to class property?
I am trying to create properties based on the method arguments. For example: class Test{ public function newProperty($prop1,$prop2){ //I want to create $this->argu1 and $this->argu2 after calling newProperty method. } } $test=new Test(); ...
php
oop
function
null
null
null
open
How to pass method argument to class property? === I am trying to create properties based on the method arguments. For example: class Test{ public function newProperty($prop1,$prop2){ //I want to create $this->argu1 and $this->argu2 after calling newProperty method. ...
0
2,062,760
01/14/2010 07:34:39
177,990
09/23/2009 18:11:57
61
0
Calculating displacement moved in Matlab
I need to compare 2 or more images to calculate how much a point shifted in the x and y direction. May I know how do I go about doing this in Matlab? Thanks!
matlab
shift
compare
images
direction
null
open
Calculating displacement moved in Matlab === I need to compare 2 or more images to calculate how much a point shifted in the x and y direction. May I know how do I go about doing this in Matlab? Thanks!
0
5,229,226
03/08/2011 06:43:19
820,710
05/27/2010 05:51:37
1
1
[android]problem in Gson
Hi I want pars like dis data > * next * previous * total * buy_on_site * resource_uri * resource **then in resource** o publisher **then in publisher** + name + resource_uri o book_images + image_url + file_type + name o autho...
json
gson
null
null
null
06/08/2011 19:36:20
not a real question
[android]problem in Gson === Hi I want pars like dis data > * next * previous * total * buy_on_site * resource_uri * resource **then in resource** o publisher **then in publisher** + name + resource_uri o book_images + image_url + file_type ...
1
1,123,274
07/14/2009 03:11:46
71,607
02/26/2009 21:48:53
70
13
How to kill a selector that is set to fire after a delay (on the iPhone)?
If I have a view with a performSelector set to fire after a delay: [self performSelector:@selector(generateBall) withObject:NULL afterDelay:1.5]; ...but I removeFromSuperview that view before the selector fires (for example, due to user interaction), then my app crashes. Is there a way to kill the delayed...
iphone
selectors
null
null
null
null
open
How to kill a selector that is set to fire after a delay (on the iPhone)? === If I have a view with a performSelector set to fire after a delay: [self performSelector:@selector(generateBall) withObject:NULL afterDelay:1.5]; ...but I removeFromSuperview that view before the selector fires (for example, due t...
0
3,670,586
09/08/2010 17:56:13
414,585
08/08/2010 22:25:45
23
0
Java HashMap vs JSONObject
I am wondering about the performance of Java HashMap vs JSONObject. It seems JSONObject stores data internally using HashMap. But JSONObject might have additional overhead compared to HashMap. Does any one know about the performance of Java JSONObject compared to HashMap? Thanks!
java
json
hashmap
null
null
null
open
Java HashMap vs JSONObject === I am wondering about the performance of Java HashMap vs JSONObject. It seems JSONObject stores data internally using HashMap. But JSONObject might have additional overhead compared to HashMap. Does any one know about the performance of Java JSONObject compared to HashMap? Thank...
0
8,846,536
01/13/2012 05:54:38
626,265
02/21/2011 09:09:06
115
5
iAds in iOS app
Here's something odd that I found with my app. My friend, in the same area as I am, downloaded the app and we've been comoaring notes. We spot check to see if the iAds show up for both of us. What I find interesting is that while he get receives multiple ads in 10-15 minutes, I don't get any. I am curious about t...
iad
null
null
null
null
01/13/2012 07:19:04
not a real question
iAds in iOS app === Here's something odd that I found with my app. My friend, in the same area as I am, downloaded the app and we've been comoaring notes. We spot check to see if the iAds show up for both of us. What I find interesting is that while he get receives multiple ads in 10-15 minutes, I don't get any. ...
1
9,620,967
03/08/2012 16:16:49
1,008,103
10/22/2011 03:08:14
161
7
jquery function scope
I'm not understanding function scope here. I have a button when clicked shows a dialog with a textarea. Inside that textarea I populate it with a url that someone can then copy for their camera setup. <button id="axis-details" onclick="apikey('<?php echo $result_cameras[$i]["camera_hash"]; ?>');">API Key</butt...
jquery
html
jquery-ui
null
null
null
open
jquery function scope === I'm not understanding function scope here. I have a button when clicked shows a dialog with a textarea. Inside that textarea I populate it with a url that someone can then copy for their camera setup. <button id="axis-details" onclick="apikey('<?php echo $result_cameras[$i]["camera_h...
0
9,735,688
03/16/2012 10:34:13
1,273,715
03/16/2012 10:00:35
1
0
sqlite see more fields that only the title and detail ... (Many tutorials do not address this)
Hi and thanks in advance for possible answer. i can't find the way out to retrieve more field from db, example **Titolo_corso** and **codices_corso** in **first row** and **all the other in detail windows**. this my statement: **AppDelegate.m** - (BOOL)application:(UIApplication *)application didFinishLa...
ios
sqlite
null
null
null
04/18/2012 15:38:51
too localized
sqlite see more fields that only the title and detail ... (Many tutorials do not address this) === Hi and thanks in advance for possible answer. i can't find the way out to retrieve more field from db, example **Titolo_corso** and **codices_corso** in **first row** and **all the other in detail windows**. this my s...
3
8,917,111
01/18/2012 20:44:00
845,579
07/14/2011 23:37:37
5
2
How can i convert date in grails?
My Grail application' list view has following date format from database: 2012-01-18 14:29:19 EST I am using <g:datePicker name="myDate" value="${new Date().format("dd MM,yyyy")}"/> and in controller:
grails
null
null
null
null
null
open
How can i convert date in grails? === My Grail application' list view has following date format from database: 2012-01-18 14:29:19 EST I am using <g:datePicker name="myDate" value="${new Date().format("dd MM,yyyy")}"/> and in controller:
0
9,180,653
02/07/2012 17:13:07
109,458
05/19/2009 16:08:42
788
43
IsolatedStorageFile.GetLastWriteTime for .NET 3.5
I am trying to see if I can port a .NET 4 project (specifically, [Cassette](http://getcassette.net)) to 3.5. I finished the entire main project but now I'm on the last error and I can't seem to figure out a workaround. Cassette uses Isolated Storage to store asset files and in .NET 4 the related classes have been...
.net-3.5
isolatedstorage
null
null
null
null
open
IsolatedStorageFile.GetLastWriteTime for .NET 3.5 === I am trying to see if I can port a .NET 4 project (specifically, [Cassette](http://getcassette.net)) to 3.5. I finished the entire main project but now I'm on the last error and I can't seem to figure out a workaround. Cassette uses Isolated Storage to store ...
0
7,078,629
08/16/2011 13:05:02
895,603
08/15/2011 20:41:45
1
0
Set default Language Enviroment in Emacs
I am writing a Perl program in GNU emacs without the file extension .pl or .pm. Is there a way I can set the language environment to Perl without having to change the file extension?
perl
emacs
null
null
null
null
open
Set default Language Enviroment in Emacs === I am writing a Perl program in GNU emacs without the file extension .pl or .pm. Is there a way I can set the language environment to Perl without having to change the file extension?
0
11,195,642
06/25/2012 19:03:41
875,317
08/02/2011 19:11:50
1,448
16
What are the gotchas to ClickOnce deployment?
Due to deployment issues (http://stackoverflow.com/questions/11194459/is-windows-afraid-of-its-own-shadow-and-how-can-i-determine-which-ancillary-fil), I'm considering trying a Click Once deployment of my C# app. This is for deploying to a drive/folder on the network to which all users here where I work have access. Ar...
c#
windows
winforms
deployment
clickonce
06/27/2012 19:14:33
not constructive
What are the gotchas to ClickOnce deployment? === Due to deployment issues (http://stackoverflow.com/questions/11194459/is-windows-afraid-of-its-own-shadow-and-how-can-i-determine-which-ancillary-fil), I'm considering trying a Click Once deployment of my C# app. This is for deploying to a drive/folder on the network t...
4
683,489
03/25/2009 21:16:37
50,305
12/30/2008 20:58:06
280
5
Best way to add a string XML snippet into an XML document in c#?
this may have been asked before, but I could not find it. Suppose I have an XML element XMLElement nd = xmlDoc.CreateElement("Node"); Now, I would like to add a child to nd with a full XML snippet I get from some other function, like this: nd.AppendChild("<a1><a2></2></a1>"); What is the best ...
c#
xml
null
null
null
null
open
Best way to add a string XML snippet into an XML document in c#? === this may have been asked before, but I could not find it. Suppose I have an XML element XMLElement nd = xmlDoc.CreateElement("Node"); Now, I would like to add a child to nd with a full XML snippet I get from some other function, like ...
0
11,180,184
06/24/2012 18:39:50
1,446,713
06/09/2012 21:44:27
8
0
Strange Eclipse error: Java.lang.object not found?
I recently opened an Android project back up to find this strange pair of errors: The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project The type java.lang.Object cannot be resolved. It is indirectly r...
java
android
eclipse
null
null
06/26/2012 11:50:52
not a real question
Strange Eclipse error: Java.lang.object not found? === I recently opened an Android project back up to find this strange pair of errors: The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project The type...
1
4,465,799
12/16/2010 22:02:15
316,041
04/14/2010 00:40:06
1,509
146
What is Java equivalent for PHP array with non-numeric keys?
What would be Java equivalent for php array like this: $user = array("name" => "John", "email" => "john@mail.com");
java
php
arrays
null
null
null
open
What is Java equivalent for PHP array with non-numeric keys? === What would be Java equivalent for php array like this: $user = array("name" => "John", "email" => "john@mail.com");
0
11,292,402
07/02/2012 11:05:29
661,866
03/16/2011 05:08:40
6
4
What are the open source scala-based DSL projects out there?
I am currently looking for open source scala projects to work on. Can anyone provide a list of open source scala-based DSL projects out there?
scala
dsl
null
null
null
07/02/2012 12:43:56
off topic
What are the open source scala-based DSL projects out there? === I am currently looking for open source scala projects to work on. Can anyone provide a list of open source scala-based DSL projects out there?
2
2,095,966
01/19/2010 18:27:24
184,920
10/06/2009 11:32:06
8
3
document.getElementsByTagName("*") Or document.all
document.getElementsByTagName("*") It works for IE/FF/Opera, But doesn't work for Chrom and Safari document.all works for IE/Chrom/Safari, But doesn't work for FF. How can I deal with it? Many thanks
cross-browser
firefox
google-chrome
null
null
null
open
document.getElementsByTagName("*") Or document.all === document.getElementsByTagName("*") It works for IE/FF/Opera, But doesn't work for Chrom and Safari document.all works for IE/Chrom/Safari, But doesn't work for FF. How can I deal with it? Many thanks
0
6,281,422
06/08/2011 15:36:13
632,689
02/24/2011 16:25:13
18
0
Clean up Maven dependency management
In a big Maven 2 project it is nice to have the dependency management to make sure that only one version of a dependency is used in the whole system. That makes the system consistent. But when I generate effective POMs I have no chance to see where the dependency versions came from. Likewise in a POM at the top of t...
java
maven
dependencies
pom
null
null
open
Clean up Maven dependency management === In a big Maven 2 project it is nice to have the dependency management to make sure that only one version of a dependency is used in the whole system. That makes the system consistent. But when I generate effective POMs I have no chance to see where the dependency versions ca...
0
9,051,787
01/29/2012 08:01:04
1,129,318
01/04/2012 06:26:11
21
0
The type or namespace name 'KasraDll' could not be found (are you missing a using directive or an assembly reference?)
I have a project that is built in my computer. but when I want create a team build with TFS i am getting this error: > The type or namespace name 'KasraDll' could not be found (are you > missing a using directive or an assembly reference?) sincerely you M.Bagheri
visual-studio-2010
tfs
tfs2010
tfsbuild
null
null
open
The type or namespace name 'KasraDll' could not be found (are you missing a using directive or an assembly reference?) === I have a project that is built in my computer. but when I want create a team build with TFS i am getting this error: > The type or namespace name 'KasraDll' could not be found (are you > missi...
0
941,445
06/02/2009 19:26:57
6,244
09/13/2008 07:26:29
1,072
124
Where is the documentation for writing Magento Extensions?
I have looked and looked on their website, I have tried many google searches, but I can't find a link to documentation on how to write extensions for the Magneto ECommerce software. I want to write a simple payment gateway which I'm more than capable of doing if I could find basic documentation. Any ideas?
php
magento
e-commerce
documentation
null
03/06/2012 23:23:22
too localized
Where is the documentation for writing Magento Extensions? === I have looked and looked on their website, I have tried many google searches, but I can't find a link to documentation on how to write extensions for the Magneto ECommerce software. I want to write a simple payment gateway which I'm more than capable of d...
3
5,265,779
03/10/2011 20:52:19
654,294
03/10/2011 20:52:19
1
0
Thesis and theory
Is a thesis the same thing as a theory and if not what is the difference?
theory
thesis
null
null
null
03/10/2011 20:55:11
off topic
Thesis and theory === Is a thesis the same thing as a theory and if not what is the difference?
2
6,571,997
07/04/2011 13:11:51
827,940
07/04/2011 10:29:43
1
0
Does anyone know what are the benefits of using properties in ECMAScript 5 ?
Does anyone know what are the benefits of using properties in ECMAScript 5 ?
javascript
null
null
null
null
07/04/2011 13:21:57
not constructive
Does anyone know what are the benefits of using properties in ECMAScript 5 ? === Does anyone know what are the benefits of using properties in ECMAScript 5 ?
4
7,728,276
10/11/2011 15:11:31
84,201
03/29/2009 07:46:24
9,140
166
How to set our settings as a default in JSfiddle?
I have an account in jsfiddle.com and I always want to save these setting for default until I change them, for every new fiddle. **And I also want to keep some code in HTML and CSS section** ![enter image description here][1] But new fiddle always use Mootools. ![enter image description here][2] [1]: ht...
javascript
jquery
mootools
null
null
10/11/2011 23:45:07
off topic
How to set our settings as a default in JSfiddle? === I have an account in jsfiddle.com and I always want to save these setting for default until I change them, for every new fiddle. **And I also want to keep some code in HTML and CSS section** ![enter image description here][1] But new fiddle always use Mootool...
2
5,787,652
04/26/2011 08:16:31
723,485
04/25/2011 08:57:54
1
0
how to modify this line ??
i want to add this code <body onload="start();"> <div id="ticker-container" onmouseover="sspeed=0;" onmouseout="sspeed=resumesspeed"> <div id="ticker"></div> </div> want to add to this code <body expr:class='&quot;loading&quot; + data:blog.mobileClass'> <div class='body-fau...
html
div
null
null
null
04/26/2011 11:23:06
not a real question
how to modify this line ?? === i want to add this code <body onload="start();"> <div id="ticker-container" onmouseover="sspeed=0;" onmouseout="sspeed=resumesspeed"> <div id="ticker"></div> </div> want to add to this code <body expr:class='&quot;loading&quot; + data:blog.mobil...
1
9,488,841
02/28/2012 20:01:45
1,179,620
01/31/2012 05:53:38
1
0
Javascript To Paste First X Lines From Clipboard and Copy The Rest Back To Clipboard
I'm using a program called "ClipMenu" that allows you to keep a history of clipboard items and (mess with them) with Javascript. So in my clipboard I have a bunch of lines of text: "Line 1 Line 2 Line 3 Line 4 Line 5 ... Line 1000" My coding skills are super low, and so I'm not close enough to be abl...
javascript
null
null
null
null
02/29/2012 20:18:59
not a real question
Javascript To Paste First X Lines From Clipboard and Copy The Rest Back To Clipboard === I'm using a program called "ClipMenu" that allows you to keep a history of clipboard items and (mess with them) with Javascript. So in my clipboard I have a bunch of lines of text: "Line 1 Line 2 Line 3 Line 4 Line 5 ...
1
6,402,331
06/19/2011 12:24:14
459,943
09/27/2010 21:00:17
54
1
What is the best codes less with many queries or a few queries with many codes
I have two options in PHP programming . What is the best in programming Codes less with many database queries or a few database queries with many codes ?
php
mysql
null
null
null
06/19/2011 12:59:13
not a real question
What is the best codes less with many queries or a few queries with many codes === I have two options in PHP programming . What is the best in programming Codes less with many database queries or a few database queries with many codes ?
1
5,012,136
02/16/2011 03:11:48
618,959
02/16/2011 03:11:48
1
0
euclidean geometry
what are the flaws of the proofs of this example: every point inside a circle,other than the center,lies on its circumference.
failover
null
null
null
null
02/17/2011 08:13:42
off topic
euclidean geometry === what are the flaws of the proofs of this example: every point inside a circle,other than the center,lies on its circumference.
2
2,851,924
05/17/2010 19:01:40
548,862
02/18/2010 19:31:02
13
1
How do I phrase this query in NHibernate with Lambda Extensions?
I'm using NHibernate with Lambda Extensions and I can't figure out how to phrase a specific kind of query. My application lets users tag other users in pictures. So there are Picture objects, and each Picture has one or more Tag objects, and each Tag object has one User object. I'm implementing a search feature. ...
nhibernate
criteria
alias
subquery
null
null
open
How do I phrase this query in NHibernate with Lambda Extensions? === I'm using NHibernate with Lambda Extensions and I can't figure out how to phrase a specific kind of query. My application lets users tag other users in pictures. So there are Picture objects, and each Picture has one or more Tag objects, and each ...
0
7,658,372
10/05/2011 08:05:31
700,530
04/10/2011 03:10:32
1
0
Playing aroung SEO
As a web developer does studying.playing around with SEO improves learning experience and also improves quality of effective design?
design
seo
professional-experience
null
null
10/05/2011 08:43:47
not constructive
Playing aroung SEO === As a web developer does studying.playing around with SEO improves learning experience and also improves quality of effective design?
4
4,588,163
01/03/2011 20:39:40
561,734
01/03/2011 20:39:40
1
0
RDP or VNC in browser
Is anyone aware of good, usable and FREE (for commercial use) in-browser solutions to connect to a Windows server? I can't seem to find any inbrowser RDP. There seems to be some VNC based solutions (Guacamole?, terms unclear) and I can't tell if they're worth a shot.
windows
rdp
vnc
null
null
02/28/2012 22:02:57
not constructive
RDP or VNC in browser === Is anyone aware of good, usable and FREE (for commercial use) in-browser solutions to connect to a Windows server? I can't seem to find any inbrowser RDP. There seems to be some VNC based solutions (Guacamole?, terms unclear) and I can't tell if they're worth a shot.
4
11,098,848
06/19/2012 10:11:14
1,289,999
03/24/2012 13:26:33
6
0
Authenticate user through google login in android app
I want authenticate user in my android app through google login and then dispaly his name and email if he login(authenticate) successfully.
android
google-api
null
null
null
06/20/2012 12:04:00
not a real question
Authenticate user through google login in android app === I want authenticate user in my android app through google login and then dispaly his name and email if he login(authenticate) successfully.
1
4,587,789
01/03/2011 19:52:37
425,275
08/19/2010 13:22:42
4,232
221
Hovering over a drop-down list ends all :hover states in IE
Take a look at this little demo: http://jsfiddle.net/TnzS4/ Open up the SELECT box, and hover its the drop-down list. In Chrome, FF, Safari and Opera, the box is red, which means that the `:hover` state is still active. In IE, the box is gray, which means that the `:hover` state is inactive. Is this an IE b...
html
internet-explorer
null
null
null
null
open
Hovering over a drop-down list ends all :hover states in IE === Take a look at this little demo: http://jsfiddle.net/TnzS4/ Open up the SELECT box, and hover its the drop-down list. In Chrome, FF, Safari and Opera, the box is red, which means that the `:hover` state is still active. In IE, the box is gray, wh...
0
9,788,359
03/20/2012 14:03:43
1,281,071
03/20/2012 13:49:56
1
0
can i use same pointer to call data from different exe file?
I am trying to make two .exe files in c where first one store some data in memory and save data´s pointer to .txt. and second one read pointer from .txt and display them. first one: `fw = fopen("pointer.txt", "w");` `fprintf(fw, "%p", &data);` `fclose(fw);` second one: `fr = fopen("pointer.txt", "r");` `fsca...
c
null
null
null
null
null
open
can i use same pointer to call data from different exe file? === I am trying to make two .exe files in c where first one store some data in memory and save data´s pointer to .txt. and second one read pointer from .txt and display them. first one: `fw = fopen("pointer.txt", "w");` `fprintf(fw, "%p", &data);` `fcl...
0
10,528,781
05/10/2012 06:47:59
1,285,628
03/22/2012 10:19:44
40
1
Display image inbetween the views
I want to display an image between the two views.(i.e)In my app i want to show an image after i logged in to it and before it loads the main page of my app. Is it possible if so were can load the image .
iphone
ios
uiimage
transition
xcode3.2.3
05/10/2012 10:38:09
not a real question
Display image inbetween the views === I want to display an image between the two views.(i.e)In my app i want to show an image after i logged in to it and before it loads the main page of my app. Is it possible if so were can load the image .
1
8,895,340
01/17/2012 13:22:55
593,835
01/28/2011 12:43:34
47
0
comparison of various ML libraries/tools
From last couple of days I am looking for some good ML library and to my surprise I found quite a lot.Initially ,I was interested in only libraries which have the C/C++ support but then not I am expanding my wishlist to include any good library which can have good feature set and and can provide good data mining in lon...
matlab
statistics
machine-learning
data-mining
null
01/18/2012 19:39:55
not constructive
comparison of various ML libraries/tools === From last couple of days I am looking for some good ML library and to my surprise I found quite a lot.Initially ,I was interested in only libraries which have the C/C++ support but then not I am expanding my wishlist to include any good library which can have good feature s...
4
8,554,235
12/18/2011 19:35:04
399,546
07/22/2010 19:45:15
298
10
Rendering to a Texture vs Rendering to CAEAGLLayer-backed view?
I have a very loose grasp of the OpenGL environment, so this is something I'm trying to understand. Could someone explain in lay terms what is the difference between these two styles of rendering? Primarily I would like to understand what it means to render to a texture and when would it be appropriate to choose to do ...
ios
opengl-es
render-to-texture
null
null
null
open
Rendering to a Texture vs Rendering to CAEAGLLayer-backed view? === I have a very loose grasp of the OpenGL environment, so this is something I'm trying to understand. Could someone explain in lay terms what is the difference between these two styles of rendering? Primarily I would like to understand what it means to ...
0
11,686,786
07/27/2012 11:23:34
846,401
07/15/2011 11:58:02
6
0
Pagination issue after delete or update entry CodeIgniter
I ask a question can some one please answer http://codeigniter.com/forums/viewthread/194182/
codeigniter
pagination
paging
null
null
07/27/2012 12:09:46
not a real question
Pagination issue after delete or update entry CodeIgniter === I ask a question can some one please answer http://codeigniter.com/forums/viewthread/194182/
1
5,905,187
05/05/2011 23:24:53
641,246
03/02/2011 13:22:15
8
0
setting array session value inside jquery
I am trying to set session array in jquery which I call inside of javascript function that is called onClick event for link. But it keeps setting me my last choice that I click. This is code I used for setting session array(I wanted to add new element to session array everytime when someone clicks on the link): ...
php
jquery
session
null
null
null
open
setting array session value inside jquery === I am trying to set session array in jquery which I call inside of javascript function that is called onClick event for link. But it keeps setting me my last choice that I click. This is code I used for setting session array(I wanted to add new element to session arra...
0
8,390,435
12/05/2011 19:02:52
949,704
09/16/2011 23:16:31
17
1
Template Toolkit foreach to Smarty
I have a foreach loop in Template Toolkit that I am converting to Smarty, but I am unsure as to what to change it to. [% FOREACH ps IN pack_stats %] <tr> [% FOREACH key IN [ id, domain, username, password, plan, price, renew, status ] %] <td>[% ps.$key %]</td> [% END %] </tr> [% END %] I know that i...
php
smarty
template-toolkit
null
null
null
open
Template Toolkit foreach to Smarty === I have a foreach loop in Template Toolkit that I am converting to Smarty, but I am unsure as to what to change it to. [% FOREACH ps IN pack_stats %] <tr> [% FOREACH key IN [ id, domain, username, password, plan, price, renew, status ] %] <td>[% ps.$key %]</td> [% E...
0
9,805,875
03/21/2012 13:43:59
1,278,850
03/19/2012 14:59:52
4
0
Session menager problems
Looking for some good tutorial that will help me build my SessionMenager for web application with will allow me to use Load/Evict options on my session instance can anyone help me to find one cuz i was looking in web for 5h atlast and no good tutorials...
nhibernate
null
null
null
null
03/21/2012 21:23:28
not a real question
Session menager problems === Looking for some good tutorial that will help me build my SessionMenager for web application with will allow me to use Load/Evict options on my session instance can anyone help me to find one cuz i was looking in web for 5h atlast and no good tutorials...
1
6,517,978
06/29/2011 08:50:30
75,947
03/10/2009 03:17:23
38
2
text editor with the best UI (icons, windows layout)?
For the programmers who write code daily, do you care about the UI of your text editors? I personally dislike the ui of source insight (its UI is very out dated), but it's still a preferred editor. I came to another editor named 010editor some day ago, I found that I like its UI. But unfortunatedly I need some functi...
user-interface
editor
null
null
null
06/29/2011 09:03:51
not constructive
text editor with the best UI (icons, windows layout)? === For the programmers who write code daily, do you care about the UI of your text editors? I personally dislike the ui of source insight (its UI is very out dated), but it's still a preferred editor. I came to another editor named 010editor some day ago, I foun...
4
4,213,618
11/18/2010 10:07:21
414,221
01/05/2010 18:34:32
71
31
Configure Jabber external component to send stanza on behalf of any user
I read somewhere a while ago that one can configure external jabber components (XEP-0114) to send XMPP stanza's on behalf on any user. For instance say i have a component bind to (component.localhost) and i want it to send a message stanza with "from" attribute set to "user@localhost". I am trying to achieve this wi...
xmpp
ejabberd
null
null
null
null
open
Configure Jabber external component to send stanza on behalf of any user === I read somewhere a while ago that one can configure external jabber components (XEP-0114) to send XMPP stanza's on behalf on any user. For instance say i have a component bind to (component.localhost) and i want it to send a message stanza wi...
0
9,007,878
01/25/2012 18:12:26
574,700
01/13/2011 18:27:28
327
20
Is there any advantages storing cURL cookies? And relating questions
I've got a `cURL PHP` script which works. It gets my schedule from my school site. Though there is one strange thing: On my webhost it creates the cookie.txt and on my localhost it doesn't. - Why doesn't it create a cookie on my localhost? Any suggestions? And the questions that follows the latter: - Is the...
php
curl
null
null
null
null
open
Is there any advantages storing cURL cookies? And relating questions === I've got a `cURL PHP` script which works. It gets my schedule from my school site. Though there is one strange thing: On my webhost it creates the cookie.txt and on my localhost it doesn't. - Why doesn't it create a cookie on my localhost? An...
0
10,420,095
05/02/2012 19:07:52
1,370,849
05/02/2012 19:02:47
1
0
Simple JSON parse example wanted in VB.Net
I'm doing my first steps with Newtonsoft Json parser, but there are very fex examples on VB.net apperently. I just want to parse a string, and then I want to be able to loop throught the different list This is my code : Dim JSON As String Dim values As Newtonsoft.Json.Linq.JObject JSON = "{'mailadresses': { ...
json.net
null
null
null
null
null
open
Simple JSON parse example wanted in VB.Net === I'm doing my first steps with Newtonsoft Json parser, but there are very fex examples on VB.net apperently. I just want to parse a string, and then I want to be able to loop throught the different list This is my code : Dim JSON As String Dim values As Newtonsoft...
0
1,301,406
08/19/2009 17:21:11
2,715
08/24/2008 16:57:35
146
19
Books for bringing up a new programmer
I will soon be taking on the role of mentoring a fairly new programmer. I have so far been the lone programmer at a quickly-growing small company. Are there any good resources I can check out that could help me transition into this role?
teaching
books
online-resources
null
null
09/24/2011 14:57:49
not constructive
Books for bringing up a new programmer === I will soon be taking on the role of mentoring a fairly new programmer. I have so far been the lone programmer at a quickly-growing small company. Are there any good resources I can check out that could help me transition into this role?
4
6,909,567
08/02/2011 08:59:59
543,062
12/15/2010 08:07:36
15
0
Does github provide host and blog service?
I often see some blogs or applications has github in its domain name. For example:http://bonsaiden.github.com/JavaScript-Garden/ But I can't find these service on github's homepage. Could you tell me how to set a blog on github? And how to create a Fork Me label on the top-right corner of the page.
github
null
null
null
null
08/02/2011 18:01:38
off topic
Does github provide host and blog service? === I often see some blogs or applications has github in its domain name. For example:http://bonsaiden.github.com/JavaScript-Garden/ But I can't find these service on github's homepage. Could you tell me how to set a blog on github? And how to create a Fork Me label on the to...
2
9,406,920
02/23/2012 03:53:11
567,796
01/08/2011 05:51:30
123
7
Android spinner with date picker, like Google Calendar app
I'm trying to get a text box that looks like a spinner to activate a date picker dialog. This is done in both the Google Calendar app and the Contacts app (for birthdate) on ICS. Do I need to use a spinner, and if so how do I change it's input view to be a date picker? Or if not, how do I get a text view to have the li...
android
ice-cream-sandwich
android-spinner
android-datepicker
null
null
open
Android spinner with date picker, like Google Calendar app === I'm trying to get a text box that looks like a spinner to activate a date picker dialog. This is done in both the Google Calendar app and the Contacts app (for birthdate) on ICS. Do I need to use a spinner, and if so how do I change it's input view to be a...
0
6,090,393
05/22/2011 19:58:44
756,695
05/17/2011 04:05:29
1
0
Can't Access My Service Methods
i'm at my wits end, following the examples on the android devguide to creating a bound service here: [http://developer.android.com/guide/topics/fundamentals/bound-services.html][1] [1]: http://developer.android.com/guide/topics/fundamentals/bound-services.html i created a bound service to play media files howev...
android
null
null
null
null
null
open
Can't Access My Service Methods === i'm at my wits end, following the examples on the android devguide to creating a bound service here: [http://developer.android.com/guide/topics/fundamentals/bound-services.html][1] [1]: http://developer.android.com/guide/topics/fundamentals/bound-services.html i created a bo...
0
1,801,579
11/26/2009 04:46:50
218,997
11/25/2009 22:43:28
9
0
Should I start my new shareware project in C# or Delphi?
I want my code to be as secure as possible.
c#
delphi
security
null
null
11/27/2009 00:35:13
not constructive
Should I start my new shareware project in C# or Delphi? === I want my code to be as secure as possible.
4
8,164,902
11/17/2011 09:34:34
1,047,646
11/15/2011 13:31:54
3
0
Cssparser 0.9.5 is not loading by adding richfaces 4 into Maven project
I added richfaces4 into maven project and deployed it. I got the error message. Loading the cssparser 0.9.5 into jboss is not working. JBoss 6.0.0 JavaEE6 Eclipse Helios Maven3 richfaces 4.0.0 Any idea? Thanks 09:42:55,165 WARN [org.jboss.detailed.classloader.ClassLoaderManager] Unexpected error du...
java
maven
richfaces
null
null
11/17/2011 10:19:11
too localized
Cssparser 0.9.5 is not loading by adding richfaces 4 into Maven project === I added richfaces4 into maven project and deployed it. I got the error message. Loading the cssparser 0.9.5 into jboss is not working. JBoss 6.0.0 JavaEE6 Eclipse Helios Maven3 richfaces 4.0.0 Any idea? Thanks 09:42:55,165 ...
3
9,980,578
04/02/2012 17:00:28
805,365
06/19/2011 13:22:02
29
1
What kind of Web Browser I can use in my program?
I want to use analog of WebBrowser in my program on Windows (it's write on C#). It's must have simple DOM interface and work fast. Additional, It's must have proxy support. Now I am using GeckoFX. It's normal working with my C# application. But, maybe exist better analog of WebBrowser?
c#
.net
webbrowser
geckofx
null
04/02/2012 18:25:23
not a real question
What kind of Web Browser I can use in my program? === I want to use analog of WebBrowser in my program on Windows (it's write on C#). It's must have simple DOM interface and work fast. Additional, It's must have proxy support. Now I am using GeckoFX. It's normal working with my C# application. But, maybe exist bet...
1
11,252,910
06/28/2012 21:08:28
542,377
10/31/2009 00:24:28
476
27
Rails redirect_to https while keeping all parameters
I'm redirecting to https like so: redirect_to :protocol => 'https://', :status => :moved_permanently However, the parameters don't go through like this. I can pass specific parameters through like this: redirect_to :protocol => 'https://', :status => :moved_permanently, :param1 => params[:param1], :par...
ruby-on-rails
parameters
null
null
null
null
open
Rails redirect_to https while keeping all parameters === I'm redirecting to https like so: redirect_to :protocol => 'https://', :status => :moved_permanently However, the parameters don't go through like this. I can pass specific parameters through like this: redirect_to :protocol => 'https://', :stat...
0
1,913,682
12/16/2009 10:18:14
185,593
10/07/2009 12:17:02
322
33
Control PointToClient() vs PointToScreen()
The MSDN does not provide, IMHO, a clear difference between **Control.PointToScreen**([link][1]) and **Control.PointToClient**([link][2]) methods. Is there somebody who could explain in a few simple words what is the difference between these methods. Especially is unclear for me the notion of "Client". Thanks. ...
.net
winforms
null
null
null
null
open
Control PointToClient() vs PointToScreen() === The MSDN does not provide, IMHO, a clear difference between **Control.PointToScreen**([link][1]) and **Control.PointToClient**([link][2]) methods. Is there somebody who could explain in a few simple words what is the difference between these methods. Especially is uncl...
0
903,739
05/24/2009 13:14:04
58,615
01/24/2009 16:21:13
385
12
What are good Linux tool(s) for MySQL administration and profiling?
While Windows releases of MySQL administration and profiling tools seem to be a dime a dozen, I'm having a very hard time finding very many designed for Linux. Note that I'm not looking for monitoring software ala Nagios/Munin here. This would be something more along the lines of a SQLYog. While I could write so...
mysql
linux
software-tools
explain-plan
triggers
null
open
What are good Linux tool(s) for MySQL administration and profiling? === While Windows releases of MySQL administration and profiling tools seem to be a dime a dozen, I'm having a very hard time finding very many designed for Linux. Note that I'm not looking for monitoring software ala Nagios/Munin here. This would...
0
292,348
11/15/2008 09:33:50
15,453
09/17/2008 09:28:01
98
9
VBA tutorial
At work I need to do lot of stuff with MS-Office and I managed to 'write' some scripts that do stuff instead of me. I copy-pasted it, changed some strings maybe.<br> It is very frustrating to just copy paste and not understand how to do it your self, for every simple thing google for something. I am not completly new...
vba
tutorials
msword
msexcel
null
06/23/2012 19:48:57
not a real question
VBA tutorial === At work I need to do lot of stuff with MS-Office and I managed to 'write' some scripts that do stuff instead of me. I copy-pasted it, changed some strings maybe.<br> It is very frustrating to just copy paste and not understand how to do it your self, for every simple thing google for something. I am...
1
741,242
04/12/2009 03:50:58
27,620
10/13/2008 21:04:31
174
5
How does the CGI cookie work in Ruby?
This is the example I keep seeing online as how to set cookies. require "cgi" cookie = CGI::Cookie.new("rubyweb", "CustID=123", "Part=ABC"); cgi = CGI.new("html3") cgi.out( "cookie" => [cookie] ){ cgi.html{ "\nHTML content here" } } I tried doing it this way and it...
ruby
cgi
cookies
null
null
null
open
How does the CGI cookie work in Ruby? === This is the example I keep seeing online as how to set cookies. require "cgi" cookie = CGI::Cookie.new("rubyweb", "CustID=123", "Part=ABC"); cgi = CGI.new("html3") cgi.out( "cookie" => [cookie] ){ cgi.html{ "\nHTML content here" }...
0
2,918,921
05/27/2010 06:21:32
336,413
05/08/2010 22:08:24
48
20
How to handle error on other thread?
I'm trying to handle errors that have occurred on other threads the program is like below: static void Main() { Thread t = new Thread(Start); t.Start(); ... } void Start() { ... Exception here } In my situation, putting try catch in the...
.net
multithreading
null
null
null
null
open
How to handle error on other thread? === I'm trying to handle errors that have occurred on other threads the program is like below: static void Main() { Thread t = new Thread(Start); t.Start(); ... } void Start() { ... Exception here } ...
0
10,278,568
04/23/2012 10:11:01
1,133,747
01/06/2012 06:18:20
13
1
Converting NSData to BigInt or NSNumber in Iphone
How can I convert the NSData to BigInt in objective-C Is it possible???
objective-c
ios
nsdata
biginteger
null
04/24/2012 07:51:31
not a real question
Converting NSData to BigInt or NSNumber in Iphone === How can I convert the NSData to BigInt in objective-C Is it possible???
1
10,835,982
05/31/2012 14:50:58
1,428,637
05/31/2012 14:23:11
1
0
How do import Chinese characters?
I can import a .txt unicode file, but the chinese characters are not showing up. Instead of question marks it shows a blank field. Anyone know how to handle this?
import
null
null
null
null
05/31/2012 17:20:15
not a real question
How do import Chinese characters? === I can import a .txt unicode file, but the chinese characters are not showing up. Instead of question marks it shows a blank field. Anyone know how to handle this?
1
5,521,076
04/02/2011 04:09:30
650,693
03/09/2011 00:10:49
1
1
Best way to catch up on HTML/CSS after 9 years not developing
I used to be a great frontend developer, back when HomeSite was the IDE of choice and SHTML files were considered ahead of the curve. When tables were used for everything, and people weren't really concerned with functionality on Macs. I want to bring my HTML/CSS skills to date. What do you think is the best way to do ...
html
css
null
null
null
04/02/2011 04:28:55
not constructive
Best way to catch up on HTML/CSS after 9 years not developing === I used to be a great frontend developer, back when HomeSite was the IDE of choice and SHTML files were considered ahead of the curve. When tables were used for everything, and people weren't really concerned with functionality on Macs. I want to bring m...
4
10,439,331
05/03/2012 21:06:19
1,191,635
02/06/2012 05:57:46
327
5
why does changing font size with <input type=submit button error out?
I started studying jQuery yesterday by doing [tutorials][1] well I'm on tutorial [28][2]/200 now. This seems like an error so I made a jsFiddles for this. Sample code: [jsFiddles][3] **problem:** why do input buttons not share similar functionality to anchors i.e shrink or increase paragraph size? I mean...
jquery
null
null
null
null
05/04/2012 16:05:57
not a real question
why does changing font size with <input type=submit button error out? === I started studying jQuery yesterday by doing [tutorials][1] well I'm on tutorial [28][2]/200 now. This seems like an error so I made a jsFiddles for this. Sample code: [jsFiddles][3] **problem:** why do input buttons not share simi...
1
9,942,725
03/30/2012 12:15:13
350,294
05/25/2010 05:26:42
4,888
393
Best way to avoid javascript's executing
I'm using PHP and Zend Framework in my application. User can enter some HTML and admin can see this HTML. I want to avoid XSS injection. All HTML should me shown as is except any javascript. I tried to remove `script` tags but it is unsafe. User can add javascript to `onclick` or other events. Thanks.
php
javascript
security
null
null
null
open
Best way to avoid javascript's executing === I'm using PHP and Zend Framework in my application. User can enter some HTML and admin can see this HTML. I want to avoid XSS injection. All HTML should me shown as is except any javascript. I tried to remove `script` tags but it is unsafe. User can add javascript to `oncli...
0
7,384,476
09/12/2011 07:16:09
933,833
09/08/2011 00:35:22
21
1
Youtube clones video player
May I know if there are any free youtube clones-like video player that have the following features: <br> [1] Look & Feel like youtube <br> [2] Can perform search on the video <br> [3] Allow tagging of useful words <br> [4] Can category them like a folder structure <br> [5] Provide information about the video uploa...
jquery-ui
video
youtube
video-streaming
webparts
09/14/2011 11:24:07
off topic
Youtube clones video player === May I know if there are any free youtube clones-like video player that have the following features: <br> [1] Look & Feel like youtube <br> [2] Can perform search on the video <br> [3] Allow tagging of useful words <br> [4] Can category them like a folder structure <br> [5] Provide ...
2
1,628,676
10/27/2009 03:50:49
186,202
10/08/2009 08:01:14
232
23
How to check if a FileField as been modified in the Admin of Django ?
I am trying to do a model with a file that shouldn't be modified. But the comment of the file can be. Here is what I did, but we cannot modify the comment. How can I test if a new file (using the browse button) as been sent and in this case, only, create a new instance of the model ? **admin.py** class CG...
python
django-file-upload
django-admin
django
django-forms
null
open
How to check if a FileField as been modified in the Admin of Django ? === I am trying to do a model with a file that shouldn't be modified. But the comment of the file can be. Here is what I did, but we cannot modify the comment. How can I test if a new file (using the browse button) as been sent and in this case,...
0
6,969,985
08/07/2011 00:49:31
681,904
03/29/2011 10:59:45
26
0
Handling multiple ssh session in python?
i'm wondering how i can handle multiple ssh session then i can give command on each session,,, like this `Enter Command:S1 -c ./x.py` `Command sent successfully` `Enter Command:S2 -c ./x.py` `Command sent successfully` ...etc give me the subjects thats help me ... also if you have simple code for Han...
python
session
ssh
handling
null
08/07/2011 08:52:09
not a real question
Handling multiple ssh session in python? === i'm wondering how i can handle multiple ssh session then i can give command on each session,,, like this `Enter Command:S1 -c ./x.py` `Command sent successfully` `Enter Command:S2 -c ./x.py` `Command sent successfully` ...etc give me the subjects thats hel...
1
11,310,849
07/03/2012 12:23:42
1,498,735
07/03/2012 12:13:54
1
0
Slow network performance
We are using class-C IP addresses in our network setup. The first scope of IP addresses are in 192.168.0.xxx. Since all the IPs are exhausted in this scope we created another scope of Class-C IP in the same Domain Controller. This scope has IP addresses in 192.168.3.xxx. The issue we are facing is, whenever a cli...
windows
networking
domain
server
null
07/03/2012 12:54:20
off topic
Slow network performance === We are using class-C IP addresses in our network setup. The first scope of IP addresses are in 192.168.0.xxx. Since all the IPs are exhausted in this scope we created another scope of Class-C IP in the same Domain Controller. This scope has IP addresses in 192.168.3.xxx. The issue we...
2
7,930,838
10/28/2011 14:47:05
1,018,518
10/28/2011 14:27:37
1
0
Sql Server database filled the hard drive and freeing up space isn't possible, need help
I have a database in SQL Server 2008 on a 1Tb hard drive and it filled the drive, there is only 4Kb free. The MDF file is 323Gb and the LDF is 653Gb. The hard disk this DB is on has no other files on it other than the MDF and LDF so it's impossible to free up any space on the drive. The main hard disk is smaller so ...
sql
server
offline
space
disk
10/28/2011 15:55:11
off topic
Sql Server database filled the hard drive and freeing up space isn't possible, need help === I have a database in SQL Server 2008 on a 1Tb hard drive and it filled the drive, there is only 4Kb free. The MDF file is 323Gb and the LDF is 653Gb. The hard disk this DB is on has no other files on it other than the MDF an...
2
7,638,524
10/03/2011 17:29:57
880,709
08/05/2011 14:00:46
6
1
how i need develop large gwt application
So... after some trying to write some applications before my course project, i have some questions about this technology. 1 If i need good design on my web site better to use UiBinder write? not such like this MenuBar subMenu = new MenuBar(true); subMenu.addItem("<code>Code</code>", true, this); ...
java
web-applications
gwt
null
null
10/03/2011 21:54:53
not a real question
how i need develop large gwt application === So... after some trying to write some applications before my course project, i have some questions about this technology. 1 If i need good design on my web site better to use UiBinder write? not such like this MenuBar subMenu = new MenuBar(true); subMe...
1
7,112,277
08/18/2011 18:28:05
413,570
08/07/2010 00:08:37
195
5
What's Rubinius?
how can I get all available urls of my application, I don't mean rake routes I mean some code that returns literally all the urls (or paths) for example let's say it's a blog application, with this code I should be able to see: / /about /contact /posts /posts/2011-08-18 /posts/2011-08-18/blah-blah /posts...
ruby-on-rails
ruby
null
null
null
08/19/2011 07:53:55
not a real question
What's Rubinius? === how can I get all available urls of my application, I don't mean rake routes I mean some code that returns literally all the urls (or paths) for example let's say it's a blog application, with this code I should be able to see: / /about /contact /posts /posts/2011-08-18 /posts/2011-0...
1
4,086,922
11/03/2010 12:14:11
292,174
03/12/2010 07:57:15
37
2
SQL error when generated SQL command with Doctrine PHP
I use Doctrine on my PHP web application with a MySQL database. I have a little problem with my request : $q = Doctrine_Query::create() ->select('event.EventDate, event.EventId, player.PlayerId, player.FirstName, player.LastName, player.Login, player.Email, event_period.EventP...
php
mysql
doctrine
null
null
null
open
SQL error when generated SQL command with Doctrine PHP === I use Doctrine on my PHP web application with a MySQL database. I have a little problem with my request : $q = Doctrine_Query::create() ->select('event.EventDate, event.EventId, player.PlayerId, player.FirstName, player.LastName, ...
0
6,549,811
07/01/2011 15:12:24
478,489
10/17/2010 11:41:56
10
0
Convert Image to Text in Ubuntu
I need a software or application which can able to convert image into text for ubuntu 11.04
ubuntu
ocr
ubuntu-11.04
null
null
07/01/2011 15:29:52
off topic
Convert Image to Text in Ubuntu === I need a software or application which can able to convert image into text for ubuntu 11.04
2
2,972,221
06/04/2010 07:28:18
292,084
03/12/2010 03:42:06
59
0
Give me a JSF 2.0 tutorial
I am a novice of web developping (And my English is poor,too =_=). Now, I want to study JSF 2.0, hoping to find a step by step tutorial, who can help me? Thanks!
java
jsf
null
null
null
06/17/2012 23:44:02
not constructive
Give me a JSF 2.0 tutorial === I am a novice of web developping (And my English is poor,too =_=). Now, I want to study JSF 2.0, hoping to find a step by step tutorial, who can help me? Thanks!
4
3,134,530
06/28/2010 17:12:29
378,251
06/28/2010 17:07:44
1
0
Any reliable way to stop Internet Explorer (v7, 8) to stop caching PDF files?
An application I work on generates PDF documents and renders them in a browser window. Some of the data in the documents can be considered sensitive so we're exploring how to prevent the browser from caching the document contents. We're using the following Java code which prevents caching in Firefox but doesn't work ...
pdf
caching
internet-explorer
null
null
null
open
Any reliable way to stop Internet Explorer (v7, 8) to stop caching PDF files? === An application I work on generates PDF documents and renders them in a browser window. Some of the data in the documents can be considered sensitive so we're exploring how to prevent the browser from caching the document contents. We'r...
0
7,065,580
08/15/2011 13:38:18
698,668
04/08/2011 12:51:35
125
1
having problem to get accurate post image
having trouble with popular post... <?php /* Start popular Post */ ?> <li> <h3>Popular Posts</h3> <ul class="bullets"> <?php $popular_posts = $wpdb->get_results("SELECT id,post_title FROM {$wpdb->prefix}posts ORDER BY comment_count DESC LIMIT 0,3"); foreach($popul...
php
wordpress
null
null
null
null
open
having problem to get accurate post image === having trouble with popular post... <?php /* Start popular Post */ ?> <li> <h3>Popular Posts</h3> <ul class="bullets"> <?php $popular_posts = $wpdb->get_results("SELECT id,post_title FROM {$wpdb->prefix}posts ORDER BY comment_...
0
11,604,004
07/22/2012 21:09:22
1,510,359
07/08/2012 17:41:38
38
1
Kind of stuck about where to go from here with a multiple choice quiz JAVA
Basically I'm trying to build a quiz for JAVA homework and I need it to check for two correct answers in a multiple choice question. Mostly I just need help with getting user input and getting it to turn out the results. Here's the class code: package pj811pkg; import java.util.ArrayList; ...
java
quiz
multiple-choice
null
null
07/23/2012 12:29:55
not a real question
Kind of stuck about where to go from here with a multiple choice quiz JAVA === Basically I'm trying to build a quiz for JAVA homework and I need it to check for two correct answers in a multiple choice question. Mostly I just need help with getting user input and getting it to turn out the results. Here's the class co...
1
7,407,563
09/13/2011 19:45:41
71,910
02/27/2009 15:22:22
933
43
Make this C program crash
could you show me more ways how I could make this C program crash. Rules are simple: 1. You could not modify declaration and printf 2. You could add whatever you like in crash lines #include <stdio.h> int main() { // declaration lines char name[] = "Jhon"; int age = 1...
c
null
null
null
null
09/13/2011 19:51:32
not a real question
Make this C program crash === could you show me more ways how I could make this C program crash. Rules are simple: 1. You could not modify declaration and printf 2. You could add whatever you like in crash lines #include <stdio.h> int main() { // declaration lines char name[]...
1
1,295,520
08/18/2009 17:59:46
66,851
02/16/2009 08:21:34
1,142
47
Good resources for learning PL/pgSQL?
I've been looking around the net trying to find good resources for learning PostgreSQL's procedural programming language, PL/pgSQL. So far the only thing I've managed to dig up is the [tutorial in the PostgreSQL documentation](http://www.postgresql.org/docs/8.4/interactive/plpgsql.html). While that is good, I've bee...
postgresql
plpgsql
sql
null
null
12/02/2011 22:02:37
not constructive
Good resources for learning PL/pgSQL? === I've been looking around the net trying to find good resources for learning PostgreSQL's procedural programming language, PL/pgSQL. So far the only thing I've managed to dig up is the [tutorial in the PostgreSQL documentation](http://www.postgresql.org/docs/8.4/interactive/...
4
6,300,528
06/09/2011 23:44:05
767,942
05/24/2011 14:43:50
91
8
Flex restrict TextInput to accept only decimal numbers ?
- Is there some easy way to restrict TextInput to accept decimal numbers in range -99.999999 to +99.999999 ?
flex
textinput
null
null
null
null
open
Flex restrict TextInput to accept only decimal numbers ? === - Is there some easy way to restrict TextInput to accept decimal numbers in range -99.999999 to +99.999999 ?
0
4,602,960
01/05/2011 10:21:11
509,779
11/16/2010 16:39:00
26
1
Reset jquery after click
Can someone help me. http://beibl.users32.interdns.co.uk/second.php Their is the website i am working on if you click the computer screen link in the middle nav, it will alert a popup and load content from a div using prettyphoto which is great exactly what i want. Heres the code. $("ul.second-menu...
jquery
reset
false
null
null
null
open
Reset jquery after click === Can someone help me. http://beibl.users32.interdns.co.uk/second.php Their is the website i am working on if you click the computer screen link in the middle nav, it will alert a popup and load content from a div using prettyphoto which is great exactly what i want. Heres the code...
0
8,602,005
12/22/2011 09:42:55
664,328
03/17/2011 12:39:24
190
23
Animating view does not update Gestures
I followed [this][1] answer to animate a UIView that has a UITextView on it. Visually everything is fine, but I have a gesture recognizer on the view. After moving the view, the gestures are only recognized in the old location. Am I only animating the image layer and not the view itself? Can I use paths to animate the ...
ios
core-animation
core-graphics
null
null
null
open
Animating view does not update Gestures === I followed [this][1] answer to animate a UIView that has a UITextView on it. Visually everything is fine, but I have a gesture recognizer on the view. After moving the view, the gestures are only recognized in the old location. Am I only animating the image layer and not the...
0
11,578,949
07/20/2012 12:00:46
656,552
03/12/2011 12:07:09
341
10
Matrix Inversion Cholesky Factorization -> results not exact
I am calculating the inverse of a square matrix using different libraries via Cholesky factorization. However my results are not as I was expecting. I am not an expert in maths, but I was expecting to get a closer result. I am using MLK, magma and CULA libraries to calculate the inverse of a matrix in CPU and GPUs. ...
math
matrix
statistics
linear-algebra
null
07/22/2012 03:11:24
off topic
Matrix Inversion Cholesky Factorization -> results not exact === I am calculating the inverse of a square matrix using different libraries via Cholesky factorization. However my results are not as I was expecting. I am not an expert in maths, but I was expecting to get a closer result. I am using MLK, magma and CUL...
2
8,839,430
01/12/2012 17:25:57
333,842
05/05/2010 20:19:46
354
9
Persisting a list of an interface type with JPA2
I suspect there's no perfect solution to this problem so least worst solution are more than welcome. I'm implementing a dashboard using PrimeFaces and I would like to persist the model backing it (using JPA2). I've written my own implementation of DashboardModel and DashboardColumn with the necessary annotations and...
jpa
null
null
null
null
null
open
Persisting a list of an interface type with JPA2 === I suspect there's no perfect solution to this problem so least worst solution are more than welcome. I'm implementing a dashboard using PrimeFaces and I would like to persist the model backing it (using JPA2). I've written my own implementation of DashboardModel ...
0
4,986,344
02/13/2011 19:30:29
570,782
01/11/2011 04:36:28
1
0
cannot run javascript in php
i have the following javascript code echo ' <a href = "javascript:void(0)" onclick = "document.getElementById("items").style.display="block";document.getElementById("fade").style.display="block""><span style="padding-left:0px"><input type="submit" name="r" style="width: 138px; font-weight:bold; " value="Add item"/>...
php
javascript
php5
null
null
null
open
cannot run javascript in php === i have the following javascript code echo ' <a href = "javascript:void(0)" onclick = "document.getElementById("items").style.display="block";document.getElementById("fade").style.display="block""><span style="padding-left:0px"><input type="submit" name="r" style="width: 138px; font-...
0
8,273,343
11/25/2011 19:13:52
231,002
12/14/2009 04:42:27
3,597
86
What aspects of Java development do IDE's hide but developers should know?
I am primarily a C# developer, and I am writing a project in Java to try and learn the language (and so I can point to concrete examples of code I have written in Java, to help employability). I was wondering what aspects of the Java development workflow that I should know about that are traditionally hidden (or tak...
java
null
null
null
null
11/25/2011 19:30:42
not constructive
What aspects of Java development do IDE's hide but developers should know? === I am primarily a C# developer, and I am writing a project in Java to try and learn the language (and so I can point to concrete examples of code I have written in Java, to help employability). I was wondering what aspects of the Java dev...
4
5,208,257
03/06/2011 02:31:44
554,266
12/26/2010 11:56:26
1
0
ecover generation program using php
Not sure how these guys do it. The outcome is a a 3D Ecover, something like this. http://i.stack.imgur.com/E44Zr.jpg Normally people generate these is by using photoshop, you can open up a image and run a phptoshop action script, it'll generate a cover like this. So there are website out there which does thi...
php
windows
null
null
null
03/06/2011 05:34:24
too localized
ecover generation program using php === Not sure how these guys do it. The outcome is a a 3D Ecover, something like this. http://i.stack.imgur.com/E44Zr.jpg Normally people generate these is by using photoshop, you can open up a image and run a phptoshop action script, it'll generate a cover like this. So t...
3
1,058,737
06/29/2009 14:46:21
64,824
02/10/2009 23:02:14
8
2
Looking for way to automate testing kshell app
I inherited a shell-script application that is a combination of kshell scripts, awk, and java programs. I have written JUnit tests for the java pieces. Is there a good way to do something similar for the kshell scripts and awk programs? I have considered using JUnit and System.exec() to call the scripts, but i...
automated-tests
shell
awk
null
null
null
open
Looking for way to automate testing kshell app === I inherited a shell-script application that is a combination of kshell scripts, awk, and java programs. I have written JUnit tests for the java pieces. Is there a good way to do something similar for the kshell scripts and awk programs? I have considered usin...
0
11,166,542
06/23/2012 03:18:54
1,470,938
06/21/2012 03:29:53
8
0
Java Core or J2EE
I know this question might be little silly but i cant seem to find the right answer. I studied Java in school and the java i know is object oriented and used Eclipse/Netbeans and also Notepad++ for coding. Used java API and i also know java swing library. When i went to interviews they asked me if i had any experience ...
java
java-ee
core
null
null
06/23/2012 10:23:59
off topic
Java Core or J2EE === I know this question might be little silly but i cant seem to find the right answer. I studied Java in school and the java i know is object oriented and used Eclipse/Netbeans and also Notepad++ for coding. Used java API and i also know java swing library. When i went to interviews they asked me i...
2
7,504,192
09/21/2011 17:42:51
957,540
09/21/2011 17:42:51
1
0
EC-Council Certified Secure Programmer - Certification
http://www.eccouncil.org/certification/ec-council_certified_secure_programmer.aspx Any thoughts on this EC-Council Certified Secure Programmer cert? If any body has obtained this certification pls let me know good reference articles, books etc. for preparation.
security
application
null
null
null
09/21/2011 20:50:28
off topic
EC-Council Certified Secure Programmer - Certification === http://www.eccouncil.org/certification/ec-council_certified_secure_programmer.aspx Any thoughts on this EC-Council Certified Secure Programmer cert? If any body has obtained this certification pls let me know good reference articles, books etc. for preparat...
2