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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6,872,657 | 07/29/2011 11:48:44 | 735,688 | 05/03/2011 07:44:51 | 22 | 0 | track active web links associated with the browser | I am developing a desktop application in python which track active web links associated with the browser. So how can i implement it?
Thanks in advance
Renjith Raj | python | tracking | null | null | null | 07/29/2011 12:20:13 | not a real question | track active web links associated with the browser
===
I am developing a desktop application in python which track active web links associated with the browser. So how can i implement it?
Thanks in advance
Renjith Raj | 1 |
4,497,925 | 12/21/2010 09:45:59 | 524,099 | 11/29/2010 16:02:26 | 3 | 1 | How to delete a row from UITableView | I'm trying to delete a row from my table view and so far have been unsuccessful. I keep getting this error
"Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update ... | iphone | objective-c | uitableview | null | null | null | open | How to delete a row from UITableView
===
I'm trying to delete a row from my table view and so far have been unsuccessful. I keep getting this error
"Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0. The number of rows containe... | 0 |
7,486,121 | 09/20/2011 13:40:44 | 641,867 | 03/02/2011 20:11:37 | 76 | 3 | Error Help: Microsoft VBScript runtime error '800a005e' | I'm getting the following error on this page for Standard Advert Listings (scroll down to the bottom): [http://www.inside-guides.co.uk/brentwood/fitness-sport-and-leisure/days-out.html][1]
This used to work fine without the error, so I can't see why all of a sudden it's throwing the error.
> Microsoft VBScript ru... | vb | vbscript | null | null | null | null | open | Error Help: Microsoft VBScript runtime error '800a005e'
===
I'm getting the following error on this page for Standard Advert Listings (scroll down to the bottom): [http://www.inside-guides.co.uk/brentwood/fitness-sport-and-leisure/days-out.html][1]
This used to work fine without the error, so I can't see why all of... | 0 |
9,308,719 | 02/16/2012 09:35:34 | 1,213,450 | 02/16/2012 09:23:08 | 1 | 0 | Search a string In Xml Files And Send Email | I have a simple batch file as below but I couldn't work successfuly,
I want to do this,
1. I have some xml file ( c:\xmlfile\*.xls )
2. I want to find a string in xml files ( FAILURE )
3. If I find this string, batch file send an email else nothing
@echo on
CD c:\xmlfile
findstr /C:"FAILURE" *
if %errorleve... | batch | null | null | null | null | 02/16/2012 23:00:35 | not a real question | Search a string In Xml Files And Send Email
===
I have a simple batch file as below but I couldn't work successfuly,
I want to do this,
1. I have some xml file ( c:\xmlfile\*.xls )
2. I want to find a string in xml files ( FAILURE )
3. If I find this string, batch file send an email else nothing
@echo on
CD ... | 1 |
4,081,806 | 11/02/2010 20:28:31 | 495,225 | 11/02/2010 20:28:31 | 1 | 0 | How to get C# Facebook sdk to response no matte profile language? | How do I get C # FACEBOOK SDK to always respond in the same language no matter what language the profile?
eg. relationship_status gives me "mand" (male in Danish) with a Danish profile, but "male" with an English profile. | c# | facebook | sdk | language | null | null | open | How to get C# Facebook sdk to response no matte profile language?
===
How do I get C # FACEBOOK SDK to always respond in the same language no matter what language the profile?
eg. relationship_status gives me "mand" (male in Danish) with a Danish profile, but "male" with an English profile. | 0 |
1,870,124 | 12/08/2009 21:56:13 | 184,085 | 10/04/2009 23:45:13 | 1 | 0 | drag a link over a batch (windows) | i like using %1 in my batch but dragging a link over from the broswer (chrome) doesnt work.
my batch is
echo %1
pause
| cmd | batch | windows-xp | null | null | null | open | drag a link over a batch (windows)
===
i like using %1 in my batch but dragging a link over from the broswer (chrome) doesnt work.
my batch is
echo %1
pause
| 0 |
3,891,233 | 10/08/2010 13:53:05 | 304,435 | 03/29/2010 17:29:01 | 200 | 1 | Expiring memcached using mysql proxy when an update occurs? | I have mysql Proxy running which takes a query, performs an md5 on it, and caches the result into a memcached DB. the problem occurs when an update happens in the rails app that would invalidate that cache. Any ideas on how to invalidate all of the proper keys in the cache at that time? | mysql | ruby-on-rails | memcached | mysql-proxy | null | null | open | Expiring memcached using mysql proxy when an update occurs?
===
I have mysql Proxy running which takes a query, performs an md5 on it, and caches the result into a memcached DB. the problem occurs when an update happens in the rails app that would invalidate that cache. Any ideas on how to invalidate all of the proper... | 0 |
8,120,803 | 11/14/2011 11:20:06 | 268,376 | 02/08/2010 02:10:13 | 472 | 17 | Embedded jetty + mysql ClassNotFoundException | For my project I use an embedded jetty server. It is configured through a osgi fragment: JettyCustomizer class.
In the customizer I call a JDBCUserRealm which uses the driver com.mysql.jdbc.Driver.
I tried everything. Bundle class path, build class path, -Djetty-classpath, jetty home lib, eclipse class path every... | mysql | embedded | jetty | null | null | null | open | Embedded jetty + mysql ClassNotFoundException
===
For my project I use an embedded jetty server. It is configured through a osgi fragment: JettyCustomizer class.
In the customizer I call a JDBCUserRealm which uses the driver com.mysql.jdbc.Driver.
I tried everything. Bundle class path, build class path, -Djetty-... | 0 |
3,142,183 | 06/29/2010 15:27:42 | 151,488 | 08/06/2009 02:43:12 | 3,378 | 111 | How to maximize the visibility of a plurilingual web site? | I've been told to understand how to maximize the visibility of an upcoming web application that is initially available in multiple languages, specifically French and English.
I am interested in understanding how the robots, like the google bot, scrapes a site that is available in multiple language.
I have a few q... | localization | search-engine | robots.txt | null | null | null | open | How to maximize the visibility of a plurilingual web site?
===
I've been told to understand how to maximize the visibility of an upcoming web application that is initially available in multiple languages, specifically French and English.
I am interested in understanding how the robots, like the google bot, scrapes ... | 0 |
9,500,479 | 02/29/2012 14:00:05 | 1,228,562 | 02/23/2012 14:16:20 | 1 | 0 | For n00b:Sending numeric data to plus another data then save summary Data in different View NSUserDefault | I am a real n00b in developing iOS app. This is my first application in my life and I really need some helps.
My app concept is running workout.
- When user click button 'start run', app will track a distance which inform users how far do they run in another view.
- Next, when the user click button 'Finish w... | ios | nsuserdefaults | null | null | null | 03/01/2012 20:43:45 | not a real question | For n00b:Sending numeric data to plus another data then save summary Data in different View NSUserDefault
===
I am a real n00b in developing iOS app. This is my first application in my life and I really need some helps.
My app concept is running workout.
- When user click button 'start run', app will track a di... | 1 |
9,315,707 | 02/16/2012 17:09:26 | 1,082,019 | 12/05/2011 17:36:29 | 19 | 0 | Java, a method declaration inside another method? | I'm studyin' some Java code written by my ex-colleague, and I've found something I cannot understand properly.
Here we have a method, getGeneAvailableTaxonomies(), that seems to contain a method call with its own declaration, accept().
Is it true? Is it possibile?
Here's the code part: I cannot understand the mean... | java | function | methods | null | null | null | open | Java, a method declaration inside another method?
===
I'm studyin' some Java code written by my ex-colleague, and I've found something I cannot understand properly.
Here we have a method, getGeneAvailableTaxonomies(), that seems to contain a method call with its own declaration, accept().
Is it true? Is it possibile... | 0 |
10,528,895 | 05/10/2012 06:57:14 | 1,201,492 | 02/10/2012 07:18:15 | 705 | 10 | How to get the URL of selected Tab | I want to appnd data dynamically in Jquery default tabs
but How I can get the selected tab
HTML:
<!DOCTYPE html>
<html>
<head>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis... | javascript | jquery | jquery-ui | jquery-ui-tabs | jquery-tabs | null | open | How to get the URL of selected Tab
===
I want to appnd data dynamically in Jquery default tabs
but How I can get the selected tab
HTML:
<!DOCTYPE html>
<html>
<head>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
... | 0 |
7,353,086 | 09/08/2011 18:59:09 | 909,456 | 08/24/2011 11:03:20 | 1 | 1 | fixing many of headers and cookies problems | Alsalam Alaykom
i still beginner in PHP but i found that one of the good things when you want to Avoid scripting headache is to turn output buffering on, specially that the script may work well in localhost but you face some troubles when you upload it to your site
simply at the top of your code before any HTML c... | php | null | null | null | null | 09/08/2011 20:50:44 | not a real question | fixing many of headers and cookies problems
===
Alsalam Alaykom
i still beginner in PHP but i found that one of the good things when you want to Avoid scripting headache is to turn output buffering on, specially that the script may work well in localhost but you face some troubles when you upload it to your site
... | 1 |
3,850,052 | 10/03/2010 14:03:36 | 379,888 | 06/30/2010 09:47:17 | 688 | 13 | Is starting a one-word function with a capital letter a good practise? | I have read in K&R that functions containing more than one word should be capitalized.Should one-word functions like prime(),be written as Prime()?Is this a good practise? | c | null | null | null | null | 10/04/2010 04:00:18 | not constructive | Is starting a one-word function with a capital letter a good practise?
===
I have read in K&R that functions containing more than one word should be capitalized.Should one-word functions like prime(),be written as Prime()?Is this a good practise? | 4 |
3,398,732 | 08/03/2010 16:47:15 | 134,372 | 07/07/2009 16:23:04 | 40 | 9 | Problem integrating Yale CAS with SharePoint 2010 | I downloaded the sample ASP.NET login page from here:
https://wiki.jasig.org/display/CASC/ASP.NET+Forms+Authentication
And got CAS working with a proof-of-concept ASP.NET site very quickly. Now that I am trying to use this login page with SharePoint 2010, I am having a hard time. After the redirect line:
Forms... | sharepoint2010 | null | null | null | null | null | open | Problem integrating Yale CAS with SharePoint 2010
===
I downloaded the sample ASP.NET login page from here:
https://wiki.jasig.org/display/CASC/ASP.NET+Forms+Authentication
And got CAS working with a proof-of-concept ASP.NET site very quickly. Now that I am trying to use this login page with SharePoint 2010, I ... | 0 |
10,076,984 | 04/09/2012 17:17:14 | 849,359 | 07/18/2011 04:43:33 | 278 | 2 | Pros/cons with requiring users to login to a site with Facebook | There seems to have been a backlash from users when Spotify (link below) required users to login with their FB accounts (perhaps only because they were paying customers?). Are users generally adversed to this? What has been your experience?
http://www.pcworld.com/article/240646/spotify_adds_facebook_requirement_ange... | facebook | facebook-graph-api | null | null | null | 04/10/2012 03:29:17 | not constructive | Pros/cons with requiring users to login to a site with Facebook
===
There seems to have been a backlash from users when Spotify (link below) required users to login with their FB accounts (perhaps only because they were paying customers?). Are users generally adversed to this? What has been your experience?
http://... | 4 |
4,081,559 | 11/02/2010 19:52:39 | 360,226 | 06/07/2010 09:08:20 | 22 | 0 | error handling for jquery editable plugin | I recently started using the jquery jeditable plugin for my asp.net mvc app. So far so good.
The last post at http://forums.asp.net/p/1541654/3789265.aspx has been incredibly useful and I ended up using it almost verbatim. However, the modeled error behavior is not quite right for my application. In case of an error... | jquery | jquery-plugins | exception-handling | jeditable | null | null | open | error handling for jquery editable plugin
===
I recently started using the jquery jeditable plugin for my asp.net mvc app. So far so good.
The last post at http://forums.asp.net/p/1541654/3789265.aspx has been incredibly useful and I ended up using it almost verbatim. However, the modeled error behavior is not quit... | 0 |
7,216,198 | 08/27/2011 17:37:35 | 915,709 | 08/27/2011 17:34:22 | 1 | 0 | Need a ans fr this with some explanation | > void main (){
> int i, j;
> for (i=0, j=5; j >0, i < 10; i ++, j--)
> printf(“\nClub Excel”);
> }
What will be the output? | c | loops | for-loop | null | null | 08/27/2011 17:44:26 | not a real question | Need a ans fr this with some explanation
===
> void main (){
> int i, j;
> for (i=0, j=5; j >0, i < 10; i ++, j--)
> printf(“\nClub Excel”);
> }
What will be the output? | 1 |
803,211 | 04/29/2009 16:33:17 | 1,311,500 | 09/21/2008 14:15:11 | 1,845 | 69 | How to get sp_executesql result into a variable? | I have a piece of dynamic sql I need to execute - I then need to store the result into a variable.
I know I can use **sp_executesql** but can't find clear examples around about how to do this.
Any help appreciated! | t-sql | sp-executesql | dynamic-sql | null | null | null | open | How to get sp_executesql result into a variable?
===
I have a piece of dynamic sql I need to execute - I then need to store the result into a variable.
I know I can use **sp_executesql** but can't find clear examples around about how to do this.
Any help appreciated! | 0 |
7,105,747 | 08/18/2011 10:10:38 | 1,389,515 | 06/23/2011 10:01:37 | 6 | 0 | How to change font color of the title in grouped type UITableView? | I have a grouped type tableview and it looks pretty cool.
But, if i change the background color of the table to black, the titles becomes unclear.
Is it possible to change the font color & its styles? So that i can make it as more readable. Should i implement the `tableView:viewForHeaderInSection:` method?
| iphone | uitableview | fonts | title | uitableviewstylegrouped | null | open | How to change font color of the title in grouped type UITableView?
===
I have a grouped type tableview and it looks pretty cool.
But, if i change the background color of the table to black, the titles becomes unclear.
Is it possible to change the font color & its styles? So that i can make it as more readab... | 0 |
7,224,632 | 08/28/2011 23:12:07 | 147,458 | 07/29/2009 22:10:32 | 754 | 20 | How to show a Game Center Achievement Notification | Is there a built in way to show a user a notification that they've earned a Game Center achievement? Similar to the notification that appears when they are authenticated?
I was surprised when I completed my achievement and did not see a notification in my game.
Thanks! | iphone | objective-c | ios | null | null | null | open | How to show a Game Center Achievement Notification
===
Is there a built in way to show a user a notification that they've earned a Game Center achievement? Similar to the notification that appears when they are authenticated?
I was surprised when I completed my achievement and did not see a notification in my game... | 0 |
3,657,887 | 09/07/2010 10:43:16 | 327,983 | 04/28/2010 14:51:48 | 49 | 3 | Grails - using subdomain of localhost on run-app | Is there any way of configuring the embedded tomcat (from run-app) to respond to myapp.localhost:8080 instead of localhost:8080/myapp ? | tomcat | grails | run-app | null | null | null | open | Grails - using subdomain of localhost on run-app
===
Is there any way of configuring the embedded tomcat (from run-app) to respond to myapp.localhost:8080 instead of localhost:8080/myapp ? | 0 |
11,048,403 | 06/15/2012 09:51:26 | 1,458,157 | 06/15/2012 08:26:00 | 1 | 0 | javascript convert object string to string | I cannot convert JS object to exact string, my code:
jsonObj['payment_value']=100.10;
jsonObj['payment_date']="2012-06-15";
jsonObjStr = JSON.stringify(jsonObj);
alert(jsonObjStr);
$.post("test", jsonObjStr.toString(), function(output){
alert(output);
});
first alert displ... | php | javascript | jquery | jsobject | null | null | open | javascript convert object string to string
===
I cannot convert JS object to exact string, my code:
jsonObj['payment_value']=100.10;
jsonObj['payment_date']="2012-06-15";
jsonObjStr = JSON.stringify(jsonObj);
alert(jsonObjStr);
$.post("test", jsonObjStr.toString(), function(output){
... | 0 |
5,112,670 | 02/25/2011 01:35:51 | 24,696 | 10/03/2008 00:23:34 | 902 | 17 | Desperately need Borland C++ library called cg16.lib | I have an old project from the 1990's I desperately need to compile. The linker keeps asking for the Code Guard library cg16.lib but I don't have the install disks for this anymore.
Does anyone have cg16.lib?
I am compiling with version 4.5 of Borland C++. Its an ancient product but still works! | c++ | borland | null | null | null | 02/25/2011 06:08:01 | off topic | Desperately need Borland C++ library called cg16.lib
===
I have an old project from the 1990's I desperately need to compile. The linker keeps asking for the Code Guard library cg16.lib but I don't have the install disks for this anymore.
Does anyone have cg16.lib?
I am compiling with version 4.5 of Borland C++.... | 2 |
11,743,342 | 07/31/2012 15:15:04 | 779,920 | 06/01/2011 17:47:46 | 781 | 30 | Compare two dates in PHP pulled from sql data base | I know there are many examples on stack of how to compare two dates in PHP but I can't get my code to work properly.
Currently I have two dates the cache date and the hit date. I am trying to set it up that if the cache date is more than 2 hours ago from the hit date it will then recache new info. I currently have d... | php | sql | date | null | null | null | open | Compare two dates in PHP pulled from sql data base
===
I know there are many examples on stack of how to compare two dates in PHP but I can't get my code to work properly.
Currently I have two dates the cache date and the hit date. I am trying to set it up that if the cache date is more than 2 hours ago from the hi... | 0 |
4,447,762 | 12/15/2010 07:44:14 | 441,343 | 09/07/2010 10:34:49 | 17 | 1 | object in html ie8 | i want to write object tag <object></object> inside a div tag.
1. <div id="abc">
I am here
<object id="Object1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400">......</object>
</div>
2. abc.InnerHTML = the object tag generated dynamically.
the method 1 works fine,... | html | object | internet-explorer-8 | null | null | 11/02/2011 00:48:27 | not a real question | object in html ie8
===
i want to write object tag <object></object> inside a div tag.
1. <div id="abc">
I am here
<object id="Object1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400">......</object>
</div>
2. abc.InnerHTML = the object tag generated dynamically.
... | 1 |
5,086,588 | 02/23/2011 03:06:15 | 407,756 | 08/01/2010 03:18:00 | 520 | 3 | How would you loop through a list of 100 names to check that a certain entry is not one of those values in PHP? | I have a certain input that when the user enters a word in needs to be checked against a list of 100 words. How would I loop through these words the easiest? Should I use a massive array? | php | arrays | loops | blacklist | null | null | open | How would you loop through a list of 100 names to check that a certain entry is not one of those values in PHP?
===
I have a certain input that when the user enters a word in needs to be checked against a list of 100 words. How would I loop through these words the easiest? Should I use a massive array? | 0 |
706,905 | 04/01/2009 18:55:09 | 73,637 | 03/04/2009 11:40:14 | 3 | 0 | Indexing in Sql Server | What is Clustured and non clustured indexing? How to index a table using sql server 2000 Enterprise manager? thanks in advance for your kind reply.. | sql | server | null | null | null | null | open | Indexing in Sql Server
===
What is Clustured and non clustured indexing? How to index a table using sql server 2000 Enterprise manager? thanks in advance for your kind reply.. | 0 |
11,083,088 | 06/18/2012 12:38:57 | 1,016,403 | 10/27/2011 11:50:55 | 418 | 0 | is filtergrid available in gxt version 2.2.3? | I am using gxt version 2.2.3. i wanted to use filtergrid available on examples demo http://www.sencha.com/examples/#ExamplePlace:filtergrid. is it available in 2.2.3 version?
Thanks! | gwt | gxt | ext-gwt | null | null | null | open | is filtergrid available in gxt version 2.2.3?
===
I am using gxt version 2.2.3. i wanted to use filtergrid available on examples demo http://www.sencha.com/examples/#ExamplePlace:filtergrid. is it available in 2.2.3 version?
Thanks! | 0 |
1,729,582 | 11/13/2009 14:33:32 | 117,791 | 06/05/2009 05:10:24 | 20 | 0 | Download big images from http://images.google.ru | I'm trying to download images from http://images.google.com.
Its easy to download small images. But maybe someone know how to download big images that come from another site?
Greate thanks for the possible answer
best
Vladimir | google | image | null | null | null | null | open | Download big images from http://images.google.ru
===
I'm trying to download images from http://images.google.com.
Its easy to download small images. But maybe someone know how to download big images that come from another site?
Greate thanks for the possible answer
best
Vladimir | 0 |
6,198,593 | 06/01/2011 08:56:07 | 12,653 | 09/16/2008 15:08:20 | 148 | 4 | Connecting to remote TFS 2010 instance gives TF30063 error | I connect to a remote TFS 2010 instance using Visual Studio 2010. I can Get Latest for all files within a particular project except for one database backup file. When I try to Get Latest on this file I get the following error:
TF30063: You are not authorized to access Microsoft-IIS/6.0
I've tried clearing my lo... | iis | tfs | iis6 | tfs2010 | null | null | open | Connecting to remote TFS 2010 instance gives TF30063 error
===
I connect to a remote TFS 2010 instance using Visual Studio 2010. I can Get Latest for all files within a particular project except for one database backup file. When I try to Get Latest on this file I get the following error:
TF30063: You are not aut... | 0 |
5,774,836 | 04/25/2011 03:13:29 | 235,182 | 12/19/2009 16:37:50 | 119 | 12 | Javascript - move decimal? | In javascript, I want to define where the decimal place goes. I can only really show it in example...
Lets say the input value is 1234.
I want the output to be 123.4
Or, if the input is 12345, I want the output to be 123.45.
Or, if the input is 123456, I want the output to be 123.456. You get the picture.
... | javascript | decimal | move | null | null | null | open | Javascript - move decimal?
===
In javascript, I want to define where the decimal place goes. I can only really show it in example...
Lets say the input value is 1234.
I want the output to be 123.4
Or, if the input is 12345, I want the output to be 123.45.
Or, if the input is 123456, I want the output to be ... | 0 |
6,297,347 | 06/09/2011 18:14:13 | 782,820 | 06/03/2011 14:08:45 | 13 | 3 | Is OpenCart more or less secure than Zen-cart for a web site shopping cart solution? | We are about to integrate the OpenCart web site shopping cart solution and I was wondering if it was secure enough and if Zen-cart was considered a more secure option. Are these systems reasonably robust against exploits? I know nothing is 100% secure but I was wondering where these free solutions stand regarding secur... | php | security | web-applications | website | shopping-cart | 06/12/2011 14:12:22 | off topic | Is OpenCart more or less secure than Zen-cart for a web site shopping cart solution?
===
We are about to integrate the OpenCart web site shopping cart solution and I was wondering if it was secure enough and if Zen-cart was considered a more secure option. Are these systems reasonably robust against exploits? I know n... | 2 |
301,203 | 11/19/2008 06:58:56 | 3,594 | 08/29/2008 08:46:29 | 764 | 24 | Extract C++ template parameters | Although I'm doubtful, I'm curious as to whether it's possible to extract primitive-type template parameters from an existing type, perhaps using RTTI.
For example:
std::bitset<16> WordSet;
WordSet oh_my_word;
Would it be possible to extract the number 16 in the above code without hard-coding it elsew... | c++ | templates | rtti | null | null | null | open | Extract C++ template parameters
===
Although I'm doubtful, I'm curious as to whether it's possible to extract primitive-type template parameters from an existing type, perhaps using RTTI.
For example:
std::bitset<16> WordSet;
WordSet oh_my_word;
Would it be possible to extract the number 16 in the ab... | 0 |
9,560,075 | 03/04/2012 23:58:50 | 1,247,537 | 03/04/2012 00:37:46 | 36 | 4 | Function returns "undefined" while alert() gives proper value | I want to ask you what can cause this problem: I want to get a value calculated in function, and when I get it as returned value it returns "undefined", but if I replace `return value` by `alert(value)`, it works.
Code for better explanation what I mean:
That one does not work - returns "undefined"
functio... | javascript | jquery | null | null | null | 03/05/2012 15:18:29 | too localized | Function returns "undefined" while alert() gives proper value
===
I want to ask you what can cause this problem: I want to get a value calculated in function, and when I get it as returned value it returns "undefined", but if I replace `return value` by `alert(value)`, it works.
Code for better explanation what I m... | 3 |
10,473,338 | 05/06/2012 19:03:05 | 1,345,427 | 04/20/2012 01:46:53 | 1 | 0 | Simple PHP decoder | I newbie in PHP world, so I need some help : )
Let's say we have the following string:
o.6.m.i.m.s.x.2.q.w.s.c.1.r.8.5.
This needs to be decoded using the some rule:
*Note: dots (.) doesn't count.*
And this is our base line (used in the rule):
0123456789abcdefghijklmnopqrstuvwxyz
The rules:... | php | string | algorithm | decode | null | 05/06/2012 19:11:12 | too localized | Simple PHP decoder
===
I newbie in PHP world, so I need some help : )
Let's say we have the following string:
o.6.m.i.m.s.x.2.q.w.s.c.1.r.8.5.
This needs to be decoded using the some rule:
*Note: dots (.) doesn't count.*
And this is our base line (used in the rule):
0123456789abcdefghijklmnop... | 3 |
1,759,664 | 11/18/2009 22:38:20 | 91,258 | 04/15/2009 19:02:26 | 90 | 4 | .Net AES Encryption - Universally Accepted Pad Setting | I have a .Net web service that processes AES encrypted data. The consumers of my service agree on a key/IV pair with me and that way we can pass data securely. I have a consumer using PHP that is using mcrypt to encrypt. mcrypt is padding with NULLs. I was not setting a pad (NONE) and therefore not able to decrypt ... | .net | aes | padding | null | null | null | open | .Net AES Encryption - Universally Accepted Pad Setting
===
I have a .Net web service that processes AES encrypted data. The consumers of my service agree on a key/IV pair with me and that way we can pass data securely. I have a consumer using PHP that is using mcrypt to encrypt. mcrypt is padding with NULLs. I was... | 0 |
10,309,042 | 04/25/2012 03:40:33 | 758,906 | 05/18/2011 09:20:12 | 193 | 1 | Continous Executon of Application | I am trying to build an e-commerce java web application, I am running into an issue for booking/purchasing items from the store. Each item can only be purchased once, my issue is that users on two different machines might be purchasing the same item, and for that I was thinking of synchronization. I don't quite underst... | java | web-applications | synchronization | null | null | null | open | Continous Executon of Application
===
I am trying to build an e-commerce java web application, I am running into an issue for booking/purchasing items from the store. Each item can only be purchased once, my issue is that users on two different machines might be purchasing the same item, and for that I was thinking of... | 0 |
6,955,145 | 08/05/2011 10:51:52 | 864,112 | 07/26/2011 18:57:46 | 107 | 1 | What structures to use to create constant access time immutable table in Scala? | Does Scala have any sort of classes that can deal with this? I was considering using an Array[Array[_]], since it would fit my needs quite well.
What other options do I have? Using a Map[(Int,Int),_] will be too slow, I believe, since it has linear access time. | table | scala | collections | null | null | null | open | What structures to use to create constant access time immutable table in Scala?
===
Does Scala have any sort of classes that can deal with this? I was considering using an Array[Array[_]], since it would fit my needs quite well.
What other options do I have? Using a Map[(Int,Int),_] will be too slow, I believe, sin... | 0 |
926,344 | 05/29/2009 14:44:04 | 62,699 | 02/05/2009 00:58:41 | 2,493 | 188 | VBA introductory book for non programmer recommendation | A coleague of mine has shown interest in learning a little about vba scripting. Unfortunatelly, I don't have time to show her, and even if I did, I'm horrible at explaining things to people.
Can you recommend a good VBA book for someone who's never done any programming, that is, has a nice easy approach with lots of... | vba | excel | excel-vba | books | null | 07/10/2012 20:07:01 | not constructive | VBA introductory book for non programmer recommendation
===
A coleague of mine has shown interest in learning a little about vba scripting. Unfortunatelly, I don't have time to show her, and even if I did, I'm horrible at explaining things to people.
Can you recommend a good VBA book for someone who's never done an... | 4 |
8,559,233 | 12/19/2011 09:21:25 | 1,052,057 | 11/17/2011 14:59:18 | 11 | 0 | How do i find Disk IO rate and IOPS for Ubuntu machines? | How do i find disk IO rate and IOPS of my disk ?
Are there any benchmarks or tools that will be of some use to me ?
Arun | performance | ubuntu | io | benchmarking | null | 12/19/2011 12:51:54 | off topic | How do i find Disk IO rate and IOPS for Ubuntu machines?
===
How do i find disk IO rate and IOPS of my disk ?
Are there any benchmarks or tools that will be of some use to me ?
Arun | 2 |
10,725,864 | 05/23/2012 18:36:20 | 945,869 | 09/15/2011 02:25:39 | 38 | 1 | Should I get 2-3 year old book on Core Animation? | I'm wondering whether
a) to buy from Amazon "Core Animation: Simplified Animation Techniques for Mac and iPhone Development", Marcus Zarra (Author), Matt Long" for $34 new, or
b) assume that iPhone 5 or Xcode 6 or something will happen in the next month or two (hint: WWDC) that may suggest I should postpone and get... | iphone | core-animation | null | null | null | 05/23/2012 20:32:01 | not constructive | Should I get 2-3 year old book on Core Animation?
===
I'm wondering whether
a) to buy from Amazon "Core Animation: Simplified Animation Techniques for Mac and iPhone Development", Marcus Zarra (Author), Matt Long" for $34 new, or
b) assume that iPhone 5 or Xcode 6 or something will happen in the next month or two ... | 4 |
4,740,766 | 01/19/2011 21:07:32 | 164,394 | 08/27/2009 17:43:29 | 1,963 | 171 | How to implemen PayPal in Symfony 1.4 & Docrtrine | I want to use PayPal, Express Checkout, in a Symfony/Doctrine 1.4.8 the current plugins all seem to be in Beta and also somewhat over the top in the way they are implemented. I can follow the logic of the PayPal provided information and code although some items are a bit vague as to how i deal with them in Symfony.
... | paypal | symfony-1.4 | null | null | null | null | open | How to implemen PayPal in Symfony 1.4 & Docrtrine
===
I want to use PayPal, Express Checkout, in a Symfony/Doctrine 1.4.8 the current plugins all seem to be in Beta and also somewhat over the top in the way they are implemented. I can follow the logic of the PayPal provided information and code although some items are... | 0 |
8,135,787 | 11/15/2011 11:40:04 | 898,589 | 08/17/2011 12:13:04 | 14 | 1 | XML Non Breaking White Space (PHP/MySQL) | I think the cause of my woes at present is the non-breaking white space.
It appears some nasty characters have found their way into our MySQL database from our back office systems. So as I'm trying to run an XML output using PHP's XMLWriter, but there's loads of these silly characters getting into the field..
The... | php | mysql | xml | xmlwriter | non-breaking-spaces | null | open | XML Non Breaking White Space (PHP/MySQL)
===
I think the cause of my woes at present is the non-breaking white space.
It appears some nasty characters have found their way into our MySQL database from our back office systems. So as I'm trying to run an XML output using PHP's XMLWriter, but there's loads of these si... | 0 |
11,009,030 | 06/13/2012 06:01:15 | 379,888 | 06/30/2010 09:47:17 | 1,729 | 46 | Validating phone numbers using jquery | I am trying to validate a phone number. The website is US based but the clients can be from all over the world. I am using jQuery to validate the input. I would be very thankful for the hints given for validation. Thanks.
<input
name="phone"
type="text"
id="phone"
min... | jquery | validation | null | null | null | null | open | Validating phone numbers using jquery
===
I am trying to validate a phone number. The website is US based but the clients can be from all over the world. I am using jQuery to validate the input. I would be very thankful for the hints given for validation. Thanks.
<input
name="phone"
type=... | 0 |
2,792,603 | 05/08/2010 01:38:41 | 325,727 | 04/26/2010 05:53:33 | 20 | 0 | ASPNET MVC - Why is ModelState.IsValid false "The x field is required" when that field does have a value? | I have a model like this:
public PurchaseOrder
{
[Required] [StringLength(15)]
public virtual string OrderNumber {get;set;}
// etc.
}
When I submit an order from the view (using $.post, not input type=submit) it goes to my controller class:
public class Pur... | c# | asp.net-mvc | validation | modelstate | null | null | open | ASPNET MVC - Why is ModelState.IsValid false "The x field is required" when that field does have a value?
===
I have a model like this:
public PurchaseOrder
{
[Required] [StringLength(15)]
public virtual string OrderNumber {get;set;}
// etc.
}
When I submit an or... | 0 |
1,263,509 | 08/11/2009 23:22:14 | 21,475 | 09/24/2008 02:34:16 | 192 | 22 | Potential problems setting window.location.hash | I have some javascript code which, at one point, sets `window.location.hash` to a specific string. This works fine in Firefox 3, but I want to know if I will run into problems with this later, i.e. is this a cross-browser solution (IE6 included)?
Also, I am using ReallySimpleHistory. Will this mess up its internal s... | javascript | cross-browser | rsh | null | null | null | open | Potential problems setting window.location.hash
===
I have some javascript code which, at one point, sets `window.location.hash` to a specific string. This works fine in Firefox 3, but I want to know if I will run into problems with this later, i.e. is this a cross-browser solution (IE6 included)?
Also, I am using ... | 0 |
240,758 | 10/27/2008 17:36:27 | 20,646 | 09/22/2008 18:28:05 | 163 | 11 | How do you encourage someone to learn to use the debugger? | We are in college and I want get my projectmate to use the debugger as it will help improve his debugging speed. Despite offering to show him how to use it so that he won't have to learn it by himself, he refuses and to date still uses printlining to debug.
I can understand why he refuses as he's probably afraid of ... | non-technical | teaching | null | null | null | 02/09/2012 14:19:10 | not constructive | How do you encourage someone to learn to use the debugger?
===
We are in college and I want get my projectmate to use the debugger as it will help improve his debugging speed. Despite offering to show him how to use it so that he won't have to learn it by himself, he refuses and to date still uses printlining to debug... | 4 |
2,132,449 | 01/25/2010 13:11:32 | 247,607 | 01/10/2010 19:51:51 | 13 | 0 | Using Spring and Hibernate -final year project | I’m planning to build Management Information System in Java for my final year project. I would like to use Spring and Hibernate, however I haven’t used any of these frameworks yet. Hence my question is, will I have enough time to learn it (I don’t mean to be an expert, just to be able to use them in my project) and st... | final | year | project | spring | hibernate | 02/06/2012 01:06:58 | off topic | Using Spring and Hibernate -final year project
===
I’m planning to build Management Information System in Java for my final year project. I would like to use Spring and Hibernate, however I haven’t used any of these frameworks yet. Hence my question is, will I have enough time to learn it (I don’t mean to be an exper... | 2 |
2,177,690 | 02/01/2010 15:23:05 | 248,959 | 01/12/2010 14:34:00 | 1 | 0 | Netbeans 6.8 the breakpoint icon isn't a pink square but a vertically cutted in half pink square | im using NB 6.8. When i add a breakpoint an icon is added next to the line of code. But that icon is not a pink square but a vertically cutted in half pink square.
Is this the new icon that symbolizes the breakpoint (i expected a non-broken pink square) ??
Bye
Javi | netbeans6.8 | netbeans | breakpoint | null | null | null | open | Netbeans 6.8 the breakpoint icon isn't a pink square but a vertically cutted in half pink square
===
im using NB 6.8. When i add a breakpoint an icon is added next to the line of code. But that icon is not a pink square but a vertically cutted in half pink square.
Is this the new icon that symbolizes the breakpoint... | 0 |
4,633,350 | 01/08/2011 10:03:58 | 567,908 | 01/08/2011 10:03:58 | 1 | 0 | dictionary using hashing | hi guys i am doing an project(dictionary using hash table),i have certain doubts in hashing.can we join two or more hash tables?and give some tips. | c++ | null | null | null | null | 01/08/2011 11:18:02 | not a real question | dictionary using hashing
===
hi guys i am doing an project(dictionary using hash table),i have certain doubts in hashing.can we join two or more hash tables?and give some tips. | 1 |
11,511,556 | 07/16/2012 19:52:51 | 139,630 | 07/16/2009 16:37:16 | 14 | 1 | Accessing Dynamically created controls in AJAX Modal Pop-up | I am having difficulty in accessing controls and/or html tags in a AJAX Modal POpup Extender.
Basically I am creating a <asp:Table> at design time and then populating the rows and colms at run time of ShowPopUp click event of a button on the page. I was able to fill/populate the table but was not able to access the ro... | asp.net | ajax | null | null | null | null | open | Accessing Dynamically created controls in AJAX Modal Pop-up
===
I am having difficulty in accessing controls and/or html tags in a AJAX Modal POpup Extender.
Basically I am creating a <asp:Table> at design time and then populating the rows and colms at run time of ShowPopUp click event of a button on the page. I was ... | 0 |
322,594 | 11/27/2008 00:18:51 | 41,187 | 11/26/2008 22:27:33 | 6 | 0 | Where to start? What language to learn first? | I'm just starting out in the programming world and I know that I have a long road ahead of me..but I learn quickly. :) I want to be able to build RIAs and I've been going through Adobe's PDF files on ActionScript 3.0 and Flex. The more I learn, the more interesting it gets. My questions are these: Am I starting at the ... | flex | flash | ria | programming-languages | null | 07/25/2012 22:11:22 | not constructive | Where to start? What language to learn first?
===
I'm just starting out in the programming world and I know that I have a long road ahead of me..but I learn quickly. :) I want to be able to build RIAs and I've been going through Adobe's PDF files on ActionScript 3.0 and Flex. The more I learn, the more interesting it ... | 4 |
11,371,305 | 07/07/2012 00:30:35 | 244,526 | 01/06/2010 06:49:42 | 2,205 | 26 | Faster Java Regex Library | I'm writing a system where the bottleneck is performing regular expression matching, and am looking to speed it up.
I understand that java regular expressions can be optimized by writing them carefully, but that's an art more than a science. Is there a place where I can find pre-written, efficient java regular expr... | java | regex | library | null | null | 07/07/2012 01:33:45 | not constructive | Faster Java Regex Library
===
I'm writing a system where the bottleneck is performing regular expression matching, and am looking to speed it up.
I understand that java regular expressions can be optimized by writing them carefully, but that's an art more than a science. Is there a place where I can find pre-writt... | 4 |
411,906 | 01/04/2009 23:29:25 | 48,722 | 12/23/2008 19:05:53 | 252 | 10 | C# (.NET) Design Flaws | What do you think are the biggest design flaws in C# or the .NET Framework in general?
My favorites are that there's no non-nullable string type and that you have to check for DBNull when fetching values from an IDataReader. | c# | design | .net | null | null | 02/25/2012 05:39:51 | not constructive | C# (.NET) Design Flaws
===
What do you think are the biggest design flaws in C# or the .NET Framework in general?
My favorites are that there's no non-nullable string type and that you have to check for DBNull when fetching values from an IDataReader. | 4 |
6,544,226 | 07/01/2011 06:08:02 | 693,560 | 04/05/2011 09:40:08 | 112 | 3 | jQuery click event not working in a jQuery tab page | I'm using a jQuery tab in my MVC3 solution. The problem is that when I insert a link in one of these tabs, I'm not able to control this link with jQuery?!
Here is my code:
The main tab subdivision page:
<div id="tabContainer">
<ul>
<li>@Html.ActionLink("Tab 1", "DetailFooterTab1", "MyController"... | jquery | asp.net | asp.net-mvc-3 | null | null | null | open | jQuery click event not working in a jQuery tab page
===
I'm using a jQuery tab in my MVC3 solution. The problem is that when I insert a link in one of these tabs, I'm not able to control this link with jQuery?!
Here is my code:
The main tab subdivision page:
<div id="tabContainer">
<ul>
<li>@Ht... | 0 |
11,663,404 | 07/26/2012 06:09:57 | 1,553,626 | 07/26/2012 06:07:04 | 1 | 0 | No visible @interface for 'NSString" | UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"You Lost!" message:[NSString stringWithFormat:@"You were hit! Try again!"] delegate:nil cancelButttonTitle:[@"Dismiss" otherButtonTitles:nil]; | xcode | interface | nsstring | null | null | 07/26/2012 07:36:43 | not a real question | No visible @interface for 'NSString"
===
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"You Lost!" message:[NSString stringWithFormat:@"You were hit! Try again!"] delegate:nil cancelButttonTitle:[@"Dismiss" otherButtonTitles:nil]; | 1 |
3,610,013 | 08/31/2010 14:32:36 | 4,970 | 09/07/2008 05:11:48 | 106 | 5 | File.listFiles() mangles unicode names with JDK 6 | I'm struggling with a strange file name encoding issue when listing directory contents in Java 6 on both OS X and Linux: the `File.listFiles()` and related methods seem to return file names in a different encoding than the rest of the system.
Note that it is not merely the display of these file names that is causing... | java | unicode | file-encodings | null | null | null | open | File.listFiles() mangles unicode names with JDK 6
===
I'm struggling with a strange file name encoding issue when listing directory contents in Java 6 on both OS X and Linux: the `File.listFiles()` and related methods seem to return file names in a different encoding than the rest of the system.
Note that it is not... | 0 |
3,898,948 | 10/10/2010 03:52:54 | 149,080 | 08/01/2009 21:00:20 | 1,082 | 21 | rails 3 - given XXX.created_at - How to output the 3 digit month + Day | Give a model.created_at
I've been able to use:
<%="#{time_ago_in_words(model.created_at)} ago "%>
What is the helper to output something like
- Oct 8
- Sep 23
- Aug 31
- Jul 11
Bonus points, if it outputs like above, but for any records that were created today (not 24hrs ago but today). it sh... | ruby-on-rails | ruby-on-rails-3 | null | null | null | null | open | rails 3 - given XXX.created_at - How to output the 3 digit month + Day
===
Give a model.created_at
I've been able to use:
<%="#{time_ago_in_words(model.created_at)} ago "%>
What is the helper to output something like
- Oct 8
- Sep 23
- Aug 31
- Jul 11
Bonus points, if it outputs like above, ... | 0 |
11,713,452 | 07/29/2012 22:15:24 | 588,855 | 08/06/2010 17:52:56 | 1,678 | 11 | If I pass a value I want it "1", otherwise, I want it "0". What do you think? | I have the following C++ code (not a complete program):
#include "stdafx.h"
#include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
std::struct Features{
int F1;
int F2;
int F3;
int F4;
};
std::int criterionFunction(Feature... | c++ | function | vector | null | null | 07/30/2012 12:16:23 | not a real question | If I pass a value I want it "1", otherwise, I want it "0". What do you think?
===
I have the following C++ code (not a complete program):
#include "stdafx.h"
#include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
std::struct Features{
int F1;
int ... | 1 |
4,914,805 | 02/06/2011 17:10:02 | 286,704 | 03/04/2010 23:06:00 | 692 | 42 | Strange link behavior | I'm basically new to jquery so I'm not sure I did the best way to do what I want...
I'd like to load content in the webpage using ajax, and making a permanent url using `#!` to rewrite url, it works good except for some links...
Here a short preview of the page (for the entire page/css/js [HERE](http://www.marco... | javascript | jquery | html | css | html5 | null | open | Strange link behavior
===
I'm basically new to jquery so I'm not sure I did the best way to do what I want...
I'd like to load content in the webpage using ajax, and making a permanent url using `#!` to rewrite url, it works good except for some links...
Here a short preview of the page (for the entire page/css... | 0 |
5,350,397 | 03/18/2011 10:01:57 | 155,695 | 08/13/2009 10:06:24 | 1,495 | 31 | Any tools for comparing decompiled classes to source code? | For arguements sake, you've got some compiled `.class` files, and some source `.java` files.
You're not convinced that the class files were actually built from the same revision of those source files that you have (for example someone else created those classes but didn't check in the source code).
I know what yo... | java | decompile | null | null | null | null | open | Any tools for comparing decompiled classes to source code?
===
For arguements sake, you've got some compiled `.class` files, and some source `.java` files.
You're not convinced that the class files were actually built from the same revision of those source files that you have (for example someone else created those... | 0 |
8,181,598 | 11/18/2011 11:23:04 | 278,470 | 02/22/2010 05:31:46 | 769 | 38 | Fetch all rows data from second table using single join query | I have run into a 1-N situation. i.e 1 record in 1st table will have multiple records in second table, I just wanna fetch all data corresponding to the ID in 1st table using joins, is this possible.
table 1 : ID name
1 pradeep
table 2: ID table1_id orders
1 1... | php | mysql | null | null | null | null | open | Fetch all rows data from second table using single join query
===
I have run into a 1-N situation. i.e 1 record in 1st table will have multiple records in second table, I just wanna fetch all data corresponding to the ID in 1st table using joins, is this possible.
table 1 : ID name
1 pradee... | 0 |
9,138,990 | 02/04/2012 06:45:43 | 1,184,426 | 02/02/2012 06:23:31 | 3 | 0 | Get details from memcache using a value | Is it possible to get details from memcache using values stored in a particular key ?
Thanks | memcached | null | null | null | null | null | open | Get details from memcache using a value
===
Is it possible to get details from memcache using values stored in a particular key ?
Thanks | 0 |
4,287,945 | 11/26/2010 19:07:47 | 215,094 | 11/20/2009 00:18:14 | 445 | 7 | How to eliminate email formatting in received email? | I am practicing sending emails with Google App Engine with Python. This code checks to see if `message.sender` is in the database:
class ReceiveEmail(InboundMailHandler):
def receive(self, message):
querySender = User.all()
querySender.filter("userEmail =", message.sender)
... | python | regex | google-app-engine | null | null | null | open | How to eliminate email formatting in received email?
===
I am practicing sending emails with Google App Engine with Python. This code checks to see if `message.sender` is in the database:
class ReceiveEmail(InboundMailHandler):
def receive(self, message):
querySender = User.all()
... | 0 |
6,613,674 | 07/07/2011 16:10:50 | 720,564 | 04/22/2011 13:13:19 | 27 | 1 | Encrypting data for RESTful services using Jersey | I am using Jersey for my RESTful web service development. I already have configured SSL for Point to Point security...but I need some application level security (end to end), for which I guess encryption is the only way to go. Are there some encryption features in-built with Jersey for encrypting the XML/JSON I am send... | java | security | rest | soap | jersey | null | open | Encrypting data for RESTful services using Jersey
===
I am using Jersey for my RESTful web service development. I already have configured SSL for Point to Point security...but I need some application level security (end to end), for which I guess encryption is the only way to go. Are there some encryption features in-... | 0 |
11,361,717 | 07/06/2012 11:53:58 | 1,506,640 | 07/06/2012 11:46:14 | 1 | 0 | How to call or used web services on phone gap android technology so what can u give example or demo? | I have tried some times demo web services with some other references but it is not working??so please can u give one demo or example how to used or call web services on phone gap with android.
i m trying some time below code?
x$.data = {};
x$(window).load(function (e) {
x$("#returned_informatio... | jquery | null | null | null | null | 07/20/2012 01:53:38 | not a real question | How to call or used web services on phone gap android technology so what can u give example or demo?
===
I have tried some times demo web services with some other references but it is not working??so please can u give one demo or example how to used or call web services on phone gap with android.
i m trying some time... | 1 |
7,140,661 | 08/21/2011 19:46:42 | 904,887 | 08/21/2011 19:46:42 | 1 | 0 | How to avoid making a webserver a bottleneck with cassandra? | Im new to Cassandra, so bear with me.
So, I am building a search engine using Cassandra as the db. I am interacting with it through Pycassa.
Now, I want to output Cassandra's response to a webpage, having the user submitted a query.
I am aware of django, fastCGI, SCGI, etc. However, how does one run a python s... | python | django | search | search-engine | cassandra | null | open | How to avoid making a webserver a bottleneck with cassandra?
===
Im new to Cassandra, so bear with me.
So, I am building a search engine using Cassandra as the db. I am interacting with it through Pycassa.
Now, I want to output Cassandra's response to a webpage, having the user submitted a query.
I am aware o... | 0 |
9,424,745 | 02/24/2012 03:01:14 | 826,203 | 07/02/2011 16:19:52 | 590 | 1 | is there an official document on how to convert Chinese characters into pinyin? | I need to convert Chinese characters into pinyin and need an official document for that conversion.
There are some libraries around as mentioned by previous posts such as http://stackoverflow.com/questions/4361971/convert-chinese-characters-to-hanyu-pinyin .
However, I need an "official standard" more than an "a... | standards | chinese | pinyin | null | null | 05/09/2012 11:51:39 | off topic | is there an official document on how to convert Chinese characters into pinyin?
===
I need to convert Chinese characters into pinyin and need an official document for that conversion.
There are some libraries around as mentioned by previous posts such as http://stackoverflow.com/questions/4361971/convert-chinese-ch... | 2 |
10,487,098 | 05/07/2012 18:24:38 | 1,133,062 | 01/05/2012 20:48:46 | 1 | 0 | Changing a PHP value dynamically with Javascript | I'm making a blog type webpage, with a div that has a 'like' and 'dislike' button, and a rating above which is a mysql query of likes/(likes+dislikes). When a user clicks like or dislike, I want to add their vote to the db, and dynamically change the rating value without reloading the page. Here's a little snippet of... | php | javascript | mysql | dynamic | null | null | open | Changing a PHP value dynamically with Javascript
===
I'm making a blog type webpage, with a div that has a 'like' and 'dislike' button, and a rating above which is a mysql query of likes/(likes+dislikes). When a user clicks like or dislike, I want to add their vote to the db, and dynamically change the rating value w... | 0 |
9,966,689 | 04/01/2012 17:46:03 | 1,306,617 | 04/01/2012 17:32:48 | 1 | 0 | Best Practice, multiple scenes | I am developing an app that will have several scenes. Each scene will be interactive, having objects that can moved.
For instance, the first scene will be a bedroom. The user can touch a dresser drawer and drag the drawer open. Can then drag a sock to the drawer and drop the sock into the drawer. Click on the do... | android | android-layout | null | null | null | 04/03/2012 16:00:49 | not constructive | Best Practice, multiple scenes
===
I am developing an app that will have several scenes. Each scene will be interactive, having objects that can moved.
For instance, the first scene will be a bedroom. The user can touch a dresser drawer and drag the drawer open. Can then drag a sock to the drawer and drop the so... | 4 |
8,090,468 | 11/11/2011 06:36:59 | 958,670 | 09/22/2011 08:49:53 | 874 | 30 | how to set password at application level.? | I am working on the application which will run in background. And I want to put the password to the application so the user will no able to uninstall that application without password.
So if is there any help regarding this then please answer with solution. | blackberry | null | null | null | null | 11/12/2011 11:53:49 | not a real question | how to set password at application level.?
===
I am working on the application which will run in background. And I want to put the password to the application so the user will no able to uninstall that application without password.
So if is there any help regarding this then please answer with solution. | 1 |
5,697,275 | 04/17/2011 23:49:32 | 652,238 | 03/09/2011 19:19:57 | 11 | 2 | Email not sending - Subscribe2 Wordpress plugin | I've seen a fair numbers of posts similar to this, but never addressing exactly what is happening in my setup. I've installed the wordpress plugin Subscribe2 to send mass emails to site subscribers. The site is hosted on GoDaddy shared hosting. WP V 3.xx
I've used several plugins, Simmy Swift SMTP, WP SMTP Email amo... | php | wordpress | smtp | godaddy | null | 04/18/2011 10:33:12 | off topic | Email not sending - Subscribe2 Wordpress plugin
===
I've seen a fair numbers of posts similar to this, but never addressing exactly what is happening in my setup. I've installed the wordpress plugin Subscribe2 to send mass emails to site subscribers. The site is hosted on GoDaddy shared hosting. WP V 3.xx
I've used... | 2 |
5,211,225 | 03/06/2011 15:03:24 | 647,022 | 03/06/2011 15:03:24 | 1 | 0 | What kind of hash is this? | If someone can help me, can you help me identify this hash?
51a5a55a2a173a177a30a167a70a145a105a94a121a112a10a87 | hash | null | null | null | null | 03/06/2011 16:32:12 | not a real question | What kind of hash is this?
===
If someone can help me, can you help me identify this hash?
51a5a55a2a173a177a30a167a70a145a105a94a121a112a10a87 | 1 |
7,839,081 | 10/20/2011 16:24:07 | 1,005,624 | 10/20/2011 16:17:25 | 1 | 0 | Any Books on OpenGL game engine programming? | it is best to be in OpenGL. i tried some books in DirectX but they are to old and have many errors. im looking for game engine programming books in OpenGL because it doesn't change so much. im also looking for tutorials, but books covers a lot of ground very depthly.
thanks, even if you don't find anything :) | c++ | opengl | game-engine | null | null | 10/20/2011 17:30:59 | off topic | Any Books on OpenGL game engine programming?
===
it is best to be in OpenGL. i tried some books in DirectX but they are to old and have many errors. im looking for game engine programming books in OpenGL because it doesn't change so much. im also looking for tutorials, but books covers a lot of ground very depthly.
... | 2 |
6,132,102 | 05/25/2011 23:27:04 | 64,398 | 02/10/2009 01:40:09 | 81 | 9 | Help - Error debugging eMbedded Visual C++ DLL on XP | I have DLL with source code that I would like to do debugging. Since it's DLL so I create another project for this DLL project to attach process to it which I followed the suggestion provided by microsoft. After that I set the breakpoint and press F5 to debug the DLL project, I get error: "Platform Manager Failed to ... | c++ | debugging | embedded | evc4 | null | null | open | Help - Error debugging eMbedded Visual C++ DLL on XP
===
I have DLL with source code that I would like to do debugging. Since it's DLL so I create another project for this DLL project to attach process to it which I followed the suggestion provided by microsoft. After that I set the breakpoint and press F5 to debug ... | 0 |
6,817,302 | 07/25/2011 14:00:29 | 854,681 | 07/20/2011 19:50:51 | 15 | 0 | How do I email bcc a list of users from a txt file? | So I am making a program that emails a list of users from a .txt file. Here is what I have so far.
MailAddress from = new MailAddress("testadmin@gmail.com", "MAIL BOT TEST");
MailAddress to = new MailAddress("testadmin", "Admin");
MailMessage message = new MailMessage(from, to);
... | c# | null | null | null | null | null | open | How do I email bcc a list of users from a txt file?
===
So I am making a program that emails a list of users from a .txt file. Here is what I have so far.
MailAddress from = new MailAddress("testadmin@gmail.com", "MAIL BOT TEST");
MailAddress to = new MailAddress("testadmin", "Admin");
... | 0 |
7,031,204 | 08/11/2011 18:48:58 | 657,527 | 03/13/2011 13:50:29 | 5 | 0 | Simple floating text wpf mvvm drag & drop adorner | I need to implement a simple adorner for drag & drop functionality in a wpf mvvm application. Items are dragged from a ListBox to an ItemsControl and within the ItemsControl. The ListBox items do not have any special formatting and simply displays a list of text\label items and the ItemsControl DataTemplate formats the... | c# | wpf | mvvm | drag-and-drop | null | 08/12/2011 10:26:45 | not a real question | Simple floating text wpf mvvm drag & drop adorner
===
I need to implement a simple adorner for drag & drop functionality in a wpf mvvm application. Items are dragged from a ListBox to an ItemsControl and within the ItemsControl. The ListBox items do not have any special formatting and simply displays a list of text\la... | 1 |
10,738,962 | 05/24/2012 13:59:22 | 756,053 | 05/16/2011 17:17:33 | 37 | 6 | Why does my site look different in IE9 than Firefox and Chrome? | I have a css background image repeating at the bottom of my site and it works great in Firefox and Chrome.
![This is a background image being repeated on the bottom of the content background div.][1]
However in IE9 I get some unexpected results. This background image appears under the slideshow and clears the ... | css | html5 | internet-explorer-9 | background-image | doctype | 05/31/2012 23:49:59 | not a real question | Why does my site look different in IE9 than Firefox and Chrome?
===
I have a css background image repeating at the bottom of my site and it works great in Firefox and Chrome.
![This is a background image being repeated on the bottom of the content background div.][1]
However in IE9 I get some unexpected resul... | 1 |
6,350,533 | 06/14/2011 21:46:49 | 555,384 | 12/27/2010 21:22:31 | 6,976 | 284 | Android NoSuchMethodError being thrown on ArrayAdapter Constructor | I'm attempting to extend the generic ArrayAdapter in order to customize a ListView and am getting an NoSuchMethodError being thrown when I hit the `TpAdapter` (my extended Adapter) constructor
Here is the exteded ArrayAdapter `TpAdapter`
private class TpAdapter : ArrayAdapter<MobileTalkingPoint>
... | c# | android | visual-studio | exception | null | null | open | Android NoSuchMethodError being thrown on ArrayAdapter Constructor
===
I'm attempting to extend the generic ArrayAdapter in order to customize a ListView and am getting an NoSuchMethodError being thrown when I hit the `TpAdapter` (my extended Adapter) constructor
Here is the exteded ArrayAdapter `TpAdapter`
... | 0 |
7,486,777 | 09/20/2011 14:23:58 | 420,595 | 08/14/2010 19:40:09 | 55 | 1 | Changing the tabs height in a MDI Tab group | The documentation on this is not really that good.
Anyone have a idea of how to do it? | c++ | windows | mfc | null | null | 09/23/2011 11:34:58 | not a real question | Changing the tabs height in a MDI Tab group
===
The documentation on this is not really that good.
Anyone have a idea of how to do it? | 1 |
5,205,591 | 03/05/2011 17:46:17 | 383,152 | 07/04/2010 15:58:57 | 205 | 0 | php jquery javascript | I'm trying to figure out what to output for a GET script call using JQuery. I'm setting up a PHP service that's going to return a script call - these are my technical constraints as I understand them. Any suggestions?
Cheers. | php | javascript | jquery | null | null | 03/05/2011 18:09:19 | not a real question | php jquery javascript
===
I'm trying to figure out what to output for a GET script call using JQuery. I'm setting up a PHP service that's going to return a script call - these are my technical constraints as I understand them. Any suggestions?
Cheers. | 1 |
9,796,745 | 03/20/2012 23:51:52 | 1,232,855 | 02/25/2012 17:56:05 | 1 | 0 | get raw touch data from Wacom touchpad | i have a [Wacom Bamboo][1] multitouch-pad and want to use it as input device. it is connected to my pc. how can i get the raw touch data? for instance, if i'm touching at position {x,y} on touchpad, my application should get this points and send this point as message. please someone guide me or give me some clues. i di... | touch | multitouch | bamboo | touchpad | wacom | null | open | get raw touch data from Wacom touchpad
===
i have a [Wacom Bamboo][1] multitouch-pad and want to use it as input device. it is connected to my pc. how can i get the raw touch data? for instance, if i'm touching at position {x,y} on touchpad, my application should get this points and send this point as message. please ... | 0 |
1,948,862 | 12/22/2009 20:19:14 | 14,555 | 09/17/2008 00:58:09 | 847 | 45 | is the Python 3.0 signal library for Windows incomplete | I went to write a system script using 3.0 and found the SIGALRM signal and signal.alarm() call missing amongst many others on the Windows deployment. Does anyone know why these are missing? Below is a dir() of the 2.5 vs 3.0 signal packages on windows. I haven't found any 3.0 docs yet mentioning that this was moved
... | python | null | null | null | null | null | open | is the Python 3.0 signal library for Windows incomplete
===
I went to write a system script using 3.0 and found the SIGALRM signal and signal.alarm() call missing amongst many others on the Windows deployment. Does anyone know why these are missing? Below is a dir() of the 2.5 vs 3.0 signal packages on windows. I have... | 0 |
11,424,924 | 07/11/2012 03:00:09 | 387,345 | 07/09/2010 03:23:56 | 98 | 2 | How can i pass an object to a new thread generated anonymously in a button listener | I would like to pass an object (docket for printing) to a new thread which will print the docket. My code is:
private final Button.OnClickListener cmdPrintOnClickListener = new Button.OnClickListener() {
public void onClick(View v) {
new Thread(new Runnable() {
pu... | java | android | null | null | null | null | open | How can i pass an object to a new thread generated anonymously in a button listener
===
I would like to pass an object (docket for printing) to a new thread which will print the docket. My code is:
private final Button.OnClickListener cmdPrintOnClickListener = new Button.OnClickListener() {
p... | 0 |
11,520,896 | 07/17/2012 10:46:24 | 1,522,911 | 07/13/2012 07:41:33 | 1 | 0 | c# xaml windows phone 7 |
I developing an application ON WINDOWS PHONE 7 where to pull data from one WCF , I Want to displays data dynamically in a list WINDOWS PHONE 7..
how build dynamically list box? | c# | windows | xaml | windows-phone-7.1 | null | 07/18/2012 09:59:22 | not a real question | c# xaml windows phone 7
===
I developing an application ON WINDOWS PHONE 7 where to pull data from one WCF , I Want to displays data dynamically in a list WINDOWS PHONE 7..
how build dynamically list box? | 1 |
9,263,503 | 02/13/2012 15:51:47 | 1,200,402 | 02/09/2012 18:42:45 | 1 | 0 | Sending data from Android to GAE | i know how to send data from a GAE webservice to android using SAXParser. Is there a similar way to send data from Android to the GAE webservice? Or should i use HTTP Client? | android | google-app-engine | null | null | null | 02/13/2012 23:36:12 | not a real question | Sending data from Android to GAE
===
i know how to send data from a GAE webservice to android using SAXParser. Is there a similar way to send data from Android to the GAE webservice? Or should i use HTTP Client? | 1 |
3,996,945 | 10/22/2010 12:52:50 | 484,201 | 10/22/2010 12:27:10 | 1 | 0 | Converting Gridview into CSV | Is this possible to take delimeter other than comma for converting into CSV file....because in my scenario my gridview cell contains data with commas. | vb.net | csv | null | null | null | null | open | Converting Gridview into CSV
===
Is this possible to take delimeter other than comma for converting into CSV file....because in my scenario my gridview cell contains data with commas. | 0 |
6,572,055 | 07/04/2011 13:16:19 | 435,056 | 08/30/2010 14:39:39 | 40 | 2 | Remove cookies from jquery ajax calls | I would do jquery ajax calls discarding every cookie, so I can have a new session for every call.
Is there a way to do this?
Thanks | jquery | session | jquery-ajax | null | null | null | open | Remove cookies from jquery ajax calls
===
I would do jquery ajax calls discarding every cookie, so I can have a new session for every call.
Is there a way to do this?
Thanks | 0 |
9,892,196 | 03/27/2012 15:03:36 | 1,165,441 | 01/23/2012 17:10:47 | 1 | 0 | What is the process of creating a link that will expire using a specific key? | I am implementing a password reset function and would have the key I want to use as a parameter to a jsp page(I assume that is how it's done. I am new to jsf and jsp so if there are any tutorials on how to pass parameters and to the jsp page and make those parameters only active for a certain amount of time that would ... | java | jsp | jsf | null | null | 03/28/2012 15:06:13 | not a real question | What is the process of creating a link that will expire using a specific key?
===
I am implementing a password reset function and would have the key I want to use as a parameter to a jsp page(I assume that is how it's done. I am new to jsf and jsp so if there are any tutorials on how to pass parameters and to the jsp ... | 1 |
140,707 | 09/26/2008 17:07:32 | 8,714 | 09/15/2008 16:39:54 | 1 | 0 | Web Development IDE Suggestions | I'm looking for suggestions for web development IDEs. I'm currently looking at Aptana Studio and it looks rather impressive so far. Anyone have other suggestions?
I'm looking for support for HTML, CSS and JavaScript.
Thanks! | ide | null | null | null | null | 08/31/2011 02:03:48 | not constructive | Web Development IDE Suggestions
===
I'm looking for suggestions for web development IDEs. I'm currently looking at Aptana Studio and it looks rather impressive so far. Anyone have other suggestions?
I'm looking for support for HTML, CSS and JavaScript.
Thanks! | 4 |
6,986,756 | 08/08/2011 18:27:17 | 441,733 | 09/07/2010 18:40:25 | 1 | 0 | how to get a total count for records deleted in custom function | Can someone please help me writing a custom function to delete old records and return a total count at the same time? Here is what I have currently. The delete portion works good, but somehow return counter is nothing.
CREATE OR REPLACE FUNCTION DELETE_OLD(delete_date IN DATE)
RETURN NUMBER IS
counter... | oracle | null | null | null | null | null | open | how to get a total count for records deleted in custom function
===
Can someone please help me writing a custom function to delete old records and return a total count at the same time? Here is what I have currently. The delete portion works good, but somehow return counter is nothing.
CREATE OR REPLACE FUNCTIO... | 0 |
11,478,192 | 07/13/2012 20:52:55 | 783,203 | 06/03/2011 18:40:10 | 59 | 0 | Migrating code from a PIC18F2480 to a PIC18F2680 Microcontroller | I have bootloader code written in MPLAB for an 18F2480 processor. My current project requires me to upgrade the microcontroller to an 18F2680.
(The main difference between the two chips is that the 2480 has 16K of program memory/768B RAM/ 256B EEPROM while the 2680 chip has 64K of program memory/3K of RAM and 1K o... | c | microcontroller | mplab | null | null | null | open | Migrating code from a PIC18F2480 to a PIC18F2680 Microcontroller
===
I have bootloader code written in MPLAB for an 18F2480 processor. My current project requires me to upgrade the microcontroller to an 18F2680.
(The main difference between the two chips is that the 2480 has 16K of program memory/768B RAM/ 256B E... | 0 |
11,642,631 | 07/25/2012 04:16:48 | 652,079 | 02/25/2010 12:01:51 | 339 | 0 | How to place the smaller rectangles inside larger rectangle using Java? | I stumbled upon a problem which i would like to solve it using Java. User inputs Larger Rectangle dimension (i.e L_width and L_height) and smaller rectangle dimension (i.e S_width and S_height). I would like to place as many smaller rectangle inside the larger rectangle and show it graphically.
for example: When the... | java | applet | null | null | null | null | open | How to place the smaller rectangles inside larger rectangle using Java?
===
I stumbled upon a problem which i would like to solve it using Java. User inputs Larger Rectangle dimension (i.e L_width and L_height) and smaller rectangle dimension (i.e S_width and S_height). I would like to place as many smaller rectangle ... | 0 |
3,414,041 | 08/05/2010 11:03:36 | 378,049 | 06/28/2010 13:08:49 | 94 | 0 | append number to variable name and call it in a loop (php) (smarty) | I have a simple question. I need to append 1,2,3 etc to a variable name in smarty. The variables are `$user1`, `$user2`, `$user3` etc. I use smarty to do a simple loop like this:
{section name=user_info start=1 loop=$users}
<tr>
<td> User{$smarty.section.user_info.index} </td> // prints user1,... | php | variables | loops | smarty | append | null | open | append number to variable name and call it in a loop (php) (smarty)
===
I have a simple question. I need to append 1,2,3 etc to a variable name in smarty. The variables are `$user1`, `$user2`, `$user3` etc. I use smarty to do a simple loop like this:
{section name=user_info start=1 loop=$users}
<tr>
... | 0 |
2,946,834 | 06/01/2010 01:32:27 | 225,280 | 12/05/2009 05:34:05 | 54 | 0 | Reducing similar commands | How can I reduce the amount of similar commands into a loop?
Something like
<pre>pictureBox7.BackColor = Color.FromArgb(187, 187, 187);
pictureBox9.BackColor = Color.FromArgb(187, 187, 187);
pictureBox10.BackColor = Color.FromArgb(187, 187, 187);
pictureBox11.BackColor = Color.FromArgb(187, 187, 187);
picture... | c# | null | null | null | null | null | open | Reducing similar commands
===
How can I reduce the amount of similar commands into a loop?
Something like
<pre>pictureBox7.BackColor = Color.FromArgb(187, 187, 187);
pictureBox9.BackColor = Color.FromArgb(187, 187, 187);
pictureBox10.BackColor = Color.FromArgb(187, 187, 187);
pictureBox11.BackColor = Color.Fr... | 0 |
7,565,357 | 09/27/2011 07:05:41 | 118,500 | 06/06/2009 11:05:38 | 4,063 | 406 | Linq to SQL: How to save the final queries to a log file? | I am looking after an application with lots of LINQ to SQL queries. Some of the data loading is taking quite a bit of time. I wanted to know the exact query that is fired on SQL server. Is there any way of storing the generated T-SQL statements to some kind of a log file?
Please suggest some other possible ways as w... | linq | entity-framework | linq-to-sql | logging | null | null | open | Linq to SQL: How to save the final queries to a log file?
===
I am looking after an application with lots of LINQ to SQL queries. Some of the data loading is taking quite a bit of time. I wanted to know the exact query that is fired on SQL server. Is there any way of storing the generated T-SQL statements to some kind... | 0 |
11,585,633 | 07/20/2012 19:15:19 | 486,720 | 10/25/2010 17:26:57 | 450 | 1 | what's special with executing multiple commands in one line? | if one executes the following two commands in one line, as follows,
> rm -rf dir ; cp dir2 dir
it may complain that cp can not create directory ``dir/subdir``: File exists
but if these two commands are executed in two lines, no errors will be thrown. I am just wandering what is the difference? and more importa... | bash | shell | command | null | null | 07/20/2012 22:58:36 | off topic | what's special with executing multiple commands in one line?
===
if one executes the following two commands in one line, as follows,
> rm -rf dir ; cp dir2 dir
it may complain that cp can not create directory ``dir/subdir``: File exists
but if these two commands are executed in two lines, no errors will be th... | 2 |
4,737,030 | 01/19/2011 15:23:17 | 340,046 | 05/13/2010 08:02:38 | 84 | 10 | Switch between 2 interfaces | Say i have a main menu in blackberry application. I want to access different screens when i enter the menu items and need to come back to the main menu. How can i do it?
Heres what i did but i caught up with a runtime exception when press back button
`package com.stockmarket1;`
import net.rim.device.api.sy... | user-interface | blackberry | java-me | mobile | null | null | open | Switch between 2 interfaces
===
Say i have a main menu in blackberry application. I want to access different screens when i enter the menu items and need to come back to the main menu. How can i do it?
Heres what i did but i caught up with a runtime exception when press back button
`package com.stockmarket1;`... | 0 |
9,118,946 | 02/02/2012 19:49:19 | 1,168,968 | 01/25/2012 10:30:51 | 13 | 2 | How to install android application on windows | Hi just downloaded an android application from a website (with .apk extension). Is there any way we can use it on windows O.S.? | android | null | null | null | null | 02/02/2012 19:55:33 | off topic | How to install android application on windows
===
Hi just downloaded an android application from a website (with .apk extension). Is there any way we can use it on windows O.S.? | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.