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,461,537 | 07/12/2012 22:16:48 | 471,317 | 10/10/2010 04:25:58 | 130 | 0 | How to display exception details on a page? | Instead of "Oops. Something went wrong ... sorry. An unhandled exception has occurred and the request was terminated. Please refresh the page. If the error persists, go back"
When an exception happens I want to display the error message and stack trace on the page. How can I do that? On my local dev machine, I want ... | orchardcms | null | null | null | null | null | open | How to display exception details on a page?
===
Instead of "Oops. Something went wrong ... sorry. An unhandled exception has occurred and the request was terminated. Please refresh the page. If the error persists, go back"
When an exception happens I want to display the error message and stack trace on the page. Ho... | 0 |
11,464,560 | 07/13/2012 05:20:55 | 1,468,157 | 06/20/2012 05:13:33 | 16 | 0 | Accessing An NSMutablearray from another class | I am new to iphone i have a small doubt that is I have an NSMutableArray which contains some objects which is in DownloadManager.m class like below
- (void) queueDownload: (Download*) download
{
NSString *bookTitleWhichIsPlacedInQueue = download.title_;
[titlesOfDownloadedBooksWhichIsInQueue addObje... | iphone | null | null | null | null | 07/13/2012 17:45:19 | not a real question | Accessing An NSMutablearray from another class
===
I am new to iphone i have a small doubt that is I have an NSMutableArray which contains some objects which is in DownloadManager.m class like below
- (void) queueDownload: (Download*) download
{
NSString *bookTitleWhichIsPlacedInQueue = download.title_;... | 1 |
9,014,020 | 01/26/2012 04:40:32 | 1,170,597 | 01/26/2012 04:24:12 | 1 | 0 | What are the best practices for asynchronous web service calls that originate from click events? | I have a data grid in which the rows generate asynchronous web service calls when they are clicked. The data returned from the web service is then used to populate other controls. If a user clicks on a data row and then clicks on a different data row prior to the first async call completing, then the other controls t... | asynchronous-wcf-call | null | null | null | null | 01/26/2012 15:51:27 | not a real question | What are the best practices for asynchronous web service calls that originate from click events?
===
I have a data grid in which the rows generate asynchronous web service calls when they are clicked. The data returned from the web service is then used to populate other controls. If a user clicks on a data row and t... | 1 |
257,288 | 11/02/2008 20:10:47 | 21,482 | 09/24/2008 03:28:47 | 298 | 10 | Possible for C++ template to check for a function's existence? | Is it possible to write a C++ template that changes behavior depending on if a certain member function is defined on a class?
Here's a simple example of what I would want to write:
template<class T>
std::string optionalToString(T* obj)
{
if (FUNCTION_EXISTS(T->toString))
return... | c++ | templates | null | null | null | null | open | Possible for C++ template to check for a function's existence?
===
Is it possible to write a C++ template that changes behavior depending on if a certain member function is defined on a class?
Here's a simple example of what I would want to write:
template<class T>
std::string optionalToString(T* obj)
... | 0 |
8,871,963 | 01/15/2012 17:58:52 | 1,150,623 | 01/15/2012 17:07:25 | 1 | 0 | Wordpress - Pulling just 4 images from a repeater field within a loop | I wondered if someone could help me with something that is probably quite simple when you know how.
I'm creating a game based website and I'm just working on the directory page where a list of all the games will be shown. I'm using a plug-in called '[Advanced Custom Fields][1]' to create all my custom fields for eac... | php | wordpress | null | null | null | null | open | Wordpress - Pulling just 4 images from a repeater field within a loop
===
I wondered if someone could help me with something that is probably quite simple when you know how.
I'm creating a game based website and I'm just working on the directory page where a list of all the games will be shown. I'm using a plug-in ... | 0 |
4,954,524 | 02/10/2011 07:38:37 | 615,777 | 02/03/2011 13:58:17 | 1 | 0 | Online Test Script | i am wondering if there is an open source or freeware scripts that is an online test type software. For example of the script i am after i want to be able to ask a question and than a user answer it. And a timer if possible :)
regards
shaq :)
thanks in advanced :) | php | html | scripting | script | null | 02/10/2011 13:20:55 | not a real question | Online Test Script
===
i am wondering if there is an open source or freeware scripts that is an online test type software. For example of the script i am after i want to be able to ask a question and than a user answer it. And a timer if possible :)
regards
shaq :)
thanks in advanced :) | 1 |
7,876,216 | 10/24/2011 13:17:54 | 391,460 | 07/14/2010 10:43:45 | 89 | 2 | my SQL query runs slow need to optimise | I'm having issues with the below query for my iPhone app. When the app runs the query it takes quite a while to process the result, maybe around a second or so... I was wondering if the query can be optimised in anyway? I'm using the FMDB framework to proces all my SQL.
select pd.discounttypeid, pd.productdisco... | iphone | sqlite | fmdb | null | null | null | open | my SQL query runs slow need to optimise
===
I'm having issues with the below query for my iPhone app. When the app runs the query it takes quite a while to process the result, maybe around a second or so... I was wondering if the query can be optimised in anyway? I'm using the FMDB framework to proces all my SQL.
... | 0 |
4,012,652 | 10/25/2010 07:39:19 | 100,751 | 05/04/2009 08:55:21 | 285 | 6 | secure Linux distribution | What do we mean by secure Linux distribution and securing Linux kernel?
Abdul Khaliq | linux | security | linux-kernel | null | null | 10/25/2010 07:48:03 | off topic | secure Linux distribution
===
What do we mean by secure Linux distribution and securing Linux kernel?
Abdul Khaliq | 2 |
10,247,599 | 04/20/2012 13:50:04 | 1,012,717 | 10/25/2011 12:30:59 | 25 | 2 | Stop a shift click from highlighting text | I have a table on my web page that have checkboxes on them.
I have jquery code that allows me to shift click to check multiple rows for editing/removal.
But when I shift click to select a range all of the text inside the range gets highlighted.
Is there any way using jquery or css to stop the text from being highl... | javascript | jquery | html | css | null | null | open | Stop a shift click from highlighting text
===
I have a table on my web page that have checkboxes on them.
I have jquery code that allows me to shift click to check multiple rows for editing/removal.
But when I shift click to select a range all of the text inside the range gets highlighted.
Is there any way using ... | 0 |
6,955,475 | 08/05/2011 11:24:04 | 880,450 | 08/05/2011 11:24:04 | 1 | 0 | PERL script required transfer xml file from 1 FTP server to another, split into small files | I am a complete stranger to PERL and need some valuable help
Here is my problem
I need to copy a file from ftp server A and place the file into ftp server B
When doing this i need to read that file contents and split that big file by matching the pattern of open and ending tags combination and create individual ... | xml | perl | file | ftp | split | 08/05/2011 13:27:28 | not a real question | PERL script required transfer xml file from 1 FTP server to another, split into small files
===
I am a complete stranger to PERL and need some valuable help
Here is my problem
I need to copy a file from ftp server A and place the file into ftp server B
When doing this i need to read that file contents and split... | 1 |
5,896,160 | 05/05/2011 10:23:54 | 732,211 | 04/30/2011 08:31:07 | 1 | 0 | ZEN CART SHIPPING ESTIMATOR HEPL NEEDED | Hi I'm working on zen-cart and I'm new to it, here is my situation.
There is one live site, one development site and localhost.
The development site functionality are same as the live site,
My problem is when I click estimate shipping the amount I get in live site and in localhost are equal but the amount I g... | php | e-commerce | zen-cart | null | null | 06/04/2011 15:36:14 | off topic | ZEN CART SHIPPING ESTIMATOR HEPL NEEDED
===
Hi I'm working on zen-cart and I'm new to it, here is my situation.
There is one live site, one development site and localhost.
The development site functionality are same as the live site,
My problem is when I click estimate shipping the amount I get in live site ... | 2 |
8,181,242 | 11/18/2011 10:52:31 | 73,137 | 03/03/2009 09:20:53 | 982 | 10 | Write to a file in SD Card in Android | I tried a simple file write program in Android.
try
{
//File f1=new File("/sdcard/Prag.txt");
File f1=new File("J:\\Prag.txt");
BufferedWriter out = new BufferedWriter(new FileWriter(f1,true));
out.write("Pragadhee... | java | android | eclipse | file-io | null | null | open | Write to a file in SD Card in Android
===
I tried a simple file write program in Android.
try
{
//File f1=new File("/sdcard/Prag.txt");
File f1=new File("J:\\Prag.txt");
BufferedWriter out = new BufferedWriter(new FileWriter(f1,true))... | 0 |
5,155,616 | 03/01/2011 14:10:55 | 473,105 | 10/12/2010 08:53:34 | 6 | 1 | Blazeds - Spring - Messaging - Selective server data push | I have a flex UI which communicates with server using spring blazeds. I have a very typical requirement of Live data streaming on a panel in UI.
Requirement is like this,
We have an object say, Person and server keeps pushing its data on blazeds message destination where UI panel consumer has subscribed and hence ... | flex | blazeds | null | null | null | null | open | Blazeds - Spring - Messaging - Selective server data push
===
I have a flex UI which communicates with server using spring blazeds. I have a very typical requirement of Live data streaming on a panel in UI.
Requirement is like this,
We have an object say, Person and server keeps pushing its data on blazeds message... | 0 |
8,445,459 | 12/09/2011 12:26:58 | 1,089,704 | 12/09/2011 12:24:27 | 1 | 0 | How to insert values to mysql(linux) using c++ | How to insert the values into the mysql database using c++ code ,
please provide the syntax ..
Thank you. | c++ | null | null | null | null | 12/09/2011 13:43:59 | not a real question | How to insert values to mysql(linux) using c++
===
How to insert the values into the mysql database using c++ code ,
please provide the syntax ..
Thank you. | 1 |
9,953,324 | 03/31/2012 05:38:30 | 72,381 | 03/01/2009 03:49:33 | 79 | 0 | WebSQL Transaction Won't Run In JS Callback Functions | I am using PhoneGap and jQuery Mobile. I am trying to get some JSON data from a remote location and then populate a local WebSQL database with it. Here is my JS function:
function getLocations() {
var tx = window.openDatabase('csdistroloc', '1.0', 'Distro DB', 1000000);
tx.transaction(function(tx... | javascript | jquery | phonegap | null | null | null | open | WebSQL Transaction Won't Run In JS Callback Functions
===
I am using PhoneGap and jQuery Mobile. I am trying to get some JSON data from a remote location and then populate a local WebSQL database with it. Here is my JS function:
function getLocations() {
var tx = window.openDatabase('csdistroloc', ... | 0 |
659,227 | 03/18/2009 17:10:40 | 2,938 | 08/26/2008 08:26:05 | 116 | 8 | Compare and contrast the lightweight markup languages (Textile, Markdown, and ReStructuredText) | Please identify the most popular lightweight markup languages and compare their strengths and weaknesses. These languages should be general-purpose markup for technical prose, such as for documentation (for example, Haml doesn't count).
(As per the FAQ, I am asking and then answering so I can star this information ... | markdown | textile | restructuredtext | markup | documentation | 12/09/2011 13:55:29 | not constructive | Compare and contrast the lightweight markup languages (Textile, Markdown, and ReStructuredText)
===
Please identify the most popular lightweight markup languages and compare their strengths and weaknesses. These languages should be general-purpose markup for technical prose, such as for documentation (for example, Ha... | 4 |
5,974,742 | 05/12/2011 07:32:19 | 664,512 | 03/17/2011 14:23:34 | 191 | 9 | Android - Do i need to buy a license or copyright the content like wallpaper, audio etc before using it in my app? | Do i need to buy a license or copyright the content like wallpapers before using it in my app.
Currently i am working on an app which mainly deals with wallpapers and i am thinking to use wallpapers which i have downloaded from the internet for free. So i was wondering that do i need to buy its license from its owne... | android | content | copyright | wallpaper | null | 05/12/2011 12:13:38 | off topic | Android - Do i need to buy a license or copyright the content like wallpaper, audio etc before using it in my app?
===
Do i need to buy a license or copyright the content like wallpapers before using it in my app.
Currently i am working on an app which mainly deals with wallpapers and i am thinking to use wallpaper... | 2 |
4,250,263 | 11/22/2010 21:11:12 | 177,238 | 09/22/2009 15:23:27 | 81 | 0 | Moving into Finance and want to gain experience | I'm a mid-level Java EE developer, and I've been considering a move into finance for some time. However, I am concerned that the gap in my skills is too large for a move into a high-frequency trading environment.
In doing my research, I've found the following areas to be a requirement:
* High frequency, low late... | java | career-development | finance | null | null | 11/22/2010 21:15:59 | not constructive | Moving into Finance and want to gain experience
===
I'm a mid-level Java EE developer, and I've been considering a move into finance for some time. However, I am concerned that the gap in my skills is too large for a move into a high-frequency trading environment.
In doing my research, I've found the following are... | 4 |
11,687,285 | 07/27/2012 11:55:27 | 867,406 | 07/28/2011 11:59:25 | 6 | 1 | can we move files from rackspace sever to our serv using php? | I Want to move the rackspace hosted files to any other server
Can i do it with use use of Rackspace **PHP API Services** that Rackspace provided
Regards
Gurpreet
| php | api | rackspace | null | null | 07/29/2012 18:25:49 | off topic | can we move files from rackspace sever to our serv using php?
===
I Want to move the rackspace hosted files to any other server
Can i do it with use use of Rackspace **PHP API Services** that Rackspace provided
Regards
Gurpreet
| 2 |
9,147,679 | 02/05/2012 07:28:45 | 799,342 | 06/15/2011 10:00:16 | 30 | 1 | Headers already sent error in php | How to resolve this error? I didn't get this error in my local WAMP. But after uploading to my internet host am getting this error. I even tried with ob_start() and ob_flush.
Warning: Cannot modify header information - headers already sent by (output started at /home/content/41/8629541/html/cms01dec11/pages... | php | header | null | null | null | 02/05/2012 18:32:41 | too localized | Headers already sent error in php
===
How to resolve this error? I didn't get this error in my local WAMP. But after uploading to my internet host am getting this error. I even tried with ob_start() and ob_flush.
Warning: Cannot modify header information - headers already sent by (output started at /home/c... | 3 |
11,305,088 | 07/03/2012 05:39:55 | 985,724 | 10/08/2011 19:28:17 | 1 | 0 | Android Application to send image from one android device to another one using Bluetooth | I would like to develop an android application that take an image using internal camera of one android device and send it to another android device to display the image using Bluetooth.
My first step is to send a 50x50 image over bluetooth.
I am trying to use the code on this [blog](http://kamrana.wordpress.com/2... | android | bluetooth | serversocket | null | null | 07/03/2012 06:41:16 | not a real question | Android Application to send image from one android device to another one using Bluetooth
===
I would like to develop an android application that take an image using internal camera of one android device and send it to another android device to display the image using Bluetooth.
My first step is to send a 50x50 ima... | 1 |
7,446,426 | 09/16/2011 14:46:00 | 949,041 | 09/16/2011 14:29:40 | 1 | 0 | write a C# code to return a string with case of every letter reversed | do we have any proper funtion in C# to do it?
private void button1_Click(object sender, EventArgs e)
{
string s1 = textBox1.Text;
} | c# | c#-4.0 | null | null | null | 09/16/2011 15:55:34 | too localized | write a C# code to return a string with case of every letter reversed
===
do we have any proper funtion in C# to do it?
private void button1_Click(object sender, EventArgs e)
{
string s1 = textBox1.Text;
} | 3 |
8,927,363 | 01/19/2012 14:03:44 | 11,464 | 09/16/2008 08:13:57 | 2,266 | 88 | Which environment is more suitable for starting to use Hadoop? | I mean, one can choose between Eclipse and Netbeans. Form your practical experience, which of these environments are better supporting Hadoop development?
Thanks. | eclipse | netbeans | hadoop | development | null | 01/19/2012 21:43:29 | not constructive | Which environment is more suitable for starting to use Hadoop?
===
I mean, one can choose between Eclipse and Netbeans. Form your practical experience, which of these environments are better supporting Hadoop development?
Thanks. | 4 |
1,296,305 | 08/18/2009 20:27:38 | 100,751 | 05/04/2009 08:55:21 | 91 | 1 | j2se to j2me WTK bluetoooth communication | I need some way to communicate between J2SE app and j2me midlet. how can i achieve this?
Abdul Khaliq | java-me | bluetooth | null | null | null | null | open | j2se to j2me WTK bluetoooth communication
===
I need some way to communicate between J2SE app and j2me midlet. how can i achieve this?
Abdul Khaliq | 0 |
8,728,480 | 01/04/2012 14:29:19 | 530,933 | 12/05/2010 02:55:47 | 728 | 89 | ios custom keyboard | Is it possible to change what each key does? I have a client application and the way it needs to work is that each key press is a command to send over the network. I do not need my keyboard to produce letters (the server will do this) when pressed but commands to the server. Currently I have this working by making a... | objective-c | ios | ipad | null | null | null | open | ios custom keyboard
===
Is it possible to change what each key does? I have a client application and the way it needs to work is that each key press is a command to send over the network. I do not need my keyboard to produce letters (the server will do this) when pressed but commands to the server. Currently I have... | 0 |
2,851,663 | 05/17/2010 18:27:32 | 16,511 | 09/17/2008 17:47:33 | 6,382 | 186 | How do I simulate a hover with a touch in touch enabled browsers? | With some HTML like this:
<p>Some Text</p>
Then some CSS like this:
p {
color:black;
}
p:hover {
color:red;
}
How can I allow a long touch on a touch enabled device to replicate hover? I can change markup/use JS etc, but can't think of an easy way to do this. | touch | hover | css | html | javascript | null | open | How do I simulate a hover with a touch in touch enabled browsers?
===
With some HTML like this:
<p>Some Text</p>
Then some CSS like this:
p {
color:black;
}
p:hover {
color:red;
}
How can I allow a long touch on a touch enabled device to replicate hover? I can change ... | 0 |
11,532,878 | 07/18/2012 00:53:00 | 1,162,388 | 01/21/2012 14:40:12 | 11 | 0 | Observer Pattern Example | I have learned about Observer pattern and please correct me if i m wrong.
+ Its a type of behavioral pattern
+ It is use to broadcast message between publisher and multiple subscribers.
+ There is a common interface that all other classes(subscribers) inherit and so on.....
I have understood the definition bu... | java | design-patterns | null | null | null | 07/18/2012 10:05:05 | not constructive | Observer Pattern Example
===
I have learned about Observer pattern and please correct me if i m wrong.
+ Its a type of behavioral pattern
+ It is use to broadcast message between publisher and multiple subscribers.
+ There is a common interface that all other classes(subscribers) inherit and so on.....
I hav... | 4 |
9,753,617 | 03/17/2012 20:52:40 | 1,247,812 | 03/04/2012 07:18:02 | 11 | 8 | Align final line in a String | I want to set a String on a TextView and I want to right align the final line, like this
"Rose are red, Violets are blue..
Me"
How can I achieve that?
Thanks | java | android | null | null | null | 03/19/2012 12:50:22 | not a real question | Align final line in a String
===
I want to set a String on a TextView and I want to right align the final line, like this
"Rose are red, Violets are blue..
Me"
How can I achieve that?
Thanks | 1 |
4,934,894 | 02/08/2011 15:23:21 | 608,344 | 02/08/2011 15:23:21 | 1 | 0 | jQuery trigger uploadify click event not working in firefox FF | I want to select an option on a drop down box and for this to trigger the uploadify available to jQuery which lets you upload a file.
My solution works in IE7 but not FF.
When you change the drop down it should show a window to browse for a file to upload. In FF nothing appears. In IE everything works.
JS is ... | jquery | firefox | triggers | click | uploadify | null | open | jQuery trigger uploadify click event not working in firefox FF
===
I want to select an option on a drop down box and for this to trigger the uploadify available to jQuery which lets you upload a file.
My solution works in IE7 but not FF.
When you change the drop down it should show a window to browse for a file ... | 0 |
10,969,484 | 06/10/2012 14:27:11 | 1,385,271 | 05/09/2012 17:39:10 | 11 | 0 | How to parse date into the array? | > 11.06.2012 17:40
All what I need it's to put in array values
mydate.day = 11;
mydate.month = 6;
mydate.year = 2012;
mydate.hours = 17;
mydate.minutes = 40; | javascript | null | null | null | null | 06/10/2012 22:22:10 | too localized | How to parse date into the array?
===
> 11.06.2012 17:40
All what I need it's to put in array values
mydate.day = 11;
mydate.month = 6;
mydate.year = 2012;
mydate.hours = 17;
mydate.minutes = 40; | 3 |
2,400,065 | 03/08/2010 08:33:27 | 67,015 | 02/16/2009 15:58:55 | 366 | 15 | Default taglibs used within included JSPs for editing | Within Eclipse's jsp-editor, as you all know, I get code-assistance for external taglibs once I defined them. In the project I am working on now a lot of jsps are just included and have no taglib definition in the top which gives me a lot of editor warnings. In the deployment this doesnt matter because the taglibs are ... | eclipse | code-assist | warnings | null | null | null | open | Default taglibs used within included JSPs for editing
===
Within Eclipse's jsp-editor, as you all know, I get code-assistance for external taglibs once I defined them. In the project I am working on now a lot of jsps are just included and have no taglib definition in the top which gives me a lot of editor warnings. In... | 0 |
8,305,175 | 11/29/2011 02:38:46 | 1,061,193 | 11/23/2011 05:04:08 | 13 | 0 | How to create Gimbal Lock effect in Android OpenGL? | I am currently working on a 3D model viewer for Android using OpenGL-ES. I want to create a gimbal lock effect according to the gesture given.
I know how to do single-axis rotation, such as rotate solely on the x-, y- or z-axis. However, my problem is that I don't know how to combine them all 3 together and have my ap... | android | opengl-es | rotation | touch | 3d-modelling | null | open | How to create Gimbal Lock effect in Android OpenGL?
===
I am currently working on a 3D model viewer for Android using OpenGL-ES. I want to create a gimbal lock effect according to the gesture given.
I know how to do single-axis rotation, such as rotate solely on the x-, y- or z-axis. However, my problem is that I don... | 0 |
9,047,975 | 01/28/2012 19:38:48 | 314,166 | 04/06/2010 21:02:07 | 7,504 | 343 | Inheriting upwards | I have a dom element like `div`, `span` (with `display:inline-block`), whose width is specified, and is the only (non-trivial) child of another dom element like `th`, `td`, `div`. Is there a way to inherit the width value to the parent? | html | css | html5 | css3 | null | null | open | Inheriting upwards
===
I have a dom element like `div`, `span` (with `display:inline-block`), whose width is specified, and is the only (non-trivial) child of another dom element like `th`, `td`, `div`. Is there a way to inherit the width value to the parent? | 0 |
11,127,129 | 06/20/2012 19:51:27 | 165,665 | 08/30/2009 17:58:55 | 39 | 1 | Paging in google app engine (GAE) | I've spent the past couple of days spending my time trying to figure out how to do proper paging in Google App Engine. Once I have a workable solution, I'll open the stuff out on google code as I see lots of people struggling with this.
The goal: create a simple but powerful paging solution for GAE, with the followi... | google-app-engine | paging | null | null | null | null | open | Paging in google app engine (GAE)
===
I've spent the past couple of days spending my time trying to figure out how to do proper paging in Google App Engine. Once I have a workable solution, I'll open the stuff out on google code as I see lots of people struggling with this.
The goal: create a simple but powerful pa... | 0 |
6,228,820 | 06/03/2011 15:02:39 | 631,473 | 02/24/2011 01:46:45 | 164 | 23 | Real Difference between Front End Developer and Back End Developer ?? | Could anyone tell me the exact difference between a Front End Developer and a Back End developer ? Their exact roles in
1. in programming ?
2. in an organization ? | java | frontend | backend | null | null | 06/03/2011 15:06:19 | off topic | Real Difference between Front End Developer and Back End Developer ??
===
Could anyone tell me the exact difference between a Front End Developer and a Back End developer ? Their exact roles in
1. in programming ?
2. in an organization ? | 2 |
11,517,727 | 07/17/2012 07:20:00 | 445,345 | 09/11/2010 23:42:41 | 36 | 2 | Are there any good exercise to practice the programming logic of iOS? | I've been learning how to develop iOS for about 3 months now. Just wonder if there are any good programming exercises to learn about the programming logic in objective-c. Like some challenging questions with solutions. Thanks! | objective-c | ios | null | null | null | 07/17/2012 07:45:41 | off topic | Are there any good exercise to practice the programming logic of iOS?
===
I've been learning how to develop iOS for about 3 months now. Just wonder if there are any good programming exercises to learn about the programming logic in objective-c. Like some challenging questions with solutions. Thanks! | 2 |
1,747,963 | 11/17/2009 10:37:36 | 52,265 | 01/07/2009 01:44:33 | 8 | 0 | Multiprocessing Pool inside Process time out | When ever I use the following code the pool result always returns a timeout, is there something logically incorrect I am doing?
from multiprocessing import Pool, Process, cpu_count
def add(num):
return num+1
def add_wrap(num):
new_num = ppool.apply_async(add, [num])
print new_n... | python | multiprocessing | pool | process | timeout | null | open | Multiprocessing Pool inside Process time out
===
When ever I use the following code the pool result always returns a timeout, is there something logically incorrect I am doing?
from multiprocessing import Pool, Process, cpu_count
def add(num):
return num+1
def add_wrap(num):
new_num ... | 0 |
3,841,552 | 10/01/2010 17:20:55 | 316,448 | 04/14/2010 11:48:32 | 2,247 | 81 | Why is the compiler not warning about "declarations" with no names? | The following C++ code does nothing (using GCC 4.4.3) - it does not print the text:
struct MyStruct { MyStruct() { cout << "Hello" << endl; } };
void foo() {
MyStruct ();
}
I think this is not so obvious... Let alone the danger of forgetting to give a variable name. Is there a compiler opti... | c++ | null | null | null | null | null | open | Why is the compiler not warning about "declarations" with no names?
===
The following C++ code does nothing (using GCC 4.4.3) - it does not print the text:
struct MyStruct { MyStruct() { cout << "Hello" << endl; } };
void foo() {
MyStruct ();
}
I think this is not so obvious... Let alone t... | 0 |
4,161,884 | 11/12/2010 05:27:32 | 422,570 | 08/17/2010 07:46:43 | 1 | 0 | MVC 2 application to delete amd create | Hai freinds
So far i am doing a sample mvc appplication in that i have used edit in my controller.cs i have wrote this code it is working fine in need the coding for CREATE,DELETE. I am using northwindwind.edmx file as my database.........
// GET: /Product/Edit/5
public ActionResult Edit(int id)
{
re... | asp.net-mvc-2 | null | null | null | null | 05/01/2012 23:10:50 | not a real question | MVC 2 application to delete amd create
===
Hai freinds
So far i am doing a sample mvc appplication in that i have used edit in my controller.cs i have wrote this code it is working fine in need the coding for CREATE,DELETE. I am using northwindwind.edmx file as my database.........
// GET: /Product/Edit/5
... | 1 |
631,850 | 03/10/2009 19:17:27 | 44,765 | 12/09/2008 21:59:08 | 840 | 41 | How do you name your many-to-many relationship tables? | I've seen a few different naming schemes throughout multiple languages when it comes to many-to-many relationships, so I was wondering: what naming scheme do you use for naming these relationships? Please include the platform for which you are developing.
Use `Posts` and `Tags` as examples for the tables that would ... | naming-conventions | database | many-to-many | null | null | 07/28/2012 19:49:23 | not constructive | How do you name your many-to-many relationship tables?
===
I've seen a few different naming schemes throughout multiple languages when it comes to many-to-many relationships, so I was wondering: what naming scheme do you use for naming these relationships? Please include the platform for which you are developing.
U... | 4 |
7,766,514 | 10/14/2011 10:44:20 | 579,646 | 01/18/2011 08:58:36 | 205 | 57 | is it possible to specify table cell using both % AND px? | Given a
<table width="100%">
<tr>
<td>Percentual<td>
<td>Percentual<td>
<td>Fixed 50px <td>
<td>Fixed size<td>
<td>Fixed size<td>
</tr>
</table>
Is it possible to have a table with some cells(`<td>`) fixed width(like `5... | html | css | css3 | null | null | null | open | is it possible to specify table cell using both % AND px?
===
Given a
<table width="100%">
<tr>
<td>Percentual<td>
<td>Percentual<td>
<td>Fixed 50px <td>
<td>Fixed size<td>
<td>Fixed size<td>
</tr>
</table>
Is it possi... | 0 |
10,563,950 | 05/12/2012 12:57:31 | 1,365,422 | 04/30/2012 09:13:36 | 24 | 0 | Wrapper methods and wrapper classes | I am working on exam prep at the moment and I came across a question down the bottom of this post..It relates to Wrapper methods Vs Wrapper classes. Is there a difference here? As I understand that wrapper classes allow primitives to be wrapped in objects so they can be included in things like collections. Wrapper clas... | java | null | null | null | null | 05/13/2012 19:01:00 | not a real question | Wrapper methods and wrapper classes
===
I am working on exam prep at the moment and I came across a question down the bottom of this post..It relates to Wrapper methods Vs Wrapper classes. Is there a difference here? As I understand that wrapper classes allow primitives to be wrapped in objects so they can be included... | 1 |
3,942,489 | 10/15/2010 13:07:13 | 66,056 | 02/13/2009 13:05:45 | 730 | 32 | What's the advantage of case sensitive languages over case insensitive ones? | I have been doing a number of projects in Delphi, which uses the case insensitive language Pascal, and I was wondering what the advantage of case sensitive languages is.
Jason [argues](http://stackoverflow.com/questions/309300/defend-php-convince-me-it-isnt-horrible) that "Case insensitivity introduces much ambiguit... | programming-languages | case-sensitive | case-insensitive | null | null | 10/15/2010 13:48:43 | not constructive | What's the advantage of case sensitive languages over case insensitive ones?
===
I have been doing a number of projects in Delphi, which uses the case insensitive language Pascal, and I was wondering what the advantage of case sensitive languages is.
Jason [argues](http://stackoverflow.com/questions/309300/defend-p... | 4 |
8,663,677 | 12/29/2011 03:24:16 | 1,119,382 | 12/28/2011 13:45:35 | 1 | 0 | How Can I fragment numbers by using linked list and node? |
This is the givven number : 29823#120006734009867453400#23457689020#10000
How can I change them like below by using linked list. Each of the node should contain certain fragments of the large number :
this is 5digits: 29823
this is 21 digits: 120006734009867453400
this is 11 digits: 23457689020
this is 5 d... | java | data-structures | null | null | null | 12/30/2011 00:56:14 | not a real question | How Can I fragment numbers by using linked list and node?
===
This is the givven number : 29823#120006734009867453400#23457689020#10000
How can I change them like below by using linked list. Each of the node should contain certain fragments of the large number :
this is 5digits: 29823
this is 21 digits: 120... | 1 |
6,637,260 | 07/09/2011 20:20:08 | 556,479 | 12/28/2010 21:51:51 | 1,226 | 44 | Convert seconds into minutes and seconds | How can I convert seconds into minutes and seconds?
I am aware that you can convert seconds to minutes like so, but I don't know how I can get the remainder of seconds...
int minutes = seconds / 60;
| objective-c | time | null | null | null | null | open | Convert seconds into minutes and seconds
===
How can I convert seconds into minutes and seconds?
I am aware that you can convert seconds to minutes like so, but I don't know how I can get the remainder of seconds...
int minutes = seconds / 60;
| 0 |
5,179,096 | 03/03/2011 09:54:36 | 642,727 | 03/03/2011 09:50:34 | 1 | 0 | php paypal integration | hi i have to develop a page in php on which user pay the payment via paypal and when user complete its payment,he will return the site and the status of the user should be updated
i want this code urgently can anybody help me | php | phpmyadmin | null | null | null | 03/03/2011 13:21:18 | not a real question | php paypal integration
===
hi i have to develop a page in php on which user pay the payment via paypal and when user complete its payment,he will return the site and the status of the user should be updated
i want this code urgently can anybody help me | 1 |
11,748,494 | 07/31/2012 20:29:58 | 266,542 | 02/04/2010 20:14:06 | 946 | 14 | jQuery keeps moving element out of my table | Please bare with my as my jQuery is still _very_ limited.
I'm working on a dynamic search feature for my user management panel so that I can look up payments quickly.
To display it, I've got this code:
<table>
<tr>
<td><strong>Username</strong></td>
<td><strong>E-mail</strong>... | jquery | html | null | null | null | null | open | jQuery keeps moving element out of my table
===
Please bare with my as my jQuery is still _very_ limited.
I'm working on a dynamic search feature for my user management panel so that I can look up payments quickly.
To display it, I've got this code:
<table>
<tr>
<td><strong>Username</st... | 0 |
5,393,722 | 03/22/2011 15:36:00 | 381,436 | 07/01/2010 19:05:37 | 29 | 1 | P2P Flex connection and video streaming | I want to create a web app to a single user could connect a web cam from one computer and start to broadcast video. At the same time another user is using another computer able to see this video. It is best suited for those tasks new technology Cirrus from Adobe. I have carefully read the manuals and hints and with he... | flex4 | adobe | p2p | cirrus | null | 03/22/2011 19:32:58 | too localized | P2P Flex connection and video streaming
===
I want to create a web app to a single user could connect a web cam from one computer and start to broadcast video. At the same time another user is using another computer able to see this video. It is best suited for those tasks new technology Cirrus from Adobe. I have car... | 3 |
10,607,454 | 05/15/2012 19:24:53 | 1,286,857 | 03/22/2012 19:54:34 | 467 | 30 | Deploying Flask on VPS | I currently have a LAMP stack on a Linode VPS.
My server is set up with apache2, and then in /etc/apache2/sites-available I have a list of site vhosts.
Example:
<VirtualHost *:80>
ServerAdmin user@gmail.com
ServerName domain.com
ServerAlias www.domain.com
DocumentRoo... | python | deployment | frameworks | mod-wsgi | flask | null | open | Deploying Flask on VPS
===
I currently have a LAMP stack on a Linode VPS.
My server is set up with apache2, and then in /etc/apache2/sites-available I have a list of site vhosts.
Example:
<VirtualHost *:80>
ServerAdmin user@gmail.com
ServerName domain.com
ServerAlias www.doma... | 0 |
11,300,481 | 07/02/2012 20:09:52 | 1,454,756 | 06/13/2012 20:47:08 | 3 | 0 | Make a live USB of your installed ubuntu | I wonder that whether there is a way of making my own installed ubuntu a live USB. The reason in fact is that I want to make my ubuntu to be used by anybody. After this guy used my ubuntu I do not want to see his garbage on my ubuntu. I want to see my ubuntu how it was looking before I gave it to him. Therefore, I have... | linux | ubuntu | usb | null | null | 07/03/2012 03:31:12 | off topic | Make a live USB of your installed ubuntu
===
I wonder that whether there is a way of making my own installed ubuntu a live USB. The reason in fact is that I want to make my ubuntu to be used by anybody. After this guy used my ubuntu I do not want to see his garbage on my ubuntu. I want to see my ubuntu how it was look... | 2 |
352,959 | 12/09/2008 14:45:04 | 44,010 | 12/06/2008 23:27:10 | 6 | 0 | Data validation in DAL vs. Business Layer? | Typically I have added data validation, such as checking that an input is within a certain range, in the data models found in my Data Access Layer. Searching the web I've seen that there are two schools of thought on the matter:
1. Adding the validation as part of the Data Access Layer (like I have been doing)
2... | data-access-layer | business | mvc | null | null | null | open | Data validation in DAL vs. Business Layer?
===
Typically I have added data validation, such as checking that an input is within a certain range, in the data models found in my Data Access Layer. Searching the web I've seen that there are two schools of thought on the matter:
1. Adding the validation as part of th... | 0 |
8,412,035 | 12/07/2011 07:55:56 | 970,237 | 09/29/2011 01:44:00 | 74 | 0 | simply loading a view based on what page the current UIPageControl is on | I want to have a UIPageControl in my app but each page has complex content that would take hours and hours to do programatically. So my question is whether I can make an array that will hold the names of all my XIB Files with different views and simply load them based on what page the user is?
And if anyone has any ... | objective-c | ios | xcode | null | null | null | open | simply loading a view based on what page the current UIPageControl is on
===
I want to have a UIPageControl in my app but each page has complex content that would take hours and hours to do programatically. So my question is whether I can make an array that will hold the names of all my XIB Files with different views ... | 0 |
1,805,400 | 11/26/2009 19:50:04 | 219,652 | 11/26/2009 19:46:47 | 1 | 0 | How do you get border color value with JQuery? | `$("#id").css("background-color")` (and other css attributes) works fine, but
`$("#id").css("border-color")` returns empty string.. | jquery | javascript | css | null | null | null | open | How do you get border color value with JQuery?
===
`$("#id").css("background-color")` (and other css attributes) works fine, but
`$("#id").css("border-color")` returns empty string.. | 0 |
349,574 | 12/08/2008 13:37:33 | 2,972 | 08/26/2008 09:20:36 | 303 | 29 | IIS 6 404 for default document | I have an ASP.NET website deployed on IIS 6. I have several folders in my app containing handlers like log.ashx, default.ashx and so on.
I have default document configured in IIS, so that I can type www.mydomain.com/tools in the browser, and I will get the /tools/default.ashx.
IIS gives me 404 all the time, which... | c# | asp.net | iis6 | null | null | 12/08/2008 14:18:22 | off topic | IIS 6 404 for default document
===
I have an ASP.NET website deployed on IIS 6. I have several folders in my app containing handlers like log.ashx, default.ashx and so on.
I have default document configured in IIS, so that I can type www.mydomain.com/tools in the browser, and I will get the /tools/default.ashx.
... | 2 |
8,924,566 | 01/19/2012 10:34:39 | 1,158,186 | 01/19/2012 10:08:14 | 1 | 0 | unable to access sqlite database from javascript | I have a problem with accessing sqlite database from java script
I have created a database using java class.
Is there any way to access sqlilte database from js.
Thanks in advance.. | android | null | null | null | null | 01/19/2012 22:40:21 | not a real question | unable to access sqlite database from javascript
===
I have a problem with accessing sqlite database from java script
I have created a database using java class.
Is there any way to access sqlilte database from js.
Thanks in advance.. | 1 |
7,423,084 | 09/14/2011 21:16:34 | 941,418 | 09/12/2011 21:43:49 | 311 | 17 | What could cause SSMS to not parse SQL properly? | This is the darndest thing I've ever seen.
I created a proc from a template that uses `SYSNAME` as the parameter types. All portions of the proc that took the name from the parameter are throwing errors. Here is a sample:
IF EXISTS(select 1 from sysobjects where name=N'dbo.ms_lst_partner_break_types' and xtyp... | sql-server-2008 | ssms | null | null | null | 09/14/2011 23:33:54 | too localized | What could cause SSMS to not parse SQL properly?
===
This is the darndest thing I've ever seen.
I created a proc from a template that uses `SYSNAME` as the parameter types. All portions of the proc that took the name from the parameter are throwing errors. Here is a sample:
IF EXISTS(select 1 from sysobjects... | 3 |
6,439,287 | 06/22/2011 11:47:14 | 371,317 | 06/20/2010 01:12:28 | 159 | 12 | Can I call the Twitter Link Service (for url shortening) programatically? | I've just implemented a feature on my site to use the Twitterizer API in C# to make a tweet under a machine account whenever new user content is added to my site.
Works great, but if I call the Twitterizer Update() method directly and the tweet includes a URL, the URL is not getting run through Twitter's new URL sho... | api | twitter | url-shortener | twitterizer | null | null | open | Can I call the Twitter Link Service (for url shortening) programatically?
===
I've just implemented a feature on my site to use the Twitterizer API in C# to make a tweet under a machine account whenever new user content is added to my site.
Works great, but if I call the Twitterizer Update() method directly and the... | 0 |
6,485,902 | 06/26/2011 18:30:40 | 590,335 | 01/26/2011 09:03:02 | 516 | 34 | "MATLAB style" computer vision \ image processing visualization \ debugging tools | I'm looking for tools that will allow simple visualization and debugging of computer vision \ image processing programs in c++.
The need is mainly for debugging and research.
OpenCV has some capabilities, but they are pretty limited.
| c++ | matlab | image-processing | visualization | computer-vision | 06/29/2011 04:37:13 | not a real question | "MATLAB style" computer vision \ image processing visualization \ debugging tools
===
I'm looking for tools that will allow simple visualization and debugging of computer vision \ image processing programs in c++.
The need is mainly for debugging and research.
OpenCV has some capabilities, but they are pretty li... | 1 |
3,120,027 | 06/25/2010 17:21:11 | 376,500 | 06/25/2010 17:15:11 | 1 | 0 | embed vlc player in HTML | i am trying to embed vlc player in a web page. what is the best way to do it.
actually i have to stream a video file using vlc and show it on the web page so that
other users logging to my site could see that video.
i have tried various snippts but unable to embed it. any help will be greatly appreciated.
Thanks ... | vlc-media-player | null | null | null | null | null | open | embed vlc player in HTML
===
i am trying to embed vlc player in a web page. what is the best way to do it.
actually i have to stream a video file using vlc and show it on the web page so that
other users logging to my site could see that video.
i have tried various snippts but unable to embed it. any help will be... | 0 |
7,619,599 | 10/01/2011 10:15:52 | 588,855 | 08/06/2010 17:52:56 | 1,134 | 12 | Javascript - select() method | What does the `select()` method in `Javascript` do? When should we use it?
Thanks. | javascript | select | null | null | null | 10/01/2011 11:03:29 | not a real question | Javascript - select() method
===
What does the `select()` method in `Javascript` do? When should we use it?
Thanks. | 1 |
7,931,006 | 10/28/2011 14:59:06 | 252,000 | 01/16/2010 02:41:04 | 32,502 | 635 | What language coined the term lvalue? | Was C the first programming language to use the term *lvalue*, or does it go further back? Note that I'm not talking about the general concept of "something on the left-hand side of an assignment statement" (which it has ceased to mean in C++ a long time ago). You can find that in pretty much any imperative programming... | c++ | c | terminology | history | lvalue | 10/28/2011 19:49:01 | off topic | What language coined the term lvalue?
===
Was C the first programming language to use the term *lvalue*, or does it go further back? Note that I'm not talking about the general concept of "something on the left-hand side of an assignment statement" (which it has ceased to mean in C++ a long time ago). You can find tha... | 2 |
6,247,207 | 06/06/2011 01:58:57 | 768,779 | 05/25/2011 02:11:14 | 6 | 0 | Make keyboard get above UIAlertView? | I coded an UIWebView inside an UIAlertView, and would like the user to type something inside that webView. Unfortunately, my keyboard got covered by the AlertView.<br>
Is there anyway to make the keyboard cover the view, not otherwise? | iphone | objective-c | null | null | null | null | open | Make keyboard get above UIAlertView?
===
I coded an UIWebView inside an UIAlertView, and would like the user to type something inside that webView. Unfortunately, my keyboard got covered by the AlertView.<br>
Is there anyway to make the keyboard cover the view, not otherwise? | 0 |
2,052,316 | 01/12/2010 20:58:07 | 230,348 | 12/12/2009 16:42:24 | 3 | 5 | Access dinied in SQL 2008 on image write | I have create my code in order to write images in a remote sql server
All the details of accessing and writing are fine until now, including the system account
right now i'm in the command of:
SqlFileStream = New SqlFileStream(filePathName, fileToken, FileAccess.Write)
and when i'm trying to execute it th... | sql-server-2008 | vb.net | stream | streaming | image | 02/02/2010 19:26:49 | off topic | Access dinied in SQL 2008 on image write
===
I have create my code in order to write images in a remote sql server
All the details of accessing and writing are fine until now, including the system account
right now i'm in the command of:
SqlFileStream = New SqlFileStream(filePathName, fileToken, FileAccess.... | 2 |
10,518,337 | 05/09/2012 14:39:43 | 973,493 | 09/30/2011 16:51:57 | 4 | 0 | Playframework source code changes | Hello I m new in play framwork and someone told me to make some changes in a web application. After importing it to eclipse and making some changes I tried to play run project but I wasnot able to see the changes I made. What shoud I do after the source code changes? | eclipse | playframework | null | null | null | 05/14/2012 13:00:48 | not a real question | Playframework source code changes
===
Hello I m new in play framwork and someone told me to make some changes in a web application. After importing it to eclipse and making some changes I tried to play run project but I wasnot able to see the changes I made. What shoud I do after the source code changes? | 1 |
1,551 | 08/04/2008 19:56:05 | 307 | 08/04/2008 14:26:05 | 1 | 2 | How to Think in OO | What is the best book/resource for the transition from procedural to object-oriented programming? Is there a good online Dojo, [Kata][1], or a book you can recommend?
[1]: http://en.wikipedia.org/wiki/Kata | oop | books | null | null | null | 01/24/2012 18:31:29 | off topic | How to Think in OO
===
What is the best book/resource for the transition from procedural to object-oriented programming? Is there a good online Dojo, [Kata][1], or a book you can recommend?
[1]: http://en.wikipedia.org/wiki/Kata | 2 |
2,015,464 | 01/06/2010 19:09:19 | 136,732 | 07/11/2009 13:37:53 | 18 | 1 | PHP : Document root directory backslash problem. | I'm trying to link to a stylesheet in my header file using $_SERVER["DOCUMENT_ROOT"] as follows:
<head>
<?php
print "<link href='".$_SERVER["DOCUMENT_ROOT"]."/include/style.css' rel='stylesheet' type='text/css' />";
?>
<title>eLMS</title>
</head>
Since i'm testing locally, i'm getting the path a... | php | backslash | null | null | null | null | open | PHP : Document root directory backslash problem.
===
I'm trying to link to a stylesheet in my header file using $_SERVER["DOCUMENT_ROOT"] as follows:
<head>
<?php
print "<link href='".$_SERVER["DOCUMENT_ROOT"]."/include/style.css' rel='stylesheet' type='text/css' />";
?>
<title>eLMS</title>
</head... | 0 |
4,596,845 | 01/04/2011 18:07:27 | 562,948 | 01/04/2011 18:07:27 | 1 | 0 | basic sharepoint workflow access denied even though I'm admin and owner | I have created a very basic workflow in SPD 2007 - for testing, I've narrowed it down to 1 step, " if 1 equals 1, send an email to myself." also tried having it just update a field on that listitem. Very simple! I then save it, but when I go to a list item to run the workflow manually, I get an Access Denied error, ... | sharepoint | permissions | workflow | wss-3.0 | null | null | open | basic sharepoint workflow access denied even though I'm admin and owner
===
I have created a very basic workflow in SPD 2007 - for testing, I've narrowed it down to 1 step, " if 1 equals 1, send an email to myself." also tried having it just update a field on that listitem. Very simple! I then save it, but when I g... | 0 |
111,348 | 09/21/2008 16:23:28 | 18,854 | 09/19/2008 13:43:18 | 11 | 3 | What XNA based 3D terrain and physics libraries exist? | I'm planning on creating a game that contains a landscape with objects on it. The landscape will be defined using a heightfield, and the objects will move about on top of, and fly over the terrain. If you've ever played the old games [Marble Madness][1] and [Virus/Zarch][2], that's the kind of complexity and style I'm ... | c# | xna | physics | simplicity | landscape | 04/29/2012 12:52:43 | not constructive | What XNA based 3D terrain and physics libraries exist?
===
I'm planning on creating a game that contains a landscape with objects on it. The landscape will be defined using a heightfield, and the objects will move about on top of, and fly over the terrain. If you've ever played the old games [Marble Madness][1] and [V... | 4 |
11,363,357 | 07/06/2012 13:41:31 | 844,574 | 07/14/2011 12:40:32 | 1 | 0 | PHP Class confusion. Using classes within other classes | Basically I want to know what the best way is to utilise classes within other classes on a large scale, is it best to initialise the class instance of class A in the contructor of class B? (using something like dependency injection) Or is it just easier/best to extend the classes and do it that why?
Thanks | php | oop | null | null | null | 07/06/2012 13:51:31 | not constructive | PHP Class confusion. Using classes within other classes
===
Basically I want to know what the best way is to utilise classes within other classes on a large scale, is it best to initialise the class instance of class A in the contructor of class B? (using something like dependency injection) Or is it just easier/best ... | 4 |
7,453,957 | 09/17/2011 10:03:05 | 354,974 | 06/01/2010 00:17:48 | 20 | 0 | Invalid token 'in' in class, struct, or interface member declaration | class operation
{
public void add(int val1 , int val2)
{
int result;
result= val1+ val2;
return result;
}
}
class view : operation
{
public override in add(int val1 , int val2)
{
int result... | token | invalid | null | null | null | 09/17/2011 23:36:39 | too localized | Invalid token 'in' in class, struct, or interface member declaration
===
class operation
{
public void add(int val1 , int val2)
{
int result;
result= val1+ val2;
return result;
}
}
class view : operation
{
public o... | 3 |
7,408,463 | 09/13/2011 21:03:39 | 211,026 | 11/14/2009 13:44:46 | 182 | 7 | How to refactor this IO code? | I need to read records from a flat file, where each 128 bytes constitutes a logical record. The calling module of this below reader does just the following.
while(iterator.hasNext()){
iterator.next();
//do Something
}
Means there will be a `next()` call after every `hasNext()` invocat... | java | coding-style | io | nio | null | 09/14/2011 00:43:41 | off topic | How to refactor this IO code?
===
I need to read records from a flat file, where each 128 bytes constitutes a logical record. The calling module of this below reader does just the following.
while(iterator.hasNext()){
iterator.next();
//do Something
}
Means there will be a `next()` c... | 2 |
8,102,007 | 11/12/2011 02:06:44 | 530,762 | 12/04/2010 21:17:12 | 3 | 0 | Finding a Stocks and Shares Web Service (LSE) | I have tried on a number of occasions to obtain a web service which provides data for the London Stock Exchange (real time information is not required). Are there any free providers out there? Are public information services in general moving to a different platform?
Thanks
Jim | service | wsdl | web | stocks | null | 11/17/2011 15:46:05 | off topic | Finding a Stocks and Shares Web Service (LSE)
===
I have tried on a number of occasions to obtain a web service which provides data for the London Stock Exchange (real time information is not required). Are there any free providers out there? Are public information services in general moving to a different platform?
... | 2 |
8,718,548 | 01/03/2012 21:01:30 | 348,311 | 05/23/2010 14:58:10 | 821 | 29 | Executing PHP code from DB | I know this question is asked multiple times before ...
but I have a different situation from those I've read.
Here goes:
My Database multiple forms that are to be loaded upon user request. This is not the problem and I can handle this. Within these forms, there are fields that are filled dynamically from 2 qu... | php | database | null | null | null | null | open | Executing PHP code from DB
===
I know this question is asked multiple times before ...
but I have a different situation from those I've read.
Here goes:
My Database multiple forms that are to be loaded upon user request. This is not the problem and I can handle this. Within these forms, there are fields that ... | 0 |
5,652,936 | 04/13/2011 17:07:24 | 465,137 | 10/03/2010 11:49:36 | 149 | 1 | hash tables in python | I started learning hash tables, so could anybody explain how the programm works. Although, where should I write a list with values?
The code is here:
http://www.daniweb.com/software-development/python/threads/342511 | python | hash | null | null | null | 04/13/2011 18:30:27 | not a real question | hash tables in python
===
I started learning hash tables, so could anybody explain how the programm works. Although, where should I write a list with values?
The code is here:
http://www.daniweb.com/software-development/python/threads/342511 | 1 |
2,840,238 | 05/15/2010 13:18:02 | 257,453 | 01/23/2010 16:00:31 | 22 | 4 | iPhone Encryption Standard - Will this implementation bye-pass apple check? | I found this implementation, and i am not sure whether we can use this implementation and apple will bye-pass extra check, this is a base-64 implementation.
The source code link is
http://blog.objectgraph.com/wp-content/uploads/2010/04/CryptTest.zip
The web page link is : http://blog.objectgraph.com/index.php/2... | iphone | encryption | null | null | null | null | open | iPhone Encryption Standard - Will this implementation bye-pass apple check?
===
I found this implementation, and i am not sure whether we can use this implementation and apple will bye-pass extra check, this is a base-64 implementation.
The source code link is
http://blog.objectgraph.com/wp-content/uploads/2010/0... | 0 |
10,613,158 | 05/16/2012 06:31:22 | 1,008,175 | 10/22/2011 04:57:29 | 10 | 4 | DOB in database,after one year i wan to increment age and update into database also | i am stroing Date of Birth in database,after one year i wan to increment age and update into database also... | c# | winforms | sql-server-2008 | null | null | 05/17/2012 11:04:24 | not a real question | DOB in database,after one year i wan to increment age and update into database also
===
i am stroing Date of Birth in database,after one year i wan to increment age and update into database also... | 1 |
7,015,806 | 08/10/2011 18:23:37 | 124,069 | 06/17/2009 04:10:08 | 8,055 | 437 | Is there a decent, standalone, cross-platform webserver that will work in concert with Autorun on USB Jump Drives? | I'm trying to find a decent standalone webserver that I can load up on a jump drive.
My wife is a photographer, and I'd like to present the clients with their images on usb. When they plug it in, I'd like a web page to load up, and run some jQuery magic to show them a nice carousel of all there images.
So far, th... | cross-platform | webserver | null | null | null | null | open | Is there a decent, standalone, cross-platform webserver that will work in concert with Autorun on USB Jump Drives?
===
I'm trying to find a decent standalone webserver that I can load up on a jump drive.
My wife is a photographer, and I'd like to present the clients with their images on usb. When they plug it in, I... | 0 |
9,854,519 | 03/24/2012 18:52:25 | 325,557 | 05/14/2009 00:14:43 | 484 | 22 | SASL vs. gssapi | I am doing a project which involves authentication and I can't quite grasp the difference between SASL and gssapi. Is gssapi used under the covers of SASL? Can I use gssapi without SASL? What is the correct thing to do?
If I use libsasl, do I need to link with libgssapi_*?
Thanks. | sasl | gssapi | null | null | null | null | open | SASL vs. gssapi
===
I am doing a project which involves authentication and I can't quite grasp the difference between SASL and gssapi. Is gssapi used under the covers of SASL? Can I use gssapi without SASL? What is the correct thing to do?
If I use libsasl, do I need to link with libgssapi_*?
Thanks. | 0 |
5,866,607 | 05/03/2011 07:48:17 | 149,199 | 08/02/2009 05:46:33 | 94 | 1 | sql performance | which sql below have better performance, and why?
1. table A(100 rows), table B(1000 rows)
(1)select * from A, B; (2) select * from B, A;
2.
(1) select * from T;
(2) select col1, col2 from T; | sql | null | null | null | null | 05/03/2011 09:15:35 | not a real question | sql performance
===
which sql below have better performance, and why?
1. table A(100 rows), table B(1000 rows)
(1)select * from A, B; (2) select * from B, A;
2.
(1) select * from T;
(2) select col1, col2 from T; | 1 |
10,238,296 | 04/19/2012 23:29:18 | 1,345,249 | 04/19/2012 22:41:33 | 1 | 0 | MySQL Union on Dissimilar Fields without Dummy Columns | So lets say I have 2 or more tables consisting of dissimilar columns in which a shared key (id) is not necessarily present :
Alpha:
+----+-------+-------+-------+
| id | paula | randy | simon |
+----+-------+-------+-------+
| 1 | 8 | 7 | 2 |
| 2 | 9 | 6 | 2 |... | mysql | join | union | field | fake | null | open | MySQL Union on Dissimilar Fields without Dummy Columns
===
So lets say I have 2 or more tables consisting of dissimilar columns in which a shared key (id) is not necessarily present :
Alpha:
+----+-------+-------+-------+
| id | paula | randy | simon |
+----+-------+-------+-------+
| 1 |... | 0 |
10,015,517 | 04/04/2012 16:36:56 | 1,313,355 | 04/04/2012 16:29:33 | 1 | 0 | Ontology applications and inference rules | actually my project is based on ontology(knowledge base). Here i created an ontology from which the data should be retrieved. An application where the question will be asked and the required answers will be retrieved from the ontology and print as output.
Here my doubt is how to construct the inference rules (i.e) how... | ontology | null | null | null | null | 04/05/2012 17:08:50 | not a real question | Ontology applications and inference rules
===
actually my project is based on ontology(knowledge base). Here i created an ontology from which the data should be retrieved. An application where the question will be asked and the required answers will be retrieved from the ontology and print as output.
Here my doubt is... | 1 |
5,945,682 | 05/10/2011 05:41:39 | 746,213 | 05/10/2011 05:41:39 | 1 | 0 | how to put the seletected contacts into an array in android | hai all
i am displaying all my phonebook contacts into my application with checkboxes..now i want to get the details like name mobileno and email of the seleceted contact list..please antone show me the code..thanks in advance | android | null | null | null | null | 05/23/2011 12:30:15 | not a real question | how to put the seletected contacts into an array in android
===
hai all
i am displaying all my phonebook contacts into my application with checkboxes..now i want to get the details like name mobileno and email of the seleceted contact list..please antone show me the code..thanks in advance | 1 |
11,288,681 | 07/02/2012 06:28:14 | 1,479,399 | 06/25/2012 08:30:32 | 10 | 0 | How to Post Text Directly on Lindin without any Opeing Browser in objetive c. | I Used OAuthStarterKit.But Now i want Just Loging From another view and after Login successfully i want to share Text from Another View which have ONE SHARE BUTTON and which is not connected with login i try to use this but Login was successfully done but POST doesnot work.i use this method for Login... and i successfu... | iphone | objective-c | twitter | null | null | 07/02/2012 12:44:11 | not a real question | How to Post Text Directly on Lindin without any Opeing Browser in objetive c.
===
I Used OAuthStarterKit.But Now i want Just Loging From another view and after Login successfully i want to share Text from Another View which have ONE SHARE BUTTON and which is not connected with login i try to use this but Login was suc... | 1 |
640,700 | 03/12/2009 22:11:04 | 26,699 | 10/10/2008 01:44:32 | 244 | 3 | What coding style for error checking is better and why? | What coding style for error checking is better and why?
(leave Exceptions away, imagine we do not have them)
int foo()
{
int errCode = some_system_call();
if (errCode != OK)
{
return myErrCode;
}
// continue doing foo stuff
return myOK;
... | language-agnostic | discussion | null | null | null | 04/05/2012 14:03:05 | not constructive | What coding style for error checking is better and why?
===
What coding style for error checking is better and why?
(leave Exceptions away, imagine we do not have them)
int foo()
{
int errCode = some_system_call();
if (errCode != OK)
{
return myErrCode;
}
... | 4 |
11,331,447 | 07/04/2012 14:55:31 | 1,501,877 | 07/04/2012 14:35:16 | 1 | 0 | flexigrid local sort | im trying to get my flexigrid to sort its columns in the browser and not on the server. i have a static XML file that is loaded into the grid and displays exactly how i want... the thing is flexigrid doesnt sort the table as it is working from a local data file.
i have found a few 'extentions' to the original code b... | javascript | jquery | html | flexigrid | null | null | open | flexigrid local sort
===
im trying to get my flexigrid to sort its columns in the browser and not on the server. i have a static XML file that is loaded into the grid and displays exactly how i want... the thing is flexigrid doesnt sort the table as it is working from a local data file.
i have found a few 'extentio... | 0 |
4,832,463 | 01/28/2011 19:58:04 | 592,322 | 01/27/2011 14:17:53 | 3 | 3 | how the facebook is maintaining the database???!! | When i update something in my profile how it updates in database..wheather they have lots of server or wat..or maintains server for each country...i am confused can explain this in detail..with simple example...
| mysql-management | null | null | null | null | 01/28/2011 20:11:00 | not a real question | how the facebook is maintaining the database???!!
===
When i update something in my profile how it updates in database..wheather they have lots of server or wat..or maintains server for each country...i am confused can explain this in detail..with simple example...
| 1 |
3,992,981 | 10/22/2010 00:10:56 | 483,670 | 10/22/2010 00:10:56 | 1 | 0 | Android browser/webview bug? Content-Disposition: attachment; filename="xyz.txt" | So an android browser or a webview works fine with urls like this - abc.com/xyz.txt
However, if your URL looks like this - abc.com/xyz.php and what's sent to the browser in the headers is - Content-Disposition: attachment; filename="xyz.txt", then the Android browsers and web view seems to get terribly confused.
... | android | webview | file-download | content-disposition | null | null | open | Android browser/webview bug? Content-Disposition: attachment; filename="xyz.txt"
===
So an android browser or a webview works fine with urls like this - abc.com/xyz.txt
However, if your URL looks like this - abc.com/xyz.php and what's sent to the browser in the headers is - Content-Disposition: attachment; filename... | 0 |
2,933 | 08/05/2008 22:26:00 | 1,384,652 | 08/01/2008 12:01:23 | 222 | 25 | An executable Python app | Python works on multiple platforms and can be used for desktop and web applications, thus I conclude that there is some way to compile it into an executable for Mac, Windows and Linux.
The problem being I have no idea where to start or how to write a GUI with it, can anybody shed some light on this and point me in t... | python | null | null | null | null | 04/25/2012 16:16:52 | not constructive | An executable Python app
===
Python works on multiple platforms and can be used for desktop and web applications, thus I conclude that there is some way to compile it into an executable for Mac, Windows and Linux.
The problem being I have no idea where to start or how to write a GUI with it, can anybody shed some l... | 4 |
10,169,864 | 04/16/2012 06:59:52 | 973,440 | 09/30/2011 16:10:10 | 1 | 0 | How to develop a Task Manager Application | I Want to develop a Task Manager application in android. I am new in android application Development and I don't know how to develop it. Can anybody advice me or suggest me any tutorial for building a Task Manager application using Android?
Thanks | android | null | null | null | null | 04/18/2012 06:02:02 | not a real question | How to develop a Task Manager Application
===
I Want to develop a Task Manager application in android. I am new in android application Development and I don't know how to develop it. Can anybody advice me or suggest me any tutorial for building a Task Manager application using Android?
Thanks | 1 |
1,892,260 | 12/12/2009 04:14:26 | 27,328 | 10/13/2008 06:22:10 | 719 | 16 | Looking for novice book on combinatorics | I am looking for books on the math & computing applications of [Combinatorics][1].
Let me know your favorite books on this topic. Thanks.
[1]: http://en.wikipedia.org/wiki/Combinatorics | language-agnostic | theory | combinatorics | computer-science | math | 11/03/2011 04:54:07 | not constructive | Looking for novice book on combinatorics
===
I am looking for books on the math & computing applications of [Combinatorics][1].
Let me know your favorite books on this topic. Thanks.
[1]: http://en.wikipedia.org/wiki/Combinatorics | 4 |
10,022,110 | 04/05/2012 03:00:51 | 1,258,491 | 03/09/2012 04:04:22 | 57 | 0 | How to eliminate this type of recursion? | This is a bit more intricate than a simple left-recursion or tail-call recursion. So I'm wondering how I can eliminate this kind of recursion. I'm already keeping my own stack as you can see below, so the function needs to no params or return values. However, it's still calling itself up (or down) to a certain level an... | recursion | real-time | go | stackless | null | null | open | How to eliminate this type of recursion?
===
This is a bit more intricate than a simple left-recursion or tail-call recursion. So I'm wondering how I can eliminate this kind of recursion. I'm already keeping my own stack as you can see below, so the function needs to no params or return values. However, it's still cal... | 0 |
2,766,693 | 05/04/2010 15:32:29 | 120,440 | 06/10/2009 10:35:15 | 206 | 15 | SSRS 2005: How do I make available varbinary data for download in a report? | SSRS newbie question here...
I have a table where one column is varbinary(max) data. I would like to make a report that makes this data available for download as a hyperlink so the user can just click on the item and get a file download dialog for the binary data. In this particular case, the binary data happens to ... | rdl | reportingservices-2005 | sql-server-2005 | null | null | null | open | SSRS 2005: How do I make available varbinary data for download in a report?
===
SSRS newbie question here...
I have a table where one column is varbinary(max) data. I would like to make a report that makes this data available for download as a hyperlink so the user can just click on the item and get a file download... | 0 |
3,304,433 | 07/21/2010 22:36:46 | 255,932 | 01/21/2010 15:36:34 | 8 | 0 | Load .txt file from javascript with jquery | I want to load a local .txt file and work with the content in javascript.
My local file is like C:\Users\Who\Desktop\file.txt
Thanks | javascript | jquery | load | text-files | null | 07/22/2010 01:15:14 | not a real question | Load .txt file from javascript with jquery
===
I want to load a local .txt file and work with the content in javascript.
My local file is like C:\Users\Who\Desktop\file.txt
Thanks | 1 |
7,572,348 | 09/27/2011 16:15:26 | 328,044 | 04/28/2010 15:44:18 | 110 | 3 | Speed up Excel Autofilter | I have a workbook that I made which generates a density map of I/O signals in an industrial plant. The whole workbook is driven by the lead sheet which the user inputs the signal type and where it is located. On the worksheet that generates the density map I give the user the ability to click a cell of interest in th... | excel | vba | autofilter | null | null | null | open | Speed up Excel Autofilter
===
I have a workbook that I made which generates a density map of I/O signals in an industrial plant. The whole workbook is driven by the lead sheet which the user inputs the signal type and where it is located. On the worksheet that generates the density map I give the user the ability to... | 0 |
2,183,113 | 02/02/2010 09:55:02 | 249,618 | 01/13/2010 08:43:46 | 365 | 43 | using catch(...) (ellipsis) for post-mortem analysis | Someone in a different question suggested using `catch(...)` to capture all otherwise unhandled - unexpected/unforseen exceptions by surrounding the whole `main()` with the `try{}catch(...){}` block.
It sounds like an interesting idea that could save a lot of time debugging the program and leave at least a hint of w... | c++ | exception-handling | debugging | try-catch | ellipsis | null | open | using catch(...) (ellipsis) for post-mortem analysis
===
Someone in a different question suggested using `catch(...)` to capture all otherwise unhandled - unexpected/unforseen exceptions by surrounding the whole `main()` with the `try{}catch(...){}` block.
It sounds like an interesting idea that could save a lot of... | 0 |
10,989,619 | 06/12/2012 01:46:09 | 1,446,976 | 06/10/2012 05:10:49 | 1 | 0 | why using javascript in the onclik event? | I see a line like the following, but i don't know what's the aim of the onclick event?
<a href="#comment-form" onclick="javascript:jQuery('#shop_tab').click()">post a comment</a>
</span>
| javascript | null | null | null | null | 06/12/2012 03:41:23 | too localized | why using javascript in the onclik event?
===
I see a line like the following, but i don't know what's the aim of the onclick event?
<a href="#comment-form" onclick="javascript:jQuery('#shop_tab').click()">post a comment</a>
</span>
| 3 |
945,778 | 06/03/2009 16:42:08 | 87,582 | 04/06/2009 12:06:44 | 1 | 0 | Parameterized constructor in servlet. | Can I declare parameterized constructor inside servlet which is only constructor ?
If no then why ? | java | servlets | java-ee | null | null | null | open | Parameterized constructor in servlet.
===
Can I declare parameterized constructor inside servlet which is only constructor ?
If no then why ? | 0 |
7,391,369 | 09/12/2011 17:05:27 | 941,024 | 09/12/2011 17:05:27 | 1 | 0 | Connecting Amazone EC2 using pem file in Java | I have written a server program which I run on a EC2 machine. Then I need to connect a client application to it using Java. I tried the keystore , kettrust things but I cN NOT connect to my application to use its feature.
Has anybody had any example of connecting to EC2 using java and run commands or using the service... | amazon-ec2 | null | null | null | null | 09/12/2011 21:38:19 | not a real question | Connecting Amazone EC2 using pem file in Java
===
I have written a server program which I run on a EC2 machine. Then I need to connect a client application to it using Java. I tried the keystore , kettrust things but I cN NOT connect to my application to use its feature.
Has anybody had any example of connecting to E... | 1 |
9,921,630 | 03/29/2012 08:21:42 | 873,282 | 08/01/2011 18:27:19 | 138 | 10 | Precedence of filter over servlet in Tomcat | I have Apache Tomcat Version 7.0.26 running.
A have a JAX-RS servlet under /test, which calls jsps which in tourn should be handled by the Tomcat servlet engine.
E.g.,
`/test` should be handled by jersey, but `/test/result.jsp` should be handled by the JSP engine.
I don't want the user to see different urls,... | tomcat | url-rewriting | jersey | tuckey-urlrewrite-filter | null | null | open | Precedence of filter over servlet in Tomcat
===
I have Apache Tomcat Version 7.0.26 running.
A have a JAX-RS servlet under /test, which calls jsps which in tourn should be handled by the Tomcat servlet engine.
E.g.,
`/test` should be handled by jersey, but `/test/result.jsp` should be handled by the JSP engine... | 0 |
7,604,312 | 09/29/2011 23:00:34 | 663,807 | 03/17/2011 06:33:56 | 33 | 1 | language used to develop PowerShell |
I know that it was developed on top of the .NET framework. Does anybody know what language was used to develop Windows PowerShell? I could not find it on wikipedia and a few other websites. | powershell | null | null | null | null | 09/30/2011 09:04:56 | not constructive | language used to develop PowerShell
===
I know that it was developed on top of the .NET framework. Does anybody know what language was used to develop Windows PowerShell? I could not find it on wikipedia and a few other websites. | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.