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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9,342,612 | 02/18/2012 15:54:20 | 1,018,804 | 10/28/2011 17:12:03 | 227 | 28 | missing ) after argument list else { - i can't see it? | Pardon for this, i just get this error in console but i can't see it? I may be blind at the moment, anyone please helps me get this error fixed?
says: "missing ) after argument list else {"
//run the function for all boxes
$(".box").each(function () {
var thisBox = $(this);
var url = thisBox.... | javascript | jquery | null | null | null | 02/18/2012 16:32:01 | too localized | missing ) after argument list else { - i can't see it?
===
Pardon for this, i just get this error in console but i can't see it? I may be blind at the moment, anyone please helps me get this error fixed?
says: "missing ) after argument list else {"
//run the function for all boxes
$(".box").each(functio... | 3 |
9,890,132 | 03/27/2012 13:06:45 | 1,289,949 | 03/24/2012 12:15:39 | 1 | 0 | how can create layout and add images view in to layout using base adapter in android | my all images in mimages i want add any layout
public class ImageAdapter extends BaseAdapter {
private static final Context Context = null;
String qrimage;
Bitmap bmp, resizedbitmap;
Activity activity = null;
private static LayoutInflater inflater = null;
private ImageView[] mImages;
String[] it... | android | null | null | null | null | 03/28/2012 14:59:39 | not a real question | how can create layout and add images view in to layout using base adapter in android
===
my all images in mimages i want add any layout
public class ImageAdapter extends BaseAdapter {
private static final Context Context = null;
String qrimage;
Bitmap bmp, resizedbitmap;
Activity activity = null;
pri... | 1 |
1,748,398 | 11/17/2009 12:01:01 | 148,968 | 08/01/2009 13:58:15 | 95 | 3 | PHP: is this validity check vulnerable? | I have this code in a page that includes other files via GET request:
$page = strtolower($_GET['page']);
if(!$page or !$allow[$page] or $page == 'home') {
header("Location: home.php");
}
where `$allow` is a hardcoded array which contains a list of the allowed strings that are valid files to ... | php | code-injection | security | null | null | null | open | PHP: is this validity check vulnerable?
===
I have this code in a page that includes other files via GET request:
$page = strtolower($_GET['page']);
if(!$page or !$allow[$page] or $page == 'home') {
header("Location: home.php");
}
where `$allow` is a hardcoded array which contains a list of... | 0 |
10,912,907 | 06/06/2012 11:00:57 | 1,145,246 | 01/12/2012 10:17:35 | 38 | 0 | Android in-app billing phonegap plugin was not working | Recently i tried to get work with in-App billing native phonegap plugin.
I found <a href="https://github.com/luoihoc/CallbackBillingPlugin">https://github.com/luoihoc/CallbackBillingPlugin</a> native in-app billing plugin.
The example app was working fine but when I have tried with my own package name and activity ... | android | plugins | phonegap | in-app-billing | null | 06/07/2012 21:10:38 | not a real question | Android in-app billing phonegap plugin was not working
===
Recently i tried to get work with in-App billing native phonegap plugin.
I found <a href="https://github.com/luoihoc/CallbackBillingPlugin">https://github.com/luoihoc/CallbackBillingPlugin</a> native in-app billing plugin.
The example app was working fine ... | 1 |
9,075,662 | 01/31/2012 07:02:29 | 330,374 | 05/01/2010 13:48:17 | 73 | 10 | What call should I be using instead of this deprecated method? | I have a <i>UITableViewController</i> which creates dynamically re-sizeable cells. The cell changes the size of the cell depending on the text content and the font size. (A tip found here.)
It uses a call to the following method which is deprecated:
cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero re... | iphone | ios | cocoa-touch | deprecated | null | 02/06/2012 16:50:50 | not a real question | What call should I be using instead of this deprecated method?
===
I have a <i>UITableViewController</i> which creates dynamically re-sizeable cells. The cell changes the size of the cell depending on the text content and the font size. (A tip found here.)
It uses a call to the following method which is deprecated:... | 1 |
11,183,154 | 06/25/2012 03:29:04 | 1,229,925 | 02/24/2012 04:32:00 | 1 | 0 | @font not working from fontsquirrel | I'm trying to use this font: http://www.fontsquirrel.com/fontfacedemo/eb-garamond
So I download the type kit and placed it in the correct directory.
**CSS**:
<code>
@font-face {
font-family: 'EBGaramondSC';
src: url('/EBGaramondSC-webfont.eot');
src: url('/EBGaramondSC-webfont.eot?#ie... | css | html5 | font-face | null | null | 06/26/2012 14:07:53 | too localized | @font not working from fontsquirrel
===
I'm trying to use this font: http://www.fontsquirrel.com/fontfacedemo/eb-garamond
So I download the type kit and placed it in the correct directory.
**CSS**:
<code>
@font-face {
font-family: 'EBGaramondSC';
src: url('/EBGaramondSC-webfont.eot');
... | 3 |
7,311,544 | 09/05/2011 18:22:49 | 821,110 | 06/29/2011 12:55:24 | 91 | 2 | Using Preprocessors to change language Syntax | I read that Objective-C was made by using preprocessor directives to add features of small talk to C, which got me a little curious so I started tinkering with preprocessors in C++, just because I was bored and came up with this:
#include <iostream>
#include <string>
#define Constant const
#define... | c++ | preprocessor | null | null | null | 09/05/2011 18:44:56 | not a real question | Using Preprocessors to change language Syntax
===
I read that Objective-C was made by using preprocessor directives to add features of small talk to C, which got me a little curious so I started tinkering with preprocessors in C++, just because I was bored and came up with this:
#include <iostream>
#includ... | 1 |
9,191,871 | 02/08/2012 10:52:05 | 881,112 | 08/05/2011 18:25:46 | 36 | 2 | Eclipse Helios - Symfony Plugin | is there any Symfony plugin for Eclipse Helios? i just found this one which apparently just works with Eclipse Indigo
https://github.com/pulse00/Symfony-2-Eclipse-Plugin | eclipse | eclipse-plugin | symfony-2.0 | null | null | null | open | Eclipse Helios - Symfony Plugin
===
is there any Symfony plugin for Eclipse Helios? i just found this one which apparently just works with Eclipse Indigo
https://github.com/pulse00/Symfony-2-Eclipse-Plugin | 0 |
4,586,160 | 01/03/2011 16:20:41 | 341,255 | 05/14/2010 13:15:52 | 143 | 2 | Which is the best free ide/plugin for struts2? | I have just learnt struts 2 and now I have taken up a full fledged project in it. I learnt the basics of struts 2 in Netbeans with it's struts2 plugin. But I am not at all happy with it, as it is very basic and I end up doing most of the work. It is obviously better than plain-vanilla text editor, but still not at all ... | plugins | ide | struts2 | null | null | 08/30/2011 13:41:38 | not constructive | Which is the best free ide/plugin for struts2?
===
I have just learnt struts 2 and now I have taken up a full fledged project in it. I learnt the basics of struts 2 in Netbeans with it's struts2 plugin. But I am not at all happy with it, as it is very basic and I end up doing most of the work. It is obviously better t... | 4 |
3,752,480 | 09/20/2010 14:37:42 | 351,126 | 09/02/2009 08:25:19 | 334 | 7 | Should loaded images and text be stored in memory or retrieved each time | My app has various pins that drop onto a map and when you click on the pins you get more information about this entity.
Each time you click on the entity it retrieves the information from a web service. Should I only retrieve this information once and store it in memory or should I retrieve it each time that page l... | iphone | objective-c | null | null | null | null | open | Should loaded images and text be stored in memory or retrieved each time
===
My app has various pins that drop onto a map and when you click on the pins you get more information about this entity.
Each time you click on the entity it retrieves the information from a web service. Should I only retrieve this informa... | 0 |
7,664,941 | 10/05/2011 17:03:11 | 980,661 | 10/05/2011 15:16:34 | 8 | 0 | how to schedule a task (in unix) to start running when the cpu is free? | I have a program to run on a machine that is shared with many other people. I want to time my job and get performance summaries etc so it's important to run the job when the machine is not shared with other jobs. Is there a way to schedule my jobs to start running once the cpu is not occupied with another job? Are ther... | performance | unix | scheduled-tasks | null | null | 10/06/2011 01:40:21 | off topic | how to schedule a task (in unix) to start running when the cpu is free?
===
I have a program to run on a machine that is shared with many other people. I want to time my job and get performance summaries etc so it's important to run the job when the machine is not shared with other jobs. Is there a way to schedule my ... | 2 |
5,287,709 | 03/13/2011 05:34:25 | 590,091 | 01/26/2011 03:54:36 | 118 | 0 | Where is MyBatis's Javadoc? | I download MyBatis's and there's a mybatis-3.0.4-javadoc.jar in the folder, I extract and open it, but it's nearly empty.
Where can I find the API doc of MyBatis? | mybatis | null | null | null | null | null | open | Where is MyBatis's Javadoc?
===
I download MyBatis's and there's a mybatis-3.0.4-javadoc.jar in the folder, I extract and open it, but it's nearly empty.
Where can I find the API doc of MyBatis? | 0 |
11,659,607 | 07/25/2012 22:26:54 | 174,621 | 09/16/2009 21:15:47 | 2,265 | 59 | Your bug report form is buggy | Your bug report form deletes text I type into the "apps" field. It also doesn't seem to recognize my tags. In short, your bug report form is buggy to the point of being impossible to use. This is tested to be true on Chrome and Firefox on OSX.
PS: Stack Overflow users, I'm sorry for posting this here, but I obviousl... | facebook | bug-report | null | null | null | 07/25/2012 22:53:20 | off topic | Your bug report form is buggy
===
Your bug report form deletes text I type into the "apps" field. It also doesn't seem to recognize my tags. In short, your bug report form is buggy to the point of being impossible to use. This is tested to be true on Chrome and Firefox on OSX.
PS: Stack Overflow users, I'm sorry fo... | 2 |
9,522,689 | 03/01/2012 19:31:54 | 1,232,331 | 02/25/2012 09:33:33 | 13 | 0 | Python: Making a wordbook to search within | I am writing a code in which I want to search a datafile with words - a wordbook. Just for fun! The idea is to define some letters, and the program will then find words containing the exact input.
I have already written the code and succeded, but it really needs some adjustments too give the right output.
This is ... | python | list | search | word | null | null | open | Python: Making a wordbook to search within
===
I am writing a code in which I want to search a datafile with words - a wordbook. Just for fun! The idea is to define some letters, and the program will then find words containing the exact input.
I have already written the code and succeded, but it really needs some ad... | 0 |
4,391,414 | 12/08/2010 19:24:25 | 76,149 | 03/10/2009 14:02:54 | 162 | 2 | Web client classification using Artifical Neural Network | I have a high traffic web site. I want to create software which on-the-fly analyses requests from clients and decide if it is a real user or a botnet bot. To train network to identify "good" users I can use logs when there are no DDoS activity. Then enable program to distinguish real users from bots.
What I have: requ... | artificial-intelligence | neural-network | null | null | null | null | open | Web client classification using Artifical Neural Network
===
I have a high traffic web site. I want to create software which on-the-fly analyses requests from clients and decide if it is a real user or a botnet bot. To train network to identify "good" users I can use logs when there are no DDoS activity. Then enable p... | 0 |
3,295,253 | 07/20/2010 23:40:17 | 77,784 | 03/13/2009 16:03:33 | 603 | 47 | How to aggregate outputs from a dynamically generated set of projects into a single folder. | I need to collect into a single folder all test assemblies, with their dependencies, and configuration files. The process should preserve the directory structure from the output of each test project. We have a solution that requires manually attaching test projects to a master project, but our solution has far too many... | msbuild | continuous-integration | teamcity | null | null | null | open | How to aggregate outputs from a dynamically generated set of projects into a single folder.
===
I need to collect into a single folder all test assemblies, with their dependencies, and configuration files. The process should preserve the directory structure from the output of each test project. We have a solution tha... | 0 |
1,156,443 | 07/20/2009 23:06:24 | 5,302 | 09/08/2008 22:49:47 | 2,344 | 87 | Handling a multi-dimensional data structure in .Net 3.5 and above | I want to build a 2 dimensional (non ragged at this point) object array.
I can easily build a 2 dimensional Array[,], and will do so if it is the best option available, but have tended to avoid arrays in favour of the advanced functionality of .NET's List and Dictionary structures.
I could also use a List<List... | .net | arrays | null | null | null | null | open | Handling a multi-dimensional data structure in .Net 3.5 and above
===
I want to build a 2 dimensional (non ragged at this point) object array.
I can easily build a 2 dimensional Array[,], and will do so if it is the best option available, but have tended to avoid arrays in favour of the advanced functionality of .N... | 0 |
464,960 | 01/21/2009 11:47:03 | 29,903 | 10/21/2008 09:43:20 | 1,195 | 53 | Code golf: combining multiple sorted lists into a single sorted list | Implement an algorithm to merge an arbitrary number of sorted lists into one sorted list. The aim is to create the smallest working programme, in whatever language you like.
For example:
input: ((1, 4, 7), (2, 5, 8), (3, 6, 9))
output: (1, 2, 3, 4, 5, 6, 7, 8, 9)
input: ((1, 10), (), (2, 5, 6, 7... | code-golf | algorithm | sorting | merge | language-agnostic | null | open | Code golf: combining multiple sorted lists into a single sorted list
===
Implement an algorithm to merge an arbitrary number of sorted lists into one sorted list. The aim is to create the smallest working programme, in whatever language you like.
For example:
input: ((1, 4, 7), (2, 5, 8), (3, 6, 9))
ou... | 0 |
8,828,470 | 01/11/2012 23:59:46 | 381,422 | 07/01/2010 18:49:03 | 463 | 18 | What are some potential flaws in my design plan? | I have a website that I'm converting into a web application for iOS and Android. I'm using PhoneGap to create native apps that simply point to the website.
(Sidenote: The benefit of having the native app shells, as opposed to simply a homescreen icon to the web app, is that we can use Urban Airship to use push noti... | html5 | design | caching | mobile | null | 01/14/2012 00:04:09 | not a real question | What are some potential flaws in my design plan?
===
I have a website that I'm converting into a web application for iOS and Android. I'm using PhoneGap to create native apps that simply point to the website.
(Sidenote: The benefit of having the native app shells, as opposed to simply a homescreen icon to the web ... | 1 |
10,703,082 | 05/22/2012 13:30:41 | 541,597 | 12/14/2010 07:12:49 | 532 | 3 | WebException not being caught by catch statement | try
{
this.Invoke((MethodInvoker)delegate
{
Uri uri = new Uri("mywebpage.com");
NetworkCredential credentials = new NetworkCredential("username", "password");
byte[] lnBuffer;
... | c# | null | null | null | null | null | open | WebException not being caught by catch statement
===
try
{
this.Invoke((MethodInvoker)delegate
{
Uri uri = new Uri("mywebpage.com");
NetworkCredential credentials = new NetworkCredential("username", "pas... | 0 |
5,790,716 | 04/26/2011 12:59:01 | 725,410 | 04/26/2011 12:59:01 | 1 | 0 | SEO - doubt in first result of google search | how to add sub links below the url if my website is the first result in google search. For e.g., if you type gmail in google search bar below the url you can see seven sub links that ends with *more results from google.com* | search | google | seo | engine | null | 04/26/2011 13:31:11 | off topic | SEO - doubt in first result of google search
===
how to add sub links below the url if my website is the first result in google search. For e.g., if you type gmail in google search bar below the url you can see seven sub links that ends with *more results from google.com* | 2 |
11,666,221 | 07/26/2012 09:23:49 | 1,346,025 | 04/20/2012 08:24:37 | 7 | 0 | Embed lua as scripting method in vb.net application | Can someone point me the steps to include a multiline texbot, where i can use lua in my application as a scripting feature, what do i need to import and how to do it, theres a few tutorials about c#, theres almost nothing about vb.net i tried to include it but i cant import lua into the vb.net or well im not doing it p... | vb.net | script | lua | embed | null | 07/26/2012 20:16:29 | not a real question | Embed lua as scripting method in vb.net application
===
Can someone point me the steps to include a multiline texbot, where i can use lua in my application as a scripting feature, what do i need to import and how to do it, theres a few tutorials about c#, theres almost nothing about vb.net i tried to include it but i ... | 1 |
309,282 | 11/21/2008 16:13:46 | 21,632 | 09/24/2008 12:13:26 | 4,787 | 167 | What are the worst metaphors in computer science and engineering? | We recently had this question about our [favorite metaphors][1], but in my experience, whether we like them or not, the Computer Science/Engineering field is full of metaphors that range wildly in appropriateness.
For example, although it never bothered me, I had a computer science professor in my undergrad days who... | non-technical | fun | null | null | null | 09/27/2011 05:15:54 | not constructive | What are the worst metaphors in computer science and engineering?
===
We recently had this question about our [favorite metaphors][1], but in my experience, whether we like them or not, the Computer Science/Engineering field is full of metaphors that range wildly in appropriateness.
For example, although it never b... | 4 |
6,222,142 | 06/03/2011 01:36:57 | 683,387 | 03/30/2011 06:19:28 | 3 | 0 | Using CGDataProviderCreateWithData callback | I'm using CGDataProviderCreateWithData to (eventually) create a UIImage from a malloced array of bytes. I call CGDataProviderCreateWithData like this:
provider = CGDataProviderCreateWithData(NULL, dataPtr, dataLen, callbackFunc);
where
dataPtr is the previously malloced array of data bytes for the image... | iphone | objective-c | null | null | null | null | open | Using CGDataProviderCreateWithData callback
===
I'm using CGDataProviderCreateWithData to (eventually) create a UIImage from a malloced array of bytes. I call CGDataProviderCreateWithData like this:
provider = CGDataProviderCreateWithData(NULL, dataPtr, dataLen, callbackFunc);
where
dataPtr is the prev... | 0 |
10,383,752 | 04/30/2012 12:30:44 | 372,832 | 06/22/2010 06:03:31 | 6 | 0 | VST SDK & VST Module SDK | i wanted to create a Pattern oriented VST MIDI plugin with an editor (no audio processing, just a UI editor with a powerful pattern editor and randomizer).
i've read the **terrible** VST and VST module SDK documentation. I hope some of you can answer my questions:
- Did i get this right: the VST SDK is for audio... | c++ | vst | null | null | null | null | open | VST SDK & VST Module SDK
===
i wanted to create a Pattern oriented VST MIDI plugin with an editor (no audio processing, just a UI editor with a powerful pattern editor and randomizer).
i've read the **terrible** VST and VST module SDK documentation. I hope some of you can answer my questions:
- Did i get this r... | 0 |
1,854,328 | 12/06/2009 04:13:05 | 107,178 | 05/14/2009 15:54:53 | 23 | 1 | Codaset, Codebasehq, Unfuddle, Trac or Redmine? | I have a handful of small Git repositories I would like to host remotely. They're all private projects, most of them in Java.
Codaset, Codebasehq, Unfuddle, Trac, Redmine..
There seems to be an abundance of solutions out there. They're all packed with features and useful functionality.
Putting aside pricing and ... | git | repository | redmine | trac | null | 05/22/2011 10:48:28 | off topic | Codaset, Codebasehq, Unfuddle, Trac or Redmine?
===
I have a handful of small Git repositories I would like to host remotely. They're all private projects, most of them in Java.
Codaset, Codebasehq, Unfuddle, Trac, Redmine..
There seems to be an abundance of solutions out there. They're all packed with features an... | 2 |
5,069,248 | 02/21/2011 17:36:33 | 610,165 | 02/09/2011 17:36:44 | 3 | 0 | I Need Opinions Regarding Building a Virtual Classroom | I want to build a website that represents a simple virtual class in which the teacher uses a webcam to record his lesson and the students can watch the lesson live (while its being recorded), the whole idea is easy because I don't need any other features (the students just sign in and watch) and the teacher (just signs... | asp.net | wcf | asp | null | null | 11/23/2011 19:15:52 | not constructive | I Need Opinions Regarding Building a Virtual Classroom
===
I want to build a website that represents a simple virtual class in which the teacher uses a webcam to record his lesson and the students can watch the lesson live (while its being recorded), the whole idea is easy because I don't need any other features (the ... | 4 |
9,647,064 | 03/10/2012 14:07:57 | 983,223 | 10/07/2011 00:59:30 | 58 | 2 | run c program - stdio.h where do i get it? | Looking into learning C. As I understand it when I say `#include <stdio.h>` it grabs stdio.h from the default location...usually a directory inside your working directory called include. How do I actually get the file stdio.h? Do I need to download a bunch of .h files and move them from project to project inside the in... | c | unix | make | null | null | null | open | run c program - stdio.h where do i get it?
===
Looking into learning C. As I understand it when I say `#include <stdio.h>` it grabs stdio.h from the default location...usually a directory inside your working directory called include. How do I actually get the file stdio.h? Do I need to download a bunch of .h files and... | 0 |
11,523,844 | 07/17/2012 13:45:43 | 1,512,195 | 07/09/2012 14:08:30 | 7 | 0 | 802.11 FCS (CRC32) | Is the below code correctly calculating the FCS value of wireless frames?<br />
Because the value produced by the below code does not match the value shown by wireshark.
const uint32_t crctable[] = {
0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L, 0x706af48fL, 0xe963a535L, 0x9e6495a3L,
0... | c | pcap | libpcap | crc32 | null | 07/19/2012 03:11:50 | not a real question | 802.11 FCS (CRC32)
===
Is the below code correctly calculating the FCS value of wireless frames?<br />
Because the value produced by the below code does not match the value shown by wireshark.
const uint32_t crctable[] = {
0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L, 0x706af48fL, 0xe963a5... | 1 |
8,854,740 | 01/13/2012 17:32:46 | 1,111,517 | 12/22/2011 10:14:28 | 1 | 0 | Photoshop - How to link layers visibility (not position)? | I have a photoshop file with a set of layers.
Is there a way that I can link "layer visibility" without having to click and unclick on the eye icon of each layer individually? For instance, I would like to set up instructions such as:
-If I click on the eye icon of layer A, activate the eye icon of layer B, AND... | visibility | photoshop | layer | null | null | 01/13/2012 20:35:35 | off topic | Photoshop - How to link layers visibility (not position)?
===
I have a photoshop file with a set of layers.
Is there a way that I can link "layer visibility" without having to click and unclick on the eye icon of each layer individually? For instance, I would like to set up instructions such as:
-If I click on... | 2 |
2,217,873 | 02/07/2010 18:57:47 | 268,232 | 02/07/2010 18:57:47 | 1 | 0 | grails test-app to output to console | I am new to grails, coming from Django.
Using test driven development, I am used to writing tests and then actual functionality. What works well for me it to write the test, run the function with some debug output to see that state of variables until the unit test passes, and then moving the debug output.
In g... | grails | null | null | null | null | null | open | grails test-app to output to console
===
I am new to grails, coming from Django.
Using test driven development, I am used to writing tests and then actual functionality. What works well for me it to write the test, run the function with some debug output to see that state of variables until the unit test passes,... | 0 |
8,616,318 | 12/23/2011 12:52:33 | 1,049,325 | 11/16/2011 09:28:21 | 82 | 0 | Compare datetime in a query and perform a delete in mysql | In this table I want to delete the oldest entry for userid 1, here the oldest entry is `ghi 10/12/2011 11:20:22` i get the oldest entry by the datetime. How can I compare date time and do a delete in the same query. I want to compare the datetime entry for userid 1
delete from tbl_name where datetime is oldest... | mysql | null | null | null | null | null | open | Compare datetime in a query and perform a delete in mysql
===
In this table I want to delete the oldest entry for userid 1, here the oldest entry is `ghi 10/12/2011 11:20:22` i get the oldest entry by the datetime. How can I compare date time and do a delete in the same query. I want to compare the datetime entr... | 0 |
8,956,599 | 01/21/2012 20:52:44 | 910,100 | 08/24/2011 16:52:58 | 18 | 0 | CSS Media Queries | I am trying to adapt my tablet web app for use on cell phones. The Media Query functionality seems perfect and my initial testing bears this out. The question I have is: with phones and tablets that change their orientation from portrait to landscape (upon rotation of the device) what does max-width then refer to?
... | css3 | media-queries | null | null | null | null | open | CSS Media Queries
===
I am trying to adapt my tablet web app for use on cell phones. The Media Query functionality seems perfect and my initial testing bears this out. The question I have is: with phones and tablets that change their orientation from portrait to landscape (upon rotation of the device) what does max-... | 0 |
11,202,603 | 06/26/2012 07:30:14 | 1,421,153 | 05/28/2012 07:11:43 | -1 | 0 | How can we save number of AudioRecorded files(.caf) in sqlite3 database | I am developing one app in that i want to record user voice for that i have record the voice in NSTemporaryDirectory() but after coalition of record i want to save that recorded .caf file in database and also retrieve that file from database and play that file so help me...
I am do like this...
-(IBAction)reco... | iphone | objective-c | ios | null | null | null | open | How can we save number of AudioRecorded files(.caf) in sqlite3 database
===
I am developing one app in that i want to record user voice for that i have record the voice in NSTemporaryDirectory() but after coalition of record i want to save that recorded .caf file in database and also retrieve that file from database... | 0 |
11,489,255 | 07/15/2012 03:48:07 | 255,439 | 01/21/2010 02:52:20 | 1,088 | 19 | PHP: Error handling | Sometimes, my script cannot read output by a server and the following error occurs:
`PHP Fatal error: Call to a member function somefun() on a non-object`
This is not something that can be fixed on my end but this causes my script to crash. Is there a way I can create a function that gets run when this particula... | php | error-handling | null | null | null | null | open | PHP: Error handling
===
Sometimes, my script cannot read output by a server and the following error occurs:
`PHP Fatal error: Call to a member function somefun() on a non-object`
This is not something that can be fixed on my end but this causes my script to crash. Is there a way I can create a function that get... | 0 |
8,069,908 | 11/09/2011 18:44:00 | 1,038,293 | 11/09/2011 18:29:45 | 1 | 0 | WSJ News Reader | The WSJ recently launched [WSJ Social][1], on FB. I was tasked with finding out how this was done, whether there are costs involved etc. My colleague, an Editorial Director with a higher ed publication, is interested in learning how/if we can do something similar for our readers?
Any assistance and/or direction you ... | javascript | facebook | fbml | null | null | 11/10/2011 00:07:45 | not constructive | WSJ News Reader
===
The WSJ recently launched [WSJ Social][1], on FB. I was tasked with finding out how this was done, whether there are costs involved etc. My colleague, an Editorial Director with a higher ed publication, is interested in learning how/if we can do something similar for our readers?
Any assistance ... | 4 |
4,979,312 | 02/12/2011 16:59:34 | 197,606 | 10/27/2009 19:49:00 | 2,494 | 103 | DISTINCT pulling duplicate column values | The following query is pulling duplicate `site_id`s, with me using DISTINCT I can't figure out why...
SELECT
DISTINCT site_id,
deal_woot.*,
site.woot_off,
site.name AS site_name
FROM deal_woot
INNER JOIN site ON site.id = site_id
WHERE site_id IN (2, 3, 4, 5, 6)... | php | null | null | null | null | null | open | DISTINCT pulling duplicate column values
===
The following query is pulling duplicate `site_id`s, with me using DISTINCT I can't figure out why...
SELECT
DISTINCT site_id,
deal_woot.*,
site.woot_off,
site.name AS site_name
FROM deal_woot
INNER JOIN site ON site.id =... | 0 |
3,340,938 | 07/27/2010 05:18:09 | 372,291 | 06/21/2010 15:11:08 | 1 | 0 | How to place a wide figure with subfigures in Latex? | I am trying to write a report and stuck with a wide figure. My document type is PRL using revtex4.1 with two columns. I have a wide figure which consists of 8 subfigures. I am trying to place it bottom of a page but it insists to go next page. Here is code for my wide figure:
\begin{figure*}
\centering
... | latex | subfigure | null | null | null | null | open | How to place a wide figure with subfigures in Latex?
===
I am trying to write a report and stuck with a wide figure. My document type is PRL using revtex4.1 with two columns. I have a wide figure which consists of 8 subfigures. I am trying to place it bottom of a page but it insists to go next page. Here is code for m... | 0 |
4,247,803 | 11/22/2010 16:40:54 | 233,087 | 12/16/2009 16:00:58 | 1,120 | 11 | How to perform an operation before object is disposed? | Working with C#. I have an abstract class that I use to read/write settings to an xml file. When the class is no longer needed I want to perform one last write operation to the xml file before the class gets disposed. I tried putting this code in a destructor method `~myClass() {}` but it throws an exception saying tha... | c# | garbage-collection | dispose | abstract | null | null | open | How to perform an operation before object is disposed?
===
Working with C#. I have an abstract class that I use to read/write settings to an xml file. When the class is no longer needed I want to perform one last write operation to the xml file before the class gets disposed. I tried putting this code in a destructor ... | 0 |
6,711,171 | 07/15/2011 17:50:54 | 223,367 | 12/02/2009 23:52:01 | 2,734 | 10 | Where is the space coming from at the bottom of the footer | I have this page[ here][1] and if you scroll to the bottom you can see a space at the bottom but for the life of me i cant seem to figure out what is causing it...any ideas..
[1]: http://posnation.com/shop_pos/ | html | css | null | null | null | 07/18/2011 03:43:30 | too localized | Where is the space coming from at the bottom of the footer
===
I have this page[ here][1] and if you scroll to the bottom you can see a space at the bottom but for the life of me i cant seem to figure out what is causing it...any ideas..
[1]: http://posnation.com/shop_pos/ | 3 |
9,044,548 | 01/28/2012 10:25:18 | 735,960 | 05/03/2011 10:38:38 | 359 | 22 | Using group_by with where statement in RoR | Already check [this][1] video which is very helpful. But actually i dont just want to group just months. I want to group them with a condition too. So i have;
MyModel.where("state = 'A'").all.group_by { |q| q.created_at.beginning_of_month }.count
But it gives me all records that states in 'A' not in current m... | ruby-on-rails | ruby | activerecord | group-by | null | null | open | Using group_by with where statement in RoR
===
Already check [this][1] video which is very helpful. But actually i dont just want to group just months. I want to group them with a condition too. So i have;
MyModel.where("state = 'A'").all.group_by { |q| q.created_at.beginning_of_month }.count
But it gives me... | 0 |
2,727,158 | 04/28/2010 06:07:20 | 300,535 | 03/24/2010 05:24:30 | 36 | 2 | Dynamically set value of an elements attribute in ASP.NET | I have some simple code in an aspx page
<object width="550" height="400">
<param name="movie" value='XXXX' />
<embed src='XXXX' width="350" height="370"></embed>
</object>
I want to be able to dynamically set the value of XXXX.
What is the best way to do this ?
| asp.net | html | null | null | null | null | open | Dynamically set value of an elements attribute in ASP.NET
===
I have some simple code in an aspx page
<object width="550" height="400">
<param name="movie" value='XXXX' />
<embed src='XXXX' width="350" height="370"></embed>
</object>
I want to be able to dynamically set the value of XX... | 0 |
3,186,403 | 07/06/2010 13:07:01 | 8,741 | 09/15/2008 16:46:16 | 2,541 | 71 | SqlRoleProvider fails to connect to DB. | I have the following config for roles using standard SqlRoleProvider, but I get an error when I try and open the Security page in the wweb site Admin tool:
<roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
<providers>
<remove name="AspNetSqlRoleProvider"/>
<add... | asp.net | authorization | roles | null | null | null | open | SqlRoleProvider fails to connect to DB.
===
I have the following config for roles using standard SqlRoleProvider, but I get an error when I try and open the Security page in the wweb site Admin tool:
<roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
<providers>
<remove n... | 0 |
7,310,285 | 09/05/2011 15:52:54 | 929,155 | 09/05/2011 15:43:18 | 1 | 0 | is Martin Fowler's book Refactoring still a worth buy? | The book is old and haven't heard that any new edition is coming our way. I want to improve my software engineeering / architecture skills, but I'm not so sure where to start. | architecture | books | refactoring | software-engineering | fowler | 09/05/2011 16:44:35 | not constructive | is Martin Fowler's book Refactoring still a worth buy?
===
The book is old and haven't heard that any new edition is coming our way. I want to improve my software engineeering / architecture skills, but I'm not so sure where to start. | 4 |
1,830,684 | 12/02/2009 04:39:35 | 222,624 | 12/02/2009 04:39:35 | 1 | 0 | Check the sortedness Of An Array | I need an Algorithm which is used to find the N-element randomly-ordered integer
array is either already sorted or not. | algorithm | null | null | null | null | null | open | Check the sortedness Of An Array
===
I need an Algorithm which is used to find the N-element randomly-ordered integer
array is either already sorted or not. | 0 |
10,318,571 | 04/25/2012 15:13:55 | 971,058 | 09/29/2011 11:57:19 | 6 | 0 | Cannot obtain a Youtube API developer key | I'm facing a very curious problem.<br/>
I'm trying to obtain a developer key for the youtube API (seems that you need this if you want to use the Google c# client library). I'm following the links up to here: https://code.google.com/apis/youtube/dashboard/gwt/index.html#newProduct where the form is not editable... (im... | c# | .net | youtube | youtube-api | null | 04/25/2012 15:26:59 | off topic | Cannot obtain a Youtube API developer key
===
I'm facing a very curious problem.<br/>
I'm trying to obtain a developer key for the youtube API (seems that you need this if you want to use the Google c# client library). I'm following the links up to here: https://code.google.com/apis/youtube/dashboard/gwt/index.html#n... | 2 |
10,670,268 | 05/20/2012 02:14:57 | 1,236,720 | 02/27/2012 23:21:33 | 829 | 10 | How do portfolio software generate their portfolio suggestions so quickly when the possibilities are huge? | I hope this does not get closed because it is related to algorithms that I have not been able to figure out(its also pretty long because I'm so confused about how its being done). Basically many years back I used to work at a mutual fund and we used different tools to select optimize portfolios as well as hedge existi... | algorithm | math | statistics | finance | portfolio | 05/21/2012 11:13:02 | not constructive | How do portfolio software generate their portfolio suggestions so quickly when the possibilities are huge?
===
I hope this does not get closed because it is related to algorithms that I have not been able to figure out(its also pretty long because I'm so confused about how its being done). Basically many years back I... | 4 |
10,160,407 | 04/15/2012 07:55:45 | 558,261 | 12/30/2010 12:19:30 | 105 | 6 | JMAP -dump not excuted on java: runtime.exec() | i have tried to execute the 'jmap -dump:format =b; file" command in runtime.exec(), but it wont execute where other commands like date, pwd are working fine.
can anyone know why? | java | unix | heap | dump | jmap | 04/18/2012 16:10:14 | not a real question | JMAP -dump not excuted on java: runtime.exec()
===
i have tried to execute the 'jmap -dump:format =b; file" command in runtime.exec(), but it wont execute where other commands like date, pwd are working fine.
can anyone know why? | 1 |
6,946,784 | 08/04/2011 18:38:21 | 856,948 | 07/21/2011 22:18:42 | 6 | 0 | 2D Sprites, textures for download | Alright, so I've been looking for a 2D texture of ball but couldn't find any..
Can anyone please give me a link that I could download from 2D sprites and textures?
Or it will be even better to give me a link for 2D ball texture?
Thanks alot! | c# | xna | null | null | null | 08/04/2011 19:27:31 | off topic | 2D Sprites, textures for download
===
Alright, so I've been looking for a 2D texture of ball but couldn't find any..
Can anyone please give me a link that I could download from 2D sprites and textures?
Or it will be even better to give me a link for 2D ball texture?
Thanks alot! | 2 |
10,187,148 | 04/17/2012 07:43:06 | 703,356 | 04/12/2011 04:49:46 | 7 | 0 | How to lookup a non-jta-data-source/jta-data-source via a Webservice | I get the following error when my Webservice is invoked:
org.apache.openjpa.persistence.ArgumentException: A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName property.
The Webservice class is bascially trying to use JPA to insert data, and based on the above error message it... | web-services | java-ee | jpa | websphere-7 | null | null | open | How to lookup a non-jta-data-source/jta-data-source via a Webservice
===
I get the following error when my Webservice is invoked:
org.apache.openjpa.persistence.ArgumentException: A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName property.
The Webservice class is bascially... | 0 |
3,515,759 | 08/18/2010 19:11:29 | 326,196 | 04/26/2010 17:12:47 | 20 | 0 | dynamically adding a view to activity layout | I have a custom view (an extension of a TextView) that I want to dynamically add to my Layout (don't want to include it in the main.xml file).
The book says to fetch the RelativeLayout using findViewById() in my java code then create a new instance of my custom view, then use addView on the RelativeLayout to add the... | android | user-interface | textview | relativelayout | null | null | open | dynamically adding a view to activity layout
===
I have a custom view (an extension of a TextView) that I want to dynamically add to my Layout (don't want to include it in the main.xml file).
The book says to fetch the RelativeLayout using findViewById() in my java code then create a new instance of my custom view,... | 0 |
7,614,394 | 09/30/2011 18:15:02 | 878,418 | 08/04/2011 10:56:11 | 64 | 0 | EJB - external lib or inside JSF project? | I'm packaging my app as WAR archive. What are pros/cons of these two approaches:
1. Keep EJB (beans, entities etc) as separate project and include into WAR as lib (*.jar file - WEB-INF/lib) during build?
2. Keep everything (ejb-s, jsf beans etc) in one project, so after build all would go to WEB_INF/classes
Is... | jsf | java-ee | ejb | null | null | null | open | EJB - external lib or inside JSF project?
===
I'm packaging my app as WAR archive. What are pros/cons of these two approaches:
1. Keep EJB (beans, entities etc) as separate project and include into WAR as lib (*.jar file - WEB-INF/lib) during build?
2. Keep everything (ejb-s, jsf beans etc) in one project, so a... | 0 |
11,626,562 | 07/24/2012 08:00:04 | 1,326,868 | 04/11/2012 14:32:50 | 41 | 1 | Get five latest data from mongoDB | Im working with node.js express and mongoDB, my task is to get the five latest data from database. So what i learn is simply using
sort({_id:-1}).limit(5)
if i do it directly in the mongo command window.
But i need something more complex that implment the sort function in express and display in the website... | javascript | node.js | mongodb | express | jade | 07/24/2012 13:18:31 | too localized | Get five latest data from mongoDB
===
Im working with node.js express and mongoDB, my task is to get the five latest data from database. So what i learn is simply using
sort({_id:-1}).limit(5)
if i do it directly in the mongo command window.
But i need something more complex that implment the sort functio... | 3 |
6,877,937 | 07/29/2011 19:15:59 | 869,940 | 07/29/2011 19:15:59 | 1 | 0 | C++ card game, exercise with classes | Hallo everybody,
I wrote a little code to get some exerice in C++...
The code works... but it has a little problem... if you want to solve the problem go ahead and read, if you don't want to please comment on the programming style, I need it to improve myself.
The game is called "Stress in camisa",
is a card ... | c++ | class | card-games | null | null | 07/30/2011 00:29:37 | not a real question | C++ card game, exercise with classes
===
Hallo everybody,
I wrote a little code to get some exerice in C++...
The code works... but it has a little problem... if you want to solve the problem go ahead and read, if you don't want to please comment on the programming style, I need it to improve myself.
The game... | 1 |
94,864 | 09/18/2008 17:46:05 | 16,440 | 09/17/2008 17:11:28 | 1 | 1 | Tasklist replacement for Visual Studio | I would like to use the task-list in Visual Studio but it really lacks almost any useful feature a task-list should provide. So I use [Todo-List][1] externally, to keep track of the things I need to get done. Would be nice to have it all in one place.
So does anyone know of a cool replacement Add-On for the tasklist... | visual | tasks | add-on | studio | null | null | open | Tasklist replacement for Visual Studio
===
I would like to use the task-list in Visual Studio but it really lacks almost any useful feature a task-list should provide. So I use [Todo-List][1] externally, to keep track of the things I need to get done. Would be nice to have it all in one place.
So does anyone know o... | 0 |
2,396,995 | 03/07/2010 16:40:20 | 278,618 | 02/22/2010 10:56:15 | 96 | 6 | TabPage as userControl ?? | I want to create tabpage as userControl.
Is there any way to deal with this??
| c# | winforms | tabcontrol | null | null | null | open | TabPage as userControl ??
===
I want to create tabpage as userControl.
Is there any way to deal with this??
| 0 |
9,604,882 | 03/07/2012 16:01:21 | 956,575 | 09/21/2011 09:31:01 | 111 | 1 | .NET Workflow parallel execution | I have created Workflow and I have my code activity which is doing expensive query. I want make execution of my activity (TagData) in Parallel. But for some reason this 'ParallelFroEach<T>' block is working as simple ForEach loop and does not execute it in parallel. Why? Do I missed something?
![enter image descript... | .net | workflow-foundation | null | null | null | null | open | .NET Workflow parallel execution
===
I have created Workflow and I have my code activity which is doing expensive query. I want make execution of my activity (TagData) in Parallel. But for some reason this 'ParallelFroEach<T>' block is working as simple ForEach loop and does not execute it in parallel. Why? Do I misse... | 0 |
5,067,409 | 02/21/2011 14:55:42 | 486,509 | 10/25/2010 14:00:18 | 43 | 1 | Objective-C: Cart | Hey everbody, i have question here.
I have to make a cart for my app, but i dont know whats the best way to do it.
Im thinking to use the NSMutableArray, but i dont know if its the best way to to this.
Whats the best way to do this?
Thanks! | objective-c | null | null | null | null | null | open | Objective-C: Cart
===
Hey everbody, i have question here.
I have to make a cart for my app, but i dont know whats the best way to do it.
Im thinking to use the NSMutableArray, but i dont know if its the best way to to this.
Whats the best way to do this?
Thanks! | 0 |
9,873,194 | 03/26/2012 13:38:45 | 692,280 | 04/05/2011 05:50:26 | 98 | 11 | How to add OLE object in Excel using Apache POI | I'm trying to create an OLE object on my excel using POI.
Here's an example when not using POI
Shape shape = ws.shape.addOleObject(params,pathToImage,...)
Please help to convert my code to POI.
Cheers! | java | excel | apache-poi | ole | null | null | open | How to add OLE object in Excel using Apache POI
===
I'm trying to create an OLE object on my excel using POI.
Here's an example when not using POI
Shape shape = ws.shape.addOleObject(params,pathToImage,...)
Please help to convert my code to POI.
Cheers! | 0 |
6,869,320 | 07/29/2011 06:12:48 | 562,286 | 01/04/2011 08:55:24 | 50 | 2 | Getting form object values in a script | If you have this kind of form attribute in Spring:
<form:select path="form_object.id" items="${objects}" itemValue="id" itemLabel="description">
How can you pass the id (type is int) value to script?
$("#form_object").change(function(){
alert($(this.val));
this.val returns nothing. I need to p... | spring | script | null | null | null | null | open | Getting form object values in a script
===
If you have this kind of form attribute in Spring:
<form:select path="form_object.id" items="${objects}" itemValue="id" itemLabel="description">
How can you pass the id (type is int) value to script?
$("#form_object").change(function(){
alert($(this.val... | 0 |
3,169,346 | 07/02/2010 21:57:00 | 25,991 | 10/08/2008 00:45:56 | 194 | 13 | Dynamic params using remoteLink in Grails | I want to make an Ajax call using remoteLink (with Prototype as the Javascript library) but I need one of the parameters being passed to be the value from a textfield. Here's what I have so far in my GSP:
<input id="email" name="email" type="text"/>
...
<g:remoteLink action="addEmail" params="[email:?... | grails | null | null | null | null | null | open | Dynamic params using remoteLink in Grails
===
I want to make an Ajax call using remoteLink (with Prototype as the Javascript library) but I need one of the parameters being passed to be the value from a textfield. Here's what I have so far in my GSP:
<input id="email" name="email" type="text"/>
...
<... | 0 |
8,533,488 | 12/16/2011 11:23:54 | 1,101,207 | 12/16/2011 04:05:48 | 6 | 0 | User input equation | Is it possible, in c++, to turn user input into an equation. Example: User inputs x + 2. Programs asks for value of x. Lets say x = 3. Then program outputs 5. | c++ | input | equation | null | null | 12/16/2011 11:54:51 | not constructive | User input equation
===
Is it possible, in c++, to turn user input into an equation. Example: User inputs x + 2. Programs asks for value of x. Lets say x = 3. Then program outputs 5. | 4 |
10,203,193 | 04/18/2012 05:15:06 | 1,285,815 | 03/22/2012 11:43:52 | 1 | 0 | HTML Email Newsletter Editing | i'm developing a website like email marrketing campaign in Asp.Net C# and i want to add functionality of editing of email newsletters like exist in email marketing system you may see. plz guide me how can i add this functionality
thanks | c# | null | null | null | null | 04/19/2012 11:08:34 | not a real question | HTML Email Newsletter Editing
===
i'm developing a website like email marrketing campaign in Asp.Net C# and i want to add functionality of editing of email newsletters like exist in email marketing system you may see. plz guide me how can i add this functionality
thanks | 1 |
4,871,914 | 02/02/2011 07:46:08 | 574,005 | 01/13/2011 09:27:08 | 1 | 0 | Php textbox problem when onclick !!!!!! | I'm just trying to display a table in client side from database as a distinct value from every column. Here i have fetched the value by using "select distinct ...." code and put this value in a single textbox ![enter image description here][1]
[1]: http://i.stack.imgur.com/9cn09.png as image shown here..(tami... | php | javascript | mysql | null | null | null | open | Php textbox problem when onclick !!!!!!
===
I'm just trying to display a table in client side from database as a distinct value from every column. Here i have fetched the value by using "select distinct ...." code and put this value in a single textbox ![enter image description here][1]
[1]: http://i.stack.i... | 0 |
7,652,020 | 10/04/2011 17:53:43 | 160,820 | 08/21/2009 14:09:57 | 751 | 21 | New to PHP - need Code refactoring | <?php
$db = mysql_connect ( 'localhost', 'foo', 'foo' );
mysql_select_db('foo', $db);
$order = strval(@$_REQUEST['order']);
$condition = array(
username => strval(@$_REQUEST['username']),
password => strval(@$_REQUEST['password']),
);
$sql... | php | php5 | null | null | null | 10/04/2011 17:57:26 | off topic | New to PHP - need Code refactoring
===
<?php
$db = mysql_connect ( 'localhost', 'foo', 'foo' );
mysql_select_db('foo', $db);
$order = strval(@$_REQUEST['order']);
$condition = array(
username => strval(@$_REQUEST['username']),
password => strval(@$_REQUE... | 2 |
3,344,826 | 07/27/2010 14:47:16 | 292,291 | 03/12/2010 10:53:07 | 622 | 13 | Is it approperiate to request users to look for own hosting resources? | i am wondering if its ok to request users to use own hosting resources for images, videos etc. i think stack overflow does the same for images too right?
another option i am looking at is integration with such services. some well known ones i am thinking of are
- twitpic, flickr, imageshack for images
- screenr... | web-services | null | null | null | null | 07/28/2010 15:28:35 | off topic | Is it approperiate to request users to look for own hosting resources?
===
i am wondering if its ok to request users to use own hosting resources for images, videos etc. i think stack overflow does the same for images too right?
another option i am looking at is integration with such services. some well known ones... | 2 |
7,173,379 | 08/24/2011 09:45:44 | 209,636 | 11/12/2009 14:12:07 | 30 | 0 | What are the differences between Spring Frameworks of Java? | currently I'm working in a project using Spring, this is the first time i learn Spring framework, I haved learnt some experience in spring 2.0. Then I have a question want to know "What is the difference between Spring 2.0, Spring 2.5 and Spring 3.0".
Thank for take your time! | java | spring | null | null | null | 08/25/2011 12:53:12 | not constructive | What are the differences between Spring Frameworks of Java?
===
currently I'm working in a project using Spring, this is the first time i learn Spring framework, I haved learnt some experience in spring 2.0. Then I have a question want to know "What is the difference between Spring 2.0, Spring 2.5 and Spring 3.0".
Th... | 4 |
621,418 | 03/07/2009 06:21:35 | 10,333 | 09/15/2008 22:28:36 | 504 | 25 | Best cross-platform/SQL GUI? | I use SQL Server 2005, MySql, and Posgresql regularly. I'm tired of using Microsoft's SQL tool for SQL Server, phpMyAdmin for MySql, and pgAdmin for Postgres.
Is there a decent cross-platform GUI that I can use for all of these database servers? I don't care about the actual database administration part, I realize ... | sql | mysql | sql-server | postgresql | null | 05/22/2012 10:09:42 | not constructive | Best cross-platform/SQL GUI?
===
I use SQL Server 2005, MySql, and Posgresql regularly. I'm tired of using Microsoft's SQL tool for SQL Server, phpMyAdmin for MySql, and pgAdmin for Postgres.
Is there a decent cross-platform GUI that I can use for all of these database servers? I don't care about the actual databa... | 4 |
9,747,882 | 03/17/2012 06:34:54 | 1,275,405 | 03/17/2012 06:27:06 | 1 | 0 | Which data structure is appropriate for storing paths of file system? | by using the parent path, i need to traverse and store all the folders and files paths that lie within that parent path. so which data structure should be applied here? | java | null | null | null | null | 03/21/2012 12:44:02 | not a real question | Which data structure is appropriate for storing paths of file system?
===
by using the parent path, i need to traverse and store all the folders and files paths that lie within that parent path. so which data structure should be applied here? | 1 |
8,006,697 | 11/04/2011 08:40:58 | 633,784 | 02/25/2011 08:34:51 | 132 | 2 | Finding maximum distance between (x,y) coordinates | Im trying to calculate the maximum manhattan distance of a large 2D input , the inputs are consisting of (x, y)s and what I want to do is to calculate the maximum distance between two of those coordinates In less than O(n^2) time , I can do it in O(n^2) by going through all of elements sth like :
*(Manhattan distanc... | java | c++ | algorithm | distance | null | null | open | Finding maximum distance between (x,y) coordinates
===
Im trying to calculate the maximum manhattan distance of a large 2D input , the inputs are consisting of (x, y)s and what I want to do is to calculate the maximum distance between two of those coordinates In less than O(n^2) time , I can do it in O(n^2) by going t... | 0 |
10,140,750 | 04/13/2012 12:24:09 | 1,331,316 | 04/13/2012 10:23:13 | 3 | 0 | How to create dynamic map images? | So I want to know how I can use a png or similar vector imagery format of a map image, and add functionality to it using php? As in, what are the basics of adding dynamism to images using any programming language? Support materials and references would be appreciated.
I use Illustrator to draw or modify my maps. PHP... | php | mysql | gis | vector-graphics | adobe-illustrator | 04/14/2012 02:41:44 | not a real question | How to create dynamic map images?
===
So I want to know how I can use a png or similar vector imagery format of a map image, and add functionality to it using php? As in, what are the basics of adding dynamism to images using any programming language? Support materials and references would be appreciated.
I use Ill... | 1 |
6,786,583 | 07/22/2011 06:50:12 | 834,032 | 07/07/2011 17:20:13 | 214 | 4 | Question on submit and push buttons. and also the scripting language in HTML | Iam working on HTML.and As for now Im going well.But the thing I want to know is about the submit button.I have created user and password and a submit button and a register button.The basic question on my mind for now is, how the facebook users or may be email user names are stored and how they are retrieved back when ... | html | html5 | null | null | null | 07/23/2011 22:41:03 | not a real question | Question on submit and push buttons. and also the scripting language in HTML
===
Iam working on HTML.and As for now Im going well.But the thing I want to know is about the submit button.I have created user and password and a submit button and a register button.The basic question on my mind for now is, how the facebook... | 1 |
5,217,290 | 03/07/2011 08:09:10 | 637,364 | 02/28/2011 08:34:57 | 6 | 0 | Create a function to a function that runs a for loop? | I have made some code that creates a red border around an image when the user click on to highlite thats the choesen one. But I want to erase previous or all border with a white border around all images before a new click is made on another image. My question is how do I activate a call to a function when a click is ma... | jquery | null | null | null | null | null | open | Create a function to a function that runs a for loop?
===
I have made some code that creates a red border around an image when the user click on to highlite thats the choesen one. But I want to erase previous or all border with a white border around all images before a new click is made on another image. My question i... | 0 |
7,927,215 | 10/28/2011 09:06:48 | 1,011,324 | 10/24/2011 16:57:43 | 1 | 0 | how would one go about finding specific words in a text file in c++ | Hello im stumped i don't know what im looking for i was wondering if someone could lead me in the right direction of referencing a file that contains text and if it contains .txt or .png .bat in text form then do something.
any tips or advice would be great.
thanks | c++ | text | null | null | null | 10/28/2011 09:44:00 | not a real question | how would one go about finding specific words in a text file in c++
===
Hello im stumped i don't know what im looking for i was wondering if someone could lead me in the right direction of referencing a file that contains text and if it contains .txt or .png .bat in text form then do something.
any tips or advice w... | 1 |
9,071,406 | 01/30/2012 21:57:33 | 571,783 | 01/11/2011 19:30:33 | 694 | 28 | jQuery .trigger() method in a loop | I have this piece of code:
$(document).on("click", "#breadNavMain", function() {
for(var i = 0; i < getActiveSlides().length; i++) {
$("#studentWrapper").trigger("click");
}
});
The method `getActiveSlides()` will return the slides (as an array) currently activated for my application. What's impor... | jquery | arrays | events | loops | null | null | open | jQuery .trigger() method in a loop
===
I have this piece of code:
$(document).on("click", "#breadNavMain", function() {
for(var i = 0; i < getActiveSlides().length; i++) {
$("#studentWrapper").trigger("click");
}
});
The method `getActiveSlides()` will return the slides (as an array) currently ac... | 0 |
7,440,461 | 09/16/2011 05:24:34 | 948,180 | 09/16/2011 05:24:34 | 1 | 0 | t is undefined Line 18 Jquery fancybox 1.3.4 | We are using tabs and fancybox on same page. not sure about if the order of js lib include matters. | jquery | tabs | fancybox | undefined | null | 09/16/2011 09:37:20 | not a real question | t is undefined Line 18 Jquery fancybox 1.3.4
===
We are using tabs and fancybox on same page. not sure about if the order of js lib include matters. | 1 |
8,015,903 | 11/04/2011 21:23:42 | 974,594 | 10/01/2011 15:20:24 | 45 | 0 | java tokenize big files to hashtable | I'm having this problem: I'm reading 900 files and, after processing the files, my final output will be an HashMap<String, <HashMap<String, Double>>. First string is fileName, second string is word and the double is word frequency. The processing order is as follows:
- read the first file
- read the first line o... | java | hashmap | corpus | null | null | null | open | java tokenize big files to hashtable
===
I'm having this problem: I'm reading 900 files and, after processing the files, my final output will be an HashMap<String, <HashMap<String, Double>>. First string is fileName, second string is word and the double is word frequency. The processing order is as follows:
- read ... | 0 |
9,484,760 | 02/28/2012 15:29:28 | 543,844 | 12/15/2010 19:57:28 | 126 | 8 | Android ViewPager and Unlimited Views | Good morning, I'm working with ViewPager and PagerAdapter to display a Day View calendar. The calendar will start on today when loaded and the user can then swipe left to get to tomorrow or right to get to yesterday, continuing to swipe in either direction for as far as they want.
The final statement there is the p... | android | android-viewpager | null | null | null | 02/28/2012 15:42:46 | not constructive | Android ViewPager and Unlimited Views
===
Good morning, I'm working with ViewPager and PagerAdapter to display a Day View calendar. The calendar will start on today when loaded and the user can then swipe left to get to tomorrow or right to get to yesterday, continuing to swipe in either direction for as far as they ... | 4 |
6,167,703 | 05/29/2011 12:24:53 | 707,729 | 04/14/2011 10:09:34 | 35 | 0 | Tool for drawing the web interface. | What program was used to draw the picture below?
![enter image description here][1]
[1]: http://i.stack.imgur.com/ehM1Q.png | drawing | null | null | null | null | 05/29/2011 14:20:25 | off topic | Tool for drawing the web interface.
===
What program was used to draw the picture below?
![enter image description here][1]
[1]: http://i.stack.imgur.com/ehM1Q.png | 2 |
9,419,429 | 02/23/2012 19:01:03 | 706,167 | 04/13/2011 13:46:59 | 1 | 0 | C or JAVA for a graphics app? | i'm doing a home work in Java.
It's a renderer for 3D shapes and figures. For now, the software is quite simple: - an very simple scripting language for describing what to draw - a simple gui with a smart preview - a renderer which renders images or animations via files or screen.
I'm asking myself two questions:... | design | graphics | language | null | null | 03/02/2012 03:34:16 | not constructive | C or JAVA for a graphics app?
===
i'm doing a home work in Java.
It's a renderer for 3D shapes and figures. For now, the software is quite simple: - an very simple scripting language for describing what to draw - a simple gui with a smart preview - a renderer which renders images or animations via files or screen.
... | 4 |
5,669,784 | 04/14/2011 21:14:38 | 463,304 | 09/30/2010 21:11:12 | 1,966 | 88 | Eclipse: Save files without asking when I click run | Is there a way to save files without asking in Eclipse? Every time I click Run, it asks me if I want to save the file, and I always do. | eclipse | null | null | null | null | null | open | Eclipse: Save files without asking when I click run
===
Is there a way to save files without asking in Eclipse? Every time I click Run, it asks me if I want to save the file, and I always do. | 0 |
8,618,082 | 12/23/2011 16:03:12 | 483,567 | 10/21/2010 21:29:50 | 443 | 23 | Visitor Pattern in Scala | Is there any use cases of using [Visitor Pattern][1] with Scala?
Should I use *Pattern Matching* Should every time I'd used visitor in Java.
[1]: http://en.wikipedia.org/wiki/Visitor_pattern | design-patterns | scala | null | null | null | null | open | Visitor Pattern in Scala
===
Is there any use cases of using [Visitor Pattern][1] with Scala?
Should I use *Pattern Matching* Should every time I'd used visitor in Java.
[1]: http://en.wikipedia.org/wiki/Visitor_pattern | 0 |
7,428,912 | 09/15/2011 09:46:10 | 673,730 | 03/23/2011 19:21:18 | 2,169 | 140 | For index declaration in C++ | Is there any difference code-wise between:
int i = 0;
for ( i = 0 ; i < n ; i++ )
{
}
and
for ( int i = 0 ; i < n ; i++ )
{
}
Maybe if there are more loops and they all use the same index?
Also, is the first version equivalent to:
int i = 0;
for ( ; i < n ; i+... | c++ | syntax | null | null | null | 05/03/2012 19:55:26 | too localized | For index declaration in C++
===
Is there any difference code-wise between:
int i = 0;
for ( i = 0 ; i < n ; i++ )
{
}
and
for ( int i = 0 ; i < n ; i++ )
{
}
Maybe if there are more loops and they all use the same index?
Also, is the first version equivalent to:
... | 3 |
6,452,689 | 06/23/2011 10:37:36 | 55,794 | 01/16/2009 10:40:35 | 1,053 | 66 | Sonar ANT Task - | I've followed the [basic instructions to integrate an ANT target][1] with sonar.
<taskdef uri="antlib:org.sonar.ant" resource="org/sonar/ant/antlib.xml">
<classpath path="${3pp.dir}/ant/sonar-ant-task-1.0.jar" />
</taskdef>
<property name="sonar.host.url" value="http://xsx:9000" />
<target name="son... | ant | sonar | null | null | null | 06/26/2011 13:18:47 | too localized | Sonar ANT Task -
===
I've followed the [basic instructions to integrate an ANT target][1] with sonar.
<taskdef uri="antlib:org.sonar.ant" resource="org/sonar/ant/antlib.xml">
<classpath path="${3pp.dir}/ant/sonar-ant-task-1.0.jar" />
</taskdef>
<property name="sonar.host.url" value="http://xsx:9000" />
... | 3 |
8,569,500 | 12/20/2011 00:45:50 | 1,028,940 | 11/04/2011 02:19:12 | 6 | 0 | Button Sometimes Functions | I have three view controllers. I used the flipsideproject template and then added another view controller.
There is a button on the first view controller that goes to the second view controller. There is a button on the second view controller that goes back to the first one. When switching between the first and... | button | view | null | null | null | null | open | Button Sometimes Functions
===
I have three view controllers. I used the flipsideproject template and then added another view controller.
There is a button on the first view controller that goes to the second view controller. There is a button on the second view controller that goes back to the first one. When... | 0 |
9,679,690 | 03/13/2012 07:08:16 | 911,063 | 08/25/2011 02:59:27 | 11 | 0 | Ragtag apparently not working? | I am currently trying to use ragtag to close some of my html tags in ERB files. However, pressing something like (C-X)/ (which I interpret to be , "CONTROL" + "uppercase X" + "/") it just prints the / to the buffer. Any ideas?
| vim | null | null | null | null | null | open | Ragtag apparently not working?
===
I am currently trying to use ragtag to close some of my html tags in ERB files. However, pressing something like (C-X)/ (which I interpret to be , "CONTROL" + "uppercase X" + "/") it just prints the / to the buffer. Any ideas?
| 0 |
9,116,768 | 02/02/2012 17:17:11 | 1,096,040 | 12/13/2011 15:18:46 | 3 | 1 | Convert JQuery to JavaScript | My knowledge of Jquery & Javascript is limited at best, but I'm under the impression QJuery is basically a simplified version of JavaScript.
If that is the case is there a way of converting this code to Javascript so I don't have to call the JQuery Library as it seems to be causing other JavaScript Functions to not ... | javascript | jquery | null | null | null | null | open | Convert JQuery to JavaScript
===
My knowledge of Jquery & Javascript is limited at best, but I'm under the impression QJuery is basically a simplified version of JavaScript.
If that is the case is there a way of converting this code to Javascript so I don't have to call the JQuery Library as it seems to be causing ... | 0 |
1,643,842 | 10/29/2009 13:44:22 | 79,708 | 03/18/2009 20:16:19 | 1,091 | 52 | Can ComboBox in AjaxToolkit use lazy loading | Can I make ComboBox from AjaxToolkit make call to server every time new letter is entered and update ComboBox items? | asp.net | ajaxtoolkit | null | null | null | null | open | Can ComboBox in AjaxToolkit use lazy loading
===
Can I make ComboBox from AjaxToolkit make call to server every time new letter is entered and update ComboBox items? | 0 |
11,394,166 | 07/09/2012 11:29:14 | 1,115,161 | 12/25/2011 07:56:31 | 120 | 5 | Use document.write() to write the result in a separate page | I am writing an html code into javascript using document.write().
but the result came in the same page, I want to display the result in a separate page.
document.write('<table width="1000" border="1">');
document.write('<tr width="1000">');
document.write('<td wi... | javascript | html | null | null | null | null | open | Use document.write() to write the result in a separate page
===
I am writing an html code into javascript using document.write().
but the result came in the same page, I want to display the result in a separate page.
document.write('<table width="1000" border="1">');
docume... | 0 |
8,160,407 | 11/16/2011 23:52:07 | 1,002,950 | 10/19/2011 10:41:59 | 63 | 0 | How to improve performance or change approach in dynamically load templets by select option list? | In my solution at each selected elements on list JavaScript $.get template trought controller. It is not optimal. Is there any method to reduce requests? How to DRY for date fields in templates. Maybe exist better solution to get similar effect? I already tried jquery show/hide but hidden forms were also sent I decided... | javascript | jquery | ruby-on-rails-3 | null | null | null | open | How to improve performance or change approach in dynamically load templets by select option list?
===
In my solution at each selected elements on list JavaScript $.get template trought controller. It is not optimal. Is there any method to reduce requests? How to DRY for date fields in templates. Maybe exist better sol... | 0 |
7,808,664 | 10/18/2011 14:14:12 | 364,746 | 06/11/2010 16:51:50 | 854 | 30 | How to get Maven project BaseDir() from java Code | How to get Maven project basedir() from my Java code? | java | maven-2 | null | null | null | 10/20/2011 10:18:56 | not a real question | How to get Maven project BaseDir() from java Code
===
How to get Maven project basedir() from my Java code? | 1 |
1,380,016 | 09/04/2009 15:40:24 | 158,784 | 08/18/2009 20:47:22 | 1 | 0 | Does anybody know of a CSS analysis tool? | I'm looking for a tool that can analyze a large site and look for orphaned css.
I work on this project that has gone through a couple of UI updates. Scrapping the whole thing and redoing it all would take forever. What I would like is a tool that reads a css file and then lets you browse the site, keeping track of... | css | null | null | null | null | 02/12/2012 20:27:14 | not constructive | Does anybody know of a CSS analysis tool?
===
I'm looking for a tool that can analyze a large site and look for orphaned css.
I work on this project that has gone through a couple of UI updates. Scrapping the whole thing and redoing it all would take forever. What I would like is a tool that reads a css file and ... | 4 |
9,948,370 | 03/30/2012 18:16:14 | 378,887 | 06/29/2010 10:28:39 | 74 | 1 | is programming by voice possible | I've recently started to get pain in my arms and I was wondering if programming using voice software would be possible. I've used dragon naturally speaking several years ago but it was clunky and didnt really work too well with my ide at the time (netbeans)
Does anyone have any experience with programming by voice a... | voice-recognition | null | null | null | null | 04/01/2012 07:56:09 | off topic | is programming by voice possible
===
I've recently started to get pain in my arms and I was wondering if programming using voice software would be possible. I've used dragon naturally speaking several years ago but it was clunky and didnt really work too well with my ide at the time (netbeans)
Does anyone have any ... | 2 |
8,426,006 | 12/08/2011 04:04:13 | 1,086,978 | 12/08/2011 03:56:22 | 1 | 0 | Ask for input from read line? | I am trying to create a script, for example would ask the user how many numbers? If the user asks for 3, it should create 3 questions asking what ur first number, whats ur second number and so on?
Thank You
| linux | bash | shell | null | null | 12/08/2011 22:09:20 | too localized | Ask for input from read line?
===
I am trying to create a script, for example would ask the user how many numbers? If the user asks for 3, it should create 3 questions asking what ur first number, whats ur second number and so on?
Thank You
| 3 |
11,046,512 | 06/15/2012 07:39:43 | 1,458,071 | 06/15/2012 07:36:17 | 1 | 0 | Animation of fireworks on the screen of the app | In animation I am trying to implement the fireworks animation on the screen a.k.a the Tango Android app. How do I implement this on the screen?
1. Do I have to start a transparent activity with running a short clip of fireworks with a transparent background?
2. Something else?
| android | android-animation | null | null | null | null | open | Animation of fireworks on the screen of the app
===
In animation I am trying to implement the fireworks animation on the screen a.k.a the Tango Android app. How do I implement this on the screen?
1. Do I have to start a transparent activity with running a short clip of fireworks with a transparent background?
2. S... | 0 |
11,321,166 | 07/04/2012 00:58:35 | 1,436,153 | 06/04/2012 22:11:19 | 30 | 0 | Using an older version of JRE for certain programs | I have learned that on my computer, Minecraft will only run with Java 6 installed. As soon as I install java 7 (JDK or otherwise), the application encounters multiple problems (doesn't crash, just can't connect to any file servers.) My question is: Is there a way to allow Minecraft to use Java 6 while all other progr... | java | jre | null | null | null | 07/05/2012 13:12:13 | off topic | Using an older version of JRE for certain programs
===
I have learned that on my computer, Minecraft will only run with Java 6 installed. As soon as I install java 7 (JDK or otherwise), the application encounters multiple problems (doesn't crash, just can't connect to any file servers.) My question is: Is there a wa... | 2 |
8,634,552 | 12/26/2011 09:41:46 | 866,912 | 07/28/2011 07:14:44 | 1 | 0 | SP2010, delete is not appearing in Document Library | I am site collection administrator.
I am creating a Document Library and uploaded some docs in it.
but when i again opened that Library i am not able to delete any docs.
when i select any document neither delete button on ECB menu nor in Ribbon button appears
pls help ... | sharepoint | sharepoint2010 | null | null | null | 12/26/2011 23:16:13 | off topic | SP2010, delete is not appearing in Document Library
===
I am site collection administrator.
I am creating a Document Library and uploaded some docs in it.
but when i again opened that Library i am not able to delete any docs.
when i select any document neither delete button on ECB menu nor in Ribbon button appear... | 2 |
1,561,007 | 10/13/2009 15:32:21 | 149,224 | 08/02/2009 07:56:47 | 1 | 0 | C++: error when have private copy ctor with public assignment operator | Can one of you explain why the following piece of code does not compile?
#include <iostream>
using namespace std;
class Foo
{
public:
Foo() { cout << "Foo::Foo()" << endl << endl; }
Foo& operator=(const Foo&) { cout << "Foo::operator=(const Foo&)" << endl << endl; }
... | c++ | null | null | null | null | null | open | C++: error when have private copy ctor with public assignment operator
===
Can one of you explain why the following piece of code does not compile?
#include <iostream>
using namespace std;
class Foo
{
public:
Foo() { cout << "Foo::Foo()" << endl << endl; }
Foo& oper... | 0 |
10,724,253 | 05/23/2012 16:36:29 | 507,718 | 11/15/2010 00:16:37 | 390 | 8 | BigDecimal can't be coerced into BigDecimal | This should be pretty simple, yet it's blowing up. Any ideas?
d = BigDecimal.new("2.0")
YAML::load({:a => d}.to_yaml)
TypeError: BigDecimal can't be coerced into BigDecimal
from /Users/benjohnson/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/irb/inspector.rb:86:in `inspect'
from /Users/benjohnso... | ruby | serialization | yaml | bigdecimal | null | null | open | BigDecimal can't be coerced into BigDecimal
===
This should be pretty simple, yet it's blowing up. Any ideas?
d = BigDecimal.new("2.0")
YAML::load({:a => d}.to_yaml)
TypeError: BigDecimal can't be coerced into BigDecimal
from /Users/benjohnson/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/irb/inspec... | 0 |
4,727,351 | 01/18/2011 17:57:52 | 559,611 | 01/01/2011 03:30:12 | 56 | 0 | python implemented in assembly | Am just being curious but I would like to know whether python can be implemented in assembly and if not why has it not been done to help for speed issues. forgive my naivete in matters of programming languages. | python | null | null | null | null | 01/19/2011 01:55:03 | not a real question | python implemented in assembly
===
Am just being curious but I would like to know whether python can be implemented in assembly and if not why has it not been done to help for speed issues. forgive my naivete in matters of programming languages. | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.