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
11,630,166
07/24/2012 11:44:53
960,761
09/23/2011 09:01:30
71
5
Button action is not called on UIViewController added on Paging
I'm making one application in which I had added four class on childView [self addChildViewController:homeScreenViewController]; [self addChildViewController:portFolioViewController]; [self addChildViewController:watchListViewController]; [self addChildViewController:marketingViewController]; T...
xcode
uiviewcontroller
paging
null
null
null
open
Button action is not called on UIViewController added on Paging === I'm making one application in which I had added four class on childView [self addChildViewController:homeScreenViewController]; [self addChildViewController:portFolioViewController]; [self addChildViewController:watchListViewControll...
0
11,525,978
07/17/2012 15:37:30
1,385,462
05/09/2012 19:14:17
20
0
Opening an automated list in notepad (VBA / Excel)
I have a script that goes and grabs all of the documents from a certain folder and lists all of the files in that folder. It then goes and makes a link to open these files from inside of Excel. I was wondering if there was a way to put it in a shell so that the files only opened in notepad. The code that I am using rig...
excel
vba
excel-vba
hyperlink
null
null
open
Opening an automated list in notepad (VBA / Excel) === I have a script that goes and grabs all of the documents from a certain folder and lists all of the files in that folder. It then goes and makes a link to open these files from inside of Excel. I was wondering if there was a way to put it in a shell so that the fi...
0
7,947,078
10/30/2011 19:04:08
627,473
03/01/2010 16:37:51
1,412
34
git tag delete and re-add
On git hub I re-added the tag by doing: git tag -d 12.15 git push origin :refs/tags/12.15 git tag -a 12.15 -m '12.15' git push --tags The tag is still referring to the old tag on github, but locally it is done right.
git
null
null
null
null
06/24/2012 02:35:26
not a real question
git tag delete and re-add === On git hub I re-added the tag by doing: git tag -d 12.15 git push origin :refs/tags/12.15 git tag -a 12.15 -m '12.15' git push --tags The tag is still referring to the old tag on github, but locally it is done right.
1
5,702,372
04/18/2011 11:49:11
687,261
04/01/2011 08:54:39
8
0
Make application With timers etc.?
I need to make an application as followed. A query needs to be executed 10 times a second to check in the database (Ms SQL 2005) if the value of the field is 1 or 0. if its 1 then the appication needs to start Windows Media Player (Fullscreen) and run a video. The application needs to sleep during the video and wh...
delphi
delphi-2007
null
null
null
04/19/2011 19:05:36
not a real question
Make application With timers etc.? === I need to make an application as followed. A query needs to be executed 10 times a second to check in the database (Ms SQL 2005) if the value of the field is 1 or 0. if its 1 then the appication needs to start Windows Media Player (Fullscreen) and run a video. The applicatio...
1
729,912
04/08/2009 13:08:50
86,388
04/02/2009 19:47:19
90
5
Standart delegates in C#
There are some Delegates predefined in C# I know these: EventHandler // Default event callbacks EventHandler<T> // Default event callbacks with custom parameter (inheriting from EventArgs) Action // Function without return value and without parameter Action<T> // Function without return value a...
c#
delegates
list
null
null
01/02/2012 01:48:50
not a real question
Standart delegates in C# === There are some Delegates predefined in C# I know these: EventHandler // Default event callbacks EventHandler<T> // Default event callbacks with custom parameter (inheriting from EventArgs) Action // Function without return value and without parameter Action<T> // F...
1
7,152,358
08/22/2011 19:13:48
577,979
01/17/2011 02:06:29
111
10
Login in two website at the same time
I've created 2 website. Both website have their own database. but there is a user table in both website that have exactly the same values. What I want to do is make something that can help when one of the user logged-in in website one it automatically login to website tow as well. Honesty I don't even know how t...
sql-server-2008
asp
null
null
null
null
open
Login in two website at the same time === I've created 2 website. Both website have their own database. but there is a user table in both website that have exactly the same values. What I want to do is make something that can help when one of the user logged-in in website one it automatically login to website tow ...
0
9,278,738
02/14/2012 14:37:16
227,545
12/08/2009 22:41:37
499
44
db like ms access for php
As you know ASP can use MS Access. It is useful for small websites. It reduces time and money. Is there an alternative to MySQL that I can use like ms access for PHP? What I want is to use db as a file as ms access do. Any opinion?
php
mysql
ms-access
null
null
null
open
db like ms access for php === As you know ASP can use MS Access. It is useful for small websites. It reduces time and money. Is there an alternative to MySQL that I can use like ms access for PHP? What I want is to use db as a file as ms access do. Any opinion?
0
6,881,500
07/30/2011 06:16:58
841,342
07/12/2011 18:33:19
15
0
python stop selenium standalone server
How would I stop the selenium-server-standalone. I know you can start it by `java -jar selenium-server-standalone.jar` But how would you stop it? Also, is there a simple way to script it in python to start and stop it as I am running tests.I feel like this is pretty simple. But am unable to find the answer to my questi...
python
selenium
stop
start
standalone
null
open
python stop selenium standalone server === How would I stop the selenium-server-standalone. I know you can start it by `java -jar selenium-server-standalone.jar` But how would you stop it? Also, is there a simple way to script it in python to start and stop it as I am running tests.I feel like this is pretty simple. B...
0
8,424,994
12/08/2011 01:20:18
815,052
06/25/2011 05:49:06
1
0
WPF DataGrid - highlight new rows when inserted into datagrid
I have a datagrid bound to an ObservableCollection, and what I'd like to do is highlight new rows when they are added to the datagrid (i.e. when a new object is inserted into the ObservableCollection). I'd like to highlight the rows when they are inserted by changing the background colour initially, but then having th...
triggers
wpfdatagrid
storyboard
coloranimation
null
null
open
WPF DataGrid - highlight new rows when inserted into datagrid === I have a datagrid bound to an ObservableCollection, and what I'd like to do is highlight new rows when they are added to the datagrid (i.e. when a new object is inserted into the ObservableCollection). I'd like to highlight the rows when they are inser...
0
10,354,375
04/27/2012 16:24:00
1,361,550
04/27/2012 16:10:24
1
0
How do i use Libfacerec library and Opencv
So i recently came across a library for face recognition and gender recognition called libfacerec https://github.com/bytefish/libfacerec Since i'm new to OpenCV and libfacerec, i wanted to know how would i integrate the two so that i can use a webcam to detect gender of the person in frame? I am able to compile t...
c++
opencv
null
null
null
04/30/2012 15:25:11
not constructive
How do i use Libfacerec library and Opencv === So i recently came across a library for face recognition and gender recognition called libfacerec https://github.com/bytefish/libfacerec Since i'm new to OpenCV and libfacerec, i wanted to know how would i integrate the two so that i can use a webcam to detect gender o...
4
10,670,038
05/20/2012 01:12:02
784,637
06/05/2011 10:22:07
1,156
5
How to combine a a SELECT query and a COUNT(*) query?
I have the following query SELECT c.cd, c.c_id FROM f f INNER JOIN s s ON s.s_id = f.s_id INNER JOIN c c ON c.c_id = s.c_id WHERE f.m_id =2 AND f.deleted='no' GROUP BY s.c_id ORDER BY f.update_datetime DESC; Which returns a sample result set: c...
mysql
sql
null
null
null
null
open
How to combine a a SELECT query and a COUNT(*) query? === I have the following query SELECT c.cd, c.c_id FROM f f INNER JOIN s s ON s.s_id = f.s_id INNER JOIN c c ON c.c_id = s.c_id WHERE f.m_id =2 AND f.deleted='no' GROUP BY s.c_id ORDER BY f.update_da...
0
10,202,931
04/18/2012 04:47:04
205,270
11/06/2009 21:48:53
4,598
275
Haml::SyntaxError - Illegal nesting: content can't be both given on the same line as %a and nested within it
I'm using "Button dropdowns" from Twitter Bootstrap with HAML. In the Bootstrap docs I have found the example: <div class="btn-group"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> Action <span class="caret"></span> </a> <ul class="dropdown-menu"> ...
haml
twitter-bootstrap
bootstrap
null
null
null
open
Haml::SyntaxError - Illegal nesting: content can't be both given on the same line as %a and nested within it === I'm using "Button dropdowns" from Twitter Bootstrap with HAML. In the Bootstrap docs I have found the example: <div class="btn-group"> <a class="btn dropdown-toggle" data-toggle="dropdown" hr...
0
10,488,603
05/07/2012 20:24:52
547,239
12/18/2010 20:18:40
26
0
Boost Multithread incompatible with Managed C++
I have heard that Boost Threads are incompatible with Managed C++ code.. I mean in any Unmanaged C++ project, if I am using Boost Libraries, then i can't use Managed C++ library in the same project. Is that true, I tried to google it but could not verify it. If it is true, is there any solution of it ? Thanks...
c++
boost
managed
null
null
05/08/2012 08:41:36
not constructive
Boost Multithread incompatible with Managed C++ === I have heard that Boost Threads are incompatible with Managed C++ code.. I mean in any Unmanaged C++ project, if I am using Boost Libraries, then i can't use Managed C++ library in the same project. Is that true, I tried to google it but could not verify it. If...
4
10,768,292
05/26/2012 17:14:47
1,245,593
03/02/2012 16:59:29
71
3
Android Publishing taking a long time
I've published my Android app over two hours ago and it's still not published, my other App was published within a hour. Does anyone know why this is the case?
android
publish
null
null
null
05/27/2012 02:56:03
off topic
Android Publishing taking a long time === I've published my Android app over two hours ago and it's still not published, my other App was published within a hour. Does anyone know why this is the case?
2
11,249,465
06/28/2012 16:57:17
1,403,568
05/18/2012 14:11:27
34
0
include js in django
`script type="text/javascript" src="/static/js/functions.js">` This shit won't include itself in django template. Any ideas how can I set my settings.py to make it work correctly ?
django
null
null
null
null
06/28/2012 19:01:57
not constructive
include js in django === `script type="text/javascript" src="/static/js/functions.js">` This shit won't include itself in django template. Any ideas how can I set my settings.py to make it work correctly ?
4
5,619,273
04/11/2011 09:26:22
559,026
12/31/2010 06:04:07
338
41
Connection URl for SQLExpress database using Hibernate
I am using `jtds` drivers to connect to SQL Server on local using Hibernate I can conect to server using server name: COMP6\SQLEXPRESS Below is my connection properties in hibernate.cfg <property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property> <property name="hibernate.connect...
hibernate
sql-server-express
jtds
null
null
null
open
Connection URl for SQLExpress database using Hibernate === I am using `jtds` drivers to connect to SQL Server on local using Hibernate I can conect to server using server name: COMP6\SQLEXPRESS Below is my connection properties in hibernate.cfg <property name="hibernate.dialect">org.hibernate.dialect.SQLS...
0
9,610,168
03/07/2012 22:30:56
1,024,941
11/02/2011 04:35:41
1
0
Unresponsive website
We have a production website running on Windows Server 2003. We use Glassfish 2.1 and the site is written in Java using JSF 1.2. A couple of times per day, the website becomes unreachable. Can anyone suggest how to troubleshoot and determine why the site becomes unresponsive.
java
jsf
glassfish
null
null
03/08/2012 12:17:00
off topic
Unresponsive website === We have a production website running on Windows Server 2003. We use Glassfish 2.1 and the site is written in Java using JSF 1.2. A couple of times per day, the website becomes unreachable. Can anyone suggest how to troubleshoot and determine why the site becomes unresponsive.
2
8,485,501
12/13/2011 07:03:38
1,045,214
11/14/2011 08:39:41
1
0
Hindi font display through LWUIT
I created **Hindi font resource** (Mangal face) through LWUIT. I have developed a small application which displays Hindi font on two components, Label and Text area. (Both components are LWUIT components) It displays properly in Text Area **but not in Label**. It displays as letters separate and Matras separ...
fonts
lwuit-resource-editor
null
null
null
null
open
Hindi font display through LWUIT === I created **Hindi font resource** (Mangal face) through LWUIT. I have developed a small application which displays Hindi font on two components, Label and Text area. (Both components are LWUIT components) It displays properly in Text Area **but not in Label**. It display...
0
294,582
11/16/2008 23:41:58
38,072
11/16/2008 19:57:09
11
1
PHP 5 Reflection API performance
I'm currently considering the use of Reflection classes (ReflectionClass and ReflectionMethod mainly) in my own MVC web framework, because I need to automatically instanciate controller classes and invoke their methods without any required configuration ("convention over configuration" approach). I'm concerned about...
php
reflection
mvc
null
null
null
open
PHP 5 Reflection API performance === I'm currently considering the use of Reflection classes (ReflectionClass and ReflectionMethod mainly) in my own MVC web framework, because I need to automatically instanciate controller classes and invoke their methods without any required configuration ("convention over configurat...
0
7,079,282
08/16/2011 13:56:09
284,405
03/02/2010 13:07:17
179
5
Continues to execute MVC-controller after FormsAuthentication.SignOut()
I save all session in the database. Lets imagine that this session was lost in the database, not in the cookies. In OnAuthorization(AuthorizationContext filterContext) I retrieve user object from database base on the session id. if (HttpContext.User.Identity.IsAuthenticated) { //Gets user data f...
.net
mvc
session
authentication
controller
null
open
Continues to execute MVC-controller after FormsAuthentication.SignOut() === I save all session in the database. Lets imagine that this session was lost in the database, not in the cookies. In OnAuthorization(AuthorizationContext filterContext) I retrieve user object from database base on the session id. if (...
0
5,806,715
04/27/2011 15:36:53
727,239
04/27/2011 12:23:53
3
0
sum of cost spent on advertisments on specific magazine (month?, year?)
Here are the tables //sorry for the bad format// ADV_COST -------- PAGE_SIZE MAG_ID COST //SAMPLE DATA ADV_COST// PAGE_SIZE MAG_ID COST -------------------- ---------- ---------- 1/25 PAGE 1 40 1/8 PAGE 1 60 1/6 PAGE ...
sql
oracle
null
null
null
null
open
sum of cost spent on advertisments on specific magazine (month?, year?) === Here are the tables //sorry for the bad format// ADV_COST -------- PAGE_SIZE MAG_ID COST //SAMPLE DATA ADV_COST// PAGE_SIZE MAG_ID COST -------------------- ---------- ---------- 1/25 PAGE ...
0
2,910,569
05/26/2010 06:32:42
294,045
03/15/2010 15:03:25
0
6
What are collections in .net 4.0
Types of collections in .Net 4.0 .. How to implement ListDictionary in .Net 4.0
c#
null
null
null
null
05/26/2010 06:40:53
not a real question
What are collections in .net 4.0 === Types of collections in .Net 4.0 .. How to implement ListDictionary in .Net 4.0
1
7,766,071
10/14/2011 10:04:08
771,004
05/26/2011 09:12:10
27
0
Value not adding/subtracting correct amount and if/else statement bugs
I have a script that adds elements to a div, rotates them for a set amount of time, then when the amount of time has been met, the rotation stops and a random element within the div is animated. I have a few issues: 1. if you turn the `// alert(maxspeed)` and `//alert(maxcount)` alerts on and click on 'Run' (Edit...
javascript
jquery
loops
if-statement
null
null
open
Value not adding/subtracting correct amount and if/else statement bugs === I have a script that adds elements to a div, rotates them for a set amount of time, then when the amount of time has been met, the rotation stops and a random element within the div is animated. I have a few issues: 1. if you turn the `//...
0
10,177,601
04/16/2012 16:00:54
1,336,709
04/16/2012 15:49:03
1
0
Joomla Multilanguage website has 2 URL and one of them has to be redirected to a subdirectory
I have a Joomla website with 2 url www.acb.be and www.atlantec.fr These 2 url are both going to the same joomla website. Now client asks me to redirect www.atlantec.fr to the french version on the site, found on www.atlantec.fr/fr/ Provider (Hostbasket Telenet) is not able to help me. I read lots of articles ...
.htaccess
url-rewriting
joomla1.5
null
null
null
open
Joomla Multilanguage website has 2 URL and one of them has to be redirected to a subdirectory === I have a Joomla website with 2 url www.acb.be and www.atlantec.fr These 2 url are both going to the same joomla website. Now client asks me to redirect www.atlantec.fr to the french version on the site, found on www...
0
2,381,115
03/04/2010 16:57:13
117,700
06/04/2009 23:04:34
1,244
20
can someone recommend beginners grails tutorials
i just downloaded grails i dont know java can someone please recommend some basic grails tutorials??
java
grails
null
null
null
05/14/2012 17:07:00
not constructive
can someone recommend beginners grails tutorials === i just downloaded grails i dont know java can someone please recommend some basic grails tutorials??
4
10,514,585
05/09/2012 10:51:45
1,031,474
11/05/2011 19:14:21
48
0
Cocoa enumeration
I'm creating a list of error codes as so enum{ firstErrorCode = 1, secondErrorCode = 2, }; I would like to create an error domain-type concept for a custom error class (subclass of NSObject) I'm writing. Is there any way I could associate this enumeration with a string name? For i...
objective-c
ios
cocoa
nserror
null
null
open
Cocoa enumeration === I'm creating a list of error codes as so enum{ firstErrorCode = 1, secondErrorCode = 2, }; I would like to create an error domain-type concept for a custom error class (subclass of NSObject) I'm writing. Is there any way I could associate this enumeration wi...
0
10,156,410
04/14/2012 18:58:20
429,938
08/24/2010 19:16:26
314
9
Clearing element cache in CakePHP
I echo one element from my ctp file like this: echo $this->element('myelement', array( "name" => $name) , array( "cache" => "false") ); Elements is shown successfully. But it seems like the same element is shown. It doesn't change after a refresh. ...
php
cakephp
caching
cache-control
cakephp-2.1
null
open
Clearing element cache in CakePHP === I echo one element from my ctp file like this: echo $this->element('myelement', array( "name" => $name) , array( "cache" => "false") ); Elements is shown successfully. But it seems like the same element is show...
0
9,658,653
03/11/2012 20:36:03
1,231,478
02/24/2012 19:12:38
1
0
Website down due to password change, how to find what to change it back to?
PDOException: SQLSTATE[28000] [1045] Access denied for user 'lev1127301002684'@'188.121.41.131' (using password: YES) in lock_may_be_available() (line 167 of /home/content/69/8327469/html/includes/lock.inc).
mysql
drupal
drupal-7
godaddy
null
03/12/2012 03:18:22
off topic
Website down due to password change, how to find what to change it back to? === PDOException: SQLSTATE[28000] [1045] Access denied for user 'lev1127301002684'@'188.121.41.131' (using password: YES) in lock_may_be_available() (line 167 of /home/content/69/8327469/html/includes/lock.inc).
2
1,993,879
01/03/2010 03:36:36
16,940
09/17/2008 22:43:34
3,219
185
Render ASP.NET MVC string to View without HttpContext or ControllerContext?
I need to render an ASP.NET MVC view to a string so as to be able to send it via an email (it is an order confirmation email defined in an .ascx file ). I've successfully been able to render an ASP.NET MVC View to string using [one][1] of the methods in this [question][2]. However now I need to be able to do it v...
asp.net-mvc
renderpartial
null
null
null
null
open
Render ASP.NET MVC string to View without HttpContext or ControllerContext? === I need to render an ASP.NET MVC view to a string so as to be able to send it via an email (it is an order confirmation email defined in an .ascx file ). I've successfully been able to render an ASP.NET MVC View to string using [one][1] ...
0
803,804
04/29/2009 19:07:46
97,863
04/29/2009 18:09:20
1
0
Tool to recover & repair a corrupted *.MDB database (Access).
Over the years I have seen many errors on corrupted Access *.MDB files. I do not use Access as frontend, just as backend to store data Tables. I already use the best practices: normalization, close the database connection ASAP, etc. I was wondering if somebody knew which the best commercial tool to recover dat...
ms-access
corruption
null
null
null
06/05/2012 11:49:08
not constructive
Tool to recover & repair a corrupted *.MDB database (Access). === Over the years I have seen many errors on corrupted Access *.MDB files. I do not use Access as frontend, just as backend to store data Tables. I already use the best practices: normalization, close the database connection ASAP, etc. I was wonde...
4
4,678,047
01/13/2011 08:25:59
566,289
12/31/2010 21:47:12
1
0
Need some code in joomla to upload youtube videos
In my website i want to provide a feature to upload local videos from my system to youtube account. I want PHP script in joomla which could allow user to login to youtube using youtube API and then upload videos on his/her youtube account. A sample code will be more favourable.
php
joomla
youtube-api
null
null
05/24/2012 13:54:08
not constructive
Need some code in joomla to upload youtube videos === In my website i want to provide a feature to upload local videos from my system to youtube account. I want PHP script in joomla which could allow user to login to youtube using youtube API and then upload videos on his/her youtube account. A sample code will be...
4
3,118,082
06/25/2010 12:46:48
376,274
06/25/2010 12:46:48
1
0
is free base an open source
is free base an open source api can i use it in any commercial application....
freebase
null
null
null
null
06/26/2010 15:34:49
off topic
is free base an open source === is free base an open source api can i use it in any commercial application....
2
6,913,474
08/02/2011 14:12:38
292,157
03/12/2010 07:19:26
83
4
Is VB 6 worth learning today?
How necessary is it to learn VB6 and what are the advantages of using this language today? Does it really have advantages?
vb
vb6
language
visual
basic
08/02/2011 14:31:51
not constructive
Is VB 6 worth learning today? === How necessary is it to learn VB6 and what are the advantages of using this language today? Does it really have advantages?
4
1,797,984
11/25/2009 16:05:46
54,889
01/14/2009 04:14:39
1
3
Anyone tried JustCode?
Have you used [JustCode][1]? is it better than resharper? seems like performance better. Do I need to uninstall resharper before using JustCode? [1]: http://www.telerik.com/products/justcode.aspx
visual-studio
refactoring
resharper
null
null
12/08/2011 16:54:18
not constructive
Anyone tried JustCode? === Have you used [JustCode][1]? is it better than resharper? seems like performance better. Do I need to uninstall resharper before using JustCode? [1]: http://www.telerik.com/products/justcode.aspx
4
11,514,888
07/17/2012 01:30:51
1,515,956
07/10/2012 20:27:52
1
0
Simultaneous Networking and Gesture Recognition on iPad
I am having some problems doing some simple network client stuff (just asking the server to return some data). I also have a view that has various gesture recognizers. When a gesture event goes off, I should be placing a query to the server. However, the gesture recognition does not work when including the networking c...
objective-c
ios
ipad
networking
uipangesturerecognizer
null
open
Simultaneous Networking and Gesture Recognition on iPad === I am having some problems doing some simple network client stuff (just asking the server to return some data). I also have a view that has various gesture recognizers. When a gesture event goes off, I should be placing a query to the server. However, the gest...
0
11,676,874
07/26/2012 19:45:10
486,871
10/25/2010 20:11:26
767
28
3rd Party Python Modules in PyQt
I am trying to decide on a technology for developing a desktop application that can interface with the serial port. I have looked into python and it looks like a console based app would not be difficult - http://pyserial.sourceforge.net/ , and I have also looked at PyQt, which would fulfill the GUI portion of my proje...
python
pyqt
pyserial
null
null
null
open
3rd Party Python Modules in PyQt === I am trying to decide on a technology for developing a desktop application that can interface with the serial port. I have looked into python and it looks like a console based app would not be difficult - http://pyserial.sourceforge.net/ , and I have also looked at PyQt, which wou...
0
4,639,806
01/09/2011 14:52:02
568,839
01/09/2011 14:52:02
1
0
Need help to correct java code
I have created the following code from this pseudocode: but I cannot get it to run properly can someone please tell me what I did wrong in my code? Start Main( ) Get name of player Get cash (starting cash amount) Set more = "yes" Start Loop ...
java
null
null
null
null
01/09/2011 14:57:12
not a real question
Need help to correct java code === I have created the following code from this pseudocode: but I cannot get it to run properly can someone please tell me what I did wrong in my code? Start Main( ) Get name of player Get cash (starting cash amount) Set more = "yes" ...
1
7,334,626
09/07/2011 13:26:10
220,583
11/28/2009 18:55:25
518
30
How to set the time in phone7?
Can an application set the current time on a phone7 device? I can't seem to find any documentation about it but I'm sure it's possible.
windows-phone-7
null
null
null
null
null
open
How to set the time in phone7? === Can an application set the current time on a phone7 device? I can't seem to find any documentation about it but I'm sure it's possible.
0
7,604,024
09/29/2011 22:20:21
518,198
11/24/2010 00:33:38
21
2
Clone observable objects in Knockout js
There seem to be a seriouse issue with cloning (deep copying) of objects in JavaScript. There are numerous posts on how to do it with compact objects such as [this post on StackOverflow][1]. However libraries such as [Knockout][2] expose wrappers that aren't that easily cloned. Here is a trick to copy Knockout objec...
javascript
knockout.js
null
null
null
09/29/2011 22:49:26
not a real question
Clone observable objects in Knockout js === There seem to be a seriouse issue with cloning (deep copying) of objects in JavaScript. There are numerous posts on how to do it with compact objects such as [this post on StackOverflow][1]. However libraries such as [Knockout][2] expose wrappers that aren't that easily clon...
1
9,106,651
02/02/2012 03:11:18
877,819
08/04/2011 03:58:29
124
15
Facebook Bigpipe Technique Algorihtm
![enter image description here][1] [1]: http://i.stack.imgur.com/XD0Jq.png I keep studying this flow of the Facebook's bigpipe technique but I have this question. How this thing is implemented? does the pagelet is received through an ajax request? I keep on searching for the source code of this bigpipe bu...
facebook
null
null
null
null
null
open
Facebook Bigpipe Technique Algorihtm === ![enter image description here][1] [1]: http://i.stack.imgur.com/XD0Jq.png I keep studying this flow of the Facebook's bigpipe technique but I have this question. How this thing is implemented? does the pagelet is received through an ajax request? I keep on search...
0
5,893,243
05/05/2011 05:54:41
196,480
10/26/2009 07:45:38
305
2
Test ipad appication online
Is there any way to test ipad web application on internet, Please tell me the websites. Thanks
iphone
ipad
apple
jqtouch
ipod
05/05/2011 06:52:01
not a real question
Test ipad appication online === Is there any way to test ipad web application on internet, Please tell me the websites. Thanks
1
2,961,038
06/02/2010 19:39:46
125,173
06/18/2009 15:05:49
443
9
what's wrong with my producer-consumer queue design?
I'm starting with the C# code example [here][1]. I'm trying to adapt it for a couple reasons: 1) in my scenario, all tasks will be put in the queue up-front before consumers will start, and 2) I wanted to abstract the worker into a separate class instead of having raw `Thread` members within the `WorkerQueue` class. ...
c#
multithreading
queue
producer-consumer
null
null
open
what's wrong with my producer-consumer queue design? === I'm starting with the C# code example [here][1]. I'm trying to adapt it for a couple reasons: 1) in my scenario, all tasks will be put in the queue up-front before consumers will start, and 2) I wanted to abstract the worker into a separate class instead of havi...
0
5,937,121
05/09/2011 12:50:18
374,395
06/23/2010 15:40:28
50
18
Configuration-files in a Greasemonkey script
from what I understood, it is not possible to read files using Greasemonkey. But I need to define lot of static configuration files, and it seems completely messy to include those directly in the user script. So, what is the best way to store and retrieve those data? Thank you :-)
javascript
firefox
greasemonkey
configuration-files
null
null
open
Configuration-files in a Greasemonkey script === from what I understood, it is not possible to read files using Greasemonkey. But I need to define lot of static configuration files, and it seems completely messy to include those directly in the user script. So, what is the best way to store and retrieve those da...
0
9,333,209
02/17/2012 18:06:54
1,017,102
10/27/2011 18:26:19
1
0
Getting image out of a C# 2D array
One of the routines for converting PDF to images that I have to work with returns the image as 2D array. After calling the convert function I have this: byte[][] image = convertToPdf.... Hovering over the image variable, the debugger shows: image {byte[1][]} and hovering over that shows [0]{byte[124353]} ...
c#
null
null
null
null
null
open
Getting image out of a C# 2D array === One of the routines for converting PDF to images that I have to work with returns the image as 2D array. After calling the convert function I have this: byte[][] image = convertToPdf.... Hovering over the image variable, the debugger shows: image {byte[1][]} and hover...
0
3,833,580
09/30/2010 18:18:25
431,281
08/25/2010 22:47:34
49
0
error:failed retrieve data for this request.
*Hi,I need to attach my database to SQL server 2008(I used it before without problem),but now when I want to attach db , sqlsrv sent me this error. error:failed retrieve data for this request. ![alt text][1] [1]: http://i.stack.imgur.com/VSqre.jpg Why do I have this problem and how can I solve it?*
sql-server-2008
null
null
null
null
null
open
error:failed retrieve data for this request. === *Hi,I need to attach my database to SQL server 2008(I used it before without problem),but now when I want to attach db , sqlsrv sent me this error. error:failed retrieve data for this request. ![alt text][1] [1]: http://i.stack.imgur.com/VSqre.jpg Why do I have th...
0
8,831,656
01/12/2012 07:47:08
1,144,934
01/12/2012 07:32:59
1
0
Primary and Secondary DNS on two internet connections, one server
Currently my network setup is as follows: 1 server, 3 ethernet cards. eth0 - ISP1 eth1 - ISP2 eth2 - local network. What would be the proper way of configuring primary and secondary DNS? Using tinydns. Current configuration: 2 tinydns services running on the same machine, each configured on a different...
dns
null
null
null
null
01/12/2012 11:23:50
off topic
Primary and Secondary DNS on two internet connections, one server === Currently my network setup is as follows: 1 server, 3 ethernet cards. eth0 - ISP1 eth1 - ISP2 eth2 - local network. What would be the proper way of configuring primary and secondary DNS? Using tinydns. Current configuration: 2 tinyd...
2
7,652,185
10/04/2011 18:07:38
851,043
07/19/2011 00:35:07
72
1
'x' must be a numeric vector: Error from data.frame of numbers
I am running a cor.test on two columns within a file/table. tmp <- read.table(files_to_test[i], header=TRUE, sep="\t") ## Obtain Columns To Compare ## colA <-tmp[compareA] colB <-tmp[compareB] # sctr = 'spearman cor.test result' sctr <- cor.test(colA, colB, alternative="two.sided", met...
r
data.frame
null
null
null
null
open
'x' must be a numeric vector: Error from data.frame of numbers === I am running a cor.test on two columns within a file/table. tmp <- read.table(files_to_test[i], header=TRUE, sep="\t") ## Obtain Columns To Compare ## colA <-tmp[compareA] colB <-tmp[compareB] # sctr = 'spearman cor.test re...
0
9,731,240
03/16/2012 03:01:57
986,139
10/09/2011 07:18:02
88
1
Event order when multiple threads are waiting on syncronised on the same object
If I have a common thread pool that queues runnable tasks and the runnable task is the same object everytime. What happens when it reaches a block of code (within the runnable task) that has a synchronised lock? and say 5 threads are waiting on the same lock? When it unlocks, is the synchronised block a queue li...
java
null
null
null
null
null
open
Event order when multiple threads are waiting on syncronised on the same object === If I have a common thread pool that queues runnable tasks and the runnable task is the same object everytime. What happens when it reaches a block of code (within the runnable task) that has a synchronised lock? and say 5 threads ar...
0
7,976,155
11/02/2011 05:24:13
1,000,441
10/18/2011 05:32:23
15
0
changing public to private
Class Loan { public : Loan( ); Loan (double amt, double rate, int term); double get_loanAmt( ) const; double get_intRate( ) const; double get_termOfLoan( ) const; void setAmt (double amt); void setRate (double rate); void setTerm (int term); void output (ostream & out) const; double ...
c++
null
null
null
null
11/02/2011 06:07:36
too localized
changing public to private === Class Loan { public : Loan( ); Loan (double amt, double rate, int term); double get_loanAmt( ) const; double get_intRate( ) const; double get_termOfLoan( ) const; void setAmt (double amt); void setRate (double rate); void setTerm (int term); void output (...
3
11,424,252
07/11/2012 01:19:21
782,252
06/03/2011 06:19:00
156
3
what is this particular code doing?
i am trying to unit test my friends code: public override object GetReferenceValue(TOwner owner) { Person value = this.Accessor(owner); if (value == null) return null; else return value.Name; } this is under a generic class which is called PersonalProperty: public class...
c#
unit-testing
func
null
null
07/12/2012 02:41:50
too localized
what is this particular code doing? === i am trying to unit test my friends code: public override object GetReferenceValue(TOwner owner) { Person value = this.Accessor(owner); if (value == null) return null; else return value.Name; } this is under a generic class which is call...
3
10,866,626
06/02/2012 23:10:28
1,432,581
06/02/2012 15:40:58
1
0
Clock synchronization between servers using Sockets on Java
I need to synch my servers that i built by using web service on java using Sockets.Can you give me any suggestions how to do that?I am planning to use Symmetric Time Model but even though i know the logic of it, i couldnt implement it. THanks
java
web-services
sockets
null
null
06/03/2012 09:54:24
not constructive
Clock synchronization between servers using Sockets on Java === I need to synch my servers that i built by using web service on java using Sockets.Can you give me any suggestions how to do that?I am planning to use Symmetric Time Model but even though i know the logic of it, i couldnt implement it. THanks
4
1,849,907
12/04/2009 21:55:06
22,399
09/25/2008 21:09:10
78
6
Changing the Default "Copy to Output Directory" Setting for Text Files
Does anyone know if there is a way to change a file type's default "Copy to Output Directory" setting in Visual Studio 2008? I often add text files to my projects. They could be anything from readme files, or some usage information, or test files actually used by the app at runtime. But I've never ever added a t...
visual-studio-2008
null
null
null
null
null
open
Changing the Default "Copy to Output Directory" Setting for Text Files === Does anyone know if there is a way to change a file type's default "Copy to Output Directory" setting in Visual Studio 2008? I often add text files to my projects. They could be anything from readme files, or some usage information, or test ...
0
11,364,387
07/06/2012 14:41:35
1,202,172
02/10/2012 13:43:14
108
8
PrimeFaces <p:tree>: how to save tree state between refreshes?
I am using PrimeFaces JSF library, and I have a tree where each node is a checkbox: <p:tree selectionMode="checkbox"...> This tree represents some files, and it is dynamicaly refreshed (polled) every 5 seconds since the files/nodes can be added or removed: <p:poll interval="5" update="treeId"... /> ...
jsf
tree
primefaces
null
null
null
open
PrimeFaces <p:tree>: how to save tree state between refreshes? === I am using PrimeFaces JSF library, and I have a tree where each node is a checkbox: <p:tree selectionMode="checkbox"...> This tree represents some files, and it is dynamicaly refreshed (polled) every 5 seconds since the files/nodes can be add...
0
9,255,942
02/13/2012 05:21:33
1,204,336
02/11/2012 21:13:23
6
0
BMI Calculator... except BMI won't show up
Good evening, everyone :> I am currently trying to finalize code for a simple BMI calculator. The trouble is that it won't show me a BMI reading when I input my height and weight in my browser. I'm 99% certain that my HTML is solid, it's just the Javascript that seems to be causing problems. Any input I can get on t...
javascript
null
null
null
null
02/14/2012 08:49:04
too localized
BMI Calculator... except BMI won't show up === Good evening, everyone :> I am currently trying to finalize code for a simple BMI calculator. The trouble is that it won't show me a BMI reading when I input my height and weight in my browser. I'm 99% certain that my HTML is solid, it's just the Javascript that seems ...
3
11,053,025
06/15/2012 14:49:44
988,932
10/11/2011 06:27:34
10
1
simple example code for getting text from softkeyboard
Can someone please help me with android java code to launch a softkeyboard from a function call and just get a string in return ??
java
android
null
null
null
06/16/2012 02:26:48
not a real question
simple example code for getting text from softkeyboard === Can someone please help me with android java code to launch a softkeyboard from a function call and just get a string in return ??
1
5,436,358
03/25/2011 18:05:28
677,236
03/25/2011 18:05:28
1
0
android - getting xml data from google weather fails on mobile data connection
I get an issue fetching XML data from google api weather. With WIFI connection, my code works fine, I get xml data from google. Turning off Wifi connection, only with 3G mobile data connection OK : I get a java.io.FileNotFoundException from my BufferedReader. 03-25 18:20:47.991: WARN/System.err(4477): java.io.Fi...
android
null
null
null
null
null
open
android - getting xml data from google weather fails on mobile data connection === I get an issue fetching XML data from google api weather. With WIFI connection, my code works fine, I get xml data from google. Turning off Wifi connection, only with 3G mobile data connection OK : I get a java.io.FileNotFoundExce...
0
7,205,749
08/26/2011 13:56:32
839,280
07/11/2011 16:29:04
135
1
What is AST,CFG,CLANG, how can we use it in deadcode removal algorithm?
I am about to write a dead-code removal algorithm using C language for an online event with our team. The requirements are..... 1. To read a C program source file,Which has many forms of dead-codes. 2. And our output should be a file, Which is free from all dead-codes. While surfing the internet, we came acro...
c
algorithm
clang
ast
dead-code
08/26/2011 20:24:47
not a real question
What is AST,CFG,CLANG, how can we use it in deadcode removal algorithm? === I am about to write a dead-code removal algorithm using C language for an online event with our team. The requirements are..... 1. To read a C program source file,Which has many forms of dead-codes. 2. And our output should be a file, W...
1
11,304,619
07/03/2012 04:46:33
271,619
02/12/2010 05:42:07
896
6
Aptana IDE - Add New Language
I'm starting to investigate Aptana's features. I come from a Dreamweaver background. Both have great qualities I need. But Dreamweaver doesn't quite allow me to add a new development language into their list. There's syntax highlighting for most of the coding languages I see: PHP, HTML, etc.... But I don't se...
aptana
null
null
null
null
null
open
Aptana IDE - Add New Language === I'm starting to investigate Aptana's features. I come from a Dreamweaver background. Both have great qualities I need. But Dreamweaver doesn't quite allow me to add a new development language into their list. There's syntax highlighting for most of the coding languages I see:...
0
7,909,167
10/26/2011 21:29:17
223,386
12/03/2009 00:19:03
10,171
474
PowerShell remove quietly directory with content
Is it possible to remove in `PowerShell` some directory that contains files with no prompt ?
powershell
directory
null
null
null
null
open
PowerShell remove quietly directory with content === Is it possible to remove in `PowerShell` some directory that contains files with no prompt ?
0
10,514,388
05/09/2012 10:38:16
1,287,366
03/23/2012 02:32:50
25
0
Assistance with an SQL function
This past week I was given an SQL lab involving functions. My knowledge of SQL pre-dating this lab was minimal at best and am having a hard time getting my head around a particular function. Four tables: ![enter image description here][1] [1]: http://i.stack.imgur.com/nP8Rg.jpg I am to create a stored...
sql
homework
function
join
null
05/10/2012 03:58:54
not a real question
Assistance with an SQL function === This past week I was given an SQL lab involving functions. My knowledge of SQL pre-dating this lab was minimal at best and am having a hard time getting my head around a particular function. Four tables: ![enter image description here][1] [1]: http://i.stack.imgur.com/n...
1
10,947,628
06/08/2012 11:04:57
1,314,522
04/05/2012 06:29:17
1
0
How to xml parsing
I want to get distance text from following link but unable to get. please tell me which xml method should i used for following xml. http://maps.googleapis.com/maps/api/directions/xml?origin=30.9165904,75.8634752&destination=30.89314000,75.86938000&sensor=true Thanks to all
iphone
null
null
null
null
06/08/2012 12:41:40
not a real question
How to xml parsing === I want to get distance text from following link but unable to get. please tell me which xml method should i used for following xml. http://maps.googleapis.com/maps/api/directions/xml?origin=30.9165904,75.8634752&destination=30.89314000,75.86938000&sensor=true Thanks to all
1
10,533,169
05/10/2012 11:36:23
1,043,342
11/12/2011 16:55:46
199
1
Why create own request object?
Im building an own php framework. I saw in other frameworks there are even object for doing this, but I cant see the reason why not just use POST and GET arrays directly. Moreover, how to decide when POST or GET? What if there are variables in both area?
php
post
get
request
null
05/10/2012 13:48:27
not constructive
Why create own request object? === Im building an own php framework. I saw in other frameworks there are even object for doing this, but I cant see the reason why not just use POST and GET arrays directly. Moreover, how to decide when POST or GET? What if there are variables in both area?
4
8,311,461
11/29/2011 13:23:39
221,683
11/30/2009 22:36:02
325
3
BeginInvoke - Why isn't this exception caught?
private void f() { Action<string> action = WriteLogToFile; AsyncCallback callBack = LogCallBack; action.BeginInvoke("Hello world!", callBack, action); } private void WriteLogToFile(string message) { Monitor.Enter(locker); string formattedLog = W...
c#
.net
asynchronous
delegates
null
null
open
BeginInvoke - Why isn't this exception caught? === private void f() { Action<string> action = WriteLogToFile; AsyncCallback callBack = LogCallBack; action.BeginInvoke("Hello world!", callBack, action); } private void WriteLogToFile(string message) { Monit...
0
4,333,961
12/02/2010 10:34:01
527,619
12/02/2010 06:59:41
1
0
Telecommunications management network
Telecommunications management network provides a framework for telecommunications management. In fact, management of a telecommunication network facilitates a number of changes in the way telecommunication operators can view their telecommunication resource. The management carried out by a TMN is information manageme...
networking
null
null
null
null
04/08/2011 01:55:35
not a real question
Telecommunications management network === Telecommunications management network provides a framework for telecommunications management. In fact, management of a telecommunication network facilitates a number of changes in the way telecommunication operators can view their telecommunication resource. The management c...
1
5,556,229
04/05/2011 17:54:14
554,217
12/26/2010 09:29:16
56
7
i want to build anti virus using c# & winforms
i am thinking of using the windows api. but i have no direction, and i dont know exactly what it involves can anyone give me a direction to build an anti virus in winforms?
c#
winforms
antivirus
null
null
04/05/2011 17:59:13
not a real question
i want to build anti virus using c# & winforms === i am thinking of using the windows api. but i have no direction, and i dont know exactly what it involves can anyone give me a direction to build an anti virus in winforms?
1
9,927,229
03/29/2012 14:18:36
525,039
11/30/2010 10:53:56
27
1
Deploying JSF Application with Virtual host in TomcatServer
I am using Mojarra 2.0.4 implementation of JSF with Tomcat server for one of my application, now i came to a problem during its deployment. I had added a virtual host to the Tomcat server.xml as follows, <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"/> ...
jsf
tomcat
virtualhost
mojarra
null
null
open
Deploying JSF Application with Virtual host in TomcatServer === I am using Mojarra 2.0.4 implementation of JSF with Tomcat server for one of my application, now i came to a problem during its deployment. I had added a virtual host to the Tomcat server.xml as follows, <Host name="localhost" appBase="webapps" ...
0
9,823,888
03/22/2012 14:06:16
1,065,635
11/25/2011 12:44:18
48
0
Make winforms application run on other computer
I developed a WinForms application (using C#, with visual studio 2008) and I have a few questions regarding how to build it properly: 1. Will the exe release file be able to run on other computer with only the required .net framework and not visual studio (or any other visual-ish program)? The exe file size is only ...
c#
winforms
frameworks
build
net
null
open
Make winforms application run on other computer === I developed a WinForms application (using C#, with visual studio 2008) and I have a few questions regarding how to build it properly: 1. Will the exe release file be able to run on other computer with only the required .net framework and not visual studio (or any ...
0
8,241,573
11/23/2011 11:41:20
1,018,711
10/28/2011 16:07:04
105
1
Clickonce - Deploy on DVD, update online
i have wpf application and want to distribute it on CD/DVD via clickonce installer. I want to target also users without internet connection. So I included offline .net framework installer. But i also want to take advantage of internet connection if available to download updates. So basicaly i want to have - DVD inst...
c#
.net
clickonce
autoupdate
null
null
open
Clickonce - Deploy on DVD, update online === i have wpf application and want to distribute it on CD/DVD via clickonce installer. I want to target also users without internet connection. So I included offline .net framework installer. But i also want to take advantage of internet connection if available to download upd...
0
10,087,098
04/10/2012 10:33:21
1,193,202
02/06/2012 20:07:09
3
1
SQL filtering syntax
I have table "TableA" which contain several data, I need run query which sort out items which have EAN prefix 423 *and* with price higher 100. What would be correct query for this case? Another table is "TableB", where I need match all items that have prefix 406 in column "EAN", have any values in column "DPA", h...
sql
excel
null
null
null
null
open
SQL filtering syntax === I have table "TableA" which contain several data, I need run query which sort out items which have EAN prefix 423 *and* with price higher 100. What would be correct query for this case? Another table is "TableB", where I need match all items that have prefix 406 in column "EAN", have any...
0
10,157,952
04/14/2012 22:41:40
1,333,839
04/14/2012 22:16:40
1
0
Is it proper to reference your project name inside your Django project?
I'm using Django and I'm wondering whether it's proper to use myapp.models, opposed to myproject.myapp.models, or in INSTALLED_APPS, should the FULL NAME be used myproject.myapp or is it alright to just use myapp for it's name? I am wondering because if I were to change the project name using the latter method it would...
python
django
import
null
null
null
open
Is it proper to reference your project name inside your Django project? === I'm using Django and I'm wondering whether it's proper to use myapp.models, opposed to myproject.myapp.models, or in INSTALLED_APPS, should the FULL NAME be used myproject.myapp or is it alright to just use myapp for it's name? I am wondering ...
0
9,104,236
02/01/2012 22:20:43
396,077
07/19/2010 17:52:03
708
1
Detect when a user comes through the new Facebook Authenticated Referrals
With the new Authenticated Referrals in the new FB auth system, the user logs in before even hitting my app. My question is, is there any way to detect when a user has just come from one of these authenticated referrel dialogs? For example, by specifying the redirect_uri on them and appending some GET params.
facebook
null
null
null
null
null
open
Detect when a user comes through the new Facebook Authenticated Referrals === With the new Authenticated Referrals in the new FB auth system, the user logs in before even hitting my app. My question is, is there any way to detect when a user has just come from one of these authenticated referrel dialogs? For exampl...
0
6,869,535
07/29/2011 06:41:26
868,850
07/29/2011 06:41:26
1
0
GUI application that translates number to word sentence.
I would like to create a GUI application that can take a number and translates it to a word sentence. e.g. 101 = One hundred and one. I have already completed the layout (Buttons etc) but I cant create the code for the button press that will translate the word. Thank you.
c#
null
null
null
null
07/29/2011 06:51:33
not a real question
GUI application that translates number to word sentence. === I would like to create a GUI application that can take a number and translates it to a word sentence. e.g. 101 = One hundred and one. I have already completed the layout (Buttons etc) but I cant create the code for the button press that will translate the wo...
1
1,688,465
11/06/2009 15:52:46
74,727
03/06/2009 15:05:23
3,086
139
ReSharper Warning - Access to Modified Closure
I have the following code: string acctStatus = account.AccountStatus.ToString(); if (!SettableStatuses().Any(status => status == acctStatus)) acctStatus = ACCOUNTSTATUS.Pending.ToString(); Note that account.AccountStatus is an enum of type ACCOUNTSTATUS. On the second line, ReSharper is giving ...
c#
resharper
warnings
null
null
null
open
ReSharper Warning - Access to Modified Closure === I have the following code: string acctStatus = account.AccountStatus.ToString(); if (!SettableStatuses().Any(status => status == acctStatus)) acctStatus = ACCOUNTSTATUS.Pending.ToString(); Note that account.AccountStatus is an enum of type ACCO...
0
10,143,352
04/13/2012 15:04:39
613,631
02/11/2011 20:53:56
135
7
Eclipse: multiple project from single source
at first i have to say that i'm not very good with english, so i'm sorry if i can explain very well what i mean :) I have one project that i need to replicate n times; every new project must have the same source code, but different resources (ex: images, html files, sounds, pdf, etc) and different class/packages nam...
eclipse
null
null
null
null
null
open
Eclipse: multiple project from single source === at first i have to say that i'm not very good with english, so i'm sorry if i can explain very well what i mean :) I have one project that i need to replicate n times; every new project must have the same source code, but different resources (ex: images, html files, ...
0
9,405,125
02/22/2012 23:52:36
87,968
04/07/2009 07:18:35
877
11
Finding all permutations of a string
I am attempting to write a function to generate all possible permutations of a string. However it is not working as expected. Can anyone help me find the problem? static List<string> GenerateAllPermutations(string pStr) { List<string> tempList = new List<string>(); if(pStr.Length == 1) { t...
c#
homework
null
null
null
02/23/2012 02:09:42
too localized
Finding all permutations of a string === I am attempting to write a function to generate all possible permutations of a string. However it is not working as expected. Can anyone help me find the problem? static List<string> GenerateAllPermutations(string pStr) { List<string> tempList = new List<string...
3
9,615,947
03/08/2012 10:13:53
569,654
01/10/2011 10:16:58
881
15
How to get jquery stars rel value?
On my page i have radio buttons... <div class="stars-wrapper1"> <input type="radio" rel="@Model.ThePhoto.ID" name="newrate" value="1" title="VeryPoor" @Html.Raw((Model.review == 1?"checked=\"checked\"":"")) /> <input type="radio" rel="@Model.ThePhoto.ID" name="newrate" ...
jquery
null
null
null
null
null
open
How to get jquery stars rel value? === On my page i have radio buttons... <div class="stars-wrapper1"> <input type="radio" rel="@Model.ThePhoto.ID" name="newrate" value="1" title="VeryPoor" @Html.Raw((Model.review == 1?"checked=\"checked\"":"")) /> <input type="radio" ...
0
6,800,295
07/23/2011 12:18:41
798,417
06/14/2011 20:02:45
50
0
Java server application database options
I'm in the planning phase of a java server application specified for my needs. Basically, the server needs to check a database with usernames and passwords and some specified values for each user. As I'm new to java server applications, I'm wondering what the ideal choice for this would be. The database needs...
java
database
application
options
null
07/25/2011 01:31:07
not a real question
Java server application database options === I'm in the planning phase of a java server application specified for my needs. Basically, the server needs to check a database with usernames and passwords and some specified values for each user. As I'm new to java server applications, I'm wondering what the ideal c...
1
8,189,505
11/18/2011 21:39:50
985,832
10/08/2011 21:39:36
1
0
getting youtube rss info from video code
I need to get rss information of one particular video and I am using following rss address for getting the information. http://gdata.youtube.com/feeds/base/videos?q=[videoCode] This rss address is actually searching videos by keyword. But this does not return anything if I put a videocode that was not published t...
xml
rss
youtube
feed
gdata
11/25/2011 00:09:31
off topic
getting youtube rss info from video code === I need to get rss information of one particular video and I am using following rss address for getting the information. http://gdata.youtube.com/feeds/base/videos?q=[videoCode] This rss address is actually searching videos by keyword. But this does not return anything...
2
7,891,929
10/25/2011 15:44:33
272,706
02/14/2010 10:03:05
1,134
11
Silverlight for Beginners
I want to start learning **Silverlight** (4/5). Which resources (tutorials, books, videos, webcasts) would you recommend for an **XAML**-beginner but experienced windows/web developer? I want to learn it as fast as possible. I don't want to read 100 of pages of fat books.
.net
wpf
silverlight
xaml
null
10/25/2011 15:54:12
not constructive
Silverlight for Beginners === I want to start learning **Silverlight** (4/5). Which resources (tutorials, books, videos, webcasts) would you recommend for an **XAML**-beginner but experienced windows/web developer? I want to learn it as fast as possible. I don't want to read 100 of pages of fat books.
4
10,171,967
04/16/2012 09:53:24
1,329,042
04/12/2012 12:06:47
1
0
Super simple REST webservice
am looking for help to create a REST webservice on netbeans in java i tried looking for a simple tutorials but they all show complex stuff like entity classes etec i just want a simple little hello world or better yet , a webservice that takes a string and returns it back can anyone show me how to write it ? or...
web-services
rest
null
null
null
null
open
Super simple REST webservice === am looking for help to create a REST webservice on netbeans in java i tried looking for a simple tutorials but they all show complex stuff like entity classes etec i just want a simple little hello world or better yet , a webservice that takes a string and returns it back can a...
0
9,171,880
02/07/2012 06:23:51
862,289
07/25/2011 20:10:27
1
0
Programaticaly Setting Bound Model Object Properties from View in EmberJS
QQ: How can I update an object's property to match the innerHtml of an element in a view when a button is clicked? I am working on building a content editing interface using EmberJS and the HTML5 contenteditable attribute (via the [Hallo editor][1]). This means that valueBinding doesn't do the trick, since we're dea...
html5
contenteditable
emberjs
null
null
null
open
Programaticaly Setting Bound Model Object Properties from View in EmberJS === QQ: How can I update an object's property to match the innerHtml of an element in a view when a button is clicked? I am working on building a content editing interface using EmberJS and the HTML5 contenteditable attribute (via the [Hallo ...
0
8,483,592
12/13/2011 02:22:41
1,094,854
12/13/2011 01:42:56
1
0
How to protect research data on Sharepoint or other website
I am building a website for collecting research data from field workers, and I'm not sure what would be the best way to secure it. I'm very new to this and although I have done some research, I'm still not clear on how to think about this. I was looking at Firehost (firehost.com) to get an idea of what kind of security...
security
sharepoint
ssl
null
null
12/13/2011 13:09:12
off topic
How to protect research data on Sharepoint or other website === I am building a website for collecting research data from field workers, and I'm not sure what would be the best way to secure it. I'm very new to this and although I have done some research, I'm still not clear on how to think about this. I was looking a...
2
11,093,248
06/19/2012 01:27:26
260,533
01/27/2010 23:30:08
373
6
geom_vline with Character xintercept
I have some ggplot code that worked fine in 0.8.9 but not in 0.9.1. I am going to plot the data in `theDF` and would like to plot a vertical line at `xintercept="2010 Q1."` `theGrid` is merely used to create `theDF`. theGrid <- expand.grid(2009:2011, 1:4) theDF <- data.frame(YrQtr=sprintf("%s Q%s", theG...
r
plot
ggplot2
null
null
null
open
geom_vline with Character xintercept === I have some ggplot code that worked fine in 0.8.9 but not in 0.9.1. I am going to plot the data in `theDF` and would like to plot a vertical line at `xintercept="2010 Q1."` `theGrid` is merely used to create `theDF`. theGrid <- expand.grid(2009:2011, 1:4) theDF ...
0
6,981,899
08/08/2011 12:12:12
824,910
07/01/2011 13:04:53
1
0
How to get the client IP address from the request made to webservice
I have a webservice hosted in my IIS... I need to find out the clientIP address when the client use my service directly like http://MyIpAddress/MyApplication/MyWebServiceClass.asmx and is it possible to read file from the client machine? If so how can I do it?
c#
.net
web-services
file-upload
null
null
open
How to get the client IP address from the request made to webservice === I have a webservice hosted in my IIS... I need to find out the clientIP address when the client use my service directly like http://MyIpAddress/MyApplication/MyWebServiceClass.asmx and is it possible to read file from the client machine? ...
0
10,954,198
06/08/2012 18:28:57
1,246,574
03/03/2012 08:37:41
158
9
C# - WCF - How to use a custom type object at the client
I'm new to C# and to WCF, coming from a Java background. I'm have a solution with a WCF service hosted on IIS that has an Employee class, and a method... public Employee getEmployee(int loginId) This method takes the loginId, queries the database and creates an Employee object with the results, and then re...
c#
.net
wcf
web-services
iis
null
open
C# - WCF - How to use a custom type object at the client === I'm new to C# and to WCF, coming from a Java background. I'm have a solution with a WCF service hosted on IIS that has an Employee class, and a method... public Employee getEmployee(int loginId) This method takes the loginId, queries the databas...
0
3,269,174
07/16/2010 22:02:38
387,184
07/08/2010 21:42:48
1
1
Creating thumbnail from video - choosing the image to be used during preview
making a thumbnail from video using the picker is straight forward. However, when I press PLAY in the picker and then chose the video, my thumbnail is alway black. I was hoping it makes a screenshot - however this method only takes the first image of the video - and ONLY IF IT HASN'T BEEN PLAYED! How can I make a th...
iphone
xcode
video
thumbnail
preview
null
open
Creating thumbnail from video - choosing the image to be used during preview === making a thumbnail from video using the picker is straight forward. However, when I press PLAY in the picker and then chose the video, my thumbnail is alway black. I was hoping it makes a screenshot - however this method only takes the fi...
0
9,657,404
03/11/2012 17:59:55
1,095,159
12/13/2011 06:30:09
58
3
Confused why code will only work with ob_start();
I have added some server side validation to a dropdown box on one of my pages and when I did the page wouldn't work anymore. The code I added is as follows: $show_form = true; if (isset($_POST['submit'])) { //All of the server side validations $validator = new FormValidator(); ...
php
null
null
null
null
null
open
Confused why code will only work with ob_start(); === I have added some server side validation to a dropdown box on one of my pages and when I did the page wouldn't work anymore. The code I added is as follows: $show_form = true; if (isset($_POST['submit'])) { //All of the server side validations...
0
6,044,876
05/18/2011 12:47:19
113,213
05/27/2009 14:43:57
496
40
SSO Between Websphere Portal and .NET Application
What's the best way to configure SSO between a WebSphere Portal Portlet and a .NET application? We are using WebSphere Portal 6.1.5 and the portlet should just redirect to the .NET application, but not require the user to login since they already did on portal. Both Portal and .NET app are using same Active Directo...
websphere
portal
websphere-portal
jsr286
jsr168
null
open
SSO Between Websphere Portal and .NET Application === What's the best way to configure SSO between a WebSphere Portal Portlet and a .NET application? We are using WebSphere Portal 6.1.5 and the portlet should just redirect to the .NET application, but not require the user to login since they already did on portal. ...
0
9,902,695
03/28/2012 07:08:16
1,297,400
03/28/2012 07:02:17
1
0
( was unexpected at this time error
Code below contains outermost if-else loop, In the if block there is (1) if-else condition In its else block there is (1) if exist condition containing if-else condition (2) if not exist condition. if exist filename1.abc ( some code if "!line_count!"=="1" ( echo something ) els...
batch
batch-file
batch-script
null
null
05/21/2012 16:04:19
too localized
( was unexpected at this time error === Code below contains outermost if-else loop, In the if block there is (1) if-else condition In its else block there is (1) if exist condition containing if-else condition (2) if not exist condition. if exist filename1.abc ( some code if "!line_count!"==...
3
129,071
09/24/2008 18:51:12
11,236
09/16/2008 06:29:28
347
17
A reliable HTTP library for .Net
.Net's implementation of HTTP is ... problematic. Beyond some issues in compliance with HTTP/1.0, what's bugging me right now is that `HttpWebResponse.GetResponse()` with ReadTimeout **and** Timeout set to 5000 blocks for about 20 seconds before failing. I need a library with better protocol conformance and timeout ...
.net
http
timeout
null
null
06/08/2012 13:40:49
not constructive
A reliable HTTP library for .Net === .Net's implementation of HTTP is ... problematic. Beyond some issues in compliance with HTTP/1.0, what's bugging me right now is that `HttpWebResponse.GetResponse()` with ReadTimeout **and** Timeout set to 5000 blocks for about 20 seconds before failing. I need a library with be...
4
8,892,050
01/17/2012 09:14:30
349,760
05/25/2010 09:33:43
103
0
Should we rewrite a legacy php application in a framework?
I am currently working on a legacy PHP application. To give you an idea what the application is like: - The backend is about 14,000 LOC. The frontend is is about 3,000 LOC. - Each url is a php script, no use of classes. - Each of those php scripts has a smarty template associated with it. - It makes heavy us...
php
security
null
null
null
01/17/2012 23:36:26
not constructive
Should we rewrite a legacy php application in a framework? === I am currently working on a legacy PHP application. To give you an idea what the application is like: - The backend is about 14,000 LOC. The frontend is is about 3,000 LOC. - Each url is a php script, no use of classes. - Each of those php scripts ...
4
5,587,437
04/07/2011 20:46:39
113,571
05/28/2009 07:15:16
295
12
Troubleshooting database performance issues
I've a problem with database, and here is a scenario I'm dealing with every day: usually application can deal with traffic etc. but several times a day I'm dealing with performance issue. When it's happening stored procedures increase their execution time from 200%-1000% . I have one, described here: http://stackove...
sql-server
sql-server-2005
database-connection
null
null
null
open
Troubleshooting database performance issues === I've a problem with database, and here is a scenario I'm dealing with every day: usually application can deal with traffic etc. but several times a day I'm dealing with performance issue. When it's happening stored procedures increase their execution time from 200%-1000%...
0
9,748,229
03/17/2012 07:37:38
732,264
04/30/2011 09:46:49
33
0
Laptop configuration / advice needed
I want to buy a laptop, but I'm very confused! I'm a web developer, and I use my PC for: - email (Thunderbird), lots of browsing, FTP, Firefox/Firebug plus several other browsers for browser testing, Photoshop, Windows 7 and Microsoft Office. I've been really tempted by the lightweight models such as Asus UX31. The...
hardware
null
null
null
null
05/22/2012 13:00:05
off topic
Laptop configuration / advice needed === I want to buy a laptop, but I'm very confused! I'm a web developer, and I use my PC for: - email (Thunderbird), lots of browsing, FTP, Firefox/Firebug plus several other browsers for browser testing, Photoshop, Windows 7 and Microsoft Office. I've been really tempted by the...
2
4,553,094
12/29/2010 09:56:25
488,433
10/27/2010 06:53:55
431
31
Which IDE is best for IPhone development?
I'm going o develop IPhone application. Which IDE is best Eclipse or Netbeans?
iphone
eclipse
netbeans
mobile
null
09/02/2011 14:30:41
not constructive
Which IDE is best for IPhone development? === I'm going o develop IPhone application. Which IDE is best Eclipse or Netbeans?
4
6,800,627
07/23/2011 13:17:33
389,432
02/18/2010 19:55:31
558
23
cannot access xml entries of google analytics response xml using simplexml or xmldom
I am accessing the google analytics data using curl. Its response text contains some thing like the following. <entry gd:etag='W/&quot;A0EEQX47eSp7I2A9WhZSFU8.&quot;' gd:kind='analytics#datarow'> <id>http://www.google.com/analytics/feeds/data?ids=ga:176&amp;ga:pagePath=/indian-language-unicode-converte...
google-analytics
simplexml
xmldom
null
null
null
open
cannot access xml entries of google analytics response xml using simplexml or xmldom === I am accessing the google analytics data using curl. Its response text contains some thing like the following. <entry gd:etag='W/&quot;A0EEQX47eSp7I2A9WhZSFU8.&quot;' gd:kind='analytics#datarow'> <id>http://www.go...
0
7,988,605
11/02/2011 23:30:36
610,584
02/09/2011 23:14:23
68
3
Optimum number of virtual desktops -- Productivity
Being a relative newcomer to Linux, I stand in awe of the power of virtual desktops. I am experimenting with them, and would love to get some feedback. What is your preferred number of virtual desktops (e.g. 2x3), and do you tend to organize them in any particular way, or have any special tricks you use to squeez...
ubuntu
productivity
virtual-desktop
null
null
06/05/2012 01:16:54
off topic
Optimum number of virtual desktops -- Productivity === Being a relative newcomer to Linux, I stand in awe of the power of virtual desktops. I am experimenting with them, and would love to get some feedback. What is your preferred number of virtual desktops (e.g. 2x3), and do you tend to organize them in any part...
2
11,199,432
06/26/2012 00:51:19
1,090,995
12/10/2011 07:52:13
76
1
Looking for a specific type of E-commerce CMS
I'm looking for a shopping cart application that allows me to sell different formats of books. Some books come in hardcover, e-book, audiobook (with 4 different formats) and even iPad app. I've looked at pretty much every popular e-commerce platform and non of them allow me to properly group together different forma...
content-management-system
e-commerce
shopping-cart
null
null
null
open
Looking for a specific type of E-commerce CMS === I'm looking for a shopping cart application that allows me to sell different formats of books. Some books come in hardcover, e-book, audiobook (with 4 different formats) and even iPad app. I've looked at pretty much every popular e-commerce platform and non of them ...
0
366,334
12/14/2008 09:33:18
40,002
11/23/2008 01:27:37
187
7
What makes user interfaces appealing to humans?
This is a question for all the user interface engineers out there. There are numerous good user interface designs. Ranging from the iPhone UI (Black transparency w/blue highlights), to Windows XP (Blue and green fisher price), to Mac OS X (Blue/Grey matte), to the colourful World of Warcraft UI. What makes one us...
user-interface
glossy
transparency
design
gui
10/18/2011 08:46:37
not constructive
What makes user interfaces appealing to humans? === This is a question for all the user interface engineers out there. There are numerous good user interface designs. Ranging from the iPhone UI (Black transparency w/blue highlights), to Windows XP (Blue and green fisher price), to Mac OS X (Blue/Grey matte), to the...
4
4,140,986
11/10/2010 03:28:54
10,433
09/15/2008 23:06:36
1,460
55
How to run Sahi tests as part of a Hudson build?
In the [absence of a Maven plugin for Sahi][1], what's the easiest way to run Sahi tests from Hudson? [1]: http://sahi.co.in/forums/viewtopic.php?id=1328
continuous-integration
hudson
maven-plugin
sahi
null
null
open
How to run Sahi tests as part of a Hudson build? === In the [absence of a Maven plugin for Sahi][1], what's the easiest way to run Sahi tests from Hudson? [1]: http://sahi.co.in/forums/viewtopic.php?id=1328
0
9,197,905
02/08/2012 16:57:56
3,797
08/30/2008 21:52:47
3,368
231
Find Child by Class and remove all the elements except the first one jQuery
I have a TR row id (myRow) and it has a child table and that table has rows with class ".CONTENTROW". I am using the following code to remove all the rows with class ".CONTENTROW" except the first one. This is the code I am using: $(myRow).find(".CONTENTROW tr:gt(0)").remove(); The above does not seems to be...
jquery
null
null
null
null
null
open
Find Child by Class and remove all the elements except the first one jQuery === I have a TR row id (myRow) and it has a child table and that table has rows with class ".CONTENTROW". I am using the following code to remove all the rows with class ".CONTENTROW" except the first one. This is the code I am using: ...
0