PostId int64 13 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 3 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -33 210k | OwnerUndeletedAnswerCountAtPostTime int64 0 5.77k | Title stringlengths 10 250 | BodyMarkdown stringlengths 12 30k | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 47 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8,988,853 | 01/24/2012 14:51:09 | 1,143,266 | 01/11/2012 13:16:27 | 12 | 0 | Reward when a friend accepts app invite | In my facebook game I'm trying to create a system where a user can invite their friend to the game, I want it so that if they accept the invite then they both get rewarded I have read the API docs but not quite sure how to link who invited who.
Any help appreciated
Thanks,
Jack. | php | facebook | facebook-graph-api | null | null | 01/25/2012 15:48:33 | not a real question | Reward when a friend accepts app invite
===
In my facebook game I'm trying to create a system where a user can invite their friend to the game, I want it so that if they accept the invite then they both get rewarded I have read the API docs but not quite sure how to link who invited who.
Any help appreciated
Tha... | 1 |
9,676,789 | 03/13/2012 00:35:18 | 1,265,360 | 03/13/2012 00:32:44 | 1 | 0 | I would like a JavaScript to display a DIV class / ID if the HTML form input has a value? | I would like a JavaScript to display a DIV class if the HTML form input has a value. If there is no value the div is not displayed. I don't want it to display even if the text in the form input is erased by the form user.
Thank you in advance. | javascript | html | null | null | null | 03/15/2012 09:17:53 | not a real question | I would like a JavaScript to display a DIV class / ID if the HTML form input has a value?
===
I would like a JavaScript to display a DIV class if the HTML form input has a value. If there is no value the div is not displayed. I don't want it to display even if the text in the form input is erased by the form user.
... | 1 |
2,072,354 | 01/15/2010 14:48:21 | 115,845 | 06/02/2009 08:04:59 | 679 | 24 | Setting up a Buildbot hosting service for multiple projects | I need to set up a buildbot hosting environment which is capable of managing a large number of ***independent*** projects, and ideally provides a web front-end for users to manage their buildbot instance.
As far as I can gather, there isn't such a utility available at the moment.
I'm planning to roll my own, but... | buildbot | hosting | continuous-integration | potential-opensoure-proje | null | null | open | Setting up a Buildbot hosting service for multiple projects
===
I need to set up a buildbot hosting environment which is capable of managing a large number of ***independent*** projects, and ideally provides a web front-end for users to manage their buildbot instance.
As far as I can gather, there isn't such a util... | 0 |
9,182,451 | 02/07/2012 19:20:19 | 1,188,930 | 02/04/2012 05:33:51 | 58 | 0 | What's the difference between Prolog rules and queries? | I'm new to logical programming and find it difficult to understand the difference between rules and queries, I feel they are basically the same. Any help to clarify this would be greatly appreciated. | query | prolog | rules | null | null | null | open | What's the difference between Prolog rules and queries?
===
I'm new to logical programming and find it difficult to understand the difference between rules and queries, I feel they are basically the same. Any help to clarify this would be greatly appreciated. | 0 |
5,526,024 | 04/02/2011 21:31:03 | 689,139 | 04/02/2011 18:04:42 | 1 | 0 | [java, socket] scan all ports from jtextarea | how do scan all ports from jtextarea?
whether the port is open or closed?
please help me...
thanks very much | java | sockets | null | null | null | null | open | [java, socket] scan all ports from jtextarea
===
how do scan all ports from jtextarea?
whether the port is open or closed?
please help me...
thanks very much | 0 |
795,350 | 04/27/2009 21:25:25 | 84,098 | 03/28/2009 20:33:03 | 15 | 0 | Google Wildcard Operator (*) | I am using the google ajax rest api and I'd like to get local results by prefix. For example: I type in "sta" and I get "starbucks".
I wonder if there is a documented or undocumented wildcard operator that that allows you to find results that *start* with a string.
I know that Google does have a wildcard operat... | google | search | null | null | null | null | open | Google Wildcard Operator (*)
===
I am using the google ajax rest api and I'd like to get local results by prefix. For example: I type in "sta" and I get "starbucks".
I wonder if there is a documented or undocumented wildcard operator that that allows you to find results that *start* with a string.
I know that ... | 0 |
2,310,905 | 02/22/2010 12:49:07 | 169,492 | 09/07/2009 04:31:20 | 186 | 17 | C#: using block: object re-initialization | Re-initialization within "using" block is a bad idea, to be avoided at all times. Still i am going to ask this:
Why does "using" call dispose on the original value and not on the last reference or re-initialization (which happens if try finally block is used)
MyClass b = new MyClass();// implements Idisposable
... | c# | using | null | null | null | null | open | C#: using block: object re-initialization
===
Re-initialization within "using" block is a bad idea, to be avoided at all times. Still i am going to ask this:
Why does "using" call dispose on the original value and not on the last reference or re-initialization (which happens if try finally block is used)
MyCla... | 0 |
9,327,619 | 02/17/2012 11:42:22 | 1,133,066 | 01/05/2012 20:51:32 | 1 | 0 | allow upload of .mobi and .epub | I am trying to upload (and then later allow people to download) ebooks from my website.
I have setup a custom post type, with custom meta boxes to hold the file information.
Wordpress allows me to upload a .doc file and a .pdf file - however it will not let me upload .mobi or .epub files (which are the two main f... | upload | download | epub | null | null | null | open | allow upload of .mobi and .epub
===
I am trying to upload (and then later allow people to download) ebooks from my website.
I have setup a custom post type, with custom meta boxes to hold the file information.
Wordpress allows me to upload a .doc file and a .pdf file - however it will not let me upload .mobi or ... | 0 |
3,487,188 | 08/15/2010 11:36:17 | 417,818 | 08/11/2010 23:08:02 | 31 | 0 | Pyramid program | One person is standing above the pyramid having 100 steps.He can take 1 or 2 steps at a time to come down.So there are how many possible ways he can come down?
I want to solve this problemin c programming language
Please Help to solve this problem | c | programming-languages | null | null | null | 08/15/2010 15:31:13 | not a real question | Pyramid program
===
One person is standing above the pyramid having 100 steps.He can take 1 or 2 steps at a time to come down.So there are how many possible ways he can come down?
I want to solve this problemin c programming language
Please Help to solve this problem | 1 |
8,300,361 | 11/28/2011 18:16:43 | 608,832 | 02/08/2011 21:24:49 | 3 | 0 | Is there a support community around Stanford's "CS 193P iPhone Application Development" anywhere on the web? | Searching Google brought me here: http://stackoverflow.com/questions/1155220/are-the-solutions-to-stanfords-online-iphone-development-course-anywhere-on-the
Searching "193p" on Stackoverflow.com did spit out a bunch of results, but they're all outdated and from 2010 or even 2009.
I'm working through the class mat... | iphone | ipad | ios5 | stanford | cs193p | 11/28/2011 22:15:35 | off topic | Is there a support community around Stanford's "CS 193P iPhone Application Development" anywhere on the web?
===
Searching Google brought me here: http://stackoverflow.com/questions/1155220/are-the-solutions-to-stanfords-online-iphone-development-course-anywhere-on-the
Searching "193p" on Stackoverflow.com did spit... | 2 |
6,771,179 | 07/21/2011 04:14:11 | 855,164 | 07/21/2011 04:14:11 | 1 | 0 | Wordpress Home Page Not Centered | http://stackoverflow.com/questions/2540540/why-is-my-page-0-not-centered-in-my-webpage
is the closest I've found yet to the type of problem I'm having.
The home page of my site is not centered.
When you click on any secondary page it will center.
I have Googled at least 100 times for every article on centering
... | wordpress | page | home | null | null | 07/21/2011 10:50:13 | too localized | Wordpress Home Page Not Centered
===
http://stackoverflow.com/questions/2540540/why-is-my-page-0-not-centered-in-my-webpage
is the closest I've found yet to the type of problem I'm having.
The home page of my site is not centered.
When you click on any secondary page it will center.
I have Googled at least 100... | 3 |
8,118,515 | 11/14/2011 07:29:18 | 1,045,126 | 11/14/2011 07:21:17 | 1 | 0 | Properties of HTML | Can somebody explain me the following:
1- wrapper in division
2- float property
3- how to add round corner in DIV
Regards
Muhammad Ali Cutlery | html | stylesheet | css-float | null | null | 11/14/2011 22:06:41 | not constructive | Properties of HTML
===
Can somebody explain me the following:
1- wrapper in division
2- float property
3- how to add round corner in DIV
Regards
Muhammad Ali Cutlery | 4 |
5,664,638 | 04/14/2011 14:18:52 | 592,377 | 01/27/2011 14:53:23 | 21 | 0 | SmallTalk Challenge | How to boot Windows XP from SmallTalk Virtual Machine? | windows-xp | smalltalk | difficult | null | null | 04/15/2011 20:26:44 | not a real question | SmallTalk Challenge
===
How to boot Windows XP from SmallTalk Virtual Machine? | 1 |
8,280,668 | 11/26/2011 18:40:06 | 630,908 | 02/23/2011 19:09:04 | 644 | 3 | Memory address space of a process | I know that Windows allows for any process about 2 Gigabyte memory address space as a maximum. 2 Gigabytes = 2147483648 bytes. I tried to allocate heap memory much more than 2147483648 bytes and I saw no error or warning, this the code:
# include<iostream>
int main(){
void *x=malloc(214748... | c++ | windows | memory-management | memory-allocation | malloc | null | open | Memory address space of a process
===
I know that Windows allows for any process about 2 Gigabyte memory address space as a maximum. 2 Gigabytes = 2147483648 bytes. I tried to allocate heap memory much more than 2147483648 bytes and I saw no error or warning, this the code:
# include<iostream>
int ma... | 0 |
11,478,558 | 07/13/2012 21:20:59 | 214,373 | 11/19/2009 07:03:16 | 470 | 19 | FETCH_HEAD not updating after "git fetch" | I have a local repository that pulls from a remote one. Running `git pull` as well as `git fetch; git merge FETCH_HEAD` used to work perfectly and did the same thing as expected.
Presently, and unexpectedly, running `git fetch` stopped updating the FETCH_HEAD reference. FETCH_HEAD is now permanently stuck to an old ... | git | fetch | null | null | null | null | open | FETCH_HEAD not updating after "git fetch"
===
I have a local repository that pulls from a remote one. Running `git pull` as well as `git fetch; git merge FETCH_HEAD` used to work perfectly and did the same thing as expected.
Presently, and unexpectedly, running `git fetch` stopped updating the FETCH_HEAD reference.... | 0 |
5,663,912 | 04/14/2011 13:21:21 | 379,693 | 06/30/2010 05:27:59 | 3,430 | 141 | Android - popover controller same as ipad | Here is a popover controller of the ipad.
![enter image description here][1]
[1]: http://i.stack.imgur.com/0U6zV.png
**Any idea on how do we create the same kind of thing in Android? Actually i want to display html file or load webview with URL.** | android | popover | android-popover | null | null | 10/21/2011 17:34:41 | not a real question | Android - popover controller same as ipad
===
Here is a popover controller of the ipad.
![enter image description here][1]
[1]: http://i.stack.imgur.com/0U6zV.png
**Any idea on how do we create the same kind of thing in Android? Actually i want to display html file or load webview with URL.** | 1 |
408,139 | 01/02/2009 22:04:27 | 2,077 | 08/20/2008 07:26:21 | 1,044 | 18 | How do I make a Flex Chart refresh whenever data is added to its dataProvider? | Now I must be missing something here, as this seems a very basic issue that would be addressed in any "Getting started with Flex charting" tutorial. However, all that I could find was hints that the chart should update automatically whenever the dataProvider changes. Mind you, hints.
This is my markup:
<?xml ... | air | flex | charts | null | null | null | open | How do I make a Flex Chart refresh whenever data is added to its dataProvider?
===
Now I must be missing something here, as this seems a very basic issue that would be addressed in any "Getting started with Flex charting" tutorial. However, all that I could find was hints that the chart should update automatically whe... | 0 |
2,197,098 | 02/04/2010 03:15:40 | 31,671 | 10/27/2008 01:07:58 | 7,842 | 455 | How can I tell if a request is made with AJAX in Kohana 3? | I've tried these
request::is_ajax()
Request::instance()->is_ajax
To no avail. I've noticed in the `request` class there is a public property `$is_ajax` but I can't seem to be able to access the property.
What am I doing wrong? | kohana | php | ajax | xmlhttprequest | null | null | open | How can I tell if a request is made with AJAX in Kohana 3?
===
I've tried these
request::is_ajax()
Request::instance()->is_ajax
To no avail. I've noticed in the `request` class there is a public property `$is_ajax` but I can't seem to be able to access the property.
What am I doing wrong? | 0 |
11,588,182 | 07/20/2012 23:30:32 | 1,316,524 | 04/06/2012 00:07:51 | 456 | 3 | PowerShell not recognizing basic commands? the term 'get' is not recognized as a name of a cmdlet (error) | I am trying to learn how to write PowerShell scripts, I tried just typing a basic get command such as:
`get help get`
and I am getting an error saying "the term 'get' is not recognized as a name of a cmdlet.
Pretty much every command I tried typing in gives me a similar error,
I was wondering if someone ... | powershell | null | null | null | null | null | open | PowerShell not recognizing basic commands? the term 'get' is not recognized as a name of a cmdlet (error)
===
I am trying to learn how to write PowerShell scripts, I tried just typing a basic get command such as:
`get help get`
and I am getting an error saying "the term 'get' is not recognized as a name of a cm... | 0 |
11,618,822 | 07/23/2012 19:04:44 | 1,465,579 | 06/19/2012 06:44:00 | 53 | 5 | Using Javascript,if div exist on page,code add new class in div | i need java script code on master page, which try to find if div esist on page then they add new class with div class n also add id in div
for example if pages have div:
<div id="Top" class="toplink">abc..</div>
then javascript code make it exactly like this:
<div id="Top" class="toplink adin" id-adi=... | c# | javascript | jquery | html | null | 07/23/2012 20:52:40 | not a real question | Using Javascript,if div exist on page,code add new class in div
===
i need java script code on master page, which try to find if div esist on page then they add new class with div class n also add id in div
for example if pages have div:
<div id="Top" class="toplink">abc..</div>
then javascript code make it... | 1 |
7,142,801 | 08/22/2011 03:07:16 | 881,734 | 08/06/2011 08:26:52 | 1 | 0 | Get Weather forecast temperature by search android | I use google api service,for get weather forecast
How can i implement for search city name then can show temperature of that city.
Thank you in advance | java | android | google-weather-api | null | null | 08/22/2011 03:41:13 | not a real question | Get Weather forecast temperature by search android
===
I use google api service,for get weather forecast
How can i implement for search city name then can show temperature of that city.
Thank you in advance | 1 |
8,231,702 | 11/22/2011 18:19:25 | 712,075 | 04/17/2011 11:35:08 | 50 | 1 | Java code doesnt work propperly | public boolean CheckCoords(int x, int z)
{
for (GUISpeler p : speler) {
for(GUICoordinate c : p.getCoords())
{
if(c.getX() == x && c.getZ() == z){
return false;
}
... | java | null | null | null | null | 11/22/2011 18:46:34 | not a real question | Java code doesnt work propperly
===
public boolean CheckCoords(int x, int z)
{
for (GUISpeler p : speler) {
for(GUICoordinate c : p.getCoords())
{
if(c.getX() == x && c.getZ() == z){
return false;
... | 1 |
7,425,955 | 09/15/2011 04:44:04 | 945,980 | 09/15/2011 04:15:05 | 1 | 0 | Multithread using synchronized method | I want to create two threads in whic one thread makes increment and another thread makes decrement.Synchronized block should used in this.
Output put format should look like this
5
classA makes increment 6
classB makes decrement 4
classA makes increment 6
classB makes decrement 4
.................
It ... | java | multithreading | null | null | null | 06/22/2012 11:56:39 | not a real question | Multithread using synchronized method
===
I want to create two threads in whic one thread makes increment and another thread makes decrement.Synchronized block should used in this.
Output put format should look like this
5
classA makes increment 6
classB makes decrement 4
classA makes increment 6
classB ma... | 1 |
8,022,914 | 11/05/2011 20:04:04 | 471,607 | 10/10/2010 16:20:50 | 1,465 | 120 | could not find kernel image casper vmlinuz | trying to install `ubuntu-11.10-server-i386` on my desktop for which i downloaded `Universal-USB-Installer-1.8.6.8` and followed the step as described on Ubuntu website.
I am using a pen drive to install it on my machine.When i started system it showed me following options
1. Run Ubuntu from pen drive
2. I... | ubuntu | ubuntu-11.04 | null | null | null | 11/05/2011 20:15:22 | off topic | could not find kernel image casper vmlinuz
===
trying to install `ubuntu-11.10-server-i386` on my desktop for which i downloaded `Universal-USB-Installer-1.8.6.8` and followed the step as described on Ubuntu website.
I am using a pen drive to install it on my machine.When i started system it showed me following op... | 2 |
6,932,760 | 08/03/2011 20:20:17 | 570,135 | 01/10/2011 16:59:47 | 26 | 1 | Excessive number of attempts to get a connection from pooled datasource | Since some time ago I have been paying attention to some monitoring data of my application. One fact took my attention: in every request my application process, there is a number of attempts to get a pooled connection from datasource. Sometimes just a few attempts are made, sometime more. In the worst case I found ther... | datasource | connection-pooling | null | null | null | null | open | Excessive number of attempts to get a connection from pooled datasource
===
Since some time ago I have been paying attention to some monitoring data of my application. One fact took my attention: in every request my application process, there is a number of attempts to get a pooled connection from datasource. Sometime... | 0 |
2,285,562 | 02/18/2010 00:46:33 | 28,760 | 10/16/2008 22:36:00 | 283 | 5 | What are the advantages/disadvantages of the Tomact request handling instance? | What are the advantages/disadvantages with regards to the fact that Tomcat only creates one instance of a Servlet class to handle all requests for a JSP/servlet? | jsp | tomcat | servlets | null | null | null | open | What are the advantages/disadvantages of the Tomact request handling instance?
===
What are the advantages/disadvantages with regards to the fact that Tomcat only creates one instance of a Servlet class to handle all requests for a JSP/servlet? | 0 |
3,992,341 | 10/21/2010 21:59:33 | 325,418 | 05/09/2009 15:50:29 | 6,980 | 184 | Is www.facebook.com/share info for doing a Share Button compatible with old and new JS SDK ? | I heard of yet another way to do the share button, which is on
http://www.facebook.com/share/
It include this Javascript file:
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
Is it compatible with the old and new Facebook Javascript SDK too?
| facebook | facebook-graph-api | null | null | null | null | open | Is www.facebook.com/share info for doing a Share Button compatible with old and new JS SDK ?
===
I heard of yet another way to do the share button, which is on
http://www.facebook.com/share/
It include this Javascript file:
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/ja... | 0 |
9,737,914 | 03/16/2012 13:12:39 | 394,397 | 07/17/2010 00:19:36 | 26 | 4 | What are some unusual problems caused by the use of deprecated code? | If my app will not break and will successfully deliver intended results (security/performance concerns non-withstanding) within the time I myself intend to support the application, what other problems can arise with using working, yet deprecated code? | deprecated | null | null | null | null | 03/16/2012 13:18:04 | off topic | What are some unusual problems caused by the use of deprecated code?
===
If my app will not break and will successfully deliver intended results (security/performance concerns non-withstanding) within the time I myself intend to support the application, what other problems can arise with using working, yet deprecated ... | 2 |
5,547,742 | 04/05/2011 05:49:06 | 692,261 | 04/05/2011 05:28:21 | 1 | 0 | What is a good programming language to start with for an amateur? | I am looking for some advice to help me pick a good language to learn programming. I've done considerable research already on this topic, but I feel that I could use some input from the experts. The purpose for my learning a language is to get a head start on my college studies (next fall) for which I am majoring in En... | programming-languages | null | null | null | null | 04/05/2011 08:59:20 | not a real question | What is a good programming language to start with for an amateur?
===
I am looking for some advice to help me pick a good language to learn programming. I've done considerable research already on this topic, but I feel that I could use some input from the experts. The purpose for my learning a language is to get a hea... | 1 |
8,079,942 | 11/10/2011 13:06:17 | 213,113 | 11/17/2009 17:44:35 | 1,440 | 138 | Ext JS: Proper technique to add listeners to DOM created via a template? | We use XTemplates - lots of XTemplates. They are great for displaying read-only content. But have you ever added (Ext JS) listeners to DOM created via a template? Would you care to share your preferred technique for creating these listeners? | javascript | templates | javascript-events | extjs | null | null | open | Ext JS: Proper technique to add listeners to DOM created via a template?
===
We use XTemplates - lots of XTemplates. They are great for displaying read-only content. But have you ever added (Ext JS) listeners to DOM created via a template? Would you care to share your preferred technique for creating these listener... | 0 |
1,784,117 | 11/23/2009 16:04:34 | 202,335 | 11/04/2009 04:57:55 | 211 | 0 | What time does Google use in "Specific date range", GMT or PST? | When you click "Show options", you can specify a particular period, but what time zone does Google use? | google | timezone | null | null | null | 11/23/2009 18:26:14 | off topic | What time does Google use in "Specific date range", GMT or PST?
===
When you click "Show options", you can specify a particular period, but what time zone does Google use? | 2 |
9,731,151 | 03/16/2012 02:47:16 | 1,263,202 | 03/12/2012 03:03:38 | 7 | 0 | Add button function | I just wanna ask you guys here, how to automatically add textbox when user click on add button. Like in page, There are two textboxes; 1 for groceries type, and another 1 is for the price. When user want to add another tow textboxes, he/she will click on the add button. Can somebody tell me how. I would be appreciate i... | c# | asp.net | textbox | null | null | 03/16/2012 03:02:48 | not a real question | Add button function
===
I just wanna ask you guys here, how to automatically add textbox when user click on add button. Like in page, There are two textboxes; 1 for groceries type, and another 1 is for the price. When user want to add another tow textboxes, he/she will click on the add button. Can somebody tell me how... | 1 |
9,143,272 | 02/04/2012 18:25:23 | 1,013,981 | 10/26/2011 05:28:16 | 6 | 0 | TOAD FOR ORACLE ERROR | I am getting this error when I tried to connect to ORACLE 10g using TOAD
**Can't initialize OCI. Error -1**
kindly help me to resolve this | oracle | toad | oci | null | null | 02/04/2012 22:43:49 | not a real question | TOAD FOR ORACLE ERROR
===
I am getting this error when I tried to connect to ORACLE 10g using TOAD
**Can't initialize OCI. Error -1**
kindly help me to resolve this | 1 |
3,272,509 | 07/17/2010 17:22:12 | 329,424 | 04/12/2010 14:40:29 | 37 | 0 | Help Regular Expression | please see code :
$result = "<b>Associated Names</b> [<a href='http://www.examples.com/authors.html?act=change&id=6141&item=associated'><u>Edit</u></a>]</td>
</tr>
<tr>
<td class='text' align='left'>G・R<br />G-R<br /> </td>"
preg_ma... | php | regex | null | null | null | 06/20/2012 05:09:53 | not a real question | Help Regular Expression
===
please see code :
$result = "<b>Associated Names</b> [<a href='http://www.examples.com/authors.html?act=change&id=6141&item=associated'><u>Edit</u></a>]</td>
</tr>
<tr>
<td class='text' align='left'>G・R<br />G-R<br /> ... | 1 |
7,236,911 | 08/29/2011 22:51:08 | 918,671 | 08/29/2011 22:32:06 | 1 | 0 | Javascript, how do I get both the start and end positions of a few refex matches | I just wish to find the start and end positions of the substrings I am searching for.
Any Ideas as to how this can be done? | javascript | regex | substrings | null | null | null | open | Javascript, how do I get both the start and end positions of a few refex matches
===
I just wish to find the start and end positions of the substrings I am searching for.
Any Ideas as to how this can be done? | 0 |
8,645,406 | 12/27/2011 13:55:35 | 441,786 | 09/07/2010 19:52:15 | 8 | 0 | Expert level Java learning Tutorial | I have done a beginner course in Core Java a couple of years ago (studied from Java 2-Herbert Schildt).
I wish to **relearn Java** (all concepts like classes, multithreading, AWT, JDBC, File handling, Database, applet) and make my expertise to **intermediate-expert level**.
I have a timespan of 2 months.
Which ... | java | null | null | null | null | 12/27/2011 14:06:56 | not constructive | Expert level Java learning Tutorial
===
I have done a beginner course in Core Java a couple of years ago (studied from Java 2-Herbert Schildt).
I wish to **relearn Java** (all concepts like classes, multithreading, AWT, JDBC, File handling, Database, applet) and make my expertise to **intermediate-expert level**.
I... | 4 |
8,739,885 | 01/05/2012 09:02:29 | 499,863 | 11/07/2010 13:53:53 | 11 | 0 | Excel error when i put = in one cell | I want to make a list with some documentacion and in one cell i need to have the next sintaxis
= Same like
but automaticlly chane it to
#¿NAME?
how i can tell to excel that i just want to have mi cell with = Same like
| excel | null | null | null | null | 05/25/2012 11:23:06 | off topic | Excel error when i put = in one cell
===
I want to make a list with some documentacion and in one cell i need to have the next sintaxis
= Same like
but automaticlly chane it to
#¿NAME?
how i can tell to excel that i just want to have mi cell with = Same like
| 2 |
11,592,976 | 07/21/2012 14:25:36 | 1,533,368 | 07/18/2012 01:45:09 | 1 | 0 | Non Rectangular Images | I am not sure if this question suits stackoverflow or not. But here it goes, I want to have an image strictly of the shape and size of the main object in the image, there should not be any white or black background, or the background should be transparent so that the real background should be visible. How can I do it? ... | image | image-processing | null | null | null | 07/22/2012 21:54:24 | not a real question | Non Rectangular Images
===
I am not sure if this question suits stackoverflow or not. But here it goes, I want to have an image strictly of the shape and size of the main object in the image, there should not be any white or black background, or the background should be transparent so that the real background should b... | 1 |
307,499 | 11/21/2008 01:10:39 | 10,470 | 09/15/2008 23:21:33 | 240 | 8 | A good ocaml parser? | I'm looking for a good ocaml parsing library that isn't a derivative of flex/bison. Ideally, I'd like a monadic combinator library along the lines of parsec, but I can't find anything.
I would use haskell, but making llvm bindings for haskell is proving more tiresome than I originally thought.
Cheers,
Duane | ocaml | parsing | parsec | null | null | 07/19/2012 15:09:57 | not constructive | A good ocaml parser?
===
I'm looking for a good ocaml parsing library that isn't a derivative of flex/bison. Ideally, I'd like a monadic combinator library along the lines of parsec, but I can't find anything.
I would use haskell, but making llvm bindings for haskell is proving more tiresome than I originally thoug... | 4 |
11,418,644 | 07/10/2012 17:25:47 | 980,799 | 10/05/2011 16:42:13 | 15 | 0 | Suppress caching in IIS | I'm looking to suppress caching for all files that end with .appcache in IIS.
If I was using Apache, I would drop the file into a directory and add:
ExpiresActive On
ExpiresDefault "access"
How do I control caching headers in IIS?
Regards,
Chris | iis | iis7 | iis6 | webserver | null | 07/11/2012 00:52:09 | off topic | Suppress caching in IIS
===
I'm looking to suppress caching for all files that end with .appcache in IIS.
If I was using Apache, I would drop the file into a directory and add:
ExpiresActive On
ExpiresDefault "access"
How do I control caching headers in IIS?
Regards,
Chris | 2 |
5,190,398 | 03/04/2011 06:21:58 | 644,223 | 03/04/2011 06:21:58 | 1 | 0 | problem into heave data loading?? | i make a program in asp.net to take excel data into Sql data adaptor but data is too long and system got crashed??? | asp.net | sql | xml | excel | null | 03/04/2011 08:36:32 | not a real question | problem into heave data loading??
===
i make a program in asp.net to take excel data into Sql data adaptor but data is too long and system got crashed??? | 1 |
10,382,755 | 04/30/2012 11:14:28 | 1,365,662 | 04/30/2012 11:09:54 | 1 | 0 | ASPX - How to read Lines from a Txt file then store text within a string | Im trying to read a text file using aspx then store whatever line it read in a string ive looked online and cant seem to find a straightforward tutorial can some one help me thank you. | javascript | asp.net | html | null | null | null | open | ASPX - How to read Lines from a Txt file then store text within a string
===
Im trying to read a text file using aspx then store whatever line it read in a string ive looked online and cant seem to find a straightforward tutorial can some one help me thank you. | 0 |
7,039,794 | 08/12/2011 12:02:39 | 627,753 | 02/22/2011 05:18:01 | 57 | 1 | android application | i am right now building one application which is used to check some services and some options enabled or not in device in them i don't know these
->check whether Google will remember your search history
->how to check whether the browser remembers form data.
->check whether the browser remembers passwo... | android | application | null | null | null | 08/12/2011 12:45:00 | not a real question | android application
===
i am right now building one application which is used to check some services and some options enabled or not in device in them i don't know these
->check whether Google will remember your search history
->how to check whether the browser remembers form data.
->check whether the... | 1 |
10,261,836 | 04/21/2012 18:37:12 | 258,594 | 01/25/2010 16:44:36 | 449 | 20 | flex itemRenderer variables from/to main scope | I'm working on creating a datagrid that has a checkbox column. I have some functions that run within the itemRenderer that creates an array collection containing the item information and weather or not the checkbox is checked or not.
Everything seems to be work the way I'd like, but now I just need to access the arr... | flex | datagrid | scope | actionscript-2 | itemrenderer | null | open | flex itemRenderer variables from/to main scope
===
I'm working on creating a datagrid that has a checkbox column. I have some functions that run within the itemRenderer that creates an array collection containing the item information and weather or not the checkbox is checked or not.
Everything seems to be work the... | 0 |
11,404,439 | 07/09/2012 23:00:34 | 1,508,582 | 07/07/2012 10:39:54 | 3 | 0 | I have difficulties with my XNA Game Menu | I have created a simple menu in XNA but it doesn't work. I get some error messages but I don't know what to change.
**The type or namespace name 'EGameState' could not be found (are you missing a using directive or an assembly reference?)**
Could somebody help me, please?
I uploaded my project here: http://depositfi... | c# | xna | null | null | null | 07/10/2012 02:56:06 | too localized | I have difficulties with my XNA Game Menu
===
I have created a simple menu in XNA but it doesn't work. I get some error messages but I don't know what to change.
**The type or namespace name 'EGameState' could not be found (are you missing a using directive or an assembly reference?)**
Could somebody help me, please... | 3 |
10,034,097 | 04/05/2012 18:39:27 | 1,292,652 | 03/26/2012 09:36:37 | 46 | 5 | Overloading `float()` for a custom Class | ## My Class
Hi, I was coding my own `Fractions` class (for arbitrarily-high floating-point operation precision). It goes like this (I haven't yet finished it):
class Fractions:
"""My custom Fractions class giving arbitarilly high precision w/ floating-point arithmetic."""
def __init__(self... | python | floating-point | operator-overloading | null | null | null | open | Overloading `float()` for a custom Class
===
## My Class
Hi, I was coding my own `Fractions` class (for arbitrarily-high floating-point operation precision). It goes like this (I haven't yet finished it):
class Fractions:
"""My custom Fractions class giving arbitarilly high precision w/ floating-poi... | 0 |
8,876,909 | 01/16/2012 07:32:04 | 1,056,328 | 11/20/2011 12:06:17 | 162 | 0 | jQuery: how to join 2 results of requests to json server? | I wonder if we can do something like
var joinedJSON;
$.get("server.json?action=type&type=image", function(json) {joinedJSON +=json ; }
$.get("server.json?action=type&type=jpg", function(json) {joinedJSON +=json ; }
$.get("server.json?action=type&type=png", function(json) {joinedJSON +=json ; }... | javascript | jquery | json | service | request | null | open | jQuery: how to join 2 results of requests to json server?
===
I wonder if we can do something like
var joinedJSON;
$.get("server.json?action=type&type=image", function(json) {joinedJSON +=json ; }
$.get("server.json?action=type&type=jpg", function(json) {joinedJSON +=json ; }
$.get("server.js... | 0 |
3,759,208 | 09/21/2010 10:04:10 | 453,763 | 09/21/2010 10:04:10 | 1 | 0 | OOP Constructor question C++ | Let's say that I have two classes A and B.
class A
{
private:
int value;
public:
A(int v)
{
value = v;
}
};
class B
{
private:
A value;
public:
B()
... | c++ | oop | constructor | null | null | null | open | OOP Constructor question C++
===
Let's say that I have two classes A and B.
class A
{
private:
int value;
public:
A(int v)
{
value = v;
}
};
class B
{
private:
A value;
pub... | 0 |
9,517,892 | 03/01/2012 14:25:15 | 1,201,192 | 02/10/2012 03:42:52 | 6 | 1 | How to keep if condition to check the browser is IE in extjs? | I have a requirement to check if application is opened using IE then my code should execute or else no..here is sample code..
xtype: 'panel',
header: true,
if(browser == ie){
height: 160,
... | extjs | null | null | null | null | null | open | How to keep if condition to check the browser is IE in extjs?
===
I have a requirement to check if application is opened using IE then my code should execute or else no..here is sample code..
xtype: 'panel',
header: true,
... | 0 |
8,712,031 | 01/03/2012 12:05:05 | 844,317 | 07/14/2011 10:19:30 | 20 | 0 | iPhone : How in set alpha in UIImage on Touches with PIxel? | - I know how set alpha on UIImage but How to set alpha on the pixel in UIImage when touches on that pixel ? | iphone | objective-c | uiimage | pixel | alpha | 01/03/2012 18:07:20 | not a real question | iPhone : How in set alpha in UIImage on Touches with PIxel?
===
- I know how set alpha on UIImage but How to set alpha on the pixel in UIImage when touches on that pixel ? | 1 |
10,898,371 | 06/05/2012 13:37:28 | 1,101,677 | 12/16/2011 09:53:21 | 146 | 2 | Similar type of application like Drop Box | I have seen the app DropBox thats looks good. I want to implement same type of functionality in my app. I want to know how to approach that. Can any one tell me the steps how to approach.
Thanks in advance. | iphone | ios | null | null | null | 06/06/2012 14:11:09 | not constructive | Similar type of application like Drop Box
===
I have seen the app DropBox thats looks good. I want to implement same type of functionality in my app. I want to know how to approach that. Can any one tell me the steps how to approach.
Thanks in advance. | 4 |
10,039,027 | 04/06/2012 04:09:55 | 1,316,715 | 04/06/2012 03:48:20 | 1 | 0 | can not route packets from one interface to another | i have a system with 2 interfaces eth0, and eth1. eth0 is 192.168.0.250 and connected to gateway 192.168.0.2.
eth1 is connected to 192.123.123.10 via a swtich.
i am trying to route packets from 192.123.123.10 to gateway 192.168.0.2, which means i need to route 192.123.123.x packets coming into eth1 interface out vi... | linux | networking | routing | null | null | 04/06/2012 15:51:51 | off topic | can not route packets from one interface to another
===
i have a system with 2 interfaces eth0, and eth1. eth0 is 192.168.0.250 and connected to gateway 192.168.0.2.
eth1 is connected to 192.123.123.10 via a swtich.
i am trying to route packets from 192.123.123.10 to gateway 192.168.0.2, which means i need to rout... | 2 |
9,726,352 | 03/15/2012 19:00:33 | 825,547 | 07/01/2011 21:26:45 | 102 | 15 | Using php variables across different files | I'm setting variables in one file and using them in another (as shown in the simplified example).
index.php:
$name = 'Mark';
require('util.php');
print($text);
util.php:
$text = "Hello " . $name
However the IDE I'm using gives a warning since the variables 'seem to be uninitialized'. Us... | php | include | null | null | null | 03/18/2012 01:07:21 | not constructive | Using php variables across different files
===
I'm setting variables in one file and using them in another (as shown in the simplified example).
index.php:
$name = 'Mark';
require('util.php');
print($text);
util.php:
$text = "Hello " . $name
However the IDE I'm using gives a warning si... | 4 |
8,766,241 | 01/07/2012 00:29:21 | 1,110,749 | 12/21/2011 22:25:44 | 5 | 0 | Can C programming language handle 10*100 | What is the biggest number that the C programming language data type can handle.
If it can handle 10*100 will it be using long double.
And what's the maximum number that java programming language can handle and using which data type? | c | null | null | null | null | 01/07/2012 04:36:26 | not a real question | Can C programming language handle 10*100
===
What is the biggest number that the C programming language data type can handle.
If it can handle 10*100 will it be using long double.
And what's the maximum number that java programming language can handle and using which data type? | 1 |
6,768,188 | 07/20/2011 20:35:49 | 618,490 | 02/15/2011 20:01:19 | 120 | 2 | Can I reference external .jars when building a .jar file with the command line tool? | Pretty straightforward question. Can it be done without the use of Ants or Maven? (And by that, I mean the command line tool specifically)
Please notice that I don't want to create an uberjar, I just want the archived unit to point to the right place. | java | jar | null | null | null | null | open | Can I reference external .jars when building a .jar file with the command line tool?
===
Pretty straightforward question. Can it be done without the use of Ants or Maven? (And by that, I mean the command line tool specifically)
Please notice that I don't want to create an uberjar, I just want the archived unit to p... | 0 |
11,511,742 | 07/16/2012 20:05:38 | 309,852 | 04/06/2010 08:41:01 | 1,097 | 48 | Method overloading with Type parameters in .NET | Assume I have a method:
void MyMethod(Type type1, Type type2)
{
// ...
}
and I want to create an overload, say
void MyMethod(Int32, String)
What's the best way to do this? | c# | overloading | null | null | null | 07/16/2012 20:13:22 | not a real question | Method overloading with Type parameters in .NET
===
Assume I have a method:
void MyMethod(Type type1, Type type2)
{
// ...
}
and I want to create an overload, say
void MyMethod(Int32, String)
What's the best way to do this? | 1 |
9,238,259 | 02/11/2012 06:09:25 | 637,965 | 02/28/2011 15:56:22 | 711 | 4 | practical tutorials for learning yii | My approach to learning a new framework or technology is to read a brief tutorial that goes over how to create a very simple application and then try to build something similar on my own. I've gone through the definitive guide and it's very hard to digest and doesn't suit my style of learning.
[These][1] screenca... | yii | null | null | null | null | 02/12/2012 08:10:11 | not constructive | practical tutorials for learning yii
===
My approach to learning a new framework or technology is to read a brief tutorial that goes over how to create a very simple application and then try to build something similar on my own. I've gone through the definitive guide and it's very hard to digest and doesn't suit my s... | 4 |
4,567,289 | 12/31/2010 00:27:58 | 179,362 | 09/26/2009 02:04:43 | 206 | 0 | Injecting a repository in a custom role provider gives me DataContext accessed after Dispose error | I am currently building an ASP.NET MVC application and I want to take advantage of the authorize attribute with roles without having to use the default provider and all its tables that are automatically generated.
I decided to build my own custom role provider (my class is inheriting from RoleProvider) and implement... | asp.net-mvc | linq-to-sql | asp.net-mvc-2 | null | null | null | open | Injecting a repository in a custom role provider gives me DataContext accessed after Dispose error
===
I am currently building an ASP.NET MVC application and I want to take advantage of the authorize attribute with roles without having to use the default provider and all its tables that are automatically generated.
... | 0 |
9,440,540 | 02/25/2012 02:08:48 | 1,230,167 | 02/24/2012 07:13:46 | 1 | 0 | Is this RAID configuration possible? | Do all HDD in a set up have to be in RAID?
Is this RAID setup possible?
Drive A is 1TB SATA
Drive B is 1TB SATA
Drive C is 2TB SATA
I want drives A and B to be RAID 1.
I want drive C to just be an extra drive for backups. | linux | hardware | raid | null | null | 02/25/2012 02:32:56 | off topic | Is this RAID configuration possible?
===
Do all HDD in a set up have to be in RAID?
Is this RAID setup possible?
Drive A is 1TB SATA
Drive B is 1TB SATA
Drive C is 2TB SATA
I want drives A and B to be RAID 1.
I want drive C to just be an extra drive for backups. | 2 |
5,400,403 | 03/23/2011 03:02:20 | 672,297 | 03/23/2011 02:39:15 | 1 | 0 | INSERT query is not firing. Please help me with code. | <?php
session_start();
include("config.php");
//if(isset($_SESSION["code"])){
$_SESSION["code"] = rand(1000, 9999);
//}
if($_POST["Submit"]!="")
{
$code=$_code["code"];
if ($_SESSION["code"] == $code)
{
$err="";
if($_POST["title"]=="")
$err... | php | null | null | null | null | 03/23/2011 04:53:05 | too localized | INSERT query is not firing. Please help me with code.
===
<?php
session_start();
include("config.php");
//if(isset($_SESSION["code"])){
$_SESSION["code"] = rand(1000, 9999);
//}
if($_POST["Submit"]!="")
{
$code=$_code["code"];
if ($_SESSION["code"] == $code)
{
... | 3 |
1,294,227 | 08/18/2009 14:24:47 | 1,968 | 08/19/2008 15:59:21 | 41,212 | 1,068 | Inferred wildcard generics in return type | Java can often infer generics based on the arguments (and even on the return type, in contrast to e.g. C#).
Case in point: I've got a generic class `Pair<T1, T2>` which just stores a pair of values and can be used in the following way:
Pair<String, String> pair = Pair.of("Hello", "World");
The method `of` ... | java | generics | wildcard | null | null | null | open | Inferred wildcard generics in return type
===
Java can often infer generics based on the arguments (and even on the return type, in contrast to e.g. C#).
Case in point: I've got a generic class `Pair<T1, T2>` which just stores a pair of values and can be used in the following way:
Pair<String, String> pair =... | 0 |
10,613,616 | 05/16/2012 07:07:26 | 1,256,630 | 03/08/2012 09:20:19 | 1 | 1 | The method of development multidomain (apache) on the local server | I have website in production, multidomain website. I have production server which is running website. I have many domains which connected to one virtualhost in Apache. For example:
domain.com
domain.ru
domain.nl
m.domain.com
m.domain.ru
m.domain.nl
*.domain.com
*.domain.nl
... | apache | virtualhost | null | null | null | 05/18/2012 17:20:14 | off topic | The method of development multidomain (apache) on the local server
===
I have website in production, multidomain website. I have production server which is running website. I have many domains which connected to one virtualhost in Apache. For example:
domain.com
domain.ru
domain.nl
m.domain.com
... | 2 |
11,261,766 | 06/29/2012 12:26:53 | 1,336,218 | 04/16/2012 11:48:40 | 29 | 1 | Index in a List C# | I have a list that contains the int numbersID of the element. The list doesn't contain duplication and every time i have already the element in the list i have to add the supplierID in the list of the element that is already in the clientList.
foreach (EA.Connector link in element.Connectors)
... | c# | list | index | null | null | 06/29/2012 12:32:12 | not a real question | Index in a List C#
===
I have a list that contains the int numbersID of the element. The list doesn't contain duplication and every time i have already the element in the list i have to add the supplierID in the list of the element that is already in the clientList.
foreach (EA.Connector link in element.Connect... | 1 |
11,109,810 | 06/19/2012 21:35:20 | 872,344 | 08/01/2011 07:12:44 | 636 | 4 | Is there an API for realtime airport information? | I am planning to work on a Airport Navigator application, just not sure if there's any api can provide realtime information such as: flight status delay notification, and gate information?
Of course it's better to be free!
Thank you | api | airport | null | null | null | 06/21/2012 01:11:53 | not constructive | Is there an API for realtime airport information?
===
I am planning to work on a Airport Navigator application, just not sure if there's any api can provide realtime information such as: flight status delay notification, and gate information?
Of course it's better to be free!
Thank you | 4 |
4,125,108 | 11/08/2010 15:13:44 | 317,326 | 04/15/2010 09:31:48 | 114 | 17 | Zend_Auth now only works partial | Okay,
This is completely a weird situation.
When a user logs in, I store some stuff using the following code:
$auth->getStorage()->write($authAdapter->getResultRowObject(array(
'username',
'avatar',
'status',
'role',
'id',
'email'
... | zend-framework | storage | zend-auth | null | null | null | open | Zend_Auth now only works partial
===
Okay,
This is completely a weird situation.
When a user logs in, I store some stuff using the following code:
$auth->getStorage()->write($authAdapter->getResultRowObject(array(
'username',
'avatar',
'status',
'role',
... | 0 |
474,547 | 01/23/2009 21:10:13 | 43,756 | 12/05/2008 19:09:10 | 468 | 35 | Can I recover a file in linux which i accidentally did an "rm" on? | Do you know of any tools/commands by which I recover files which I accidentally removed? | linux | recovery | file-recovery | null | null | 01/23/2009 21:35:27 | off topic | Can I recover a file in linux which i accidentally did an "rm" on?
===
Do you know of any tools/commands by which I recover files which I accidentally removed? | 2 |
2,642,802 | 04/15/2010 04:47:06 | 92,039 | 04/17/2009 09:06:52 | 87 | 8 | Android Layouts Scrolling in Landscaped Mode | I have a strange issue in which on rotating the Screen to Landscaped mode the Views present inside Remain at the same place But I cannot scroll them inside the screen.
How can I make them Scroll so that every thing that move out should be displayed properly to the user.
Should there be any more attribute to be se... | android | null | null | null | null | null | open | Android Layouts Scrolling in Landscaped Mode
===
I have a strange issue in which on rotating the Screen to Landscaped mode the Views present inside Remain at the same place But I cannot scroll them inside the screen.
How can I make them Scroll so that every thing that move out should be displayed properly to the us... | 0 |
9,983,670 | 04/02/2012 20:53:51 | 1,308,989 | 04/02/2012 20:25:48 | 1 | 0 | Apache, PHP, MySQL Standalone App | My company recently dropped support for Apache and PHP; however, we cannot rewrite a very large PHP project (~1 million lines) to .NET... Too much time invested to drop the project.
A consideration is to package Apache, PHP, and MySQL into a unique standalone application for Linux. XAMPP was initially though of, but... | php | mysql | linux | apache | standalone | 04/03/2012 11:10:25 | too localized | Apache, PHP, MySQL Standalone App
===
My company recently dropped support for Apache and PHP; however, we cannot rewrite a very large PHP project (~1 million lines) to .NET... Too much time invested to drop the project.
A consideration is to package Apache, PHP, and MySQL into a unique standalone application for Li... | 3 |
5,136,914 | 02/27/2011 23:46:18 | 636,953 | 02/27/2011 23:46:18 | 1 | 0 | Keep getting: java.lang.NullPointerException | Exercise 1: Program Bugs is supposed to sum the first ten values on a file and the second ten values on a file. The second ten values are a duplicate of the first ten, so the answers should be the same. The program checks to be sure that the file has been found and halts execution if the file is not found. Program Bugs... | java | null | null | null | null | 02/28/2011 02:52:36 | not a real question | Keep getting: java.lang.NullPointerException
===
Exercise 1: Program Bugs is supposed to sum the first ten values on a file and the second ten values on a file. The second ten values are a duplicate of the first ten, so the answers should be the same. The program checks to be sure that the file has been found and halt... | 1 |
11,350,484 | 07/05/2012 18:38:12 | 1,504,678 | 07/05/2012 16:45:25 | 1 | 0 | How to auto post links to users facebook timeline when user is viewing webpage | Lets say I have a site called http://www.foobar.com. In my site user logged via Facebook already.
Now user visited the page <site-url>/my-new-page.
What I want is when user visit this page, his Facebook timeline should be posted with "XYZ user is viewing <site-url>/my-new-page"
Please let me know how I can acc... | php | facebook | null | null | null | 07/20/2012 01:51:36 | not a real question | How to auto post links to users facebook timeline when user is viewing webpage
===
Lets say I have a site called http://www.foobar.com. In my site user logged via Facebook already.
Now user visited the page <site-url>/my-new-page.
What I want is when user visit this page, his Facebook timeline should be posted w... | 1 |
9,236,773 | 02/11/2012 00:45:37 | 1,195,651 | 02/07/2012 20:24:36 | 10 | 0 | mysql connection function pdo | <?php
require_once "includes/db_data_inc.php";
try
{
/* In this way I get a db connection handle */
$DBH = new PDO("mysql:host=$db_host;port=8889;dbname=$db_name",$db_user,$db_pass);
}
catch (PDOException $pdoe)
{
error_log($pdoe->getMessage());
die("Failed to connect to the da... | php | mysql | pdo | null | null | 02/12/2012 07:31:29 | too localized | mysql connection function pdo
===
<?php
require_once "includes/db_data_inc.php";
try
{
/* In this way I get a db connection handle */
$DBH = new PDO("mysql:host=$db_host;port=8889;dbname=$db_name",$db_user,$db_pass);
}
catch (PDOException $pdoe)
{
error_log($pdoe->getMessage());
... | 3 |
5,936,874 | 05/09/2011 12:28:13 | 115,873 | 06/02/2009 09:06:05 | 595 | 6 | How to make scalable backend API server solution? | We are building a REST API in PHP that needs to support high peak loads. Each API call isn't lightweight and consumes significant amount of memory. What is the best possible solution to make this scalable either time or resource wise?
API is hosted on the Ubuntu 10.04 machine with 512MB of RAM.
Any ideas will be ... | rest | null | null | null | null | 05/10/2011 11:49:33 | not a real question | How to make scalable backend API server solution?
===
We are building a REST API in PHP that needs to support high peak loads. Each API call isn't lightweight and consumes significant amount of memory. What is the best possible solution to make this scalable either time or resource wise?
API is hosted on the Ubuntu... | 1 |
9,194,771 | 02/08/2012 14:00:32 | 462,949 | 09/30/2010 14:45:03 | 36 | 0 | short Dump: Field symbol has not yet been assigned | Im getting a short dump (Field symbol has not yet been assigned) when i run this program.
I know that i may get this error when i dont fill `fillcatalog` correctly.
As far as i know i have filled the fieldctalog correctly.
cant figure out where the problem is..Please help.
REPORT Y_ALV1.
typ... | abap | null | null | null | null | null | open | short Dump: Field symbol has not yet been assigned
===
Im getting a short dump (Field symbol has not yet been assigned) when i run this program.
I know that i may get this error when i dont fill `fillcatalog` correctly.
As far as i know i have filled the fieldctalog correctly.
cant figure out where the problem is... | 0 |
9,937,865 | 03/30/2012 06:14:03 | 826,872 | 07/03/2011 12:32:59 | 14 | 0 | See if event occurs (true or false) on each day on specific month | I'm trying to highlight the days on my jQuery datepicker calendar which are associated with an event.
In my database I have many events with a date field.
So if January is selected on the datepicker I want to check the database table to see if:
January 1st: Is there an event (true/false)
January 2nd: Is there a... | mysql | null | null | null | null | null | open | See if event occurs (true or false) on each day on specific month
===
I'm trying to highlight the days on my jQuery datepicker calendar which are associated with an event.
In my database I have many events with a date field.
So if January is selected on the datepicker I want to check the database table to see if:
... | 0 |
5,987,540 | 05/13/2011 05:22:25 | 231,567 | 12/14/2009 19:50:12 | 118 | 8 | visualvm vs JProbe vs JProfiler | There are multiple tools available for CPU and memory profiling, jvisualvm is fairly new among these.
Are there any comparison/benchmarking between these tools? Which tool is better than other? | java | performance | profiling | visualvm | jprofiler | 06/30/2011 17:21:07 | not constructive | visualvm vs JProbe vs JProfiler
===
There are multiple tools available for CPU and memory profiling, jvisualvm is fairly new among these.
Are there any comparison/benchmarking between these tools? Which tool is better than other? | 4 |
10,842,004 | 05/31/2012 22:11:50 | 699,978 | 04/09/2011 13:31:54 | 3,372 | 87 | Setting up Apache. The var folder cannot be written to | Currently installed the LAMP stack using `tasksel` but I've run into a problem. The location where the website folder is located is not easily writable. It's a pain in the keister to do anything.
/var/www
Since I'm new to LAMP on Linux, maybe I'm doing things incorrectly.
What is the workflow if I want to ... | php | linux | apache | permissions | null | 06/04/2012 14:13:28 | off topic | Setting up Apache. The var folder cannot be written to
===
Currently installed the LAMP stack using `tasksel` but I've run into a problem. The location where the website folder is located is not easily writable. It's a pain in the keister to do anything.
/var/www
Since I'm new to LAMP on Linux, maybe I'm doi... | 2 |
11,667,261 | 07/26/2012 10:21:21 | 1,083,736 | 12/06/2011 14:56:58 | 3 | 5 | Disable access to the DB via Windows Authentication.also disable SQL Management Studio | I am deploying my application including database for a client. what i need is to install sql server 2008 **Without SQL Management Studio** so that only i can access the db using my laptop.
what should i do for that...? | sql | sql-server | sql-server-2008 | null | null | 07/30/2012 06:34:44 | off topic | Disable access to the DB via Windows Authentication.also disable SQL Management Studio
===
I am deploying my application including database for a client. what i need is to install sql server 2008 **Without SQL Management Studio** so that only i can access the db using my laptop.
what should i do for that...? | 2 |
7,262,426 | 08/31/2011 19:35:57 | 682,765 | 03/29/2011 19:41:45 | 42 | 0 | camera sensors - smartphones | How do camera sensors work on smartphones. ( I am not looking for the APIs but the technical details).
Is it the CCD image sensor that is used or the CMOS sensors? I am looking for both iOS and android devices. Any help/resources appreciated | camera | sensor | smartphone | null | null | 08/31/2011 19:40:15 | off topic | camera sensors - smartphones
===
How do camera sensors work on smartphones. ( I am not looking for the APIs but the technical details).
Is it the CCD image sensor that is used or the CMOS sensors? I am looking for both iOS and android devices. Any help/resources appreciated | 2 |
9,304,688 | 02/16/2012 02:29:23 | 682,308 | 03/29/2011 15:00:33 | 337 | 6 | FFMPEG conversion to MXF | I have to wrap an MPEG2 video file in an MXF container and convert the audio in the process. I have the MXF wrapping working but it won't convert the audio stream (which needs to be 16bit, 48kHz Linear PCM).
Here's what I'm trying:
ffmpeg -i input.mpg -vcodec copy -f mpeg2video -acodec pcm_u16 output.mxf
... | video | ffmpeg | mpeg-2 | null | null | 02/17/2012 05:33:12 | off topic | FFMPEG conversion to MXF
===
I have to wrap an MPEG2 video file in an MXF container and convert the audio in the process. I have the MXF wrapping working but it won't convert the audio stream (which needs to be 16bit, 48kHz Linear PCM).
Here's what I'm trying:
ffmpeg -i input.mpg -vcodec copy -f mpeg2video ... | 2 |
7,423,363 | 09/14/2011 21:44:30 | 139,147 | 07/16/2009 02:52:30 | 96 | 2 | What are some of the features coming to Visual Studio vNext? | I've been curious about some of the features that are coming to the next iteration of Visual Studio, and I'm thinking it would be nice to compile a list of confirmed or rumored features from around various MSDN blogs and other places on the internet.
Additionally, I think this posting would be better fit to a commun... | visual-studio | null | null | null | null | 09/15/2011 04:18:27 | not constructive | What are some of the features coming to Visual Studio vNext?
===
I've been curious about some of the features that are coming to the next iteration of Visual Studio, and I'm thinking it would be nice to compile a list of confirmed or rumored features from around various MSDN blogs and other places on the internet.
... | 4 |
10,284,222 | 04/23/2012 16:13:36 | 538,761 | 12/11/2010 09:04:48 | 26 | 0 | same backreference in subpatterns, php pcre regexp | I found this at
http://www.php.net/manual/en/regexp.reference.subpatterns.php
(?|(Sat)ur|(Sun))day
this mean (Sat) and Sun will be matched at same order
but When I test with regexbuddy it occurr a error
abt syntax
Thanks | php | regex | null | null | null | 04/25/2012 11:34:14 | not a real question | same backreference in subpatterns, php pcre regexp
===
I found this at
http://www.php.net/manual/en/regexp.reference.subpatterns.php
(?|(Sat)ur|(Sun))day
this mean (Sat) and Sun will be matched at same order
but When I test with regexbuddy it occurr a error
abt syntax
Thanks | 1 |
11,699,901 | 07/28/2012 09:39:42 | 709,507 | 04/15/2011 08:57:34 | 340 | 2 | How to Write a simple Assembly Program | I'm too amatuer. I want to compile program below in an assembly IDE, I mean I want to write a simple console application:
X DB 18
MOV AL,-18
ADD AL,X
I want to see AL's value as output on console screen, How can I run this simple code? which codes should I add to it? | assembly | null | null | null | null | 07/29/2012 11:35:46 | too localized | How to Write a simple Assembly Program
===
I'm too amatuer. I want to compile program below in an assembly IDE, I mean I want to write a simple console application:
X DB 18
MOV AL,-18
ADD AL,X
I want to see AL's value as output on console screen, How can I run this simple code? which codes should I... | 3 |
1,516,281 | 10/04/2009 12:20:58 | 182,172 | 09/30/2009 23:11:53 | 23 | 1 | Looking for a simple rails hosting with a rails philosophy | I'm starting to develop applications using rails, I am designer turning developer.
I have not find yet a rails hosting easy to use.
I tried mediatemple and their RoR container, seems very easy in the control panel: just press a button and you have your application running. But they dont have sqlite3, changed to m... | ruby-on-rails | hosting | null | null | null | null | open | Looking for a simple rails hosting with a rails philosophy
===
I'm starting to develop applications using rails, I am designer turning developer.
I have not find yet a rails hosting easy to use.
I tried mediatemple and their RoR container, seems very easy in the control panel: just press a button and you have yo... | 0 |
10,392,736 | 05/01/2012 02:10:05 | 1,352,458 | 04/23/2012 22:43:30 | 18 | 1 | jquery to javascript translation | Would someone please translate this into regular javaScript:
$("div.intro h1").hide();
$("div.intro h2").remove();
Thanks.
| javascript | jquery | null | null | null | 05/01/2012 02:30:56 | not a real question | jquery to javascript translation
===
Would someone please translate this into regular javaScript:
$("div.intro h1").hide();
$("div.intro h2").remove();
Thanks.
| 1 |
9,600,867 | 03/07/2012 11:42:54 | 588,987 | 01/25/2011 12:28:34 | 25 | 5 | Running ffmpeg from a windows service on same machine encounters permissions issue | I had been running a Windows Service, form my machine (which has full read/write access to a network drive).
The command for ffmpeg was something like this:
-i \\filestore\test.avi -b 500000 -s 640x360 -ar 22050 -copyts -y -vcodec libx264 -acodec ac3 -y \\filestore\\mp4\test.mp4
Running it from cmd works perfect... | windows-services | ffmpeg | shared-directory | null | null | null | open | Running ffmpeg from a windows service on same machine encounters permissions issue
===
I had been running a Windows Service, form my machine (which has full read/write access to a network drive).
The command for ffmpeg was something like this:
-i \\filestore\test.avi -b 500000 -s 640x360 -ar 22050 -copyts -y -vcod... | 0 |
7,697,352 | 10/08/2011 14:10:56 | 564,229 | 01/05/2011 16:23:09 | 65 | 2 | Automated control of a Telerik RadDatePicker | I'm using WatIn to create an automated test for a Web App that uses Telerik controls: my first challenge is to drive a Telerik date control - a RadDatePicker.
Simply entering the text in the likeliest input field doesn't work: the value is reset to blank as the form is posted. So I imagine I need a more complex s... | selenium | nunit | telerik | automated-tests | watin | null | open | Automated control of a Telerik RadDatePicker
===
I'm using WatIn to create an automated test for a Web App that uses Telerik controls: my first challenge is to drive a Telerik date control - a RadDatePicker.
Simply entering the text in the likeliest input field doesn't work: the value is reset to blank as the for... | 0 |
2,139,741 | 01/26/2010 13:50:00 | 61,697 | 02/02/2009 22:30:26 | 1,241 | 65 | Broken images in PHP over https | I have a strange situation with PHP working differently from HTML. I'm not a web programmer, just messing around. In HTML my images appear fine, in PHP the images are broken. And only images from a https server are broken, ones from a http server work.
As an example, here are two files on my localhost, abc.html and ... | php | image | https | firefox | null | null | open | Broken images in PHP over https
===
I have a strange situation with PHP working differently from HTML. I'm not a web programmer, just messing around. In HTML my images appear fine, in PHP the images are broken. And only images from a https server are broken, ones from a http server work.
As an example, here are two... | 0 |
9,270,207 | 02/14/2012 00:42:20 | 1,189,582 | 02/04/2012 16:29:34 | 1 | 0 | Shortest python program to convert from celsius to fahrenheit and vice versa | A challenge for you.
A friend and I were having a competition to see who could produce the shortest python program which converted celsius to fahrenheit and vice versa whilst maintaining "some" usability. Here is the shortest code we could come up with:
d=input();print'%s'%((d-32)/1.8 if input('c?')else d*1.8... | python | null | null | null | null | 02/14/2012 01:28:05 | off topic | Shortest python program to convert from celsius to fahrenheit and vice versa
===
A challenge for you.
A friend and I were having a competition to see who could produce the shortest python program which converted celsius to fahrenheit and vice versa whilst maintaining "some" usability. Here is the shortest code we c... | 2 |
10,936,558 | 06/07/2012 17:10:24 | 1,442,786 | 06/07/2012 17:04:09 | 1 | 0 | Sending Email at specified date in Apex | I'm new to APEX and really only know programming basics. I have a problem at work where I need to create a date picker that will select the day to send an email.
The emails are set up to just send and I will need to put in something where it gets the secified date from the date picker and sends the email on that d... | apex-code | null | null | null | null | 06/08/2012 21:09:18 | not a real question | Sending Email at specified date in Apex
===
I'm new to APEX and really only know programming basics. I have a problem at work where I need to create a date picker that will select the day to send an email.
The emails are set up to just send and I will need to put in something where it gets the secified date from ... | 1 |
7,893,235 | 10/25/2011 17:22:32 | 1,013,181 | 10/25/2011 17:00:15 | 1 | 0 | how to loop use sql xml variable | i want to loop all my xml nodes in sql, and add attribute on the nodes
input example:
<Customer><FirstName>tom</FirstName><LastName>hamel</LastName></Customer>
i want add 'editTime' attribute to the node: FirstName/LastName
expected result:
<Customer><FirstName editTime='2011-10-25 10:13:13.787... | sql | xml | null | null | null | 10/25/2011 21:09:46 | not a real question | how to loop use sql xml variable
===
i want to loop all my xml nodes in sql, and add attribute on the nodes
input example:
<Customer><FirstName>tom</FirstName><LastName>hamel</LastName></Customer>
i want add 'editTime' attribute to the node: FirstName/LastName
expected result:
<Customer><First... | 1 |
9,945,190 | 03/30/2012 14:43:59 | 1,303,508 | 03/30/2012 14:36:36 | 1 | 0 | how to upload game into facebook? i am developing game using HTML and javascript and HTML5? | i want to upload a game in HTML using user authentication of Facebook | javascript | html5 | facebook-graph-api | null | null | 03/30/2012 16:07:41 | not a real question | how to upload game into facebook? i am developing game using HTML and javascript and HTML5?
===
i want to upload a game in HTML using user authentication of Facebook | 1 |
736,041 | 04/09/2009 21:51:50 | 80,171 | 03/19/2009 18:48:05 | 100 | 0 | Using WiX, how to install single file to (potentially) multiple sub-directories, based on what is available at install time? | I'm using WiX, and would like to know the .wxs necessary to take a file and install it to every available sub-directory of a particular location. This could mean 0 or more final installation locations, determined at install time based on the currently existing directory structure. For example, if I started the install ... | wix | null | null | null | null | null | open | Using WiX, how to install single file to (potentially) multiple sub-directories, based on what is available at install time?
===
I'm using WiX, and would like to know the .wxs necessary to take a file and install it to every available sub-directory of a particular location. This could mean 0 or more final installation... | 0 |
11,557,713 | 07/19/2012 09:22:40 | 774,610 | 05/28/2011 19:35:10 | 49 | 2 | Frameworks for: JQuery Mobile + PHP + Mysql + REST | I think a lot of people is in my same situation, but I cannot find nothing really out-of-the-shelf and easy to use.<br/>
<b>Frontend</b>: JQuery Mobile application (embedded in PhoneGap in the future).<br/>
<b>Backend</b>: RESTful php (or java) APIs with Mysql as database.
| php | mysql | rest | jquery-mobile | null | 07/20/2012 00:35:29 | not a real question | Frameworks for: JQuery Mobile + PHP + Mysql + REST
===
I think a lot of people is in my same situation, but I cannot find nothing really out-of-the-shelf and easy to use.<br/>
<b>Frontend</b>: JQuery Mobile application (embedded in PhoneGap in the future).<br/>
<b>Backend</b>: RESTful php (or java) APIs with Mysql a... | 1 |
11,091,342 | 06/18/2012 21:26:42 | 1,347,166 | 04/20/2012 17:31:59 | 8 | 0 | Cookies: Default settings for major browsers? | Can anyone tell me what the default settings are for major browsers such as Firefox, Internet Explorer, Google Chrome, Opera, and Safari, or any of them for that matter? Any info would be much appreciated. I'm sorry that it's such a broad question, since I'm sure each version of each browser is different, but I'm havin... | internet-explorer | firefox | google-chrome | cookies | settings | 06/19/2012 18:06:47 | not a real question | Cookies: Default settings for major browsers?
===
Can anyone tell me what the default settings are for major browsers such as Firefox, Internet Explorer, Google Chrome, Opera, and Safari, or any of them for that matter? Any info would be much appreciated. I'm sorry that it's such a broad question, since I'm sure each ... | 1 |
7,195,025 | 08/25/2011 17:59:20 | 775,171 | 05/29/2011 13:40:33 | 72 | 0 | Cap down/upload speed for a specific user? | I'm thinking about offering shells, but I need to limit people's download/upload speed. Any way of doing this? Going to be using Ubuntu. Thanks. | linux | bash | shell | null | null | 08/25/2011 20:46:03 | off topic | Cap down/upload speed for a specific user?
===
I'm thinking about offering shells, but I need to limit people's download/upload speed. Any way of doing this? Going to be using Ubuntu. Thanks. | 2 |
8,836,408 | 01/12/2012 14:09:20 | 1,134,639 | 01/06/2012 15:55:59 | 1 | 0 | Android TouchRotateActivity.java Example Exec within Fragment; err setting a newTouchSurfaceView | The error arises from the attempt to set a new TouchSurfaceView within the context of the fragment and setting its' setContentView.
public class ProfileView_ActivityPlus extends Activity {
public static class ProfilePlus extends Fragment {
@Override
public void onCreate(Bundl... | android | opengl | null | null | null | null | open | Android TouchRotateActivity.java Example Exec within Fragment; err setting a newTouchSurfaceView
===
The error arises from the attempt to set a new TouchSurfaceView within the context of the fragment and setting its' setContentView.
public class ProfileView_ActivityPlus extends Activity {
public static class Pr... | 0 |
4,015,209 | 10/25/2010 13:51:15 | 2,608 | 08/23/2008 14:39:53 | 946 | 23 | What's advantages does the Ruby language have over C#? | I'm read a lot of positives about the Ruby language, people who work in it seem to love it.
I'm a C# developer and I find C# a superb language to work in. What advantages does Ruby have over C# (preferably with code examples)? | c# | ruby | null | null | null | 10/25/2010 13:54:48 | not constructive | What's advantages does the Ruby language have over C#?
===
I'm read a lot of positives about the Ruby language, people who work in it seem to love it.
I'm a C# developer and I find C# a superb language to work in. What advantages does Ruby have over C# (preferably with code examples)? | 4 |
9,079,156 | 01/31/2012 11:58:21 | 146,588 | 07/28/2009 18:09:28 | 1,225 | 14 | How to create concise and manageable search tables? | I have a configuration table that has a number of columns (20+), most of which are nullable. I generally need to search for and identify an individual row, but each search might have different parameters. In other words, search A might request a match on ParamA, ParamF and ParamG, whilst search B might request a match ... | c# | java | database | design | search | null | open | How to create concise and manageable search tables?
===
I have a configuration table that has a number of columns (20+), most of which are nullable. I generally need to search for and identify an individual row, but each search might have different parameters. In other words, search A might request a match on ParamA, ... | 0 |
5,998,053 | 05/13/2011 21:38:16 | 20,471 | 09/22/2008 14:22:51 | 7,247 | 413 | "Cannot find symbol" for my own class | I do not have a %CLASSPATH% set up. As I understand, this should not be a problem because Javac will assume a classpath of the current directory.
As you can see below, javac is unable to find my `Case` class even though it's in the same exact directory. Any thoughts on why this is happening? This code works fine whe... | java | compiler-errors | javac | null | null | null | open | "Cannot find symbol" for my own class
===
I do not have a %CLASSPATH% set up. As I understand, this should not be a problem because Javac will assume a classpath of the current directory.
As you can see below, javac is unable to find my `Case` class even though it's in the same exact directory. Any thoughts on why ... | 0 |
6,786,044 | 07/22/2011 05:32:36 | 854,787 | 07/20/2011 21:03:02 | 3 | 0 | JSON Problem in android (objects disappear) | I'm trying to make a small app (an image gallery from images from the web, were the url's I get from the JSON file that I received). The context of JSON looks like that:
{"images":{
"yXVak":{
"image_hash":"yXVak",
"imgur_page":"http:\/\/imgur.com\/yXVak",
"original_image":"http:\/\/imgur.com\... | android | json | null | null | null | null | open | JSON Problem in android (objects disappear)
===
I'm trying to make a small app (an image gallery from images from the web, were the url's I get from the JSON file that I received). The context of JSON looks like that:
{"images":{
"yXVak":{
"image_hash":"yXVak",
"imgur_page":"http:\/\/imgur.com\/yX... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.