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
8,860,576
01/14/2012 06:23:29
887,310
08/10/2011 06:42:11
68
1
How to remove parsing and NSPlaceholderMutableString frame Leaks in iPhone
![enter image description here][1] [1]: http://i.stack.imgur.com/Zwyhf.png While parsing the I am getting above leaks. And NSPlaceholderMutableString responsible frame for other leaks. What is the best solution or tutorial or link to follow to get out of this leaks???? Code: - (void)parser:(NS...
iphone
objective-c
memory-leaks
null
null
02/18/2012 02:31:16
too localized
How to remove parsing and NSPlaceholderMutableString frame Leaks in iPhone === ![enter image description here][1] [1]: http://i.stack.imgur.com/Zwyhf.png While parsing the I am getting above leaks. And NSPlaceholderMutableString responsible frame for other leaks. What is the best solution or tutorial or li...
3
11,165,195
06/22/2012 22:58:16
679,339
03/27/2011 20:58:11
26
0
Best email marketing software (alternative to PHPlist)
Are there good alternatives to PHPlist out there? Particularly in ruby on rails? We are looking to build a product like www.campaignmonitor.com thanks!
email
newsletter
mailman
phplist
null
07/09/2012 01:47:32
off topic
Best email marketing software (alternative to PHPlist) === Are there good alternatives to PHPlist out there? Particularly in ruby on rails? We are looking to build a product like www.campaignmonitor.com thanks!
2
10,750,162
05/25/2012 07:21:34
651,353
03/09/2011 10:33:15
630
47
Excel - Code for a row line in source
All I am trying to change the "delimiters" in my csv file, so I can open it as an excel file. I know the delimiter to separeate the columns is ';'. But what is the delimiter for a new line? Thanks
excel
csv
delimiter
null
null
null
open
Excel - Code for a row line in source === All I am trying to change the "delimiters" in my csv file, so I can open it as an excel file. I know the delimiter to separeate the columns is ';'. But what is the delimiter for a new line? Thanks
0
7,098,749
08/17/2011 20:05:36
207,335
11/09/2009 21:57:04
1,546
44
Differences between C++ and Java compilation process
I have high level idea on the differences between C++ and Java compilation. But, I want to really understand and dive deep. can you suggest any references or blogs ?
java
c++
null
null
null
08/17/2011 20:15:07
not constructive
Differences between C++ and Java compilation process === I have high level idea on the differences between C++ and Java compilation. But, I want to really understand and dive deep. can you suggest any references or blogs ?
4
3,690,171
09/11/2010 07:23:16
103,264
05/08/2009 01:16:16
812
3
redirect htaccess or php?
How do you do this... When the user enters http://domain.com/mycompanyname browser redirects to http://manager.domain.com/page.php?company=mycompanyname
php
linux
.htaccess
redirect
null
null
open
redirect htaccess or php? === How do you do this... When the user enters http://domain.com/mycompanyname browser redirects to http://manager.domain.com/page.php?company=mycompanyname
0
5,829,909
04/29/2011 08:43:03
213,269
11/17/2009 21:05:19
4,503
105
How can I use a TypedActor in a Java application?
I try to implement a `TypedActor` in Java following the examples on [Typed Actors (Java)][1]. But I'm struggling. I have added `akka-actor-1.1-M1.jar`, `akka-typed-actor-1.1-M1.jar`, `scala-library.jar` but it wasn't enough. I got errors in Eclipse so I also added `aspectwerkz-2.0.jar` and `aspectwerkz-core-2.0.jar` to...
java
actor
akka
typedactor
null
null
open
How can I use a TypedActor in a Java application? === I try to implement a `TypedActor` in Java following the examples on [Typed Actors (Java)][1]. But I'm struggling. I have added `akka-actor-1.1-M1.jar`, `akka-typed-actor-1.1-M1.jar`, `scala-library.jar` but it wasn't enough. I got errors in Eclipse so I also added ...
0
11,220,905
06/27/2012 06:57:48
1,051,106
11/17/2011 05:56:23
1
0
Patenting a web app solution based on Google Maps?
I'm developing a web app startup, I've come up with a unique solution to identify zones and locations in countries where there are almost no street references neither zip codes or something similar to locate places easily. This solution will serve as a business-client match zone. My questions is if this idea and the...
google-maps
google-maps-api-3
null
null
null
06/27/2012 15:35:10
off topic
Patenting a web app solution based on Google Maps? === I'm developing a web app startup, I've come up with a unique solution to identify zones and locations in countries where there are almost no street references neither zip codes or something similar to locate places easily. This solution will serve as a business-cl...
2
9,688,080
03/13/2012 16:31:41
912,703
08/25/2011 17:44:50
37
0
Why does the value of width gets set to zero when the page is refreshed in chrome?
I wrote some jQuery code in which I was getting the width of images on screen and storing them in a variable. Then I logged that variable in the console to see it's value. When the page loads for the first time, it displays correct value, however if I press F5, it displays 0 as the width. Here's the HTML: ...
javascript
jquery
dom
google-chrome
width
null
open
Why does the value of width gets set to zero when the page is refreshed in chrome? === I wrote some jQuery code in which I was getting the width of images on screen and storing them in a variable. Then I logged that variable in the console to see it's value. When the page loads for the first time, it displays correct ...
0
11,284,129
07/01/2012 17:20:55
1,484,094
06/26/2012 22:13:01
8
0
Twitter Bootstrap - Carousel - Do I NEED an active item?
I essentially do not want a specific active item. My items in my carousel are generated from another model. So my items are somewhat dynamic. My active item isnt, and i would prefer not have an active item all-together. Is this possible?
ruby-on-rails-3
twitter-bootstrap
carousel
null
null
07/02/2012 20:02:48
not a real question
Twitter Bootstrap - Carousel - Do I NEED an active item? === I essentially do not want a specific active item. My items in my carousel are generated from another model. So my items are somewhat dynamic. My active item isnt, and i would prefer not have an active item all-together. Is this possible?
1
8,528,442
12/16/2011 00:28:00
1,100,982
12/15/2011 23:57:39
1
0
Android Accelerometer : onSensorChanged Runs Always
I've written a method to send UDP messages over the network.It's working properly. After that, i tried to use the Accelerometer Sensor of my Galaxy S smartphone.I get the accelerometer values, show them in the screen. And when the values are changed(onSensorChanged method) , i send them using UDP to the application ...
android
accelerometer
null
null
null
null
open
Android Accelerometer : onSensorChanged Runs Always === I've written a method to send UDP messages over the network.It's working properly. After that, i tried to use the Accelerometer Sensor of my Galaxy S smartphone.I get the accelerometer values, show them in the screen. And when the values are changed(onSensorCh...
0
11,083,152
06/18/2012 12:42:46
160,820
08/21/2009 14:09:57
1,233
42
How to write this code in a better way?
I am new to coldfusion and trying to write a session handler. I have written colde like. Can you please chack if I can write it in a better way? <!--- /// Sets available options to select ---> <cffunction name="SetAvailableOption" output="false" access="public"> <cfarg...
coldfusion
null
null
null
null
06/19/2012 22:55:21
not a real question
How to write this code in a better way? === I am new to coldfusion and trying to write a session handler. I have written colde like. Can you please chack if I can write it in a better way? <!--- /// Sets available options to select ---> <cffunction name="SetAvailableOption" output="false"...
1
3,938,995
10/15/2010 02:14:14
441,885
09/07/2010 22:17:31
3
1
Powershell Start-Job won't run
I'm trying to run a simple job process in powershell 2.0 and it doesn't be working correctly. $job = Start-Job { Return "Some string." } When I call $job, the status says it's running. But the problem is that it never completes. Tried the same thing on my Windows 7 machine and it completes immediately. ...
powershell
background
start-job
null
null
null
open
Powershell Start-Job won't run === I'm trying to run a simple job process in powershell 2.0 and it doesn't be working correctly. $job = Start-Job { Return "Some string." } When I call $job, the status says it's running. But the problem is that it never completes. Tried the same thing on my Windows 7 machi...
0
3,316,755
07/23/2010 09:03:44
22,194
09/25/2008 14:22:55
2,290
114
VisualForce: Pass a parameter to a custom component inside a repeater
I can't figure out why this isn't working: <apex:repeat value="{!MyContacts}" var="c" > <c:ContactRowComponent contactLastName="{!c.LastName}"/> </apex:repeat> (where on the main controller MyContacts returns an array of Contact objects, and on the component contactLastName is defined as a String at...
salesforce
custom-component
apex
visualforce
null
null
open
VisualForce: Pass a parameter to a custom component inside a repeater === I can't figure out why this isn't working: <apex:repeat value="{!MyContacts}" var="c" > <c:ContactRowComponent contactLastName="{!c.LastName}"/> </apex:repeat> (where on the main controller MyContacts returns an array of Cont...
0
8,253,834
11/24/2011 08:05:15
838,485
07/11/2011 08:26:57
79
2
How to trap custom URL scheme from a webview?
In my application, I have a webview which loads up a page that contains both normal links and custom URL schemes, such as myapp://id=1234. Right now, I am trying to trap the request within this function: - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationT...
iphone
nsurl
nsurlrequest
null
null
null
open
How to trap custom URL scheme from a webview? === In my application, I have a webview which loads up a page that contains both normal links and custom URL schemes, such as myapp://id=1234. Right now, I am trying to trap the request within this function: - (BOOL)webView:(UIWebView *)webView shouldStartLoadWit...
0
9,621,304
03/08/2012 16:38:36
1,027,943
11/03/2011 14:45:21
1
0
Java EE -- Configuration issues for a beginner
all. Relative rookie here who has spent the better part of three days just trying to get started with Java EE, and it's driving me up a wall. I've already read through numerous tutorials and consulted several book, so now I am turning to you. I am starting from complete scratch, having uninstalled NetBeans and Glass...
java
java-ee-6
null
null
null
null
open
Java EE -- Configuration issues for a beginner === all. Relative rookie here who has spent the better part of three days just trying to get started with Java EE, and it's driving me up a wall. I've already read through numerous tutorials and consulted several book, so now I am turning to you. I am starting from com...
0
2,719,654
04/27/2010 08:12:53
24,872
10/03/2008 15:00:25
173
4
Is it possible to use the Spring MVC on JBoss App server?
Is it possible to use Spring MVC on JBoss App server? If so, how? Used the Spring MVC with Tomcat Apache server, but now i have to move my project to a JBoss app server. But i'm getting an error, and i'm not sure why. It seems like i can't use my classes. 125 ERROR [Engine] StandardWrapperValve[project]: ...
spring-mvc
jboss
converting
null
null
null
open
Is it possible to use the Spring MVC on JBoss App server? === Is it possible to use Spring MVC on JBoss App server? If so, how? Used the Spring MVC with Tomcat Apache server, but now i have to move my project to a JBoss app server. But i'm getting an error, and i'm not sure why. It seems like i can't use my cl...
0
872,003
05/16/2009 08:47:37
108,051
05/16/2009 04:08:33
1
0
chinese mobile software development?
As per my assumption () there are hundreds of millions of Chinese mobile phones (or clones of brand phones) out there. And it seems firmware and OS of those mobile phones are same. Those phones only differ in their design and may be hardware. I was wondering if there is any development kit or software development su...
chinese
mobile
phone
firmware
null
05/06/2012 18:39:30
not constructive
chinese mobile software development? === As per my assumption () there are hundreds of millions of Chinese mobile phones (or clones of brand phones) out there. And it seems firmware and OS of those mobile phones are same. Those phones only differ in their design and may be hardware. I was wondering if there is any ...
4
8,287,219
11/27/2011 16:53:37
410,560
08/04/2010 09:04:35
249
6
Return shared array item without removing reference count
with the code listed above I would call the function **GetItem** and get the item I requested without getting the array deleted. How can I do this? struct test { int hello; char *wow; } test GetItem() { boost::shared_array<test> myarray(new test[10]); ....
c++
arrays
boost
smart-pointers
null
11/28/2011 15:41:54
too localized
Return shared array item without removing reference count === with the code listed above I would call the function **GetItem** and get the item I requested without getting the array deleted. How can I do this? struct test { int hello; char *wow; } test GetItem() { ...
3
10,717,358
05/23/2012 09:44:16
1,412,216
05/23/2012 09:19:33
1
0
Uncaught ReferenceError: AFMA_getSdkConstants is not defined
I'm trying to add an AdMob ad to my android application but whenever I'm opening the activity that is supposed to display the ad I get this error: I/Ads(11448): adRequestUrlHtml: <html><head><script src="http://media.admob.com/sdk-core-v40.js"></script><script>AFMA_getSdkConstants();AFMA_buildAdURL({"kw":[],"pre...
android
admob
null
null
null
null
open
Uncaught ReferenceError: AFMA_getSdkConstants is not defined === I'm trying to add an AdMob ad to my android application but whenever I'm opening the activity that is supposed to display the ad I get this error: I/Ads(11448): adRequestUrlHtml: <html><head><script src="http://media.admob.com/sdk-core-v40.js"></s...
0
9,823,317
03/22/2012 13:32:36
851,432
07/19/2011 07:10:33
1,389
79
What's your 'no framework' Java framework?
**DISCLAIMER:** The title is taken from a similar question on PHP - [What's your 'no framework' PHP framework?][1]. I liked that post and search around Stackoverflow to find something like that, but I can't. That is why I am having a post here. And when I typed the title I got a warning - *The question you're asking ap...
java
frameworks
null
null
null
03/22/2012 13:47:02
not constructive
What's your 'no framework' Java framework? === **DISCLAIMER:** The title is taken from a similar question on PHP - [What's your 'no framework' PHP framework?][1]. I liked that post and search around Stackoverflow to find something like that, but I can't. That is why I am having a post here. And when I typed the title ...
4
4,025,871
10/26/2010 16:46:18
452,101
09/19/2010 19:28:34
31
1
When to prefer joins expressed with SelectMany() over joins expressed with the join keyword in Linq
Linq allows to express inner joins by using the join keyword or by using SelectMany() (i.e. a couple of from keywords) with a where keyword: <code> var personsToState = from person in persons join state in statesOfUS on person.State equals state.USPS select new { person, State = state.Name }; foreach (va...
linq
join
null
null
null
null
open
When to prefer joins expressed with SelectMany() over joins expressed with the join keyword in Linq === Linq allows to express inner joins by using the join keyword or by using SelectMany() (i.e. a couple of from keywords) with a where keyword: <code> var personsToState = from person in persons join state in sta...
0
4,833,532
01/28/2011 22:07:19
54,392
01/12/2009 23:38:16
56
5
ASP.NET MVC 3 - How can I conditionally validate (IValidatableObject) when calling UpdateModel or TryUpdateModel?
I am using EFCodeFirst CTP5 (although this shouldn't make a difference) and ASP.NET MVC 3. I have created the following entities: public class Company { public int CompanyID { get; set; } public int SubdomainID { get; set; } public virtual Subdomain Subdomain { get; set; } ...
entity-framework
asp.net-mvc-3
null
null
null
null
open
ASP.NET MVC 3 - How can I conditionally validate (IValidatableObject) when calling UpdateModel or TryUpdateModel? === I am using EFCodeFirst CTP5 (although this shouldn't make a difference) and ASP.NET MVC 3. I have created the following entities: public class Company { public int CompanyID { get;...
0
7,454,111
09/17/2011 10:34:41
550,110
12/21/2010 15:17:49
76
0
Change default code page for debug console in VS10
Currently it defaults to my system locale, which is 932 (Japanese Shift-JIS) in my case, but I want it to be 65001 (UTF-8) by default. I can change the default for a given program by inserting a SetConsoleOutputCP line somewhere in the code and then removing it, but doing it for every program is pretty annoying. ...
c++
visual-studio-2010
utf-8
codepages
null
null
open
Change default code page for debug console in VS10 === Currently it defaults to my system locale, which is 932 (Japanese Shift-JIS) in my case, but I want it to be 65001 (UTF-8) by default. I can change the default for a given program by inserting a SetConsoleOutputCP line somewhere in the code and then removing it...
0
7,866,284
10/23/2011 13:02:16
892,055
08/12/2011 15:23:13
8
0
How do you differentiate between different characters within the same string after the occurance of a white space
I have a question I am making a decoder that decodes as follows "2" as "a", "22" as "b", "222" as "c", "3" as "d" etc, ive written the following logic to implement it Scanner input = new Scanner(System.in); String lStr=input.nextLine(); if (lStr.equals("2")||lStr.equals("2...
java
java-ee-6
null
null
null
null
open
How do you differentiate between different characters within the same string after the occurance of a white space === I have a question I am making a decoder that decodes as follows "2" as "a", "22" as "b", "222" as "c", "3" as "d" etc, ive written the following logic to implement it Scanner i...
0
6,759,047
07/20/2011 08:28:06
600,633
02/02/2011 20:57:13
123
13
Why must the transpose value of glUniformMatrix4fv in webgl/OpenGL ES be false?
Title explains the most of the questions. The [OpenGL ES spec][1] says that the transpose value must be false or an INVALID_VALUE is generated. Why then have the parameter? [1]: http://www.khronos.org/opengles/sdk/docs/man/xhtml/glUniform.xml
opengl-es
webgl
null
null
null
04/09/2012 20:44:43
off topic
Why must the transpose value of glUniformMatrix4fv in webgl/OpenGL ES be false? === Title explains the most of the questions. The [OpenGL ES spec][1] says that the transpose value must be false or an INVALID_VALUE is generated. Why then have the parameter? [1]: http://www.khronos.org/opengles/sdk/docs/man...
2
8,338,896
12/01/2011 09:16:54
36,633
11/11/2008 16:39:14
416
4
SQL Query Speed
I'm building a report that collates a huge amount of data, the data for the report has taken shape as a view which run's in about 2 to 9 seconds (which is acceptable). I also have a function that returns a set of ids which needs to filter the view: select * from vw_report where employee_id in (select i...
sql
performance
reporting
null
null
null
open
SQL Query Speed === I'm building a report that collates a huge amount of data, the data for the report has taken shape as a view which run's in about 2 to 9 seconds (which is acceptable). I also have a function that returns a set of ids which needs to filter the view: select * from vw_report where emp...
0
9,107,508
02/02/2012 05:18:56
220,404
11/28/2009 09:20:00
7
1
SQLUnknown column 'jawab1' in 'field list'
i have a problem in getting an error message "SQLUnknown column 'jawab1' in 'field list'". How to fix?Below is my code.This code aims to enter the data from php to the database. Thank You <?php include "../Library/inc.connectiondb.php"; $txtTanya = $_POST['txtTanya']; $txtPilih1 = $_POST['txtPil...
php
mysql
insert
null
null
null
open
SQLUnknown column 'jawab1' in 'field list' === i have a problem in getting an error message "SQLUnknown column 'jawab1' in 'field list'". How to fix?Below is my code.This code aims to enter the data from php to the database. Thank You <?php include "../Library/inc.connectiondb.php"; $txtTanya = $_...
0
892,631
05/21/2009 12:10:16
48,886
12/24/2008 11:51:35
369
15
I'm looking for some good object orientated books
I'm looking for some good quality OO books, if any exist for VB .Net, that'd be awesome. Have you read anything that you would recommend?
oop
books
vb.net
null
null
09/20/2011 15:10:10
not constructive
I'm looking for some good object orientated books === I'm looking for some good quality OO books, if any exist for VB .Net, that'd be awesome. Have you read anything that you would recommend?
4
7,021,028
08/11/2011 05:00:47
889,243
08/11/2011 05:00:47
1
0
cannot convert `int*' to `float*' for argument `1' to `float mean(float*, float)'
#include <iostream> using namespace std; float mean(float num[],float n) { int i; int numElements; float sum=0; for(i=0;i<numElements;i++) sum=sum+num[i]; return (sum/n); } int main() { int numElements; int minusElements; ...
c++
null
null
null
null
08/12/2011 08:46:17
not a real question
cannot convert `int*' to `float*' for argument `1' to `float mean(float*, float)' === #include <iostream> using namespace std; float mean(float num[],float n) { int i; int numElements; float sum=0; for(i=0;i<numElements;i++) sum=sum+num[i]; return (sum/n); } ...
1
7,275,642
09/01/2011 19:44:33
607,470
02/08/2011 02:18:28
303
22
Build vs. Rebuild: aren't the names wrong?
I understand the difference, and SO has a number of postings that explain in detail. But my question is just a curiosity: aren't the names backward? I'd like to think that "build" would mean "build as if its the first time" and "Re-build" would mean "build, considering what I built before" . But, not so, it's the ot...
visual-studio
build
rebuild
null
null
09/02/2011 00:56:55
not constructive
Build vs. Rebuild: aren't the names wrong? === I understand the difference, and SO has a number of postings that explain in detail. But my question is just a curiosity: aren't the names backward? I'd like to think that "build" would mean "build as if its the first time" and "Re-build" would mean "build, considering ...
4
10,294,242
04/24/2012 08:20:57
1,348,094
04/21/2012 09:25:11
1
0
how can i crop an object in c# with a specified color?
i need a code in c# which can extract a specified color (for example red )then clip the object which contain that color? that is mean searching for red object then cilp it
c#
image
image-processing
cropping
null
04/25/2012 02:30:42
not a real question
how can i crop an object in c# with a specified color? === i need a code in c# which can extract a specified color (for example red )then clip the object which contain that color? that is mean searching for red object then cilp it
1
7,595,837
09/29/2011 10:17:19
913,573
08/26/2011 07:25:35
16
0
R grep pattern regex
I just want to use a regular expression in R to grep an word like: text=c("Hans",Hansel") normaly I would use grep "Hans\b" text in R I can not use "\b" there is an error, would do you use the grep only Hans but not Hansel
regex
r
grep
null
null
09/30/2011 00:47:51
not a real question
R grep pattern regex === I just want to use a regular expression in R to grep an word like: text=c("Hans",Hansel") normaly I would use grep "Hans\b" text in R I can not use "\b" there is an error, would do you use the grep only Hans but not Hansel
1
8,367,337
12/03/2011 11:30:11
964,326
09/26/2011 03:19:33
1
0
how to save uitextview in a textfile to make mynotes and display the list of notes saved and open later?
i am making a mynote app which contains uitextview which pulls arabic keyboard ? how to save my arabic data in uitextview to a file with save button . how display my all saved files in view. and how to open saved files?
uitextview
null
null
null
null
12/03/2011 16:05:47
not a real question
how to save uitextview in a textfile to make mynotes and display the list of notes saved and open later? === i am making a mynote app which contains uitextview which pulls arabic keyboard ? how to save my arabic data in uitextview to a file with save button . how display my all saved files in view. and how to open ...
1
7,954,783
10/31/2011 14:05:57
801,286
06/16/2011 10:52:51
11
0
What is a best way to increment alphanumeric ID by certain value in C#?
What is a best way to increment alphanumeric ID by certain value in C#? *For example:* We've **843342D4343DA123D** and we're going to increment by 10, so we have as result: **843342D4343DA123D10** Or we've **843342D4343DA123D10** and increments by 50, and result should be **843342D4343DA123D60** **Wh...
c#
.net
increment
alphanumeric
null
11/01/2011 12:18:00
not a real question
What is a best way to increment alphanumeric ID by certain value in C#? === What is a best way to increment alphanumeric ID by certain value in C#? *For example:* We've **843342D4343DA123D** and we're going to increment by 10, so we have as result: **843342D4343DA123D10** Or we've **843342D4343DA123D10** an...
1
2,588,277
04/06/2010 20:59:24
290,128
03/10/2010 01:20:36
95
5
How can I swap or replace multiple strings in code at the same time?
Given the following code sample: uint8_t i, in, ni; i = in = 2; ni = 1; while (2 == i > ni) in++; How can I replace `i, in, and ni`, respectively with either `in, ni, and i` or `inni, inin, and nini` using emacs, vi, *nix commands, or anything else?
vi
emacs
c
refactoring
bash
null
open
How can I swap or replace multiple strings in code at the same time? === Given the following code sample: uint8_t i, in, ni; i = in = 2; ni = 1; while (2 == i > ni) in++; How can I replace `i, in, and ni`, respectively with either `in, ni, and i` or `inni, inin, and nini` using emacs, vi, *nix comm...
0
4,047,835
10/28/2010 23:06:20
479,771
10/18/2010 20:32:20
6
0
Vote PHP not working
I have a problem with a vote thing in php the code of my page is: <? $vote = addslashes($_POST['vote']); if(isset($poll_num) && ctype_digit($poll_num)) { setcookie("javotou", $poll_num); } include("include/session.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tran...
php
null
null
null
null
10/30/2010 06:35:55
too localized
Vote PHP not working === I have a problem with a vote thing in php the code of my page is: <? $vote = addslashes($_POST['vote']); if(isset($poll_num) && ctype_digit($poll_num)) { setcookie("javotou", $poll_num); } include("include/session.php"); ?> <!DOCTYPE html PUBLIC "...
3
6,770,533
07/21/2011 01:55:38
636,195
02/27/2011 05:45:01
19
0
Java web developer interview questions
I am a Java web developer who has 2 years of experience (a year in C# and the other in Java). And currently I am doing my masters (I will be out for job search after a couple of months). However, since I have only two years of experience, I was planning to apply for junior positions (either as java developer or a java ...
java
spring
jsf
java-ee
interview-questions
07/21/2011 02:04:02
off topic
Java web developer interview questions === I am a Java web developer who has 2 years of experience (a year in C# and the other in Java). And currently I am doing my masters (I will be out for job search after a couple of months). However, since I have only two years of experience, I was planning to apply for junior po...
2
10,767,142
05/26/2012 14:37:58
1,418,956
05/26/2012 11:36:51
1
0
Running a PHP script gives 500 internal server error
Recently I installed cPanel on my vps with centOS.Now my PHP files are returning a 500 Internal Server error. HTML files work fine however. Always when i try to enter php file it says 500 Internal server error... How can i fix it ?
cpanel
null
null
null
null
05/27/2012 02:42:13
off topic
Running a PHP script gives 500 internal server error === Recently I installed cPanel on my vps with centOS.Now my PHP files are returning a 500 Internal Server error. HTML files work fine however. Always when i try to enter php file it says 500 Internal server error... How can i fix it ?
2
9,317,674
02/16/2012 19:21:05
727,184
04/27/2011 11:58:33
170
1
Interactive courses of Ruby and Rails
I had seen a interesting course of Ruby on the Code School. But I would like to know if there's another ones? If you know someone, please let me know.
ruby-on-rails
ruby
null
null
null
02/16/2012 19:44:52
not constructive
Interactive courses of Ruby and Rails === I had seen a interesting course of Ruby on the Code School. But I would like to know if there's another ones? If you know someone, please let me know.
4
8,055,106
11/08/2011 18:10:21
744,044
05/08/2011 16:48:45
1
0
Write a namespaced function for jQuery that operates on parameters and not selectors
I've been tying to start a library of functions in jQuery to use transversally in my code I thought that a good way of doing this would be to build a jQuery namespace and add my methods under that (and provide the namespace for all who would like to contribute). This is what I came up with: (fu...
javascript
jquery
jquery-plugins
prototype
null
null
open
Write a namespaced function for jQuery that operates on parameters and not selectors === I've been tying to start a library of functions in jQuery to use transversally in my code I thought that a good way of doing this would be to build a jQuery namespace and add my methods under that (and provide the namespace ...
0
6,549,127
07/01/2011 14:14:00
455,096
09/22/2010 13:42:10
51
2
Getting XML with Grails REST plugin
I'm having trouble working with the REST plugin in grails. Specifically I am trying to convert xml from a get request into a Map in a controller. The data source I am trying to get data from returns XML that looks like this (this is shortened for simplicity): <process id="345"> <correctedBy>Joanne W...
xml
rest
grails
null
null
null
open
Getting XML with Grails REST plugin === I'm having trouble working with the REST plugin in grails. Specifically I am trying to convert xml from a get request into a Map in a controller. The data source I am trying to get data from returns XML that looks like this (this is shortened for simplicity): <process...
0
11,007,328
06/13/2012 02:07:33
1,282,473
03/21/2012 04:08:24
13
0
Print from a LAN (wired) desktop PC to a wireless printer
I recently purchased a new router, a Linksys E2500 a/b/g/n. I've got a couple devices hooked up to it, mostly laptops and a new brand new Canon PIXMA MP495 wireless printer/scanner. The printer will work from laptops/tablets. Most of my work I do from a desktop PC wired to the router via ethernet. The desktop runs Ubun...
ubuntu
printing
wifi
wireless
lan
06/18/2012 01:54:53
off topic
Print from a LAN (wired) desktop PC to a wireless printer === I recently purchased a new router, a Linksys E2500 a/b/g/n. I've got a couple devices hooked up to it, mostly laptops and a new brand new Canon PIXMA MP495 wireless printer/scanner. The printer will work from laptops/tablets. Most of my work I do from a des...
2
8,600,847
12/22/2011 07:52:39
1,111,227
12/22/2011 07:21:25
1
0
Design custom field database with high degree of variety
I'm designing a SaaS healthcare application to manage activities in multiple organizations. The admin of each organization is allowed to create custom fields for business concepts. Example: Patient of org X has attribute A and B while Patient of org Y has attribute M and N After doing research, I find that there...
sql-server
xml
database
custom-attributes
null
null
open
Design custom field database with high degree of variety === I'm designing a SaaS healthcare application to manage activities in multiple organizations. The admin of each organization is allowed to create custom fields for business concepts. Example: Patient of org X has attribute A and B while Patient of org Y ha...
0
2,438,467
03/13/2010 13:17:20
50,394
12/31/2008 04:52:41
6,997
329
What's a good PHP Active Record library?
I've been using CodeIgniter for some quite time, and I've been extremely happy with its Active Record stuff. It's great to query the database with it. Recently I've started a new project and I can't use such a framework anymore. Is there a simple PHP Active Record library that does its job and gets out of the way...
php
activerecord
codeigniter
null
null
09/04/2011 22:07:31
not constructive
What's a good PHP Active Record library? === I've been using CodeIgniter for some quite time, and I've been extremely happy with its Active Record stuff. It's great to query the database with it. Recently I've started a new project and I can't use such a framework anymore. Is there a simple PHP Active Record lib...
4
11,420,950
07/10/2012 19:58:00
1,010,943
10/24/2011 13:31:08
190
2
Kargers random contraction algo Implementation
Below is my implementation of karger random contraction algorithm. The below code outputs the minimum cut correctly (i know it because i have submitted it the assignment and achived full grades :) ).But sometimes it throws Index of outbound exceptions. The number of vertices on which i apllying this implementation is 2...
java
homework
graph-algorithm
minimum-cut
null
07/10/2012 21:06:05
not a real question
Kargers random contraction algo Implementation === Below is my implementation of karger random contraction algorithm. The below code outputs the minimum cut correctly (i know it because i have submitted it the assignment and achived full grades :) ).But sometimes it throws Index of outbound exceptions. The number of v...
1
225,475
10/22/2008 12:04:08
354,645
10/22/2008 11:46:57
1
0
Protecting user passwords in desktop applications
I'm making a twitter client, and I'm evaluating the various ways of protecting the user's login information. - Hashing apparently doesn't do it - Obfuscating in a reversable way is like trying to hide behind my finger - Plain text sounds and propably is promiscuous - Requiring the user to type in his pass...
passwords
twitter
hashing
null
null
null
open
Protecting user passwords in desktop applications === I'm making a twitter client, and I'm evaluating the various ways of protecting the user's login information. - Hashing apparently doesn't do it - Obfuscating in a reversable way is like trying to hide behind my finger - Plain text sounds and propably is ...
0
219,096
10/20/2008 16:41:08
23,372
09/29/2008 07:39:23
301
23
How to set the Taskbar Grouping Icon
When my application opens too many windows the taskbar groups them into one button. Each window has its own icon, but the grouping icon is the default "unknown"-kind icon. How can I set the grouping icon?
.net
winforms
taskbar
grouping
icons
null
open
How to set the Taskbar Grouping Icon === When my application opens too many windows the taskbar groups them into one button. Each window has its own icon, but the grouping icon is the default "unknown"-kind icon. How can I set the grouping icon?
0
4,088,774
11/03/2010 15:35:53
4,227
09/02/2008 13:08:22
2,934
208
What is the story behind Microsoft not supporting Unix/Linux with Silverlight?
With its semi-crossplatform framework/runtime Silverlight, Microsoft has gone through quite some effort to support MACOS. Why did Microsoft chose to not go the extra mile to support other Unix-based operating systems like Linux too and instead prefers to give support to someone else developing an additional framework/r...
linux
silverlight
unix
cross-platform
null
11/03/2010 15:41:40
not constructive
What is the story behind Microsoft not supporting Unix/Linux with Silverlight? === With its semi-crossplatform framework/runtime Silverlight, Microsoft has gone through quite some effort to support MACOS. Why did Microsoft chose to not go the extra mile to support other Unix-based operating systems like Linux too and ...
4
8,952,032
01/21/2012 09:44:37
494,766
11/02/2010 13:18:42
34
0
C bytes of a char pointer in memory
I would like to count how many bytes a char pointer takes in memory. The pointer points to a string with 100 chars. According to the following program a char needs 4 bytes #include <stdio.h> #include <stdlib.h> int main(void) { char b; b = 'b'; printf("%d\n",&b); ...
pointers
allocation
null
null
null
01/22/2012 01:05:44
not a real question
C bytes of a char pointer in memory === I would like to count how many bytes a char pointer takes in memory. The pointer points to a string with 100 chars. According to the following program a char needs 4 bytes #include <stdio.h> #include <stdlib.h> int main(void) { char b; ...
1
9,439,161
02/24/2012 22:50:48
240,655
12/30/2009 05:29:36
1,037
53
Why is an IBOutletCollection pointing to static cells from storyboard returning null?
I have defined this in code: @property (nonatomic, weak) IBOutletCollection(UITableViewCell) NSSet * certaintyCells; and synthesized. I made absolutely sure that this controller is used in story board, and connected three cells to this collection. Next, in the `didSelectRowAtIndexPath:` method call, I add...
iphone
storyboard
iboutlet
null
null
null
open
Why is an IBOutletCollection pointing to static cells from storyboard returning null? === I have defined this in code: @property (nonatomic, weak) IBOutletCollection(UITableViewCell) NSSet * certaintyCells; and synthesized. I made absolutely sure that this controller is used in story board, and connected thr...
0
4,930,775
02/08/2011 07:59:01
607,763
02/08/2011 07:59:01
1
0
android devolpment using a netbook
how i can use my netbook for android devlopment, when i am running sdk with eclipse it is not loading at all my netbook configurations are os-vista starter, ram- 1gb,1.66ghz precessor
android-emulator
null
null
null
null
02/03/2012 17:24:18
off topic
android devolpment using a netbook === how i can use my netbook for android devlopment, when i am running sdk with eclipse it is not loading at all my netbook configurations are os-vista starter, ram- 1gb,1.66ghz precessor
2
3,068,894
06/18/2010 10:39:41
203,316
11/05/2009 09:38:55
190
7
Which are the fonts available in iphone sdk?
I want to know which all fonts are currently supported by iphone sdk.
iphone
uifont
null
null
null
null
open
Which are the fonts available in iphone sdk? === I want to know which all fonts are currently supported by iphone sdk.
0
2,693,180
04/22/2010 17:52:04
300,414
03/24/2010 00:05:12
217
2
What is unchecked cast and how do I check it?
I think I get what unchecked cast means (casting from one to another of a different type), but what does it mean to "Check" the cast? How can I check the cast so that I can avoid this warning in Eclipse? Thanks,
eclipse
java
null
null
null
null
open
What is unchecked cast and how do I check it? === I think I get what unchecked cast means (casting from one to another of a different type), but what does it mean to "Check" the cast? How can I check the cast so that I can avoid this warning in Eclipse? Thanks,
0
11,134,028
06/21/2012 08:10:59
108,207
05/16/2009 17:51:55
3,014
195
Deprecated method, what to use instead?
The method `show();` in class Windows for java.awt in deprecated. What can I use instead? package adventure; import java.awt.*; import java.awt.image.*; import java.awt.event.*; import java.net.URL; import java.net.MalformedURLException; import java.io.*; import java.ap...
java
graphics
window
deprecated
null
06/21/2012 14:17:26
not a real question
Deprecated method, what to use instead? === The method `show();` in class Windows for java.awt in deprecated. What can I use instead? package adventure; import java.awt.*; import java.awt.image.*; import java.awt.event.*; import java.net.URL; import java.net.MalformedURLExceptio...
1
1,277,488
08/14/2009 11:56:30
67,834
02/18/2009 13:18:51
32
3
Ruby on Rails FilterChain internals - how to make it reloadable?
I'd like to have a more dynamic way of working with filter chains in Ruby on Rails 2.3.2. At the moment, the filter chain is built as the classes are loaded. I have a very particular need for the filter chain to be rebuilt at some point in time after the classes have loaded. This is to do with a Rails project (S...
ruby-on-rails
radiant
filter
null
null
null
open
Ruby on Rails FilterChain internals - how to make it reloadable? === I'd like to have a more dynamic way of working with filter chains in Ruby on Rails 2.3.2. At the moment, the filter chain is built as the classes are loaded. I have a very particular need for the filter chain to be rebuilt at some point in time a...
0
10,671,126
05/20/2012 05:50:21
1,380,194
05/07/2012 16:21:38
19
0
My sql configuration
I have installed my sql 5.5 in my laptop but due to some technical reason it got corrupted now please advise me how do I remove the earlier my sql completely and install a fresh again..!
mysql
null
null
null
null
05/20/2012 15:50:46
not a real question
My sql configuration === I have installed my sql 5.5 in my laptop but due to some technical reason it got corrupted now please advise me how do I remove the earlier my sql completely and install a fresh again..!
1
11,367,181
07/06/2012 17:44:04
559,314
12/31/2010 15:03:44
336
8
Is there way to make PDF files from its XML source in ColdFusion?
I need to make some changes to XML source of a PDF file, and save the result as a PDF in ColdFusion. The first part is easy. I do not know how to convert the XML to PDF just like how LifeCycle does! The XML source is exactly the same content that you can see in LifeCycle if you click on XML source (for dynamic pdf f...
xml
pdf
coldfusion
lifecycle
cfpdfform
null
open
Is there way to make PDF files from its XML source in ColdFusion? === I need to make some changes to XML source of a PDF file, and save the result as a PDF in ColdFusion. The first part is easy. I do not know how to convert the XML to PDF just like how LifeCycle does! The XML source is exactly the same content that...
0
4,184,558
11/15/2010 12:58:41
220,129
11/27/2009 16:11:09
648
11
django - query filter on manytomany is empty
In Django is there a way to filter on a manytomany field being empty or null. e.g. class TestModel(models.Model): name = models.CharField(_('set name'), max_length=200) manytomany = models.ManyToManyField('AnotherModel', blank=True, null=True) print TestModel.objects.filter(manyto...
django
django-queryset
django-queries
django-filter
null
null
open
django - query filter on manytomany is empty === In Django is there a way to filter on a manytomany field being empty or null. e.g. class TestModel(models.Model): name = models.CharField(_('set name'), max_length=200) manytomany = models.ManyToManyField('AnotherModel', blank=True, null=True...
0
7,345,728
09/08/2011 09:13:57
934,464
09/08/2011 09:13:57
1
0
How can i instance the objects to each other in Autocad, so that one moves itself with the motion of other one?
I would like to bind 2 cylinders f.e. so that when i move or rotate the one, the other one moves itself too, about the point i defined. Is it possible? I use the version 2008. Thanks
autocad
null
null
null
null
09/10/2011 11:34:08
off topic
How can i instance the objects to each other in Autocad, so that one moves itself with the motion of other one? === I would like to bind 2 cylinders f.e. so that when i move or rotate the one, the other one moves itself too, about the point i defined. Is it possible? I use the version 2008. Thanks
2
5,484,188
03/30/2011 08:59:15
637,118
02/28/2011 04:05:20
3
0
Android explorer
i developing an classified booking android application in this i need a Exploring functionality that enable user to find the image from the sd card,i used the fallowing code.. public class AndroidExplorer extends ListActivity { private List<String> item = null; private List<String> path = null; private Str...
android
null
null
null
null
03/31/2011 04:28:18
not a real question
Android explorer === i developing an classified booking android application in this i need a Exploring functionality that enable user to find the image from the sd card,i used the fallowing code.. public class AndroidExplorer extends ListActivity { private List<String> item = null; private List<String> path...
1
8,693,450
01/01/2012 14:06:17
584,081
01/21/2011 06:59:32
203
0
Read bytes from an Exe
void CCCryptoKeyDlg::OnBnClickedButton3() { ifstream::pos_type size; char * buffer; ifstream file(this->filepath,ios::ate); if(file.is_open()){ size = file.tellg(); buffer = new char [size]; file.seekg(0,ios::beg); file.read(buffer, size); ...
c++
ifstream
null
null
null
03/22/2012 23:30:37
not a real question
Read bytes from an Exe === void CCCryptoKeyDlg::OnBnClickedButton3() { ifstream::pos_type size; char * buffer; ifstream file(this->filepath,ios::ate); if(file.is_open()){ size = file.tellg(); buffer = new char [size]; file.seekg(0,ios::beg); file...
1
2,860,252
05/18/2010 19:05:39
325,684
04/26/2010 03:42:24
20
0
g++ doesn't think I'm passing a reference
When I call a method that takes a reference, g++ complains that I'm not passing a reference. I thought that the caller didn't have to do anything different for PBR. Here's the offending code: //method definition void addVertexInfo(VertexInfo &vi){vertexInstances.push_back(vi);} //method call: ...
c++
pass-by-reference
g++
null
null
null
open
g++ doesn't think I'm passing a reference === When I call a method that takes a reference, g++ complains that I'm not passing a reference. I thought that the caller didn't have to do anything different for PBR. Here's the offending code: //method definition void addVertexInfo(VertexInfo &vi){vertexInstan...
0
7,479,612
09/20/2011 03:00:42
244,330
01/05/2010 22:57:28
301
5
How to keep an object parameter unchanged in a Runnable Class in Java?
I have a Runnable class like: Class R1 implements Runnable { private final ObjectClass obj; public R1(ObjectClass obj) { this.obj = obj; } @override public void run() { String value = obj.getSomeValue(); // some actions. } ...
java
multithreading
runnable
null
null
null
open
How to keep an object parameter unchanged in a Runnable Class in Java? === I have a Runnable class like: Class R1 implements Runnable { private final ObjectClass obj; public R1(ObjectClass obj) { this.obj = obj; } @override public void run() { ...
0
8,458,293
12/10/2011 17:11:24
808,648
06/21/2011 14:39:54
11
0
Please help me, ot is imoirtant or me
I can connect to MS SQL from my program by the name of my computer, But when I write IP instead of computer name, it gives an error. Let me note that IP is correct.
sql-server
null
null
null
null
12/11/2011 02:37:33
not a real question
Please help me, ot is imoirtant or me === I can connect to MS SQL from my program by the name of my computer, But when I write IP instead of computer name, it gives an error. Let me note that IP is correct.
1
11,430,125
07/11/2012 09:59:58
1,401,950
05/17/2012 20:35:28
65
1
how to check if a frame was exited by the user clicking the close button?
how to can I check if a frame was exited by the user clicking the close button. I need to know because I have two wx.frames, a child and parent. When the parent frame is closed the how do I close the child frame? I'm using wxpython
python
gui
wxpython
null
null
null
open
how to check if a frame was exited by the user clicking the close button? === how to can I check if a frame was exited by the user clicking the close button. I need to know because I have two wx.frames, a child and parent. When the parent frame is closed the how do I close the child frame? I'm using wxpython
0
11,171,793
06/23/2012 18:06:32
1,469,887
06/20/2012 16:23:39
1
0
MySQL and VB 2010 Ultimate
Can somebody teach me how to connect and manipulate database tables using MySQL 5.x and Visual Basic 2010? Thanks!
mysql
null
null
null
null
06/23/2012 21:14:55
not a real question
MySQL and VB 2010 Ultimate === Can somebody teach me how to connect and manipulate database tables using MySQL 5.x and Visual Basic 2010? Thanks!
1
3,592,163
08/28/2010 19:44:17
188,516
10/12/2009 15:39:45
123
1
What developer sites accept articles and reviews?
Could you please drop here a few links to software developer sites or blogs that accept software reviews or articles? BR Murat
.net
blogs
review
null
null
08/30/2010 11:36:44
off topic
What developer sites accept articles and reviews? === Could you please drop here a few links to software developer sites or blogs that accept software reviews or articles? BR Murat
2
8,183,065
11/18/2011 13:20:50
809,953
06/22/2011 08:26:17
426
17
How can i set and access config variables in rails 3
I want to make some environment variables. How can i set/get them? Thank you
ruby-on-rails
ruby
null
null
null
11/19/2011 05:09:47
not a real question
How can i set and access config variables in rails 3 === I want to make some environment variables. How can i set/get them? Thank you
1
11,426,330
07/11/2012 05:51:53
1,400,865
05/17/2012 11:32:45
51
2
Low memory Warning Issue
All the used viewcontrollers and controls are released and deallocated upto my knowledge and Also tracked through Instrument and generic Analyzer. But my app receives low memory warning Issue. i have heard abt low memory warning levels.If they exists how to identify them via notification. Meanwhile my app consumes o...
objective-c
ios
ipad
memory-leaks
low-memory
null
open
Low memory Warning Issue === All the used viewcontrollers and controls are released and deallocated upto my knowledge and Also tracked through Instrument and generic Analyzer. But my app receives low memory warning Issue. i have heard abt low memory warning levels.If they exists how to identify them via notification...
0
10,816,032
05/30/2012 12:12:36
828,963
07/05/2011 03:59:29
10
0
Make this loop simple (print Letter D in Java using loop)
I try to print letter D on console, but I couldn't help the code is longer than my expectation. Could you help me.... there are another way to reduce this code? Thank you. This is my code: <pre> public class LetterD { public static void main(String[] args) { for(int i = 1;i<=14;i++){ ...
java
loops
for-loop
null
null
06/01/2012 09:52:43
too localized
Make this loop simple (print Letter D in Java using loop) === I try to print letter D on console, but I couldn't help the code is longer than my expectation. Could you help me.... there are another way to reduce this code? Thank you. This is my code: <pre> public class LetterD { public static voi...
3
9,521,048
03/01/2012 17:32:16
325,533
04/25/2010 19:49:52
65
1
empty tbody on click
I am trying to empty all the rows inside the tbody on click of a new row. This is the javascript i am using: $('#pro tr').click(function() { $('#pro_basket > tbody').empty(); $.ajax({ type: "post", url: "data.php", data: "index="+index, success: function(data)...
javascript
jquery
null
null
null
04/06/2012 17:21:33
not a real question
empty tbody on click === I am trying to empty all the rows inside the tbody on click of a new row. This is the javascript i am using: $('#pro tr').click(function() { $('#pro_basket > tbody').empty(); $.ajax({ type: "post", url: "data.php", data: "index="+index, ...
1
10,906,167
06/05/2012 22:57:50
1,044,876
11/14/2011 03:08:40
11
0
Windows Phone + SSH Library?
i am willing to create an SSH client for Windows Phone. I am looking for a good FREE Library i could re-use or an affordable one. Any ideas? Thanks in advance!
c#
windows-phone-7
ssh
null
null
06/06/2012 13:10:41
not constructive
Windows Phone + SSH Library? === i am willing to create an SSH client for Windows Phone. I am looking for a good FREE Library i could re-use or an affordable one. Any ideas? Thanks in advance!
4
8,588,657
12/21/2011 10:52:08
1,106,450
12/19/2011 17:54:20
1
2
Loading a <script> element after the document has loaded
I would like to execute some Javascript after the document has loaded and even after the document.onload functions have been executed. Situation: I'm loading a text-edit field through ajax. When the user submits the form, he is redirected to a PHP file. That PHP file redirects him back to "file.php" using header(...
javascript
jquery
load
document.ready
null
12/21/2011 11:48:29
not a real question
Loading a <script> element after the document has loaded === I would like to execute some Javascript after the document has loaded and even after the document.onload functions have been executed. Situation: I'm loading a text-edit field through ajax. When the user submits the form, he is redirected to a PHP file...
1
5,786,989
04/26/2011 06:55:16
152,308
08/07/2009 07:07:58
122
2
Web hosting provider for Symfony 2?
As everyone knows, PHP 5.3 is not supported by all web hosting providers. I would be happy to hear about your experience and I would like you to recommend to me a good web hosting provider. Any suggestion?
php
php5
web-hosting
php-5.3
symfony-2.0
04/26/2011 19:51:34
off topic
Web hosting provider for Symfony 2? === As everyone knows, PHP 5.3 is not supported by all web hosting providers. I would be happy to hear about your experience and I would like you to recommend to me a good web hosting provider. Any suggestion?
2
3,680,019
09/09/2010 19:44:21
172,543
09/12/2009 17:00:05
518
15
logic for solving a sequence.
sequence goes like this.. `7,8,77,78,87,88,777,778,787,788` and so on.. what can be the logic for finding the nth number of the sequence? I tried that by dividing it by 2 and then by 4 and hence but it doesn't seem to work.
algorithm
logic
null
null
null
09/12/2010 02:41:41
off topic
logic for solving a sequence. === sequence goes like this.. `7,8,77,78,87,88,777,778,787,788` and so on.. what can be the logic for finding the nth number of the sequence? I tried that by dividing it by 2 and then by 4 and hence but it doesn't seem to work.
2
4,760,681
01/21/2011 15:42:41
472,537
10/11/2010 17:29:30
235
4
OpenGL ES rotate the world
How i can rotate the all world by 15 degrees on the Z axis?
opengl-es
null
null
null
null
null
open
OpenGL ES rotate the world === How i can rotate the all world by 15 degrees on the Z axis?
0
2,838,728
05/15/2010 02:51:50
266,406
02/04/2010 17:21:36
61
0
rewrite URL for PUT request
I changed the way my URL are working on my server. It is now `www.myserver.com/service` instead of `www.myserver.com/test/service` I have added a RedirectMatch 301 to my Apache conf file to redirect any access to `www.myserver.com/test` to `www.myserver.com/`. I am receiving file to this server via an HTTP PUT a...
put
http
apache
null
null
null
open
rewrite URL for PUT request === I changed the way my URL are working on my server. It is now `www.myserver.com/service` instead of `www.myserver.com/test/service` I have added a RedirectMatch 301 to my Apache conf file to redirect any access to `www.myserver.com/test` to `www.myserver.com/`. I am receiving file...
0
9,451,102
02/26/2012 06:35:18
617,844
02/15/2011 13:22:14
1
0
Reading data from Any Excel
Please how can I read data from ANY excel file in C#, like have a program work on any excel file in any location on my drive
c#
excel
null
null
null
02/26/2012 09:07:02
not a real question
Reading data from Any Excel === Please how can I read data from ANY excel file in C#, like have a program work on any excel file in any location on my drive
1
4,701,558
01/15/2011 19:08:48
576,960
01/15/2011 19:08:48
1
0
Are temporary objects in C++ const indeed?
I always believed that temporary objects in C++ are automatically considered as const by the compiler. But recently I experienced that the following example of code: <code> function_returning_object().some_non_const_method(); </code> is valid for C++ compiler. And it makes me wonder - are temporary objects in C...
c++
const
temporary
null
null
null
open
Are temporary objects in C++ const indeed? === I always believed that temporary objects in C++ are automatically considered as const by the compiler. But recently I experienced that the following example of code: <code> function_returning_object().some_non_const_method(); </code> is valid for C++ compiler. And...
0
10,559,377
05/11/2012 22:25:58
1,364,952
04/30/2012 02:37:29
6
0
jQuery doing what it's suppose to on all the pages except ONE
Here is my script: http://jsfiddle.net/9cnGC/11/ I was wondering if anyone can help me with this fiddle and maybe clean it up a bit so it can run more efficiently? I believe it is because there is another instance of jQuery running on the page. Which is messing with this script here, but I am not sure what is wro...
javascript
jquery
html
css
null
05/14/2012 13:24:34
too localized
jQuery doing what it's suppose to on all the pages except ONE === Here is my script: http://jsfiddle.net/9cnGC/11/ I was wondering if anyone can help me with this fiddle and maybe clean it up a bit so it can run more efficiently? I believe it is because there is another instance of jQuery running on the page. Wh...
3
8,398,455
12/06/2011 10:34:17
994,894
10/14/2011 06:56:15
1
0
Add offline dictionary
I want to add offline dictionary feature in my source code. I am using cocos2dx. but I am not getting hot to add it? Is it require any api and from where I will get it? Kindly help.. Thanks,
iphone
null
null
null
null
12/07/2011 00:31:55
not a real question
Add offline dictionary === I want to add offline dictionary feature in my source code. I am using cocos2dx. but I am not getting hot to add it? Is it require any api and from where I will get it? Kindly help.. Thanks,
1
3,897,870
10/09/2010 21:04:40
471,162
10/09/2010 21:04:40
1
0
Split string of 2 words in separate words [but sometimes there is only word in the string...]
I have strings like "AMS.I-I.D. ver.5" and "AM0011 ver. 2", of which the "ver. *" needs to be stripped. i have done that with: (^A.*)(ver.\s\d{1,2}) the problem occurs when there is no version nr. like "AM0003". how can i make the (ver.\s\d{1,2}) part optional? help much appreciated, tried everything already...
regex
string
split
null
null
null
open
Split string of 2 words in separate words [but sometimes there is only word in the string...] === I have strings like "AMS.I-I.D. ver.5" and "AM0011 ver. 2", of which the "ver. *" needs to be stripped. i have done that with: (^A.*)(ver.\s\d{1,2}) the problem occurs when there is no version nr. like "AM0003". h...
0
6,352,618
06/15/2011 03:09:50
798,842
06/15/2011 03:09:50
1
0
Do i need a mac as i am outsourcing development?
I am outsourcing the development of my app but a technical req. of the apple dev. program is a mac. Is this relevant to me?I use a hp laptop.
iphone
osx
application
outsourcing
null
06/15/2011 03:22:01
off topic
Do i need a mac as i am outsourcing development? === I am outsourcing the development of my app but a technical req. of the apple dev. program is a mac. Is this relevant to me?I use a hp laptop.
2
6,952,799
08/05/2011 07:19:35
880,067
08/05/2011 07:16:17
1
0
getElementById("") from dynamic conteiner php
i make one slide show in php..... somewhere in my code generate dynamic... <div id="slider-container"> </div> this make below code: (show from safari inspect element) ------------------------------------------------------------------------------------------ <table cellpadding="0" cellspacing="0"...
php
getelementbyid
null
null
null
08/05/2011 09:39:46
not a real question
getElementById("") from dynamic conteiner php === i make one slide show in php..... somewhere in my code generate dynamic... <div id="slider-container"> </div> this make below code: (show from safari inspect element) -----------------------------------------------------------------------------------...
1
5,722,588
04/19/2011 20:56:13
715,992
04/19/2011 20:56:13
1
0
Format number in PHP
I would like to format number with decimal places to format without decimal places, example: 146.5 to 146500000. How can i achieve this in PHP? Thank you.
php
null
null
null
null
null
open
Format number in PHP === I would like to format number with decimal places to format without decimal places, example: 146.5 to 146500000. How can i achieve this in PHP? Thank you.
0
9,141,395
02/04/2012 13:58:20
1,189,409
02/04/2012 13:54:24
1
0
Scheme/Prolog finding all positions of an element in a list
I need help finding the first position of an element in a list and then finding all positions of the same element in both Scheme and Prolog for a really late exam for a course I did half a year ago and can't remember ANYTHING :( Any ideas?
list
scheme
prolog
position
element
02/11/2012 05:17:01
not a real question
Scheme/Prolog finding all positions of an element in a list === I need help finding the first position of an element in a list and then finding all positions of the same element in both Scheme and Prolog for a really late exam for a course I did half a year ago and can't remember ANYTHING :( Any ideas?
1
4,826,771
01/28/2011 09:46:08
286,295
03/04/2010 13:46:51
109
3
RewriteRule help needed
Could anyone help me with this RewriteRule: mydomain.com/article/12 -> mydomain.com/?news=12 mydomain.com/page/55/article/12 -> mydomain.com/?page=55&news=12 Here is my unsuccessful attempt: Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule page/([0-9]+)/article/([...
.htaccess
mod-rewrite
url-rewriting
null
null
01/28/2011 12:35:06
too localized
RewriteRule help needed === Could anyone help me with this RewriteRule: mydomain.com/article/12 -> mydomain.com/?news=12 mydomain.com/page/55/article/12 -> mydomain.com/?page=55&news=12 Here is my unsuccessful attempt: Options +FollowSymLinks RewriteEngine On RewriteBase / Rewrite...
3
3,886,734
10/07/2010 23:45:56
188,826
10/13/2009 04:01:36
361
2
ASP.NET MVC 3 Publish doesn't work
Looks like Publish doesn't copy Razor views at ASP.NET MVC 3 Beta. Is it a known limitation of Beta? Will it be fixed at release?
c#
.net
asp.net-mvc
null
null
null
open
ASP.NET MVC 3 Publish doesn't work === Looks like Publish doesn't copy Razor views at ASP.NET MVC 3 Beta. Is it a known limitation of Beta? Will it be fixed at release?
0
11,028,147
06/14/2012 06:57:35
1,427,808
05/31/2012 07:48:31
1
0
how to create custom annotations with logics inside in JAVA
I want to create a annotation which searches for the method name starting with a word given in the annotation and execute the method. I am new to annotations and i know that there are some inbuilt annotations like @override,@suppressWarnigs, @documented, @Retention, @deprecated, @target. Are there any more annota...
java
null
null
null
null
06/15/2012 01:34:10
not a real question
how to create custom annotations with logics inside in JAVA === I want to create a annotation which searches for the method name starting with a word given in the annotation and execute the method. I am new to annotations and i know that there are some inbuilt annotations like @override,@suppressWarnigs, @documente...
1
5,602,857
04/09/2011 04:22:55
699,610
04/09/2011 03:52:32
1
0
PHP not working with MySQL query?
This is a really simple MySQL query that I always use, but somehow for one of my website scripts, it just does not work. Not just for one place in the webpage, but multiple areas including the login and content pulling. I checked everything including if I had my site connecting to the MySQL database server correctly or...
php
mysql
null
null
null
null
open
PHP not working with MySQL query? === This is a really simple MySQL query that I always use, but somehow for one of my website scripts, it just does not work. Not just for one place in the webpage, but multiple areas including the login and content pulling. I checked everything including if I had my site connecting to...
0
8,674,299
12/29/2011 22:36:03
483,409
10/21/2010 18:39:53
84
0
why cant they tell the origin of botnets?
I was reading about bot-nets and was wondering why it is not possible to find the origin of these nets and route them out by identifying the origin computer which sets these up ? I perhaps don't understand them very much so pardon my naive question. Theoritically all traffic that originates from every computer...
security
botnet
null
null
null
12/29/2011 22:55:23
off topic
why cant they tell the origin of botnets? === I was reading about bot-nets and was wondering why it is not possible to find the origin of these nets and route them out by identifying the origin computer which sets these up ? I perhaps don't understand them very much so pardon my naive question. Theoritically ...
2
9,702,361
03/14/2012 12:54:01
1,140,157
01/10/2012 05:44:25
208
3
How to assign the NSArray string object values to other NSString variables
NSMutableArray *nameArray = [[NSMutableArray alloc] init]; [nameArray addObject:@"abc"]; [nameArray addObject:@"cdf"]; [nameArray addObject:@"jkl"]; //Use a for each loop to iterate through the array for (NSString *s in nameArray) { NSL...
iphone
objective-c
ios
xcode
null
null
open
How to assign the NSArray string object values to other NSString variables === NSMutableArray *nameArray = [[NSMutableArray alloc] init]; [nameArray addObject:@"abc"]; [nameArray addObject:@"cdf"]; [nameArray addObject:@"jkl"]; //Use a for each loop to iterate thro...
0
9,544,602
03/03/2012 08:14:07
419,284
08/13/2010 07:22:32
139
2
The difference between "object" and "object*"
graph.h struct Edge { int from; int to; int elabel; unsigned int id; Edge(): from(0), to(0), elabel(0), id(0) {}; }; What is the difference between vector<Edge> and vector<Edge*>, i know vector<Edge> is an array store Edge object, but what is the Edge* object? Thanks:)
c++
null
null
null
null
03/03/2012 16:02:36
not constructive
The difference between "object" and "object*" === graph.h struct Edge { int from; int to; int elabel; unsigned int id; Edge(): from(0), to(0), elabel(0), id(0) {}; }; What is the difference between vector<Edge> and vector<Edge*>, i know vector<Edge> is an array store Edge o...
4
11,498,579
07/16/2012 05:34:10
1,527,963
07/16/2012 05:22:46
1
0
What the best way to make a centralized search for entire site like not same but like Facebook?
Would some one please tell me the best way to make a centralized search for entire site like not same but like Facebook. I want to search the member(s), location(s), blog(s) and event(s) through a single search form. There is several way to do this but I need to make it easy and with a optimized database, I don't want ...
php
mysql
facebook
search
null
07/18/2012 02:29:41
not a real question
What the best way to make a centralized search for entire site like not same but like Facebook? === Would some one please tell me the best way to make a centralized search for entire site like not same but like Facebook. I want to search the member(s), location(s), blog(s) and event(s) through a single search form. Th...
1
7,964,785
11/01/2011 09:49:20
59,159
01/26/2009 23:11:48
186
12
Javascript canvas animation slowing down and hogging memory
I'm experimenting with moving shapes in javascript with a canvas tag. I have one half circle (only stroked) which rotates on set intervals. I've written the code so many more can be added. I can give starting rotations and a lot of other handy parameters. I've tried this with twelve circles and it looks exact...
javascript
html5
optimization
animation
canvas
11/01/2011 14:57:22
off topic
Javascript canvas animation slowing down and hogging memory === I'm experimenting with moving shapes in javascript with a canvas tag. I have one half circle (only stroked) which rotates on set intervals. I've written the code so many more can be added. I can give starting rotations and a lot of other handy param...
2
7,081,209
08/16/2011 16:02:14
897,057
08/16/2011 16:02:14
1
0
What is a good resource to learn front end mobile app / browser app development?
When I search for app development I find mostly articles and videos that cover the back end. I am interested in learning just front end development for apps on ios devices and apps on browsers as well. Although these use HTML(5)/CSS/JavaScript there must be special requirements unique to building "web apps" as opposed ...
ios
application
frontend
null
null
08/25/2011 21:30:22
not constructive
What is a good resource to learn front end mobile app / browser app development? === When I search for app development I find mostly articles and videos that cover the back end. I am interested in learning just front end development for apps on ios devices and apps on browsers as well. Although these use HTML(5)/CSS/J...
4
7,028,861
08/11/2011 15:45:25
645,244
03/04/2011 18:30:28
124
2
VB using a ADO Recordset inside a vb function, checking for null
I have some weird behavior that has me perplexed. I created a function in vb (Microsoft Word Macro version of VB) which looks like this: Public Function isitnullorempty(newstring As String) As Boolean If IsNull(newstring) Or IsEmpty(newstring) Or newstring = "" Then isitnullorempty = False ...
function
vba
error-message
null
null
null
open
VB using a ADO Recordset inside a vb function, checking for null === I have some weird behavior that has me perplexed. I created a function in vb (Microsoft Word Macro version of VB) which looks like this: Public Function isitnullorempty(newstring As String) As Boolean If IsNull(newstring) Or IsEmpty(n...
0
9,578,763
03/06/2012 06:09:15
1,163,282
01/22/2012 09:30:04
218
0
I need to replace a C# switch with something more compact
I have the following code: switch (pk.Substring(2, 2)) { case "00": ViewBag.Type = _reference.Get("14", model.Type).Value; break; case "01": ViewBag.Type = _reference....
c#
null
null
null
null
null
open
I need to replace a C# switch with something more compact === I have the following code: switch (pk.Substring(2, 2)) { case "00": ViewBag.Type = _reference.Get("14", model.Type).Value; break; ...
0
11,486,569
07/14/2012 19:04:08
1,247,110
03/03/2012 17:09:05
13
0
How to go about adding a navbar to this page?
I'm making a relatively simple website and I've ran into trouble where I least expected it. My navigation bar, after being redone 3 times, still didn't give me the result I was looking for. I copied some code and plopped a placeholder in there for now, but I'd like to get a pointer as to how I can achieve the look I'm ...
html
css
null
null
null
07/15/2012 04:08:40
too localized
How to go about adding a navbar to this page? === I'm making a relatively simple website and I've ran into trouble where I least expected it. My navigation bar, after being redone 3 times, still didn't give me the result I was looking for. I copied some code and plopped a placeholder in there for now, but I'd like to ...
3
8,708,514
01/03/2012 06:04:03
1,122,530
12/30/2011 07:12:39
16
0
Step by Step walkthrough to host WCF service in Windows Azure
I need to host my **WCF** service in **Azure** and as a beginner I want to know the steps involved in hosting and configuring the service.(also interested to know about **WorkerRole** and **WebRole**). Plz help me out.
c#
wcf
azure
null
null
01/03/2012 08:51:35
not a real question
Step by Step walkthrough to host WCF service in Windows Azure === I need to host my **WCF** service in **Azure** and as a beginner I want to know the steps involved in hosting and configuring the service.(also interested to know about **WorkerRole** and **WebRole**). Plz help me out.
1