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
814,133
05/02/2009 04:22:58
4,906
09/06/2008 14:21:25
1,150
35
Do you ever make a code change and just test rather than trying to fully understand the change you've made?
I'm working in a 12 year old code base which I have been the only developer on. There are times that I'll make a a very small change based on an intuition (or quantum leap in logic ;-). Usually I try to deconstruct that change and make sure I read thoroughly the code. However sometimes, (more and more these da...
proramming
null
null
null
null
null
open
Do you ever make a code change and just test rather than trying to fully understand the change you've made? === I'm working in a 12 year old code base which I have been the only developer on. There are times that I'll make a a very small change based on an intuition (or quantum leap in logic ;-). Usually I try t...
0
11,607,578
07/23/2012 06:43:18
1,500,550
07/04/2012 05:01:27
1
0
PHP fuction using & operator.
`<?php function zz(& $x) { $x=$x+5; } ?> $x=10; zz($x); echo $x; ` I used the above code, but i don't know what & symbol means?
php
null
null
null
null
07/24/2012 00:49:04
not a real question
PHP fuction using & operator. === `<?php function zz(& $x) { $x=$x+5; } ?> $x=10; zz($x); echo $x; ` I used the above code, but i don't know what & symbol means?
1
5,535,348
04/04/2011 06:43:05
674,673
03/24/2011 10:04:23
9
0
response.sendredirect in post method
response.sendredirect can we use this in Post method .?
javascript
null
null
null
null
04/04/2011 12:20:06
not a real question
response.sendredirect in post method === response.sendredirect can we use this in Post method .?
1
2,970,495
06/03/2010 23:22:41
110,637
05/21/2009 17:03:35
13
2
Eclipse CDT Debugger Issue, v. .metadata does not exist
I am attempting to use the gdb/mi debugger in the Eclipse CDT version 6.02. While I am debugging I can step through the program with ease up until I reach the following snippet of a block of code. ENUM_START_TYPE My_Class::some_function( const char * c, const char * e) { ENUM_START_TYPE result = ...
gdb
debugging
clearcase
eclipse-cdt
null
null
open
Eclipse CDT Debugger Issue, v. .metadata does not exist === I am attempting to use the gdb/mi debugger in the Eclipse CDT version 6.02. While I am debugging I can step through the program with ease up until I reach the following snippet of a block of code. ENUM_START_TYPE My_Class::some_function( const char *...
0
8,345,955
12/01/2011 17:54:05
738,811
05/04/2011 21:07:06
842
3
Clang linker doesn't find libraries
Clang cannot compile simple program, because linker cannot find some files, altough these files are placed in library directory. How to make clang to find these files? $ cat prog.c int main(){return 0;} $ clang -v clang version 2.9 (tags/RELEASE_29/final) Target: i386-pc-linux-gnu Th...
ubuntu
clang
null
null
null
null
open
Clang linker doesn't find libraries === Clang cannot compile simple program, because linker cannot find some files, altough these files are placed in library directory. How to make clang to find these files? $ cat prog.c int main(){return 0;} $ clang -v clang version 2.9 (tags/RELEASE_29/fina...
0
682,356
03/25/2009 16:22:09
11,464
09/16/2008 08:13:57
291
10
Best book for learning artificial neural networks
in your opinion, what are the best books to: 1. start with learning in neural network area, and 2. getting more in-depth knowledge in this domain? Books/resources demanding mathematical prerequisites are ok. Thanks
books
neural-network
null
null
null
09/15/2011 07:23:02
not constructive
Best book for learning artificial neural networks === in your opinion, what are the best books to: 1. start with learning in neural network area, and 2. getting more in-depth knowledge in this domain? Books/resources demanding mathematical prerequisites are ok. Thanks
4
8,510,053
12/14/2011 18:51:17
587,021
01/24/2011 04:57:23
99
27
ERP with Supply chain management (incl. POS) and Customer relationship management — What's available?
I am building a [ERP](http://en.wikipedia.org/wiki/Enterprise_resource_planning) with Supply chain management (incl. POS and ecommerce) and Customer relationship management. Which Django libraries (or projects even) will provide the best base for building this off? Thanks for all suggestions
django
e-commerce
point-of-sale
suggestions
erp
12/15/2011 18:25:17
not constructive
ERP with Supply chain management (incl. POS) and Customer relationship management — What's available? === I am building a [ERP](http://en.wikipedia.org/wiki/Enterprise_resource_planning) with Supply chain management (incl. POS and ecommerce) and Customer relationship management. Which Django libraries (or project...
4
8,934,803
01/19/2012 23:16:27
1,075,060
12/01/2011 09:11:36
13
3
Pass modelstate error to partial view
I have a partial viewthat does some user validation. If there is a problem with the validation I add an error to the modelstate, but then I return the view (which loads the partial view) and the error is not shown in the summary. Any ideas on how to do this?
asp.net-mvc-3
view
partial
modelstate
null
01/20/2012 13:35:51
not a real question
Pass modelstate error to partial view === I have a partial viewthat does some user validation. If there is a problem with the validation I add an error to the modelstate, but then I return the view (which loads the partial view) and the error is not shown in the summary. Any ideas on how to do this?
1
11,393,548
07/09/2012 10:48:10
441,546
09/07/2010 14:39:35
92
9
RevisionInformation or ChangeInformation on LineNumberChangeRulerColumn
I'm trying to show the author or the ChangeInformation on a LineNumberChangeRulerColumn. Iterator<IVerticalRulerColumn> it = ruler2.getDecoratorIterator(); while(it.hasNext()){ IVerticalRulerColumn c = it.next(); if(c instanceof LineNumberChangeRulerColumn){ LineNumberChangeRulerColumn lnc = (Li...
java
eclipse
eclipse-plugin
eclipse-rcp
null
null
open
RevisionInformation or ChangeInformation on LineNumberChangeRulerColumn === I'm trying to show the author or the ChangeInformation on a LineNumberChangeRulerColumn. Iterator<IVerticalRulerColumn> it = ruler2.getDecoratorIterator(); while(it.hasNext()){ IVerticalRulerColumn c = it.next(); if(c inst...
0
6,604,032
07/06/2011 22:57:34
564,446
01/05/2011 19:09:47
1
0
Force Close Error
I am new to android app, in my gaming app When i trying to click on my home screen(home) easy, medium, hard buttons then i am able to play the game after finishing the game my score is displayed on another screen(Score screen) in that screen one home i con is displayed when i click on that icon i displayed dialog box w...
android
null
null
null
null
12/19/2011 05:09:06
too localized
Force Close Error === I am new to android app, in my gaming app When i trying to click on my home screen(home) easy, medium, hard buttons then i am able to play the game after finishing the game my score is displayed on another screen(Score screen) in that screen one home i con is displayed when i click on that icon i...
3
10,784,842
05/28/2012 12:40:25
1,401,284
05/17/2012 14:56:41
45
0
How to check if SqlDataSource.SelectCommand returned null
I have a gridview and sqldatasource. I'm using : SqlDatasource1.SelectCommand = "Select Name from Table Where RowID=@RowID"; how can I check if the the selectedcommand returned null ( no value found ) Thanks
c#
asp.net
null
null
null
05/29/2012 04:38:45
not a real question
How to check if SqlDataSource.SelectCommand returned null === I have a gridview and sqldatasource. I'm using : SqlDatasource1.SelectCommand = "Select Name from Table Where RowID=@RowID"; how can I check if the the selectedcommand returned null ( no value found ) Thanks
1
11,423,871
07/11/2012 00:21:36
20,134
09/21/2008 23:48:40
801
26
Google big query "required parameter missing" with ruby gem
I'm using Google's [ruby api client][1] to talk to big query and I have it all set up and working, except for queries where I'm getting this error: {"error"=> {"errors"=> [{"reason"=>"required", "domain"=>"global", "message"=>"Required parameter is missing"}], "code"...
ruby
google
google-bigquery
null
null
null
open
Google big query "required parameter missing" with ruby gem === I'm using Google's [ruby api client][1] to talk to big query and I have it all set up and working, except for queries where I'm getting this error: {"error"=> {"errors"=> [{"reason"=>"required", "domain"=>"global", ...
0
11,262,469
06/29/2012 13:13:21
1,021,581
10/31/2011 07:52:34
16
2
how to install wamp server without MySQL?
I need to use a stand alone MySQL server with wamp, how to install wamp without its embedded MySQL server?
php
mysql
wamp
null
null
06/30/2012 09:24:24
off topic
how to install wamp server without MySQL? === I need to use a stand alone MySQL server with wamp, how to install wamp without its embedded MySQL server?
2
7,860,039
10/22/2011 13:55:53
974,688
10/01/2011 17:15:14
1
0
Control MediaWiki generated html
I would like to control the html generated by the application. In other words: When an user saves an article the html article generated would have some aditional html tags. For example the first section of the article would be within a div, with a specific ID. BUt this shouldn't change the text when editing the article...
mediawiki
null
null
null
null
null
open
Control MediaWiki generated html === I would like to control the html generated by the application. In other words: When an user saves an article the html article generated would have some aditional html tags. For example the first section of the article would be within a div, with a specific ID. BUt this shouldn't ch...
0
5,821,463
04/28/2011 15:54:27
246,568
01/08/2010 17:08:16
1,081
103
searching a class hierarchy in Xcode 4
Is there an easy way to search a class and its subclasses in Xcode 4?
search
xcode4
null
null
null
null
open
searching a class hierarchy in Xcode 4 === Is there an easy way to search a class and its subclasses in Xcode 4?
0
290,779
11/14/2008 17:27:23
34,895
11/05/2008 23:02:02
11
5
What is more important, testability of code, or adherence to OOP principles?
My teams evolution of TDD includes what appear to be departures from traditional oop. 1. Moving away from classes that are self sufficient We still encapsulate data where appropriate. But in order to mock any helper classes, we usually create some way to externally set them via constructor or mutator. 2. We don...
oop
tdd
opinion
mocks
null
04/05/2012 13:33:27
not constructive
What is more important, testability of code, or adherence to OOP principles? === My teams evolution of TDD includes what appear to be departures from traditional oop. 1. Moving away from classes that are self sufficient We still encapsulate data where appropriate. But in order to mock any helper classes, we usual...
4
10,421,760
05/02/2012 21:07:55
1,371,080
05/02/2012 21:02:03
1
0
Eclipse Property view connect wit swt tree widget
I am trying to create eclipse plugin for my application. I am struck and googled a lot to get to the answer. But cant crack the problem. Problem: I am able to create a Swt Tree widget with all the treeItem inside that. Now for each treeitem in tree, I wanted to show different set of properties in eclipse property view....
eclipse-plugin
null
null
null
null
05/07/2012 19:38:38
not a real question
Eclipse Property view connect wit swt tree widget === I am trying to create eclipse plugin for my application. I am struck and googled a lot to get to the answer. But cant crack the problem. Problem: I am able to create a Swt Tree widget with all the treeItem inside that. Now for each treeitem in tree, I wanted to sho...
1
8,880,622
01/16/2012 13:23:57
1,386,886
03/30/2010 10:29:42
39,113
1,355
jQuery - set Ajax handler priority
actually the question is as simple as the topic says. Is there any way to give different ajax handlers a higher/lower priority (which means here, that they will fire earlier) ? What do I mean? Well, I have to deal with a fairly huge web-app. Tons of Ajax requests are fired in different modules. Now, my goal is to im...
javascript
jquery
ajax
null
null
null
open
jQuery - set Ajax handler priority === actually the question is as simple as the topic says. Is there any way to give different ajax handlers a higher/lower priority (which means here, that they will fire earlier) ? What do I mean? Well, I have to deal with a fairly huge web-app. Tons of Ajax requests are fired in ...
0
10,882,365
06/04/2012 13:41:43
1,229,257
02/23/2012 20:02:55
38
0
How to refer to me html5 canvas drawing more than once?
I've created a drawing using canvas which I intend to use multiple times for various navigation links, my problem is that when I refer to it more than once it will only show 1. Obviously I could duplicate the code for each instance but I plan on using this quite a lot so this is not ideal. Please have a look at the cod...
javascript
html5
canvas
html5-canvas
getelementbyid
null
open
How to refer to me html5 canvas drawing more than once? === I've created a drawing using canvas which I intend to use multiple times for various navigation links, my problem is that when I refer to it more than once it will only show 1. Obviously I could duplicate the code for each instance but I plan on using this qu...
0
11,514,905
07/17/2012 01:34:00
568,503
01/09/2011 02:27:32
305
6
Using UIAlert View To Let User Enter Title
I'm creating a a Master-Detail Splitview app and I'm using a `UIAlertView` in the `insertNewObject` method to let the user define a title for the new object being added to the master view. I've used the code and guide from this question [linky][1] by Warkst. My problem is that when the alert view is called the rest...
methods
uialertview
master-detail
null
null
null
open
Using UIAlert View To Let User Enter Title === I'm creating a a Master-Detail Splitview app and I'm using a `UIAlertView` in the `insertNewObject` method to let the user define a title for the new object being added to the master view. I've used the code and guide from this question [linky][1] by Warkst. My proble...
0
8,022,761
11/05/2011 19:40:36
856,014
07/21/2011 13:14:14
32
0
Rscript on ubuntu
Where can I install Rscript from? I need to run an R script from a php file using exec. However I need to install Rscript first.
r
ubuntu
null
null
null
null
open
Rscript on ubuntu === Where can I install Rscript from? I need to run an R script from a php file using exec. However I need to install Rscript first.
0
7,867,602
10/23/2011 16:53:13
555,690
12/28/2010 06:15:35
881
3
Declaring variables within interface or implementation?
In objective-c, I can declare an `int` or `bool` etc in the `.m` file, **outside** any function. That allows me to use such variable everywhere in the class. I can also declare such variables in the `.h` file, inside the interface block, achieving the same result. Well, my question is: what is the difference? Is ...
objective-c
variables
null
null
null
null
open
Declaring variables within interface or implementation? === In objective-c, I can declare an `int` or `bool` etc in the `.m` file, **outside** any function. That allows me to use such variable everywhere in the class. I can also declare such variables in the `.h` file, inside the interface block, achieving the same...
0
8,695,425
01/01/2012 20:49:04
956,689
09/21/2011 10:27:33
553
1
most efficient A* search algorithm
Is there a known 'most efficient' version of the A* search algorithm? I know some people write papers on the most efficient way to compute common operations, has this been done for A*?
c++
null
null
null
null
01/01/2012 22:13:28
not constructive
most efficient A* search algorithm === Is there a known 'most efficient' version of the A* search algorithm? I know some people write papers on the most efficient way to compute common operations, has this been done for A*?
4
9,494,475
02/29/2012 06:22:49
588,785
01/25/2011 09:41:32
30
2
how to include pyenchant (enchant) to my py2app bundle?
I use this script for create bundle: from setuptools import setup APP = ['main.py'] OPTIONS = {'argv_emulation': True, 'includes': ['sip', 'PyQt4', 'PyQt4.QtCore', 'PyQt4.QtGui','PyQt4.QtNetwork','enchant'], 'excludes': ['PyQt4.QtDesigner', 'PyQt4...
python
pyqt4
py2app
null
null
null
open
how to include pyenchant (enchant) to my py2app bundle? === I use this script for create bundle: from setuptools import setup APP = ['main.py'] OPTIONS = {'argv_emulation': True, 'includes': ['sip', 'PyQt4', 'PyQt4.QtCore', 'PyQt4.QtGui','PyQt4.QtNetwork','enchant'],...
0
2,554,241
03/31/2010 15:29:16
298,537
03/21/2010 17:46:00
32
0
How to change button background image on mouseOver?
I have img1, and img2 in my resources. I have easily set btn.backgroundImage as img1 in btn properties. Images paths are: c:\Project\Resources\... Now I don't know how to set btn.backgroundImage to be img2, I want to do it on event "MouseEnter". So I would apreciate complete code, because I am pretty green about thi...
button
c#
image
null
null
null
open
How to change button background image on mouseOver? === I have img1, and img2 in my resources. I have easily set btn.backgroundImage as img1 in btn properties. Images paths are: c:\Project\Resources\... Now I don't know how to set btn.backgroundImage to be img2, I want to do it on event "MouseEnter". So I would ap...
0
2,253,583
02/12/2010 17:05:08
252,160
01/16/2010 13:27:17
39
2
What PHP framework to choose for a Senior Project
I am working on my senior project, and the topic that we agreed on was a CMS that similarly to Drupal would make things easier by providing robust administration capabilities Some of them include: Content type and data field creation (CCK) Views Creation complex user management (tasks and roles) the ability to add...
drupal
php
content-management-system
kohana
cakephp
07/12/2011 18:19:35
not constructive
What PHP framework to choose for a Senior Project === I am working on my senior project, and the topic that we agreed on was a CMS that similarly to Drupal would make things easier by providing robust administration capabilities Some of them include: Content type and data field creation (CCK) Views Creation comple...
4
9,459,607
02/27/2012 03:14:46
1,234,700
02/27/2012 02:52:57
1
0
How does Insertion Sort, Quick Sort, and Merge Sort work? Also what is the cost (Big Oh) of queue and stack operations?
My apologies if this is long. ***Insertion Sort*** Lets start with Insertion Sort. I understand how Insertion Sort works but would like to clarify if I am understanding it correctly. Insertion Sort "brute forces" the array or whatever it is sorting. It starts from the very left position and the position after tha...
java
null
null
null
null
02/27/2012 13:18:03
not a real question
How does Insertion Sort, Quick Sort, and Merge Sort work? Also what is the cost (Big Oh) of queue and stack operations? === My apologies if this is long. ***Insertion Sort*** Lets start with Insertion Sort. I understand how Insertion Sort works but would like to clarify if I am understanding it correctly. Insert...
1
3,510,987
08/18/2010 10:14:20
423,848
08/18/2010 10:14:20
1
0
what is the persistent c++ system?
plz Send me the answer of the following question. what is the persistent c++ system?
c++
null
null
null
null
08/18/2010 10:27:40
not a real question
what is the persistent c++ system? === plz Send me the answer of the following question. what is the persistent c++ system?
1
9,706,365
03/14/2012 16:52:37
1,020,779
10/30/2011 14:47:49
139
0
How to edit in gridview?
How to edit in gridview? I have created on form,in that form i taking value from user and inserting into table and again showing in grid.That grid has edit button,in that button click event,it fetch id from that row and perticular entry are shown in textbox and update that.?How to fetch the id from edit button?
asp.net
null
null
null
null
03/15/2012 13:39:47
not a real question
How to edit in gridview? === How to edit in gridview? I have created on form,in that form i taking value from user and inserting into table and again showing in grid.That grid has edit button,in that button click event,it fetch id from that row and perticular entry are shown in textbox and update that.?How to fetch ...
1
11,026,461
06/14/2012 03:57:58
1,345,034
04/19/2012 20:22:07
1
0
What is the standard way to implement dynamic content changes with hashes in the URL?
Is the [Dynamic page replacing content][1] article on CSSTricks still best practices? [1]: http://css-tricks.com/dynamic-page-replacing-content/
css
css3
null
null
null
06/14/2012 06:08:21
not a real question
What is the standard way to implement dynamic content changes with hashes in the URL? === Is the [Dynamic page replacing content][1] article on CSSTricks still best practices? [1]: http://css-tricks.com/dynamic-page-replacing-content/
1
6,793,632
07/22/2011 17:16:02
855,360
07/21/2011 07:01:42
30
0
How to escape quotes in a MYSQL query?
Example: The follwing query give me Quotes error in the field -> GET['email'] mysql_query(" select * from user_info where user_mail = '$_GET['email']' ")
php
mysql
html
null
null
null
open
How to escape quotes in a MYSQL query? === Example: The follwing query give me Quotes error in the field -> GET['email'] mysql_query(" select * from user_info where user_mail = '$_GET['email']' ")
0
5,872,243
05/03/2011 15:56:27
538,497
12/10/2010 23:19:58
6
1
C# save changes in database
i have database in postgresql,i get data from table and show it in treeview (recursively), then i change some nodes text (selectednode.text = txtbox.text .... ) and then when i push button, i want to save these changes to database, how i can do that ?
c#
null
null
null
null
05/05/2011 13:11:09
not a real question
C# save changes in database === i have database in postgresql,i get data from table and show it in treeview (recursively), then i change some nodes text (selectednode.text = txtbox.text .... ) and then when i push button, i want to save these changes to database, how i can do that ?
1
5,251,430
03/09/2011 19:58:42
307,006
04/01/2010 15:07:50
59
1
Using Weka for Game Playing
I am doing a project where I have neural networks (or other algorithms) play each other in poker. After each win or loss, I want the neural network (or other algorithm) to update in response to the error of the loss (how this is calculated is unimportant here). Weka is very nice and I don't want to reinvent the whe...
machine-learning
neural-network
genetic-algorithm
weka
null
null
open
Using Weka for Game Playing === I am doing a project where I have neural networks (or other algorithms) play each other in poker. After each win or loss, I want the neural network (or other algorithm) to update in response to the error of the loss (how this is calculated is unimportant here). Weka is very nice and...
0
10,757,500
05/25/2012 15:47:11
534,295
12/07/2010 22:14:15
1
1
Collapse and deselect TFS pending changes hierarchy
The TFS pending changes view (VS2010) is annoying to use, especially the fact that the hierarchy view is always expanded. Further when I check in a few files, the pending changes view is refreshed and all the items are expanded and is selected. Considering there are multiple solutions in the workarea (which are functio...
visual-studio-2010
view
tfs
hierarchical
pending-changes
null
open
Collapse and deselect TFS pending changes hierarchy === The TFS pending changes view (VS2010) is annoying to use, especially the fact that the hierarchy view is always expanded. Further when I check in a few files, the pending changes view is refreshed and all the items are expanded and is selected. Considering there ...
0
5,565,626
04/06/2011 11:32:51
621,450
02/17/2011 13:21:11
1
0
The function is just not working and everything seems right
$(document).ready(function(){ var curPage = $('#curPage').val();//current page var totalNum = $('#totalNum').val(); totalNum = totalNum.toInt(10); var perPage = 10; var totalPages = totalNum/10; createNavigation(totalPages){//stuff inside here} getpageContents(curPage){//stuff ins...
javascript
jquery
html
null
null
09/29/2011 22:09:54
not a real question
The function is just not working and everything seems right === $(document).ready(function(){ var curPage = $('#curPage').val();//current page var totalNum = $('#totalNum').val(); totalNum = totalNum.toInt(10); var perPage = 10; var totalPages = totalNum/10; createNavigation(totalPages){/...
1
11,727,765
07/30/2012 18:53:24
1,223,963
02/21/2012 17:25:47
1
0
About Control meter
Can any body give me idea? Actually em working on Android Application in which i have to use A meter like a general meter.In Which i Calculate some values then show ans and also control the needle of meter with respect to the result. e.g result is 45 and also show on a meter like in this application http://www.craz...
android
null
null
null
null
08/01/2012 15:38:09
not a real question
About Control meter === Can any body give me idea? Actually em working on Android Application in which i have to use A meter like a general meter.In Which i Calculate some values then show ans and also control the needle of meter with respect to the result. e.g result is 45 and also show on a meter like in this appl...
1
11,356,015
07/06/2012 04:49:42
1,504,087
07/05/2012 13:05:07
1
0
How to display folders with their downloadable files from server to a tree view in mvc3 using Razor
I am very new to MVC3 Here I hav to show the folders with their downloadable files from server and display all in a tree view formate in view in MVC3 using Razor. Please anyone can help me?? Thanks.....
c#
asp.net-mvc-3
razor
using
null
07/06/2012 08:26:31
not constructive
How to display folders with their downloadable files from server to a tree view in mvc3 using Razor === I am very new to MVC3 Here I hav to show the folders with their downloadable files from server and display all in a tree view formate in view in MVC3 using Razor. Please anyone can help me?? Thanks.....
4
11,463,620
07/13/2012 03:11:43
1,346,673
04/20/2012 13:25:41
5
0
php how to get specific data from the variable
i have a variable containing following data. $cheers="<p>contant:op="This is apple"</p> <p>contant:op="This is school bus"</p> <p>contant:op="This is php code"</p> " how i can get output like display below: This is apple This is school bus This is php code Thanks
php
arrays
null
null
null
07/13/2012 09:16:11
too localized
php how to get specific data from the variable === i have a variable containing following data. $cheers="<p>contant:op="This is apple"</p> <p>contant:op="This is school bus"</p> <p>contant:op="This is php code"</p> " how i can get output like display below: This is apple This is school bus T...
3
6,306,360
06/10/2011 12:28:30
792,726
06/10/2011 12:17:36
1
1
how to label " object " on an image ? Want Labeling algorithm code ?
How to write the connected component algorithm or some other algorithm where i can able to label the object in an image Can any one please provide the coding in c++ / C ? how to label " object " on an image ? Want Labeling algorithm code ?
c++
algorithm
null
null
null
06/10/2011 12:35:29
not a real question
how to label " object " on an image ? Want Labeling algorithm code ? === How to write the connected component algorithm or some other algorithm where i can able to label the object in an image Can any one please provide the coding in c++ / C ? how to label " object " on an image ? Want Labeling algorithm code ...
1
6,283,388
06/08/2011 18:22:49
267,702
02/06/2010 11:52:45
68
11
graphic arts for software engineers
Can anyone recommend a good ebook, website, self-study course, etc. to help software engineers, programmers, etc. gain a basic knowledge of graphic arts. I'm interested in basic Photoshop/GIMP skills to help make and tweak icons, images, etc. when I don't have a professional graphic artist nearby to help out or if the...
graphic
arts
null
null
null
06/09/2011 22:17:14
off topic
graphic arts for software engineers === Can anyone recommend a good ebook, website, self-study course, etc. to help software engineers, programmers, etc. gain a basic knowledge of graphic arts. I'm interested in basic Photoshop/GIMP skills to help make and tweak icons, images, etc. when I don't have a professional gr...
2
5,822,637
04/28/2011 17:29:43
107,694
05/15/2009 13:29:10
7,178
587
Is there anything cool you can do with IPv6?
So, we've got us one of them fancy newfangled IPv6 connections to that intertube thing. And I've got the mission to stand up some sort of IPv6-only site to promote IPv6. But I'm at a loss as to what sort of cool, neat thing we could do to promote said protocol -- frankly the switch just isn't sexy. So, crowd, what s...
asp.net
ipv6
crazy-marketing-stunts
null
null
04/28/2011 17:47:44
not a real question
Is there anything cool you can do with IPv6? === So, we've got us one of them fancy newfangled IPv6 connections to that intertube thing. And I've got the mission to stand up some sort of IPv6-only site to promote IPv6. But I'm at a loss as to what sort of cool, neat thing we could do to promote said protocol -- frankl...
1
4,211,424
11/18/2010 03:29:19
447,020
09/14/2010 05:41:11
6
1
highlighting text as it is narrated(audio .mp3)
I'm using Cocos2d for all the animated sprite/transition stuff, but I'm not sure how to approach highlighting text as it is narrated. Example: "Jack and Jill, drank their fill, and were too drunk to go for water." As the text is narrated (.mp3 plays on each page), the text would be highlighted. If someone has a clu...
ipad
null
null
null
null
null
open
highlighting text as it is narrated(audio .mp3) === I'm using Cocos2d for all the animated sprite/transition stuff, but I'm not sure how to approach highlighting text as it is narrated. Example: "Jack and Jill, drank their fill, and were too drunk to go for water." As the text is narrated (.mp3 plays on each page), t...
0
3,336,777
07/26/2010 16:20:39
287,902
03/06/2010 19:50:00
62
3
Can I limit an ASP.net HttpHandler scope?
I have an application that depends on a generic HttpHandler I created, and it works fine. The problem is that that there are many other applications under the same folder in IIS, and these other apps don't need to use and don't know (mustn't know) about this handler. However, the Web.Config in which I register it ends...
.net
asp.net
iis
httphandler
null
null
open
Can I limit an ASP.net HttpHandler scope? === I have an application that depends on a generic HttpHandler I created, and it works fine. The problem is that that there are many other applications under the same folder in IIS, and these other apps don't need to use and don't know (mustn't know) about this handler. Howe...
0
2,623,585
04/12/2010 16:21:42
95,265
04/24/2009 01:28:43
436
5
1&1 web hosting and smtp configuration
Has anyone ever tried sending emails using 1&1 smtp host? I tried the following? SmtpClient mailClient = new SmtpClient("smtp.1and1.com", 587); But it always gives me a security exemption error... I tried it using my local host and it works fine.. I tried using gmail's smtp and it worked fine as well...
smtp
web-hosting
asp.net
null
null
null
open
1&1 web hosting and smtp configuration === Has anyone ever tried sending emails using 1&1 smtp host? I tried the following? SmtpClient mailClient = new SmtpClient("smtp.1and1.com", 587); But it always gives me a security exemption error... I tried it using my local host and it works fine.. I tried using gmail...
0
7,895,670
10/25/2011 20:49:23
618,283
02/15/2011 17:33:26
149
1
Why am I getting a EXC BAD ACCESS error when I try to impliment this dynamic array?
Please let me know if I need to provide more/different parts of my program so far if what I've provided isn't enough. I'm still working on my program with the Airline class. The Airline class contains a vairable to an array of dynamic Flight objects. In the Airlines class I have (which can't be edited or changed,...
c++
homework
dynamic-data
null
null
null
open
Why am I getting a EXC BAD ACCESS error when I try to impliment this dynamic array? === Please let me know if I need to provide more/different parts of my program so far if what I've provided isn't enough. I'm still working on my program with the Airline class. The Airline class contains a vairable to an array of d...
0
8,657,980
12/28/2011 15:47:23
884,778
10/18/2010 19:02:52
107
17
How to make web service in PHP?
I want to make web service in php. Is there any php web service tutorial with example .
php
web-services
web
null
null
12/28/2011 15:56:48
not a real question
How to make web service in PHP? === I want to make web service in php. Is there any php web service tutorial with example .
1
3,688,138
09/10/2010 20:32:59
444,723
09/10/2010 20:27:09
1
0
Replace a number with another number.
So, I have a list of numbers: 1 2 3 17 8 9 23 ...etc. and I want to replace these numbers with another number, based on another list: 1001=1 1002=2 1003=3 1004=8 1005=23 1006=9 1007=17 What is the quickest way to do this, like using regular expression in Notepad++, etc.?
regex
null
null
null
null
09/13/2010 01:27:41
not a real question
Replace a number with another number. === So, I have a list of numbers: 1 2 3 17 8 9 23 ...etc. and I want to replace these numbers with another number, based on another list: 1001=1 1002=2 1003=3 1004=8 1005=23 1006=9 1007=17 What is the quickest way to do this, like using regular expression ...
1
7,551,267
09/26/2011 06:19:23
962,935
09/24/2011 19:06:31
1
0
Can anyone please tell me how I can save anyone's location to my server?
Let me explain: Just like Facebook how you can find people near your area who lives near you or miles away or if you know where they lived by using location to track down people. Still confuse? Here's another way of put it in simplest form. Register to my site > Saves your location on my database > Finds people ...
javascript
asp.net
database-design
web-applications
null
10/07/2011 15:24:02
not a real question
Can anyone please tell me how I can save anyone's location to my server? === Let me explain: Just like Facebook how you can find people near your area who lives near you or miles away or if you know where they lived by using location to track down people. Still confuse? Here's another way of put it in simplest for...
1
10,914,321
06/06/2012 12:34:01
558,070
12/30/2010 08:23:03
61
7
Delete statement in iphone not working
I am deleting all data from the table by using below code snippet NSString *deleteStatementNS = [NSString stringWithFormat: @"DELETE FROM %@",[tableNames objectAtIndex:i]]; const char *prepareDelete ="DELETE FROM '?'"; const char *tbleName = [[tableName...
iphone
sql
ios
ipad
ios5
null
open
Delete statement in iphone not working === I am deleting all data from the table by using below code snippet NSString *deleteStatementNS = [NSString stringWithFormat: @"DELETE FROM %@",[tableNames objectAtIndex:i]]; const char *prepareDelete ="DELETE FROM '?'";...
0
10,851,299
06/01/2012 13:34:38
1,384,441
05/09/2012 11:23:23
46
3
Left floated div after the right floated div when small width
Example: http://jsfiddle.net/tkKth/ When I'm resizing my window (set `.container {width:200px;}`), the left div appears after the right div. Is there a way to do this with css, when the divs left/right change their position in the html doc? -> `<div class="left">Left div</div> <div class="right">Right div</div>`...
html
css
responsive-design
null
null
null
open
Left floated div after the right floated div when small width === Example: http://jsfiddle.net/tkKth/ When I'm resizing my window (set `.container {width:200px;}`), the left div appears after the right div. Is there a way to do this with css, when the divs left/right change their position in the html doc? -> `<...
0
4,127,387
11/08/2010 19:44:38
452,047
01/16/2010 08:43:35
684
24
Why doesn't SelectedValue Show Up In Intellisense For DropDownLists?
It doesn't show up in aspx pages, but it does in codebehind. Are we not supposed to be using it? Is it not there to make the intellisense list more manageable? Did they screw up? If I recall it wasn't there in previous versions as well... Anyone know the story?
c#
drop-down-menu
null
null
null
null
open
Why doesn't SelectedValue Show Up In Intellisense For DropDownLists? === It doesn't show up in aspx pages, but it does in codebehind. Are we not supposed to be using it? Is it not there to make the intellisense list more manageable? Did they screw up? If I recall it wasn't there in previous versions as well......
0
5,755,129
04/22/2011 11:53:55
720,480
04/22/2011 11:53:55
1
0
What is a "beautiful" software architecture criteria
I mean not simply a good or even excellent software architecture but something that makes you feel like watching some wonderfull piece of art, that produce emotional feelings. It's a matter of taste and up to some limit a philosophical question. I would like to have your criterion about how to qualifie a piece of co...
architecture
philosophy
art
null
null
04/22/2011 12:11:11
off topic
What is a "beautiful" software architecture criteria === I mean not simply a good or even excellent software architecture but something that makes you feel like watching some wonderfull piece of art, that produce emotional feelings. It's a matter of taste and up to some limit a philosophical question. I would like ...
2
7,215,675
08/27/2011 16:06:52
866,185
07/27/2011 19:44:41
18
1
How to prevent resolving prefixes to namespaces in SOAP Request
I have a request XmlObject(got by calling toString): <getEntitiesByKeysRequest xmlns="http://ossj.org/xml/Inventory/v1-2" xmlns:v1="http://ossj.org/xml/Common-CBECore/v1-5" xmlns:v11="http://ossj.org/xml/Common/v1-5" xmlns:soc="http://mycompany.com/messages"> <entityKeys> <v1:item> <v1...
axis2
xmlbeans
null
null
null
null
open
How to prevent resolving prefixes to namespaces in SOAP Request === I have a request XmlObject(got by calling toString): <getEntitiesByKeysRequest xmlns="http://ossj.org/xml/Inventory/v1-2" xmlns:v1="http://ossj.org/xml/Common-CBECore/v1-5" xmlns:v11="http://ossj.org/xml/Common/v1-5" xmlns:soc="http://mycompany...
0
2,270,528
02/16/2010 03:56:48
274,033
02/16/2010 03:19:35
1
0
How can I set a value on a Linq object during the query?
I have a simple query i.e. var trips = from t in ctx.Trips select t; The problem is that I have an extra property on the Trip object that needs to be assigned, preferably without iterating through the returned IQueryable. Does anyone know how to set the value during the query? (i.e. select t, t.pr...
asp.net
c#
linq-to-sql
null
null
null
open
How can I set a value on a Linq object during the query? === I have a simple query i.e. var trips = from t in ctx.Trips select t; The problem is that I have an extra property on the Trip object that needs to be assigned, preferably without iterating through the returned IQueryable. Does anyone kn...
0
9,516,408
03/01/2012 12:39:42
691,197
04/04/2011 13:41:10
9
0
sorting in shell script
I have an array arr=( x11 y12 x21 y22 x31 y32) I need to sort this array to x11 x21 x31 y12 y22 y32 So, I need to sort both alphabetical and numerical wise How do I perform this in shell script ? If I use [ $i -le $j ], it says "integer expression expected". And the strings may contain other c...
arrays
sorting
shell-scripting
null
null
null
open
sorting in shell script === I have an array arr=( x11 y12 x21 y22 x31 y32) I need to sort this array to x11 x21 x31 y12 y22 y32 So, I need to sort both alphabetical and numerical wise How do I perform this in shell script ? If I use [ $i -le $j ], it says "integer expression expected". And th...
0
11,081,894
06/18/2012 11:31:10
478,144
10/16/2010 20:24:18
6,040
276
Control scope of jQuery's index() function
I this: http://jsfiddle.net/ZP76c/ I'm trying to control the scope at which jQuery selects elements based off their index(), possible? <div class="holder"> <div class="first">First</div> <div class="second">Second</div> <div class="first">First</div> <div class="second">Sec...
jquery
null
null
null
null
null
open
Control scope of jQuery's index() function === I this: http://jsfiddle.net/ZP76c/ I'm trying to control the scope at which jQuery selects elements based off their index(), possible? <div class="holder"> <div class="first">First</div> <div class="second">Second</div> <div class="fir...
0
9,454,819
02/26/2012 16:30:26
1,002,902
10/19/2011 10:12:19
100
5
How can I mock pirates in obfuscated source code?
I am working on a paying app which will have LVL enabled, which means that pirates will probably crack it - even if the app is worthless to them. Given that I am planning on obfuscating code, is there a 'best practice' for inserting a message in the source code that will not be obfuscated ?
android
null
null
null
null
null
open
How can I mock pirates in obfuscated source code? === I am working on a paying app which will have LVL enabled, which means that pirates will probably crack it - even if the app is worthless to them. Given that I am planning on obfuscating code, is there a 'best practice' for inserting a message in the source code ...
0
7,759,803
10/13/2011 20:05:00
994,207
10/13/2011 19:35:17
1
0
Rendering part of a bitmap using Direct2D
I'm in the process of converting a custom CAD software from GDI to Direct2D. I'm having issues when panning the drawing. What I would like to do is to create a bitmap that's 3x as wide as the drawing window & 3x as high. Then, when the user begins to pan, I would render the part of the bitmap that should be visible. ...
c++
direct2d
null
null
null
10/20/2011 04:32:07
too localized
Rendering part of a bitmap using Direct2D === I'm in the process of converting a custom CAD software from GDI to Direct2D. I'm having issues when panning the drawing. What I would like to do is to create a bitmap that's 3x as wide as the drawing window & 3x as high. Then, when the user begins to pan, I would render th...
3
10,548,517
05/11/2012 09:06:10
1,355,400
04/25/2012 06:18:06
6
1
HTML5 image editors
anyone know about the image editor in html5 and jQuery or example for that including dragging, resizing, rotating anc etc not flash
jquery
html5
image-processing
null
null
05/17/2012 00:20:42
not a real question
HTML5 image editors === anyone know about the image editor in html5 and jQuery or example for that including dragging, resizing, rotating anc etc not flash
1
2,888,633
05/22/2010 15:20:24
347,859
05/22/2010 15:20:24
1
0
Changing careers to Software Engineering.... Wise?
I notice this site has a wealth of software professionals and I am investigating a career change to Software Engineering: *Particularly, I would like to know how likely one would be able to work from home or another country over the internet. Is this something that can be done and what does it usually entail? (ti...
career-development
null
null
null
null
01/28/2012 20:44:49
not constructive
Changing careers to Software Engineering.... Wise? === I notice this site has a wealth of software professionals and I am investigating a career change to Software Engineering: *Particularly, I would like to know how likely one would be able to work from home or another country over the internet. Is this somethi...
4
6,830,761
07/26/2011 13:30:38
737,279
05/04/2011 03:42:36
55
0
How to map a directory on my VPN to a location on my Windows 7 box at home?
How can I map a folder on my Ubuntu Server VPN (hosted elsewhere on the great Interwebnets) to a drive/folder on my Windows 7 box at home? Preferably in a secure/encrypted manner that would allow me to safely access it from public wireless without having to worry about bad people doing bad things.
windows
linux
networking
remote-access
shared-directory
07/26/2011 17:18:59
off topic
How to map a directory on my VPN to a location on my Windows 7 box at home? === How can I map a folder on my Ubuntu Server VPN (hosted elsewhere on the great Interwebnets) to a drive/folder on my Windows 7 box at home? Preferably in a secure/encrypted manner that would allow me to safely access it from public wir...
2
11,534,448
07/18/2012 04:46:37
303,979
03/29/2010 06:19:11
516
4
Effective algorithm for matching complex name variations using Java
I have to match a number of store names and I am having a difficult time getting Levenshtein and SoundEx to yield acceptable results given my data. Here are a few examples of what I'm dealing with: The Home Depot Office Depot Apple store Apple Walgreens Walgreens Denver Quiz...
java
algorithm
null
null
null
07/18/2012 06:17:44
not a real question
Effective algorithm for matching complex name variations using Java === I have to match a number of store names and I am having a difficult time getting Levenshtein and SoundEx to yield acceptable results given my data. Here are a few examples of what I'm dealing with: The Home Depot Office Depot ...
1
10,833,773
05/31/2012 12:37:15
1,150,301
01/15/2012 11:37:55
1
0
How to Create Web User Control in C#
Thanks All of u for help me on my Previous Topic. Now i am Problem that How to Create User Control in C#. Actually i want to create User Control for Website in C# . so please tell me Suggesion or send link where i can find Solutions. thanks
c#
asp.net
null
null
null
05/31/2012 13:59:36
not a real question
How to Create Web User Control in C# === Thanks All of u for help me on my Previous Topic. Now i am Problem that How to Create User Control in C#. Actually i want to create User Control for Website in C# . so please tell me Suggesion or send link where i can find Solutions. thanks
1
8,943,093
01/20/2012 14:42:26
280,501
02/24/2010 16:29:27
143
9
sql query getting groups of two or more similar rows
I have a table with this schema: ![enter image description here][1] [1]: http://i.stack.imgur.com/iOVMr.jpg The context is people who are traveling the same day and almost same hour. What i need to obtain from it is: **Groups of people who have a similar date (2 +/- hours max of diference) same place a...
sql
query
null
null
null
null
open
sql query getting groups of two or more similar rows === I have a table with this schema: ![enter image description here][1] [1]: http://i.stack.imgur.com/iOVMr.jpg The context is people who are traveling the same day and almost same hour. What i need to obtain from it is: **Groups of people who have ...
0
6,192,989
05/31/2011 20:11:28
77,451
03/12/2009 22:20:09
458
7
storing n+1 objects in a solr document
I'm struggling to work out how the best way to store n+1 object in a solr document. I am storing a CV/resume document in a solr document. I am looking at storing two different data types "education" and "employment" If we look at education the object looks like this: { "establishment" => 'Oxford', ...
php
search
lucene
solr
null
null
open
storing n+1 objects in a solr document === I'm struggling to work out how the best way to store n+1 object in a solr document. I am storing a CV/resume document in a solr document. I am looking at storing two different data types "education" and "employment" If we look at education the object looks like this: ...
0
2,891,687
05/23/2010 12:23:05
253,257
01/18/2010 14:38:41
1,439
149
Good tutorial for ASP.net mvc 2
I am an experienced asp.net web forms developer using c# but i have never used asp.net MVC. As I am just starting out with mvc i would like to start with mvc 2. I am looking for a good intro/tutorial to help me understand the basics. I am aware of the [Nerd Dinner][1] but that is based around MVC 1. What would you guy...
c#
.net
asp.net
asp.net-mvc
asp.net-mvc-2
03/27/2012 15:51:17
not constructive
Good tutorial for ASP.net mvc 2 === I am an experienced asp.net web forms developer using c# but i have never used asp.net MVC. As I am just starting out with mvc i would like to start with mvc 2. I am looking for a good intro/tutorial to help me understand the basics. I am aware of the [Nerd Dinner][1] but that is b...
4
11,501,037
07/16/2012 09:00:57
1,528,325
07/16/2012 08:48:34
1
0
How do I point a domain to a sub-domain of another site (different hosting provider)?
I am fairly junior in web dev, and have a bit of a puzzle. I will try to be as clear as possible about the problem, but would really appreciate any help!! I have been developing a site using Drupal for a local charity. They already have a site on domain (lets say): "www.charity.com" The domain and hosting for thi...
hosting
null
null
null
null
07/16/2012 16:47:48
off topic
How do I point a domain to a sub-domain of another site (different hosting provider)? === I am fairly junior in web dev, and have a bit of a puzzle. I will try to be as clear as possible about the problem, but would really appreciate any help!! I have been developing a site using Drupal for a local charity. They al...
2
6,478,754
06/25/2011 15:38:43
67,959
10/19/2008 09:51:07
3,493
160
What OpenSource System.Security.Cryptography.Pkcs Alternatives are there?
I am trying to use PKCS on mono. The only issue is that after running MoMa, the scan report showed the the following: Calling Method Method with [MonoTodo] Byte[] Sign (Byte[]) void SignedCms.ComputeSignature (CmsSigner) Byte[] Sign (Byte[]) Byte[] SignedCms.Encode () ...
c#
.net
mono
cryptography
null
null
open
What OpenSource System.Security.Cryptography.Pkcs Alternatives are there? === I am trying to use PKCS on mono. The only issue is that after running MoMa, the scan report showed the the following: Calling Method Method with [MonoTodo] Byte[] Sign (Byte[]) void SignedCms.ComputeSignature ...
0
1,139,475
07/16/2009 18:37:52
99,327
05/01/2009 13:21:42
1
2
Is there a jQuery-like library written in C#?
I love jQuery. I am probably going to have some XML parsing and manipulation using C#. It would be a piece of cake doing it in jQuery. Is there a C# library that implements jQuery's functionality?
jquery
c#
.net
xml
null
06/19/2012 18:40:21
not constructive
Is there a jQuery-like library written in C#? === I love jQuery. I am probably going to have some XML parsing and manipulation using C#. It would be a piece of cake doing it in jQuery. Is there a C# library that implements jQuery's functionality?
4
8,671,865
12/29/2011 18:35:08
587,497
01/24/2011 12:44:48
156
8
Pointers for writing context menu items for windows explorer using C#
this is a generice question any Pointers for writing context menu items for windows explorer using C# Thanks and regards, Sri
c#
windows
null
null
null
12/30/2011 12:57:55
not a real question
Pointers for writing context menu items for windows explorer using C# === this is a generice question any Pointers for writing context menu items for windows explorer using C# Thanks and regards, Sri
1
6,080,708
05/21/2011 08:57:42
719,001
04/21/2011 13:12:04
48
1
Clustering - leader algorithm compared to k-means?
I need to map several advantages and disadvantages of the leader algorithm as compared to K-means. The problem is that I cant put my pinger on even one..
algorithm
cluster-analysis
data-mining
null
null
05/21/2011 12:30:20
not a real question
Clustering - leader algorithm compared to k-means? === I need to map several advantages and disadvantages of the leader algorithm as compared to K-means. The problem is that I cant put my pinger on even one..
1
11,112,696
06/20/2012 04:10:19
1,468,036
06/20/2012 03:28:17
1
0
Developing a notepad in C++
I am trying to develop a notepad with menus in C++. the code is as below. #include <windows.h> #define IDI_APP_ICON 1 #define IDD_ABOUT 100 #define IDC_STATIC 101 #define IDM_MAINMENU 200 #define IDM_FILE_NEW 201 #define IDM_FILE_OPEN 203 #define IDM_FILE_SAVE ...
c++
notepad
null
null
null
06/21/2012 01:31:40
too localized
Developing a notepad in C++ === I am trying to develop a notepad with menus in C++. the code is as below. #include <windows.h> #define IDI_APP_ICON 1 #define IDD_ABOUT 100 #define IDC_STATIC 101 #define IDM_MAINMENU 200 #define IDM_FILE_NEW 201 #define IDM_FILE_OPEN ...
3
7,470,994
09/19/2011 12:33:51
553,071
12/24/2010 06:41:45
165
21
Protocol and Categories can be inherit?
I am little confused for the concept of protocols and Categories. Can Protocols , categories be inherited? Please answer me with the reasons. Thanks in advance
iphone
objective-c
ios
null
null
null
open
Protocol and Categories can be inherit? === I am little confused for the concept of protocols and Categories. Can Protocols , categories be inherited? Please answer me with the reasons. Thanks in advance
0
1,854,585
12/06/2009 06:51:19
224,922
12/04/2009 16:51:10
7
0
json jquery php question
i dont understand one thing. if i want to get JSON data (key-value-pairs) from php to jquery using ajax...which of these following ones should i use? $.get $.post $.getJSON do i need to use getJSON if i want to use json_encode in php file? but what if i want to send with post? (there is no postJSON)? and ...
json
jquery
ajax
php
null
null
open
json jquery php question === i dont understand one thing. if i want to get JSON data (key-value-pairs) from php to jquery using ajax...which of these following ones should i use? $.get $.post $.getJSON do i need to use getJSON if i want to use json_encode in php file? but what if i want to send with post? (...
0
7,658,452
10/05/2011 08:14:27
974,267
10/01/2011 08:00:11
1
0
how to use dispatch in C
I need to use dispatch_sync_f in my program but i am not sure how to use it.. dispatch_queue_t queue = dispatch_queue_create("queue", NULL); dispatch_function_t func = (void *)a_method_takes_a_struct; // like void a(struct a a) dispatch_sync(queue, ^{ ...
c
dispatch
null
null
null
12/25/2011 02:17:26
not a real question
how to use dispatch in C === I need to use dispatch_sync_f in my program but i am not sure how to use it.. dispatch_queue_t queue = dispatch_queue_create("queue", NULL); dispatch_function_t func = (void *)a_method_takes_a_struct; // like void a(struct a a) ...
1
11,291,492
07/02/2012 10:03:42
1,423,600
05/29/2012 11:47:06
40
1
Book for starting with Advanced Java Programming
Can someone please recommend me a book to start with advanced Java topics? My curriculum is [HERE](http://www.msbte.com/website/curriculum/SCHEME%20-%20E%20Sixth%20Semester%20Curriculum/SCHEME_E%20Sixth_Semester(CO,CM).pdf) and Java topics are mentioned on **page 15**
java
sockets
tomcat
servlets
containers
07/02/2012 15:22:59
not constructive
Book for starting with Advanced Java Programming === Can someone please recommend me a book to start with advanced Java topics? My curriculum is [HERE](http://www.msbte.com/website/curriculum/SCHEME%20-%20E%20Sixth%20Semester%20Curriculum/SCHEME_E%20Sixth_Semester(CO,CM).pdf) and Java topics are mentioned on **page...
4
9,020,380
01/26/2012 15:19:44
1,105,875
12/19/2011 12:24:22
13
0
Looking for android multitouch game controls
Can anyone give me an example (snippet or smth) of development multitouch controls for android game. Can't find it anywhere. I want to develop the controls similar to given on the picture. If you share the link for the manual or article, I will be also thankful. Thanks. ![android game control][1] [1]: http://i...
android
null
null
null
null
01/27/2012 15:53:08
not a real question
Looking for android multitouch game controls === Can anyone give me an example (snippet or smth) of development multitouch controls for android game. Can't find it anywhere. I want to develop the controls similar to given on the picture. If you share the link for the manual or article, I will be also thankful. Thanks...
1
9,600,470
03/07/2012 11:18:51
1,023,528
11/01/2011 11:00:51
78
15
How to select/set a selected row in picker view as default selected row every time
I have a picker view [picker selectRow:3 inComponent:0 animated:YES]; when i wrote this code in view did load, This method is used to set the row 3 as default row in picker. But i want that the row i have selected is set to be as default for the next time. what to do? thanks in advance...
iphone
objective-c
datepicker
uipickerview
didselectrowatindexpath
null
open
How to select/set a selected row in picker view as default selected row every time === I have a picker view [picker selectRow:3 inComponent:0 animated:YES]; when i wrote this code in view did load, This method is used to set the row 3 as default row in picker. But i want that the row i have selected i...
0
3,704,077
09/13/2010 20:18:21
442,142
09/08/2010 07:17:33
6
0
staic members and consts
class a{ protected: const int _ID; public: a::a(int id){}; a::top(int num); }; class b: public a{ static int ok; b::b(int id):a(id){}; a::top(ok); } int main(){ int t=5; b opj=b(t); } first why i get this compile ...
c++
static
const
null
null
09/16/2010 01:50:14
not a real question
staic members and consts === class a{ protected: const int _ID; public: a::a(int id){}; a::top(int num); }; class b: public a{ static int ok; b::b(int id):a(id){}; a::top(ok); } int main(){ int t=5; b opj=b(t); } ...
1
8,464,118
12/11/2011 12:53:14
1,092,236
12/11/2011 12:51:34
1
0
confusing in SEAL (Software-Optimized Encryption Algorithm) mathematic notation
I'm developing an encryption software based on SEAL algorihm for my research. I found the paper in here : http://www.cs.ucdavis.edu/~rogaway/papers/seal.pdf. My Question is what is the meaning of $$ H_{i}^{i mod 5} $$ in page 5? Thanks in advance.
math
encryption
cryptography
notation
number-theory
12/11/2011 15:36:51
off topic
confusing in SEAL (Software-Optimized Encryption Algorithm) mathematic notation === I'm developing an encryption software based on SEAL algorihm for my research. I found the paper in here : http://www.cs.ucdavis.edu/~rogaway/papers/seal.pdf. My Question is what is the meaning of $$ H_{i}^{i mod 5} $$ in page 5? ...
2
10,022,524
04/05/2012 04:04:44
1,123,584
12/30/2011 21:39:05
13
0
I don't understand += statements. What do they mean?
I'm going through a Ruby tutorial and I can't grasp the += statement. Google isn't helping, "Ruby +=" only searches for "Ruby". Help is appreciated. Sample: num = -10 num += -1 if num < 0 puts num #=> -11
ruby
null
null
null
null
04/05/2012 05:21:58
not constructive
I don't understand += statements. What do they mean? === I'm going through a Ruby tutorial and I can't grasp the += statement. Google isn't helping, "Ruby +=" only searches for "Ruby". Help is appreciated. Sample: num = -10 num += -1 if num < 0 puts num #=> -11
4
138,621
09/26/2008 10:20:21
17,398
09/18/2008 08:22:42
58
9
Best Version control for lone developer
I'm a lone developer at the moment; please share you experiences on what is a good VC setup for a lone developer. My constraints are; - I work on multiple machines and need to keep them synced up - Sometimes I work offline I'm currently using Subversion(just the client to a remote server), and that is...
version-control
dvcs
vcs
null
null
02/05/2012 17:06:46
not constructive
Best Version control for lone developer === I'm a lone developer at the moment; please share you experiences on what is a good VC setup for a lone developer. My constraints are; - I work on multiple machines and need to keep them synced up - Sometimes I work offline I'm currently using Subversion(jus...
4
5,768,469
04/24/2011 03:31:52
722,319
04/24/2011 03:28:53
1
0
HTML doubt regarding usage of title and H1 tags in a webpage
What is the difference between H1 tags and Title tags in a HTML page? Also how to increase the page rank of a web page? - Deepak [mis510proj][1] [1]: http://128.196.27.185:8080/onestopmob/
html
null
null
null
null
04/24/2011 03:58:36
not a real question
HTML doubt regarding usage of title and H1 tags in a webpage === What is the difference between H1 tags and Title tags in a HTML page? Also how to increase the page rank of a web page? - Deepak [mis510proj][1] [1]: http://128.196.27.185:8080/onestopmob/
1
1,339,708
08/27/2009 08:38:03
85,606
04/01/2009 10:59:21
812
48
Any free animation available for WPF?
Being developer its very hard to designing and Animate the thing... Are there any animation libraries (like WPF themes) available out there for WPF ??
wpf
animation
null
null
null
null
open
Any free animation available for WPF? === Being developer its very hard to designing and Animate the thing... Are there any animation libraries (like WPF themes) available out there for WPF ??
0
9,368,926
02/20/2012 21:49:09
1,217,004
02/17/2012 19:28:01
1
0
Division by zero error of Solr StatsComponent for date field in case of no results
I have a number of docs indexed by Solr 3.5, which contain date fields (solr.DateField) among others. Now I do request to Solr component which should return no results: http://example.com/solr/select?fq=sis_field_int:1000& stats=true&stats.field=ds_field_date and get error HTTP Status 500 - / by z...
solr
statistics
datefield
dividebyzero
null
null
open
Division by zero error of Solr StatsComponent for date field in case of no results === I have a number of docs indexed by Solr 3.5, which contain date fields (solr.DateField) among others. Now I do request to Solr component which should return no results: http://example.com/solr/select?fq=sis_field_int:1000& ...
0
6,906,781
08/02/2011 02:54:30
103,264
05/08/2009 01:16:16
2,046
4
Get IPAddress C#
How do I get the HTTP_X_FORWARDED_FOR Ip Address? 1. HTTP CLIENT IP HttpContext.Current.Request.UserHostAddress.ToString(); 2. HTTP X-FORWARDED FOR //proxy ip address ? 3. REMOTE ADDRESS ?
c#
ip-address
null
null
null
08/02/2011 07:14:03
not a real question
Get IPAddress C# === How do I get the HTTP_X_FORWARDED_FOR Ip Address? 1. HTTP CLIENT IP HttpContext.Current.Request.UserHostAddress.ToString(); 2. HTTP X-FORWARDED FOR //proxy ip address ? 3. REMOTE ADDRESS ?
1
6,830,883
07/26/2011 13:39:46
526,938
12/01/2010 17:48:43
164
7
IE8 error object doesn't support property
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; YPC 3.2.0) Timestamp: Tue, 26 Jul 2011 13:35:27 UTC Message: Object doesn't support this property or method Line: 2 Char: 69242 Code: 0 URI: http://sadiecoles.uwpist...
jquery
noconflict
null
null
null
null
open
IE8 error object doesn't support property === Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; YPC 3.2.0) Timestamp: Tue, 26 Jul 2011 13:35:27 UTC Message: Object doesn't support this property or method Line: 2 Char: 69242 ...
0
11,118,303
06/20/2012 11:14:07
902,207
08/19/2011 09:57:20
321
23
Smartphone browser JavaScript support
I've been reading a few previous questions posted on stackoverflow, but none of them had what I wanted… Does anyone have any statistics regarding the percentage of smartphone traffic where JavaScript is supported on the browser? Also, what about phones overall (including non-smartphones)? I want percentage of ...
javascript
smartphone
browser-support
null
null
06/21/2012 13:06:42
off topic
Smartphone browser JavaScript support === I've been reading a few previous questions posted on stackoverflow, but none of them had what I wanted… Does anyone have any statistics regarding the percentage of smartphone traffic where JavaScript is supported on the browser? Also, what about phones overall (including...
2
5,033,536
02/17/2011 19:21:25
281,434
02/25/2010 17:10:40
294
4
How to compare user input with db password when using PHP's sha256 hash method?
Say I set a new users password like this: $salt = random_string(40) // some method that spits out a random // 40 alpha-numeric character string $password = hash('sha256', $_POST['password'] . $salt); How do I then compare the users input to his hashed db password when he ...
php
hash
sha256
null
null
null
open
How to compare user input with db password when using PHP's sha256 hash method? === Say I set a new users password like this: $salt = random_string(40) // some method that spits out a random // 40 alpha-numeric character string $password = hash('sha256', $_POST['password'] ...
0
8,122,334
11/14/2011 13:33:23
328,397
04/28/2010 23:54:42
3,089
76
Performance comparison between Automapper, Valuinjector, vs manual
I'm looking for a performance comparison between [Automapper][1] vs [Valueinjector][2] vs a manual mapping. Are some scenarios much slower/faster than others (e.g. flattening, etc) ? [1]: http://automapper.codeplex.com/ [2]: http://valueinjecter.codeplex.com/
c#
.net
automapper
valueinjecter
emitmapper
11/15/2011 00:04:36
not constructive
Performance comparison between Automapper, Valuinjector, vs manual === I'm looking for a performance comparison between [Automapper][1] vs [Valueinjector][2] vs a manual mapping. Are some scenarios much slower/faster than others (e.g. flattening, etc) ? [1]: http://automapper.codeplex.com/ [2]: http://val...
4
11,298,080
07/02/2012 17:04:51
1,469,540
06/20/2012 14:20:49
163
9
Java: Best way to work with Locales in Swing (with change at Runntime)?
I thought about the best way to implement localisation with runtime in Swing. Currently I solve the problem like that: JMenu menuData = new JMenu("Data"); menuData.setName("mainframe.menu.data"); // property key localeChangedListener.add(menuData); The LocaleChangedListener: public class SwingL...
java
swing
locale
null
null
07/04/2012 11:54:12
off topic
Java: Best way to work with Locales in Swing (with change at Runntime)? === I thought about the best way to implement localisation with runtime in Swing. Currently I solve the problem like that: JMenu menuData = new JMenu("Data"); menuData.setName("mainframe.menu.data"); // property key localeChangedLis...
2
7,238,050
08/30/2011 02:19:39
674,463
03/24/2011 07:22:03
28
0
XCode Theme to Notepad++?
Is is possible to convert a Xcode theme to a Notepad++ theme? The theme I want for Notepad++ is the Ego Theme found here : [Original EGO Theme][1] except I would like it to work for C++. I have to theme format experience so I am grateful for any advice. Thanks =) [1]: http://developers.enormego.com/view/ego_...
c++
objective-c
ios
xcode
notepad++
null
open
XCode Theme to Notepad++? === Is is possible to convert a Xcode theme to a Notepad++ theme? The theme I want for Notepad++ is the Ego Theme found here : [Original EGO Theme][1] except I would like it to work for C++. I have to theme format experience so I am grateful for any advice. Thanks =) [1]: http://de...
0
9,448,750
02/25/2012 22:39:49
1,233,108
02/25/2012 22:17:17
1
0
Quick sort doesn't work
The following code is wrong, because I changed the return index from left to right in partition(), also the index in quicksort(), but I why I can't change, the idea is still the same. How can I make it work if I want to return the right index in partition()? Thanks for all your help. Here is the correct one: publ...
java
algorithm
quicksort
null
null
02/26/2012 00:21:35
too localized
Quick sort doesn't work === The following code is wrong, because I changed the return index from left to right in partition(), also the index in quicksort(), but I why I can't change, the idea is still the same. How can I make it work if I want to return the right index in partition()? Thanks for all your help. Her...
3
8,463,859
12/11/2011 12:14:49
516,160
11/22/2010 13:39:23
506
1
What Ruby On Rails text editor should a beginner use?
I am new in creating web applications in Windows. I am planning to do it on Ruby On Rails. However, I am confused what text editor should a beginner use. There are a lot of text editors like GVim, red car editor, sublime text, e-text editor, and ruby mine. What text editor is easier to use for a beginner?
ruby-on-rails
ruby
ruby-on-rails-3
text-editor
null
12/11/2011 18:44:19
not constructive
What Ruby On Rails text editor should a beginner use? === I am new in creating web applications in Windows. I am planning to do it on Ruby On Rails. However, I am confused what text editor should a beginner use. There are a lot of text editors like GVim, red car editor, sublime text, e-text editor, and ruby mine. What...
4
6,651,699
07/11/2011 14:31:55
826,640
07/03/2011 06:36:01
14
0
Need help in resolving the simple cocos2d error
I am using following code to render the image on screen -(id) init { if( (self=[super init] )) { CGSize winSize = [[CCDirector sharedDirector] winSize]; CCSprite *player = [CCSprite spriteWithFile:@"Player.png" rect:CGRectMake(0, 0, 27, 40)]; player.position = ccp(pla...
iphone
cocos2d-iphone
null
null
null
null
open
Need help in resolving the simple cocos2d error === I am using following code to render the image on screen -(id) init { if( (self=[super init] )) { CGSize winSize = [[CCDirector sharedDirector] winSize]; CCSprite *player = [CCSprite spriteWithFile:@"Player.png" rect:CGRect...
0
5,717,609
04/19/2011 14:04:43
57,132
01/20/2009 15:03:07
4,386
85
Migrate from TFS to VSS
I installed Team Foundation Server and migrated my code a year ago from VSS. It was a big mistake. Between workspaces, read-only flags, solution bindings and bad merge tools, I think I should have just stuck with VSS. So, how do I migrate back to VSS from TFS?
tfs
visual-sourcesafe
null
null
null
04/20/2011 09:57:27
not constructive
Migrate from TFS to VSS === I installed Team Foundation Server and migrated my code a year ago from VSS. It was a big mistake. Between workspaces, read-only flags, solution bindings and bad merge tools, I think I should have just stuck with VSS. So, how do I migrate back to VSS from TFS?
4
5,394,390
03/22/2011 16:17:10
295,671
03/17/2010 13:15:38
3
0
Problems setting visibility in Android application
I'm writing an Android application which requires the user to login. I have a "username" and "password" EditText fields and also a "Submit" button. When testing in the emulator (and on a phone), the app appears to 'lock up' when the user hits "Submit". It hasn't actually crashed or anything like that, it's just lock...
android
view
null
null
null
null
open
Problems setting visibility in Android application === I'm writing an Android application which requires the user to login. I have a "username" and "password" EditText fields and also a "Submit" button. When testing in the emulator (and on a phone), the app appears to 'lock up' when the user hits "Submit". It hasn'...
0
6,970,008
08/07/2011 00:55:02
882,314
08/07/2011 00:50:13
1
0
Which elegant ways of including the spreadshirt - shop into Wordpress are there?
I have some articles of spreadshirt I want to sell. I am using wordpress. Which elegant ways of including **the spreadshirt - shop** into Wordpress are there? Which elegant ways of including a **foreign website** into Wordpress are there?
php
wordpress
wordpress-theming
null
null
08/08/2011 06:53:35
off topic
Which elegant ways of including the spreadshirt - shop into Wordpress are there? === I have some articles of spreadshirt I want to sell. I am using wordpress. Which elegant ways of including **the spreadshirt - shop** into Wordpress are there? Which elegant ways of including a **foreign website** into Wordpre...
2
6,408,801
06/20/2011 08:53:23
782,323
06/03/2011 07:32:48
289
16
Selenium PHP testing logged-in actions
I've done a bit of Selenium testing. I'm currently testing some actions wich require the user to be logged in, but I've noticed that the session gets killed on some browser, but not on others (Internet Explorer keeps session alive, but Firefox doesn't). Is there a cleaner way to test it other than testing for the se...
php
selenium
phpunit
selenium-rc
null
null
open
Selenium PHP testing logged-in actions === I've done a bit of Selenium testing. I'm currently testing some actions wich require the user to be logged in, but I've noticed that the session gets killed on some browser, but not on others (Internet Explorer keeps session alive, but Firefox doesn't). Is there a cleaner ...
0
8,758,258
01/06/2012 13:06:41
995,199
10/14/2011 10:20:19
1
0
copying files and checking if it exists
Excuse me, what is wrong in this code? I don't get it.. @echo off cls md h:\%1 IF EXIST %2 GOTO kop IF NOT EXIST %2 echo File %2 doesn't exist GOTO endd :kop copy %2 h:\%1 :endd
batch
null
null
null
null
01/07/2012 03:54:06
not a real question
copying files and checking if it exists === Excuse me, what is wrong in this code? I don't get it.. @echo off cls md h:\%1 IF EXIST %2 GOTO kop IF NOT EXIST %2 echo File %2 doesn't exist GOTO endd :kop copy %2 h:\%1 :endd
1