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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10,599,899 | 05/15/2012 11:38:34 | 1,384,336 | 05/09/2012 10:33:47 | 1 | 0 | what is sandbox solution in sharepoint server 2010? | what is sandbox solution give me the exact definition and why it is used and where it is used in sharepoint server 2010.
Please explain
thanks
regards
Prasanth | sharepoint | sharepoint2010 | moss | sandbox-solution | null | 05/17/2012 18:35:31 | not a real question | what is sandbox solution in sharepoint server 2010?
===
what is sandbox solution give me the exact definition and why it is used and where it is used in sharepoint server 2010.
Please explain
thanks
regards
Prasanth | 1 |
3,121,622 | 06/25/2010 21:39:29 | 330,700 | 05/02/2010 06:46:22 | 133 | 5 | Python multiprocessing.Queue deadlocks on put and get | I'm having deadlock problems with this piece of code:
<pre><code>
def _entropy_split_parallel(data_train, answers_train, weights):
CPUS = 1 #multiprocessing.cpu_count()
NUMBER_TASKS = len(data_train[0])
processes = []
multi_list = zip(data_train, answers_train, weights)
task_que... | python | queue | deadlock | multiprocessing | task-queue | null | open | Python multiprocessing.Queue deadlocks on put and get
===
I'm having deadlock problems with this piece of code:
<pre><code>
def _entropy_split_parallel(data_train, answers_train, weights):
CPUS = 1 #multiprocessing.cpu_count()
NUMBER_TASKS = len(data_train[0])
processes = []
multi_list = ... | 0 |
8,324,277 | 11/30/2011 10:14:57 | 438,755 | 09/03/2010 08:03:08 | 110 | 1 | ubuntu user permissions to access www | I have bind /var/www/ directory to user /home/username/public_html/
User is in own group.
I would like to allow user to edit files/directories in /var/www/. He can edit/delete files but not directories.
Thanks. | linux | shell | ubuntu | null | null | 11/30/2011 11:36:33 | off topic | ubuntu user permissions to access www
===
I have bind /var/www/ directory to user /home/username/public_html/
User is in own group.
I would like to allow user to edit files/directories in /var/www/. He can edit/delete files but not directories.
Thanks. | 2 |
5,063,444 | 02/21/2011 07:43:48 | 626,172 | 02/21/2011 07:36:39 | 1 | 0 | how to make online radio of local fm station | how to make online radio of the local radio station | javascript | null | null | null | null | 02/21/2011 07:47:06 | not a real question | how to make online radio of local fm station
===
how to make online radio of the local radio station | 1 |
9,223,529 | 02/10/2012 06:13:27 | 284,910 | 03/03/2010 01:32:35 | 459 | 31 | SharePoint Web Services jax-ws namespace conflict | I am trying to use SharePoint Web service to retrieve list changes but there seems to be a namespace conflict between what the jax-ws client generates and what SharePoint will accept. Below is the xml that is generated by jax-ws.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
... | java | sharepoint | jax-ws | null | null | null | open | SharePoint Web Services jax-ws namespace conflict
===
I am trying to use SharePoint Web service to retrieve list changes but there seems to be a namespace conflict between what the jax-ws client generates and what SharePoint will accept. Below is the xml that is generated by jax-ws.
<S:Envelope xmlns:S="http:/... | 0 |
8,745,064 | 01/05/2012 15:29:39 | 648,128 | 03/07/2011 12:21:18 | 161 | 3 | Receive an email when someone join to the portal | I'm finding a way to obtain an email when a user join to the portal (plone 4.x).
Any advice?
Thank's
Vito | plone | null | null | null | null | 01/05/2012 20:26:25 | off topic | Receive an email when someone join to the portal
===
I'm finding a way to obtain an email when a user join to the portal (plone 4.x).
Any advice?
Thank's
Vito | 2 |
2,183,458 | 02/02/2010 11:04:29 | 258,584 | 01/25/2010 16:23:12 | 23 | 0 | PHP: Zend_Layout: Where to write business logic? | On most project I use multiple layout scripts.
Sometimes I need some data in my layouts that are layout-specific, instead of page-specific. Which layout gets used though, IS page-specific.
So the bootstrap or actioncontroller would be good places to select a layout. But IMHO they would *not* be good places to inj... | php | zend-layout | null | null | null | null | open | PHP: Zend_Layout: Where to write business logic?
===
On most project I use multiple layout scripts.
Sometimes I need some data in my layouts that are layout-specific, instead of page-specific. Which layout gets used though, IS page-specific.
So the bootstrap or actioncontroller would be good places to select a l... | 0 |
11,335,579 | 07/04/2012 21:23:38 | 525,717 | 11/30/2010 20:58:22 | 48 | 0 | Qt HTML5 examples step by step | I have decided to start learning Qt C++ and HTML5
Please somebody provide some good step by step tutorials about Qt HTML5
Or demos | c++ | html5 | qt | null | null | 07/05/2012 14:41:23 | not constructive | Qt HTML5 examples step by step
===
I have decided to start learning Qt C++ and HTML5
Please somebody provide some good step by step tutorials about Qt HTML5
Or demos | 4 |
7,983,892 | 11/02/2011 16:32:58 | 474,980 | 10/13/2010 19:50:20 | 186 | 6 | Possible to connect a resistive touch panel to the ipad? | I am wondering if it would be possible to connect a resistive touch panel to the ipad through the 30-pin connection and use that for input?
Thanks,
| ios | ipad | null | null | null | 11/12/2011 23:33:14 | off topic | Possible to connect a resistive touch panel to the ipad?
===
I am wondering if it would be possible to connect a resistive touch panel to the ipad through the 30-pin connection and use that for input?
Thanks,
| 2 |
7,053,515 | 08/13/2011 21:52:00 | 893,406 | 08/13/2011 21:38:22 | 1 | 0 | which is better "destination, source" or "source, destination"? | My question is language transcendent, I've often found prototypes of "copy" functions define parameters in the order: argument1:"destination" then argument2:"source".
It is the case of memcpy for example in C. But it is NOT the case of file copy on bash ! You say, e.g.: "$ cp file file2" where file2 is the new file.
... | api | copy | null | null | null | 08/14/2011 13:57:44 | not constructive | which is better "destination, source" or "source, destination"?
===
My question is language transcendent, I've often found prototypes of "copy" functions define parameters in the order: argument1:"destination" then argument2:"source".
It is the case of memcpy for example in C. But it is NOT the case of file copy on b... | 4 |
9,238,977 | 02/11/2012 08:54:04 | 923,453 | 09/01/2011 12:35:40 | 111 | 0 | Passing Values From Raw Input From Within The Window Procedure | Currently, this is the WM_INPUT case in my Window Procedure (WINDPROC).
case WM_INPUT:
{
// ... Some code to pull out the input from the message
if(InputType == Keyboard)
{
if(KeyCode == KEY_W)
{
// Do Stuff Here
}
... | windows | winapi | input | raw-input | null | 02/21/2012 10:59:47 | too localized | Passing Values From Raw Input From Within The Window Procedure
===
Currently, this is the WM_INPUT case in my Window Procedure (WINDPROC).
case WM_INPUT:
{
// ... Some code to pull out the input from the message
if(InputType == Keyboard)
{
if(KeyCode == KEY_W)
... | 3 |
5,536,177 | 04/04/2011 08:30:53 | 690,765 | 04/04/2011 08:30:53 | 1 | 0 | C# DataGridView Virtual mode with delayed data delivery | I have a problem with a DataGridView. I try using it in virutal mode, and if I fill the data in the getCellValue method, it works. However, I can not feed the data there - I dont (and cant) have a blocking getNextDataPage request to my model. I can only send a command (command pattern) which is then processed, and I am... | c# | winforms | asynchronous | datagridview | virtualmode | null | open | C# DataGridView Virtual mode with delayed data delivery
===
I have a problem with a DataGridView. I try using it in virutal mode, and if I fill the data in the getCellValue method, it works. However, I can not feed the data there - I dont (and cant) have a blocking getNextDataPage request to my model. I can only send ... | 0 |
3,252,299 | 07/15/2010 03:42:40 | 336,384 | 05/08/2010 20:46:25 | 103 | 2 | How important is a Bachelor degree in Web Development? | I've posted this as a community wiki. I'm not sure if this is an appropriate question but the SO community has been a great help to me and I'm looking for a little direction in planning my career path.
I'm a designer who really enjoys Web Development. I have an associates degree in Graphic Design but I want to chang... | career-development | null | null | null | null | 01/24/2012 08:20:18 | off topic | How important is a Bachelor degree in Web Development?
===
I've posted this as a community wiki. I'm not sure if this is an appropriate question but the SO community has been a great help to me and I'm looking for a little direction in planning my career path.
I'm a designer who really enjoys Web Development. I hav... | 2 |
11,580,467 | 07/20/2012 13:34:46 | 1,540,910 | 07/20/2012 13:28:34 | 1 | 0 | What is the recommended way to give a new machine the same name as an old one in a domain? | We have an old existing Windows 2003 R2 server within the company domain and we want to set up a new system side-by-side which will eventually replace the old machine; however we wish to set the new system to have the same computer name as the old system.
The original system is simply called "ftpserver". What I pro... | domain | rename | null | null | null | 07/21/2012 13:40:33 | off topic | What is the recommended way to give a new machine the same name as an old one in a domain?
===
We have an old existing Windows 2003 R2 server within the company domain and we want to set up a new system side-by-side which will eventually replace the old machine; however we wish to set the new system to have the same c... | 2 |
3,448,821 | 08/10/2010 12:18:59 | 586,227 | 08/10/2010 12:18:59 | 1 | 0 | What is the best way to save the articles? | I got a project from my client to create a site similar to STACKOVERFLOW for Printing media.
So I want to know where should I store the article heading, body, images etc.? In databaser? in XML?
I want to make them searchable and can easily be picked by search engine.
Waiting for your replies.
Thanks
Ali Adrav... | c# | asp.net | sql | server | 2005 | 06/18/2012 15:05:12 | not a real question | What is the best way to save the articles?
===
I got a project from my client to create a site similar to STACKOVERFLOW for Printing media.
So I want to know where should I store the article heading, body, images etc.? In databaser? in XML?
I want to make them searchable and can easily be picked by search engine.
... | 1 |
4,066,847 | 11/01/2010 05:38:09 | 314,661 | 04/12/2010 15:22:23 | 617 | 8 | jQuery selection behaviour on arrays of DOM elements | Assuming a query as such.
var result = $(".ui-th-column");
This query in my case will return an array of objects as there are a number that match the selector provided.
If I then go something like.
result.attr("myAttributeName") == "MyExpectedValue"
I receive a result.
My question is this. Whi... | jquery | dom | attributes | selectors | null | null | open | jQuery selection behaviour on arrays of DOM elements
===
Assuming a query as such.
var result = $(".ui-th-column");
This query in my case will return an array of objects as there are a number that match the selector provided.
If I then go something like.
result.attr("myAttributeName") == "MyExpecte... | 0 |
2,916,478 | 05/26/2010 20:22:12 | 351,354 | 05/26/2010 20:22:12 | 1 | 0 | Passing array to another class - Objective C | I manage to pass the following array from MessagesTableViewController.m to arraySelectedCategory in another class called MessageDetailViewController.m:
self.messageDetailViewController.arraySelectedCategory = [[NSMutableArray alloc] initWithObjects:@"Value 1",@"Value 2", @"Value 3", nil];
but how do I hand over a... | objective-c | null | null | null | null | null | open | Passing array to another class - Objective C
===
I manage to pass the following array from MessagesTableViewController.m to arraySelectedCategory in another class called MessageDetailViewController.m:
self.messageDetailViewController.arraySelectedCategory = [[NSMutableArray alloc] initWithObjects:@"Value 1",@"Value... | 0 |
9,178,617 | 02/07/2012 15:07:42 | 975,566 | 10/02/2011 16:27:04 | 1,767 | 1 | Can I simplify the way my javascript function is called? | I have the following that I execute inline on a number of screens:
tinyMCE.init({
// General options
mode : "specific_textareas",
editor_selector : "mceEditor",
theme: "advanced",
plugins: "autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,ad... | jquery | null | null | null | null | 02/07/2012 15:37:00 | off topic | Can I simplify the way my javascript function is called?
===
I have the following that I execute inline on a number of screens:
tinyMCE.init({
// General options
mode : "specific_textareas",
editor_selector : "mceEditor",
theme: "advanced",
plugins: "autolink,lists,s... | 2 |
9,197,063 | 02/08/2012 16:09:28 | 1,152,334 | 01/16/2012 17:10:23 | 120 | 0 | memory allocation of variables | i'm in confusion
Does the allocation of automatic ,static and global variables take place at compile time or run time.
The thing i know is that at the compile time, the source code is translated to machine language.
When the compiler finds a statement like int a;, it writes the instruction.Does any e... | c++ | c | variables | null | null | 02/09/2012 07:15:53 | not a real question | memory allocation of variables
===
i'm in confusion
Does the allocation of automatic ,static and global variables take place at compile time or run time.
The thing i know is that at the compile time, the source code is translated to machine language.
When the compiler finds a statement like int a;, ... | 1 |
11,702,501 | 07/28/2012 15:55:30 | 1,559,802 | 07/28/2012 15:48:56 | 1 | 0 | WPF application (development environment ) which creates a new WPF app | I'm interested in creating a development environment in WPF which can aid non-programmers(like parents) to write simple programs in C# for children. So, I want to make a WPF application (development environment ) which creates a new WPF app. It's impossible, right? | c# | wpf | development-environment | null | null | 07/29/2012 11:29:40 | not constructive | WPF application (development environment ) which creates a new WPF app
===
I'm interested in creating a development environment in WPF which can aid non-programmers(like parents) to write simple programs in C# for children. So, I want to make a WPF application (development environment ) which creates a new WPF ap... | 4 |
11,069,789 | 06/17/2012 07:54:13 | 1,040,347 | 11/10/2011 18:22:13 | 35 | 1 | Where is Direct Dependencies in XCode 4.3? | I cant find it in XCode 4.3.2.
In previous versions of XCode it looked like.
But where it is now?
![enter image description here][1]
[1]: http://i.stack.imgur.com/SMHkP.png | iphone | xcode | null | null | null | null | open | Where is Direct Dependencies in XCode 4.3?
===
I cant find it in XCode 4.3.2.
In previous versions of XCode it looked like.
But where it is now?
![enter image description here][1]
[1]: http://i.stack.imgur.com/SMHkP.png | 0 |
11,694,480 | 07/27/2012 19:29:48 | 369,350 | 06/17/2010 13:28:56 | 890 | 28 | NHibernate Fetch Returning Wrong Row Count | I have an API set up in my project for a grid to call to get audit records to display to an admin. The grid has infinite scrolling set up and uses oData built into mvc4. So, it will make a call to the api with $top equal to the number of rows it is supposed to get and $skip set to get to the proper page.
Inside the ... | nhibernate | null | null | null | null | null | open | NHibernate Fetch Returning Wrong Row Count
===
I have an API set up in my project for a grid to call to get audit records to display to an admin. The grid has infinite scrolling set up and uses oData built into mvc4. So, it will make a call to the api with $top equal to the number of rows it is supposed to get and $sk... | 0 |
8,135,989 | 11/15/2011 11:57:07 | 876,477 | 08/17/2010 19:32:16 | 443 | 30 | Why does django community encourage the use of Postgres over Mysql? | Django community seems to encourage the use of Postgres, I understand that in a big project you probably don't want to use SQLite or such, but i don't want why they don't like Mysql that much.
just a quick example - Djangobook page 9:
We’re quite fond of PostgreSQL ourselves, for reasons outside the scope of ... | django | null | null | null | null | null | open | Why does django community encourage the use of Postgres over Mysql?
===
Django community seems to encourage the use of Postgres, I understand that in a big project you probably don't want to use SQLite or such, but i don't want why they don't like Mysql that much.
just a quick example - Djangobook page 9:
We... | 0 |
10,928,686 | 06/07/2012 08:56:54 | 1,096,429 | 12/13/2011 18:51:04 | 271 | 18 | Best practices: using namespace or reopen namespace? | Assume I've declared a function (or class, doesn't matter) in a header file, which is part of namespace foo:
<!-- language: lang-cpp -->
namespace foo
{
void bar();
…
}
For a long time I've been reopening the namespace when I was defining the function in a cpp file:
<!-- lang... | c++ | coding-style | null | null | null | 06/07/2012 20:44:35 | not constructive | Best practices: using namespace or reopen namespace?
===
Assume I've declared a function (or class, doesn't matter) in a header file, which is part of namespace foo:
<!-- language: lang-cpp -->
namespace foo
{
void bar();
…
}
For a long time I've been reopening the namespace wh... | 4 |
5,599,967 | 04/08/2011 19:35:10 | 451,623 | 12/15/2008 05:25:30 | 116 | 6 | How could configure or modify SWFAddress to make it use #! instead of # | SWFAddress it's very cool way of providing deep linking in flash. But unless you use #! in urls (and a other things too), google wont index your internal pages.
How would be the best way to configure (or modify) SWFAddress to use #!? | ajax | flash | seo | indexing | swfaddress | null | open | How could configure or modify SWFAddress to make it use #! instead of #
===
SWFAddress it's very cool way of providing deep linking in flash. But unless you use #! in urls (and a other things too), google wont index your internal pages.
How would be the best way to configure (or modify) SWFAddress to use #!? | 0 |
2,777,973 | 05/06/2010 01:58:36 | 324,888 | 01/30/2010 15:02:48 | 284 | 16 | Any good interview Questions to ask a sybase dba. | I am a java developer and i will be interviewing sybase dbas along with my boss.
I know some basic stuff about sybase.
Iam looking for good interview questions that i can ask for a sybase dba.
they will be having a min of 4 years of experience.
I am looking for them to have really good knowledge in performance and... | sybase | interview-questions | null | null | null | 12/02/2011 16:24:53 | not constructive | Any good interview Questions to ask a sybase dba.
===
I am a java developer and i will be interviewing sybase dbas along with my boss.
I know some basic stuff about sybase.
Iam looking for good interview questions that i can ask for a sybase dba.
they will be having a min of 4 years of experience.
I am looking fo... | 4 |
6,501,357 | 06/28/2011 03:54:53 | 623,879 | 02/18/2011 22:28:38 | 353 | 41 | Starvation free Priority Queue C# | I am looking for an implementation of a priority queue that prevents starvation. | c# | priority-queue | null | null | null | 06/28/2011 05:38:01 | not a real question | Starvation free Priority Queue C#
===
I am looking for an implementation of a priority queue that prevents starvation. | 1 |
4,825,572 | 01/28/2011 06:38:32 | 593,390 | 01/28/2011 06:38:32 | 1 | 0 | Undefined null or an object error in javscript | I am mvc 2.0 for that in a particular textbox have set the maximun charcter for the textbox...but seems to get undefined error this is my view
<td>
<%= Html.TextArea("Description", Model.Description, new{id = "descriptionId",onKeyDown = "limitText(this.form.Description,this.form.countdown,1000... | javascript | asp.net-mvc-2 | null | null | null | null | open | Undefined null or an object error in javscript
===
I am mvc 2.0 for that in a particular textbox have set the maximun charcter for the textbox...but seems to get undefined error this is my view
<td>
<%= Html.TextArea("Description", Model.Description, new{id = "descriptionId",onKeyDown = "limi... | 0 |
3,492,779 | 08/16/2010 11:47:34 | 174,375 | 09/16/2009 14:27:39 | 3,476 | 122 | Making the jump from a solo programmer to a team leader | I initially [asked on meta.stackoverflow][1] the best place to pitch my question, but the results didn't point to anywhere I was likely to find an answer. Hopefully this is programming related enough.
I would imagine all programmers begin working as part of a team, under an IT manager, or supervisor of some descript... | career-development | null | null | null | null | 01/28/2012 21:14:13 | not constructive | Making the jump from a solo programmer to a team leader
===
I initially [asked on meta.stackoverflow][1] the best place to pitch my question, but the results didn't point to anywhere I was likely to find an answer. Hopefully this is programming related enough.
I would imagine all programmers begin working as part o... | 4 |
10,216,744 | 04/18/2012 19:39:18 | 1,141,471 | 01/10/2012 17:51:46 | 18 | 2 | what is int, fundamental data type | can anyone tell sth about what is int data type in C++, drilling the headers I get stucked in WinDef.h where I've found
typedef int INT;
and it is impossible to get in deeper. there is no reference from this "int" to anywhere else. What is next?
finally, what/where is the linkage between type... | c++ | int | typedef | programming-fundamentals | null | 04/19/2012 04:08:32 | not a real question | what is int, fundamental data type
===
can anyone tell sth about what is int data type in C++, drilling the headers I get stucked in WinDef.h where I've found
typedef int INT;
and it is impossible to get in deeper. there is no reference from this "int" to anywhere else. What is next?
finally... | 1 |
5,453,761 | 03/28/2011 01:19:03 | 470,772 | 10/09/2010 00:59:12 | 261 | 2 | CSS3 - Books for experienced developers | I hope i'm not asking this question on a wrong place.
I am looking for good books on CSS3, but for experienced developers, that are more focused on the changes and the new features.
Thanks | books | css3 | null | null | null | 09/27/2011 14:56:28 | not constructive | CSS3 - Books for experienced developers
===
I hope i'm not asking this question on a wrong place.
I am looking for good books on CSS3, but for experienced developers, that are more focused on the changes and the new features.
Thanks | 4 |
9,099,802 | 02/01/2012 16:52:39 | 1,155,482 | 01/18/2012 05:24:20 | 46 | 1 | How to add Maven project Build in JBoss through Eclipse | I am using Eclipse Helios and JBoss 4.2.0.
I have built a maven project in eclipse. A war file is getting generated in the target as a maven build.
Also I have configured the Jboss server through eclipse. When I right click on JBoss server in eclipse and say "Add or Remove". it is giving me the following message ... | java | eclipse | maven | jboss | null | null | open | How to add Maven project Build in JBoss through Eclipse
===
I am using Eclipse Helios and JBoss 4.2.0.
I have built a maven project in eclipse. A war file is getting generated in the target as a maven build.
Also I have configured the Jboss server through eclipse. When I right click on JBoss server in eclipse an... | 0 |
5,070,868 | 02/21/2011 20:23:38 | 645,924 | 11/27/2010 20:01:40 | 204 | 1 | Why can't I refference the project I created earlier from my wcf service class library? | > Warning 1 The referenced assembly "C:\Users\rzv\Desktop\CompanyAnalyse1.0\AnalyserModel\bin\AnalyserModel.dll" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4... | asp.net | wcf | entity-framework-ctp5 | null | null | null | open | Why can't I refference the project I created earlier from my wcf service class library?
===
> Warning 1 The referenced assembly "C:\Users\rzv\Desktop\CompanyAnalyse1.0\AnalyserModel\bin\AnalyserModel.dll" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken... | 0 |
3,854,687 | 10/04/2010 11:12:42 | 341,106 | 05/14/2010 09:20:45 | 172 | 17 | Metamodel attributes not populated -- NullPointerException | I would like to use JPA2 Criteria API with metamodel objects, which seems to be pretty easy:
...
Root<JPAAlbum> albm = cq.from(JPAAlbum.class);
... albm.get(JPAAlbum_.theme) ... ;
but this Root.get always throws a `NullPointerException`. `JPAAlbum_.theme` was automatically generated by Hibernate and... | hibernate | nullpointerexception | jpa-2.0 | criteria-api | null | null | open | Metamodel attributes not populated -- NullPointerException
===
I would like to use JPA2 Criteria API with metamodel objects, which seems to be pretty easy:
...
Root<JPAAlbum> albm = cq.from(JPAAlbum.class);
... albm.get(JPAAlbum_.theme) ... ;
but this Root.get always throws a `NullPointerException`... | 0 |
3,575,765 | 08/26/2010 13:54:12 | 431,913 | 08/26/2010 13:54:12 | 1 | 0 | The ConnectionString property has not been initialized | My connection string is placed in web.config as follows.
< connectionStrings>
< add name="empcon" connectionString="Persist Security Info=False;User ID=sa;Password=abc;Initial Catalog=db5pmto8pm;Data Source=SOWMYA-3BBF60D0\SOWMYA" />
< /connectionStrings>
and the code of program is...
public part... | asp.net | null | null | null | null | null | open | The ConnectionString property has not been initialized
===
My connection string is placed in web.config as follows.
< connectionStrings>
< add name="empcon" connectionString="Persist Security Info=False;User ID=sa;Password=abc;Initial Catalog=db5pmto8pm;Data Source=SOWMYA-3BBF60D0\SOWMYA" />
< /connection... | 0 |
10,181,299 | 04/16/2012 20:34:39 | 902,012 | 08/19/2011 07:41:02 | 229 | 1 | Choosing Layout Control for WPF Item | I am trying to learn WPF.. Although, Im having trouble with the layouts and which one to choose. I dont want to use canvas because the whole point is the get the hang of WPF..
I have decided to transfer one of my simple programs (in Windows Forms) to WPF..
I have attached the picture of the simple, 1 page form.. ... | c# | wpf | winforms | wpf-controls | null | null | open | Choosing Layout Control for WPF Item
===
I am trying to learn WPF.. Although, Im having trouble with the layouts and which one to choose. I dont want to use canvas because the whole point is the get the hang of WPF..
I have decided to transfer one of my simple programs (in Windows Forms) to WPF..
I have attached... | 0 |
8,038,612 | 11/07/2011 15:29:37 | 179,446 | 09/26/2009 11:02:21 | 118 | 1 | developing an app which capture video and marks time range on cross platform | i would like to develop an app. So when i finish to develop that, i would like to it works on cross platform (etc. Windows, IOS - iPad - )
This app must capture video from webcam or other video source and when it is capturing video i would like to mark video's current timestamp to db or any file (etc. xml). Also th... | c# | php | windows | ipad | php-gtk | 11/07/2011 18:09:26 | not a real question | developing an app which capture video and marks time range on cross platform
===
i would like to develop an app. So when i finish to develop that, i would like to it works on cross platform (etc. Windows, IOS - iPad - )
This app must capture video from webcam or other video source and when it is capturing video i ... | 1 |
10,926,720 | 06/07/2012 06:29:08 | 1,441,443 | 06/07/2012 06:23:35 | 1 | 0 | How to hide document library or custom list menu on the left navigation bar when no items? | I have created a list of document library and display in the left navigation bar as well as a list of custom list. How to I hide the document library or the custom list on the left navigation bar if no item when public were to view? | list | sharepoint | document | null | null | 06/07/2012 14:01:45 | off topic | How to hide document library or custom list menu on the left navigation bar when no items?
===
I have created a list of document library and display in the left navigation bar as well as a list of custom list. How to I hide the document library or the custom list on the left navigation bar if no item when public were ... | 2 |
9,901,892 | 03/28/2012 05:58:10 | 337,988 | 05/11/2010 07:10:22 | 51 | 4 | What is the desirable log format for Flume's hbase() sink? | The log format I use is JSON and it has 15 key-value pairs:
{"k1":"v1","k2":"v2","k3":"v3","k4":"v4","k5":"v5","k6":"v6","k7":"v7","k8":"v8","k9":"v9","k10":"v10","k11":"v11","k12":"v12","k13":"v13","k14":"v14","k15":"v15"}
And the following config is for Flume collector nodes to parse logs and store to HBase... | hbase | flume | null | null | null | null | open | What is the desirable log format for Flume's hbase() sink?
===
The log format I use is JSON and it has 15 key-value pairs:
{"k1":"v1","k2":"v2","k3":"v3","k4":"v4","k5":"v5","k6":"v6","k7":"v7","k8":"v8","k9":"v9","k10":"v10","k11":"v11","k12":"v12","k13":"v13","k14":"v14","k15":"v15"}
And the following conf... | 0 |
5,627,415 | 04/11/2011 20:50:40 | 478,525 | 10/17/2010 13:10:29 | 21 | 4 | Programming language for number crunching server | I'm looking for a programming language that would scale well on multiprocessors and distributed systems, and is able to work well with the GPU for number crunching.
What do you think, is Erlang and CUDA a good match? | erlang | cuda | number-crunching | null | null | 04/12/2011 03:30:34 | not a real question | Programming language for number crunching server
===
I'm looking for a programming language that would scale well on multiprocessors and distributed systems, and is able to work well with the GPU for number crunching.
What do you think, is Erlang and CUDA a good match? | 1 |
9,065,094 | 01/30/2012 14:07:47 | 983,783 | 10/07/2011 10:18:22 | 134 | 0 | DataBase Design Explanation | I would like to know some things about the way the databases are designed by some of these large sites like ebay, facebook, twitter, youtube. Am a newbie in databases so bear with me.
To start with say Ebay ::
1)
Does eBay create a separate database for each seller for uploading their products for sale and ... | database | database-design | relational-database | null | null | 02/06/2012 18:39:45 | not a real question | DataBase Design Explanation
===
I would like to know some things about the way the databases are designed by some of these large sites like ebay, facebook, twitter, youtube. Am a newbie in databases so bear with me.
To start with say Ebay ::
1)
Does eBay create a separate database for each seller for uploa... | 1 |
9,970,112 | 04/02/2012 02:05:57 | 81,767 | 03/24/2009 02:35:23 | 325 | 4 | Use PHP's preg_replace() to return only the value inside the <h1>? | How would I use PHP's `preg_replace()` to return only the value inside the `<h1>` in the following string (it's HTML text loaded in a variable called `$html`):
<h1>I'm Header</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque tincidunt porttitor magna, quis molestie augue sagitt... | php | html | regex | preg-replace | null | null | open | Use PHP's preg_replace() to return only the value inside the <h1>?
===
How would I use PHP's `preg_replace()` to return only the value inside the `<h1>` in the following string (it's HTML text loaded in a variable called `$html`):
<h1>I'm Header</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing ... | 0 |
7,093,613 | 08/17/2011 13:25:17 | 898,719 | 08/17/2011 13:25:17 | 1 | 0 | Cannot understand the problem of Bitonic Euclidean Traveling-Salesman | I am referring to the problem in Introduction to Algorithms. I kind of fail to understand the problem.
From what I see, I need to sort the x-coordinates of the given set of points and then form a optimal path from the smallest x coordinate to the largest x coordinate.
For eg. (x1,y1) (x2,y2) ...(xn,yn) are sor... | algorithm | dynamic-programming | euclidean-distance | null | null | 08/17/2011 13:33:30 | off topic | Cannot understand the problem of Bitonic Euclidean Traveling-Salesman
===
I am referring to the problem in Introduction to Algorithms. I kind of fail to understand the problem.
From what I see, I need to sort the x-coordinates of the given set of points and then form a optimal path from the smallest x coordinate ... | 2 |
11,681,707 | 07/27/2012 05:00:43 | 1,544,927 | 07/23/2012 04:18:44 | 17 | 0 | Canvas and LWUIT in J2ME | I am new in J2ME.In my application I have to add Textfield,Label and Button in the Tab View of the Canvas Class.
How can I add LWUIT components into Canvas Class? | canvas | java-me | lwuit | null | null | 07/27/2012 12:26:11 | not a real question | Canvas and LWUIT in J2ME
===
I am new in J2ME.In my application I have to add Textfield,Label and Button in the Tab View of the Canvas Class.
How can I add LWUIT components into Canvas Class? | 1 |
152,243 | 09/30/2008 08:33:02 | 7,742 | 09/15/2008 14:19:42 | 36 | 3 | Transaction encapsulation of multi-process writes | I have a database scenario (i'm using Oracle) in which several processes make inserts into a table and a single process selects from it. The table is basically used as a intermediate storage, to which multiple processes (in the following called the Writers) write log events, and from which a single processes (in the f... | sql | transactions | acid | null | null | null | open | Transaction encapsulation of multi-process writes
===
I have a database scenario (i'm using Oracle) in which several processes make inserts into a table and a single process selects from it. The table is basically used as a intermediate storage, to which multiple processes (in the following called the Writers) write ... | 0 |
9,054,648 | 01/29/2012 16:19:54 | 1,176,652 | 01/29/2012 16:17:04 | 1 | 0 | Print list select related with reverse foreign key | I have two models
http://paste.ideaslabs.com/show/BN0e2z4NSa
I want to print a list os ads (title,slug, and thumb_photo)
How can I make this list, since the key is reverse?
Something like this SQL: http://paste.ideaslabs.com/show/Iw8ii2noz | python | django | null | null | null | 02/01/2012 03:29:10 | not a real question | Print list select related with reverse foreign key
===
I have two models
http://paste.ideaslabs.com/show/BN0e2z4NSa
I want to print a list os ads (title,slug, and thumb_photo)
How can I make this list, since the key is reverse?
Something like this SQL: http://paste.ideaslabs.com/show/Iw8ii2noz | 1 |
2,928,298 | 05/28/2010 10:46:21 | 352,805 | 05/28/2010 10:46:21 | 1 | 0 | Rails uses wrong class in belongs_to | I have an application managing software tests and a class called TestResult:
class TestResult < ActiveRecord::Base
belongs_to :test_case, :class_name => "TestCase"
end
I'm right now migrating from Rails 1.x to 2.3.5.
In Rails 1.x everything works fine.
When trying to access the association... | ruby-on-rails | associations | null | null | null | null | open | Rails uses wrong class in belongs_to
===
I have an application managing software tests and a class called TestResult:
class TestResult < ActiveRecord::Base
belongs_to :test_case, :class_name => "TestCase"
end
I'm right now migrating from Rails 1.x to 2.3.5.
In Rails 1.x everything works fine... | 0 |
9,687,526 | 03/13/2012 15:56:18 | 1,156,544 | 01/18/2012 15:20:25 | 1 | 0 | I/O Socket error (Java) | I have a problem using a socket:
socket = new Socket(hostname, port);
os = socket.getOutputStream();
oos = new ObjectOutputStream(os);
is = socket.getInputStream();
ois = new ObjectInputStream(is); // THIS ALWAYS RAISES EXCEPTION
I have checked "is"... | java | sockets | io | ioexception | null | null | open | I/O Socket error (Java)
===
I have a problem using a socket:
socket = new Socket(hostname, port);
os = socket.getOutputStream();
oos = new ObjectOutputStream(os);
is = socket.getInputStream();
ois = new ObjectInputStream(is); // THIS ALWAYS RAISES EXC... | 0 |
5,752,534 | 04/22/2011 05:29:35 | 1,112,053 | 04/06/2011 05:43:37 | 1 | 0 | how to use Framework in android application | Which framework are use in android application | android | null | null | null | null | 04/22/2011 13:35:58 | not a real question | how to use Framework in android application
===
Which framework are use in android application | 1 |
10,346,243 | 04/27/2012 07:05:49 | 1,360,464 | 04/27/2012 07:03:24 | 1 | 0 | How can I create SEO friendly URLs with directory only | I need to change this:
www.domain.com/store/product/product-1.html
to this:
www.domain.com/store/product/1/
| url | friendly | null | null | null | 04/29/2012 09:33:20 | not a real question | How can I create SEO friendly URLs with directory only
===
I need to change this:
www.domain.com/store/product/product-1.html
to this:
www.domain.com/store/product/1/
| 1 |
2,621,008 | 04/12/2010 09:35:27 | 189,762 | 10/14/2009 10:43:03 | 6 | 0 | Which is best Ajax Framework? | I am going to use the ajax for simply refresh the multiple element on the page based on synchronous or asynchronous .
I want to refresh the page When the ajax request in completed.
Is there any ajax framework that has ajax utility function ?
I did not use any javascript framework.
Now I am developing page b... | ajax | ajaxtoolkit | ajax.net | java-ee | null | 09/12/2011 11:49:53 | not constructive | Which is best Ajax Framework?
===
I am going to use the ajax for simply refresh the multiple element on the page based on synchronous or asynchronous .
I want to refresh the page When the ajax request in completed.
Is there any ajax framework that has ajax utility function ?
I did not use any javascript frame... | 4 |
8,477,216 | 12/12/2011 16:10:04 | 806,550 | 06/20/2011 11:40:04 | 526 | 22 | Server side Javascript / jQuery | I want to create a little script to do the following:
Javascript/jQuery code:
var i,j;
IF image exist
i = Math.random;
refresh image to new image (test.png + "?"i)
ELSE IF image does not exist
show a cached version of the image (test.png+"?"i)
HTML:
<img src="test.p... | javascript | jquery | html | null | null | 12/12/2011 16:20:25 | not a real question | Server side Javascript / jQuery
===
I want to create a little script to do the following:
Javascript/jQuery code:
var i,j;
IF image exist
i = Math.random;
refresh image to new image (test.png + "?"i)
ELSE IF image does not exist
show a cached version of the image (test.png+"... | 1 |
9,479,352 | 02/28/2012 09:26:16 | 1,141,110 | 01/10/2012 14:45:35 | 18 | 3 | setHint and setHintColor not working | I am making a app which sends the sms at the scheduled time. The schedule button perform the scheduling function. I have three text areas to get the user input. I want to reset these text area with the hints after I have pressed the schedule button. so, i have defined a function as:
public vo... | android | null | null | null | null | null | open | setHint and setHintColor not working
===
I am making a app which sends the sms at the scheduled time. The schedule button perform the scheduling function. I have three text areas to get the user input. I want to reset these text area with the hints after I have pressed the schedule button. so, i have defined a functio... | 0 |
10,250,814 | 04/20/2012 17:30:29 | 908,128 | 08/23/2011 16:33:00 | 1 | 0 | I have no idea what I'm doing. Do you? | Here's my broken spaghetti javascript/jquery code:
$(document).ready(function(){
var d = new Date;
var hours = Date.getHours();
var mins = Date.getMinutes();
if(hours > 12){
var hour = (hours - 12);
var ampm = "PM";
}
else{
var hour = hours;
var amp... | javascript | jquery | clock | null | null | 04/20/2012 17:44:30 | not a real question | I have no idea what I'm doing. Do you?
===
Here's my broken spaghetti javascript/jquery code:
$(document).ready(function(){
var d = new Date;
var hours = Date.getHours();
var mins = Date.getMinutes();
if(hours > 12){
var hour = (hours - 12);
var ampm = "PM";
}
e... | 1 |
3,742,471 | 09/18/2010 16:27:23 | 420,886 | 08/15/2010 09:40:34 | 8 | 0 | network security | what are the various implementation challenges in network security? | security | networking | null | null | null | 09/18/2010 17:05:28 | not a real question | network security
===
what are the various implementation challenges in network security? | 1 |
9,013,371 | 01/26/2012 02:42:01 | 1,161,439 | 01/20/2012 20:39:45 | 4 | 0 | Infrared python | Could anyone point me in the direction of how I would go about controlling a television using python with an infrared sensor. I am using ubuntu. | python | infrared | null | null | null | 01/26/2012 12:54:27 | not a real question | Infrared python
===
Could anyone point me in the direction of how I would go about controlling a television using python with an infrared sensor. I am using ubuntu. | 1 |
11,675,411 | 07/26/2012 18:10:51 | 1,012,297 | 10/25/2011 07:40:04 | 242 | 0 | Retrieve any "liked" URL | If I create a facebook like button with data-href = "www.ohohohoho.com"
and ... some people like it.
How can I know if my logged user likes it with the SDK or Graph or FDK ? I saw that I can only retrieve the kind of
referenced page with :
http://stackoverflow.com/questions/11671094/retrieve-non-facebook-l... | url | facebook-graph-api | facebook-like | retrieve | null | null | open | Retrieve any "liked" URL
===
If I create a facebook like button with data-href = "www.ohohohoho.com"
and ... some people like it.
How can I know if my logged user likes it with the SDK or Graph or FDK ? I saw that I can only retrieve the kind of
referenced page with :
http://stackoverflow.com/questions/11... | 0 |
5,359,805 | 03/19/2011 03:10:45 | 134,787 | 07/08/2009 08:31:30 | 1 | 0 | Problem while parsing html -> xml and quering with Xpath | I want to parse a html page to get some data.
First, I convert it to XML document using _SgmlReader_.
Then, I load the result to XMLDocument and then navigate througt XPath:
//contains html document
var loadedFile = LoadWebPage();
...
Sgml.SgmlReader sgmlReader = new Sgml.SgmlReader();
... | c# | .net | xml | html-parsing | null | null | open | Problem while parsing html -> xml and quering with Xpath
===
I want to parse a html page to get some data.
First, I convert it to XML document using _SgmlReader_.
Then, I load the result to XMLDocument and then navigate througt XPath:
//contains html document
var loadedFile = LoadWebPage();
...
... | 0 |
11,132,888 | 06/21/2012 06:45:19 | 859,154 | 07/23/2011 09:23:42 | 14,222 | 713 | IEnumerable<T> and IQueryable<T> clarification? | after reading [this][1] question ,
i need to clear up some things
IQueryable<Customer> custs = from c in db.Customers
where c.City == "<City>"
select c;
IEnumerable<Customer> custs = from c in db.Customers
where c.City == "<City>"
select c;
Questions :
1) Is it ok to ... | c# | .net | ienumerable | iqueryable | null | null | open | IEnumerable<T> and IQueryable<T> clarification?
===
after reading [this][1] question ,
i need to clear up some things
IQueryable<Customer> custs = from c in db.Customers
where c.City == "<City>"
select c;
IEnumerable<Customer> custs = from c in db.Customers
where c.City == "<City... | 0 |
11,497,798 | 07/16/2012 03:31:11 | 11,926 | 09/16/2008 12:22:52 | 19,061 | 673 | information hidding in Javascript will sacrifice performance? | My main question is the following:
> is [information hidding][1] going to hurt perfomance(Both CPU/Memory) when you have a
> frequently-accessed function (returning an object) that you want
> people to interact with?
Or is this considered micro-optimization especially when using a platform like for example node... | javascript | null | null | null | null | 07/16/2012 20:11:39 | not a real question | information hidding in Javascript will sacrifice performance?
===
My main question is the following:
> is [information hidding][1] going to hurt perfomance(Both CPU/Memory) when you have a
> frequently-accessed function (returning an object) that you want
> people to interact with?
Or is this considered micro-... | 1 |
5,329,730 | 03/16/2011 18:07:24 | 214,647 | 11/19/2009 14:39:36 | 91 | 0 | Most have Microsoft technologies/platform (especially .NET) debugging and diagnostic tools for developers | What tools specially but not limited to debugging and diagnostic, you think are a most have for a windows programmer. Few tools that I have found of immense use are
1. VS debugger
2. Sysinternals Process explorer
3. Beyond comparer / win merge
4. Network monitor
5. Sharepoint manager 2010
6. caml query builder
... | .net | dev | null | null | null | 03/17/2011 13:26:57 | not constructive | Most have Microsoft technologies/platform (especially .NET) debugging and diagnostic tools for developers
===
What tools specially but not limited to debugging and diagnostic, you think are a most have for a windows programmer. Few tools that I have found of immense use are
1. VS debugger
2. Sysinternals Process e... | 4 |
9,135,241 | 02/03/2012 20:44:41 | 984,373 | 10/07/2011 16:43:28 | 1 | 0 | Horizontal Scrolling for table view | im a newbie here trying to do an app with similar layout to app store on the ipad. what im looking for is, How can i get a tableview to scroll horizontally similar to the one on app store for ipad. I want something exact like that. Im trying to do an app similar to app store.
I currently have a scroll view>>view>>... | uitableview | uitableviewcell | app-store | horizontal-scrolling | null | 02/04/2012 19:07:20 | not a real question | Horizontal Scrolling for table view
===
im a newbie here trying to do an app with similar layout to app store on the ipad. what im looking for is, How can i get a tableview to scroll horizontally similar to the one on app store for ipad. I want something exact like that. Im trying to do an app similar to app store.
... | 1 |
11,108,101 | 06/19/2012 19:35:44 | 122,238 | 06/12/2009 19:20:53 | 785 | 9 | Unable to make the facebook connect "LOGOUT" work. | I am trying to work on facebook connect to login the user via facebook.
The login part is working fine, I am about to exact some basic info of the user as well, but I am unable to make the logout work. Would you please have a look at the code. This is the page that the user is redirected to after she/he is logged i... | php | javascript | facebook | null | null | 06/21/2012 13:04:08 | not a real question | Unable to make the facebook connect "LOGOUT" work.
===
I am trying to work on facebook connect to login the user via facebook.
The login part is working fine, I am about to exact some basic info of the user as well, but I am unable to make the logout work. Would you please have a look at the code. This is the page... | 1 |
9,424,538 | 02/24/2012 02:31:39 | 1,229,769 | 02/24/2012 02:09:47 | 1 | 0 | Reload Chrome extension tabs | Is there some way to get the tab id's of only the tabs that are part of my extension?
Thanks. | javascript | google-chrome | browser | google-chrome-extension | null | null | open | Reload Chrome extension tabs
===
Is there some way to get the tab id's of only the tabs that are part of my extension?
Thanks. | 0 |
8,279,101 | 11/26/2011 14:29:19 | 643,742 | 03/03/2011 21:40:25 | 932 | 5 | Java happend-before in synchronized block | I need some help understanding the Java memory model.The following is a gerneric example to grasp the basic concept:
Image I have an object instance called `Shared` and two threads `A` and `B`. Furthermore there is some kind of `Queue` with a synchronized `put` and `take`.
Thread `A` modifies the `Shared`-instan... | java | synchronization | monitor | synchronized | java-memory-model | null | open | Java happend-before in synchronized block
===
I need some help understanding the Java memory model.The following is a gerneric example to grasp the basic concept:
Image I have an object instance called `Shared` and two threads `A` and `B`. Furthermore there is some kind of `Queue` with a synchronized `put` and `ta... | 0 |
4,438,506 | 12/14/2010 11:09:41 | 541,844 | 12/14/2010 11:09:41 | 1 | 0 | Exit from Inno Setup Instalation from [code] | Is it possible to exit the instalation from a function in the [code] section of an installer created with inno setup?
I'm not interested in setting the exit code, what I want to do is perform a custom check for a requirement, and exit the instalation if that requirement was not previously installed.
Thanks. | inno-setup | inno | null | null | null | null | open | Exit from Inno Setup Instalation from [code]
===
Is it possible to exit the instalation from a function in the [code] section of an installer created with inno setup?
I'm not interested in setting the exit code, what I want to do is perform a custom check for a requirement, and exit the instalation if that requirem... | 0 |
6,028,698 | 05/17/2011 09:16:18 | 755,877 | 05/16/2011 15:15:52 | 1 | 0 | Is there any help/FAQ on C++ template-file variables in netbeans? | I'm looking for a faq or overview on C++ template-file variables in Netbeans (7.0).
(Not to be confused with the template technique).
e.g.
%<%CLASSNAME%>% %<%DEFAULT_HEADER_EXT%>% %<%DATE%>%
which are automatically filled, when you create a new file out of that template.
The help on the Java templateva... | c++ | netbeans | null | null | null | null | open | Is there any help/FAQ on C++ template-file variables in netbeans?
===
I'm looking for a faq or overview on C++ template-file variables in Netbeans (7.0).
(Not to be confused with the template technique).
e.g.
%<%CLASSNAME%>% %<%DEFAULT_HEADER_EXT%>% %<%DATE%>%
which are automatically filled, when you cre... | 0 |
10,868,906 | 06/03/2012 08:25:11 | 1,204,895 | 02/12/2012 09:11:52 | 14 | 2 | PHP: One column table to one-dimensional array | I have table like this:
random_num
----------
0
15
12
...
and I have query `SELECT random_num FROM table_name;`.
I want to fetch array in way like:
$row[0] = 0;
$row[1] = 15;
$row[2] = 12;
etc..
But PHP lets me only to fetch it in this way:
$row[... | php | mysql | arrays | null | null | 06/03/2012 21:10:47 | not a real question | PHP: One column table to one-dimensional array
===
I have table like this:
random_num
----------
0
15
12
...
and I have query `SELECT random_num FROM table_name;`.
I want to fetch array in way like:
$row[0] = 0;
$row[1] = 15;
$row[2] = 12;
etc..
But PH... | 1 |
4,788,485 | 01/24/2011 23:39:44 | 510,290 | 11/17/2010 02:16:48 | 8 | 0 | MVC user format output | I have a C# MVC Project, and allow for users to select the way in which their data can be outputted (i.e. speed in kmh/mph, time in CST, ESt, etc., Distance in KMs, Miles, Meters, Hecters, etc.). Rather than running back to the db each time to retrieve the settings, on logon i stuff it into the encrypted cookies user ... | c# | asp.net-mvc | format | actionresult | jsonresult | null | open | MVC user format output
===
I have a C# MVC Project, and allow for users to select the way in which their data can be outputted (i.e. speed in kmh/mph, time in CST, ESt, etc., Distance in KMs, Miles, Meters, Hecters, etc.). Rather than running back to the db each time to retrieve the settings, on logon i stuff it into... | 0 |
8,405,781 | 12/06/2011 19:43:07 | 503,367 | 07/22/2010 14:22:31 | 135 | 8 | Downloading files from an sftp site - how? | I have the username and password.
Using Firefox, the URL ftp://myuid@ftp.xxx.com pops a dialogue asking fo the password. The the response is '503 User not logged in'
Using IE, the URL ftp.xxx.com pops a dialogue asking for username and password; the response is the same as with Firefox.
How do I connect to the s... | sftp | null | null | null | null | 12/06/2011 20:28:23 | off topic | Downloading files from an sftp site - how?
===
I have the username and password.
Using Firefox, the URL ftp://myuid@ftp.xxx.com pops a dialogue asking fo the password. The the response is '503 User not logged in'
Using IE, the URL ftp.xxx.com pops a dialogue asking for username and password; the response is the sa... | 2 |
5,190,166 | 03/04/2011 05:46:36 | 20,903 | 09/23/2008 05:06:32 | 1,818 | 45 | Isn't it time we used 'web' instead of 'www'? | I for one am sick of *ever* having to say "double-you double-you double-you." Too much of my life has been wasted on those damn syllables. If I had a time machine, I'd go back and smack Tim Berners-Lee until he agreed to make the subdomain "web", which is exactly the same number of characters but takes about 1/5 as lon... | dns | subdomains | null | null | null | 03/04/2011 06:04:28 | off topic | Isn't it time we used 'web' instead of 'www'?
===
I for one am sick of *ever* having to say "double-you double-you double-you." Too much of my life has been wasted on those damn syllables. If I had a time machine, I'd go back and smack Tim Berners-Lee until he agreed to make the subdomain "web", which is exactly the s... | 2 |
8,124,086 | 11/14/2011 15:45:25 | 350,061 | 05/25/2010 15:34:47 | 234 | 8 | Java: How to get all columns' names from an Oracle table | How can I get all columns' names from an Oracle table using Java?
Is there a way to get them from DatabaseMetaData object?
DatabaseMetaData myDatabaseMetaData = myConnection.getMetaData();
...
I know I can get them using a select statement:
Select COLUMN_NAME from user_tab_columns where table_nam... | java | oracle | metadata | columns | null | null | open | Java: How to get all columns' names from an Oracle table
===
How can I get all columns' names from an Oracle table using Java?
Is there a way to get them from DatabaseMetaData object?
DatabaseMetaData myDatabaseMetaData = myConnection.getMetaData();
...
I know I can get them using a select statement:
... | 0 |
7,036,356 | 08/12/2011 06:24:46 | 768,786 | 05/25/2011 02:21:40 | 69 | 3 | how is it possible to hack an iphone app for its database within? | hi everyone im curious to find out if it is possible for an end user to hack an iphone application and access the database files inside? And if so, how is it possible ? | iphone | application | null | null | null | 08/12/2011 06:31:13 | off topic | how is it possible to hack an iphone app for its database within?
===
hi everyone im curious to find out if it is possible for an end user to hack an iphone application and access the database files inside? And if so, how is it possible ? | 2 |
10,777,377 | 05/27/2012 21:20:57 | 695,408 | 04/06/2011 18:14:51 | 56 | 2 | Create category for UIImageView to enable asynchronous image loading | I've created a category for UIImageView to allow for async loading of images. Very simple below;
@implementation UIImageView (ImageLoader)
- (void) asyncLoadImageIntoView:(NSURL *)imageURL withLoadingIndicator:(BOOL)isLoadingIndicator {
NSMutableURLRequest *request = [NSMutableURL... | asynchronous | uiimageview | nsurlconnection | null | null | null | open | Create category for UIImageView to enable asynchronous image loading
===
I've created a category for UIImageView to allow for async loading of images. Very simple below;
@implementation UIImageView (ImageLoader)
- (void) asyncLoadImageIntoView:(NSURL *)imageURL withLoadingIndicator:(BOOL)isLoad... | 0 |
4,063,418 | 10/31/2010 14:12:17 | 481,177 | 10/20/2010 02:14:11 | 28 | 3 | Linq to Entities - Query errors in Web but not Unit tests | I have a query that errors out when I use it in a MVC 2.0 project, but not when I run unit tests against it (works fine). Below is the query, "User" is an entity. The error I get shows up on the Known issues to consider for EF (http://msdn.microsoft.com/en-us/library/bb896317.aspx) but it seems pretty basic this shou... | c# | entity-framework | linq-to-entities | null | null | null | open | Linq to Entities - Query errors in Web but not Unit tests
===
I have a query that errors out when I use it in a MVC 2.0 project, but not when I run unit tests against it (works fine). Below is the query, "User" is an entity. The error I get shows up on the Known issues to consider for EF (http://msdn.microsoft.com/e... | 0 |
8,082,824 | 11/10/2011 16:27:00 | 829,733 | 07/05/2011 13:05:28 | 98 | 4 | div manipulation | I have this
<div class="out">
out asdaasd
<div class="in"> in </div>
out
</div>
and want to get it to this
<div class="out"> out asdaasd <div>
<div class="in"> in </div>
<div class="out"> out </div>
with arbitary text inside out how can I detect position of inner div ... | javascript | jquery | html | null | null | 11/11/2011 05:47:53 | too localized | div manipulation
===
I have this
<div class="out">
out asdaasd
<div class="in"> in </div>
out
</div>
and want to get it to this
<div class="out"> out asdaasd <div>
<div class="in"> in </div>
<div class="out"> out </div>
with arbitary text inside out how can I detect ... | 3 |
7,194,222 | 08/25/2011 16:51:27 | 912,614 | 08/25/2011 16:51:27 | 1 | 0 | Python/Pygame Error - Attribute Error: 'NoneType' object has no attribute 'get_rect' | As my second individual game, things were bound to go wrong. There are probably quite a few things wrong with my code, but this is stopping me fixing them. I have absolutely no idea what the problem is.
# Horse Racing 01
# Displays a single running horse on the screen
# Author: Matt Rumble
# Date:... | python | error-message | pygame | attributeerror | livewires | 08/25/2011 18:10:52 | not a real question | Python/Pygame Error - Attribute Error: 'NoneType' object has no attribute 'get_rect'
===
As my second individual game, things were bound to go wrong. There are probably quite a few things wrong with my code, but this is stopping me fixing them. I have absolutely no idea what the problem is.
# Horse Racing 01
... | 1 |
7,202,974 | 08/26/2011 09:51:22 | 840,636 | 07/12/2011 11:54:15 | 16 | 0 | How to fill addMultiOptions with data from database | What I want to create is a form with an select field. The items in the select
field are categories, I want to put them from the database into the form addMultiOptions.
Hope some one can help me.
With kind regards,
Nicky | php | mysql | forms | zend-framework | null | null | open | How to fill addMultiOptions with data from database
===
What I want to create is a form with an select field. The items in the select
field are categories, I want to put them from the database into the form addMultiOptions.
Hope some one can help me.
With kind regards,
Nicky | 0 |
11,629,513 | 07/24/2012 11:04:18 | 1,548,377 | 07/24/2012 10:28:48 | 1 | 0 | Create and find a jpa entity in the same transaction? | I'm using JBoss 7.1.1 and the default implementation of Hibernate that comes with it (4.0.1).
I have a message driven bean, that in the same transaction creates an entity and persists it using the entity manager. After that (still the same transaction) I find the newly created entity and try to use the entity manager ... | hibernate | jpa | jboss7.x | null | null | null | open | Create and find a jpa entity in the same transaction?
===
I'm using JBoss 7.1.1 and the default implementation of Hibernate that comes with it (4.0.1).
I have a message driven bean, that in the same transaction creates an entity and persists it using the entity manager. After that (still the same transaction) I find ... | 0 |
1,516,794 | 10/04/2009 16:26:44 | 394,811 | 08/05/2009 00:46:19 | 3 | 0 | I'm having trouble parsing a facebook feed using simplexml | <http://www.facebook.com/feeds/share_posts.php?id=207302593&viewer=207302593&key=d95b2de790&format=rss20>
The link above is the URL to my shared posts on Facebook. When I load that URL in to simplexml_load_file() it provides an entire page of errors. Looking at the errors, it looks like Facebook is spitting out HTML... | php | simplexml | facebook | xml | rss | 11/21/2011 19:21:06 | too localized | I'm having trouble parsing a facebook feed using simplexml
===
<http://www.facebook.com/feeds/share_posts.php?id=207302593&viewer=207302593&key=d95b2de790&format=rss20>
The link above is the URL to my shared posts on Facebook. When I load that URL in to simplexml_load_file() it provides an entire page of errors. Lo... | 3 |
8,131,122 | 11/15/2011 03:30:17 | 1,046,747 | 11/15/2011 03:26:38 | 1 | 0 | Where do i start | I want to start writing a software for hospital management in java, I wanted to know
what flow would you recommend to accomplish that?
should I start with swing function, then add database connections or is there any other efficient way of doing it?
thanks. and Yes I am a noob trying to learn :) | java | database | swing | java-ee | null | 11/15/2011 05:57:08 | not a real question | Where do i start
===
I want to start writing a software for hospital management in java, I wanted to know
what flow would you recommend to accomplish that?
should I start with swing function, then add database connections or is there any other efficient way of doing it?
thanks. and Yes I am a noob trying to learn ... | 1 |
208,292 | 10/16/2008 12:14:09 | 18,187 | 09/18/2008 20:02:41 | 375 | 41 | Looking for pragmatic CMDB solution | I need a solution to catalog a number of applications in our company (more than 100 less than 1000).
Right now we are using a spreadsheet and for each app we fill in name, short description, contact person and maintainer (internal or vendor). The puspose is to use this list for IT planning and incident management (... | cmdb | software-inventory | itil | null | null | 04/15/2011 15:01:09 | off topic | Looking for pragmatic CMDB solution
===
I need a solution to catalog a number of applications in our company (more than 100 less than 1000).
Right now we are using a spreadsheet and for each app we fill in name, short description, contact person and maintainer (internal or vendor). The puspose is to use this list ... | 2 |
5,300,934 | 03/14/2011 15:45:26 | 137,615 | 07/13/2009 18:44:37 | 53 | 4 | jQuery custom event sequence | I'm creating a custom JS object. This object performs some `action`.
I want to be able to notify consumer of the object (by triggering custom events) that `action` will be performed **and** `action` is already performed. (This model of behavior is known in ASP.NET where controls have `onBeforeAction` and `onAfterActio... | jquery | sequence | custom-events | null | null | null | open | jQuery custom event sequence
===
I'm creating a custom JS object. This object performs some `action`.
I want to be able to notify consumer of the object (by triggering custom events) that `action` will be performed **and** `action` is already performed. (This model of behavior is known in ASP.NET where controls have ... | 0 |
3,171,297 | 07/03/2010 11:09:42 | 382,663 | 07/03/2010 11:06:46 | 1 | 0 | C++ Coding Logic - Various Ideas | I want to write a method to determine if a given string is a palindrome. E.g. "Madam I'm Adam", or "A man, a plan, a canal, Panama".
The prototype for the function is:
bool is_palindrome(char const * str)
I have a simple logic to check for equality by moving forward & backward from extreme ends of t... | c++ | stl | null | null | null | 07/04/2010 10:45:22 | not a real question | C++ Coding Logic - Various Ideas
===
I want to write a method to determine if a given string is a palindrome. E.g. "Madam I'm Adam", or "A man, a plan, a canal, Panama".
The prototype for the function is:
bool is_palindrome(char const * str)
I have a simple logic to check for equality by moving for... | 1 |
688,945 | 03/27/2009 08:37:38 | 13,430 | 09/16/2008 19:01:50 | 6,568 | 177 | making g++ ignore -mregparm for certain code | Some background:
As a personal project, I've been developing a kernel in c++. Things are going well, in fact I have very good support for much of c++ available in kernel land (I've implemented nearly the entire libc and libstdc++).
One of the more difficult and compiler specific things is RTTI and exception suppo... | c++ | kernel | operating-system | g++ | null | null | open | making g++ ignore -mregparm for certain code
===
Some background:
As a personal project, I've been developing a kernel in c++. Things are going well, in fact I have very good support for much of c++ available in kernel land (I've implemented nearly the entire libc and libstdc++).
One of the more difficult and co... | 0 |
8,386,240 | 12/05/2011 13:44:55 | 5,341 | 09/09/2008 09:49:26 | 1,957 | 29 | How do I deploy web2py on PythonAnywhere? | How do i get a basic web2py server up and running on
[PythonAnywhere](http://www.pythonanywhere.com)? | python | hosting | web-hosting | web2py | pythonanywhere | null | open | How do I deploy web2py on PythonAnywhere?
===
How do i get a basic web2py server up and running on
[PythonAnywhere](http://www.pythonanywhere.com)? | 0 |
4,743,237 | 01/20/2011 03:43:55 | 581,544 | 01/19/2011 14:11:04 | 1 | 0 | rest binding instead of soap binding | i used the tool java2ws from apache cxf to convert java to wsdl but it generates soap binding. How can i make it generate rest bindings ? | soap | null | null | null | null | null | open | rest binding instead of soap binding
===
i used the tool java2ws from apache cxf to convert java to wsdl but it generates soap binding. How can i make it generate rest bindings ? | 0 |
10,599,894 | 05/15/2012 11:38:08 | 493,272 | 11/01/2010 06:39:57 | 50 | 5 | 8 bit CRC in C code (psudo code) | Bored anyone?
Here is my c-based psudo code for doing 8 bit CRC on chars as they arrive.
Its straight from wiki examples.
http://en.wikipedia.org/wiki/Cyclic_redundancy_check
But i haven't tested it yet,
I will test in a couple of days and am just looking for feedback and opinions right now.
I need th... | c | crc | 8bit | null | null | 05/15/2012 11:40:47 | not a real question | 8 bit CRC in C code (psudo code)
===
Bored anyone?
Here is my c-based psudo code for doing 8 bit CRC on chars as they arrive.
Its straight from wiki examples.
http://en.wikipedia.org/wiki/Cyclic_redundancy_check
But i haven't tested it yet,
I will test in a couple of days and am just looking for feedback... | 1 |
11,458,845 | 07/12/2012 19:04:32 | 1,451,371 | 06/12/2012 13:38:48 | 1 | 0 | Adjust first few intervals of Y-axis in R | I have an R plot. The current Y-axis intervals are as follows
`0, 0.001, 0.003, 0.005, 0.007, 0.009`
I would like to adjust them in such a way that the first three intervals are different but the final maximum value is the same. Like this
`0, 0.0001, 0.0002, 0.0003, 0.0004, 0.001, 0.003, 0.005, 0.007, 0.009`
... | r | intervals | null | null | null | 07/13/2012 03:34:23 | not a real question | Adjust first few intervals of Y-axis in R
===
I have an R plot. The current Y-axis intervals are as follows
`0, 0.001, 0.003, 0.005, 0.007, 0.009`
I would like to adjust them in such a way that the first three intervals are different but the final maximum value is the same. Like this
`0, 0.0001, 0.0002, 0.000... | 1 |
6,453,774 | 06/23/2011 12:12:17 | 244,548 | 01/06/2010 07:53:02 | 50 | 0 | php textbox copy problem | my name is manish i created a page which have fixed 2 textbox and 2 combobox and
other 8 textbox is created at run time that is a textbox array. here is problem when i am going to save the data of textboxes in the data base only one row is saved and another row of data is not saved in database .
i explain... | php | null | null | null | null | 06/23/2011 18:04:26 | not a real question | php textbox copy problem
===
my name is manish i created a page which have fixed 2 textbox and 2 combobox and
other 8 textbox is created at run time that is a textbox array. here is problem when i am going to save the data of textboxes in the data base only one row is saved and another row of data is not saved in dat... | 1 |
10,528,300 | 05/10/2012 06:00:27 | 1,349,222 | 04/22/2012 07:07:52 | 30 | 0 | Edit PHP file using API in PHP | I am new in PHP and want to develop one single file in PHP API which edit all my js file,css file and html file at single window without login into webhost.Simple I just surf that one link and get edit those file and automatically save on those which I done changes.
Every js should be in different section,similarly ... | php | php5 | null | null | null | 05/10/2012 13:49:30 | not a real question | Edit PHP file using API in PHP
===
I am new in PHP and want to develop one single file in PHP API which edit all my js file,css file and html file at single window without login into webhost.Simple I just surf that one link and get edit those file and automatically save on those which I done changes.
Every js shoul... | 1 |
6,680,299 | 07/13/2011 14:13:15 | 268,588 | 02/08/2010 11:11:02 | 436 | 13 | User IP Address Using Proxy or Not | plz see the below codes :
private string GetUserIPAddress()
{
string User_IPAddress = string.Empty;
string User_IPAddressRange = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (string.IsNullOrEmpty(User_IPAddressRange))//without Proxy detection -> am i r... | c# | asp.net | proxy | ip-address | null | 07/13/2011 14:21:53 | not a real question | User IP Address Using Proxy or Not
===
plz see the below codes :
private string GetUserIPAddress()
{
string User_IPAddress = string.Empty;
string User_IPAddressRange = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (string.IsNullOrEmpty(User_IPAddressRa... | 1 |
7,912,641 | 10/27/2011 07:03:29 | 552,121 | 12/23/2010 07:53:01 | 45 | 1 | Looking for app to generate site template | I am looking for app which generate something like this:
http://www.symfony-project.org/images/jobeet/1_4/02/mockup_homepage.png
I know there is an app, but I cannot find them. Sorry for that kind of question. | css | templates | null | null | null | 10/27/2011 09:24:53 | off topic | Looking for app to generate site template
===
I am looking for app which generate something like this:
http://www.symfony-project.org/images/jobeet/1_4/02/mockup_homepage.png
I know there is an app, but I cannot find them. Sorry for that kind of question. | 2 |
8,513,388 | 12/14/2011 23:50:22 | 85,849 | 04/01/2009 19:38:17 | 104 | 6 | How to debug a base csp minidriver | I'd like to attach a debugger to a base csp minidriver on windows 7.
Which process hosts the driver .dll? Is it just another WUDFHost.exe ?
Can I attach a user-mode debugger to that process? | windows | debugging | device-driver | smartcard | null | null | open | How to debug a base csp minidriver
===
I'd like to attach a debugger to a base csp minidriver on windows 7.
Which process hosts the driver .dll? Is it just another WUDFHost.exe ?
Can I attach a user-mode debugger to that process? | 0 |
11,189,034 | 06/25/2012 12:05:04 | 1,479,853 | 06/25/2012 11:44:24 | 1 | 0 | Dao layer and webservice integration | I'm developing q restfull webservice and its basically do the save data on database and retrive data from a data base. So I'm planing to implement webservice logic and datata access logic as two different projects. It would be great if you could discuss pros and cons in this approach. | java | database | web-services | null | null | 06/25/2012 12:31:54 | not a real question | Dao layer and webservice integration
===
I'm developing q restfull webservice and its basically do the save data on database and retrive data from a data base. So I'm planing to implement webservice logic and datata access logic as two different projects. It would be great if you could discuss pros and cons in this ap... | 1 |
5,089,524 | 02/23/2011 10:18:07 | 557,023 | 12/29/2010 10:44:54 | 13 | 0 | crash after jointDef.Initialize in box2d cocos2d | I have a ship and a dock and would like to have a joint connecting them when I press on the dock
- (void)ccTouchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *myTouch = [touches anyObject];
CGPoint location = [myTouch locationInView:[myTouch view]];
location = [[CCDirector share... | cocos2d | touch | box2d | null | null | null | open | crash after jointDef.Initialize in box2d cocos2d
===
I have a ship and a dock and would like to have a joint connecting them when I press on the dock
- (void)ccTouchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *myTouch = [touches anyObject];
CGPoint location = [myTouch locationInVi... | 0 |
1,186,775 | 07/27/2009 06:48:02 | 95,873 | 04/25/2009 06:45:41 | 168 | 33 | Persistent store handling | I am working on email kind of application.
I want to store all the mails in persistent store.
Also the list of contacts needs to be stored.
How do I manipulate such kind of functionality using persistet store?
How do I store data?
Can multiple messages are saved ?
And how to acccess them correctly and... | blackberry | java-me | null | null | null | 07/27/2009 10:32:17 | not a real question | Persistent store handling
===
I am working on email kind of application.
I want to store all the mails in persistent store.
Also the list of contacts needs to be stored.
How do I manipulate such kind of functionality using persistet store?
How do I store data?
Can multiple messages are saved ?
And ho... | 1 |
1,890,620 | 12/11/2009 20:20:51 | 34,806 | 11/05/2008 19:26:28 | 1,561 | 87 | how to prepare for a Ruby interview in just one weekend | I'm a seasoned web developer but only have a modicum of Ruby/Rails experience. I just got an interview Monday at a Ruby shop, they do realize I don't have much Ruby experience. Besides 2 or 3 Ruby books I have lying around, what other resources might I avail myself of for a weekend crash course in Ruby. I do have a ... | ruby | interview-questions | ruby-on-rails | null | null | 12/03/2011 09:26:51 | not constructive | how to prepare for a Ruby interview in just one weekend
===
I'm a seasoned web developer but only have a modicum of Ruby/Rails experience. I just got an interview Monday at a Ruby shop, they do realize I don't have much Ruby experience. Besides 2 or 3 Ruby books I have lying around, what other resources might I avai... | 4 |
10,202,254 | 04/18/2012 03:13:35 | 1,044,865 | 11/14/2011 02:59:53 | 1 | 1 | Why openssl on windows produces error but not on centos: PKCS12_parse: mac verify failure (OpenSSL::PKCS12::PKCS12Error) | require 'openssl'
if ARGV.length == 2
pkcs12 = OpenSSL::PKCS12.new(File.read(ARGV[0]), ARGV[1])
p pkcs12.certificate
else
puts "Usage: load_cert.rb <path_to_cert> <cert_password>"
end
| ruby | openssl | null | null | null | null | open | Why openssl on windows produces error but not on centos: PKCS12_parse: mac verify failure (OpenSSL::PKCS12::PKCS12Error)
===
require 'openssl'
if ARGV.length == 2
pkcs12 = OpenSSL::PKCS12.new(File.read(ARGV[0]), ARGV[1])
p pkcs12.certificate
else
puts "Usage: load_cert.rb <path_to_cert> <cert_password>"
... | 0 |
11,070,759 | 06/17/2012 10:53:19 | 655,621 | 03/11/2011 15:50:20 | 114 | 9 | is there any workaround to sign up windows azure free trial without a US SMS number? | I want to sign up windows azure free trial , however no china options in the dropdownlist , i
have credit card. but i don't have a US SMS number , how can i sign up without a us sms number
?
see my other question : http://stackoverflow.com/questions/11070631 | windows | azure | null | null | null | 06/18/2012 12:16:56 | off topic | is there any workaround to sign up windows azure free trial without a US SMS number?
===
I want to sign up windows azure free trial , however no china options in the dropdownlist , i
have credit card. but i don't have a US SMS number , how can i sign up without a us sms number
?
see my other question : http:... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.