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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9,407,717 | 02/23/2012 05:32:42 | 1,184,583 | 02/02/2012 08:08:02 | 1 | 0 | Java rejecting e for use with mouse listener | In eclipse (Java), for some reason, my program won't pick up "e" as part of my mouse listener. The syntax checker says "-e cannot be resolved". This is for a school project I am currently working on and would like to complete tonight during my free time. Apologies for the very basic question, but it would be great f... | java | eclipse | mouse | listener | unresolved | 02/24/2012 04:53:05 | too localized | Java rejecting e for use with mouse listener
===
In eclipse (Java), for some reason, my program won't pick up "e" as part of my mouse listener. The syntax checker says "-e cannot be resolved". This is for a school project I am currently working on and would like to complete tonight during my free time. Apologies fo... | 3 |
7,517,219 | 09/22/2011 15:18:58 | 959,451 | 09/22/2011 15:18:58 | 1 | 0 | Flatfile created in 64 bit machine in BizTalk 2009, won't open currectly in 32 bit machine | I created a flatfile in biztalk 2009 64 bit, when I open it in the 64 bit machine it looks fine. however, when I copy it to a windows xp 32 bit machine and open it, the file looks not ok. It adds lots of NULLS in the end of the file.
This problem occures only if the file has above of 8 rows which makes it even weir... | biztalk | biztalk-2009 | null | null | null | 09/26/2011 06:08:54 | off topic | Flatfile created in 64 bit machine in BizTalk 2009, won't open currectly in 32 bit machine
===
I created a flatfile in biztalk 2009 64 bit, when I open it in the 64 bit machine it looks fine. however, when I copy it to a windows xp 32 bit machine and open it, the file looks not ok. It adds lots of NULLS in the end of ... | 2 |
7,481,532 | 09/20/2011 07:26:26 | 649,962 | 03/08/2011 14:37:31 | 595 | 3 | SQL query returning wrong column | I'm trying to figure out how return only the unique values from a SQL table, here's the command string : `SELECT DISTINCT Rep FROM Inventory` , only thing is, it returns data from a completely different column... any clues?
NOTE : I'm using SQL Server Express 2008 R2. | sql | query | null | null | null | 09/21/2011 04:52:54 | too localized | SQL query returning wrong column
===
I'm trying to figure out how return only the unique values from a SQL table, here's the command string : `SELECT DISTINCT Rep FROM Inventory` , only thing is, it returns data from a completely different column... any clues?
NOTE : I'm using SQL Server Express 2008 R2. | 3 |
10,761,713 | 05/25/2012 21:42:04 | 973,794 | 09/30/2011 20:21:01 | 1 | 0 | C - Reason behing printf ? Why not printg or just print? | I have a very silly doubt. When I was teaching my friend C-program, he asked me "why do we use **printf**, can't it be **printg** or just **print**". I couldn't answer him. So is there really a reason behind choosing **printf** in C programming ? | c | null | null | null | null | 05/26/2012 00:24:22 | not a real question | C - Reason behing printf ? Why not printg or just print?
===
I have a very silly doubt. When I was teaching my friend C-program, he asked me "why do we use **printf**, can't it be **printg** or just **print**". I couldn't answer him. So is there really a reason behind choosing **printf** in C programming ? | 1 |
5,604,712 | 04/09/2011 11:23:23 | 682,625 | 03/29/2011 18:11:01 | 16 | 0 | How to connect to emulator in App Inventor? | I have started App Inventor for Android Blocks Editor and Launched an Emulator on clicking on the New Emulator Button. Once the emulator has got completely launched, I tried to click on Connect to Device button as told in http://appinventor.googlelabs.com/learn/setup/hellopurr/hellopurremulatorpart1.html. But it shows ... | android-emulator | null | null | null | null | 04/09/2011 15:47:28 | too localized | How to connect to emulator in App Inventor?
===
I have started App Inventor for Android Blocks Editor and Launched an Emulator on clicking on the New Emulator Button. Once the emulator has got completely launched, I tried to click on Connect to Device button as told in http://appinventor.googlelabs.com/learn/setup/hel... | 3 |
11,256,942 | 06/29/2012 06:16:15 | 1,490,401 | 06/29/2012 06:08:48 | 1 | 0 | How to save a snap in an android application | I am developing an android application in which a snap will be taken. But I am having trouble to save it in a file and creating the file. Please help. | android | null | null | null | null | 06/29/2012 06:24:55 | not a real question | How to save a snap in an android application
===
I am developing an android application in which a snap will be taken. But I am having trouble to save it in a file and creating the file. Please help. | 1 |
3,522,880 | 08/19/2010 14:38:55 | 425,372 | 08/19/2010 14:38:55 | 1 | 0 | AntHill? How to add a project to the hill? | Anybody use AntHillPro for auto builds? If so, I'm curious how you add a .NET solution/ project to the hill (to be compiled along with everything else, etc.)
This is one of those "had to be done yesterday" things but no one on my team understands how to do this (I'd expect it to be the most basic question anyone w... | .net | build | automatic | anthill | null | null | open | AntHill? How to add a project to the hill?
===
Anybody use AntHillPro for auto builds? If so, I'm curious how you add a .NET solution/ project to the hill (to be compiled along with everything else, etc.)
This is one of those "had to be done yesterday" things but no one on my team understands how to do this (I'd... | 0 |
10,481,664 | 05/07/2012 11:57:51 | 1,092,252 | 12/11/2011 13:12:23 | 6 | 0 | Get .png image from sdcard | I am able to display all images from sdcard,but I want to list only .png image from sdcard.Is there is any way to implement this in android. | android | image-gallery | android-sdcard | null | null | 05/08/2012 18:07:20 | not a real question | Get .png image from sdcard
===
I am able to display all images from sdcard,but I want to list only .png image from sdcard.Is there is any way to implement this in android. | 1 |
9,704,699 | 03/14/2012 15:13:27 | 1,228,636 | 02/23/2012 14:48:49 | 52 | 1 | Yii redirect to user/login | I am noob Yii developer and I have AdminController with access rules. So this controller is enabled for only specific users, else it redirects to "example.com/site/login" but I need that it redirected to "example.com/user/login" . So can you tell me how to do this? | php | redirect | frameworks | login | yii | null | open | Yii redirect to user/login
===
I am noob Yii developer and I have AdminController with access rules. So this controller is enabled for only specific users, else it redirects to "example.com/site/login" but I need that it redirected to "example.com/user/login" . So can you tell me how to do this? | 0 |
5,527,032 | 04/03/2011 01:42:49 | 679,250 | 03/27/2011 19:09:10 | 5 | 0 | C# how to average a array input | I Have the first part of my code pretty complete and I got the jist of the rest, I'm just not sure how to put it all together. Here is the first part
using System;
namespace ConsoleApplication1
{
class Program
{
public class AccountInfo
{
public int Number { get; set; }
... | c# | arrays | loops | input | average | null | open | C# how to average a array input
===
I Have the first part of my code pretty complete and I got the jist of the rest, I'm just not sure how to put it all together. Here is the first part
using System;
namespace ConsoleApplication1
{
class Program
{
public class AccountInfo
{
... | 0 |
10,565,752 | 05/12/2012 17:04:26 | 1,096,537 | 12/13/2011 20:03:54 | 53 | 1 | Efficient way to truncate string to length N | For example, suppose I have `std::string` containing UNIX-style path to some file:
string path("/first/second/blah/myfile");
Suppose now I want to throw away file-related information and get path to 'blah' folder from this string. So is there an efficient (saying 'efficient' I mean 'without any copies') way o... | c++ | string | null | null | null | null | open | Efficient way to truncate string to length N
===
For example, suppose I have `std::string` containing UNIX-style path to some file:
string path("/first/second/blah/myfile");
Suppose now I want to throw away file-related information and get path to 'blah' folder from this string. So is there an efficient (say... | 0 |
10,771,342 | 05/27/2012 03:02:42 | 1,209,345 | 02/14/2012 14:56:43 | 1 | 0 | Stream live UStream videos to ROKU | We need to stream a live feed to a ROKU box and already have more than a thousand viewer pulling the stream from the media server so to reduce the server load i uploaded it into ustream live. Is there a way to stream live Ustream videos in my ROKU box? If not are there other media server that provide services like HTTP... | video | roku | brightscript | null | null | null | open | Stream live UStream videos to ROKU
===
We need to stream a live feed to a ROKU box and already have more than a thousand viewer pulling the stream from the media server so to reduce the server load i uploaded it into ustream live. Is there a way to stream live Ustream videos in my ROKU box? If not are there other medi... | 0 |
6,283,745 | 06/08/2011 18:54:25 | 474,326 | 10/13/2010 10:15:16 | 226 | 15 | Joda time: Get max number of weeks for particular year | How do I get the maximum number of weeks for a particular year with Joda-Time? | max | jodatime | maximum | week-number | joda | null | open | Joda time: Get max number of weeks for particular year
===
How do I get the maximum number of weeks for a particular year with Joda-Time? | 0 |
9,304,808 | 02/16/2012 02:45:22 | 10,823 | 09/16/2008 02:09:19 | 526 | 34 | What Community XSLT 2 libraries exist? | What XSLT 2.0 libaries are publicly available which:
* Are either free, Open Source or have minimal copy-right or patent limitations;
* Are general purpose in nature; and
* Are not tied down to any platform or XSLT implementation?
Through Google, I have found the following 3, but maybe there are others?
... | open-source | xslt-2.0 | null | null | null | null | open | What Community XSLT 2 libraries exist?
===
What XSLT 2.0 libaries are publicly available which:
* Are either free, Open Source or have minimal copy-right or patent limitations;
* Are general purpose in nature; and
* Are not tied down to any platform or XSLT implementation?
Through Google, I have found th... | 0 |
576,396 | 02/23/2009 02:54:28 | 29,482 | 10/20/2008 03:17:30 | 238 | 6 | strlen() returns void | What could cause the strlen function to return void?
I have a string in C++ of type *const char ** passed as argument to strlen, but it returns void..
it goes like
strlen(astruct.string);
Thanks..
EDIT: Did some checking,
strlen("test");
still gives <void>.. why?
| c++ | string | null | null | null | 02/23/2009 04:00:52 | off topic | strlen() returns void
===
What could cause the strlen function to return void?
I have a string in C++ of type *const char ** passed as argument to strlen, but it returns void..
it goes like
strlen(astruct.string);
Thanks..
EDIT: Did some checking,
strlen("test");
still gives <void>.. why?... | 2 |
6,902,805 | 08/01/2011 18:38:22 | 873,286 | 08/01/2011 18:29:44 | 1 | 0 | Web Development with Python | Hello Developers! I recently have learned Python language. Now I want to develop web applications with Python, but I am a totally new to web development. I also read that there is framework Django with which I can develop web apps. Can anyone suggest any reference book, site, tutorial from which I can learn web develop... | python | null | null | null | null | 08/01/2011 18:40:46 | not a real question | Web Development with Python
===
Hello Developers! I recently have learned Python language. Now I want to develop web applications with Python, but I am a totally new to web development. I also read that there is framework Django with which I can develop web apps. Can anyone suggest any reference book, site, tutorial f... | 1 |
11,491,378 | 07/15/2012 11:11:29 | 1,099,077 | 12/15/2011 03:29:00 | 66 | 0 | Android error with listfile in empty file folder | I try to get the listfile name from a folder, some of the folders are empty, some of them are not. my code successful got the name of the listfile with the sub files, but I got the error with the empty folder here is my code
public void scanFile() {
// TODO Auto-generated method stub
String temp = "/mnt/sd... | android | file | null | null | null | 07/15/2012 17:51:36 | not a real question | Android error with listfile in empty file folder
===
I try to get the listfile name from a folder, some of the folders are empty, some of them are not. my code successful got the name of the listfile with the sub files, but I got the error with the empty folder here is my code
public void scanFile() {
// TOD... | 1 |
2,450,677 | 03/15/2010 21:37:41 | 223,268 | 12/02/2009 21:29:11 | 47 | 4 | Using diff and patch to force one local code base to look like another | I've noticed this strange behavior of diff and patch when I've used them to force one code base to be identical to another. Let's say I want to update update_me to look identical to leave_unchanged. I go to update_me. I run a diff from leave_unchanged to update_me. Then I patch the diff into update_me. If there are new... | diff | patch | null | null | null | null | open | Using diff and patch to force one local code base to look like another
===
I've noticed this strange behavior of diff and patch when I've used them to force one code base to be identical to another. Let's say I want to update update_me to look identical to leave_unchanged. I go to update_me. I run a diff from leave_un... | 0 |
5,151,270 | 03/01/2011 06:35:04 | 635,227 | 02/26/2011 05:19:12 | 1 | 0 | Any body Help me ...I need xml as back end | Any body Help me ...I need xml as back end..then search the xml file for username and password
and then login ... | php | null | null | null | null | 03/01/2011 08:12:59 | not a real question | Any body Help me ...I need xml as back end
===
Any body Help me ...I need xml as back end..then search the xml file for username and password
and then login ... | 1 |
8,809,322 | 01/10/2012 19:27:50 | 1,009,587 | 10/23/2011 14:31:26 | 6 | 0 | gui user input through c | i have a project(sort of) where i have to write a c programto take in user inputs and store it into a mysql database for future retreival.
now, i have written the program for console mode.
ie it asks the user [quote]please enter a name [/quote] and then the name entered by the user is stored on the database.
b... | c | gui | null | null | null | 01/10/2012 22:27:45 | not a real question | gui user input through c
===
i have a project(sort of) where i have to write a c programto take in user inputs and store it into a mysql database for future retreival.
now, i have written the program for console mode.
ie it asks the user [quote]please enter a name [/quote] and then the name entered by the user i... | 1 |
355,178 | 12/10/2008 05:51:07 | 39,781 | 11/21/2008 19:54:27 | 82 | 3 | Looping problem with flash audio | At my client's request I have placed a song on her website, set to run on loop using flash. The swf is tucked inside of a table in her sidebar navigation. For some reason the swf doubles, then triples, etc. at the end of each play.
I'm using Dreamweaver and Flash and have tried different combinations of parameters:... | swf | flash | audio | null | null | null | open | Looping problem with flash audio
===
At my client's request I have placed a song on her website, set to run on loop using flash. The swf is tucked inside of a table in her sidebar navigation. For some reason the swf doubles, then triples, etc. at the end of each play.
I'm using Dreamweaver and Flash and have tried... | 0 |
6,118,868 | 05/25/2011 02:22:28 | 182,289 | 10/01/2009 06:16:33 | 672 | 44 | ASP.NET Web Deploy - Large Folders | I have an ASP.NET application that has two very large folders within the application on the production side: One for images and another for App_Themes. They grow dynamically from user input and customization. There are similar folders in my dev application, which have only some sample data for testing.
I am using w... | asp.net | null | null | null | null | null | open | ASP.NET Web Deploy - Large Folders
===
I have an ASP.NET application that has two very large folders within the application on the production side: One for images and another for App_Themes. They grow dynamically from user input and customization. There are similar folders in my dev application, which have only some s... | 0 |
10,526,176 | 05/10/2012 00:56:40 | 425,964 | 08/20/2010 03:20:10 | 770 | 4 | MYSQL VARCHAR or CHAR for fixed length string | If I know a value being stored in MySQL is always going to be exactly 32 characters, is it better performance to make the column type `CHAR` instead of `VARCHAR`? What exactly is the performance difference between using VARCHAR and CHAR?
Thanks. | mysql | char | varchar | null | null | null | open | MYSQL VARCHAR or CHAR for fixed length string
===
If I know a value being stored in MySQL is always going to be exactly 32 characters, is it better performance to make the column type `CHAR` instead of `VARCHAR`? What exactly is the performance difference between using VARCHAR and CHAR?
Thanks. | 0 |
9,550,638 | 03/03/2012 23:05:00 | 1,217,558 | 02/18/2012 03:44:59 | 7 | 0 | R: Interpreting ur.df() results (Unit root test: Dickey-Fuller) | I am running the following unit root test (Dickey-Fuller) on a time series using the ur.df() function in the {urca} package.
The command is:
summary(ur.df(d.Aus, type = "drift", 6))
The output is:
###############################################
# Augmented Dickey-Fuller Test Unit Root Test #
... | r | statistics | time-series | null | null | 03/04/2012 03:28:33 | off topic | R: Interpreting ur.df() results (Unit root test: Dickey-Fuller)
===
I am running the following unit root test (Dickey-Fuller) on a time series using the ur.df() function in the {urca} package.
The command is:
summary(ur.df(d.Aus, type = "drift", 6))
The output is:
##################################... | 2 |
6,085,740 | 05/22/2011 02:51:07 | 507,610 | 11/14/2010 21:16:35 | 1 | 0 | htaccess, Redirect all requests to https://www | Using .htaccess, I need to redirect all requests from all http www and non www, and https non www
to;
https://www.domain.com
How would I do this? | apache | .htaccess | null | null | null | 05/22/2011 08:53:13 | off topic | htaccess, Redirect all requests to https://www
===
Using .htaccess, I need to redirect all requests from all http www and non www, and https non www
to;
https://www.domain.com
How would I do this? | 2 |
890,806 | 05/20/2009 23:54:03 | 79,755 | 03/18/2009 22:35:45 | 182 | 9 | What is the most complex web-site / web-page you have created or seen? | What was the most complex / complicated web-site or web-page that you have created or seen?
What made it so complicated or complex? | complexity | null | null | null | null | 08/22/2011 12:33:29 | off topic | What is the most complex web-site / web-page you have created or seen?
===
What was the most complex / complicated web-site or web-page that you have created or seen?
What made it so complicated or complex? | 2 |
10,422,909 | 05/02/2012 23:00:50 | 743,821 | 05/08/2011 11:18:57 | 120 | 6 | How to use checked checkboxes to insert true into corresponding database column? | Ok I am creating a personal CMS for my portfolio. I have 10 checkboxes which are tags for the portfolio item, for ease of use I'll just list a couple:
<input name="itemName" placeholder="Portfolio Item Name" type="text" id="itemName"/><br />
<input type="checkbox" name="tags[]" value="html" />HTML<br ... | php | sql | null | null | null | 05/03/2012 00:45:01 | too localized | How to use checked checkboxes to insert true into corresponding database column?
===
Ok I am creating a personal CMS for my portfolio. I have 10 checkboxes which are tags for the portfolio item, for ease of use I'll just list a couple:
<input name="itemName" placeholder="Portfolio Item Name" type="text" id="ite... | 3 |
9,603,575 | 03/07/2012 14:45:34 | 1,129,916 | 01/04/2012 12:29:29 | 702 | 48 | Concurrency: Condition.awaitNanos() not releasing lock | In my program i am using a Condition object created from a
private static final Lock lock = new ReentrantLock();
like so:
private static final Condition operationFinished = MyClass.lock.newCondition();
Occasionally (as it is always happening with concurrency problems) i encounter following behavior:... | java | concurrency | locking | condition | null | null | open | Concurrency: Condition.awaitNanos() not releasing lock
===
In my program i am using a Condition object created from a
private static final Lock lock = new ReentrantLock();
like so:
private static final Condition operationFinished = MyClass.lock.newCondition();
Occasionally (as it is always happenin... | 0 |
7,964,894 | 11/01/2011 10:02:52 | 847,852 | 04/06/2011 04:57:56 | 11 | 1 | Android widget update the existing views | I am developing a android widget.
I have a initial layout fron the xml for my widget.<br>but i called a webservice call and nee d to update the view according to the response from the webservice <br>
public void changeTheApartmentTo(Context context, int position){
remoteViews.setTextViewText(... | android | null | null | null | null | null | open | Android widget update the existing views
===
I am developing a android widget.
I have a initial layout fron the xml for my widget.<br>but i called a webservice call and nee d to update the view according to the response from the webservice <br>
public void changeTheApartmentTo(Context context, int position){... | 0 |
3,732,070 | 09/17/2010 01:20:53 | 395,386 | 11/28/2009 00:24:28 | 377 | 7 | XNA MediaPlayer.Volume setter being extremely slow | I've recently added audio to my game loaded under the "Song" class from the XNA framework.
Everything seemed to work fine, until I decided to add the possibility to change the volume of the song, using the MediaPlayer.Volume setter.
However, when I try to change the volume for the first time, it runs **really** s... | c# | xna | mediaplayer | null | null | null | open | XNA MediaPlayer.Volume setter being extremely slow
===
I've recently added audio to my game loaded under the "Song" class from the XNA framework.
Everything seemed to work fine, until I decided to add the possibility to change the volume of the song, using the MediaPlayer.Volume setter.
However, when I try to ch... | 0 |
9,879,446 | 03/26/2012 20:38:07 | 1,293,982 | 03/26/2012 20:33:51 | 1 | 0 | jQuery is JS library. what the term library means? | i don't understand the meaning of the word library -
regarding to jQuery: will it be right to say that "library" is a huge file with many plug ins that are ready to use? | javascript | jquery | null | null | null | 03/26/2012 21:13:47 | not constructive | jQuery is JS library. what the term library means?
===
i don't understand the meaning of the word library -
regarding to jQuery: will it be right to say that "library" is a huge file with many plug ins that are ready to use? | 4 |
5,017,726 | 02/16/2011 14:38:24 | 603,839 | 02/04/2011 21:33:36 | 43 | 1 | how to check if APC opcode is working fine in PHP? | I am using PHP with APC cache enabled
<b>
apc.cache_by_default => On<br>
apc.enabled => On<br>
apc.ttl => 7200<br></b>
now how can i know if it is using opcode 100%.
for example let us say that i have this php file
<pre>
<?php
echo "Hi there";
?>
</pre>
now after running this file by seconds, let u... | php | apc | opcode | null | null | null | open | how to check if APC opcode is working fine in PHP?
===
I am using PHP with APC cache enabled
<b>
apc.cache_by_default => On<br>
apc.enabled => On<br>
apc.ttl => 7200<br></b>
now how can i know if it is using opcode 100%.
for example let us say that i have this php file
<pre>
<?php
echo "Hi there";
?... | 0 |
1,533,588 | 10/07/2009 19:13:41 | 106,560 | 05/13/2009 19:02:59 | 38 | 1 | I'm a developer. How do I become a technical manager? | I have roughly 8 years experience working as a software developer on many technologies. I know my stuff, but I really want to become a technical manager so I can have more control and responsibility on a project.
I also know a fair bit about architecture, estimation, how to manage people, interact with clients, wri... | project-management | career-development | management | null | null | 02/06/2012 01:14:18 | off topic | I'm a developer. How do I become a technical manager?
===
I have roughly 8 years experience working as a software developer on many technologies. I know my stuff, but I really want to become a technical manager so I can have more control and responsibility on a project.
I also know a fair bit about architecture, e... | 2 |
9,781,955 | 03/20/2012 05:53:53 | 1,177,377 | 01/30/2012 05:13:46 | 1 | 0 | Data binding using Jtemplate on JSON object | I have to access JSON object in my Jtemplate,but only problem is the property which i am trying to access is having a space
<script type="text/html" id="TemplateResultsTable">
{#template MAIN}
{$T.Asset Category}
</script> | json | data-binding | jtemplate | null | null | null | open | Data binding using Jtemplate on JSON object
===
I have to access JSON object in my Jtemplate,but only problem is the property which i am trying to access is having a space
<script type="text/html" id="TemplateResultsTable">
{#template MAIN}
{$T.Asset Category}
</scrip... | 0 |
9,853,826 | 03/24/2012 17:24:45 | 265,680 | 02/03/2010 21:36:46 | 1 | 0 | MongoDB Membership Providor on AppHarbor | I have an application on AppHarbor, and I've finally gotten it to work. One thing that's eluded me though is getting my Membership provider to work. I'm using MongoLab for my database, and it works fine with the rest of my application. When, I I try to use Membership, I get this error:
Unable to connect to serv... | asp.net | mongodb | asp.net-membership | mongodb-csharp | appharbor | null | open | MongoDB Membership Providor on AppHarbor
===
I have an application on AppHarbor, and I've finally gotten it to work. One thing that's eluded me though is getting my Membership provider to work. I'm using MongoLab for my database, and it works fine with the rest of my application. When, I I try to use Membership, I ge... | 0 |
5,622,103 | 04/11/2011 13:34:05 | 112,100 | 05/25/2009 13:07:28 | 4,505 | 222 | A.CallTo method that uses expression as a parameter | I'm trying to do something like this, and it doesn't work, although it kinda should be
A.CallTo(() => partyRepo.Where(o => o.Person != null))
.Returns(new[] {new Party()});
the call to this method whit this exact code as a parameter returns an empty Enumerable | unit-testing | fakeiteasy | null | null | null | null | open | A.CallTo method that uses expression as a parameter
===
I'm trying to do something like this, and it doesn't work, although it kinda should be
A.CallTo(() => partyRepo.Where(o => o.Person != null))
.Returns(new[] {new Party()});
the call to this method whit this exact code as a p... | 0 |
6,196,746 | 06/01/2011 05:37:11 | 341,091 | 05/14/2010 09:29:09 | 733 | 30 | How to keep my test methods with proguard.cfg | For my Android instrumentation test I need a few extra entry point into my classes. Those methods are not used in the actual application. My idea was to start them all `test_` and have general rule to exclude them from being optimized away. This is how far I got:
-keepclassmembers class com.xxx.**.* {
p... | android | proguard | null | null | null | null | open | How to keep my test methods with proguard.cfg
===
For my Android instrumentation test I need a few extra entry point into my classes. Those methods are not used in the actual application. My idea was to start them all `test_` and have general rule to exclude them from being optimized away. This is how far I got:
... | 0 |
9,075,747 | 01/31/2012 07:11:24 | 1,147,594 | 01/13/2012 11:38:00 | 1 | 0 | convert javascript/.js file to JQuery | i have the following JavaScript code which I like to convert to jQuery but has no luck.
how to convert the javascript in jquery.
Any help is greatly appreciated.
var deleteId;
var signid;
wat is the syntax for converting following function in jquery
function checkYourEmail() {
v... | jquery | asp.net | null | null | null | 01/31/2012 07:20:59 | too localized | convert javascript/.js file to JQuery
===
i have the following JavaScript code which I like to convert to jQuery but has no luck.
how to convert the javascript in jquery.
Any help is greatly appreciated.
var deleteId;
var signid;
wat is the syntax for converting following function in jquery
... | 3 |
10,900,179 | 06/05/2012 15:25:42 | 932,727 | 09/07/2011 12:45:57 | 43 | 4 | Caller ID - Cannot obtain incoming Number | The Label on the UI keeps reading "RING RING" and then back to empty "". It doesn't however display the incoming number, which is what I want. I tried to add an if function checking if there is a '0' in the data but that for some reason still doesn't work.
The following is my code:
using System;
using S... | c# | null | null | null | null | 06/07/2012 12:58:52 | not a real question | Caller ID - Cannot obtain incoming Number
===
The Label on the UI keeps reading "RING RING" and then back to empty "". It doesn't however display the incoming number, which is what I want. I tried to add an if function checking if there is a '0' in the data but that for some reason still doesn't work.
The followin... | 1 |
6,306,285 | 06/10/2011 12:22:38 | 792,693 | 06/10/2011 11:50:55 | 1 | 0 | How to make photo gallery? | I need to make photo gallery like default iphone photo gallery. How to achieve this? The important one is i am getting photos from url.
thanks in advance.... | iphone | slideshow | photo-gallery | null | null | 06/10/2011 12:36:33 | not a real question | How to make photo gallery?
===
I need to make photo gallery like default iphone photo gallery. How to achieve this? The important one is i am getting photos from url.
thanks in advance.... | 1 |
4,799,760 | 01/25/2011 22:51:02 | 584,141 | 01/21/2011 07:55:46 | 8 | 0 | method_added for class methods - understanding | I would like to do some magic in the moment instance and class methods are added to some class. Therefore I tried the following:
module Magic
def self.included(base)
base.extend ClassMethods
end
module ClassMethods
def method_added(name)
puts "class method '#... | ruby | metaprogramming | dsl | null | null | null | open | method_added for class methods - understanding
===
I would like to do some magic in the moment instance and class methods are added to some class. Therefore I tried the following:
module Magic
def self.included(base)
base.extend ClassMethods
end
module ClassMethods
def... | 0 |
10,553,726 | 05/11/2012 14:50:44 | 1,150,851 | 01/15/2012 20:28:16 | 63 | 0 | Multiple IPs per domain | I have 2 servers and I have a web service running on Server A.
The web service is running under a certain domain name, lets say mydomain.com.
In case Server A is crashing, I and to forward all the requests to Server B, if I will update the DNS record to forward all the requests from Server A to Server B it can ta... | networking | domain | dns | ip | godaddy | 05/13/2012 00:38:39 | off topic | Multiple IPs per domain
===
I have 2 servers and I have a web service running on Server A.
The web service is running under a certain domain name, lets say mydomain.com.
In case Server A is crashing, I and to forward all the requests to Server B, if I will update the DNS record to forward all the requests from S... | 2 |
11,734,622 | 07/31/2012 06:49:34 | 1,413,741 | 05/23/2012 22:39:35 | 7 | 0 | PHP class constructor to return mysql row as object | Could someone please provide an example of how to achieve this? I am hoping to use it something like this:
$user = new User($id = '5');
echo "hi {$user->firstName}\n";
The object should contain all fields in the row, which may be subject to change.
Thanks in advance! | php | mysql | oop | class | constructor | 08/01/2012 07:35:49 | not a real question | PHP class constructor to return mysql row as object
===
Could someone please provide an example of how to achieve this? I am hoping to use it something like this:
$user = new User($id = '5');
echo "hi {$user->firstName}\n";
The object should contain all fields in the row, which may be subject to change.... | 1 |
3,215,780 | 07/09/2010 19:08:34 | 325,217 | 04/25/2010 02:28:01 | 3 | 2 | Generating a CSR in Python | I'm trying to generate a CSR in Python without using OpenSSL. If someone could point in the right direction, I'd be very grateful. | python | csr | null | null | null | null | open | Generating a CSR in Python
===
I'm trying to generate a CSR in Python without using OpenSSL. If someone could point in the right direction, I'd be very grateful. | 0 |
3,851,321 | 10/03/2010 19:42:03 | 465,350 | 10/03/2010 19:42:02 | 1 | 0 | difference between enumerated and structure in c language? | difference between enumerated and structure. | c | null | null | null | null | 10/03/2010 20:03:50 | not a real question | difference between enumerated and structure in c language?
===
difference between enumerated and structure. | 1 |
1,621,843 | 10/25/2009 19:36:09 | 18,202 | 09/18/2008 20:16:09 | 512 | 39 | XNA Zune HD application won't exit gracefully | I have and built and deployed the application created by the new project template for the zune hd. The problem is whenever the application exits, the Zune reboots. This happens when remotely debugging from the PC or when running it right from the device. It happens both in debug mode and release. I've included the basi... | xna | zune | zune-hd | null | null | null | open | XNA Zune HD application won't exit gracefully
===
I have and built and deployed the application created by the new project template for the zune hd. The problem is whenever the application exits, the Zune reboots. This happens when remotely debugging from the PC or when running it right from the device. It happens bot... | 0 |
7,788,179 | 10/16/2011 23:53:51 | 998,344 | 10/16/2011 23:50:47 | 1 | 0 | VNC SERVER source/app for non-jailbroken iPhone? | I have looked and looked and cannot find an answer. I am looking for an open source vnc **server** for the iphone. I would like to deploy it to my device, and not install it via jailbreaking/cydia. [I'm not looking for a tv-out option (I know that exists), nor a VNC client. Also not looking for screen mirroring (http:/... | iphone | null | null | null | null | 10/17/2011 02:34:35 | off topic | VNC SERVER source/app for non-jailbroken iPhone?
===
I have looked and looked and cannot find an answer. I am looking for an open source vnc **server** for the iphone. I would like to deploy it to my device, and not install it via jailbreaking/cydia. [I'm not looking for a tv-out option (I know that exists), nor a VNC... | 2 |
9,748,275 | 03/17/2012 07:47:06 | 207,746 | 11/10/2009 12:04:36 | 620 | 55 | How to find the no of positive integral solutions for the eqation (1/x) + (1/y) = 1/(factorial of N) | Hi i need to find the no of positive integral solutions for the equations (1/x) + (1/y) = 1/N! (read 1 by n factorial), Kindly guide me to solve the problem, i need to write a program in some language to solve this equation. | math | equation | null | null | null | 03/17/2012 15:12:37 | off topic | How to find the no of positive integral solutions for the eqation (1/x) + (1/y) = 1/(factorial of N)
===
Hi i need to find the no of positive integral solutions for the equations (1/x) + (1/y) = 1/N! (read 1 by n factorial), Kindly guide me to solve the problem, i need to write a program in some language to solve this... | 2 |
4,376,749 | 12/07/2010 12:51:23 | 397,049 | 07/20/2010 16:34:55 | 637 | 14 | Drawing a circle given three points | I need to implement drawing a circle given three points in a plane. Any hints on how to start this in code. .. ?
Is there any library that draws a circle in C++ ... ? like the drawCircle(...) in Java ...
P.S : Any links or examples would be of great help and --- this is not homework. | c++ | c | null | null | null | 12/07/2010 13:20:11 | not a real question | Drawing a circle given three points
===
I need to implement drawing a circle given three points in a plane. Any hints on how to start this in code. .. ?
Is there any library that draws a circle in C++ ... ? like the drawCircle(...) in Java ...
P.S : Any links or examples would be of great help and --- this i... | 1 |
6,094,566 | 05/23/2011 08:19:25 | 765,651 | 05/23/2011 08:19:25 | 1 | 0 | while function in postgresql | I want to insert records to a table by function.
CREATE OR REPLACE FUNCTION insert_wilda()
RETURNS integer AS
$BODY$
DECLARE
countKab integer;
i integer;
BEGIN
i := 1;
SELECT count(*)+34 into countKab from m_kab
WHILE (i <= countKab)
loop
INSERT INTO "t_historyWilda"("kdHistory","kdProp","kdK... | postgresql | null | null | null | null | null | open | while function in postgresql
===
I want to insert records to a table by function.
CREATE OR REPLACE FUNCTION insert_wilda()
RETURNS integer AS
$BODY$
DECLARE
countKab integer;
i integer;
BEGIN
i := 1;
SELECT count(*)+34 into countKab from m_kab
WHILE (i <= countKab)
loop
INSERT INTO "t_histo... | 0 |
1,443,141 | 09/18/2009 08:03:53 | 110,976 | 05/22/2009 09:20:53 | 595 | 5 | File/folder structure for MVC architecture in simple PHP | HI All,
I want to create a web site in MVC architecture, with out using any frameworks.
What would be the **Files/Folder** structure (**Module/Views/Models**).
| mvc | php | null | null | null | null | open | File/folder structure for MVC architecture in simple PHP
===
HI All,
I want to create a web site in MVC architecture, with out using any frameworks.
What would be the **Files/Folder** structure (**Module/Views/Models**).
| 0 |
7,186,420 | 08/25/2011 07:13:31 | 800,875 | 06/16/2011 05:45:10 | 64 | 1 | Groovy On Grails examples and sample code snippets | Hi i am new to Groovy on Grails and i want it to study myself... so please suggest me good websites and blogs which has groovy exapmles and sample code snippets and cookbook examples
i have found some.
http://mrhaki.blogspot.com/2009/12/groovy-goodness-getting-all_25.html
http://www.groovyexamples.org
| grails | groovy | null | null | null | 08/25/2011 18:08:52 | not constructive | Groovy On Grails examples and sample code snippets
===
Hi i am new to Groovy on Grails and i want it to study myself... so please suggest me good websites and blogs which has groovy exapmles and sample code snippets and cookbook examples
i have found some.
http://mrhaki.blogspot.com/2009/12/groovy-goodness-getting... | 4 |
9,695,539 | 03/14/2012 03:33:26 | 148,678 | 07/31/2009 19:33:57 | 43 | 7 | Its fine programing for ios4? | i have a question about a very hard development thing: its okay choose ios4 sdk for startig a project with all the cool things in ios5? And with new iPad in the market?
Thanks | ios | ipad | ios5 | ios4 | null | 03/14/2012 04:20:50 | not constructive | Its fine programing for ios4?
===
i have a question about a very hard development thing: its okay choose ios4 sdk for startig a project with all the cool things in ios5? And with new iPad in the market?
Thanks | 4 |
2,942,911 | 05/31/2010 10:31:22 | 79,435 | 03/18/2009 10:54:22 | 533 | 6 | How to access key itself using javascript | I have a json like:
var xx= {'name':'alx','age':12};
now i can read the value of name which is 'alx' as xx[0].name, but how to retrieve value of 'name' itself, means how i can fetch Key @ run time.
Please let me know if my question is not clear and you guys want more info.
Thanks.
| javascript | json | null | null | null | null | open | How to access key itself using javascript
===
I have a json like:
var xx= {'name':'alx','age':12};
now i can read the value of name which is 'alx' as xx[0].name, but how to retrieve value of 'name' itself, means how i can fetch Key @ run time.
Please let me know if my question is not clear and you guys wa... | 0 |
10,693,559 | 05/21/2012 22:35:56 | 1,236,971 | 02/28/2012 03:07:43 | 24 | 0 | Advanced Applications with NodeJS + ExpressJS + MongoDB | I'm currently using a NodeJS + ExpressJS + MongoDB + RequireJS + BackboneJS + Bootstrap + jQuery Mobile stack for web development. I bought on to the hype at an early age, mostly for the performance, singular language (JavaScript), possibility of real time apps, "next generation" web development, etc. (I came from the... | node.js | express | null | null | null | 05/22/2012 17:05:46 | not constructive | Advanced Applications with NodeJS + ExpressJS + MongoDB
===
I'm currently using a NodeJS + ExpressJS + MongoDB + RequireJS + BackboneJS + Bootstrap + jQuery Mobile stack for web development. I bought on to the hype at an early age, mostly for the performance, singular language (JavaScript), possibility of real time a... | 4 |
11,711,386 | 07/29/2012 17:32:00 | 1,108,397 | 12/20/2011 17:44:50 | 216 | 2 | performance expected from cheap VPS's | I know it's a very open question, but I think it can be answered more or less.
I will soon release a service. The topology:
-> one VPS with nginx / eAccelerator / php-fpm , with 4Gb RAM and apparently with an excellent internet connection. This is the entry point, it is a simple PHP application that builds the star... | php | nginx | vps | eaccelerator | null | 07/30/2012 21:55:09 | off topic | performance expected from cheap VPS's
===
I know it's a very open question, but I think it can be answered more or less.
I will soon release a service. The topology:
-> one VPS with nginx / eAccelerator / php-fpm , with 4Gb RAM and apparently with an excellent internet connection. This is the entry point, it is a ... | 2 |
7,302,562 | 09/04/2011 22:37:14 | 490,127 | 10/28/2010 13:13:06 | 157 | 9 | OpenGL ES 2.0: Commands required just before glDrawElements with VBO | I've setup a Vertex Buffer Object (VBO) with vertex and index data. I've also created a GLprogram to use custom shaders, so I call `glUseProgram` within my code.
My vertex data changes every frame, so I've supplied `GL_STREAM_DRAW` to my two `glBufferData` calls (one for vertex data, one for indices).
I use `glBu... | opengl | opengl-es-2.0 | vbo | null | null | 09/07/2011 02:15:49 | not a real question | OpenGL ES 2.0: Commands required just before glDrawElements with VBO
===
I've setup a Vertex Buffer Object (VBO) with vertex and index data. I've also created a GLprogram to use custom shaders, so I call `glUseProgram` within my code.
My vertex data changes every frame, so I've supplied `GL_STREAM_DRAW` to my two `... | 1 |
7,687,784 | 10/07/2011 13:15:03 | 733,284 | 05/01/2011 12:54:30 | 23 | 0 | How to disable/enable all children on LinearLayout in Android | Is there to problematically disable/enable all the children of a certien layout?
For example i have this layout with two children:
<LinearLayout android:layout_height="wrap_content"
android:id="@+id/linearLayout1" android:layout_width="fill_parent">
<SeekBar android:layout_height="wrap_content... | android | null | null | null | null | null | open | How to disable/enable all children on LinearLayout in Android
===
Is there to problematically disable/enable all the children of a certien layout?
For example i have this layout with two children:
<LinearLayout android:layout_height="wrap_content"
android:id="@+id/linearLayout1" android:layout_width... | 0 |
4,983,585 | 02/13/2011 10:11:33 | 383,847 | 07/05/2010 16:24:18 | 40 | 5 | Wordpress- Get custom post type associated with a custom taxonomy | according to the codex, the get_post_types() function has a 'taxonomies' parameter, but there is no explanation of exactly how it works.
http://codex.wordpress.org/Function_Reference/get_post_types
$post_args = array(
'public' => true,
'taxonomies' => 'genre',
'show_ui' => true
... | wordpress | taxonomy | custom-post-type | null | null | null | open | Wordpress- Get custom post type associated with a custom taxonomy
===
according to the codex, the get_post_types() function has a 'taxonomies' parameter, but there is no explanation of exactly how it works.
http://codex.wordpress.org/Function_Reference/get_post_types
$post_args = array(
'public' ... | 0 |
7,468,345 | 09/19/2011 08:42:02 | 698,668 | 04/08/2011 12:51:35 | 142 | 1 | How to exclude category from specific page of wordpress | i want to exclude some categories from this wp template page, but having problem .. please help me to finish this. codes are following..
<?php
/*
Template Name: Menu card
*/
?>
<?php global $more, $post, $wpdb, $pageid;
get_header();
if (!$pageid) {
$pageid = $post->I... | php | wordpress | function | loops | categories | 05/24/2012 12:17:49 | not a real question | How to exclude category from specific page of wordpress
===
i want to exclude some categories from this wp template page, but having problem .. please help me to finish this. codes are following..
<?php
/*
Template Name: Menu card
*/
?>
<?php global $more, $post, $wpdb, $pageid;
... | 1 |
9,045,235 | 01/28/2012 12:29:48 | 1,008,219 | 10/22/2011 05:58:56 | 1 | 0 | Crystal report Printer in ASP.net 3.5 after published | I was developed a project in local system. in that project in one of the form have Crystal report Print functions. In local system working fine. after publishing in server it replies "Invalid Printer" error message.
CrystalDecisions.CrystalReports.Engine.ReportDocument rpt =
new CrystalDeci... | asp.net | crystal-reports | report | null | null | null | open | Crystal report Printer in ASP.net 3.5 after published
===
I was developed a project in local system. in that project in one of the form have Crystal report Print functions. In local system working fine. after publishing in server it replies "Invalid Printer" error message.
CrystalDecisions.CrystalReports.Engine.Rep... | 0 |
493,641 | 01/29/2009 21:59:36 | 24,702 | 10/03/2008 01:01:40 | 293 | 25 | How do you prod your clients to get a move along? | by this i mean; how do you get your client to proactively get involved in their own project rather then you constantly chasing them?
i have a project im doing at the moment which constantly keeps stalling because the client isnt doing 'their part' - i.e. providing feedback on the work i have done for them, making de... | project-management | business | null | null | null | null | open | How do you prod your clients to get a move along?
===
by this i mean; how do you get your client to proactively get involved in their own project rather then you constantly chasing them?
i have a project im doing at the moment which constantly keeps stalling because the client isnt doing 'their part' - i.e. providi... | 0 |
11,500,681 | 07/16/2012 08:35:33 | 1,412,727 | 05/23/2012 13:35:00 | 1 | 0 | How to create another controller instance in view.Yii Framework | I have som view with it's controller, but i need to call some method in view from another controller.
I've tried to write some like this:
<?php
$another_c = new anotherController;
$order_c->getMethodOfAnotherController($params);
?>
but it's show me error:
"include(AnotherController.php) [<a h... | php | view | controller | yii | null | 07/19/2012 02:03:12 | too localized | How to create another controller instance in view.Yii Framework
===
I have som view with it's controller, but i need to call some method in view from another controller.
I've tried to write some like this:
<?php
$another_c = new anotherController;
$order_c->getMethodOfAnotherController($params);
... | 3 |
5,553,968 | 04/05/2011 14:58:54 | 693,186 | 04/05/2011 14:58:54 | 1 | 0 | Android canvas Bitmap size and measurement | I have a PNG image that I am editing in Inkscape. It is an irregular, jagged shape, but I need to do collision detection with it. It's too big to make a crude rect around it (it takes up more than a standard phone screen).So I have been drawing rectangles in INkscape around it and noting down the pixel dimensions of th... | android | canvas | bitmap | inkscape | null | null | open | Android canvas Bitmap size and measurement
===
I have a PNG image that I am editing in Inkscape. It is an irregular, jagged shape, but I need to do collision detection with it. It's too big to make a crude rect around it (it takes up more than a standard phone screen).So I have been drawing rectangles in INkscape arou... | 0 |
4,996,742 | 02/14/2011 20:08:02 | 214,111 | 11/18/2009 21:36:13 | 41 | 2 | where do I go to hire a flash or silverlight developer? | Is there a website where you can go to find developers?
thanks | silverlight | flash | null | null | null | 02/14/2011 20:27:12 | off topic | where do I go to hire a flash or silverlight developer?
===
Is there a website where you can go to find developers?
thanks | 2 |
10,249,501 | 04/20/2012 15:56:13 | 914,308 | 08/26/2011 14:38:22 | 1,303 | 24 | Is there a viable handwriting recognition library / program? | I'm looking to process a bunch of scanned response postcards that have **handwritten** contact information on them (ie Name, Address, Phone, Email, etc).
I'm curious if there is a viable open-source library or piece of software to do this. In looking around a lot of the information is from 2009 or early and isn't v... | java | python | r | machine-learning | ocr | 05/14/2012 14:16:49 | not constructive | Is there a viable handwriting recognition library / program?
===
I'm looking to process a bunch of scanned response postcards that have **handwritten** contact information on them (ie Name, Address, Phone, Email, etc).
I'm curious if there is a viable open-source library or piece of software to do this. In looking... | 4 |
4,294,872 | 11/28/2010 01:33:30 | 522,661 | 11/28/2010 01:33:30 | 1 | 0 | C++ class definition | class Rectangle {
int x, y;
public:
void set_values (int,int);
int area (void) {return (x*y);}
};
void Rectangle::set_values (int a, int b) {
x = a;
y = b;
}
I have this class inside of function of another class
its giving error: a function-definition is not allowed here before ‘{’ toke... | c++ | class | null | null | null | null | open | C++ class definition
===
class Rectangle {
int x, y;
public:
void set_values (int,int);
int area (void) {return (x*y);}
};
void Rectangle::set_values (int a, int b) {
x = a;
y = b;
}
I have this class inside of function of another class
its giving error: a function-definition is not al... | 0 |
11,325,878 | 07/04/2012 09:06:47 | 679,735 | 03/28/2011 06:21:46 | 71 | 2 | BER Encoding of an Octet String | I am working on implementing the ITU-T Rec. X.690-0207 ANS.1 BER encoding rule. But I seem not to understand how to encode an octet string value from this documentation. Can someone please help break this down into steps with an example. I intent implementing these encoding rules in C language.
I really will appreci... | c | encoding | asn.1 | null | null | 07/05/2012 14:42:08 | not constructive | BER Encoding of an Octet String
===
I am working on implementing the ITU-T Rec. X.690-0207 ANS.1 BER encoding rule. But I seem not to understand how to encode an octet string value from this documentation. Can someone please help break this down into steps with an example. I intent implementing these encoding rules in... | 4 |
3,078,275 | 06/20/2010 04:58:58 | 139,284 | 07/16/2009 07:58:09 | 327 | 11 | Unit Testing & Bug Repo for Vb.Net 2005 | Working on a company using the .Net Framework 2 (vb6 and vb.net 2005) and a very rudimentary sourceforge setup, I'm kindof at a loss when I was tasked to "...find a suitable Open Source Unit Testing & Bug Tracking system..." for the team. Those were my superior's exact words.
I know about the Team Foundation Server... | vb.net | unit-testing | .net-2.0 | bug-tracking | null | null | open | Unit Testing & Bug Repo for Vb.Net 2005
===
Working on a company using the .Net Framework 2 (vb6 and vb.net 2005) and a very rudimentary sourceforge setup, I'm kindof at a loss when I was tasked to "...find a suitable Open Source Unit Testing & Bug Tracking system..." for the team. Those were my superior's exact words... | 0 |
4,042,711 | 10/28/2010 12:05:13 | 413,174 | 08/06/2010 14:50:58 | 74 | 2 | C++: Resize an image | I have an image which is representative of an Array2D:
template<class T = uint8_t>
Array2D<T> mPixData[4]; ///< 3 component channels + alpha channel.
The comment is in the library. I have no clues about the explanation.
Could anybody please help me to?
1. Explain what are the 3 component channels ... | c++ | image | image-processing | null | null | null | open | C++: Resize an image
===
I have an image which is representative of an Array2D:
template<class T = uint8_t>
Array2D<T> mPixData[4]; ///< 3 component channels + alpha channel.
The comment is in the library. I have no clues about the explanation.
Could anybody please help me to?
1. Explain what ar... | 0 |
6,282,024 | 06/08/2011 16:22:03 | 258,414 | 01/25/2010 12:42:01 | 66 | 16 | How can I use tto eval with if clause? |
<div class="oldPrice" <%#if(Eval("OldPrice") == Eval("Price") ){ %> style="display:none" <%}%> > | c# | eval | null | null | null | 06/08/2011 16:35:18 | not a real question | How can I use tto eval with if clause?
===
<div class="oldPrice" <%#if(Eval("OldPrice") == Eval("Price") ){ %> style="display:none" <%}%> > | 1 |
7,563,262 | 09/27/2011 01:31:50 | 942,982 | 09/13/2011 16:31:27 | 3 | 1 | EF Code-First - Storing IEnumerable Of Enum | I'm using EF June CTP which has simple enum support. I have a MVC 3 view which has checkboxes that when submitted are retrieved as an array of some enum.
public enum CheckBox : byte
{
VALUE_1 = 1,
VALUE_2 = 2,
...
}
I need to take that colelction of enums ((IEnumerable<CheckB... | entity-framework-4.1 | ef-code-first | code-first | null | null | null | open | EF Code-First - Storing IEnumerable Of Enum
===
I'm using EF June CTP which has simple enum support. I have a MVC 3 view which has checkboxes that when submitted are retrieved as an array of some enum.
public enum CheckBox : byte
{
VALUE_1 = 1,
VALUE_2 = 2,
...
}
I need to t... | 0 |
8,354,352 | 12/02/2011 09:39:50 | 770,733 | 05/26/2011 05:38:28 | 1 | 0 | can't get region and culture info for Bahamas | Country A 2 A 3 Number
----------------------------------------------------------------------BAHAMAS BS BHS 044
is country already exist.
but I can't got region and cultureinfo by .net api.
RegionInfo r = ... | cultureinfo | region | null | null | null | null | open | can't get region and culture info for Bahamas
===
Country A 2 A 3 Number
----------------------------------------------------------------------BAHAMAS BS BHS 044
is country already exist.
but I can't got region and cul... | 0 |
5,788,391 | 04/26/2011 09:26:14 | 725,090 | 04/26/2011 09:26:14 | 1 | 0 | jquery: how to update draggable clone id? | I want to add draggable items to a sortable list, which works fine in my example on <http://jsbin.com/ipese5/35>
Problem is that I want to update id of the cloned item when dragged to the sortable list.
Strange thing is that the following code updates the id to "new-id" in de ui object (as I can see in my console),... | jquery | draggable | sortable | null | null | null | open | jquery: how to update draggable clone id?
===
I want to add draggable items to a sortable list, which works fine in my example on <http://jsbin.com/ipese5/35>
Problem is that I want to update id of the cloned item when dragged to the sortable list.
Strange thing is that the following code updates the id to "new-id... | 0 |
11,688,843 | 07/27/2012 13:34:17 | 1,159,288 | 01/19/2012 19:21:02 | 1 | 0 | c# TransparencyKey bug in XP | I have a very big problem. I'm developed an application in Windows 7 Ultimate. I'm using
this code: "this.TransparencyKey = System.Drawing.Color.Lime;"
This works fine in windows 7, but doesn't in XP. How can i fix this bug? | c# | windows | windows-xp | bugs | transparent | 07/27/2012 18:34:43 | not a real question | c# TransparencyKey bug in XP
===
I have a very big problem. I'm developed an application in Windows 7 Ultimate. I'm using
this code: "this.TransparencyKey = System.Drawing.Color.Lime;"
This works fine in windows 7, but doesn't in XP. How can i fix this bug? | 1 |
5,145,476 | 02/28/2011 17:41:09 | 638,124 | 02/28/2011 17:41:09 | 1 | 0 | Optimization of arithmetic code in C++ | I had those simple questions on a test to optimize code in C++
- a = b + 5
- a = b * 5
- a = bmod(5)
| c++ | optimization | math | null | null | 02/28/2011 17:43:47 | not a real question | Optimization of arithmetic code in C++
===
I had those simple questions on a test to optimize code in C++
- a = b + 5
- a = b * 5
- a = bmod(5)
| 1 |
4,998,984 | 02/15/2011 00:58:16 | 223,818 | 12/03/2009 12:54:59 | 11 | 3 | any tools for making virtual folder from dropbox, ubuntuone, azure etc free storage ? |
Most of the online storage providers like dropbox ,ubuntu one , azure etc , provide only 2 GB for free.
Are there any tools , scripts written for making a big virtual storage pooling all this free storages , like the scripts/tools might internally create individual accounts for authentication etc but give user a big... | ubuntu | virtual | free | storage | dropbox | 02/15/2011 02:20:35 | off topic | any tools for making virtual folder from dropbox, ubuntuone, azure etc free storage ?
===
Most of the online storage providers like dropbox ,ubuntu one , azure etc , provide only 2 GB for free.
Are there any tools , scripts written for making a big virtual storage pooling all this free storages , like the scripts/t... | 2 |
3,656,859 | 09/07/2010 08:08:00 | 213,633 | 11/18/2009 10:12:36 | 1,114 | 122 | [PHP] Variable gets lost (maybe because of ajax?) | I have a fairly simple script but something is going wrong and I can't seem to figure it out. My script collects files from a folder, selects a random file. The random selected file is checked against another array to check if it's not in that array. That checked array is in fact a textstream put into an array by explo... | php | null | null | null | null | null | open | [PHP] Variable gets lost (maybe because of ajax?)
===
I have a fairly simple script but something is going wrong and I can't seem to figure it out. My script collects files from a folder, selects a random file. The random selected file is checked against another array to check if it's not in that array. That checked a... | 0 |
9,888,081 | 03/27/2012 10:46:14 | 315,594 | 04/13/2010 14:40:55 | 550 | 8 | ObjectiveC Sorting Array | I want to sort array using Bubble Sort.
I an missing a small point due to which array is not sorted properly.
I would highly appreciate if somebody can figure out the issue.
<pre><code>int i,k;
int flag = 1;
MReview *store1 ,*store2,*tempSwap;
tempSwap = [[MReview alloc] init];
store1 = [[MReview al... | iphone | objective-c | ios | array-sorting | null | 03/27/2012 15:35:39 | not a real question | ObjectiveC Sorting Array
===
I want to sort array using Bubble Sort.
I an missing a small point due to which array is not sorted properly.
I would highly appreciate if somebody can figure out the issue.
<pre><code>int i,k;
int flag = 1;
MReview *store1 ,*store2,*tempSwap;
tempSwap = [[MReview alloc] i... | 1 |
3,381,805 | 08/01/2010 11:18:32 | 174,261 | 09/16/2009 10:28:26 | 436 | 19 | # character in URL and Scroll to top of the screen on page load | When I refresh a page, browsers retain the scroll position of the page if there is a `#` in the URL, How to over ride this behavior and scroll to the top of the screen without using JavaScript.
My URL is like `http://example.com/#` | url | null | null | null | null | null | open | # character in URL and Scroll to top of the screen on page load
===
When I refresh a page, browsers retain the scroll position of the page if there is a `#` in the URL, How to over ride this behavior and scroll to the top of the screen without using JavaScript.
My URL is like `http://example.com/#` | 0 |
4,764,116 | 01/21/2011 21:44:13 | 576,142 | 01/14/2011 20:04:39 | 33 | 0 | do I need to use full text search for domain names and Ip address?? | I do have domain names and ip address of it. this is almost 200k so when I redesign a table do I need to enable FULL TEXT SEARCH functionality of MySQL??
I want search table with domain names and IP address as well. means I search by domain then it should show IP address and if I search with IP then it should show d... | mysql | database | database-design | table | mysql-query | null | open | do I need to use full text search for domain names and Ip address??
===
I do have domain names and ip address of it. this is almost 200k so when I redesign a table do I need to enable FULL TEXT SEARCH functionality of MySQL??
I want search table with domain names and IP address as well. means I search by domain the... | 0 |
8,049,193 | 11/08/2011 10:46:15 | 646,844 | 03/06/2011 11:15:06 | 81 | 13 | Create a object in C# without the use of new Keyword? | Is there a way to create a object without the use of new keyword in C# some thing like class.forname();
in java. | c# | new-operator | null | null | null | 11/09/2011 02:44:10 | not a real question | Create a object in C# without the use of new Keyword?
===
Is there a way to create a object without the use of new keyword in C# some thing like class.forname();
in java. | 1 |
11,036,579 | 06/14/2012 15:38:03 | 1,022,201 | 10/31/2011 15:12:56 | 1 | 0 | Data model is not updated when submitting form with RichFaces tabpanel | I have the following layout in my page (simplified)
<h:form>
<h:commandButton action="#{bean.save} value="Save"/>
<rich:tabPanel switchType="ajax">
<rich:tab name="one" switchType="client">
</rich:tab>
<rich:tab name="two" switchType="ajax">
</rich:tab>
<rich:tab name="three" sw... | java | jsf | richfaces | null | null | null | open | Data model is not updated when submitting form with RichFaces tabpanel
===
I have the following layout in my page (simplified)
<h:form>
<h:commandButton action="#{bean.save} value="Save"/>
<rich:tabPanel switchType="ajax">
<rich:tab name="one" switchType="client">
</rich:tab>
<rich:tab name=... | 0 |
5,505,181 | 03/31/2011 19:26:06 | 299,408 | 03/22/2010 21:23:02 | 592 | 10 | ASP.NET - Storing Classes in Session Variables - How it works (memory)? | I've read that you can store classes directly into a session variable i.e.
Session["var"] = myclass;
My question is how the memory management works. Does it automatically serialize this into the session on the client side?
Or does it hold the data for the instance of the class in server memory, and just h... | c# | .net | asp.net | session | null | null | open | ASP.NET - Storing Classes in Session Variables - How it works (memory)?
===
I've read that you can store classes directly into a session variable i.e.
Session["var"] = myclass;
My question is how the memory management works. Does it automatically serialize this into the session on the client side?
Or doe... | 0 |
3,927,308 | 10/13/2010 19:33:26 | 308,079 | 04/03/2010 01:37:12 | 486 | 12 | Whate are some locations to post job requests for iPhone developers online? | I am looking for an iPhone developer for a consulting job. The job is a single project and will have a well defined set of requirements. The problem is I don't know where to go to post for something like this. The developer would of course have a contract and get paid.
What are some sites i can post a job descriptio... | iphone | jobs | posting | null | null | 05/06/2012 14:32:48 | off topic | Whate are some locations to post job requests for iPhone developers online?
===
I am looking for an iPhone developer for a consulting job. The job is a single project and will have a well defined set of requirements. The problem is I don't know where to go to post for something like this. The developer would of course... | 2 |
1,390,662 | 09/07/2009 19:15:02 | 48,082 | 12/21/2008 03:44:34 | 7,545 | 509 | How to load + unload ASPNET runtime, without using bin directory, for automated testing purposes | I want to load the ASPNET runtime, run one or more pages, then unload it. This is for testing purposes. It's not UI testing; I'm really just testing the use of a library in an ASPNET context.
Normally this kind of thing is done with a call to `System.Web.Hosting.ApplicationHost.CreateApplicationHost` .
This i... | asp.net | testing | appdomain | null | null | null | open | How to load + unload ASPNET runtime, without using bin directory, for automated testing purposes
===
I want to load the ASPNET runtime, run one or more pages, then unload it. This is for testing purposes. It's not UI testing; I'm really just testing the use of a library in an ASPNET context.
Normally this kind o... | 0 |
10,845,895 | 06/01/2012 07:07:04 | 1,429,149 | 05/31/2012 18:13:06 | 1 | 0 | what is the difference between database for decision support system and data warehousing | I would like to know about what is the difference between a database for decision support system and dataware housing. Both provide the same functionality as far as i am cocern. | sql | database | data-mining | data-warehouse | null | 06/03/2012 16:16:19 | not a real question | what is the difference between database for decision support system and data warehousing
===
I would like to know about what is the difference between a database for decision support system and dataware housing. Both provide the same functionality as far as i am cocern. | 1 |
7,471,933 | 09/19/2011 13:44:40 | 495,452 | 11/03/2010 02:14:50 | 608 | 1 | Click on button to change to table view in Objective-c | I have two button in my program(**figure A**), I want to change to a table view(**figure B**) when I click on one button. Can someone please advise how to do that?
Thanks
![enter image description here][1]
![enter image description here][2]
[1]: http://i.stack.imgur.com/7qkIJ.png
[2]: http://i.stack.imgu... | objective-c | uitableview | null | null | null | null | open | Click on button to change to table view in Objective-c
===
I have two button in my program(**figure A**), I want to change to a table view(**figure B**) when I click on one button. Can someone please advise how to do that?
Thanks
![enter image description here][1]
![enter image description here][2]
[1]: ht... | 0 |
4,450,853 | 12/15/2010 14:18:24 | 289,666 | 03/09/2010 13:00:04 | 2,022 | 49 | I've decided not to cater for IE6 - What tasty CSS treats can I use? | Ok firstly, this is not a discussion on whether I should be catering for IE6. I'm sure there's hundreds of threads on S.O. where you can discuss the pros, cons, market shares, javascript shivs and all the other stuff that comes with it.
> Let's say I've put two fingers up to
> IE6 and am ignoring its existence -
>... | html | css | null | null | null | 05/07/2012 14:26:16 | not constructive | I've decided not to cater for IE6 - What tasty CSS treats can I use?
===
Ok firstly, this is not a discussion on whether I should be catering for IE6. I'm sure there's hundreds of threads on S.O. where you can discuss the pros, cons, market shares, javascript shivs and all the other stuff that comes with it.
> Let'... | 4 |
247,421 | 10/29/2008 16:12:41 | 1,175 | 08/13/2008 10:21:54 | 4,260 | 197 | Best Programmer Calculator for iPhone | What is the best programmer's calculator application for the iPhone? | iphone | calculator | null | null | null | 06/04/2011 11:44:43 | off topic | Best Programmer Calculator for iPhone
===
What is the best programmer's calculator application for the iPhone? | 2 |
8,516,843 | 12/15/2011 07:59:08 | 699,852 | 04/09/2011 10:32:28 | 18 | 0 | Firefox live page edit - add comment under html head tag | We need to edit a page in firefox on the live after opening the page. We need to add some comment like this within the head tag.
<!--
abcdefg
-->
We tried firebug, but it is not helping us to add this in head. Opera browser has inbuilt editing which allows us to save. But we could not find similar thing... | firefox | firefox-addon | null | null | null | 12/15/2011 16:54:04 | not a real question | Firefox live page edit - add comment under html head tag
===
We need to edit a page in firefox on the live after opening the page. We need to add some comment like this within the head tag.
<!--
abcdefg
-->
We tried firebug, but it is not helping us to add this in head. Opera browser has inbuilt editin... | 1 |
4,270,290 | 11/24/2010 18:34:12 | 519,236 | 11/24/2010 18:34:12 | 1 | 0 | sending post data using fopen or curl? | sending post data using fopen or curl?
anybody please :( | php | curl | fopen | postdata | null | 11/24/2010 18:47:11 | not a real question | sending post data using fopen or curl?
===
sending post data using fopen or curl?
anybody please :( | 1 |
428,243 | 01/09/2009 14:34:07 | 1,694 | 08/18/2008 02:45:22 | 5,788 | 118 | Best to have hundreds of columns or split into multiple tables? | I'm designing a database of statistics about the operation of mechanical equipment. Each batch of data will contain hundreds of statistics, so I'm trying to decide whether to create a single table with hundreds of columns or to split it up into multiple tables, each containing related statistics. For example, I could... | database-design | null | null | null | null | null | open | Best to have hundreds of columns or split into multiple tables?
===
I'm designing a database of statistics about the operation of mechanical equipment. Each batch of data will contain hundreds of statistics, so I'm trying to decide whether to create a single table with hundreds of columns or to split it up into multi... | 0 |
10,212,992 | 04/18/2012 15:41:20 | 1,341,824 | 04/18/2012 15:31:33 | 1 | 0 | Samsung S2 and Note browser resending a request after 30 seconds | We have found that the Samsung SII and Note will automatically resend any request from the browser if it doesn't receive any content from the server with in 30 seconds.
This is causing us problems by effectively submitting the same request twice, and the browser only gets the response from the second request. (si... | android | html5 | browser | null | null | null | open | Samsung S2 and Note browser resending a request after 30 seconds
===
We have found that the Samsung SII and Note will automatically resend any request from the browser if it doesn't receive any content from the server with in 30 seconds.
This is causing us problems by effectively submitting the same request twice... | 0 |
9,951,251 | 03/30/2012 22:40:47 | 506,712 | 11/13/2010 12:59:55 | 94 | 1 | Which should I use: GAE or AWS? | I'm thinking about developing an iPhone/Android app which will include a server side.
For some parts, I don't mind retrieve the data from the server just getting the info in a regular request. But one of the functionality I want to implement is a Whats-app like (but with groups...) Which will be the best way to impl... | android | iphone | google-app-engine | amazon-web-services | null | 03/31/2012 06:01:30 | not constructive | Which should I use: GAE or AWS?
===
I'm thinking about developing an iPhone/Android app which will include a server side.
For some parts, I don't mind retrieve the data from the server just getting the info in a regular request. But one of the functionality I want to implement is a Whats-app like (but with groups..... | 4 |
11,080,796 | 06/18/2012 10:13:58 | 1,463,339 | 06/18/2012 10:05:28 | 1 | 0 | using UIViewContentModeScaleAspectFit how to remove white space | HiI am declare height of image as height of row table view then using UIViewContentModeScaleAspectFit for imageview content mode image size is decreased and remaining space is showing empty so how to remove remaining space
| iphone | objective-c | ios | uiimageview | null | 06/21/2012 12:35:25 | not a real question | using UIViewContentModeScaleAspectFit how to remove white space
===
HiI am declare height of image as height of row table view then using UIViewContentModeScaleAspectFit for imageview content mode image size is decreased and remaining space is showing empty so how to remove remaining space
| 1 |
10,070,880 | 04/09/2012 08:47:33 | 262,425 | 01/30/2010 10:54:56 | 79 | 3 | "ActionView::Template::Error ( isn't precompiled)" raised on "image_tag nil" | If I don't handle view correctly, Production environment show 500.
`<%= image_tag post.user.image_url %>`
This could be
`<%= image_tag post.user.image_url if post.user && post.user.image_url %>`
but I am little careless and forgot this issue several times.
How can I prevent this? How can I use `<%= ... | ruby-on-rails-3.1 | asset-pipeline | null | null | null | null | open | "ActionView::Template::Error ( isn't precompiled)" raised on "image_tag nil"
===
If I don't handle view correctly, Production environment show 500.
`<%= image_tag post.user.image_url %>`
This could be
`<%= image_tag post.user.image_url if post.user && post.user.image_url %>`
but I am little careless and ... | 0 |
6,705,607 | 07/15/2011 10:21:57 | 667,599 | 03/19/2011 19:13:33 | 61 | 5 | how to turn the output of a require statement into a string in php | im working with a large team, and im making functions that return html code, and im echoing the result of those functions to get the final page. The thing is, i need some scrap of code developed by other member of the team, and i need it to be a string, but the code is available as a php file which im supposed to incl... | php | require | null | null | null | null | open | how to turn the output of a require statement into a string in php
===
im working with a large team, and im making functions that return html code, and im echoing the result of those functions to get the final page. The thing is, i need some scrap of code developed by other member of the team, and i need it to be a s... | 0 |
8,709,235 | 01/03/2012 07:41:56 | 893,039 | 08/13/2011 12:32:31 | 189 | 0 | Why vim is better text editor than others | I have read about vi that it is most powerful text editor but I don't understand how Vi is better than other text editors. For example take notepad++. For writing code it has everything, find, replace, easy to use, gui editor, looks good, don't have to remember commands, fast text editing operations etc. So what's spec... | text-editor | vi | null | null | null | 01/03/2012 08:10:04 | not constructive | Why vim is better text editor than others
===
I have read about vi that it is most powerful text editor but I don't understand how Vi is better than other text editors. For example take notepad++. For writing code it has everything, find, replace, easy to use, gui editor, looks good, don't have to remember commands, f... | 4 |
8,555,043 | 12/18/2011 21:42:39 | 1,104,561 | 12/18/2011 14:25:12 | 3 | 0 | Want to make a entry on datebase when some body like my page embeded on my site | I want to make a entry on datebase when some body like my page embeded on my site.
Language is php. onclick function can work? please suggest.. | php | mysql | facebook | null | null | null | open | Want to make a entry on datebase when some body like my page embeded on my site
===
I want to make a entry on datebase when some body like my page embeded on my site.
Language is php. onclick function can work? please suggest.. | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.