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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11,365,018 | 07/06/2012 15:17:41 | 840,688 | 07/12/2011 12:27:57 | 130 | 0 | DevExpress component history or Delphi | I am using the Delphi 5.0 version. I have installed the DevExpress VCL for Delphi components. Build no is 27. After installation there is one older creted Developer Express.VCl. This folder contains 3 different folders 1. dx3 2. dx2005 and 3. dx2006. All these folders contains some pas,project files. I want to use Expr... | delphi | devexpress | null | null | null | 07/27/2012 00:28:44 | not a real question | DevExpress component history or Delphi
===
I am using the Delphi 5.0 version. I have installed the DevExpress VCL for Delphi components. Build no is 27. After installation there is one older creted Developer Express.VCl. This folder contains 3 different folders 1. dx3 2. dx2005 and 3. dx2006. All these folders contain... | 1 |
11,053,491 | 06/15/2012 15:14:56 | 1,230,505 | 02/24/2012 10:14:15 | 1 | 0 | TrippleDES encryption with two keys in Object C | i am new to Object C but need to encrypt a string using Tripple DES with two random keys. Can someone please share a sample code with me. Thanks guys | objective-c | encryption | primary-key | null | null | 06/16/2012 21:05:08 | not a real question | TrippleDES encryption with two keys in Object C
===
i am new to Object C but need to encrypt a string using Tripple DES with two random keys. Can someone please share a sample code with me. Thanks guys | 1 |
9,945,278 | 03/30/2012 14:49:02 | 1,299,145 | 03/28/2012 19:53:02 | 24 | 0 | shifting value in a matrix | i have a 8 * 4 matrix.
{
0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0
}
if i input "10111101", then the process should be like:
{
1,0,0,0,0,0,0,0
1,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0
1,0,0,0,0,0,0,0
}
... | c# | algorithm | matrix | null | null | null | open | shifting value in a matrix
===
i have a 8 * 4 matrix.
{
0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0
}
if i input "10111101", then the process should be like:
{
1,0,0,0,0,0,0,0
1,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0
... | 0 |
11,289,333 | 07/02/2012 07:26:17 | 1,388,658 | 05/11/2012 05:32:57 | 1 | 0 | selenium grid2 generate log for script executed on a remote node | I have a selenium grid2 hub and then attached remote nodes to it.Now I want to run scripts on the node and get the logs of script that is executed on the node to know the test result.Suggest me the ways in which I can do this. | web-services | apache | tomcat | logging | selenium-rc | 07/03/2012 11:51:18 | not a real question | selenium grid2 generate log for script executed on a remote node
===
I have a selenium grid2 hub and then attached remote nodes to it.Now I want to run scripts on the node and get the logs of script that is executed on the node to know the test result.Suggest me the ways in which I can do this. | 1 |
9,972,221 | 04/02/2012 07:13:10 | 1,289,784 | 03/24/2012 10:02:53 | 14 | 0 | How to implement infinite scrolling in table data? | How to implement infinite scrolling in table data by using php and jquery? | jquery | null | null | null | null | 04/02/2012 12:12:20 | not a real question | How to implement infinite scrolling in table data?
===
How to implement infinite scrolling in table data by using php and jquery? | 1 |
2,383,321 | 03/04/2010 22:48:53 | 281,348 | 02/25/2010 15:42:38 | 18 | 5 | Saving User Config data to XML and Relative URI error | Good evening,
I am working on a program where some application config info is stored in a Userconfig.xml file. I am loading the file as an XMLDataProvider in the XAML via relative URI:
<XmlDataProvider x:Name="UserConfigDataSource" x:Key="UserConfigDataSource" Source="UserConfig.xml" d:IsDataSource="True"/>
... | wpf | vb.net | uri | config | null | null | open | Saving User Config data to XML and Relative URI error
===
Good evening,
I am working on a program where some application config info is stored in a Userconfig.xml file. I am loading the file as an XMLDataProvider in the XAML via relative URI:
<XmlDataProvider x:Name="UserConfigDataSource" x:Key="UserConfigD... | 0 |
9,503,402 | 02/29/2012 17:02:26 | 1,240,755 | 02/29/2012 16:44:45 | 1 | 0 | Parsing JSON data in RAILS 3.0.6 received from HTTP POST with content-type application/x-www-form-urlencoded | I am receiving an HTTP POST from a 3rd party with content-type as 'application/x-www-form-urlencoded' in my RAILS 3.0.6 controller
I tried parsing the request both as -
job_status = params['job']['status']
as well as
recd_json = JSON.parse(params)
job_status = recd_json['job']['status']
But in b... | ruby-on-rails | json | http-headers | null | null | null | open | Parsing JSON data in RAILS 3.0.6 received from HTTP POST with content-type application/x-www-form-urlencoded
===
I am receiving an HTTP POST from a 3rd party with content-type as 'application/x-www-form-urlencoded' in my RAILS 3.0.6 controller
I tried parsing the request both as -
job_status = params['job']['s... | 0 |
6,282,124 | 06/08/2011 16:30:23 | 734,801 | 05/02/2011 17:00:18 | 48 | 2 | jqGrid: Reload Data | Here is my code:
$('#ShowName').autocomplete({
delay: 600,
minLength: 0,
source: function (request, response) {
$.ajax({
url: '<%: Url.Content("~/Case/FilterShowName") %>',
data: getData(),
... | jquery | jquery-ui | jqgrid | jqgrid-asp.net | null | null | open | jqGrid: Reload Data
===
Here is my code:
$('#ShowName').autocomplete({
delay: 600,
minLength: 0,
source: function (request, response) {
$.ajax({
url: '<%: Url.Content("~/Case/FilterShowName") %>',
data: getData... | 0 |
7,957,746 | 10/31/2011 18:05:22 | 965,368 | 09/26/2011 15:48:07 | 1 | 0 | Zend Framework fails to upload a .mobileprovision, says it "has a false file extension" | So I'm trying to upload a .mobileprovison to my system. Every-time it uploads the error says, "has a false file extension"
Is it a .htaccess problem, can Zend handle MobileProvision file?
Thanks!
class Application_Form_MobileProvision extends Zend_Form
{
public function init()
{
... | php | zend-framework | file-upload | false | null | 11/22/2011 16:45:17 | too localized | Zend Framework fails to upload a .mobileprovision, says it "has a false file extension"
===
So I'm trying to upload a .mobileprovison to my system. Every-time it uploads the error says, "has a false file extension"
Is it a .htaccess problem, can Zend handle MobileProvision file?
Thanks!
class Application_... | 3 |
7,041,460 | 08/12/2011 14:19:57 | 246,277 | 01/08/2010 09:51:48 | 542 | 29 | VS2010 - publish website, empty folders are ignored | In visual studio 2010, when publishing a website, it seems that empty folders are not being published.
I am quite sure that this behavior were introduced in vs2010. I cant find it documented anywhere, not sure if I should call it a feature or a bug... Anyway, is it possible to revert to the old behavior as I wish t... | visual-studio-2010 | publishing-site | null | null | null | null | open | VS2010 - publish website, empty folders are ignored
===
In visual studio 2010, when publishing a website, it seems that empty folders are not being published.
I am quite sure that this behavior were introduced in vs2010. I cant find it documented anywhere, not sure if I should call it a feature or a bug... Anyway,... | 0 |
8,383,284 | 12/05/2011 09:34:10 | 701,961 | 04/11/2011 10:20:08 | 147 | 12 | subdomain redirection in htaccess | I was wondering if the following scenario is possible using htaccess rules.
I want one subdomain to be redirected to another url.
I have contact the server admin to add the "test" subdomain to "example.com" domain.
The main domain has no other subdomains.
What rule must i put in htaccess to do achieve:
http://te... | .htaccess | subdomain | redirect | null | null | 12/07/2011 13:40:16 | off topic | subdomain redirection in htaccess
===
I was wondering if the following scenario is possible using htaccess rules.
I want one subdomain to be redirected to another url.
I have contact the server admin to add the "test" subdomain to "example.com" domain.
The main domain has no other subdomains.
What rule must i pu... | 2 |
6,288,931 | 06/09/2011 06:32:48 | 631,852 | 02/24/2011 07:15:56 | 11 | 2 | How to implement the vote up and down function like stackoverflow | If you have use stackoverflow for a while. You surely have use the function of vote up and down of the question and answer. I notice stackoverflow use <a> anchor. But I don't know how to post the data to server. I think it's javascript associate with this <a>. But I can't find it. Anybody know how to implement it? Than... | php | javascript | post | stackoverflow | null | 06/09/2011 17:10:08 | not a real question | How to implement the vote up and down function like stackoverflow
===
If you have use stackoverflow for a while. You surely have use the function of vote up and down of the question and answer. I notice stackoverflow use <a> anchor. But I don't know how to post the data to server. I think it's javascript associate wit... | 1 |
94,875 | 09/18/2008 17:47:04 | 145 | 08/02/2008 14:40:17 | 1,071 | 43 | Image Processing, In Python? | I've recently come across a problem which requires at least a basic degree of image processing, can I do this in Python, and if so, with what? | python | image | image-manipulation | image-processing | null | 07/24/2012 19:56:36 | not constructive | Image Processing, In Python?
===
I've recently come across a problem which requires at least a basic degree of image processing, can I do this in Python, and if so, with what? | 4 |
3,908,545 | 10/11/2010 17:29:35 | 472,531 | 10/11/2010 17:24:46 | 1 | 0 | Reading, Comparing and taking input non ASCII charachter(i.e Bangla and other indic script) array in C | Can I work with Begali charachters(non ASCII) in C? | c | non-ascii-chars | null | null | null | 05/22/2012 14:55:24 | not a real question | Reading, Comparing and taking input non ASCII charachter(i.e Bangla and other indic script) array in C
===
Can I work with Begali charachters(non ASCII) in C? | 1 |
8,527,606 | 12/15/2011 22:35:22 | 1,100,894 | 12/15/2011 22:31:47 | 1 | 0 | Batch file to edit a text file and replace text | I need to create a batch file that will open a text file look for a specific text and replace it with another word. Then save the file and rename it to .reg when its done. | batch | search-and-replace | null | null | null | 12/17/2011 00:49:15 | not a real question | Batch file to edit a text file and replace text
===
I need to create a batch file that will open a text file look for a specific text and replace it with another word. Then save the file and rename it to .reg when its done. | 1 |
6,526,071 | 06/29/2011 19:23:32 | 821,790 | 06/29/2011 19:23:32 | 1 | 0 | Cant add if statement php | Hi im posting a textarea value to a page and the value must equal "2011" if it doesnt I want to throw an error.
my input is
<fieldset>
<span class="subtitle">What year is it?</span>
<input type="text" name="aspam" id="aspam"/>
</fieldset>
and my php is
if(!isset($_POST['produg... | php | null | null | null | null | 06/29/2011 19:28:14 | not a real question | Cant add if statement php
===
Hi im posting a textarea value to a page and the value must equal "2011" if it doesnt I want to throw an error.
my input is
<fieldset>
<span class="subtitle">What year is it?</span>
<input type="text" name="aspam" id="aspam"/>
</fieldset>
and my php is
... | 1 |
6,025,963 | 05/17/2011 03:34:05 | 584,020 | 01/21/2011 05:52:28 | 11 | 0 | Can anyone please let me know how semaphores are implemented in operating systems | Can anyone please let me know how semaphores are implemented in operating systems.
I want to implement the same kind of calls.
Thanks in advance. | operating-system | null | null | null | null | 05/18/2011 12:15:54 | not a real question | Can anyone please let me know how semaphores are implemented in operating systems
===
Can anyone please let me know how semaphores are implemented in operating systems.
I want to implement the same kind of calls.
Thanks in advance. | 1 |
3,312,226 | 07/22/2010 18:42:19 | 163,728 | 08/26/2009 18:34:20 | 25 | 0 | C#, opening a single file (read only) with millions of other files in the same directory seems to consume way to much memory | I have a Windows service that is retrieving a few selected files from a directory that contains millions of other files. The service runs out of memory every hour or so. This never happened when there were a few thousand, so it feels like some resource is not being properly disposed of. But to my eyes the stream is ... | c# | .net | c#3.0 | null | null | null | open | C#, opening a single file (read only) with millions of other files in the same directory seems to consume way to much memory
===
I have a Windows service that is retrieving a few selected files from a directory that contains millions of other files. The service runs out of memory every hour or so. This never happene... | 0 |
5,788,541 | 04/26/2011 09:42:30 | 553,801 | 12/25/2010 11:45:09 | 54 | 8 | Does document reload every time DOM changes via Javascript? | I kind of have a newbie question. I've done some testing, but I didn't get anything solid, so does the whole document reload when DOM is updated?
Thanks! <3 | javascript | dom | null | null | null | null | open | Does document reload every time DOM changes via Javascript?
===
I kind of have a newbie question. I've done some testing, but I didn't get anything solid, so does the whole document reload when DOM is updated?
Thanks! <3 | 0 |
10,867,182 | 06/03/2012 01:13:38 | 1,433,048 | 06/03/2012 01:04:37 | 1 | 0 | How can I put a complicated php code inside of another php code? | I need to be able to put part of a site i had built previously into another site im making now. However, both are in php and there are issues with the syntax (ie too many subsets of " and '). How can I put this code:
if(mysql_num_rows($result) == 0)
{
echo 'No categories defined yet.';
... | php | mysql | syntax | null | null | 06/03/2012 10:44:48 | too localized | How can I put a complicated php code inside of another php code?
===
I need to be able to put part of a site i had built previously into another site im making now. However, both are in php and there are issues with the syntax (ie too many subsets of " and '). How can I put this code:
if(mysql_num_rows($re... | 3 |
8,998,545 | 01/25/2012 06:05:03 | 787,250 | 06/07/2011 10:13:57 | 124 | 15 | Notifications from SQLServer to Java | I want to implement notifications in java springs. How to get the notifications to java on change in database/table? Database is SQLServer 2008. | java | database | sql-server-2008 | spring | notifications | null | open | Notifications from SQLServer to Java
===
I want to implement notifications in java springs. How to get the notifications to java on change in database/table? Database is SQLServer 2008. | 0 |
3,221,605 | 07/11/2010 02:19:53 | 112,355 | 05/26/2009 03:58:14 | 2,577 | 32 | If I give full, 100% attribution to source code, is it still stealing? | For example, say that I want to make a program that solves linear equations.
Say I find an open source program that does this and I decide to read it, study it, and generally tweak it to my liking and keeping around 70% of the code.
If I give 100% undisputed attribution to the original author both in source code... | open-source | legal | attribution | null | null | 07/11/2010 06:36:35 | off topic | If I give full, 100% attribution to source code, is it still stealing?
===
For example, say that I want to make a program that solves linear equations.
Say I find an open source program that does this and I decide to read it, study it, and generally tweak it to my liking and keeping around 70% of the code.
If I... | 2 |
6,420,051 | 06/21/2011 03:31:35 | 301,218 | 03/24/2010 21:14:20 | 99 | 1 | Why QueryperformanceCounter timed different from wall clock? | Hi I am using QueryperformanceCounter to time a block of code in Delphi. For some reason, the
Millisecond number I got by using QueryPerformanceCounter is quite different from my wall clock time by using a stopwatch. For example The stopwatch give me about 33 seconds, which seems right if not accuracy, but using Quer... | delphi | queryperformancecounter | null | null | null | null | open | Why QueryperformanceCounter timed different from wall clock?
===
Hi I am using QueryperformanceCounter to time a block of code in Delphi. For some reason, the
Millisecond number I got by using QueryPerformanceCounter is quite different from my wall clock time by using a stopwatch. For example The stopwatch give me a... | 0 |
5,808,252 | 04/27/2011 17:42:26 | 450,741 | 09/17/2010 15:36:05 | 203 | 4 | decompilation resources and theory | There must be a million of books and papers on the theory and techniques of building compilers. Are there any resources on doing the reverse? Im not interested in any particular HW platform. Looking for good books/research papers that examine the subject and difficulties in depth. | decompiler | null | null | null | null | null | open | decompilation resources and theory
===
There must be a million of books and papers on the theory and techniques of building compilers. Are there any resources on doing the reverse? Im not interested in any particular HW platform. Looking for good books/research papers that examine the subject and difficulties in depth... | 0 |
5,776,618 | 04/25/2011 08:30:04 | 508,127 | 11/15/2010 10:28:18 | 901 | 3 | what is Dynamic Linq query | i never work with DLINQ so i dont know the use of DLINQ. so can anyone show the situation where DLINQ is required and also show me the various use of DLINQ. | linq | null | null | null | null | 04/25/2011 10:35:50 | not a real question | what is Dynamic Linq query
===
i never work with DLINQ so i dont know the use of DLINQ. so can anyone show the situation where DLINQ is required and also show me the various use of DLINQ. | 1 |
1,879,136 | 12/10/2009 06:58:53 | 56,621 | 01/19/2009 09:48:29 | 33 | 1 | Forms Authentication and POST request | We have an ASP.NET app protected by forms authentication. The app uses MS AJAX heavily to call its web-services.
When the forms authentication times out, and a **GET**-request happens - all is fine (the user is redirected to a login page).
**BUT** when the forms authentication times out and a **POST**-request hap... | asp.net | forms-authentication | null | null | null | null | open | Forms Authentication and POST request
===
We have an ASP.NET app protected by forms authentication. The app uses MS AJAX heavily to call its web-services.
When the forms authentication times out, and a **GET**-request happens - all is fine (the user is redirected to a login page).
**BUT** when the forms authenti... | 0 |
6,598,353 | 07/06/2011 14:47:49 | 756,871 | 05/17/2011 06:58:32 | 1 | 0 | How to get the position of character at onTouch in editext | i want to get the Position of the character at the time of touch on the editext box in my application with the help of the coordinates of Ontouch. How should this be possible .
Please help me
Thanks in advance | android | null | null | null | null | null | open | How to get the position of character at onTouch in editext
===
i want to get the Position of the character at the time of touch on the editext box in my application with the help of the coordinates of Ontouch. How should this be possible .
Please help me
Thanks in advance | 0 |
8,625,136 | 12/24/2011 14:37:37 | 1,114,646 | 12/24/2011 14:35:40 | 1 | 0 | vmware ESXi 5.0 snapshot backup failed “500 internal server error” | I'm trying to backup virtual machine on ESXi 5.0 using Trilead Vm Explorer 3.7 but I'm getting 500 internal server error:
1) Snapshot is created.
2) Files download started. Some files have been downloaded, but when -flat.vmdk file download starts, after 3-4 minutes download interrupted with "500 internal server e... | backup | vmware | null | null | null | 12/24/2011 21:30:27 | off topic | vmware ESXi 5.0 snapshot backup failed “500 internal server error”
===
I'm trying to backup virtual machine on ESXi 5.0 using Trilead Vm Explorer 3.7 but I'm getting 500 internal server error:
1) Snapshot is created.
2) Files download started. Some files have been downloaded, but when -flat.vmdk file download st... | 2 |
9,171,909 | 02/07/2012 06:26:21 | 581,477 | 01/19/2011 13:12:16 | 58 | 3 | Datepicker issue while adding textboxes dynamically | In my project, I have a textbox for meetingdate, i have given id = meetingdate1 to this textbox. if one want to add more meetings date then there is button for that. After clicking this button, new textbox added below to previous textbox, say meetingdate2, meetingdate3 and so on... Now I want to add datepicker textbox ... | jquery | jquery-ui | datepicker | null | null | null | open | Datepicker issue while adding textboxes dynamically
===
In my project, I have a textbox for meetingdate, i have given id = meetingdate1 to this textbox. if one want to add more meetings date then there is button for that. After clicking this button, new textbox added below to previous textbox, say meetingdate2, meetin... | 0 |
1,353,215 | 08/30/2009 06:16:34 | 162,393 | 08/25/2009 01:38:42 | 3 | 1 | javascript appendChild is causing document write? favelet | The following favelet in IE is causing something similar to a document.write which is displaying [object]?
I am attempting to dynamically add a frame to get javascript variables from another page to autopopulate a form. I cannot edit the source this must execute from a favorite or bookmark.
javascript:
... | document.write | appendchild | bookmarklet | frameset | null | null | open | javascript appendChild is causing document write? favelet
===
The following favelet in IE is causing something similar to a document.write which is displaying [object]?
I am attempting to dynamically add a frame to get javascript variables from another page to autopopulate a form. I cannot edit the source this mus... | 0 |
10,819,755 | 05/30/2012 15:48:14 | 1,396,465 | 05/15/2012 14:45:13 | 105 | 15 | Yum installation directory | So I want to install a package using yum. The repo is not a default, and so I'm going to use rpm to install this repo. Following that, I'd like to install this package in a specific folder. Very similar to the prefix option in configure. Is that possible?
Any help would be greatly appreciated. | linux | yum | null | null | null | 05/31/2012 13:52:26 | off topic | Yum installation directory
===
So I want to install a package using yum. The repo is not a default, and so I'm going to use rpm to install this repo. Following that, I'd like to install this package in a specific folder. Very similar to the prefix option in configure. Is that possible?
Any help would be greatly app... | 2 |
4,989,101 | 02/14/2011 05:28:10 | 615,728 | 02/14/2011 05:00:46 | 1 | 0 | Hi, I could really use some help...on C++ factory pattern | //////////MY FIRST CLASS GUITAR///////////////
class Guitar {
private: std::string _name;
protected: mutable std::auto_ptr< HeadStock > _HeadStock;
protected: mutable std::auto_ptr< NeckStrap > _NeckStrap;
protected: mutable std::vector< Bridge* > _Bridge;
protected: mutable std::auto_ptr< St... | c++ | design-patterns | factory-pattern | null | null | 02/14/2011 07:00:17 | not a real question | Hi, I could really use some help...on C++ factory pattern
===
//////////MY FIRST CLASS GUITAR///////////////
class Guitar {
private: std::string _name;
protected: mutable std::auto_ptr< HeadStock > _HeadStock;
protected: mutable std::auto_ptr< NeckStrap > _NeckStrap;
protected: mutable std::ve... | 1 |
7,464,556 | 09/18/2011 21:20:43 | 11,470 | 09/16/2008 08:16:25 | 187 | 9 | Using Django Admin Tables in user views? | Is it possibe to use the sortable, searchable tables that admin users get from a non-admin/staff view?
I'd like to be able to make use of it to display data to users without having to install a 3rd party app like django_tables2, dont repeat yourself and all that ... | django | django-admin | null | null | null | null | open | Using Django Admin Tables in user views?
===
Is it possibe to use the sortable, searchable tables that admin users get from a non-admin/staff view?
I'd like to be able to make use of it to display data to users without having to install a 3rd party app like django_tables2, dont repeat yourself and all that ... | 0 |
9,756,392 | 03/18/2012 06:02:03 | 135,322 | 07/08/2009 23:25:58 | 74 | 1 | Python Regex to match YAML Front Matter | I'm having trouble crafting a regex to match YAML Front Matter
This is the front matter I was trying to match:
---
name: me
title: test
cpu: 1
---
This is what I thought would work:
re.search( r'^(---)(.*)(---)$', content, re.MULTILINE)
Any ... | python | regex | null | null | null | null | open | Python Regex to match YAML Front Matter
===
I'm having trouble crafting a regex to match YAML Front Matter
This is the front matter I was trying to match:
---
name: me
title: test
cpu: 1
---
This is what I thought would work:
re.search( r'^(---)(.... | 0 |
2,834,869 | 05/14/2010 14:25:35 | 197,241 | 10/27/2009 11:00:29 | 159 | 0 | help with this query.. | $test2=mysql_query("SELECT min(substr(status,1) FROM railways");
while($test_array1=mysql_fetch_array($test2)){
echo "<pre>";
print_r($test_array1);
echo "</pre>";
}
what is the correct form of this query...need to get the min value from the table itself.. | mysql | null | null | null | null | null | open | help with this query..
===
$test2=mysql_query("SELECT min(substr(status,1) FROM railways");
while($test_array1=mysql_fetch_array($test2)){
echo "<pre>";
print_r($test_array1);
echo "</pre>";
}
what is the correct form of this query...need to get the min value from the table itself.. | 0 |
11,180,923 | 06/24/2012 20:21:10 | 862,806 | 07/26/2011 05:33:20 | 25 | 0 | Looking for how to develop this idea | I'm going to be developing a game which will be simulating an environment of people interacting with each other and the goal of the game will be to become to rise to the top by doing activities, buying weapons, items, etc.. There will be a lot of names for the items and simulated people, and i was wondering how i could... | java | null | null | null | null | 06/24/2012 20:32:15 | not a real question | Looking for how to develop this idea
===
I'm going to be developing a game which will be simulating an environment of people interacting with each other and the goal of the game will be to become to rise to the top by doing activities, buying weapons, items, etc.. There will be a lot of names for the items and simulat... | 1 |
6,710,044 | 07/15/2011 16:14:30 | 277,286 | 02/19/2010 20:18:10 | 8 | 0 | My wordpress site doesn't render correctly on larger monitors. | I've been working on [this site][1] for the last couple of days. Everything was going perfectly well on my 13" laptop - and even on the 17" PC laptop I checked it on. However, the magazine owners looked at it on a 21" screen earlier today and apparently it looks radically different. I just checked it on a monitor in a... | wordpress | wordpress-theming | null | null | null | null | open | My wordpress site doesn't render correctly on larger monitors.
===
I've been working on [this site][1] for the last couple of days. Everything was going perfectly well on my 13" laptop - and even on the 17" PC laptop I checked it on. However, the magazine owners looked at it on a 21" screen earlier today and apparent... | 0 |
2,503,376 | 03/23/2010 20:31:53 | 108,007 | 05/15/2009 23:45:00 | 1,119 | 39 | Help with C puzzle | I found <a href="http://www.gowrikumar.com/c/index.html">a site</a> with some complicated C puzzles. Right now I'm dealing with this:
>The following is a piece of C code, whose intention was to print a minus sign 20 times. But you can notice that, it doesn't work.
#include <stdio.h>
int main()
{... | c | puzzle | null | null | null | 01/02/2012 03:37:11 | not constructive | Help with C puzzle
===
I found <a href="http://www.gowrikumar.com/c/index.html">a site</a> with some complicated C puzzles. Right now I'm dealing with this:
>The following is a piece of C code, whose intention was to print a minus sign 20 times. But you can notice that, it doesn't work.
#include <stdio.h... | 4 |
7,355,828 | 09/08/2011 23:57:32 | 877,593 | 08/03/2011 23:14:28 | 21 | 0 | Codeigniter or Wordpress? | Yes, I am aware one is a framework and the other a CMS.
However, I am a one man team that develops projects/websites for myself and I have a limited amount of time to get these projects off the ground, so speed is crucial.
Basically I am looking for the easiest and fastest method for creating web apps without bei... | wordpress | codeigniter | null | null | null | 09/12/2011 03:54:08 | off topic | Codeigniter or Wordpress?
===
Yes, I am aware one is a framework and the other a CMS.
However, I am a one man team that develops projects/websites for myself and I have a limited amount of time to get these projects off the ground, so speed is crucial.
Basically I am looking for the easiest and fastest method fo... | 2 |
7,861,271 | 10/22/2011 17:19:13 | 699,944 | 04/09/2011 12:38:57 | 39 | 2 | how to hide table header, and keep it hidden after insert/delete | I found out, that UITableView modify contentSize property and I can't set it by myself.
![Stack Trace][1]
[1]: http://i.stack.imgur.com/blOOU.png
This is my call stack. After this call contentSize is modified. I don't wan't it, because of that I want to hide header, so I need to scroll view a little bit d... | ios | uitableview | core-data | uiscrollview | null | null | open | how to hide table header, and keep it hidden after insert/delete
===
I found out, that UITableView modify contentSize property and I can't set it by myself.
![Stack Trace][1]
[1]: http://i.stack.imgur.com/blOOU.png
This is my call stack. After this call contentSize is modified. I don't wan't it, because ... | 0 |
5,044,392 | 02/18/2011 17:17:50 | 623,431 | 02/18/2011 16:06:05 | 1 | 0 | shell programming | tell me the shell program to print home directory of each user .user details are stored in /etc/passwd | unix | null | null | null | null | 02/18/2011 17:21:34 | not a real question | shell programming
===
tell me the shell program to print home directory of each user .user details are stored in /etc/passwd | 1 |
2,470,739 | 03/18/2010 14:54:03 | 109,104 | 05/19/2009 01:18:13 | 98 | 0 | Easiest/Best Way to Learn the x86 Instruction Set? | I would like to learn the x86 Instruction Set Architecture. I don't meaning learning an assembly for x86. I want to understand the machine code baby.
The reason is that I would like to write an assembler for x86. Then I want to write a compiler that compiles to that assembly.
I know that there are the <a href="ht... | 80x86 | x86 | null | null | null | 04/20/2012 11:10:36 | not constructive | Easiest/Best Way to Learn the x86 Instruction Set?
===
I would like to learn the x86 Instruction Set Architecture. I don't meaning learning an assembly for x86. I want to understand the machine code baby.
The reason is that I would like to write an assembler for x86. Then I want to write a compiler that compiles to... | 4 |
5,881,028 | 05/04/2011 09:03:44 | 168,179 | 09/03/2009 21:38:06 | 631 | 32 | What is the default JsonConverter used in JSON.NET? | I'm trying to write a custom JsonConverter for cases where a person subclasses a list or collection, but then adds extra properties to the subclass (see <a href="http://stackoverflow.com/q/5863496/168179">**here**</a>). The current implementation of JSON.NET just changes the list into an array of child objects and ign... | source-code | json.net | base-class | default-implementation | null | null | open | What is the default JsonConverter used in JSON.NET?
===
I'm trying to write a custom JsonConverter for cases where a person subclasses a list or collection, but then adds extra properties to the subclass (see <a href="http://stackoverflow.com/q/5863496/168179">**here**</a>). The current implementation of JSON.NET jus... | 0 |
10,368,937 | 04/29/2012 01:17:59 | 753,603 | 05/14/2011 12:33:29 | 2,871 | 100 | Open source code licensing guidance | What is the difference between,
- MIT licence
- GPLv2
- GNU licence
As I tried to read those licensing agreements but I could not understand those legal obligations. I wanted know wether I can use a plugin which licence their source code under GPLv2 licence. I am developing a website for a client and he migh... | jquery | plugins | open-source | licensing | gpl | 04/29/2012 08:41:27 | off topic | Open source code licensing guidance
===
What is the difference between,
- MIT licence
- GPLv2
- GNU licence
As I tried to read those licensing agreements but I could not understand those legal obligations. I wanted know wether I can use a plugin which licence their source code under GPLv2 licence. I am deve... | 2 |
8,461,438 | 12/11/2011 02:08:50 | 755,548 | 05/16/2011 11:31:16 | 13 | 0 | Print list of binary permutations | What I am trying to do is print all the possibilities of a binary number. In other words:
0001
0010
0100
1000
..etc
To be honest, I have no idea of where to even start with this (other than I figure I'd need to use a loop, and probably an array) so any pointers in the right direction wou... | java | algorithm | null | null | null | null | open | Print list of binary permutations
===
What I am trying to do is print all the possibilities of a binary number. In other words:
0001
0010
0100
1000
..etc
To be honest, I have no idea of where to even start with this (other than I figure I'd need to use a loop, and probably an array) so ... | 0 |
2,243,674 | 02/11/2010 10:09:47 | 55,366 | 11/12/2008 20:15:20 | 101 | 6 | Simulate a device driver crash in linux. Have python reload it. | I have a web camera running in Linux using the uvcvideo module. And I'm using a python application to access the web camera and display the image.
I want the python program to handle it if the web camera for some reason don't work anymore. Have tested with just unloading the module. Works fine if i just unload the m... | python | linux | null | null | null | null | open | Simulate a device driver crash in linux. Have python reload it.
===
I have a web camera running in Linux using the uvcvideo module. And I'm using a python application to access the web camera and display the image.
I want the python program to handle it if the web camera for some reason don't work anymore. Have tes... | 0 |
8,406,061 | 12/06/2011 20:03:20 | 252,000 | 01/16/2010 02:41:04 | 34,194 | 652 | looking for a tutorial on representation of numbers | I remember reading a tutorial a couple of years ago where concepts like twos complement and floating point numbers were explained with lots of drawings, involving cute animals. I think it was a diploma thesis or something at some University, but I simply cannot find it anymore. I'd be glad for a link. Thanks! | numbers | floating-point | university | representation | twos-complement | 12/10/2011 02:32:38 | not constructive | looking for a tutorial on representation of numbers
===
I remember reading a tutorial a couple of years ago where concepts like twos complement and floating point numbers were explained with lots of drawings, involving cute animals. I think it was a diploma thesis or something at some University, but I simply cannot f... | 4 |
4,060,179 | 10/30/2010 18:55:54 | 492,334 | 10/30/2010 18:55:54 | 1 | 0 | some IE6 versions crashes WHEN people visit MY SITE | My website is html/css website. i did not use tables at all.
There is a version of IE6 that crashes when someone visit my site.,
could any one help me?
address:
http://www.alarab.net
Thanks | css | ie6-bug | null | null | null | 10/31/2010 18:42:22 | too localized | some IE6 versions crashes WHEN people visit MY SITE
===
My website is html/css website. i did not use tables at all.
There is a version of IE6 that crashes when someone visit my site.,
could any one help me?
address:
http://www.alarab.net
Thanks | 3 |
1,748,501 | 11/17/2009 12:21:43 | 168,047 | 09/03/2009 17:47:55 | 13 | 0 | a basic javascript class and instance using jquery "$(this)" for XML parser | I am (slowly) writing an XML parser for some "site definition" files that will drive a website. Many of the elements will be parsed in the same manner and I won't necessarily need to keep the values for each.
[The XML][1]
[The parser so far][2]
My question is actually pretty simple: How can I use jquery manipu... | jquery | javascript | this | xml-parsing | class | null | open | a basic javascript class and instance using jquery "$(this)" for XML parser
===
I am (slowly) writing an XML parser for some "site definition" files that will drive a website. Many of the elements will be parsed in the same manner and I won't necessarily need to keep the values for each.
[The XML][1]
[The parser... | 0 |
917,140 | 05/27/2009 17:55:47 | 100,988 | 05/04/2009 16:32:39 | 199 | 21 | Log every time an exception is handled | I have noticed a discrepancy in views on logging and wanted to provide a poll on this issue to the SO community. C.f. a [similar question][1] but not as a poll.
Poll: Should exception handlers **ALWAYS** write to the log any time an exception is caught and handled?
Please provide your rationale as a comment u... | polls | exception | language-agnostic | null | null | 05/08/2012 12:53:42 | not constructive | Log every time an exception is handled
===
I have noticed a discrepancy in views on logging and wanted to provide a poll on this issue to the SO community. C.f. a [similar question][1] but not as a poll.
Poll: Should exception handlers **ALWAYS** write to the log any time an exception is caught and handled?
... | 4 |
11,437,883 | 07/11/2012 17:13:16 | 1,336,218 | 04/16/2012 11:48:40 | 35 | 1 | Complete status Form C# | I made a form that looks like this:
![form][1]
i need to put a "complete status" in this form. So when the process is done and i get the result, it shows in this form the status "complete" so i know that it's done.
Can someone help me how to do that?
The code for my form is the following:
public par... | c# | forms | complete | null | null | 07/12/2012 17:21:11 | too localized | Complete status Form C#
===
I made a form that looks like this:
![form][1]
i need to put a "complete status" in this form. So when the process is done and i get the result, it shows in this form the status "complete" so i know that it's done.
Can someone help me how to do that?
The code for my form is the follo... | 3 |
10,332,639 | 04/26/2012 11:39:13 | 363,789 | 06/10/2010 18:07:50 | 397 | 8 | iOS tests succeeding, but not running | I have a couple of SenTestCase subclasses in by test target, with STFail macros in the test methods.
When I run my tests, I get a spinner saying they are running, and that they succeeded, but they obviously have not run (or they would have failed).
My test scheme config LOOKS good, with each of my test showing up... | ios | unit-testing | sentestingkit | null | null | null | open | iOS tests succeeding, but not running
===
I have a couple of SenTestCase subclasses in by test target, with STFail macros in the test methods.
When I run my tests, I get a spinner saying they are running, and that they succeeded, but they obviously have not run (or they would have failed).
My test scheme config ... | 0 |
7,200,306 | 08/26/2011 05:21:44 | 913,395 | 08/26/2011 05:21:44 | 1 | 0 | need to remove javasript from menu bar of a jommla site | I am new to joomla,one of my client is asking to remove javascript from menu bar.The site is running in joomla.would you please guide me how to do this.many thanks in advance. | joomla | null | null | null | null | 08/26/2011 19:51:53 | not a real question | need to remove javasript from menu bar of a jommla site
===
I am new to joomla,one of my client is asking to remove javascript from menu bar.The site is running in joomla.would you please guide me how to do this.many thanks in advance. | 1 |
10,123,700 | 04/12/2012 12:35:35 | 1,329,023 | 04/12/2012 11:57:47 | 1 | 0 | How to Make a Picture rotate Continuously? | ) I have a star image in top-left of my screen want to rotate continuously. so can anyone tell me How can we make a Picture rotate Continuously for browsers Mozilla Firefox, Google chrome!?
[Css Position type is 'Absolutely' and image resolution:25*25 ] | javascript | jquery | html | css | null | 04/12/2012 18:55:43 | not a real question | How to Make a Picture rotate Continuously?
===
) I have a star image in top-left of my screen want to rotate continuously. so can anyone tell me How can we make a Picture rotate Continuously for browsers Mozilla Firefox, Google chrome!?
[Css Position type is 'Absolutely' and image resolution:25*25 ] | 1 |
400,802 | 12/30/2008 16:48:16 | 50,216 | 12/30/2008 16:01:25 | 4 | 0 | How to fetch HTML in C/C++ | How to fetch HTML in C or C++? with Sockets. Can you give me a Example code pls? | cc++ | null | null | null | null | 04/14/2012 02:46:24 | not a real question | How to fetch HTML in C/C++
===
How to fetch HTML in C or C++? with Sockets. Can you give me a Example code pls? | 1 |
5,835,898 | 04/29/2011 18:31:00 | 285,109 | 12/31/2009 19:13:01 | 188 | 0 | How to use Eclipse for capturing the structure of a java software. | I am trying to learn an open source software developed using Java. The software itself is complicated, consisting of multiple packages. I would like to know how to understand the inter-relationships or dependences of these packages under Eclipse developement environment. Thanks. | java | eclipse | null | null | null | null | open | How to use Eclipse for capturing the structure of a java software.
===
I am trying to learn an open source software developed using Java. The software itself is complicated, consisting of multiple packages. I would like to know how to understand the inter-relationships or dependences of these packages under Eclipse de... | 0 |
10,261,963 | 04/21/2012 18:54:38 | 1,204,317 | 02/11/2012 20:55:40 | 4 | 0 | multiple classes, same public interface | ok, after last night I've decided to rephrase my question for easier reading.
I have 2 classes, Army and Battle groups. heres the classes below, albeit with some parts missing:
class Battlegroups
{
private: battlegroup battlegroupobject[100];
public:
void AddBattleGroup(... | c++ | oop | encapsulation | null | null | null | open | multiple classes, same public interface
===
ok, after last night I've decided to rephrase my question for easier reading.
I have 2 classes, Army and Battle groups. heres the classes below, albeit with some parts missing:
class Battlegroups
{
private: battlegroup battlegroupobject[100];
... | 0 |
5,725,829 | 04/20/2011 05:18:22 | 708,354 | 04/13/2011 23:32:59 | 1 | 0 | OOP in Python!! My First assignment in Python | I have no clue how OOP works in Python. I tried to get ideas from online tutorials but I couldn't understand clearly and my due for this assignment is tom morning :(
I would really appreciate if you guys could help me in solving this!!!
quest 1:
Write a class named Car that has the following data attributes:
• __... | python | null | null | null | null | 04/20/2011 05:48:56 | not a real question | OOP in Python!! My First assignment in Python
===
I have no clue how OOP works in Python. I tried to get ideas from online tutorials but I couldn't understand clearly and my due for this assignment is tom morning :(
I would really appreciate if you guys could help me in solving this!!!
quest 1:
Write a class name... | 1 |
7,400,416 | 09/13/2011 10:32:46 | 912,432 | 08/25/2011 15:18:39 | 21 | 0 | How to increase cassandra write performance using hadoop map reduce? | I am uploading data to Cassandra-0.7.8 using hadoop map/reduce program. To upload 9G of data to cluster of 3 nodes with RF=3 is taking 3.15 hrs.
Bleow are my mapper class code that uploads record. Kindly put across your suggestion to make it faster.( Also I am experimenting bulk uploader )
Is there any parameter can ... | cassandra | null | null | null | null | null | open | How to increase cassandra write performance using hadoop map reduce?
===
I am uploading data to Cassandra-0.7.8 using hadoop map/reduce program. To upload 9G of data to cluster of 3 nodes with RF=3 is taking 3.15 hrs.
Bleow are my mapper class code that uploads record. Kindly put across your suggestion to make it fas... | 0 |
5,502,884 | 03/31/2011 16:08:52 | 686,104 | 03/31/2011 16:01:44 | 1 | 0 | Help Using UITableView for High Score Page | I am making a simple gaming app, implementing a tab bar controller. The second tab, or high score page is what I am having problems with. I am able to populate the UITableView with an initial array of objects, however I can't seem to add new cells. Now I read about User entered cells, but how exactly would I extract th... | iphone | uitableview | uitabbarcontroller | null | null | null | open | Help Using UITableView for High Score Page
===
I am making a simple gaming app, implementing a tab bar controller. The second tab, or high score page is what I am having problems with. I am able to populate the UITableView with an initial array of objects, however I can't seem to add new cells. Now I read about User e... | 0 |
6,558,555 | 07/02/2011 17:35:53 | 826,254 | 07/02/2011 17:21:52 | 1 | 0 | Asp.NET publishing problem - PLEASE HELP!!!!!!!!!!!! | My problems started after i finished my web application project,<br/>
I want to upload my website to sub folder (http://site.com/project/)<br/>
<br/>
asp.net page.resolveUrl("~") is converted to / not /project/<br/>
that i solved it with alternate function.<br/>
<br/>
Theme folder = /App_Themes/ instead of /proje... | asp.net | iis7 | null | null | null | 07/02/2011 22:39:37 | not a real question | Asp.NET publishing problem - PLEASE HELP!!!!!!!!!!!!
===
My problems started after i finished my web application project,<br/>
I want to upload my website to sub folder (http://site.com/project/)<br/>
<br/>
asp.net page.resolveUrl("~") is converted to / not /project/<br/>
that i solved it with alternate function.<... | 1 |
3,936,554 | 10/14/2010 18:55:44 | 127,880 | 06/23/2009 22:01:04 | 1,277 | 36 | HTML - What is the correct way to do the following layout? | Diagram A can be accomplished by having a valign="top" and align="right" on the parent TD. The red rectangle is a div with style="float:right". This works on most browsers, but not IE. IE will put a linebreak before the div. The Text is not surrounded in any tag. It is the first thing in the TD.
The problem with the... | html | null | null | null | null | null | open | HTML - What is the correct way to do the following layout?
===
Diagram A can be accomplished by having a valign="top" and align="right" on the parent TD. The red rectangle is a div with style="float:right". This works on most browsers, but not IE. IE will put a linebreak before the div. The Text is not surrounded in a... | 0 |
10,740,279 | 05/24/2012 15:11:25 | 1,291,078 | 03/25/2012 09:34:54 | 22 | 0 | I can't see data from database (supplied argument is not a valid) | I can't understand why i get supplied argument is not a valid?
My codes belove
dbconnect.class.php http://ideone.com/AILC9
getdata.class.php http://ideone.com/wIbL3
header.class.php http://ideone.com/OQSg9
index.php
http://ideone.com/Zp6sF
When I run index.php I can get this codes:
<html>
... | php | mysql | null | null | null | 05/24/2012 22:49:23 | not a real question | I can't see data from database (supplied argument is not a valid)
===
I can't understand why i get supplied argument is not a valid?
My codes belove
dbconnect.class.php http://ideone.com/AILC9
getdata.class.php http://ideone.com/wIbL3
header.class.php http://ideone.com/OQSg9
index.php
http://ideone.com... | 1 |
5,625,739 | 04/11/2011 18:28:58 | 603,200 | 02/04/2011 13:19:17 | 81 | 8 | Java - Rich logging in web services | I have a simple web service like this:
@WebService
public class MyWebService
{
@WebMethod
public String ProcessQuery(@WebParam(name="query") String q)
{
// Logging here: User IP, etc.
}
public static void main(String[] args) throws Exception
... | java | logging | log4j | null | null | null | open | Java - Rich logging in web services
===
I have a simple web service like this:
@WebService
public class MyWebService
{
@WebMethod
public String ProcessQuery(@WebParam(name="query") String q)
{
// Logging here: User IP, etc.
}
public static void ma... | 0 |
5,255,735 | 03/10/2011 05:11:56 | 462,951 | 06/02/2010 11:32:08 | 92 | 0 | how to install simpleSAMLphp in wamp | I have read installation documentation of simpleSAMLphp but still confused | php | wamp | wampserver | saml | null | 03/10/2011 14:50:42 | not a real question | how to install simpleSAMLphp in wamp
===
I have read installation documentation of simpleSAMLphp but still confused | 1 |
6,845,964 | 07/27/2011 14:18:48 | 823,313 | 06/30/2011 15:09:48 | 1 | 0 | what is htmlx and pdfx | I am trying to convert word document into html and pdf
Sometimes my code converts them into html and pdf but sometimes I get the htmlx and pdfx and I have NO idea whatsoever!
| html | pdf | microsoft | null | null | 07/27/2011 14:24:13 | not a real question | what is htmlx and pdfx
===
I am trying to convert word document into html and pdf
Sometimes my code converts them into html and pdf but sometimes I get the htmlx and pdfx and I have NO idea whatsoever!
| 1 |
7,412,419 | 09/14/2011 06:57:41 | 763,394 | 05/20/2011 20:46:32 | 1 | 1 | Amazon Ec2 Cluster Computing is too expensive? | Im working on a HPC program. and i decide to rent the Cluster Computing of EC2.
but the cost of reserved system is too much:
> 1 yr 3 yr Linux Usage
> Extra Large $5630 $8650 $0.74 per hour
how much the price of full HP server by this specification?
> 23 GB of memory
> 33.... | amazon-ec2 | cluster-computing | null | null | null | 09/14/2011 11:05:56 | off topic | Amazon Ec2 Cluster Computing is too expensive?
===
Im working on a HPC program. and i decide to rent the Cluster Computing of EC2.
but the cost of reserved system is too much:
> 1 yr 3 yr Linux Usage
> Extra Large $5630 $8650 $0.74 per hour
how much the price of full HP serve... | 2 |
11,450,746 | 07/12/2012 11:21:46 | 1,478,133 | 06/24/2012 13:36:46 | 17 | 0 | download image from web service in blackberry | I am trying to download and show an image from my webservice but I get the error:
net.rim.device.cldc.io.ssl.TLSIOException(net.rim.device.cldc.io.ssl.TLSException(net.rim.device.api.io.ConnectionClosedException: Not connected))
This is my code to get the image:
public Bitmap getBitmapFromUrl(String url)
... | blackberry | imagedownload | null | null | null | null | open | download image from web service in blackberry
===
I am trying to download and show an image from my webservice but I get the error:
net.rim.device.cldc.io.ssl.TLSIOException(net.rim.device.cldc.io.ssl.TLSException(net.rim.device.api.io.ConnectionClosedException: Not connected))
This is my code to get the image:
... | 0 |
10,828,848 | 05/31/2012 07:01:28 | 358,037 | 06/04/2010 01:07:22 | 684 | 24 | jsonp failing in chrome | I'm using Chrome 19.0.1084.52 and I'm finding chrome is just silently failing jsonp related code.
As a real world case (as my code is on a private server atm), Hitting http://tweet.seaofclouds.com/ with firefox seems to work fine but chrome just silently fails.
The script is not showing up in any of the tabs.
... | javascript | google-chrome | jsonp | null | null | null | open | jsonp failing in chrome
===
I'm using Chrome 19.0.1084.52 and I'm finding chrome is just silently failing jsonp related code.
As a real world case (as my code is on a private server atm), Hitting http://tweet.seaofclouds.com/ with firefox seems to work fine but chrome just silently fails.
The script is not showi... | 0 |
11,720,285 | 07/30/2012 11:10:32 | 784,101 | 06/04/2011 16:39:52 | 28 | 0 | Lookahead, lookbehind condition in regular expression | The following example is about using lookahead assertion as a condition. i found it in php manual at: http://www.php.net/manual/en/regexp.reference.conditional.php
(?(?=[^a-z]*[a-z])
\d{2}-[a-z]{3}-\d{2} | \d{2}-\d{2}-\d{2} )
Here's the description about this regex:
The condition is a positive lookahead ass... | php | pcre | null | null | null | null | open | Lookahead, lookbehind condition in regular expression
===
The following example is about using lookahead assertion as a condition. i found it in php manual at: http://www.php.net/manual/en/regexp.reference.conditional.php
(?(?=[^a-z]*[a-z])
\d{2}-[a-z]{3}-\d{2} | \d{2}-\d{2}-\d{2} )
Here's the description abo... | 0 |
10,963,138 | 06/09/2012 17:38:13 | 546,427 | 06/10/2010 18:25:18 | 821 | 18 | creating a global urls object in javascript, for easy reverse routing in templates | I am working on a web project that uses lots of ajax. I am using playframework, and in my html templates, I have access to the playframework reverse router, so I can get urls from the router and not have to worry about what happens if I later decide to change the url structure of the site. However I don't have access t... | ajax | templates | playframework | global-variables | null | null | open | creating a global urls object in javascript, for easy reverse routing in templates
===
I am working on a web project that uses lots of ajax. I am using playframework, and in my html templates, I have access to the playframework reverse router, so I can get urls from the router and not have to worry about what happens ... | 0 |
2,624,313 | 04/12/2010 18:17:13 | 314,802 | 04/12/2010 18:17:13 | 1 | 0 | Sorting a text file by date - Date looks like DD/MM/YYYY | I am trying to sort the dates from the earliest to the latest.
I was thinking about using the bufferedreader and do a try searching the first 2 characters of the string and then the 4th and 5th characters and finally the 7th and 8th characters, ignoring the slashes.
The following is an example of the text file I ha... | java | sorting | bufferedreader | null | null | null | open | Sorting a text file by date - Date looks like DD/MM/YYYY
===
I am trying to sort the dates from the earliest to the latest.
I was thinking about using the bufferedreader and do a try searching the first 2 characters of the string and then the 4th and 5th characters and finally the 7th and 8th characters, ignoring the... | 0 |
7,294,403 | 09/03/2011 16:38:17 | 926,789 | 09/03/2011 16:16:38 | 1 | 0 | Programming Novice-Slickdeals.net, level of programming knowledge | I am interested in creating a website for gardeners but in similar format to slickdeals.net, in terms of having a login page, front page, and up/down votes for comments in forum.
If I plan on using python, what how long and how difficult will it take me to build something like this? I have never programmed before, ... | python | null | null | null | null | 09/03/2011 18:27:31 | off topic | Programming Novice-Slickdeals.net, level of programming knowledge
===
I am interested in creating a website for gardeners but in similar format to slickdeals.net, in terms of having a login page, front page, and up/down votes for comments in forum.
If I plan on using python, what how long and how difficult will it... | 2 |
8,319,829 | 11/30/2011 00:53:03 | 1,072,441 | 11/30/2011 00:39:26 | 1 | 0 | SSH access to a ubuntu box with no terminal | Trying to figure out a way so that when i have somebody PUTTY into my linux ubuntu box, they will have no terminal access. Basically i just want them to have access to some repos for SVN but when they ssh, they should have no options for command lines. | linux | svn | ubuntu | terminal | putty | 11/30/2011 01:58:46 | off topic | SSH access to a ubuntu box with no terminal
===
Trying to figure out a way so that when i have somebody PUTTY into my linux ubuntu box, they will have no terminal access. Basically i just want them to have access to some repos for SVN but when they ssh, they should have no options for command lines. | 2 |
5,636,569 | 04/12/2011 14:09:08 | 186,942 | 10/09/2009 06:01:36 | 75 | 0 | Front controller object in zend framewok. | What is diff. between below objects of front controller and how to use it?
$this->bootstrap('frontController');
$frontController = $this->getResource('frontController');
$front = Zend_Controller_Front::getInstance();
What is diff. between these two objects of front controller? | zend-framework | null | null | null | null | null | open | Front controller object in zend framewok.
===
What is diff. between below objects of front controller and how to use it?
$this->bootstrap('frontController');
$frontController = $this->getResource('frontController');
$front = Zend_Controller_Front::getInstance();
What is diff. between thes... | 0 |
10,432,308 | 05/03/2012 13:21:59 | 1,372,482 | 05/03/2012 12:41:29 | 1 | 0 | declaring a class inside of itself | I'm not sure what the practice of what I'm trying to do is called so finding any kind of help has been difficult. The code speaks for itself I think. Guess what I'm looking for is what this is called and the proper way to code it.
Class Point {
int x,y;
Point Spawn[];
Point() {
... | java | class | declaration | null | null | 05/03/2012 13:33:11 | not a real question | declaring a class inside of itself
===
I'm not sure what the practice of what I'm trying to do is called so finding any kind of help has been difficult. The code speaks for itself I think. Guess what I'm looking for is what this is called and the proper way to code it.
Class Point {
int x,y;
... | 1 |
4,780,211 | 01/24/2011 09:04:15 | 583,003 | 01/12/2011 12:25:50 | 1 | 0 | [subview setWantsLayer:YES] will bring the subview to the front? | i have this little cocoa snippet
[subView setWantsLayer:YES];
thus,the subView covers all the other subview suppose to be on top of it.How to put it to the back as it should be? | cocoa | calayer | null | null | null | null | open | [subview setWantsLayer:YES] will bring the subview to the front?
===
i have this little cocoa snippet
[subView setWantsLayer:YES];
thus,the subView covers all the other subview suppose to be on top of it.How to put it to the back as it should be? | 0 |
1,230,822 | 08/05/2009 02:01:58 | 54,064 | 01/12/2009 06:25:34 | 86 | 3 | Need html text shown as a link to work with an iframe | I have a page that contains an iframe element. I want to have some text on the main page when clicked to change the iframe source. I can do that with an "a href" tag but the main page resets to the top instead of where the user was last on the page vertically. If I use an input type=button element, then it works jus... | html | null | null | null | null | null | open | Need html text shown as a link to work with an iframe
===
I have a page that contains an iframe element. I want to have some text on the main page when clicked to change the iframe source. I can do that with an "a href" tag but the main page resets to the top instead of where the user was last on the page vertically... | 0 |
8,795,847 | 01/09/2012 22:09:20 | 1,132,256 | 01/05/2012 13:31:52 | 8 | 0 | Python/PHP, cakePHP and wordpress | Could someone explain differences and relations between Python/PHP, cakePHP and wordpress? Maybe draw some connections to Ruby or Java? Could you compare wordpress to Google Web Toolkit?
| php | python | cakephp | null | null | 01/09/2012 22:21:27 | not a real question | Python/PHP, cakePHP and wordpress
===
Could someone explain differences and relations between Python/PHP, cakePHP and wordpress? Maybe draw some connections to Ruby or Java? Could you compare wordpress to Google Web Toolkit?
| 1 |
11,501,096 | 07/16/2012 09:04:17 | 1,300,497 | 03/29/2012 10:20:52 | 1 | 0 | Coding Algorithm in Poll-Listen and Listen-Poll of NFC A | I'm doing a research in NFC (Near Field Communication). I have a question related to the coding algorithm in two connections Poll - Listen and Listen - Poll. Why do they use 2 different algorithms (Manchester and modified Miller) in these two phases?
Thanks, | nfc | null | null | null | null | 07/17/2012 14:03:32 | off topic | Coding Algorithm in Poll-Listen and Listen-Poll of NFC A
===
I'm doing a research in NFC (Near Field Communication). I have a question related to the coding algorithm in two connections Poll - Listen and Listen - Poll. Why do they use 2 different algorithms (Manchester and modified Miller) in these two phases?
Than... | 2 |
9,936,108 | 03/30/2012 02:14:21 | 1,083,268 | 12/06/2011 10:13:00 | 1 | 1 | Can not register Microsoft Azure | I get the following error when trying to sign up for the Microsoft Azure 90-day free trial:
We can't authorize the payment method. Please make sure the information is correct, or use another payment method. If you continue to get this message, please contact your financial institution.
I've tried three differ... | sql-azure | null | null | null | null | 07/03/2012 20:36:13 | off topic | Can not register Microsoft Azure
===
I get the following error when trying to sign up for the Microsoft Azure 90-day free trial:
We can't authorize the payment method. Please make sure the information is correct, or use another payment method. If you continue to get this message, please contact your financial i... | 2 |
8,059,902 | 11/09/2011 03:11:34 | 957,314 | 09/21/2011 15:36:09 | 1 | 0 | 300 mb text file using java | I am a newbie in Java, I want to open a 300 mb text file and read and parse line by line, after doing some research I think nio package is the best way to go. I was wondering if there is anything that I should consider while doing this or any hint from people who have already done this is highly appreciated. | java | nio | text-files | null | null | 11/09/2011 04:44:32 | not constructive | 300 mb text file using java
===
I am a newbie in Java, I want to open a 300 mb text file and read and parse line by line, after doing some research I think nio package is the best way to go. I was wondering if there is anything that I should consider while doing this or any hint from people who have already done this ... | 4 |
7,241,973 | 08/30/2011 10:43:10 | 737,065 | 05/03/2011 23:15:37 | 25 | 0 | Video On Demand and IPTV -- How start? | Can someone point the way
focused on the coding of Video On Demand and IPTV?
I want to start from the beginning of this topic, what literature, what tools and
Test platform. Just... how start?
TIA | c++ | video | iptv | null | null | 08/30/2011 11:22:57 | not a real question | Video On Demand and IPTV -- How start?
===
Can someone point the way
focused on the coding of Video On Demand and IPTV?
I want to start from the beginning of this topic, what literature, what tools and
Test platform. Just... how start?
TIA | 1 |
7,947,875 | 10/30/2011 21:16:34 | 149,080 | 08/01/2009 21:00:20 | 4,489 | 34 | Possible to use jQuery Auto Suggest for a Twitter Mention like suggestions? | With Twitter, when you type a tweet, anytime you type @ it triggers an autosuggest to quickly enter a twitter handle. You can do @ at the beginning of a tweet in the middle and multiple times.
Can jQuery AutoSuggest handle this? After looking it over it seems like it is good for input fields that just contain the au... | jquery | jquery-ui | autosuggest | null | null | null | open | Possible to use jQuery Auto Suggest for a Twitter Mention like suggestions?
===
With Twitter, when you type a tweet, anytime you type @ it triggers an autosuggest to quickly enter a twitter handle. You can do @ at the beginning of a tweet in the middle and multiple times.
Can jQuery AutoSuggest handle this? After l... | 0 |
11,301,093 | 07/02/2012 20:59:27 | 220,935 | 11/29/2009 18:18:37 | 1,158 | 102 | Connect computer running lion to panther | I'm trying to figure out how to connect a computer running lion to another computer running panther via FireWire. So far, I have tried the following things:
-Both computers have file sharing on, as well as remote login and personal web sharing
-The computer running panther does not have Bluetooth or wifi
-The... | osx | null | null | null | null | 07/02/2012 21:01:10 | off topic | Connect computer running lion to panther
===
I'm trying to figure out how to connect a computer running lion to another computer running panther via FireWire. So far, I have tried the following things:
-Both computers have file sharing on, as well as remote login and personal web sharing
-The computer running p... | 2 |
10,927,343 | 06/07/2012 07:19:51 | 1,410,110 | 05/22/2012 11:41:24 | 8 | 0 | One Class - Multiple ViewControllers (Obj. C) | I've created one C class for my app. But I want to use it on like 6 view Controllers. But then I get an error at XCODE when Compiling. Is there an option to use that class on multiple view controllers without errors?
Thanks | xcode | class | null | null | null | 06/08/2012 01:09:52 | not a real question | One Class - Multiple ViewControllers (Obj. C)
===
I've created one C class for my app. But I want to use it on like 6 view Controllers. But then I get an error at XCODE when Compiling. Is there an option to use that class on multiple view controllers without errors?
Thanks | 1 |
6,720,348 | 07/16/2011 21:27:24 | 728,819 | 04/28/2011 07:55:02 | 140 | 0 | Difference between OOP and Functional Programming (scheme) | I'm watching a video course/lectures from Stanford. The course is "The Structure and Interpretation of Computer Programs"
In the first OOP lecture, the instructor (Brian Harvey) describes an OOP method as one that gives different answers for the same question, while a function in functional programming gives a certa... | oop | functional-programming | scheme | null | null | 07/17/2011 11:33:15 | not a real question | Difference between OOP and Functional Programming (scheme)
===
I'm watching a video course/lectures from Stanford. The course is "The Structure and Interpretation of Computer Programs"
In the first OOP lecture, the instructor (Brian Harvey) describes an OOP method as one that gives different answers for the same qu... | 1 |
4,061,053 | 10/30/2010 23:00:24 | 62,122 | 02/03/2009 20:47:20 | 975 | 15 | Whats better in the job market, and what has a better future: Java or C#? | I've learned a lot of programming language, and I think that Java or C# are most likely the best for getting a job, but I was wondering if I am correct in thinking this, or are there other popular languages I should know about? | c# | java | jobs | null | null | 10/30/2010 23:08:24 | not constructive | Whats better in the job market, and what has a better future: Java or C#?
===
I've learned a lot of programming language, and I think that Java or C# are most likely the best for getting a job, but I was wondering if I am correct in thinking this, or are there other popular languages I should know about? | 4 |
254,093 | 10/31/2008 16:24:02 | 3,892 | 08/31/2008 17:59:08 | 353 | 33 | Best practices on answering dogfood excuses | Dogfooding is using your own software. Sometimes that is impossible (software for fighter pilots.) More often it is possible, but doesn't happen anyway.
A couple of "Our users won't experience that problem so it can't be a dogfooding bug," and quickly the practicalities of dogfooding go down so far no one does i... | polls | team | null | null | null | 07/04/2012 15:48:26 | not constructive | Best practices on answering dogfood excuses
===
Dogfooding is using your own software. Sometimes that is impossible (software for fighter pilots.) More often it is possible, but doesn't happen anyway.
A couple of "Our users won't experience that problem so it can't be a dogfooding bug," and quickly the practica... | 4 |
8,325,087 | 11/30/2011 11:20:23 | 1,073,199 | 11/30/2011 11:11:45 | 1 | 0 | Blocked list has disappeared, tried everything :( | i have literally tried everything from deactivating my account, using different computers, different phones. and facebook is still saying i havent blocked anyone when i have. i blocked my boyfriend as a joke and now when i go on my blocked list to unblock him it says i haven't blocked anyone. its really quite annoying ... | facebook-connect | privacy | null | null | null | 11/30/2011 13:11:36 | off topic | Blocked list has disappeared, tried everything :(
===
i have literally tried everything from deactivating my account, using different computers, different phones. and facebook is still saying i havent blocked anyone when i have. i blocked my boyfriend as a joke and now when i go on my blocked list to unblock him it sa... | 2 |
4,930,901 | 02/08/2011 08:20:38 | 607,783 | 02/08/2011 08:20:38 | 1 | 0 | CSV file export | I have some data with in different datatables.
Each datatable is not assured of having the same no of records.
Using all these datatables i need to put those data into a comma delimeted CSV file.
But I found examples only for exporting using a single dataset.
Can any one suggest a way to do this?
And if I insert r... | c# | asp.net | null | null | null | 06/13/2012 12:22:14 | not a real question | CSV file export
===
I have some data with in different datatables.
Each datatable is not assured of having the same no of records.
Using all these datatables i need to put those data into a comma delimeted CSV file.
But I found examples only for exporting using a single dataset.
Can any one suggest a way to do thi... | 1 |
7,461,808 | 09/18/2011 13:36:15 | 357,618 | 06/03/2010 15:10:21 | 195 | 4 | How to Console.WriteLine from [TestMethod]? | I am trying to show some information from a [TestMethod] method.
Usually we use NUnit and a line with `Console.WriteLine` runs fine and we can see it in 'output' window, but on this project we must to use Testing tools embebed with VS2010 and `Console.WriteLine` doesn't run because we cannot see anything.
What I ... | c# | visual-studio-2010 | testing | null | null | null | open | How to Console.WriteLine from [TestMethod]?
===
I am trying to show some information from a [TestMethod] method.
Usually we use NUnit and a line with `Console.WriteLine` runs fine and we can see it in 'output' window, but on this project we must to use Testing tools embebed with VS2010 and `Console.WriteLine` doesn... | 0 |
1,000,162 | 06/16/2009 08:23:47 | 111,919 | 05/25/2009 03:20:52 | 58 | 9 | Have abyone used Graph based Databases : http://neo4j.org/ | I have used Relational Db's a lot and decided to venture out on other types available.<br>
This particular product looks good and promising http://neo4j.org/<br>
Have anyone used Graph based databases and can highlisght pro's and con's from usability prespective .<br>Also have you used these in production enviornment... | database | null | null | null | null | 05/11/2012 15:57:37 | not constructive | Have abyone used Graph based Databases : http://neo4j.org/
===
I have used Relational Db's a lot and decided to venture out on other types available.<br>
This particular product looks good and promising http://neo4j.org/<br>
Have anyone used Graph based databases and can highlisght pro's and con's from usability pre... | 4 |
3,604,894 | 08/30/2010 23:10:47 | 237,507 | 12/23/2009 10:29:48 | 3 | 0 | ASP MVC, Django or Rails? | I've to start my master thesis project and I've to choose a technology to work with. I've used Rails and ASP MVC, in two projects, but never used Django, only some play with it. But I've some experience with python and really like the admin interface.
The objective of my master thesis is a creation of portal to a pu... | ruby-on-rails | asp.net-mvc | django | asp.net-mvc-2 | healthcare | 08/30/2010 23:44:36 | not constructive | ASP MVC, Django or Rails?
===
I've to start my master thesis project and I've to choose a technology to work with. I've used Rails and ASP MVC, in two projects, but never used Django, only some play with it. But I've some experience with python and really like the admin interface.
The objective of my master thesis... | 4 |
18,126 | 08/20/2008 14:45:27 | 1,409 | 08/15/2008 13:18:51 | 129 | 10 | What tools (other than IDE) to you find useful? | I'm always on the lookout for tools to help make me more efficient, so I was wondering what kinds of tools, other than IDEs/text editors (these have been covered in a few questions), that people use to make themselves more productive.
Here's a list of the tools I currently find useful:
- [Launchy][1] - applicat... | productivity | null | null | null | null | 08/19/2011 16:13:42 | not constructive | What tools (other than IDE) to you find useful?
===
I'm always on the lookout for tools to help make me more efficient, so I was wondering what kinds of tools, other than IDEs/text editors (these have been covered in a few questions), that people use to make themselves more productive.
Here's a list of the tools I ... | 4 |
3,079,123 | 06/20/2010 11:54:46 | 371,475 | 06/20/2010 10:16:11 | 16 | 2 | Repost: Learning programming in general - virtual mentoring | > **Everyone**: I am reposting this question, because I
> posted this question as an
> unregistered user and I no longer have
> access to that session. The original question was posted here:
> http://stackoverflow.com/questions/3078868?tab=newest#tab-top
> Thanks and sorry for the inconvenience.
> --AspiringGuru... | c++ | python | ruby | algorithm | mentoring | 03/23/2012 13:49:09 | not constructive | Repost: Learning programming in general - virtual mentoring
===
> **Everyone**: I am reposting this question, because I
> posted this question as an
> unregistered user and I no longer have
> access to that session. The original question was posted here:
> http://stackoverflow.com/questions/3078868?tab=newest#tab-... | 4 |
4,495,261 | 12/21/2010 00:23:41 | 549,345 | 12/21/2010 00:23:41 | 1 | 0 | Different Instance of Applicationcontext in Broadcastreceiver | I want to access a "global" variable in my MyApp(extends Application) from a broadcastreceiver (registered in the manifest) and e.g. multiple activities. Now I seem to have different instances of my MyApp: one for the BCR and one for the activities. Could sb help me with my problem?
thanks alot
Joerg | android | application | global-variables | broadcastreceiver | null | null | open | Different Instance of Applicationcontext in Broadcastreceiver
===
I want to access a "global" variable in my MyApp(extends Application) from a broadcastreceiver (registered in the manifest) and e.g. multiple activities. Now I seem to have different instances of my MyApp: one for the BCR and one for the activities. Cou... | 0 |
3,355,107 | 07/28/2010 16:29:05 | 404,650 | 07/28/2010 14:45:34 | 1 | 0 | Possibly inconsistent behavior in qplot() ?? | I'm trying to use qplot() to plot a simple time series as one might do using plot(). The x variable is as.POSIXlt and the y is just some continuous measurement. Here is the code with some brief comments. Any help on why these data.frames behave differently would be very much appreciated. As you can see below, I can... | r | statistics | null | null | null | null | open | Possibly inconsistent behavior in qplot() ??
===
I'm trying to use qplot() to plot a simple time series as one might do using plot(). The x variable is as.POSIXlt and the y is just some continuous measurement. Here is the code with some brief comments. Any help on why these data.frames behave differently would be v... | 0 |
5,440,238 | 03/26/2011 03:43:05 | 323,720 | 04/22/2010 21:30:00 | 109 | 1 | How do I load instances of a certain class from a java directory? | Here's my method:
Feature[] getFeatures(File dir)
I'm trying to go through the directory, check each class file. Any class that is of type 'Feature', I want to load an instance of it. Then I want to return an array of these instances.
How is this done?
Thank you. | java | null | null | null | null | null | open | How do I load instances of a certain class from a java directory?
===
Here's my method:
Feature[] getFeatures(File dir)
I'm trying to go through the directory, check each class file. Any class that is of type 'Feature', I want to load an instance of it. Then I want to return an array of these instances.
How i... | 0 |
2,919,946 | 05/27/2010 09:33:27 | 381,293 | 05/26/2010 15:33:41 | 1 | 3 | perl and sed how to combine if and unless in perl | I have the two perl command
perl -pe "s/\b$a\b/$b/g if m/param1 /" test
and
perl -pe "s/\b$a\b/$b/g unless /^#/" test
how to use combine the if m/somthing/ and the unless /something/
for example
[root@localhost tmp]# perl -pe "s/\b$a\b/$b/g if m/param1/ unless /^#/" test
syntax error at -e line 1, ne... | perl | null | null | null | null | null | open | perl and sed how to combine if and unless in perl
===
I have the two perl command
perl -pe "s/\b$a\b/$b/g if m/param1 /" test
and
perl -pe "s/\b$a\b/$b/g unless /^#/" test
how to use combine the if m/somthing/ and the unless /something/
for example
[root@localhost tmp]# perl -pe "s/\b$a\b/$b/g if m/pa... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.