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
11,277,598
06/30/2012 20:55:19
1,493,540
06/30/2012 20:52:02
1
0
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in
<html> <title>Title</title> <body> <link type="text/css" rel="stylesheet" href="css/bootstrap.css"/> </body> <center> <? mysql_connect ("localhost", "root","") or die (mysql_error()); mysql_select_db ("dbname"); $term = $_POST['term']; ...
php
null
null
null
null
07/02/2012 13:36:50
too localized
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in === <html> <title>Title</title> <body> <link type="text/css" rel="stylesheet" href="css/bootstrap.css"/> </body> <center> <? mysql_connect ("localhost", "root","") or die (...
3
2,992,323
06/07/2010 19:05:39
122,003
06/12/2009 13:30:36
432
48
Should I move from Java programming to Delphi programming?
over the years i have been employed in a permanent position with firms that did there development work in Windows SDK, VC++, and most recently Java; in my own eyes, I am language independent. Should I move from Java to Delphi (assuming pay-scale remains unchanged)? I'm concerned because, for the most part, the...
java
delphi
language-agnostic
null
null
06/10/2010 02:30:40
not constructive
Should I move from Java programming to Delphi programming? === over the years i have been employed in a permanent position with firms that did there development work in Windows SDK, VC++, and most recently Java; in my own eyes, I am language independent. Should I move from Java to Delphi (assuming pay-scale remai...
4
4,850,303
01/31/2011 11:24:38
321,966
03/29/2010 10:10:10
140
1
how to reload a div tag after submit?
how to reload a div tag after submit?
javascript
null
null
null
null
null
open
how to reload a div tag after submit? === how to reload a div tag after submit?
0
8,222,806
11/22/2011 06:21:18
1,023,717
11/01/2011 12:52:22
44
0
How to alert box on save functionality success with msg "Saved successfully" from code behind
Helo All, I need to show an alert box on the success of save. Please help me Thanks in advance.
c#
javascript
asp.net
null
null
11/22/2011 06:25:38
not a real question
How to alert box on save functionality success with msg "Saved successfully" from code behind === Helo All, I need to show an alert box on the success of save. Please help me Thanks in advance.
1
7,479,826
09/20/2011 03:36:17
887,304
12/08/2010 00:34:11
7
0
How to publish a subscription App on Android Marketplace
I am planning to publish an android app that has a monthly subscription fee. I looked in the android developer site and could not find any clear details on how to do this. I have following 2 issues: 1. I could see that there is a Application Licensing method provided by Android where it queries a server if the lice...
android
android-market
null
null
null
null
open
How to publish a subscription App on Android Marketplace === I am planning to publish an android app that has a monthly subscription fee. I looked in the android developer site and could not find any clear details on how to do this. I have following 2 issues: 1. I could see that there is a Application Licensing me...
0
7,944,580
10/30/2011 11:13:42
138,737
07/15/2009 13:55:55
83
0
How can I start this project for university?
I would really like some help with how I should start this project. Could anyone help out? Thanks. In this project you will create a Project Task Management tool that keeps track of the staff involved in a project and the project tasks that need to be completed. The system should be accessed through a Java Swing gra...
java
eclipse
null
null
null
10/30/2011 12:34:53
not a real question
How can I start this project for university? === I would really like some help with how I should start this project. Could anyone help out? Thanks. In this project you will create a Project Task Management tool that keeps track of the staff involved in a project and the project tasks that need to be completed. The ...
1
9,060,980
01/30/2012 08:09:37
547,646
12/19/2010 11:21:28
137
0
Algorithmic relation between geometric shape and ability to make lattices.
- **Triangles** make triangular lattice: ![lattice](http://4.bp.blogspot.com/_rL73HKlqbH0/SoETIGaUJ_I/AAAAAAAAAVQ/S91EOCXlmhI/s400/Picture2.gif) - **Squares** make squared lattice ![lattice](http://www.patternsinnature.org/Images/Book%20Gallery/NetworkSquareLattice.jpg) - **Hexagons** make hexagonal latt...
algorithm
geometry
null
null
null
01/30/2012 17:23:56
off topic
Algorithmic relation between geometric shape and ability to make lattices. === - **Triangles** make triangular lattice: ![lattice](http://4.bp.blogspot.com/_rL73HKlqbH0/SoETIGaUJ_I/AAAAAAAAAVQ/S91EOCXlmhI/s400/Picture2.gif) - **Squares** make squared lattice ![lattice](http://www.patternsinnature.org/Images...
2
10,328,738
04/26/2012 07:10:07
1,287,492
03/23/2012 04:28:16
4
0
Tomcat server.xml workDir attribute
- <Context path="" docBase="D:/workspace_x64/sdcrm/webapp" debug="0" workDir="D:\soft\apache-tomcat-5.5.27\work\sss" privileged="true" /> How does "workDir" attribute value reference dir work when start tomcat and request jsp pages? I'm not very clear abount it.
tomcat
null
null
null
null
04/26/2012 19:56:29
not a real question
Tomcat server.xml workDir attribute === - <Context path="" docBase="D:/workspace_x64/sdcrm/webapp" debug="0" workDir="D:\soft\apache-tomcat-5.5.27\work\sss" privileged="true" /> How does "workDir" attribute value reference dir work when start tomcat and request jsp pages? I'm not very clear abo...
1
7,650,747
10/04/2011 16:01:09
956,593
09/21/2011 09:40:35
3
0
Objective-C Debugging tips in xCode4?
Coming from a Flex-Flash IDE, I was able to set breakpoints in my code and at runtime view the values of my variables in the corresponding window. Now, I figured out where i can find the 'variables' window in xcode and I can see all my variables there BUT the values of those variables can't be seen. All I have is the ...
objective-c
ios
xcode
null
null
null
open
Objective-C Debugging tips in xCode4? === Coming from a Flex-Flash IDE, I was able to set breakpoints in my code and at runtime view the values of my variables in the corresponding window. Now, I figured out where i can find the 'variables' window in xcode and I can see all my variables there BUT the values of those ...
0
3,725,995
09/16/2010 11:03:43
440,340
09/06/2010 04:07:16
29
0
In LINUX , everything is considered as a file .Please explain.
In LINUX , everything is considered as a file .Please explain.
linux
null
null
null
null
09/16/2010 11:44:08
not a real question
In LINUX , everything is considered as a file .Please explain. === In LINUX , everything is considered as a file .Please explain.
1
5,396,737
03/22/2011 19:30:13
671,852
03/22/2011 19:30:13
1
0
Mongrel will not start correctly without specifying the configuration file location with -C {location}
If I use /etc/init.d/mongrel_cluster start or mongrel_rails cluster::start, the pid files are not generated correctly in tmp/pids. I can get it to work by doing this: <code> mongrel_rails cluster::restart -C /etc/mongrel_cluster/{app_name}.yaml </code>
ruby-on-rails
ruby
nginx
mongrel
null
03/22/2011 22:26:04
too localized
Mongrel will not start correctly without specifying the configuration file location with -C {location} === If I use /etc/init.d/mongrel_cluster start or mongrel_rails cluster::start, the pid files are not generated correctly in tmp/pids. I can get it to work by doing this: <code> mongrel_rails cluster::restart ...
3
10,322,422
04/25/2012 19:27:00
425,524
08/19/2010 17:04:18
806
33
Gracefull shutdown, close db connections, opened files, stop work on SIGKILL, in multiprocessing
I have a daemon process witch spawns child processes using `multiprocessing` to do some work, each child process opens its own connection handle do DB (postgres in my case). Jobs to processes are passed via `Queue` and if queue is empty processes invoke `sleep` for some time, and recheck queue How can I implement "g...
python
database
multiprocessing
signals
null
null
open
Gracefull shutdown, close db connections, opened files, stop work on SIGKILL, in multiprocessing === I have a daemon process witch spawns child processes using `multiprocessing` to do some work, each child process opens its own connection handle do DB (postgres in my case). Jobs to processes are passed via `Queue` and...
0
3,996,292
10/22/2010 11:23:12
388,356
07/10/2010 08:23:36
92
4
Something like GWT but without compiling
I'm studying Computer Science in Germany and recently stumbled upon **Web Services** and **Google Web Toolkit**. I thought: "Great, define buttons, input fields, panels, ... just hit compile and it works" Then i thought: "Why hit compile? ..." **Question:** *Is there a technology where I can define buttons, pa...
java
gwt
service
null
null
10/22/2010 12:53:58
too localized
Something like GWT but without compiling === I'm studying Computer Science in Germany and recently stumbled upon **Web Services** and **Google Web Toolkit**. I thought: "Great, define buttons, input fields, panels, ... just hit compile and it works" Then i thought: "Why hit compile? ..." **Question:** *Is the...
3
7,632,604
10/03/2011 08:22:35
173,718
09/15/2009 12:56:22
563
17
The best way to read SQL Query using .NET and Oracle
How can I get the result of an sql query calculation. I want to say; there are cases; CASE 1 RETURN "Process ok" CASE 2 RETURN "Process failed" this will be returned from the stored procedure. which is the best way to read this on .net? c# (windows forms)
.net
oracle
stored-procedures
null
null
10/03/2011 11:38:21
not constructive
The best way to read SQL Query using .NET and Oracle === How can I get the result of an sql query calculation. I want to say; there are cases; CASE 1 RETURN "Process ok" CASE 2 RETURN "Process failed" this will be returned from the stored procedure. which is the best way to read this on .net? c# (w...
4
4,470,218
12/17/2010 11:58:37
156,242
08/14/2009 04:19:27
980
3
Manual Object Ownership vs Smart Pointers
Right now, object ownership/deletion in my C++ project is manually tracked (via comments mostly). Almost every heap allocated object is created using a factory of sorts e.g. auto b = a->createInstanceOfB(); //a owns b auto c = b->createInstanceOfC(); //b owns c //auto k = new K(); //not in the cod...
c++
pointers
smart-pointers
ownership
null
null
open
Manual Object Ownership vs Smart Pointers === Right now, object ownership/deletion in my C++ project is manually tracked (via comments mostly). Almost every heap allocated object is created using a factory of sorts e.g. auto b = a->createInstanceOfB(); //a owns b auto c = b->createInstanceOfC(); //b o...
0
8,815,888
01/11/2012 07:52:24
1,131,444
01/05/2012 05:51:56
1
0
Adding a open source photo gallery to my application in asp.net
Is there any open source photo gallery which supports photo tagging and which i can directly plug in my asp.net website. Or else any suggestions how can i add tagging functionality to the photos in my site. Thanks in advance if anybody provides a solution.
asp.net
null
null
null
null
null
open
Adding a open source photo gallery to my application in asp.net === Is there any open source photo gallery which supports photo tagging and which i can directly plug in my asp.net website. Or else any suggestions how can i add tagging functionality to the photos in my site. Thanks in advance if anybody provides ...
0
6,567,254
07/04/2011 04:21:13
768,446
05/24/2011 20:03:02
18
0
Anagram generator for C++ (not using STL)
I am trying to create an anagram solver just using a very basic, procedural approach. I am finding out that I probably should have done this using classes, but now it is too late and my assignment is about due. Any suggestions on how to figure this out would be great! Basically, this is what the algorithm should do:...
c++
string
fstream
anagram
null
null
open
Anagram generator for C++ (not using STL) === I am trying to create an anagram solver just using a very basic, procedural approach. I am finding out that I probably should have done this using classes, but now it is too late and my assignment is about due. Any suggestions on how to figure this out would be great! B...
0
1,859,079
12/07/2009 10:15:29
29,947
10/21/2008 13:14:31
119
3
WCF - using multiple bindings including REST (WebHttpBinding) on one service library?
I want to expose my application service layer to outside world for consumption using WCF Rest features in VS2010 Beta 2/.net 4. Also, the same services, I would like to consume using ASP.Net MVC application internally on net.tcp protocol (for faster performance). So my question is, Can I use multiple bindings in...
wcf
rest
visual-studio-2010-beta-2
.net-4.0-beta-2
null
null
open
WCF - using multiple bindings including REST (WebHttpBinding) on one service library? === I want to expose my application service layer to outside world for consumption using WCF Rest features in VS2010 Beta 2/.net 4. Also, the same services, I would like to consume using ASP.Net MVC application internally on net....
0
8,311,651
11/29/2011 13:37:59
1,027,924
11/03/2011 14:36:53
1
0
Why Rails commands run faster on mac than linux
i've been using rails for some time, i'd like to ask why rails commands (for e.g. "rails g", "rake ...") have noticable (~2sec) delays before actual run on my ubuntu and not only, all people developing rails i know on ubuntu have the same situation. I saw users using mac dont have that delay. So it is possible to have ...
ruby-on-rails
performance
osx
ubuntu
command-line
11/29/2011 14:53:33
not constructive
Why Rails commands run faster on mac than linux === i've been using rails for some time, i'd like to ask why rails commands (for e.g. "rails g", "rake ...") have noticable (~2sec) delays before actual run on my ubuntu and not only, all people developing rails i know on ubuntu have the same situation. I saw users using...
4
2,464,313
03/17/2010 17:09:21
295,869
03/17/2010 17:09:21
1
0
Can the adp2 device be flashed with 2.0?
Simple question...can the adp2 that I just bought through the Android Market be flashed with Android 2.0? I can't find anything anywhere. The HTC developer support only has system images for the adp1 and adp2 phones up to 1.6. If it can't I will be sending the phone back for a full refund. Thanks.
flash
operating-system
adp
null
null
null
open
Can the adp2 device be flashed with 2.0? === Simple question...can the adp2 that I just bought through the Android Market be flashed with Android 2.0? I can't find anything anywhere. The HTC developer support only has system images for the adp1 and adp2 phones up to 1.6. If it can't I will be sending the phone back...
0
10,469,707
05/06/2012 10:08:45
1,336,846
04/16/2012 16:55:50
53
0
How to get len of join word?
join_word = ' '.join(word) len_join_word = len(join_word) I tried to get len of join_word but it print out nothing. Any possible way for getting len of join_word?
python
null
null
null
null
05/06/2012 11:11:30
too localized
How to get len of join word? === join_word = ' '.join(word) len_join_word = len(join_word) I tried to get len of join_word but it print out nothing. Any possible way for getting len of join_word?
3
11,690,051
07/27/2012 14:38:35
1,535,882
07/18/2012 19:12:52
24
0
Hide and show list with button
So I have an unordered list with some list-items. I want to show and hide the nth-child of the list-item by using a button. I tried using :hover over the button but it wont respond. Is this because its a button? Take a look at the code div#right-column-sidebar{position: absolute; top: 840px; right: -140px} ...
html
css
null
null
null
null
open
Hide and show list with button === So I have an unordered list with some list-items. I want to show and hide the nth-child of the list-item by using a button. I tried using :hover over the button but it wont respond. Is this because its a button? Take a look at the code div#right-column-sidebar{position: a...
0
10,746,235
05/24/2012 22:34:25
1,399,580
05/16/2012 20:31:06
11
0
C++ Putting text from a text file into an array as individual characters
I want to put some text from a text file into an array, but have the text in the array as individual characters. How would I do that? Currently I have int main() { string line; ifstream myfile ("maze.txt"); if (myfile.is_open()) { while ( myfile.good() ) { ...
c++
arrays
null
null
null
null
open
C++ Putting text from a text file into an array as individual characters === I want to put some text from a text file into an array, but have the text in the array as individual characters. How would I do that? Currently I have int main() { string line; ifstream myfile ("maze.txt"); ...
0
3,743,712
09/18/2010 22:08:43
223,428
12/03/2009 01:21:46
30
0
Best method for Experienced Programmer to learn Drupal Framework
I do mostly PHP programming but also have work experience in python, C++, Java, and Objective C. Our company is merging with another company that is a Drupal house which means I need to learn it quickly. Any tips, books, sites, blogs, etc. for an experienced programmer without any real Drupal experience?
php
drupal
null
null
null
09/19/2010 07:27:05
not constructive
Best method for Experienced Programmer to learn Drupal Framework === I do mostly PHP programming but also have work experience in python, C++, Java, and Objective C. Our company is merging with another company that is a Drupal house which means I need to learn it quickly. Any tips, books, sites, blogs, etc. for an exp...
4
10,226,907
04/19/2012 11:18:42
1,012,638
10/25/2011 11:41:40
1
0
Variance for an image histogram in java
am trying to calculate the standard deviaiton for an image in java. I am using rast.Sample to get each grey level and then I am taking it away from the mean and squaring it. my code is: public int standardDeviation(BufferedImage source) { int width = source.getWidth(); int height = source.getHeight(); ...
java
image-processing
null
null
null
null
open
Variance for an image histogram in java === am trying to calculate the standard deviaiton for an image in java. I am using rast.Sample to get each grey level and then I am taking it away from the mean and squaring it. my code is: public int standardDeviation(BufferedImage source) { int width = source.get...
0
621,312
03/07/2009 04:30:05
74,966
03/07/2009 03:57:52
1
0
Looking for a simpler Objective-C solution
Maybe simpler isn't the proper word; terse might do as well. I'm well-aware that Objective-C is a verbose language; I'm just wondering if it has to be as verbose as it is in the solution I'm showing below. I'm relatively new to the language. This piece of code counts the number of each type of field in a record, pur...
objective-c
null
null
null
null
null
open
Looking for a simpler Objective-C solution === Maybe simpler isn't the proper word; terse might do as well. I'm well-aware that Objective-C is a verbose language; I'm just wondering if it has to be as verbose as it is in the solution I'm showing below. I'm relatively new to the language. This piece of code counts t...
0
6,383,413
06/17/2011 08:48:41
262,850
01/31/2010 09:53:22
1
0
NPM install issues Ubuntu 11.04
installing a fresh node with the following commands sudo apt-get install git-core curl build-essential openssl libssl-dev git clone https://github.com/joyent/node.git && cd node ./configure make make install node -v v0.5.0-pre works without a glitch. When I try to install NPM i ...
ubuntu
node
tar
npm
null
06/18/2011 01:13:48
off topic
NPM install issues Ubuntu 11.04 === installing a fresh node with the following commands sudo apt-get install git-core curl build-essential openssl libssl-dev git clone https://github.com/joyent/node.git && cd node ./configure make make install node -v v0.5.0-pre works without a...
2
9,407,339
02/23/2012 04:48:57
1,176,262
01/29/2012 09:07:14
16
0
Any open source Spring blog project or forum project?
I learn spring for some time. now I want to read some open source project code which is about blog or forum, then I will use spring to build my own blog project in practice. thanks.
java
spring
blogs
forum
null
02/24/2012 04:58:33
not constructive
Any open source Spring blog project or forum project? === I learn spring for some time. now I want to read some open source project code which is about blog or forum, then I will use spring to build my own blog project in practice. thanks.
4
6,685,551
07/13/2011 20:55:51
843,510
07/13/2011 20:55:51
1
0
Selenium RC launches Firefox5 and IE8 browser but does not go to the specified url
I'm a beginner at selenium, trying to follow a tutorial using eclipse and testng. However, it appears that the actual test does not get carried out because it doesn't navigate to the url in my code. This is my input: package script; import com.thoughtworks.selenium.*; import org.junit.A...
eclipse
selenium
testng
rc
null
null
open
Selenium RC launches Firefox5 and IE8 browser but does not go to the specified url === I'm a beginner at selenium, trying to follow a tutorial using eclipse and testng. However, it appears that the actual test does not get carried out because it doesn't navigate to the url in my code. This is my input: pack...
0
2,818,381
05/12/2010 11:37:34
332,724
05/04/2010 19:19:48
43
0
Monitor.Wait, Pulse - When worker thread should conditionally behave as an actual worker thread
My particular scenario: - Main thread starts a worker thread. - Main thread needs to block itself until either worker thread is completed (yeah funny) or worker thread itself informs main thread to go on Alright, so what I did in main thread: wokerThread.Start(lockObj); lock(lockObj) Monitor.Wait(lockObj); ...
.net
multithreading
null
null
null
null
open
Monitor.Wait, Pulse - When worker thread should conditionally behave as an actual worker thread === My particular scenario: - Main thread starts a worker thread. - Main thread needs to block itself until either worker thread is completed (yeah funny) or worker thread itself informs main thread to go on Alright, s...
0
10,569,155
05/13/2012 03:36:59
553,223
12/24/2010 10:35:59
602
22
how to convert existing sqlite database table to fts3 one?
I have normal sqlite database and want to use fts3. As mentioned in http://www.sqlite.org/fts3.html tutorial FTS table has to be created for using this search functionality. Is there any way to convert existing table to FTS table?
sqlite
fts3
null
null
null
null
open
how to convert existing sqlite database table to fts3 one? === I have normal sqlite database and want to use fts3. As mentioned in http://www.sqlite.org/fts3.html tutorial FTS table has to be created for using this search functionality. Is there any way to convert existing table to FTS table?
0
11,486,259
07/14/2012 18:24:19
1,287,499
03/23/2012 04:32:05
1
0
How To Immediately End A Program When The Window Is Closed
I'm new to C# and have created a basic program that I'm running through Visual Studio 2010. When the window is closed, the program stops. However there's a delay of a few seconds before the IDE goes back to edit mode. How can I immediately end the program when the window is closed? While (Visible) { for (i...
c#
.net
visual-studio-2010
null
null
07/16/2012 07:26:29
too localized
How To Immediately End A Program When The Window Is Closed === I'm new to C# and have created a basic program that I'm running through Visual Studio 2010. When the window is closed, the program stops. However there's a delay of a few seconds before the IDE goes back to edit mode. How can I immediately end the program ...
3
9,284,752
02/14/2012 21:53:49
1,207,481
02/13/2012 18:35:25
1
0
ExpandableList Activity - How to populate ChildList dynamically - onGroupExpand
Here's my problem I am using ExpandableList Activity to show data from my PHP web page. I am populating adapter in onCreate method. My problem is, that I need to download a lot of data befor showing ExpandableList. User has to wait sometimes even 5 seconds. I'm conecting to PHP in other class using AsyncTask so I have...
java
android
expandablelistview
null
null
null
open
ExpandableList Activity - How to populate ChildList dynamically - onGroupExpand === Here's my problem I am using ExpandableList Activity to show data from my PHP web page. I am populating adapter in onCreate method. My problem is, that I need to download a lot of data befor showing ExpandableList. User has to wait so...
0
8,549,724
12/18/2011 03:59:53
160,990
08/21/2009 18:43:25
7,807
283
node.js hmac.digest() output seems wrong
I'm trying to implement a Facebook library with node.js, and the request signing isn't working. I have the PHP example [seen here][1] translated into node. I'm trying it out with the example given there, where the secret is the string "secret". My code looks like this: var signedRequest = request.signed_request....
php
facebook
authentication
node.js
facebook-graph-api
null
open
node.js hmac.digest() output seems wrong === I'm trying to implement a Facebook library with node.js, and the request signing isn't working. I have the PHP example [seen here][1] translated into node. I'm trying it out with the example given there, where the secret is the string "secret". My code looks like this: ...
0
7,798,124
10/17/2011 18:47:36
962,155
09/24/2011 01:03:10
650
7
Override virtual method or create event handler?
Was just messing around looking at the XNA documentation for the [Game class][1] and noticed there is a `Deactivated` event and an `OnDeactived` virtual method one can override. Both creating an event handler for the `Deactivated` event and overriding the `OnDeactived` virtual method allows the client to handle the ...
c#
events
coding-style
virtual
guidelines
null
open
Override virtual method or create event handler? === Was just messing around looking at the XNA documentation for the [Game class][1] and noticed there is a `Deactivated` event and an `OnDeactived` virtual method one can override. Both creating an event handler for the `Deactivated` event and overriding the `OnDeac...
0
10,295,127
04/24/2012 09:22:21
868,975
04/27/2011 09:22:25
108
4
Intellij IDEA. Adding Files from some folder to the project
It is possible to add some files form a directory to an IDEA project ? I do not want to add all the directory because it is huge and it will slow down the app. And 2-nd - it is possible to tell IDEA to not add all subdirectories from some folder but only the files it contains ?
intellij-idea
null
null
null
null
null
open
Intellij IDEA. Adding Files from some folder to the project === It is possible to add some files form a directory to an IDEA project ? I do not want to add all the directory because it is huge and it will slow down the app. And 2-nd - it is possible to tell IDEA to not add all subdirectories from some folder but onl...
0
11,155,153
06/22/2012 11:16:53
1,474,618
06/22/2012 11:09:17
1
0
How i can store the data into SQlite from EditText
I have a problem how i can store data in Table In SQlite database from EditText.please send the complete code. and also how to create the SQLite DataBase and Table in SQLite
android
android-intent
null
null
null
06/22/2012 11:45:07
not a real question
How i can store the data into SQlite from EditText === I have a problem how i can store data in Table In SQlite database from EditText.please send the complete code. and also how to create the SQLite DataBase and Table in SQLite
1
8,645,431
12/27/2011 13:57:44
1,117,731
12/27/2011 13:53:30
1
0
Need to create cursor with watermark image
I need to create cursor with transparent(watermark) image, ie if I moving cursor under for example some text I need to see that text, can somebody help me with that?
java
swing
null
null
null
12/28/2011 22:54:51
not a real question
Need to create cursor with watermark image === I need to create cursor with transparent(watermark) image, ie if I moving cursor under for example some text I need to see that text, can somebody help me with that?
1
8,462,766
12/11/2011 08:26:45
1,017,667
03/31/2011 15:08:34
226
13
How to solve unknown error in installation of Xcode 4.1 in lion?
Ha ii everybody this is not a code related question,i am facing a problem with Xcode 4.1 installation ,about 75% of the installation complete it shoes i tunes have to be quit for further installation ,but i didn't with on the i tunes.I have restarted the mac nd try it again ,but i have no luck ,same popup comes after 7...
xcode4.1
null
null
null
null
12/11/2011 14:22:21
not a real question
How to solve unknown error in installation of Xcode 4.1 in lion? === Ha ii everybody this is not a code related question,i am facing a problem with Xcode 4.1 installation ,about 75% of the installation complete it shoes i tunes have to be quit for further installation ,but i didn't with on the i tunes.I have restarted...
1
9,885,174
03/27/2012 07:34:35
1,161,986
01/21/2012 06:53:54
16
0
How to read SMS from gsm modem in Java programming?
I have a gsm modem attached to my computer, in which an active sim card is installed. If I send a sms to the sim card number from my mobile, I can read it through modem interface. But I want to read it through my Java programming. After searching in google, got to know about AT Commands and SMSLib. Which method is best...
java
sms
gsm
modem
null
03/31/2012 21:42:55
not a real question
How to read SMS from gsm modem in Java programming? === I have a gsm modem attached to my computer, in which an active sim card is installed. If I send a sms to the sim card number from my mobile, I can read it through modem interface. But I want to read it through my Java programming. After searching in google, got t...
1
6,688,812
07/14/2011 05:26:19
843,895
07/14/2011 05:14:13
1
0
Exactly is near-linear scalability supposed to be good scalability or bad scalability?
I've been doing some reading on scalability and i came across the term **near-linear scalability**. Exactly is **near-linear scalability** supposed to be good scalability or bad scalability?
mysql
sql-server
database
nosql
null
07/14/2011 11:21:25
not a real question
Exactly is near-linear scalability supposed to be good scalability or bad scalability? === I've been doing some reading on scalability and i came across the term **near-linear scalability**. Exactly is **near-linear scalability** supposed to be good scalability or bad scalability?
1
5,401,886
03/23/2011 07:05:56
670,843
03/22/2011 08:38:22
1
0
bin/hadoop jar hadoop-0.20.0-examples.jar wordcount /tmp/gutenberg gutenberg-output
i'm testing the hadoop with running-hadoop-on-ubuntu-linux-single-node-cluster. there is no output after run the command ->bin/hadoop jar hadoop-0.20.0-examples.jar wordcount /tmp/gutenberg gutenberg-output if there is an error, i will see something. But i see nothing. So, what should i do? Is it an error or some...
java
null
null
null
null
null
open
bin/hadoop jar hadoop-0.20.0-examples.jar wordcount /tmp/gutenberg gutenberg-output === i'm testing the hadoop with running-hadoop-on-ubuntu-linux-single-node-cluster. there is no output after run the command ->bin/hadoop jar hadoop-0.20.0-examples.jar wordcount /tmp/gutenberg gutenberg-output if there is an error...
0
4,790,363
01/25/2011 05:38:36
312,907
04/09/2010 15:01:56
336
17
C#: Good free (no gpl!) ActiveRecord lib
The question is quite easy, I would like to develop a program (winforms) that will use a database widely, it will use System.Data.SQLite (or the lib should support sqlite in some way, even if imply writing queries by myself) and I like the approach used with ActiveRecord (well, I used it in cakephp, not in ruby) I r...
c#
database
activerecord
licensing
null
null
open
C#: Good free (no gpl!) ActiveRecord lib === The question is quite easy, I would like to develop a program (winforms) that will use a database widely, it will use System.Data.SQLite (or the lib should support sqlite in some way, even if imply writing queries by myself) and I like the approach used with ActiveRecord (w...
0
5,136,482
02/27/2011 22:27:57
38,146
11/17/2008 04:48:08
1,793
33
Getting started with audio processing
I want to start learning about audio processing, out of general interest and curiosity. Someone asked a similar question and got [this][1] great conceptual introduction to the topic. But how does a beginner get hands-on? I found some online courses on DSP, such as [this][2] online book, but they tend to be way too adva...
c#
python
audio
audio-processing
null
null
open
Getting started with audio processing === I want to start learning about audio processing, out of general interest and curiosity. Someone asked a similar question and got [this][1] great conceptual introduction to the topic. But how does a beginner get hands-on? I found some online courses on DSP, such as [this][2] on...
0
238,125
10/26/2008 15:02:47
8,531
09/15/2008 16:15:45
13
5
Best Framework for PHP and creation of RESTful based web services
I'm looking to create a RESTful or pseudo-Restful based web service on a PHP/MySql stack. I'm wondering what some of the frameworks you suggest I look at? I've been looking at Zend with Zend_Rest, but I'm curious to other things out there. Ideally, there's be some form of ActiveRecord based object mapping to the...
php
rest
web-services
null
null
12/22/2011 00:33:37
not constructive
Best Framework for PHP and creation of RESTful based web services === I'm looking to create a RESTful or pseudo-Restful based web service on a PHP/MySql stack. I'm wondering what some of the frameworks you suggest I look at? I've been looking at Zend with Zend_Rest, but I'm curious to other things out there. Id...
4
8,201,316
11/20/2011 11:56:15
496,223
11/03/2010 16:56:47
7,472
390
does explode get executed more than once in a foreach?
$array='hello hello2'; foreach(explode(' ',$array) as $v) echo $v; How many times does explode get executed? And is it better that to use another var like: $exploded = explode(...); foreach($exploded as $v) ... ?
php
null
null
null
null
11/20/2011 18:07:58
too localized
does explode get executed more than once in a foreach? === $array='hello hello2'; foreach(explode(' ',$array) as $v) echo $v; How many times does explode get executed? And is it better that to use another var like: $exploded = explode(...); foreach($exploded as $v) ....
3
11,158,955
06/22/2012 15:08:37
1,099,605
12/15/2011 10:13:48
1
0
intent filter for settings activity
Iam trying to receive the broadcast whenever activitymanager launches system settings. What is the intent filter for system settings activity? Thanks in adavance, Harsha.
android
intentfilter
null
null
null
null
open
intent filter for settings activity === Iam trying to receive the broadcast whenever activitymanager launches system settings. What is the intent filter for system settings activity? Thanks in adavance, Harsha.
0
5,053,222
02/19/2011 20:09:05
624,678
02/19/2011 19:53:23
1
0
plugins for my android app
I'm trying to find out what is the right method of enabling plugins or extensions for my android application. As with any other plug-able application I want: 1) list of installed plugins 2) ability to call methods (which may or may not have UI) implemented in plugins Goal is to isolate functionality which is not e...
android
plugins
null
null
null
null
open
plugins for my android app === I'm trying to find out what is the right method of enabling plugins or extensions for my android application. As with any other plug-able application I want: 1) list of installed plugins 2) ability to call methods (which may or may not have UI) implemented in plugins Goal is to isol...
0
7,410,449
09/14/2011 01:53:29
659,906
03/15/2011 03:38:44
105
10
Android optimize query on ContentResolver
Is there a way to speed up the query for a contentresolver? I find querying for contacts takes a bit of time even with a proper projection.
android
android-contentresolver
null
null
null
null
open
Android optimize query on ContentResolver === Is there a way to speed up the query for a contentresolver? I find querying for contacts takes a bit of time even with a proper projection.
0
727,329
04/07/2009 19:52:45
88,289
04/07/2009 19:52:20
1
0
GDI+ Offscreen Buffered Scrolling
I am creating a custom control using C# GDI+. Quick explanation...the control will be say 500 pixels on screen but will contain perhaps 500000 pixels of information. So although i'm only showing 500px at a time i need to obviously scroll in the horizontal plane (left & right). The tricky part is that each 500px chu...
c#
gdi+
drawing
buffer
scroll
null
open
GDI+ Offscreen Buffered Scrolling === I am creating a custom control using C# GDI+. Quick explanation...the control will be say 500 pixels on screen but will contain perhaps 500000 pixels of information. So although i'm only showing 500px at a time i need to obviously scroll in the horizontal plane (left & right)....
0
5,045,714
02/18/2011 19:34:04
464,230
10/01/2010 20:47:37
16
2
Where is the Class Model in Xcode 4?
Anyone knows where the hell are the Class Models in Xcode 4? Or the Xcode 4 GM seed doesn't implemented this feature yet? I'm going crazy with this! In Xcode 3 was so simple. Design -> Class Model -> Quick Model! But now in Xcode 4... God Dammit! So, anyone knows?
objective-c
workspace
xcode4
null
null
02/19/2011 04:52:24
too localized
Where is the Class Model in Xcode 4? === Anyone knows where the hell are the Class Models in Xcode 4? Or the Xcode 4 GM seed doesn't implemented this feature yet? I'm going crazy with this! In Xcode 3 was so simple. Design -> Class Model -> Quick Model! But now in Xcode 4... God Dammit! So, anyone knows?
3
11,489,480
07/15/2012 04:40:59
1,264,636
03/12/2012 16:46:32
15
3
Appeal for SIMPLE examples for fusion tables users eg. mouseover rollover
On behalf of all the fusion tables keeners who love mapping, can adapt a good script, but are NOT PROGRAMMERS -- journalists and historians and all the rest of the users who are like me... Just got a group message from Rebecca (GOOGLE rep for FUSION TABLES) announcing it is now possible to "Enable mouseover event ...
google-fusion-tables
null
null
null
null
null
open
Appeal for SIMPLE examples for fusion tables users eg. mouseover rollover === On behalf of all the fusion tables keeners who love mapping, can adapt a good script, but are NOT PROGRAMMERS -- journalists and historians and all the rest of the users who are like me... Just got a group message from Rebecca (GOOGLE r...
0
8,652,931
12/28/2011 07:07:10
524,704
11/30/2010 05:15:07
6
1
Send Multiple Images Embedded in iPhone Email
I want to send multiple images in email from my iPhone. But all these images appear as attachment. I want to embed the images. I know I should use body as Html, and use <img src \>. But it was not successful, I used base64 encoding, in gmail the mail only has the imageData string. Also tried first uploading the image t...
ios
email
messageui
mfmailcomposer
inline-images
02/28/2012 15:39:25
not a real question
Send Multiple Images Embedded in iPhone Email === I want to send multiple images in email from my iPhone. But all these images appear as attachment. I want to embed the images. I know I should use body as Html, and use <img src \>. But it was not successful, I used base64 encoding, in gmail the mail only has the image...
1
8,060,307
11/09/2011 04:21:20
158,944
08/19/2009 03:05:22
146
7
GWT: does code-splitting have any effect when in development mode
I've read in so many places that code-splitting can significantly speed up the initial loading time of a GWT application. However, before we do the splitting, we would like to know whether the deferred download of codes also work when in development mode? Currently our most painful point is that in development mode...
gwt
gxt
null
null
null
null
open
GWT: does code-splitting have any effect when in development mode === I've read in so many places that code-splitting can significantly speed up the initial loading time of a GWT application. However, before we do the splitting, we would like to know whether the deferred download of codes also work when in developmen...
0
7,975,072
11/02/2011 02:07:55
1,024,742
11/02/2011 00:29:54
1
0
char* and a char[] array error
I am trying to create a class for a game I am making for my highschool c++ class. All of my set functions are not working. I will post an example tailored just to show one(I get the same error for all of them). Here is the prob: #include <iostream> using namespace std; class room { p...
c++
class
char
null
null
null
open
char* and a char[] array error === I am trying to create a class for a game I am making for my highschool c++ class. All of my set functions are not working. I will post an example tailored just to show one(I get the same error for all of them). Here is the prob: #include <iostream> using namespace s...
0
4,782,023
01/24/2011 12:36:34
587,480
01/24/2011 12:33:05
1
0
Python Regex, problemas com acentuação
Olá! Estou com um problema na acentuação de expressão regulares em Python, estou fazendo a seguinte tentativa: import re ER = re.compile(r'\w', re.L) print(ER.sub('.','Maçã')) ..çã Mesmo utilizando o re.comiler passando o Locale como argumento, não é reconhecido a acentuação no padrão pt-br (^~`´ç). Algu...
python
regex
locate
null
null
01/25/2011 00:59:11
too localized
Python Regex, problemas com acentuação === Olá! Estou com um problema na acentuação de expressão regulares em Python, estou fazendo a seguinte tentativa: import re ER = re.compile(r'\w', re.L) print(ER.sub('.','Maçã')) ..çã Mesmo utilizando o re.comiler passando o Locale como argumento, não é reconhecido...
3
10,123,410
04/12/2012 12:17:32
1,329,027
04/12/2012 11:59:16
1
0
Based on a particular column data make drag&drop enable/disable in flex
we have two datagrids having {allowMultipleSelection="true" ,dragEnabled="true", dragMoveEnabled="true" dropEnabled="true" }, we have to check the data of particular column from datagrid1 and based on that want to allow DragDrop of rows. eg- if column data ="order" then only allow Drag of rows data into datagrid2...
flex4
null
null
null
null
null
open
Based on a particular column data make drag&drop enable/disable in flex === we have two datagrids having {allowMultipleSelection="true" ,dragEnabled="true", dragMoveEnabled="true" dropEnabled="true" }, we have to check the data of particular column from datagrid1 and based on that want to allow DragDrop of rows....
0
3,943,164
10/15/2010 14:25:33
403,347
07/27/2010 12:02:44
43
1
PHP fread problem
ive ran into an issue while creating a PHP telnet script at work to gather network data. as the amount of data returned from the 'Action: Status' command could be of any size... im concerned about using a static number with fread() on line 13. I have also tried using fgets() instead but it only grabs the first line ...
php
sockets
php5
fgets
fread
null
open
PHP fread problem === ive ran into an issue while creating a PHP telnet script at work to gather network data. as the amount of data returned from the 'Action: Status' command could be of any size... im concerned about using a static number with fread() on line 13. I have also tried using fgets() instead but it onl...
0
4,565,279
12/30/2010 18:40:43
288,502
03/08/2010 04:45:49
105
4
Can't get rid of compiler warnings for primitiveValue accessors in transient property getter impls
I've implemented a transient property as below on one of the models in my app. It is declared in the model design as a transient property with undefined type. @property (nonatomic, readonly) NSNumberFormatter *currencyFmt; The current (warning-free) impl of this accessor is: - (NSNumberFormatter *) cu...
iphone
objective-c
core-data
nsmanagedobject
null
null
open
Can't get rid of compiler warnings for primitiveValue accessors in transient property getter impls === I've implemented a transient property as below on one of the models in my app. It is declared in the model design as a transient property with undefined type. @property (nonatomic, readonly) NSNumberFormatter...
0
573,267
02/21/2009 15:55:35
54,964
01/14/2009 11:38:17
530
5
Where do you need scripting languages in Elinks?
According to Wikipedia, Elinks has a "[s]upport for browser scripting in Perl, Ruby, Lua and GNU Guile". **Where do you need all of the languages?**
elinks
scripting
null
null
null
05/27/2012 15:57:25
not constructive
Where do you need scripting languages in Elinks? === According to Wikipedia, Elinks has a "[s]upport for browser scripting in Perl, Ruby, Lua and GNU Guile". **Where do you need all of the languages?**
4
7,007,044
08/10/2011 07:08:24
220,447
11/28/2009 12:50:35
4,894
130
Examples of creative and useful operator use in Scala
Following a discussion with a friend about operator overloading. I am looking at creative and/or useful example usage of operator overloading in Scala. I have some cool illustrations: - Mathematical constructs, like linear algebra or complex numbers (`+ * -`) - Mimicking shell pipe and redirections (`| > < >>...
scala
operator-overloading
null
null
null
08/10/2011 18:39:37
not constructive
Examples of creative and useful operator use in Scala === Following a discussion with a friend about operator overloading. I am looking at creative and/or useful example usage of operator overloading in Scala. I have some cool illustrations: - Mathematical constructs, like linear algebra or complex numbers (`+ ...
4
4,212,203
11/18/2010 06:27:58
463,133
09/30/2010 17:58:49
6
1
Is there any extenstion that help me to Group tabs , manage tabSets in google chrome ?
Basically I want to open a set of tabs in chrome, also i want to manage multiple sets of tabs. and switch to particular tab set which i want. Is there any plugin which could do that? Is there any google chrome extension thats does smothing like Firefox's **Catagorize** addon?
google-chrome-extension
add-on
bookmarks
null
null
02/25/2011 00:27:11
off topic
Is there any extenstion that help me to Group tabs , manage tabSets in google chrome ? === Basically I want to open a set of tabs in chrome, also i want to manage multiple sets of tabs. and switch to particular tab set which i want. Is there any plugin which could do that? Is there any google chrome extension thats...
2
6,107,396
05/24/2011 08:02:19
713,099
04/18/2011 09:10:35
4
0
Activate a network user
I have created a user in a local network and grant some permissions to this user. now i want to do something like visual studio doing, it means i want to activate this user in my program, so every users that run my program have the permissions of this new user not him\her own permissions.for example users do not have p...
c#
network-programming
null
null
null
null
open
Activate a network user === I have created a user in a local network and grant some permissions to this user. now i want to do something like visual studio doing, it means i want to activate this user in my program, so every users that run my program have the permissions of this new user not him\her own permissions.fo...
0
6,112,702
05/24/2011 15:13:13
767,997
05/24/2011 15:13:13
1
0
how to combine some binary images to just one image at c++ or matlab?
my name is ms. How to combine two(or more) binary images to just one image in c++ platform or matlab? i don't want to transform some images into a big image. i just want to have one image though there are many binary images. I already have some binary image files. Generally, binary image was consisted of black and w...
c++
matlab
null
null
null
05/24/2011 20:14:25
not a real question
how to combine some binary images to just one image at c++ or matlab? === my name is ms. How to combine two(or more) binary images to just one image in c++ platform or matlab? i don't want to transform some images into a big image. i just want to have one image though there are many binary images. I already have so...
1
10,755,692
05/25/2012 13:57:15
1,045,523
11/14/2011 11:57:06
139
1
Can't remove empty lines with sed regex
I have a file like this: 2733617 3.00 3 3 2733617 E1b1 8.00 8 16 2733617 E1b1b1b 2.00 2 4 2733617 I1 294.00 296 590 2733617 I2 1.00 1 2 2733617 I2a1 2.00 2 4 `sed '/^$/d'` does not work for me. Outfile looks just like infile. It should remove empty lines.
regex
delete
sed
remove
linefeed
null
open
Can't remove empty lines with sed regex === I have a file like this: 2733617 3.00 3 3 2733617 E1b1 8.00 8 16 2733617 E1b1b1b 2.00 2 4 2733617 I1 294.00 296 590 2733617 I2 1.00 1 2 2733617 I2a1 2.00 2 4 `sed '/^$/d'` does not work for me. Outfile looks just like inf...
0
2,137,346
01/26/2010 03:21:42
21,668
09/24/2008 13:24:17
855
31
Could CouchDB benefit significantly from the use of BERT instead of JSON?
I appreciate a lot CouchDB attempt to use universal web formats in everything it does: **RESTFUL HTTP methods** in every interaction, **JSON** objects, **javascript** code to customize database and documents. CouchDB seems to scale pretty well, but the **individual cost to make a request** usually makes 'relational'...
couchdb
javascript
erlang
json
null
10/24/2011 22:47:11
not constructive
Could CouchDB benefit significantly from the use of BERT instead of JSON? === I appreciate a lot CouchDB attempt to use universal web formats in everything it does: **RESTFUL HTTP methods** in every interaction, **JSON** objects, **javascript** code to customize database and documents. CouchDB seems to scale pretty...
4
7,116,453
08/19/2011 02:48:59
492,767
05/05/2010 13:13:03
583
13
Refactor if-else php code, again
Trying to get my head (literally) out. Any ideas to refactor this? if (is_dir($uploadDir.'temp')) { === a === } else { if (!mkdir($uploadDir.'temp', 0755)) { === b === } else { === a === } } Thank...
php
null
null
null
null
08/19/2011 10:50:48
off topic
Refactor if-else php code, again === Trying to get my head (literally) out. Any ideas to refactor this? if (is_dir($uploadDir.'temp')) { === a === } else { if (!mkdir($uploadDir.'temp', 0755)) { === b === } else { ...
2
6,273,679
06/08/2011 02:47:22
464,425
10/02/2010 04:51:28
67
0
string replace in php specific character
how to remove a string starting from '@'? for example admin@admin.com, i want to remove the string starting from @ so it becomes 'admin' only. just like in twitter..i read about str replace and trim but i think theres other way to do it? $email = 'admin@admin.com; echo substr_replace($email, ?, ?...
php
string
replace
trim
null
null
open
string replace in php specific character === how to remove a string starting from '@'? for example admin@admin.com, i want to remove the string starting from @ so it becomes 'admin' only. just like in twitter..i read about str replace and trim but i think theres other way to do it? $email = 'admin@admin.co...
0
8,887,987
01/16/2012 23:59:51
520,733
11/25/2010 23:40:41
489
6
Why is this method of css organization better?
A senior developer at my workstation codes like this: table {border-collapse: collapse;border-spacing: 0;} fieldset,img {border: 0;} address,button,caption,cite,code,dfn,em,input,optgroup,option,select,strong,textarea,th,var {font:inherit;} del,ins {text-decoration: none;} li {list-style: non...
css
organized
null
null
null
01/17/2012 13:12:58
not constructive
Why is this method of css organization better? === A senior developer at my workstation codes like this: table {border-collapse: collapse;border-spacing: 0;} fieldset,img {border: 0;} address,button,caption,cite,code,dfn,em,input,optgroup,option,select,strong,textarea,th,var {font:inherit;} del,i...
4
7,675,945
10/06/2011 14:39:10
511,792
11/18/2010 07:36:08
21
0
How to find out all the .cpp files in a directory and cat them one by one?
Tasks that I want to complete: 1. Find out all the .cpp files in a directory 2. For each .cpp file, print some header, then cat the content of the file Thanks so much!!!
unix
cat
null
null
null
10/07/2011 17:02:04
not a real question
How to find out all the .cpp files in a directory and cat them one by one? === Tasks that I want to complete: 1. Find out all the .cpp files in a directory 2. For each .cpp file, print some header, then cat the content of the file Thanks so much!!!
1
9,443,055
02/25/2012 10:05:59
1,179,771
01/31/2012 07:36:31
289
11
hassle factor of Windows 7
I personally have Windows 7 64-bit in one of my PCs and I’m also having problems using web folders. Whenever I try to setup a web folder by “adding a network location” or “map a network drive” through My Computer, I’m given an error saying that either “The folder you entered does not appear to be valid. Please choose a...
windows
networking
windows-7
webdav
null
02/25/2012 17:59:56
off topic
hassle factor of Windows 7 === I personally have Windows 7 64-bit in one of my PCs and I’m also having problems using web folders. Whenever I try to setup a web folder by “adding a network location” or “map a network drive” through My Computer, I’m given an error saying that either “The folder you entered does not app...
2
3,377,834
07/31/2010 11:16:11
305,955
03/31/2010 11:37:45
552
55
What is the release date for ASP.NET MVC 3?
Looking at the preview 1 and it looks great
asp.net-mvc
asp.net-mvc-3
null
null
null
07/31/2010 16:58:52
off topic
What is the release date for ASP.NET MVC 3? === Looking at the preview 1 and it looks great
2
9,143,294
02/04/2012 18:29:11
367,141
06/15/2010 10:36:24
632
22
libgdx throwing an exception on helloworld app when ran in emulator
I've followed the tutorial on http://www.youtube.com/watch?v=vLx_72qxK_0&feature=player_embedded and created a simple app with the libgdx library that makes an application with a red background. This works fine when I run it as a stand alone desktop app, but when I run the -android version the exception below is thr...
java
android
libgdx
null
null
null
open
libgdx throwing an exception on helloworld app when ran in emulator === I've followed the tutorial on http://www.youtube.com/watch?v=vLx_72qxK_0&feature=player_embedded and created a simple app with the libgdx library that makes an application with a red background. This works fine when I run it as a stand alone de...
0
9,062,320
01/30/2012 10:17:40
1,061,959
11/23/2011 13:06:07
1
0
client side design using struts, jsp, html, css, java script, tiles, dojo, json, jquery etc
I need some help to design one front end system (client side ) for my new project. As per my project lead I should be using struts, jsp, html, css, java script, tiles, dojo, json, jquery etc.. The requirement is number of GUI pages like interactive graph, menu, etc.. The data will be fetched by back end code (...
java
javascript
client-side
null
null
01/30/2012 15:08:17
not a real question
client side design using struts, jsp, html, css, java script, tiles, dojo, json, jquery etc === I need some help to design one front end system (client side ) for my new project. As per my project lead I should be using struts, jsp, html, css, java script, tiles, dojo, json, jquery etc.. The requirement is numbe...
1
7,206,066
08/26/2011 14:19:30
298,754
03/22/2010 03:57:33
40
4
How to make the equivalent of @Ajax.DropDownList?
I have a partial view in my MVC3/Razor app for paging a grid which works fairly well currently. When I AJAXified it, I converted all the @Html.ActionLink calls to @Ajax.ActionLink. Now I want to add a DropDownList, but @Html.DropDownList doesn't cause the AJAX section to post back, and there's no @Ajax.DropDownList. ...
c#
asp.net-mvc-3
razor
null
null
null
open
How to make the equivalent of @Ajax.DropDownList? === I have a partial view in my MVC3/Razor app for paging a grid which works fairly well currently. When I AJAXified it, I converted all the @Html.ActionLink calls to @Ajax.ActionLink. Now I want to add a DropDownList, but @Html.DropDownList doesn't cause the AJAX se...
0
8,036,184
11/07/2011 12:01:04
941,188
09/12/2011 19:03:56
8
0
flash car racing game help?
I want to develop a car racing game using flash and actionscript3. Does any one know special book, open source projects, articles, whiich can help me starting? Thx in advanced
flash
actionscript-3
null
null
null
11/08/2011 19:52:23
not a real question
flash car racing game help? === I want to develop a car racing game using flash and actionscript3. Does any one know special book, open source projects, articles, whiich can help me starting? Thx in advanced
1
11,234,121
06/27/2012 20:09:21
1,486,809
06/27/2012 20:06:45
1
0
How to integrate facebook comments in rails?
I'd like to add in facebook comments to my rails blog application. Is there a way to do so and test it on my localhost?
ruby-on-rails-3
facebook-comments
null
null
null
06/28/2012 02:13:37
not a real question
How to integrate facebook comments in rails? === I'd like to add in facebook comments to my rails blog application. Is there a way to do so and test it on my localhost?
1
9,092,124
02/01/2012 07:08:39
902,161
08/19/2011 09:33:02
138
10
How to redirect /blog to /blog/?
I want to redirect /blog to /blog/. I have two condition if blog is in the url first condition will be called else second condition. Please anybody help me to do this. I did this. #blog RewriteCond %{REQUEST_URI} ^/blog.* RewriteRule (.*) /blog/$1 [L] #squeezepage Rewrite...
.htaccess
null
null
null
null
null
open
How to redirect /blog to /blog/? === I want to redirect /blog to /blog/. I have two condition if blog is in the url first condition will be called else second condition. Please anybody help me to do this. I did this. #blog RewriteCond %{REQUEST_URI} ^/blog.* RewriteRule (.*) /blog/$1 [L...
0
6,186,523
05/31/2011 10:58:06
315,200
03/11/2010 11:14:26
306
11
jQuery: Direct child of $(this)
Is it possible to, somehow, select a direct child of $(this)? I have: var obj = $(this); $("ul", obj).css('width',s*w); And need it to act like this: obj > "ul" Is it possible?
jquery
null
null
null
null
null
open
jQuery: Direct child of $(this) === Is it possible to, somehow, select a direct child of $(this)? I have: var obj = $(this); $("ul", obj).css('width',s*w); And need it to act like this: obj > "ul" Is it possible?
0
6,838,761
07/27/2011 02:15:12
864,545
07/27/2011 02:15:12
1
0
Centos: Installing Wine Problems
Okay so far I have tried to install via yum, however every time I use... yum install wine It says the package isn't found, I have used yum update but that does not work either. More over I accidentally chmod user:user /etc/yum... I just want to install wine...how can I do this? The system is running cent...
linux
ubuntu
centos
wine
winelib
07/27/2011 03:18:51
off topic
Centos: Installing Wine Problems === Okay so far I have tried to install via yum, however every time I use... yum install wine It says the package isn't found, I have used yum update but that does not work either. More over I accidentally chmod user:user /etc/yum... I just want to install wine...how can I ...
2
4,057,968
10/30/2010 08:57:41
458,749
09/26/2010 14:59:16
29
3
Are services like AWS secure enough for an organization that is highly responsible for it's clients privacy?
Okay, so we have to store our clients` private medical records online and also the web site will have a lot of requests, so we have to use some scaling solutions. We _can_ have our own share of a datacenter and run something like Zend Server Cluster Manager on it, but services like Amazon EC2 look a lot easier to ma...
security
amazon-ec2
scalability
null
null
null
open
Are services like AWS secure enough for an organization that is highly responsible for it's clients privacy? === Okay, so we have to store our clients` private medical records online and also the web site will have a lot of requests, so we have to use some scaling solutions. We _can_ have our own share of a datacen...
0
10,302,820
04/24/2012 17:19:45
1,211,955
02/15/2012 17:08:25
13
0
Prevent UIWebView to scroll when keyboard appears
I have a UIWebView presenting a page containing input fields (<input type="text" ...>). When the user touches the field to enter data, the UIWebView is scrolled up and left to make the field stay visible for the user. Well ok. I don't mind it is scrolled up (because everything below my form is hidden by the keybo...
ios
uiwebview
null
null
null
null
open
Prevent UIWebView to scroll when keyboard appears === I have a UIWebView presenting a page containing input fields (<input type="text" ...>). When the user touches the field to enter data, the UIWebView is scrolled up and left to make the field stay visible for the user. Well ok. I don't mind it is scrolled up (...
0
11,108,735
06/19/2012 20:18:19
1,452,373
06/12/2012 22:15:56
8
0
rename multiple files shell in Linux
I have a number of files such as file_022.bmp, file_023.bmp...file_0680.bmp. I need to rename these to something a little bit more convenient such as file_1.bmp, file_2.bmp...file_658.bmp. Is there a bash script that I could write to do this for me? Thanks for the help and advice. Luke H
linux
file
bash
script
name
06/20/2012 18:27:13
off topic
rename multiple files shell in Linux === I have a number of files such as file_022.bmp, file_023.bmp...file_0680.bmp. I need to rename these to something a little bit more convenient such as file_1.bmp, file_2.bmp...file_658.bmp. Is there a bash script that I could write to do this for me? Thanks for the help a...
2
8,110,458
11/13/2011 08:15:25
807,703
06/21/2011 03:09:36
13
0
Which tools to learn to develop on Linux
I've written a C-app on Linux, but I didn't know about "make" to auto compile, just write code with Vim and manually compile my app. Which tools, utilities that a programmer should learn to be more productive on Linux? I know git, diff, batch, make. Can you suggest more? thanks (more specific, what tools for C, Py...
linux
utilities
null
null
null
11/13/2011 08:21:06
not constructive
Which tools to learn to develop on Linux === I've written a C-app on Linux, but I didn't know about "make" to auto compile, just write code with Vim and manually compile my app. Which tools, utilities that a programmer should learn to be more productive on Linux? I know git, diff, batch, make. Can you suggest more? ...
4
9,676,930
03/13/2012 00:55:28
1,238,891
02/28/2012 21:40:27
1
0
Next & Previous button
I would like to add next and previous buttons so i can click through my images here is my example http://scott-p.dmlive.co.nz/formatives/pf-wp/
javascript
jquery
null
null
null
03/14/2012 02:00:47
not a real question
Next & Previous button === I would like to add next and previous buttons so i can click through my images here is my example http://scott-p.dmlive.co.nz/formatives/pf-wp/
1
10,686,375
05/21/2012 13:39:36
1,216,057
02/17/2012 11:01:15
12
0
how to test java program using Junit?
I am able to write java programs but i have heard that we also need to test using junit testing. I use myEclipse 8.5. I have no clue how to go about this junit testing. Please guide me step by step since i have no clue. thank you.
java
unit-testing
junit
junit4
null
05/21/2012 13:42:44
not constructive
how to test java program using Junit? === I am able to write java programs but i have heard that we also need to test using junit testing. I use myEclipse 8.5. I have no clue how to go about this junit testing. Please guide me step by step since i have no clue. thank you.
4
6,414,255
06/20/2011 16:12:06
791,718
06/09/2011 20:59:32
1
1
Is there a way to verify that Kerberos is used?
I am using System.DirectoryServices namespace for communicating with an ADAM instance. Part of the network within our organization Kerberos, while another defaults to NTLM. We also have conflicting domains (aliased the same ABC), that have different fully resolved names, of course. Kerberos requires usage of fully res...
kerberos
adam
null
null
null
null
open
Is there a way to verify that Kerberos is used? === I am using System.DirectoryServices namespace for communicating with an ADAM instance. Part of the network within our organization Kerberos, while another defaults to NTLM. We also have conflicting domains (aliased the same ABC), that have different fully resolved na...
0
607,820
03/03/2009 19:40:33
12,458
09/16/2008 14:26:50
980
44
How do I enumerate JvMemoryData...Or, how do I create a hash with a single key and multiple values?
I am using [JvMemoryData][1] to populate a JvDBUltimGrid. I'm primarily using this JvMemoryData as a data structure, because I am not aware of anything else that meets my needs. I'm not working with a lot of data, but I do need a way to enumerate the records I am adding to JvMemoryData. Has anyone done this before? ...
delphi
data-structures
hash
null
null
null
open
How do I enumerate JvMemoryData...Or, how do I create a hash with a single key and multiple values? === I am using [JvMemoryData][1] to populate a JvDBUltimGrid. I'm primarily using this JvMemoryData as a data structure, because I am not aware of anything else that meets my needs. I'm not working with a lot of data...
0
6,301,528
06/10/2011 02:59:17
384,080
07/06/2010 00:37:49
339
3
attach process visual studio
does anyone know why we need to rebuild the VS solution rather than the project itself to get Visual Studio be able to attach the w3wp process again? what in the wierd?! thanks
visual-studio-2010
null
null
null
null
06/10/2011 06:56:51
not a real question
attach process visual studio === does anyone know why we need to rebuild the VS solution rather than the project itself to get Visual Studio be able to attach the w3wp process again? what in the wierd?! thanks
1
7,711,009
10/10/2011 09:45:57
608,588
02/08/2011 18:14:28
267
4
Why does i get extra location coordinate points when i start a run in my iphone app?
I am working an iPhone app which is using CLLocationManager. When user runs, it show the run path on a mapView. I am drawing the running path on mapView using following code: double leastDistanceToRecord = 0.0000905; - (void) locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *...
objective-c
mapkit
cllocationmanager
mkmapkit
uimapview
null
open
Why does i get extra location coordinate points when i start a run in my iphone app? === I am working an iPhone app which is using CLLocationManager. When user runs, it show the run path on a mapView. I am drawing the running path on mapView using following code: double leastDistanceToRecord = 0.0000905; ...
0
4,014,555
10/25/2010 12:34:04
158,304
08/18/2009 09:16:56
77
2
Is it possible to build UI elements from a database table using the Netbeans GUI designer?
I'm building an application with a form that I'd like to populate with questions from a database table. Is it possible to do this in the Netbeans GUI designer so that each questions is inserted into the label of a checkbox element? My initial idea of how to do this would be to get a result set back from the datab...
java
database
swing
netbeans
null
null
open
Is it possible to build UI elements from a database table using the Netbeans GUI designer? === I'm building an application with a form that I'd like to populate with questions from a database table. Is it possible to do this in the Netbeans GUI designer so that each questions is inserted into the label of a checkbo...
0
6,492,299
06/27/2011 11:41:43
375,368
06/24/2010 14:32:07
87
13
VB.Net how to use .FindAll in a List(of ) object?
I've tried to use .Find() methode and was successfully. But I can not understand how to work with FindAll to receive all items matching on a "flexible" keyword (in my case this keywords is called ClassGuid). Public Class clsFindConnection Private Delegate Function ConMatchDelegate(ByVal con As PropertyConne...
.net
list
generics
delegates
null
null
open
VB.Net how to use .FindAll in a List(of ) object? === I've tried to use .Find() methode and was successfully. But I can not understand how to work with FindAll to receive all items matching on a "flexible" keyword (in my case this keywords is called ClassGuid). Public Class clsFindConnection Private Delega...
0
8,911,695
01/18/2012 14:22:41
1,156,407
01/18/2012 14:12:33
1
0
How to test 500 Trillion combinations in less than 6 hours of execution time
I have a PHP script now looping through combinations of a set of arrays. I can test 6.1 Billion of the 500 Trillion total combinations in 1 hour with a simple PHP script. Is it possible to write a program in any language running on todays average PC that would be able to test all 500 Trillion combinations of multiple...
c#
java
php
execution-time
null
01/18/2012 15:33:05
not constructive
How to test 500 Trillion combinations in less than 6 hours of execution time === I have a PHP script now looping through combinations of a set of arrays. I can test 6.1 Billion of the 500 Trillion total combinations in 1 hour with a simple PHP script. Is it possible to write a program in any language running on toda...
4
11,573,721
07/20/2012 06:07:05
1,414,610
05/24/2012 09:19:37
1
0
Design a module
<b> I am having problem designing a module.Can anybody help me This is basically an agricultural project (web application).I need to design module where some calcuation takes place. There are differnt crops invovled like maize,tomato,okra etc.Now each of these crops have different traits. Each trait h...
java
algorithm
module
null
null
07/20/2012 12:38:49
not a real question
Design a module === <b> I am having problem designing a module.Can anybody help me This is basically an agricultural project (web application).I need to design module where some calcuation takes place. There are differnt crops invovled like maize,tomato,okra etc.Now each of these crops have different tra...
1
7,132,933
08/20/2011 16:02:57
709,769
04/15/2011 12:02:42
120
7
Fetch Data from Wikilocation with jQuery
I try to fetch data from wikilocation.org. As far as i get it, i need to use jsonp to manage this. This basically works with this code: $.ajax({ url:'http://api.wikilocation.org/articles', dataType: "jsonp", cache: false, jsonp:'onJsonPLoad', jsonpcallbackString: "addPoi",...
jquery
ajax
jsonp
fetch
null
null
open
Fetch Data from Wikilocation with jQuery === I try to fetch data from wikilocation.org. As far as i get it, i need to use jsonp to manage this. This basically works with this code: $.ajax({ url:'http://api.wikilocation.org/articles', dataType: "jsonp", cache: false, jsonp:'onJson...
0
905,765
05/25/2009 07:38:45
99,770
05/02/2009 07:08:27
13
1
allocating and freeing a char * in c++
Hey everyone, I am getting a heap corruption error I cannot figure out. char * c = (char *) malloc(1); // main loop _gcvt_s(c, 100, ball->get_X_Direction(), 10); if(pushFont(c, (SCREEN_WIDTH - 30), (SCREEN_HEIGHT - 40), message, screen, font, textColor) == false) { //return 1; //...
heap
c++
malloc
free
null
null
open
allocating and freeing a char * in c++ === Hey everyone, I am getting a heap corruption error I cannot figure out. char * c = (char *) malloc(1); // main loop _gcvt_s(c, 100, ball->get_X_Direction(), 10); if(pushFont(c, (SCREEN_WIDTH - 30), (SCREEN_HEIGHT - 40), message, screen, font, textC...
0
9,004,562
01/25/2012 14:44:27
1,088,424
12/08/2011 19:31:04
18
0
OFBIZ Looking to create parent child relationships between products
Here is a hypothetical problem to outline what I am looking for. Let's say I am selling customizable jellybean gift baskets. At the time of purchase, the customer chooses a gift basket and then decides how many beans they want in it. Each bean, in turn, may be customized from a list of various features. There are...
erp
ofbiz
null
null
null
null
open
OFBIZ Looking to create parent child relationships between products === Here is a hypothetical problem to outline what I am looking for. Let's say I am selling customizable jellybean gift baskets. At the time of purchase, the customer chooses a gift basket and then decides how many beans they want in it. Each bea...
0
4,064,130
10/31/2010 17:15:51
121,400
06/11/2009 15:18:12
142
28
php redirect based on url variable
I want to create a URL redirect based on a URL variable. so, if student%20gender (student gender) is male then go to www.one.com, if female, go to www.two.com. couldn't figure this one out yet. any help?
php
null
null
null
null
null
open
php redirect based on url variable === I want to create a URL redirect based on a URL variable. so, if student%20gender (student gender) is male then go to www.one.com, if female, go to www.two.com. couldn't figure this one out yet. any help?
0
8,218,275
11/21/2011 20:42:08
809,058
06/21/2011 18:35:05
57
0
c++ vektor always gives 0
my first.h: class skaiciavimas { public: vector<int> vekto[2]; skaiciavimas(); ~skaiciavimas(); .... my first.cpp #include "skaiciavimas.h" skaiciavimas::skaiciavimas() { int i; for(i=0;i<2;i++) vekto[i].resize(3); } void ska...
c++
vector
null
null
null
11/22/2011 00:47:44
not a real question
c++ vektor always gives 0 === my first.h: class skaiciavimas { public: vector<int> vekto[2]; skaiciavimas(); ~skaiciavimas(); .... my first.cpp #include "skaiciavimas.h" skaiciavimas::skaiciavimas() { int i; for(i=0;i<2;i++) vekto[i]....
1
1,899,639
12/14/2009 08:25:52
223,112
12/02/2009 17:47:37
12
2
Perl 6 Where to start .
Could someone provide a link of material where to start with perl 6? Also could someone point to real application already developed with perl 6?
perl
perl6
null
null
null
02/10/2012 16:48:31
not constructive
Perl 6 Where to start . === Could someone provide a link of material where to start with perl 6? Also could someone point to real application already developed with perl 6?
4