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
6,356,263
06/15/2011 10:22:47
294,642
03/16/2010 10:29:58
1,644
50
SQL: How do I port sql server database via t-sql scripts
I have to port sql server (2008) database with t-sql scripts. I can generate "create" script per each database object (stored procedure, table) from Sql Server Management Studio (though it looks to take much time) How do I port data for tables? I'd like to have scripts like that: INSERT INTO ... VALUES(...) ...
sql
sql-server
tsql
ssms
null
null
open
SQL: How do I port sql server database via t-sql scripts === I have to port sql server (2008) database with t-sql scripts. I can generate "create" script per each database object (stored procedure, table) from Sql Server Management Studio (though it looks to take much time) How do I port data for tables? I'd like ...
0
1,995,905
01/03/2010 19:03:30
165,448
08/29/2009 21:20:18
29
2
Count records returned in a search - ROR
I'm trying to get rails to return an count of the records returned in a search (search results found); I can get rails to count the total amount of records using > Inventory.count However when I enter @advsearch.count it blows up. Any ideas? The code below is my controller: def new @advsearch ...
search
ruby-on-rails
controller
null
null
null
open
Count records returned in a search - ROR === I'm trying to get rails to return an count of the records returned in a search (search results found); I can get rails to count the total amount of records using > Inventory.count However when I enter @advsearch.count it blows up. Any ideas? The code below is my con...
0
1,925,576
12/18/2009 00:39:13
233,421
12/17/2009 00:41:31
16
0
Is it worth me learning C as a Web Developer? Will i ever use it?
Is it worth me learning the programming language C as a web developer, currently using PHP and Ruby on Rails? Will i ever need to use it as a web developer? Thank you in advance to all you good people out there?
c
php
ruby-on-rails
null
null
02/01/2012 04:12:02
not constructive
Is it worth me learning C as a Web Developer? Will i ever use it? === Is it worth me learning the programming language C as a web developer, currently using PHP and Ruby on Rails? Will i ever need to use it as a web developer? Thank you in advance to all you good people out there?
4
9,521,385
03/01/2012 17:55:50
946,972
09/15/2011 13:57:51
22
0
database data syn error help please
CREATE TABLE IF NOT EXISTS userdata( UID BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, Username CHAR (50) NOT NULL, DisplayName CHAR (50), Signature CHAR (255), PRIMARY KEY(UID), UNIQUE(UID,Username), INDEX(UID)) CREATE TABLE IF NOT EXISTS addressbook( EID BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, UID BIGINT UNSIGNED ...
mysql
null
null
null
null
03/02/2012 03:33:42
too localized
database data syn error help please === CREATE TABLE IF NOT EXISTS userdata( UID BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, Username CHAR (50) NOT NULL, DisplayName CHAR (50), Signature CHAR (255), PRIMARY KEY(UID), UNIQUE(UID,Username), INDEX(UID)) CREATE TABLE IF NOT EXISTS addressbook( EID BIGINT UNSIGNED NOT ...
3
8,799,693
01/10/2012 07:02:03
1,046,069
11/14/2011 17:40:41
11
0
How Retrieve data to PDF from a web service using itext library?
I am creating a PDF which need to retrieve data from my web service. I am using itext library. I have tried many ways but non of them were successful. i tried the SOAP protocol using javascript but i am getting an error saying 'NotAllowedError: Security settings prevent access to this property or method.' same issue ...
c#
itextsharp
itext
null
null
02/15/2012 13:32:43
too localized
How Retrieve data to PDF from a web service using itext library? === I am creating a PDF which need to retrieve data from my web service. I am using itext library. I have tried many ways but non of them were successful. i tried the SOAP protocol using javascript but i am getting an error saying 'NotAllowedError: Sec...
3
3,170,258
07/03/2010 03:54:12
225,947
12/06/2009 21:04:22
100
12
Communication between microcontroller and separately powered PCB (electronics)
On one board I have a microcontroller with one power supply and on another I have a Flip Flop with a separate power supply. I want to connect a pin of the microcontroller to the reset pin of the flip flop. Can I just put a wire accross or does it need more than that? I was going to do that but now I'm not sure that wou...
communication
microcontroller
null
null
null
07/03/2010 06:31:46
off topic
Communication between microcontroller and separately powered PCB (electronics) === On one board I have a microcontroller with one power supply and on another I have a Flip Flop with a separate power supply. I want to connect a pin of the microcontroller to the reset pin of the flip flop. Can I just put a wire accross ...
2
7,546,334
09/25/2011 15:03:45
955,256
09/20/2011 16:49:21
30
0
Search for a keyword in C# and output the line as a string
How would it be possible to search for a string e.g. #Test1 in a text file and then output the line below it as a string e.g. Test.txt #Test1 86/100 #Test2 99/100 #Test3 13/100 so if #Test2 was the search keyword "99/200" would be turned into a string
c#
.net
windows
null
null
null
open
Search for a keyword in C# and output the line as a string === How would it be possible to search for a string e.g. #Test1 in a text file and then output the line below it as a string e.g. Test.txt #Test1 86/100 #Test2 99/100 #Test3 13/100 so if #Test2 was the search k...
0
1,318,928
08/23/2009 16:18:21
113,843
05/28/2009 16:02:07
1
0
libxml-ruby parsing HELP...
Alright, switching from working Hpricot to Libxml-ruby due to speed and well the disappearance of _why, looked at Nokogiri for a second but decided to look at Libxml-ruby for speed and longevity. I must be missing something basic but what im trying to do isn't working, here's my XML string file =<<XML <?xm...
libxml-ruby
nokogiri
hpricot
ruby
null
null
open
libxml-ruby parsing HELP... === Alright, switching from working Hpricot to Libxml-ruby due to speed and well the disappearance of _why, looked at Nokogiri for a second but decided to look at Libxml-ruby for speed and longevity. I must be missing something basic but what im trying to do isn't working, here's my XML str...
0
9,903,515
03/28/2012 08:13:08
889,496
08/11/2011 08:23:18
11
0
The biggest drawback of MonoTouch
MonoTouch is great for cross-platform app development. This makes a very strong business argument and I am on verge of developing using MonoTouch with prospects of branching into Android and WinMo. Before starting commercial development in MonoTouch I want to ask one last question, just in case I've missed something cr...
objective-c
monotouch
comparison
null
null
03/28/2012 12:42:23
not constructive
The biggest drawback of MonoTouch === MonoTouch is great for cross-platform app development. This makes a very strong business argument and I am on verge of developing using MonoTouch with prospects of branching into Android and WinMo. Before starting commercial development in MonoTouch I want to ask one last question...
4
9,631,610
03/09/2012 09:22:47
1,258,924
03/09/2012 09:13:24
1
0
MySQL Inner Join 'Unkown column'
I did my reading on this and still can't make sense why my query doesn't work. It's a rather simple INNER JOIN and we're working on MySQL5. I know, there was a change with join with the precedence of explicitly called joins over comas. But I'm not doing any of that. My assembled query looks like this: SELECT ...
mysql
syntax-error
inner-join
iunknown
null
null
open
MySQL Inner Join 'Unkown column' === I did my reading on this and still can't make sense why my query doesn't work. It's a rather simple INNER JOIN and we're working on MySQL5. I know, there was a change with join with the precedence of explicitly called joins over comas. But I'm not doing any of that. My assembled...
0
8,526,695
12/15/2011 21:14:31
1,067,018
11/26/2011 15:11:13
35
0
MySQL Count rows
I have a database Quiz Attempts Quiz1 1 Quiz1 2 Quiz1 3 Quiz1 4 Quiz2 1 Quiz2 2 I want the output like Quiz count(Attempts) Quiz1 4 Quiz2 2
mysql
null
null
null
null
12/15/2011 22:27:00
not a real question
MySQL Count rows === I have a database Quiz Attempts Quiz1 1 Quiz1 2 Quiz1 3 Quiz1 4 Quiz2 1 Quiz2 2 I want the output like Quiz count(Attempts) Quiz1 4 Quiz2 2
1
8,083,010
11/10/2011 16:38:52
962,242
09/24/2011 03:57:02
6
0
Optimal SQL query
I have a list of ids and need to retrieve each record by id. Our application uses hibernate as ORM framework. What is the optimal way of querying? Using hibernate's find(id) for each id or execute a sql query with where in clause passing list of ids. Thanks Bala
sql
hibernate
query-optimization
null
null
11/10/2011 20:56:48
not a real question
Optimal SQL query === I have a list of ids and need to retrieve each record by id. Our application uses hibernate as ORM framework. What is the optimal way of querying? Using hibernate's find(id) for each id or execute a sql query with where in clause passing list of ids. Thanks Bala
1
7,656,578
10/05/2011 04:00:22
979,644
10/05/2011 03:52:36
1
0
Java application that uses a string method and length
How do I design and implement a Java application that reads a string from the user and prints it one character per line from right to left?
java
null
null
null
null
10/05/2011 04:05:11
not a real question
Java application that uses a string method and length === How do I design and implement a Java application that reads a string from the user and prints it one character per line from right to left?
1
2,039,282
01/11/2010 00:31:32
20,895
09/23/2008 04:36:32
81
7
c# inheritance override question
What would be the output of this? public class Letter { public virtual string AsAString() { return "???"; } public void example() { this.AsAString(); } } public class A : Letter { public override string AsAString() { retu...
c#
inheritance
null
null
null
null
open
c# inheritance override question === What would be the output of this? public class Letter { public virtual string AsAString() { return "???"; } public void example() { this.AsAString(); } } public class A : Letter { pub...
0
7,358,547
09/09/2011 07:44:54
189,006
10/13/2009 10:27:55
1,697
72
Probelm in .Net JSON based Web service
I am developing a ASP .Net Web service. I want the data in JSON format. But I am getting only partial results. This is about the environment. > Microsoft Visual Studio 2008 Version 9.0.21022.8 RTM Microsoft .NET > Framework Version 3.5 > > Installed Edition: Professional I have included the following i...
asp.net
web-services
json
null
null
null
open
Probelm in .Net JSON based Web service === I am developing a ASP .Net Web service. I want the data in JSON format. But I am getting only partial results. This is about the environment. > Microsoft Visual Studio 2008 Version 9.0.21022.8 RTM Microsoft .NET > Framework Version 3.5 > > Installed Edition: Pro...
0
7,332,772
09/07/2011 11:03:07
932,547
09/07/2011 11:03:07
1
0
what's your programming question? be specific
I have a form with 2 submit buttons: other text controls here <SubmitControl(preview=Preview) (readonly)> <SubmitControl(<None>=Send) (readonly)> After populating the text fields and doing br.submit() it seems it clicks the preview submit. How can I submit the form using the ...
python
forms
mechanize
null
null
09/07/2011 12:48:42
not a real question
what's your programming question? be specific === I have a form with 2 submit buttons: other text controls here <SubmitControl(preview=Preview) (readonly)> <SubmitControl(<None>=Send) (readonly)> After populating the text fields and doing br.submit() it seems it clicks the pr...
1
1,432,619
09/16/2009 12:20:24
169,210
09/06/2009 09:29:40
87
3
How to handle precision in Floating point arithmetic in C
In programming contests, floating point arithmetic related questions say "the error is answer must be less than 1e-6" or "The answer must be correct upto 6 decimal places". Does this mean that I can perform calculations on FP variables without worrying about the precision and only while printing I should write like ...
floating-point
c
null
null
null
null
open
How to handle precision in Floating point arithmetic in C === In programming contests, floating point arithmetic related questions say "the error is answer must be less than 1e-6" or "The answer must be correct upto 6 decimal places". Does this mean that I can perform calculations on FP variables without worrying ab...
0
11,310,307
07/03/2012 11:50:48
1,427,776
05/31/2012 07:36:40
6
0
Create a apps that allow to user login with his facebook id and password
I would like to make an apps that user don't input many time when user would like to use this application. I mean, I'm developing a apps in which i don't want to its user create new account or registration for login, it(my apps) should be allow facebook id and password for login. i want to just verify a facebook...
android
facebook
null
null
null
07/05/2012 03:55:25
not a real question
Create a apps that allow to user login with his facebook id and password === I would like to make an apps that user don't input many time when user would like to use this application. I mean, I'm developing a apps in which i don't want to its user create new account or registration for login, it(my apps) should be...
1
4,210,534
11/18/2010 00:18:21
435,645
08/31/2010 07:01:49
1
0
String with number as Variable , Unix C question.
I want to use abc1 ,abc2, abc3,abc4,..abc100,as struct variable name. But I don't know how to set this? have no idea. Can anybody help me out? Thanks indeed.
c
string
gcc
ansi
null
11/22/2010 02:49:45
not a real question
String with number as Variable , Unix C question. === I want to use abc1 ,abc2, abc3,abc4,..abc100,as struct variable name. But I don't know how to set this? have no idea. Can anybody help me out? Thanks indeed.
1
5,567,299
04/06/2011 13:40:20
694,917
04/06/2011 13:40:20
1
0
SQL VB.net insert using select AND values
New to using SQL and I am having trouble accomplishing something that I figured would be simple. I am trying to create and INSERT that will insert the MAX() value from the first column in one table to the first column in another table while the rest of the columns will be filled with parameters. I have tried swit...
sql
vb.net
tsql
null
null
null
open
SQL VB.net insert using select AND values === New to using SQL and I am having trouble accomplishing something that I figured would be simple. I am trying to create and INSERT that will insert the MAX() value from the first column in one table to the first column in another table while the rest of the columns will ...
0
8,115,743
11/13/2011 23:44:50
1,044,711
11/13/2011 23:31:19
1
0
Transfer HTML elements from one list to another with Javascript
Thanks for reading! Just have a problem with the following javascript function. I have two UL and I need that when the user clicks on a LI, this element transfers to the other UL. I've managed to move them onClick from on list to the other, the problem appears when I try to move again a LI that was previously in the...
javascript
html
dom
javascript-events
null
null
open
Transfer HTML elements from one list to another with Javascript === Thanks for reading! Just have a problem with the following javascript function. I have two UL and I need that when the user clicks on a LI, this element transfers to the other UL. I've managed to move them onClick from on list to the other, the pro...
0
11,441,942
07/11/2012 21:42:46
603,840
02/04/2011 21:34:17
754
8
stop warpper div from moving when scaling browser
I have a simple page that has a wrapper with a background color on it. When I scale the browser in to a small size the wrapper pops out of position. Its like 20px at the left was added. Also when you scale the browser in small the input fields drop down to the next line. How can I stop that. [http://www.artaholi...
html
css
null
null
null
null
open
stop warpper div from moving when scaling browser === I have a simple page that has a wrapper with a background color on it. When I scale the browser in to a small size the wrapper pops out of position. Its like 20px at the left was added. Also when you scale the browser in small the input fields drop down to the ...
0
10,916,455
06/06/2012 14:37:36
1,382,191
05/08/2012 13:29:53
20
0
Is xml code building behind in VS 2010?
Is xml code building behind after generating UML class diagrams?Sorry for the silly question,I don`t have Ultimate edition to check. Thanks in advance.
visual-studio
null
null
null
null
06/07/2012 10:17:58
not a real question
Is xml code building behind in VS 2010? === Is xml code building behind after generating UML class diagrams?Sorry for the silly question,I don`t have Ultimate edition to check. Thanks in advance.
1
8,165,259
11/17/2011 10:02:30
905,318
08/22/2011 06:13:09
377
10
Automatic synchronization via rsync
I need to keep my code synchronized with the same code on virtual machine. Is there a way to monitor file changes and automatically call rsync or something like that?
sync
rsync
null
null
null
11/17/2011 23:26:19
off topic
Automatic synchronization via rsync === I need to keep my code synchronized with the same code on virtual machine. Is there a way to monitor file changes and automatically call rsync or something like that?
2
7,051,754
08/13/2011 16:26:53
893,223
08/13/2011 16:26:53
1
0
Accessing hierarchical data via JDBC
I have a table Menu that has column id and parent. Can we use normal JDBC (no ORM) to load hierarchy data from database???
java
null
null
null
null
08/13/2011 23:45:39
not a real question
Accessing hierarchical data via JDBC === I have a table Menu that has column id and parent. Can we use normal JDBC (no ORM) to load hierarchy data from database???
1
8,757,196
01/06/2012 11:33:19
1,129,862
01/04/2012 11:58:44
1
0
android java with google app engine
I am trying to develop an android application. My requirement is to use the google app engine. how to use google app engine and what is the use of google app engine?
java
android
google-app-engine
null
null
01/06/2012 15:07:12
not a real question
android java with google app engine === I am trying to develop an android application. My requirement is to use the google app engine. how to use google app engine and what is the use of google app engine?
1
5,705,567
04/18/2011 15:54:42
711,368
04/16/2011 17:22:31
6
0
splitting a string with comma(,)
Is there any wy to split a string with comma str.split(",") will give same string? Also var t = str.split("#") let # be any character..then what is value of t...I know split() returns an array
split
comma
null
null
null
04/18/2011 16:01:20
not a real question
splitting a string with comma(,) === Is there any wy to split a string with comma str.split(",") will give same string? Also var t = str.split("#") let # be any character..then what is value of t...I know split() returns an array
1
3,711,530
09/14/2010 17:51:20
201,666
11/03/2009 12:46:58
24
4
Is There any design pattern to make reports in my application?
I am doing an application and i will show some reports to the users. I would like to know if there is a pattern that helps me doing any report that i want. I also would like to provide the user to choose the fields that he wants in the report. I think it would help many people here, because we usually have rep...
design-patterns
patterns
report
null
null
09/15/2010 02:38:39
not a real question
Is There any design pattern to make reports in my application? === I am doing an application and i will show some reports to the users. I would like to know if there is a pattern that helps me doing any report that i want. I also would like to provide the user to choose the fields that he wants in the report. ...
1
4,191,261
11/16/2010 04:34:30
257,558
01/23/2010 20:48:14
912
27
Marketing Resources for App Developers
Okay, Okay. I know this is a developer site. *BUT*, and I think the moderators and fellow responders would agree: developers these days are usually also the people that market their product. Especially if you're an independent one-man-team like myself. So I think this can be a relevant question on stackoverflow: I'm...
iphone
android
mobile
marketing
null
11/19/2010 14:09:34
off topic
Marketing Resources for App Developers === Okay, Okay. I know this is a developer site. *BUT*, and I think the moderators and fellow responders would agree: developers these days are usually also the people that market their product. Especially if you're an independent one-man-team like myself. So I think this can be ...
2
11,535,047
07/18/2012 05:54:28
1,210,582
02/15/2012 05:56:22
13
0
oracle table is not listing in the Toad schema browser for the particular schema
I have a table named TableA in oracle 11g database, i could able to select this table by using the particular user id in toad, but i dont find this table in the toad schema browser for that schema in the toad. please advice me on why i couldnt able to find that table in the schema browser or how to find that table?. L...
oracle
toad
null
null
null
null
open
oracle table is not listing in the Toad schema browser for the particular schema === I have a table named TableA in oracle 11g database, i could able to select this table by using the particular user id in toad, but i dont find this table in the toad schema browser for that schema in the toad. please advice me on why...
0
10,373,239
04/29/2012 15:11:08
786,288
06/06/2011 17:14:47
1
0
timers, threads and compiler misbehaviour
I'm having trouble with something and couldn't find any answers about it, as I don't even know what to search for. I have a done a timer class using QueryPerformanceCounter, from my application, I launch a second thread object that has its own instanced timer and I just have an infinite loop getting delta time from the...
multithreading
compiler
timer
queryperformancecounter
null
null
open
timers, threads and compiler misbehaviour === I'm having trouble with something and couldn't find any answers about it, as I don't even know what to search for. I have a done a timer class using QueryPerformanceCounter, from my application, I launch a second thread object that has its own instanced timer and I just ha...
0
4,251,478
11/22/2010 23:57:50
203,898
11/05/2009 18:06:03
177
3
Java and whitespace-as-syntax (ala Python)?
There is a part of java syntax that bugs the crap out of me: that's curly braces and semicolons. Is there some sort of translator that exists that will allow me to use all of the Java syntax except for this? I want to do something like this: public class Hello: public static void main(String[] args): ...
java
python
syntax
whitespace
null
null
open
Java and whitespace-as-syntax (ala Python)? === There is a part of java syntax that bugs the crap out of me: that's curly braces and semicolons. Is there some sort of translator that exists that will allow me to use all of the Java syntax except for this? I want to do something like this: public class Hello: ...
0
9,248,691
02/12/2012 12:19:03
368,691
06/16/2010 21:23:46
1,453
72
Using Drupal, how do I force t('') to populate the string?
I am trying to make sure that all of the translatable strings are present in the database. Some of them appear very rarely (various form validation errors), therefore it would be a pain to reproduce them all. Instead, I've created an admin module that, once called, goes through an array of all translatable strings a...
php
drupal
internationalization
null
null
null
open
Using Drupal, how do I force t('') to populate the string? === I am trying to make sure that all of the translatable strings are present in the database. Some of them appear very rarely (various form validation errors), therefore it would be a pain to reproduce them all. Instead, I've created an admin module that, ...
0
10,310,206
04/25/2012 06:07:32
1,115,161
12/25/2011 07:56:31
84
2
mysqldump and crontab(linux)
I want to make an automatic backup of my database, so i wrote like this 00 10 * * * root mysqldump -u root -ppasswordD billing "/home/backup/database_`date '+%m-%d-%Y'`.sql" But it is not working, any ideas please? Thanks and regards,
linux
mysqldump
null
null
null
04/25/2012 10:01:58
not a real question
mysqldump and crontab(linux) === I want to make an automatic backup of my database, so i wrote like this 00 10 * * * root mysqldump -u root -ppasswordD billing "/home/backup/database_`date '+%m-%d-%Y'`.sql" But it is not working, any ideas please? Thanks and regards,
1
5,094,400
02/23/2011 17:19:23
73,226
03/03/2009 13:40:52
37,618
1,564
Performance of Non Clustered Indexes on Heaps vs Clustered Indexes
[This 2007 White Paper][1] compares the performance for individual select/insert/delete/update and range select statements on a table organized as a clustered index vs that on a table organized as a heap with a non clustered index on the same key columns as the CI table. Generally the clustered index option performe...
sql-server
indexing
clustered-index
null
null
03/02/2012 15:49:39
off topic
Performance of Non Clustered Indexes on Heaps vs Clustered Indexes === [This 2007 White Paper][1] compares the performance for individual select/insert/delete/update and range select statements on a table organized as a clustered index vs that on a table organized as a heap with a non clustered index on the same key c...
2
8,395,978
12/06/2011 06:02:09
1,082,896
12/06/2011 05:25:34
1
0
How to expand IPv6 address in C
I want to expand my IPv6 address.Is there any way to expand that address to a full one? If I get abcd:12::7 then I need to expand it to abcd:0012:0000:0000:0000:0000:0000:0007 mainly for incrementating the address. Solution should be in C
c
null
null
null
null
12/06/2011 22:35:55
not a real question
How to expand IPv6 address in C === I want to expand my IPv6 address.Is there any way to expand that address to a full one? If I get abcd:12::7 then I need to expand it to abcd:0012:0000:0000:0000:0000:0000:0007 mainly for incrementating the address. Solution should be in C
1
895,904
05/22/2009 00:13:07
31,671
10/27/2008 01:07:58
3,199
217
Select inputs and text inputs in HTML - Best way to make equal width?
I've got a simple form like so (illustrative purposes only) <form> <div class="input-row"> <label>Name</label> <input type="text" name="name" /> </div> <div class="input-row"> <label>Country</label> <select name="country"> ...
xhtml
css
null
null
null
null
open
Select inputs and text inputs in HTML - Best way to make equal width? === I've got a simple form like so (illustrative purposes only) <form> <div class="input-row"> <label>Name</label> <input type="text" name="name" /> </div> <div class="input-row"> ...
0
4,429,757
12/13/2010 14:26:28
478,419
10/17/2010 08:39:15
58
1
Remove line break from textarea
I have a textarea like this: `<textarea tabindex="1" maxlength='2000' id="area"></textarea>` I watch this textarea with jquery: $("#area").keypress(function (e) { if (e.keyCode != 13) return; var msg = $("#area").val().replace("\n", ""); if (!util.isBlank(msg)) { send(msg); $("#area").val(...
javascript
jquery
html
textarea
null
null
open
Remove line break from textarea === I have a textarea like this: `<textarea tabindex="1" maxlength='2000' id="area"></textarea>` I watch this textarea with jquery: $("#area").keypress(function (e) { if (e.keyCode != 13) return; var msg = $("#area").val().replace("\n", ""); if (!util.isBlank(msg)) ...
0
5,488,508
03/30/2011 15:31:27
575,596
01/14/2011 11:25:52
12
0
How do you edit text messages/urls on HTC Desire
So I've been asked this question by another developer in work and I couldn't figure it out. Now having a Desire myself, how the hell do you edit a text message that you are composing? The same for a URL you may have made a typo in? On the iPhone you would hold down on the area where you want to edit and a little zoo...
android
null
null
null
null
03/30/2011 16:19:59
off topic
How do you edit text messages/urls on HTC Desire === So I've been asked this question by another developer in work and I couldn't figure it out. Now having a Desire myself, how the hell do you edit a text message that you are composing? The same for a URL you may have made a typo in? On the iPhone you would hold do...
2
7,885,170
10/25/2011 05:47:50
652,994
03/10/2011 06:20:56
6
0
Is it possible to access the camera of a handset from an application in android?
I require to know if it is possible to open the camera of a handset, from an android application and click a picture to save it? If so, what classes do i use? Please give me a rough idea on how i can go about it.
android
application
camera
null
null
null
open
Is it possible to access the camera of a handset from an application in android? === I require to know if it is possible to open the camera of a handset, from an android application and click a picture to save it? If so, what classes do i use? Please give me a rough idea on how i can go about it.
0
10,518,441
05/09/2012 14:44:54
1,384,891
05/09/2012 14:40:47
1
0
I need help about C homework
Actually i am in interest on C#. but here is an example about C programming. i dont know many about C. could you plss help me , what i have to do. i think i will have to use Arrays but which method i should use ? "Write a C program which reads a paragraph from user that has 20 lines. In each line, words are separat...
c
arrays
homework
null
null
05/09/2012 14:55:00
not a real question
I need help about C homework === Actually i am in interest on C#. but here is an example about C programming. i dont know many about C. could you plss help me , what i have to do. i think i will have to use Arrays but which method i should use ? "Write a C program which reads a paragraph from user that has 20 line...
1
9,311,948
02/16/2012 13:17:37
432,782
08/27/2010 09:58:22
1,183
33
How to consistently prevent crashes caused by handling Core Data's merge notification while iterating over a managed entity
I stumbled onto a very 'rare' concurrency bug in my application today, for which I'm having trouble coming up with a durable solution. The scenario: The application modifies some managed objects on a background thread, after getting data from a server call, and stores it into it's dedicated managed object context. U...
core-data
concurrency
iteration
nsmanagedobjectcontext
null
null
open
How to consistently prevent crashes caused by handling Core Data's merge notification while iterating over a managed entity === I stumbled onto a very 'rare' concurrency bug in my application today, for which I'm having trouble coming up with a durable solution. The scenario: The application modifies some managed o...
0
11,507,155
07/16/2012 15:09:08
1,074,191
11/30/2011 20:27:37
11
0
KCV Value - 3DES Encryption
What is KCV (Key Check Value) in the context of 3-DES Encryption? Is there good documentation on what is KCV and how it can be used in 3-DES Encryption?
.net
security
encryption
null
null
null
open
KCV Value - 3DES Encryption === What is KCV (Key Check Value) in the context of 3-DES Encryption? Is there good documentation on what is KCV and how it can be used in 3-DES Encryption?
0
3,697,235
09/13/2010 00:17:52
439,667
09/04/2010 15:25:29
20
0
Windows Programming
recently, i began to read about windows programming, and i thought i could start with .NET since it is the "FUTURE" but as i happen to figure out, it is just like a fancy wrapper around COM, COM+, AUTOMATION and the rest of MICROSOFT technologies, so i wanna know if it is essential for any microsoft developer ...
windows
null
null
null
null
09/13/2010 23:53:47
not constructive
Windows Programming === recently, i began to read about windows programming, and i thought i could start with .NET since it is the "FUTURE" but as i happen to figure out, it is just like a fancy wrapper around COM, COM+, AUTOMATION and the rest of MICROSOFT technologies, so i wanna know if it is essential for...
4
7,689,972
10/07/2011 16:10:15
984,307
10/07/2011 15:56:23
1
0
Extracting HREF from an A tag using the onmouseout Attribute
I am new to BeautifulSoup, I have been trying to search but can't find an answer.. I trying to extract the href from a tag like this: <A HREF="/ProductList.pasp?cat=is2c&amp;rows=10&amp;start=51" onmouseover="hi('next','next_h')" onmouseout="lo('next','next')"> I have tried: nextPageLinks = soup.Fi...
python
beautifulsoup
null
null
null
07/30/2012 03:23:45
too localized
Extracting HREF from an A tag using the onmouseout Attribute === I am new to BeautifulSoup, I have been trying to search but can't find an answer.. I trying to extract the href from a tag like this: <A HREF="/ProductList.pasp?cat=is2c&amp;rows=10&amp;start=51" onmouseover="hi('next','next_h')" onmouseout="l...
3
11,086,773
06/18/2012 16:09:55
478,520
10/17/2010 12:59:42
1,278
26
PHP function use variable from outside
Here is a function function parts($part) { $structure = 'http://'.$site_url.'content/'; echo($structure.$part.'.php'); } It uses a variable $site_url that was defined at the top of this page, but this variable is not being passes in the function. How do we get it to return in the function.
php
function
variables
null
null
null
open
PHP function use variable from outside === Here is a function function parts($part) { $structure = 'http://'.$site_url.'content/'; echo($structure.$part.'.php'); } It uses a variable $site_url that was defined at the top of this page, but this variable is not being passes in the function. How do we get i...
0
2,503,131
03/23/2010 19:54:18
300,260
03/23/2010 19:35:31
1
0
Introduce Delay after keyReleased() event
So, I'm working with swing and I need to find a clean (non-CPU-hogging-way) to introduce a delay on a text field. Basically, users will enter a number into this field and the keyReleased() event checks that the input fits a few parameters and then assigns the value to a data storage element in the program. If the dat...
java
swing
delay
null
null
null
open
Introduce Delay after keyReleased() event === So, I'm working with swing and I need to find a clean (non-CPU-hogging-way) to introduce a delay on a text field. Basically, users will enter a number into this field and the keyReleased() event checks that the input fits a few parameters and then assigns the value to a d...
0
7,771,996
10/14/2011 18:32:49
995,952
10/14/2011 18:16:14
1
0
Create a facebook event with a picture with Graph API
I want to create an event with a **picture** in facebook from my iOS app using the graph API but everything works except for the picture. My request is like this: NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"title of the event", @"name"...
objective-c
ios
facebook-graph-api
null
null
null
open
Create a facebook event with a picture with Graph API === I want to create an event with a **picture** in facebook from my iOS app using the graph API but everything works except for the picture. My request is like this: NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: ...
0
5,733,258
04/20/2011 16:01:14
529,995
12/03/2010 23:08:22
287
18
Textbox on TextChanged event giving error!
I have a textbox in my webpage and I want to fire as soon User clicks or enter something on this textbox. This is my mockup code: <asp:TextBox ID="txtAgentName" runat="server" OnTextChanged = "txtAgentName_TextChanged"></asp:TextBox> But when I am running this webpage it is showing me this err: CS0...
c#
asp.net
textbox
null
null
null
open
Textbox on TextChanged event giving error! === I have a textbox in my webpage and I want to fire as soon User clicks or enter something on this textbox. This is my mockup code: <asp:TextBox ID="txtAgentName" runat="server" OnTextChanged = "txtAgentName_TextChanged"></asp:TextBox> But when I am running th...
0
11,263,743
06/29/2012 14:33:57
182,894
10/02/2009 04:00:30
128
9
How to include a mapping as a base to a new mapping?
Is it possibly to use a mapping from a referenced assembly as a base for a new mapping? The reasoning behind this is there are general objects many applications use, thus they reference the CentralDataLayer.dll. The issue is some applications have additional tables that are relational to tables from the CentralDataL...
c#-4.0
nhibernate-mapping
partial-classes
null
null
null
open
How to include a mapping as a base to a new mapping? === Is it possibly to use a mapping from a referenced assembly as a base for a new mapping? The reasoning behind this is there are general objects many applications use, thus they reference the CentralDataLayer.dll. The issue is some applications have additional ...
0
7,524,464
09/23/2011 05:04:00
960,438
09/23/2011 05:04:00
1
0
Create List of Best Facebook Pages on Website
About 3/4 the way down on this webpage is a list of facebook pages. [List of Facebook pages on website][1] I'd like to replicate this on a webpage on my own website. Can anyone help tell me whether of not there is a plug-in to create this or do I need to code it myself? I guess I'd have to use the facebook image a...
facebook
plugins
null
null
null
null
open
Create List of Best Facebook Pages on Website === About 3/4 the way down on this webpage is a list of facebook pages. [List of Facebook pages on website][1] I'd like to replicate this on a webpage on my own website. Can anyone help tell me whether of not there is a plug-in to create this or do I need to code it mys...
0
5,838,203
04/29/2011 22:57:08
722,567
04/24/2011 11:37:59
6
0
How to prevent the event of mouse on a div contains anchors viedoes images ..ect to happen
first i hope you got what i want totally from my title:). simply if i have for example a div tag contains an anchor tag or video or any thing that responses to the user mouse or keyboard click to stop responding to that action.the way that i want to fulfill this requirement is by adding an outer div that has the prope...
javascript
html
css
null
null
04/30/2011 05:16:03
not a real question
How to prevent the event of mouse on a div contains anchors viedoes images ..ect to happen === first i hope you got what i want totally from my title:). simply if i have for example a div tag contains an anchor tag or video or any thing that responses to the user mouse or keyboard click to stop responding to that act...
1
10,611,834
05/16/2012 04:02:48
1,397,628
05/16/2012 03:51:18
1
0
Where I can find database schema comparison java API?
Now I need to update sql server.I want to write a tool to generate the synchronous sql script.then I need to compare the the database schemas.Does anyone knows where I can find a open java API?I know there are many GUI tools for database comparison,but I need API.
java
database
api
comparison
null
07/13/2012 15:42:03
not a real question
Where I can find database schema comparison java API? === Now I need to update sql server.I want to write a tool to generate the synchronous sql script.then I need to compare the the database schemas.Does anyone knows where I can find a open java API?I know there are many GUI tools for database comparison,but I need A...
1
7,256,608
08/31/2011 11:58:45
291,772
03/11/2010 18:38:45
1,742
34
getSelection without title attribute?
Im using window.getSelection (); to get the selected text. But, if i select an image to, it returns also title of an image. EXAMPLE: <img src="someSrc.jpg" title="image_title" /> My text here ... if i select all an image too, it returns > image_title My text here ... But i need only > My text...
javascript
getselection
null
null
null
null
open
getSelection without title attribute? === Im using window.getSelection (); to get the selected text. But, if i select an image to, it returns also title of an image. EXAMPLE: <img src="someSrc.jpg" title="image_title" /> My text here ... if i select all an image too, it returns > image_title My text...
0
11,490,871
07/15/2012 09:33:35
1,141,493
01/10/2012 18:02:55
705
0
binary file and compatibility standard information - C++ / JAVA
I am reading Wikipedia article on difference btween JAVA and C++. One difference is that C++ offers 'multiple binary compatibility standards'. Could you explain what this means, or hint at a good reference. I have a clue that it means that binary 'written with' C++ is very portable, can be used on any OS or environment...
c++
binary
standards
portability
binaryfiles
null
open
binary file and compatibility standard information - C++ / JAVA === I am reading Wikipedia article on difference btween JAVA and C++. One difference is that C++ offers 'multiple binary compatibility standards'. Could you explain what this means, or hint at a good reference. I have a clue that it means that binary 'wri...
0
7,435,744
09/15/2011 18:36:17
839,343
07/11/2011 17:18:56
287
3
What is the easiest way to contibute to Mercurial?
[BuildingOnWindows][1] looks very complicated. Is there a simpler way to hack on Mercurial from a Windows system? (I notice that extension development is very easy, because extensions are loaded dynamically. I wonder whether there is a way to get Mercurial modules to load like this.) [1]: http://mercurial.selen...
python
mercurial
null
null
null
09/16/2011 09:28:47
not constructive
What is the easiest way to contibute to Mercurial? === [BuildingOnWindows][1] looks very complicated. Is there a simpler way to hack on Mercurial from a Windows system? (I notice that extension development is very easy, because extensions are loaded dynamically. I wonder whether there is a way to get Mercurial mo...
4
11,745,048
07/31/2012 16:44:13
20,352
09/22/2008 10:46:16
32
3
C# drop down access issue using jquery
I have issue in accesing drop down item from c# code behind Scenario: i am modifying drop down based on user selection using jquery/ajax call. while accesing the drop down item from code behind, still it retains old list. Please help to access updated drop down list from c# code behind. **Sample code** ...
c#
javascript
jquery
null
null
null
open
C# drop down access issue using jquery === I have issue in accesing drop down item from c# code behind Scenario: i am modifying drop down based on user selection using jquery/ajax call. while accesing the drop down item from code behind, still it retains old list. Please help to access updated drop down l...
0
5,585,356
04/07/2011 17:50:00
562,795
01/04/2011 16:03:52
11
0
how to reverse a single linked list
class Node { object a ; Node m_nextnode; } class Linked list { Node m_startN0de; void Reverse() { } can anybody help me to complete the code }
c#
null
null
null
null
04/08/2011 13:36:24
not a real question
how to reverse a single linked list === class Node { object a ; Node m_nextnode; } class Linked list { Node m_startN0de; void Reverse() { } can anybody help me to complete the code }
1
2,135,438
01/25/2010 20:35:54
53,354
01/09/2009 14:24:20
151
13
Delaying SWT Table Refresh
We have a [ViewerFilter][1] for a [TableViewer][2] that is a little slow, so to try to give the impression of awesomeness, we wanted to have the viewer wait 500 milliseconds before refreshing the window (otherwise, it was blocking after every key stroke). Not having any clue what I was doing, I tried creating a clas...
swt
eclipse-rcp
null
null
null
null
open
Delaying SWT Table Refresh === We have a [ViewerFilter][1] for a [TableViewer][2] that is a little slow, so to try to give the impression of awesomeness, we wanted to have the viewer wait 500 milliseconds before refreshing the window (otherwise, it was blocking after every key stroke). Not having any clue what I wa...
0
9,594,960
03/07/2012 02:25:40
1,253,663
03/07/2012 02:23:03
1
0
<exclude> not working for <javac> having multiple <src> tags
Folks, I have an <javac> apache ant task as below <javac destdir="${build}" classpath="xyz.jar" debug="on"> <src path="${src}"/> <src path="${src2}"/> <include name="mypackage/p1/**"/> <include name="mypackage/p2/**"/> ...
java
ant
build
null
null
03/07/2012 14:53:17
not a real question
<exclude> not working for <javac> having multiple <src> tags === Folks, I have an <javac> apache ant task as below <javac destdir="${build}" classpath="xyz.jar" debug="on"> <src path="${src}"/> <src path="${src2}"/> <include name="mypackage/p...
1
8,908,879
01/18/2012 10:54:11
54,999
01/14/2009 13:37:21
3,929
7
Select/map each item of a Powershell array to a new array
I have an array of file names in Powershell, and I would like to prepend a path to each of them and get the result in a new array. In C# I could do this using Linq... var files = new string[] { "file1.txt", "file2.txt" }; var path = "c:\temp\"; var filesWithPath = files.Select(f => path + f).ToArray...
powershell
null
null
null
null
null
open
Select/map each item of a Powershell array to a new array === I have an array of file names in Powershell, and I would like to prepend a path to each of them and get the result in a new array. In C# I could do this using Linq... var files = new string[] { "file1.txt", "file2.txt" }; var path = "c:\temp\...
0
2,078,636
01/16/2010 19:19:51
232,054
12/15/2009 11:53:32
21
4
Prototypal inheritence - the correct way
I've been looking into doing inheritance in JavaScript the correct prototypal way, according to Douglas Crockford: http://javascript.crockford.com/prototypal.html He writes: "So instead of creating classes, you make prototype objects, and then use the object function to make new instances" I figured this was the ...
javascript
null
null
null
null
null
open
Prototypal inheritence - the correct way === I've been looking into doing inheritance in JavaScript the correct prototypal way, according to Douglas Crockford: http://javascript.crockford.com/prototypal.html He writes: "So instead of creating classes, you make prototype objects, and then use the object function to ...
0
5,227,037
03/08/2011 00:37:22
322,772
04/21/2010 23:09:54
11
0
Python throwing errors when no errors exist
I'm writing a script and Python throws an error, but after restarting my IDE (Eclipse) everything worked!?!?! Specifically, I was calling a class's method and got an AttributeError even the method existed and worked previously. Has anyone heard of this or know of a possible solution?
python
null
null
null
null
03/08/2011 08:23:40
not a real question
Python throwing errors when no errors exist === I'm writing a script and Python throws an error, but after restarting my IDE (Eclipse) everything worked!?!?! Specifically, I was calling a class's method and got an AttributeError even the method existed and worked previously. Has anyone heard of this or know of ...
1
7,647,413
10/04/2011 11:47:32
923,406
09/01/2011 12:00:57
9
0
jQuery.HTML not obeying formating within text
Why dose the following not obey formating, the "li"s have no effect <script> function showENQ() { jQuery('#enqtext').html("<li>showtext</li>"); } $('#enq').live('pageshow', function () { showENQ(); }); </script> <ul data-role="listview" data-filter="true" data-filter-placehold...
jquery
null
null
null
null
null
open
jQuery.HTML not obeying formating within text === Why dose the following not obey formating, the "li"s have no effect <script> function showENQ() { jQuery('#enqtext').html("<li>showtext</li>"); } $('#enq').live('pageshow', function () { showENQ(); }); </script> <ul data-role=...
0
8,925,165
01/19/2012 11:20:28
1,158,308
01/19/2012 11:15:12
1
0
Can someone help me fix this?
//this code looks if the session i made is equal to whatever browser, so i can use the right code. but when i use the code i get a blank page instead of the pdf i want to print if(browser == 'Explorer') { //alert("IE"); window.frames[iFramePdf].focus(); window.frames[iFramePdf].print()...
java
javascript
browser
printing
null
01/20/2012 09:41:46
not a real question
Can someone help me fix this? === //this code looks if the session i made is equal to whatever browser, so i can use the right code. but when i use the code i get a blank page instead of the pdf i want to print if(browser == 'Explorer') { //alert("IE"); window.frames[iFramePdf].focus(); ...
1
8,813,371
01/11/2012 02:23:42
1,142,162
01/11/2012 01:59:55
1
0
Trying to start a second activity
I am new to Android and I am not sure this is the best way to do this. Here is what im trying to do. In Java im trying to have the initial Activity "Canvas1Activity" set the content view to an instance of another class I have setup "drawCanvas", drawcanvas has an ontouchevent which depending on where the screen is to...
java
android
null
null
null
01/12/2012 04:36:44
not a real question
Trying to start a second activity === I am new to Android and I am not sure this is the best way to do this. Here is what im trying to do. In Java im trying to have the initial Activity "Canvas1Activity" set the content view to an instance of another class I have setup "drawCanvas", drawcanvas has an ontouchevent wh...
1
9,505,348
02/29/2012 19:26:20
941,186
09/12/2011 19:03:11
26
0
Any examples of currency name variations based on location on top of language?
I'm currently tackling the currency part of a PHP e-commerce plugin for a CMS I'm using and I have a question about localized currency names. I understand that currency names are said differently in different languages, for example: Australian Dollar (English) and Dólar Australiano (Spanish) ...just like languag...
php
localization
internationalization
null
null
03/01/2012 07:42:55
off topic
Any examples of currency name variations based on location on top of language? === I'm currently tackling the currency part of a PHP e-commerce plugin for a CMS I'm using and I have a question about localized currency names. I understand that currency names are said differently in different languages, for example: ...
2
736,047
04/09/2009 21:53:56
40,882
11/26/2008 01:40:12
97
0
Possible to programmatically open Settings app from iPhone?
Is it currently possible to go to Apple's Settings application from a third party iPhone application? It's currently possible to open mail, safari, etc. What about Settings?
iphone
cocoa-touch
null
null
null
null
open
Possible to programmatically open Settings app from iPhone? === Is it currently possible to go to Apple's Settings application from a third party iPhone application? It's currently possible to open mail, safari, etc. What about Settings?
0
10,689,505
05/21/2012 17:09:06
1,381,427
05/08/2012 07:24:29
-1
0
Check internet connectivity when click a button
i want to figure out when a button click , it will check for internet connectivity, if is connected, then will intent to another page. If not, it will toast a message. Somehow, i got saw a lot of example post in this forum but no one is same like mine. Can anyone advice? search.setOnClickListener(new View.OnClick...
android
null
null
null
null
05/25/2012 15:31:01
not a real question
Check internet connectivity when click a button === i want to figure out when a button click , it will check for internet connectivity, if is connected, then will intent to another page. If not, it will toast a message. Somehow, i got saw a lot of example post in this forum but no one is same like mine. Can anyone ...
1
10,948,840
06/08/2012 12:27:15
1,444,491
06/08/2012 12:19:06
1
0
From an url passed to a php script : extract source code generated by javascript
I think it's possible by passing the url in a command line browser with "exec" an after, get the source code generated. Is there a browser doing this ? or is there another method ? Thank you for your help
php
javascript
webbrowser
null
null
06/08/2012 12:49:23
not a real question
From an url passed to a php script : extract source code generated by javascript === I think it's possible by passing the url in a command line browser with "exec" an after, get the source code generated. Is there a browser doing this ? or is there another method ? Thank you for your help
1
11,489,690
07/15/2012 05:34:12
1,522,486
07/13/2012 03:25:17
1
0
It's just about the coding in Objective-C
NSAutoreleasePool *pool=[[NSAutoreleasePool alloc] init]; Thingie *thing1; thing1=[[Thingie alloc] initWithName:@"thing1" magicNumber:42 shoeSize:10.5]; NSLog(@"%@",thing1); Thingie *anotherThing; anotherThing=[[[Thingie alloc]initWithName:@"thing2" ...
objective-c
xcode4
null
null
null
07/15/2012 09:09:56
too localized
It's just about the coding in Objective-C === NSAutoreleasePool *pool=[[NSAutoreleasePool alloc] init]; Thingie *thing1; thing1=[[Thingie alloc] initWithName:@"thing1" magicNumber:42 shoeSize:10.5]; NSLog(@"%@",thing1); Thingie *anotherThing; anotherThing=[[[Thingie alloc]initW...
3
9,418,293
02/23/2012 17:44:40
1,140,626
01/10/2012 10:28:18
8
0
Removing a jQuery animation when active
I have created a slideshow and have added some jQuery to it, I would like it so that the overlay is disabled when the item is active this is the script I am using: $('.overlay').css('display', 'block'); $('.overlay').css('opacity', 1.0); $('.views_slideshow_jcarousel_pager_item').hover(function() { ...
jquery
css
jcarousel
null
null
null
open
Removing a jQuery animation when active === I have created a slideshow and have added some jQuery to it, I would like it so that the overlay is disabled when the item is active this is the script I am using: $('.overlay').css('display', 'block'); $('.overlay').css('opacity', 1.0); $('.views_slideshow_...
0
8,470,156
12/12/2011 05:04:48
933,882
09/08/2011 01:38:09
38
0
really, how to achieve hibernate runtime instrumentation?
from hibernate docs, we know that in certain case, for lazy-loading to work, we need build-time instrumentation: http://stackoverflow.com/questions/222453/how-to-stop-hibernate-from-eagerly-fetching-many-to- one-associated-object so I did the following: <plugin> <artifactId>maven-antrun...
hibernate
assembly
instrumentation
javassist
null
null
open
really, how to achieve hibernate runtime instrumentation? === from hibernate docs, we know that in certain case, for lazy-loading to work, we need build-time instrumentation: http://stackoverflow.com/questions/222453/how-to-stop-hibernate-from-eagerly-fetching-many-to- one-associated-object so I did the fol...
0
8,458,662
12/10/2011 18:01:38
584,612
01/21/2011 15:08:47
21
1
Tips on getting started communicating with a device (dgt chessboard) via USB and displaying fancy 2D graphics
I've agreed to write a graphical display program for the DGT chessboard used in UK chessboxing competitions. The current display is designed for basic functionality rather than crowd-pleasing entertainment so I figured it wouldn't be too difficult to jazz things up a little with my own version... While I've designe...
c++
null
null
null
null
12/10/2011 20:51:04
not constructive
Tips on getting started communicating with a device (dgt chessboard) via USB and displaying fancy 2D graphics === I've agreed to write a graphical display program for the DGT chessboard used in UK chessboxing competitions. The current display is designed for basic functionality rather than crowd-pleasing entertainmen...
4
4,286,678
11/26/2010 15:49:08
133,932
07/06/2009 22:22:12
95
19
phpunit4eclipse on windows
does anyone know how to make phpuit4eclipse work on Windows? http://code.google.com/p/phpunit4eclipse/wiki/j2phpUnitWrapper
phpunit
null
null
null
null
12/30/2011 21:27:49
too localized
phpunit4eclipse on windows === does anyone know how to make phpuit4eclipse work on Windows? http://code.google.com/p/phpunit4eclipse/wiki/j2phpUnitWrapper
3
6,954,726
08/05/2011 10:12:29
803,709
06/17/2011 10:46:54
23
3
Android In-app billing Phonegap 1.0
I know I already asked related question but now it's a bit different situation. I found out that it is possible to implement Android in-app billing in Phonegap project. At least with the final 1.0 release. But it looks like it requires really a lot of code (both native Java and Javascript). Too much work for this ta...
android
phonegap
in-app-purchase
in-app-billing
null
null
open
Android In-app billing Phonegap 1.0 === I know I already asked related question but now it's a bit different situation. I found out that it is possible to implement Android in-app billing in Phonegap project. At least with the final 1.0 release. But it looks like it requires really a lot of code (both native Java a...
0
7,632,104
10/03/2011 07:23:30
746,349
05/10/2011 07:29:30
26
4
Is there a sample source code for home automation on android?
i wanted to know how the home automation is done in android. if anyone has a sample code of a single switch button for a light to switch on or off..??? it would be helpful for me..i wanted to know how the coding is being done of this. Thanks in advance
android
null
null
null
null
10/03/2011 09:24:02
not a real question
Is there a sample source code for home automation on android? === i wanted to know how the home automation is done in android. if anyone has a sample code of a single switch button for a light to switch on or off..??? it would be helpful for me..i wanted to know how the coding is being done of this. Thanks in advan...
1
6,210,732
06/02/2011 05:18:59
780,574
06/02/2011 05:18:59
1
0
iPad web application
I have to develop application for iPad with the following details: Server: Web App running on web server (IIS or Apache) Client: iPad App Whenever there is some changes in iPad App, changes should immediately reflect in web app (i.e. real time sync). Thanks.
ipad
web-applications
null
null
null
06/02/2011 05:30:21
not a real question
iPad web application === I have to develop application for iPad with the following details: Server: Web App running on web server (IIS or Apache) Client: iPad App Whenever there is some changes in iPad App, changes should immediately reflect in web app (i.e. real time sync). Thanks.
1
10,972,739
06/10/2012 22:12:01
1,347,467
04/20/2012 20:52:23
35
0
PHP form processing not working
Recently I moved my site to a new server, but the processing for one of my forms has broken. It seems that the variable $email doesn't get assigned properly and just returns nothing. Here is my HTML and my PHP. I can post the javascript/AJAX too if needed. <form id="newsletter-signup" method="post" action="?ac...
php
javascript
forms
variables
input
06/13/2012 07:12:48
too localized
PHP form processing not working === Recently I moved my site to a new server, but the processing for one of my forms has broken. It seems that the variable $email doesn't get assigned properly and just returns nothing. Here is my HTML and my PHP. I can post the javascript/AJAX too if needed. <form id="newslet...
3
10,037,713
04/06/2012 00:08:58
1,316,488
04/05/2012 23:37:48
1
0
Sample Unit Test Code for Sales Force Entitlement Code
I found SFDC Apex Trigger code to run on Case creation or update. The code auto-populates the case with an Entitlement. I was excited to find the exact code I needed, since we do not have a developer on staff, and current budget is frozen. Here's our dilemma, we need to have unit test code before we can move this tr...
unit-testing
salesforce
apex-code
null
null
04/09/2012 12:11:25
not a real question
Sample Unit Test Code for Sales Force Entitlement Code === I found SFDC Apex Trigger code to run on Case creation or update. The code auto-populates the case with an Entitlement. I was excited to find the exact code I needed, since we do not have a developer on staff, and current budget is frozen. Here's our dilemm...
1
10,613,568
05/16/2012 07:04:26
595,090
01/29/2011 16:19:47
19
8
Adding borders to image on click or mouse hover
I want to add round borders to selected image areas on a map, how do I do it?
javascript
jquery
css
asp.net-charts
null
05/18/2012 13:03:15
not a real question
Adding borders to image on click or mouse hover === I want to add round borders to selected image areas on a map, how do I do it?
1
10,140,535
04/13/2012 12:09:32
1,215,913
02/17/2012 09:58:43
165
1
moving from C# WinService to WinForms - removing a form
I've created a WinService, unfortunately Win7 (and Vista) does not support Screen Capture from a service. I'm going to rewrite a program into something different than WinService, something that has no forms.. **what will you suggest?** * Console Application has a console - I don't need any. * WinForms app has a ...
c#
winforms
service
process
null
null
open
moving from C# WinService to WinForms - removing a form === I've created a WinService, unfortunately Win7 (and Vista) does not support Screen Capture from a service. I'm going to rewrite a program into something different than WinService, something that has no forms.. **what will you suggest?** * Console Applica...
0
9,377,194
02/21/2012 11:58:01
333,661
11/07/2009 04:00:02
49
12
How do i configure Apache to set last-modified date in http header
I have a client with apache 2.2.17 on FreeBSD. When i issue a request using https I do not get a last-modified date returned in the http header. have tried to add header set "last-modified" but the server asks for 3 parameters. what is the correct format in the apache config files to force last-modified dat...
apache
http-headers
apache2.2
null
null
02/22/2012 14:33:11
off topic
How do i configure Apache to set last-modified date in http header === I have a client with apache 2.2.17 on FreeBSD. When i issue a request using https I do not get a last-modified date returned in the http header. have tried to add header set "last-modified" but the server asks for 3 parameters. what is ...
2
8,370,987
12/03/2011 21:01:11
736,533
05/03/2011 16:26:53
21
1
How can i render real-time graphs for some data series in ruby?
I would like to use ruby to simultaniosly render several real-time graphs. How can i do this?
ruby
graph
null
null
null
12/05/2011 10:03:10
not a real question
How can i render real-time graphs for some data series in ruby? === I would like to use ruby to simultaniosly render several real-time graphs. How can i do this?
1
2,716,629
04/26/2010 20:30:53
305,360
03/30/2010 17:59:33
36
2
confirm box when link is clicked
How can I have a confirm box that asks user for confirmation when a user clicks on a link ? can I do this with jquery?
jquery
javascript
null
null
null
null
open
confirm box when link is clicked === How can I have a confirm box that asks user for confirmation when a user clicks on a link ? can I do this with jquery?
0
8,522,896
12/15/2011 15:58:12
801,625
06/16/2011 14:08:07
76
1
Using vim commands in Eclipse
I am very hesitant to ask this question, at the risk of being downvoted & flamed, but I searched & searched, & the most recent thread I can find is from almost 2 yrs ago, so I figure the answer might be different now as technologies have progressed... That said, the question is the same as it was 2 yrs ago when so...
eclipse
vim
null
null
null
12/16/2011 16:15:17
not constructive
Using vim commands in Eclipse === I am very hesitant to ask this question, at the risk of being downvoted & flamed, but I searched & searched, & the most recent thread I can find is from almost 2 yrs ago, so I figure the answer might be different now as technologies have progressed... That said, the question is t...
4
9,703,730
03/14/2012 14:18:24
651,720
03/09/2011 14:26:47
1
0
Does HTML5 support cross-window messaging?
The spec says, that I should be able to use postMessage() on a window object. [Mozilla says](https://developer.mozilla.org/en/DOM/window.postMessage), I should be able to do it on an open()'d window, too. However, I've taken Robert Nyman's postMessage example and tried to make it work [across windows](https://www.es...
javascript
html5
internet-explorer-10
null
null
null
open
Does HTML5 support cross-window messaging? === The spec says, that I should be able to use postMessage() on a window object. [Mozilla says](https://developer.mozilla.org/en/DOM/window.postMessage), I should be able to do it on an open()'d window, too. However, I've taken Robert Nyman's postMessage example and tried...
0
8,489,713
12/13/2011 13:02:50
513,461
11/19/2010 12:34:33
13
3
java card terminal
I'm searching for java card pos terminals but i don't know which to buy. So far i found those; cards -> http://www.alibaba.com/product-gs/502271268/Just_Click_and_win_java_card.html pos machine -> http://www.alibaba.com/product-gs/517501722/Mobile_NFC_card_reader_with_Printer.html I wonder if the cards will wo...
java
javacard
null
null
null
12/13/2011 19:19:52
off topic
java card terminal === I'm searching for java card pos terminals but i don't know which to buy. So far i found those; cards -> http://www.alibaba.com/product-gs/502271268/Just_Click_and_win_java_card.html pos machine -> http://www.alibaba.com/product-gs/517501722/Mobile_NFC_card_reader_with_Printer.html I won...
2
7,371,590
09/10/2011 12:13:05
938,146
09/10/2011 12:08:25
1
0
Face Detection(Haar) without opencv
I am currently working on a face detection program using haar classifiers.What i need to do is to extract this code out of opencv and make the code work without opencv libraries i.e. without opencv installed on both windows and linux desktops.I have been trying to do this for a while but with no success.Any suggestions...
c
opencv
face-detection
null
null
09/13/2011 01:58:36
not a real question
Face Detection(Haar) without opencv === I am currently working on a face detection program using haar classifiers.What i need to do is to extract this code out of opencv and make the code work without opencv libraries i.e. without opencv installed on both windows and linux desktops.I have been trying to do this for a ...
1
11,504,272
07/16/2012 12:24:24
1,141,591
01/10/2012 19:02:55
3
0
Calculate the minimum and maximum in cvInRangeS
cvCvtColor(frame, hsv_frame, CV_BGR2HSV); cvInRangeS(hsv_frame, hsv_min, hsv_max, thresholded); I try to follow blue ball. To determine the maximum and minimum I open a picture I took with the camera, open it MS paint and doubles at (180/240) result out of me in H And (255/240) the result of S and L ...
opencv
null
null
null
null
null
open
Calculate the minimum and maximum in cvInRangeS === cvCvtColor(frame, hsv_frame, CV_BGR2HSV); cvInRangeS(hsv_frame, hsv_min, hsv_max, thresholded); I try to follow blue ball. To determine the maximum and minimum I open a picture I took with the camera, open it MS paint and doubles at (180/240) result ...
0
7,294,168
09/03/2011 15:59:42
759,866
05/18/2011 19:51:00
1,482
67
How many methods can we reasonably put in an entity before it's considered bloated?
With all those readings about single responsibility principle, decomposition, etc., it's difficult to get an idea of what should be the alarm signal that an entity gets bloated. Is there some good advice/reading somewhere about how many methods we should consider a maximum, or if there are some objective other crite...
oop
methods
properties
domain-driven-design
srp
09/03/2011 20:37:59
not constructive
How many methods can we reasonably put in an entity before it's considered bloated? === With all those readings about single responsibility principle, decomposition, etc., it's difficult to get an idea of what should be the alarm signal that an entity gets bloated. Is there some good advice/reading somewhere about ...
4
5,715,565
04/19/2011 11:22:57
715,084
04/19/2011 11:22:57
1
0
what is the best tool to draw UML diagram from java source code
what is the best tool to draw UML diagram from java source code
java
uml
class-diagram
null
null
04/19/2011 13:08:01
not constructive
what is the best tool to draw UML diagram from java source code === what is the best tool to draw UML diagram from java source code
4
6,848,470
07/27/2011 17:14:21
517,524
11/23/2010 13:58:02
1
0
Adt repository down?
Google's repository for the ADT plugin for eclipse seems to be throwing a 404 error.https://dl-ssl.google.com/android/eclipse/ Is there any alternate way of installing the plugin?
android
eclipse
null
null
null
07/27/2011 21:23:18
off topic
Adt repository down? === Google's repository for the ADT plugin for eclipse seems to be throwing a 404 error.https://dl-ssl.google.com/android/eclipse/ Is there any alternate way of installing the plugin?
2
9,651,997
03/11/2012 02:50:22
1,261,723
03/11/2012 01:13:35
1
0
Finally, is PHP 5.4 Thread Safe?
The PHP community recently announced the release 5.4. So, here is my first question: Is this version finally thread safe? I’ve read a lot of posts here and around on the Net about this hot topic (PHP tread safety) and I must admit that I’m a little bit confused. As of today, my poor understanding on this subjec...
php
thread-safety
null
null
null
03/11/2012 14:56:00
off topic
Finally, is PHP 5.4 Thread Safe? === The PHP community recently announced the release 5.4. So, here is my first question: Is this version finally thread safe? I’ve read a lot of posts here and around on the Net about this hot topic (PHP tread safety) and I must admit that I’m a little bit confused. As of today...
2
8,308,450
11/29/2011 09:29:30
999,222
10/17/2011 13:12:26
6
0
custom billing module algorithm/architechture please
**Problem background** I am making a webapp. Users will be able to see their balance within the app at any given moment in time for any custom-set period. So they can print on screen their statement for last 90 days. There they will see the debit (services rendered by us) and credit (funds submitted by user). At the b...
billing
in-app-billing
null
null
null
11/29/2011 14:30:59
too localized
custom billing module algorithm/architechture please === **Problem background** I am making a webapp. Users will be able to see their balance within the app at any given moment in time for any custom-set period. So they can print on screen their statement for last 90 days. There they will see the debit (services rend...
3
6,443,859
06/22/2011 17:16:14
403,390
07/27/2010 12:45:07
3,557
80
Is evaluating random text dangerous?
I've been passing time this afternoon by generating random strings and passing them through Perl's `eval`. The scripts are strings that contain only the following characters: +-*$_.,/\@()%=` Is there a statistically significant risk that I break something? Note: I don't pass it arguments like `"rm -rf /"`.
perl
null
null
null
null
06/23/2011 00:52:44
too localized
Is evaluating random text dangerous? === I've been passing time this afternoon by generating random strings and passing them through Perl's `eval`. The scripts are strings that contain only the following characters: +-*$_.,/\@()%=` Is there a statistically significant risk that I break something? Note: I ...
3
10,826,047
05/31/2012 00:35:35
1,427,253
05/31/2012 00:27:19
1
0
To add just columns to a QTableView
I have two list widgets. One contains available columns(not entire tables,just columns) from a database table. I have an add pushbutton which adds the columns I want to display on to the other list widget. When I click on the ok push button , I want the columns in the second list widget to be displayed on a QSqlTableMo...
c++
qt
null
null
null
08/01/2012 13:19:06
not a real question
To add just columns to a QTableView === I have two list widgets. One contains available columns(not entire tables,just columns) from a database table. I have an add pushbutton which adds the columns I want to display on to the other list widget. When I click on the ok push button , I want the columns in the second lis...
1
6,862,073
07/28/2011 16:05:36
232,310
12/15/2009 17:45:54
232
4
Compare 2 folders and copy new and modified files to 3rd folder
I am looking for a command line tool in windows that does the folder comparison between 2 folders and gives a list of all the Newly added and modified files so I can copy these files to a 3rd directory. I looked into windiff, araxis merge and comp command but did not meet the need (or I missed something). Thanks...
windows
command-line
merge
null
null
07/30/2011 16:36:48
off topic
Compare 2 folders and copy new and modified files to 3rd folder === I am looking for a command line tool in windows that does the folder comparison between 2 folders and gives a list of all the Newly added and modified files so I can copy these files to a 3rd directory. I looked into windiff, araxis merge and comp...
2
6,965,097
08/06/2011 05:58:36
675,622
03/23/2011 19:58:01
200
1
Python .app shows error on close
An alert comes up when I close the python .app I made with the options "Open Console" ad "Terminate." Why would this be? Python 2.7, mac os 10.6.8, GUI program
python
error-message
py2app
null
null
08/06/2011 12:22:03
not a real question
Python .app shows error on close === An alert comes up when I close the python .app I made with the options "Open Console" ad "Terminate." Why would this be? Python 2.7, mac os 10.6.8, GUI program
1
8,047,573
11/08/2011 08:12:41
786,796
06/07/2011 03:37:15
375
16
How to properly uninstall the previous Excel 2010 add-in before installing the new version with windows installer?
In my setup project, I updated `Version` property, let's say from **1.0.0** to **1.0.1** (Also yes to the new product code), and then set `RemovePreviousVersions` to true. I then rebuilt the setup project. The installation went okay but the funny thing happened when I opened up the Excel. The previous version someho...
.net
excel
deployment
vsto
windows-installer
null
open
How to properly uninstall the previous Excel 2010 add-in before installing the new version with windows installer? === In my setup project, I updated `Version` property, let's say from **1.0.0** to **1.0.1** (Also yes to the new product code), and then set `RemovePreviousVersions` to true. I then rebuilt the setup pro...
0