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,508,573 | 07/16/2012 16:31:01 | 1,527,107 | 07/15/2012 15:55:00 | 6 | 0 | r SCRIPTS for plotting graphs | I have two columns in a table. How do i script in R to make a plot of all values of column 1 in x axis and column 2 in y axis?
The graph should have column 2 in x axis and column 1 in y axis | r | script | null | null | null | 07/17/2012 01:47:14 | not a real question | r SCRIPTS for plotting graphs
===
I have two columns in a table. How do i script in R to make a plot of all values of column 1 in x axis and column 2 in y axis?
The graph should have column 2 in x axis and column 1 in y axis | 1 |
168,931 | 10/03/2008 21:10:50 | 7,856 | 09/15/2008 14:33:04 | 1,000 | 45 | Unit testing the app.config file with NUnit | When you guys are unit testing an application that relies on values from an app.config file? How do you test that those values are read in correctly and how your program reacts to incorrect values entered into a config file?
It would be ridiculous to have to modify the config file for the NUnit app, but I can't rea... | .net | unit-testing | nunit | null | null | null | open | Unit testing the app.config file with NUnit
===
When you guys are unit testing an application that relies on values from an app.config file? How do you test that those values are read in correctly and how your program reacts to incorrect values entered into a config file?
It would be ridiculous to have to modify t... | 0 |
10,652,916 | 05/18/2012 12:46:02 | 1,393,117 | 05/14/2012 06:37:23 | 1 | 0 | RegistryKey GetValue return null C# | "byte[] digitalProductId = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Default).OpenSubKey(@"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\", false).GetValue("DigitalProductId", null, RegistryValueOptions.None) as byte[];" return null | c# | null | null | null | null | 05/18/2012 13:22:31 | not a real question | RegistryKey GetValue return null C#
===
"byte[] digitalProductId = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Default).OpenSubKey(@"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\", false).GetValue("DigitalProductId", null, RegistryValueOptions.None) as byte[];" return null | 1 |
9,450,236 | 02/26/2012 03:19:35 | 682,991 | 03/29/2011 23:02:25 | 119 | 1 | PHP @mkdir IE removes images | I am using the code:
function recurse_copy($src,$dst) {
$dir = opendir($src);
@mkdir($dst);
while(false !== ( $file = readdir($dir))){
if(($file != '.' ) && ( $file != '..' )){
if(is_dir($src . '/' . $file) ) {
recurse_copy($src . '/' . $file,$dst . '/' . $file);
}else {
... | php | internet-explorer | null | null | null | 02/26/2012 03:59:20 | not a real question | PHP @mkdir IE removes images
===
I am using the code:
function recurse_copy($src,$dst) {
$dir = opendir($src);
@mkdir($dst);
while(false !== ( $file = readdir($dir))){
if(($file != '.' ) && ( $file != '..' )){
if(is_dir($src . '/' . $file) ) {
recurse_copy($src . '/' . $file,$dst .... | 1 |
9,999,787 | 04/03/2012 19:11:09 | 1,064,728 | 11/24/2011 22:28:46 | 4,840 | 219 | Reverse projecting screenspace coordinate to world coordinates | I am working on an Android Application in which a 3d scene is displayed and the user should be able to select an area by clicking/tapping the screen. The scene is pretty much a planar (game) *board* on which different objects are placed.
Now, the problem is how do I get the clicked area on the board from the actual ... | android | opengl-es-2.0 | coordinate-transformation | null | null | null | open | Reverse projecting screenspace coordinate to world coordinates
===
I am working on an Android Application in which a 3d scene is displayed and the user should be able to select an area by clicking/tapping the screen. The scene is pretty much a planar (game) *board* on which different objects are placed.
Now, the pr... | 0 |
6,702,352 | 07/15/2011 03:17:23 | 672,178 | 03/23/2011 00:09:09 | 68 | 0 | A good tutorial, book, or exercises for newbies to learn SQL commands to create a forum(or anything) in php? | I've been reading a few tutorials on the internet (for example SQL for beginners on net tut) and I'm still having trouble understanding not only the commands ( Left join? In boolean mode?) but also the schema of one-to-many relationships.
I wouldn't say I'm confused. I have the basics down, I know 1-to-1 relationsh... | php | mysql | sql | null | null | 07/15/2011 07:25:26 | not constructive | A good tutorial, book, or exercises for newbies to learn SQL commands to create a forum(or anything) in php?
===
I've been reading a few tutorials on the internet (for example SQL for beginners on net tut) and I'm still having trouble understanding not only the commands ( Left join? In boolean mode?) but also the sche... | 4 |
8,076,301 | 11/10/2011 07:44:39 | 1,039,248 | 11/10/2011 07:42:47 | 1 | 0 | How to write this using regular expression? | May i know how to write this string (1,2,4-6,9,11-13,20) in regular expression?
Restrictions:-
1) Only numbers, comma and hyphen are allowed
2) no spaces are allowed
Thanks much! | regex | null | null | null | null | null | open | How to write this using regular expression?
===
May i know how to write this string (1,2,4-6,9,11-13,20) in regular expression?
Restrictions:-
1) Only numbers, comma and hyphen are allowed
2) no spaces are allowed
Thanks much! | 0 |
11,513,299 | 07/16/2012 22:08:11 | 530,144 | 12/04/2010 03:50:07 | 103 | 4 | Not able to post to friends wall with facebook sdk in ios | I have tried with openGraph and normal dialog as below,
`[facebook requestWithGraphPath:[NSString stringWithFormat:@"/%@/feed",@"friends_fb_id" ] andParams:variables andHttpMethod:@"POST" andDelegate:self];`
and
`[facebook dialog:@"feed" andParams:params andDelegate:self]`
I gave params for both meth... | ios | facebook | null | null | null | null | open | Not able to post to friends wall with facebook sdk in ios
===
I have tried with openGraph and normal dialog as below,
`[facebook requestWithGraphPath:[NSString stringWithFormat:@"/%@/feed",@"friends_fb_id" ] andParams:variables andHttpMethod:@"POST" andDelegate:self];`
and
`[facebook dialog:@"feed" and... | 0 |
6,452,766 | 06/23/2011 10:43:52 | 522,254 | 11/27/2010 13:07:35 | 51 | 5 | WCF wsdl string array | How do I tell WCF to make use of wsdl arrayType? Like this:
<complexType name="ArrayOfString">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="string[]"/>
</restriction>
</complexContent>
</complexTyp... | wcf | soap | wsdl | null | null | null | open | WCF wsdl string array
===
How do I tell WCF to make use of wsdl arrayType? Like this:
<complexType name="ArrayOfString">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="string[]"/>
</restriction>
</comple... | 0 |
6,613,511 | 07/07/2011 15:58:31 | 415,973 | 08/10/2010 09:22:16 | 584 | 8 | Read file and insert data into String[] | public static String[] words = null;
public static String readFile(String name) {
int i = 0;
try {
BufferedReader br = new BufferedReader(new FileReader(name));
try {
StringBuilder sb = new StringBuilder();
String line = br.readLin... | java | arrays | file-io | null | null | null | open | Read file and insert data into String[]
===
public static String[] words = null;
public static String readFile(String name) {
int i = 0;
try {
BufferedReader br = new BufferedReader(new FileReader(name));
try {
StringBuilder sb = new StringBuilder... | 0 |
11,713,874 | 07/29/2012 23:34:11 | 1,215,031 | 02/16/2012 23:10:03 | 93 | 0 | I want to develop simple 3d game for android/ios, what framework should I use? | The game will use simple 2D graphics with main gameplay focus on music and sound.
I want to use simplest(!) framework which allows to produce binaries for ios and android devices, and ability to create a flash executives is a plus. Price is a some concern for me too. Not that I cannot afford something under 500$, b... | android | ios | unity3d | corona | coronasdk | 07/31/2012 06:42:51 | not constructive | I want to develop simple 3d game for android/ios, what framework should I use?
===
The game will use simple 2D graphics with main gameplay focus on music and sound.
I want to use simplest(!) framework which allows to produce binaries for ios and android devices, and ability to create a flash executives is a plus. ... | 4 |
5,826,210 | 04/28/2011 23:24:06 | 417,872 | 08/12/2010 01:11:11 | 1,863 | 97 | Rails: Order with nulls last | In my Rails app I've run into an issue a couple times that I'd like to know how other people solve:
I have certain records where a value is optional, so some records have a value and some are null for that column.
If I order by that column on some databases the nulls sort first and on some databases the nulls sor... | ruby-on-rails | ruby-on-rails-3 | sorting | activerecord | null | null | open | Rails: Order with nulls last
===
In my Rails app I've run into an issue a couple times that I'd like to know how other people solve:
I have certain records where a value is optional, so some records have a value and some are null for that column.
If I order by that column on some databases the nulls sort first a... | 0 |
5,255,989 | 03/10/2011 05:49:04 | 652,950 | 03/10/2011 05:49:04 | 1 | 0 | how to add new algorithm to weka? | how to add new algorithm to weka? | weka | null | null | null | null | 03/10/2011 06:03:20 | not a real question | how to add new algorithm to weka?
===
how to add new algorithm to weka? | 1 |
5,645,109 | 04/13/2011 06:11:08 | 561,025 | 01/03/2011 08:56:05 | 64 | 1 | Different levels in custom variable | I have read the below link but iam unable to exactly understand the difference between the different levels of the custom variable. Can anyone help me understand this ??
http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html | google-analytics | null | null | null | null | 04/13/2011 18:00:04 | not a real question | Different levels in custom variable
===
I have read the below link but iam unable to exactly understand the difference between the different levels of the custom variable. Can anyone help me understand this ??
http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html | 1 |
3,203,721 | 07/08/2010 12:50:35 | 199,041 | 10/29/2009 16:05:35 | 64 | 2 | Account preferences in Android 2.2 per account, not account type | I'm developing an Android application and have one account authenticator with preferences.
But when I add two accounts of my type, then the preferences are shared between them. How can I define preferences, so that they could be set for each account separately?
Thanks in advance!
Przemek | android | android-2.2 | android-sdk-2.2 | null | null | null | open | Account preferences in Android 2.2 per account, not account type
===
I'm developing an Android application and have one account authenticator with preferences.
But when I add two accounts of my type, then the preferences are shared between them. How can I define preferences, so that they could be set for each account... | 0 |
8,004,373 | 11/04/2011 02:47:32 | 854,987 | 07/21/2011 00:29:05 | 17 | 0 | Would I use mod_rewrite to direct google to the correct country specific sitemap? e.g. domain.com/sitemap.xml and domain.co.uk/sitemap.xml | We have a site with identical content for two english speaking domains.
After searching around for the best way of handling this, we opted for google's recommendation of using country specific domain names - apparently Google will serve up the correct domain based on the user's location.
Unfortunately our CMS wi... | mod-rewrite | domain | sitemap | null | null | null | open | Would I use mod_rewrite to direct google to the correct country specific sitemap? e.g. domain.com/sitemap.xml and domain.co.uk/sitemap.xml
===
We have a site with identical content for two english speaking domains.
After searching around for the best way of handling this, we opted for google's recommendation of us... | 0 |
2,839,777 | 05/15/2010 10:40:10 | 103,089 | 05/07/2009 18:48:55 | 843 | 15 | Is a new thread in a Visual Studio test project aborted when the test ends? | i have to do some message exchange with a 3rd party (in a website).
When the client posts a page, i start the message exchange. When that doesn't succeed for some reason, i report this to the client by rendering the page with a message.
On the background, in a separate thread, i start a process to send abort messages... | c# | asp.net | multithreading | null | null | null | open | Is a new thread in a Visual Studio test project aborted when the test ends?
===
i have to do some message exchange with a 3rd party (in a website).
When the client posts a page, i start the message exchange. When that doesn't succeed for some reason, i report this to the client by rendering the page with a message.
... | 0 |
7,709,514 | 10/10/2011 07:08:02 | 987,196 | 10/10/2011 06:56:48 | 1 | 0 | Thirdparty Chat module for .NET | I need to integrate private chat module in an intranet like ASP.NET site, so that the users can chat privately one-to-one (like on Facebook). Integration with Active Directory and a HTML5-implementation would be a pro.
Any recommendations would be appreciated :-)
| c# | .net | chat | null | null | null | open | Thirdparty Chat module for .NET
===
I need to integrate private chat module in an intranet like ASP.NET site, so that the users can chat privately one-to-one (like on Facebook). Integration with Active Directory and a HTML5-implementation would be a pro.
Any recommendations would be appreciated :-)
| 0 |
8,726,849 | 01/04/2012 12:26:25 | 1,121,118 | 12/29/2011 12:12:34 | 1 | 0 | CoreData LightWeight Migration issues | **I have update the data base (sqlite file) adding new attribute/Entity in the core data model**
anybody know pls reply this ques | objective-c | core-data | null | null | null | 01/04/2012 20:29:13 | not a real question | CoreData LightWeight Migration issues
===
**I have update the data base (sqlite file) adding new attribute/Entity in the core data model**
anybody know pls reply this ques | 1 |
6,392,432 | 06/17/2011 22:25:08 | 478,573 | 10/17/2010 14:54:01 | 1,155 | 27 | Javascript error does not make sense | I broke the google map on this page :)
http://www.comehike.com/hikes/search_hikes.php?all=yes&when=f&redirect=yes
and it is giving me an error: placeHikesMarkers is not defined
If you ask me, it is defined :) What is the best way to debug JS in this case?
Thanks!! | javascript | google-maps | null | null | null | null | open | Javascript error does not make sense
===
I broke the google map on this page :)
http://www.comehike.com/hikes/search_hikes.php?all=yes&when=f&redirect=yes
and it is giving me an error: placeHikesMarkers is not defined
If you ask me, it is defined :) What is the best way to debug JS in this case?
Thanks!! | 0 |
8,913,749 | 01/18/2012 16:32:12 | 1,155,705 | 01/18/2012 08:12:19 | 1 | 0 | fb-comment - header bar not showing up | This is regarding the FB Comments as shown on this link:
[https://developers.facebook.com/docs/reference/plugins/comments/][1]
The 'example.com' example has a header bar with a comment drop down and an 'add a comment' link.
My website doesn't have that. It just shows my avatar and a comment box. Anyone know... | facebook | comments | null | null | null | null | open | fb-comment - header bar not showing up
===
This is regarding the FB Comments as shown on this link:
[https://developers.facebook.com/docs/reference/plugins/comments/][1]
The 'example.com' example has a header bar with a comment drop down and an 'add a comment' link.
My website doesn't have that. It just sho... | 0 |
3,209,428 | 07/09/2010 02:31:06 | 133,476 | 07/06/2009 01:42:49 | 243 | 7 | Has anyone used SecureBlackBox? | Has anyone used SecureBlackBox? It is a library that can be used with sockets to encrypt the data sent over the socket.
I have a project that uses it, and to send a packet of data which is around about 976Kb using the SecureBlackBox library it takes 12 seconds.
If I strip out the library and just use normal socke... | c# | security | sockets | null | null | null | open | Has anyone used SecureBlackBox?
===
Has anyone used SecureBlackBox? It is a library that can be used with sockets to encrypt the data sent over the socket.
I have a project that uses it, and to send a packet of data which is around about 976Kb using the SecureBlackBox library it takes 12 seconds.
If I strip out ... | 0 |
4,159,939 | 11/11/2010 22:34:04 | 167,477 | 09/02/2009 20:22:37 | 20 | 1 | Return PartialView in MVC3 Area is not searching in area | I am working on an ASP.Net MVC 3 RC project. I have one area named Drivers. I have a LoadPartial() action in a controller in the Drivers area that returns a PartialView(string, object); When this is returned I get an error on my webpage that says "The partial view 'PublicAttendanceCode' was not found." It searched th... | partial-views | asp.net-mvc3 | null | null | null | null | open | Return PartialView in MVC3 Area is not searching in area
===
I am working on an ASP.Net MVC 3 RC project. I have one area named Drivers. I have a LoadPartial() action in a controller in the Drivers area that returns a PartialView(string, object); When this is returned I get an error on my webpage that says "The part... | 0 |
11,447,397 | 07/12/2012 07:57:46 | 1,470,888 | 06/21/2012 02:44:53 | 1 | 0 | Codeigniter Error on sending email using PHPmailer | I have a problem regarding sending email using php mailer is there anyone here know how to solve this problem?
mail.megaworldcorp.com
250-SIZE 25600000
250-ETRN
250-ENHANCEDSTATUSCODES
250 8BITMIME
Failed to send AUTH LOGIN command. Error: 503 5.5.1 Error: authentication not enabled
... | javascript | codeigniter | phpmailer | null | null | 07/12/2012 17:13:30 | not a real question | Codeigniter Error on sending email using PHPmailer
===
I have a problem regarding sending email using php mailer is there anyone here know how to solve this problem?
mail.megaworldcorp.com
250-SIZE 25600000
250-ETRN
250-ENHANCEDSTATUSCODES
250 8BITMIME
Failed to send AUTH LOGIN comman... | 1 |
2,990,276 | 06/07/2010 14:19:57 | 20,820 | 09/23/2008 00:04:29 | 1,329 | 66 | URLs with query stripped of ampersands appearing in error logs | I've noticed a curious phenomena popping up in my error logs recently. If, as the result of processing a form, I redirect my users to the URL `http://www.example.com/index.php?foo=bar&bar=baz`, I will see the following two URLs in my log
http://www.example.com/index.php?foo=barbar=baz
http://www.example.co... | firefox | url | redirect | safari | null | null | open | URLs with query stripped of ampersands appearing in error logs
===
I've noticed a curious phenomena popping up in my error logs recently. If, as the result of processing a form, I redirect my users to the URL `http://www.example.com/index.php?foo=bar&bar=baz`, I will see the following two URLs in my log
http:/... | 0 |
3,973,964 | 10/20/2010 00:42:33 | 414,752 | 08/09/2010 06:09:53 | 8 | 1 | java launching multiple swingworkers from the same UI | **Brief description of UI and setup**
1)Plain vanilla frame, with button1 and button2 and textarea1 and textarea2
2)Button1 launches a continuous running task using a swingworker myswingworker1 and the swingworker's process method continually updates textarea1
3)Button2 launches a continuous running task using... | java | gui | swing | swingworker | continuous | 10/13/2011 06:26:28 | too localized | java launching multiple swingworkers from the same UI
===
**Brief description of UI and setup**
1)Plain vanilla frame, with button1 and button2 and textarea1 and textarea2
2)Button1 launches a continuous running task using a swingworker myswingworker1 and the swingworker's process method continually updates text... | 3 |
3,024,545 | 06/11/2010 16:39:40 | 27,305 | 10/13/2008 03:41:50 | 1,320 | 13 | wordpress extended_valid_elements for script tag? | Can someone tell me how to tell Wordpress' tinymce editor to NOT strip out script tags? I looked in wp-admin/includes/post.php and added
'extended_valid_elements'=>'script[charset|defer|language|src|type]',
to the $initArray.
When I do a view source on the CMS post editor, I see taht it does show up like... | wordpress | tinymce | null | null | null | null | open | wordpress extended_valid_elements for script tag?
===
Can someone tell me how to tell Wordpress' tinymce editor to NOT strip out script tags? I looked in wp-admin/includes/post.php and added
'extended_valid_elements'=>'script[charset|defer|language|src|type]',
to the $initArray.
When I do a view source ... | 0 |
5,990,745 | 05/13/2011 10:42:36 | 615,469 | 02/13/2011 21:45:51 | 6 | 0 | Get a list of shortest texts from a node list | I would like to get a list of items and types of the nodes with the shortest text. Using xslt / xpath.
I have the following sample xml:
<a>
<b>
<item>short</item>
<item>longest</item>
<item type="x">longest text</item>
<item type="x">short text</item>
<ite... | xml | xslt | xpath | null | null | null | open | Get a list of shortest texts from a node list
===
I would like to get a list of items and types of the nodes with the shortest text. Using xslt / xpath.
I have the following sample xml:
<a>
<b>
<item>short</item>
<item>longest</item>
<item type="x">longest text</item>
... | 0 |
4,682,821 | 01/13/2011 16:59:08 | 192,801 | 10/20/2009 02:54:27 | 9,084 | 480 | Oracle: Get a query to always return exactly one row, even when there's no data to be found | I have a query like this:
select data_name
into v_name
from data_table
where data_table.type = v_t_id
Normally, this query should return exactly one row. When there's no match on `v_t_id`, the program fails with a "No data found" exception.
I know I *could* handle this in PL/SQL,... | sql | oracle | null | null | null | null | open | Oracle: Get a query to always return exactly one row, even when there's no data to be found
===
I have a query like this:
select data_name
into v_name
from data_table
where data_table.type = v_t_id
Normally, this query should return exactly one row. When there's no match on `v_t_id... | 0 |
10,686,586 | 05/21/2012 13:52:23 | 382,788 | 07/03/2010 17:33:21 | 107 | 6 | restore current registered devices apple ios paid developer program | I have just accidentally removed all the registered devices in my Apple ios program. This invalidated my provisioning profiles (which was expected as clearly stated) as well as that if now, I try to add the same devices with the same name the number of devices that I can register **decreases instead of staying the same... | iphone | apple | uuid | restore | provisioning-profile | 05/22/2012 14:20:26 | off topic | restore current registered devices apple ios paid developer program
===
I have just accidentally removed all the registered devices in my Apple ios program. This invalidated my provisioning profiles (which was expected as clearly stated) as well as that if now, I try to add the same devices with the same name the numb... | 2 |
2,987,419 | 06/07/2010 06:16:20 | 333,181 | 05/05/2010 07:42:27 | 203 | 54 | New group in New column | I have a multi column report in crystal report.Is there any way to start each new group in new column in Crystal report in the same page? | c# | crystal | crystal-reports-2008 | null | null | null | open | New group in New column
===
I have a multi column report in crystal report.Is there any way to start each new group in new column in Crystal report in the same page? | 0 |
4,708,295 | 01/16/2011 21:48:25 | 301,250 | 03/24/2010 21:55:40 | 11 | 0 | Help! cant login to my forum after .htaccess changes | I'm running a phpbb forum and I installed an SEO friendly URL Mod. After I installed it I wasn't able to login as the admin nor any other users...
Well I've been messing around with this problem for a bit and I did find out that it was the .htaccess file that was causing me not to be able to login.
I found out... | .htaccess | phpbb | null | null | null | 04/14/2012 19:37:01 | off topic | Help! cant login to my forum after .htaccess changes
===
I'm running a phpbb forum and I installed an SEO friendly URL Mod. After I installed it I wasn't able to login as the admin nor any other users...
Well I've been messing around with this problem for a bit and I did find out that it was the .htaccess file tha... | 2 |
8,428,812 | 12/08/2011 09:31:10 | 947,191 | 09/15/2011 15:49:58 | 34 | 1 | Encryption and Decryption With Only Special characters | i have to Encrypt and decrypt a String but with only Special characters
i dont want alphanumeric to be part of encryption | c# | encryption | null | null | null | 12/08/2011 15:43:34 | not a real question | Encryption and Decryption With Only Special characters
===
i have to Encrypt and decrypt a String but with only Special characters
i dont want alphanumeric to be part of encryption | 1 |
3,110,926 | 06/24/2010 14:35:09 | 375,357 | 06/24/2010 14:20:55 | 1 | 0 | OpenCV - VideoWriter produces a video with a "repeated" image | I'm trying to process each frame in a pair of video files in OpenCV and then write the resulting frames to an output avi file. Everything works, except that the output video file looks strange: instead of one solid image, the image is repeated three times and horizontally compressed so all three copies fit into the win... | c++ | video | opencv | avi | writer | null | open | OpenCV - VideoWriter produces a video with a "repeated" image
===
I'm trying to process each frame in a pair of video files in OpenCV and then write the resulting frames to an output avi file. Everything works, except that the output video file looks strange: instead of one solid image, the image is repeated three tim... | 0 |
11,620,797 | 07/23/2012 21:29:01 | 1,546,946 | 07/23/2012 20:52:22 | 1 | 0 | Can't get user's email address with facebook login :( | I know this must be very easy, I am newbe and I have two days reading docummentation and surfing the net and I still don't know how to do this without using PHP.
I have the following code, taked from developers.facebook.com. It ask for permission to the user for get their email, so, how can I get it to save in a var... | javascript | facebook | email | login | null | 07/23/2012 21:43:14 | not a real question | Can't get user's email address with facebook login :(
===
I know this must be very easy, I am newbe and I have two days reading docummentation and surfing the net and I still don't know how to do this without using PHP.
I have the following code, taked from developers.facebook.com. It ask for permission to the user... | 1 |
4,055,615 | 10/29/2010 20:25:43 | 403,397 | 07/27/2010 12:52:50 | 105 | 1 | How do I link h-scroll, of a table header, with the h-scroll of a table body, without linking the v-scroll of the table body, with the table header? | Basically, what I would like is a fixed header, frozen pane, table, such as, http://www.cssplay.co.uk/menu/tablescroll.html. However, his tables have one key weakness. The header will not scroll horizontally with a body.
Here is a sample, based off the link above. However, the header clearly does not scroll left... | javascript | html | css | table | null | null | open | How do I link h-scroll, of a table header, with the h-scroll of a table body, without linking the v-scroll of the table body, with the table header?
===
Basically, what I would like is a fixed header, frozen pane, table, such as, http://www.cssplay.co.uk/menu/tablescroll.html. However, his tables have one key weaknes... | 0 |
8,623,197 | 12/24/2011 06:51:30 | 1,029,727 | 11/04/2011 13:10:36 | 434 | 37 | Upload image to the server without file upload control | Am currenty working on writing code in c# to handle some operation for our iphone app.These code files will be in our server and the url are used by iPhone team to call those specific files and ger their values.
Now am working on photo upload functionality.I have no idea how to proceed.In asp.net i used fileupload c... | c# | asp.net | null | null | null | null | open | Upload image to the server without file upload control
===
Am currenty working on writing code in c# to handle some operation for our iphone app.These code files will be in our server and the url are used by iPhone team to call those specific files and ger their values.
Now am working on photo upload functionality.... | 0 |
8,241,940 | 11/23/2011 12:10:15 | 970,636 | 09/29/2011 07:53:46 | 7 | 1 | Using auto-complete for palette model in wicket | Is there any possibility in wicket to make a palette acting as auto-complete? | java | autocomplete | wicket | null | null | null | open | Using auto-complete for palette model in wicket
===
Is there any possibility in wicket to make a palette acting as auto-complete? | 0 |
10,415,267 | 05/02/2012 13:57:56 | 1,370,161 | 05/02/2012 13:44:11 | 1 | 0 | JQuery or Javascript code to change the font of the last character in html text | I know it sounds odd, but I'd like to create an html class that will change the font of the **last** character in the tagged text.
while css lets you change the fontsize, color of the **first character** of some strings, there is sadly nothing to change the font of the last character.
Is it best to use the charAt... | jquery | string | fonts | null | null | null | open | JQuery or Javascript code to change the font of the last character in html text
===
I know it sounds odd, but I'd like to create an html class that will change the font of the **last** character in the tagged text.
while css lets you change the fontsize, color of the **first character** of some strings, there is sa... | 0 |
10,322,721 | 04/25/2012 19:49:21 | 1,216,697 | 02/17/2012 16:21:16 | 6 | 0 | How to obtain all of the data from a big database? | I have a MySQL database with more than 8 years in use. The count or records is more than 50000. I think that the design and structure of this DB is not the best and i want to pass all of the data to a new DB designed and created by me. I have a couple of options but no one of them convince me. Please give me options to... | mysql | database | null | null | null | 04/26/2012 13:27:22 | not a real question | How to obtain all of the data from a big database?
===
I have a MySQL database with more than 8 years in use. The count or records is more than 50000. I think that the design and structure of this DB is not the best and i want to pass all of the data to a new DB designed and created by me. I have a couple of options b... | 1 |
7,108,192 | 08/18/2011 13:28:39 | 900,688 | 08/18/2011 13:28:39 | 1 | 0 | HTML table data to Excel via jQuery | I've been looking around SO for a way to export HTML table data to a Excel, either .csv file or a .xls file, however none of them have properly worked so far.
The closed I have to a working version is this.
<table id="ReportTable">
<tr><td>blah</td></tr>
<tr><td>blahblah</td></tr>
</table>
<form ... | jquery | html | export-to-excel | null | null | null | open | HTML table data to Excel via jQuery
===
I've been looking around SO for a way to export HTML table data to a Excel, either .csv file or a .xls file, however none of them have properly worked so far.
The closed I have to a working version is this.
<table id="ReportTable">
<tr><td>blah</td></tr>
<tr><td>b... | 0 |
6,281,288 | 06/08/2011 15:24:45 | 276,351 | 02/18/2010 18:17:28 | 3 | 0 | Zend Framework. Fatal error | Help me, please. Zend Framework output error:
**Fatal error:** Uncaught exception 'Zend_Application_Resource_Exception' with message 'Bootstrap file found for module "messages" but bootstrap class "Messages_Bootstrap" not found' in /home/aqq10697/public_html/readder.ru/library/Zend/Application/Resource/Modules.php:8... | php | zend-framework | null | null | null | 06/08/2011 15:36:31 | not a real question | Zend Framework. Fatal error
===
Help me, please. Zend Framework output error:
**Fatal error:** Uncaught exception 'Zend_Application_Resource_Exception' with message 'Bootstrap file found for module "messages" but bootstrap class "Messages_Bootstrap" not found' in /home/aqq10697/public_html/readder.ru/library/Zend/A... | 1 |
4,260,658 | 11/23/2010 20:37:48 | 431,117 | 08/25/2010 19:25:28 | 40 | 2 | pluggin for struts2. | I have started learning struts2 and am using net-beans6.9. I have also downloaded a pluggin for struts2 developed by someone in the net-beans community.
However with this pluggin debugging is very difficult when it comes to mapping input parameters to to actions, working with ognl, using properties file, etc.
C... | java | eclipse | netbeans | ide | struts2 | 11/11/2011 12:51:41 | not constructive | pluggin for struts2.
===
I have started learning struts2 and am using net-beans6.9. I have also downloaded a pluggin for struts2 developed by someone in the net-beans community.
However with this pluggin debugging is very difficult when it comes to mapping input parameters to to actions, working with ognl, using pr... | 4 |
6,163,563 | 05/28/2011 18:23:18 | 618,465 | 02/15/2011 19:45:42 | 91 | 7 | Is it possible to wait until a toast has finished to resume the method? | In one of my methods, I have a `toast` that appears if the user gives the correct input. However, I do not want the next image to display until the toast has finished.
If I use `Thread.sleep(3000)` if does not allow the `toast` to show as the UI activity is asleep.
An example of what I am trying to do:
... | android | wait | toast | null | null | null | open | Is it possible to wait until a toast has finished to resume the method?
===
In one of my methods, I have a `toast` that appears if the user gives the correct input. However, I do not want the next image to display until the toast has finished.
If I use `Thread.sleep(3000)` if does not allow the `toast` to show as t... | 0 |
10,067,487 | 04/08/2012 23:44:22 | 1,191,286 | 02/05/2012 22:51:47 | 3 | 1 | How to make a clickable map in iOS | I've done this with Flash and Actionscript but does anyone know how I'd even begin to make a clickable map in iOS?
Is using cocos2d a good approach?
I want to make a clickable map of countries into a mini-game.
| objective-c | ios | null | null | null | 04/11/2012 14:26:26 | not a real question | How to make a clickable map in iOS
===
I've done this with Flash and Actionscript but does anyone know how I'd even begin to make a clickable map in iOS?
Is using cocos2d a good approach?
I want to make a clickable map of countries into a mini-game.
| 1 |
10,516,398 | 05/09/2012 12:45:16 | 736,170 | 05/03/2011 12:57:31 | 695 | 45 | Most concise String.Replace to mask a password | Let's say I have the following string:
"/encryption:aes128 /password:<PASSWORDHERE> /log:log.txt"
I need to write this to a log file but the password needs to be masked (replaced with asterisks for example).
I can do this easily with `String.IndexOf` and `String.Replace` in a few lines of code but I'm inte... | vb.net | string | null | null | null | 06/21/2012 20:42:53 | not constructive | Most concise String.Replace to mask a password
===
Let's say I have the following string:
"/encryption:aes128 /password:<PASSWORDHERE> /log:log.txt"
I need to write this to a log file but the password needs to be masked (replaced with asterisks for example).
I can do this easily with `String.IndexOf` and ... | 4 |
4,781,972 | 01/24/2011 12:30:35 | 517,234 | 11/23/2010 09:48:44 | 13 | 0 | Core Data Resources | Please give me some good resources based on Core Data...
Thanks. | iphone | data | core | null | null | null | open | Core Data Resources
===
Please give me some good resources based on Core Data...
Thanks. | 0 |
9,992,375 | 04/03/2012 11:32:25 | 305,270 | 03/30/2010 15:46:30 | 1,047 | 21 | DB2: [Error Code: -802, SQL State: 22023] [SQL0802] | Error translated from Portuguese to English: "Error data conversion or data format conversion."
I have created a view:
MNUM DECIMAL 8,0
create view db.abc as select * from x where decimal(SUBSTR(MNUM, 2,6), 6, 0) = 57092
the mnum looks like 1057092 in this example, SUB... | db2 | decimal | null | null | null | null | open | DB2: [Error Code: -802, SQL State: 22023] [SQL0802]
===
Error translated from Portuguese to English: "Error data conversion or data format conversion."
I have created a view:
MNUM DECIMAL 8,0
create view db.abc as select * from x where decimal(SUBSTR(MNUM, 2,6), 6, 0) = ... | 0 |
10,013,976 | 04/04/2012 15:09:43 | 974,608 | 10/01/2011 15:43:06 | 86 | 2 | Reorder columns with EF 4.3 Code-First Migrations | Reading both walkthroughs here:
http://blogs.msdn.com/b/adonet/archive/2012/02/09/ef-4-3-code-based-migrations-walkthrough.aspx
http://blogs.msdn.com/b/adonet/archive/2012/02/09/ef-4-3-automatic-migrations-walkthrough.aspx
I couldn't find a way to specify the order of the columns in the SQL data table. Looks l... | c# | entity-framework | entity-framework-4 | ef-code-first | code-first-migrations | null | open | Reorder columns with EF 4.3 Code-First Migrations
===
Reading both walkthroughs here:
http://blogs.msdn.com/b/adonet/archive/2012/02/09/ef-4-3-code-based-migrations-walkthrough.aspx
http://blogs.msdn.com/b/adonet/archive/2012/02/09/ef-4-3-automatic-migrations-walkthrough.aspx
I couldn't find a way to specify ... | 0 |
11,308,079 | 07/03/2012 09:27:56 | 1,497,800 | 07/03/2012 05:33:18 | 1 | 0 | set intervel time in javascript for loop |
//THis is a java script code part please i am passing function with the for loop but i want pass j values take 2sec time interval
for(var j=1; j<=n;j++)
{
setInterval(function(){calcRoute(ss,j); alert("time");},2000);
//this one is c... | javascript | null | null | null | null | 07/03/2012 09:33:09 | not a real question | set intervel time in javascript for loop
===
//THis is a java script code part please i am passing function with the for loop but i want pass j values take 2sec time interval
for(var j=1; j<=n;j++)
{
setInterval(function(){calcRoute(ss,j); a... | 1 |
2,398,879 | 03/08/2010 01:54:38 | 225,694 | 12/06/2009 08:31:52 | 9 | 0 | Console Based Java Source Code Application | I am looking forward for java Console based java application of approximately (3000) lines , but i am unable to find that , any help would be greatly appreciated ! | java | source | null | null | null | null | open | Console Based Java Source Code Application
===
I am looking forward for java Console based java application of approximately (3000) lines , but i am unable to find that , any help would be greatly appreciated ! | 0 |
38,615 | 09/01/2008 23:32:26 | 2,018 | 08/19/2008 20:14:45 | 538 | 54 | Up-to-date libFoundation alternative | I was wondering if there is a more up to date alternative to libFoundation (which hasn't been updated since 2001) to develop modern cross-platform Obj-C applications.
I don't need appKit features, only Foundation is needed.
I know about GNUStep, but I've only heard bad things about it. [The Cocotron](http://www.c... | linux | objectivec | crossplatform | null | null | 06/05/2012 16:35:46 | not constructive | Up-to-date libFoundation alternative
===
I was wondering if there is a more up to date alternative to libFoundation (which hasn't been updated since 2001) to develop modern cross-platform Obj-C applications.
I don't need appKit features, only Foundation is needed.
I know about GNUStep, but I've only heard bad th... | 4 |
5,426,024 | 03/24/2011 21:51:31 | 441,664 | 05/24/2010 20:05:22 | 347 | 4 | Hyperlink does not work first time. | 1. I have a link containing ID & name on the URL, based on the ID & name i returned image data from DB via asp.net method.
2. The link is not loading the image first time when the link is clicked, when you refresh again the image comes back.
Any thoughts? | asp.net | null | null | null | null | 03/25/2011 10:10:26 | not a real question | Hyperlink does not work first time.
===
1. I have a link containing ID & name on the URL, based on the ID & name i returned image data from DB via asp.net method.
2. The link is not loading the image first time when the link is clicked, when you refresh again the image comes back.
Any thoughts? | 1 |
10,650,502 | 05/18/2012 09:58:13 | 133,392 | 07/05/2009 16:42:32 | 533 | 11 | reading json object data | client.html
-----------
how can I write this json data retrieval in client end in order to loop out each box and the style inside it.
something like this just cannot work...
success: function(output) {
var records = output.data;
var str = "";
if(records){
alert(re... | jquery | arrays | json | object | null | null | open | reading json object data
===
client.html
-----------
how can I write this json data retrieval in client end in order to loop out each box and the style inside it.
something like this just cannot work...
success: function(output) {
var records = output.data;
var str = "";
... | 0 |
9,190,968 | 02/08/2012 09:53:36 | 638,357 | 02/28/2011 20:51:19 | 89 | 15 | Maven, NPanday, C#, Hudson and NUnit | This is more a development process discussion than an out and out question.
What do you all think should about the above tools being used together within a development team. would these tools fit together well and what about configuration (hard|simple).
I work for a company that needs to overhaul its development ... | c# | asp.net | nunit | continuous-integration | hudson | 02/09/2012 14:45:22 | not constructive | Maven, NPanday, C#, Hudson and NUnit
===
This is more a development process discussion than an out and out question.
What do you all think should about the above tools being used together within a development team. would these tools fit together well and what about configuration (hard|simple).
I work for a compa... | 4 |
5,471,050 | 03/29/2011 10:25:32 | 134,713 | 07/08/2009 05:51:58 | 2,923 | 100 | Interview question regarding the performance of a process | i have faced this question in a recent interview.
lets assume that we have a process and it can be run multiple instances.
after having some discussions we have decided that not more than 5 instances of the process w e can run in the environment.Now if such a process is given to me and i need to check all the poss... | c++ | performance | null | null | null | 12/03/2011 03:26:49 | not constructive | Interview question regarding the performance of a process
===
i have faced this question in a recent interview.
lets assume that we have a process and it can be run multiple instances.
after having some discussions we have decided that not more than 5 instances of the process w e can run in the environment.Now if ... | 4 |
10,719,379 | 05/23/2012 11:55:07 | 1,028,956 | 11/04/2011 02:31:07 | 171 | 5 | Polymorphic associations referencing user | I've set up projects, tasks, and subtasks, all of wich are commentable. I have created comments model and connected the models but don't know how to properly validate for user id and how to test model code using Rpsec and Factory Girl. I am also using Devise.
**Comments Migration**
1 class CreateComments < ... | ruby-on-rails | testing | polymorphism | null | null | null | open | Polymorphic associations referencing user
===
I've set up projects, tasks, and subtasks, all of wich are commentable. I have created comments model and connected the models but don't know how to properly validate for user id and how to test model code using Rpsec and Factory Girl. I am also using Devise.
**Comments... | 0 |
8,515,782 | 12/15/2011 06:00:08 | 974,380 | 10/01/2011 10:35:45 | 20 | 0 | read string of character and assign it to an array | I don't know how to work with scanf and get the input of it for the entry of the function readBigNum I want to make array until the user entered the Enter and also I want to write a function for assigning it into an array and return the size of the large number
I want readBigNum to exactly have the char *n but I can ... | c | arrays | null | null | null | null | open | read string of character and assign it to an array
===
I don't know how to work with scanf and get the input of it for the entry of the function readBigNum I want to make array until the user entered the Enter and also I want to write a function for assigning it into an array and return the size of the large number
... | 0 |
9,513,276 | 03/01/2012 09:00:09 | 1,242,213 | 03/01/2012 08:56:30 | 1 | 0 | sketching application in C# | I am building a Sketching application similar to MS-Paint in C#, such that If I click on a button that is supposed to draw circle, a circle of certain radius will appear in the middle of canvas or whatever position specified.
How can I possibly do this using C#? | c# | winforms | drawing | null | null | 03/01/2012 12:42:05 | not a real question | sketching application in C#
===
I am building a Sketching application similar to MS-Paint in C#, such that If I click on a button that is supposed to draw circle, a circle of certain radius will appear in the middle of canvas or whatever position specified.
How can I possibly do this using C#? | 1 |
4,152,119 | 11/11/2010 07:11:58 | 486,139 | 10/25/2010 07:09:57 | 13 | 5 | why Acivity view is giving "Runtime Execption"? | I want to show my next activity withing my previous activity layout "LinearLyout". But it is not working. Can any one help?
I put my last activity layout reference to a global class in an static variable. My code in next activity is as follow
>public onCreate(){
>View view = findViewById(R.layout.topstory_deta... | android | activity | android-intent | null | null | null | open | why Acivity view is giving "Runtime Execption"?
===
I want to show my next activity withing my previous activity layout "LinearLyout". But it is not working. Can any one help?
I put my last activity layout reference to a global class in an static variable. My code in next activity is as follow
>public onCreate()... | 0 |
8,439,981 | 12/09/2011 01:22:11 | 1,079,317 | 12/03/2011 19:16:45 | 3 | 0 | Getting data from c# into a text file | I have a visual winforms app that is a c# gui that is an inventory form for a music store. Is there a way to output all of the info into a .txt file and possibly automatically open on the screen. I am using Visual Studios 2010. | c# | visual-studio-2010 | gui | text-files | null | 12/09/2011 02:07:17 | not a real question | Getting data from c# into a text file
===
I have a visual winforms app that is a c# gui that is an inventory form for a music store. Is there a way to output all of the info into a .txt file and possibly automatically open on the screen. I am using Visual Studios 2010. | 1 |
8,690,663 | 12/31/2011 21:30:27 | 1,114,408 | 12/24/2011 08:45:07 | 43 | 0 | Created API for twitter to display latest 5 posts | is there created API for twitter to display latest 5 posts for non-wordpress website? I got website coded in php/html/css (without cms), and I need to add twitter box, where there is shown latest 5 tweets, from user. Is there any created API for this already? | php | javascript | null | null | null | 12/31/2011 23:48:07 | not a real question | Created API for twitter to display latest 5 posts
===
is there created API for twitter to display latest 5 posts for non-wordpress website? I got website coded in php/html/css (without cms), and I need to add twitter box, where there is shown latest 5 tweets, from user. Is there any created API for this already? | 1 |
9,059,217 | 01/30/2012 04:04:33 | 1,177,279 | 01/30/2012 03:38:33 | 1 | 0 | Can't call aspectj on jsp | I wanna weaving jsp file on tomcat6.
i write a aspect
public aspect LoggingAspect {
public pointcut requestcall() : call(* *.getParameter(..)) && within(LoggingAspect);
Object around() : requestcall() {
Signature sig = thisJoinPointStaticPart.getSignature();
System.out.println("Start2 [" + sig.get... | jsp | aspectj | null | null | null | null | open | Can't call aspectj on jsp
===
I wanna weaving jsp file on tomcat6.
i write a aspect
public aspect LoggingAspect {
public pointcut requestcall() : call(* *.getParameter(..)) && within(LoggingAspect);
Object around() : requestcall() {
Signature sig = thisJoinPointStaticPart.getSignature();
System.o... | 0 |
9,279,980 | 02/14/2012 15:55:51 | 1,193,573 | 02/07/2012 00:23:14 | 17 | 1 | textarea is endless , no limit | i really search on the internet, but i didnt reach anything.
i have a textarea with javascript.In this textarea, there is no limit, no scrollbar appears.
**You can see the normal view**
![enter image description here][1]
**However when i add too much text, textarea is going under.**
![enter image description... | javascript | null | null | null | null | null | open | textarea is endless , no limit
===
i really search on the internet, but i didnt reach anything.
i have a textarea with javascript.In this textarea, there is no limit, no scrollbar appears.
**You can see the normal view**
![enter image description here][1]
**However when i add too much text, textarea is going... | 0 |
8,576,143 | 12/20/2011 13:23:36 | 1,089,053 | 12/09/2011 04:31:19 | 1 | 0 | How was this maps made? | I'm interested in how was this made...I need some fresh start here to try to implement something similar on my own. Here is example: http://www.via-alpina.org/en/stage/114
Maps implementation is my question. Thanks All. | javascript | jquery | maps | null | null | 12/20/2011 13:36:44 | not a real question | How was this maps made?
===
I'm interested in how was this made...I need some fresh start here to try to implement something similar on my own. Here is example: http://www.via-alpina.org/en/stage/114
Maps implementation is my question. Thanks All. | 1 |
8,606,894 | 12/22/2011 16:32:06 | 274,715 | 02/16/2010 20:29:21 | 174 | 6 | Similar to Flex Builder any HTML and CSS building tools | I use flex builder for my flex applications . That approch work fine for flex apps .
But even if we want to built HTML and CSS based applications I use flex builder to create template ( for designing the page look and feel ) . Once the pages are nicely developed in Flex builder , I take them as blue prints and every... | html | css | flexbuilder | null | null | null | open | Similar to Flex Builder any HTML and CSS building tools
===
I use flex builder for my flex applications . That approch work fine for flex apps .
But even if we want to built HTML and CSS based applications I use flex builder to create template ( for designing the page look and feel ) . Once the pages are nicely dev... | 0 |
8,139,404 | 11/15/2011 16:11:05 | 687,836 | 04/01/2011 15:24:59 | 10 | 0 | Problems with charset in IE and Firefox | I have a problem with charset in IE and Firefox. In Chrome works well!!
In my database i use the latin1-general encoding, and in my page i use the <pre>charset=ISO-8859-1</pre>.
if I go directly from <http://www.gop.com.pt/gop.php> works well, but if I go through <http://www.gop.com.pt/> and choose GOP, the speci... | internet-explorer | firefox | character-encoding | null | null | 11/16/2011 02:11:03 | not a real question | Problems with charset in IE and Firefox
===
I have a problem with charset in IE and Firefox. In Chrome works well!!
In my database i use the latin1-general encoding, and in my page i use the <pre>charset=ISO-8859-1</pre>.
if I go directly from <http://www.gop.com.pt/gop.php> works well, but if I go through <http... | 1 |
2,228,703 | 02/09/2010 11:38:44 | 39,693 | 11/21/2008 15:40:40 | 2,090 | 133 | jQuery Intellisense Doesn't Work When Any Other JavaScript File Included | As the title says. If I include _any_ other javascript file alongside `jquery-1.4.1.js` then intellisense for jQuery ceases to work. Any ideas why this happens? As always, I've had a good search around but without any luck, it should *just* work.
Cheers | jquery | null | null | null | null | null | open | jQuery Intellisense Doesn't Work When Any Other JavaScript File Included
===
As the title says. If I include _any_ other javascript file alongside `jquery-1.4.1.js` then intellisense for jQuery ceases to work. Any ideas why this happens? As always, I've had a good search around but without any luck, it should *just*... | 0 |
8,162,429 | 11/17/2011 05:13:18 | 1,051,040 | 11/17/2011 04:58:52 | 1 | 0 | gmail is not open in chrome ....... error is | This webpage is not available
The webpage at https://mail.google.com/mail/?tab=wm might be temporarily down or it may have moved permanently to a new web address.
Error 201 (net::ERR_CERT_DATE_INVALID): Unknown error. | google | google-chrome | null | null | null | 11/17/2011 13:54:20 | off topic | gmail is not open in chrome ....... error is
===
This webpage is not available
The webpage at https://mail.google.com/mail/?tab=wm might be temporarily down or it may have moved permanently to a new web address.
Error 201 (net::ERR_CERT_DATE_INVALID): Unknown error. | 2 |
8,520,293 | 12/15/2011 12:42:23 | 236,188 | 12/21/2009 16:51:14 | 91 | 1 | Trimming new line characters via BASH | I would like to trim newline characters that do not occur above a particular text. In short I want it this way :
input txt file :
bar bar bar
_foo_
bar
bar bar bar
output txt file :
bar bar bar
_foo_
bar bar bar bar
That is a newline character is permissible only when the next line is _... | perl | bash | sed | awk | null | null | open | Trimming new line characters via BASH
===
I would like to trim newline characters that do not occur above a particular text. In short I want it this way :
input txt file :
bar bar bar
_foo_
bar
bar bar bar
output txt file :
bar bar bar
_foo_
bar bar bar bar
That is a newline character ... | 0 |
7,723,489 | 10/11/2011 08:50:59 | 568,414 | 01/08/2011 23:16:18 | 26 | 3 | Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0 Error | I have check this site for solutions but i didn't find something that can help me..
My Host Diabled the Custom Error on their Server, So now i can see the real errors.
My web site was working flawless in the **old Host**, But now i Moved to a **new host**
**Please pay attention:** The **Old host** was a **VPS** ... | asp.net | assembly | system.web.extensions | null | null | 10/12/2011 02:15:26 | too localized | Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0 Error
===
I have check this site for solutions but i didn't find something that can help me..
My Host Diabled the Custom Error on their Server, So now i can see the real errors.
My web site was working flawless in the **old Host**, But now... | 3 |
8,584,060 | 12/21/2011 01:22:58 | 1,106,211 | 12/19/2011 15:42:00 | 1 | 0 | How can a servlet receieve a web request and send a response back? | A servlet that is able to receive a web request containing some values and respond with some other values. Eg. It should be able to receive a web request containing a value “HELLO” and respond with “GOOD DAY”. | java | android | null | null | null | 12/21/2011 02:41:25 | not a real question | How can a servlet receieve a web request and send a response back?
===
A servlet that is able to receive a web request containing some values and respond with some other values. Eg. It should be able to receive a web request containing a value “HELLO” and respond with “GOOD DAY”. | 1 |
7,573,067 | 09/27/2011 17:13:45 | 588,498 | 01/25/2011 04:28:55 | 440 | 0 | Is it possible to have ruby 1.87 and ruby 1.9 installed and switch between them for different apps? How | I'm using different books to learn rails and they're all using different versions of ruby and rails. I've got instructions on how to load/use different versions of rails, but I don't know how to do it with ruby.
Can anyone tell me if this is possible and how to indicate which ruby I am using for each app?
i'm us... | ruby-on-rails | ruby | null | null | null | 11/16/2011 10:08:51 | off topic | Is it possible to have ruby 1.87 and ruby 1.9 installed and switch between them for different apps? How
===
I'm using different books to learn rails and they're all using different versions of ruby and rails. I've got instructions on how to load/use different versions of rails, but I don't know how to do it with ruby.... | 2 |
641,469 | 03/13/2009 04:31:55 | 72,372 | 03/01/2009 02:51:52 | 1 | 0 | "Pythonic" equivalent for handling switch and multiple string compares | Alright, so my title sucked. An example works better:
input = 'check yahoo.com'
I want to parse input, using the first word as the "command", and the rest of the string as a parameter. Here's the simple version of how my non-Pythonic mind is coding it:
if len(input) > 0:
a = input.split(' ')... | conditional | python | null | null | null | null | open | "Pythonic" equivalent for handling switch and multiple string compares
===
Alright, so my title sucked. An example works better:
input = 'check yahoo.com'
I want to parse input, using the first word as the "command", and the rest of the string as a parameter. Here's the simple version of how my non-Pythoni... | 0 |
8,252,886 | 11/24/2011 06:15:01 | 698,055 | 04/08/2011 05:37:37 | 6 | 0 | gluLookAt not affecting gluQuadric objects | In my C++ program, I am using a custom Camera class, which internally uses gluLookAt to move the "camera". This has worked fairly well, but I recently hit a bit of a snag: Any gluQuadric object (those drawn with gluSphere, gluCylinder, gluDisk, etc.) aren't properly moving. Instead, they stay locked in the same positio... | c++ | translation | glulookat | null | null | 11/25/2011 03:37:04 | not a real question | gluLookAt not affecting gluQuadric objects
===
In my C++ program, I am using a custom Camera class, which internally uses gluLookAt to move the "camera". This has worked fairly well, but I recently hit a bit of a snag: Any gluQuadric object (those drawn with gluSphere, gluCylinder, gluDisk, etc.) aren't properly movin... | 1 |
4,668,266 | 01/12/2011 11:31:06 | 300,011 | 03/23/2010 14:57:48 | 348 | 35 | How to change the label of the default value (-Any-) of an exposed filter in Drupal Views? | I created a view which has three exposed filters. Everything works fine except the fact that I can neither translate or change the default string (-Any-) for the dropdowns. Is there a way to change this string to something more meaningful like "Please Select" and make it translatable so the German version displays "Bit... | drupal | filter | views | exposed | null | null | open | How to change the label of the default value (-Any-) of an exposed filter in Drupal Views?
===
I created a view which has three exposed filters. Everything works fine except the fact that I can neither translate or change the default string (-Any-) for the dropdowns. Is there a way to change this string to something m... | 0 |
9,084,088 | 01/31/2012 17:28:47 | 1,180,805 | 01/31/2012 16:31:30 | 1 | 0 | how to check if a key of a record is used in other tables az foreign key ( sql )? | I have a table that its primary key "ID" field is used in many other table as foreign key.
so.. how can i realize that a record from this table ( for example first record "ID = 1" ) is used in other table ??
I don't want to select from all other tables to understand it cause tables are so many and relations either. I... | sql | sql-server | sql-server-2008 | null | null | null | open | how to check if a key of a record is used in other tables az foreign key ( sql )?
===
I have a table that its primary key "ID" field is used in many other table as foreign key.
so.. how can i realize that a record from this table ( for example first record "ID = 1" ) is used in other table ??
I don't want to select ... | 0 |
10,554,511 | 05/11/2012 15:39:42 | 1,257,980 | 03/08/2012 20:51:40 | 3 | 0 | How: Multiple Rails apps per VHost - Migrate from Passenger RailsBaseURI? | I'm migrating from apache/passenger to nginx/unicorn. I've successfully loaded nginix and hosting multiple sites with unicorn, but only one per domain.
In Passenger, one could host multiple rails apps under a single domain, via subfolders, and continue to host a single html file under root. For example:
<Vir... | ruby-on-rails | nginx | rack | unicorn | null | null | open | How: Multiple Rails apps per VHost - Migrate from Passenger RailsBaseURI?
===
I'm migrating from apache/passenger to nginx/unicorn. I've successfully loaded nginix and hosting multiple sites with unicorn, but only one per domain.
In Passenger, one could host multiple rails apps under a single domain, via subfolders... | 0 |
7,107,935 | 08/18/2011 13:10:29 | 900,652 | 08/18/2011 13:06:47 | 1 | 0 | setInterval change background div | i have code
function smena(){
$('.wrapper').animate({opacity:0},2500,function(){
setTimeout ($('.wrapper').animate({opacity:1},2500),5000)
});
}
$(document).ready(function(){
setInterval('smena();',10000);
});
why me a... | javascript | jquery | null | null | null | null | open | setInterval change background div
===
i have code
function smena(){
$('.wrapper').animate({opacity:0},2500,function(){
setTimeout ($('.wrapper').animate({opacity:1},2500),5000)
});
}
$(document).ready(function(){
setInterval('sm... | 0 |
8,978,353 | 01/23/2012 20:49:54 | 1,058,399 | 11/21/2011 18:46:21 | 21 | 2 | Looking for an international weather API with rain probability | So yeah, I'm trying to build something like "Do I need an Umbrella", but it seems there's no API available to get rain probability data for locations other than the US.
Does anyone know any weather APIs that **do** provide rain probability in their (preferrably XML) responses?
Edit: I literally just discovered The ... | php | xml | api | weather | null | 01/24/2012 21:00:51 | off topic | Looking for an international weather API with rain probability
===
So yeah, I'm trying to build something like "Do I need an Umbrella", but it seems there's no API available to get rain probability data for locations other than the US.
Does anyone know any weather APIs that **do** provide rain probability in their (p... | 2 |
2,850,975 | 05/17/2010 16:46:33 | 275,963 | 02/18/2010 10:28:12 | 1 | 0 | how to decode quoted-printable using java | <p>Can anyone please tell me how to decode quoted-printable using java. Actually i am reading mail from the server and fetching some data from mail using regex.My mail content type is text/html and because of which i am getting html tags along with the data and making very difficult for me to do the pattern matching. i... | java | null | null | null | null | 07/11/2012 12:46:40 | not a real question | how to decode quoted-printable using java
===
<p>Can anyone please tell me how to decode quoted-printable using java. Actually i am reading mail from the server and fetching some data from mail using regex.My mail content type is text/html and because of which i am getting html tags along with the data and making very... | 1 |
5,148,755 | 02/28/2011 23:18:19 | 638,473 | 02/28/2011 22:30:33 | 1 | 0 | Array Path Combinations | I'm not sure how to title the question I have so I can't be certain this hasn't been answered before. That said, following is a description of my programming question.
I have a class R containing 2 integer elements, say X and Y. I then have two 24 element arrays named A and B where each element contains an instance ... | .net | c++ | arrays | combinations | null | null | open | Array Path Combinations
===
I'm not sure how to title the question I have so I can't be certain this hasn't been answered before. That said, following is a description of my programming question.
I have a class R containing 2 integer elements, say X and Y. I then have two 24 element arrays named A and B where each ... | 0 |
2,500,569 | 03/23/2010 14:14:46 | 79,072 | 03/17/2009 15:55:08 | 21 | 2 | I am looking for a test CC test that will fail for certain dollar amounts/range | I am using Chase PaymenTech for my credit card processing. I am well aware of the typical test numbers that will work at all times. And I am aware of test numbers I can use that will fail all of the time. What I am looking for is a **test** credit card number that will work for my initial test of a dollar or less but t... | cc | testing | null | null | null | null | open | I am looking for a test CC test that will fail for certain dollar amounts/range
===
I am using Chase PaymenTech for my credit card processing. I am well aware of the typical test numbers that will work at all times. And I am aware of test numbers I can use that will fail all of the time. What I am looking for is a **t... | 0 |
1,439,208 | 09/17/2009 14:20:59 | 170,218 | 09/08/2009 14:24:47 | 1 | 0 | Can I use Content Deployment feature in WSS 3.0 | I'm really newbie with SharePoint stuff.
So I've been asked to move the content of a SharePoint WSS 3.0 (no MOSS installed, only the free version) test site to a development MOSS 2007 site. I've looked around for Content deployment jobs and stuff and tested it out with the MOSS dev site to our MOSS prod site. It worke... | wss-3.0 | wss | sharepoint | null | null | null | open | Can I use Content Deployment feature in WSS 3.0
===
I'm really newbie with SharePoint stuff.
So I've been asked to move the content of a SharePoint WSS 3.0 (no MOSS installed, only the free version) test site to a development MOSS 2007 site. I've looked around for Content deployment jobs and stuff and tested it out w... | 0 |
4,371,262 | 12/06/2010 21:47:08 | 310,291 | 03/02/2010 15:22:39 | 1,474 | 17 | C# opensource screen capture: after several hours screen capture becomes black | I have found an opensource software here
http://autoscreen.sourceforge.net/
After several hours all screen captures become black, though the software doesn't crash at all.
Is there any reason ? If yes any idea to fix this ? | c# | winforms | null | null | null | 12/06/2010 21:58:08 | off topic | C# opensource screen capture: after several hours screen capture becomes black
===
I have found an opensource software here
http://autoscreen.sourceforge.net/
After several hours all screen captures become black, though the software doesn't crash at all.
Is there any reason ? If yes any idea to fix this ? | 2 |
4,994,114 | 02/14/2011 15:45:51 | 398,889 | 07/22/2010 09:10:30 | 3 | 1 | PHP file management application | I am researching how to go about creating a web fronted file management application with a difference, and I'm a little stumped on one of the requirements I have.
I want my server to control file movement on remote servers but am not impressed with the speed of transfer I get out of samba/nfs mounts. For instance If... | php | bash | ssh | file-sharing | null | null | open | PHP file management application
===
I am researching how to go about creating a web fronted file management application with a difference, and I'm a little stumped on one of the requirements I have.
I want my server to control file movement on remote servers but am not impressed with the speed of transfer I get out... | 0 |
5,090,464 | 02/23/2011 11:49:17 | 562,350 | 01/04/2011 09:54:44 | 74 | 1 | what is the difference between public static synchronized and public static ? | as i said ,
what is the difference between
<code>public static synchronized ..</code> and
<code> public static </code>?
any example ? | java | null | null | null | null | null | open | what is the difference between public static synchronized and public static ?
===
as i said ,
what is the difference between
<code>public static synchronized ..</code> and
<code> public static </code>?
any example ? | 0 |
9,952,343 | 03/31/2012 01:52:23 | 1,231,813 | 02/24/2012 22:54:59 | 8 | 0 | Get a webpage 'object' in Javascript | There is a webpage online that has a vast field of data I need to record.
And like every normal person I don't want to do it by hand.
So, is it possible to 'import' a webpage 'object' that would give me access to the data fields". So like:
myWebpage.getElementById("field1").value;
would return the data in... | javascript | webpage | null | null | null | 04/18/2012 05:57:17 | not a real question | Get a webpage 'object' in Javascript
===
There is a webpage online that has a vast field of data I need to record.
And like every normal person I don't want to do it by hand.
So, is it possible to 'import' a webpage 'object' that would give me access to the data fields". So like:
myWebpage.getElementById(... | 1 |
4,720,351 | 01/18/2011 03:56:41 | 544,504 | 12/16/2010 09:02:13 | 1,310 | 119 | Removing three20 from my project got me "Symbol(s) not found" | I was trying to remove the Three20 framework from my project. I was pretty sure I deleted them thoroughly and right now in my project there was nothing depending on a "TT" class.
However, one strange warning:
> The 'myTableView' outlet of 'File's
> Owner' is connected to 'Table View'
> but 'UITableView' is not ... | iphone | objective-c | cocoa-touch | xcode | null | null | open | Removing three20 from my project got me "Symbol(s) not found"
===
I was trying to remove the Three20 framework from my project. I was pretty sure I deleted them thoroughly and right now in my project there was nothing depending on a "TT" class.
However, one strange warning:
> The 'myTableView' outlet of 'File's
... | 0 |
11,720,411 | 07/30/2012 11:17:32 | 1,035,201 | 11/08/2011 08:13:32 | 20 | 2 | Android NDK: Function va_start / va_end could not be resolved | I trying to use va_start and va_end functions in my project, but eclipse don't want to resolve it as functions. gcc compiles whole project without errors...
[myfile.cpp]
#include <stdio.h>
#include <stdarg.h>
[...]
inline void ShowDbgMsg( const char* str, ... )
{
va_list argptr;
... | android | android-ndk | null | null | null | null | open | Android NDK: Function va_start / va_end could not be resolved
===
I trying to use va_start and va_end functions in my project, but eclipse don't want to resolve it as functions. gcc compiles whole project without errors...
[myfile.cpp]
#include <stdio.h>
#include <stdarg.h>
[...]
inline void ... | 0 |
11,259,173 | 06/29/2012 09:19:58 | 1,368,254 | 05/01/2012 17:34:28 | 43 | 0 | Colour formatting according the type of the item in Excel 2010 | I started building an excel spreadsheet with a database of items in Microsoft Excel 2010. Those items have some fixed max values on its properties according the type of them. Those values are stored in another hidden table according the type of the item and of course are different in each of them. For example the hidde... | excel | formatting | null | null | null | null | open | Colour formatting according the type of the item in Excel 2010
===
I started building an excel spreadsheet with a database of items in Microsoft Excel 2010. Those items have some fixed max values on its properties according the type of them. Those values are stored in another hidden table according the type of the ite... | 0 |
10,795,907 | 05/29/2012 08:51:10 | 1,333,292 | 04/14/2012 12:58:18 | 202 | 25 | Android Using Services , newbie's curiosity | I want to know some basic, practical, things about Services, that are not explicitly mentioned in the Android Developers reference pages.
1. How can I call a service from another app, that has not even started?
2. How do I query which services are provided by other applications?
3. Are services allowed to use... | android | service | null | null | null | 05/29/2012 18:49:31 | too localized | Android Using Services , newbie's curiosity
===
I want to know some basic, practical, things about Services, that are not explicitly mentioned in the Android Developers reference pages.
1. How can I call a service from another app, that has not even started?
2. How do I query which services are provided by oth... | 3 |
4,917,761 | 02/07/2011 02:58:04 | 129,565 | 06/26/2009 17:36:41 | 429 | 20 | Metadata publishing for this service is currently disabled. |
Yes, I added `<serviceMetadata httpGetEnabled="True"/>`, and I have a mex endpoint defined
but it still won't work..
So I created a barebones service to host on IIS7. Fresh install of Windows 7 and VS2010.
I had followed the instructions of this page to the letter:
http://msdn.microsoft.com/en-us/librar... | .net | wcf | null | null | null | null | open | Metadata publishing for this service is currently disabled.
===
Yes, I added `<serviceMetadata httpGetEnabled="True"/>`, and I have a mex endpoint defined
but it still won't work..
So I created a barebones service to host on IIS7. Fresh install of Windows 7 and VS2010.
I had followed the instructions of t... | 0 |
10,876,159 | 06/04/2012 03:59:50 | 1,187,284 | 02/03/2012 10:34:08 | 166 | 3 | How to avoid theme (lite&dark) efects on windows phone applications? | Iam new to windows phone developmnet.
However i developed one windows phone 7 application.
After installed the app to my mobile device(in emulator too) iam experiencing the theme problem.
Means there are two themes in windows phone, LITE and DARK.
when i set my theme to dark and execute my app , it is ok to... | wpf | windows-phone-7 | themes | null | null | null | open | How to avoid theme (lite&dark) efects on windows phone applications?
===
Iam new to windows phone developmnet.
However i developed one windows phone 7 application.
After installed the app to my mobile device(in emulator too) iam experiencing the theme problem.
Means there are two themes in windows phone, LITE... | 0 |
7,080,144 | 08/16/2011 14:48:59 | 607,489 | 02/08/2011 02:39:12 | 3 | 0 | WCF, Silverlight 5, Self Tracking Entities, and (de)serialization | I am working on a Silverlight applicaiton. It uses WCF services to pass EF 4 Self Tracking Entities back and forth from client to server.
Read methods are working fine to serve the Trackable entity collections to the Silverlight client from the WCF services. Even basic updates are working correctly. I can modify a p... | silverlight | wcf | entity-framework-4 | self-tracking-entities | null | null | open | WCF, Silverlight 5, Self Tracking Entities, and (de)serialization
===
I am working on a Silverlight applicaiton. It uses WCF services to pass EF 4 Self Tracking Entities back and forth from client to server.
Read methods are working fine to serve the Trackable entity collections to the Silverlight client from the W... | 0 |
4,417,446 | 12/11/2010 15:39:29 | 380,403 | 06/30/2010 18:34:52 | 48 | 1 | php jquery like selector engine | Does anyone know a library that allows DOM traversing in strings using a jquery like selector engine?
Thanks | php | dom | jquery-selectors | traversing | null | null | open | php jquery like selector engine
===
Does anyone know a library that allows DOM traversing in strings using a jquery like selector engine?
Thanks | 0 |
8,156,458 | 11/16/2011 18:04:18 | 721,276 | 04/22/2011 23:57:19 | 2,630 | 71 | Struct performance and why we can't specify beforefieldinit | I came across a difference in speed using the following two structs:
public struct NoStaticCtor
{
private static int _myValue = 3;
public static int GetMyValue() { return _myValue; }
}
public struct StaticCtor
{
private static int _myValue;
public static ... | c# | .net | performance | clr | null | null | open | Struct performance and why we can't specify beforefieldinit
===
I came across a difference in speed using the following two structs:
public struct NoStaticCtor
{
private static int _myValue = 3;
public static int GetMyValue() { return _myValue; }
}
public struct StaticCtor
... | 0 |
5,106,093 | 02/24/2011 14:40:33 | 632,497 | 02/24/2011 14:40:33 | 1 | 0 | Get codebehind to create a complete JS section | I want my codebehind to dump a very large set of JS into the ASPX page. This is required, as I can't use external JS code for this component, and the code is also unique to each customer. Is it possible to do this from codebehind? I know how to set the value of text boxes etc. (.Text/.Value = xxx) but I can't see how I... | c# | javascript | asp.net | null | null | null | open | Get codebehind to create a complete JS section
===
I want my codebehind to dump a very large set of JS into the ASPX page. This is required, as I can't use external JS code for this component, and the code is also unique to each customer. Is it possible to do this from codebehind? I know how to set the value of text b... | 0 |
728,360 | 04/08/2009 03:01:06 | 49,695 | 12/29/2008 01:51:18 | 18 | 0 | Copying an Object in Javascript | I'd like a simple, straight-forward answer to this question. What better place on the web than to archive it here?
I have an object x. I'd like to copy it as object y, such that changes to y do not modify x.
What's the most elegant way of doing this in javascript? | javascript | null | null | null | null | null | open | Copying an Object in Javascript
===
I'd like a simple, straight-forward answer to this question. What better place on the web than to archive it here?
I have an object x. I'd like to copy it as object y, such that changes to y do not modify x.
What's the most elegant way of doing this in javascript? | 0 |
10,413,945 | 05/02/2012 12:38:30 | 1,252,987 | 03/06/2012 18:38:18 | 372 | 22 | Using iPhone retina image as iPad non-retina image, without duplication | if I have a universal app with 4 images as below
- iPhoneimage.png (50x50)
- iPhoneimage@2x.png (100x100)
- iPadimage.png (100x100)
- iPadimage@2x.png (200x200)
They are all the same image, just different sizes. As you can see the iPhone retina image is the same size as the iPad non-retina image.
Is... | iphone | ios | ipad | retinadisplay | null | null | open | Using iPhone retina image as iPad non-retina image, without duplication
===
if I have a universal app with 4 images as below
- iPhoneimage.png (50x50)
- iPhoneimage@2x.png (100x100)
- iPadimage.png (100x100)
- iPadimage@2x.png (200x200)
They are all the same image, just different sizes. As you can see... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.