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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10,474,412 | 05/06/2012 21:21:08 | 920,796 | 08/31/2011 01:44:54 | 316 | 0 | What steps run when it executes the '@article.user = @user' code? | I am using Ruby on Rails 3.2.2 and I would like to know *exactly* what steps run when it executes the following code assuming that `@user` and `@article` are class instances and the related association exists:
@article.user = @user
*I am looking for the source code* that handles that operation, but I can't fi... | ruby-on-rails | ruby | ruby-on-rails-3 | class | associations | null | open | What steps run when it executes the '@article.user = @user' code?
===
I am using Ruby on Rails 3.2.2 and I would like to know *exactly* what steps run when it executes the following code assuming that `@user` and `@article` are class instances and the related association exists:
@article.user = @user
*I am l... | 0 |
6,957,629 | 08/05/2011 14:08:38 | 603,019 | 02/04/2011 11:00:01 | 584 | 2 | Windows Forms Timer doesn't stop. How is that possible? | During debugging I can see that after `Timer.Stop()` or `Timer.Enabled = false` commands are executed, Timer is still running (Timer.Enabled = true). How is that possible? | c# | .net | winforms | debugging | timer | null | open | Windows Forms Timer doesn't stop. How is that possible?
===
During debugging I can see that after `Timer.Stop()` or `Timer.Enabled = false` commands are executed, Timer is still running (Timer.Enabled = true). How is that possible? | 0 |
1,349,854 | 08/28/2009 23:23:46 | 93,399 | 04/20/2009 19:20:37 | 987 | 74 | Useful JavaScript/JQuery libraries? | Being rather new to the whole JavaScript/JQuery/JQueryUI lark, I have just discovered the [Yahoo User Interface Library][1] and was wondering if there are any other similar (i.e. free and fully functionaly) JavaScript libraries out on the web that I should be aware of? Mainly around UI design, although "programming" li... | javascript | jquery | jquery-ui | null | null | 07/14/2012 00:39:16 | not constructive | Useful JavaScript/JQuery libraries?
===
Being rather new to the whole JavaScript/JQuery/JQueryUI lark, I have just discovered the [Yahoo User Interface Library][1] and was wondering if there are any other similar (i.e. free and fully functionaly) JavaScript libraries out on the web that I should be aware of? Mainly ar... | 4 |
3,646,063 | 09/05/2010 12:32:44 | 438,046 | 09/02/2010 13:56:17 | 1 | 0 | Display the link but not the CCK form. | I have created a form using add new content type and cck fields. I want anonymous users to view the menu item to this form but not the content. So when users click on the link they should get redirected to login page. I have granted the permissions of access all content. Any suggestions please.
Thanks
Kanwal | drupal | null | null | null | null | null | open | Display the link but not the CCK form.
===
I have created a form using add new content type and cck fields. I want anonymous users to view the menu item to this form but not the content. So when users click on the link they should get redirected to login page. I have granted the permissions of access all content. Any ... | 0 |
2,474,861 | 03/19/2010 03:43:14 | 296,238 | 03/18/2010 05:35:53 | 1 | 3 | Shortest Ruby Quine | Just finished reading this blog post: http://www.skorks.com/2010/03/an-interview-question-that-prints-out-its-own-source-code-in-ruby/
In it, the author argues the case for using a quine as an interview question. I'm not sure I agree but thats not what this question is about.
He goes on to construct a quine in R... | ruby | quine | short | null | null | 01/10/2012 00:51:05 | not constructive | Shortest Ruby Quine
===
Just finished reading this blog post: http://www.skorks.com/2010/03/an-interview-question-that-prints-out-its-own-source-code-in-ruby/
In it, the author argues the case for using a quine as an interview question. I'm not sure I agree but thats not what this question is about.
He goes on ... | 4 |
3,659,049 | 09/07/2010 13:27:44 | 440,279 | 09/06/2010 00:57:16 | 11 | 1 | Extracting everything outside of html and xml tags from a web page without a parser - using scanner and regex | Working on Android SDK, it's java minus some things.
I have a solution that pulls out two regex patterns from web pages. The problems I'm having is that it's finding things inside html tags. I tried jTidy, but it was just too slow on the Android. Not sure why but my scanner regex match solution whips it many times ... | regex | html-parsing | scanner | inputstream | null | null | open | Extracting everything outside of html and xml tags from a web page without a parser - using scanner and regex
===
Working on Android SDK, it's java minus some things.
I have a solution that pulls out two regex patterns from web pages. The problems I'm having is that it's finding things inside html tags. I tried jT... | 0 |
11,563,400 | 07/19/2012 14:48:19 | 1,512,504 | 07/09/2012 16:01:39 | 8 | 0 | White Space Bug With List Using Internet Explorer | I have researched this problem quite a bit, but still cannot find a fix. IE adds a massive amount of white space under each item in my unordered list and fixes like adding a border to the bottom, setting the display inline, etc have not been working.
CSS:
body
{
font-family: Carbon Block;
fo... | list | bugs | internet | whitespace | explorer | 07/20/2012 01:44:21 | too localized | White Space Bug With List Using Internet Explorer
===
I have researched this problem quite a bit, but still cannot find a fix. IE adds a massive amount of white space under each item in my unordered list and fixes like adding a border to the bottom, setting the display inline, etc have not been working.
CSS:
... | 3 |
788,407 | 04/25/2009 06:56:38 | 83,013 | 03/26/2009 09:27:35 | 3 | 1 | Spidermonkey pointing to a NSPR/DIST directory, HELP! | I've been trying to cross-compile Spidermonkey and I am stuck with the problem wherein prtypes.h(NSPR) is unrecognizable. I alread triedy modifying Makefile.ref/config.mk/jsconfig.mk to point to a desired NSPR/DIS directory. I must have missed some basic steps because it still won't make things work.
Do you have any i... | nspr | spidermonkey | mozilla-plugin | mozila | cross-compile | null | open | Spidermonkey pointing to a NSPR/DIST directory, HELP!
===
I've been trying to cross-compile Spidermonkey and I am stuck with the problem wherein prtypes.h(NSPR) is unrecognizable. I alread triedy modifying Makefile.ref/config.mk/jsconfig.mk to point to a desired NSPR/DIS directory. I must have missed some basic steps ... | 0 |
11,072,657 | 06/17/2012 15:48:16 | 1,445,920 | 06/09/2012 07:49:56 | 1 | 1 | Can I convert an iphone app on android within a specific time? | I have made an application which is using simple navigation, IBactions and some animation. I want to also convert it onto android platform but I dont have any idea about it. So i want to ask that can I convert it into 20-25 days or not? B/c I dont have extra time. | android | iphone | null | null | null | 06/17/2012 15:58:36 | not constructive | Can I convert an iphone app on android within a specific time?
===
I have made an application which is using simple navigation, IBactions and some animation. I want to also convert it onto android platform but I dont have any idea about it. So i want to ask that can I convert it into 20-25 days or not? B/c I dont have... | 4 |
11,374,892 | 07/07/2012 12:12:07 | 1,508,685 | 07/07/2012 12:06:30 | 1 | 0 | about jquery not working in my joomla 1.5 template | about jquery not working in my joomla 1.5 template.I used a slider in my template which has a j-query involved in it. | javascript | jquery | null | null | null | 07/08/2012 23:02:23 | not a real question | about jquery not working in my joomla 1.5 template
===
about jquery not working in my joomla 1.5 template.I used a slider in my template which has a j-query involved in it. | 1 |
11,170,670 | 06/23/2012 15:25:10 | 1,453,439 | 06/13/2012 10:44:53 | 1 | 0 | SSL certificate | How to generate SSL certificate on Window 7 and cPanel
In my projecct i need SSL Certificate
I want to generate ssl certificate on windows 7
I have cPanel account
I want a SSL certificate which can work on Both windows and cpanel
I dont know how to use SSL Certificate in Secure pages of php
so please guid... | ssl | openssl | ssl-certificate | cpanel | null | 06/23/2012 15:36:12 | off topic | SSL certificate
===
How to generate SSL certificate on Window 7 and cPanel
In my projecct i need SSL Certificate
I want to generate ssl certificate on windows 7
I have cPanel account
I want a SSL certificate which can work on Both windows and cpanel
I dont know how to use SSL Certificate in Secure pages o... | 2 |
6,892,717 | 07/31/2011 22:21:11 | 39,677 | 11/03/2008 21:48:03 | 10,934 | 6 | Help designing a dynamic form generator using helpers | So my database has a list of form elements that I need to generate on a page, these form elements are like:
text boxes, text areas, drop down lists, etc.
If you had to do this, would you use the built in helpers in rails? I'm not too familiar with using the helpers and figured I would have more control if I just... | ruby-on-rails | null | null | null | null | 08/01/2011 05:01:22 | not a real question | Help designing a dynamic form generator using helpers
===
So my database has a list of form elements that I need to generate on a page, these form elements are like:
text boxes, text areas, drop down lists, etc.
If you had to do this, would you use the built in helpers in rails? I'm not too familiar with using ... | 1 |
3,680,986 | 09/09/2010 22:22:34 | 73,398 | 03/03/2009 21:07:58 | 370 | 3 | Trace unmanaged function calls at runtime? | Is it possible to generate a tree of function calls at runtime? I'd like to get a feel of what the program is calling.
This is essentially the same as breaking at a particular location, stepping through each function, and recording down what the function names are. I have no performance constraints.
I am using Vi... | c++ | windows | visual-studio | trace | null | null | open | Trace unmanaged function calls at runtime?
===
Is it possible to generate a tree of function calls at runtime? I'd like to get a feel of what the program is calling.
This is essentially the same as breaking at a particular location, stepping through each function, and recording down what the function names are. I h... | 0 |
2,414,085 | 03/10/2010 02:15:12 | 123,915 | 06/16/2009 20:25:47 | 141 | 10 | How do you transfer data from MS SQL to db4o? | I came across this question after searching for a ODBC or JDBC. To my surprise, since I am new to db4o I found there are tools to browse db4o, including a Netbeans and Eclipse plug in. However, when it comes to the question at hand, I only found one company, and the product is not being sold nor demoed (makes me think ... | db4o | sql-server | null | null | null | null | open | How do you transfer data from MS SQL to db4o?
===
I came across this question after searching for a ODBC or JDBC. To my surprise, since I am new to db4o I found there are tools to browse db4o, including a Netbeans and Eclipse plug in. However, when it comes to the question at hand, I only found one company, and the pr... | 0 |
7,153,635 | 08/22/2011 21:09:07 | 906,659 | 08/22/2011 21:09:07 | 1 | 0 | Displaying jobs from different hudson masters in one hudson view | How can I display the jobs from different hudson masters at one place or in one hudson view?
I don't have an alternative of using a single hudson master. Using iframes and hrefs in view "description" seem not be a clean solution. Is there a way by which hudson view can be modified to display jobs from different hudso... | hudson | null | null | null | null | null | open | Displaying jobs from different hudson masters in one hudson view
===
How can I display the jobs from different hudson masters at one place or in one hudson view?
I don't have an alternative of using a single hudson master. Using iframes and hrefs in view "description" seem not be a clean solution. Is there a way by ... | 0 |
949,937 | 06/04/2009 11:24:10 | 3,685 | 08/29/2008 22:02:10 | 270 | 33 | WIN32 memory issue (differences between debug/release). | I'm currently working on a legacy app (win32, Visual C++ 2005) that allocates memory using LocalAlloc (in a supplied library I can't change). The app keeps very large state in fixed memory (created at the start with multiple calls to LocalAlloc( LPTR, size)). I notice that in release mode I run out of memory at about 1... | c | c++ | winapi | null | null | null | open | WIN32 memory issue (differences between debug/release).
===
I'm currently working on a legacy app (win32, Visual C++ 2005) that allocates memory using LocalAlloc (in a supplied library I can't change). The app keeps very large state in fixed memory (created at the start with multiple calls to LocalAlloc( LPTR, size)).... | 0 |
806,144 | 04/30/2009 09:42:05 | 42,475 | 12/02/2008 15:10:57 | 2,841 | 128 | Tricks, hints, shortcuts in documentation | Which tricks, hints or shortcuts do you use regularly when you document your sourcecode?
What type of comment does help you most (or is most desired) when looking over a piece of sourcecode.
For an example, we always use date, shortcut of name and a +, -, * (added, deletet/commented, modified) and then some descr... | documentation | source-code | language-agnostic | hints-and-tips | null | 11/27/2011 17:35:46 | not constructive | Tricks, hints, shortcuts in documentation
===
Which tricks, hints or shortcuts do you use regularly when you document your sourcecode?
What type of comment does help you most (or is most desired) when looking over a piece of sourcecode.
For an example, we always use date, shortcut of name and a +, -, * (added, d... | 4 |
11,389,611 | 07/09/2012 05:45:32 | 280,174 | 02/24/2010 09:08:55 | 2,308 | 96 | Wifi finder/connector | I have noticed a lot of wifi finder apps in the app store. Do they actually detect wifi hotspots or do they just have a giant database with all the hotspots? If they do detect then how do they do it?
Thanks,
Manjunath | iphone | ipad | ios5 | iphone-sdk-4.0 | ios4 | 07/10/2012 17:23:45 | off topic | Wifi finder/connector
===
I have noticed a lot of wifi finder apps in the app store. Do they actually detect wifi hotspots or do they just have a giant database with all the hotspots? If they do detect then how do they do it?
Thanks,
Manjunath | 2 |
8,671,389 | 12/29/2011 17:53:09 | 240,385 | 12/29/2009 18:49:27 | 82 | 2 | jquery-file-upload plugin | I am trying to implement a jquery file upload for grails. I am using this plugin here [grails jquery-file-upload][1]
unfortunately, there densest seem to be any document ion on how to implement it in a grails environment. I have been struggling with it for days now. I am able to get the front end to work but I am... | jquery | grails | jquery-plugins | grails-plugin | grails-controller | null | open | jquery-file-upload plugin
===
I am trying to implement a jquery file upload for grails. I am using this plugin here [grails jquery-file-upload][1]
unfortunately, there densest seem to be any document ion on how to implement it in a grails environment. I have been struggling with it for days now. I am able to get... | 0 |
10,831,059 | 05/31/2012 09:39:08 | 1,218,285 | 02/18/2012 16:21:26 | 48 | 1 | SQL CE 3.5 Duplicate Records | been doing some research on finding a solution to my problem with little luck! Is there a SQL keyword which allows me to easily remove duplicate records from a table (SQLCE Compatible)? If not could any of you guys possibly know any resources which can help?
Thanks in advance. | c# | sql | database | sql-server-ce | null | null | open | SQL CE 3.5 Duplicate Records
===
been doing some research on finding a solution to my problem with little luck! Is there a SQL keyword which allows me to easily remove duplicate records from a table (SQLCE Compatible)? If not could any of you guys possibly know any resources which can help?
Thanks in advance. | 0 |
9,306,420 | 02/16/2012 06:12:23 | 1,213,150 | 02/16/2012 06:09:07 | 1 | 0 | CoffeeScript for Java | CoffeeScript is so cool. If there is any language use the coffee syntax but running on jvm, like groovy, scala?
Python's syntax is not cool. i can't use so many __xx__,self in my code, that's ugly. | java | jvm | coffeescript | null | null | 02/16/2012 06:53:03 | not constructive | CoffeeScript for Java
===
CoffeeScript is so cool. If there is any language use the coffee syntax but running on jvm, like groovy, scala?
Python's syntax is not cool. i can't use so many __xx__,self in my code, that's ugly. | 4 |
3,770,558 | 09/22/2010 14:57:59 | 371,471 | 06/20/2010 10:16:34 | -3 | 0 | ASP.NET Applications - Development with thunder fast speed | .
Dear All,
We are working on ASP.NET applications development (in different domains). Management is expecting the applications development with thunder fast speed. They are not much bothered about the code quality.
So in this case, could any paid/free software/plug-ins/modules can help us? If ... | asp.net | application | null | null | null | 09/22/2010 15:20:46 | not a real question | ASP.NET Applications - Development with thunder fast speed
===
.
Dear All,
We are working on ASP.NET applications development (in different domains). Management is expecting the applications development with thunder fast speed. They are not much bothered about the code quality.
So in this case, ... | 1 |
4,536,595 | 12/27/2010 04:18:15 | 45,963 | 12/13/2008 12:23:04 | 2,157 | 43 | How can I make the mouse cursor disappear in opengl/glut? | I'm interested in making the mouse cursor invisible while using opengl + glut, how can I do this? | opengl | glut | null | null | null | null | open | How can I make the mouse cursor disappear in opengl/glut?
===
I'm interested in making the mouse cursor invisible while using opengl + glut, how can I do this? | 0 |
11,262,995 | 06/29/2012 13:49:04 | 1,034,137 | 11/07/2011 16:48:37 | 1 | 0 | IE 9 Javascript Window Variable is null.. Works on IE 8 | at some point in my code, I access a javascript variable this way:
var DASHBOARD = document.parentWindow.parent.Dashboard;
Where parent's value is {object Window} and its type is DispHTMLWindow2.
It works OK on IE8 or in IE9 compatibility view but when I cannot make it work on IE9.
On IE9, the value of do... | javascript | internet-explorer-8 | internet-explorer-9 | null | null | null | open | IE 9 Javascript Window Variable is null.. Works on IE 8
===
at some point in my code, I access a javascript variable this way:
var DASHBOARD = document.parentWindow.parent.Dashboard;
Where parent's value is {object Window} and its type is DispHTMLWindow2.
It works OK on IE8 or in IE9 compatibility view but ... | 0 |
3,423,711 | 08/06/2010 12:26:50 | 413,024 | 08/06/2010 12:26:50 | 1 | 0 | css hack for mac safari or safari 4 | I am looking forward for css hack only for safari 4 ..that should not also work for safari 5.
or else some css specific to mac safari.
Please let me know as soon as possible..
thank you ... | css | null | null | null | null | 04/18/2012 19:39:22 | not a real question | css hack for mac safari or safari 4
===
I am looking forward for css hack only for safari 4 ..that should not also work for safari 5.
or else some css specific to mac safari.
Please let me know as soon as possible..
thank you ... | 1 |
7,066,425 | 08/15/2011 14:53:16 | 854,086 | 07/20/2011 13:56:08 | 13 | 0 | Get common free time based on busy times Inputted by user | I am working on this Java swing-based project wherein the user can enter their weekly schedules as seen below. The input must take the schedule that represents their busy times. Program must also ask for the ff. inputs:<br/>
.....a. Name of User<br/>
.....b. Earliest Time Possible to arrive at school (ETP)<br/>
...... | java | swing | date | time | timer | 08/15/2011 15:27:07 | not a real question | Get common free time based on busy times Inputted by user
===
I am working on this Java swing-based project wherein the user can enter their weekly schedules as seen below. The input must take the schedule that represents their busy times. Program must also ask for the ff. inputs:<br/>
.....a. Name of User<br/>
...... | 1 |
11,484,591 | 07/14/2012 14:37:19 | 751,902 | 05/13/2011 06:55:53 | 145 | 3 | CMS with rental modules | I want to create a website to rent books. Ive looked at several options (joomla, dotnetnuke, sirefinity and some others) but none seem to have free modules for rentals, specially books. there are some joomla modules for car rental, but those are not commercial. I dont think im the first person on earth thinking about u... | php | asp.net | content-management-system | null | null | 07/15/2012 08:48:29 | not a real question | CMS with rental modules
===
I want to create a website to rent books. Ive looked at several options (joomla, dotnetnuke, sirefinity and some others) but none seem to have free modules for rentals, specially books. there are some joomla modules for car rental, but those are not commercial. I dont think im the first per... | 1 |
2,610,861 | 04/09/2010 20:57:18 | 16,241 | 09/17/2008 15:38:49 | 2,134 | 92 | New TFS 2010 Features | Does anyone know where I can go to get a list of the new TFS 2010 features.
NOTE: I need **TFS** 2010 features. ***Not*** **Visual Studio** 2010.
My boss is wondering why not just upgrade to Visual Studio 2010 and not worry about updating TFS from 2008 to 2010. (VS2010 is compatable with TFS 2008.)
Any inp... | tfs2010 | features | null | null | null | 10/14/2011 14:52:56 | too localized | New TFS 2010 Features
===
Does anyone know where I can go to get a list of the new TFS 2010 features.
NOTE: I need **TFS** 2010 features. ***Not*** **Visual Studio** 2010.
My boss is wondering why not just upgrade to Visual Studio 2010 and not worry about updating TFS from 2008 to 2010. (VS2010 is compatable... | 3 |
2,756,524 | 05/03/2010 06:49:04 | 253,793 | 01/19/2010 07:09:16 | 32 | 5 | Linking jQuery UI to the ASP.NET MVC 2 project | What I am trying to accomplish is using jQuery UI dialog method from my own JavaScript source code file. I have this kind of links in the Site.Master
<script src="/Scripts/jquery-1.4.2.js" type="text/javascript"></script>
<script src="/Scripts/jquery.validate.js" type="text/javascript"></script>
<scrip... | jquery | jquery-ui | asp.net-mvc | null | null | null | open | Linking jQuery UI to the ASP.NET MVC 2 project
===
What I am trying to accomplish is using jQuery UI dialog method from my own JavaScript source code file. I have this kind of links in the Site.Master
<script src="/Scripts/jquery-1.4.2.js" type="text/javascript"></script>
<script src="/Scripts/jquery.valid... | 0 |
6,636,712 | 07/09/2011 18:37:01 | 836,973 | 07/09/2011 18:37:01 | 1 | 0 | redirect subdomain to php file with get | How can i redirect subdomain to php file with $_GET using htaccess?
For example
en.domain.com => domain.com/index.php?lang=en
| .htaccess | null | null | null | null | null | open | redirect subdomain to php file with get
===
How can i redirect subdomain to php file with $_GET using htaccess?
For example
en.domain.com => domain.com/index.php?lang=en
| 0 |
8,802,089 | 01/10/2012 10:53:12 | 1,140,622 | 01/10/2012 10:25:24 | 1 | 0 | Iwant java code for find spicific format/value from text file | Iwant java code for find spicific format/value from text file
my text file contain follow the text format.
~KL*1**20*1~NM1*PR*2*BLUE CROSS OF CONNECTICUT*****PI*00060~KL*2*1*21*1~NM1*1P*1*TOM*MATHEW****XX*2865321477~KL*3*2*22*1~TRN*1*163610204*1352091203~NM1*IL*1*CRISS*DONALD~KL*4*3*23*0~NM1*03*1*TOM*JACOB~DMG*D8... | java | null | null | null | null | 01/10/2012 17:13:05 | not a real question | Iwant java code for find spicific format/value from text file
===
Iwant java code for find spicific format/value from text file
my text file contain follow the text format.
~KL*1**20*1~NM1*PR*2*BLUE CROSS OF CONNECTICUT*****PI*00060~KL*2*1*21*1~NM1*1P*1*TOM*MATHEW****XX*2865321477~KL*3*2*22*1~TRN*1*163610204*135... | 1 |
11,111,240 | 06/20/2012 00:17:01 | 468,807 | 10/07/2010 07:26:20 | 66 | 2 | foreach over array and get values with php | using jquery's .post i send do my php code an object that with `var_dump` i get this result:
array(6) {
[0]=>
array(1) {
["00176 "]=>
string(1) "2"
}
[1]=>
array(1) {
["00171 "]=>
string(1) "5"
}
[2]=>
array(1) {
... | php | arrays | null | null | null | 06/20/2012 12:06:37 | not a real question | foreach over array and get values with php
===
using jquery's .post i send do my php code an object that with `var_dump` i get this result:
array(6) {
[0]=>
array(1) {
["00176 "]=>
string(1) "2"
}
[1]=>
array(1) {
["00171 "]=>
string(1) "5"
... | 1 |
1,893,866 | 12/12/2009 16:17:44 | 174,349 | 09/16/2009 13:43:11 | 77 | 10 | null object reference in master pages | I have some controls inside my master page, and i want to acces them from its related c# clas..
For instance i have:
<asp:DropDownList ID="ddlSearch" runat="server"
onselectedindexchanged="ddlSearch_SelectedIndexChanged"
AutoPostBack="True">
</asp:... | asp.net | null | null | null | null | null | open | null object reference in master pages
===
I have some controls inside my master page, and i want to acces them from its related c# clas..
For instance i have:
<asp:DropDownList ID="ddlSearch" runat="server"
onselectedindexchanged="ddlSearch_SelectedIndexChanged"
A... | 0 |
10,691,478 | 05/21/2012 19:37:13 | 1,404,986 | 05/19/2012 11:10:22 | 1 | 0 | genetic algorithm objective function | Is any one familiar with this objective function.
I did not understood the concept.
If any one seen this type of objective function please help me it will be a great help.
f = ∑ Wk ek ( k = 1,2 .. 6 ) | java | homework | genetic-algorithm | null | null | 05/22/2012 08:38:02 | off topic | genetic algorithm objective function
===
Is any one familiar with this objective function.
I did not understood the concept.
If any one seen this type of objective function please help me it will be a great help.
f = ∑ Wk ek ( k = 1,2 .. 6 ) | 2 |
3,520,859 | 08/19/2010 10:30:52 | 126,998 | 06/22/2009 15:05:19 | 2,211 | 118 | trapping and logging "bugfoot" javascript exceptions in a meaningful way | We have had some reports of problems with our checkout whereby customers get js exceptions (we assume) so they cannot checkout.
No matter how many testbenches we use, we have failed to recreate the issues but that's the point of the exercise.
I have setup a simple error trapping function which works based around... | javascript | exception-handling | null | null | null | null | open | trapping and logging "bugfoot" javascript exceptions in a meaningful way
===
We have had some reports of problems with our checkout whereby customers get js exceptions (we assume) so they cannot checkout.
No matter how many testbenches we use, we have failed to recreate the issues but that's the point of the exerci... | 0 |
4,290,032 | 11/27/2010 03:49:42 | 521,987 | 11/27/2010 03:49:42 | 1 | 0 | c++ rational class program | // it gives me an error saying there is no default constructor
i tried fixing it
class object=class();
but still didnt fix....
can someone fix it for me plz thanks alot
#include <iostream>
using namespace std;
// Class Definitions
class RationalNumber
{
public:
RationalNumber(int, int, int,... | c++ | null | null | null | null | null | open | c++ rational class program
===
// it gives me an error saying there is no default constructor
i tried fixing it
class object=class();
but still didnt fix....
can someone fix it for me plz thanks alot
#include <iostream>
using namespace std;
// Class Definitions
class RationalNumber
{
public:
... | 0 |
2,747,009 | 04/30/2010 19:12:00 | 329,820 | 04/30/2010 14:30:44 | 16 | 0 | what's wrong with this code? | this is my code which will not work correctly ! what is wrong with its data type :( thanks
CREATE TABLE T1 (A INTEGER NOT NULL);
CREATE TABLE T3 (A SMALLINT NOT NULL);
INSERT T1 VALUES (32768.5);
SELECT * FROM T1;
INSERT T3 SELECT * FROM T1;
SELECT * FROM T3; | database | mysql | null | null | null | 09/03/2011 01:44:39 | too localized | what's wrong with this code?
===
this is my code which will not work correctly ! what is wrong with its data type :( thanks
CREATE TABLE T1 (A INTEGER NOT NULL);
CREATE TABLE T3 (A SMALLINT NOT NULL);
INSERT T1 VALUES (32768.5);
SELECT * FROM T1;
INSERT T3 SELECT * FROM T1;
SELECT * FRO... | 3 |
5,267,854 | 03/11/2011 00:58:35 | 64,718 | 02/10/2009 19:18:36 | 177 | 9 | WPF ListBox ItemsSource with DataTemplate | I have a ListBox with an ItemsSource pointing to a static variable, and a DataTemplate for the ListBox's ItemTemplate that should be displaying the Description property of the variable the ItemsSource points to
<ListBox x:Name="classificationTypeListBox"
Item... | wpf | listbox | datatemplate | itemssource | null | null | open | WPF ListBox ItemsSource with DataTemplate
===
I have a ListBox with an ItemsSource pointing to a static variable, and a DataTemplate for the ListBox's ItemTemplate that should be displaying the Description property of the variable the ItemsSource points to
<ListBox x:Name="classificationType... | 0 |
8,825,430 | 01/11/2012 19:28:56 | 815,150 | 06/25/2011 08:43:38 | 67 | 1 | How do you leave a team when a member of multiple teams on iPhone Developer Program | I'm a member of multiple developer teams on my iPhone developer account, some of them are old contracting arrangements that are no longer relevant. I haven't been kicked off, and I can't find a way to leave. How do you quit a team? | iphone | team | iphone-developer-program | quit | null | 01/12/2012 02:51:25 | off topic | How do you leave a team when a member of multiple teams on iPhone Developer Program
===
I'm a member of multiple developer teams on my iPhone developer account, some of them are old contracting arrangements that are no longer relevant. I haven't been kicked off, and I can't find a way to leave. How do you quit a team? | 2 |
7,173,845 | 08/24/2011 10:19:46 | 496,934 | 11/04/2010 08:35:25 | 199 | 2 | Question on expect perl | I am new in expect perl programming and have to write some scripts to automate some tasks. Basically I need to telnet to a unix machine, issue some unix commands and check some outputs.
I have written a small script to telnet but I have a doubt on how to check the status of the unix commands.
#!/usr/bin/perl
use... | perl | expect | null | null | null | null | open | Question on expect perl
===
I am new in expect perl programming and have to write some scripts to automate some tasks. Basically I need to telnet to a unix machine, issue some unix commands and check some outputs.
I have written a small script to telnet but I have a doubt on how to check the status of the unix comma... | 0 |
8,231,059 | 11/22/2011 17:30:23 | 1,054,435 | 11/18/2011 18:51:04 | 1 | 0 | android can't find class from external jar | I am trying to create a simple test app that basically extends the Android Hello World tutorial app by invoking some simple functionality from an external JAR. However, when I run the app, it can't find the class from the JAR. What am I doing wrong?
Here's entire source of the JAR:
package com.mytests.pow;
... | android | jar | external | null | null | null | open | android can't find class from external jar
===
I am trying to create a simple test app that basically extends the Android Hello World tutorial app by invoking some simple functionality from an external JAR. However, when I run the app, it can't find the class from the JAR. What am I doing wrong?
Here's entire sourc... | 0 |
6,315,566 | 06/11/2011 11:16:50 | 51,167 | 01/03/2009 15:30:00 | 2,419 | 129 | should I eliminate TCHAR from Windows code? | I am revising some very old (10 years) C code. The code compiles on Unix/Mac with GCC and cross-compiles for Windows with MinGW. Currently there are TCHAR strings throughout. I'd like to get rid of the TCHAR and use a C++ string instead. Is it still necessary to use the Windows wide functions, or can I do everything no... | unicode | tchar | null | null | null | null | open | should I eliminate TCHAR from Windows code?
===
I am revising some very old (10 years) C code. The code compiles on Unix/Mac with GCC and cross-compiles for Windows with MinGW. Currently there are TCHAR strings throughout. I'd like to get rid of the TCHAR and use a C++ string instead. Is it still necessary to use the ... | 0 |
10,954,994 | 06/08/2012 19:31:01 | 237,109 | 12/22/2009 19:18:34 | 1,748 | 139 | SQL: Specified cast is not valid | I have a program that is connected to a sql 2008 database and I have inline sql that runs that has ints and strings returned and it works fine. But I have been asked to switch to a 2000 database and now everything is coming back as a string and I am getting a specified cast is not valid from C# where when I am connecte... | c# | sql | null | null | null | null | open | SQL: Specified cast is not valid
===
I have a program that is connected to a sql 2008 database and I have inline sql that runs that has ints and strings returned and it works fine. But I have been asked to switch to a 2000 database and now everything is coming back as a string and I am getting a specified cast is not ... | 0 |
8,229,104 | 11/22/2011 15:14:17 | 804,969 | 06/19/2011 00:28:22 | 57 | 2 | CSS - no scrollbars in ipad | I have a stylesheet and use overflow:scroll; in my css to blend in scrollbars. It works in Firefox but not on my iPad in the safari browser. There, no scrollbars are shown but it is possible to scroll with two fingers.
Now, is that normal that iPad doesn't show scrollbars? That would be stupid somehow.
Thanks in a... | css | null | null | null | null | null | open | CSS - no scrollbars in ipad
===
I have a stylesheet and use overflow:scroll; in my css to blend in scrollbars. It works in Firefox but not on my iPad in the safari browser. There, no scrollbars are shown but it is possible to scroll with two fingers.
Now, is that normal that iPad doesn't show scrollbars? That would ... | 0 |
11,204,751 | 06/26/2012 09:51:25 | 465,752 | 10/04/2010 10:17:48 | 35 | 1 | How to get last 3 records from table | I have a table with next fields:
uid, message, created
and some records like
uid message created
1 text1 1305244929
2 text2 1305244930
3 text3 1305244931
1 text4 1305244932
1 text5 1305244933
3 text... | mysql | null | null | null | null | null | open | How to get last 3 records from table
===
I have a table with next fields:
uid, message, created
and some records like
uid message created
1 text1 1305244929
2 text2 1305244930
3 text3 1305244931
1 text4 1305244932
1 ... | 0 |
11,712,993 | 07/29/2012 21:11:17 | 1,354,514 | 04/24/2012 18:43:08 | 68 | 1 | where can I get a simple singly linked list implementation with example in javascript? | I just want to be able to add elements, enumerate the list and delete elements. | javascript | html | null | null | null | 07/29/2012 21:14:32 | not constructive | where can I get a simple singly linked list implementation with example in javascript?
===
I just want to be able to add elements, enumerate the list and delete elements. | 4 |
7,933,234 | 10/28/2011 18:20:44 | 982,442 | 10/06/2011 15:10:04 | 1 | 0 | X-Cart Payment Gateway development | someone has information on how to develop Payment Gateways on X-Cart?
| php | x-cart | null | null | null | 11/11/2011 10:55:37 | not a real question | X-Cart Payment Gateway development
===
someone has information on how to develop Payment Gateways on X-Cart?
| 1 |
11,600,718 | 07/22/2012 13:36:17 | 1,152,500 | 01/16/2012 19:01:59 | 125 | 2 | spring junit testing with JMock | I have a Spring maven project and we are going to use JMock to test service/business/DAO layers of my project as suggested by client.
Can somebody please provide me the good link going through which I can understand and implement it?
Also I have heard of other mocking frameworks like Mockito or EasyMock. Is JMock ... | spring | junit | mocking | jmock | null | 07/22/2012 15:06:24 | not constructive | spring junit testing with JMock
===
I have a Spring maven project and we are going to use JMock to test service/business/DAO layers of my project as suggested by client.
Can somebody please provide me the good link going through which I can understand and implement it?
Also I have heard of other mocking framework... | 4 |
10,045,460 | 04/06/2012 15:16:57 | 121,176 | 06/11/2009 08:56:37 | 25 | 4 | mongoid where on has_many association | Since mongo isn't relational I'm wondering how to find a particular type on a has_many polymorphic association.
I have 3 models, [Place, City, & Country] all 3 can have reviews (polymorphic)
How can I return all reviews with a particular model association? I know how to do it on a simple has_many association but... | ruby-on-rails | ruby-on-rails-3 | mongodb | mongoid | polymorphic-associations | null | open | mongoid where on has_many association
===
Since mongo isn't relational I'm wondering how to find a particular type on a has_many polymorphic association.
I have 3 models, [Place, City, & Country] all 3 can have reviews (polymorphic)
How can I return all reviews with a particular model association? I know how to... | 0 |
5,997,286 | 05/13/2011 20:16:09 | 598,531 | 02/01/2011 14:29:19 | 138 | 14 | If an iPhone is secure enough for enterprise use, while is it so easy to jailbreak? | I have a client that is considering making iPhones a huge part of his organization but was worried about how secure it was. I've [read][1] a lot about the security features possible on the iPhone and I'm wondering, if after setting in place all these features, can an iPhone still just as easily be jailbroken? Is there ... | iphone | security | null | null | null | 05/13/2011 20:27:10 | off topic | If an iPhone is secure enough for enterprise use, while is it so easy to jailbreak?
===
I have a client that is considering making iPhones a huge part of his organization but was worried about how secure it was. I've [read][1] a lot about the security features possible on the iPhone and I'm wondering, if after setting... | 2 |
2,929,772 | 05/28/2010 14:15:58 | 208,827 | 11/11/2009 16:28:55 | 744 | 1 | Grouping content by category - Drupal | is there a good way of grouping content up by category.
I wish I could have a CCK category field. | drupal | content-type | drupal-views | cck | category | null | open | Grouping content by category - Drupal
===
is there a good way of grouping content up by category.
I wish I could have a CCK category field. | 0 |
4,964,887 | 02/11/2011 01:55:35 | 263,004 | 01/31/2010 17:46:21 | 10,363 | 394 | Why doesn't C# have package private? | I'm learning C# and coming from a Java world, I was a little confused to see that C# doesn't have a "package private". Most comments I've seen regarding this amount to "You cannot do it; the language wasn't designed this way". I also saw some workarounds that involve `internal` and `partial` along with comments that sa... | c# | java | package-private | null | null | null | open | Why doesn't C# have package private?
===
I'm learning C# and coming from a Java world, I was a little confused to see that C# doesn't have a "package private". Most comments I've seen regarding this amount to "You cannot do it; the language wasn't designed this way". I also saw some workarounds that involve `internal`... | 0 |
8,117,522 | 11/14/2011 04:59:58 | 995,394 | 10/14/2011 12:27:42 | 36 | 2 | Can I redo/undo in ipython shell? | A feature in bpython called rewind.
Is there some similar key binds? | python | shell | ipython | null | null | 11/14/2011 15:37:35 | not a real question | Can I redo/undo in ipython shell?
===
A feature in bpython called rewind.
Is there some similar key binds? | 1 |
1,896,080 | 12/13/2009 10:14:37 | 24,218 | 10/01/2008 16:53:04 | 120 | 8 | Select first element that doesn't have a specific class | I want to write a selector that targets the first element that doesn't have a specific class.
<ul>
<li class="someClass">item 1</li>
<li>item 2</li> <-- I want to select this
<li class="someClass">item 3</li>
<li>item 4</li>
</ul>
I know how to select all elements that doesn't have "s... | jquery | javascript | null | null | null | null | open | Select first element that doesn't have a specific class
===
I want to write a selector that targets the first element that doesn't have a specific class.
<ul>
<li class="someClass">item 1</li>
<li>item 2</li> <-- I want to select this
<li class="someClass">item 3</li>
<li>item 4</li>
</... | 0 |
5,886,244 | 05/04/2011 15:51:03 | 738,151 | 05/04/2011 13:59:21 | 1 | 0 | Android: Resizing custom views. Parent is resized but width/height changes not passed down to child view | This is my first post on SO. I don't normally post on Q and A sites as I find with enough digging I get my answer but this problem is providing me with a fair amount of trouble.
I am currently trying to make a game based on the old school battleship board game using android. I am kinda just messing around at the mom... | android | parent-child | dimensions | custom-view | null | null | open | Android: Resizing custom views. Parent is resized but width/height changes not passed down to child view
===
This is my first post on SO. I don't normally post on Q and A sites as I find with enough digging I get my answer but this problem is providing me with a fair amount of trouble.
I am currently trying to make... | 0 |
1,604,979 | 10/22/2009 04:11:05 | 10,086 | 09/15/2008 21:08:52 | 229 | 14 | Possible issues with upgrading to Snow Leopard / XCode 3.2? | I'm one of a pair of programmers working together on iPhone / iPod applications. I'd like to upgrade to the new version of XCode (3.2) and Snow Leopard, but chances are my partner won't. Can anyone highlight any problems we might have sharing code? Are there incompatibilities between the old and new, or should we be... | iphone | xcode | snow | leopard | null | null | open | Possible issues with upgrading to Snow Leopard / XCode 3.2?
===
I'm one of a pair of programmers working together on iPhone / iPod applications. I'd like to upgrade to the new version of XCode (3.2) and Snow Leopard, but chances are my partner won't. Can anyone highlight any problems we might have sharing code? Are... | 0 |
3,642,556 | 09/04/2010 13:52:32 | 439,595 | 09/04/2010 12:11:16 | 8 | 0 | jquery will not work for me! | It's weird! I was working on my CSS and jquery just stopped working! checked in firefox/chrome and the jquery just stopped working! I have no idea what happen.
I have 2 functions going on. First part animates the header image and the second part generates random numbers when it is click. I pasted my whole code at ... | jquery | error | null | null | null | 09/08/2010 00:47:08 | not a real question | jquery will not work for me!
===
It's weird! I was working on my CSS and jquery just stopped working! checked in firefox/chrome and the jquery just stopped working! I have no idea what happen.
I have 2 functions going on. First part animates the header image and the second part generates random numbers when it is... | 1 |
1,960,866 | 12/25/2009 09:29:21 | 238,529 | 12/25/2009 09:29:21 | 1 | 0 | Getting a sql server error when tryin to access the wesite using the remote URL rather than the localhost. | Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.
This is the error that I am getting. If I try to access the web site using the localhost it work... | asp.net | c# | web.config | null | null | null | open | Getting a sql server error when tryin to access the wesite using the remote URL rather than the localhost.
===
Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection wil... | 0 |
1,488,530 | 09/28/2009 18:13:39 | 2,701 | 08/24/2008 15:51:24 | 1,753 | 61 | Any point in writing integration tests for a repository w/ NHibernate? | I recently spent a great deal of time pulling out a stored procedure back-end and replaced it with a NHiberante base repository. One test per repository was nice in the stored procedure version because I could verify my stored procedures worked and the class that mapped the returned data to my objects did it's job.
... | nhibernate | integration-testing | null | null | null | null | open | Any point in writing integration tests for a repository w/ NHibernate?
===
I recently spent a great deal of time pulling out a stored procedure back-end and replaced it with a NHiberante base repository. One test per repository was nice in the stored procedure version because I could verify my stored procedures worke... | 0 |
4,801,366 | 01/26/2011 04:15:03 | 515,502 | 11/22/2010 00:32:16 | 13 | 0 | Convert RGB values into integer pixel | So in a BufferedImage, you receive a single integer that has the rgb values represented in it. So far i use the following to get the RGB values from it:
int r = (int)((Math.pow(256,3)+rgbs[k]) / 65536);
int g = (int) (((Math.pow(256,3)+rgbs[k]) / 256 ) % 256 );
int b = (int) ((Math.pow(256,3)+rgbs[k])%... | java | bufferedimage | null | null | null | null | open | Convert RGB values into integer pixel
===
So in a BufferedImage, you receive a single integer that has the rgb values represented in it. So far i use the following to get the RGB values from it:
int r = (int)((Math.pow(256,3)+rgbs[k]) / 65536);
int g = (int) (((Math.pow(256,3)+rgbs[k]) / 256 ) % 256 );
... | 0 |
7,749,630 | 10/13/2011 04:58:52 | 927,290 | 09/04/2011 05:55:30 | 28 | 0 | What happens if two individual developers have the same name, in the iOS or Mac developer programs? | For example, if there are two developers names "John Smith". Each of them creates an application, and submits it to the app store. According to the apple documentation, if they have both joined as individuals, then their name will be listed as the "Seller".
So how can customers distinguish between the two? Also, if ... | ios | app-store | name | conflict | individual | 10/14/2011 02:36:11 | off topic | What happens if two individual developers have the same name, in the iOS or Mac developer programs?
===
For example, if there are two developers names "John Smith". Each of them creates an application, and submits it to the app store. According to the apple documentation, if they have both joined as individuals, then ... | 2 |
9,780,737 | 03/20/2012 02:45:49 | 765,081 | 05/22/2011 18:46:11 | 42 | 1 | Set firstHour in day view based on eventclick in month view | I have been able to implement fullcalendar eventClick such that when the user clicks on an event
in the month view, it brings up the day view for that event. I am using gotodate function to do this.
The problem I am facing now is, If for example the event starts late in the evening, say, at 9 PM,
the event is hid... | jquery | null | null | null | null | 03/20/2012 17:17:24 | not a real question | Set firstHour in day view based on eventclick in month view
===
I have been able to implement fullcalendar eventClick such that when the user clicks on an event
in the month view, it brings up the day view for that event. I am using gotodate function to do this.
The problem I am facing now is, If for example the e... | 1 |
6,524,309 | 06/29/2011 16:49:03 | 821,562 | 06/29/2011 16:49:03 | 1 | 0 | Wordpress garbled output (PHP) | This shouldn't be a wordpress problem, but I can't rule out anything. My code:
print "span onclick=\"replyForm(this,";
print get_the_ID();
print ",\"";
print get_comment_author();
print "\", ";
print get_comment_ID();
print ")>Reply ►/span";
It should output:
span onclick="replyForm(this,1,"na... | php | wordpress | null | null | null | 06/30/2011 14:11:39 | not a real question | Wordpress garbled output (PHP)
===
This shouldn't be a wordpress problem, but I can't rule out anything. My code:
print "span onclick=\"replyForm(this,";
print get_the_ID();
print ",\"";
print get_comment_author();
print "\", ";
print get_comment_ID();
print ")>Reply ►/span";
It should output:... | 1 |
4,958,096 | 02/10/2011 14:08:18 | 386,167 | 07/06/2010 16:49:25 | 266 | 8 | Does a .NET developer lose value when working with PHP? | I am a .NET developer and my employer asked me to work on WordPress blogs that require little to none PHP skills.
I explained my employer that .NET is a much complex framework than a simple language such as PHP. In addition, Microsoft launches new technologies, new product versions, new best practices, etc. in a ver... | php | .net | null | null | null | 02/10/2011 14:11:03 | not constructive | Does a .NET developer lose value when working with PHP?
===
I am a .NET developer and my employer asked me to work on WordPress blogs that require little to none PHP skills.
I explained my employer that .NET is a much complex framework than a simple language such as PHP. In addition, Microsoft launches new technolo... | 4 |
11,163,584 | 06/22/2012 20:23:27 | 1,475,841 | 06/22/2012 20:06:24 | 1 | 0 | My google apps primary account is a subdomain. So how do I define the MX records or is it TXT? | When I signed up for Google apps the domain was a sub-domain in other words the format of the Google domain was mysub.domain.org.
I use GoDaddy as my registrar but it does not handle my DNS that is handled by my shared hosting provider. At that provider I have DNS records for the domain.org and also DNS records fo... | google | apps | null | null | null | 06/24/2012 02:35:02 | off topic | My google apps primary account is a subdomain. So how do I define the MX records or is it TXT?
===
When I signed up for Google apps the domain was a sub-domain in other words the format of the Google domain was mysub.domain.org.
I use GoDaddy as my registrar but it does not handle my DNS that is handled by my shar... | 2 |
10,211,850 | 04/18/2012 14:43:40 | 1,060,128 | 11/22/2011 15:49:25 | 1 | 2 | Is it possible, that INSERTS are delayed when executed from PHP (using ZEND)? | When I have a loop like this:
foreach(...) {
$r1 = $zend_db->fetchRow("SELECT ... ");
$zend_table->insert($data_array, $where);
}
... running a few thousand times. Is it possible, that $r1 doesn't contain a record inserted in the previous loop?
At http://dev.mysql.com/doc/refman/5.1/en/q... | php | mysql | zend-framework | caching | zend-db | null | open | Is it possible, that INSERTS are delayed when executed from PHP (using ZEND)?
===
When I have a loop like this:
foreach(...) {
$r1 = $zend_db->fetchRow("SELECT ... ");
$zend_table->insert($data_array, $where);
}
... running a few thousand times. Is it possible, that $r1 doesn't contain a r... | 0 |
8,834,281 | 01/12/2012 11:26:02 | 582,966 | 12/28/2010 09:57:04 | 21 | 0 | How do i nkow whehter the app is purchased or not in AppStore | Is there any way to find whether the application is purchased in AppStore.
I know that we can do In app purchase but i want to know whether the app is purchased or not. | ios | ios4 | ios5 | ios-sdk-4.3 | null | 01/12/2012 12:20:33 | not a real question | How do i nkow whehter the app is purchased or not in AppStore
===
Is there any way to find whether the application is purchased in AppStore.
I know that we can do In app purchase but i want to know whether the app is purchased or not. | 1 |
2,098,634 | 01/20/2010 02:15:17 | 254,542 | 01/20/2010 02:15:17 | 1 | 0 | Is it possible to encrypt/decrypt voice calls in Android? | I want to know if I can create an application in android that encrypts your voice in a normal phone call and sends it to the destination where it can then be decrypted... | android | voice | encryption | null | null | 07/22/2012 15:44:31 | not constructive | Is it possible to encrypt/decrypt voice calls in Android?
===
I want to know if I can create an application in android that encrypts your voice in a normal phone call and sends it to the destination where it can then be decrypted... | 4 |
1,718,472 | 11/11/2009 22:20:06 | 25,645 | 10/06/2008 22:10:23 | 417 | 3 | You need to select at least one radio button / checkbox | What would be the JavaScript code to check if the user has selected at least one radio button, knowing that the radio buttons all have the same "name" attribute?
Same question for checkboxes.
I do not use any fancy javascript frameworks such as JQuery and others ...
| javascript | html | dom | null | null | null | open | You need to select at least one radio button / checkbox
===
What would be the JavaScript code to check if the user has selected at least one radio button, knowing that the radio buttons all have the same "name" attribute?
Same question for checkboxes.
I do not use any fancy javascript frameworks such as JQuery a... | 0 |
10,190,435 | 04/17/2012 11:35:12 | 793,725 | 06/11/2011 06:03:46 | 1 | 0 | Fancyhdr footer not working on pages where a chapter does not begin | Im using fancyhdr to put a text and page number on every page
\usepackage{fancyheadings}
\fancypagestyle{plain}{
\fancyhf{}
\lhead{section \bfseries \thesection}
\chead{CS04-708 Main Project, 2011}
\cfoot[{\vspace*{0.2cm}Department of Production Engineering, GEC - Thrissur \\ \thepage }]{\vspace*... | latex | null | null | null | null | 04/17/2012 15:26:08 | off topic | Fancyhdr footer not working on pages where a chapter does not begin
===
Im using fancyhdr to put a text and page number on every page
\usepackage{fancyheadings}
\fancypagestyle{plain}{
\fancyhf{}
\lhead{section \bfseries \thesection}
\chead{CS04-708 Main Project, 2011}
\cfoot[{\vspace*{0.2cm}Dep... | 2 |
4,076,974 | 11/02/2010 10:57:06 | 318,393 | 04/16/2010 10:27:00 | 120 | 0 | Can a static object be fully-cached for HTTPS? (encrypted) | If I have a static object (file), which being requested by clients via HTTPS - is it possible to cache the file after encryption took place? (for the purpose of saving the processing time of encrypting for each and every client upon request)
Note: I'm not asking how to do it, but rather if it's even possible. | encryption | https | null | null | null | null | open | Can a static object be fully-cached for HTTPS? (encrypted)
===
If I have a static object (file), which being requested by clients via HTTPS - is it possible to cache the file after encryption took place? (for the purpose of saving the processing time of encrypting for each and every client upon request)
Note: I'm n... | 0 |
8,484,447 | 12/13/2011 04:44:52 | 1,095,006 | 12/13/2011 04:23:17 | 1 | 0 | How do I create form_for for namespaced nested resources in Rails 3.1.3 and Mongoid? | I am new to Rails and am trying to create an Api for a mobile app. Although the Api will generate json responses, I also need a web interface to create the data. My routes look like this:
Appone::Application.routes.draw do
namespace :api1 do
resources :reldates do
resources :movies
... | ruby-on-rails-3 | mongoid | null | null | null | null | open | How do I create form_for for namespaced nested resources in Rails 3.1.3 and Mongoid?
===
I am new to Rails and am trying to create an Api for a mobile app. Although the Api will generate json responses, I also need a web interface to create the data. My routes look like this:
Appone::Application.routes.draw do
... | 0 |
11,287,565 | 07/02/2012 03:45:10 | 1,301,593 | 03/29/2012 18:23:45 | 13 | 0 | Biblatex induced headache: Bibliography bst style not found | I'm new to LaTex and have been trying to get my document to use a specified .bst bibliography style file, but to no avail. I downloaded my preferred .bst file (amnat.bst) from [here][1] into the same folder as my document. I've fruitlessly tried various combinations to try to get it to work (including \bibliographystyl... | latex | biblatex | null | null | null | 07/02/2012 15:28:56 | off topic | Biblatex induced headache: Bibliography bst style not found
===
I'm new to LaTex and have been trying to get my document to use a specified .bst bibliography style file, but to no avail. I downloaded my preferred .bst file (amnat.bst) from [here][1] into the same folder as my document. I've fruitlessly tried various c... | 2 |
7,712,817 | 10/10/2011 12:34:28 | 429,377 | 05/18/2010 13:03:58 | 974 | 30 | What's better ERD Eclipse plugin to use | i need to use an ERD tool in eclipse, to make ERD diagrams for my database tables
please suggest me a good tool that can be plugged in eclipse
following link suggest ERMaster plugin
http://blog.javachap.com/index.php/eclipse-er-modelling-plugin-ermaster/
what do you think ? | java | eclipse | eclipse-plugin | uml | null | 11/17/2011 23:30:11 | not constructive | What's better ERD Eclipse plugin to use
===
i need to use an ERD tool in eclipse, to make ERD diagrams for my database tables
please suggest me a good tool that can be plugged in eclipse
following link suggest ERMaster plugin
http://blog.javachap.com/index.php/eclipse-er-modelling-plugin-ermaster/
what do you thin... | 4 |
8,200,854 | 11/20/2011 10:15:56 | 1,007,437 | 10/21/2011 15:39:13 | 1 | 0 | simple program not executing in c | #include<stdio.h>
main()
{
int i, int a[5]={1,2,48,3,88};
for(i=0;i<4;i++)
{
if (a[i]<a[i+1])
{
printf("%d",a[i]);
}
else
{
printf("can't print");
}
}
}
The program is not executing at all, my aim was to print the no if a current n... | c | runtime | syntax-error | null | null | 11/20/2011 11:32:14 | not a real question | simple program not executing in c
===
#include<stdio.h>
main()
{
int i, int a[5]={1,2,48,3,88};
for(i=0;i<4;i++)
{
if (a[i]<a[i+1])
{
printf("%d",a[i]);
}
else
{
printf("can't print");
}
}
}
The program is not executing at all, my... | 1 |
11,444,318 | 07/12/2012 02:37:44 | 1,481,392 | 06/26/2012 00:46:49 | 1 | 0 | How to create new web browser software like Firefox, IE, Chrome, Safari? What are the languages we need to use | ->How to create new web browser software like Firefox, IE, Chrome, Safari?
->What are the languages we need to use. | java | javascript | null | null | null | 07/12/2012 03:13:13 | not constructive | How to create new web browser software like Firefox, IE, Chrome, Safari? What are the languages we need to use
===
->How to create new web browser software like Firefox, IE, Chrome, Safari?
->What are the languages we need to use. | 4 |
11,741,269 | 07/31/2012 13:30:21 | 379,235 | 06/29/2010 16:45:28 | 2,122 | 44 | hadoop-streaming: map running good in pesudo-distributed mode, but reducer doesn't seem to work correctly | My `Map` looks like
import sys
index = int(sys.argv[1])
max = 0
for line in sys.stdin:
fields = line.strip().split(",")
if fields[index].isdigit():
val = int(fields[index])
if (val > max):
max = val
else:
print max
... | hadoop | mapreduce | hadoop-streaming | null | null | 07/31/2012 17:11:21 | too localized | hadoop-streaming: map running good in pesudo-distributed mode, but reducer doesn't seem to work correctly
===
My `Map` looks like
import sys
index = int(sys.argv[1])
max = 0
for line in sys.stdin:
fields = line.strip().split(",")
if fields[index].isdigit():
va... | 3 |
10,013,910 | 04/04/2012 15:06:32 | 948,357 | 09/16/2011 07:53:40 | 66 | 6 | Get the direction in which the user is scrolling on tochmove event | I have following scenario:
I have a code, binded to the mousewheel event
$('#main').bind("mousewheel",function(ev, delta) {
ev.preventDefault();
if(delta == '-1'){
alert("The user is trying to scroll upwards");
} else {
alert("The user is trying to scroll d... | jquery | jquery-plugins | touch | jquery-event-binding | null | null | open | Get the direction in which the user is scrolling on tochmove event
===
I have following scenario:
I have a code, binded to the mousewheel event
$('#main').bind("mousewheel",function(ev, delta) {
ev.preventDefault();
if(delta == '-1'){
alert("The user is trying to scroll upwards... | 0 |
9,873,827 | 03/26/2012 14:16:43 | 1,293,226 | 03/26/2012 14:08:22 | 1 | 0 | Symfony: correct YAML syntax for default value of numeric field | Good day.
That is a piece from my schema.yml:
ProductTags:
columns:
product_id: { type: integer, notnull: true }
tag_id: { type: integer, notnull: true }
discount: { type: numeric, size:'3', scale:'1', notnull: true }
but when the sql gets generated, discount f... | postgresql | symfony | doctrine | yaml | null | null | open | Symfony: correct YAML syntax for default value of numeric field
===
Good day.
That is a piece from my schema.yml:
ProductTags:
columns:
product_id: { type: integer, notnull: true }
tag_id: { type: integer, notnull: true }
discount: { type: numeric, size:'3', scal... | 0 |
2,133,627 | 01/25/2010 16:12:37 | 64,157 | 02/09/2009 12:36:09 | 25 | 0 | Using django.db.connection.queries ... | I've got a Python/Django application which runs quite a lot of SQL statements. For debugging purposes, I thought I should create a simple view for me which just lists all the SQL statements that have been run.
According to the documentation, this code should be enough to do that:
from django.db import co... | django | connection | django-queries | null | null | null | open | Using django.db.connection.queries ...
===
I've got a Python/Django application which runs quite a lot of SQL statements. For debugging purposes, I thought I should create a simple view for me which just lists all the SQL statements that have been run.
According to the documentation, this code should be enough to ... | 0 |
2,146,499 | 01/27/2010 11:39:56 | 259,994 | 01/27/2010 11:18:59 | 1 | 0 | What are the most popular dbms system? | i need to know the most popular dbms system which is available | dbms | rdbms | null | null | null | 01/27/2010 11:44:51 | not constructive | What are the most popular dbms system?
===
i need to know the most popular dbms system which is available | 4 |
8,972,844 | 01/23/2012 14:03:47 | 1,165,024 | 01/23/2012 13:31:26 | 1 | 0 | Need to generate a payload for particular Regular Expression (PCRE) | I need some command line tool in Linux that will generate a payload of say 1 MB for me that will have a few matches for a particular Regular Expression.
Something like if I give a particular PCRE to the tool it will generate a random payload for me with a few matches in it.
Or do you have any suggestions or idea... | regex | pcre | dfa | nfa | payload | 01/23/2012 21:07:07 | not a real question | Need to generate a payload for particular Regular Expression (PCRE)
===
I need some command line tool in Linux that will generate a payload of say 1 MB for me that will have a few matches for a particular Regular Expression.
Something like if I give a particular PCRE to the tool it will generate a random payload f... | 1 |
8,756,930 | 01/06/2012 11:10:16 | 1,134,149 | 01/06/2012 11:04:18 | 1 | 0 | Dynamically change the URL of a Facebook Send Button | I am trying to dynamically change the URL of a Facebook Send button with Javascript, but I have had no success so far.
I have a page set up with a few inputs, and I would like the URL of the send button to take the fields value as parameters before it sends it. The problem is when I add the send button to the page, ... | javascript | facebook | send | null | null | null | open | Dynamically change the URL of a Facebook Send Button
===
I am trying to dynamically change the URL of a Facebook Send button with Javascript, but I have had no success so far.
I have a page set up with a few inputs, and I would like the URL of the send button to take the fields value as parameters before it sends i... | 0 |
6,667,210 | 07/12/2011 15:55:14 | 240,474 | 12/29/2009 21:06:25 | 45 | 0 | Django - Models + A list of dictionaries | I have a data structure that looks like this
[{'name': 'sfsdf sdfsdf', 'id': '621205528'}, {'name': 'test name', 'id': '32324234234'}, {'name': 'another name', 'id': '3434535342221'}]
Now I have a model called Profile where the id in the dictionary maps to the uid field in the model.
I'd like to remove e... | python | django | django-models | null | null | null | open | Django - Models + A list of dictionaries
===
I have a data structure that looks like this
[{'name': 'sfsdf sdfsdf', 'id': '621205528'}, {'name': 'test name', 'id': '32324234234'}, {'name': 'another name', 'id': '3434535342221'}]
Now I have a model called Profile where the id in the dictionary maps to the uid... | 0 |
6,770,265 | 07/21/2011 01:03:08 | 173,520 | 09/15/2009 05:18:28 | 3,483 | 39 | sample Rails Application that includes email support page with captcha | What's the quickest / easiest starting point for a simple Rails application that has a main page, and an email "contact us" page, with captcha support? Is there a popular base Rails app that I could download that would already have this functionality as a starting point?
(e.g. for just a basic informational type w... | ruby-on-rails | captcha | null | null | null | null | open | sample Rails Application that includes email support page with captcha
===
What's the quickest / easiest starting point for a simple Rails application that has a main page, and an email "contact us" page, with captcha support? Is there a popular base Rails app that I could download that would already have this functi... | 0 |
3,892,220 | 10/08/2010 15:51:44 | 32,826 | 10/30/2008 16:40:25 | 1,725 | 83 | Genericising one class to handle multiple types | I have a series of about 30 lookup tables in my database schema, all with the same layout (and I would prefer to keep them as separate tables rather than one lookup table), and thus my Linq2SQL context has 30 entities for these lookup tables.
I have a standard class that I would use for CRUD operations on each of th... | c# | null | null | null | null | null | open | Genericising one class to handle multiple types
===
I have a series of about 30 lookup tables in my database schema, all with the same layout (and I would prefer to keep them as separate tables rather than one lookup table), and thus my Linq2SQL context has 30 entities for these lookup tables.
I have a standard cla... | 0 |
6,061,528 | 05/19/2011 16:05:11 | 761,413 | 05/19/2011 16:05:11 | 1 | 0 | Plain English Calculator | I need to write a program that takes in a string of a mathematical equation and convert it into plain english. The program only accepts single digit numbers and uses addition, subtraction, multiplication, division, exponents, or the modulus function. there is a space between the 1st variable and then the operator and t... | java | string | calculator | switch-case | null | 05/19/2011 17:13:07 | not a real question | Plain English Calculator
===
I need to write a program that takes in a string of a mathematical equation and convert it into plain english. The program only accepts single digit numbers and uses addition, subtraction, multiplication, division, exponents, or the modulus function. there is a space between the 1st variab... | 1 |
3,310,551 | 07/22/2010 15:26:08 | 238,134 | 12/24/2009 08:49:35 | 1,975 | 68 | How to test whether a browser accepts cookies with JavaScript? | I want to test with JavaScript whether the browser supports cookies or not. The following [code][1] works with Internet Explorer 8 and Firefox 3.6 but not with Google Chrome 5.
function areCookiesEnabled() {
document.cookie = "__verify=1";
var supportsCookies = document.cookie.length > 1 &&
... | javascript | cookies | google-chrome | null | null | null | open | How to test whether a browser accepts cookies with JavaScript?
===
I want to test with JavaScript whether the browser supports cookies or not. The following [code][1] works with Internet Explorer 8 and Firefox 3.6 but not with Google Chrome 5.
function areCookiesEnabled() {
document.cookie = "__verify=1"... | 0 |
8,424,300 | 12/07/2011 23:43:53 | 983,667 | 10/07/2011 08:59:17 | 37 | 1 | retrieve data from database which contain more than one data | I want to retrieve data from sqlite. user can have more than 1 score and i want to display it. it can show if user just have only one score, but it shows blank screen if user have more than one score.
These are my code
ScoreDetailActivity.java
public class ScoreDetailActivity extends Activity {
... | android | database | sqlite | cursor | null | null | open | retrieve data from database which contain more than one data
===
I want to retrieve data from sqlite. user can have more than 1 score and i want to display it. it can show if user just have only one score, but it shows blank screen if user have more than one score.
These are my code
ScoreDetailActivity.java
... | 0 |
9,426,528 | 02/24/2012 06:42:37 | 225,264 | 12/05/2009 04:30:46 | 150 | 1 | HTML selected="selected" not working | Hi can somebody tell me what is the wrong in the below code?
Selected="selected" not working for me.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<select id="tstselect" name="tstselect">
<option value="0" >0</option>
<option value="1" >1</option>
<option v... | html | select | null | null | null | 02/24/2012 18:53:52 | too localized | HTML selected="selected" not working
===
Hi can somebody tell me what is the wrong in the below code?
Selected="selected" not working for me.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<select id="tstselect" name="tstselect">
<option value="0" >0</option>
<optio... | 3 |
4,166,621 | 11/12/2010 16:12:48 | 412,168 | 08/05/2010 16:12:58 | 52 | 0 | Error occured during build the source code of Android 2.2 | A fatal error occured while making build of Android 2.2 source code.
The error occured can be found in this link: http://pastie.org/1292955 | android | null | null | null | null | 12/19/2011 15:17:47 | not a real question | Error occured during build the source code of Android 2.2
===
A fatal error occured while making build of Android 2.2 source code.
The error occured can be found in this link: http://pastie.org/1292955 | 1 |
5,916,829 | 05/06/2011 20:45:24 | 44,732 | 12/09/2008 20:14:37 | 148 | 17 | Redirect apache commons logging to Eclipse's logging mechanism? | I'm trying to use the `org.apache.commons.httpclient` plugin in a Eclipse RCP application I'm writing.
For some reason the logging from the httpclient plugin is going to stderr (via apache commons logging, I think).
Does anyone know if there is a way to redirect the logging from the httpclient plugin to the stand... | eclipse | apache | logging | httpclient | apache-commons | null | open | Redirect apache commons logging to Eclipse's logging mechanism?
===
I'm trying to use the `org.apache.commons.httpclient` plugin in a Eclipse RCP application I'm writing.
For some reason the logging from the httpclient plugin is going to stderr (via apache commons logging, I think).
Does anyone know if there is ... | 0 |
6,775,647 | 07/21/2011 11:58:26 | 523,811 | 11/29/2010 11:02:50 | 294 | 23 | rails 3 pagination with kaminari on mongoid embedded documents | When I call paginate with kaminari on a collection of embedded documents I get the following error:
(Access to the collection for Document is not allowed since it is an embedded document, please access a collection from the root document.):
Any idea on how I can fix that ? I have installed kaminari as a gem.... | ruby-on-rails-3 | embedded | mongoid | kaminari | null | null | open | rails 3 pagination with kaminari on mongoid embedded documents
===
When I call paginate with kaminari on a collection of embedded documents I get the following error:
(Access to the collection for Document is not allowed since it is an embedded document, please access a collection from the root document.):
... | 0 |
9,978,336 | 04/02/2012 14:33:33 | 923,613 | 04/22/2010 11:32:05 | 163 | 15 | IOS NSString return statement | There is some code that I am using written by someone else that I have a question....
NSString *c = @"test"; // "Local" string
NSString *d = [NSString alloc]initWithString:@"test"]; // "Heap" string
const char *c = "test";
return [NSString stringWithUTF8String:c]; // ??
I am not sure what th... | ios | cocoa | nsstring | null | null | null | open | IOS NSString return statement
===
There is some code that I am using written by someone else that I have a question....
NSString *c = @"test"; // "Local" string
NSString *d = [NSString alloc]initWithString:@"test"]; // "Heap" string
const char *c = "test";
return [NSString stringWithUTF8String... | 0 |
10,769,850 | 05/26/2012 21:17:09 | 1,327,540 | 04/11/2012 20:07:28 | 1 | 0 | How do I get started with FMJ in Eclipse? | I am planning to build a program that deals with Streaming of audio over a network.
For this project, I choose to use FMJ. However, I can't manage to even start. I haven't imported many libraries before, and there is practically no information available for FMJ. I simply cannot get my project to use FMJ. | java | media | fmj | null | null | null | open | How do I get started with FMJ in Eclipse?
===
I am planning to build a program that deals with Streaming of audio over a network.
For this project, I choose to use FMJ. However, I can't manage to even start. I haven't imported many libraries before, and there is practically no information available for FMJ. I simply ... | 0 |
4,673,411 | 01/12/2011 19:59:59 | 409,333 | 08/03/2010 06:18:41 | 86 | 0 | Creating a language interpreter | Can anybody give me tutorial on Creating a language interpreter?
i want to change for example syntax of for,.. | c++ | c | null | null | null | 01/12/2011 20:54:09 | not a real question | Creating a language interpreter
===
Can anybody give me tutorial on Creating a language interpreter?
i want to change for example syntax of for,.. | 1 |
11,608,163 | 07/23/2012 07:34:20 | 1,262,131 | 03/11/2012 10:37:46 | 17 | 0 | Need to create pdf files dynamically for each patient in asp.net c# | I need to create seprate pdf file for each n number of patients all together. So if anyone selects that patient in the gridview it should open that individual patient pdf.
Please someone tell me how to approach for this. | c# | asp.net | pdf-generation | null | null | 07/24/2012 01:23:58 | not constructive | Need to create pdf files dynamically for each patient in asp.net c#
===
I need to create seprate pdf file for each n number of patients all together. So if anyone selects that patient in the gridview it should open that individual patient pdf.
Please someone tell me how to approach for this. | 4 |
438,446 | 01/13/2009 09:30:54 | 52,025 | 01/06/2009 12:42:25 | 11 | 2 | xcopy at logon | Our client are having problems when logging in on their WinXP (fully updated) computers. We run a batch script that copies files and folders using xcopy.
No files are copied, but folders are created.
If I run the xcopy manually then there is no problems.
One of the source folders have non-english characters in i... | xcopy | windows | batch | null | null | 01/13/2009 09:33:12 | off topic | xcopy at logon
===
Our client are having problems when logging in on their WinXP (fully updated) computers. We run a batch script that copies files and folders using xcopy.
No files are copied, but folders are created.
If I run the xcopy manually then there is no problems.
One of the source folders have non-eng... | 2 |
2,450,913 | 03/15/2010 22:29:22 | 234,944 | 12/19/2009 01:33:27 | 572 | 27 | Upcasting without any added data fields. | In my project I have a generic `Packet` class. I would like to be able to upcast to other classes (like `LoginPacket` or `MovePacket`).
The base class contains a command and arguments (greatly simplified):
public class Packet
{
public String Command;
public String[] Arguments;
}
... | c# | casting | class | types | null | null | open | Upcasting without any added data fields.
===
In my project I have a generic `Packet` class. I would like to be able to upcast to other classes (like `LoginPacket` or `MovePacket`).
The base class contains a command and arguments (greatly simplified):
public class Packet
{
public String Command;... | 0 |
2,276,124 | 02/16/2010 20:34:31 | 164,299 | 08/27/2009 15:30:18 | 1,421 | 39 | What is the difference between Registry and Repositry from SOA point of view ? | - What is difference between Registry
and Repositry from SOA point of view
?
- Which one should be used ? What are pros and cons of one over other and vice-versa ? | soa | registry | repository | architecture | design-patterns | null | open | What is the difference between Registry and Repositry from SOA point of view ?
===
- What is difference between Registry
and Repositry from SOA point of view
?
- Which one should be used ? What are pros and cons of one over other and vice-versa ? | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.