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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2,994,251 | 06/08/2010 01:29:35 | 88,597 | 04/08/2009 13:38:53 | 1,135 | 100 | How to manage images (dimension-wise) in iPhone OS 3.1x / 3.2 / 4.0? | iPhone is 480 x 320, iPad is 1024 x 768, iOS 4 is 960 x 640. What is the good practice of managing images for 3 resolutions?
Say the app wallpaper as an example, the iPhone is probably a 50%-reduction of the iOS4 one. But it is also tempting to design one dimension (1024 x 768) for both devices (iPad and iOS 4 phone... | iphone | ipad | iphone-sdk-4.0 | null | null | null | open | How to manage images (dimension-wise) in iPhone OS 3.1x / 3.2 / 4.0?
===
iPhone is 480 x 320, iPad is 1024 x 768, iOS 4 is 960 x 640. What is the good practice of managing images for 3 resolutions?
Say the app wallpaper as an example, the iPhone is probably a 50%-reduction of the iOS4 one. But it is also tempting t... | 0 |
5,662,605 | 04/14/2011 11:35:59 | 538,789 | 12/11/2010 10:00:17 | 94 | 11 | Storing arraylist into another arraylist in c# | I want to insert productDetail arraylist in products arraylist
> ArrayList products = new ArrayList();
> ArrayList productDetail = new ArrayList();
> foreach (DataRow myRow in myTable.Rows)
> {
> productDetail.Clear();
> productDetail.Add( "CostPric... | c# | list | arraylist | null | null | null | open | Storing arraylist into another arraylist in c#
===
I want to insert productDetail arraylist in products arraylist
> ArrayList products = new ArrayList();
> ArrayList productDetail = new ArrayList();
> foreach (DataRow myRow in myTable.Rows)
> {
> productDetail.Clear(); ... | 0 |
11,347,462 | 07/05/2012 15:21:38 | 272,671 | 02/14/2010 06:53:51 | 169 | 6 | C++ working with smart pointers | In my code, I have function prototype
void AddBenchNode(ref_ptr<Group> root ,ref_ptr<Node> benches, bool setAttitude = false, float scale_x =.15, float scale_y =15, float scale_z = 15, int position_x = 250, int position_y = 100, int position_z =0 );
where ref_ptr is a smart pointer.
In my main function, I... | c++ | smart-pointers | null | null | null | null | open | C++ working with smart pointers
===
In my code, I have function prototype
void AddBenchNode(ref_ptr<Group> root ,ref_ptr<Node> benches, bool setAttitude = false, float scale_x =.15, float scale_y =15, float scale_z = 15, int position_x = 250, int position_y = 100, int position_z =0 );
where ref_ptr is a sma... | 0 |
2,780,537 | 05/06/2010 11:04:16 | 220,221 | 11/27/2009 19:39:22 | 15 | 1 | Speed-up of readonly MyISAM table | We have a large MyISAM table that is used to archive old data. This archiving is performed every month, and except from these occasions data is never written to the table. Is there anyway to "tell" MySQL that this table is read-only, so that MySQL might optimize the performance of reads from this table? I've looked at ... | mysql | myisam | performance | null | null | null | open | Speed-up of readonly MyISAM table
===
We have a large MyISAM table that is used to archive old data. This archiving is performed every month, and except from these occasions data is never written to the table. Is there anyway to "tell" MySQL that this table is read-only, so that MySQL might optimize the performance of... | 0 |
8,100,088 | 11/11/2011 21:18:33 | 1,020,773 | 10/30/2011 14:43:05 | 59 | 0 | Search a mysql database and display the results in real time on my site | I am attempting to implement a search box in my website, my website is based on users logging in and doing things. I would like to be able to type something into the search box, and then display the results in a drop down that comes from this.
This is a duplicate to http://stackoverflow.com/questions/4154598/how-to... | php | mysql | database | display | real-time | 11/12/2011 05:01:38 | not constructive | Search a mysql database and display the results in real time on my site
===
I am attempting to implement a search box in my website, my website is based on users logging in and doing things. I would like to be able to type something into the search box, and then display the results in a drop down that comes from this.... | 4 |
10,260,717 | 04/21/2012 16:10:15 | 1,217,222 | 02/17/2012 21:46:16 | 6 | 0 | Proving a language is regular/nonregular | In my computability class we were given a practice final to go over and i'm really struggling with one of the questions on it.
Prove the following statement:
If L1 is a regular language, then so is
L2 = {uv | u is in L1 or v is in L1}
You can't use the pumping lemma for regular languages (I think), so... | homework | regular-language | null | null | null | 04/22/2012 15:50:48 | off topic | Proving a language is regular/nonregular
===
In my computability class we were given a practice final to go over and i'm really struggling with one of the questions on it.
Prove the following statement:
If L1 is a regular language, then so is
L2 = {uv | u is in L1 or v is in L1}
You can't use the pum... | 2 |
6,817,386 | 07/25/2011 14:06:41 | 697,529 | 04/07/2011 20:16:36 | 300 | 11 | c# web-based crawler | I have several questions concerning crawlers.
1) Can I create a crawler that works purely on web? I mean, a crawler that can be launched or stopped from an admin page of a web-project.
2) What is the most convenient language to write a crawler? I was planning to write it with c#.
3) The most important one: Ho... | c# | crawler | spider | bots | googlebot | null | open | c# web-based crawler
===
I have several questions concerning crawlers.
1) Can I create a crawler that works purely on web? I mean, a crawler that can be launched or stopped from an admin page of a web-project.
2) What is the most convenient language to write a crawler? I was planning to write it with c#.
3) ... | 0 |
2,626,757 | 04/13/2010 03:17:54 | 2,581 | 08/23/2008 04:37:51 | 698 | 21 | How Can I Automatically Execute A Link In Internet Explorer | I am trying to create an application to print documents over the web. I have created my document, and made a web page with a meta refresh tag, along the lines of this:
<meta http-equiv="refresh" content="3;http://example.com/download.epl2" />
I specify that the document has a content-type of application/x-ep... | internet-explorer | printing | null | null | null | null | open | How Can I Automatically Execute A Link In Internet Explorer
===
I am trying to create an application to print documents over the web. I have created my document, and made a web page with a meta refresh tag, along the lines of this:
<meta http-equiv="refresh" content="3;http://example.com/download.epl2" />
I... | 0 |
11,296,253 | 07/02/2012 15:03:50 | 966,857 | 09/27/2011 10:52:33 | 16 | 0 | How Make a Correct Sql Structure? | I work on C# project.
i want to make sql db for my program.
in my program i have many section for each person such as Gender , Department , Education , Bank Name and etc.
For Control Rows In Each Section if i make Tables for each section is correct?
for example make a table for Department With 4 rows . And... | sql | structure | null | null | null | 07/02/2012 22:08:19 | not constructive | How Make a Correct Sql Structure?
===
I work on C# project.
i want to make sql db for my program.
in my program i have many section for each person such as Gender , Department , Education , Bank Name and etc.
For Control Rows In Each Section if i make Tables for each section is correct?
for example make a... | 4 |
11,284,772 | 07/01/2012 18:50:15 | 890,610 | 08/11/2011 19:40:14 | 488 | 13 | TimeConstrained[] not taking full amount of time | I am using Mathematica to evaluate an integral within a given time constraint. Note that I have read in values of 'BigList' or `BL` from a file. If the file has a value for `(l,m)` of zero, then I evaluate the integral, otherwise, I read in the value of the integral from the file. The idea is to continually allow more ... | mathematica | null | null | null | null | 07/14/2012 00:29:03 | off topic | TimeConstrained[] not taking full amount of time
===
I am using Mathematica to evaluate an integral within a given time constraint. Note that I have read in values of 'BigList' or `BL` from a file. If the file has a value for `(l,m)` of zero, then I evaluate the integral, otherwise, I read in the value of the integral... | 2 |
10,656,576 | 05/18/2012 16:42:44 | 1,303,001 | 03/30/2012 10:19:53 | 630 | 50 | How to find if a class is a singleton class from the object? | Given an object, how do we check if a class is Singleton or not?
Currently I am using this
public class SingletonClass implements IsSingleton
where `IsSingleton` is a blank interface which I implement on singleton classes. So the class can be tested as singleton
SingletonClass obj = SingletonClass.g... | java | singleton | null | null | null | null | open | How to find if a class is a singleton class from the object?
===
Given an object, how do we check if a class is Singleton or not?
Currently I am using this
public class SingletonClass implements IsSingleton
where `IsSingleton` is a blank interface which I implement on singleton classes. So the class can b... | 0 |
11,409,975 | 07/10/2012 09:03:38 | 1,025,492 | 11/02/2011 11:09:22 | 1 | 0 | how to put text box name in session | i want to keep my text box name into session and able to retrive the name in another page ,in this code i placed the counter value into seesion but actually i want to keep textbox name in session.
Please check the code
<html>
<head>
<title>test</title>
</head>
<body>
Name<input type="te... | jsp | session | null | null | null | 07/10/2012 15:39:34 | not a real question | how to put text box name in session
===
i want to keep my text box name into session and able to retrive the name in another page ,in this code i placed the counter value into seesion but actually i want to keep textbox name in session.
Please check the code
<html>
<head>
<title>test</title>
</h... | 1 |
3,876,572 | 10/06/2010 20:25:27 | 468,430 | 10/06/2010 20:14:05 | 1 | 0 | Making sense of the ReportServer.dbo.Schedule table | Hi I am trying to make a report that lists all the subscriptions on our report server, the report they are on, the times and days they are run on, and the reccurence. So far I have been able to get a list of the reports and schedules of the reports. I cannot seem to understand what the values and columns in the Sched... | reportingservices-2005 | reportserver | null | null | null | null | open | Making sense of the ReportServer.dbo.Schedule table
===
Hi I am trying to make a report that lists all the subscriptions on our report server, the report they are on, the times and days they are run on, and the reccurence. So far I have been able to get a list of the reports and schedules of the reports. I cannot se... | 0 |
8,646,237 | 12/27/2011 15:21:44 | 1,022,585 | 10/31/2011 19:30:26 | 118 | 1 | php sql drop rate system | This question might seem a bit bizarre, but...
I run a mafia style game site scripted in PHP. When players do crimes, theres a chance they'll get a 'drop', lets say a new weapon.
How I have it working at the moment is each crime they do, I run a rand() out of 10, and if it hits 10 then I randomly select a row fr... | php | sql | percentage | null | null | null | open | php sql drop rate system
===
This question might seem a bit bizarre, but...
I run a mafia style game site scripted in PHP. When players do crimes, theres a chance they'll get a 'drop', lets say a new weapon.
How I have it working at the moment is each crime they do, I run a rand() out of 10, and if it hits 10 t... | 0 |
7,886,933 | 10/25/2011 08:58:43 | 1,012,403 | 10/25/2011 08:54:16 | 1 | 0 | Developing for Android Tablet - HTML5 or AIR? | I've come across this discussion many times, and it logically always seems fall into the 'depends on what platform you are going to support, if you need to support many use JAVA' etc. However, my needs are different. I'm new to Android, I'm an iPhone developer. I'll be developing app for one specific piece of hardwa... | android | actionscript | air | adobe | null | 10/25/2011 17:05:23 | not constructive | Developing for Android Tablet - HTML5 or AIR?
===
I've come across this discussion many times, and it logically always seems fall into the 'depends on what platform you are going to support, if you need to support many use JAVA' etc. However, my needs are different. I'm new to Android, I'm an iPhone developer. I'll... | 4 |
4,071,785 | 11/01/2010 18:15:37 | 398,316 | 07/21/2010 18:13:49 | 35 | 3 | What RDBMS should I learn/use? (MySql/MSSQL/Oracle etc.) | I've been using MySql and MSSQL for a while. Not for anything that complicated! Mainly for web and desktop application development.
I've also used SQLite for some simple applications (not really a RDBMS, I know!). I haven't used Oracle even once.
The thing is I want to start learning a RDBMS thoroughly and I really d... | database | rdbms | null | null | null | 11/02/2010 19:28:44 | not constructive | What RDBMS should I learn/use? (MySql/MSSQL/Oracle etc.)
===
I've been using MySql and MSSQL for a while. Not for anything that complicated! Mainly for web and desktop application development.
I've also used SQLite for some simple applications (not really a RDBMS, I know!). I haven't used Oracle even once.
The thing... | 4 |
4,557,114 | 12/29/2010 19:19:44 | 126,352 | 06/21/2009 00:33:25 | 14,945 | 253 | Django custom template tag which accepts a boolean parameter | According to [this thread][1] on the django-developers list, I can't pass the constant `False` as a parameter to a Django template tag because it will be treated as a variable name not a builtin constant.
But if I want to create a template tag takes needs a true/false parameter, what's the the recommended way to cr... | python | django | django-templates | django-template-tags | null | null | open | Django custom template tag which accepts a boolean parameter
===
According to [this thread][1] on the django-developers list, I can't pass the constant `False` as a parameter to a Django template tag because it will be treated as a variable name not a builtin constant.
But if I want to create a template tag takes ... | 0 |
10,128,058 | 04/12/2012 16:47:49 | 1,329,669 | 04/12/2012 16:34:13 | 1 | 0 | Creating a Football Betting System [PHP & WordPress] | If I were to create a small online football betting "system", where the user would be able to put two numbers in each textbox, which represented the goalscorings by the selected teams (i.e. Arsenal 3 - 0 Chelsea). And then, depending on the real-life result, the user should be rewarded with a currency (only on the webs... | php | wordpress | system | online | null | 04/12/2012 18:45:57 | not a real question | Creating a Football Betting System [PHP & WordPress]
===
If I were to create a small online football betting "system", where the user would be able to put two numbers in each textbox, which represented the goalscorings by the selected teams (i.e. Arsenal 3 - 0 Chelsea). And then, depending on the real-life result, the... | 1 |
6,041,539 | 05/18/2011 07:58:09 | 709,380 | 04/15/2011 07:39:56 | 27 | 0 | making a serial number for an installation CD | I have serched but to no avail on how to make a serial number to provent unotherised installation of my product. Its something I would expect information about (problem is its probably bogged down by all the illegal serial gen sites online).
I would ike to know any way possible of doing this?
| vb.net | passwords | batch-file | serial | password-protection | 05/19/2011 10:06:28 | not a real question | making a serial number for an installation CD
===
I have serched but to no avail on how to make a serial number to provent unotherised installation of my product. Its something I would expect information about (problem is its probably bogged down by all the illegal serial gen sites online).
I would ike to know any ... | 1 |
5,959,794 | 05/11/2011 05:46:05 | 746,213 | 05/10/2011 05:41:39 | 3 | 0 | how to import all my phonebook contacts into MYSQL server | hai all,
I want to import all my android phonebook contacts into MYSQL server.can any one show me the code for that...plaese help me....Thanks in advance | android | null | null | null | null | 05/23/2011 12:30:27 | not a real question | how to import all my phonebook contacts into MYSQL server
===
hai all,
I want to import all my android phonebook contacts into MYSQL server.can any one show me the code for that...plaese help me....Thanks in advance | 1 |
8,288,934 | 11/27/2011 20:51:50 | 1,017,315 | 10/27/2011 20:49:03 | 7 | 0 | read yes/no to bool and reading data whith SQL C# | i wrote a class and i get this error
System.Data.OleDb.OleDbException (0x80040E10): value wan't given for one or more of the required parameters
i tried to storage the end and start(in the database they are yes/no types)
I tried it with getting it as boolean and it doesn't work.
moreover, I tried to get the v... | c# | sql | database | oledb | yes-no | 11/28/2011 01:23:06 | not a real question | read yes/no to bool and reading data whith SQL C#
===
i wrote a class and i get this error
System.Data.OleDb.OleDbException (0x80040E10): value wan't given for one or more of the required parameters
i tried to storage the end and start(in the database they are yes/no types)
I tried it with getting it as boole... | 1 |
11,488,867 | 07/15/2012 02:15:06 | 1,526,358 | 07/15/2012 02:09:32 | 1 | 0 | C programing help please | I want to know if it's posible to
make mp3 player,in C.(nt c++).
After locating a mp3 file,how can
i play it.i just dont
understand,what could be the
possible code that would read a
mp3 file and give "sound" as
output.is it posible?are there any
such functions or logic behind it? (i mean to develop an independe... | xcode | null | null | null | null | 07/15/2012 10:50:18 | not a real question | C programing help please
===
I want to know if it's posible to
make mp3 player,in C.(nt c++).
After locating a mp3 file,how can
i play it.i just dont
understand,what could be the
possible code that would read a
mp3 file and give "sound" as
output.is it posible?are there any
such functions or logic behind it? (... | 1 |
7,573,607 | 09/27/2011 17:58:49 | 967,612 | 09/27/2011 17:35:47 | 1 | 0 | How to check if a string is an object's instance or not? | I have one question about the instances of an object.
Below, an example to illustrate my issue :
I have an object - MyObject.h :
@interface MyObject : NSObject
{
//Instances
id myInstance1;
id myInstance2;
}
@property (nonatomic, retain) id myInstance1;
... | objective-c | null | null | null | null | null | open | How to check if a string is an object's instance or not?
===
I have one question about the instances of an object.
Below, an example to illustrate my issue :
I have an object - MyObject.h :
@interface MyObject : NSObject
{
//Instances
id myInstance1;
id myInstance2;
... | 0 |
10,262,377 | 04/21/2012 19:44:11 | 1,348,731 | 04/21/2012 19:37:13 | 1 | 0 | What is the difference between the Java Associate exam and the Java Programmer exam | In the next 6 months I will have to take one of the above exams to pass part of my course and I have been studying Java for the last 2 years in school and was wondering is there a huge difference between the 2 exams, Would I be better to just do the programmer exam and bypass the associate exam or is there a huge step ... | java | associate | null | null | null | 04/23/2012 02:44:08 | off topic | What is the difference between the Java Associate exam and the Java Programmer exam
===
In the next 6 months I will have to take one of the above exams to pass part of my course and I have been studying Java for the last 2 years in school and was wondering is there a huge difference between the 2 exams, Would I be bet... | 2 |
9,955,843 | 03/31/2012 12:26:30 | 1,020,706 | 10/30/2011 13:27:42 | 14 | 0 | Bash - numerical sort sorts 10s before 1s | I'm in a directory. There are two subdirectories and I want to list the files in them, in numerical order. In the first directory, the files are named 01, 02, 03... and they sort fine. But in the second directory, the files are named 1, 2, 3 and thus the 10 sorts before the 1. Keying does not seem to work as I'm a ... | bash | sorting | numerical | null | null | null | open | Bash - numerical sort sorts 10s before 1s
===
I'm in a directory. There are two subdirectories and I want to list the files in them, in numerical order. In the first directory, the files are named 01, 02, 03... and they sort fine. But in the second directory, the files are named 1, 2, 3 and thus the 10 sorts before... | 0 |
11,347,176 | 07/05/2012 15:06:39 | 704,906 | 04/12/2011 21:20:59 | 62 | 3 | SQL Server 2012 - Always On | I am in the process of setting up always on high availability clusters for the first time. Can anyone explain to me from the networking perspective after configuring the group and testing to make sure it is functioning properly, how does SQL know when to fail over, and how would my application connecting to the SQL ser... | sql-server-2012 | high-availability | null | null | null | 07/05/2012 15:20:40 | off topic | SQL Server 2012 - Always On
===
I am in the process of setting up always on high availability clusters for the first time. Can anyone explain to me from the networking perspective after configuring the group and testing to make sure it is functioning properly, how does SQL know when to fail over, and how would my appl... | 2 |
949,341 | 06/04/2009 08:51:18 | 109,367 | 05/19/2009 13:19:18 | 191 | 18 | How to obtain lang attribute in html using JavaScript? | How to obtain lang attribute in html using JavaScript?
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | javascript | null | null | null | null | null | open | How to obtain lang attribute in html using JavaScript?
===
How to obtain lang attribute in html using JavaScript?
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | 0 |
9,223,398 | 02/10/2012 05:57:13 | 188,912 | 10/13/2009 07:37:44 | 380 | 4 | Pager widget alway switch to desktop 1 | I use pager for my panel. When I click on desktop's region of other desktop (2,3,4 I saparate to 4 virtual desktop) its switch back to desktop 1.How can I deal with it. I don't want it switch back to desktop 1 | widget | kubuntu | null | null | null | null | open | Pager widget alway switch to desktop 1
===
I use pager for my panel. When I click on desktop's region of other desktop (2,3,4 I saparate to 4 virtual desktop) its switch back to desktop 1.How can I deal with it. I don't want it switch back to desktop 1 | 0 |
11,363,359 | 07/06/2012 13:41:32 | 554,850 | 12/27/2010 09:54:55 | 261 | 19 | Static lib linking error: Symbols not found for architecture | I need to link FFMPEG's libraries (libavformat, libavcodec, etc) to my project.
I have downloaded as an example iFrameExtractor project, and have successfully build it.
xcode-proj opens fine and the sample app works fine, so I just took libs from this project to my one.
But xcode fails to build it, saying me
... | ios | xcode | libraries | static-linking | null | null | open | Static lib linking error: Symbols not found for architecture
===
I need to link FFMPEG's libraries (libavformat, libavcodec, etc) to my project.
I have downloaded as an example iFrameExtractor project, and have successfully build it.
xcode-proj opens fine and the sample app works fine, so I just took libs from thi... | 0 |
9,095,096 | 02/01/2012 11:36:09 | 1,171,858 | 01/26/2012 17:39:54 | 11 | 0 | How to replace a string in a file | Could somebody please help me :
I need to code in batch file to replace a value in some log file.
I need this asap.
Thanks,
Krishna | batch | null | null | null | null | 02/01/2012 18:55:57 | off topic | How to replace a string in a file
===
Could somebody please help me :
I need to code in batch file to replace a value in some log file.
I need this asap.
Thanks,
Krishna | 2 |
7,545,877 | 09/25/2011 13:45:13 | 940,974 | 09/12/2011 16:22:27 | 26 | 0 | C# generate a public and private keys for the DSA encryption algorithm | I don't know how to generate a public and a private key for the DSA algorithm in byte array format.
| c# | encryption | key | public | dsa | 09/25/2011 15:00:08 | not a real question | C# generate a public and private keys for the DSA encryption algorithm
===
I don't know how to generate a public and a private key for the DSA algorithm in byte array format.
| 1 |
2,799,876 | 05/10/2010 01:30:03 | 205,955 | 11/08/2009 08:52:00 | 170 | 43 | Is compiler able to do a procedural integration of functions imported from dll? | I know, that modern compilers can do procedural integration not only with functions defined inline, but also with functions residing in object files. But is this also true when you compile your program against shared library (especially dll)? Roughly speaking: will function code be copied into executable from dll, if t... | c | c++ | dll | inline | null | null | open | Is compiler able to do a procedural integration of functions imported from dll?
===
I know, that modern compilers can do procedural integration not only with functions defined inline, but also with functions residing in object files. But is this also true when you compile your program against shared library (especiall... | 0 |
8,872,066 | 01/15/2012 18:11:36 | 827,114 | 07/03/2011 17:46:22 | 1 | 0 | Trying to get my first C++ program to work. Won't compile... Can someone save my @@@? | I am trying to create my first C++ program and I have fallen and can't get up... =( Any assistance would be appreciated. It wouldn't compile. I am using VS 2010. It appears to be a really picky IDE and I am thinking about ditching it. However most use it so I don't know if that is a good idea... I have included the cod... | c++ | c | visual-studio-2010 | null | null | 01/16/2012 08:47:40 | too localized | Trying to get my first C++ program to work. Won't compile... Can someone save my @@@?
===
I am trying to create my first C++ program and I have fallen and can't get up... =( Any assistance would be appreciated. It wouldn't compile. I am using VS 2010. It appears to be a really picky IDE and I am thinking about ditchin... | 3 |
5,965,350 | 05/11/2011 13:50:54 | 559,142 | 12/31/2010 09:33:03 | 403 | 3 | The Formal Definition of a Regular Expression | Can any improvements be made on the following definition for a regular expression. The context is compilers, so both a general and compiler-specific definition are provided:
Regular expressions (RE) provide a means for matching strings of text and are written in a formal language that can be interpreted by a regex p... | regex | null | null | null | null | 05/11/2011 19:28:35 | not a real question | The Formal Definition of a Regular Expression
===
Can any improvements be made on the following definition for a regular expression. The context is compilers, so both a general and compiler-specific definition are provided:
Regular expressions (RE) provide a means for matching strings of text and are written in a f... | 1 |
8,040,511 | 11/07/2011 17:53:49 | 995,469 | 10/14/2011 13:13:34 | 5 | 0 | Add a subject line to django-contact-form | I've been trying to add a subject line to Django-Contact-Form (https://bitbucket.org/ubernostrum/django-contact-form/overview) but I'm having no such luck. This is what I'm attempting in forms.py:
def __init__(self, data=None, files=None, request=None, *args, **kwargs):
if request is None:
raise ... | python | django | null | null | null | null | open | Add a subject line to django-contact-form
===
I've been trying to add a subject line to Django-Contact-Form (https://bitbucket.org/ubernostrum/django-contact-form/overview) but I'm having no such luck. This is what I'm attempting in forms.py:
def __init__(self, data=None, files=None, request=None, *args, **... | 0 |
9,839,374 | 03/23/2012 12:41:01 | 1,263,723 | 03/12/2012 09:20:17 | 1 | 0 | "COM object that has been separated from its underlying RCW cannot be used" error | I am making a simple university module database system that involves updating and navigating through various modules for various courses. I have 'Next', 'Previous', 'First' and 'Last' buttons to navigate through the modules and their fields which are assigned to textboxes which uses a dataset of the module table. I hav... | c# | oledbcommand | null | null | null | null | open | "COM object that has been separated from its underlying RCW cannot be used" error
===
I am making a simple university module database system that involves updating and navigating through various modules for various courses. I have 'Next', 'Previous', 'First' and 'Last' buttons to navigate through the modules and their... | 0 |
8,211,480 | 11/21/2011 12:01:28 | 695,006 | 04/06/2011 14:22:12 | 6 | 0 | Bash /shell/ script md5 hash tree output to .csv file | i need bash /shell/ script to md5sum hash all current directory tree files to one single .csv file like this :
"index.php","add95c73ccafa79b4936cf7236a074f4"
"logs/index.html","1c7b413c3fa39d0fed40556d2658ac73"
Thank You very much ;) | bash | shell | scripting | md5 | md5sum | 11/21/2011 18:06:34 | not a real question | Bash /shell/ script md5 hash tree output to .csv file
===
i need bash /shell/ script to md5sum hash all current directory tree files to one single .csv file like this :
"index.php","add95c73ccafa79b4936cf7236a074f4"
"logs/index.html","1c7b413c3fa39d0fed40556d2658ac73"
Thank You very much ;) | 1 |
1,129,783 | 07/15/2009 06:48:13 | 64,373 | 02/09/2009 23:29:43 | 11 | 1 | My client is new to the software biz, what should they read to understand development projects and process? | They're hiring me as their "lead programmer" as they call it, but it's really a project manager position. I will be doing little or no programming, they want to outsource the programming to an Indian shop. (their call, not mine)
"The Mythical Man Month" comes to mind, given their interest in outsourcing, but I'm sur... | methodology | business | process | outsourcing | resources | 09/23/2011 03:24:28 | not constructive | My client is new to the software biz, what should they read to understand development projects and process?
===
They're hiring me as their "lead programmer" as they call it, but it's really a project manager position. I will be doing little or no programming, they want to outsource the programming to an Indian shop. (... | 4 |
8,310,037 | 11/29/2011 11:33:03 | 575,460 | 01/14/2011 09:21:59 | 10 | 1 | convert file or array to json like hash | I need convert File to json like hash - {"List":[{"id":1,"name":"GAS ао","code":"GAZ3"},{"id":2,"name":"Spierq","code":"Sb1"}
File:
23fw2:GAZ3:GAS ao
d232ff21g:Sb1:Spierq
I tried:
def index
logger.debug(" csv_text= #{csv_text = File.read('data.list')}")
logger.debug(" csv= #{csv ... | ruby-on-rails | ruby | regex | json | null | 11/30/2011 03:41:32 | too localized | convert file or array to json like hash
===
I need convert File to json like hash - {"List":[{"id":1,"name":"GAS ао","code":"GAZ3"},{"id":2,"name":"Spierq","code":"Sb1"}
File:
23fw2:GAZ3:GAS ao
d232ff21g:Sb1:Spierq
I tried:
def index
logger.debug(" csv_text= #{csv_text = File.read('d... | 3 |
10,508,377 | 05/09/2012 00:33:18 | 1,321,021 | 04/09/2012 01:55:19 | 20 | 5 | Can NPAPI be distributed? | We konw that Microsoft has DCOM to accomplish distributed component calls. So do NPAPI have some corresponding technology? I have never develop with NPAPI. I want to learn something about NPAPI architecture. Can anyone give me some advice? | c++ | c | npapi | null | null | 06/04/2012 09:09:23 | not a real question | Can NPAPI be distributed?
===
We konw that Microsoft has DCOM to accomplish distributed component calls. So do NPAPI have some corresponding technology? I have never develop with NPAPI. I want to learn something about NPAPI architecture. Can anyone give me some advice? | 1 |
8,565,057 | 12/19/2011 17:29:00 | 1,106,352 | 12/19/2011 16:58:51 | 1 | 0 | Trying to set a variable as 0 and increase it with every onclick function execution | I am new to javascript, but here it is. I am working on this page, and I want it to increase the variable for each question asked. I am confused as to why it is not working properly, I have tried different things for hours.
http://www.sprayfoamsys.com/cmsdev/index.php?page=rig-constructor
function clearVar(){... | javascript | variables | increment | null | null | null | open | Trying to set a variable as 0 and increase it with every onclick function execution
===
I am new to javascript, but here it is. I am working on this page, and I want it to increase the variable for each question asked. I am confused as to why it is not working properly, I have tried different things for hours.
http... | 0 |
11,447,504 | 07/12/2012 08:04:56 | 1,043,065 | 11/12/2011 11:38:37 | 37 | 2 | What is a good dummy text formatter for web sites with jQuery? | I need a text editor for on my site where clients can format text. Does anyone know such one?
Thanks in advance! | jquery | textbox | null | null | null | 07/12/2012 08:25:41 | not a real question | What is a good dummy text formatter for web sites with jQuery?
===
I need a text editor for on my site where clients can format text. Does anyone know such one?
Thanks in advance! | 1 |
8,287,742 | 11/27/2011 18:07:07 | 354,009 | 05/30/2010 13:58:54 | 994 | 29 | Assignment statement - considered harmful? | I came across [this video of Uncle Bob][1] speaking about the [SICP book][2] and the assignment statement and it made me think (and read [the corresponding chapter from SICP][3]).
I'm wondering whether the arguments listed (local state, side effects, etc.), considering the first edition was published in **1984**, ar... | functional-programming | lisp | assignment-operator | sicp | considered-harmful | 11/27/2011 19:15:45 | off topic | Assignment statement - considered harmful?
===
I came across [this video of Uncle Bob][1] speaking about the [SICP book][2] and the assignment statement and it made me think (and read [the corresponding chapter from SICP][3]).
I'm wondering whether the arguments listed (local state, side effects, etc.), considering... | 2 |
11,322,278 | 07/04/2012 04:05:59 | 143,318 | 07/23/2009 01:21:46 | 130 | 6 | API for accessing Band/Musician Social Media links | Does anybody know of an API where I can access the social media links associated with a musician? Eg their facebook page or twitter account. The last.fm API has certain bio and music related info but I couldn't see any associated social media links? | api | null | null | null | null | 07/05/2012 14:46:42 | not constructive | API for accessing Band/Musician Social Media links
===
Does anybody know of an API where I can access the social media links associated with a musician? Eg their facebook page or twitter account. The last.fm API has certain bio and music related info but I couldn't see any associated social media links? | 4 |
10,977,561 | 06/11/2012 09:33:59 | 1,425,590 | 05/30/2012 08:57:17 | 7 | 0 | Shows all the product of a List | I'm trying to display all the products in an activity in a list of my db. I used NewView and BindView. Rather than show me all the elements (barcode, format, title, price), I see only the last, price. any solution is appreciated! :) Here is the part of the code:
Cursor cursor = db.rawQuery("select * ... | android | listview | view | null | null | null | open | Shows all the product of a List
===
I'm trying to display all the products in an activity in a list of my db. I used NewView and BindView. Rather than show me all the elements (barcode, format, title, price), I see only the last, price. any solution is appreciated! :) Here is the part of the code:
C... | 0 |
8,538,933 | 12/16/2011 19:05:55 | 1,102,558 | 12/16/2011 18:47:28 | 1 | 0 | How to open a new screen from another in Android/Java | I am new to Android/Java and am trying to learn in order to create an app. I have done a lot of programming in Microsoft Access Visual Basic, but this is the first that I am doing in Java.
My (very basic) question is how to open a new screen from another?
All of the examples that I have found online either did no... | android-layout | null | null | null | null | null | open | How to open a new screen from another in Android/Java
===
I am new to Android/Java and am trying to learn in order to create an app. I have done a lot of programming in Microsoft Access Visual Basic, but this is the first that I am doing in Java.
My (very basic) question is how to open a new screen from another?
... | 0 |
5,964,237 | 05/11/2011 12:30:08 | 710,453 | 04/15/2011 19:50:00 | 13 | 0 | Website hosting problems, please help! | I have a website with Alexa Traffic Rank of ~21000, ~300 in Iran that is currently hosted by [Subhosting][1] on [VPS-3 Linux Plan][2]. It is evident that their service is inexpensive in compare of reliable companies:
> HDD 150GB RAM 2048MB CPU 3 x 2.0+ GHz
> Cores BW 2000GB 2 IPs FULLY MANAGED
> By $49.95 per mon... | php | linux | hosting | vps | null | 05/11/2011 13:47:47 | off topic | Website hosting problems, please help!
===
I have a website with Alexa Traffic Rank of ~21000, ~300 in Iran that is currently hosted by [Subhosting][1] on [VPS-3 Linux Plan][2]. It is evident that their service is inexpensive in compare of reliable companies:
> HDD 150GB RAM 2048MB CPU 3 x 2.0+ GHz
> Cores BW 200... | 2 |
9,331,469 | 02/17/2012 15:59:16 | 644,350 | 03/04/2011 08:29:05 | 1,166 | 67 | OpenSSL: different key_blocks on server and client during TLS1.0 handshake | I'm running `s_server` and `s_client` from `openssl1.0.0d` package. The handshake failes with `bad_record_mac`. After two days of debugging I've found that `s->s3->tmp.key_block` differs on the server and client side. Thus MACs of handshake messages aren't equal on server and client, because this `key_block` used in di... | cryptography | openssl | tls | null | null | null | open | OpenSSL: different key_blocks on server and client during TLS1.0 handshake
===
I'm running `s_server` and `s_client` from `openssl1.0.0d` package. The handshake failes with `bad_record_mac`. After two days of debugging I've found that `s->s3->tmp.key_block` differs on the server and client side. Thus MACs of handshake... | 0 |
1,091,500 | 07/07/2009 10:16:40 | 77,991 | 03/14/2009 05:16:10 | 55 | 2 | How can i use a Gridview efficiently in asp.net by using only the keyboard? | i need to use my gridview by using only the keyboard.My clients prefer keyboard rather than using mouse.How can i use my gridview like that?What all events should i use?
| asp.net | with | vb | null | null | null | open | How can i use a Gridview efficiently in asp.net by using only the keyboard?
===
i need to use my gridview by using only the keyboard.My clients prefer keyboard rather than using mouse.How can i use my gridview like that?What all events should i use?
| 0 |
9,486,434 | 02/28/2012 17:08:18 | 1,222,066 | 02/20/2012 21:25:16 | 11 | 1 | Can I download the Phpmyadmin Database? | I accidentally deleted the `phpmyadmin` database that came with it. Now I'm getting errors like:
SQL query: DocumentationEdit Edit
SELECT `db_name` , `comment`
FROM `phpmyadmin`.`pma_column_info`
WHERE `column_name` = '(db_comment)'
MySQL said: Documentation
#1146 - Table 'phpmyadmi... | mysql | phpmyadmin | null | null | null | null | open | Can I download the Phpmyadmin Database?
===
I accidentally deleted the `phpmyadmin` database that came with it. Now I'm getting errors like:
SQL query: DocumentationEdit Edit
SELECT `db_name` , `comment`
FROM `phpmyadmin`.`pma_column_info`
WHERE `column_name` = '(db_comment)'
MySQL said... | 0 |
2,762,594 | 05/04/2010 03:16:18 | 84,201 | 03/29/2009 07:46:24 | 5,150 | 92 | What would be jQuery equivalent of this sf hover superfish code? | What would be jQuery equivalent of this sf hover superfish code?
<script>
sfHover = function() {
var sfEls = document.getElementById("navbar").getElementsByTagName("li");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" hover";... | jquery | javascript | null | null | null | null | open | What would be jQuery equivalent of this sf hover superfish code?
===
What would be jQuery equivalent of this sf hover superfish code?
<script>
sfHover = function() {
var sfEls = document.getElementById("navbar").getElementsByTagName("li");
for (var i=0; i<sfEls.length; i++) {
sfE... | 0 |
11,450,461 | 07/12/2012 11:04:20 | 1,113,216 | 12/23/2011 10:10:28 | 404 | 0 | Long polling request for updating Backbone Views | I need to implement Long polling request in a web App using `backbone`.
The use case will be the following:
I have several Views, and each View, or maybe model/collection related to this view,
needs to make different polling request to the server at different time for discovering some change.
I am wonderi... | javascript | backbone.js | long-polling | polling | null | null | open | Long polling request for updating Backbone Views
===
I need to implement Long polling request in a web App using `backbone`.
The use case will be the following:
I have several Views, and each View, or maybe model/collection related to this view,
needs to make different polling request to the server at diffe... | 0 |
8,216,719 | 11/21/2011 18:34:42 | 1,002,916 | 10/19/2011 10:18:58 | 176 | 1 | Creating sitemaps with codeigniter | I would like to know from others experience the best way to created sitemaps with codeigniter. I have looked at some plugins/libraries but all check the database for the pages. What happens if some pages on the site are static and not dynamic???
Is there any way to crawl the site using php and creating an xml file w... | xml | codeigniter | generator | sitemap | null | null | open | Creating sitemaps with codeigniter
===
I would like to know from others experience the best way to created sitemaps with codeigniter. I have looked at some plugins/libraries but all check the database for the pages. What happens if some pages on the site are static and not dynamic???
Is there any way to crawl the s... | 0 |
9,450,482 | 02/26/2012 04:13:22 | 1,230,307 | 02/24/2012 08:39:21 | 35 | 1 | Periodicity of events 2 | My previous question got a lot cons. I will try again, with a code and why it not work.
For example, we have event that will go every 3 month. Event have DateStart, DataEnd and Periodicity.
For example, we have a record:
start = 02/23/2012 22:00:00;
end = 12/31/2012 23:30:00;
periodicity = 3;
... | c# | null | null | null | null | 02/27/2012 02:59:05 | not a real question | Periodicity of events 2
===
My previous question got a lot cons. I will try again, with a code and why it not work.
For example, we have event that will go every 3 month. Event have DateStart, DataEnd and Periodicity.
For example, we have a record:
start = 02/23/2012 22:00:00;
end = 12/31/2012 23:30... | 1 |
11,161,817 | 06/22/2012 18:07:56 | 1,069,506 | 11/28/2011 14:26:51 | 78 | 3 | Google Gauge chart only throwing error in safari mobile | listed below is my javascript code for a google gauge chart I am using in my application. This works in Safari, Firefox, IE and Chrome, but not Safari Mobile. When running, I get an error stating "Result of expression 'c[G]' [null] is not an object". This is an asp.net page with visual basic as the server side code - t... | javascript | google-charts | null | null | null | null | open | Google Gauge chart only throwing error in safari mobile
===
listed below is my javascript code for a google gauge chart I am using in my application. This works in Safari, Firefox, IE and Chrome, but not Safari Mobile. When running, I get an error stating "Result of expression 'c[G]' [null] is not an object". This is ... | 0 |
5,770,413 | 04/24/2011 12:11:32 | 130,566 | 06/29/2009 17:15:35 | 257 | 6 | VMware Fusion and FreeBSD: can't make static IP or can't keep dynamic IP | I need a FreeBSD vm running on this Mac machine in which to test changes to the web server that runs on it (company policy that we test changes on an instance of the production environment.) However, currently I'm having very strange issues setting this up. (1) I was unable to setup a static IP without losing connectio... | osx | vmware | dhcp | vmware-fusion | ifconfig | 04/24/2011 13:37:05 | off topic | VMware Fusion and FreeBSD: can't make static IP or can't keep dynamic IP
===
I need a FreeBSD vm running on this Mac machine in which to test changes to the web server that runs on it (company policy that we test changes on an instance of the production environment.) However, currently I'm having very strange issues s... | 2 |
7,527,929 | 09/23/2011 10:57:59 | 652,878 | 03/10/2011 04:36:16 | 110 | 2 | which is the bestplayer to stream audio files from internet | i want to know which is the best player to stream files from remote server..ive been using AVAudioplayer to stream local files on resource bundle but its not working for files in the webserver.c | objective-c | xcode | null | null | null | 09/23/2011 23:34:42 | not constructive | which is the bestplayer to stream audio files from internet
===
i want to know which is the best player to stream files from remote server..ive been using AVAudioplayer to stream local files on resource bundle but its not working for files in the webserver.c | 4 |
6,002,305 | 05/14/2011 14:03:44 | 749,380 | 05/11/2011 19:48:53 | 1 | 0 | How can I make a web application where multiple users can download a file off of another user's computer? | I wanted to make a web application for coworkers:
A user specifies a file on **his** computer.
Other multiple users can download that specified file off of **his** computer.
**His** computer would act as a server, persay.
I know I'd have to use torrents...
Please and Thanks. | java | php | python | ruby-on-rails | websocket | 05/14/2011 17:42:50 | not a real question | How can I make a web application where multiple users can download a file off of another user's computer?
===
I wanted to make a web application for coworkers:
A user specifies a file on **his** computer.
Other multiple users can download that specified file off of **his** computer.
**His** computer would act as ... | 1 |
9,662,660 | 03/12/2012 06:33:27 | 1,186,974 | 02/03/2012 07:34:52 | 1 | 0 | Not able to connect secure sites ("https:") from android emulator | I am working on a android application, which is accessing a secured (https://) web service for some data. But I am facing some problem while testing the application in AVD emulator. The problem is that I am not been able to access the "https:" site neither from my application nor from the emulator browser. While I am t... | android | https | emulator | null | null | null | open | Not able to connect secure sites ("https:") from android emulator
===
I am working on a android application, which is accessing a secured (https://) web service for some data. But I am facing some problem while testing the application in AVD emulator. The problem is that I am not been able to access the "https:" site ... | 0 |
1,394,321 | 09/08/2009 14:23:41 | 5,517 | 09/10/2008 08:17:12 | 189 | 6 | Can I Change the Logged-In (Windows) User While an Application is Running? | Let's say we have an application that has a number of features and each feature as a permission set of users that are allowed to use that feature. The application is designed to be always-on, but at different times during the day we want different users to log on and use it.
Rather than reinvent the wheel and create... | windows | winapi | authentication | null | null | null | open | Can I Change the Logged-In (Windows) User While an Application is Running?
===
Let's say we have an application that has a number of features and each feature as a permission set of users that are allowed to use that feature. The application is designed to be always-on, but at different times during the day we want di... | 0 |
11,571,987 | 07/20/2012 02:21:15 | 1,198,203 | 02/08/2012 20:31:31 | 73 | 2 | is this a secure implementation of password reset email | I am redesigning a password reset email mechanism because the existing implementation scares the hell out of me. My goal is to generate reset codes that are:
* Expired
* Tamper Resistant
* Single Use
* Resistant to replay attacks
The format of the reset code I have come up with is:
B64(B64(iv)||B64(E(uid||t... | security | email | passwords | reset | encryption-symmetric | 07/21/2012 14:35:19 | off topic | is this a secure implementation of password reset email
===
I am redesigning a password reset email mechanism because the existing implementation scares the hell out of me. My goal is to generate reset codes that are:
* Expired
* Tamper Resistant
* Single Use
* Resistant to replay attacks
The format of the re... | 2 |
6,567,710 | 07/04/2011 05:48:03 | 820,867 | 06/29/2011 10:30:15 | 41 | 0 | Multimedia and gaming. | I really need your help guys.I want to create some game like bomber man.But the only language I know is C language on Unix platform with the concepts of multithreading.But as everyone knows we cannot print a cartoon character using a c language. We only have characters and special symbols in C.but is there any way to w... | java | multimedia | sfml | gaming | null | 07/04/2011 09:55:30 | not a real question | Multimedia and gaming.
===
I really need your help guys.I want to create some game like bomber man.But the only language I know is C language on Unix platform with the concepts of multithreading.But as everyone knows we cannot print a cartoon character using a c language. We only have characters and special symbols in... | 1 |
5,413,811 | 03/24/2011 01:42:38 | 165,673 | 08/30/2009 18:28:44 | 1,026 | 22 | FTP configuration for WordPress | I've installed a WordPress instance on a Linux server, and it wants FTP server access. I've just installed vsftpd, and started the service, but now what?
- How do I figure out/set what the username/pass is?
- Should I allow anonymous access?
- Is the hostname just 'localhost'?
Any advice would be apprecia... | linux | wordpress | ftp | null | null | null | open | FTP configuration for WordPress
===
I've installed a WordPress instance on a Linux server, and it wants FTP server access. I've just installed vsftpd, and started the service, but now what?
- How do I figure out/set what the username/pass is?
- Should I allow anonymous access?
- Is the hostname just 'localh... | 0 |
8,213,530 | 11/21/2011 14:38:18 | 131,975 | 07/01/2009 21:24:23 | 557 | 14 | Minimal python open source CRM | I'm looking for a minimalist opensource CRM preferably built on python (but not required) for a team of 5-6 people. Solutions such as SugarCRM, OpenERP are just too complex for such a small team - also we don't really need that ERP functionality. Please post your favorite CRM. | python | open-source | crm | null | null | 11/21/2011 16:01:01 | off topic | Minimal python open source CRM
===
I'm looking for a minimalist opensource CRM preferably built on python (but not required) for a team of 5-6 people. Solutions such as SugarCRM, OpenERP are just too complex for such a small team - also we don't really need that ERP functionality. Please post your favorite CRM. | 2 |
11,643,431 | 07/25/2012 05:44:23 | 1,550,605 | 07/25/2012 05:40:15 | 1 | 0 | Xcode ios 6 keyboard dismissing not working | im on xcode 4.5 preview 3 right now and am trying to get my app preepared for ios 6. in ios 5, to dismiss the keyboard for text boxes i used the [sender resignFirstResponder] method, and it worked. However, now the keyboard desnt close. Why is this?
ive tried on my iphone 4 ios 5.1 and iOS 6 and 5.1 simulators. this a... | xcode | ios5 | keyboard | first-responder | ios6 | 07/26/2012 12:42:51 | not a real question | Xcode ios 6 keyboard dismissing not working
===
im on xcode 4.5 preview 3 right now and am trying to get my app preepared for ios 6. in ios 5, to dismiss the keyboard for text boxes i used the [sender resignFirstResponder] method, and it worked. However, now the keyboard desnt close. Why is this?
ive tried on my ipho... | 1 |
10,610,310 | 05/15/2012 23:42:14 | 1,011,513 | 10/24/2011 19:11:21 | 1,628 | 106 | Tricky Encryption Algorithm Design | Bob and Alice each have a bit string they want to keep private. They each want to know what the logical AND of their two bit strings would be without telling the other or anyone else their actual bit strings... how can they do this? Keep in mind that even once they both hold the AND of their two bit strings, they shou... | algorithm | encryption | binary | logic | null | 05/16/2012 08:39:45 | off topic | Tricky Encryption Algorithm Design
===
Bob and Alice each have a bit string they want to keep private. They each want to know what the logical AND of their two bit strings would be without telling the other or anyone else their actual bit strings... how can they do this? Keep in mind that even once they both hold the... | 2 |
1,985,043 | 12/31/2009 11:25:52 | 163,407 | 08/26/2009 10:22:28 | 249 | 0 | Creators of C#? | Who are the creators of C#?
Of course it is Microsoft but are there any major players that can be mentioned as architects, thinkers etc. behind the scenes? (Besides Gosling and Stroustrup that is...) | c# | design | foundation | null | null | 01/02/2010 08:59:52 | not constructive | Creators of C#?
===
Who are the creators of C#?
Of course it is Microsoft but are there any major players that can be mentioned as architects, thinkers etc. behind the scenes? (Besides Gosling and Stroustrup that is...) | 4 |
10,953 | 08/14/2008 12:51:37 | 1,219 | 08/13/2008 13:44:47 | 46 | 18 | What's the ideal development team composition? | This question might be a little too open-ended, because there are so many variables involved. I'm sure someone could describe a modern take on Brooks' Surgical Team from MMM.
I'm wondering what people's opinions are on specialists vs. generalists. Should you build a team of people who can pretty much do it all (ja... | team | null | null | null | null | 02/07/2012 19:52:26 | off topic | What's the ideal development team composition?
===
This question might be a little too open-ended, because there are so many variables involved. I'm sure someone could describe a modern take on Brooks' Surgical Team from MMM.
I'm wondering what people's opinions are on specialists vs. generalists. Should you buil... | 2 |
4,444,387 | 12/14/2010 21:23:59 | 383,609 | 07/05/2010 11:20:27 | 1,094 | 59 | MySQL JOIN two tables | I'm sorry about the ambiguous title - I couldn't come up with an explanation for the behaviour I want without giving examples. Also, if this is a duplicate thread, please point me to the correct one and I'll delete it. I couldn't search for what I wanted because, as I said above, it's hard to explain...
Anyway, I wa... | mysql | join | null | null | null | null | open | MySQL JOIN two tables
===
I'm sorry about the ambiguous title - I couldn't come up with an explanation for the behaviour I want without giving examples. Also, if this is a duplicate thread, please point me to the correct one and I'll delete it. I couldn't search for what I wanted because, as I said above, it's hard to... | 0 |
7,755,758 | 10/13/2011 14:33:14 | 993,669 | 10/13/2011 14:28:37 | 1 | 0 | I cannot install Tomcat 6.0 on windows 7. Error code:0 | I was trying to install OSCAR EMR on windows 7. For that I have to install Tomcat 6.0. But I was not able to install Tomcat 6.0. It gives Error code 6.0. - Tomcat cannot be installed on a local computer.
| tomcat | null | null | null | null | 10/14/2011 02:18:01 | off topic | I cannot install Tomcat 6.0 on windows 7. Error code:0
===
I was trying to install OSCAR EMR on windows 7. For that I have to install Tomcat 6.0. But I was not able to install Tomcat 6.0. It gives Error code 6.0. - Tomcat cannot be installed on a local computer.
| 2 |
9,100,446 | 02/01/2012 17:34:07 | 724,535 | 04/26/2011 00:18:43 | 49 | 0 | Throw exceptions in helper methods in WCF? | I am new to WCF. I have multiple methods throwing the same exceptions for the same calls/validation. In-order to reduce the amount of code in the class, I can create validation helper methods to validate and throw exceptions. But at the same time, if I want to log the exceptions somewhere, I can't use the stacktrace/li... | c# | .net | wcf | exception | methods | null | open | Throw exceptions in helper methods in WCF?
===
I am new to WCF. I have multiple methods throwing the same exceptions for the same calls/validation. In-order to reduce the amount of code in the class, I can create validation helper methods to validate and throw exceptions. But at the same time, if I want to log the exc... | 0 |
3,422,802 | 08/06/2010 10:13:20 | 228,049 | 12/09/2009 15:10:46 | 320 | 8 | How do I pass function parameters into a regex query? | How would I go about passing function parameters into a regex query?
Many thanks.
function match(str, arg1, arg2){
var result = str.match(/(arg1 | arg2)/m);
log(result) //null
}
match('claire nick steve', 'nick','steve'); | javascript | regex | null | null | null | null | open | How do I pass function parameters into a regex query?
===
How would I go about passing function parameters into a regex query?
Many thanks.
function match(str, arg1, arg2){
var result = str.match(/(arg1 | arg2)/m);
log(result) //null
}
match('claire nick steve', 'nick','steve... | 0 |
4,662,664 | 01/11/2011 21:07:35 | 237,925 | 12/23/2009 21:58:20 | 79 | 2 | Error when creating EntityManager in JPA2 | I'm trying to create a simple JPA2 app that persists something to a database. I'm running Derby and using the default Embedded JDBC Driver. I've been scratching my head over this trying to figure out what's missing. I'm sure it's something trivial, but if someone could look this over and point me in the right direction... | java | jpa-2.0 | null | null | null | null | open | Error when creating EntityManager in JPA2
===
I'm trying to create a simple JPA2 app that persists something to a database. I'm running Derby and using the default Embedded JDBC Driver. I've been scratching my head over this trying to figure out what's missing. I'm sure it's something trivial, but if someone could loo... | 0 |
10,229,786 | 04/19/2012 14:03:34 | 963,156 | 09/25/2011 00:20:37 | 198 | 0 | Converting a string to two ints? | I have a string of the following form :
"(number) number"
So for example it may contain :
5 (5)
or
5 (3)
I wish to create an int variable which will hold the first value (in both cases 5), and a second int variable which will hold the value in the brackets (5 in the first case, 3 in the se... | c# | parsing | int | type-conversion | null | 04/20/2012 12:10:10 | not constructive | Converting a string to two ints?
===
I have a string of the following form :
"(number) number"
So for example it may contain :
5 (5)
or
5 (3)
I wish to create an int variable which will hold the first value (in both cases 5), and a second int variable which will hold the value in the brac... | 4 |
4,778,881 | 01/24/2011 05:13:53 | 419,225 | 08/13/2010 05:55:44 | 11 | 4 | How to use underscore.js as a template engine? | I'm trying to learn about new usages of javascript as a serverside language and as a functional language. Few days ago I heard about node.js and express framework. Then I saw about underscore.js as a set of utility functions. I saw [this question on stackoverflow
][1]. It says we can use underscore.js as a template en... | javascript | functional-programming | node.js | underscore.js | null | null | open | How to use underscore.js as a template engine?
===
I'm trying to learn about new usages of javascript as a serverside language and as a functional language. Few days ago I heard about node.js and express framework. Then I saw about underscore.js as a set of utility functions. I saw [this question on stackoverflow
][1... | 0 |
7,275,359 | 09/01/2011 19:20:38 | 886,921 | 08/09/2011 23:48:58 | 90 | 0 | Is possible to do this game in Silverlight? | I'm progamming in Windows Phone 7. I have only three days to do this. I plan to imitate this game in WP7.
http://www.arcademicskillbuilders.com/games/meteor/meteor.html
For the beginning for this game, I plan to create a object in the center of the screen and several objects around it.
Some can help me a littl... | c# | silverlight | windows-phone-7 | xna | null | 09/01/2011 20:29:38 | not constructive | Is possible to do this game in Silverlight?
===
I'm progamming in Windows Phone 7. I have only three days to do this. I plan to imitate this game in WP7.
http://www.arcademicskillbuilders.com/games/meteor/meteor.html
For the beginning for this game, I plan to create a object in the center of the screen and sever... | 4 |
10,278,417 | 04/23/2012 10:01:11 | 1,310,147 | 04/03/2012 10:21:04 | 1 | 0 | How to crawl no of webpages using scrapy? | http://www.2shared.com/document/kUUGaH8p/Q_online.html
You can find the code on above url. I want to crawl no of webpages using the start_urls. But somehow i feel that this is not a good way,because I get output of only 4 pages randomly. Can anyone please tell me how can we achieve this. I want the following thing... | python | scrapy | null | null | null | null | open | How to crawl no of webpages using scrapy?
===
http://www.2shared.com/document/kUUGaH8p/Q_online.html
You can find the code on above url. I want to crawl no of webpages using the start_urls. But somehow i feel that this is not a good way,because I get output of only 4 pages randomly. Can anyone please tell me how ... | 0 |
10,977,806 | 06/11/2012 09:50:47 | 842,840 | 07/13/2011 14:01:51 | 232 | 18 | Android Blackmart Protection | What is exactly blackmart ?
It seem's that it is an alternative market store for Android where you can install paid Application for free.
How can I protect my application against Blackmart ? | android | application | protection | null | null | 06/11/2012 10:20:56 | not a real question | Android Blackmart Protection
===
What is exactly blackmart ?
It seem's that it is an alternative market store for Android where you can install paid Application for free.
How can I protect my application against Blackmart ? | 1 |
7,976,190 | 11/02/2011 05:29:25 | 882,362 | 08/07/2011 02:31:36 | 54 | 0 | I want the name of a document format | I want the name of a document format.
It's a plain text document, in a xml construct.
The document of this format can be convert into html,pdf,doc and some other format.
The name is xxxdoc, I can't remember what the xxx is.
Will somebody have a hit? thanks
| html | xml | pdf | doc | null | 11/02/2011 16:14:11 | off topic | I want the name of a document format
===
I want the name of a document format.
It's a plain text document, in a xml construct.
The document of this format can be convert into html,pdf,doc and some other format.
The name is xxxdoc, I can't remember what the xxx is.
Will somebody have a hit? thanks
| 2 |
9,887,122 | 03/27/2012 09:50:06 | 941,747 | 09/13/2011 03:52:06 | 11 | 0 | Sitecore Media Library error "The page cannot be displayed" | Can anyone help on this? I log in sitecore with "Desktop Interface" and enter "Content Editor" but when I click the "Media Library" link, it shows "The page cannot be displayed" error.
I'm using Sitecore.NET 6.4.1 (rev. 110324).
Thanks in advance. | asp.net | sitecore6 | null | null | null | 07/10/2012 18:17:54 | not a real question | Sitecore Media Library error "The page cannot be displayed"
===
Can anyone help on this? I log in sitecore with "Desktop Interface" and enter "Content Editor" but when I click the "Media Library" link, it shows "The page cannot be displayed" error.
I'm using Sitecore.NET 6.4.1 (rev. 110324).
Thanks in advance. | 1 |
4,906,675 | 02/05/2011 11:49:45 | 196,106 | 10/25/2009 07:10:12 | 254 | 11 | Javascript function have sub functions / variables | This is the working code:
var test = function ()
{
console.log(test.data);
};
test.data = 'hello';
test.set = function (data)
{
test.data = data;
};
test.set('Test');
test();
This outputs `Test` to my javascript console.
Now I was wondering, i... | javascript | function | object | null | null | null | open | Javascript function have sub functions / variables
===
This is the working code:
var test = function ()
{
console.log(test.data);
};
test.data = 'hello';
test.set = function (data)
{
test.data = data;
};
test.set('Test');
test();
This outputs ... | 0 |
504,584 | 02/02/2009 19:42:27 | 61,635 | 02/02/2009 18:57:37 | 1 | 2 | Firefox killing the CPU | I love Firefox and Firebug, but Firefox seem to have some problem with the memory. Both mine and 2 co-workers at the office have the same problem - Firefox makes or PC/Vista or MacBook Pro sweat like a polarbear in Afrika.
Anyone else have this problem? And is there some solution for those of us who sell or kidneys... | firefox | cpu | null | null | null | 02/02/2009 19:46:48 | off topic | Firefox killing the CPU
===
I love Firefox and Firebug, but Firefox seem to have some problem with the memory. Both mine and 2 co-workers at the office have the same problem - Firefox makes or PC/Vista or MacBook Pro sweat like a polarbear in Afrika.
Anyone else have this problem? And is there some solution for th... | 2 |
2,901,342 | 05/25/2010 00:53:40 | 289,918 | 03/09/2010 19:03:35 | 5 | 1 | How to display images from SD card in a GalleryView | I am trying to display all the images stored in SD card in a Gallery View.
I have tried using the content provider (android.provider.MediaStore.images.Media class), but seem to be getting stuck at a point. Not sure if this is the way to go about it.
Here is my code so far:
String[] colsNeeded = new Str... | android | null | null | null | null | null | open | How to display images from SD card in a GalleryView
===
I am trying to display all the images stored in SD card in a Gallery View.
I have tried using the content provider (android.provider.MediaStore.images.Media class), but seem to be getting stuck at a point. Not sure if this is the way to go about it.
Here ... | 0 |
3,142,057 | 06/29/2010 15:12:18 | 379,122 | 06/29/2010 14:54:45 | 1 | 0 | page-break-after with IE and FF not working as expected | I have read through a lot of the question asked here and other places and I am confused why page-breaks don't seem to work for me. I created a test html page that looks like this:
<html>
<head>
<style type="text/css">
@media all
{
.page-break { }
}
@... | html | printing | page-break | null | null | null | open | page-break-after with IE and FF not working as expected
===
I have read through a lot of the question asked here and other places and I am confused why page-breaks don't seem to work for me. I created a test html page that looks like this:
<html>
<head>
<style type="text/css">
@media all
... | 0 |
3,776,482 | 09/23/2010 08:16:11 | 311,764 | 04/08/2010 09:19:01 | 293 | 4 | QT Dependency Visualizer | I have a lot of classes which interact with other classes through signal&slot mechanism, composition, inheratance etc.
I wonder, is there any tool which visualizes(such as:UML-like diagrams) dependencies between classes in source code especially for QT based codes?
Thanks. | c++ | debugging | qt | dependencies | code-visualization | null | open | QT Dependency Visualizer
===
I have a lot of classes which interact with other classes through signal&slot mechanism, composition, inheratance etc.
I wonder, is there any tool which visualizes(such as:UML-like diagrams) dependencies between classes in source code especially for QT based codes?
Thanks. | 0 |
1,407,354 | 09/10/2009 19:49:58 | 108,977 | 05/18/2009 19:37:21 | 1,893 | 188 | Is there a C++ unit tesitng library that is similar to NUnit? | We need to migrate a unit test harness developed with C# and NUnit to C++ running on Red Hat.
We want to minimize the efforts in migration.
We are reading resources such as this:
http://gamesfromwithin.com/exploring-the-c-unit-testing-framework-jungle
But we don't see anything similar to NUnit. | c++ | unit-testing | nunit | linux | null | null | open | Is there a C++ unit tesitng library that is similar to NUnit?
===
We need to migrate a unit test harness developed with C# and NUnit to C++ running on Red Hat.
We want to minimize the efforts in migration.
We are reading resources such as this:
http://gamesfromwithin.com/exploring-the-c-unit-testing-framework-... | 0 |
6,658,543 | 07/12/2011 01:20:21 | 807,797 | 06/21/2011 05:03:33 | 42 | 0 | free database for distribution with a commerical Java application | I wrote a scientific application that stores millions of rows of time series data each time I measure a specific person. It also stores meta-data about the person, and about various parameters recorded during the measurement session.
I have been using comma-delimitted txt files with this application in my own resea... | java | mysql | database | time-series | scientific-computing | null | open | free database for distribution with a commerical Java application
===
I wrote a scientific application that stores millions of rows of time series data each time I measure a specific person. It also stores meta-data about the person, and about various parameters recorded during the measurement session.
I have been... | 0 |
9,597,642 | 03/07/2012 07:53:27 | 717,166 | 04/20/2011 12:57:05 | 198 | 4 | Javascript regex and replace tag | Javascript regex and replace :
Input : `[url]testing data[/url]`
Replace by : `<b>`
Result : `<b>testing data</b>`
I need regex for it. Thank you ! | javascript | regex | null | null | null | 03/07/2012 18:50:43 | not a real question | Javascript regex and replace tag
===
Javascript regex and replace :
Input : `[url]testing data[/url]`
Replace by : `<b>`
Result : `<b>testing data</b>`
I need regex for it. Thank you ! | 1 |
5,568,455 | 04/06/2011 14:56:17 | 594,058 | 01/28/2011 15:42:51 | 21 | 1 | Cursor not showing when combobox is dropped down | I have an application where I have a product search text field. To implement a predictive text like feature, I hid a combo box behind the text box that populates with the appropriate products. That all works fine and dandy. The problem is the cursor does not show on the form while the combo box is dropped. I can still ... | c# | winforms | combobox | null | null | null | open | Cursor not showing when combobox is dropped down
===
I have an application where I have a product search text field. To implement a predictive text like feature, I hid a combo box behind the text box that populates with the appropriate products. That all works fine and dandy. The problem is the cursor does not show on... | 0 |
5,536,364 | 04/04/2011 08:53:14 | 683,669 | 03/30/2011 09:42:17 | 16 | 0 | 1:n relation in OOP regarding to deserialisation | I've modeled two classes like this:
ClassA -- n:1 --> ClassB
ClassB knows nothing about ClassA (unidirectional relation). Now I'm currently writing a file loader for ClassA that _uses_ (and does _not own_) a ClassB object.
Code-wise ClassA holds a pointer to ClassB, and that is where my problem arises: The... | c++ | oop | null | null | null | null | open | 1:n relation in OOP regarding to deserialisation
===
I've modeled two classes like this:
ClassA -- n:1 --> ClassB
ClassB knows nothing about ClassA (unidirectional relation). Now I'm currently writing a file loader for ClassA that _uses_ (and does _not own_) a ClassB object.
Code-wise ClassA holds a point... | 0 |
6,202,523 | 06/01/2011 14:07:54 | 117,507 | 06/03/2009 22:33:15 | 1,700 | 92 | Is list[i] an alias for list.get_item(i) in C#? | I'm passing a lambada expression as a parameter.
In this case, `someObject` has a property called `property` accessible with `someObject.property`.
When I pass: `o => o.childListOfObjects[0].property`,
where `childListOfObjects` is a `List<someObejct>` and ,
`expression.Body` returns `o => o.childListOfOb... | c# | list | lambda | alias | null | null | open | Is list[i] an alias for list.get_item(i) in C#?
===
I'm passing a lambada expression as a parameter.
In this case, `someObject` has a property called `property` accessible with `someObject.property`.
When I pass: `o => o.childListOfObjects[0].property`,
where `childListOfObjects` is a `List<someObejct>` and... | 0 |
9,809,851 | 03/21/2012 17:33:39 | 1,284,064 | 03/21/2012 17:24:50 | 1 | 0 | UVa_11151(Longest Palindrome) | Does anybody know why the following algorithm works for finding the longest palindrome in a given string?
Find the Longest Common Subsequence(substring) of the string and its reverse. The result is the Longest Palindrome. | string | algorithm | null | null | null | null | open | UVa_11151(Longest Palindrome)
===
Does anybody know why the following algorithm works for finding the longest palindrome in a given string?
Find the Longest Common Subsequence(substring) of the string and its reverse. The result is the Longest Palindrome. | 0 |
11,137,696 | 06/21/2012 12:01:37 | 1,026,898 | 11/03/2011 02:52:15 | 141 | 3 | I want to send a confirmation email when a user attempts to change their email address within my MVC3 application | . . . but I am not sure of the proper work-flow to make this happen.
I already send a confirmation email to the user's email address when they register - they are marked as 'inactive' until they click a link they receive in their email.
I want my users to be able to change their email when they please, and curren... | asp.net-mvc-3 | email | null | null | null | null | open | I want to send a confirmation email when a user attempts to change their email address within my MVC3 application
===
. . . but I am not sure of the proper work-flow to make this happen.
I already send a confirmation email to the user's email address when they register - they are marked as 'inactive' until they cli... | 0 |
5,935,160 | 05/09/2011 09:46:42 | 1,008,358 | 05/04/2011 11:23:39 | 1 | 0 | How use javascript in web site designed by c# |
**How can I write below java code in my web site which designed by c#
<script type="text/javascript">
txt = "<p>Browser CodeName: " + navigator.appCodeName + "</p>";
txt+= "<p>Browser Name: " + navigator.appName + "</p>";
txt+= "<p>Browser Version: " + navigator.appVersion + "</p>";
txt+= "<p>Cookies En... | asp.net | null | null | null | null | 05/11/2011 06:34:07 | not a real question | How use javascript in web site designed by c#
===
**How can I write below java code in my web site which designed by c#
<script type="text/javascript">
txt = "<p>Browser CodeName: " + navigator.appCodeName + "</p>";
txt+= "<p>Browser Name: " + navigator.appName + "</p>";
txt+= "<p>Browser Version: " + na... | 1 |
10,370,707 | 04/29/2012 08:16:22 | 1,357,907 | 04/26/2012 06:32:10 | 1 | 0 | Comparing to date range with given date in sql server 2008 | I have a table named tblleaveApplication with empid, leaveStarddate, leaveEndDate, leavetype, remarks and so on. Now I want to find the employee who is on leave by leaveStarddate and leaveEndDate by given today's date.
Please help in this regard. | sql-server-2008 | null | null | null | null | 04/29/2012 13:43:45 | not a real question | Comparing to date range with given date in sql server 2008
===
I have a table named tblleaveApplication with empid, leaveStarddate, leaveEndDate, leavetype, remarks and so on. Now I want to find the employee who is on leave by leaveStarddate and leaveEndDate by given today's date.
Please help in this regard. | 1 |
9,910,117 | 03/28/2012 14:53:46 | 1,298,488 | 03/28/2012 14:48:18 | 1 | 0 | Link textboxes to expedia.com search | I am making a site which includes a widget to allow my users to search for hotels and flights on expedia.com. I have reviewed the expedia APIs, and they are beyond the scope of my project - I'm not looking to build a private label search using their apis, I just want to send the origin and destination cities to expedia... | php | javascript | jquery | api | null | 03/29/2012 05:59:54 | not a real question | Link textboxes to expedia.com search
===
I am making a site which includes a widget to allow my users to search for hotels and flights on expedia.com. I have reviewed the expedia APIs, and they are beyond the scope of my project - I'm not looking to build a private label search using their apis, I just want to send th... | 1 |
9,675,381 | 03/12/2012 21:56:19 | 1,202,855 | 02/10/2012 20:01:41 | 1 | 0 | Retrieving YouTube insights via URLs | I'm attempting to retrieve YouTube insights using C#.
I have been able to retrieve video Ids with the code below,
however, I cannot retrieve the insights. I'm hoping that
by using the video ID I can do a Get on the following URL:
https://insight.youtube.com/video-analytics/csvreports?query=VIDEO_ID&type=v&st... | c# | youtube | null | null | null | null | open | Retrieving YouTube insights via URLs
===
I'm attempting to retrieve YouTube insights using C#.
I have been able to retrieve video Ids with the code below,
however, I cannot retrieve the insights. I'm hoping that
by using the video ID I can do a Get on the following URL:
https://insight.youtube.com/video-ana... | 0 |
8,857,706 | 01/13/2012 21:51:34 | 74,865 | 03/06/2009 20:16:16 | 1,263 | 81 | How can you justify html so nicely? | Recently I came across [this site][1], where the text is justified in a very nice way. How can I do it?
![justified text][2]
[1]: http://web.willbenton.com/writing/2008/better-latex
[2]: http://i.stack.imgur.com/cvhWv.png | javascript | html | null | null | null | 01/13/2012 21:57:25 | not a real question | How can you justify html so nicely?
===
Recently I came across [this site][1], where the text is justified in a very nice way. How can I do it?
![justified text][2]
[1]: http://web.willbenton.com/writing/2008/better-latex
[2]: http://i.stack.imgur.com/cvhWv.png | 1 |
8,395,467 | 12/06/2011 04:47:42 | 942,550 | 09/13/2011 12:36:26 | 13 | 1 | Is it possible to add same method to a button click after removing it? | After removing target from button click by this code:
[answer1 removeTarget:self action:@selector(answerSelected:) forControlEvents:UIControlEventTouchUpInside];
can it will be possible to add same method to same button click? | iphone | uibutton | ibaction | null | null | 12/06/2011 10:37:06 | not a real question | Is it possible to add same method to a button click after removing it?
===
After removing target from button click by this code:
[answer1 removeTarget:self action:@selector(answerSelected:) forControlEvents:UIControlEventTouchUpInside];
can it will be possible to add same method to same button click? | 1 |
319,508 | 11/26/2008 01:36:21 | 40,875 | 11/26/2008 01:17:32 | 1 | 0 | TO protect software by accessing harddisk serial no | Want to get the VB.NET or VB codes to access the hard disk serial no when starting the program. It's help me to protect my own software by people who try to pirated copies. | vipula | null | null | null | null | 12/27/2011 20:08:57 | not a real question | TO protect software by accessing harddisk serial no
===
Want to get the VB.NET or VB codes to access the hard disk serial no when starting the program. It's help me to protect my own software by people who try to pirated copies. | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.