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
1,432,573
09/16/2009 12:08:52
174,299
09/16/2009 11:40:49
1
0
Limiting MySQL results within query
I'm looking to see if I can get the results I need with a single query, and my MySQL skills are still in their adolescence over here. I have 4 tables: `shows`, `artists`, `venues` and `tours`. A simplified version of my main query right now looks like this: SELECT * FROM artists AS a, venues AS v, shows AS s ...
mysql
limit
null
null
null
null
open
Limiting MySQL results within query === I'm looking to see if I can get the results I need with a single query, and my MySQL skills are still in their adolescence over here. I have 4 tables: `shows`, `artists`, `venues` and `tours`. A simplified version of my main query right now looks like this: SELECT * FR...
0
8,584,126
12/21/2011 01:37:46
920,936
08/31/2011 04:30:33
1
0
Proper level system design in game engine
I am writing a basic game engine but I am having trouble with how to best set up the level creation code. What are some correct and reusable ways of abstracting the level generation code in a game engine? What hierarchies should be used?
c#
oop
xna
null
null
12/21/2011 09:19:47
not a real question
Proper level system design in game engine === I am writing a basic game engine but I am having trouble with how to best set up the level creation code. What are some correct and reusable ways of abstracting the level generation code in a game engine? What hierarchies should be used?
1
4,227,203
11/19/2010 16:38:54
219,415
11/26/2009 13:29:27
9
0
FBX file properties using XNA
I am new to XNA programming. I am loading content dynamically using XNA. I have loaded fbx file and generate the view, but unable to get the file properties(e.g. Texture Count, Vertex Count, Face Count, Poly Count etc). Please help me on this. Thanks
xna
null
null
null
null
null
open
FBX file properties using XNA === I am new to XNA programming. I am loading content dynamically using XNA. I have loaded fbx file and generate the view, but unable to get the file properties(e.g. Texture Count, Vertex Count, Face Count, Poly Count etc). Please help me on this. Thanks
0
11,453,568
07/12/2012 14:03:19
907,198
08/23/2011 07:09:24
22
2
How to take oracle 10g backup?
i followed http://www.oracle-base.com/articles/10g/oracle-data-pump-10g.php link to create db backup i used "expdp scott/tiger@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=expdpDB10G.log" command to create db backup ,but i am facing below error message UDE-00008: operation generated ORACLE error 1033...
java
oracle10g
database-backups
null
null
07/12/2012 15:43:18
off topic
How to take oracle 10g backup? === i followed http://www.oracle-base.com/articles/10g/oracle-data-pump-10g.php link to create db backup i used "expdp scott/tiger@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=expdpDB10G.log" command to create db backup ,but i am facing below error message UDE-00008: o...
2
11,425,162
07/11/2012 03:35:53
1,409,474
05/22/2012 06:28:58
18
0
can't passing parameter to the loop
this is my code, I want to alert different word base on different actions,but it doesn't work. <input id=main value="ddddd"> <script type="text/javascript"> var obj = document.getElementById("main"); var items = [ "click", "keypress" ]; for ( var i = 0; i < items.length; i++ ) { ...
javascript
loops
scope
null
null
null
open
can't passing parameter to the loop === this is my code, I want to alert different word base on different actions,but it doesn't work. <input id=main value="ddddd"> <script type="text/javascript"> var obj = document.getElementById("main"); var items = [ "click", "keypress" ]; for ( var i =...
0
10,370,712
04/29/2012 08:16:53
1,178,412
01/30/2012 15:42:49
5
0
White border appearing above window in WPF designer
When using the designer in Visual Studio, a white bar appears at the top, I am unable to put any content in this bar as anything that goes near it goes underneath it. http://i.imgur.com/tqp59.png This causes a black bar to appear where I can't place content and it is making it impossible to design the window, bec...
c#
wpf
window
null
null
null
open
White border appearing above window in WPF designer === When using the designer in Visual Studio, a white bar appears at the top, I am unable to put any content in this bar as anything that goes near it goes underneath it. http://i.imgur.com/tqp59.png This causes a black bar to appear where I can't place content...
0
8,642,244
12/27/2011 07:43:29
1,117,229
12/27/2011 07:16:25
1
0
How to view word, Power point and Excel files in browser using PHP?
I want to open word, Power point and excel files in browser like PDF file, we can open PDF file in browser. help...! Thanks in advance....
php
null
null
null
null
12/27/2011 14:25:06
not a real question
How to view word, Power point and Excel files in browser using PHP? === I want to open word, Power point and excel files in browser like PDF file, we can open PDF file in browser. help...! Thanks in advance....
1
6,816,604
07/25/2011 13:05:37
848,633
07/17/2011 12:13:23
6
0
Calling parameterized stored procedure in OpenQuery - SQl Server 2008
I am calling a stored procedure in OpenQuery and passing parameters to the stored Procedure. declare @Src nvarchar(max),@Tgt nvarchar(max) declare @sql_str nvarchar (4000) set @Src = '$\VMT\Versions\0900\AMS\' set @Tgt = '$\VMT\Versions\0900\Base\' set @sql_str = 'exec [Tfs_VMT Collection].dbo.MergeCandidate '''...
sql
server
null
null
null
null
open
Calling parameterized stored procedure in OpenQuery - SQl Server 2008 === I am calling a stored procedure in OpenQuery and passing parameters to the stored Procedure. declare @Src nvarchar(max),@Tgt nvarchar(max) declare @sql_str nvarchar (4000) set @Src = '$\VMT\Versions\0900\AMS\' set @Tgt = '$\VMT\Versions\09...
0
8,893,316
01/17/2012 10:48:46
206,903
11/09/2009 13:42:37
140
0
where can i get the GCC binary?
I want to get the latest GCC linux binary, a simple link->download. Does anyone know of any such place? I'm having a hard time finding one. Of course there is the possibility of downloading the source code and compiling it - but the instructions in http://gcc.gnu.org/install/download.html are both long and grueso...
gcc
null
null
null
null
01/18/2012 10:09:15
not a real question
where can i get the GCC binary? === I want to get the latest GCC linux binary, a simple link->download. Does anyone know of any such place? I'm having a hard time finding one. Of course there is the possibility of downloading the source code and compiling it - but the instructions in http://gcc.gnu.org/install/do...
1
10,887,063
06/04/2012 19:23:46
350,228
05/25/2010 18:57:26
6
0
Trouble building executable uber jar with Maven and Subetha SMTP and LOG4J
I'm new to maven, and trying to create an application which uses the [Subetha SMTP library][1], and package the entire app into one executable app. To do the packaging I am attempting to use [Mavens Shade plugin][2], but am running into an issue with one of the libraries which Subetha SMTP is using/including. The...
java
maven
smtp
log4j
shade
06/04/2012 20:23:12
not a real question
Trouble building executable uber jar with Maven and Subetha SMTP and LOG4J === I'm new to maven, and trying to create an application which uses the [Subetha SMTP library][1], and package the entire app into one executable app. To do the packaging I am attempting to use [Mavens Shade plugin][2], but am running into ...
1
7,530,838
09/23/2011 14:45:02
907,534
08/23/2011 10:47:16
1
0
MVC3 jQuery.validate not working when submitting form
I've been working in MVC3 using the built in jquery validation. Client validation did appear to be working when tabbing through the fields except when I submitted the actual form. Below are my include scripts: <script src="@Url.Content("~/Scripts/jquery-1.6.2.min.js")" type="text/javascript"></script> ...
asp.net
asp.net-mvc-3
null
null
null
null
open
MVC3 jQuery.validate not working when submitting form === I've been working in MVC3 using the built in jquery validation. Client validation did appear to be working when tabbing through the fields except when I submitted the actual form. Below are my include scripts: <script src="@Url.Content("~/Scripts/j...
0
11,463,241
07/13/2012 02:16:52
696,668
04/07/2011 11:05:43
286
0
Free databases for learning?
Are there any free mock .db files available that I can just download to test some sql queries? For example if I want a movie database, are there any available or do I have to create my own?
database
learning-resources
null
null
null
07/14/2012 04:15:14
not a real question
Free databases for learning? === Are there any free mock .db files available that I can just download to test some sql queries? For example if I want a movie database, are there any available or do I have to create my own?
1
1,913,784
12/16/2009 10:38:19
232,856
12/16/2009 10:38:19
1
0
In Asp.net to manage control in table (tr,td) is right or wrong pls suggest?
In Asp.net to manage control in table (tr,td) is right or wrong pls suggest? If wrong than what is right for programming purpose pls suggest?
asp.net-3.5
null
null
null
null
null
open
In Asp.net to manage control in table (tr,td) is right or wrong pls suggest? === In Asp.net to manage control in table (tr,td) is right or wrong pls suggest? If wrong than what is right for programming purpose pls suggest?
0
8,416,858
12/07/2011 14:24:10
830,054
07/05/2011 15:59:34
23
0
How to get full path from savefiledialog and use in "startInfo.Arguments"?
In my case the savefiledialog will not write any file, but I want to use to specify the path for a command line app which will create the logfile on the same location as "saved" in the sf dialog. SaveFileDialog sfd = new SaveFileDialog(); sfd.Filter = "*.txt"; ...
c#
winforms
null
null
null
null
open
How to get full path from savefiledialog and use in "startInfo.Arguments"? === In my case the savefiledialog will not write any file, but I want to use to specify the path for a command line app which will create the logfile on the same location as "saved" in the sf dialog. SaveFileDialog sfd = ne...
0
10,509,630
05/09/2012 03:59:48
1,383,587
05/09/2012 03:40:15
1
0
what does this syntax means-
$(window.application).bind("locationchage.MyClassName",function(){$(window).unbind ("click");$(window.application).unbind("locationchange.styleCategory");})/*to fire window click event*/
jquery
null
null
null
null
05/09/2012 04:24:56
not a real question
what does this syntax means- === $(window.application).bind("locationchage.MyClassName",function(){$(window).unbind ("click");$(window.application).unbind("locationchange.styleCategory");})/*to fire window click event*/
1
4,708,310
01/16/2011 21:51:11
577,838
01/16/2011 21:51:11
1
0
Memory layout of executable
When loading an executable then segments like the code, data, bss and so on need to be placed in memory. I am just wondering, if someone could tell me where on a standard x86 for example the libc library is placed. Is that at the top or bottom of memory. My guess is at the bottom, close to the application code, ie., th...
c
memory
memory-allocation
null
null
null
open
Memory layout of executable === When loading an executable then segments like the code, data, bss and so on need to be placed in memory. I am just wondering, if someone could tell me where on a standard x86 for example the libc library is placed. Is that at the top or bottom of memory. My guess is at the bottom, close...
0
10,855,668
06/01/2012 18:41:51
1,183,759
02/01/2012 21:30:40
72
1
Grails - Passing domain parameter to Javascript
Is there a way to pass an instance variable in my gsp file to Javascript? This is what I have that doesn't work: <input type="button" value="Add" onclick="addTo('${person.id}');" /> ${person.id} is the ID of the domain instance Person.
ajax
grails
null
null
null
null
open
Grails - Passing domain parameter to Javascript === Is there a way to pass an instance variable in my gsp file to Javascript? This is what I have that doesn't work: <input type="button" value="Add" onclick="addTo('${person.id}');" /> ${person.id} is the ID of the domain instance Person.
0
9,148,932
02/05/2012 11:40:39
837,499
07/10/2011 09:36:02
14
1
Tableview Position "moved up" when BarStyle is BlackTranslucent
I got a strange problem. The UITableview in my view will move down when I call > [self.navigationController.navigationBar > setBarStyle:UIBarStyleBlackTranslucent]; ![!(http://imageshack.us/photo/my-images/4/xibn.png/)][1] But it's comes normal when I comment that line //[self.navigationController.nav...
objective-c
uitableview
xcode4
ios5
uinavigationbar
null
open
Tableview Position "moved up" when BarStyle is BlackTranslucent === I got a strange problem. The UITableview in my view will move down when I call > [self.navigationController.navigationBar > setBarStyle:UIBarStyleBlackTranslucent]; ![!(http://imageshack.us/photo/my-images/4/xibn.png/)][1] But it's comes no...
0
6,522,459
06/29/2011 14:36:09
334,485
05/06/2010 13:37:12
41
3
Scala Map from tuple iterable
constructing <code>scala.collection.Map</code> from other collections, I constantly find myself writing <code> val map = Map(foo.map(x=>(x, f(x))) </code> However, this doesn't really work since `Map.apply` takes variable arguments only - so I have to write `val map = Map(foo.map(x=>(x, f(x)) toSeq :_*)` ...
scala
scala-collections
null
null
null
null
open
Scala Map from tuple iterable === constructing <code>scala.collection.Map</code> from other collections, I constantly find myself writing <code> val map = Map(foo.map(x=>(x, f(x))) </code> However, this doesn't really work since `Map.apply` takes variable arguments only - so I have to write `val map = Map(f...
0
11,657,343
07/25/2012 19:40:24
116,095
06/02/2009 16:17:48
88
1
Can browser-based mobile applications detect incoming phone number?
Theoretically, would it be possible to write a web browser-based mobile application (i.e. not a native app) that would detect the phone number of an incoming call and check that phone number against a database? It would only need to run on recent versions of BlackBerry, iPhone, and Android phone browsers. Thank you.
android
iphone
mobile
blackberry
null
08/01/2012 09:13:14
not a real question
Can browser-based mobile applications detect incoming phone number? === Theoretically, would it be possible to write a web browser-based mobile application (i.e. not a native app) that would detect the phone number of an incoming call and check that phone number against a database? It would only need to run on recent...
1
10,077,264
04/09/2012 17:41:22
191,837
10/17/2009 22:26:04
3,724
188
svg overflow hidden, but not IE9
In the past I answered a question about "who was wrong" in regards to SVG images not being "cropped" (`overflow: hidden`) in IE9, where all other supporting browsers did so. The answer is [here][1]. Today, while reviewing HTML5 Boilerplate again, I noticed that they claim they ["\[correct\] overflow not being hidden...
html
css
svg
w3c
null
04/09/2012 20:01:12
not a real question
svg overflow hidden, but not IE9 === In the past I answered a question about "who was wrong" in regards to SVG images not being "cropped" (`overflow: hidden`) in IE9, where all other supporting browsers did so. The answer is [here][1]. Today, while reviewing HTML5 Boilerplate again, I noticed that they claim they [...
1
9,530,077
03/02/2012 08:19:07
743,086
05/07/2011 13:45:39
25
1
How can I find physical address of my files on hard disc
Suppose, I save a file on my hard disc drive(for example c:\abc.txt) that system file of my drive is in system file FAT32 or NTFS, I want to find physical address of this file for example sector number XXXXX to sector number yyyyy. please help me.
assembly
filesystems
ntfs
fat32
null
null
open
How can I find physical address of my files on hard disc === Suppose, I save a file on my hard disc drive(for example c:\abc.txt) that system file of my drive is in system file FAT32 or NTFS, I want to find physical address of this file for example sector number XXXXX to sector number yyyyy. please help me.
0
11,604,046
07/22/2012 21:15:56
1,123,905
12/31/2011 03:30:39
27
0
Where are the best resources for learning the basic on putting a website to production?
I built an app with Ruby on Rails that is working perfectly locally. I pushed it to heroku and it works there at blooming-summer-8571.herokuapp.com but I want to change it to a custom domain. Then I have a free DNS at Zerigo. I also registered the domain name I want at network solutions. I am having trouble getting the...
web-services
heroku
dns
null
null
07/23/2012 09:54:19
not a real question
Where are the best resources for learning the basic on putting a website to production? === I built an app with Ruby on Rails that is working perfectly locally. I pushed it to heroku and it works there at blooming-summer-8571.herokuapp.com but I want to change it to a custom domain. Then I have a free DNS at Zerigo. I...
1
10,784,111
05/28/2012 11:41:40
1,278,820
03/19/2012 14:48:24
18
1
Class does not exist in current context
I have a data list user control where I inserted a hyperlink with this property: > NavigateUrl='<%# MyLinkGen.ToFilm(Eval("fid").ToString()) %>' MyLinkGen is a class, where I define the "ToFilm" method. According to this method, ToFilm("33") for example should generate the following link: > /Catalog.aspx?FilmI...
c#
visual-studio-2008
null
null
null
null
open
Class does not exist in current context === I have a data list user control where I inserted a hyperlink with this property: > NavigateUrl='<%# MyLinkGen.ToFilm(Eval("fid").ToString()) %>' MyLinkGen is a class, where I define the "ToFilm" method. According to this method, ToFilm("33") for example should generate...
0
8,195,390
11/19/2011 16:22:53
736,642
05/03/2011 17:31:29
18
0
How to load next previous html page with java script
i'm making website so there i'm creating a book and it has many topics so i want there should have any option through which automatically it go to Next and previous html page. page names will be 1.html, 2.html and so on. please help me if this can be handle with java script... thanks in advance.
javascript
html
null
null
null
11/19/2011 17:01:35
not constructive
How to load next previous html page with java script === i'm making website so there i'm creating a book and it has many topics so i want there should have any option through which automatically it go to Next and previous html page. page names will be 1.html, 2.html and so on. please help me if this can be handle with...
4
7,074,539
08/16/2011 06:51:28
881,756
08/06/2011 09:00:19
1
0
$_post not working in PHP
<html> <head><title>HEllo</title></head> <body> <input type="text" name="id"> <input type="text" name="name"> <input type="text" name="address"> <input type ="submit" name = "s" value = "Employee"> <?php $link =mysql_connect('localhost','root') or die("Failed"); mysql_se...
php
null
null
null
null
null
open
$_post not working in PHP === <html> <head><title>HEllo</title></head> <body> <input type="text" name="id"> <input type="text" name="name"> <input type="text" name="address"> <input type ="submit" name = "s" value = "Employee"> <?php $link =mysql_connect('localhost','root') ...
0
4,940,399
02/09/2011 01:11:04
345,434
05/19/2010 19:42:29
1
1
Coldfusion ORM 9.0.1 - Error while resolving relationship.
I got this example from the adobe coldfusion documentation, some of the names are changed but everything else is the same, unless I am just so frustrated that I have missed a letter. user.cfc: /** *@persistent */ component { property name="id" fieldtype="id" generator="native"; ...
orm
coldfusion
coldfusion-9
null
null
null
open
Coldfusion ORM 9.0.1 - Error while resolving relationship. === I got this example from the adobe coldfusion documentation, some of the names are changed but everything else is the same, unless I am just so frustrated that I have missed a letter. user.cfc: /** *@persistent */ component ...
0
1,396,264
09/08/2009 20:49:59
100,952
05/04/2009 15:39:08
16
1
How to sort by annotated Count() in a related model in Django
I'm building a food logging database in Django and I've got a query related problem. I've set up my models to include (among other things) a Food model connected to the User model through an M2M-field "consumer" via the Consumption model. The Food model describes food dishes and the Consumption model describes a use...
django
django-models
django-queries
aggregate-functions
null
null
open
How to sort by annotated Count() in a related model in Django === I'm building a food logging database in Django and I've got a query related problem. I've set up my models to include (among other things) a Food model connected to the User model through an M2M-field "consumer" via the Consumption model. The Food mo...
0
1,874,708
12/09/2009 15:35:16
186,078
10/08/2009 02:30:36
36
4
Delaying or briefly pausing windows messages
I have a Winforms DataGridView in my application. When the user selects a row and hits enter, I load a new form with details related to that row. It takes about a second to get the data and show the screen. Some of the users are pretty fast and they start entering keystrokes relevant to the form e.g Pg Down/Pg Up, even...
winforms
c#
.net-3.5
.net
null
null
open
Delaying or briefly pausing windows messages === I have a Winforms DataGridView in my application. When the user selects a row and hits enter, I load a new form with details related to that row. It takes about a second to get the data and show the screen. Some of the users are pretty fast and they start entering keyst...
0
2,414,653
03/10/2010 05:06:05
165,495
08/30/2009 02:12:42
863
50
What does a mobile need to be able to run JavaFX?
What exactly does a mobile need to be able to run JavaFX? Can it run on any mobile that supports specific JSRs or does it have to be installed by the manufacturer?
javafx
null
null
null
null
null
open
What does a mobile need to be able to run JavaFX? === What exactly does a mobile need to be able to run JavaFX? Can it run on any mobile that supports specific JSRs or does it have to be installed by the manufacturer?
0
6,525,782
06/29/2011 18:58:07
787,848
06/07/2011 16:25:33
3
1
PHP product listing page total amount to post to payment form
i am using a SIM API to run credit card payments through my site. Specifically Authorize.net I have a one product with a product listing a quantity field and a purchase button. I need the amount that posts to be updated if the customer changes the quantity. Here is my code: <?php // This sampl...
php
forms
payment-gateway
posting
null
06/30/2011 00:54:03
not a real question
PHP product listing page total amount to post to payment form === i am using a SIM API to run credit card payments through my site. Specifically Authorize.net I have a one product with a product listing a quantity field and a purchase button. I need the amount that posts to be updated if the customer changes the...
1
11,210,473
06/26/2012 15:13:57
1,482,007
06/26/2012 07:49:22
1
0
installing jira
I am trying to install jira to tomcat6. But when I want to run build.sh this error message occurs: sudo: ./build.sh: command not found what should I do? I am in the directory of build.sh. My command is sudo ./build.sh
tomcat
ubuntu
tomcat6
jira
null
06/27/2012 15:32:12
off topic
installing jira === I am trying to install jira to tomcat6. But when I want to run build.sh this error message occurs: sudo: ./build.sh: command not found what should I do? I am in the directory of build.sh. My command is sudo ./build.sh
2
8,856,994
01/13/2012 20:45:04
1,148,465
01/13/2012 20:30:51
1
0
Javascript not working in Chrome or IE9 - Error "Checkbox is not defined" shows in FF JS console
> The Function is... function checkbox(val) { if (val==17831) { document.getElementById ("Public_Product_line_questionpi_Public_Product_line_question_16171").disabled = false; document.getElementById > The DOM Checkbox Element is <input type="checkbox" name="General_Em...
javascript
google-chrome
internet-explorer-9
null
null
null
open
Javascript not working in Chrome or IE9 - Error "Checkbox is not defined" shows in FF JS console === > The Function is... function checkbox(val) { if (val==17831) { document.getElementById ("Public_Product_line_questionpi_Public_Product_line_question_16171").disabled = false; doc...
0
4,569,495
12/31/2010 10:17:50
559,175
12/31/2010 10:17:50
1
0
How to release a AVAudioPlayer object when it has to play a short sound every second after pressing a button
I have the following problem making me crazy. My app has to play a tick sound every second for a specified number of times (e.g. 5) after the user has pressed a button. I used this: <code> for (int w=1; w<=5; w++) { [NSThread detachNewThreadSelector:@selector(tic) toTarget:self withObject:nil]; ...
iphone-sdk-4.0
audio
avaudioplayer
autorelease
null
null
open
How to release a AVAudioPlayer object when it has to play a short sound every second after pressing a button === I have the following problem making me crazy. My app has to play a tick sound every second for a specified number of times (e.g. 5) after the user has pressed a button. I used this: <code> for...
0
7,130,721
08/20/2011 08:42:09
581,734
01/19/2011 16:15:13
193
1
truecrypt encrypt system partition while in use
When i select to encrypt non system partition truecrypt dismounts it. When i select to encrypt system partition it is able to encrypt it while in use. How can truecrypt fully encrypt system partition while there are open files ?
encryption
null
null
null
null
08/20/2011 16:06:59
off topic
truecrypt encrypt system partition while in use === When i select to encrypt non system partition truecrypt dismounts it. When i select to encrypt system partition it is able to encrypt it while in use. How can truecrypt fully encrypt system partition while there are open files ?
2
1,502,173
10/01/2009 06:17:21
102,839
05/07/2009 11:52:05
21
0
Sending email in iPhone
In my application I have to send feedback to the client's email. Here is my code, -(void) send:(id) sender { [self sendEmailTo:[txtTo text] withSubject:[txtSubject text] withBody:[txtBody text]]; } -(void) sendEmailTo:(NSString *)to withSubject:(NSString *) subject withBody:(NSString*)body { NS...
iphone
null
null
null
null
null
open
Sending email in iPhone === In my application I have to send feedback to the client's email. Here is my code, -(void) send:(id) sender { [self sendEmailTo:[txtTo text] withSubject:[txtSubject text] withBody:[txtBody text]]; } -(void) sendEmailTo:(NSString *)to withSubject:(NSString *) subject withBo...
0
984,530
06/12/2009 00:46:41
109,162
05/19/2009 04:46:07
39
1
Is this the correct way to call a textarea in jquery?
This syntax for some reason isn't working and I'm wondering why. When I alert the values in the page, I can see everything but the textarea value. I'm not even getting an undefined. var report = $("textarea#report").val();
jquery
null
null
null
null
null
open
Is this the correct way to call a textarea in jquery? === This syntax for some reason isn't working and I'm wondering why. When I alert the values in the page, I can see everything but the textarea value. I'm not even getting an undefined. var report = $("textarea#report").val();
0
9,052,125
01/29/2012 09:15:59
978,465
10/04/2011 12:55:15
54
0
How to Handle JQuery Ajax Result With Out Call Back Function
I am using jQuery Ajax API to Handle My CRUD Operations. I Encounter the Situation That I Want to Call Server Using AJAX but Not Want to Handle Result With Call Back Function. Is There any Way to Handle Result With Out Using Call Back Functions.
javascript
jquery
httpclient
client-side
null
null
open
How to Handle JQuery Ajax Result With Out Call Back Function === I am using jQuery Ajax API to Handle My CRUD Operations. I Encounter the Situation That I Want to Call Server Using AJAX but Not Want to Handle Result With Call Back Function. Is There any Way to Handle Result With Out Using Call Back Functions.
0
126,188
09/24/2008 09:24:34
21,572
09/24/2008 09:17:37
1
1
MSSQL and Oracle, which one is better in terms of scalability?
MSSQL and Oracle, which one is better in terms of scalability? For example, if the data size reach 500 TB etc.
database
null
null
null
null
02/04/2012 16:59:26
not constructive
MSSQL and Oracle, which one is better in terms of scalability? === MSSQL and Oracle, which one is better in terms of scalability? For example, if the data size reach 500 TB etc.
4
10,744,274
05/24/2012 19:46:30
263,801
02/01/2010 19:21:21
1,942
34
Java generics compile error involving Class<? extends T>
This program does not compile: public class xx { static class Class1<C> { void method1(C p) { } } static class Class2<T> extends Class1<Class<? extends T>> { T object; void method2() { this.method1(this.object.getClas...
java
generics
null
null
null
null
open
Java generics compile error involving Class<? extends T> === This program does not compile: public class xx { static class Class1<C> { void method1(C p) { } } static class Class2<T> extends Class1<Class<? extends T>> { T object; void...
0
6,041,708
05/18/2011 08:14:55
758,748
05/18/2011 07:54:31
1
0
Bash - subshells and waiting for subprocesses to finish
This is rather a snippet than a question, but still comments are welcome. Consider an example: #!/bin/bash echo "one two three" | while read line; do echo $line ( echo "Starting $$" sleep 10 echo "Ending $$" ) & sleep 2 ...
bash
wait
subshell
null
null
05/18/2011 08:51:42
not a real question
Bash - subshells and waiting for subprocesses to finish === This is rather a snippet than a question, but still comments are welcome. Consider an example: #!/bin/bash echo "one two three" | while read line; do echo $line ( echo "Starting $$" sleep 10 ...
1
10,704,636
05/22/2012 14:59:25
1,410,494
05/22/2012 14:46:59
1
0
Vectors moving and zooming while multitouch event with OpenLayers and Google Layer
I'm using OpenLayers with Google Layer, and I have a strange behaviour about vectors on the map. On mobile (Android), when doing a multitouch event on the map (zoom), vectors move and zoom as the touchmove event is active. But when the touchend event is trigger, vectors are refresh at the right place and with their ...
google
vector
openlayers
multitouch
null
null
open
Vectors moving and zooming while multitouch event with OpenLayers and Google Layer === I'm using OpenLayers with Google Layer, and I have a strange behaviour about vectors on the map. On mobile (Android), when doing a multitouch event on the map (zoom), vectors move and zoom as the touchmove event is active. But wh...
0
11,638,796
07/24/2012 20:28:59
1,222,420
02/21/2012 02:35:02
373
16
Why does ORDERBY not belong in a View?
I [understand](http://stackoverflow.com/questions/4227746/possible-to-have-an-orderby-in-a-view) [that you](http://blog.sqlauthority.com/2010/08/23/sql-server-order-by-does-not-work-limitation-of-the-views-part-1/) [cannot have](http://social.msdn.microsoft.com/forums/en-US/transactsql/thread/de53825b-a727-4bc7-95af-a4...
sql
sql-server
order-by
sql-view
null
07/24/2012 23:32:17
off topic
Why does ORDERBY not belong in a View? === I [understand](http://stackoverflow.com/questions/4227746/possible-to-have-an-orderby-in-a-view) [that you](http://blog.sqlauthority.com/2010/08/23/sql-server-order-by-does-not-work-limitation-of-the-views-part-1/) [cannot have](http://social.msdn.microsoft.com/forums/en-US/t...
2
5,172,510
03/02/2011 19:42:03
299,434
03/22/2010 21:57:28
167
11
Should I choose F# to develop a distributed server platform?
I am currently in the research phase for a new distributed server framework that will be used for real time simulations (20,000+ clients). We had made a decision to use C#/.NET as our platform, but someone recently passed me some articles on F# and, from the surface, it looks like a great tool to use in developing the...
f#
null
null
null
null
07/20/2012 15:13:08
not constructive
Should I choose F# to develop a distributed server platform? === I am currently in the research phase for a new distributed server framework that will be used for real time simulations (20,000+ clients). We had made a decision to use C#/.NET as our platform, but someone recently passed me some articles on F# and, fro...
4
9,713,439
03/15/2012 03:04:30
568,393
01/08/2011 22:43:43
1,273
33
Group values by a key with any Monoid
I would like to write a method `mergeKeys` that groups the values in an `Iterable[(K, V)]` by the keys. For example, I could write: def mergeKeysList[K, V](iter: Iterable[(K, V)]) = { iter.foldLeft(Map[K, List[V]]().withDefaultValue(List.empty[V])) { case (map, (k, v)) => ...
scala
monads
scalaz
monoids
null
null
open
Group values by a key with any Monoid === I would like to write a method `mergeKeys` that groups the values in an `Iterable[(K, V)]` by the keys. For example, I could write: def mergeKeysList[K, V](iter: Iterable[(K, V)]) = { iter.foldLeft(Map[K, List[V]]().withDefaultValue(List.empty[V])) { ...
0
11,359,296
07/06/2012 09:15:31
1,175,288
01/28/2012 14:27:37
19
2
how to implement Picasa API for iPhone to download and upload the images
I have to implement Picasa API for iPhone to download and upload the images. Where can I find good tutorial on the same. I don't know anything about implementing google data. I have to implement Picasa API from the scratch so guide me. Thanx and regards.
iphone
objective-c
null
null
null
07/06/2012 12:10:46
not a real question
how to implement Picasa API for iPhone to download and upload the images === I have to implement Picasa API for iPhone to download and upload the images. Where can I find good tutorial on the same. I don't know anything about implementing google data. I have to implement Picasa API from the scratch so guide me. Thanx ...
1
6,867,903
07/29/2011 02:04:36
820,233
06/29/2011 01:47:23
8
0
using a 2d vector as value type in a c++ map
I need to to have a map where the key is a string type and the value is a 2d vector. I tried `map<string, vector<vector<double> > > myMap;` but doesn't seem to work.
c++
null
null
null
null
07/29/2011 02:12:47
not a real question
using a 2d vector as value type in a c++ map === I need to to have a map where the key is a string type and the value is a 2d vector. I tried `map<string, vector<vector<double> > > myMap;` but doesn't seem to work.
1
1,049,318
06/26/2009 14:01:19
33,264
11/01/2008 02:18:32
1,435
119
When to call base.method() and what code should go in a base.method()?
In the following sample, the writer of the derived class will be expected to call base.Add(). If it happens 1st, the base can do one sort of code. If it happens last, the base can do another kind of logic (see sample). I doesn't seem possible to have it both ways. And easy fix would be do stop calling the base method...
oop
c#
null
null
null
null
open
When to call base.method() and what code should go in a base.method()? === In the following sample, the writer of the derived class will be expected to call base.Add(). If it happens 1st, the base can do one sort of code. If it happens last, the base can do another kind of logic (see sample). I doesn't seem possible ...
0
1,934,358
12/19/2009 22:55:09
76,422
03/10/2009 23:38:50
396
21
Is it possible to do this in NHibernate without using CreateSQLQuery?
Is it possible to do this in NHibernate without using CreateSQLQuery. Preferably with Linq To Nhibernate. The biggest question is how do I do joins not on a primary key? SELECT DISTINCT calEvent.* From CalendarEvent as calEvent LEFT JOIN UserChannelInteraction as channelInteraction on channelInteraction.Chan...
nhibernate
null
null
null
null
null
open
Is it possible to do this in NHibernate without using CreateSQLQuery? === Is it possible to do this in NHibernate without using CreateSQLQuery. Preferably with Linq To Nhibernate. The biggest question is how do I do joins not on a primary key? SELECT DISTINCT calEvent.* From CalendarEvent as calEvent LEFT J...
0
6,158,954
05/28/2011 00:47:49
773,442
05/27/2011 16:21:15
1
0
Small annoying problem - illegal start of expression
My Problem: When I enter this piece of script in jcreator, it says illegal start of expression for (public String subString). Is there another way to enter a substring? public String subString; int beginIndex; int endIndex;
expression
substring
start
illegal
null
null
open
Small annoying problem - illegal start of expression === My Problem: When I enter this piece of script in jcreator, it says illegal start of expression for (public String subString). Is there another way to enter a substring? public String subString; int beginIndex; int endIndex;
0
7,878,830
10/24/2011 16:33:37
568,262
01/08/2011 19:19:05
109
5
How to clear identity column to start value after delete first rows
I have a little problem. I had 50 rows with identity column id- autoincrement. So, first row had id 1, last row had id 50. Then, i delete rows from 1 to 25 and now i have rows with id 26-50. Question: How could i "reinit" this rows (26-50) to (1-25)? I don't need empty id's in table. Thx. SQL Server 2008
sql
sql-server
null
null
null
10/24/2011 17:32:49
not constructive
How to clear identity column to start value after delete first rows === I have a little problem. I had 50 rows with identity column id- autoincrement. So, first row had id 1, last row had id 50. Then, i delete rows from 1 to 25 and now i have rows with id 26-50. Question: How could i "reinit" this rows (26-50...
4
11,113,319
06/20/2012 05:28:57
1,468,166
06/20/2012 05:21:16
1
0
using two database with different attributes in one query
I have two databases on the same server. I want to show single result from two different databases when user search any term! how can we do this? I am using JSP
mysql
sql
null
null
null
06/20/2012 12:03:24
not a real question
using two database with different attributes in one query === I have two databases on the same server. I want to show single result from two different databases when user search any term! how can we do this? I am using JSP
1
9,810,710
03/21/2012 18:31:07
726,049
04/26/2011 19:53:13
167
0
How to setup Facebook Connect (Authnetication) with PHP?
I am trying to add Facebook Connect to my website, where users, who don't have an account would be able to user their Facebook account to create one back at my website. I have googled this topic, but didn't seem to find anything that would go enough in detail, as I am far from being experienced with Facebook and its AP...
php
facebook
null
null
null
03/28/2012 04:37:29
not a real question
How to setup Facebook Connect (Authnetication) with PHP? === I am trying to add Facebook Connect to my website, where users, who don't have an account would be able to user their Facebook account to create one back at my website. I have googled this topic, but didn't seem to find anything that would go enough in detai...
1
10,272,556
04/22/2012 22:09:44
1,350,151
04/22/2012 22:07:24
1
0
How to read this file into variables?
This is the file that I need to read. Coca-Cola,0.75,20 Root Beer,0.75,20 Sprite,0.75,20 Spring Water,0.80,20 Apple Juice,0.95,20 I need each of this to be into a variable. For example drinkName, drinkCost, drinkQuantity. I'm using c++, please help me.
c++
null
null
null
null
null
open
How to read this file into variables? === This is the file that I need to read. Coca-Cola,0.75,20 Root Beer,0.75,20 Sprite,0.75,20 Spring Water,0.80,20 Apple Juice,0.95,20 I need each of this to be into a variable. For example drinkName, drinkCost, drinkQuantity. I'm using c++, please help me.
0
10,975,354
06/11/2012 06:31:01
1,133,565
01/06/2012 03:35:54
1
0
How and where can I can iphone style system button picture?
I would like to make some iPhone system style button, like camera, flash, deveice button in uiimagepickercontroller, where can I can those button picture? Thank!
iphone
image
button
null
null
06/11/2012 19:23:24
off topic
How and where can I can iphone style system button picture? === I would like to make some iPhone system style button, like camera, flash, deveice button in uiimagepickercontroller, where can I can those button picture? Thank!
2
9,912,250
03/28/2012 16:57:04
139,689
07/16/2009 18:06:01
422
13
When using Core Services, how do you Localize or UnLocalize a component without a fatal error when the item is already in that state?
I am using `CoreService2010Client`, I am iterating through a list of TCM ID values I have and either localizing it or unlocalizing it. Sometimes the item is already localized, so when I call `client.Localize();`, it throws an exception saying "The item is localized.". How do I test the state of the component (locali...
tridion
null
null
null
null
null
open
When using Core Services, how do you Localize or UnLocalize a component without a fatal error when the item is already in that state? === I am using `CoreService2010Client`, I am iterating through a list of TCM ID values I have and either localizing it or unlocalizing it. Sometimes the item is already localized, so wh...
0
5,917,313
05/06/2011 21:41:34
372,237
06/21/2010 14:23:12
19
5
RoR - How To Count & Display Comments
I'm looking to have a count of the number of comments left under an article and display it on the index page beside that particular article - like the example here in red circles. Any suggestions as to how I might do this? ![enter image description here][1] [1]: http://i.stack.imgur.com/jz4vQ.png
ruby-on-rails-3
null
null
null
null
05/25/2011 08:38:01
not a real question
RoR - How To Count & Display Comments === I'm looking to have a count of the number of comments left under an article and display it on the index page beside that particular article - like the example here in red circles. Any suggestions as to how I might do this? ![enter image description here][1] [1]: ht...
1
4,158,201
11/11/2010 19:01:00
11,142
09/16/2008 05:29:31
3,358
251
GWT : how to get regex(Pattern and Matcher) working in client side
We're using GWT 2.03 along with SmartGWT 2.2. I'm trying to match a regex like below in client side code. Pattern pattern = Pattern.compile("\\\"(/\d+){4}\\\""); String testString1 = "[ \"/2/4/5/6/8\", \"/2/4/5/6\"]"; String testString2 = "[ ]"; Matcher matcher = pattern.matcher(testS...
java
javascript
regex
gwt
null
null
open
GWT : how to get regex(Pattern and Matcher) working in client side === We're using GWT 2.03 along with SmartGWT 2.2. I'm trying to match a regex like below in client side code. Pattern pattern = Pattern.compile("\\\"(/\d+){4}\\\""); String testString1 = "[ \"/2/4/5/6/8\", \"/2/4/5/6\"]"; String ...
0
4,360,383
12/05/2010 18:20:07
486,205
10/25/2010 08:38:58
1
3
iphone nsxmlparser
I am new to iPhone programming. Can you provide some reference tutorial for parsing XML in iPhone, basically using NSXMLParser...It has to be very basic from scratch.. Also how do we know whether the API allows access or no in our code.
iphone
null
null
null
null
null
open
iphone nsxmlparser === I am new to iPhone programming. Can you provide some reference tutorial for parsing XML in iPhone, basically using NSXMLParser...It has to be very basic from scratch.. Also how do we know whether the API allows access or no in our code.
0
10,519,597
05/09/2012 15:51:39
584,490
01/21/2011 13:22:36
139
17
MySQL composite UNIQUE INDEX, uniqueness derived from multiple columns
I have 2 rows (user_id and email). user_id and email have the same values on the two rows (the rows are identical). `user_id` is not the primary key here, that's some other column. ALTER TABLE `some_table` ADD UNIQUE `user_id_email` (`user_id` , `email`); `#1062 - Duplicate entry '6457-someemail@somedomai...
mysql
null
null
null
null
05/14/2012 17:41:38
off topic
MySQL composite UNIQUE INDEX, uniqueness derived from multiple columns === I have 2 rows (user_id and email). user_id and email have the same values on the two rows (the rows are identical). `user_id` is not the primary key here, that's some other column. ALTER TABLE `some_table` ADD UNIQUE `user_id_email` (...
2
9,709,315
03/14/2012 19:58:10
339,946
05/13/2010 04:57:26
338
3
Using my own UIAlertView around an existing library
I'm using a library called [Chute][1] to manage photo selection (from photo library, facebook, etc.). I'm trying to implement a UIAlertView whenever `selectionCount >= 20`. The problem is, the Chute library handles alertView protocols in its own way, meaning some file is trying to execute - (void)alertView:(U...
iphone
ios
xcode
ipad
null
null
open
Using my own UIAlertView around an existing library === I'm using a library called [Chute][1] to manage photo selection (from photo library, facebook, etc.). I'm trying to implement a UIAlertView whenever `selectionCount >= 20`. The problem is, the Chute library handles alertView protocols in its own way, meaning s...
0
2,139,178
01/26/2010 11:59:57
201,469
09/26/2009 17:38:40
66
19
gap between LI's on drop down menu in IE
Hi I ave a drop down menu which when dropped, there is a gap between the li's. I have tried all usual methods but I cant seem to find where it is coming from! I would paste the code but there is a bit of it so I have set up a temp directory for you to see. http://www.actwebdesigns.com/web-design-mansfield/ Reg...
internet-explorer
gap
xhtml
css
null
null
open
gap between LI's on drop down menu in IE === Hi I ave a drop down menu which when dropped, there is a gap between the li's. I have tried all usual methods but I cant seem to find where it is coming from! I would paste the code but there is a bit of it so I have set up a temp directory for you to see. http://www....
0
7,413,534
09/14/2011 08:41:45
779,519
06/01/2011 13:49:34
15
1
SQL Replication & Restriced Access to the publisher
I'm trying to set up SQL Replication on our server as the distributor and having a remote SQL Subscriber who is one of our clients. It's working fine but I would like to restrict access to the user so they could see just the two tables I'm publishing for them. So far here's what I've done. In the Publisher: ...
sql-server-2008
database-permissions
transactional-replication
null
null
null
open
SQL Replication & Restriced Access to the publisher === I'm trying to set up SQL Replication on our server as the distributor and having a remote SQL Subscriber who is one of our clients. It's working fine but I would like to restrict access to the user so they could see just the two tables I'm publishing for them....
0
794,369
04/27/2009 16:56:57
6,682
09/15/2008 12:29:13
1,295
18
Should C# introduce a syntactic short-hand for IEnumerable<T>?
Just as C# 2 introduced `T?` as a short-hand for `Nullable<T>`, shouldn't C# consider introducing a short-hand for even the more popular `IEnumerable<T>`? Like `T*`? Wouldn't this help make something that *should* be simple to read, like Func<IEnumerable<string>, IEnumerable<string>> f; in fact simple to r...
c#
syntax
polls
null
null
09/16/2011 04:19:31
not constructive
Should C# introduce a syntactic short-hand for IEnumerable<T>? === Just as C# 2 introduced `T?` as a short-hand for `Nullable<T>`, shouldn't C# consider introducing a short-hand for even the more popular `IEnumerable<T>`? Like `T*`? Wouldn't this help make something that *should* be simple to read, like Func...
4
4,772,325
01/23/2011 04:33:58
542,687
12/14/2010 23:22:38
225
0
C++: Best way to compare std::strings
What is the best way to compare `std::string`s? The obvious way would be with if/else: std::string input; std::cin >> input; if ( input == "blahblahblah" ) { // do something. } else it ( input == "blahblah" ) { // do something else. } else if ( inpu...
c++
string
comparison
io
string-comparison
null
open
C++: Best way to compare std::strings === What is the best way to compare `std::string`s? The obvious way would be with if/else: std::string input; std::cin >> input; if ( input == "blahblahblah" ) { // do something. } else it ( input == "blahblah" ) { // do s...
0
4,405,163
12/10/2010 02:33:00
531,971
12/06/2010 08:12:02
1
1
Binding ListBox ItemsSource to method call results at compile time?
I'm new to WPF data binding. I have a ListBox on a form that I want to bind to the results of the following method call: RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32) .OpenSubKey(@"SOFTWARE\Vendor\Product\Systems").GetSubKeyNames(); At the moment I'm doing it at runti...
c#
wpf
binding
null
null
null
open
Binding ListBox ItemsSource to method call results at compile time? === I'm new to WPF data binding. I have a ListBox on a form that I want to bind to the results of the following method call: RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32) .OpenSubKey(@"SOFTWARE\Vendor\P...
0
2,342,881
02/26/2010 15:59:57
264,516
02/02/2010 16:28:30
16
0
as3 text formatting, Underline spacing?
So if I want to imitate a link in as3, when I set myFormat.underline = true; the underline is directly underneath my text. Is there any way I can set the spacing of that underland? Thanks.
flash
actionscript-3
text
programming-languages
null
null
open
as3 text formatting, Underline spacing? === So if I want to imitate a link in as3, when I set myFormat.underline = true; the underline is directly underneath my text. Is there any way I can set the spacing of that underland? Thanks.
0
4,229,798
11/19/2010 22:03:23
243,453
01/04/2010 20:29:53
217
14
securing record of purchase on iPhone?
Hi I have an app that allows users to purchase publications that download to their device. I would like to have an option where a user can purchase a year long subscription and be able to have unlimited downloads. How I would like for it to work is as follows: When user purchases the subscription - it makes an en...
iphone
security
ipad
data
storekit
null
open
securing record of purchase on iPhone? === Hi I have an app that allows users to purchase publications that download to their device. I would like to have an option where a user can purchase a year long subscription and be able to have unlimited downloads. How I would like for it to work is as follows: When user...
0
6,942,909
08/04/2011 14:08:16
551,348
12/22/2010 15:09:17
23
0
Optimized Matrix Rotation - arbitrary angle about center of matrix
I'm trying to optimize the rotation of very large images, smallest is 4096x4096 or ~16 million pixels. Rotation is always about the center of image, and images are not necessarily always square but will always be a power of 2. I have access to MKL/TBB, where MKL is an optimized BLAS for my target platforms. I'm ...
c++
optimization
parallel-processing
blas
intel-mkl
null
open
Optimized Matrix Rotation - arbitrary angle about center of matrix === I'm trying to optimize the rotation of very large images, smallest is 4096x4096 or ~16 million pixels. Rotation is always about the center of image, and images are not necessarily always square but will always be a power of 2. I have access t...
0
3,339,818
07/26/2010 23:54:40
359,115
06/05/2010 09:39:03
1
1
Wordpress: custom post types: using custom fields or taxonomies?
I'm thinking about using WP custom post types to create a basic real estate website. The post type will be for property listings. I've decided to have one post type for For Sale and one for Rentals, simple because they have somewhat different property information. A typical listing will need to specify some infor...
wordpress
search
taxonomy
null
null
null
open
Wordpress: custom post types: using custom fields or taxonomies? === I'm thinking about using WP custom post types to create a basic real estate website. The post type will be for property listings. I've decided to have one post type for For Sale and one for Rentals, simple because they have somewhat different prop...
0
1,751,897
11/17/2009 21:23:08
18,927
09/19/2008 14:55:09
404
21
how to get the wpf toolkit datagrid to show new rows when bound to dataset
Is there a way to get the wpf toolkit datagrid to show new rows when its bound to a dataset? In other words, I have a datagrid, I've set its Itemssource to a DataTable, and everything seems to work fine, except I can't get the grid to show rows that I add to the DataTable programatically.
wpftoolkit
wpf
null
null
null
null
open
how to get the wpf toolkit datagrid to show new rows when bound to dataset === Is there a way to get the wpf toolkit datagrid to show new rows when its bound to a dataset? In other words, I have a datagrid, I've set its Itemssource to a DataTable, and everything seems to work fine, except I can't get the grid to show ...
0
9,736,429
03/16/2012 11:28:11
129,805
06/27/2009 11:51:28
1,416
15
How can I execute async Mocha tests (NodeJS) in order?
This question relates to the Mocha testing framework for NodeJS. When running async tests, I would like to run each test *after* the async part of the one before has been called. The default behaviour seems to be to start all the tests, then process the async callbacks as they come in. How can I do this? Th...
javascript
node.js
mocha
null
null
null
open
How can I execute async Mocha tests (NodeJS) in order? === This question relates to the Mocha testing framework for NodeJS. When running async tests, I would like to run each test *after* the async part of the one before has been called. The default behaviour seems to be to start all the tests, then process the ...
0
8,726,067
01/04/2012 11:26:51
1,037,319
11/09/2011 09:27:49
12
0
Qt Snap Dragable Custom Widgets into a TableView
I'd like to drag and drop custom widgets from a list into a QTableView. My program already provides a list with custom widgets that can be drag and droped. What i want to do now, is when i'm over the table the custom widgets should snap to the table grid. So that i can drop them into the right place. Any ideas how t...
qt
drag-and-drop
tableview
null
null
null
open
Qt Snap Dragable Custom Widgets into a TableView === I'd like to drag and drop custom widgets from a list into a QTableView. My program already provides a list with custom widgets that can be drag and droped. What i want to do now, is when i'm over the table the custom widgets should snap to the table grid. So that i ...
0
11,387,318
07/08/2012 22:44:08
1,494,428
07/01/2012 15:35:40
13
0
QT HTML Parser (+XQuery)
I'm looking for a QT HTML parser tool. I have some html source code and I'd like to use XQuery on it. I already tried using QWebPage + QWebElement, but I don't like this solution cause firstly it doesn't works on non-gui thread (because of QWebPage) and because we can't apply XPath but CSS Path. The other solution I...
html
qt
parsing
xpath
xquery
null
open
QT HTML Parser (+XQuery) === I'm looking for a QT HTML parser tool. I have some html source code and I'd like to use XQuery on it. I already tried using QWebPage + QWebElement, but I don't like this solution cause firstly it doesn't works on non-gui thread (because of QWebPage) and because we can't apply XPath but C...
0
9,457,197
02/26/2012 21:11:07
882,445
08/07/2011 05:30:34
162
12
C Gameboy separate functions an main files
I am working on a gameboy project for a class asignment. I was told, that we needed to have a separate "functions" file, and "main" file. I am going insane doing this. I have made a header file "myLib.h", and in it I include definitions, and prototypes of the functions that are in "myLib.c". In my main file, I call a f...
c
homework
makefile
gameboy
null
03/01/2012 04:33:04
too localized
C Gameboy separate functions an main files === I am working on a gameboy project for a class asignment. I was told, that we needed to have a separate "functions" file, and "main" file. I am going insane doing this. I have made a header file "myLib.h", and in it I include definitions, and prototypes of the functions th...
3
4,028,119
10/26/2010 21:18:26
296,923
05/10/2009 18:19:21
453
29
C# : Is there a generic way to forward a method call to another object (with the same interface)?
Is there a way to implement this pattern in a generic way? A dispatcher object and a bunch of worker objects all derive from the same interface. Any method call into the dispatcher object needs to be dispatched (forwarded) to one of the worker objects (with all the arguments). Each method would need to discove...
c#
reflection
null
null
null
null
open
C# : Is there a generic way to forward a method call to another object (with the same interface)? === Is there a way to implement this pattern in a generic way? A dispatcher object and a bunch of worker objects all derive from the same interface. Any method call into the dispatcher object needs to be dispatched ...
0
2,238,651
02/10/2010 16:52:21
265,640
02/03/2010 20:53:15
113
12
Can Not Compare Generic Values
I am creating a generic class to hold widgets and I am having trouble implementing the contains method: public class WidgetBox<A,B,C> { public bool ContainsB(B b) { // Iterating thru a collection of B's if( b == iteratorB ) // Compiler error. ... ...
c#
generics
.net
null
null
null
open
Can Not Compare Generic Values === I am creating a generic class to hold widgets and I am having trouble implementing the contains method: public class WidgetBox<A,B,C> { public bool ContainsB(B b) { // Iterating thru a collection of B's if( b == iteratorB ) // ...
0
6,236,845
06/04/2011 12:52:08
606,036
06/12/2010 10:39:20
384
2
Which Tanenbaum DS/OS book should I get?
I want to refresh and deepen my knowledge about systems programming (operating systems, embedded systems, network programming and related low-level topics). I always wanted to buy one of Tanenbaum's books for that purpose and I'm about to do just that, but I can't decide which of his books, many of which apparently cov...
books
operating-system
embedded
distributed-computing
systems-programming
06/04/2011 14:00:44
off topic
Which Tanenbaum DS/OS book should I get? === I want to refresh and deepen my knowledge about systems programming (operating systems, embedded systems, network programming and related low-level topics). I always wanted to buy one of Tanenbaum's books for that purpose and I'm about to do just that, but I can't decide wh...
2
8,875,789
01/16/2012 04:32:49
529,114
12/03/2010 08:32:04
1
0
Handle Event of Widgets, Logic, etc. of The Layout files Included in ViewFlipper in Their Own Activity Class?
I am using a ViewFilpper on main_layout.xml file which includes several other layout files as following: <ViewFlipper android:id="@+id/contentViewFlipper" android:layout_width="fill_parent" android:layout_height="fill_parent" > <include android:id="@+id/layout1" layout="@layou...
android
android-layout
activity
android-widget
viewflipper
null
open
Handle Event of Widgets, Logic, etc. of The Layout files Included in ViewFlipper in Their Own Activity Class? === I am using a ViewFilpper on main_layout.xml file which includes several other layout files as following: <ViewFlipper android:id="@+id/contentViewFlipper" android:layout_width="fil...
0
5,131,033
02/27/2011 02:26:31
275,084
02/17/2010 09:11:50
46
0
State-of-the-art data structures
What can you tell about modern data structures? We all know classic ones, like trees, tries, stacks, lists, B-trees and so on (I think a Cormen's book is a pretty good list of a "classic ones"). But what about recent researches? I can name at least 2 of them: finger trees and [judy arrays][1]. I would like to know more...
data-structures
null
null
null
null
02/28/2011 20:28:42
not a real question
State-of-the-art data structures === What can you tell about modern data structures? We all know classic ones, like trees, tries, stacks, lists, B-trees and so on (I think a Cormen's book is a pretty good list of a "classic ones"). But what about recent researches? I can name at least 2 of them: finger trees and [judy...
1
994,161
06/15/2009 00:56:32
116,658
06/03/2009 15:05:48
37
0
What are the best affordable c++ audio libraries?
I'm looking for a c++ audio library that can play mp3s and mix audio. I can spend some money on it, but I'm on a somewhat tight budget, so the less the better. It really needs to just run on Windows and Mac OS X although Linux and embedded devices are a big plus. Anyone know of a good library or two? Thanks!
c++
mp3
audio
null
null
null
open
What are the best affordable c++ audio libraries? === I'm looking for a c++ audio library that can play mp3s and mix audio. I can spend some money on it, but I'm on a somewhat tight budget, so the less the better. It really needs to just run on Windows and Mac OS X although Linux and embedded devices are a big plus. A...
0
7,858,284
10/22/2011 08:20:23
1,008,308
10/22/2011 08:15:13
1
0
How long to Integrate AWS SDK ios & iAds
I a newbie looking to learn and read a bit about programming. I am developing an application and have a few questions that Google hasnt found an answer for. I was wondering how long it would take to integrate AWS SDK ios into my Amazon account services? A programmer has quoted me 2 days. He quotes another 2 days to ...
iphone
ios
sdk
amazon-web-services
null
10/24/2011 18:22:58
not constructive
How long to Integrate AWS SDK ios & iAds === I a newbie looking to learn and read a bit about programming. I am developing an application and have a few questions that Google hasnt found an answer for. I was wondering how long it would take to integrate AWS SDK ios into my Amazon account services? A programmer has ...
4
5,034,922
02/17/2011 21:31:37
280,100
02/24/2010 06:44:29
91
8
Is Flask + Werkzeug faster than django ?
I dont know whether this question makes sense but seriously is flask faster than django. The reason why i am saying this is that i have deployed one intranet application which is built in Django for a top MNC company and second application for a trading MNC company developed in Flask Although user's are not complain...
django
sqlalchemy
flask
werkzeug
null
02/20/2011 06:44:28
not constructive
Is Flask + Werkzeug faster than django ? === I dont know whether this question makes sense but seriously is flask faster than django. The reason why i am saying this is that i have deployed one intranet application which is built in Django for a top MNC company and second application for a trading MNC company develope...
4
11,389,071
07/09/2012 04:25:39
1,268,223
03/14/2012 06:12:43
1
0
chrome is not letting me logging in an app made using codeigniter
I have made a simple login page. It is wrking fine in all browser, the problem is when anyone try to logging in on chrome, for the first time after opening the browser it is showing error page. Again, without closing browser when the same person go back to the login page and tries to login he successfully logged in. ...
codeigniter
null
null
null
null
07/10/2012 11:46:13
not a real question
chrome is not letting me logging in an app made using codeigniter === I have made a simple login page. It is wrking fine in all browser, the problem is when anyone try to logging in on chrome, for the first time after opening the browser it is showing error page. Again, without closing browser when the same person go ...
1
10,821,812
05/30/2012 18:06:14
634,135
02/25/2011 12:42:35
708
44
Where to introduce an extremely simple open source project
I have got an extremely simple self playing tetris which I coded up and I am looking to see how the code would evolve if it was open sourced for everyone to add some modification. It would also be a learning curve for me to see how those much better than I am would go about improving the code. Where would be a good pla...
python
open-source
null
null
null
05/30/2012 18:38:56
not constructive
Where to introduce an extremely simple open source project === I have got an extremely simple self playing tetris which I coded up and I am looking to see how the code would evolve if it was open sourced for everyone to add some modification. It would also be a learning curve for me to see how those much better than I...
4
2,494,810
03/22/2010 18:37:39
259,701
01/27/2010 01:11:55
36
3
MKMapView - viewForAnnotation not called while loading more results
I have a search enabled map view. When user hits search, my custom annotations are added to the map view. The search returns 20 results with a 'load more' link. When I hit load more, more annotations should be added to map view. The problem is - annotations gets added to the map view but is not displayed on the map...
objective-c
mkmapview
annotations
ipad
null
null
open
MKMapView - viewForAnnotation not called while loading more results === I have a search enabled map view. When user hits search, my custom annotations are added to the map view. The search returns 20 results with a 'load more' link. When I hit load more, more annotations should be added to map view. The problem is...
0
9,210,776
02/09/2012 12:24:04
1,199,599
02/09/2012 12:09:53
1
0
Someone copied my MIT license open source game, what can I do?
Need some help, I published an open source game under MIT license, found someone changed the image, added sound/music - but the main game logic is exactly the same, even the application name in Xcode is the same - and published it. Like to know even though I published it as open source, do I have the rights to ask ...
licensing
mit
null
null
null
02/10/2012 01:19:49
off topic
Someone copied my MIT license open source game, what can I do? === Need some help, I published an open source game under MIT license, found someone changed the image, added sound/music - but the main game logic is exactly the same, even the application name in Xcode is the same - and published it. Like to know eve...
2
9,959,426
03/31/2012 20:29:23
313,875
04/11/2010 11:31:42
3,590
191
Sending And Receiving Data Via Game Center (GameKit) Over 3G Stops Working
I have a Game Center matchmaker working and implemented, and by using Game Kit's Bluetooth functionality I know that my multiplayer code works. When playing over the internet through the Game Center sandbox, it works when both devices are on WiFi, but if one is on 3G it quickly stops sending and receiving data, and so ...
iphone
ios
game-center
gamekit
null
null
open
Sending And Receiving Data Via Game Center (GameKit) Over 3G Stops Working === I have a Game Center matchmaker working and implemented, and by using Game Kit's Bluetooth functionality I know that my multiplayer code works. When playing over the internet through the Game Center sandbox, it works when both devices are o...
0
7,379,188
09/11/2011 15:21:09
832,171
07/06/2011 18:25:17
6
0
DB as device control hub, bad idea?
I have been floundering for a long time with a project that is too overwhelming. I want to control instruments, over a 100 different kinds, about 10 or less at a time, with various protocols. I was thinking that if each instrument was a small daemon that polled a DB every few seconds for a batch of commands+times th...
database
device
null
null
null
09/12/2011 11:55:45
not a real question
DB as device control hub, bad idea? === I have been floundering for a long time with a project that is too overwhelming. I want to control instruments, over a 100 different kinds, about 10 or less at a time, with various protocols. I was thinking that if each instrument was a small daemon that polled a DB every few...
1
2,792,310
05/07/2010 23:51:28
179,736
09/27/2009 11:27:55
3,462
35
How do I query for this in Django?
| random_code | varchar(200) | YES | UNI | NULL | | MyTable.objects.filter(random_code = None) Is this correct? Will this SELECT where there is no random code set? Above is my table.
python
django
mysql
database
null
null
open
How do I query for this in Django? === | random_code | varchar(200) | YES | UNI | NULL | | MyTable.objects.filter(random_code = None) Is this correct? Will this SELECT where there is no random code set? Above is my table.
0
158,769
10/01/2008 17:32:55
9,812
09/15/2008 20:02:43
289
11
Best books to learn about design
What books do you recommend for a programmer who wants to learn about design? I'm interested both in graphic design (use of whitespace, fonts and colors) and human-computer interaction (usability, accessibility and user experience).
books
design
usability
user-interface
null
09/15/2011 07:18:25
not constructive
Best books to learn about design === What books do you recommend for a programmer who wants to learn about design? I'm interested both in graphic design (use of whitespace, fonts and colors) and human-computer interaction (usability, accessibility and user experience).
4
11,607,307
07/23/2012 06:17:05
1,117,438
12/27/2011 10:11:40
313
15
Layout manager in C#
I am trying to design a UI in c# . I come from java background am familiar with the different layout managers in java. So what I am trying to do is: I have a Pane. To this pane I wish to add controls one below the other. In java I would have used a BoxLayout(Yaxis), and then just added the controls. Also the indi...
c#
java
null
null
null
null
open
Layout manager in C# === I am trying to design a UI in c# . I come from java background am familiar with the different layout managers in java. So what I am trying to do is: I have a Pane. To this pane I wish to add controls one below the other. In java I would have used a BoxLayout(Yaxis), and then just added t...
0
7,316,430
09/06/2011 07:36:30
130,278
09/02/2008 03:00:54
1,075
19
How to overwrite a specific file from a branch to a trunk in SVN?
How can I overwrite a file from a specific branch to a trunk? Like for example I have https://web/trunk/text.cpp file. Then I want my https://web/branches/tt_branch/text.cpp overwrite the trunk file.
svn
null
null
null
null
null
open
How to overwrite a specific file from a branch to a trunk in SVN? === How can I overwrite a file from a specific branch to a trunk? Like for example I have https://web/trunk/text.cpp file. Then I want my https://web/branches/tt_branch/text.cpp overwrite the trunk file.
0
7,239,755
08/30/2011 07:08:04
344,027
05/18/2010 12:56:02
101
6
Is there any problem if I use rowid to delete duplicate rows from an oracle database?
I'm using the following query to delete duplicate rows from a table. There are only 2 columns in the table(col1 and col2). delete from tab1 where rowid not in (select min(rowid) from tab1 t group by col1, col2); Is there any problem, like some side effects, if I use this query to delete duplicate rows?
sql
oracle
delete
null
null
null
open
Is there any problem if I use rowid to delete duplicate rows from an oracle database? === I'm using the following query to delete duplicate rows from a table. There are only 2 columns in the table(col1 and col2). delete from tab1 where rowid not in (select min(rowid) from tab1 t group by col1, col2); Is t...
0
8,853,885
01/13/2012 16:31:31
1,148,083
01/13/2012 16:29:57
1
0
Converting an old iBook 14" shell to use modern parts
This is a bizarre question, but here it goes. My wife's first computer was an iBook G4 14" machine, which she loved. That is until the processor itself fried for some reason. I know this is the case because I can see scorch marks on and around the processor itself. That said, she got herself a new machine (MBP 15") and...
hardware
ibook
hackintosh
null
null
01/13/2012 16:40:16
off topic
Converting an old iBook 14" shell to use modern parts === This is a bizarre question, but here it goes. My wife's first computer was an iBook G4 14" machine, which she loved. That is until the processor itself fried for some reason. I know this is the case because I can see scorch marks on and around the processor its...
2
7,127,499
08/19/2011 21:14:34
903,134
08/19/2011 21:14:34
1
0
VM on android mobiles
I am looking for a VM on android mobiles. Especially, I would like to download such vm (apk) into an android emulator and install another android on it. Could any one please suggest me such tool? Thanks in advance.
android
emulator
vm
null
null
08/20/2011 00:54:30
off topic
VM on android mobiles === I am looking for a VM on android mobiles. Especially, I would like to download such vm (apk) into an android emulator and install another android on it. Could any one please suggest me such tool? Thanks in advance.
2
1,666,481
11/03/2009 10:27:02
201,423
11/03/2009 06:01:16
1
0
How can i run c program in dos prompt
I want to run c program in dos prompt .Is it Possible
c
in
dos
prompt
null
02/22/2012 14:58:36
not a real question
How can i run c program in dos prompt === I want to run c program in dos prompt .Is it Possible
1
10,246,504
04/20/2012 12:44:47
302,593
02/10/2010 10:11:26
41
0
Breadcrumb for Document Library in sharepoint 2010
In sharepoint 2010, I have created one document library and it has been added as a web part to a new page. i want to create breadcrumb just above that webpart to handle hierarchy of folders in webpart and will show "foldername > subfolder > mydocumentfolder" kind of hierarchy, in which foldername n subfoldername are cl...
sharepoint
breadcrumbs
null
null
null
null
open
Breadcrumb for Document Library in sharepoint 2010 === In sharepoint 2010, I have created one document library and it has been added as a web part to a new page. i want to create breadcrumb just above that webpart to handle hierarchy of folders in webpart and will show "foldername > subfolder > mydocumentfolder" kind ...
0
8,973,086
01/23/2012 14:22:39
1,165,075
01/23/2012 13:54:34
1
0
Corewar - Virtual machine and assembly compiler
We are on a group project about making a corewar, the game where progs are fighting for the memory control of a virtual machine. We have to make the virtual machine (a big memory map where program will fight), where each prog will be gifted of a CPU. This virtual machine have to work under Sun OS (so it's big Endian...
vm
null
null
null
null
null
open
Corewar - Virtual machine and assembly compiler === We are on a group project about making a corewar, the game where progs are fighting for the memory control of a virtual machine. We have to make the virtual machine (a big memory map where program will fight), where each prog will be gifted of a CPU. This virtual ...
0
1,265,710
08/12/2009 11:54:27
81,800
03/24/2009 05:02:28
1,263
26
How to disable/hide icon from a form?
How do I create a second form with a close button,but without an icon.
delphi
d2009
null
null
null
null
open
How to disable/hide icon from a form? === How do I create a second form with a close button,but without an icon.
0