text stringlengths 8 267k | meta dict |
|---|---|
Q: How do I trigger a php function on onclick event? For instance I have a php function
<?php
function SayHi($msg){
return $msg;
}
?>
The following part triggers the onclick event
<a href="" onclick="">Click</a>
How can I merge the two such that when I click on Click, the php function is invoked..?
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript anonymous functions in Firefox 7 After updating to Firefox 7, I am getting the following error:
function statement requires a name
This particular functions is defined as
fun = eval("function (item) { //Function body }");
If I rewrite it as:
fun = eval("function view(item) { //Function body }");
The ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Cron logging in /var/log/syslog I Have a rake task which executes successfully . But the cron logs it in the /var/log/syslog. Is it a genuine problem. I'm observing this issue for more than a month now, but the cron always logs it as an error in the /var/log/syslog. Is there any reason behind this.
A: Check the ret... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to provide free begin/end functions for your own types In one of his latest talks, Herb Sutter recommended to prefer the free begin(container) end(container) functions templates over container.begin(). I like it, because these function can be provided for all iterable types that don't come with begin()/end() met... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to validate if an item is removed from picklist? I need to verify if an item is able to me removed from selected items into the picklist. I've tryed using valueChangeListener but for some reason my method has not been called.
So i've tryed another way. I've used a4j:support with onlistchange event. With this one... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sql Error in android android.database.sqlite.SQLiteException: unrecognized token I am querying the android calendars db and looking for an event with particular 'iCalGUID' .
here is the query I am using
final Cursor cursor = resolver.query(uri.getCalendarUri(),
null, "events.iCalGUID=" + uid,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Control-M binding with Integration Server I know its very rare to think of that but , is there a way to link BMC Control-M with Cruise Control.Net server ? Is there a Control-M command line or executable to use with CCNet ?
I want to deploy automatically Jobs through CCNet.
A: With BMC Control-M, you can execute y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android - ListView event when user reaches 50º list item I want to set a simple listener in a ListView so when the user passes through the 50º item of the list, I call a thread that will append 100 more items into that list.
I am looking for an event to do that for over an hour now and I don't seem to be able to fin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL query with SUBSTRING and CONTAINS I have following table
ID | Name | Url
Each Url contains address to file fe: "http://blah.blah.com/abcde.bin". Address is always same but file name. In need SQL query to update all cells in this column, where Url contains http and store only file name.
Example:
SELECT URL FROM ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: codeigniter, library or helper can access through url? In Codeigniter, there are library and helper.
I can access controller and its sub function.
for eample.
login/getid
Is there any way to access library or helper through url?
Update :
I made a captcha library in login controller.
I want to use it in many othe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What does bare strings in the body of a class definition mean? Here is a snippet of code from django.core.exceptions:
class MiddlewareNotUsed(Exception):
"This middleware is not used in this server configuration"
pass
Is the bare string in the body of the class a mere literal for documentation ? Or does it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Apache mpm for a social networking site I am trying to build a social networking website that would have a large amount of users logged in at the same time, with an upper limit of around 5000 at a time.
I plan to use the LAMP stack. Apache can have 2 mpms (multi processing modules) - preforker(forks a new process p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Working with CAReplicatorLayer I've been trying to create a cool text effect with the CAReplicatorlayer, CATextLayer and very basic animations. I'm trying to make the letters look like they are being droped from the top of the screen followed by cool replicators which will become less and less visible. I've managed ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to run php & java script code at the backend of Joomla article or module.. advise i am confused how to attach my php and javascript code in with their modules etc.. can anyone recommend me with tutroial so that i can understand ..
I tried making static pages but could find the way to write php code.. all exte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ggplot2 geom_smooth fails with error with scale_y_probit I am trying to plot lines of best fit to a cumulative density
I am representing the results using a reciprobit plot (log latency vs
probit cumulative probability).
grp<-c("g1","g1","g1","g1","g2","g2","g2","g2","g3","g3","g3","g3")
lat<-c(1, 4, 6, 8, 2, 3, 7, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: tapestry form type=image in input not working I am trying to use an image for a submit buttin like this
<input t:id="submitButton" t:type="image" type="image" src="images/h_logon_button.png"/>
but when i render the page, i get this error
Unable to resolve 'image' to a component class name.
How do I use an image to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where do i find the Source codes from the Pragmatic programmers-iPhone SDK Development book I have just started reading the book and i seem to have a problem with the code from the Tab-Bar project. I dont know where i'll get the source code from for free. can ne1 help me out with that?
Thanks in Advance.
A: I look... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: android, auth, keep HTTP connection, use connection in few Activity in my app i try to get access to some web service. I'm going through form based authentication and getting an authorized connection. If i passed authorization i want open new Activity, but any new instance of DefaultHttpClient got unauthorized right... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Horizontal scroll view and image views? I want to add a number of image views to a HorizontalScrollView dynamically.
I have my scroll view:
myScroller = new HorizontalScrollView(this);
Then:
myScroller.addView(myImageView1);
This works, but I want to add more than one image view to the scroller, then it doesnt wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Rotate div with top-left corner in javascript please help, to rotate div to 90 degrees, based on a specific point, ie, top-left corner of that div in Internet Explorer 7 using javascript or jQuery or css or html.
I had tried with fiter,
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.00000000, M12=-1.00000000... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is n/(log(n)) considered polynomial time? Not exactly sure if this is considered polynomial or something else. Couldn't find the exact example here: http://en.wikipedia.org/wiki/Time_complexity
A: Yes, because it is upper-bounded by a polynomial (n).
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7582985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How is the 'notes' field implemented in iOS Contacts App? I need to create something very similar to the notes field in iOS Contacts application.
Does anyone know how to create the auto-resizing effect. I presume that the cell contains a UILabel on the left and an editable UITextView on the right.
I am aware that t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7582997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Extract currency from formatted amount I'm getting a formatted amount of money from a web service. It can be in different formats and using different currencies, e.g.
*
*$ 1.10
*€ 1,10
*1,10 €
*EUR 1.10 (perhaps, I'm not sure I'll actually encounter this one)
I would like to extract the currency symbol ($) f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to get Id of a selected checkbox, when checkboxes are cteated programmatically using java code in android I have created checkboxes programmatically. I want to get Id of setected checkbox.
public class TestValidCheckboxActivity extends Activity implements OnCheckedChangeListener{
private RelativeLayout layoutMid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Search of explicit type conversions in C style: a = (int)b; I have a question concerning the benefit of this diagnostic.
One user suggested that we implemented search of all the explicit type
conversions in C style in the PVS-Studio analyzer.
That is, a diagnostic to detect constructs of this kind:
int *x = (int *)y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: .NET COM Interop deployment with Wix failing I'm developing a .NET BandObject toolbar for Internet Explorer. I'm working off the sample at CodeProject ( http://www.codeproject.com/KB/cs/Issuewithbandobjects.aspx ) and everything was working fine, I was using gacutil and regasm to test the toolbar and that was workin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Looking for method / module to determine the compiler which was used for building the CPython interpreter When I start the Python interpreter in command line mode I get a message saying which compiler was used for building it. Is there a way to get this information in Python ? I know I could start the interpreter wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Can JavaScript make web-application drag&drop? I want to create a web-application that can be drag&drop where ever you want it to make the page your own style. Does anyone one know how can I do this in JavaScript? I'm currently studying JavaScript on my own and then move into HTML5 for video streaming, Java for apps... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the use of faces-config.xml in JSF 2? After the JSF 2 big support for annotations, I'm wondering what I would use the faces-config.xml for. What is its importance now?
In other words, what are the configurations that can only be done through faces-config.xml and not via annotations?
Right now all what I am u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "92"
} |
Q: NStableView selected row color (remove border of NSTableView on selection) I am using NSTableView for display my data. I want to remove color of selected row which by default taking blue color. Can i set it to Clear color. Is it possible??
EDIT:
how can i remove this blue border?? I have set Clear color to table b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: If I have built for iOS 4.3 my App, will it run on a device with OS 4.2? Will backward compatibility supported for iOS?
If I have built for iOS 4.3 my App, will it run on a device with OS 4.2?
A: You just need to set the "iOS Deployment Target" to "iOS 4.1".
A: It depends what you mean by "built for". Backward com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Perl: Decoding "garbled" unicode strings I'm working on a CGI script that is called from a piece of software (that I can't change). The variables submitted by the software are giving me problems, because if they contain non-ascii characters they look like this:
ÿFFFFDEetta er texti meÿFFFFF0 ÿFFFFEDslenskum stÿFFFFF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: online platform for flex application? Is there any platform/compiler for creating flex application online? Any version will work. I know some action script online compiler but not able to find any flex online compiler.
A: There used to be one in the Flex 2 time frame; which Adobe created using the command line Fl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CSS3 multiple background images - support on mobile devices? Im mobile optimising my site with media queries. Is it safe to use multiple background images on the mobile optimised version? Mobile browsers are generally quite up to date so I would have thought this would be fine...
Thanks
A: Sure, you can use multip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASP.NET MVC Async Controllers and Active MQ Scenario: User saves an Order
Things need to be done to complete Order workflow:
*
*Save order to Database with a flag 'not acknowledged'.
*Push order to Active MQ and listen for acknowledgement message due to appear in another Q. Usually it takes from 1 minutes to unk... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Little Confused about the Microsoft Excel Interop Library I know how to make new columns, I know how to add a header to that column, but I am a little unsure about adding values programatically.
I am going to be looping through rows and then adding values to the new columns that I create based on some functions I pe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Timezone issues with timestamps in the FQL table 'event' I'm having trouble with event timezones in the start_time and end_time fields in the event FQL table. I want to show the timestamp in a formatted date that accounts for the user timezone. Empirically, it appears the timestamps are in the PST timezone, so I con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need to fetch distinct elements through XSLT I have a list of table elements under element named Query that may duplicate, I need to fetch distinct table elements (not its value but the tag/element name itself.
/ShopArea/Connection/Query/* lists the table names including duplicates.
Below is the XML
<?xml version="1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to realise long-term high-resolution timing on windows using C++? I need to get exact timestamps every couple of ms (20, 30, 40ms) over a long period of time (a couple of hours). The function in which the timestamp is taken is invoked as a callback by a 3rd-party library.
Using GetSystemTime() one can get the co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Using CSS @Variables I am trying to use CSS Variables. I look online for tutorials and all of them worked so far.
Here's my CSS:
@variables {
defaultColor: #8E5050;
defaultBackGround: #E1DBC3;
}
body {
background: var(defaultBackGround);
}
a {
color: var(defaultColor);
}
I also tried:
body {
background: @defa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Changing the log path on fly I am using log4j for logging activities in my application.I want to take the log path from data base.
now I need to configure my log4j properties dynamically.
can we do it on the fly we change the log4h logging path..
Please suggest.
Thanks
A: You should create a class what loads at ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: split function for C++ Is there a split type function for C++ similar to Java? I know of ignore, but I don't quite understand it, and how it'll work for my case.
My input is:
{
item = ball
book = lord of the rings
movie = star wars
}
My input given is an <attribute> = <value> and I have to store the two in d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: how to implicitly `git push` from a local branch "X" to "origin/Y" Say you have a branch on your origin that has a ridiculously long name...
$> git branch -a
* master
origin/master
origin/branch-with-a-ridiculously-long-name
And when you work on that branch locally, you want to give it a less ridiculous name, l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to solve cast issues in ValidationRule classes' properties? I need to create a few tests for the user roles in a web application. To minimize the description, one of the tests involves checking if a menu entry is displayed or not for an user.
For this test, I use a table called UserRoles, that looks like this:
s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Absolute positioned element width issue I've following DOM structure
<div>
<span>/* comment action */</span> //float:left
<span>/* like action */</span> //float:left
<span>/* other actions //float:right; position:relative;
<ul> //position:absolute;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Ruby + Titanium mobile can Ruby be used to develop iphone app with Titanium mobile ? i read Titanium desktop can be developed with ruby, but is it possible for titanium mobile?
A: No, it cannot.
Ruby is available for desktop developement only. Like PHP, Python & Ruby.
For mobile development you can only use JavaSc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Help understanding this line in lisp (defun dump-db ()
(dolist (cd *db*)
(format t "~{~a:~10t~a~%~}~%" cd)))
The dolist makes it go through every element of the list *db* with the variable cd right?
and ~a means print it in a more readable form, but these two confuse me.
~{ ~} does this mean anything in betw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: best algorithm for search between arrays I have a problem I need to solve in the best algorithm I can find.
Let me describe the problem first.
I have a class A with number of Hashset<int> with Z number of items
A -> {x,y,z | x = {0,1,2} , y = {-1,0,9} ... }
B -> {x,y,z,k | x = {0,1,-2} , y = {-1,0,19} ... }
...
w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Sending float arrays over c++ sockets between windows and linux I wish to send float array data from between a windows client and linux server (bi-directionally). Most queries in the forum address slightly advanced issues like c++ to java etc. My array could be as large as 1024x1024. Which is the best approach to th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Access ograph insights from another app without admin? Been trying to get insights data from a page in another app (without admin), yet no luck.
Been using Facebook API to access 'insights' through Open Graph. I have two Facebook profiles:
*
*one being the app holder
*the other being some Facebook page not
r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Toast isn't working in listener I want to open a Toast, but it doesn"t seem to work in a listener (of Smack), like this example:
private ChatManagerListener chatManagerListener = new ChatManagerListener() {
public void chatCreated(Chat newChat, boolean createdLocally) {
if(!createdLocally) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583129",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Does thrift support sending data over websockets? I would like to use thrift with a Java server sending data to a browser using websockets. Is this possible?
A: According to this issue: https://issues.apache.org/jira/browse/THRIFT-2355 Thrift recieved support for web sockets in the javascript compiler for version ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Java collapsible if statements I use PMD to check my code. It gives me very useful hints in most cases, but I can't figure out what could be improved in the following scenario.
The original code looks something like this:
if ((getSomething() != null && getSomethingElse() != null)
|| (getSomething() == null && g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jQuery UI - Custom widget - Datepicker to Whole Year Calendar i want to display whole year with jquery ui. is it possible to cut down the code to just whole year Calender?
A: Set the "defaultDate" to the 1th of january, and then set "numberOfMonths" to 12.
http://jqueryui.com/demos/datepicker/#multiple-calendars
E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: can not seem to enable cache in ajax call I am have a problem with cache being disabled
I have this function call below:
When i watch the console i always see the ?_= added forcing to reload and i have a number of them
//mydomain/inc/js/jqSelect/jquery.selectBox.js?_=1317158809279
from what i have read , by default ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: EventHandler and remoting In my application there is a clss containing an event of type EventHadler and this class should be remoted in another application (it must treat those events). First parameter of this EventHandler is object o (object in which event was fired). Is this parameter make sense in another applic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583141",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook Registration PLugin question I'm working on using the fb registration plugin on my sites. Sometimes a site doesn't support iframes. Is there another version of this script below that works without iframes or is there a workaround?
<iframe src="https://www.facebook.com/plugins/registration.php?
cli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problems in jQuery when hovering an image over the image? I have a page listing the images. And when I hover on that image it will display the play icon over the image.
I have written some jQuery code for that:
$('#hovervideo').mouseenter(function (){
var isviddiv = $(this).find('.video-thumb');
if(isviddiv.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting value back from ListBox to EventHandler in WP7 In my WP7 application I have ListBox control that binds with List<ItemTemplate> collection. On each ListBoxItem I have Click event which navigates to DisplayItem.xaml. Each ItemTemplate object has Id property which has to be passed to DispalyItem.xaml. I know th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I retrieve the path to my dylib at runtime? On OS X, how can code in a dylib find the path it was loaded from, at runtime?
Coming from a Windows background, I'm used being able to call GetModuleFileName(dllHandle,...).
There exists NSGetExecutablePath() which will give me the path of the executable for the cu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Composite Chart + Objective C I want to implement below chart like structure.
Explanation:
1. Each block should be clickable.
2. If the block is selected, it will be highlighted(i.e. Red block in figure).
I initially google for this but was unable to find. What should be "Drawing logic" corresponding to this with a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Options for high performance SQLite I'm developing an embedded system, which needs to store and retrieve data very frequently. I am expecting perhaps 100s of writes per second and 10s of reads. The data will arrive in bursts rather than continuous.
I would like to use SQLite to store all this data, but since it is a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: YARD: document custom getter/setter pair like attr_accessor I'm using YARD to document my project. YARD document attributes created with
attr_accessor :some_attribute
in a separate section "Instance Attribute Summary". Now I have another attribute, but with custom setter and getter
def some_other_attribute
# ...
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to delete all roles of a list of users using membership. -MVC I have a list of username's in a string array . l wanna give the all selected users a new role .I can easily give that using membership
But before doing that i want remove all roles assigned to selected users. How can i do that ..
or at least how c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OpenCV as a static library (cmake options) I want to use OpenCV library in an embedded system and I need to compile my project using OpenCV as a static library.
How can I create the library using cmake options ?
A: To build OpenCV as static library you need to set BUILD_SHARED_LIBS flag to false/off:
cmake -DBUILD_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: GPS Data time to distance base transformation I am developing an application that logs a GPS trace over time.
After the trace is complete, I need to convert the time based data to distance based data, that is to say, where the original trace had a lon/lat record every second, I need to convert that into having a l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Teradata Default List There is this one table which contains the amounts and states that I need. However, this table contains a year information but I want month. For example, in the table it shows information for Kentucky for 2011..and thats it. For California it shows about 5 different years. But I need it to repe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change the background in ListPicker´s FullMode in WP7? Anyone knows how to easily change the background in ListPicker´s FullMode? Do I need to set a style to be able to do that? I´ve tried that, but can´t find the right place to set the background... If it is a style that needs to be used, where exactly in that styl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Extending Django Admin for data import I'm trying to build an import feature/form in the django admin interface for a specific model.
I have already found the following question on Stackoverflow, however as I am new to django, I have not been able to wire it all up. Import csv data into database in Django Admin
I gu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to free up resources in the new MVVMLight V4 I would like to know which is the best way to clean up resources in the newly fashioned ViewModelLocator for MVVM-Light V4. As far as I know, until version 3, the method ViewModelLocator.Cleanup() invoked the rest of the viewmodels' Cleanup() methods.
In version 4, wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Count down numbers Using C# (no Javascript) I want to display the numbers 10 to 1 one after the other. Each number should be displayed for 10 seconds.
Can anyone help in this.
Regards,
Vivek
A: You could have a meta-refresh for 10 seconds that refresh every 10 seconds. You could put the number in the query string a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: perl escape character in function calls When I use a perl statement like,
$workbook = Spreadsheet::ParseExcel::Workbook->Parse(\($mechanize->content))
where $mechanize is a WWW::Mechanize object, why do we escape the $mechanize->content?
A: It's not escaping, it's referencing. Read more examples here:
As a special... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using a Viewflipper with Gridview I've created a calendar which works fine, using a GridView which has an OnClickListener.
Now I wrapped the two GridViews in a ViewFlipper. The ViewFlipper has an OnTouchListener which also works fine, I can change the view by using ontouch when dragging. The problem is though that I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is the C++ boost binary serialization library backward/foward compatible?
Possible Duplicate:
Boost Serialization Library upgrade
I am trying to find a serialization solution for a C++ application. I would really like to be able to use boost binary serialization. If I were to serialize an object using an older ve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: browser view zcml for="IPloneSiteRoot" returns 404 I wonder if anyone else has seen this before:
I have the following ZCML:
<browser:page
for="*"
name="workflow_action"
class=".bika_listing.WorkflowAction"
permission="zope.Public"
/>
When I try to visit siteroot/workflow_action, Plone tells me "This page do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Passing PHP session to external ASP app I have been asked by a client if it was possible to build a PHP site which will pass sessions to an other app located on a different server which uses ASP.
I was wondering if any of you had a prior experience with this ? And if so how problematic can this task be? Is there an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Will an application built for Windows Phone 7.0 work with 7.1? I have built my app for WP7.0 - will it still work on WP7.1?
Do I need to rebuild it using WP7.1 sdk? If yes, how can i rebuild my current app to 7.1 mango?
A: Your 7.0-built application will work as expected in 7.1, but the fast application switching (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Issues submitting form with jquery I have been trying to submit a form with jquery ajax but have been having issues.
When i check through firebug i see the value posted but it shows error from the url. I have this html
<form method="post" name="tForm" id="tForm">
<table>
<tr>
<td>Age</td>
<td><input name="age" id="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Segmentation error in Xcode, debugger cant help me I have been going crazy trying to figure out what is done wrong. I admit I am inexperienced when it comes to C, but I don't know what is wrong. Is the way that I am accessing/using the struct incorrect?
EDIT: I keep getting EXC_BAD_ACCESS in debugger.
#include <stdi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting some data from a PHP (json_encode) and now need to access it within the javascript? I am currently using Phonegap and XUI to create web app.
I am retrieving some data from an external domain using a http request via XUI.
This is working correctly and I receive the JSON data back correctly, see the data forma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JScrollPane - CrossBrowser Scrollbars - Inconsistent and Crashing Using the JQuery plugin JScrollPane I have created a series of scrollable divs styled to look like those from the iPhone.
In theory it is all working but there are 3 fundamental problems.
*
*The plugin appears to be operating slowly and arbitrarily... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you keep a program running after Standby? I wrote a very simple .Net windows application that sits in the system tray and queries a db every 15 minutes. It works great without any issues, except when the computer goes into standby mode. After the user wakes the computer back up, the icon in the system tray ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583241",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Remove an option from a Zend Radio Form Element An easy question.
I have a Zend_Form_Element_Radio element in my form with multioptions.
I'd like to remove an option in my controller.
I've found how to disable an option ...
$element = $membershipForm->getElement('myElement');
$element->setAttrib('disable', array('va... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: backbone.js model.save doesn't set the id I've inherited a backbone js based app. I really like backbone and i'm just starting to get my head around it. From my understanding when model.save is called on a new entity it should post that to the server, the server should return the same json but with an id alloted and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: WebView cocoa reloading webpage I have created a mac application using the WebView. But issue is that webView is reloading when
[webView mainFrameUrl] == newURL
why this problem is happening?? how to solve it.
A: Never compare strings with == You always use NSString's isEqualToString: method to check if the 2 str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails help with devise Hey I was trying to make an association in devise so a user can just have a link to his association (like he can just click new post and he can make it) but i cant make it in devise like regular rails, it seems really common but no one seems able to help me (or they dont know what im talking a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setup IIS for automated webpage installation I have an installer which places the root folder of my webpage into the inetpub/wwwroot/ directory. I have three issues:
1.) The actual webpage as is it seen in IIS is an application using the DefaultAppPool with classic .net. When it is added to IIS, it is set up as an a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to import a project to eclipse using jcraft ftp plugin NOTE: I am a new user so I'm not allowed to post images nor more than two links. Since my problem is quite silly I provided screenshots. If you have the time you can download a zip with the pngs here: http://dl.dropbox.com/u/1517193/images.zip
I'm trying to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I can't make my simple Selenium test work on any browser I have a very simple and classic installation:
*
*Windows 7
*WampServer with PEAR (PHP 5.3.5)
*PHPUnit and Selenium installed from PEAR
*Netbeans plugin "Selenium Module for PHP"
I'm trying to run the following test:
<?php
require_once 'PHPUnit/Extensi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Making smarter jQuery code I was wondering if anyone has any idea on how I could rewrite this simple jquery code to be more efficient. It's of course working fine now but I imagine adding say 10 more items would make the code really big. I thought maybe I could add the classes to arrays and use some kind of loop? No... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: iphone - replaceScene error:Terminating app due to uncaught exception 'NSRangeException',reason:'***-[NSMutableArray replaceObjectAtIndex:withObject:] I made a loading screen, where the program goes through a list of words, picks a six-letter word, and derives a list of words from the letters of that word.
Problem i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Oracle order by undetermined I'm trying to add pagination to a simple select query, like
select rownum rownum_,t.* from (select id,name from table) t
where rownum <=4
However the above query behaves differently when where condition is there and where condition is not there. But on removing the name column, the beha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is a good website to check when a javascript object/method appeared across browsers? Where can I check when was a specific javascript object or method introduced to all major browsers?
E.g. I just though I had a horrible production bug for a week because the Safari I just downloaded fails on JSON.stringify(), b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best practice for handling add/edit/delete forms i'm a little stuck of how i should approach forms in my zend-application. Right now i'm creating two separate forms for addAction() and editAction() for each object i need. My delete-formular is always the same, i simply change some attributes on those.
What i'm wonde... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Quartz.NET trigger: run once in a specified interval I'm using the Quartz.NET library in a Windows service to run a daily job among others. I'm using AdoJobStore. Basically I want my job to be executed once any time between midnight and 1AM for example. So if the service was stopped at midnight and someone starts it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to add different views inside a scrollview in android? I am not able add different views inside a scrollview. How can I add a textView and a editText inside a scrollView
A: Yes you can add. But use a Layout and put your components there.
Example <ScrollView><LinearLayout> *Views* </LinearLayout></Scr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pinch to zoom with Osmdroid I've written a mapping application which has two activities, one activity displays a Google Maps view, the other displays the equivalent view using osmdroid 3.0.5 jar.
Until now I've been testing on emulators only and the functionality is completely identical in terms of area shown and ov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Specific image dimensions generated by PHP As we know, if we specify width and height attributes in <img /> element, browser can immidiately locate image in rendered layout. It's not a really big boost of speed, but it's really nice optimisation practice.
Ok, but sometimes image has different dimensions. So we can g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to read/scan Barcode? how can I be able to implement read/scan bar code in my iphone application. I also would like to know how to implement it into the iphone application. If possible suggest me the links and example source code and applications to understand how it works.
A: I'm using the Zbar framework that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: .htaccess subdomain to directory issue I am currently working on a website for a client, the website I'm creating is then to be sold on to other companies to use and is done so like this:
*
*Payment is recieved
*Admin logs into 123-reg control panel and creates a new database.
*Admin then logs into a website ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7583289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.