text stringlengths 8 267k | meta dict |
|---|---|
Q: Which way is better? Storing the DOM objects in Array of objects or Direct dom manipulation? The title may not be too clear but let me explain what I mean by "Which way is better? Storing the DOM objects in Array of objects or Direct dom manipulation?".
I have a list of DOM objects for explanation:
<ul>
<li></li>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Invoke call on released COM object I create a COM object used for automation tasks of some application. When this happens application is started and its' main window is displayed.
The problem happens when user closes the main application window. Next Invoke call to the COM object does not work. The problem is that i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Monodevelop compiler crash I'm trying to get Mono to work on OSX, but i'm getting a strange error when trying to compile.
I get one error The compiler appears to have crashed. Check the build output pad for details.
The ouput is:
Building: DnsResolver (Debug)
Performing main compilation...
Corlib too old for this r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using PHP to convert from one date format to another I'm looking to convert a date from one format to another.
This is my current date format:
2011-08-15 15:35:58
and I need to convert it into:
Mon, 15/08/2011 15:35
I can quite easily create this by cutting the last 3 characters from the time and then using str_re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Matplotlib - global legend and title aside subplots I've started with matplot and managed some basic plots, but now I find it hard to discover how to do some stuff I need now :(
My actual question is how to place a global title and global legend on a figure with subplots.
I'm doing 2x3 subplots where I have a lot of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "164"
} |
Q: Help with a basic SQL query How do I write an SQL query to find out which employees are from a single location where employee and location are different table.
select count(*) from employee;
The above gives only the count of employees but I need to display their name and location
A: COUNT will obviously give y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Grammar To Parse Multiline Comments and String Literals Simultaneously I am trying to parse C++/Java style source files and would like to isolate comments, string literals, and whitespaces as tokens.
For whitespaces and comments, the commonly suggested solution is (using ANTLR grammar):
// WS comments***************... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Mongoose : Inserting JS object directly into db Ok so I have a JS object that is being POSTed via AJAX to the nodejs backend. I want to insert this js object directly into my mongoose db as the object keys already match up perfectly with the db schema.
I currently have this (not dynamic and overly complex):
app.pos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Any ideas why excel interop reads many decimals as -2146826246? I'm absolutely sure that I haven't changed a thing.
For some reason, excel interop has started reading cells with decimals with same mystic value:
-2146826246
I'm absolutely clueless on what to do next, what to look for.
OS: windows7 enterprise editio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Updating a Page after Binding Data to it in WP7 we have code that is getting data from the server,the data is unzipped and parsed then the name of the files along with the icons related to them are supposed to be displayed on the UI, we are using a listbox and trying bind these 2 elements to the listbox, the data is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Zend Framework or Symfony2 I know this question has been asked several times, but I would like to explain my position and would love if someone who has expertise with both can give me a good answer for that.
I am currently working on 2 big projects, which are dedicated and run on their own debian server. I am very e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to access one of multiple traits of superclass? I have a trait which is implemented from some other traits. Each of these traits override the behavior of the supertrait and are mixed-in to a class:
trait T {
def name = "t"
}
trait T1 extends T {
abstract override def name = "t1"
}
trait T2 extends T {
abs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Installing PHPUnit without using pear How can I install PHPUnit without using PEAR (and offline)?
I'm currently using Window Vista with XAMPP.
A: You don't really want that. See the dependencies on http://www.phpunit.de/manual/current/en/installation.html - installing them manually is a pain.
What you could do is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to write regular matching expression. -Java I want to write matching expression to read string between parentheses () from a big string. eg: the big string is:-
(something), (something2), (something3)
How can I write matching expression for this to read something, something2, something3 in groups.
A: You can't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best place to store config and log files for a Windows service I am wondering what is the best folder to use to store config files (ini, xml) and log files for a Windows service.
According to the special folders list on msdn, it seems that CommonApplicationData (= C:\ProgramData on Windows Vista/7/Server 2008 (R2)) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Implementation of Automatic Update server and Client using PUSH Method i have my software(.NET) running on clients. I need to push the updates to the clients over web whenever new update available .
I thought to implement a web service which is running on the main server which broadcasts the update notifications to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to conditionally use XPManifest at runtime? I'm trying to let the user choose if he wants to use themed style or not.
Is it possible to dynamically "load" the XPManifest?
If user accepts the themed style then use the manifest, otherwise use the classic theme.
At program startup after dialog with style... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: MessageBox.show() C# problem see this code:
ChooseGrade ChGrade = new ChooseGrade();
string GrCl = ChGrade.getGrCl().ToString(); // function getGrCl gets "public int[] grad_class=new int[2];" in ChooseGrade Class
MessageBox.Show(GrCl);
But I see in Messagebox this "System.Int32[]" instant container of grade_class A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's the meaning of `linear convergence` in Ch 1 of the Mythical Man Month
Next, one finds that debugging has a linear convergence, or
worse, where one somehow expects a quadratic sort of approach
to the end. So testing drags on and on, the last difficult bugs taking
more time to find than the first.
From ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Django delete uploaded files in schedule if it is useless I have a model in Django to keep uploaded photos properties as
class Photo(models.Model):
file = models.FileField(storage=FileSystemStorage(location=settings.MEDIA_ROOT), upload_to='uploads')
header = models.CharField(null=True,max_length=200)
added_by = m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a Rx Framework function which will create an observable which ends after a timespan has elapsed? Some observables are just so needy. They want you to listen and listen and listen to all they have to say, maybe for all of time! What if I can really only handle a few seconds' of events? Could I write somethin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Google String Code I'm developing a small scale website, and the client has just informed me that there are code snippets that can be used, via a contact form. Basically, a contact form will be used, then once the submission has been made, a code snippet that is placed in the thank you page, would submit the informa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use android third party library twitter and myspace in same application? I am Integration Twittor which uses signpost core 1.2 and signpost commons 4.1.2 signpost commons 4.1.1-snapshot for authorization.
But problem arises when i integrate it with MySpace app which use signpost core 1.1 sanpshot and signpost... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526691",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Stopping an infinite loop on a remote server PHP I have a simple infinite for loop looking like this:
set_time_limit (0);
for (;;)
{
... //Doing some stuff including to write to a file
sleep(300);
}
It's running on my server. (Shared hosting account)
How on earth can I stop it?
A: Assuming you are working ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Query is not inserting data into db I am at a loss why my query is not inserting values into db. Even if I do echo $query or var_dump($query) there is nothing printed at all. All values are being passed successfully just not being inserted. I am getting Could not connect but I do not know why. All connections are es... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: selection constraint is plsql Assume I have a table entries with columns: id, alias_one, alias_two, name.
How do I select all values from entries where there exists several names for the same alias_one / alias_two pairs provided that names are not known?
Looks like as an option, group by alias_one and alias_two can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: possible to ignore lucene document boost? I am looking for a way to tell the lucene searcher to ignore document boosting on certain queries?
In our search results we usually work with a dominant boost-factor calculated by the age of a document while indexing (the index is rebuild nightly).
Now, I am looking for a w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GWT tree with checkbox:How to get all checked tree items? I am using GWT 2.3.In my application I am using GWT Tree with check box.
Here is my code to create tree
formTree = new Tree();
if (formList != null && formList.size() > 0) {
for (Form form : formList) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Let SWFObject update flash, but don't require it I have a game that will work better in Flash Player 11 (with Molehill) but also works in 10.3. I'd like to get players to automatically update to 11 with express install as much as possible (after it's released, of course), but don't want to force them.
I tried this w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery Mobile: selecting by ID doesn't work well I've a strange problem with jQuery Mobile... Below is the HTML code of my application:
<!-- == START MAIN PAGE == -->
<div id="mainPage" data-role="page">
<div data-role="header" data-position="fixed">
<a href="#addContactPage"
data-transi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: GenericJDBCException in HSQL I have an entity called ProdTransaction. I am saving two records of type ProdTransaction. Both the two inserts succeed when run independently. I mean
tranDAO.save(record1) //alone works
tranDAO.save(record2) //alone works
but together running them as
tranDAO.save(record1)
tranDAO.save(r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C#, WCF, Hide web service through dll In my dll I have a server reference to a web service. This WCF web service becomes visible to my client application that uses the dll. Is there a way to prevent this?
Thanks.
A: When adding the service reference, click the "Advanced" button. This will give you the option to ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NullPointerException on CustomContact insert The code:
ArrayList<ContentProviderOperation> operationList = new ArrayList<ContentProviderOperation>();
// Create raw contact
Builder builder = ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI);
builder.withValue(RawCo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it necessary to explicitly free memory in Google App Engine's Python environment? Is there a way to free memory in google's app engine? Is there a garbage collector in python?
A: Python has it's own garbage collection so there's no need to release memory manually.
A: Python itself managing the garbage collecti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Enable - SP Feature fails to find the configuration section in the web apps config I have a site for which i want to activate feature using powershell
When i run the following command :
enable-spfeature FEATURE NAME -url http://URL
it throws an error :value cannot be null parameter name section.
it basically fails... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Maxima: How to type a term of a complicated series How do you type the following general term of a series in Maxima ?
http://www.texify.com/img/%5CLARGE%5C%21u_%7Ba%7D%5E%7Bm%2Cn%7D%28h%29%3A%3D%28-h%29%5E%7Bn-a%7D%5Csum_%7Bj%3D0%7D%5E%7Bm-n%7D%28-1%29%5Ej%5C%28%5Carray%7Ba-n%5C%5C%5Cvspace%7B3%7D%5C%5Cn%7D%5C%29%28... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: default pic when using multiple nested images on paperclip I am using Paperclip to upload multiple item images. I followed some of this tutorial http://sleekd.com/general/adding-multiple-images-to-a-rails-model-with-paperclip/
My models are:
Item.rb
has_many :item_images, :dependent => :destroy
accepts_nested_attrib... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to check that all html tags are closed with Regex I mean that each < should have an appropriate >. A string without any < or > should be valid too.
Any idea?
A: Once, I've created a JavaScript BB-code parser, which also dealt with incorrectly closed tags. The same concept also applies to HTML (and any other mar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to update database from datagridview bound by linq query and entity model? I bind a datagridview from a linq query, but I don't know how to make it updated to database when users makes changes on the datagridview.
var q = from w in dowacodbEntities.worksheets
where w.ContractForm_id.Equals(g_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Programmatically show the popup from a DatePicker I'm using the DatePicker from the Silverlight Toolkit on Mango
I want to programmatically display the date picker full mode display, but I can't see any API hook to do that at the moment.
Is this possible? or do I have to implement this myself by (intelligently) writ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: multiple jquery animations I have 3 divs on my page that Im trying to give an appearance of expanding out using the jquery .animate width function. The thing is I dont want them all to expand at the same time but I also dont want them to only start when the one before it has finished. Im kinda needing them to start ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Two JFrames in one Runnable. First JFrame disappears in the application bar after calling a JFileChooser I'm trying to create a multi-windowed interface, ala GIMP. One of them allows the user to load an image, to be displayed in the frame. So, when the program loads, all windows (two for now but I plan to have three... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue with "less" filter I'm founding the compile of templates with "less" is not working properly (the css compiling doesn't work as expected) when I have too much content in my less file.
The compiling problems are with the content that are compiled at the end of the less file, in fact if I remove temporarily the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: live555 problem while streaming over the internet I've compiled with VS the live555 source code, and it works just fine if I try to stream locally a file
e.g.
Command Line:
live555.exe myfile.mp3
VLC Connection String
rtsp://169.254.1.231:8554/myfile.mp3
but if I try to stream it over the internet, VLC communicates... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Python-uno package issue with python2.6 and python2.7 installed I'm working with OpenERP and a module named report_openoffice. This module needs the package python-uno installed. The problem is that i have 2 versions of python(2.6 and 2.7). When I install the package, Python2.7 can use the package python-uno but pyt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: $this->headTitle escapes data I have my page titles in the database.
For example in my db:
Brandname® - Home
Now, if I get this from my db and set the page title with $this->headTitle(), it returns Brandname&reg; - Home
Is it possible that this isn't converted? I just want to return what's in the database.
M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Encode image from url not working In my blackberry application All screen have Ad image at the bottom of the screen (Banner image) .
In Simulator application working fine but when i install app in my Strom 2 (9550) application work fine without Banner image .
i get all Banner image URL from my web service but when ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UIFont: How to change all fonts in any view in app? Our app as many others concist of MANY different components such as UIButton, UITextField, UILabel, etc (not UISearchBar) for displaying and editing text. Most components are setup in Interface Builder. What is the most efficient way of replacing all system fonts w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Impact of Apache Log-Files to Serverperformance Im running a Apache Webserver under Windows Sever 2003.
I noticed that my logfile is bigger then 100MB. If I imagine, that Apache always has to open this file, jump to its end, add a new line and close it again, it seems a good idead to keep this log small.
But is this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: OpenCV CUDA running slower than OpenCV CPU I've been struggling to get OpenCV CUDA to improve performance for things like erode/dilate, frame differencing etc when i read in a video from an avi file. typical i get half the FPS on the GPU (580gtx) than on the CPU (AMD 955BE). Before u ask if i'm measuring fps correct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is there any any way to compile & run program as big-endian on little endian pc? see i have written one program for big endian now i dont have big endian machine but i want to check whether my program will works correctly or not on big endian so how can i check that on my little endian pc.?
Is there any online virtu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is it possible to use agile scrum with TFS? We're using TFS Work Items to manage our bugs and work items.
Would that be possible to use TFS for agile scrum project management? e.g. defining user stores, drawing burn down chart and cumulative chart, etc?
How?
Thanks
A: Absolutely yes.
Generate a new Team Project cho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: backbone.js: how to inline editing on attribute of a model how would i add inline editing on attributes of a model,
for example, when i have a Player model
var Player = Backbone.Model.extend({
defaults: {
id: 0,
name: '',
points: 0
},
initialize: function(){
// irrelevant stuff happening here..... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Simple jquery and php problem Does anyone know why this doesn't work? any help would be appreciated.
This is the HTML
Enter Code:<br/><input type="text" name="code" id="code"/><br/>
<input type="button" id="confirm" value="Confirm" onClick="confirm()"/>
This is the PHP (basically gets the value of the user input... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extracting values from a string in C# I have the following string which i would like to retrieve some values from:
============================
Control 127232:
map #;-
============================
Control 127235:
map $;NULL
============================
Control 127236:
I want to take only the Control . Hence is ther... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: POST request with image from iPad/iPhone I try to POST images to server.
I have finished it successfully like this:
I have webView, catch "right" url and switch viewControllers.
After switch them I choose image from PhotoLibrary or from camera, POST it and switch controllers back.
P.S. As u know, in mobile safary(in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NHibernate: Problem trying to save an entity containing collections I need some help.
I'm just starting out with NHibernate and I'm using Fluent for mappings. Everything seemed to work fine until today.
Here is the story:
I have two tables in my db: Store and WorkDay
The first table contains info about the store, an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make php curl request wait forever for the response (after successfully sending the request) I am trying to send big zip files to a tomcat application using curl in a php script. Since it is a big zip file it is going to take some time on the tomcat server to unpack the zip file (about 2-5 minutes), but the c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there any free online maven repository? Is there any free online private maven2 or maven3 repository? So that team can access the repository from various region.
A: I just found a free repo for personal projects. Might not be suitable for team work and/or professional use though. Note that it seems to be from Ru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Use of "instanceof" in Java
What is the 'instanceof' operator used for?
I learned that Java has the instanceof operator. Can you elaborate where it is used and what are its advantages?
A: instanceof is used to check if an object is an instance of a class, an instance of a subclass, or an instance of a class that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "312"
} |
Q: gtk PrintSettings default values? How can I get default print values (default printer, paper size), BEFORE running PrintOperation.run() ?
Thanks.
A: Seems this is not possible. Only way is to set up PrintSettings and PageSetup in advance and create a new PrintOperation for each call to run, and save PrintSettings a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ChannelFactory and CreateChannel() open once or on each use I am having use of the channel in some back worker thread .
The usage is once per two seconds and the connection is always to the same server.
What is the best approach will be:
A. Open channel once as the application starts and work with it during whole a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can we add symbolic parameters in PDS members used in cataloged procedures? I have JCL, which is executing one catalog procedure.
In catalog procesdure one COBOL-DB2 pgm is being executed.
Below is my JCL
//A JOB (@),'CALL DB2',NOTIFY=&SYSUID
//JS010 EXEC TESTPROC
Below is my TESTPROC
//TESTPROC
//PS010 EXEC PGM=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL Find next Date for each Customer, SQL For each? I have some problems with an SQL statement. I need to find the next DeliveryDate for each Customer in the following setup.
Tables
*
*Customer (id)
*DeliveryOrder (id, deliveryDate)
*DeliveryOrderCustomer (customerId, deliveryOrderId)
Each Customer may have s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Java: Watching a Directory for Changes I want to create a listener to detect directory change recursively (the main directory and its subdirectories). After a web search I found this link that explains the use of the class WatchService from the Package java.nio.file that api exactly meets my needs but unfortunately ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Keeping address space size to 4 GB in 64 bit I want to keep some applications to run with a 4 GB address space within a 64 bit OS running on a 64 bit processor (x86 xeon, 8 core). I know there is an option to compile with -m32 option, but at this moment the computer I'm working with, doesn't have the required suppor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I change this code to handle recurringpayment? I am trying to implement Direct payment method as I have user's credit card information etc in my database. This is the sample that I am referring:
using System;
using System.Collections.Generic;
using System.Text;
using com.paypal.sdk.services;
using com.paypal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I change a filename on-download with javascript? The script adds a download link for videos (on a specific site). How do I change the filename to something else while downloading?
Example URL:
"http://website.com/video.mp4"
Example of what I want the filename to be saved as during download:
"The_title_rena... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How does UIWebview do its rendering in iOS? I have been using UIWebView to render file formats such as Keynote, Pages, Numbers, PPT, etc. Also, I tried accessing the various document attributes via stringByEvaluatingJavaScriptFromString: such as title, width, height, innerHTML, etc. and web view returns valid values... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why do std::function instances have a default constructor? This is probably a philosophical question, but I ran into the following problem:
If you define an std::function, and you don't initialize it correctly, your application will crash, like this:
typedef std::function<void(void)> MyFunctionType;
MyFunctionType m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How to codify and store dynamic permission constraints? I have been through this subject before, but haven't found a neat solution yet.
Say we have an application where customers can book a course using the website, and admin staff can also book courses on customers' behalf using a backend system. I'm trying to esta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: unable to connect to JSON service in android application of Titanium studio i am trying to do login application which takes id and password..when i click on logi button then it will connect to our local server by JSON..with the specified URL..the code is..
var loginReq = Titanium.Network.createHTTPClient();
lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why I can't call std::mismatch function for the second time? I use STL's mismatch function to help me to find common directory path. In doing so, I use multimap::equal_range to get range of equal elements.
For my sample program (please see fro you reference), I got a vector vPathWithCommonDir filled with 3 elements ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Automatic adjustment of 3 parameters to minimize standard deviation Situation:
I am currently developing a Java application based on rules. Every rule has 3 numeric parameters to influence a database communication. I am measuring a value, that is affected by this rules and calculate the standard deviation of the mea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problem on sorting an array I have problem in sorting an array in ascending form and i don't know how to fix it.
string[] filePath = Directory.GetFiles(fbdialog.SelectedPath.ToString(), "*", SearchOption.AllDirectories);
Array.Sort(filePath);
Here are the values of an filePath.
"C:\\Documents and Settings\\20110909... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ABCPDF 6 Component Problem - Output Printing Small We're using the ABCPDF Version 6 component to create PDF's from ASP .NET. The output works fine the majority of the time but will suddenly switch to small output i.e. the content get's condensed to 1/8th of it's original size.
Has anyone else experienced this probl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Are unit tests useful for real?
Possible Duplicate:
Is Unit Testing worth the effort?
I know what is the purpose of unit tests generally speaking, but I found some things that bother me.
1)
Purpose of tests early bug discovery. So, in some of later iterations, if I make some changes in code, automated test have t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How can I read Chinese TEXT from a PDF file using PoDoFo's "podofotxtextract" (C++) sample I am using PoDoFo 0.9.1 library to read a PDF file which contains Chinese characters on Win32 XP Chinese version OS.
I found PoDoFo's sample project "podofotxtextract" can read PDF in English gracefully, however, when I open... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JEditorPane and custom editor kit I've a trivial question. I need to load an existing file into JEditorPane using custom editor kit.
I've a editor kit, a file with some extension and I need to force the JEditorPane to recognize my file and use my editor kit. I've found only, that's possibile, but nowhere how.
The k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: IE automation send the HTTP Post directly to the form action using VBA I am having some automation trouble.
I am using HTML Object Library to automate an download. At the end of the automation process, I have to click a submit button of a form and then the download starts.
When I try to handle the dialog with the w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: eclipse builds all projects even on issuing build for single project There seems to be some issue with Eclipse VERSION 3.7
When I compile some single project ( though ant or though buildProject) , Eclipse starts building all projects in workspace and that takes a long amount of time.
I have tried building project ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Storing ab object in a class library I have an object (a system GUID) I need to use repeatedly in my class library. I would like to store it somewhere. Whats the best way to do that? Im thinking i could serialize and deserialize the object but it dosent seem like the simplest solution.
A: Just convert it into a st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Internationalization with Javascript variables I am using one API which has its own javascript. Now in that javascript file they have declared few variables as follows :
monthNames: ['January','February','March','April','May','June','July','August','September','October','November','December'],
monthNamesShort: ['Ja... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to load files/images in qt webkit from sqlite database? I've got a bunch of encrypted data in SQLite via SQLCipher.
How can I load it into Qt WebKit?
I suppose that it can be done via definition of a new QDirModel.
Maybe there is another way to do so by using other crypto store method?
A: SOLVED
I've reimplemen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Obtain background image width is possible to get background image width which is defined in CSS?
body {
background-image: url('background.jpg');
}
I need something like this:
window.getComputedStyle(document.body, 'background-width');
A:
is possible to get background image width which is defined in CSS?
I d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass submitted value of JSF custom component to managed bean? I have created a custom component. I add a dynamic input text box to it (from the encode function).
The component is correctly is rendered as HTML.
But I want to bind the value of the text box to some property on the Managed Bean. So some other dev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to replace exec command with system command in php Here is my Code to Generate PHP certification
To Generate CSR
if(isset($_POST['gencsr']))
{
AddLog("sslconfig.php","gencsr",ERR_ERROR);
/* Storing the values entered by the user for re-display in case a validation check fails */... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Add modifier key to scroll a tab page Is it possible to add a modifier key (such as Ctrl) to the mouse wheel scroll on a tabPage?
EDIT :
Because I have controls on the tabPage that requires the use of the mouse wheel, I'd like to add a modifier key to the mouse wheel scroll on the tabPage. This way, the user will be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: export git => svn When I received the task there was not any repository. And my lead asked me to send snapshots by mail.
I started development using git init.
Now the project received repository - but svn one.
Is it possible to commit into it whole my git commits with proper comments, diff's, etc?
If yes - help me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WCF data contract question I have this data contract:
[DataContract(Namespace = Constants.ServiceNamespace)]
public enum UserEntityType
{
User = 0,
Group = 1,
IPAddress = 2
}
[DataContract(Namespace = Constants.ServiceNamespace)]
//[KnownType(typeof(UserEntity))]
public class UserEntity
{
[DataMemb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: problem of insert multiple values with WHERE NOT EXISTS I want to insert multiple records from the form into table named 'user' with the 'items' value submitted from the form do not exist in another table name 'order'. There is only 2 field in the 'order' table that is id and items.
Here is my code:
INSERT INTO user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Prevent automatic screen lock in iPad I am downloading some contents from the server and after sometimes the screen is locked down. The downloading is happening in the background. And I am showing a video after download completes. And in this case, i.e, when the screen is locked, after downloading completes all I ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Rails alternative for only_provides I'd like to limit response formats available for a single action inside a controller. What I have so far (and works):
class SomeController < ApplicationController
respond_to :json, :html
...
def show
respond_to do |format|
format.html { render :edit }
end
e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Nested/Inheriting Layout pages not working I have the following layout pages
_StyledLayout.cshtml:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title</title>
<script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
<script src... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Configuring physical memory for linux kernel I have an embedded board (MIPS architecture) running linux 2.6.29 with u-boot as the bootloader. I have 512MB(bytes) of DDR3 RAM.
The problem is, Linux is able to use only around 128MB of it. I tried changing the memory size while kernel compilation, but the kernel crash... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In JavaScript, how do you determine the current event if not passed as arg? In an arbitrary JavaScript function, I wish to determine the upstream event.
The event listener function did not pass the event do the current function. As far as I know, window.event is not WC3 and not available.
function listener(e) { su... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: TableLayout inside ScrollView I want to make something like
In Eclipse in UI tool all looks OK, but when i test app on Emulator or device
bottom buttons appears on top of the fields.
I want:
buttons - at the bottom ;
first and second field ;
third field must take all free space between 1 and 2 fields and buttons... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Detecting and hiding UIAlertView (or displaying a view over it) Whenever my app becomes active I show a screen (it's a UIImageView which I add to my subview) and a UIActivityIndicator while I synchronize my data.
However if there was a UIAlertView (and I guess UIActionSheet would also) displaying the moment the user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Duplicate Classnames after installing iCalendar gem I just tried to deal with iCalendar gem, but it seems iCalendar has a class named Event, and my app also have a class named Event
I guess there is a way to scope one or another class name, but i just don't know how.
Here's an example of what i'd like to do :
Event... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: mysqldump stops before dumping structure I've got a batch file running on a Windows server that dumps all my MySQL databases out once a day.
There's about 20 databases on the server and everything works fine except for one database.
The command is set to zip up the resulting dump using gZip. The database in question... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526957",
"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.