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
7,425,953
09/15/2011 04:43:57
946,030
09/15/2011 04:43:57
1
0
connect to a database in c# .net
Hey guys i am making a game launcher and i am making it so they have to registered to my website to continue and i don't know how to connect to a database on c# .net.<br /><Br /> **question**: How do i connect to a database that's on my website in c# .net? or where on the web do i learn that stuff? and its not a Mic...
c#
null
null
null
null
09/15/2011 06:56:50
not a real question
connect to a database in c# .net === Hey guys i am making a game launcher and i am making it so they have to registered to my website to continue and i don't know how to connect to a database on c# .net.<br /><Br /> **question**: How do i connect to a database that's on my website in c# .net? or where on the web do ...
1
9,699,860
03/14/2012 10:12:54
754,203
05/15/2011 04:24:46
19
1
database - which is better and why?
I have a table HelloWorld with columns english, spain, france, china and I don't know which is better for add data to this table. 1> Insert into HelloWorld values ("Hello", "hola", "bonjour", "nihao"); 2> Insert into HelloWorld (english, spain, france, china) values ("hello", "hola", "bonjour","nihao"); Can...
database
null
null
null
null
06/04/2012 01:57:12
not constructive
database - which is better and why? === I have a table HelloWorld with columns english, spain, france, china and I don't know which is better for add data to this table. 1> Insert into HelloWorld values ("Hello", "hola", "bonjour", "nihao"); 2> Insert into HelloWorld (english, spain, france, china) values ("h...
4
10,860,844
06/02/2012 08:17:17
1,425,709
05/30/2012 09:49:06
11
0
How to join 3 select queries?
How to join these 3 query - select gameid , type ,Player1,Player2,Player3,Player4,Player5 from tbl_game where Player1=" + userid + " OR Player2=" + userid + " OR Player3=" + userid + " OR Player4=" + userid + " OR Player5=" + userid + " AND Complete = 'No' select Player1, Player2, Streaks from tbl_st...
sql
database
query
null
null
06/04/2012 14:07:40
not a real question
How to join 3 select queries? === How to join these 3 query - select gameid , type ,Player1,Player2,Player3,Player4,Player5 from tbl_game where Player1=" + userid + " OR Player2=" + userid + " OR Player3=" + userid + " OR Player4=" + userid + " OR Player5=" + userid + " AND Complete = 'No' select Pl...
1
5,400,584
03/23/2011 03:26:45
475,464
10/14/2010 07:40:18
30
1
How to update date range using sql query?
This is my sql code DECLARE @Product TABLE ( Date_From Datetime, Date_To Datetime, Product_ID INT) INSERT INTO @Product Values ('20110323', '20110326', 101) INSERT INTO @Product Values ('20110327','20110329',101) -- The actual solution -- DECLARE @Beg Datetime, @End Dateti...
sql
query
null
null
null
null
open
How to update date range using sql query? === This is my sql code DECLARE @Product TABLE ( Date_From Datetime, Date_To Datetime, Product_ID INT) INSERT INTO @Product Values ('20110323', '20110326', 101) INSERT INTO @Product Values ('20110327','20110329',101) -- The actual solu...
0
6,176,256
05/30/2011 12:23:44
648,371
03/07/2011 15:22:45
503
4
How to call a method in the viewController from a subclassed UIButton?
I was trying to find a way to recognise a touch&hold on my buttons. I thought that to subclass my buttons was a good idea, but I'm now struggling with the whole idea of subclasses, parentsviews and the viewcontroller. So please forgive, I fear that this is a beginner's question: How do I call a method (which I've de...
iphone
objective-c
cocoa-touch
uibutton
subclass
null
open
How to call a method in the viewController from a subclassed UIButton? === I was trying to find a way to recognise a touch&hold on my buttons. I thought that to subclass my buttons was a good idea, but I'm now struggling with the whole idea of subclasses, parentsviews and the viewcontroller. So please forgive, I fear ...
0
8,643,881
12/27/2011 10:59:19
1,045,204
11/14/2011 08:31:57
36
7
Add sound when turning page with the keyboard
How to add a turning pages sound effect without to use the Next / Previous buttons, because it also controlled by the keyboard arrows. My code based on that code: http://tympanus.net/Tutorials/MoleskineNotebook/ thanks!!!
javascript
null
null
null
null
null
open
Add sound when turning page with the keyboard === How to add a turning pages sound effect without to use the Next / Previous buttons, because it also controlled by the keyboard arrows. My code based on that code: http://tympanus.net/Tutorials/MoleskineNotebook/ thanks!!!
0
3,334,071
07/26/2010 10:43:30
402,164
07/26/2010 10:43:30
1
0
ValueError: invalid literal for int(): Screw plugg (91_10 -> untitled) in python
i have partintid = int(Screw plugg (91_10 -> untitled)) i want to convert 'Screw plugg (91_10 -> untitled)' to int. but i get ValueError: invalid literal for int(): Screw plugg (91_10 -> untitled) Any help? - sunny
python
null
null
null
null
07/26/2010 15:38:22
not a real question
ValueError: invalid literal for int(): Screw plugg (91_10 -> untitled) in python === i have partintid = int(Screw plugg (91_10 -> untitled)) i want to convert 'Screw plugg (91_10 -> untitled)' to int. but i get ValueError: invalid literal for int(): Screw plugg (91_10 -> untitled) Any help? - sunn...
1
6,288,859
06/09/2011 06:24:16
790,361
06/09/2011 06:12:43
1
0
html form object equivalent in c# .net
I am using a java based soap web service.In one service it return an html form object.is there any way to convert this html form type object into an object in c# .net or any form object available in c# for this.the same code is wor
asp.net
null
null
null
null
06/09/2011 12:04:37
not a real question
html form object equivalent in c# .net === I am using a java based soap web service.In one service it return an html form object.is there any way to convert this html form type object into an object in c# .net or any form object available in c# for this.the same code is wor
1
10,137,123
04/13/2012 07:52:46
1,146,708
01/13/2012 00:26:44
18
1
reason to use Spring Dependency Injection
I'm currently studying Spring and suddenly, I've got curious about DI And my question is **What're the main reasons to use DI?**
spring
dependency-injection
dependencies
null
null
04/14/2012 13:02:32
not constructive
reason to use Spring Dependency Injection === I'm currently studying Spring and suddenly, I've got curious about DI And my question is **What're the main reasons to use DI?**
4
10,896,419
06/05/2012 11:24:31
1,208,852
02/14/2012 10:39:09
23
0
Explain about UITableview Begin Updates ,add row indexpath, endupdates?
Hello Any one give the clear explanation about UITableview begin updates,insert the row at first in the table view and end updates. Thanks Lot
iphone
ios
uitableview
uitableviewcell
null
06/06/2012 03:54:20
not a real question
Explain about UITableview Begin Updates ,add row indexpath, endupdates? === Hello Any one give the clear explanation about UITableview begin updates,insert the row at first in the table view and end updates. Thanks Lot
1
9,408,091
02/23/2012 06:15:01
1,227,596
02/23/2012 06:10:03
1
0
copy YUV video frames from one buffer to another in Gstreamer
I am extremely new to Gstreamer. I am writing a plugin to reduce the height of a YUV video by 2. I get a segmentation fault when I try to copy data from the buf(argument to chain) to another buffer in the _chain() function as follows : GstBuffer *buffer; glong size; size = GST_BUFFER_SIZE(buf); buffer = gst...
gstreamer
null
null
null
null
null
open
copy YUV video frames from one buffer to another in Gstreamer === I am extremely new to Gstreamer. I am writing a plugin to reduce the height of a YUV video by 2. I get a segmentation fault when I try to copy data from the buf(argument to chain) to another buffer in the _chain() function as follows : GstBuffer *buf...
0
2,103,928
01/20/2010 18:33:59
23,487
09/29/2008 15:32:37
48
0
AS400 RPG Simulator
I have a urgent requirement to call an RPG Program from java. As suggested in this http://stackoverflow.com/questions/184864/accessing-rpg-on-iseries-from-java question. I am planning to use JTOpen. But unfortunately I dont have access to any of theses systems. So is there any way I can test the java program ? Are ther...
rpg
null
null
null
null
null
open
AS400 RPG Simulator === I have a urgent requirement to call an RPG Program from java. As suggested in this http://stackoverflow.com/questions/184864/accessing-rpg-on-iseries-from-java question. I am planning to use JTOpen. But unfortunately I dont have access to any of theses systems. So is there any way I can test th...
0
8,738,941
01/05/2012 07:19:22
412,207
08/05/2010 17:04:29
129
0
How to monitor active connection pool in SQL Server?
I'm suspecting that my web application has connection leaks (getting the timeout and max connection reached error). So I wanted to monitor how many database connections are active in the pool. I'm using the SQL Express so I don't have User Connections performance counter as suggested in some help guides. I do found...
asp.net
sql-server-2008
null
null
null
null
open
How to monitor active connection pool in SQL Server? === I'm suspecting that my web application has connection leaks (getting the timeout and max connection reached error). So I wanted to monitor how many database connections are active in the pool. I'm using the SQL Express so I don't have User Connections performanc...
0
5,863,689
05/02/2011 23:48:13
731,310
04/29/2011 15:12:03
36
4
Amount of permutations problem
with given 1..n sequence how many is there permutations of this sequence, but in any permutation generated can't be : f(i)=i for example we have ( 1 2 3 ) ( 1 2 3 ) So we can do ( 1 2 3 ) ( 2 3 1 ) and also ( 1 2 3 ) ( 3 1 2 ) so we can generate only 2 permuta...
permutation
null
null
null
null
05/03/2011 09:13:48
off topic
Amount of permutations problem === with given 1..n sequence how many is there permutations of this sequence, but in any permutation generated can't be : f(i)=i for example we have ( 1 2 3 ) ( 1 2 3 ) So we can do ( 1 2 3 ) ( 2 3 1 ) and also ( 1 2 3 ) ( 3 1 2 ) ...
2
3,168,340
07/02/2010 18:48:31
135,172
07/08/2009 19:03:01
824
50
Is there a way to use w3c-validator as a local instance using either a session cookie or using username and password?
I would like to integrate the usage of w3c-validator into unit testing. Is there a way to get around authentication to do this?
unit-testing
w3c
validation
w3c-validation
null
null
open
Is there a way to use w3c-validator as a local instance using either a session cookie or using username and password? === I would like to integrate the usage of w3c-validator into unit testing. Is there a way to get around authentication to do this?
0
8,330,711
11/30/2011 18:06:06
632,407
02/24/2011 13:45:52
4,549
219
perl: how to get the original regex from the precompiled version?
Simple code: use 5.014; use warnings; my $re = <DATA>; chomp $re; my $re2 = qr/$re/; say $re2; __END__ ^\w$ result: (?^u:^\w$) #added the (?^u: Is any correct way to decompile $re2 getting back the original regex? Motivation: the regex is an config va...
perl
null
null
null
null
null
open
perl: how to get the original regex from the precompiled version? === Simple code: use 5.014; use warnings; my $re = <DATA>; chomp $re; my $re2 = qr/$re/; say $re2; __END__ ^\w$ result: (?^u:^\w$) #added the (?^u: Is any correct way to decompile $re2 ge...
0
6,576,807
07/04/2011 23:23:38
828,816
07/04/2011 23:23:38
1
0
ADT plugin for eclipse helios on Win7 64 bit install error
I'm trying to install the ADT plugin for Eclipse and I get this error: > An error occurred while installing the > items session context > was:(profile=epp.package.java, > phase=org.eclipse.equinox.internal.p2.engine.phases.Install, > operand=null --> > [R]org.eclipse.jdt.debug > 3.6.1.v20100715_r361, action=or...
android
eclipse
null
null
null
null
open
ADT plugin for eclipse helios on Win7 64 bit install error === I'm trying to install the ADT plugin for Eclipse and I get this error: > An error occurred while installing the > items session context > was:(profile=epp.package.java, > phase=org.eclipse.equinox.internal.p2.engine.phases.Install, > operand=null --...
0
9,751,584
03/17/2012 16:18:41
1,275,955
03/17/2012 16:05:49
1
0
Class Routine Generator Software
My teacher has assigned me a project. I have to create a software that will do the following things. It will take input of set of room numbers of a college and the name of the subjects of all 4 semesters(for example: 1st,3rd,5th,7th) running at the same time in a particular department. It will generate 4 routines f...
c
null
null
null
null
03/17/2012 23:56:01
not a real question
Class Routine Generator Software === My teacher has assigned me a project. I have to create a software that will do the following things. It will take input of set of room numbers of a college and the name of the subjects of all 4 semesters(for example: 1st,3rd,5th,7th) running at the same time in a particular depa...
1
8,637,164
12/26/2011 15:48:53
791,272
06/09/2011 15:47:35
12
0
Extjs - Multiple Combo Boxes in Gird
Phase: Client Side Development (No database, No AJAX, No XML, No server side programming(yet)) The first grid is completed with the exception of hiding the sorting menu but that is not the problem. The problem is the second grid. The combo box is there at the moment to let me know that it's working but I need that c...
javascript
extjs4
null
null
null
06/28/2012 20:14:52
too localized
Extjs - Multiple Combo Boxes in Gird === Phase: Client Side Development (No database, No AJAX, No XML, No server side programming(yet)) The first grid is completed with the exception of hiding the sorting menu but that is not the problem. The problem is the second grid. The combo box is there at the moment to let m...
3
11,381,990
07/08/2012 09:18:53
1,365,572
04/30/2012 10:20:42
61
0
Better way to create database for a price table
I need to create a price table system so i am going to create those three tables in my database. - PricingTable (ID,Name,ServiceID,Style) - PricingTablePackages (ID,PricingTable_ID,Title,Price,PricePerTime,Info,Flag,Link) - PricingTablePackagesFeatures (ID,PricingTablePackages_ID,Feature,Value,MoreI...
database
asp.net-mvc-3
null
null
null
null
open
Better way to create database for a price table === I need to create a price table system so i am going to create those three tables in my database. - PricingTable (ID,Name,ServiceID,Style) - PricingTablePackages (ID,PricingTable_ID,Title,Price,PricePerTime,Info,Flag,Link) - PricingTablePackagesFea...
0
269,781
11/06/2008 18:32:22
24,721
10/03/2008 03:00:25
46
8
VB date conversion
Is there an easy way to convert a string that contains this: Date: Wed, 5 Nov 2008 13:12:12 -0500 (EST) into a string that contains this: 20081105_131212
vb
manipulation
null
null
null
null
open
VB date conversion === Is there an easy way to convert a string that contains this: Date: Wed, 5 Nov 2008 13:12:12 -0500 (EST) into a string that contains this: 20081105_131212
0
5,359,767
03/19/2011 03:02:07
666,508
03/18/2011 18:10:59
4
0
how to use a try and catch in vb.net
FOR THIS CODE IF ANY EROOR OCCURS ANY WERE IN THE CODE HOW COULD I USE THE TRY CATCH TOTKILO.Text = KILO.Text * TOUCH.Text * 0.01 TextBox10.Text = TextBox9.Text * TextBox8.Text * 0.01 K = Math.Round(Val(TOTKILO.Text) - Val(TextBox10.Text), 5) TextBox11.Text = TextBox7.Text + K ...
sql
null
null
null
null
03/19/2011 19:29:21
not a real question
how to use a try and catch in vb.net === FOR THIS CODE IF ANY EROOR OCCURS ANY WERE IN THE CODE HOW COULD I USE THE TRY CATCH TOTKILO.Text = KILO.Text * TOUCH.Text * 0.01 TextBox10.Text = TextBox9.Text * TextBox8.Text * 0.01 K = Math.Round(Val(TOTKILO.Text) - Val(TextBox10.Text), 5) Text...
1
11,577,434
07/20/2012 10:21:29
1,395,377
05/15/2012 06:28:45
455
33
how can post and get data using Json-rpc api in android?
i am trying to post and get data using jsonrpc API but i dont know the proper way to post and get data.so.can any boddy know that how to post and get data.i already download json-rpc.jar file. thanks in advance.
android
null
null
null
null
07/22/2012 02:55:18
not a real question
how can post and get data using Json-rpc api in android? === i am trying to post and get data using jsonrpc API but i dont know the proper way to post and get data.so.can any boddy know that how to post and get data.i already download json-rpc.jar file. thanks in advance.
1
5,912,456
05/06/2011 13:56:00
694,591
04/06/2011 09:57:54
1
0
Twitter4J Login/Logout and session details
I have a login button to login my twitter from twitter4J. once I get the authentication, I store the token and secret for the timeline updates to the twitter. later on I want the user to log off and be able to login via another twitter account. I am little bit confused how to invalidate the current authenticatio...
android
session
login
logout
twitter4j
null
open
Twitter4J Login/Logout and session details === I have a login button to login my twitter from twitter4J. once I get the authentication, I store the token and secret for the timeline updates to the twitter. later on I want the user to log off and be able to login via another twitter account. I am little bit conf...
0
4,262,882
11/24/2010 02:04:26
301,957
03/25/2010 17:57:31
51
0
Best tools for web based developments graphics part
What software's are you guys using for the development of the graphic part of a web site? Photo shop or Fireworks or etc. Thank You.
dreamweaver
photoshop
null
null
null
09/10/2011 19:19:22
not constructive
Best tools for web based developments graphics part === What software's are you guys using for the development of the graphic part of a web site? Photo shop or Fireworks or etc. Thank You.
4
4,751,298
01/20/2011 19:00:08
578,462
01/17/2011 11:29:34
9
2
How to run Applet
please give me an Applet example and say how yo run an applet because applets doesn't have main and my IDE doesn't run it! please help me.
java
null
null
null
null
01/22/2011 00:56:11
not a real question
How to run Applet === please give me an Applet example and say how yo run an applet because applets doesn't have main and my IDE doesn't run it! please help me.
1
5,659,420
04/14/2011 06:28:49
697,111
04/07/2011 15:36:38
44
0
Setup VisualC++ to use OpenGL 4.1?
I'm trying to setup VC++ to compile code with OpenGL 4.1 functionality. I downloaded the 3 header files from from opengl.org; put them in the correct paths and include them - but keep getting errors like this: > error C3861: 'wglSwapIntervalEXT': identifier not found I have the latest video drivers. OpenGL sa...
c++
visual-studio-2010
visual-c++
opengl
null
null
open
Setup VisualC++ to use OpenGL 4.1? === I'm trying to setup VC++ to compile code with OpenGL 4.1 functionality. I downloaded the 3 header files from from opengl.org; put them in the correct paths and include them - but keep getting errors like this: > error C3861: 'wglSwapIntervalEXT': identifier not found I h...
0
7,683,320
10/07/2011 05:18:19
983,399
10/07/2011 05:08:24
1
0
Edit using c# and ms access
i have a problem, i tried this code : private void button1_Click(object sender, RoutedEventArgs e) { conn.Open(); OleDbCommand cmd = new OleDbCommand("UPDATE tbl_Fullname SET Firstname=@firstn,Lastname=@lastn,Middlename=@midn WHERE fnID=@idn", conn); cmd....
c#
edit
access
null
null
null
open
Edit using c# and ms access === i have a problem, i tried this code : private void button1_Click(object sender, RoutedEventArgs e) { conn.Open(); OleDbCommand cmd = new OleDbCommand("UPDATE tbl_Fullname SET Firstname=@firstn,Lastname=@lastn,Middlename=@midn WHERE fnID=...
0
9,604,132
03/07/2012 15:19:18
583,464
01/20/2011 19:04:45
459
10
how to project a point on to a sphere
If i have a point (x,y,z) how to project it on to a sphere(x,y,z,radius) (on its surface). My input will be the coordinates of point and sphere. The output should be the coordinates of the projected point on sphere. Just convert from cartesian to spherical coordinates? Thanks!
c++
c
null
null
null
null
open
how to project a point on to a sphere === If i have a point (x,y,z) how to project it on to a sphere(x,y,z,radius) (on its surface). My input will be the coordinates of point and sphere. The output should be the coordinates of the projected point on sphere. Just convert from cartesian to spherical coordinates? ...
0
8,247,492
11/23/2011 18:48:12
1,062,532
11/23/2011 18:34:07
1
0
Perl CGI gets parameters from a different request to the current URL
This is a weird one. :) I have a script running under Apache 1.3, with Apache::PerlRun option of mod_perl. It uses the standard CGI.pm module. It's a regularly accessed script on a busy server, accessed over https. The URL is typically something like... > /script.pl?action=edit&id=47049 Which is then brough...
perl
apache
cgi
mod-perl
null
null
open
Perl CGI gets parameters from a different request to the current URL === This is a weird one. :) I have a script running under Apache 1.3, with Apache::PerlRun option of mod_perl. It uses the standard CGI.pm module. It's a regularly accessed script on a busy server, accessed over https. The URL is typically some...
0
9,189,925
02/08/2012 08:34:56
1,039,952
11/10/2011 14:30:10
6
2
Remove SVN content from old Java files
I have to make changes in an old project we did years ago and our company used SVN in that time (now we have GIT). I tried to run that project in Eclipse, but I discovered that all files have extensions *.java,v (that was easy to fix), but also all files include content like this head 1.2; access; ...
java
svn
rename
null
null
null
open
Remove SVN content from old Java files === I have to make changes in an old project we did years ago and our company used SVN in that time (now we have GIT). I tried to run that project in Eclipse, but I discovered that all files have extensions *.java,v (that was easy to fix), but also all files include content like ...
0
3,774,713
09/23/2010 01:02:10
196,387
10/26/2009 01:15:14
13
0
API used in http://picclick.com/
my friend pointed me to the [http://picclick.com/][1] site yesterday, and i was curious if there's any public api the developer have used to get the results, i know google blocks your ip when it detects that you are sending automated requests. Thanks! [1]: http://picclick.com/
api
null
null
null
null
09/23/2010 03:49:19
not a real question
API used in http://picclick.com/ === my friend pointed me to the [http://picclick.com/][1] site yesterday, and i was curious if there's any public api the developer have used to get the results, i know google blocks your ip when it detects that you are sending automated requests. Thanks! [1]: http://picclick.c...
1
9,140,876
02/04/2012 12:30:34
1,189,315
02/04/2012 12:18:53
1
0
recovering database in sql server 2005 and 2008
How to recover database in sql server 2008,if i don't have any backup,I mean recover data from log file or any others techniques?
sql-server
backup
logfile
null
null
02/04/2012 13:59:54
off topic
recovering database in sql server 2005 and 2008 === How to recover database in sql server 2008,if i don't have any backup,I mean recover data from log file or any others techniques?
2
11,536,049
07/18/2012 07:11:45
1,485,159
06/27/2012 09:31:57
16
1
How to implement javascript spell check error in my c# asp.net application
I want to implement spell checker in my c# asp.net application.how can i do it.please help me details about this topices.
c#
javascript
asp.net
null
null
07/18/2012 07:18:02
not a real question
How to implement javascript spell check error in my c# asp.net application === I want to implement spell checker in my c# asp.net application.how can i do it.please help me details about this topices.
1
794,813
04/27/2009 18:55:46
76,322
03/10/2009 19:25:42
157
4
PyQT combobox only react on user interaction
I have a listbox that you can select users in. To the left of that is a combobox listing the available groups the user can be put it. If the user is in a group, the combobox will automatically be set to that group. I want to make it so when you change the group selection, it will move the user to that group. I added th...
python
qt
null
null
null
null
open
PyQT combobox only react on user interaction === I have a listbox that you can select users in. To the left of that is a combobox listing the available groups the user can be put it. If the user is in a group, the combobox will automatically be set to that group. I want to make it so when you change the group selectio...
0
6,413,501
06/20/2011 15:17:41
400,493
07/23/2010 17:02:17
102
3
Android: SQLite FTS3 slows down when fetching next/previous rows
<br/>I have a sqlite db that at the moment has few tables where the biggest one has over 10,000 rows. This table has four columns: id, term, definition, category. I have used a FTS3 module to speed up searching which helped a lot. However, now when I try to fetch 'next' or 'previous' row from table it takes longer than...
android
sqlite
fts3
null
null
null
open
Android: SQLite FTS3 slows down when fetching next/previous rows === <br/>I have a sqlite db that at the moment has few tables where the biggest one has over 10,000 rows. This table has four columns: id, term, definition, category. I have used a FTS3 module to speed up searching which helped a lot. However, now when I...
0
6,356,397
06/15/2011 10:36:31
799,393
06/15/2011 10:36:31
1
0
OOP C++ help needed..
This will look a bit strange, I know. It's not a common request. I have failed my first exam at OOP programming (in C++) and I have 4-5 days to prepare for the second and last time I can take this exam. I know the theory quite well, I'm not that good though at programming using many things like: virtual/static function...
c++
oop
stl
logic
null
06/15/2011 11:17:01
not constructive
OOP C++ help needed.. === This will look a bit strange, I know. It's not a common request. I have failed my first exam at OOP programming (in C++) and I have 4-5 days to prepare for the second and last time I can take this exam. I know the theory quite well, I'm not that good though at programming using many things li...
4
9,777,872
03/19/2012 21:01:09
263,957
02/02/2010 00:14:50
508
3
Mozilla Firefox crash or ..?
I wrote the code and saw a bug in firefox and little bug in chrome <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"...
firefox
browser
crash
bugs
mozilla
03/20/2012 13:25:12
not a real question
Mozilla Firefox crash or ..? === I wrote the code and saw a bug in firefox and little bug in chrome <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" ...
1
7,266,631
09/01/2011 06:09:28
252,780
01/17/2010 20:46:02
78
15
Selecting elements without jQuery
I guess this will be voted down, as it doesn't contain enough jQuery, but here it goes :) What is the most effective way to get the element(s) returned by the jQuery selector below using plain old javascript? $('a[title="some title text here"]', top.document)
javascript
jquery
null
null
null
null
open
Selecting elements without jQuery === I guess this will be voted down, as it doesn't contain enough jQuery, but here it goes :) What is the most effective way to get the element(s) returned by the jQuery selector below using plain old javascript? $('a[title="some title text here"]', top.document)
0
5,451,366
03/27/2011 18:34:00
679,224
03/27/2011 18:34:00
1
0
please correct this code ,this programme is to extract single and multiple line comments
#include <fstream> #include <iostream> using namespace std; int main() { char ch,ch1,ch3; string name,str; cout << " Enter the name of the file "; cin >> name; ifstream fin(name.c_str()); ofstream fout("output.txt",ios::out); if(!fin) { fout << " input file might not exist "; } el...
c++-cli
null
null
null
null
03/28/2011 13:01:45
not a real question
please correct this code ,this programme is to extract single and multiple line comments === #include <fstream> #include <iostream> using namespace std; int main() { char ch,ch1,ch3; string name,str; cout << " Enter the name of the file "; cin >> name; ifstream fin(name.c_str()); ofstream fout("outpu...
1
4,375,731
12/07/2010 10:39:13
352,627
05/28/2010 06:47:05
202
1
is it possible to detect when the uitextview's scroll bar is visible
is it possible to detect when the uitextview's scroll bar is visible thank you
iphone
iphone-sdk-3.0
null
null
null
null
open
is it possible to detect when the uitextview's scroll bar is visible === is it possible to detect when the uitextview's scroll bar is visible thank you
0
10,295,850
04/24/2012 10:09:55
1,331,669
04/13/2012 13:16:45
63
2
Is there any difference in php MVC zend & codeignitor
I just want to know one thing is the coding style of MVC is the same as Codeignitor in zEnd framework??? like retrieving/inserting values in the database etc
zend-framework
codeigniter
null
null
null
null
open
Is there any difference in php MVC zend & codeignitor === I just want to know one thing is the coding style of MVC is the same as Codeignitor in zEnd framework??? like retrieving/inserting values in the database etc
0
10,731,570
05/24/2012 05:21:06
1,414,154
05/24/2012 05:17:12
1
0
Android Http get request with json response
I am getting json response with special characters and symbols. How can i encode to that symbol €. Please give me answer. Thanks
android
null
null
null
null
05/25/2012 06:54:26
not a real question
Android Http get request with json response === I am getting json response with special characters and symbols. How can i encode to that symbol €. Please give me answer. Thanks
1
8,167,110
11/17/2011 12:31:15
523,630
11/29/2010 08:09:20
115
1
uninitialized constant Object::Dependencies
I am trying to install fiveruns_tuneup but this error pops up... nothing found in google =( Installation guide took from this page: https://github.com/fiveruns/fiveruns_tuneup Thx.
ruby-on-rails
ruby
object
null
null
null
open
uninitialized constant Object::Dependencies === I am trying to install fiveruns_tuneup but this error pops up... nothing found in google =( Installation guide took from this page: https://github.com/fiveruns/fiveruns_tuneup Thx.
0
10,701,357
05/22/2012 11:43:59
993,970
10/13/2011 17:01:51
13
0
Free hand linear drawing in a picture using QT
I want to create a event when a button has been pressed program should allow to draw free hand lines using mouse pointer in a picture. Currently I am in the stage where I can show album of pictures in a tab window. Can anybody help with that by providing some guideline or clues???
qt
qt4
qtgui
null
null
05/23/2012 12:43:31
not a real question
Free hand linear drawing in a picture using QT === I want to create a event when a button has been pressed program should allow to draw free hand lines using mouse pointer in a picture. Currently I am in the stage where I can show album of pictures in a tab window. Can anybody help with that by providing some guidelin...
1
6,684,802
07/13/2011 19:55:25
864,197
06/22/2011 16:18:25
45
0
C# - Calculator, what else to account for and incorporate?
So I am building a calculator in C# for fun to try to get use to the language and the GUI side of things.. I am wondering if anyone has suggestions on how to go about this or what functionality I should incorporate to get a better knowledge of C# and what it can do. Right now I just have a simple calculator that ...
c#
gui
graph
calculator
functionality
07/13/2011 20:01:28
not a real question
C# - Calculator, what else to account for and incorporate? === So I am building a calculator in C# for fun to try to get use to the language and the GUI side of things.. I am wondering if anyone has suggestions on how to go about this or what functionality I should incorporate to get a better knowledge of C# and wh...
1
2,487,329
03/21/2010 14:02:23
433,242
03/21/2010 14:02:22
1
0
Darwin Streaming Server doesn't gives content
I have problems with Darwin Streaming server 5.5.5 on Debian. When i'm trying to open some stream, for ex. rtsp://sample.com/sample_100kbit.mp4 player reports it can't load stream and breaks connection. "Access History" section reports file was requested, so, at least initial connection is working, but nothing more. ...
dss
debian
rtsp
streaming
flash
null
open
Darwin Streaming Server doesn't gives content === I have problems with Darwin Streaming server 5.5.5 on Debian. When i'm trying to open some stream, for ex. rtsp://sample.com/sample_100kbit.mp4 player reports it can't load stream and breaks connection. "Access History" section reports file was requested, so, at leas...
0
3,683,007
09/10/2010 07:53:42
2,648
08/23/2008 22:40:47
12,441
358
annotation-based validation framework
I'm looking for an annotation-based validation framework, that would allow me to validate parameter values. Something like the following: void someMethod(@NotBlank String foo, @NotEmpty Collection bar, @Positive Integer baz, @NotNull Object obj) { } If I could customise the error messages produced ...
java
validation
null
null
null
07/18/2012 10:28:02
not constructive
annotation-based validation framework === I'm looking for an annotation-based validation framework, that would allow me to validate parameter values. Something like the following: void someMethod(@NotBlank String foo, @NotEmpty Collection bar, @Positive Integer baz, @NotNull Object obj) { } If I c...
4
7,549,605
09/26/2011 00:34:54
532,524
07/25/2010 23:21:31
133
3
What are the performance implications of using require_dependency in Rails 3 applications?
I feel like I understand the difference between require and require_dependency (from http://stackoverflow.com/questions/1457241/how-are-require-require-dependency-and-constants-reloading-related-in-rails). However, I'm wondering what should happen if I use some of the various methods out there (see http://hemju.com/...
ruby-on-rails
ruby
performance
require
null
null
open
What are the performance implications of using require_dependency in Rails 3 applications? === I feel like I understand the difference between require and require_dependency (from http://stackoverflow.com/questions/1457241/how-are-require-require-dependency-and-constants-reloading-related-in-rails). However, I'm wo...
0
5,901,779
05/05/2011 17:25:46
740,143
05/05/2011 14:28:59
1
0
pygame event handling
Just a noob question about python and pygame event handling. I got the following code in a pygame tutorial: >while 1: > > for event in pygame.event.get(): > if event.type in (QUIT, KEYDOWN): > sys.exit() ...but for some reason it returns this error: >if event.typ...
python
event-handling
pygame
null
null
null
open
pygame event handling === Just a noob question about python and pygame event handling. I got the following code in a pygame tutorial: >while 1: > > for event in pygame.event.get(): > if event.type in (QUIT, KEYDOWN): > sys.exit() ...but for some reason it returns t...
0
10,866,694
06/02/2012 23:26:12
1,429,226
05/31/2012 18:55:03
1
1
Simple contact form mailer
Well I'm working on my first PHP code, in the way of a simple form mailer. I can't seem to see why its generating the error > We are very sorry, but there were error(s) found with the form you > submitted. These errors appear below. > > We are sorry, but there appears to be a problem with the form you > submitt...
php
html
css
forms
null
06/03/2012 16:16:00
too localized
Simple contact form mailer === Well I'm working on my first PHP code, in the way of a simple form mailer. I can't seem to see why its generating the error > We are very sorry, but there were error(s) found with the form you > submitted. These errors appear below. > > We are sorry, but there appears to be a prob...
3
10,510,449
05/09/2012 05:43:52
1,383,744
05/09/2012 05:38:58
1
0
cannot destroy a database using rake
I am new to rails and while practising the tutorials I got the following error. Any ideas.. $ rake destroy scaffold Microposts --trace rake aborted! Don't know how to build task 'destroy' /home/keval/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/rake/task_manager.rb:49:in `[]' /home/keval/.rvm/gems/ru...
ruby-on-rails
null
null
null
null
null
open
cannot destroy a database using rake === I am new to rails and while practising the tutorials I got the following error. Any ideas.. $ rake destroy scaffold Microposts --trace rake aborted! Don't know how to build task 'destroy' /home/keval/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/rake/task_manager...
0
7,644,156
10/04/2011 06:45:01
222,797
12/02/2009 10:02:31
679
17
Implementing 1 to 0 or 1 relation in sqlserver
I'm using Entity framework 4.1 database first approach . I've used Legacy database . In my edmx file which create entity classes based on tables on legacy database , there is a **1 to 0 or 1** association between some entities . although i explored the tables of database and relation between them i didn't find out...
sql-server
sql-server-2008
entity-framework-4.1
entity-relationship
relation
null
open
Implementing 1 to 0 or 1 relation in sqlserver === I'm using Entity framework 4.1 database first approach . I've used Legacy database . In my edmx file which create entity classes based on tables on legacy database , there is a **1 to 0 or 1** association between some entities . although i explored the tables of ...
0
9,066,956
01/30/2012 16:12:23
617,779
02/15/2011 12:41:31
49
2
What is Python 3.0 not backward compatible?
I learn that Python 3.0 is not backward compatible. Will it not affect a lot of applications using older version of python? How did the developers of Python 3.0 did not think it was absolutely necessary to make it backward compatible?
python
null
null
null
null
01/30/2012 16:15:35
not constructive
What is Python 3.0 not backward compatible? === I learn that Python 3.0 is not backward compatible. Will it not affect a lot of applications using older version of python? How did the developers of Python 3.0 did not think it was absolutely necessary to make it backward compatible?
4
8,473,155
12/12/2011 10:50:55
1,016,228
10/27/2011 09:48:38
35
10
EF Query Model Tutorial link
Facing problem with every fetch i want to make using EF Query model.Place here few links from where i can grab EF Query model concepts in short time. i.e how to query your MODEL/EDM.<br/><b>NEED SOLUTION </b>::<br/>I have a method in my controller having primary key as parameter say <br/>`public action(int id)`<br/>now...
asp.net
asp.net-mvc-3
entity-framework
entity-framework-4
null
null
open
EF Query Model Tutorial link === Facing problem with every fetch i want to make using EF Query model.Place here few links from where i can grab EF Query model concepts in short time. i.e how to query your MODEL/EDM.<br/><b>NEED SOLUTION </b>::<br/>I have a method in my controller having primary key as parameter say <b...
0
9,859,153
03/25/2012 09:33:33
1,194,088
02/07/2012 07:38:43
28
2
wcf The provided URI scheme 'http' is invalid; expected 'https'
im tring to create fileTransfer base on this [post][1] when i test it on local it work great i set my service on the server using iis without ssl this is my server config: <system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled="false" multipleSiteBindingsEnabled="true"/> <...
wcf
wcf-security
null
null
null
null
open
wcf The provided URI scheme 'http' is invalid; expected 'https' === im tring to create fileTransfer base on this [post][1] when i test it on local it work great i set my service on the server using iis without ssl this is my server config: <system.serviceModel> <serviceHostingEnvironment aspNetCom...
0
7,204,246
08/26/2011 11:52:58
914,000
08/26/2011 11:52:58
1
0
sending null values from datetimepicker to the database
hi can someone please help me with this issue? i want to send a null value to the database from datetimepicker but it doesnt work, it doesnt give an error but everytime i uncheck the checbox near on the datetimepicker the date still enters :( can anyone please help with this private void BtnSave_Click(...
c#-2.0
null
null
null
null
null
open
sending null values from datetimepicker to the database === hi can someone please help me with this issue? i want to send a null value to the database from datetimepicker but it doesnt work, it doesnt give an error but everytime i uncheck the checbox near on the datetimepicker the date still enters :( can anyone plea...
0
9,850,440
03/24/2012 09:05:00
975,811
10/02/2011 21:19:20
5
1
Serial port data transfer from VB.NET to PHP
I am planning to read sms from a gsm modem using VB.net via serial port. but I want to send the sms text to a php file. So which would be better? writing in a file then opening the same file using php or using mysql database? or is there any other way?
php
vb.net
serial-port
null
null
03/25/2012 18:21:42
not a real question
Serial port data transfer from VB.NET to PHP === I am planning to read sms from a gsm modem using VB.net via serial port. but I want to send the sms text to a php file. So which would be better? writing in a file then opening the same file using php or using mysql database? or is there any other way?
1
620,984
03/07/2009 00:27:14
58,668
01/24/2009 21:06:40
835
75
What are the valuable lessons of history in programming and softwaer engineering?
As you've often heard, those who don't know their history are doomed to repeat it. Not wanting to be doomed to repeat history, - What are the valuable lessons of the history of our craft? - How does the working programmer most efficiently go about learning them, and keeping their understanding current? - In...
self-improvement
history
null
null
null
03/03/2012 01:50:20
not constructive
What are the valuable lessons of history in programming and softwaer engineering? === As you've often heard, those who don't know their history are doomed to repeat it. Not wanting to be doomed to repeat history, - What are the valuable lessons of the history of our craft? - How does the working programmer mo...
4
2,795,445
05/08/2010 20:06:29
336,357
05/08/2010 20:02:29
1
0
where can i download ajax control tool kit for version 2.0
where can i download ajax control tool kit for version 2.0, I can find it for version 3.5 and 4 but they ar enot working with my visual sudio 2005
ajaxcontroltoolkit
null
null
null
null
null
open
where can i download ajax control tool kit for version 2.0 === where can i download ajax control tool kit for version 2.0, I can find it for version 3.5 and 4 but they ar enot working with my visual sudio 2005
0
390,693
12/24/2008 03:43:53
1,965
08/19/2008 15:51:08
14,045
692
Does anyone beside me, just NOT get ASP.NET MVC?
I've been fiddling with ASP.NET MVC since the CTP, and I like a lot of things they did, but there are things I just don't get. For example, I downloaded beta1, and I'm putting together a little personal site/resume/blog with it. Here is a snippet from the ViewSinglePost view: <% // Display the "...
asp.net
mvc
tag-soup
null
null
07/28/2011 17:58:36
not constructive
Does anyone beside me, just NOT get ASP.NET MVC? === I've been fiddling with ASP.NET MVC since the CTP, and I like a lot of things they did, but there are things I just don't get. For example, I downloaded beta1, and I'm putting together a little personal site/resume/blog with it. Here is a snippet from the ViewSin...
4
5,933,644
05/09/2011 07:03:47
744,680
05/09/2011 07:03:47
1
0
Splash screen issue..
I am creating a splash screen using the following code ,when i press back key the application moves to the home screen and within a few seconds shows my next mainmenu screen.I am calling finish() in onBackPressed(),I want to close the app on pressing back key in the splash screen.can any one help me on this?? Thanks...
android
splash-screen
null
null
null
null
open
Splash screen issue.. === I am creating a splash screen using the following code ,when i press back key the application moves to the home screen and within a few seconds shows my next mainmenu screen.I am calling finish() in onBackPressed(),I want to close the app on pressing back key in the splash screen.can any one ...
0
8,688,356
12/31/2011 13:27:52
788,824
06/08/2011 08:28:56
499
27
Enlarge a Qt widget so it might cover other widgets
I have a complex layout of widgets in widgets in widgets in a QMainWindow. In one of them I have an image, it sits in the corner. What I would like to achieve is following: if the image is activated (e.g. clicked upon), it should be enlarged, so it might overlap other widgets. The problem is, I still would like it to r...
c++
qt
gui
null
null
null
open
Enlarge a Qt widget so it might cover other widgets === I have a complex layout of widgets in widgets in widgets in a QMainWindow. In one of them I have an image, it sits in the corner. What I would like to achieve is following: if the image is activated (e.g. clicked upon), it should be enlarged, so it might overlap ...
0
5,963,286
05/11/2011 11:13:25
673,487
03/23/2011 16:39:38
12
0
perl programming: continue block
I have just started learning PERL scripting language and have a programmatical question. In PERL, What is the logical reason for having 'continue' block work with while and do while loops, but not with 'for' loop?
perl
for-loop
while-loops
continue
null
null
open
perl programming: continue block === I have just started learning PERL scripting language and have a programmatical question. In PERL, What is the logical reason for having 'continue' block work with while and do while loops, but not with 'for' loop?
0
9,015,735
01/26/2012 08:56:52
991,403
10/12/2011 12:13:50
1
0
upgrading galaxy gio to android 2.3.4 and usb open accessory
i recently read about android open accessory , http://developer.android.com/guide/topics/usb/adk.html Which says, The Android 3.1 platform (also backported to Android 2.3.4) introduces Android Open Accessory support, which allows external USB hardware (an Android USB accessory) to interact with an Android-powere...
android
usb
null
null
null
01/26/2012 21:30:06
too localized
upgrading galaxy gio to android 2.3.4 and usb open accessory === i recently read about android open accessory , http://developer.android.com/guide/topics/usb/adk.html Which says, The Android 3.1 platform (also backported to Android 2.3.4) introduces Android Open Accessory support, which allows external USB hard...
3
8,374,458
12/04/2011 09:39:42
56,861
01/19/2009 22:04:11
1,125
34
C# Repository and Unit of Work Patterns
Can someone point me to a good, real world example of using these patterns together in c#? That is to say, not just a CRUD example, but something where for instance, you would do things like say, create a series of child records at the same time that you then update the parent record in one unit?
c#
design-patterns
repository
null
null
12/06/2011 03:01:49
not constructive
C# Repository and Unit of Work Patterns === Can someone point me to a good, real world example of using these patterns together in c#? That is to say, not just a CRUD example, but something where for instance, you would do things like say, create a series of child records at the same time that you then update the pare...
4
6,008,732
05/15/2011 13:41:32
293,709
03/15/2010 04:51:11
264
13
How to disable task-manager while running exe from a window service
i have a window application in C, In the application i have edited registry to disable/enable task manager,change password etc. which works well in running the project and i have made an exe of the application and call the exe from window service when the exe executes from the service , the registry changes are not m...
c#
winforms
windowservice
null
null
05/16/2011 08:48:33
not a real question
How to disable task-manager while running exe from a window service === i have a window application in C, In the application i have edited registry to disable/enable task manager,change password etc. which works well in running the project and i have made an exe of the application and call the exe from window service ...
1
2,339,600
02/26/2010 05:04:56
131,075
06/30/2009 13:28:16
205
15
the code fragments below doesn't work, please figure out why
<script type="text/javascript"> for (count = 0; count < 10; count--) { alert('Dont touch this'); count = 5; }
javascript
null
null
null
null
06/07/2012 13:20:29
not a real question
the code fragments below doesn't work, please figure out why === <script type="text/javascript"> for (count = 0; count < 10; count--) { alert('Dont touch this'); count = 5; }
1
3,564,467
08/25/2010 09:30:27
428,433
08/23/2010 13:01:15
10
0
SOAP wev service on android
I am am trying to connect to a SOAP web service using ksoap2 library. I have read a bunch of docs about it, but i am stuck as my request is not an ordinary one. I need to specify some headers prior to sending the request. when is use a soap client to test the webservice i also need to put this in the soap enveope...
android
web-services
authentication
soap
ksoap2
null
open
SOAP wev service on android === I am am trying to connect to a SOAP web service using ksoap2 library. I have read a bunch of docs about it, but i am stuck as my request is not an ordinary one. I need to specify some headers prior to sending the request. when is use a soap client to test the webservice i also nee...
0
10,664,797
05/19/2012 11:28:47
1,377,207
05/05/2012 18:27:43
123
3
Invoke the method to restart an open application
Is it possible to restart the same application which is running from within itself. Like say,I have a form which opens on button click.Now once this form is opened,i want to refresh its display and so I recall the init method again from within this form. Is this really possible?Please guide
java
null
null
null
null
05/19/2012 16:22:43
not a real question
Invoke the method to restart an open application === Is it possible to restart the same application which is running from within itself. Like say,I have a form which opens on button click.Now once this form is opened,i want to refresh its display and so I recall the init method again from within this form. Is th...
1
5,794,975
04/26/2011 18:45:40
533,530
12/07/2010 10:36:52
116
1
How to know whether my each java programs is running on its own different JVM instance ?
I am running many different java programs simultaneously on single System, I need to check whether these programs are running on same or different JVM instance of perticular System ? All suggestions are appreciated. Thanks.
java
multithreading
jvm
null
null
null
open
How to know whether my each java programs is running on its own different JVM instance ? === I am running many different java programs simultaneously on single System, I need to check whether these programs are running on same or different JVM instance of perticular System ? All suggestions are appreciated. Th...
0
11,038,260
06/14/2012 17:24:05
503,565
11/10/2010 17:39:56
8
0
In Umbraco, is there a way to add dictionary fields into a rich text editor?
I am working on a site that will be using multiple keywords throughout the site. They don't want to have to go through every single page and add in the new info over the old info over and over. I was hoping that the dictionary library in umbraco would be able to help since it is being used in the XSLTSearch but it lo...
dictionary
tinymce
umbraco
null
null
null
open
In Umbraco, is there a way to add dictionary fields into a rich text editor? === I am working on a site that will be using multiple keywords throughout the site. They don't want to have to go through every single page and add in the new info over the old info over and over. I was hoping that the dictionary library i...
0
6,885,534
07/30/2011 19:31:09
614,208
02/12/2011 12:56:02
233
13
Which one is good InnoDB or MYISAM?
I am using mySQL server and I came to know that mySQL uses both InnoDB and MYISAM engine.So I want to know for any big project which engine should I choose InnoDB or MYISAM.
mysql
innodb
myisam
null
null
08/02/2011 14:27:47
not constructive
Which one is good InnoDB or MYISAM? === I am using mySQL server and I came to know that mySQL uses both InnoDB and MYISAM engine.So I want to know for any big project which engine should I choose InnoDB or MYISAM.
4
6,881,090
07/30/2011 04:31:11
870,310
07/30/2011 04:04:46
1
0
Powershell script not running properly from SCCM
I'm trying to deploy Lego MindStorms through SCCM. I have a PowerShell script that I'm using to start the EXE and do some other things after the install. The PS1 file sits in the same directory as the EXE. The PowerShell script tries to run after the package gets downloaded, but the program doesn't get installed. I can...
powershell
script
ps1
sccm
null
03/08/2012 00:01:39
too localized
Powershell script not running properly from SCCM === I'm trying to deploy Lego MindStorms through SCCM. I have a PowerShell script that I'm using to start the EXE and do some other things after the install. The PS1 file sits in the same directory as the EXE. The PowerShell script tries to run after the package gets do...
3
9,374,243
02/21/2012 08:22:43
1,222,854
02/21/2012 08:07:25
1
0
Can't compile Qt project in Mac Os Lion
* Qt 4.8 * Mac OS Lion * Compiler gcc Compiler doesn't see any Qt classes, QT_BEGIN_HEADER and etc. Compile param generated by qmake: g++ -c -pipe -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -fPIC -DCORE_LIBRARY -DQT_GUI_LIB -DQT_CORE_LIB compiling with clang gives same err...
osx
qt
gcc
osx-lion
qt4.8
03/17/2012 21:38:11
too localized
Can't compile Qt project in Mac Os Lion === * Qt 4.8 * Mac OS Lion * Compiler gcc Compiler doesn't see any Qt classes, QT_BEGIN_HEADER and etc. Compile param generated by qmake: g++ -c -pipe -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -fPIC -DCORE_LIBRARY -DQT_GUI_LIB -DQT_CO...
3
9,968,020
04/01/2012 20:26:18
1,197,044
02/08/2012 11:26:31
42
0
Integrating MySQL or SQL in an ios app
I am building a ios app for ipad, in which the user will be able to create a personal page, by adding in a view controller lavels, images, and text fields... I then wanted to offer the share option, so that the content is saved online and shared amongs all app users. This is where i am getting a bit confused. At first ...
mysql
ios
xcode
null
null
04/02/2012 05:10:56
not a real question
Integrating MySQL or SQL in an ios app === I am building a ios app for ipad, in which the user will be able to create a personal page, by adding in a view controller lavels, images, and text fields... I then wanted to offer the share option, so that the content is saved online and shared amongs all app users. This is ...
1
6,977,693
08/08/2011 04:16:58
284,758
03/02/2010 20:52:18
3,310
202
Convert an XML file into an embedded Resource
I have an XML file in a MSTEST project. It is an entity-framework Storage Specification Definition Language (SSDL) file. I'd like to know what is the easiest way to have the mstest project automatically convert the SSDL file into an embedded resource, so that the "usual" entity framework connection string can referen...
visual-studio
entity-framework
msbuild
mstest
null
null
open
Convert an XML file into an embedded Resource === I have an XML file in a MSTEST project. It is an entity-framework Storage Specification Definition Language (SSDL) file. I'd like to know what is the easiest way to have the mstest project automatically convert the SSDL file into an embedded resource, so that the "us...
0
7,797,495
10/17/2011 17:45:16
938,266
09/10/2011 14:35:41
28
0
Performance issue in sql query
Hy, I have 2 table in following structure Table_1 ID Name 1 a 2 b 3 a Table_2 SID ID sname 1 1 a 2 1 b 3 2 a Now I want something different...... Output ID Sname 1 ...
sql-server-2008
null
null
null
null
10/28/2011 02:16:05
not a real question
Performance issue in sql query === Hy, I have 2 table in following structure Table_1 ID Name 1 a 2 b 3 a Table_2 SID ID sname 1 1 a 2 1 b 3 2 a Now I want something different...... ...
1
1,854,383
12/06/2009 04:38:42
115,182
05/31/2009 19:08:40
157
3
Select average from MySQL table with LIMIT
I am trying to get the average of the lowest 5 priced items, grouped by the username attached to them. However, the below query gives the average price for each user (which of course is the price), but I just want one answer returned. SELECT AVG(price) FROM table WHERE price > '0' && item_id = '$id' GROUP BY us...
mysql
sql
mysql-query
average
null
null
open
Select average from MySQL table with LIMIT === I am trying to get the average of the lowest 5 priced items, grouped by the username attached to them. However, the below query gives the average price for each user (which of course is the price), but I just want one answer returned. SELECT AVG(price) FROM table ...
0
7,256,464
08/31/2011 11:45:32
834,351
07/07/2011 20:52:43
1
0
How to download extra content from a url on app first install (android)
Have been looking up and down for this, but no luck so far. Have an app that will need to download some external content (videos) and put it on the SD card. Then videos will be played from there. Need to know the code for it... Have the GUI of the app almost done... used Dreamweaver a phonegap. so when users do...
download
content
external
extra
null
10/29/2011 13:08:56
not a real question
How to download extra content from a url on app first install (android) === Have been looking up and down for this, but no luck so far. Have an app that will need to download some external content (videos) and put it on the SD card. Then videos will be played from there. Need to know the code for it... Have the G...
1
8,947,359
01/20/2012 20:17:50
1,090,463
12/09/2011 20:23:45
18
0
htaccess Issue : Header throughing 404 although page is correctly displayed
I am facing quite a strange problem at the moment, i have wordpress and oscommerce installations on single domain. i placed wordpress at the root and oscommerce in /store/ folder. Everything is working properly except onething. the serve rheaders of oscommerce are throwing 404 error although page is displayed correct...
php
apache
.htaccess
googlebot
null
null
open
htaccess Issue : Header throughing 404 although page is correctly displayed === I am facing quite a strange problem at the moment, i have wordpress and oscommerce installations on single domain. i placed wordpress at the root and oscommerce in /store/ folder. Everything is working properly except onething. the serve...
0
9,902,350
03/28/2012 06:40:36
376,445
06/25/2010 16:04:34
368
10
Python - What's the use of if True:?
I just came accross the following code in an existent project, which I'm working on: if True: x = 5 y = 6 return x+y else: return 'Something Inside the if True are lots of conditions and some will also return the function already. Why would somebody write in that way?...
python
null
null
null
null
null
open
Python - What's the use of if True:? === I just came accross the following code in an existent project, which I'm working on: if True: x = 5 y = 6 return x+y else: return 'Something Inside the if True are lots of conditions and some will also return the function alrea...
0
4,563,286
12/30/2010 14:16:15
312,751
04/09/2010 12:20:37
64
1
selenium java issue
I was unable to figure out an issue. The method testTest1() was not executing. it should open yahoo.com . **Here is my code :** package example1; import org.testng.annotations.*; import com.thoughtworks.selenium.*; import java.util.regex.Pattern; public class SimpleTest extends Selenes...
java
selenium
null
null
null
null
open
selenium java issue === I was unable to figure out an issue. The method testTest1() was not executing. it should open yahoo.com . **Here is my code :** package example1; import org.testng.annotations.*; import com.thoughtworks.selenium.*; import java.util.regex.Pattern; public class S...
0
8,904,839
01/18/2012 03:33:36
1,144,953
01/12/2012 07:45:12
8
0
Poppler configure issue
I want to incorporate libpopper into my application to be able to parse pdf file to plain text. And after I got the source code of poppler,I execute ./Configure,but there is a error about ***fontconfig*** saying below: ***configure: error: Package requirements (fontconfig >= 2.0.0) were not met: No package 'fontco...
linux
poppler
fontconfig
null
null
01/19/2012 06:40:44
too localized
Poppler configure issue === I want to incorporate libpopper into my application to be able to parse pdf file to plain text. And after I got the source code of poppler,I execute ./Configure,but there is a error about ***fontconfig*** saying below: ***configure: error: Package requirements (fontconfig >= 2.0.0) were...
3
7,055,959
08/14/2011 09:07:26
230,243
10/27/2009 18:29:34
40
1
iPhone sdk how to allow users to re-order tabbar items in IB built tabbar
I've been investigating this feature but it seems that most solutions require yo to have built your tababr programatically. My tab bar is built in IB and I don't particularly want to recode most of my app (unless I absolutely have to.) For IB built tabbars I've not yet found a tutorial or guidance. Does anyone have ...
iphone
sdk
nsuserdefaults
tabbar
null
null
open
iPhone sdk how to allow users to re-order tabbar items in IB built tabbar === I've been investigating this feature but it seems that most solutions require yo to have built your tababr programatically. My tab bar is built in IB and I don't particularly want to recode most of my app (unless I absolutely have to.) Fo...
0
9,796,835
03/21/2012 00:05:34
1,270,590
03/15/2012 02:59:04
6
0
need a help on my study guide
In big-Oh notation when we consider the order of the number of visits an algorithm makes, what do we ignore? I power of two terms II the coefficients of the terms III all lower order terms what I found in my book is that we ignore the coefficients of the terms. I check the answer that says only II but...
java
homework
search
sorting
null
04/03/2012 23:35:48
not constructive
need a help on my study guide === In big-Oh notation when we consider the order of the number of visits an algorithm makes, what do we ignore? I power of two terms II the coefficients of the terms III all lower order terms what I found in my book is that we ignore the coefficients of the terms. I che...
4
5,748,218
04/21/2011 18:25:09
719,480
04/21/2011 18:25:09
1
0
Proper syntax for a templated constructor using template template parameters
I'm trying to extend my (limited) understanding of class templates to class templates with template template parameters. This declaration and constructor works fine (well, it compiles): template < char PROTO > class Test { public: Test( void ); ~Test( void ); void doI...
c++
templates
null
null
null
null
open
Proper syntax for a templated constructor using template template parameters === I'm trying to extend my (limited) understanding of class templates to class templates with template template parameters. This declaration and constructor works fine (well, it compiles): template < char PROTO > class Test ...
0
2,377,920
03/04/2010 08:53:52
229,849
12/11/2009 18:12:23
219
1
auto seeking in mediaplayer in vb.net
if i have a video of 70 Seconds and i want to play it directly from 31 seconds to onwards how can i do that in vb.net
vb.net
null
null
null
null
null
open
auto seeking in mediaplayer in vb.net === if i have a video of 70 Seconds and i want to play it directly from 31 seconds to onwards how can i do that in vb.net
0
10,263,234
04/21/2012 21:39:08
1,130,909
01/04/2012 22:03:19
79
8
Python: What does this mean? "a := 1"
Really basic syntax question in Python. What does something like this translate to? a := 1
python
syntax
null
null
null
04/22/2012 12:21:39
not a real question
Python: What does this mean? "a := 1" === Really basic syntax question in Python. What does something like this translate to? a := 1
1
4,229,095
11/19/2010 20:27:07
330,776
05/02/2010 11:27:40
55
0
Filling an array in a linkedList ?
.................
java
null
null
null
null
11/19/2010 20:29:15
not a real question
Filling an array in a linkedList ? === .................
1
5,108,449
02/24/2011 17:47:12
618,616
02/15/2011 21:28:25
11
0
UpdatePanel misplaced buttons
I am using an update panel inside a <td> tag of a table using the code below. However, because of the update panel, the Log Story button appears on top of the remaining two buttons: reset and cancel. This is probably an easy fix, so how can I align all buttons in one row? Thanks! <td colspan="2" align="right"> ...
c#
asp.net
null
null
null
null
open
UpdatePanel misplaced buttons === I am using an update panel inside a <td> tag of a table using the code below. However, because of the update panel, the Log Story button appears on top of the remaining two buttons: reset and cancel. This is probably an easy fix, so how can I align all buttons in one row? Thanks! ...
0
1,850,133
12/04/2009 22:41:01
48,523
12/23/2008 00:36:38
1,042
30
How to check for a constant in an array using PHP?
I'm not really sure how to do this. I have an object and I want to set a 'type' property on it, but before doing that I want to check to make sure it's a valid type. I was thinking this is a good time to use constants since the type names won't change (nor do I want them to be). // this is just a sample of wh...
php
null
null
null
null
null
open
How to check for a constant in an array using PHP? === I'm not really sure how to do this. I have an object and I want to set a 'type' property on it, but before doing that I want to check to make sure it's a valid type. I was thinking this is a good time to use constants since the type names won't change (nor do I...
0
9,310,921
02/16/2012 12:00:18
1,051,355
04/26/2010 11:56:09
480
7
Python syntax overview?
I am searching a cheat sheet that gives me an overview of syntax capabilities of python 2.x I am not searching a Quick Reference on common data structures and functions. I think of a pice of valid example code but also gives hints to alternatives, e.g. there are multiple ways to employ a for loop over a range. It shoul...
python
syntax
overview
null
null
07/18/2012 12:02:22
not constructive
Python syntax overview? === I am searching a cheat sheet that gives me an overview of syntax capabilities of python 2.x I am not searching a Quick Reference on common data structures and functions. I think of a pice of valid example code but also gives hints to alternatives, e.g. there are multiple ways to employ a fo...
4
9,579,482
03/06/2012 07:20:17
1,251,542
03/06/2012 07:12:25
1
0
asp.net content page
I am using asp.net3.5 master-content page.<br><br> 1. dropdownlist control load having problem while loading some default javascript events like <bR> onblur()<br>onkeydown() . <br><br> can any one help me how to avoid this?
c#
asp.net
ajax
master-pages
content
03/06/2012 22:40:45
not a real question
asp.net content page === I am using asp.net3.5 master-content page.<br><br> 1. dropdownlist control load having problem while loading some default javascript events like <bR> onblur()<br>onkeydown() . <br><br> can any one help me how to avoid this?
1
2,805,841
05/10/2010 19:34:25
46,250
12/15/2008 03:56:54
177
5
Implementing PyMyType_Check methods with Python C API?
All the Python-provided types have a check method (i.e., `PyList_Check`) that allows you to check if an arbitrary `PyObject*` is actually a specific type. How can I implement this for my own types? I haven't found anything good online for this, though it seems like a pretty normal thing to want to do. Also, mayb...
python
c
c++
null
null
null
open
Implementing PyMyType_Check methods with Python C API? === All the Python-provided types have a check method (i.e., `PyList_Check`) that allows you to check if an arbitrary `PyObject*` is actually a specific type. How can I implement this for my own types? I haven't found anything good online for this, though it s...
0
11,629,577
07/24/2012 11:08:41
1,548,469
07/24/2012 11:04:31
1
0
linux TCP/IP stack modifying
It's an Interview question: For some reason I want to have receiver send out MORE ACKs. o How do I do (assuming I can freely modify Linux TCP/IP stack)? Where to change? o What’s the impact? How do you model that? o For example, what if for every data packet received I immediately send out 2 or 3 ACKs?
linux
tcp
stack
null
null
07/24/2012 23:03:44
not a real question
linux TCP/IP stack modifying === It's an Interview question: For some reason I want to have receiver send out MORE ACKs. o How do I do (assuming I can freely modify Linux TCP/IP stack)? Where to change? o What’s the impact? How do you model that? o For example, what if for every data packet received I imme...
1
10,334,086
04/26/2012 13:09:00
1,113,027
12/23/2011 07:57:28
1
0
Can I write entire aaplication using NOSQL ONLY?
I am planning an application that intends to store a LOT of user data. and i am quite concerned about the speed of data retrial. I have heard a little about NOSQL and know that it provides better performance than relational databases. So I am planning to use NOSQL (Preferably MongoDB) as my primary database system. ...
php
mysql
nosql
relational-database
null
04/29/2012 09:27:09
not a real question
Can I write entire aaplication using NOSQL ONLY? === I am planning an application that intends to store a LOT of user data. and i am quite concerned about the speed of data retrial. I have heard a little about NOSQL and know that it provides better performance than relational databases. So I am planning to use NOSQ...
1
7,765,531
10/14/2011 09:18:02
549,928
12/21/2010 12:57:31
52
1
Can anybody explain me how to use ARC in my iPhone app?
Since ios5 released and i upgraded my xcode to 4.2 and now i want to start one new iPhone project i'm interested to use ARC functionality, so i know little bit about this that if we use ARC then no need to use release/autorelease/retain for our objects and moreover dealloc is not at all needed, but the thing is how exa...
iphone
objective-c
ios
ipad
xcode4
10/15/2011 06:20:34
not a real question
Can anybody explain me how to use ARC in my iPhone app? === Since ios5 released and i upgraded my xcode to 4.2 and now i want to start one new iPhone project i'm interested to use ARC functionality, so i know little bit about this that if we use ARC then no need to use release/autorelease/retain for our objects and mo...
1
2,132,155
01/25/2010 12:23:22
192,428
10/19/2009 12:57:12
1
0
regular expression
(.[^_]+) Matches correctly when there is no underscore, how can I modify this regex to match when there is no underscore only before a question mark ? ie. ignore any underscores after ?
regex
null
null
null
null
null
open
regular expression === (.[^_]+) Matches correctly when there is no underscore, how can I modify this regex to match when there is no underscore only before a question mark ? ie. ignore any underscores after ?
0
7,158,648
08/23/2011 09:10:36
572,586
01/12/2011 10:49:26
1,212
107
Why do we need `class` in C++?
Using `struct` we can achieve all the functionalities of a `class`: - constructors, destructors - member functions, static functions. - overloaded functions, virtual functions - public / private / protected access specifiers. - operators The only difference are the default access rights: public for cl...
c++
null
null
null
null
08/23/2011 15:26:03
not constructive
Why do we need `class` in C++? === Using `struct` we can achieve all the functionalities of a `class`: - constructors, destructors - member functions, static functions. - overloaded functions, virtual functions - public / private / protected access specifiers. - operators The only difference are the ...
4