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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8,119,142 | 11/14/2011 08:49:45 | 564,274 | 01/05/2011 16:57:21 | 27 | 0 | using cron job + whois + diff for domain name hunting | Can you give me the bash script to periodically check for a domain name availability, and email me the status update, if there's any. What I know is that this can be done using cron job, whois, diff and mail programs. But due to my limited Linux background, I don't know how to manipulate the returned whois data around.... | cron | whois | domain-name | null | null | 11/14/2011 22:07:06 | off topic | using cron job + whois + diff for domain name hunting
===
Can you give me the bash script to periodically check for a domain name availability, and email me the status update, if there's any. What I know is that this can be done using cron job, whois, diff and mail programs. But due to my limited Linux background, I d... | 2 |
3,168,362 | 07/02/2010 18:51:40 | 279,990 | 02/24/2010 02:10:40 | 110 | 8 | Decompiler for APK? | I know it is not right to do this, but is there any APK decoder/decompiler available around? | android | null | null | null | null | 05/23/2012 08:45:37 | not constructive | Decompiler for APK?
===
I know it is not right to do this, but is there any APK decoder/decompiler available around? | 4 |
857,814 | 05/13/2009 13:02:03 | 2,298 | 08/21/2008 14:31:48 | 2,452 | 81 | static class data vs. anonymous namespaces in C++ | I occasionally have classes with private static data members. I'm currently debating if I should replace these with static variables in an unnamed namespace in the implementation file. Other that not being able to use these variables in inline methods, are there any other drawbacks? The advantage that I see is that ... | c++ | design | namespaces | static-members | null | null | open | static class data vs. anonymous namespaces in C++
===
I occasionally have classes with private static data members. I'm currently debating if I should replace these with static variables in an unnamed namespace in the implementation file. Other that not being able to use these variables in inline methods, are there ... | 0 |
5,405,495 | 03/23/2011 12:51:21 | 482,138 | 10/20/2010 18:45:36 | 707 | 23 | C# Handling Events | When I deal set up events, I usually write as such:
data.event += new data.returndataeventhandler(method);
And have a method as such:
void method(parameter)
{
dosomething();
}
This is when the event returns an object.
I have just been reading through somebody elses code and they... | c# | events | null | null | null | null | open | C# Handling Events
===
When I deal set up events, I usually write as such:
data.event += new data.returndataeventhandler(method);
And have a method as such:
void method(parameter)
{
dosomething();
}
This is when the event returns an object.
I have just been reading through some... | 0 |
7,714,063 | 10/10/2011 14:14:07 | 987,843 | 10/10/2011 14:05:19 | 1 | 0 | Filtering Facebook Graph API Wall Feed (Profile Feed) | I'm using the Facebook Graph API to retrieve items from my wall with a url in the following form: https://graph.facebook.com/mypage/feed?callback=?&limit=50&access_token=xxxxx
However, only one third of the items returned in the feed are actually "from me". The rest of them are messages "to me" from various Facebook... | json | facebook | null | null | null | null | open | Filtering Facebook Graph API Wall Feed (Profile Feed)
===
I'm using the Facebook Graph API to retrieve items from my wall with a url in the following form: https://graph.facebook.com/mypage/feed?callback=?&limit=50&access_token=xxxxx
However, only one third of the items returned in the feed are actually "from me". ... | 0 |
5,477,265 | 03/29/2011 18:36:17 | 295,189 | 03/16/2010 21:44:33 | 838 | 14 | conditional css | In my php file if I use some images my next button gets pushed down. I need to then use an if statement in css. how can I do that. thanks | php | css | css-selectors | null | null | 03/30/2011 00:13:39 | not a real question | conditional css
===
In my php file if I use some images my next button gets pushed down. I need to then use an if statement in css. how can I do that. thanks | 1 |
8,657,016 | 12/28/2011 14:17:30 | 281,014 | 02/25/2010 08:02:52 | 1,028 | 20 | Add additional data to Linq to SQL result | I have Linq to SQL query which return one field with Url and I bind it to asp.net combobox. I need to add new virtual record("All Url") to Linq to SQL result before binding the result. How to do that?
var results =
dataAccess.Statistics.
Where(s => s.DateStamp >= minD... | linq-to-sql | c#-4.0 | null | null | null | null | open | Add additional data to Linq to SQL result
===
I have Linq to SQL query which return one field with Url and I bind it to asp.net combobox. I need to add new virtual record("All Url") to Linq to SQL result before binding the result. How to do that?
var results =
dataAccess.Statistics.
... | 0 |
2,132,015 | 01/25/2010 11:56:12 | 86,193 | 04/02/2009 13:22:46 | 25 | 2 | Best way to create a PDF with PHP | I've been reading up on creating a PDF file with PHP and am wondering what the easiest option is.
1) Create a PDF template and then open it and replace placeholder text
-- which function do I use to open an existing pdf for editing?
2) Create a PDF template and the place text on it using co-ordinates
3) Crea... | php | pdf | null | null | null | 05/06/2012 18:48:48 | not constructive | Best way to create a PDF with PHP
===
I've been reading up on creating a PDF file with PHP and am wondering what the easiest option is.
1) Create a PDF template and then open it and replace placeholder text
-- which function do I use to open an existing pdf for editing?
2) Create a PDF template and the place t... | 4 |
9,888,877 | 03/27/2012 11:40:53 | 1,262,665 | 03/11/2012 18:06:52 | 1 | 0 | Convert From Geopoint To String | i have google Maps and when the user touch any point in the map
i will create marker and put it in this touch place
and take the whole 'Geopoint' for this marker
and it all work fine.
this is my code, that pt will take the coordinate.
GeoPoint markerGP
markerGP = pt;
But i want to convert the marker... | java | android | google-maps | null | null | null | open | Convert From Geopoint To String
===
i have google Maps and when the user touch any point in the map
i will create marker and put it in this touch place
and take the whole 'Geopoint' for this marker
and it all work fine.
this is my code, that pt will take the coordinate.
GeoPoint markerGP
markerGP = ... | 0 |
6,615,157 | 07/07/2011 18:10:32 | 426,493 | 08/20/2010 15:32:09 | 638 | 13 | Android: is there any way to iterate a Path object? | Given a `android.graphics.Path`, I would like to be able to retrieve the specific path commands: the quadTo(..), curveTo(...), lineTo(...), etc, that the Path is composed of.
Java provides a PathIterator to accomplish this for GeneralPath objects, but I haven't found any equivalent for Android. Am I missing someth... | android | null | null | null | null | null | open | Android: is there any way to iterate a Path object?
===
Given a `android.graphics.Path`, I would like to be able to retrieve the specific path commands: the quadTo(..), curveTo(...), lineTo(...), etc, that the Path is composed of.
Java provides a PathIterator to accomplish this for GeneralPath objects, but I haven... | 0 |
9,577,523 | 03/06/2012 03:28:26 | 221,543 | 11/30/2009 18:43:33 | 464 | 14 | HTML Form + PHP, Page Redirect | I have an HTML5 form set up like so:
<form id="contact-form" action="php/email.php">
<fieldset>
<ul id="form">
<li>
<label for="name">Name:</label>
<input id="name" name="name" type="text" placeholder="First and Last Name" required />
</li>
<li>
<label for=... | php | forms | html5 | null | null | null | open | HTML Form + PHP, Page Redirect
===
I have an HTML5 form set up like so:
<form id="contact-form" action="php/email.php">
<fieldset>
<ul id="form">
<li>
<label for="name">Name:</label>
<input id="name" name="name" type="text" placeholder="First and Last Name" required />
<... | 0 |
11,538,813 | 07/18/2012 09:58:27 | 1,105,827 | 12/19/2011 11:58:36 | 1 | 0 | Ada compiler crashes | I downgraded my gcc version 4.6.3 to 4.3.4 but ada version is not changed gnat-4.6.3 so i got error Ada compiler not installed on this system. How to set my ada to gnat 4.3.4 please guide me.
Thank you in advance
Regards
Raghvendra
| ada | null | null | null | null | null | open | Ada compiler crashes
===
I downgraded my gcc version 4.6.3 to 4.3.4 but ada version is not changed gnat-4.6.3 so i got error Ada compiler not installed on this system. How to set my ada to gnat 4.3.4 please guide me.
Thank you in advance
Regards
Raghvendra
| 0 |
10,573,906 | 05/13/2012 17:51:11 | 808,713 | 06/21/2011 15:08:04 | 127 | 1 | OSX/Linux, slow down the output from terminal | I'm printing to screen a long text file that scrolls very very quickly on my screen, is there a way to slow down the scrolling? In other words is there a system setting that controls the speed at which output is displayed to screen (OSX/Linux). | linux | osx | terminal | null | null | 05/14/2012 14:16:46 | off topic | OSX/Linux, slow down the output from terminal
===
I'm printing to screen a long text file that scrolls very very quickly on my screen, is there a way to slow down the scrolling? In other words is there a system setting that controls the speed at which output is displayed to screen (OSX/Linux). | 2 |
9,426,537 | 02/24/2012 06:43:23 | 993,437 | 08/18/2011 14:03:49 | 594 | 20 | how to call/use the built notification system in the OS(mobile) using android phonegap? | I created notification icon using system notification plugin in android phonegap.But Now I want to call/use the built notification system in the OS(mobile) using android phonegap. please guide me
thanks in advance. | android | phonegap | notifications | null | null | null | open | how to call/use the built notification system in the OS(mobile) using android phonegap?
===
I created notification icon using system notification plugin in android phonegap.But Now I want to call/use the built notification system in the OS(mobile) using android phonegap. please guide me
thanks in advance. | 0 |
11,486,523 | 07/14/2012 18:59:14 | 523,384 | 11/29/2010 02:37:30 | 108 | 15 | div width autoadjust to its content | I have the following code: http://jsfiddle.net/domoindal/fkcQK/
What i need is that the border fit its content in the menu bar, so if there are three tags, the width of such div should fit to the sum of that three tags widths. I do not want the border around the tags get the max width.
Latter, what i want t... | css | div | null | null | null | null | open | div width autoadjust to its content
===
I have the following code: http://jsfiddle.net/domoindal/fkcQK/
What i need is that the border fit its content in the menu bar, so if there are three tags, the width of such div should fit to the sum of that three tags widths. I do not want the border around the tags get t... | 0 |
10,783,873 | 05/28/2012 11:23:25 | 672,452 | 03/23/2011 05:47:48 | 2,845 | 117 | errors in PHP script aren't passed back to CRON | I've some PHP scripts doing some work for me and printing some logging informations. This is the structure of calling:
Crontab
*/3 * * * * sleep 180 && cd /var/www/tasks && ./wrapper.sh start "/usr/bin/php stat-import.php" stat-import >> stat-import.log
wrapper.sh
#!/bin/bash
f... | php | bash | error-handling | cron | null | null | open | errors in PHP script aren't passed back to CRON
===
I've some PHP scripts doing some work for me and printing some logging informations. This is the structure of calling:
Crontab
*/3 * * * * sleep 180 && cd /var/www/tasks && ./wrapper.sh start "/usr/bin/php stat-import.php" stat-import >> stat-impor... | 0 |
10,320,715 | 04/25/2012 17:26:59 | 999,355 | 10/17/2011 14:28:49 | 97 | 8 | User registration server-side wizard with Devise authentication | All the authentication plugins I've seen are implementing one-page user registration - user enters all his fields and then they are submitted at once. So the Devise authentication does.
Bun now we have requirements to do multi-page registration wizard.
Implementing it with JQuery with posting on last wizard's pag... | ruby-on-rails | devise | wizard | user-registration | null | null | open | User registration server-side wizard with Devise authentication
===
All the authentication plugins I've seen are implementing one-page user registration - user enters all his fields and then they are submitted at once. So the Devise authentication does.
Bun now we have requirements to do multi-page registration wiz... | 0 |
2,475,926 | 03/19/2010 08:37:41 | 186,678 | 10/08/2009 19:47:10 | 61 | 4 | Ria Services vs WCF Dataservices | My Team are evaluation to a bigger Business portal. (Invoicing, Bookkeeping, Salaries.....)
We are all used to work with DDD, O/R mappers with NHibernate as our first choice.
We have chosen to work with CompositeWPF to keep modularity between all modules and part system in the business portal.
Now we have evalua... | wcf-ria-services | silverlight | wcf-data-services | null | null | null | open | Ria Services vs WCF Dataservices
===
My Team are evaluation to a bigger Business portal. (Invoicing, Bookkeeping, Salaries.....)
We are all used to work with DDD, O/R mappers with NHibernate as our first choice.
We have chosen to work with CompositeWPF to keep modularity between all modules and part system in the ... | 0 |
3,690,915 | 09/11/2010 12:07:02 | 444,512 | 09/10/2010 15:52:24 | 1 | 0 | To IDE or Not? A beginner developer's dilemma | Basically,me and a friend of mine are just planning to work on a python project which would have GUI interface,and enable file transfer over and remote file listing,we have most of the tools which we are going to use,Glade,python etcetera..
I just want to know if I should use an IDE or not.
I've heard only good t... | python | ide | anjuta | null | null | 09/11/2010 14:48:00 | not constructive | To IDE or Not? A beginner developer's dilemma
===
Basically,me and a friend of mine are just planning to work on a python project which would have GUI interface,and enable file transfer over and remote file listing,we have most of the tools which we are going to use,Glade,python etcetera..
I just want to know if I... | 4 |
9,539,196 | 03/02/2012 19:28:12 | 353,958 | 05/30/2010 11:13:28 | 6 | 0 | Codeigniter passing variable error | I'm using CodeIgniter and having problem to send variable using the
**$this->load->view('signup',$data)**.
This is some code in my controller.
function create_member()
{
$this->load->library('form_validation');
$this->form_validation->set_rules('username', 'Username', 'trim|re... | php | codeigniter | codeigniter-2 | null | null | null | open | Codeigniter passing variable error
===
I'm using CodeIgniter and having problem to send variable using the
**$this->load->view('signup',$data)**.
This is some code in my controller.
function create_member()
{
$this->load->library('form_validation');
$this->form_validation->se... | 0 |
8,241,059 | 11/23/2011 11:02:54 | 868,862 | 07/29/2011 06:56:15 | 18 | 0 | how to do xml parsing if chinese characters present | i have an xml with chinese charactes.
<A>增长的身体质量指数 (abc) Name</A>
<B>年龄 adress</B>
i allocate parser with
xmlparser = [[NSXMLParser alloc] initWithContentsOfURL:url;
[xmlparser setDelegate:self];
[xmlparser setShouldProcessNamespaces:NO];
[xmlparser setShouldReportNamespacePrefixes:NO];
[xmlparser... | iphone | null | null | null | null | null | open | how to do xml parsing if chinese characters present
===
i have an xml with chinese charactes.
<A>增长的身体质量指数 (abc) Name</A>
<B>年龄 adress</B>
i allocate parser with
xmlparser = [[NSXMLParser alloc] initWithContentsOfURL:url;
[xmlparser setDelegate:self];
[xmlparser setShouldProcessNamespaces:NO];
[xml... | 0 |
10,628,861 | 05/17/2012 01:39:08 | 1,388,456 | 05/11/2012 02:04:00 | 13 | 0 | How to reference object variable from within method | I'm still learning to work with objects. I defined vertices() as a method to return the vertices (initialized as vs) in Graph. I know that there is a more concise, elegant way to write vertices() but exactly how is escaping me.
Also specifically this relates to exercise 2.5 in Think Complexity: http://greenteapress... | python | null | null | null | null | null | open | How to reference object variable from within method
===
I'm still learning to work with objects. I defined vertices() as a method to return the vertices (initialized as vs) in Graph. I know that there is a more concise, elegant way to write vertices() but exactly how is escaping me.
Also specifically this relates ... | 0 |
3,387,748 | 08/02/2010 12:28:58 | 364,712 | 06/11/2010 16:08:06 | 43 | 2 | Creating new instance from the List - java | I am trying to write public instance method createParther() that returns an instance of Couple. The method does it's job by following these rules: one dancer in the couple must be from aList and the other bList, one dancer in the couple must be male and the other female. Neither dancer in the couple should be partnered... | java | null | null | null | null | null | open | Creating new instance from the List - java
===
I am trying to write public instance method createParther() that returns an instance of Couple. The method does it's job by following these rules: one dancer in the couple must be from aList and the other bList, one dancer in the couple must be male and the other female. ... | 0 |
4,826,329 | 01/28/2011 08:42:37 | 581,242 | 01/19/2011 10:16:51 | 5 | 1 | I have written a simple daemon, pls suggest improvements (bash/python-Ubuntu) | I have a bash script that basically starts an audio stream using mplayer:
#!/bin/bash
# startmusic.sh
/usr/bin/mplayer http://www.audiostream.com
what I want to make sure is that if mplayer chrashes or ends of any reason, it gets automatically restarted. I therefore have a cron job running every min... | bash | daemon | mplayer | null | null | null | open | I have written a simple daemon, pls suggest improvements (bash/python-Ubuntu)
===
I have a bash script that basically starts an audio stream using mplayer:
#!/bin/bash
# startmusic.sh
/usr/bin/mplayer http://www.audiostream.com
what I want to make sure is that if mplayer chrashes or ends of any rea... | 0 |
8,274,422 | 11/25/2011 21:35:04 | 925,914 | 09/02/2011 19:44:46 | 20 | 1 | Android updating text line by line in TextView | I am having a TextView to which I am outputting lines of text in a loop. But when I set the text even by appending to existing text it doesnt show till the loop has ended. Is there a way I can update a text view with text line by line
Thanks
-Chandu | android | textview | updating | null | null | null | open | Android updating text line by line in TextView
===
I am having a TextView to which I am outputting lines of text in a loop. But when I set the text even by appending to existing text it doesnt show till the loop has ended. Is there a way I can update a text view with text line by line
Thanks
-Chandu | 0 |
8,605,322 | 12/22/2011 14:32:39 | 1,098,799 | 12/14/2011 22:22:37 | 25 | 1 | Speeding up perl DBI fetchrow_hashreff | I have something that looks like this:
my $report = new ReportGenerator; #custom object
my $dbh = $dbc->prepare('SELECT * FROM some_table WHERE some_condition'); #DBI handle
$dbh->execute();
while(my $href = $dbh->fetchrow_hashref){
$report->process_record($href);
}
$dbh->fi... | mysql | sql | database | performance | perl | null | open | Speeding up perl DBI fetchrow_hashreff
===
I have something that looks like this:
my $report = new ReportGenerator; #custom object
my $dbh = $dbc->prepare('SELECT * FROM some_table WHERE some_condition'); #DBI handle
$dbh->execute();
while(my $href = $dbh->fetchrow_hashref){
$report-... | 0 |
4,330,682 | 12/02/2010 00:50:58 | 525,965 | 12/01/2010 01:47:27 | 1 | 0 | Error: Assignment makes pointer from Integer without a cast... in C Prog. | I get this error whenever i run the program " Assignment makes pointer from Integer without a cast". My code is written below.... Please help... Thankx
struct student {
char studentID[6];
char name[31];
char course [6];
};
struct student *array[MAX];
s... | c | pointers | casting | strtok | null | null | open | Error: Assignment makes pointer from Integer without a cast... in C Prog.
===
I get this error whenever i run the program " Assignment makes pointer from Integer without a cast". My code is written below.... Please help... Thankx
struct student {
char studentID[6];
char name[31... | 0 |
6,627,892 | 07/08/2011 17:07:01 | 416,056 | 08/10/2010 10:50:49 | 80 | 8 | How can I create two related tables in MySQL and return a result set as JSON using PHP? | I need to create two related tables in MySQL and return a result set as JSON using PHP.
Can anyone please provide some code on how this would be done? | php | mysql | json | null | null | 07/08/2011 18:38:19 | not a real question | How can I create two related tables in MySQL and return a result set as JSON using PHP?
===
I need to create two related tables in MySQL and return a result set as JSON using PHP.
Can anyone please provide some code on how this would be done? | 1 |
8,657,164 | 12/28/2011 14:32:04 | 1,051,924 | 11/17/2011 13:47:37 | 376 | 3 | bash sort for resolution | i have a list of resolutions (mobile devices, monitors etc...) and i want to sort them by resolution using bash/vim
i have (not ordered):
1024 x 480
96 x 120
1024 x 600
100 x 120
800 x 1280
64 x 98
640 x 320
64 x 128
640 x 960
800 x 480
80 x 120
then when i... | bash | sorting | null | null | null | null | open | bash sort for resolution
===
i have a list of resolutions (mobile devices, monitors etc...) and i want to sort them by resolution using bash/vim
i have (not ordered):
1024 x 480
96 x 120
1024 x 600
100 x 120
800 x 1280
64 x 98
640 x 320
64 x 128
640 x 960
800 x 48... | 0 |
8,343,359 | 12/01/2011 14:58:11 | 663,593 | 03/17/2011 02:50:24 | 42 | 2 | Keep good performance with a MySQL database that gains more users | I have a MySQL relational database stored in a web server. This database works with java web services which store and read data from it. Everything works fine for a system with 4 or 5 concurrent users but I was looking for some advice in case I want this system to be used by 50 people concurrently. So, what would be t... | mysql | web-services | concurrency | null | null | 06/03/2012 19:50:43 | off topic | Keep good performance with a MySQL database that gains more users
===
I have a MySQL relational database stored in a web server. This database works with java web services which store and read data from it. Everything works fine for a system with 4 or 5 concurrent users but I was looking for some advice in case I wan... | 2 |
11,215,790 | 06/26/2012 20:56:18 | 947,167 | 09/15/2011 15:40:21 | 46 | 4 | VBA Select Case Loop in Text | Trying to loop through a range of cells and assigned a label to them based off of the text value in another cell. So if Cell J2 = "This Text" Then Cell A2 = "This Label"
As of now I keep getting a run time error number 424, stating object required
Private Function getPhase(ByVal cell As Range) As String
... | excel | vba | excel-vba | null | null | null | open | VBA Select Case Loop in Text
===
Trying to loop through a range of cells and assigned a label to them based off of the text value in another cell. So if Cell J2 = "This Text" Then Cell A2 = "This Label"
As of now I keep getting a run time error number 424, stating object required
Private Function getPhase(By... | 0 |
3,586,736 | 08/27/2010 17:32:10 | 84,685 | 03/30/2009 15:18:48 | 216 | 16 | See SQL From EntityFramework with Collection-like Queries | I do not have 'full' the version of MS SQL (SQL Express 2008) so I do not have the profiler tool.
I want to see the SQL generated by my Entity Framework code, but all of the examples I find use the
var x = from u in table
select u;
type of syntax; But most of my queries are more like ..
... | sql | entity-framework-4 | null | null | null | null | open | See SQL From EntityFramework with Collection-like Queries
===
I do not have 'full' the version of MS SQL (SQL Express 2008) so I do not have the profiler tool.
I want to see the SQL generated by my Entity Framework code, but all of the examples I find use the
var x = from u in table
select u;
... | 0 |
5,188,548 | 03/04/2011 01:05:51 | 340,381 | 05/13/2010 14:35:38 | 425 | 27 | What's the difference? Array[] or List<>? | Actually I'm always using Generic Collections and I frequently use List<>.
Some scenarios I think that `new List<string>()` is very ugly and I prefer to use `string[]`, but I don't use it, because as far as I know, Generics has a better performance and therefore I use them.
Is string[], int[] or whatever non-generi... | c# | arrays | generics | c#-4.0 | null | null | open | What's the difference? Array[] or List<>?
===
Actually I'm always using Generic Collections and I frequently use List<>.
Some scenarios I think that `new List<string>()` is very ugly and I prefer to use `string[]`, but I don't use it, because as far as I know, Generics has a better performance and therefore I use the... | 0 |
4,092,116 | 11/03/2010 22:09:01 | 452,065 | 09/19/2010 18:04:17 | 6 | 0 | java , c simple performance test | im running a simple loop that prints out the iterator (i) for 1.000.000 times in both java and c.
im using netbeans and visual studio respectively.
i dont care about precision but at about 40 seconds:
netbeans (java) has printed about 500.000 numbers
while windows (c) has printed about 75.000 numbers
-- wh... | java | c | performance | printing | comparison | 11/04/2010 11:36:51 | not a real question | java , c simple performance test
===
im running a simple loop that prints out the iterator (i) for 1.000.000 times in both java and c.
im using netbeans and visual studio respectively.
i dont care about precision but at about 40 seconds:
netbeans (java) has printed about 500.000 numbers
while windows (c) has... | 1 |
11,426,950 | 07/11/2012 06:39:28 | 1,516,826 | 07/11/2012 06:29:01 | 1 | 0 | tomcat log alerts parse - Any SCRIPT or method available, pls let me know | I am new to Stackoverflow. So kindly pardon me if i have not made my homework of searching thoroughly. I have a problem in parsing text from tomcat localhost log and catalina.out file. We all know that we receive SEVERE alerts in either of these files. I want a script or free software which will help me to parse the SE... | tomcat6 | logparser | null | null | null | 07/12/2012 12:19:47 | not constructive | tomcat log alerts parse - Any SCRIPT or method available, pls let me know
===
I am new to Stackoverflow. So kindly pardon me if i have not made my homework of searching thoroughly. I have a problem in parsing text from tomcat localhost log and catalina.out file. We all know that we receive SEVERE alerts in either of t... | 4 |
2,169,755 | 01/30/2010 22:42:31 | 105,084 | 05/12/2009 01:13:48 | 593 | 10 | In Gtk#, why is my MenuToolItem not displaying its Menu? | I want to add a `MenuToolItem` to my Toolbar. It contains two `RadioMenuItem`s. However, when I click the drop-down arrow, I see this:
![alt text][1]
This is my current code:
MenuToolButton reviewModeToolButton =
new MenuToolButton (Stock.Preferences);
toolbar.Add (reviewModeToolButton);
Menu review... | gtk | gtk# | c# | null | null | null | open | In Gtk#, why is my MenuToolItem not displaying its Menu?
===
I want to add a `MenuToolItem` to my Toolbar. It contains two `RadioMenuItem`s. However, when I click the drop-down arrow, I see this:
![alt text][1]
This is my current code:
MenuToolButton reviewModeToolButton =
new MenuToolButton (Stock.Prefer... | 0 |
6,620,150 | 07/08/2011 05:01:41 | 423,325 | 08/17/2010 21:01:19 | 320 | 12 | Django vs Grails vs Lift for Comet support? | I am going to be developing a real-time web application that will make heavy use of Ajax and Comet programming techniques. I am wondering which web framework will be best to use for this type of application.
I already know Python and Django, I have built a smaller app in Grails, and have experience with Scala but n... | python | django | grails | comet | null | 07/08/2011 08:39:05 | not constructive | Django vs Grails vs Lift for Comet support?
===
I am going to be developing a real-time web application that will make heavy use of Ajax and Comet programming techniques. I am wondering which web framework will be best to use for this type of application.
I already know Python and Django, I have built a smaller ap... | 4 |
11,498,607 | 07/16/2012 05:37:02 | 1,526,363 | 07/15/2012 02:15:36 | 1 | 0 | Books for web services certification | I am preparing for OCP, Java EE Web Services Developer certification. Is the training material provided by epractize labs a good source of reference for getting certified? Does it cover all the exam topics in detail? Would you recommend purchasing these material?
http://www.epractizelabs.com/certification/sun/scdjws... | web-services | certification | null | null | null | 07/18/2012 21:29:15 | not constructive | Books for web services certification
===
I am preparing for OCP, Java EE Web Services Developer certification. Is the training material provided by epractize labs a good source of reference for getting certified? Does it cover all the exam topics in detail? Would you recommend purchasing these material?
http://www.... | 4 |
8,841,501 | 01/12/2012 20:02:51 | 1,118,112 | 12/27/2011 18:37:15 | 1 | 0 | cakephp Auth json | I would like cakephp to give me the auth error 'You are not authorized to access that location.' in a json format if the request was ajax.
| ajax | json | cakephp | authentication | null | 01/12/2012 20:24:47 | not a real question | cakephp Auth json
===
I would like cakephp to give me the auth error 'You are not authorized to access that location.' in a json format if the request was ajax.
| 1 |
1,085,921 | 07/06/2009 08:11:23 | 100,829 | 05/04/2009 11:49:22 | 106 | 3 | Probability of observing sequence of 7 of the same (heads or tails) in 100 coin flipping trials? | Inspired by a [Radiolab postcast][1]: what ways are there to compute the probability of observing 7 heads (or 7 tails) in a row when flipping a coin 100 times?
[1]: http://blogs.wnyc.org/radiolab/2009/06/15/stochasticity/ | statistics | probability | null | null | null | 07/06/2009 08:31:37 | off topic | Probability of observing sequence of 7 of the same (heads or tails) in 100 coin flipping trials?
===
Inspired by a [Radiolab postcast][1]: what ways are there to compute the probability of observing 7 heads (or 7 tails) in a row when flipping a coin 100 times?
[1]: http://blogs.wnyc.org/radiolab/2009/06/15/stoch... | 2 |
8,233,580 | 11/22/2011 20:44:09 | 879,420 | 08/04/2011 20:30:04 | 13,931 | 1,293 | Preview generated PDF on page | I'm generating a PDF document in code-behind using [Winnovative's HTML to PDF][1] converter, and I would like to preview the document in a container on the page.
This is for an intranet application and all of the end users have the latest version of Reader installed, so compatibility is not an issue. The preview sh... | c# | asp.net | winnovative | document-preview | null | null | open | Preview generated PDF on page
===
I'm generating a PDF document in code-behind using [Winnovative's HTML to PDF][1] converter, and I would like to preview the document in a container on the page.
This is for an intranet application and all of the end users have the latest version of Reader installed, so compatibil... | 0 |
6,871,713 | 07/29/2011 10:23:32 | 727,357 | 04/27/2011 13:29:15 | 1 | 2 | JavaMail Exception: javax.net.ssl.SSLKeyException: RSA premaster secret error | I get this error when I try to connect through Javamail to an IMAP server using STARTTLS. I thought it might have been the (pointless) US export restrictions on the JCE, so I double checked that I'd replaced them with the unlimited strength files. Same problem.
Can't find anything particularly relevant on google or ... | java | ssl | imap | javamail | starttls | null | open | JavaMail Exception: javax.net.ssl.SSLKeyException: RSA premaster secret error
===
I get this error when I try to connect through Javamail to an IMAP server using STARTTLS. I thought it might have been the (pointless) US export restrictions on the JCE, so I double checked that I'd replaced them with the unlimited stren... | 0 |
5,365,898 | 03/20/2011 00:23:56 | 648,914 | 03/07/2011 22:10:35 | 1 | 0 | iPad app displays Actionsheet with arrow direction down instead up | When displaying an actionSheet at any point in a view it displays an arrow with direction down (below the actionsheet) even though the actionSheet would have enough space in the view to display an "up" arrow. Following code leads on iOS 3.2 to an "up" arrow, on iOS 4.2 and 4.3 to a "down" arrow. I tried different Rects... | ipad | uiactionsheet | arrow | null | null | null | open | iPad app displays Actionsheet with arrow direction down instead up
===
When displaying an actionSheet at any point in a view it displays an arrow with direction down (below the actionsheet) even though the actionSheet would have enough space in the view to display an "up" arrow. Following code leads on iOS 3.2 to an "... | 0 |
4,078,746 | 11/02/2010 14:39:42 | 22,996 | 09/27/2008 15:12:31 | 2,252 | 33 | recursive query problem | Trying not to select same connection multiple times I have tried to use charindex() = 0 condition the following way:
WITH Cluster(calling_party, called_party, link_strength, Path)
AS
(SELECT calling_party, called_party, link_strength, CONVERT(varchar(max), calling_party + '.' + called_party) AS Path FR... | sql | recursion | null | null | null | null | open | recursive query problem
===
Trying not to select same connection multiple times I have tried to use charindex() = 0 condition the following way:
WITH Cluster(calling_party, called_party, link_strength, Path)
AS
(SELECT calling_party, called_party, link_strength, CONVERT(varchar(max), calling_party + '... | 0 |
9,476,028 | 02/28/2012 03:34:18 | 720,705 | 04/22/2011 15:15:48 | 101 | 0 | iFrames: the good, the bad, and the ugly | iFrames are considered bad practice for web design, but utilized in some web apps.
What are the good, bad, terrible uses of iFrames?
How does modern javascript, pjax/history.js, backbone/knockout - compare to iFrame based solutions? Specifically, I've seen apps where the menu is the main page and all of the cont... | javascript | iframe | history.js | pjax | null | 02/28/2012 03:45:51 | not constructive | iFrames: the good, the bad, and the ugly
===
iFrames are considered bad practice for web design, but utilized in some web apps.
What are the good, bad, terrible uses of iFrames?
How does modern javascript, pjax/history.js, backbone/knockout - compare to iFrame based solutions? Specifically, I've seen apps where... | 4 |
9,170,375 | 02/07/2012 02:51:17 | 862,176 | 07/25/2011 18:43:49 | 16 | 1 | Cannot ping outside Fa4 on cisco 871w Router (SoHo) | After starting fresh after a write erase and a reload on a cisco 871w. I cannot ping outside of the wan (fa4).
I gave vlan1 (default) an ip because apparently the built in "4 port switch" is a layer 2 device so you cannot directly add IPs to the ports like on the 2800 series.
Fa4 (wan port) is actually a layer3... | configuration | cli | router | cisco | small-business | null | open | Cannot ping outside Fa4 on cisco 871w Router (SoHo)
===
After starting fresh after a write erase and a reload on a cisco 871w. I cannot ping outside of the wan (fa4).
I gave vlan1 (default) an ip because apparently the built in "4 port switch" is a layer 2 device so you cannot directly add IPs to the ports like on... | 0 |
8,486,767 | 12/13/2011 09:19:06 | 887,120 | 08/10/2011 03:31:33 | 1 | 0 | how to bind wcf service (sql db) to controls in wpf | i am getting sql db as service ,i want to bind them to controls in wpf .
if there is any db we can just simply drag and drop the tables,save it
then we can get datacontext and we can perform operations on it.
is there any way to use wcf service in the same way.plz tell me step by step and detailed explanation ,i ... | wpf | null | null | null | null | 12/13/2011 18:34:00 | not a real question | how to bind wcf service (sql db) to controls in wpf
===
i am getting sql db as service ,i want to bind them to controls in wpf .
if there is any db we can just simply drag and drop the tables,save it
then we can get datacontext and we can perform operations on it.
is there any way to use wcf service in the same ... | 1 |
8,334,682 | 11/30/2011 23:43:42 | 159,346 | 08/19/2009 14:46:28 | 869 | 32 | Why there is lack of momentum in Amazon SimpleDB? | I am working on a project and as I want it to be hassle free so I am considering using Amazon SimpleDB for the sake of simplicity. At least I can cross out DB administration.
But why there is so little info about SimpleDB on the net? As if nobody cares about it and I feel like I might be on the wrong track. Is it so... | mongodb | nosql | couchdb | redis | amazon-simpledb | 12/01/2011 00:46:03 | not constructive | Why there is lack of momentum in Amazon SimpleDB?
===
I am working on a project and as I want it to be hassle free so I am considering using Amazon SimpleDB for the sake of simplicity. At least I can cross out DB administration.
But why there is so little info about SimpleDB on the net? As if nobody cares about it ... | 4 |
10,454,790 | 05/04/2012 19:11:33 | 1,270,733 | 03/15/2012 05:02:36 | 4 | 0 | Can I use progress without using thread and async task? | If yes the How we can achieve this please help me. Give me example as well. | android | null | null | null | null | 07/25/2012 14:00:18 | not constructive | Can I use progress without using thread and async task?
===
If yes the How we can achieve this please help me. Give me example as well. | 4 |
8,366,133 | 12/03/2011 06:50:53 | 155,196 | 08/12/2009 16:08:13 | 1,673 | 39 | Android importing Lib project | I am trying to import the library project from https://github.com/JakeWharton/Android-ViewPagerIndicator by doing the following steps
![enter image description here][1]
![enter image description here][2]
![enter image description here][3]
**After importing the Project i get the following error.**
---------... | android | android-viewpager | android-library | null | null | null | open | Android importing Lib project
===
I am trying to import the library project from https://github.com/JakeWharton/Android-ViewPagerIndicator by doing the following steps
![enter image description here][1]
![enter image description here][2]
![enter image description here][3]
**After importing the Project i ge... | 0 |
9,673,148 | 03/12/2012 18:59:27 | 759,766 | 05/18/2011 18:33:40 | 35 | 0 | MVC3 Linq Validations and Display | I'm building MVC3 Site, and use LINQ as my Data Access Layer,
I don't user model for this classes and I want to add Validation and Display Annotation to this classes.
What is the correct way to do it?
Thanks | linq | asp.net-mvc-3 | model | null | null | null | open | MVC3 Linq Validations and Display
===
I'm building MVC3 Site, and use LINQ as my Data Access Layer,
I don't user model for this classes and I want to add Validation and Display Annotation to this classes.
What is the correct way to do it?
Thanks | 0 |
4,050,798 | 10/29/2010 09:56:59 | 184,367 | 10/05/2009 12:51:13 | 1,171 | 18 | GitHub: Is it possible to collaborate with someone on a private gist? | I have a private gist. If I send the URL to a friend he can view it, but cannot edit it, unless he forks it.
Is there a way to edit it directly without forking it? | git | github | null | null | null | null | open | GitHub: Is it possible to collaborate with someone on a private gist?
===
I have a private gist. If I send the URL to a friend he can view it, but cannot edit it, unless he forks it.
Is there a way to edit it directly without forking it? | 0 |
8,021,783 | 11/05/2011 17:09:37 | 1,019,544 | 10/29/2011 08:06:45 | 3 | 1 | Xugglers IContainer can't open AMR515 stream | Hope that someone will help me with problem. I've written network client that reseives streaming audio encoded in AMR515. Client uses own protocol, over UDP, and each datagramm contains 2 chunks of 20 ms audio data. Client receiving this audio data to buffer and writes it to PipedOutputStream, when buffer sufficiently ... | java | stream | amr | xuggler | null | null | open | Xugglers IContainer can't open AMR515 stream
===
Hope that someone will help me with problem. I've written network client that reseives streaming audio encoded in AMR515. Client uses own protocol, over UDP, and each datagramm contains 2 chunks of 20 ms audio data. Client receiving this audio data to buffer and writes ... | 0 |
3,023,093 | 06/11/2010 13:25:22 | 179,855 | 09/27/2009 21:32:34 | 976 | 62 | url optimization in rails? | Hello I want to create seo optimize url in rails.Same like done in stackoverflow.
Right now this is my url
http://localhost:3000/questions/56
I want to make it something like this:-
http://localhost:3000/questions/56/this-is-my-optimized-url
i am using restful approach.
is there any plug-in availa... | ruby-on-rails | plugins | null | null | null | null | open | url optimization in rails?
===
Hello I want to create seo optimize url in rails.Same like done in stackoverflow.
Right now this is my url
http://localhost:3000/questions/56
I want to make it something like this:-
http://localhost:3000/questions/56/this-is-my-optimized-url
i am using restful approa... | 0 |
1,357,731 | 08/31/2009 14:28:20 | 136,258 | 07/10/2009 12:57:44 | 1,244 | 62 | Visual Studio: Is there a way to collapse all itens of Solution Explorer? | I know that I can use Arrow Keys to collapse itens of solution explorer one by one, but I would like to know if there is a way to collapse all itens with only one operation. I want to know it because, today I have a solution with 6 projects that they have at least **two hundred of files** and, I know, if I try to colla... | visual-studio-2008 | .net | null | null | null | null | open | Visual Studio: Is there a way to collapse all itens of Solution Explorer?
===
I know that I can use Arrow Keys to collapse itens of solution explorer one by one, but I would like to know if there is a way to collapse all itens with only one operation. I want to know it because, today I have a solution with 6 projects... | 0 |
11,418,365 | 07/10/2012 17:08:02 | 1,033,422 | 11/07/2011 08:39:35 | 26 | 5 | wso2 identity server - password policies | Does WSO2 identity server support password policies like password ageing? I couldn't see anything relating to these features on the wso2 web site, or the identity server data sheet.
If not, is this functionality on the roadmap? | wso2 | null | null | null | null | null | open | wso2 identity server - password policies
===
Does WSO2 identity server support password policies like password ageing? I couldn't see anything relating to these features on the wso2 web site, or the identity server data sheet.
If not, is this functionality on the roadmap? | 0 |
4,226,046 | 11/19/2010 14:41:25 | 513,582 | 11/19/2010 14:28:05 | 1 | 0 | linux shellscripting bourne/bash | Created waste paper basket need to create if statement that allows users to remove files without them disappearing until the dustbin is emptied the script should print filenames one by one and ask user for confirmation that they should b deleted | linux | null | null | null | null | 11/19/2010 14:48:09 | not a real question | linux shellscripting bourne/bash
===
Created waste paper basket need to create if statement that allows users to remove files without them disappearing until the dustbin is emptied the script should print filenames one by one and ask user for confirmation that they should b deleted | 1 |
6,023,668 | 05/16/2011 21:28:24 | 71,420 | 02/26/2009 15:11:17 | 365 | 22 | RTP video stream: is presence of SDP file mandatory ? | I have implemented a raw rtp stream. I want to play it using VLC or Mplayer. But it seems that video players cannot play this stream.
For example MPlayer says:
Stream not seekable!
Stray packet (seq[6]=1013 seq=987, newseq=-26 found at 12)
I dont get any idea what I have to do, to make video readab... | video-streaming | rtp | null | null | null | null | open | RTP video stream: is presence of SDP file mandatory ?
===
I have implemented a raw rtp stream. I want to play it using VLC or Mplayer. But it seems that video players cannot play this stream.
For example MPlayer says:
Stream not seekable!
Stray packet (seq[6]=1013 seq=987, newseq=-26 found at 12)
... | 0 |
7,118,202 | 08/19/2011 07:19:23 | 196,038 | 10/25/2009 00:31:17 | 55 | 7 | Does anyone know what's the future of prototype JS "Dev Core team is missing" | I'm a big fan of prototype js library, I been using over 3 year now. but recently I have seen this library die slowly, and nobody from the dev core team, has answer the several questions from the mail list relate to this issue, I don't have another place to post this question.
I'm really glad for the work and effor... | javascript | prototypejs | null | null | null | 08/19/2011 17:24:31 | off topic | Does anyone know what's the future of prototype JS "Dev Core team is missing"
===
I'm a big fan of prototype js library, I been using over 3 year now. but recently I have seen this library die slowly, and nobody from the dev core team, has answer the several questions from the mail list relate to this issue, I don't h... | 2 |
5,227,779 | 03/08/2011 02:51:20 | 302,093 | 03/25/2010 21:11:31 | 170 | 13 | Adding a custom image to facebook like feature... | Howdy, This may seem like a [duplicate question][1] or it is easily answered [here][2] yet I remain utterly befuddled by how easy of a feature this is to implement and how much trouble I am having adding my image and finding a solution that works. I have been scouring to no avail. The two links provided above show the ... | php | image | facebook | links | meta | null | open | Adding a custom image to facebook like feature...
===
Howdy, This may seem like a [duplicate question][1] or it is easily answered [here][2] yet I remain utterly befuddled by how easy of a feature this is to implement and how much trouble I am having adding my image and finding a solution that works. I have been scour... | 0 |
284,189 | 11/12/2008 14:55:37 | 34,537 | 11/05/2008 03:00:23 | 57 | 2 | script for actionscript/flash and c++ | I havent used flash or action script much. I am planning a small project that i'd like to be online via flash but i'd like to reuse the code in my c/c++ projects
Is there a script language i can use? i am thinking lua or python. After googling i found flua which is incomplete and jython. Can i use java in flash? wou... | scripting | flash | c++ | null | null | null | open | script for actionscript/flash and c++
===
I havent used flash or action script much. I am planning a small project that i'd like to be online via flash but i'd like to reuse the code in my c/c++ projects
Is there a script language i can use? i am thinking lua or python. After googling i found flua which is incomple... | 0 |
8,091,877 | 11/11/2011 09:21:06 | 848,423 | 07/17/2011 06:05:09 | 144 | 0 | AI Engine, First Attempt | I notice that StackOverflow tends to collectively close down general questions on how to start learning stuff. OK, so a focussed question here:
I've set out to build an AI-engine that learns to play Tetris, i.e. an engine that can improve it's performance, perhaps by adjusting its heuristics, and so forth. Let's say t... | machine-learning | tetris | null | null | null | 11/12/2011 02:04:04 | off topic | AI Engine, First Attempt
===
I notice that StackOverflow tends to collectively close down general questions on how to start learning stuff. OK, so a focussed question here:
I've set out to build an AI-engine that learns to play Tetris, i.e. an engine that can improve it's performance, perhaps by adjusting its heurist... | 2 |
11,645,614 | 07/25/2012 08:28:55 | 1,465,563 | 06/19/2012 06:33:35 | 1 | 0 | How to achieve ItemSelection and IsMouseOver effect in ItemsControl WPF? | I am using ItemsControl in my application, applied Itemtemplate and ItemPanelTemplate to it with Scrollviwere style. All is fine. Binding is working pretty fine but here the issue is i want to select an Item in ItemsControl i am not able to do so as we do in Listbox using IsSelected property in triggers.
How can i... | wpf | wpf-usercontrols | null | null | null | null | open | How to achieve ItemSelection and IsMouseOver effect in ItemsControl WPF?
===
I am using ItemsControl in my application, applied Itemtemplate and ItemPanelTemplate to it with Scrollviwere style. All is fine. Binding is working pretty fine but here the issue is i want to select an Item in ItemsControl i am not able to ... | 0 |
4,530,951 | 12/25/2010 17:17:15 | 242,079 | 01/01/2010 22:57:13 | 322 | 2 | how can I change connectionstring in runtime | how can I change connectionstring in runtime?
| c# | null | null | null | null | 12/25/2010 17:55:42 | not a real question | how can I change connectionstring in runtime
===
how can I change connectionstring in runtime?
| 1 |
11,195,600 | 06/25/2012 19:00:18 | 1,479,014 | 06/25/2012 04:05:49 | 6 | 0 | Popup navigation on my website? | I was looking at http://www.steveferrisworld.com and was quite interested with how when you click on the links there is a popup page. I was wondering how to implement this and what the necessary code would be. Thank You. | php | javascript | html | css | null | 06/26/2012 01:00:33 | not a real question | Popup navigation on my website?
===
I was looking at http://www.steveferrisworld.com and was quite interested with how when you click on the links there is a popup page. I was wondering how to implement this and what the necessary code would be. Thank You. | 1 |
11,488,861 | 07/15/2012 02:14:20 | 1,262,000 | 03/11/2012 08:06:43 | 36 | 2 | Java Reflection library that has a function to create NewInstance for any Class with any Constructor | I am looking for a library that provides a function like this,
[invokeConstructor][1] in Java.
[1]: https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Reflector.java#L150 | java | oop | generics | reflection | null | 07/17/2012 04:35:51 | not constructive | Java Reflection library that has a function to create NewInstance for any Class with any Constructor
===
I am looking for a library that provides a function like this,
[invokeConstructor][1] in Java.
[1]: https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Reflector.java#L150 | 4 |
5,054,075 | 02/19/2011 22:58:28 | 624,805 | 02/19/2011 22:58:28 | 1 | 0 | WCF unmanaged memory consumption | I have written an in process hosted WCF service. After service startup i analyzed memory consumption of the service with ANTS memory profiler. Here is what profiler reports about memory usage:
Gen1: 1.5 MB
Gen2: 5.6 MB
Large Object Heap: 2.5 MB
Unused memory allocated to .NET: 11.8 MB
Unmanaged: 86.5 MB
The thing... | wcf | memory | unmanaged | usage | consumption | null | open | WCF unmanaged memory consumption
===
I have written an in process hosted WCF service. After service startup i analyzed memory consumption of the service with ANTS memory profiler. Here is what profiler reports about memory usage:
Gen1: 1.5 MB
Gen2: 5.6 MB
Large Object Heap: 2.5 MB
Unused memory allocated to .NET: ... | 0 |
3,276,489 | 07/18/2010 17:22:32 | 133,374 | 07/05/2009 15:29:28 | 929 | 33 | convert txt file with mixed spaces/tabs to tabs only (where possible) | I have some source code file which has mixed tabs/spaces and I want to convert it to a file where it has automatically replaced all indentation spaces by tabs for a given tab space length (i.e. for example tab = 2 spaces).
Any easy solution (with common Unix tools, MacOSX, bash or zsh)? Some sed script or Python com... | shell | tabs | whitespace | null | null | null | open | convert txt file with mixed spaces/tabs to tabs only (where possible)
===
I have some source code file which has mixed tabs/spaces and I want to convert it to a file where it has automatically replaced all indentation spaces by tabs for a given tab space length (i.e. for example tab = 2 spaces).
Any easy solution (... | 0 |
6,404,345 | 06/19/2011 18:32:39 | 558,961 | 12/31/2010 04:53:12 | 35 | 1 | SQLite Insert NullException? | For some reason my code returns a NullException when trying to insert into a table? I am extremely confused.
try{
if(contactsh.selectAll().size() > 0){
for(int i = 0; i < contactsh.selectAll().size() - 1; i++){
names[i] = contactsh.selectAll().get(i);
}
} els... | java | android | sql | database | nullpointerexception | null | open | SQLite Insert NullException?
===
For some reason my code returns a NullException when trying to insert into a table? I am extremely confused.
try{
if(contactsh.selectAll().size() > 0){
for(int i = 0; i < contactsh.selectAll().size() - 1; i++){
names[i] = contactsh.selectAll().ge... | 0 |
5,605,853 | 04/09/2011 15:16:03 | 693,489 | 04/05/2011 18:00:41 | 1 | 0 | What is JNI Graphics or how to use it? | In the NDk of Android there is a library named JNI Graphics. What is that. Can I use that to load Images for OpenGL Es with C / C++? | android | opengl-es | jni | android-ndk | null | null | open | What is JNI Graphics or how to use it?
===
In the NDk of Android there is a library named JNI Graphics. What is that. Can I use that to load Images for OpenGL Es with C / C++? | 0 |
11,487,202 | 07/14/2012 20:36:32 | 494,222 | 11/02/2010 02:12:24 | 344 | 18 | Complicated use of VPS to access internal system, using SSH tunnels |
I am not exactly sure what the best solution would be for this problem, but
I have a VPS with 3 ips. I have a unix system behind a home router with no ports forwarded. I want to be able to access myVPSIP:25566 and get the data on the internal system.
myVPS ---> internal system
How do I go about doing this, I... | ssh | vps | minecraft | ssh-tunnel | null | 07/16/2012 01:53:27 | off topic | Complicated use of VPS to access internal system, using SSH tunnels
===
I am not exactly sure what the best solution would be for this problem, but
I have a VPS with 3 ips. I have a unix system behind a home router with no ports forwarded. I want to be able to access myVPSIP:25566 and get the data on the internal... | 2 |
8,114,148 | 11/13/2011 19:42:39 | 1,026,738 | 11/02/2011 23:49:13 | 18 | 0 | PHP and SQL "Ghosts" in the system | A couple of you have already helped my with my problem with a PHP posting system. Now I have another problem. When I start it up and post on the friend-ed account and then sign into the other account I see this:
!["Ghosts"][1]
[1]: http://i.stack.imgur.com/IuShq.png
I'm not sure how to get rid of this but ... | php | sql | ghost | null | null | 11/13/2011 20:18:16 | too localized | PHP and SQL "Ghosts" in the system
===
A couple of you have already helped my with my problem with a PHP posting system. Now I have another problem. When I start it up and post on the friend-ed account and then sign into the other account I see this:
!["Ghosts"][1]
[1]: http://i.stack.imgur.com/IuShq.png
... | 3 |
10,922,960 | 06/06/2012 22:03:52 | 1,440,885 | 06/06/2012 22:01:40 | 1 | 0 | Successful online order sends reciept to network printer | Is there a script that when someone places a successful online order, it will send a command to a network printer to print of a receipt of the order? | php | javascript | mysql | script | online | 06/08/2012 23:03:50 | not a real question | Successful online order sends reciept to network printer
===
Is there a script that when someone places a successful online order, it will send a command to a network printer to print of a receipt of the order? | 1 |
11,568,522 | 07/19/2012 20:11:15 | 345,645 | 05/20/2010 01:39:45 | 583 | 9 | Javascript String Search Using String As Regex | I don't know about other Javascript engines, but in V8, including Chrome and [Node.js][1], `String.prototype.search` behaves in an unexpected fashion.
> "054".search("0.4")
0 // expected -1
> "Sample String 007".search("0.7")
14 // expected -1
> "Sample String 0.7".search("0.7")
14 // ex... | javascript | node.js | google-chrome | v8 | chromium | null | open | Javascript String Search Using String As Regex
===
I don't know about other Javascript engines, but in V8, including Chrome and [Node.js][1], `String.prototype.search` behaves in an unexpected fashion.
> "054".search("0.4")
0 // expected -1
> "Sample String 007".search("0.7")
14 // expected -1
... | 0 |
11,214,744 | 06/26/2012 19:36:23 | 576,262 | 01/14/2011 21:57:44 | 102 | 2 | (How c| C)an I use Graphics.CopyFromScreen to enable alpha transparent controls? | I am trying to use (and this may be my problem already) e.Graphics.CopyFromScreen() in the OnPaint() method of my control to prepare a background onto which I can draw the content of the control. The goal is a tool-tip with rounded corners and other specific features to replace the default Windows tool tip.
Ideally ... | vb.net | winforms | transparency | alpha-transparency | null | null | open | (How c| C)an I use Graphics.CopyFromScreen to enable alpha transparent controls?
===
I am trying to use (and this may be my problem already) e.Graphics.CopyFromScreen() in the OnPaint() method of my control to prepare a background onto which I can draw the content of the control. The goal is a tool-tip with rounded co... | 0 |
3,566,223 | 08/25/2010 13:21:00 | 407,388 | 07/06/2010 11:56:54 | 6 | 0 | passing argument 1 of strlen from incompatible pointer type | I am taking values from array and saving it in linked list as follows:
where formattedaddress is char array.
but it is giving me error "passing argument 1 of strlen from incompatible pointer type".
Can anyone help me in this.
NSString *formataddr=[RestaurantList objectAtIndex:0];
node1->formatte... | objective-c | null | null | null | null | null | open | passing argument 1 of strlen from incompatible pointer type
===
I am taking values from array and saving it in linked list as follows:
where formattedaddress is char array.
but it is giving me error "passing argument 1 of strlen from incompatible pointer type".
Can anyone help me in this.
NSString *fo... | 0 |
4,350,396 | 12/03/2010 22:23:33 | 347,421 | 05/21/2010 19:58:58 | 171 | 3 | TextBox focus problem in WPF. | I want to have focus in my <code>TextBox</code> after it is double-clicked.
I simply try:
<code>myTextBox.Focus()
</code>
The caret appears however it is not blinking, and no one can type in the text box.
What is the proper way to set the keyboard input focus on a <code>TextBox</code>?
Thanks in advanc... | c# | wpf | textbox | focus | double-click | null | open | TextBox focus problem in WPF.
===
I want to have focus in my <code>TextBox</code> after it is double-clicked.
I simply try:
<code>myTextBox.Focus()
</code>
The caret appears however it is not blinking, and no one can type in the text box.
What is the proper way to set the keyboard input focus on a <code>... | 0 |
2,965,513 | 06/03/2010 11:36:14 | 150,225 | 08/04/2009 09:25:22 | 391 | 3 | Drupal 6: getting particular fields from Node Reference types... | I'm a drupal newbie...
<?php print $node->field_date[0]['view']; ?>
I can get the custom created CCK fields' value and display in tpl.php files as above... that's fine.
my question is how can I get the Node reference fields' in-fields? for example, I have an event content type, and I have defined Node Re... | drupal | drupal-6 | field | drupal-theming | null | null | open | Drupal 6: getting particular fields from Node Reference types...
===
I'm a drupal newbie...
<?php print $node->field_date[0]['view']; ?>
I can get the custom created CCK fields' value and display in tpl.php files as above... that's fine.
my question is how can I get the Node reference fields' in-fields?... | 0 |
11,078,279 | 06/18/2012 07:07:42 | 1,462,945 | 06/18/2012 07:00:43 | 1 | 0 | Using Curl extension in PHP | I made the following configuration changes to my Wamp
downloaded curl library and placed it in the apache folder.
edited php.ini file in the bin folder of apache. after doing this i restarted wamp and got the following error
**PHP startup: Unable to load dynamic library
c:/wamp/bin/php/php5.4.3/ext/php_curl.dll - T... | php | apache | curl | wamp | null | 06/18/2012 07:21:29 | off topic | Using Curl extension in PHP
===
I made the following configuration changes to my Wamp
downloaded curl library and placed it in the apache folder.
edited php.ini file in the bin folder of apache. after doing this i restarted wamp and got the following error
**PHP startup: Unable to load dynamic library
c:/wamp/bin/... | 2 |
8,714,555 | 01/03/2012 15:30:30 | 742,465 | 05/06/2011 20:58:54 | 79 | 1 | Hardware idependent deployment of Windows (imaging) | I am looking for solution that will allow me to create an image of an entire operating system (e.g. already installed, with software etc - not something like WIM) and then have the ability to deploy this image on other machines with different hardware, so basically a hardware indepedent imaging software | windows | image | null | null | null | 01/03/2012 15:51:09 | off topic | Hardware idependent deployment of Windows (imaging)
===
I am looking for solution that will allow me to create an image of an entire operating system (e.g. already installed, with software etc - not something like WIM) and then have the ability to deploy this image on other machines with different hardware, so basical... | 2 |
9,851,522 | 03/24/2012 11:55:30 | 1,289,910 | 03/24/2012 11:49:19 | 1 | 0 | Need help regarding the concept for creating a site | I am working on a project which is similar to the following site:
[http://b2cjewels.com/Design-Own-Ring.aspx][1]
[1]: http://b2cjewels.com/Design-Own-Ring.aspx
I need to know a way to implement the diamond gallery shown on that page. I am an amateur developer and have very basic knowledge of C# and jquery. ... | c# | jquery | gridview | null | null | 03/24/2012 14:51:24 | not a real question | Need help regarding the concept for creating a site
===
I am working on a project which is similar to the following site:
[http://b2cjewels.com/Design-Own-Ring.aspx][1]
[1]: http://b2cjewels.com/Design-Own-Ring.aspx
I need to know a way to implement the diamond gallery shown on that page. I am an amateur d... | 1 |
11,566,592 | 07/19/2012 17:55:29 | 1,522,436 | 07/13/2012 02:29:10 | 1 | 0 | Map and reverse sublists scheme. | I am new to scheme. I wanted to write a function that reverses all the sub-lists in a list (but only the sublists of the top level). I tried to figure out if I could just filter the list and do the reverse before using map by doing:
(filter list? reverse '((1 2) 9 (16 5) 64))), but that just reverses to (16 5) (1 2). ... | map | scheme | reverse | null | null | null | open | Map and reverse sublists scheme.
===
I am new to scheme. I wanted to write a function that reverses all the sub-lists in a list (but only the sublists of the top level). I tried to figure out if I could just filter the list and do the reverse before using map by doing:
(filter list? reverse '((1 2) 9 (16 5) 64))), bu... | 0 |
11,421,840 | 07/10/2012 20:58:24 | 1,515,981 | 07/10/2012 20:42:32 | 1 | 0 | SSH not working, Connection refused | I'm at a bit of a loss here.
I cannot get ssh working on my machine. It's a plain old ubuntu home server. I took it down today to add a few more hard drives to it, now SSH is acting up.
I get connection refused.
ssh: connect to host localhost port 22: connection refused
ssh: connect to host 192.168.0... | linux | ubuntu | ssh | port | sshd | 07/10/2012 23:48:41 | off topic | SSH not working, Connection refused
===
I'm at a bit of a loss here.
I cannot get ssh working on my machine. It's a plain old ubuntu home server. I took it down today to add a few more hard drives to it, now SSH is acting up.
I get connection refused.
ssh: connect to host localhost port 22: connection re... | 2 |
3,477,252 | 08/13/2010 13:30:05 | 324,307 | 04/23/2010 15:04:42 | 124 | 11 | Best method for checking if IonCube Loader is installed | I'm using the following code:
<?php
if(extension_loaded("IonCube Loader") {
// Yes
}
else {
// No
}
?>
I'm just concerned that this won't work across every server with IonCube enabled. It seems pretty standard, but I've never needed to check before. Is this the best way ... | php | ioncube | null | null | null | null | open | Best method for checking if IonCube Loader is installed
===
I'm using the following code:
<?php
if(extension_loaded("IonCube Loader") {
// Yes
}
else {
// No
}
?>
I'm just concerned that this won't work across every server with IonCube enabled. It seems pretty standard,... | 0 |
1,263,544 | 08/11/2009 23:33:46 | 140,337 | 07/17/2009 18:09:26 | 24 | 0 | Why wont my php file "unlink" the txt file? | I think its my webhost dissallowing the function to execute. My question is why wont the two text files delete??? They are both set to 777, maybe i should change permission settings??
http://informationalinformation.info/fg/cron.php | php | unlink | delete | remove | error | 02/18/2012 02:46:58 | too localized | Why wont my php file "unlink" the txt file?
===
I think its my webhost dissallowing the function to execute. My question is why wont the two text files delete??? They are both set to 777, maybe i should change permission settings??
http://informationalinformation.info/fg/cron.php | 3 |
10,519,729 | 05/09/2012 15:59:04 | 1,189,101 | 02/04/2012 08:31:18 | 87 | 1 | How to convert milliseconds into minutes? | i got one more problem if any one have any solution please help me.
Ploblem is like this I want to convert milliseconds into minutes in javascript and then decrement minutes by 60000 milliseconds untill it reaches current time for which i am using this code:-
<?php
$date2 = date('Y-m-d H:i:s');
$cur... | javascript | null | null | null | null | null | open | How to convert milliseconds into minutes?
===
i got one more problem if any one have any solution please help me.
Ploblem is like this I want to convert milliseconds into minutes in javascript and then decrement minutes by 60000 milliseconds untill it reaches current time for which i am using this code:-
<?php... | 0 |
2,852,769 | 05/17/2010 20:59:15 | 5,274 | 09/08/2008 20:14:46 | 6,217 | 271 | Interview Questions: Is IDisposable hard to understand? | I've been interviewing a lot of .NET programmers lately and I haven't met one that knows what IDisposable is or what it is used for. Is it really unreasonable to expect someone with 4-6 years experience to know that? | .net | interview-questions | null | null | null | 11/30/2011 01:59:28 | not constructive | Interview Questions: Is IDisposable hard to understand?
===
I've been interviewing a lot of .NET programmers lately and I haven't met one that knows what IDisposable is or what it is used for. Is it really unreasonable to expect someone with 4-6 years experience to know that? | 4 |
9,805,024 | 03/21/2012 12:52:34 | 292,480 | 03/12/2010 16:26:13 | 368 | 3 | Session info inside Facebook app page is different than the same page but on my website (hosting the app) | I'm hosting my facebook app on my server ... I want to post a form [that should contain extra (not typed in by user) confidential info to recognize the user when the form is posted) ..
I've tried to save that on session inside my facebook app, when the form is submitted to my website (having target="_top") , I try ... | facebook | facebook-graph-api | null | null | null | null | open | Session info inside Facebook app page is different than the same page but on my website (hosting the app)
===
I'm hosting my facebook app on my server ... I want to post a form [that should contain extra (not typed in by user) confidential info to recognize the user when the form is posted) ..
I've tried to save t... | 0 |
6,367,681 | 06/16/2011 05:54:02 | 56,149 | 01/17/2009 10:09:52 | 604 | 18 | Line height problem in multi-language layout with Core Text | The attributed string is very simple, with three short lines of text one of which has two Chinese characters, and only one attribute - 17 point Helvetica font - covering the whole string.
It is then layouted with CTFramesetter and resultant frame is drawn with CTFrameDraw.
// UIView subclass
- (id)initWi... | ios | core-text | null | null | null | null | open | Line height problem in multi-language layout with Core Text
===
The attributed string is very simple, with three short lines of text one of which has two Chinese characters, and only one attribute - 17 point Helvetica font - covering the whole string.
It is then layouted with CTFramesetter and resultant frame is dr... | 0 |
3,176,324 | 07/04/2010 21:40:57 | 383,262 | 07/04/2010 21:40:57 | 1 | 0 | how to master c | what should I do to master the c programming language | c | language | programming | master | null | 07/04/2010 21:44:20 | not a real question | how to master c
===
what should I do to master the c programming language | 1 |
4,112,314 | 11/06/2010 07:20:36 | 322,020 | 04/21/2010 07:18:43 | 1,985 | 82 | Which syntax-highlighter with export to HTML to choose? | **Please, don't hurry to close because of duplicate before read this:**
I understand, that this question was already asked hundred times before. But this is why I started this post.When I was searching the answer, I had to read **too many Q/A**, which all are different in the form of "where" and "what language" must... | html | syntax-highlighting | null | null | null | 06/01/2012 11:02:46 | not constructive | Which syntax-highlighter with export to HTML to choose?
===
**Please, don't hurry to close because of duplicate before read this:**
I understand, that this question was already asked hundred times before. But this is why I started this post.When I was searching the answer, I had to read **too many Q/A**, which all ... | 4 |
9,646,990 | 03/10/2012 13:56:01 | 1,205,726 | 02/12/2012 22:07:21 | 65 | 0 | Programming 'C' Handler Unix Posix signals i dont understand this exercise? | I have this problem! in this exercise:
int finish = 0;
struct sigaction sa;
void handler () {finish = 1;}
int main () {/
sigset_t m;
sa.sa_handler = handler;
sigfillset (& sa.sa_mask);
sa.sa_flags = 0;
sigaction (... | c | unix | posix | signal-processing | signals | 03/10/2012 17:22:38 | not a real question | Programming 'C' Handler Unix Posix signals i dont understand this exercise?
===
I have this problem! in this exercise:
int finish = 0;
struct sigaction sa;
void handler () {finish = 1;}
int main () {/
sigset_t m;
sa.sa_handler = handler;
... | 1 |
8,602,487 | 12/22/2011 10:23:21 | 1,111,495 | 12/22/2011 10:05:19 | 1 | 0 | Getting after submitting form | hi Please help me on this.. after submitting html form with the help of following database setting to my data base i am setting error Undefined index: month in C:\xampp\htdocs\auto\insert_ac.php on line 14.
<?php
$host="localhost"; // Host name
$username="root"; // Mysql username`
$p... | forms | null | null | null | null | null | open | Getting after submitting form
===
hi Please help me on this.. after submitting html form with the help of following database setting to my data base i am setting error Undefined index: month in C:\xampp\htdocs\auto\insert_ac.php on line 14.
<?php
$host="localhost"; // Host name
$username... | 0 |
9,267,121 | 02/13/2012 19:56:49 | 329,082 | 04/29/2010 16:08:33 | 519 | 31 | Java Twitter API | What's the best (simple for user) Java API for Twitter connect.
I just want to make some posts from an aplication. | java | api | twitter | twitter-api | null | 02/13/2012 20:03:04 | not constructive | Java Twitter API
===
What's the best (simple for user) Java API for Twitter connect.
I just want to make some posts from an aplication. | 4 |
10,291,882 | 04/24/2012 04:49:26 | 749,872 | 05/12/2011 04:31:00 | 46 | 0 | How to deserialize json string in c++ without using any third party library | I am creating a application in vc++ to call webservice in json format,without using json library to serialize /deserialize the string .I am sending the json string by manually constructing it.Can anybody help me how I can deserialize the jason string without using any library in c++
Response
{
"Resu... | c++ | json | visual-c++ | null | null | 04/26/2012 07:21:08 | not a real question | How to deserialize json string in c++ without using any third party library
===
I am creating a application in vc++ to call webservice in json format,without using json library to serialize /deserialize the string .I am sending the json string by manually constructing it.Can anybody help me how I can deserialize the j... | 1 |
6,806,157 | 07/24/2011 10:03:00 | 847,810 | 07/16/2011 13:57:43 | 3 | 0 | must read c++ publications | 1. What are the prominent c++ online publications that an aspiring c++ must read? The Wall Street Journal projection from the financial world to the c++ world? I am less interested in blogs, but more solid, heavyweight, reviewed publications.
2. It looks to me that boost and templates are the new black, and there a... | c++ | null | null | null | null | 07/24/2011 10:15:03 | not constructive | must read c++ publications
===
1. What are the prominent c++ online publications that an aspiring c++ must read? The Wall Street Journal projection from the financial world to the c++ world? I am less interested in blogs, but more solid, heavyweight, reviewed publications.
2. It looks to me that boost and template... | 4 |
7,828,250 | 10/19/2011 21:14:31 | 303,681 | 03/28/2010 17:28:58 | 120 | 9 | How can I overcome the learning barrier | I know the question sounds so silly and irrelevant but I really need advice and support from the community.
I am a Python/Django developer came from a PHP background.
I am working in the commercial industry for 4 years but still I feel I don't know anything.
And when I see people around me become so strong in Py... | python | django | null | null | null | 10/19/2011 21:45:23 | off topic | How can I overcome the learning barrier
===
I know the question sounds so silly and irrelevant but I really need advice and support from the community.
I am a Python/Django developer came from a PHP background.
I am working in the commercial industry for 4 years but still I feel I don't know anything.
And when ... | 2 |
9,357,267 | 02/20/2012 06:55:02 | 1,220,401 | 02/20/2012 06:48:15 | 1 | 0 | i am writing adding two numbers code in eclipe for android .then following error comes in log cat | 02-20 12:13:10.868: E/AndroidRuntime(634): FATAL EXCEPTION: main
02-20 12:13:10.868: E/AndroidRuntime(634): java.lang.NumberFormatException: unable to parse '2 ' as integer
02-20 12:13:10.868: E/AndroidRuntime(634): at java.lang.Integer.parse(Integer.java:383)
02-20 12:13:10.868: E/AndroidRuntime(634): at java.lan... | android-emulator | null | null | null | null | 07/01/2012 23:18:38 | not a real question | i am writing adding two numbers code in eclipe for android .then following error comes in log cat
===
02-20 12:13:10.868: E/AndroidRuntime(634): FATAL EXCEPTION: main
02-20 12:13:10.868: E/AndroidRuntime(634): java.lang.NumberFormatException: unable to parse '2 ' as integer
02-20 12:13:10.868: E/AndroidRuntime(634):... | 1 |
8,371,228 | 12/03/2011 21:35:10 | 1,079,436 | 12/03/2011 21:25:24 | 1 | 0 | PHP included class not updating if modified | I create a simple class from a different file and include it
to a page that used to create an object of that class.
Everything works fine, the problems occurs is when I update
the class, I need to manually access the class from my browser
then the page that I create the object will get the latest modified class
or... | php | oop | class | autoload | null | null | open | PHP included class not updating if modified
===
I create a simple class from a different file and include it
to a page that used to create an object of that class.
Everything works fine, the problems occurs is when I update
the class, I need to manually access the class from my browser
then the page that I create ... | 0 |
10,577,875 | 05/14/2012 05:27:37 | 454,378 | 09/21/2010 19:58:31 | 196 | 11 | Is Accurev a distributed version control system? | 1. Is Accurev a distributed version control system such as Git or a centralized one such as SVN?
2. Does Accurev hold any advantages over Git or SVN? If so what are they? | git | svn | version-control | accurev | null | 05/15/2012 12:31:19 | not constructive | Is Accurev a distributed version control system?
===
1. Is Accurev a distributed version control system such as Git or a centralized one such as SVN?
2. Does Accurev hold any advantages over Git or SVN? If so what are they? | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.