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
9,152,698
02/05/2012 20:25:50
739,712
05/05/2011 10:25:16
157
9
Custom exception like IllegalArgumentException to have nice log information
Does it good idea to have custom exception like IllegalArgumentException and throw it in all cases when methods can get null reference instead of valid object value? public void method(String str){ if(str == null)throw new CustomIllegalArgumentException("str cannot be null"); } I think that such w...
java
android
null
nullpointerexception
nullreferenceexception
null
open
Custom exception like IllegalArgumentException to have nice log information === Does it good idea to have custom exception like IllegalArgumentException and throw it in all cases when methods can get null reference instead of valid object value? public void method(String str){ if(str == null)throw new C...
0
11,478,599
07/13/2012 21:25:09
755,000
05/16/2011 01:56:59
113
4
What is the best language to learn for an electrical engineer who needs access to computer hardware at low level?
I know that depending on the application different languages are preferred. However, here is my question in some details. What is the best language to learn for an electrical/hardware engineer, if one needs the following capabilities: 1. Ease of access to the computer hardware in low level, for example easily be ab...
c++
gui
programming-languages
hardware
real-time
07/13/2012 21:41:57
not constructive
What is the best language to learn for an electrical engineer who needs access to computer hardware at low level? === I know that depending on the application different languages are preferred. However, here is my question in some details. What is the best language to learn for an electrical/hardware engineer, if one...
4
638,323
03/12/2009 12:02:56
29,443
10/19/2008 21:06:48
230
4
how to forward engineer database diagram from visio 2003 file ?
I came across some vb macros that export it to a mdb ( ms access ) file. But does not work very well when copying forward constraints , etc. I want generate schema from the database diagram for **sql server 2005** database.
visio
sql-server-2005
null
null
null
null
open
how to forward engineer database diagram from visio 2003 file ? === I came across some vb macros that export it to a mdb ( ms access ) file. But does not work very well when copying forward constraints , etc. I want generate schema from the database diagram for **sql server 2005** database.
0
4,588,134
01/03/2011 20:34:44
442,124
09/08/2010 06:42:35
95
1
Prolog Question - DCG
Do you happen to know where can I find a list of prolog problems/exercises which involves DCG so that I can understand better this concept? <Br> <br> I have read some specifications regarding it, but the best way to learn it is to practice with it. <br> <br> Thanks!
prolog
null
null
null
null
null
open
Prolog Question - DCG === Do you happen to know where can I find a list of prolog problems/exercises which involves DCG so that I can understand better this concept? <Br> <br> I have read some specifications regarding it, but the best way to learn it is to practice with it. <br> <br> Thanks!
0
9,757,143
03/18/2012 09:02:09
1,067,711
11/27/2011 09:09:07
1
0
Can I upload all my photos from iphone to my box.com accont
my box.com has 50GB free space, and I know there is an <a href="http://itunes.apple.com/app/box.net/id290853822?mt=8">app</a> can upload one by one. But, can I sync all my photos and videos to my box.com?
ios
null
null
null
null
03/18/2012 13:59:34
off topic
Can I upload all my photos from iphone to my box.com accont === my box.com has 50GB free space, and I know there is an <a href="http://itunes.apple.com/app/box.net/id290853822?mt=8">app</a> can upload one by one. But, can I sync all my photos and videos to my box.com?
2
7,103,038
08/18/2011 06:00:17
892,791
08/13/2011 05:40:54
1
0
MPMoviePlayerController Manual loading screen
In MPMoviewPlayerController i have to play movie from a particular url.Its work fine.I want to show a loadingview (like a spinning wheel rotate in the center of the screen with text loading please wait) before it starts playing movie. (I am using ios4.2) Can anyone help me ? Thanks a lot.
iphone
null
null
null
null
null
open
MPMoviePlayerController Manual loading screen === In MPMoviewPlayerController i have to play movie from a particular url.Its work fine.I want to show a loadingview (like a spinning wheel rotate in the center of the screen with text loading please wait) before it starts playing movie. (I am using ios4.2) Can anyone ...
0
10,278,866
04/23/2012 10:31:27
1,005,253
10/20/2011 13:05:22
144
0
Free Graphics for a simple game
I'm creating a game for the android phone atm. It is a very simple game. I have nearly done all my programming. I'm starting to put together some graphics for the game. The game is about a cat, and giving the cat food etc to keep it happy. I would much appreciate it if the community could point me towards sites whic...
actionscript-3
flash
graphics
children
null
null
open
Free Graphics for a simple game === I'm creating a game for the android phone atm. It is a very simple game. I have nearly done all my programming. I'm starting to put together some graphics for the game. The game is about a cat, and giving the cat food etc to keep it happy. I would much appreciate it if the commun...
0
10,014,335
04/04/2012 15:29:51
1,313,219
04/04/2012 15:17:01
1
0
.htaccess redirect to folder
Sorry, maybe my question is stupid for you but I haven't many experience with apache I have a stucture /mysite/ /mysite/admin I want to make some redirect. When I write /mysite/admin43242 to redirect me to /admin but when somebody write /admin to get error. Can you tell me how can I do this? Thanks in adv...
.htaccess
redirect
null
null
null
04/04/2012 15:30:52
off topic
.htaccess redirect to folder === Sorry, maybe my question is stupid for you but I haven't many experience with apache I have a stucture /mysite/ /mysite/admin I want to make some redirect. When I write /mysite/admin43242 to redirect me to /admin but when somebody write /admin to get error. Can you tell me...
2
11,067,154
06/16/2012 21:26:57
1,449,737
06/11/2012 19:28:02
3
0
Extract a variable from an array
I have an array: Array ( [0] => Array ( [0] => @jamesblanksby ) [1] => Array ( [0] => jamesblanksby ) ) and I want to extract 'jamesblanksby' using php. How would I go about doing this?
php
arrays
null
null
null
06/16/2012 21:39:03
not a real question
Extract a variable from an array === I have an array: Array ( [0] => Array ( [0] => @jamesblanksby ) [1] => Array ( [0] => jamesblanksby ) ) and I want to extract 'jamesblanksby' using php. How would I go about doing this?
1
11,068,895
06/17/2012 04:21:19
1,455,176
06/14/2012 02:42:43
11
0
ssh connection using cygwin
I am trying to connect with my remote linux server using cygwin+ssh but the authentication fails with no apparent reason. I have successfully setup another connnection to github successfully and I have followed the same process, this is why I am stopped here $ ssh -v finxxx@xxx.79.xxx.29 OpenSSH_6.0p1, Open...
windows
ssh
cygwin
null
null
null
open
ssh connection using cygwin === I am trying to connect with my remote linux server using cygwin+ssh but the authentication fails with no apparent reason. I have successfully setup another connnection to github successfully and I have followed the same process, this is why I am stopped here $ ssh -v finxxx@xxx.7...
0
8,110,566
11/13/2011 08:49:42
135,960
07/09/2009 22:49:09
1,952
175
Digital signature public key
I'm newbie to encryption. In Public Key Cryptography we have pair of keys - one for encryption and one for decryption. In case Alice wants Bob to send her secret message, she publishes her encryption key (it'll be called public key) and keeps decryption key in secret (it'll be called private key). Bob encrypts me...
cryptography
public-key-encryption
null
null
null
11/14/2011 02:06:51
off topic
Digital signature public key === I'm newbie to encryption. In Public Key Cryptography we have pair of keys - one for encryption and one for decryption. In case Alice wants Bob to send her secret message, she publishes her encryption key (it'll be called public key) and keeps decryption key in secret (it'll be ca...
2
6,218,399
06/02/2011 18:04:05
739,062
05/05/2011 02:24:24
1
0
QUESTION ABOUT RAND
i want to have random numbers between (0,1). i use this double r2() { return((rand()%10000)/10000.0); } int SA() { double u; u=r2(); } but u doesn't give correct results.does anybody know what to do? `
c#
c
null
null
null
06/03/2011 18:51:15
not a real question
QUESTION ABOUT RAND === i want to have random numbers between (0,1). i use this double r2() { return((rand()%10000)/10000.0); } int SA() { double u; u=r2(); } but u doesn't give correct results.does anybody know what to do? `
1
2,335,064
02/25/2010 15:16:01
202,862
11/04/2009 19:00:10
222
1
VB6: Regular Expressions - Problem under Win7
i have a little application which uses regular expressions under VB6. It works perfectly under XP but under Win7 i'm experiencing massive problems. sometimes, when the text which is passed to the regex function is > 20KB it freezes the application and also the whole win7 system: it's getting really slow, almost compl...
vb6
regular
expressions
null
null
null
open
VB6: Regular Expressions - Problem under Win7 === i have a little application which uses regular expressions under VB6. It works perfectly under XP but under Win7 i'm experiencing massive problems. sometimes, when the text which is passed to the regex function is > 20KB it freezes the application and also the whole ...
0
11,370,976
07/06/2012 23:39:37
73,046
03/03/2009 02:49:39
1,866
70
Android WebView: is there a way to get a javascript stack trace?
If you have javascript running in a WebView, is there a way for that javascript to get a string representation of the current stack for debugging purposes?
javascript
android
webview
stack
null
null
open
Android WebView: is there a way to get a javascript stack trace? === If you have javascript running in a WebView, is there a way for that javascript to get a string representation of the current stack for debugging purposes?
0
11,076,109
06/18/2012 01:34:44
1,335,479
04/16/2012 03:50:23
21
0
Measurements in MPI
I'm sorry if I ask the theoritical question. I'm making a project about parallel processing. Firstly, I want to use PVM as the tools, but recently I changed using MPI (MPICH2). But, I don't know what measurements can be performed in MPI. When I'm planning to use PVM, the measurement that I want to use : execution time...
mpi
measurement
performance-measurement
null
null
06/19/2012 11:51:09
not constructive
Measurements in MPI === I'm sorry if I ask the theoritical question. I'm making a project about parallel processing. Firstly, I want to use PVM as the tools, but recently I changed using MPI (MPICH2). But, I don't know what measurements can be performed in MPI. When I'm planning to use PVM, the measurement that I wan...
4
7,609,528
09/30/2011 11:13:31
555,222
12/27/2010 18:07:57
791
10
quotes in sql query
how can you add quotes in a sql query if the field names includes "-" or other charactors or if the field has a reserved name like "type" or others SELECT `enclosure.id`, `enclosure.time`, `enclosure.note` FROM tbl.enclosure LEFT JOIN tbl.book ON book.enc_id=enclosure.id WHERE `book.book_id`='277' ORDER BY enclo...
mysql
null
null
null
null
null
open
quotes in sql query === how can you add quotes in a sql query if the field names includes "-" or other charactors or if the field has a reserved name like "type" or others SELECT `enclosure.id`, `enclosure.time`, `enclosure.note` FROM tbl.enclosure LEFT JOIN tbl.book ON book.enc_id=enclosure.id WHERE `book.book...
0
7,657,786
10/05/2011 07:04:23
450,705
09/17/2010 14:44:28
1
2
ASIHttpRequest ignores setValidatesSecureCertificate parameter
Can ASIHTTPRequest ignore 'setValidatesSecureCertificate' parameter under certain conditions ? If i do this: NSURL *url = [NSURL URLWithString:@"https://someselfsignedurl"]; ASIHTTPRequest *r = [[[ASIHTTPRequest alloc] initWithURL:url] autorelease]; [r setValidatesSecureCertificate:YES]; ...
ios
asihttprequest
null
null
null
null
open
ASIHttpRequest ignores setValidatesSecureCertificate parameter === Can ASIHTTPRequest ignore 'setValidatesSecureCertificate' parameter under certain conditions ? If i do this: NSURL *url = [NSURL URLWithString:@"https://someselfsignedurl"]; ASIHTTPRequest *r = [[[ASIHTTPRequest alloc] initWithURL:...
0
8,627,039
12/24/2011 21:47:43
925,899
09/02/2011 19:34:25
76
1
Linux to Windows development environment
I am looking at the possability of having a development environment set up with a vm for linux for developing web applications and but being able to use a browser to view the running app through windows for IE. But would want to just use localhost. Does anyone know if this is possible?
windows
linux
null
null
null
04/06/2012 17:18:40
not a real question
Linux to Windows development environment === I am looking at the possability of having a development environment set up with a vm for linux for developing web applications and but being able to use a browser to view the running app through windows for IE. But would want to just use localhost. Does anyone know if this ...
1
2,961,646
06/02/2010 21:15:05
277,023
02/19/2010 14:23:26
128
4
Can I configure Eclipse / JBoss integration so it does not rely on deploying Jars to the "server/default/deploy" folder?
I am using MyEclipse 7.5 with JBoss 4.2.3 GA. When I define my local development JBoss server in MyEclipse it always wants to deploy jars, wars etc. to the "server/default/deploy" directory. Unfortunately our JBoss directory structure for production is "server/XYZ/deploy/abc" (driven by a third party). As a resu...
java
eclipse
jboss
myeclipse
null
null
open
Can I configure Eclipse / JBoss integration so it does not rely on deploying Jars to the "server/default/deploy" folder? === I am using MyEclipse 7.5 with JBoss 4.2.3 GA. When I define my local development JBoss server in MyEclipse it always wants to deploy jars, wars etc. to the "server/default/deploy" directory. ...
0
2,431,814
03/12/2010 09:58:10
265,103
01/16/2010 09:00:37
66
0
How the dispose() method works in C#.net?
I am developing smart device application in C#. It is a window application. In that application I have created the 4 to 5 window form. I am navigating in these forms from one form to another form by using linklabel control in C#. In linklabel_Click() method which I am using to navigate I am using the code form1.show() ...
c#
null
null
null
null
null
open
How the dispose() method works in C#.net? === I am developing smart device application in C#. It is a window application. In that application I have created the 4 to 5 window form. I am navigating in these forms from one form to another form by using linklabel control in C#. In linklabel_Click() method which I am usin...
0
7,874,239
10/24/2011 10:25:15
620,130
02/16/2011 17:50:43
11
0
Schedule a job in java
i have a property file like this :<br><br> task-id = cdrdaily <br> cdrdaily.class = dailycdr.DailyCDR<br> cdrdaily.trigger = 10 9 7 ? * * <br> i want to schedule a job every 1 hour. How can i change for the trigger. could anybody please suggest me with an example<br> Thanks
java
objective-c
null
null
null
10/24/2011 13:53:26
not a real question
Schedule a job in java === i have a property file like this :<br><br> task-id = cdrdaily <br> cdrdaily.class = dailycdr.DailyCDR<br> cdrdaily.trigger = 10 9 7 ? * * <br> i want to schedule a job every 1 hour. How can i change for the trigger. could anybody please suggest me with an example<br> Thanks
1
9,251,959
02/12/2012 19:30:50
847,398
07/16/2011 02:26:44
12
2
BYO PHP MVC vs CakePHP/Zend/Symfony
What are the advantages and disadvantages of using a homebrew PHP MVC framework vs. a MVC framework like CakePHP, Zend, so on so forth? My ideals are that a BYO framework can be built any which way such that it conforms completely to the goals and desires of the system... I like this idea a lot, but is it really worth ...
php
mvc
frameworks
null
null
null
open
BYO PHP MVC vs CakePHP/Zend/Symfony === What are the advantages and disadvantages of using a homebrew PHP MVC framework vs. a MVC framework like CakePHP, Zend, so on so forth? My ideals are that a BYO framework can be built any which way such that it conforms completely to the goals and desires of the system... I like...
0
10,875,572
06/04/2012 02:04:17
1,097,772
12/14/2011 12:24:26
355
1
Drawing Bezier Curve issue with not ending in last point
I'm making program to school for drawing Bezier curve (only for n form <1,9>). <br/> For drawing I use just bruteforce algorithm from definition of curve(for simplicity). I know that De Casteljau would better. When I count points at according parameter t, which is <0.0,1.0> and I also have to set the step for parametr...
c#
homework
graphics
drawing
bezier-curve
null
open
Drawing Bezier Curve issue with not ending in last point === I'm making program to school for drawing Bezier curve (only for n form <1,9>). <br/> For drawing I use just bruteforce algorithm from definition of curve(for simplicity). I know that De Casteljau would better. When I count points at according parameter t, w...
0
7,532,526
09/23/2011 17:10:27
961,644
09/23/2011 17:05:17
1
0
PHP Include() - Header and Footer
I use php include() for my header, footer, navigation etc. I have the following code repeated on each of my pages <?php include 'includes/header.php'; ?> Is there a faster way to do this? Can I store the data i am including somewhere for loading speed??
php
header
include
null
null
null
open
PHP Include() - Header and Footer === I use php include() for my header, footer, navigation etc. I have the following code repeated on each of my pages <?php include 'includes/header.php'; ?> Is there a faster way to do this? Can I store the data i am including somewhere for loading speed??
0
10,808,323
05/29/2012 23:56:44
1,092,012
12/11/2011 07:35:16
522
10
What do polymorphic associations solve?
I'm struggling with having a clear understand of the problem. Let's assume I have a website where users can post photos and videos, which can be commented on. So I create 3 models: 1. Photo 2. Video 3. Comment ---------- - A Photo `has_many` Comments - A Video `has_many` Comments ----------...
ruby-on-rails
polymorphic-associations
null
null
null
null
open
What do polymorphic associations solve? === I'm struggling with having a clear understand of the problem. Let's assume I have a website where users can post photos and videos, which can be commented on. So I create 3 models: 1. Photo 2. Video 3. Comment ---------- - A Photo `has_many` Comments ...
0
7,140,613
08/21/2011 19:37:46
904,568
08/21/2011 12:37:34
1
0
stream Reder in c# read one Letter by letter
im a new . I have a text file (assci) I want to Read a line and divide by positions and save evry value in the dataBase how can I do it?
c#
winforms
null
null
null
08/21/2011 19:50:39
not a real question
stream Reder in c# read one Letter by letter === im a new . I have a text file (assci) I want to Read a line and divide by positions and save evry value in the dataBase how can I do it?
1
5,567,118
04/06/2011 13:27:25
648,866
03/01/2011 13:40:58
42
0
interfacing two c++ packages
could anyone please let me know how do we interface two packages, and the steps involved in it. for example say i have these two packages, both written in C++. How can i go about interfacing them in C++. Both of them are mesh-generation tools, 2nd is an advanced one with more features and i want it to use through fi...
c++
interface
packages
mesh
null
04/06/2011 16:31:43
not a real question
interfacing two c++ packages === could anyone please let me know how do we interface two packages, and the steps involved in it. for example say i have these two packages, both written in C++. How can i go about interfacing them in C++. Both of them are mesh-generation tools, 2nd is an advanced one with more featur...
1
10,138,629
04/13/2012 09:46:37
1,269,042
03/14/2012 13:00:54
-1
0
WCO-3 and EBXML file format
**Hi All**<br> I want to know about <br> 1) WCO-3 <br>2) EBXML<br> file format and how do we read it. i tried googling but didn't find any file of this format **THANKS A LOT**
xml
null
null
null
null
05/22/2012 22:41:04
not a real question
WCO-3 and EBXML file format === **Hi All**<br> I want to know about <br> 1) WCO-3 <br>2) EBXML<br> file format and how do we read it. i tried googling but didn't find any file of this format **THANKS A LOT**
1
1,423,597
09/14/2009 19:59:28
112,100
05/25/2009 13:07:28
105
27
SOLID principles
can somebody explain/name me the priciples of SOLID development ?
solid
principles
null
null
null
07/26/2012 22:07:34
not constructive
SOLID principles === can somebody explain/name me the priciples of SOLID development ?
4
10,219,497
04/18/2012 23:18:52
1,334,055
04/15/2012 03:25:04
1
0
What things can make a php script slow?
I need to know what kind of things can make a php script slow. things like: function test() { $out = 'cont'; $out .= 'cont2'; $out .= 'cont3'; return $out; } echo test(); or function test($t) { $out = ($t)?'v1':'v2'; return $out; } echo tes...
php
null
null
null
null
04/19/2012 01:59:16
not constructive
What things can make a php script slow? === I need to know what kind of things can make a php script slow. things like: function test() { $out = 'cont'; $out .= 'cont2'; $out .= 'cont3'; return $out; } echo test(); or function test($t) { $out = ($t)?'v1'...
4
4,628,497
01/07/2011 17:42:44
565,362
01/06/2011 11:33:56
1
0
Read data from file to object in c++
i want to read data from file and every 4 lines make an object from my class until it comes to "----------" this is my file: http://askus.ir/Untitled.png
c++
object
null
null
null
01/07/2011 18:13:22
not a real question
Read data from file to object in c++ === i want to read data from file and every 4 lines make an object from my class until it comes to "----------" this is my file: http://askus.ir/Untitled.png
1
10,382,020
04/30/2012 10:19:02
1,365,269
04/30/2012 07:29:47
2
0
how to create a wordpress theme looking like inkfruit
I want to create a theme in wordpress. This theme is looking like inkfruit and all the feature will be same like inkfruit Is it possable to create and how many time take it to create in this theme. Its a shopping cart site then how many pluging used in it.
wordpress
wordpress-plugin
wordpress-theming
null
null
05/08/2012 18:18:21
not a real question
how to create a wordpress theme looking like inkfruit === I want to create a theme in wordpress. This theme is looking like inkfruit and all the feature will be same like inkfruit Is it possable to create and how many time take it to create in this theme. Its a shopping cart site then how many pluging used in it.
1
4,306,707
11/29/2010 18:17:27
451,977
05/03/2010 15:36:00
36
3
Apparent global scope leak in Ruby
I'm seeing a really weird issue with this code and sample execution: https://gist.github.com/720278 The data in the two files is identical, but for some reason the app fails on the second file. Running the app only for this file works fine, it only breaks when multiple files are processed in one execution. The excep...
ruby
null
null
null
null
null
open
Apparent global scope leak in Ruby === I'm seeing a really weird issue with this code and sample execution: https://gist.github.com/720278 The data in the two files is identical, but for some reason the app fails on the second file. Running the app only for this file works fine, it only breaks when multiple files a...
0
9,634,540
03/09/2012 13:05:58
1,129,612
01/04/2012 09:41:43
1
0
Android Send SMS from a Service?
I am trying to send SMS when the battery Level reached a particular value from a Service. I am not getting any errors but the SMS is not been sent. MY CODE: import android.app.Service; import android.content.BroadcastReceiver; import android.content.Cont...
android
service
sms
null
null
03/09/2012 19:14:20
not a real question
Android Send SMS from a Service? === I am trying to send SMS when the battery Level reached a particular value from a Service. I am not getting any errors but the SMS is not been sent. MY CODE: import android.app.Service; import android.content.BroadcastReceiver; ...
1
10,497,383
05/08/2012 11:05:27
1,375,455
05/04/2012 16:31:13
25
0
first item in dictionary
I have a dictionary <string,int> which is sorted in descending order.where, each string (key) is a term and the int (value) its count. How I get the first count? because it refers to the maximum count (frequency)....... thanks in advance.
c#
c#-4.0
null
null
null
null
open
first item in dictionary === I have a dictionary <string,int> which is sorted in descending order.where, each string (key) is a term and the int (value) its count. How I get the first count? because it refers to the maximum count (frequency)....... thanks in advance.
0
5,849,851
05/01/2011 16:54:12
680,770
03/28/2011 18:37:28
1
0
How to configure Postfix to accept connections from several hosts outside LAN?
I have Postfix 2.3 on Centos 5.5 server. I followed this how to http://wiki.centos.org/HowTos/postfix_sasl to configure Postfix to accept only TLS connections and reject plain authentication. It seems that it working but only from the local machine (Postfix server itself) If I try to 'telnet' mail server from outside...
postfix
tls
sasl
null
null
09/18/2011 22:52:07
off topic
How to configure Postfix to accept connections from several hosts outside LAN? === I have Postfix 2.3 on Centos 5.5 server. I followed this how to http://wiki.centos.org/HowTos/postfix_sasl to configure Postfix to accept only TLS connections and reject plain authentication. It seems that it working but only from the...
2
8,948,006
01/20/2012 21:21:12
1,161,494
01/20/2012 21:11:07
1
0
JAX-WS client side javascript
I have created a RESTful service using JAXWS.Tested it using command line cURL. Now I'm trying to implement javascript client side to get json message. Just doesn't work. Here's my service. @POST @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) public Rating put(@HeaderParam("Authorization...
javascript
jquery-ajax
node.js
jaxb
jax-ws
null
open
JAX-WS client side javascript === I have created a RESTful service using JAXWS.Tested it using command line cURL. Now I'm trying to implement javascript client side to get json message. Just doesn't work. Here's my service. @POST @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) public Rat...
0
5,135,325
02/27/2011 19:20:27
311,413
04/07/2010 21:32:32
11
5
LMS in python/django/Ruby/Rails/PHP
I am looking for an alternative to moodle,i did googling and i found pinax-lms-demo ,which was django based and astra which was rails based but both were empty repo. . .i need an LMS which can has following functions 1.create class 2.Assign faculty 3.Upload materials 4.Take quiz 5.forum 6.scorm 7.chat i spent ...
php
python
ruby-on-rails
django
null
null
open
LMS in python/django/Ruby/Rails/PHP === I am looking for an alternative to moodle,i did googling and i found pinax-lms-demo ,which was django based and astra which was rails based but both were empty repo. . .i need an LMS which can has following functions 1.create class 2.Assign faculty 3.Upload materials 4.Take...
0
8,826,290
01/11/2012 20:41:26
341,255
05/14/2010 13:15:52
315
0
Please tell me some libraries pr toolkit of Hidden Markov Models for C#
I am working on a project on Gesture Recognition and have decided to use to HMM. So please point out some good libraries on the .Net platform (C#) for the same. Any help will be highly appreciated warm regards
c#
toolkit
gesture-recognition
hidden-markov-models
null
01/12/2012 23:58:43
not constructive
Please tell me some libraries pr toolkit of Hidden Markov Models for C# === I am working on a project on Gesture Recognition and have decided to use to HMM. So please point out some good libraries on the .Net platform (C#) for the same. Any help will be highly appreciated warm regards
4
5,384,063
03/21/2011 21:38:41
253,976
01/19/2010 12:09:40
1,353
5
Linux "top": how to tell which process is what?
I have several cron jobs (calling my PHP scripts via `curl`) in the background that are running. I'm trying to monitor their performance. Using `top`, I see a bunch of `httpd` commands -- but I have a feeling these do not represent the cron jobs (e.g. too many httpd exit for the cron tasks being called). How can I k...
linux
unix
administration
system-administration
null
03/21/2011 21:56:02
off topic
Linux "top": how to tell which process is what? === I have several cron jobs (calling my PHP scripts via `curl`) in the background that are running. I'm trying to monitor their performance. Using `top`, I see a bunch of `httpd` commands -- but I have a feeling these do not represent the cron jobs (e.g. too many httpd ...
2
7,677,885
10/06/2011 17:03:06
718,762
04/21/2011 10:29:54
192
1
How do I setup a linux server network on a virtual machine?
I use windows 7. I want to setup a linux server, and client machines on virtual machines on my laptop pc windows 7, so that I can learn about Linux server system. I want 1 virtual machine for installing ubuntu linux server and 2 virtual machines as client machines. Can I do that with virtualbox? Could you please give m...
linux
client
virtual-machine
virtualbox
null
10/06/2011 17:14:57
off topic
How do I setup a linux server network on a virtual machine? === I use windows 7. I want to setup a linux server, and client machines on virtual machines on my laptop pc windows 7, so that I can learn about Linux server system. I want 1 virtual machine for installing ubuntu linux server and 2 virtual machines as client...
2
7,513,304
09/22/2011 10:27:37
16,989
09/17/2008 23:43:12
2,699
64
Reflection to avoid System.Web reference
I have a shared reporting dll that is used in both windows and web. I am now trying to move the windows programs to .NET 4 client profile so need to avoid System.Web references. At some points the code needs to get the directory of the website or the directory of the dll. I used code something like this: stri...
.net
reflection
system.web
null
null
null
open
Reflection to avoid System.Web reference === I have a shared reporting dll that is used in both windows and web. I am now trying to move the windows programs to .NET 4 client profile so need to avoid System.Web references. At some points the code needs to get the directory of the website or the directory of the dll...
0
10,921,129
06/06/2012 19:48:19
1,431,721
06/01/2012 22:39:11
3
0
Android to PHP and Back
Can someone provide an example of android code to send simple data to PHP server? I need to just send several string, double, and int variables from a form that was created on android device, convert those entries into a pdf document, then send that back to android. If I could just get a sample of at least sending it t...
php
android
null
null
null
06/06/2012 19:52:49
not a real question
Android to PHP and Back === Can someone provide an example of android code to send simple data to PHP server? I need to just send several string, double, and int variables from a form that was created on android device, convert those entries into a pdf document, then send that back to android. If I could just get a sa...
1
5,178,520
03/03/2011 08:56:31
635,249
02/26/2011 05:55:36
1
0
how to pass sesion variables to a hyperlink in asp.net
can any help in finding " how to pass sesion variables to a hyperlink in asp.net "
asp.net
ajax
null
null
null
09/08/2011 19:28:57
not a real question
how to pass sesion variables to a hyperlink in asp.net === can any help in finding " how to pass sesion variables to a hyperlink in asp.net "
1
7,657,915
10/05/2011 07:18:34
701,610
04/11/2011 05:38:42
30
4
How to verify content present in specific area in a page
How do we verify content under a specific area in a page. Let say i need to verify a word in the contentPane. The word may present in span, title or p. <div id="contentPane"> <span>Something</span> <title> Title </> <p> Paragraph has actual content </p> </div>
selenium
null
null
null
null
null
open
How to verify content present in specific area in a page === How do we verify content under a specific area in a page. Let say i need to verify a word in the contentPane. The word may present in span, title or p. <div id="contentPane"> <span>Something</span> <title> Title </> <p> Paragrap...
0
5,648,250
04/13/2011 11:14:29
696,701
04/07/2011 11:23:41
1
0
Which book to start with
Currently I am learning C#. I did some reading on msdn and built some stuff. I see that i miss a lot of knowledge(also basic knowledge), so i want to start with a good C# book. I have learned some basic Java three years ago and some basic C++ and i'm a beginner in programming. I got these C# books: - AA Progr...
c#
null
null
null
null
11/02/2011 18:36:00
not constructive
Which book to start with === Currently I am learning C#. I did some reading on msdn and built some stuff. I see that i miss a lot of knowledge(also basic knowledge), so i want to start with a good C# book. I have learned some basic Java three years ago and some basic C++ and i'm a beginner in programming. I got ...
4
3,902,826
10/11/2010 00:28:12
471,814
10/11/2010 00:28:12
1
0
Deserializing a JSON array of mixed types
I'm having trouble deserializing a JSON array of mixed types using the DataContractJsonSerializer class. I've spent a bunch of time looking for a solution to no avail, so I thought I'd go ahead and ask here. Basically, I am getting a JSON string like the one below. I'd like to get the array to deserialize into an Li...
c#
wcf
datacontractjsonserialize
null
null
null
open
Deserializing a JSON array of mixed types === I'm having trouble deserializing a JSON array of mixed types using the DataContractJsonSerializer class. I've spent a bunch of time looking for a solution to no avail, so I thought I'd go ahead and ask here. Basically, I am getting a JSON string like the one below. I'd ...
0
9,214,819
02/09/2012 16:32:23
1,000,343
10/18/2011 03:41:52
1,138
49
supply a vector to "classes" of dataframe
You know how you can supply a vector of names to a data frame to change the col or row names of a dataframe. Is there a similar method to supply a vector of names that alters the class of each column in a dataframe? You can do this when you read in a dataframe with read.table using colClasses. What about if the data...
r
null
null
null
null
null
open
supply a vector to "classes" of dataframe === You know how you can supply a vector of names to a data frame to change the col or row names of a dataframe. Is there a similar method to supply a vector of names that alters the class of each column in a dataframe? You can do this when you read in a dataframe with read....
0
5,138,598
02/28/2011 05:38:13
792,709
02/04/2011 09:14:08
1
0
what value will i get on @WorkingDayson the following querry
set @WorkingDays= day(DateAdd(d, -1, DateAdd(m, 1,@dtDate ))) here what will i get on @WorkingDays if @dtDate is 1/3/2011
sql
null
null
null
null
02/28/2011 05:50:12
not a real question
what value will i get on @WorkingDayson the following querry === set @WorkingDays= day(DateAdd(d, -1, DateAdd(m, 1,@dtDate ))) here what will i get on @WorkingDays if @dtDate is 1/3/2011
1
6,956,613
08/05/2011 12:54:46
716,027
04/19/2011 21:22:27
43
0
Jetty 7: OutOfMemoryError: PermGen space on application redeploy
First time app starts correctly. Then I delete webapp/*.war file and paste new version of *.war. Jetty start deploying new war but error `java.lang.OutOfMemoryError: PermGen space` occurs. How can I configure Jetty to fix error / make correct redeploy? This [solution][1] doesn't help me. Jetty version: je...
jetty
permgen
null
null
null
null
open
Jetty 7: OutOfMemoryError: PermGen space on application redeploy === First time app starts correctly. Then I delete webapp/*.war file and paste new version of *.war. Jetty start deploying new war but error `java.lang.OutOfMemoryError: PermGen space` occurs. How can I configure Jetty to fix error / make correct redeplo...
0
6,565,552
07/03/2011 21:04:48
816,620
06/26/2011 23:59:00
568
54
Is there any movement in the standards body to support a safe way to copy to the clipboard?
It seems like a general purpose need on the web that a page can copy something to the user's clipboard if the request is initiated by the user (not just by some script). A classic example is something like https://bitly.com/ that wants to provide you with a shortcut link on your clipboard that you can paste somewhere ...
javascript
standards
clipboard
web-standards
zeroclipboard
null
open
Is there any movement in the standards body to support a safe way to copy to the clipboard? === It seems like a general purpose need on the web that a page can copy something to the user's clipboard if the request is initiated by the user (not just by some script). A classic example is something like https://bitly.co...
0
8,767,600
01/07/2012 05:19:50
825,920
07/02/2011 09:13:13
85
2
Script block of Start-Job hang in Powershell?
I have the following script. The created background job never finishes. (It finishes in a few seconds if I just run the scripts in the `-ScriptBlock { ... }`). Start-Job -ScriptBlock { if ( (Get-PSSnapin -Name Sql* -ErrorAction SilentlyContinue) -eq $null ) { Add-PSSnapin Sql* ...
powershell
powershell-v2.0
null
null
null
null
open
Script block of Start-Job hang in Powershell? === I have the following script. The created background job never finishes. (It finishes in a few seconds if I just run the scripts in the `-ScriptBlock { ... }`). Start-Job -ScriptBlock { if ( (Get-PSSnapin -Name Sql* -ErrorAction SilentlyContinue) -eq $nu...
0
1,822,263
11/30/2009 20:39:27
19,540
09/20/2008 07:47:18
4,156
283
Multiple Forms with Submit enabled via Checkbox
First, housekeeping: A quick review makes me think this isn't a duplicate but would be happy to be corrected. I've got an ASP.NET MVC app that have a page with multiple forms, each form has some text fields, an agreement checkbox and a submit button. I'd like to disable the submit button if the agreement checkbox is...
asp.net-mvc
jquery
forms
checkbox
form-submit
null
open
Multiple Forms with Submit enabled via Checkbox === First, housekeeping: A quick review makes me think this isn't a duplicate but would be happy to be corrected. I've got an ASP.NET MVC app that have a page with multiple forms, each form has some text fields, an agreement checkbox and a submit button. I'd like to d...
0
4,308,056
11/29/2010 21:00:23
384,275
07/06/2010 07:34:37
1
0
how to fill an int array from textbox in c#
i want to fill an int array from a text box. how can i do int? tnks
c#
basic
null
null
null
11/29/2010 21:10:16
not a real question
how to fill an int array from textbox in c# === i want to fill an int array from a text box. how can i do int? tnks
1
10,927,468
06/07/2012 07:29:26
1,320,053
04/08/2012 08:47:29
419
38
Jboss struts2 app not deploying
I am using jBoss 5.0. it is deploying and running simple servlet app, but when i put my struts2-blank.war supplied as example app from struts2 site, it is not deploying and throws exeception Unable to load configuration. - [unknown location] at com.opensymphony.xwork2.config.ConfigurationManager.getConfigurati...
struts2
jboss5.x
web-deployment
null
null
06/07/2012 12:01:25
not a real question
Jboss struts2 app not deploying === I am using jBoss 5.0. it is deploying and running simple servlet app, but when i put my struts2-blank.war supplied as example app from struts2 site, it is not deploying and throws exeception Unable to load configuration. - [unknown location] at com.opensymphony.xwork2.confi...
1
7,975,900
11/02/2011 04:43:57
86,008
04/02/2009 04:50:55
103
6
presentModalViewController in UIInterfaceOrientationPortraitUpsideDown
I want to use presentModalViewController to show ABPeoplePickerNavigationController. But the modal controller appears in simple UIInterfaceOrientationPortrait, not upside down. So user have to rotate iPhone to select contact. Is it possible to present modal view controller in UIInterfaceOrientationPortraitUpsideDow...
iphone
cocoa-touch
null
null
null
null
open
presentModalViewController in UIInterfaceOrientationPortraitUpsideDown === I want to use presentModalViewController to show ABPeoplePickerNavigationController. But the modal controller appears in simple UIInterfaceOrientationPortrait, not upside down. So user have to rotate iPhone to select contact. Is it possible...
0
6,267,488
06/07/2011 15:18:50
406,759
07/30/2010 13:32:51
48
0
URL Rewrite Sharepoint Search issues
I am developing a SharePoint Portal in Microsoft Sharepoint 2010. The fact is that I activated URL Rewrite module on Windows Server 2008 R2 IIS 7. I am rewriting urls like this: > English/News/3/Title+Of+The+News **into** > English/News.aspx?id=3&title=Title+Of+The+News All works well, the problem is that ...
sharepoint
search
url-rewriting
null
null
null
open
URL Rewrite Sharepoint Search issues === I am developing a SharePoint Portal in Microsoft Sharepoint 2010. The fact is that I activated URL Rewrite module on Windows Server 2008 R2 IIS 7. I am rewriting urls like this: > English/News/3/Title+Of+The+News **into** > English/News.aspx?id=3&title=Title+Of+The+Ne...
0
2,821,040
05/12/2010 17:03:46
334,369
05/06/2010 11:37:11
113
3
How do I find the time difference between two datetime objects in Asp.net.
How do I find the time difference between two datetime objects in Asp.net.
c#
asp.net
null
null
null
null
open
How do I find the time difference between two datetime objects in Asp.net. === How do I find the time difference between two datetime objects in Asp.net.
0
10,049,939
04/06/2012 22:25:56
863,551
07/26/2011 13:39:58
168
1
Removing Specific Lines From Contents of a Memo field
How would I be able to use Delphi to remove data from a memo field that comes after a certain string, for example the data in the database I'm going through it displayed as such: <Data I want to keep> ======= Old Data ======== <line 1> <line 2> etc. How could I tell Delphi to remove all ...
database
delphi
paradox
null
null
null
open
Removing Specific Lines From Contents of a Memo field === How would I be able to use Delphi to remove data from a memo field that comes after a certain string, for example the data in the database I'm going through it displayed as such: <Data I want to keep> ======= Old Data ======== <line 1> <...
0
211,234
10/17/2008 06:39:47
15,055
09/17/2008 05:31:28
685
39
Best Time of Day to Code
So far I've heard two answers to this question - <b>early in the morning</b>, after you shower and get to work, before you go to any mind-numbing meetings. You can actually get some work done now. <b>Late at night</b>, when everything is taken care of, and you can just spend one to three hours working on something t...
language-agnostic
null
null
null
null
04/15/2012 21:15:20
not constructive
Best Time of Day to Code === So far I've heard two answers to this question - <b>early in the morning</b>, after you shower and get to work, before you go to any mind-numbing meetings. You can actually get some work done now. <b>Late at night</b>, when everything is taken care of, and you can just spend one to thre...
4
11,526,808
07/17/2012 16:25:21
872,344
08/01/2011 07:12:44
655
4
C# Delegate Event handler does not work?
I am writing some test function for my application. <br>In this piece of test code, I create a file stream from local Json file and deserialize that using my own wrapped `JsonDeserializer` class. using (FileStream fs = new FileStream(pathSource, FileMode.Open, FileAccess.Read)) { ...
c#
events
delegates
event-handling
anonymous-function
07/17/2012 17:51:16
too localized
C# Delegate Event handler does not work? === I am writing some test function for my application. <br>In this piece of test code, I create a file stream from local Json file and deserialize that using my own wrapped `JsonDeserializer` class. using (FileStream fs = new FileStream(pathSource, FileMode...
3
9,925,119
03/29/2012 12:16:59
815,443
06/25/2011 15:17:28
617
5
Metaclasses for lazy dataflow system in Python
I had an idea about some framework for dataflow evaluation with lazy execution. I guess I need metaclasses for it, but I don't know much about them yet. Maybe you already have an idea if the following is going to work. I'd like to write normal programs and merely by deriving objects from some metaclass I'd like to i...
python
lazy-loading
metaclass
null
null
03/29/2012 12:47:37
not constructive
Metaclasses for lazy dataflow system in Python === I had an idea about some framework for dataflow evaluation with lazy execution. I guess I need metaclasses for it, but I don't know much about them yet. Maybe you already have an idea if the following is going to work. I'd like to write normal programs and merely b...
4
11,654,689
07/25/2012 16:48:10
1,552,223
07/25/2012 16:10:03
1
0
I'm looking for some help optimizing a part of a c# application that writes/reads datatables to files
any advice would be appreciated, I'm still learning in c# so I apologize if I miss something obvious. I'm using VS2010 and the application uses net 2.0 I'm looking to speed up these two processes as much as possible. The first process is reading in data tables from a server, then storing them as cache files. Each ca...
.net
optimization
serialization
datatable
c#-2.0
null
open
I'm looking for some help optimizing a part of a c# application that writes/reads datatables to files === any advice would be appreciated, I'm still learning in c# so I apologize if I miss something obvious. I'm using VS2010 and the application uses net 2.0 I'm looking to speed up these two processes as much as pos...
0
3,335,232
07/26/2010 13:30:58
212,809
11/17/2009 11:30:50
114
2
how to get back in navigation view
hi i am new to iphone application. i am doing an application that consist of image picker and image view. i am displaying the image in imageview by selecting the image in image picker .. what i need is afetr 3 seconds i have to go back imagepicker how can i done this please give code for that
iphone
null
null
null
null
null
open
how to get back in navigation view === hi i am new to iphone application. i am doing an application that consist of image picker and image view. i am displaying the image in imageview by selecting the image in image picker .. what i need is afetr 3 seconds i have to go back imagepicker how can i done this please give...
0
9,244,461
02/11/2012 22:07:39
1,204,384
02/11/2012 21:54:22
1
0
PHP HMTLPurifier
. How and what exactly do I use it for? Is this really all I need to prevent XSS attacks? And could someone please explain the difference between htmlspecialchars,mysql_real_escape_string, htmlpurifier, and other forms of injection defense. Does HTMLPurifier defend against JS attacks? Like I said, I'm new to this so...
php
htmlpurifier
null
null
null
02/13/2012 01:59:25
not constructive
PHP HMTLPurifier === . How and what exactly do I use it for? Is this really all I need to prevent XSS attacks? And could someone please explain the difference between htmlspecialchars,mysql_real_escape_string, htmlpurifier, and other forms of injection defense. Does HTMLPurifier defend against JS attacks? Like I sa...
4
7,596,013
09/29/2011 10:33:21
909,317
08/24/2011 09:39:23
51
3
Sms Application Android develop
I need to develop an android application which when receive a message reply automatically to the sender of the message(without pressing any button) with a predefined text like(thank you for contacting we will contact you soon). Any links,suggestions most welcome. If anybody explain in brief what should i do then it ...
android
sms
null
null
null
null
open
Sms Application Android develop === I need to develop an android application which when receive a message reply automatically to the sender of the message(without pressing any button) with a predefined text like(thank you for contacting we will contact you soon). Any links,suggestions most welcome. If anybody expla...
0
10,731,791
05/24/2012 05:44:49
1,383,905
05/09/2012 07:08:21
1
2
Sqlite3 DB Path for download
Is anybody know from which link i am able to download SQlite3 Database for Xcode. I want to use Database in my project in Xcode4.2. Please provide link to download it.
iphone
ipad
null
null
null
05/25/2012 06:59:38
too localized
Sqlite3 DB Path for download === Is anybody know from which link i am able to download SQlite3 Database for Xcode. I want to use Database in my project in Xcode4.2. Please provide link to download it.
3
11,216,594
06/26/2012 22:02:34
1,031,791
11/06/2011 02:51:52
481
4
What would be the equivalent of this Python hash writting/accessing code on some lisp languages?
What would be the equivalent of this Python code: player = {"hp":10, "pos":[0,0,0], "items":[]} player.pos[0] += 5 player.items.append("banana") print player.items # << "banana" print player.pos # << [5,0,0] In Clojure (or other Lisps)?
python
clojure
lisp
scheme
common-lisp
06/29/2012 16:33:38
not a real question
What would be the equivalent of this Python hash writting/accessing code on some lisp languages? === What would be the equivalent of this Python code: player = {"hp":10, "pos":[0,0,0], "items":[]} player.pos[0] += 5 player.items.append("banana") print player.items # << "banana" print player....
1
4,962,084
02/10/2011 20:10:18
179,521
09/26/2009 16:52:35
176
19
Pinax : Out of the blue : "no such table: profiles_profile"
Note : pinax 0.7.3 I'm just running a clone of basic_project with sqlite3. It was working fine yest. Hibernated my laptop and when I opened and try to login again, I got - `no such table: profiles_profile` Opened the database dev.db using the sqlite3 client and I don't see it there. Stopped th...
django
pinax
null
null
null
null
open
Pinax : Out of the blue : "no such table: profiles_profile" === Note : pinax 0.7.3 I'm just running a clone of basic_project with sqlite3. It was working fine yest. Hibernated my laptop and when I opened and try to login again, I got - `no such table: profiles_profile` Opened the database dev.db usi...
0
10,526,319
05/10/2012 01:15:20
947,559
09/15/2011 19:07:17
74
4
Best Ruby on Rails Front-end development strategy
Hey all you ruby on railers... I'm just a newbie as of right now.. currently work on my first rails project at work. I'm going to be taking some time on my own time to dig deeper and I was wondering what the best strategy is to go about front-end development of a rails app. is it better/easier to have a workf...
ruby-on-rails
ruby
ruby-on-rails-3
workflow
frontend
05/10/2012 04:05:03
off topic
Best Ruby on Rails Front-end development strategy === Hey all you ruby on railers... I'm just a newbie as of right now.. currently work on my first rails project at work. I'm going to be taking some time on my own time to dig deeper and I was wondering what the best strategy is to go about front-end development...
2
9,883,755
03/27/2012 05:21:45
1,294,672
03/27/2012 05:16:10
1
0
PHP mail function not sending mail
I am designing a web site I used mail function on execution its not showing any error but mail is not being sent what can be done? I am using App server
php
email
function
null
null
04/19/2012 11:06:54
not a real question
PHP mail function not sending mail === I am designing a web site I used mail function on execution its not showing any error but mail is not being sent what can be done? I am using App server
1
11,658,191
07/25/2012 20:36:18
1,167,893
01/24/2012 20:26:17
15
0
Getting data from three tables in one query
I am trying to retrieve data from three tables at once. The tables look like: *categories* id category messageid *messages* id title message *comments* id messageid message What I am trying to get is 1 message (because I have a `WHERE` clause based on id `3...
sql
query
null
null
null
null
open
Getting data from three tables in one query === I am trying to retrieve data from three tables at once. The tables look like: *categories* id category messageid *messages* id title message *comments* id messageid message What I am trying to get is 1 messag...
0
9,985,318
04/02/2012 23:43:04
1,309,121
04/02/2012 21:57:49
3
0
division of each of the arr's entries by the next one
Write a java class Ris11 with a method comeon that takes in a double array arr and returns an array new whose entries, except for the very last one, are results of the division of each of the arr's entries by the next one. The last entry does not change. The method comeon should be applied to array {1.8, 3.6, 5.0...
java
arrays
null
null
null
04/03/2012 22:40:00
not a real question
division of each of the arr's entries by the next one === Write a java class Ris11 with a method comeon that takes in a double array arr and returns an array new whose entries, except for the very last one, are results of the division of each of the arr's entries by the next one. The last entry does not change. ...
1
2,168,610
01/30/2010 16:52:48
157,027
08/15/2009 20:56:47
470
6
Which Html Parser is best ?
I code a lot of parsers. Uptil now, I was using HtmlUnit headless browser for parsing and browser automation. Now, I want to separate both the tasks. As 80% of my work involves just parsing, so I want to use a light html parser because it takes much time in HtmlUnit to first load a page, then get the source and t...
java
html
parsing
html-parsing
null
06/14/2012 13:07:05
not constructive
Which Html Parser is best ? === I code a lot of parsers. Uptil now, I was using HtmlUnit headless browser for parsing and browser automation. Now, I want to separate both the tasks. As 80% of my work involves just parsing, so I want to use a light html parser because it takes much time in HtmlUnit to first load ...
4
10,057,089
04/07/2012 18:20:46
1,115,070
12/25/2011 05:04:21
35
0
Recommend a Java Graphics API for this application idea
I want to make a tool for creating FSM control circuit simulations. NB! not the ALU part. Can anyone recommend a good Java API with as much functionality already available as possible? Itll basically be something like a graphical modelling language editor. The user should be able to make and run stuff like this:!...
java
api
diagnostics
fsm
circuit
06/13/2012 13:17:42
not constructive
Recommend a Java Graphics API for this application idea === I want to make a tool for creating FSM control circuit simulations. NB! not the ALU part. Can anyone recommend a good Java API with as much functionality already available as possible? Itll basically be something like a graphical modelling language editor....
4
6,720,959
07/16/2011 23:33:53
389,200
07/12/2010 05:12:35
322
3
Insert using Loop in SQL Query for SQL SERVER 2008
/****** Script for SelectTopNRows command from SSMS ******/ SELECT [Id] AS [SeatId] -- ignore seatId from the oringal table- it's not the true id, it's like a title FROM [pointsebagothisticketcomdb].[dbo].[tb_Seat] where [sectionID] = 1 AND [RowId] = 'C' -- for each id TO TH...
sql-server
sql
null
null
null
07/18/2011 20:11:52
not a real question
Insert using Loop in SQL Query for SQL SERVER 2008 === /****** Script for SelectTopNRows command from SSMS ******/ SELECT [Id] AS [SeatId] -- ignore seatId from the oringal table- it's not the true id, it's like a title FROM [pointsebagothisticketcomdb].[dbo].[tb_Seat] where [sectionID] =...
1
11,100,636
06/19/2012 12:11:37
1,335,649
04/16/2012 06:37:25
1
0
Its all about CLR Hosting
Why we need CLR Hosting? Can I do CLR Hosting using C#? If yes then please give an example.
c#
.net
null
null
null
06/19/2012 14:01:13
not constructive
Its all about CLR Hosting === Why we need CLR Hosting? Can I do CLR Hosting using C#? If yes then please give an example.
4
1,481,583
09/26/2009 16:28:47
87,994
04/07/2009 08:41:40
262
12
Best practices in Access programming
I'm wondering about some ideas which can improve process of designing solutions using Access and VBA programming language. Of course I'm not talking about best programming practices in general, but only these directly related to Access and VBA. Everybody knows, that VBA has poor object-oriented programming support,...
access
vba
rad
null
null
05/30/2012 11:07:07
not constructive
Best practices in Access programming === I'm wondering about some ideas which can improve process of designing solutions using Access and VBA programming language. Of course I'm not talking about best programming practices in general, but only these directly related to Access and VBA. Everybody knows, that VBA has...
4
8,325,482
11/30/2011 11:49:18
912,469
08/25/2011 15:36:03
16
0
A C++ implementation of log that one can specify the base for?
:) I've been playing around with some math recently and I would like to know if anyone has written/seen a C++ implementation of log that one can specify the base (root..?) for? As in: ![Mathematical function definition](http://i1091.photobucket.com/albums/i383/dannydeth1/forumla.png) Obviously I would prefer g...
c++
math
logging
null
null
null
open
A C++ implementation of log that one can specify the base for? === :) I've been playing around with some math recently and I would like to know if anyone has written/seen a C++ implementation of log that one can specify the base (root..?) for? As in: ![Mathematical function definition](http://i1091.photobucket.c...
0
8,000,639
11/03/2011 19:21:31
814,670
06/24/2011 19:41:33
1
2
Facebook Credits: Identical responses, 1 works and the other doesnt
So I am publishing my second Facebook Application (using the C# SDK), and am having problems getting the Facebook credits integration to work properly. I got it set up and running for my first application, but I'm utterly stumped why it's not working on this application. I am getting the Error Code 1383046 (AppInva...
facebook
facebook-c#-sdk
facebook-credits
null
null
null
open
Facebook Credits: Identical responses, 1 works and the other doesnt === So I am publishing my second Facebook Application (using the C# SDK), and am having problems getting the Facebook credits integration to work properly. I got it set up and running for my first application, but I'm utterly stumped why it's not work...
0
11,166,510
06/23/2012 03:12:37
1,476,300
06/23/2012 03:09:39
1
0
Android VideoView - force buffer entire file
Is it possible to force VideoView to download/buffer the entire file(the file is remote URL)? The idea is to force the entire video to be downloaded so that user could view it when offline.
android
videoview
null
null
null
null
open
Android VideoView - force buffer entire file === Is it possible to force VideoView to download/buffer the entire file(the file is remote URL)? The idea is to force the entire video to be downloaded so that user could view it when offline.
0
660,175
03/18/2009 21:24:54
58,456
01/23/2009 22:11:37
1
0
php mcrypt_encrypt to C/C++/MFC equalivilent
I have a PHP script that generates a product key for an application written in c++/MFC. The product key is email to the user and the user copy and pasts it in to my application. function EncryptData( $data ) { $key = "abcdefghijklmnopqrstuvwxyz"; // This encrypt method is described here // htt...
c++
mfc
php
encryption
crypto
null
open
php mcrypt_encrypt to C/C++/MFC equalivilent === I have a PHP script that generates a product key for an application written in c++/MFC. The product key is email to the user and the user copy and pasts it in to my application. function EncryptData( $data ) { $key = "abcdefghijklmnopqrstuvwxyz"; // ...
0
9,705,281
03/14/2012 15:49:27
393,406
07/16/2010 02:04:05
2,044
88
`with` and `let` in PHP?
Recently I found out about [`with`][1] and [`let`][2] statements for javascript. So, is there something similar for PHP or how could I achieve this in PHP? [1]: https://developer.mozilla.org/en/JavaScript/Reference/Statements/with [2]: https://developer.mozilla.org/en/JavaScript/Reference/Statements/let
php
javascript
with-statement
let-statement
null
null
open
`with` and `let` in PHP? === Recently I found out about [`with`][1] and [`let`][2] statements for javascript. So, is there something similar for PHP or how could I achieve this in PHP? [1]: https://developer.mozilla.org/en/JavaScript/Reference/Statements/with [2]: https://developer.mozilla.org/en/JavaScript...
0
1,527,366
10/06/2009 18:48:51
135,498
07/09/2009 07:46:48
20
1
jQuery - get select with exactly 2 options
I need to find all select's with exactly 2 options. The code I'm using is: $('select.ct option:nth-child(2)') but it seems to get everything with more than 2 options.
jquery
select
null
null
null
null
open
jQuery - get select with exactly 2 options === I need to find all select's with exactly 2 options. The code I'm using is: $('select.ct option:nth-child(2)') but it seems to get everything with more than 2 options.
0
3,080,896
06/20/2010 20:49:57
183,528
10/03/2009 08:19:49
6,938
392
What is the best way to stop phishing for online banking?
[Phishing][1] is a very serious problem that we face. However, banks are the biggest targets. What methods can a bank use to protect its self from phishing attacks? What methods should someone use to protect themselves. Why does it stop attacks? [1]: http://en.wikipedia.org/wiki/Phishing
security
phishing
null
null
null
06/27/2010 02:56:09
off topic
What is the best way to stop phishing for online banking? === [Phishing][1] is a very serious problem that we face. However, banks are the biggest targets. What methods can a bank use to protect its self from phishing attacks? What methods should someone use to protect themselves. Why does it stop attacks? [1...
2
6,410,048
06/20/2011 10:49:51
217,786
11/24/2009 12:47:24
379
12
What is better to use for intensive cross-platform network and IPC: Boost or QT?
What is better to use for intensive cross-platform network and IPC: Boost or QT? Or maybe Apache Portable Runtime?
c++
qt
boost
network-programming
ipc
06/20/2011 11:49:56
not constructive
What is better to use for intensive cross-platform network and IPC: Boost or QT? === What is better to use for intensive cross-platform network and IPC: Boost or QT? Or maybe Apache Portable Runtime?
4
4,319,308
11/30/2010 22:22:16
430,319
08/25/2010 05:58:14
1
0
How I can create a log for web sercices in a dynamic web project in Java?
I'm having a problem creating my own logs for a application that I'm developing in my work, the next code that I have works perfectly running in a single class method with Main. try { LogManager lm = LogManager.getLogManager(); Logger logger; FileHandler fh = new FileHandler(fileLogg...
java
web-services
logging
null
null
null
open
How I can create a log for web sercices in a dynamic web project in Java? === I'm having a problem creating my own logs for a application that I'm developing in my work, the next code that I have works perfectly running in a single class method with Main. try { LogManager lm = LogManager.getLogManage...
0
11,154,649
06/22/2012 10:42:03
1,262,477
03/11/2012 15:47:55
887
3
Replacing the content of a Tag in HTML using java script
Html: Input: <ccc> <link> <a title="Google" href="http://google.com">google.com</a> </link> <text> The text <a title="Some link" href="linkk">ABCD</a> to be replaced </text> </ccc> Using the Java script need to get the out put as Output: <a title="Go...
javascript
null
null
null
null
06/22/2012 13:18:30
not a real question
Replacing the content of a Tag in HTML using java script === Html: Input: <ccc> <link> <a title="Google" href="http://google.com">google.com</a> </link> <text> The text <a title="Some link" href="linkk">ABCD</a> to be replaced </text> </ccc> Using the Java script need to ...
1
8,231,065
11/22/2011 17:30:40
959,345
09/22/2011 14:33:46
1
0
How do I call a Table-Valued as part of a Linq to Entities Command
I would like to be able to use Full text search in Code First Entity Framework. However this is not the only SQL specific function the team I'm in will be likely to use in the future. I know that Code First isn't *supposed* to do database specific stuff or UDFs. However if I can't get this working I will have slo...
sql-server-2005
entity-framework
ef-code-first
udf
null
null
open
How do I call a Table-Valued as part of a Linq to Entities Command === I would like to be able to use Full text search in Code First Entity Framework. However this is not the only SQL specific function the team I'm in will be likely to use in the future. I know that Code First isn't *supposed* to do database specif...
0
10,065,793
04/08/2012 19:33:08
1,244,239
11/30/2010 18:34:44
557
8
Dropdown Changing Session Value
I'm working out of codeigniter and trying to find out how I can change the value of a session variable when the user changes a dropdown menu. <select name="testselect"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</...
php
codeigniter
null
null
null
04/09/2012 14:31:14
not a real question
Dropdown Changing Session Value === I'm working out of codeigniter and trying to find out how I can change the value of a session variable when the user changes a dropdown menu. <select name="testselect"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</o...
1
8,352,803
12/02/2011 06:59:50
1,072,559
11/30/2011 02:49:44
1
0
Permutation and combination - Discrete Math
You have 15 marbles and three jars labeled A, B, and C. How many ways can you put the marbles into the jars… (a) If each marble is different? (My answer C(15,3) ) (b) If each marble is the same? ( My Answer that i think is C(15+3-1,3) as order doesnt matter) NOT SURE THOUGH!! (c) If each marble is the same...
math
permutation
combinations
discrete-mathematics
null
12/02/2011 07:19:53
off topic
Permutation and combination - Discrete Math === You have 15 marbles and three jars labeled A, B, and C. How many ways can you put the marbles into the jars… (a) If each marble is different? (My answer C(15,3) ) (b) If each marble is the same? ( My Answer that i think is C(15+3-1,3) as order doesnt matter) NOT...
2
9,342,292
02/18/2012 15:01:51
1,218,166
02/18/2012 14:47:38
1
0
understand the program's logic
I want to know why we can't write method in method in java and Why will the code not execute public class Quiz{ public static void main(String[] args) { Book b = new Book(18); Book c = new Book(10); c = compare(c, b); } public static Book compare(Book k, Book m) { ...
java
null
null
null
null
02/19/2012 03:21:19
not a real question
understand the program's logic === I want to know why we can't write method in method in java and Why will the code not execute public class Quiz{ public static void main(String[] args) { Book b = new Book(18); Book c = new Book(10); c = compare(c, b); } public static Bo...
1
669,764
03/21/2009 18:48:26
22,996
09/27/2008 15:12:31
457
17
How to Consume WCF Service with Android
I am creating a server in .NET and a client application for Android. I would like to implement an authentication method which sends username and password to server and a server sends back a session string. I'm not familiar with WCF so I would really appreciate your help. In java I've written the following method:...
android
wcf
rest
.net
null
null
open
How to Consume WCF Service with Android === I am creating a server in .NET and a client application for Android. I would like to implement an authentication method which sends username and password to server and a server sends back a session string. I'm not familiar with WCF so I would really appreciate your help. ...
0
5,074,240
02/22/2011 05:06:32
627,735
02/22/2011 05:06:32
1
0
Android app rejection reasons
please anyone guide me for the steps to consider to avoid rejection of android applications at app store
android
null
null
null
null
12/04/2011 18:18:59
off topic
Android app rejection reasons === please anyone guide me for the steps to consider to avoid rejection of android applications at app store
2
6,016,327
05/16/2011 10:52:43
744,606
05/09/2011 05:59:20
54
0
How to define dynamic constructor in C++??
It allocates memory to the objects while creating to sane memory space. but how to define the dynamic constructor. plz explain with an example. Thanks.
c++
null
null
null
null
05/16/2011 11:16:28
not a real question
How to define dynamic constructor in C++?? === It allocates memory to the objects while creating to sane memory space. but how to define the dynamic constructor. plz explain with an example. Thanks.
1
2,912,025
05/26/2010 10:20:56
215,571
11/20/2009 16:06:52
1,521
35
Interesting task using random numbers only
Given any number of the random real numbers from the interval [0,1] is there exist any method to construct a floating point number with zero decimal part? Your algorithm will use only random() function calls and no variables or constants. **No constants and variables** are allowed, **no type casting** is allowed. Y...
python
c
algorithm
math
randomness
05/26/2010 12:21:53
not a real question
Interesting task using random numbers only === Given any number of the random real numbers from the interval [0,1] is there exist any method to construct a floating point number with zero decimal part? Your algorithm will use only random() function calls and no variables or constants. **No constants and variables*...
1
8,189,673
11/18/2011 21:57:50
379,235
06/29/2010 16:45:28
982
11
Writing Python Code Effectively
I have been writing `Python` for over some months and can read/write python well, but Python is much more about just writing. When I see other people's code on `github`, answers of `stackoverflow`, I realize there is so much to learn about writing smart code in python. I am asking python community about how/where...
python
null
null
null
null
11/18/2011 22:05:09
not a real question
Writing Python Code Effectively === I have been writing `Python` for over some months and can read/write python well, but Python is much more about just writing. When I see other people's code on `github`, answers of `stackoverflow`, I realize there is so much to learn about writing smart code in python. I am as...
1
9,778,191
03/19/2012 21:25:38
1,279,531
03/19/2012 20:58:31
1
0
problems with can_upload flag
We have written an application that posts text and images to Facebook. The application works almost as intended, but there remains a major problem. This problem seems to be specific to the use of Fan Page albums. We have created a FB account that has 2 Fan Pages, each with 3 user albums. However, several of the albums ...
api
facebook-graph-api
null
null
null
null
open
problems with can_upload flag === We have written an application that posts text and images to Facebook. The application works almost as intended, but there remains a major problem. This problem seems to be specific to the use of Fan Page albums. We have created a FB account that has 2 Fan Pages, each with 3 user albu...
0
5,267,785
03/11/2011 00:48:06
654,552
03/11/2011 00:48:06
1
0
AdventureWorks & AdventureWorks2005
I have downloaded and installed Microsoft SQL server Management Studio Express SQLServer 2005. I could not find AdventureWorks databases in it. Do i suppose to download and install it as well? If so, could someone point me to the site where i can download AdventureWorks and its instruction? Once again, I am using Micro...
sql
null
null
null
null
null
open
AdventureWorks & AdventureWorks2005 === I have downloaded and installed Microsoft SQL server Management Studio Express SQLServer 2005. I could not find AdventureWorks databases in it. Do i suppose to download and install it as well? If so, could someone point me to the site where i can download AdventureWorks and its ...
0
8,332,311
11/30/2011 20:10:54
138,601
07/15/2009 09:32:10
383
8
Objective C / C static method performance
Here is a method from a class in some of Apple's [example code][1]. Why is this method defined as a static C method rather than an Objective C class method or a class method? In the context in which it is used I suppose it needs to be as performant as possible. Is this why? Is this the most performant way to declare a ...
objective-c
c
performance
methods
static
null
open
Objective C / C static method performance === Here is a method from a class in some of Apple's [example code][1]. Why is this method defined as a static C method rather than an Objective C class method or a class method? In the context in which it is used I suppose it needs to be as performant as possible. Is this why...
0