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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5,698,080 | 04/18/2011 02:57:30 | 710,159 | 04/14/2011 02:03:17 | 1 | 1 | introspection in obj c | @interface class:nsobject
@property(copy)nsstring*author;
@end
interface class2:class
@property float framespersecond; //cannot find interface declaration for 'class',superclass of 'class2'
@end
@implementation class
@synthesize author;
@end
@implementation class
@synthesize framespersecond ;
@end
This ... | objective-c | null | null | null | null | 04/18/2011 03:29:18 | not a real question | introspection in obj c
===
@interface class:nsobject
@property(copy)nsstring*author;
@end
interface class2:class
@property float framespersecond; //cannot find interface declaration for 'class',superclass of 'class2'
@end
@implementation class
@synthesize author;
@end
@implementation class
@synthesize fram... | 1 |
7,537,342 | 09/24/2011 05:58:41 | 962,317 | 09/24/2011 05:56:36 | 1 | 0 | Error converting to int | EditText txtDistance = (EditText)findViewById(R.id.Distance);
int distance = (txtDistance.getText().toInt());
| java | eclipse | android-2.2 | null | null | 09/24/2011 23:00:13 | not a real question | Error converting to int
===
EditText txtDistance = (EditText)findViewById(R.id.Distance);
int distance = (txtDistance.getText().toInt());
| 1 |
4,091,786 | 11/03/2010 21:17:25 | 496,497 | 11/03/2010 21:17:25 | 1 | 0 | Ibatis Ref Curosr issue with Oracle | I'm using Java and Ibatis to call a stored procedure on on oracle database. I seem to be having an issue setting up with parameters.
The store procedure looks like the following:
PROCEDURE Get_Semployees_By_Clt_ID
(
client_id IN HRIS.SEMPLOYEES.SEE_CLT_ID%TYPE,
... | java | oracle10g | ibatis | null | null | null | open | Ibatis Ref Curosr issue with Oracle
===
I'm using Java and Ibatis to call a stored procedure on on oracle database. I seem to be having an issue setting up with parameters.
The store procedure looks like the following:
PROCEDURE Get_Semployees_By_Clt_ID
(
client_id IN HRIS.SEM... | 0 |
11,526,868 | 07/17/2012 16:28:59 | 470,879 | 10/09/2010 06:09:16 | 3,334 | 53 | Force genstrings to build the Localizable.strings file in order of appearance rather than alphabetically | I'm new to internationalization and localization for iOS. I'm running genstrings:
`find . -name \*.m | xargs genstrings -o en.lproj` to generate my Localizable.strings files. It builds the file in alphabetical order (by key).
For ease of translation I'd prefer that the keys and values be ordered by their order of... | ios | cocoa-touch | localization | nslocalizedstring | genstrings | null | open | Force genstrings to build the Localizable.strings file in order of appearance rather than alphabetically
===
I'm new to internationalization and localization for iOS. I'm running genstrings:
`find . -name \*.m | xargs genstrings -o en.lproj` to generate my Localizable.strings files. It builds the file in alphabetic... | 0 |
5,663,930 | 04/14/2011 13:22:45 | 708,039 | 04/14/2011 13:22:45 | 1 | 0 | progress bar during sending a file | when sending file from client to server where should we add the code for progress bar? | java | progress | bar | null | null | 04/14/2011 13:26:32 | not a real question | progress bar during sending a file
===
when sending file from client to server where should we add the code for progress bar? | 1 |
6,662,191 | 07/12/2011 09:41:48 | 626,590 | 02/21/2011 12:41:31 | 1 | 0 | Happy Birthday Roger Planes | I'm try write my friend an application which says happy birthday what's the best way to write this to be run in the background and then pop-up around 5pm today...? | c# | asp.net | command-line | null | null | 07/12/2011 09:49:11 | not a real question | Happy Birthday Roger Planes
===
I'm try write my friend an application which says happy birthday what's the best way to write this to be run in the background and then pop-up around 5pm today...? | 1 |
1,092,376 | 07/07/2009 13:34:47 | 15,928 | 09/17/2008 13:34:46 | 117 | 4 | what c# knowledge should I have? | A very open question. I've been programming in C# for the past 5 months doing small projects that I completed successfully.
Today I went to an interview for a C# role. The 1st question was 'Tell me about boxing'. Given my experience I had no idea what the guy meant. Needless to say the interview didn't go that wel... | c# | knowledge | null | null | null | 12/06/2011 02:45:35 | off topic | what c# knowledge should I have?
===
A very open question. I've been programming in C# for the past 5 months doing small projects that I completed successfully.
Today I went to an interview for a C# role. The 1st question was 'Tell me about boxing'. Given my experience I had no idea what the guy meant. Needless t... | 2 |
6,886,861 | 07/31/2011 00:52:34 | 771,318 | 05/25/2011 19:13:11 | 24 | 0 | How to add a post to a tab in my blogger | I am new to Blogging. I created a blog. I created a some tabs in the blog.
I followed these steps to create tabs.
1) I created some pages in the blog
2) in add gadgets i selected link lists and in the URL I gave URL of my pages which I created earlier.
3) Now I am able to see tabs.
But now I would like to ... | post | tabs | add | blogger | null | 08/01/2011 04:47:27 | off topic | How to add a post to a tab in my blogger
===
I am new to Blogging. I created a blog. I created a some tabs in the blog.
I followed these steps to create tabs.
1) I created some pages in the blog
2) in add gadgets i selected link lists and in the URL I gave URL of my pages which I created earlier.
3) Now I am ... | 2 |
4,420,550 | 12/12/2010 05:40:39 | 367,121 | 06/15/2010 10:13:00 | 41 | 0 | How to calculate 100 Meter distance if latitude and longitude of a point is know | I want to know if it is possible to calculate 100 meter distance around a given point with known latitude and longitude. I have some coordinates in MySql database. I want to know if a specific coordinate lies in 100 meter range from a given point. | google-maps | gps | google-maps-markers | null | null | null | open | How to calculate 100 Meter distance if latitude and longitude of a point is know
===
I want to know if it is possible to calculate 100 meter distance around a given point with known latitude and longitude. I have some coordinates in MySql database. I want to know if a specific coordinate lies in 100 meter range from ... | 0 |
4,322,234 | 12/01/2010 07:50:48 | 443,244 | 09/07/2010 11:54:33 | 41 | 6 | How to stop scrolling of Panel scrollbar when textBox is selected | I am working on one windows form application.
I came across this small but irritating problem.
I am having panel called Panel1 in which all textBoxes are added.(around 12 textBoxes)
When I click into my textBox (one of the last textBoxes) to type in a value and as soon as i press the mouse button focus jumps to ... | c# | winforms | visual-studio-2008 | textbox | scrollbar | null | open | How to stop scrolling of Panel scrollbar when textBox is selected
===
I am working on one windows form application.
I came across this small but irritating problem.
I am having panel called Panel1 in which all textBoxes are added.(around 12 textBoxes)
When I click into my textBox (one of the last textBoxes) to ... | 0 |
10,633,695 | 05/17/2012 10:11:53 | 738,165 | 05/04/2011 14:07:28 | 355 | 15 | Sorting a VARCHAR column as FLOAT using the CAST operator don't work in MySQL | I can't find a way to sort a varchar column casted as float. Here is my SQL request:
SELECT guid, number FROM table ORDER BY 'CAST(number AS FLOAT) DESC'
The "number" column is defined like this:
number varchar(20) ascii_general_ci
And the values defined in this column for my test are :
0.00
... | mysql | casting | null | null | null | 05/17/2012 17:46:02 | not a real question | Sorting a VARCHAR column as FLOAT using the CAST operator don't work in MySQL
===
I can't find a way to sort a varchar column casted as float. Here is my SQL request:
SELECT guid, number FROM table ORDER BY 'CAST(number AS FLOAT) DESC'
The "number" column is defined like this:
number varchar(20) ascii... | 1 |
5,672,688 | 04/15/2011 05:24:33 | 119,772 | 06/09/2009 11:57:53 | 4,148 | 260 | Can we avoid interning of strings in java? | Can we completely disable interning of strings. It might not be really helpful, but just a thought. I can think atleast one point where it could be helpful i.e. during jvm tuning, controlling the size of the perm gen.
For e.g. if I give out an OSGI framework and anyone can add any number of bundles of their own and... | java | performance | permgen | intern | null | null | open | Can we avoid interning of strings in java?
===
Can we completely disable interning of strings. It might not be really helpful, but just a thought. I can think atleast one point where it could be helpful i.e. during jvm tuning, controlling the size of the perm gen.
For e.g. if I give out an OSGI framework and anyon... | 0 |
7,205,777 | 08/26/2011 13:58:50 | 914,231 | 08/26/2011 13:58:50 | 1 | 0 | How to add SVN source control plug in to Visual studeo 2010? | I have work with visual studeo 2010.I am install it then i am install ankh svn software but it is not added to the visual studeo plug in.Please give any procedure for adding it to the visual studeo 2010.
Thank you
Dadasaheb Chobhe | c# | .net | svn | tortoisesvn | ankhsvn | 08/26/2011 19:41:11 | not a real question | How to add SVN source control plug in to Visual studeo 2010?
===
I have work with visual studeo 2010.I am install it then i am install ankh svn software but it is not added to the visual studeo plug in.Please give any procedure for adding it to the visual studeo 2010.
Thank you
Dadasaheb Chobhe | 1 |
4,892,618 | 02/03/2011 22:44:13 | 602,365 | 02/03/2011 22:37:51 | 1 | 0 | C# How invoke this Javascript In c#??? | I want to invoke this javascript.
//<BUTTON id="TestID" class="My_Test button small" type="submit"><SPAN class="account">By</SPAN></BUTTON>
How can I send this command without use the mouse an click the button on the form??
| c# | javascript | null | null | null | 02/03/2011 22:59:04 | not a real question | C# How invoke this Javascript In c#???
===
I want to invoke this javascript.
//<BUTTON id="TestID" class="My_Test button small" type="submit"><SPAN class="account">By</SPAN></BUTTON>
How can I send this command without use the mouse an click the button on the form??
| 1 |
9,085,852 | 01/31/2012 19:44:28 | 973,397 | 09/30/2011 15:37:26 | 52 | 3 | Gathering Date and Time of page load, on page load | I have a web form setup on an area of my site. I need to gather the Date and Time of when it's visited.
I'm wondering how I'd be able to code it so that, on page load, the date and time is gathered?
How could I do this? *Something with defining on page load with Javascript / jQuery > calling a PHP snippet that g... | php | javascript | jquery | null | null | 02/01/2012 20:08:16 | not a real question | Gathering Date and Time of page load, on page load
===
I have a web form setup on an area of my site. I need to gather the Date and Time of when it's visited.
I'm wondering how I'd be able to code it so that, on page load, the date and time is gathered?
How could I do this? *Something with defining on page load... | 1 |
6,874,146 | 07/29/2011 13:47:15 | 24,835 | 10/03/2008 14:07:26 | 439 | 13 | JDBC Prepared Statement . setDate(....) doesn't save the time, just the date.. How can I save the time as well? | I have the following Query :
INSERT INTO users (user_id, date_created) VALUES (?,?)
I have the following prepared statement
PreparedStatement insertUser = dbConnection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);
insertUser.setInt(1, 7);
java.util.Date now = new java.util.Dat... | java | jdbc | prepared-statement | null | null | null | open | JDBC Prepared Statement . setDate(....) doesn't save the time, just the date.. How can I save the time as well?
===
I have the following Query :
INSERT INTO users (user_id, date_created) VALUES (?,?)
I have the following prepared statement
PreparedStatement insertUser = dbConnection.prepareStatement(s... | 0 |
7,590,591 | 09/28/2011 22:51:44 | 784,868 | 06/05/2011 16:05:36 | 50 | 3 | A slightly more complex dialog background | I am using <shape>, <style> and the Dialog(context, theme) constructor to create custom dialogs for my app. I currently have a single-color background going, but would like to have a two-tone background separating the buttons at the bottom from the rest of the content. I just can't figure out how to get it.... | android | dialog | drawable | null | null | null | open | A slightly more complex dialog background
===
I am using <shape>, <style> and the Dialog(context, theme) constructor to create custom dialogs for my app. I currently have a single-color background going, but would like to have a two-tone background separating the buttons at the bottom from the rest of the ... | 0 |
8,644,545 | 12/27/2011 12:18:49 | 1,065,699 | 11/25/2011 13:23:46 | 6 | 0 | iphone Application orientation design | I am very new to iPhone development. I have to design the app which will look adjusted in both portrait and landscape mode. What precautions/coding standard I should take so that it will not further painful for me. | iphone | design | ios5 | null | null | 12/27/2011 16:05:12 | not a real question | iphone Application orientation design
===
I am very new to iPhone development. I have to design the app which will look adjusted in both portrait and landscape mode. What precautions/coding standard I should take so that it will not further painful for me. | 1 |
3,865,638 | 10/05/2010 16:20:04 | 288,252 | 03/07/2010 15:35:46 | 134 | 1 | Logging server-wide request data (including POST data) in IIS 6 / ASP.NET webforms | Here's the big picture. We're running a server in IIS 6 that hosts several web sites and applications, and we're in the process of moving the whole thing to a different data center with a slightly different setup. We've notified our users and updated our DNS info so that theoretically everyone will be happily hitting... | asp.net | http | logging | post | iis6 | null | open | Logging server-wide request data (including POST data) in IIS 6 / ASP.NET webforms
===
Here's the big picture. We're running a server in IIS 6 that hosts several web sites and applications, and we're in the process of moving the whole thing to a different data center with a slightly different setup. We've notified o... | 0 |
10,631,161 | 05/17/2012 06:52:05 | 1,252,506 | 03/06/2012 14:55:50 | 1 | 0 | hashmap data insertion in SQL | kindly suggest me a code on how to insert multiple HashMap data in a single SQL database table
eg: I have 3 hashmap in a single program , how do i iterate through all the hashmap data and inert the same in database | jdbc | null | null | null | null | 05/23/2012 18:08:12 | not a real question | hashmap data insertion in SQL
===
kindly suggest me a code on how to insert multiple HashMap data in a single SQL database table
eg: I have 3 hashmap in a single program , how do i iterate through all the hashmap data and inert the same in database | 1 |
10,153,539 | 04/14/2012 12:16:16 | 299,991 | 03/23/2010 14:30:52 | 118 | 1 | jquery input validation+background color | I have an HTML form where I want to add some validation logic.
In that form i have two input fields, one of them has to get always integer values, while the other one have to get always float values. (first one is items number and other one is total cost).
I want those input fields to change background color to ligh... | php | jquery | jquery-ui | validation | null | null | open | jquery input validation+background color
===
I have an HTML form where I want to add some validation logic.
In that form i have two input fields, one of them has to get always integer values, while the other one have to get always float values. (first one is items number and other one is total cost).
I want those i... | 0 |
5,813,331 | 04/28/2011 03:38:04 | 610,734 | 02/10/2011 02:29:02 | 1 | 0 | Can silverlight finally substitute javascript? | Maybe it sounds silly, but it seems to me that since silverlight and javascript both can only be executed on the browser, if the industry standard requires all the browsers to pre-install silverlight, can MS possibily create a new technology that can balance the C# code execution on server side and browser side? All th... | c# | javascript | silverlight | null | null | 04/28/2011 03:42:58 | not constructive | Can silverlight finally substitute javascript?
===
Maybe it sounds silly, but it seems to me that since silverlight and javascript both can only be executed on the browser, if the industry standard requires all the browsers to pre-install silverlight, can MS possibily create a new technology that can balance the C# co... | 4 |
11,650,973 | 07/25/2012 13:35:00 | 1,513,168 | 07/09/2012 21:35:10 | 34 | 0 | How to "cd" to a directory after "grep"? | I want to find a directory using `grep` then change current directory to the resulting directory.
For example:
$ ls | grep 1670 |
finds me directory haib12CJS1670. I am trying to do something like below:
$ ls | grep 1670 | cd
so that my directory is set to haib12CJS1670 at a single step. Obviously ... | unix | terminal | null | null | null | 07/27/2012 04:16:05 | off topic | How to "cd" to a directory after "grep"?
===
I want to find a directory using `grep` then change current directory to the resulting directory.
For example:
$ ls | grep 1670 |
finds me directory haib12CJS1670. I am trying to do something like below:
$ ls | grep 1670 | cd
so that my directory is set... | 2 |
1,161,992 | 07/21/2009 22:02:23 | 130,717 | 06/29/2009 22:25:56 | 693 | 33 | How can future programming languages better facilitate abstraction? | One of the key properties to designing comprehensible software (and, indeed, designing anything at all) is to develop a **good set of abstractions**. These days, those abstractions include things like functions, classes, interfaces, recursion, and higher-order functions. But what else is there? How can we further abstr... | programming-languages | future | design | abstraction | null | null | open | How can future programming languages better facilitate abstraction?
===
One of the key properties to designing comprehensible software (and, indeed, designing anything at all) is to develop a **good set of abstractions**. These days, those abstractions include things like functions, classes, interfaces, recursion, and... | 0 |
4,580,201 | 01/02/2011 19:57:06 | 161,554 | 08/23/2009 12:22:30 | 1,279 | 77 | Handling ContextMenuStrip on ListView | I have a ListView with some items. The ListView has some group defined, some column, and some items are added. The ListView has set also the ContextMenu.
On *Opening* event of the ContextMenu, I shall check whether the context menu was opened on a ListView item. So, I did:
private void CtxMenuProcess_Opening(... | c# | .net | listview | contextmenu | null | null | open | Handling ContextMenuStrip on ListView
===
I have a ListView with some items. The ListView has some group defined, some column, and some items are added. The ListView has set also the ContextMenu.
On *Opening* event of the ContextMenu, I shall check whether the context menu was opened on a ListView item. So, I did:
... | 0 |
9,249,724 | 02/12/2012 14:54:12 | 528,590 | 12/02/2010 21:07:55 | 845 | 9 | Passing a smart pointer as a parameter to a function | I am implementing a smartpointer-template and there is one thing that boogles me; how do I increase the reference counter when passing a smartpointer as a parameter to another function? What operator do I overload to increase ref count?
For example:
class test
{
test() { }
~test() { }
... | c++ | memory-management | smart-pointers | reference-counting | null | null | open | Passing a smart pointer as a parameter to a function
===
I am implementing a smartpointer-template and there is one thing that boogles me; how do I increase the reference counter when passing a smartpointer as a parameter to another function? What operator do I overload to increase ref count?
For example:
cl... | 0 |
9,933,715 | 03/29/2012 21:20:22 | 1,293,881 | 03/26/2012 19:42:02 | 11 | 0 | I tried to use this php scipt to remove html tags from a table row (select data and update the row) | I tried to use this php scipt to remove html tags from a table row.
(select the data, strip_tags the string and update the row)
I would be more than thankful for help to find whats wrong.
The "select" is working and i can "echo" or "print" the result and the "strip_tags" is also working.
But, the data is not ... | php | mysql | null | null | null | null | open | I tried to use this php scipt to remove html tags from a table row (select data and update the row)
===
I tried to use this php scipt to remove html tags from a table row.
(select the data, strip_tags the string and update the row)
I would be more than thankful for help to find whats wrong.
The "select" is work... | 0 |
10,055,704 | 04/07/2012 15:25:34 | 1,319,227 | 04/07/2012 15:02:30 | 1 | 0 | Shaping a matrix in C language? | This is what I want it to be
= A B C D E
1 - - - - -
2 - - - - -
3 - - - - -
4 - - - - -
5 - - - - -
#include<stdio.h>
int main ()
{
FILE* room=NULL;
int i,j,k;
int n=0;
char r[100][100];
room=fopen("Room.txt","r");
if(room!=NULL)
{
for(i=0;i<9;... | matrix | null | null | null | null | 04/09/2012 07:55:52 | too localized | Shaping a matrix in C language?
===
This is what I want it to be
= A B C D E
1 - - - - -
2 - - - - -
3 - - - - -
4 - - - - -
5 - - - - -
#include<stdio.h>
int main ()
{
FILE* room=NULL;
int i,j,k;
int n=0;
char r[100][100];
room=fopen("Room.txt","r");
... | 3 |
7,178,892 | 08/24/2011 16:21:43 | 728,639 | 04/28/2011 06:00:34 | 1 | 0 | how to get the object count without instantiating any instance of the main class in c++? | Is it possible to count object without instantiating any instance of main class?
if possible then please explain how? | c++ | object | logic | null | null | 08/24/2011 16:29:35 | not a real question | how to get the object count without instantiating any instance of the main class in c++?
===
Is it possible to count object without instantiating any instance of main class?
if possible then please explain how? | 1 |
8,846,788 | 01/13/2012 06:30:44 | 356,011 | 06/02/2010 02:27:59 | 334 | 2 | Pig integrated with Cassandra: simple distributed query takes a few minutes to complete. Is this normal? | I set up a test integration of Cassandra + Pig/Hadoop. 8 nodes are Cassandra + TaskTracker nodes, 1 node is the JobTracker/NameNode.
I fired up the cassandra client and created a the simple bit of data listed in the Readme.txt in the Cassandra distribution:
[default@unknown] create keyspace Keyspace1;
... | hadoop | cassandra | pig | null | null | null | open | Pig integrated with Cassandra: simple distributed query takes a few minutes to complete. Is this normal?
===
I set up a test integration of Cassandra + Pig/Hadoop. 8 nodes are Cassandra + TaskTracker nodes, 1 node is the JobTracker/NameNode.
I fired up the cassandra client and created a the simple bit of data list... | 0 |
4,062,465 | 10/31/2010 09:00:13 | 276,766 | 02/19/2010 07:20:45 | 47 | 0 | template question, C++ | Here a code;
template <typename T>
class String
{
public:
...
String(T* initStr)
{
size_t initStrLen;
if (initStr != NULL)
{
printf_s("%s\n", typeid(T) == typeid(char) ? "char" : "wchar_t");
if (typeid(T) == typeid(char))
{
... | c++ | templates | null | null | null | null | open | template question, C++
===
Here a code;
template <typename T>
class String
{
public:
...
String(T* initStr)
{
size_t initStrLen;
if (initStr != NULL)
{
printf_s("%s\n", typeid(T) == typeid(char) ? "char" : "wchar_t");
if (typeid(T) =... | 0 |
4,049,720 | 10/29/2010 07:09:55 | 421,935 | 08/16/2010 16:09:24 | 58 | 1 | GET the number of subscribers to any RSS/Atom feed? | Any simple code snipped to GET the number of subscribers to any feed URL?
Thanks! | rss | feeds | atom | null | null | null | open | GET the number of subscribers to any RSS/Atom feed?
===
Any simple code snipped to GET the number of subscribers to any feed URL?
Thanks! | 0 |
8,084,688 | 11/10/2011 18:45:25 | 449,070 | 07/06/2010 04:55:58 | 140 | 1 | Is it possible to fix a corrupted Android SQLite database file? | In my app, I create a database file that contains multiple tables (let's say 3 tables). An app user emailed me his database file (I save the file to the SD card) after he began experiencing an app crash after updating to the current version of the app. My update did not involve any database changes, it provided support... | android | database | sqlite | null | null | null | open | Is it possible to fix a corrupted Android SQLite database file?
===
In my app, I create a database file that contains multiple tables (let's say 3 tables). An app user emailed me his database file (I save the file to the SD card) after he began experiencing an app crash after updating to the current version of the app... | 0 |
11,338,725 | 07/05/2012 06:17:20 | 1,463,196 | 06/18/2012 09:02:40 | -5 | 0 | How to store the .html file in the android's local database. the html file is coming from the ftp | Can i store the html file coming from the ftp in to local database of android.
and i want to open that html file in to webview in android .
is there any example please send me. | android | html | database | ftp | store | 07/06/2012 15:37:25 | not a real question | How to store the .html file in the android's local database. the html file is coming from the ftp
===
Can i store the html file coming from the ftp in to local database of android.
and i want to open that html file in to webview in android .
is there any example please send me. | 1 |
7,475,143 | 09/19/2011 17:53:06 | 215,881 | 11/20/2009 23:32:23 | 76 | 7 | Getting dimensions of videos selected by UIImagePickerController | Is there some way to retrieve the dimensions of a video selected by UIImagePickerController? Or of one displayed using MPMoviePlayerViewController?
Videos recorded on the device may be portrait or landscape. Videos imported to the Photo Library via iTunes may be of arbitrary dimensions.
I have tried querying the ... | iphone | uiimagepickercontroller | null | null | null | null | open | Getting dimensions of videos selected by UIImagePickerController
===
Is there some way to retrieve the dimensions of a video selected by UIImagePickerController? Or of one displayed using MPMoviePlayerViewController?
Videos recorded on the device may be portrait or landscape. Videos imported to the Photo Library vi... | 0 |
7,104,712 | 08/18/2011 08:50:10 | 777,237 | 05/31/2011 07:20:31 | 1 | 0 | Create Embed javascipt for my form to use in other sites | I want to create an embed javascript code for my form, so that can be easily be used by other sites just by embedding that in their sites.
I am not clear with this approach, how to handle this.
Any kind of help will be appreciated. | php | null | null | null | null | null | open | Create Embed javascipt for my form to use in other sites
===
I want to create an embed javascript code for my form, so that can be easily be used by other sites just by embedding that in their sites.
I am not clear with this approach, how to handle this.
Any kind of help will be appreciated. | 0 |
6,764,731 | 07/20/2011 15:49:07 | 189,122 | 10/13/2009 13:28:39 | 591 | 57 | Faking a textarea with scrollbar and updating content | since I can not markup content inside <textarea> tags I want to create my own "custom" textbox.
The textbox should work as a kind of console, where the progress of battle (i.e.) is logged.
I first tried to use a div, within a div, within divs for each log, but when the divs inside the outer divs exceed the max-height... | jquery | html | css | div-layouts | null | null | open | Faking a textarea with scrollbar and updating content
===
since I can not markup content inside <textarea> tags I want to create my own "custom" textbox.
The textbox should work as a kind of console, where the progress of battle (i.e.) is logged.
I first tried to use a div, within a div, within divs for each log, bu... | 0 |
5,378,966 | 03/21/2011 14:24:36 | 639,609 | 03/01/2011 15:36:01 | 82 | 0 | large string data parsing causing high-cpu usage | My application need to parse some large string data. Which means I am heavily using Split, IndexOf and SubString method of string class. I am trying to use StringBuilder class whereever I have to do any concatenation. However when application is doing this parsing, app cpu usage goes high (60-70%). I am guessing that c... | c# | string | null | null | null | null | open | large string data parsing causing high-cpu usage
===
My application need to parse some large string data. Which means I am heavily using Split, IndexOf and SubString method of string class. I am trying to use StringBuilder class whereever I have to do any concatenation. However when application is doing this parsing, ... | 0 |
11,074,409 | 06/17/2012 20:07:35 | 1,462,195 | 06/17/2012 18:09:06 | 15 | 0 | Mage+ - Are there any examples of product sites using Mage+ | Are there any live sites out there using Mage+ yet?
Im like the idea of the project but am a bit wary of using it in a product environment, and i suspect more people will feel the same.
Therefore, it would be good to know of any examples of sites actively using it.
| magento | null | null | null | null | 06/18/2012 16:55:25 | off topic | Mage+ - Are there any examples of product sites using Mage+
===
Are there any live sites out there using Mage+ yet?
Im like the idea of the project but am a bit wary of using it in a product environment, and i suspect more people will feel the same.
Therefore, it would be good to know of any examples of sites ac... | 2 |
1,709,054 | 11/10/2009 16:03:57 | 202,421 | 11/04/2009 07:51:53 | 1 | 0 | what are the algorithms to use for recognizing objects? | Using Artificial intelligence, what should be the algorithms for recognizing objects??
can Neuural network recognize objects?? | c# | null | null | null | null | 11/10/2009 16:15:26 | not a real question | what are the algorithms to use for recognizing objects?
===
Using Artificial intelligence, what should be the algorithms for recognizing objects??
can Neuural network recognize objects?? | 1 |
10,014,319 | 04/04/2012 15:28:58 | 1,073,443 | 11/30/2011 13:33:44 | 35 | 3 | code after Gwt rpc AsyncCallbak will not be executed? | I can't understand why the code after the gwt rpc AsyncCallback will not be executed?
for example I have the interface AppService extends RemoteService, So I'll have AsyncAppService which does the async call.
the following code
AppServiceAsync service = GWT.create (AppService.class);
se... | gwt | rpc | null | null | null | null | open | code after Gwt rpc AsyncCallbak will not be executed?
===
I can't understand why the code after the gwt rpc AsyncCallback will not be executed?
for example I have the interface AppService extends RemoteService, So I'll have AsyncAppService which does the async call.
the following code
AppServ... | 0 |
11,238,786 | 06/28/2012 05:55:36 | 1,487,587 | 06/28/2012 05:49:28 | 1 | 0 | Please share the ideas about how to read Metadata of SharePoint workflows | Please share the ideas about how to read Metadata of SharePoint workflows (Predefined workflows)
using web services provided by Microsoft...
Thanks | c# | web-services | sharepoint | workflow | null | 06/28/2012 15:28:58 | not a real question | Please share the ideas about how to read Metadata of SharePoint workflows
===
Please share the ideas about how to read Metadata of SharePoint workflows (Predefined workflows)
using web services provided by Microsoft...
Thanks | 1 |
3,344,003 | 07/27/2010 13:18:20 | 395,703 | 07/19/2010 10:05:40 | 79 | 18 | JAVA or .NET which is more secure? | To make a secure website which language is more preferable .NET, JAVA or others and why? | java | .net | security | null | null | 07/27/2010 13:21:15 | not constructive | JAVA or .NET which is more secure?
===
To make a secure website which language is more preferable .NET, JAVA or others and why? | 4 |
8,586,996 | 12/21/2011 08:38:13 | 531,994 | 12/06/2010 08:41:31 | 646 | 34 | zend_call_method_with_N_params | There are `zend_call_method_with_0_params`, `zend_call_method_with_1_params` and `zend_call_method_with_2_params` in PHP extension development.
But how to call method with more then 2 params? | php | c | php-extension | zend-framework | null | null | open | zend_call_method_with_N_params
===
There are `zend_call_method_with_0_params`, `zend_call_method_with_1_params` and `zend_call_method_with_2_params` in PHP extension development.
But how to call method with more then 2 params? | 0 |
418,612 | 01/06/2009 23:27:46 | 7,734 | 09/15/2008 14:19:11 | 2,662 | 154 | What calculator is an aid to you as a programmer? | I have decided to break down, and buy a calculator to use at work. One that I can hold in my hand. The features I want involve HEX/OCT/DEC/BIN conversion, and the basic statistical functions and solar/battery power.
I am primarily a CRUD programmer, I also do a little statistics work from time to time.
The ... | calculator | null | null | null | null | 01/07/2009 15:47:27 | off topic | What calculator is an aid to you as a programmer?
===
I have decided to break down, and buy a calculator to use at work. One that I can hold in my hand. The features I want involve HEX/OCT/DEC/BIN conversion, and the basic statistical functions and solar/battery power.
I am primarily a CRUD programmer, I also... | 2 |
11,744,752 | 07/31/2012 16:25:29 | 1,539,197 | 07/19/2012 21:36:01 | 1 | 0 | solr error loading manifoldcf search component in authority-example.jar | I'm using solr 4.0 alpha with manifoldcf .5.1 and I downloaded and built the authority-example.jar and placed in example/solr/lib and added the appropriate lines to solrconfig.xml.
I noticed that the authority-example.jar was built with solr v3.2 jars is this compatible with solr4.0?
Can I rebuild the jar if I swap o... | solr | jetty | null | null | null | null | open | solr error loading manifoldcf search component in authority-example.jar
===
I'm using solr 4.0 alpha with manifoldcf .5.1 and I downloaded and built the authority-example.jar and placed in example/solr/lib and added the appropriate lines to solrconfig.xml.
I noticed that the authority-example.jar was built with solr ... | 0 |
924,818 | 05/29/2009 07:30:23 | 1,478 | 08/15/2008 19:37:57 | 241 | 15 | Mouse position on screen in flex | I am trying to obtain the actual mouse co-ordinates on the screen so I can create a Native Window at that position but I dont seem to be able to find the right way to do this correctly.
I have tried various things, the closest thing I have at the moment is:
this.contentMouseX and this.contentMouseY
This gi... | flex3 | actionscript-3 | null | null | null | null | open | Mouse position on screen in flex
===
I am trying to obtain the actual mouse co-ordinates on the screen so I can create a Native Window at that position but I dont seem to be able to find the right way to do this correctly.
I have tried various things, the closest thing I have at the moment is:
this.contentMo... | 0 |
6,621,385 | 07/08/2011 07:36:30 | 618,994 | 02/16/2011 03:49:51 | 43 | 10 | Android PC connectivity using Bluetooth | I've written Client Server application for Android mobile and PC using bluetooth connectivity,
in which PC acts as a server written using J2SE and Bluecove library, while Android acts as a Client.
And I've also tested my application its working, it cab able to connect, it can able to send and receive data both ways... | connection | bluetooth | null | null | null | null | open | Android PC connectivity using Bluetooth
===
I've written Client Server application for Android mobile and PC using bluetooth connectivity,
in which PC acts as a server written using J2SE and Bluecove library, while Android acts as a Client.
And I've also tested my application its working, it cab able to connect, i... | 0 |
2,351,249 | 02/28/2010 14:04:18 | 283,087 | 02/28/2010 13:38:48 | 1 | 0 | my first iPhone app and i'm stuck. surprised? lol | i've decided to give this iPhone App development a kick. to help add perspective to this i've never programmed in any form of C or for any anything on the Mac other than Applescript. i've created plenty of solutions using blends of Applescript, Classic ASP, Perl, even PostScript. i'm home brewed so i don't understand a... | iphone | text | float | null | null | null | open | my first iPhone app and i'm stuck. surprised? lol
===
i've decided to give this iPhone App development a kick. to help add perspective to this i've never programmed in any form of C or for any anything on the Mac other than Applescript. i've created plenty of solutions using blends of Applescript, Classic ASP, Perl, e... | 0 |
7,198,771 | 08/26/2011 00:26:35 | 796,490 | 06/13/2011 19:19:17 | 67 | 0 | Opinion on whether to use a hash or an array, pushing new element in Rails | I'm working on a Rails 3 app where a user's profile `has_many :to-dos`. The user has three categories of `:to-dos`: two that are added to by clicking buttons on other pages, and one that they can add to themselves (through a status-update-like form).
So I'm interested in your thoughts on:
1. How to best set it u... | arrays | ruby-on-rails-3 | hash | null | null | null | open | Opinion on whether to use a hash or an array, pushing new element in Rails
===
I'm working on a Rails 3 app where a user's profile `has_many :to-dos`. The user has three categories of `:to-dos`: two that are added to by clicking buttons on other pages, and one that they can add to themselves (through a status-update-l... | 0 |
3,685,002 | 09/10/2010 13:37:31 | 207,673 | 11/10/2009 10:16:09 | 57 | 6 | Check if boolean is true? | bool foo = true;
// Do this?
if (foo)
{
}
// Or this?
if (foo == true)
{
}
I like one of them and my coworker the other. The result is the same, but what is (more) correct? | c# | null | null | null | null | 09/10/2010 13:44:08 | not constructive | Check if boolean is true?
===
bool foo = true;
// Do this?
if (foo)
{
}
// Or this?
if (foo == true)
{
}
I like one of them and my coworker the other. The result is the same, but what is (more) correct? | 4 |
10,755,762 | 05/25/2012 14:01:53 | 149,838 | 08/03/2009 16:03:09 | 48 | 3 | Is jQuery selector is smart ? Benchmark? | - I know jQuery Selector is very fast (http://mootools.net/slickspeed/)
- I know a query can be optimised for performance issue.
- I know selector may relies on Browser internal selector
I used to work on Prototype as well, and we had to code fastUp() fastDown() function to speed up selector engine (on IE6+). ... | jquery | jquery-selectors | benchmarking | null | null | 05/28/2012 08:43:10 | not constructive | Is jQuery selector is smart ? Benchmark?
===
- I know jQuery Selector is very fast (http://mootools.net/slickspeed/)
- I know a query can be optimised for performance issue.
- I know selector may relies on Browser internal selector
I used to work on Prototype as well, and we had to code fastUp() fastDown() fu... | 4 |
11,261,961 | 06/29/2012 12:40:25 | 1,491,148 | 06/29/2012 12:26:29 | 1 | 0 | reloading header frame in jsp to update username | I have a web-app using jsf.
In the welcome page there is a header frame on the header in a label Guest is displayed if user is not logged in and it should display username once user has logged in.
i am using the below code to display it
< h:outputLabel id="txtuserLabel" value="#{customerBean.userName}"/>
... | html | jsf-2.0 | javabeans | frame | null | null | open | reloading header frame in jsp to update username
===
I have a web-app using jsf.
In the welcome page there is a header frame on the header in a label Guest is displayed if user is not logged in and it should display username once user has logged in.
i am using the below code to display it
< h:outputLabel... | 0 |
3,219,211 | 07/10/2010 12:38:50 | 388,431 | 07/10/2010 12:38:50 | 1 | 0 | any functhion to find file like from my website? | any functhion to find my link files
example
i have host and i add images ,so i need image links to store it in database to reuse it
the function i need< will give my the link as this
www.mysite.com/folder/image.jpg
any one help plz | php | null | null | null | null | 07/10/2010 14:55:09 | not a real question | any functhion to find file like from my website?
===
any functhion to find my link files
example
i have host and i add images ,so i need image links to store it in database to reuse it
the function i need< will give my the link as this
www.mysite.com/folder/image.jpg
any one help plz | 1 |
8,551,280 | 12/18/2011 11:01:55 | 316,727 | 04/14/2010 16:45:36 | 63 | 5 | Mechanical Turk: how to send email to workers who have performed your HITs | I have posted two surveys on Mechanical Turk and I didn't ask for any contact information from my workers. That may not even be allowed: anyway it's too late now.
Now I want to send an email or other kind of message to all those who completed my tasks
On this page: [http://www.itworld.com/internet/76659/experimen... | amazon | survey | mechanicalturk | null | null | 12/19/2011 05:15:17 | off topic | Mechanical Turk: how to send email to workers who have performed your HITs
===
I have posted two surveys on Mechanical Turk and I didn't ask for any contact information from my workers. That may not even be allowed: anyway it's too late now.
Now I want to send an email or other kind of message to all those who comp... | 2 |
3,805,291 | 09/27/2010 15:24:36 | 356,808 | 06/02/2010 19:18:04 | 134 | 24 | Search AD with textbox value and return results as datatable | Currently I have a gridview bound to a datatable which is populated with groups from the AD. I need to be able to add search functionality so users can type in part of a group name and have the results display only groups that fit their search criteria. Here's what I have so far.
<asp:TextBox ID="searchParam" ru... | vb.net | search | gridview | active-directory | null | null | open | Search AD with textbox value and return results as datatable
===
Currently I have a gridview bound to a datatable which is populated with groups from the AD. I need to be able to add search functionality so users can type in part of a group name and have the results display only groups that fit their search criteria. ... | 0 |
4,180,956 | 11/15/2010 02:22:14 | 215,117 | 11/20/2009 01:05:06 | 248 | 4 | Enum or Bool in mysql? | Simple silly question. What is better?
A Bool or an Enum('y','n') ? | mysql | enums | boolean | null | null | null | open | Enum or Bool in mysql?
===
Simple silly question. What is better?
A Bool or an Enum('y','n') ? | 0 |
11,094,141 | 06/19/2012 03:53:32 | 1,465,298 | 06/19/2012 03:38:40 | 1 | 0 | Is it too late to try and become a Sharepoint developer? | I am getting my CS degree at the end of this Summer and I have been really thinking about trying to become a Sharepoint developer.
I keep reading mixed feelings about Sharepoint development but from what I have read it looks interesting, especially the visual web parts and connecting LOB services.
As far as expe... | sharepoint | null | null | null | null | 06/19/2012 07:09:25 | not constructive | Is it too late to try and become a Sharepoint developer?
===
I am getting my CS degree at the end of this Summer and I have been really thinking about trying to become a Sharepoint developer.
I keep reading mixed feelings about Sharepoint development but from what I have read it looks interesting, especially the v... | 4 |
798,502 | 04/28/2009 15:17:09 | 23,309 | 09/29/2008 01:11:34 | 867 | 23 | How can I create a hibernate collection that will be re-read every time I request it? | I have an entity that has a state table associated with it. The state table is managed by another process, and contains a list of objects that my business logic must process. I would like to get a new snapshot of the state table each time I reload the entity. How can I ensure that no part of Hibernate or its support... | hibernate | configuration | java | caching | null | null | open | How can I create a hibernate collection that will be re-read every time I request it?
===
I have an entity that has a state table associated with it. The state table is managed by another process, and contains a list of objects that my business logic must process. I would like to get a new snapshot of the state tabl... | 0 |
7,157,374 | 08/23/2011 07:05:29 | 905,129 | 08/22/2011 01:41:48 | 26 | 23 | What is the best way to run MacOSX under windows env? | I am currently running Win7 64-bit.
What is the best way to run MacOSX under windows env? | virtualization | null | null | null | null | 08/24/2011 00:15:59 | off topic | What is the best way to run MacOSX under windows env?
===
I am currently running Win7 64-bit.
What is the best way to run MacOSX under windows env? | 2 |
11,687,879 | 07/27/2012 12:35:39 | 1,554,120 | 07/26/2012 09:25:46 | 1 | 0 | working on a project where i need to add ticket details on multiple div's | I am working on a project similar to add ticket details for a event. now i need a button on click multiple details with fields for ticket details should show with a setting button on click of that a div will show and hide, this will also be displayed multiple times as the ticket details. i want to use jquery for this c... | jquery | null | null | null | null | 07/27/2012 12:41:04 | not a real question | working on a project where i need to add ticket details on multiple div's
===
I am working on a project similar to add ticket details for a event. now i need a button on click multiple details with fields for ticket details should show with a setting button on click of that a div will show and hide, this will also be ... | 1 |
8,565,724 | 12/19/2011 18:30:07 | 1,106,481 | 12/19/2011 18:15:21 | 1 | 0 | Conversion C# to VB.Net arraylist | I have below code in C#
return new ArrayList()
{
new { Value = 1, Display = "ap" },
new { Value = 2, Display = "up" }
};
its working fine
now i am converted to vb
Return New ArrayList() From { _
New... | asp.net | vb.net | null | null | null | null | open | Conversion C# to VB.Net arraylist
===
I have below code in C#
return new ArrayList()
{
new { Value = 1, Display = "ap" },
new { Value = 2, Display = "up" }
};
its working fine
now i am converted to vb
Return New Arr... | 0 |
8,728,133 | 01/04/2012 14:02:18 | 1,043,071 | 11/12/2011 11:45:36 | 305 | 3 | when choose OSPF and when RIP | A question asked in Cisco Interview :
Which routing protocol will you use if you have 50 nodes in each area? Choose between OSPF , RIP and explain. | networking | routing | cisco | ospf | null | 01/04/2012 22:46:01 | off topic | when choose OSPF and when RIP
===
A question asked in Cisco Interview :
Which routing protocol will you use if you have 50 nodes in each area? Choose between OSPF , RIP and explain. | 2 |
3,968,281 | 10/19/2010 12:27:03 | 130,006 | 06/28/2009 07:56:47 | 1,117 | 54 | Git: pushing amended commits | I am currently working on a project and using machines in two different locations to do it. I have created a branch for the feature I am working on and when I finish some work on it I amend my commit to that branch and push it to the server so I can pick up where I left off on my other machine.
When I try to send my... | git | null | null | null | null | null | open | Git: pushing amended commits
===
I am currently working on a project and using machines in two different locations to do it. I have created a branch for the feature I am working on and when I finish some work on it I amend my commit to that branch and push it to the server so I can pick up where I left off on my other... | 0 |
2,362,456 | 03/02/2010 10:34:45 | 284,292 | 03/02/2010 10:06:56 | 1 | 0 | I'm a beginner of ASP.Net(c#). I want to build a simple threaded forum where clients can raise their questions and the answer would be given online. | I'm a beginner of ASP.Net(c#). I want to build a simple threaded
forum where clients can raise their questions and the answer would be given online. Could you please show me some sample source code? The
simpler, the better. | asp.net | visual-studio-2005 | visual-studio-2008 | c# | .netframework3.5 | 03/02/2010 11:12:21 | not a real question | I'm a beginner of ASP.Net(c#). I want to build a simple threaded forum where clients can raise their questions and the answer would be given online.
===
I'm a beginner of ASP.Net(c#). I want to build a simple threaded
forum where clients can raise their questions and the answer would be given online. Could you please... | 1 |
11,315,477 | 07/03/2012 16:46:59 | 1,466,060 | 06/19/2012 09:55:16 | 10 | 1 | Add icon button beside tree item in eclipse tree | I wonder how to add an icon that acts as a button in the right side of a tree item
the selection of this icon should have different action than selecting the tree item itself.
How can I do that?
| java | eclipse | tree | rcp | jface | null | open | Add icon button beside tree item in eclipse tree
===
I wonder how to add an icon that acts as a button in the right side of a tree item
the selection of this icon should have different action than selecting the tree item itself.
How can I do that?
| 0 |
1,951,849 | 12/23/2009 10:07:04 | 159,793 | 08/20/2009 06:28:39 | 255 | 3 | How can I format date by locale in Java? | I need to format date to app that has many languages, what is best way to format date, because every country has different kind of date formatting, so is it possible to format date by locale? | java | locale | date | formatting | null | null | open | How can I format date by locale in Java?
===
I need to format date to app that has many languages, what is best way to format date, because every country has different kind of date formatting, so is it possible to format date by locale? | 0 |
11,175,661 | 06/24/2012 07:16:11 | 1,059,161 | 11/22/2011 05:51:39 | 6 | 0 | How to create .wadl websevice and use it in soapui? | I have created a simple webservice application which contains a method that will return an integer. I need to this webservice in soapUI Pro 4.5.0 and test whether a request and response are performing correctly?
I'm getting error while loading service from the .wadl file
(executed from "localhost")
Thanks in ad... | web-services | service | soapui | wadl | null | 06/25/2012 11:50:52 | not a real question | How to create .wadl websevice and use it in soapui?
===
I have created a simple webservice application which contains a method that will return an integer. I need to this webservice in soapUI Pro 4.5.0 and test whether a request and response are performing correctly?
I'm getting error while loading service from th... | 1 |
8,444,298 | 12/09/2011 10:41:15 | 516,629 | 11/22/2010 20:29:41 | 1,546 | 51 | Create a duplicate optimized 'built' directory for deployment or optimise assets inside your source directory? | I have been looking into Makefile build scripts and want to get a good workflow in place. Is it best practice to:
**A. Optimise the assets within your project source directory and deploy that directory.**
**B. Or duplicate your entire source directory and optimise your assets within there.**
*Interested to... | optimization | deployment | build | makefile | make | null | open | Create a duplicate optimized 'built' directory for deployment or optimise assets inside your source directory?
===
I have been looking into Makefile build scripts and want to get a good workflow in place. Is it best practice to:
**A. Optimise the assets within your project source directory and deploy that directory... | 0 |
3,073,635 | 06/18/2010 23:19:45 | 370,763 | 06/18/2010 23:19:45 | 1 | 0 | Can You Add A Column To Wordpress Table? Will Upgrade Remove It? | Is this possible to add a column to wp_post? What will happen to it when it is upgraded? Is it possible to tell wordpress not to delete column if upgrade might remove it? | wordpress | null | null | null | null | null | open | Can You Add A Column To Wordpress Table? Will Upgrade Remove It?
===
Is this possible to add a column to wp_post? What will happen to it when it is upgraded? Is it possible to tell wordpress not to delete column if upgrade might remove it? | 0 |
8,436,229 | 12/08/2011 19:04:47 | 62,245 | 02/04/2009 03:55:12 | 1,743 | 13 | Telerik's RadSpell's StartSpellCheck error | I am using the telerik's `RadSpell` control and am trying to fire it on the client side using the example shown here:
[Telerik Example of RadSpell][1]
I get the following error:
`Uncaught TypeError: Object [object Object] has no method 'StartSpellCheck'`
Thoughts?
[1]: http://www.telerik.com/help/a... | javascript | asp.net | telerik | null | null | null | open | Telerik's RadSpell's StartSpellCheck error
===
I am using the telerik's `RadSpell` control and am trying to fire it on the client side using the example shown here:
[Telerik Example of RadSpell][1]
I get the following error:
`Uncaught TypeError: Object [object Object] has no method 'StartSpellCheck'`
Tho... | 0 |
6,328,963 | 06/13/2011 09:58:39 | 765,823 | 05/23/2011 10:22:19 | 26 | 0 | C# insert a varible. |
I have this code:
if (arrayList.Contains(5) == true)
{
//something
}
This there anyway to insert a string varible with the value "arrayList"?
Code would be something like this:
string variable = "arrayList";
if (variable.C... | c# | null | null | null | null | 06/13/2011 10:03:27 | not a real question | C# insert a varible.
===
I have this code:
if (arrayList.Contains(5) == true)
{
//something
}
This there anyway to insert a string varible with the value "arrayList"?
Code would be something like this:
string variable = "arrayL... | 1 |
4,303,248 | 11/29/2010 11:21:19 | 208,486 | 11/11/2009 07:43:27 | 1,805 | 133 | UDF to display string as hexcode | I have some strange characters in a VARCHAR field which prevent me from converting the field into an INTEGER. I want to debug this and so I need an UDF that will convert the string to a hexadecimal code (just like in a hex editor) so that I can see which characters I am dealing with.
Where can I find such a function... | sql | tsql | sql-server-2008 | udf | null | null | open | UDF to display string as hexcode
===
I have some strange characters in a VARCHAR field which prevent me from converting the field into an INTEGER. I want to debug this and so I need an UDF that will convert the string to a hexadecimal code (just like in a hex editor) so that I can see which characters I am dealing wit... | 0 |
10,547,160 | 05/11/2012 07:22:40 | 357,117 | 06/03/2010 04:50:58 | 348 | 35 | Browse - Read File on PHP | Can any one help me on how could I read the file using browse button for locating the file to be read using PHP? | php | text-files | null | null | null | 05/11/2012 07:33:05 | not a real question | Browse - Read File on PHP
===
Can any one help me on how could I read the file using browse button for locating the file to be read using PHP? | 1 |
6,229,844 | 06/03/2011 16:21:11 | 478,903 | 10/18/2010 01:41:03 | 76 | 2 | best language to create a portable inventory management system | we need to make an inventory management system which is desktop based and potable, our client company has many branches across the country what the client basically wants is normal inventory management system plus the name/location of the branch the data was entered from. i know i can do this by grabbing the location o... | inventory-management | null | null | null | null | 06/03/2011 16:44:27 | not constructive | best language to create a portable inventory management system
===
we need to make an inventory management system which is desktop based and potable, our client company has many branches across the country what the client basically wants is normal inventory management system plus the name/location of the branch the da... | 4 |
1,819,980 | 11/30/2009 13:57:58 | 198,145 | 10/28/2009 14:13:44 | 43 | 1 | What design pattern would you consider is most important to use? | What design pattern would you consider is most important to use? | design-patterns | null | null | null | null | 11/30/2009 14:08:20 | not constructive | What design pattern would you consider is most important to use?
===
What design pattern would you consider is most important to use? | 4 |
10,073,850 | 04/09/2012 13:23:27 | 1,097,519 | 12/14/2011 09:55:02 | 165 | 18 | Is it possible to create an HTML link or button that closes a full screen app running in mobile Safari? | I am running an HTML5 (+ CSS3 and JavaScript) app in mobile Safari on the iPad. The following meta tag in my HTML file lets the app run full screen when started using an icon on the iPad's home screen:
<meta name="apple-mobile-web-app-capable" content="yes" />
In the main menu of my app there is a 'close' opt... | javascript | ipad | html5 | mobile-safari | ipad-2 | null | open | Is it possible to create an HTML link or button that closes a full screen app running in mobile Safari?
===
I am running an HTML5 (+ CSS3 and JavaScript) app in mobile Safari on the iPad. The following meta tag in my HTML file lets the app run full screen when started using an icon on the iPad's home screen:
<m... | 0 |
10,651,775 | 05/18/2012 11:25:45 | 1,208,510 | 02/14/2012 07:09:54 | 552 | 14 | Android : java.lang.IllegalArgumentException: Invalid audio buffer size | I am trying to play audio after immediate recording of audio. I have searched google & stackoverflow i dint found any solutions.
here is the code for Audio_Record .
public class Audio_RecordActivity extends Activity {
private static final int RECORDER_BPP = 16;
private static final String AUDIO_RECORDER_FIL... | android | audio | audio-recording | audiorecord | null | null | open | Android : java.lang.IllegalArgumentException: Invalid audio buffer size
===
I am trying to play audio after immediate recording of audio. I have searched google & stackoverflow i dint found any solutions.
here is the code for Audio_Record .
public class Audio_RecordActivity extends Activity {
private static ... | 0 |
1,887,687 | 12/11/2009 12:14:09 | 229,564 | 12/11/2009 11:09:03 | 1 | 0 | Synchronous Distributed Objects Over NSConnection Issue | I have an application that pulls data from the web, parses them, and compiles the results in a search interface. Since the data are not co-dependant, it made sense to multi-thread the application to execute multiple fetches and parses simultaneously. I use NSInvocationOperation on a search and parse object I have wri... | objective-c | core-data | multithreading | distributed-objects | cocoa | null | open | Synchronous Distributed Objects Over NSConnection Issue
===
I have an application that pulls data from the web, parses them, and compiles the results in a search interface. Since the data are not co-dependant, it made sense to multi-thread the application to execute multiple fetches and parses simultaneously. I use ... | 0 |
10,025,676 | 04/05/2012 09:03:47 | 1,083,221 | 12/06/2011 09:42:06 | 1 | 0 | Recommended server specs? | I'm working on buying a cloud server - i have never had my own server before (although i know how to setup the server)
So, i have this website which generate books from user inputs (some of the books are 400+ pages) - these are generated to a PDF file which uses alot of memory (around 600M)
I'm running LAMPP on U... | apache | cloud | specs | null | null | 04/05/2012 13:29:05 | off topic | Recommended server specs?
===
I'm working on buying a cloud server - i have never had my own server before (although i know how to setup the server)
So, i have this website which generate books from user inputs (some of the books are 400+ pages) - these are generated to a PDF file which uses alot of memory (around ... | 2 |
4,676,656 | 01/13/2011 04:02:13 | 79,288 | 03/18/2009 03:22:17 | 61 | 2 | Advice on stopping donation fraud | I work for a non-profit organisation and have created and online donations page. Recently this donations page has been used to validate stolen credit card details via the process known as [Carding][1].
The way it works is that a slacker get hold of a whole bunch of credit details but doesn't know which numbers are ... | e-commerce | donations | fraud-prevention | null | null | null | open | Advice on stopping donation fraud
===
I work for a non-profit organisation and have created and online donations page. Recently this donations page has been used to validate stolen credit card details via the process known as [Carding][1].
The way it works is that a slacker get hold of a whole bunch of credit deta... | 0 |
7,896,317 | 10/25/2011 21:49:44 | 686,327 | 03/31/2011 18:36:26 | 50 | 0 | Most efficient way of having an object move across a video? | I have a still image that I would like to utilize to move across a wmv file I have. What is the easiest and most proficient way I can accomplish this without having to go frame by frame? I wasn't sure if there was an easy way to do this in Premiere or if Flash should be used?
Thanks! | flash | video | video-editing | adobe-premiere | null | 10/26/2011 14:19:26 | off topic | Most efficient way of having an object move across a video?
===
I have a still image that I would like to utilize to move across a wmv file I have. What is the easiest and most proficient way I can accomplish this without having to go frame by frame? I wasn't sure if there was an easy way to do this in Premiere or ... | 2 |
8,555,241 | 12/18/2011 22:13:46 | 561,395 | 01/03/2011 15:06:36 | 955 | 5 | Connect iOS app to Mac app over wifi? Similar to iTunes Remote? | I'm wondering if it's possible for me to connect an iOS app with a Mac app over wifi, in a similar way to remote and iTunes, where it pairs the devices up so they can communicate with each other? | iphone | objective-c | osx | application | connection | null | open | Connect iOS app to Mac app over wifi? Similar to iTunes Remote?
===
I'm wondering if it's possible for me to connect an iOS app with a Mac app over wifi, in a similar way to remote and iTunes, where it pairs the devices up so they can communicate with each other? | 0 |
9,387,284 | 02/22/2012 00:06:13 | 1,089,793 | 12/09/2011 13:22:48 | 10 | 0 | jQuery UI tabs example and adding own script | This is jQuery tabs script: http://jqueryui.com/demos/tabs/#manipulation
var $tabs = $( "#tabs").tabs({
tabTemplate: "<li><a href='#{href}'>#{label}</a> <span class='ui-icon ui-icon-close'>Remove Tab</span></li>",
add: function( event, ui ) {
var tab_content = $tab_content_input.val(... | javascript | jquery | ajax | jquery-ui | null | null | open | jQuery UI tabs example and adding own script
===
This is jQuery tabs script: http://jqueryui.com/demos/tabs/#manipulation
var $tabs = $( "#tabs").tabs({
tabTemplate: "<li><a href='#{href}'>#{label}</a> <span class='ui-icon ui-icon-close'>Remove Tab</span></li>",
add: function( event, ui ) {
... | 0 |
9,669,492 | 03/12/2012 15:01:15 | 319,618 | 04/18/2010 09:55:23 | 5,675 | 325 | How can I determine which version of MacOS I'm using? | I'm compiling conditionally:
#ifdef WIN32
myVal = "Windows";
#elif __APPLE__
myVal = "Apple";
#endif
Is there a value I can test within the `__APPLE__` block to test against different versions (10.4,10.5,10.6 etc.)? | c++ | osx | compilation | cross-platform | null | null | open | How can I determine which version of MacOS I'm using?
===
I'm compiling conditionally:
#ifdef WIN32
myVal = "Windows";
#elif __APPLE__
myVal = "Apple";
#endif
Is there a value I can test within the `__APPLE__` block to test against different versions (10.4,10.5,10.6 etc.)? | 0 |
8,166,009 | 11/17/2011 11:01:56 | 1,043,081 | 11/12/2011 12:02:21 | 1 | 0 | Comparing varibles | Hi please can some one help me.
i have found that the code for comparing two Integers in a while loop is ==
but what is the code to compare three integers
meaning
the user will input a minimum value and a maxium value and you want to display the valeus in between
please can you help
Thanks | java | null | null | null | null | 11/17/2011 13:54:26 | not a real question | Comparing varibles
===
Hi please can some one help me.
i have found that the code for comparing two Integers in a while loop is ==
but what is the code to compare three integers
meaning
the user will input a minimum value and a maxium value and you want to display the valeus in between
please can you ... | 1 |
9,725,251 | 03/15/2012 17:45:47 | 1,221,739 | 02/20/2012 18:20:56 | 1 | 0 | Code Security in .Net | I wrote a program and sent the compiled file to my friend. but after an hour, he sent me the code of that! How did he do that. And how can i prevent it?
is this problem just in .net? | .net | .net-framework-version | null | null | null | null | open | Code Security in .Net
===
I wrote a program and sent the compiled file to my friend. but after an hour, he sent me the code of that! How did he do that. And how can i prevent it?
is this problem just in .net? | 0 |
8,879,635 | 01/16/2012 11:54:15 | 1,105,883 | 12/19/2011 12:27:42 | 41 | 2 | installation procedure for python | I want to install python with Django framework in my machine, Through google i found that versions in between 2.4 to 2.7 support Django framework(i may be wrong)so any one please guide me to install this software i need step-by-step procedure. Thanks in advance | python | django | null | null | null | 01/17/2012 09:03:05 | off topic | installation procedure for python
===
I want to install python with Django framework in my machine, Through google i found that versions in between 2.4 to 2.7 support Django framework(i may be wrong)so any one please guide me to install this software i need step-by-step procedure. Thanks in advance | 2 |
7,591,337 | 09/29/2011 01:02:02 | 958,705 | 09/22/2011 09:04:58 | 16 | 0 | PDF in JAVA using Itext | I just want to ask if there's any way that I can convert the pdf into image?? Or can I access the printer settings of the acrobat reader by coding? Thanks! | java | pdf | itext | null | null | 09/29/2011 23:53:25 | not a real question | PDF in JAVA using Itext
===
I just want to ask if there's any way that I can convert the pdf into image?? Or can I access the printer settings of the acrobat reader by coding? Thanks! | 1 |
10,474,912 | 05/06/2012 22:45:30 | 1,378,657 | 05/06/2012 22:05:50 | 1 | 0 | Multi-threading with ports | I am new to multi-threading and I'm trying to create a network where multiple nodes try to talk to each other through various unique ports, all on the same computer. Each node is assigned multiple Tx and Rx port numbers depending on how many nodes it is connected to and every Tx port on a node maps to just one Rx port ... | c++ | null | null | null | null | 05/06/2012 23:59:03 | too localized | Multi-threading with ports
===
I am new to multi-threading and I'm trying to create a network where multiple nodes try to talk to each other through various unique ports, all on the same computer. Each node is assigned multiple Tx and Rx port numbers depending on how many nodes it is connected to and every Tx port on ... | 3 |
1,763,301 | 11/19/2009 13:29:02 | 26,521 | 10/09/2008 14:54:41 | 1,041 | 38 | How do you deal with composite pattern when using hibernate and domain-driven design? | Does hibernate has support for hierarchical data in a database where
- you use a parentId
- you use a parentId and an orderId
- you use [Modified
Preorder Tree Traversal][1]
[1]: http://articles.sitepoint.com/article/hierarchical-data-database/2 | composite-pattern | nhibernate | hibernate | domain-driven-design | null | null | open | How do you deal with composite pattern when using hibernate and domain-driven design?
===
Does hibernate has support for hierarchical data in a database where
- you use a parentId
- you use a parentId and an orderId
- you use [Modified
Preorder Tree Traversal][1]
[1]: http://articles.sitepoint.com/a... | 0 |
9,543,398 | 03/03/2012 04:16:02 | 750,051 | 05/12/2011 06:50:28 | 6 | 0 | Yum upgrade to PHP 5.4? | PHP 5.4 was just released. Is there any way to upgrade my yum installation of PHP to 5.4 right away, or do I have to wait for package repos to start offering it? | php | linux | lamp | yum | null | 03/04/2012 15:22:03 | off topic | Yum upgrade to PHP 5.4?
===
PHP 5.4 was just released. Is there any way to upgrade my yum installation of PHP to 5.4 right away, or do I have to wait for package repos to start offering it? | 2 |
5,210,353 | 03/06/2011 12:05:05 | 374,253 | 06/23/2010 13:13:54 | 919 | 8 | #define and CUDA | Why does the following snippet not work with CUDA (both 3.2 and 4.0)?
#define NUM_BLOCKS 16
// lots of code.
dim3 dimBlock(NUM_BLOCKS, NUM_BLOCKS);
but this,
dim3 dimBlock(16, 16);
does?
I keep getting a `error : expected a ")"` and `error : expected an expression`. What am I missin... | c++ | preprocessor | cuda | null | null | null | open | #define and CUDA
===
Why does the following snippet not work with CUDA (both 3.2 and 4.0)?
#define NUM_BLOCKS 16
// lots of code.
dim3 dimBlock(NUM_BLOCKS, NUM_BLOCKS);
but this,
dim3 dimBlock(16, 16);
does?
I keep getting a `error : expected a ")"` and `error : expected an express... | 0 |
9,089,478 | 02/01/2012 01:22:47 | 121,196 | 06/11/2009 09:33:59 | 1,855 | 14 | sync time on linux using ntpand persisit it | on linux to sync time with ntp you say
<pre>
ntpdate pool.ntp.org
</pre>
however after reshoots, the time gets reset to some odd value again. is there a way to persist the changes?
how do I set the computer clock to the correct time and then keep it correct after reboot? | linux | time | ntp | null | null | 02/01/2012 02:07:04 | off topic | sync time on linux using ntpand persisit it
===
on linux to sync time with ntp you say
<pre>
ntpdate pool.ntp.org
</pre>
however after reshoots, the time gets reset to some odd value again. is there a way to persist the changes?
how do I set the computer clock to the correct time and then keep it correct after re... | 2 |
2,198,908 | 02/04/2010 10:31:36 | 287,210 | 11/23/2009 18:46:23 | 103 | 10 | ofstream - detect if file has been deleted between open and close | I'm wriiting a logger on linux.<br>
the logger open a file on init.<br>
and write to that file descriptor as the program run.<br>
if the log file will be deleted after the file descriptor was created,<br>
no exception/error will be detected .<br>
i have tried:
out.fail()
!out.is_open()
i have googl... | c++ | file | linux | null | null | null | open | ofstream - detect if file has been deleted between open and close
===
I'm wriiting a logger on linux.<br>
the logger open a file on init.<br>
and write to that file descriptor as the program run.<br>
if the log file will be deleted after the file descriptor was created,<br>
no exception/error will be detected .<b... | 0 |
3,410,274 | 08/04/2010 22:13:56 | 89,818 | 04/11/2009 18:29:54 | 201 | 4 | Protect website from Backdoor/PHP.C99Shell aka Trojan.Script.224490 | My website was infected by a trojan script.
Somebody managed to create/upload a file called "x76x09.php" or "config.php" into my webspace's root directory. Its size is 44287 bytes and its MD5 checksum is 8dd76fc074b717fccfa30b86956992f8. [I've analyzed this file using Virustotal][1]. These results say it's "Backdoor... | php | security | virus | trojan | null | null | open | Protect website from Backdoor/PHP.C99Shell aka Trojan.Script.224490
===
My website was infected by a trojan script.
Somebody managed to create/upload a file called "x76x09.php" or "config.php" into my webspace's root directory. Its size is 44287 bytes and its MD5 checksum is 8dd76fc074b717fccfa30b86956992f8. [I've ... | 0 |
3,872,200 | 10/06/2010 12:03:58 | 465,668 | 10/04/2010 09:42:03 | 16 | 2 | passing the password as a parameter in a scp command ... | how can i pass the password along with the scp command.when we use the scp protocol, it prompts us for the password.But i want to pass it as a parameter.Is that possible without using the key generation techniques? | scp | null | null | null | null | 06/01/2011 13:23:40 | off topic | passing the password as a parameter in a scp command ...
===
how can i pass the password along with the scp command.when we use the scp protocol, it prompts us for the password.But i want to pass it as a parameter.Is that possible without using the key generation techniques? | 2 |
9,664,028 | 03/12/2012 08:52:01 | 1,263,646 | 03/12/2012 08:43:54 | 1 | 0 | CRM 2011- Importing data from csv ( N-N relationship between contact and account) | I have a situation in Microsoft CRM 2011 in which contacts and accounts are associated N-N. I need to be able to import the data from a cvs file but have not been able to find a solution so far. Any help will be appreciated.
~A | import | microsoft | crm | null | null | 03/13/2012 12:57:18 | off topic | CRM 2011- Importing data from csv ( N-N relationship between contact and account)
===
I have a situation in Microsoft CRM 2011 in which contacts and accounts are associated N-N. I need to be able to import the data from a cvs file but have not been able to find a solution so far. Any help will be appreciated.
~A | 2 |
3,868,027 | 10/05/2010 21:47:54 | 24,246 | 10/01/2008 18:06:26 | 389 | 9 | Spring Security: Allow page views for all Fully Authenticated users, unless they have a specific role. | I'm using Spring 3.0.3 with Spring Security.
So, I have fairly lenient restrictions on an app I'm making. I only want to make sure that a person can log in and be authenticated in order to view the app. I don't want to grant roles to every potential user of this app (could be in the 10s of thousands).
So, it's be... | java | security | spring | null | null | null | open | Spring Security: Allow page views for all Fully Authenticated users, unless they have a specific role.
===
I'm using Spring 3.0.3 with Spring Security.
So, I have fairly lenient restrictions on an app I'm making. I only want to make sure that a person can log in and be authenticated in order to view the app. I don'... | 0 |
4,858,764 | 02/01/2011 04:02:54 | 597,836 | 02/01/2011 03:57:50 | 1 | 0 | Term in Programming/ Chaos Physics. | What is the term for a problem in physics or programming for a question with such complex data, or so many possible answers that the question approaches unanswerable. I'm not looking for a wicked problem, which has one best answer and can no longer be tested again once an attempt has been made. I am looking at somethin... | math | physics | vocabulary | null | null | 02/01/2011 10:29:15 | off topic | Term in Programming/ Chaos Physics.
===
What is the term for a problem in physics or programming for a question with such complex data, or so many possible answers that the question approaches unanswerable. I'm not looking for a wicked problem, which has one best answer and can no longer be tested again once an attemp... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.