text stringlengths 8 267k | meta dict |
|---|---|
Q: Rails 3 : How to call create action form Flex I have a rails app that records a video from the webcam. After the video file is saved on the flex server, I need to create a record on the database calling the create action on my rails app from Flex.
How can I achieve this? I need a url with params to be called. I th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How To Compare Two Strings If they are rearranged I wanted to know how can I compare two rearranged strings
E.g if String a="string" ,String b="tsrngi" ... If I compare a.equals(b), It will return false because of order of characters... I want it to return true because characters are same but only order is differe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is Ruby's open dynamic class structure (duck typing) secure? I"m a newish Ruby/Rails developer with years of Java experience. This "security" question is specific to ruby - not rails - which is why it was hard to find an answer as most rails security questions deal with web stuff.
As a Java developer I've read Effec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is chain of StringBuilder.append more efficient than string concatenation? According to Netbeans hint named Use chain of .append methods instead of string concatenation
Looks for string concatenation in the parameter of an invocation of the append method of StringBuilder or StringBuffer.
Is StringBuilder.append() ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "63"
} |
Q: NamedQueries problem with Hibernate I used NanedQueries (as follows) in my JPA project Eclipselink as persistence provider:
@Entity
@Table(name = "login")
@NamedQueries({
@NamedQuery(name = "Login.random", query = "SELECT l FROM Login l WHERE l.pk = :randomPk"),
@NamedQuery(name = "Login.max", query = "SELEC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Detecting content parsers Is there a way to detect if someone is trying to parse your content with tools like Simple Html Dom so i can properly redirect those requests via .htaccess?
A: I would guess not -- all of these kinds of libraries happen client-side, so the request to your server is just a HTTP request like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to have VLC reread automatically an XSPF file between songs using Lua? First of I have no experience in Lua, just came by it while searching for an answer to my question here on StackOverflow and the internet. If there is any other method you know of that might work I'd very much appreciate hearing it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Lambda expressions to obtain data through navigation properties, LINQToEntities I'm having a problem getting some data since I'm just starting to use LINQToEntities, Entity Framework and Lambda Expressions.
Let me explain my case:
I have a database with 4 tables as shown here:
when I generate the model from databas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Creating an "object" of an interface Today I had a bit of an argument with a friend who claimed that an interface object can be created. When I said that it's impossible, he showed me the following piece of code, which seemed similar to anonymous classes.Now the question is, what's the right answer?
public interface... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Grid web component with paste from table I'm looking for a spreadsheet or grid type component. Specifically I need to allow a user to copy from an html table and paste into the spreadsheet. There is no need to support styling/fonts/calculations/etc.
I'm able to do this via the google docs spreadsheets, so it is pos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a problem with this mysql update in a php for loop? I'm using this php code to update a table, but nothing is updating?
if(isset($Submit))
{
include('connect_mysql.php');
for($i=0;$i<$count;$i++)
{
$sql = "UPDATE $table SET cost='{$cost[$i]}', net=('{$bypiece[$i]}' + '{$cost[$i]}') WHERE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java ScheduledExecutorService runnable exception handling I am realizing that if a exception are raised inside(or not, but should be related to) my runnable's run method, all my future tasks will not be run.
So my question is: How can I recover from such a exception (where to catch it)?
I have tried this:
Scheduled... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Draw order of 3D-Models in XNA i'm having trouble with drawing 3D-Models in the right order in XNA.
Here are two images that describe the problem:
Pic1: http://imgur.com/wGPIk&L5AY1l
Pic2: http://imgur.com/wGPIkl&L5AY1
The ball is moving downwards and as soon as it intersects the terrain, the perspective is changing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Mahout : How to convert custom document in SparseVector format for using LDA I have a set of documents in which each line has certain number of Strings seperated with "\t|\t". Each String(may contain spaces in between) is a indivisible dictionary item. Now I have to use LDA to find the correletaion between these doc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to know which exception is thrown I'm doing a review for our codebase, and there are many statements like this:
try
{
doSomething()
} catch (Exception e)
{
}
but I would like a way to know which exception is thrown by doSomething() (there's no throw statement in the implementation of doSomething) so i can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Why does a number of completed tasks in Mapreduce decrease? When running hadoop jobs, I noticed that sometimes the number of completed tasks decreases and number of canceled tasks increases.
How is this possible? Why does this happen?
A: I've only experienced this when our cluster was in a strange state, so I'm no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is a .get() on a filtered query returning None? I'm following the instruction from an answer, why is my object that is returned by the function None and not an entity?
class FileInfo(db.Model):
blob = blobstore.BlobReferenceProperty(required=True)
randomvalue = db.FloatProperty()
uploaded_by = db.Us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AspectJ EDT-Checker Code Question I am currently using Alexander Potochkin's AspectJ EDTChecker code (relevant code at bottom of post).
This code (from what little I understand of AspectJ) complains on any JComponent method call or constructor call that does not occur within the Swing EDT.
However, the following onl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: RALLY: Determine a parent User Story's release In Rally we have the following story structure:
Parent Story 1
|__ Sub Story 1
| |__ Child Story 1
| |__ Child Story 2
|
|__ Sub Story 2
|__ Child Story 3
|__ Sub Story 3
|_ Child Story 4
I want to make a view of all Parent stories and what release ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: jquery vs jquery mobile with page transition I'm trying to make a simple page transition effect. I came across this one for jQuery Mobile:
http://labs.gourdisgood.com/hypertransition/
Is it a bad idea to use jQuery Mobile on a regular site? All I really want is this one effect. Any ideas?
A: Not a direct answer, bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Variable TweenLite is not defined. - probably path issue? Im currently getting the following error:
"ReferenceError: Error #1065: Variable TweenLite is not defined."
I might think its because tweenlite isnt imported correctly, so some path issue - but tried a few things, and still the same.
Basically I have my main.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best/usual practices for android app directories Is there any sort of consensus on creating/using directories for storing/accessing data for android apps.
For example on windows a new application (say MyApp) would go in the "Program files" directory in a new "MyApp" directory.
I'm writing an app that allows the user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: xQuery substring problem I now have a full path for a file as a string like:
"/db/Liebherr/Content_Repository/Techpubs/Topics/HyraulicPowerDistribution/Released/TRN_282C_HYD_MOD_1_Drive_Shaft_Rev000.xml"
However, now I need to take out only the folder path, so it will be the above string without the last back s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Elisp internal variable scoping for a minor mode (setq/make-local-variable/let) I've written this little minor mode to get the TAB key to continue indenting after the major mode has performed the initial indent behaviour and/or to force indentation when the major mode thinks no indent is necessary.
It has been point... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: asp.net ListView Sorting using DataBind Sort listview using column headings in the LayoutTemplate
I am able to sort a basic list view using asp:SqlDataSource and setting the list view property DataSourceID by pointing it to the asp:SqlDataSource ID. I am having an issue when sorting when not using the asp:SqlDataSo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP chmod and file_get_content permission problem In PHP, I'm grabbing remote images with:
$img = file_get_contents("http://example.com/image.jpg");
file_put_contents("../testdir/photo.jpg",$img);
I get a Permission Denied error unless testdir is set to chmod 0777. Which, I tried to do with PHP and then set it bac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: NoMethodError 'exitstatus' while using Paperclip with Ruby on Rails I'm trying to use paperclip to handle file uploads in my Rails app. I'm currently running Paperclip 2.4.1 on Rails 3.0.9, running a WEBrick server on sqlite3.
The form worked fine before adding the file upload portion, but after following the quicks... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to bind TextBox to datasource I want to bind a textbox to a data source so that I can implement IDataErrorInfo.
How would I achieve the functionality that essentially does what
TextBoxClientRenewalDate.DataSource = contract.RenewalDate;
would do, if it existed.
A: I'm not really sure what you're looking for, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Changing windows 7 system language and word 2010 language using a batch file I am hoping to be able to use a simple batch file to be able to swap between english and arabic.
The idea is to modify the options in the "region and language" format from english to arabic and vice versa.
I was hoping to be able to do the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I Click on a Flash object with jQuery? I have something like this:
<object id="myflash"></object>
I've tried making jQuery click the object like so:
$('#myflash').click();
But this doesn't work. Is there another way to do this?
A: Do you want to focus it, or actually click on a certain point?
You can proba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C++ insert numbers until certain symbol I tried to write a code that asked me to input numbers one by one and when a certain char was inserted ( in this case 'x' ) it would stop the loop. But when I insert that char it starts spamming me with "Insert Number" . I think that the fault is that I'm trying to insert a ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Confused about which Apache SVN package to use with windows i want to make svn repo on a windows machine, but when i tried to download the Apache SVN
i found lots of packages here:
http://subversion.apache.org/packages.html#windows
but i am confused which package to use
what do you guys suggest ?
A: *
*WANdisco Wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SEO of Pagination using rel="next" rel="prev" HTTP Headers I am trying to perform some SEO on a pagination control I have on a website.
Following the Google guidelines, I would like to add link rel=next/prev i.e. <link href="/search/results?page=2" rel="next" /> to the <head> of my search results page.
Unfortunatley... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: clear part of UIImage I've been doing some research on online for a project I'm doing but so far haven't been able to quite get it working. I want to be able to slide my finger over a UIImage and delete part of it, kind of like an eraser. I'm able to draw lines on the screen but can't figure out how to do this. Any ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I supress dialogs from an exe that is executed using System.Diagnostic.Process? I'm using a System.Diagnostic.Process to call another .exe. I'm creating an application which purpose is to run on a remote server. This .exe sometimes crashes and there's a message popup stopping the whole process -> [Application... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: converted date time in json i have a model,with jason send and fill this model but
when return a filled model by data and get it in view date time converted to :"/Date(1241465400000)/"
[Serializable]
public class MyModel
{
public int Id {get;set;}
public DateTime date {get;set;}
}
[HttpPost]
public A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Graphviz subgraph doesn't get visualized I'm trying to create a graph with two subgraphs in dot. The code is as follows:
digraph G {
subgraph step1 {
style=filled;
node [label="Compiler"] step1_Compiler;
node [label="Maschine"] step1_Maschine;
c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "78"
} |
Q: Set autoplay on jQuery Tabs Slideshow I've just installed the jQuery Tabs slideshow plugin and would like it to autoplay. However, when I put in the autoplay option, it performs very unevenly, not at all like when the play button is pressed manually.
<script language="JavaScript">
$(function() {
$(".slidetabs").ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot get scroll bar to work PyGTK treeview First let me start off by saying I read on here a lot and I have googled around for the answer but have not been able to turn one up.
Basically I am trying to add a scroll bar to add to my vbox window. I know its simply something I am not understanding. Here is the code (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP/HTML check if a select already contains a particular value I am working on redesigning a somewhat poorly designed system and have run across the following issue.
I have a time field where the user can select the hour, minute, and time zone for an event. These are done with an HTML select drop down menu with sev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ant build target to list own build targets I am brand new to Ant. I would like to have the following:
<target name="targets" description "Lists Targets">
[some Ant code/tasks]
</target
When I call ant targets I want Ant to search the current file that Ant is running for all it's targets
<target name="all" depend... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Problem with importing certain strings from excel sheet into mysql I am working on part of a application that needs to import data from a excel sheet into a mysql database table. The code works fine until it gets to a record in the excel sheet where one of the string values gets assigned "ABCDE All'John D Doe 999 We... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Color states with Python's matplotlib/basemap I want to generate a map of the United States and color each state in using a different shade. Is there a way to do this using Python's basemap?
A: There is a nicely formated example in the Basemap repo on GitHub: fillstates.py. The shapefile (dbf | shp | shx) is also i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: hg extdiff -p and %~dp0 myprogram.cmd is in PATH;
myprogram.cmd uses %~dp0 to determine the folder it is in;
I have included @echo %~dp0 into myprogram.cmd for debugging;
When I call myprogram.cmd from anywhere, it works perfectly, displaying the folder myprogram.cmd is in;
When I call hg extdiff -p myprogram.cmd, i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: LINQ query null exception when Where returns 0 rows I have the following LINQ method that works as expected except if there are No Rows Found then I get a Null Exception. I am struggling on how I modify this to return 0 if that occurs.
public static int GetLastInvoiceNumber(int empNumber)
{
using (v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Object oriented programming - question about design and accessing relevant data Consider you have the following code in a Timer:
It's main goal is to count down the seconds and to show it on GUI, which is Swing based.
The Timer is part of the game and is used for a decision of who is the winner by taking the user wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: REGEX - php preg_replace : How to replace part of a string based on a "." (period) character
only if it appears after/before/between a word(s),
not when it is before/between any number(s).
Example:
This is a text string.
-Should be able to replace the "string." with "string ."
(note the Space between the end ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586395",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I display excel data with the .xlsx exstension in my windows application using data grid view? I have an excel file that I would like to load into my form and display there. Is there any way to do this? Sorry I am fairly new at visual studio as well as visual basic. If anybody could help me out with this it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Summing two dataframes based on common value I have a dataframe that looks like
day.of.week count
1 0 3
2 3 1
3 4 1
4 5 1
5 6 3
and another like
day.of.week count
1 0 17
2 1 6
3 2 1
4 3 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Apple Push Notification Error (aps-environment) I have registered the app on iTunes connect. When I run the app on the device I get the following APNS error.
Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x19e890 {NSLocalizedDescription=no va... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Error on serializing XML Hi I am getting this error, when serializing to XML
Unable to generate a temporary class (result=1).
error CS0030: Cannot convert type 'XYZ.ProducerChannel[][]' to 'XYZ.ProducerChannel[]'
error CS0029: Cannot implicitly convert type 'XYZ.ProducerChannel[]' to 'XYZ.ProducerChannel[][]'
Can s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Excel - How to reformat nested table? I have exported excel table like that
but i need another format like that:
00008BN07 item1 subitem1 2,000 6 872,320
00008LN02A item2 subitem1 2,000 10 099,340
.....
020876071 item5 subitem1 1,000 294,260
020876071 item5 subitem2 2,000 294,260
020876071 item5 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Easiest path for Microsoft Web API to generate WSDL Web API, unlike some of the older Microsoft web service technologies, does not generate WSDL documentation automatically.
What's the easiest way for it to automatically generate (or quickly manually generate) the WSDL associated with each service call?
A: Web API ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Couple Obj C issues including an error So basically in this code I placed below there is a couple things I would like to accomplish. 1) In that first one I would like the Text Field to close after done is pressed, but it is not doing so. (Found that code on other forums). 2)On that first button when it is pressed do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Axis 2 Client not receiving a thrown exception from an Axis 2 Webservice An Axis 2 client (wsdl2java generated code) invoking an Axis 2 Webservice is not receiving a RuntimeException thrown from a Service. The invoked method is a void method.
The Axis 2 version I'm using for both client and server is 1.6.1.
When I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: using enums or static string variable in java got a question around which one is better to use. Java5 Enums or static string.
I always get the data in form of Strings.
So for example,
private static final String LOAD_DRUGS = "load drugs";
or use Java5 enums
public enum LoadType
{
LOAD_DRUGS("load drugs");
}
In my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: JQUERY: (selector).load(url id), loads every second click I wanted to not reload the page every click of a sub-gallery.
So I decided to .load the content in to the wrapper div of the page.
The content works and does change on first click without a refresh, but the second click does a reload and so on alternately..
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to access the object I would like to access the the _news items in a loop. But don't know how to get this done.
My Game.m looks like
#import "Game.h"
@implementation Game
@synthesize homename = _homename;
@synthesize guestname = _guestname;
@synthesize date = _date;
@synthesize gametype = _gametype;
@synthes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to display a MapView and a StreetView simultaneously? I want to display a MapView that may be used to select a point to be displayed by StreetView in a separate area. I know that the API disallows multiple MapViews in a single process.
How can I cause StreetView to display in a different area than that which di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Smarty 3 and spl_autoload_register I know I need to use spl_autoload_register with Smarty 3. I am registering my autoload function after smarty initializes. But smarty is trying to use my own autoload function instead of the smartyAutoload defined function. Causing an error because it obviously cant find the smarty ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SQL Grouping, combining 2 rows to one cell I have some sql which is grouping data to summarize it.
Its basically a list of locations, items and quantities.
SELECT ItemCode, SUM(Qty) AS Qty
FROM Putaway
GROUP BY ItemCode
Which is working as expected, giving a summary of the results.
ItemCode - Qty
AAAA - 1
BBBB ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to remove SVN history from java files? I have various projects that had files with SVN history in them. I recently moved those projects to a Mercurial repository so now that history within the file is useless. Is there a way to remove those which is not by hand?
Here's an example:
/*
* $Rev:x$
* $LastChangedDa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# Pluggable Architecture, Consideration for a dissertation I am beginning a Software Engineering dissertation in which I have a dental practice as a client who I will be developing software for. The client has issues of requirements and the current software is constantly upgraded through patches.
Im trying to argue... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Cannot get FlexiGrid for CodeIgniter to work I'm trying to use FlexiGrid plugin with CodeIgniter, but when the page displays the grid shows, but there are no records, and there is a little message saying that you should wait while it's processing, which never goes away...
I'm using one of my own databases, so I modi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to link two or more projects in Eclipse? I am trying to develop my application in different Eclipse Java projects where each will contain a certain feature. Then I want to combine them in one complete Java project.
However, I have a problem when linking the sources.
The sub-projects can correctly refer to paren... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can we create SSMS 2008 R2 addin using Visual Studio 2010 I tried couple of times to create a SSMS 2008 R2 addin in VS2010, following below block but always I am unsuccessful. Any inputs?
http://blogs.microsoft.co.il/blogs/shair/archive/2008/07/28/how-to-create-sql-server-management-studio-addin.aspx
Tnx.
A: Here i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ruby on Rails: Update to a gem clobbering my model's pre-existing attribute, options? A gem I've been using adds methods to models. It recently updated its method names such that one of the method names is now the same as one of my model's pre-existing database attributes.
Are there any workarounds to this problem o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: System colour for inactive selected items in a listview? Is there any system colour that define the background of a listview item when the control has no focus and the selection is not hidden? I'm not able to find it if so.
EDIT: I think it is the one listed in .Net as MenuBar (or ControlFace, or Control), but it wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I handle forms authentication timeout exceptions in ASP.NET? If the session has expired and the user clicks on a link to another webform, the asp.net authentication automatically redirect the user to the login page.
However, there are cases when the user does not click on links to other webforms. For example... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: jQuery Address plugin - How to get link clicked on in $.address.change() I am trying to use the Address plugin from http://www.asual.com/jquery/address/ and I really need to be able to access the link or object that was clicked on that triggers the $.address.change function.
So basically, I have a link that looks li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Doesn't IQueryable.Expression = Expression.Constant(this); cause an infinite loop? Expression trees represent code in a tree-like data structure, where each node is an expression. In Linq they are used by linq providers to convert them into native language of a target process.
I know very little of expression tre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: android: SQLite query with between condition problem I have a table with schema like this:
db.execSQL("CREATE TABLE TBL_REMINDERS (" //
+ "FLD_YEAR INTEGER, " //
+ "FLD_MON INTEGER, " //
+ "FLD_DATE INTEGER, " //
+ "FLD_HOUR INTEGER, " //
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Reader-esque optimizing of WebViews on Android I have an app that displays the html of a blog post in a WebView. The images, however, are rather large and do not fit to the screen. When viewing the post in the Android Google Reader app, however, all of the images have their width reduced to fit the screen.
Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Anonymous method inside hash assignment Is there anything like this possible in Ruby:
hash = { :foo => 'bar', :bar => lambda{ condition ? return 'value1' : return 'value2'}}
That actual code doesn't work (clearly), and I know I could just do the logic before the hash assignment, but it would be nice to work inside t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to printf a long typed value using input size modifier? This is basically what I am trying to do
// ... some code, calculations, what have you ...
long timeToAdd = returnTimeToAddInLongFormat();
// lets output the long type now, and yes i need the width and precision.
System.out.printf("Time to add: %13.10ld", ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Doctrine andWhere orWhere doesn't seem to bind more than one parameter I have a query like this:
$name = "field1";
$name2 = "field2";
$value = "searchTerm";
$query->select('*')->
from("TableName")->
where($name . " = ?", array($value))->
andWhere($name2 . " = ?", array($value));
I wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Upgrade procedures for CodeIgniter and WordPress applications on Debian Linux, PHP, Apache, and MySQL I'm a programmer that recently moved to a company where I need to start thinking about keeping software libraries and a Debian Linux LAMP stack on their current versions.
Before I jump in I'm curious on how others... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Adding new attributes in existing coredata model I am a newbie to coredata never worked with it, right now, I am working on a project on which some work has already been done by the previous developer. Coredata is being used in saving data in the project, Now I need to add some new attributes in the existing coredat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add namespaces in web.config file? I am using VS 2008 and C# but when I added namespace in web.config file, that namespace is not imported or included in code behind or aspx
I have also read this question but not get the required answer.
web.config code
<configuration>
<system.web>
<pages>
<namesp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: How to delete a referenced object using FluentNHibernate (ye olde "deleted object would be resaved by cascade") The error I'm getting is common, but the scenario I haven't found any answers that speak to my scenario:
Entities:
School
Teacher
Student
Mappings:
School: mapping.HasMany(x => x.Students).Cascade.AllDele... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Python | accessing dll using ctypes I'm trying to access some functions in a dll (nss3.dll) that ships with Firefox web browser. To handle this task I have used ctypes in Python. The problem is that it fails at the initial point which is when loading the dll in to the memory.
This is the code snippet that I have to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: JQuery .load() not loading classes I'm trying to load a few div's using JQuery .load(), one of those being the div containing the links from where to load from. Here's the code:
$(".category").click(function(e){
e.preventDefault();
var link = $(this).attr("href");
$('#right_options').load(link+' #right_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is wrong with my mySQL query? Left Join/Inner Join Basically this script exports all of the orders in our little system to a CSV file. There are 4 separate tables that are joined to complete this. SEorder, SEtracking, SE_user, users_orders.
Here is the error:
<div id="Error">An error occurred in script '/home/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Customizable multiple Mootools file uploader Can you recommend me customizable file uploader on top of Mootools? It whould be greate, if I can bind to 'addFile', 'uploadFile', 'uploadAllFiles' events, customize CSS and templates.
Other important is that we want to make image transloading by URL, but we do not want ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is the output cache on an Asp.Net page limited to session per user? Just wondering If I set a page up to use the cache for 30 seconds is this only served to the same user that accessed the page first time round or is it configurable?
A: You can cache on a per-user basis, but generally the ApplicationCache is best u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OutputCache.VaryByHeader is not generating a Vary header in the response I have this action method:
[OutputCache(Duration = 2,
Location = OutputCacheLocation.Any,
VaryByHeader = "Accept-Charset")]
public ActionResult Index()
{
return View();
}
And the gene... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Inserting current date to MySql using Zend Date I have a website based on Zend Framework. There is a form for users to fill in and the entered data is inserted in the database.
The users don't enter the date/time. I would like to populate the data value based on the current date/time . The date field is of type dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Append before last tag? Here's my HTML:
<section>
<article></article>
<article></article>
<!-- INSERT HERE -->
<footer></footer>
</section>
How would I insert content after the last article but before the footer?
I've tried doing this:
$('<article>Yipee</article>').appendTo('section article:last');
But... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Error when i execute syncdb I am facing an error while executing python manage.py suncdb
the error is
C:\Python25\lib\site-packages\django\conf\__init__.py:75: DeprecationWarning: Th
e ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead.
"use STATIC_URL instead.", DeprecationWarning)
C:\Python25\l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why not working the google map api with the different key in android? I'm using the google map api in my android application. I never a problem occurs when I use the api key that I created my computer with own fingerprint. But I change the api key the map does not appear. (appears just a blank gray field)
I don't kn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JVMTI Agent_OnLoad handler can't create a System Property I'm using the JVM Tool Interface. I'm trying to create a SystemProperty in the Agent_OnLoad event using the SetSystemProperty() call. If the property exists, it correctly sets a new value. However, if the property does not exist, SetSystemProperty returns a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to generate editable drawing of connected shapes in Java Can anybody tell me how I could do the following:
I want my Java code to generate a drawing that has multiple connected shapes. Perhaps hundreds of shapes--not huge. I'd like to generate this and save it as a standard file format that somebody could open... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: local notifications iOS 5 I have an App that uses local notifications intensively. I need sound and visual alert in the same way like iOS 4.0. There is a way I can programmatically enable the notification working in the same way in iOS 5, without having to ask the user to change Settings> Notifications> MyApp?
A: A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is it possible to upload to S3 directly from URL using POST? I know there is a way to upload to S3 directly from the web browser using POST without the files going to your backend server. But is there a way to do it from URL instead of web browser.
Example, upload a file that resides at http://example.com/dude.jpg d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "43"
} |
Q: Looking for Polygon Geometry library with specific capabilities I am doing a survey of polygon/geometric algorithm libraries implemented in Objective C, C or C++ (in that order of preference). I have very specific needs, so I figured I'd ask the community to see if anyone knows of one that meets some or all of them ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Site is getting requests for strange query strings I was evaluating the logs for a website I help run and I noticed a repeating pattern of strange requests. The requests are all very similar, and from different IP addresses (possibly a bot net?). I am curious if anybody understands what the point of such a bizarre r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Mapping protected properties in Entity Framework 4.1 I want to have a protected list in a class, accessible via methods.
In this topic it's suggested that I could create a configuration class inside my model class, which I don't really like, but as long as it works.. So I have something along those lines:
public cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: 403 Developer Inactive on an HTTP pull I am trying to query some XML from a hotel database using Ruby, and am getting the results:
403 Developer Inactive
I used the code:
require 'net/http'
url = URI.parse('URL of the HTTP query')
req = Net::HTTP::Get.new(url.path)
res = Net::HTTP.start(url.host, url.port) {|http|
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does python have an equivalent to C#'s Enumerable.Aggregate? In C#, if I have a collection of strings, and I want to get a comma-separated string representing of the collection (without extraneous comments at the beginning or end), I can do this:
string result = collection.Aggregate((s1, s2) => String.Format("{0}, {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: php cutting multidimensional array Anyone can help me with a function or point me into the direction on cutting a multidimensional array?
Here is what I need:
$array[x][y][b][q][o][p];
$array[b][c][f][q][l][v];
$newArray = cut_array_depth($array, 2);
// Would return a new array with a maximum dimension of 2 elemen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7586550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.