text stringlengths 8 267k | meta dict |
|---|---|
Q: Why doesn't mxml support component constructors? Why doesn't the Flex framework's mxml language support a constructor for components or accept constructor arguments for components? It's as far as I know not possible to declare an ActionScript object in mxml if it takes constructor arguments. I'm curious about the re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7509959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Why does the live click function work automatically when it should only happen upon click? I have a button that the user clicks(.next_1).
<a id="next_btn" class="next_1" href="#">Next</a>
After the user clicks the button, it should change the class to next_2. When the user clicks the button again, it should change ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7509961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I change the django-registration e-mail template "site" name? The current setup ends up substituting example.com into the below code from the template. I want it to point to localhost:8000
Without hard coding this, where and how can I change the template so that the site is linked to my localhost?
Thank you f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7509962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Characters get trimmed when sending values from one page to another in asp.net I am sending some values from one page to another in asp.net using javascript. I have declared JS in parent page and the values are being sent to child page and fetched in code behind page using Request.Querystring. Look to my previous qu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7509970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JQuery live not working with Jqtransform select while adding dynamic controls I have a functionality where we are adding a dynamic row while clicking a addrow button in a table.
My problem is that I have to alert a message while changing my select list in the new row but its not working when we use Jquery live click... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7509971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: "deferencing pointer to Incomplete type" error in c I have two structures like this
CODE EDITED:
typedef struct
{
int threadId;
void *stack;
}gtthread_t;
typedef struct
{
gtthread_t *th;
struct list *next;
}list;
In my code, i have used the structures like:
list *temp;
gtthread_t thread;
if(temp->nex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7509972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: update a part of field using matching id from another table I have table with following data
(here key field comprises of site__marker)
id userid key value
1 1 site_1_name http://example1.com
2 1 site_1_user user1
3 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7509975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I find out which button was clicked? I've got my buttons working right, and I'm a listener to each button like this:
for(int i = 0; i <= 25; ++i) {
buttons[i] = new Button(Character.toString(letters[i]));
buttons[i].addActionListener(actionListener);
panel1.add(buttons[i]);
}
Here as you can see... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7509978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: SVN GIT respository server Our entire code is stored in a SVN respository on a remote server. However, my team here is in favor of using GIT local server by cloning svn repository using git-svn. The problem I face is how do I make sure that my local team members are able to clone the git-svn local repository and eac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7509982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multivalued attributes in Relational databases? How well an idea are multi-valued attributes in a relational database when they are to be referred extensively?
Let me give you an example to show what I mean. Suppose I have the following table:
UserID Attribute1
User1 a,b,c
User2 x,y,z
U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7509986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: django MEDIA_ROOT if i am setting up apache (PRODUCTION) to serve static files(js,css,jpg,pdf,mp4),should i set the variable MEDIA_ROOT in settings.py.
I mean anyways any thing matching /media/ will be served by apache not django.So what exactly is then the use of MEDIA_ROOT.In such an enviornment is there any purpo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7509987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iOS: Create PDF from UIView I am trying to create a PDF from a UIView which may contain images, labels, etc.
I have checked the reference ( GeneratingPDF) and I am also aware of the renderInContext: method, which can be used to draw the UIView's content onto the PDF context.
I used renderInContext: to create a PDF. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7509999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Compute (set) difference between arrays in PHP? I going to implement ACL (Access control list) in my php website.
In my system user have sum a of roles and permission.
Main algorithm is as follows:
permissions = (permissions_by_role + permission_for_user) - user_banned_permission
so I have three arrays and get thos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Conditional loading content based on category id magento for product page I want to conditionally load content based on category id in product page but can't get it to work. I know I can do this by calling a custom attribute but this is not what I have in mind because the content is specifically for a particular cat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: netbeans: How to put some title in the title bar I developed a small desktop application in Net Beans. When i run my application there appears no title in the Windows Title bar. Is there anyway through which i specify some title which later on will appear in Windows title bar? Following is my Main method
public stat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: is it possible to mock transient fields in tests? I have a class that contains a transient field. But the other part of the class is serializable.
In the tests I mock the field and the class and use the mocked class object in a deep copy function which looks like below:
try {
final ByteArrayOutputStream bytesO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unit Testing Logs in WP7 application testing I m using Silverlight Unit Test framework for testing my application. The unit testing framework gets executed successfully and displays the result in the phone application page.
I would like to get the results stored in a log file inside the device itself instead of disp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Getting the X and Y position of the mouse when it is clicked on the image in JLabel I have a Image displayed inside JLabel using ImageIcon feature.
The JLabel is contained inside a JPanel.
When image is clicked, I want to get the mouse position relative to the image.
I am trying to solve this problem by adding mous... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Rails 3.1 recommended practice for managing library javascripts I'm curious what is the recommend approach for organizing and using library javascripts (things like Backbone, Underscore, Modernizr, etc.) in Rails. I've noticed a number of different practices so it seems to get a bit confusing.
There are a number ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Python how to check if variable exist and its length, in one if statement? Here's my situation:
if var:
if len(var) == 5:
do something...
else:
do the same thing...
To avoid repeating the same piece of code, I would like to combine those 2 if conditions, in one. But if var is None, I can't check its... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Blackberry swipe left/right gesture
Possible Duplicate:
How may I use touch gestures to scroll through a series of pictures?
I want to display array of images one after another by using swipe left or swipe right gesture.Can anybody give me some idea as how to this.A simple example will be really useful.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7510042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Images in HTML table row This has been driving me mad and it's probably the silliest mistake ever!
Basically all I want is each picture to have a small box underneath with their name.
I want 4 pictures, all in a row.
Unfortunately this is what happens in IE:
I'm so sorry that this looks extremely messy! Any help MU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Explain this type-mismatch in lazy evaluation Trying to grok this comment, I wrote the following code:
def breakfast : AnyRef = {
class Chicken (e: =>Egg) {
lazy val offspring = e
}
class Egg (c: =>Chicken) {
lazy val mother = c
}
lazy val (egg: Egg, chicken: Chicken) = (new Egg(c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to stop jquery fadeIn from scrolling the page I am using jquery fadeIn like this
imgTag = '<img src="../../../images/leadGenAdPreview.jpg" alt=""/>';
$('#previewImg').hide();
$('#previewImg').html(imgTag).fadeIn(1000);
What this does is, it scrolls up the page all the way up. The section which I want to fadeIn ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to show toast in Runnable class on Java, Android? I have a class implements Runnable interface, and I need show Toast from this class. How can I do that?
A: You can make use of handlers to display a Toast. Because few things in Android must be done from UI thread only. Try this,
Do this in your onCreate(),
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Images in App looks Blurry I have developed an application in Android,and followed all design guideline in it.
But when i run app on Device images looks blurry(less sharper).
Can anyone tell me what actually the problem is?
Or
What are the guidelines followed by Graphic Designer while designing the graphics for Andr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to generate xcode project using qmake with QT using
qmake -spec macx-xcode
can only generate older version test.pbproj and can not open in xcode 4
How to generate test.xcodeproj
A: It's a bug, but if you go here to the bug reports you'll find some notes on what people did to fix it.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7510068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can i change clisp's current directory once started? In ghci, i can use "cd" to change its current directory as below:
$cat ~/.ghci
:def hoogle \str -> return $ ":! hoogle --count=15 \"" ++ str ++ "\""
:cd /media/E/work
:load Money
Then once started, ghci will change its current directory. Can i do the same t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: define ostream operator << to sum two struct i have following code to sum two struct elements
#include <iostream>
#include <ostream>
#include <fstream>
using namespace std;
struct USC{
int dollars;
int cents;
USC operator+(const USC o){
USC temp={0,0};
temp.cents=cents+o.cents;
temp.dollars=d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Determine if a number being dialed is in the contact list Im trying to write my first android app. Coming from a winmobile phone, there was an option to block my outgoing caller id, not so with android.
Ive got a small app started that will add *67 to outgoing calls the problem is it adds *67 to every call, I dont w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Default keyring password Im a newbie to Linux, and now using CentOS 6. I am using the MySQL workbench here, and whenever i try to add a new connection, it asks me the default keyring password. I really dont know, from where is this password set, i didnt set it before.
Can any one tell me how to solve this problem?
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP pass array element by reference I have two arrays, one indexed and one associative. What my question boils down to is, how can I pass the associative array's reference to the edit class. This way when there are more books and movies, I can loop through, clean all the isbn's and not touch movie. The problem I'm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why is [Char]-based input so much slower than the [Char]-based output in Haskell? It is a common knowledge that one does not use [Char] to read large amounts of data in Haskell. One uses ByteStrings to do the job.
The usual explanation for this is that Chars are large and lists add their overhead.
However, this does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to close WPF window (dialog box) when Enter key is pressed? I have a WPF window which opens as a modal dialog.
On dialog, I have OK & Cancel buttons with IsDefault & IsCancel properties set to True for them respectively. Both the buttons have Click event handlers which close the dialog box.
Here is the relevant... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Does TFS branching have a child parent relation? When doing branches in tfs, does it matter if you are branching A to B or from B to A? The thing is that we have branch A and branch B, and now branch A has got messed up and we would like to recreate it from branch B by branching a new branch from B. As far as I know... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What are the pros and cons of performing calculations in sql vs. in your application shopkeeper table has following fields:
id (bigint),amount (numeric(19,2)),createddate (timestamp)
Let's say, I have the above table. I want to get the records for yesterday and
generate a report by having the amount printed to cen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "182"
} |
Q: QSystemNetworkInfo not found I want to compile a Qt project on desktop, but I get an error:
QSystemNetworkInfo: file not found.
I have added INCLUDEPATH to my .pro file, but I still get the error.
Any suggestions?
A: QSystemNetworkInfo class is part of the QtMobility APIs, which is unfortunately unavailable for d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: extracting multidimension json array in javascript I am reading a json response from a server which is sending a multidimensional array from a sqlite database using the following php code:
while ($data = $result->fetchArray(SQLITE_NUM)) {
echo json_encode($data);
This works Ok and sends its data out as a string in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: phoenix lambda and argument dereferencing Can somebody show me how to implement an equivalent of the following using boost::phoenix lambda?
I know I could implement it in many other ways but I'm trying to learn the Phoenix lambda expressions and so far all my attempts in this example failed.
What I want to do is to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: iOS OpenGL runtime texturing Is it possible somehow to automatically continue the building of an existing mesh? How this can be done?
Let's say an example. I have a cuboid and I would like to have a bigger cuboid in runtime. The cuboid also have some texture and the new parts of the cuboid should have new texture. I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: XCode 4.1 How to add result of External Build System in Products folder of projects tree I have target of type "External Build System" in my XCode project (for packing Google Crome Plugin). How can I make XCode to show reference to built plugin in Products folder of project (like bundles, app, and others)?
A: The s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: javascript math, rounding to two decimal places in .05 increments I apologise in advance. I've read thru a number of post and I'm sure the answer lies in implementing the toFixed() method, but can't work out how.
$('.addsurcharge').click(function() {
$('span.depositamount').text(function(i,v) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jqGrid MultiSelect Problem I use that when I construct my jqgrid:
multiselect: true
So I have a check all column. However when I click check all checkbox( the checkbox at header) it selects all checkboxes but the checkboxes are not clicked at each row. Here is a demo: http://www.trirand.com/blog/jqgrid/jqgrid.html ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Physical car sound simulation in car racing game i have been thinking how to create realistic sound for a car. The main sound is the engine, then all kind of wind, road and suspension sounds.
Are there any open source projects for the engine sound simulation? Simply pitching up the sample does not sound too great. T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make Java ignore escape sequences in a String? I am writing a Java code to read Blob objects from an Oracle database table.
I need to retrieve the blob objects and store them into a String for further processing.
I convert the blob objects contents to String by this :
java.sql.Blob blob = rs.getBlob(i);
colum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problem in form auto submit How do i submit my form when the timer goes and also if refresh is clicked.??
The problem i faced is whenever refreshed it is asking for user confirmation, if clicked cancel, it remains on same page.
A: You are probably arriving at that page via method="post". The browser will not re-sub... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Secure HTML Files or Secure Folder Which Contain HTML and PHP files in PHP (Wordpress) i have developed a project which uses HTML files (present in a single folder) in a iframe.
I have created a index.php which required login to access and inside this index.php i use index.html in a iframe. The problem is if the us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any limit in storing values in NSUserDefaults? I have used NSUserDefaults to store some values in my app. Is there any limit for storing values in NSUserDefaults?
A: As many already mentioned: I'm not aware of any SIZE limitation (except physical memory) to store data in a .plist (e.g. UserDefaults). So it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "88"
} |
Q: JPA 2.0 / Hibernate: Why does LAZY fetching with "@OneToOne" work out of the box? my question is regarding JPA 2.0 with Hibernate, @OneToOne relationships and lazy loading.
First my setup:
*
*Spring 3.0.5.RELEASE
*SprnigData JPA 1.0.1.RELEASE
*Hibernate 3.5.2-Final
*DBMS: PostgreSQL 9.0
I recently came acros... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Who is the better for Android development ? Eclipse Helios or Eclipse Galileo? which is the best Eclipse Helios or Eclipse Galileo?
Thanks.
A: The latest is Eclipse Indigo. Use that, its quite good. The performance is also up to the mark.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7510132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: "The default heap size is 1 MB". How come can I malloc() more then, do I misunderstand the word 'heap'? In Microsoft Visual C++, I needed more stack space. So I went into the linker properties and raised it. But then I noticed another property: "Heap Reserve Size" (Linker Option: /HEAP) with the Note: "The default h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ExtJS3 Virtual Keyboard plugin throws a exception in ExtJS4 I had used virtual keyboard plugin available here in Ext JS 3 :
It does not seem to be working with Ext JS 4 . I have changed VirtualKeyboard.js file & it looks as follwing, problem is BackSpace gives me an error :
Uncaught TypeError: Cannot read property ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Don't get to view in the Design View - NetBeans I Declare two arrays and initialized them into the field declarations: the following is the example:
final String[] columnNames = {"First Name","Last Name","Sport","# of Years","Vegetarian"};
final Object[][] data = {
{"Mary", "Campione","Snowboarding", new Integer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make each TextField of a BoxLayout.Y_AXIS have their own width? There are TextFields , four , contained into a Container whose Layout is BoxLayout(BoxLayout.Y_AXIS). I want each of these TextFields to have their own width. I tried setPreferredW , also setColumns but the TextFields are all the same size which ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: twig template engine's form_widget I am currently updating a PHP application so that it uses the very nice twig template engine.
I have hit a snag as to how to approach this issue. The application has their own set of custom developed form classes. Essentially, one can progammatically add fields, set methods and act... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jquery pass across something?
Possible Duplicate:
jQuery Load form elements through ajax, from onchange event of drop down box
I have a dropdown form which when the selection is changed, that div hides and another appears.
How would I get the value of the drop down to appear on the next div?
For example:
<div id=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: I keep getting a "ArrayIndexOutOfBounds" Exception when using String.split I am writing this class for another program and I keep getting an Array out of bounds exception when I am splitting the string str.
static String[][] readFile(){
BufferedReader in;
count = 0;
String[][] ret = new String[20][2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Silverlight Toolkit error: 'Invalid attribute value controls:LongListSelector for property TargetType' Whem im add a toolkits objects and run app i always have the same error: Invalid attribute value controls:LongListSelector for property TargetType. [Line: 440 Position: 12], datepicker, timepicker, or switch doesn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++ Static variable and unresolved externals error I was hoping I could get some clarification on static variables of a class.
For example:
I have two different classes which perform completely different functions, alpha and beta. Within alpha, I declare a static variable of type beta so it looks like this:
//alph... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: little endian to big endian see
i have already written one library (on little endian machine)it works fine in little endian machine now i when i run in in big endian platform it doesn't works .error are very hard to understand.
Now i have understood the concept of endianess but still i am not getting...
i want to k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: php tag data not executing when retrieving from database I want to use the base url to display the image in the content. so i am storing follwing text in the database
<p>
<img src="<?php echo base_url; ?>images/abc.jpg" />
</p>
when i display the content on the page the the php tag is not executing , it displa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Odd with the main() function in C When I attempt to pass parameters into the main() function in C, I could always only get 1 parameter(and the argc is always 1, the name of the program). My program is well compiled in gcc.
#include <stdio.h>
#include <string.h>
#include "chkin.h"
#include "sort.h"
#include "display... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why do we need PDDL, when we already have first order logic? This might be a totally naive question, but i am interested to know the particular reasons. Why was PDDL developed in the first place? Why could we not do the reasoning using First Order Logic?
A: Efficiency In Solving
Using a more specific language to ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Need a good CSS spinners creator. Does anybody know one? Does anyone know good CSS spinners creator online application? I tried to find several and found one only on David Walsh blog. It has only one of those :(
A: http://cssload.net - this is exactly what you need. As for GIF as Matthew told you - try http://prelo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How does std::move() transfer values into RValues? I just found myself not fully understanding the logic of std::move().
At first, I googled it but seems like there are only documents about how to use std::move(), not how its structure works.
I mean, I know what the template member function is but when I look into ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "118"
} |
Q: Python indentation issues using panic CODA Any one else getting lots of indentation syntax errors when writing python in panics coda IDE? Ive been getting a lot of these, and just shuffling my code around seems gets rid of the error. Bug?
A: This is usually due to shifting between tabs and spaces as tabs. I've set ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Microsoft.Jet.OLEDB.4.0 provider is not registered Hi I am getting a problem like this while uploading filetype .xls "Error in excel file:The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine."
I am using following system versions:
*
*64-bit Operating System( Windows 7).
*32-bit Office ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: WAR deployment fails on JBoss 6.1 when it is in collapsed/archived format I have a J2EE based web application which perfectly gets deployed on JBoss 6.0 app server.
I am using JBoss's "default" server configuration.
I have an ".ear" file which contains EJBs and a ".war" file.
I am using Spring Security for user aut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: HTML5 - unexpected results with canvas drawImage I'm just learning how to use the HTML5 canvas element. I've been successful in drawing rectangles, calling getImageData, manipulating pixels and then putImageData to see the rectangles change colour, etc.
Now I'm trying to load an image into the canvas I've hit a snag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: dynamic label using timer in c# I need a label that text will be change after a timer one tick.For example, timer 1st tick label will show "1 program running", in 2nd tick label will show "2 program running" in 3rd tick label will show "3 program running" and so on.
I am new in programming.Any help will be great app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: TypeError testing Backbone.js in CoffeeScript with Jasmine I'm currently working through the PeepCode video on Backbone.js but attempting to write it all in CoffeeScript rather than bare JavaScript.
So far so good, except when I try to run Jasmine tests on the code I run into some TypeErrors:
TypeError: Cannot call ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What exactly happens with new session creation when php + memcache PECL extension 'looses' one of its memcache session servers? Quick note, I am not talking about existing session, I know, they will be lost if a memcache server is taken offline.
Imagine the following situation:
a) PHP
b) PECL memcache extension ( h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to decompress SVGZ with JavaScript? I'm trying to set up this world map using SVGZ instead of SVG so I can give my users a richer, more detailed map.
So far I've tried decompressing it using js-deflate, but to no avail.
A: If you want the SVG file inside of the SVGZ, you gunzip it (it's a renamed archive):
cp f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Getting Playstation 2 dualport usb adapter to work in Windosw 7 64-bit I have a: Play.com USB Dual PS2 to PC Converter XP made by Joytech
It is pretty old and the driver CD is for XP. It sometimes works in 32-bit with EMS 32-bit Vista beta drivers.
Back to 64-bit:
The gamepads are not shown in the game controllers ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Ruby condition within HAML and Javascript Here is my best attempt that does not work:
:javascript
$(document).ready(function(){
- if params[:filtered] == "a"
highlightLink(0);
- elsif params[:filtered] == "b"
highlightLink(1);
- elsif params[:filtered] == "c"
highlightLink(2);
});
What should I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Deleting Row in SQLite in Android This might be a dumb question, but I'm new to SQLite and I can't seem to figure this out. I have 1 table that has columns KEY_ROWID, KEY_NAME, KAY_LATITUDE, and KEY_LONGITUDE. I want the user to be able to select one and delete it; Can anyone give me a direction to start in? My q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "111"
} |
Q: Facebook Library: Uncaught RangeError: Maximum call stack size exceeded I have an error at the page:
http://www.thalasoft.com/engine/modules/user/login.php
The Chromium browser says: Uncaught RangeError: Maximum call stack size exceeded
And the Facebook Connect button does not work any longer..
Any clue ?
A: You ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to add data in Cassandra? I am writing simple java program to insert data into Cassandra. Can it be done through java code only using hector APIs ? or does it require yaml file to be loaded from jconsole ?
I am using cassandra 0.8.5 and when i do jsoncole i do not see load from yaml operation there.
Hence search... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Select Box Alignment How could I align the select box so its inline with the others? I am also trying to do this with the 3 option input boxes.
CSS:
#newwebsiteSection, #websiteredevelopmentSection, #otherSection{
display:none;
}
#newwebsiteForm form{
padding:10px;
margin:10px 0;
width:480px;
p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Windows 8 fat binary (exe for x86 & ARM) Does anyone (here) know if Windows 8 will have a sort of fat exe that one can compile with Visual Studio 2012 that will be supported on both ARM and x86 machines? I am guessing not, since you can't create fat binaries that will execute 32 or 64 bit code so far as I am aware (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Bash and For loop I have two files with the following lines:
File1:
[2011-09-21 11:27:44.663] EXT-RESPONSE|13166260540762613|50498692776|4|Activation|0|600
[2011-09-21 11:27:44.906] EXT-RESPONSE|13166260643402689|50494792676|*702|Activation|0|600
[2011-09-21 11:27:44.907] EXT-RESPONSE|13166260644572692|50497855449|*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: One-to-many Primary /Foreign Key in Entity Framework How to map one-to-many relationship on following entites using Fluent API.
[Table("LU_COMMODITY_ID")]
public class LU_COMMODITY_ID
{
[Key]
public string COMMODITY_ID { get; set; }
public virtual string COMMODITY_DESC { get; set; }
...
public ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to download using dialog box? SqlConnection connection = new SqlConnection(@"Data Source=localhost\SQLEXPRESS;Initial Catalog=PSeminar;Integrated Security=true;Trusted_Connection=Yes;MultipleActiveResultSets=true");
SqlCommand Command = connection.CreateCommand();
SqlDataReader SQLRD;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Opera (and Chrome) is changing colors of my images! Why ? How to stop that?
link to this image : img
Firefox shows this image as is.
But if I open it with Opera Gray colors is different instead if I download it and open with any editor. Why ?
Here is how opera shows me my image :
Here is true image colors :
More... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Validating checkboxes present inside gridview with Javascript
Possible Duplicate:
Validating checkboxes present inside gridview with Javascript
This is my aspx code...
<asp:TemplateField HeaderText="IsExist">
<ItemTemplate>
<asp:CheckBox ID="chkExists" runat="server" Text="Exists" Aut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Parse a string containing integers into a List I want to let the user enter integers in the following ways:
*
*Numbers separated by commas: 1,3,122,64000,27 etc
*Ranges of numbers: 37-2000
*A mixture of the above: 55,2,1-10000,65000-65007,2182
How can I parse a string that may be in any of the forms above an en... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PATH environment variable in Linux I want to know how the standard environment variables given by the Linux OS like PATH, HOME are set automatically. Which file(s) are these read from. There should be some file from which these variables are set when a particular user logs in.
A: I would like to add a few more deta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Oracle insert script with condition I have sql insert script like below
insert into table......from table2.;
drop table2.....;
drop table3....;
commit;
is it possible to do condition "insert" must be success before proceed with "drop table2 and table3" in oracle?
A: If you are running under SQLplus :
WHENEVER SQ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add an app to a page via Graph API? (with Koala gem) Ok, I have a Rails app using the Koala gem. I have manage_pages permissions and I'm able to successfully get the user's pages and access_tokens.
I want to add an application with a Page Tab to one of the user's pages. Basically the equivalent of going to a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: how to check version by using xargs command in bash? Please consider the following scenario:
$ find / -type f -name httpd
/opt/httpd.bin/httpd
/etc/rc.d/init.d/httpd
/usr/sbin/httpd
......
I'd like to check each and everyone of the results using the -version option like:
/usr/sbin/httpd -version
But I cannot write... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Trying to implement Render to Texture I'm having trouble implementing render to texture with OpenGL 3.
My issue is that after rendering to the frame buffer, it appears the rendered object becomes deformed, which may imply a bad transformation has occurred somewhere. Which doesn't make sense as the object renders fin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Grouping strings by first character (alpha and numeric) I have a list of strings (product names) from which I need to create a product index (based on first-char of the product name) of the form "0-9", "A", "B", ... "Z".
I am doing this:
Products.GroupBy(p => p.Name[0].ToUpper())
But that doesn't work for the produ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PDF generation on iPhone, size of mediaBox When creating a PDF, when you create the mediabox, how do you know what size you want to create it? If I want it to fit a standard 8.5x11 paper so I could email it to someone and they could print it, do I make the mediaBox to be 850,1100? Thanks.
A: The values in mediaBo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: submit_tag with javascript function I am new to rails.I want to call a javascript function when click the submit button.I used submit_tag , but the function did not get triggered.I want some thing like the following ,
<%= submit_tag , :onsubmit => "return validateform()" %>
I googled the problem but I couldn't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Struggling with Assembly Language I am having a hard time grasping the concepts of assembly language. I am given this sample code:
ploop: mov ax, 0201h
add al, ah
cmp al, 5
jb ploop
eloop:
The hex value at the end of the loop is 0205, but I'm not sure I understand why.
For the first li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iPhone Dev - Drawing Application first time user and iPhone Developer Novice. My question focuses on the architecture of my application rather than nitty gritty code. My question to you is: Am I on the right track or do I need to rethink my approach to this part of the application?
I am trying to make a simple "conn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to make IE8 honour opacity on an `:before` pseudo element? I have this simple CSS...
div:before {
content: "G'day";
filter: alpha(opacity=40);
-moz-opacity: .4;
opacity: .4;
}
jsFiddle.
The :before pseudo element has the correct opacity in Firefox 6. In IE8, the opacity is not appl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: equating java classes with different annotations If we have the following condition
Server Domain class
package com.server;
class A {
@Foo
B b;
@Foo
int c;
}
Now on the server we do..
Gson gson = new Gson();
String json = gson.toJson(storeOfListsOfChangedDomainObjectsOnClient);
and send the json t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Capture and monitor the request of the flash client to the server I want to make an auto-play for some flash-based web-game, but I don't know how to capture and monitor the request from the flash client to the server.
Can anyone help me solve this problem
A: You can use FireBug or a debugging proxy like Charles. Fl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apple Mach-O Linker Error: Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 failed with exit code 1 I've searched and searched and am having trouble compiling one of the Jack Audio iPhone projects. I modernized the project and keep getting this when I compile. Can't figure it out.
Ld /Us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.