text stringlengths 8 267k | meta dict |
|---|---|
Q: Java Socket Programming Login as Anonymous on FTP I'm a newbie in Java socket programming and right now, I have a hard time.
I would like to make a simple java program which can connect a socket in port 21, log as anonymous user, and put a password on it, so I can log as an anonymous in a proper way. I turn on my F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MYSQL - Problems using a string as primary key
Possible Duplicate:
Alphanumeric Order By in Mysql
My tables are sorting my records incorrectly. The primary key is a string that as one char and its combined with a number starting from 1 ex: F1. It becomes problematic when it got to two digit numbers ex: F10. The d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I assume that the order I send values over POST will be model bound to an array in the same order in Asp.net MVC? I'm am working on having a screen that allows the user to change the order of items, and when the user clicks on the "Save" button my javascript will look at the order of <li> items, and in the order... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: how to remove keyup event listeners by javascript I'm using the Google autocomplete api on a text field to suggest locations as you type.
The main problem I have with this is that Google does not let you limit results to a specific country, it just lets you bias results to area bounds which is kind of useless.
So se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a user without an associated login is not supported in SQL Server 2008 R2 When scripting a SQL Server 2000 database, on an SQL Server 2000 version of SQL Server, with SQL Server Management Studio 2008 R2 (10.50.1617.0) i get the error:
Creating a user without an associated login is not supported in SQL Ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bit shift in Java May be I am too tired.
Why dont't the following display the same value?
int x = 42405;
System.out.println(x << 8);
System.out.println((x &0x00ff) << 8);
The lower bits should be clear in both cases
A: EDIT: Okay, I'm leaving the bottom part for posterity...
If x is int, then it's pretty s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: JQuery draggable - allow containment to multiple containers? I'd like to allow users to drag an element from one container to another while still being constrained from being able to drag the element outside of either of those two containers. I have everything working perfectly except the part where they can drag t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: parser creation in perl that extract xml tags from source code? i have to extract xml comments from c code .I tried using perl regexp but i am unable to extract the comments. can any one help me. my code as shown below.
Dima_chkTimeValidation(&dacl_ts_pumpPWMLowNoDos_str,
&dacl_ti_pumpPWMLo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Call subclass's method from its superclass I have two classes, named Parent and Child, as below. Parent is the superclass of Child I can call a method of the superclass from its subclass by using the keyword super. Is it possible to call a method of subclass from its superclass?
Child.h
#import <Foundation/Foundati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Reading and Plotting from text files I have some problems in reading data from text file and plotting it.The text file contains
Date; Time; Temp °C
05.08.2011; 11:00:47;23.75
05.08.2011; 11:01:21;23.69
05.08.2011; 11:01:56;25.69
05.08.2011; 11:02:16;23.63
05.08.2011; 11:02:50;23.63
05.08.2011; 11:03:24;23.63
I wan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How should I implement Transaction database EJB 3.0 In the CustomerTransactions entity, I have the following field to record what the customer bought:
@ManyToMany
private List<Item> listOfItemsBought;
When I think more about this field, there's a chance it may not work because merchants are allowed to change item's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Duplicate subdomain mapping on Google App Engine with www prefix Some of my clients are having problems accessing my Google App Engine website from typing in the URL. Despite it being written down - it's on a printed invite - as http://subdomain.domain.com (which works), people insist on putting in http://www.subdom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I reference the outer "$(this)" in jquery? Let's say I have code like this:
$('.myClass').each(function(){
$('#' + $(this).attr('id') + "_Suffix").livequery('click', function(){
doSomething($(this));
});
});
The $(this) that I pass to the doSomething function is what's in the second jquery pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can we declare global variable in QML file? I want to do something similer to following code:
//test.qml
import QtQuick 1.0
Item
{
var globalforJs =10;
function increment() // JavaScript function
{
globalforJs++;
}
....
QML Code
Can we have global variable in QML file and access it f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Best way to change a form action upon submit Basically I have a form with a few drop-downs, but the page I'd like to be set as the action of the form submit would be based on the option chosen in one of the drop downs. I'd like to stick with one submit button, so it seems a little tricky. Can anyone point me in the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to Structure a Table where *some* Columns can have Multiple Values?
Possible Duplicate:
How to Store Multiple Options selected by User in a Table
I am very confused by this.
I want my users to be able to restrict who may contact them. So I need to create a new table of RESTRICTIONS for each user and their se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Client Webservice in java - proxy authentication I have made a web service client importing a third party wsdl in eclipse.
But I got this exception:
javax.xml.ws.WebServiceException: Connection IO Exception. Check nested exception for details. (Unable to connect to 1X.XXX.X.XX:X0 - Connection timed out).
I hope th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to disable a submit button until other button has been pressed? I have a simple JSF form:
<h:form>
<h:inputText value="#{textBean.firstName}"/>
<h:inputText value="#{textBean.lastName}"/>
<h:commandButton value="confirm" action="textBean.confirm"/>
<h:commandButton value="submit" action="textBean.sub... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting XAuth to work with Node.JS & OAuth I'm building my first node.js app, and trying to integrate it with the Instapaper API. Instapaper only uses XAuth, and I'm a little confused how it works.
Should I use the node-oauth module and try to customize it for xauth? Or should I roll my own xauth? Or something else,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Quartz.Net as windows service with jobstore in DB The java version of Quartz has a validation-query property which is used to check whether the database service is available. I cannot find this in the .NET version of Quartz. How does the .NET version check if the database is available after a service has been restar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: copy-and-swap idiom, with inheritance I read interesting things about the copy-and-swap idiom. My question is concerning the implementation of the swap method when inheriting from another class.
class Foo : public Bar
{
int _m1;
string _m2;
.../...
public:
void swap(Foo &a, Foo &b)
{
usi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: blackberry browser - video format It looks like the browser on a Blackberry doesn't support either HTML 5 or Flash...
What's the best format to display video in it?
Thanks
A: BrowserSession is useful to paly video and audio formats in Blackberry.Visit following
links useful for you.
BlackBerry - Play mp4 video fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: HTML p tag takes the height of its parent, not its content guys!
I'm using the tinyscrollbar plugin (jQuery), and I have to scroll paragraphs in a div with it. The problem is that the div (parent of the paragraphs) is 296px high and every paragraph takes 296px for its height and in the div I can view only one paragr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how do I output the rowName based on a linking table? I need to output A_Name, B_Name, and C_Name. from tableA, tableB, tableC. I have a linking table containing all the ID's of the above, e.g:
CREATE TABLE `tableLink` (
`tableLinkID` int(5) NOT NULL auto_increment,
`A_ID` int(11) NOT NULL,
`B_ID` int(5) NO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I select all elements of a class with a visible parent? EDIT: This selector is correct. There bug must be elsewhere in the code. So this question is no longer relevant.
EDIT2: The real problem was that my parent class had the inline style "display:inline" attached to it, apparently the visible selector doe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Program can't find libboost_program_options.so.1.47.0 at runtime Since I don't have root permission to install Boost C++ library, I installed it under my home local. When compiling, I used:
g++ -I/home/name/local/boost_1_47_0 -L/home/name/local/boost_1_47_0/stage/lib foo.cc -o foo -lboost_program_options
but at run... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP : Parser asp page Googd morning, can I parser an asp page with php for to take the html tag code ?
How can I take this value <a href="xxx">**VALUE TO TAKE**</a> from an asp page ?
A: Yes you can use file_get_contents('http://www.example.com/myasp.asp'); to get the file in a string and then use some RegEx to get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Saving source string of image in richtextbox after moving or pasting from clipboard I'm working on richtextbox, which can handle images. I'm saving xaml content of richtextbox to database as string. Images are saved in the folder tree. And I have one problem:
When I insert image to richtextbox (in InlineUIContainer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Tableview, Sections, Rows and coreData - Rows are displayed multiple(duplicate) i am saving Data in coreData to show it in a Table.
I have 3 Entitys:
EntitySet <------>> EntityRow <------>> EntityDetails
(To Many Relationships)
While reading and showing the Data in the Table, Sections and Rows, it works fine.
But th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Infinite URL Parameters for ASP.NET MVC Route I need an implementation where I can get infinite parameters on my ASP.NET Controller. It will be better if I give you an example :
Let's assume that I will have following urls :
example.com/tag/poo/bar/poobar
example.com/tag/poo/bar/poobar/poo2/poo4
example.com/tag/po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: AS3 Not Adding Sprite to MovieClip My code is simply looping through an xml file and creating 'pages' (which are later animated).
This has all worked fine but now I want to add a sprite over the entire contents of the page if the contents of the xml contain a URL.
At run-time I can see that the checks for the URL ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Join between a sqlsever table and an oracle table I have been using SQL Server 2008 for a short time now and have never used Oracle before. I am able to access an Oracle table through SQL Server with the syntax
select * from [OracleDB1]..[OracleDB1].[Zips]
(where OracleDB1 is the oracle database and Zips is the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NSData memory leak Instruments is showing that i get a memory leak right there:
-(id) copyWithZone: (NSZone *) zone
{
Layer *copy = [[Layer allocWithZone:zone]init];
NSData *imageData = [[NSData alloc]initWithData:_image];
copy.image = imageData;
[imageData release];
return copy;
}
The image p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Tuple NumPy Data Type I currently am reading in colors from an SQLite database in the following way:
import numpy as np, apsw
connection = apsw.Connection(db_name)
cursor = connection.cursor()
desc = {'names':('name','R','G','B'),'formats':('a3','float','float','float')}
colorlist = np.array(cursor.execute("SELECT n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: iPhone App: images for retina display not showing In my iPhone app I'm including high resolution image with naming convention imagename@2x.png, but it is not showing higher resolution images for retina display.
What could be wrong?
A: If you are calling the images programmality try to use:
[UIImage imageNamed:@"ima... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GridCalculatedColumn has a Property called "Expression", what can it contain? GridCalculatedColumn has a Property called "Expression", what could it contain?
These are valid:
iif(condition, trueResult, falseResult)
{0}*{1}
Convert.ToString({0})
How to format the result of the expression?
e.g. this doesn't work:
iif... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Modal blocking dialog in Javascript I'm developing Openlayers toolbar in Javascript with jQuery and jQuery UI.
One feature that I want to implement is Adding points to the map.
In openLayers you have to listen for event called 'sketchcomplete'.
layer.events.on({
'sketchcomplete': onPointAdded
});
The problem is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: byte representation in BINARY_CHECKSUM()? according to this article
http://decipherinfosys.wordpress.com/2007/05/18/checksum-functions-in-sql-server-2005/
they say that
BINARY_CHECKSUM() returns the same value if the elements of two
expressions have the same type and byte representation. So, “2Volvo
Director... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Widget Preferences "delay" problem I have a Widget with his android.appwidget.action.APPWIDGET_CONFIGURE Activity with some preferences witch I can set before adding it to the "desktop".
My problem is that the preferences does not get applied because I noticed that as soon as the APPWIDGET_CONFIGURE is called, the w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using Json.NET to parse result returned by Google Maps API I am trying to use google map api's web service to make a web request, and get the json string, and then get the latitude and longitude I need for the input address.
Everything is fine. I got the json string I need.
Now I am using Json.net to parse the stri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using printf awk function to output nth arguments Given the following file's content:
alias command with whitespace-separated argument list
anotheralias othercommand and its arguments
how i can to print something like:
alias = command with whitespace-separated argument list
anotheralias = othercommand and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: make doesn't find rules to make target (newbie on manual makefile generation) I have the following makefile that I tried to construct out of a tutorial. Then I (thought) i added the necessary sources in order to fit it for my code.. but it doesn't find the target. I think It may have to do with the folder structure ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can one convert 64 character size of the devToken got in didRegisterForRemoteNotificationsWithDeviceToken to the 32 characters size string? While implementing Push Notification service in my application, I am facing very strange problem. In my case, I am using Server model of In-App purchase (and hence the conte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery .numeric and pasting content The .numeric function (http://www.texotela.co.uk/code/jquery/numeric/) works great, but when you paste content into the txtOrderName field and you exit the field it doesnt validate.
Does anyone know any modifications that will allow the .numeric function to be run again after cont... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculate a sum from information contained in a variable How do I process a calculation using information stored in one variable? I want to let people enter a calculation into a form, and then they will get the answer. If someone enters 25 * 10, they will be told the answer is 250.
A: What you are looking for is "p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Post programmatically to Facebook Market Is there an API to create new posts on the Facebook Market?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7515708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ListView onClick event doesn't fire with Linkified email address I have a straight forward ListView with a ListAdapter and custom onItemClick method for the list.
My ListView items are clickable to perform other functions. However, some of my ListView elements contain an email address that should be clickable too.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Call Method By Event width JS OOP (prototype) i hope anybody can help me =)
I try to keep the example simple:
function myClass(){
//some Code
}
myClass.prototype.func1 = function(){
//some Code
}
myClass.prototype.func2 = function(){
document.getElementById("myEl").onclick = function(){
this.func1 //does ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python:JS: How to parse multiple kml node in one xml file? <xml>
<mapshape title="Bar" extras="">
<kml></kml>
</mapshape>
<mapshape title="Foo" extras="">
<kml></kml>
</mapshape>
</xml>
I've got a xml doc like that, multiple mapshape nodes in one xml, and each contains one valid kml file. I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get cookies value on another page with jQuery? I have called one PHP page inside an iframe
I have stored some values in cookies. I want to read those cookies values from that page to other page.
I used jQuery to read the cookie.
var value = $.cookie('artname');
'artname' is the cookie name.
But it is display... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Raising a function by timer I want to raise a function periodically .
When I finish one function cycle to wait some period of time and only them to start the second run.
I thought to make it like :
timer = new System.Timers.Timer();
timer.Interval = 1000;
timer.Enabled = true;
timer.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Callback after posting message to Twitter I am posting messgae to twiter via link:
http://twitter.com/intent/tweet?source=webclient&text=Hello
I am interested in if it is possible to be redirected to some url after posting message? For example Facebook has "redirect_uri" parameter added to the URL. User is redirecte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Jenkins and multi-configuration (matrix) jobs Why are there two kinds of jobs for Jenkins, both the multi-configuration project and the free-style project project? I read somewhere that once you choose one of them, you can't convert to the other (easily). Why wouldn't I always pick the multi-configuration project in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: TSQL - Exclusion Condition I am trying to build a SQL script that will produce a list of fields for forward-conversion. By this i mean when the application was initially deployed, we had to migrate old data into the new database, as such the old data does not comply with the new standard. I didnt do the migration,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using iOS's database on Android I am working on an Android application that will access the database that is already preloaded with data. At the same time, I also have an iOS's sqlite database that has the same data that I need.
So I was wondering, can I just use iOS's database and load that into my Android applicat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using C# or PowerShell Automate Username and Password Entry in 'Connect to ServerName' dialog box I have a webpage that requires users to enter their credentials in a 'Connect to "ServerName"' dialog box and click OK. I want to automate this login proccess using C# or PowerShell. Is this possible? If not, is there a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Web service vs JAR - is one approach better than the other? We have multiple web apps on our container (Tomcat) that don't interact with each other but they share the same data model. Some basic data access operations are used in multiple web apps, and of course we don't want the same code duplicated between multip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to get image Exif data using OpenCV? Does OpenCV support getting Exif data of images? Is there a program in OpenCV that parses the Exif data and get appropriate fields?
A: As of 3.1 opencv imread handles exif orientation perfectly. I know this is an old question, but I struggled to find an answer to this same q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How to format a Date variable in PLSQL I am new to PL/SQL and have this question.
I created a procedure with the following specification:
PROCEDURE runschedule (i_RunDate IN DATE)
this i_RunDate comes in a specific format, and I need to change it to this format:
'MM/dd/yyyy hh:mi:ss PM'
I couldn't find how to re-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Aspect Oriented Programming with LLVM Is there some way to integrate aspects into LLVM-bytecode?
A: If you mean an existing way, I haven't seen anything that's stable/in production, but there are a number of papers, for example:
http://www.cs.rochester.edu/meetings/TRANSACT07/papers/felber.pdf
http://llvm.org/pubs/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use the sitemap content element to load content of the referenced pages I use the sitemap content element so that the editor can explicitly reference to individual pages in my page tree. Of course those pages do contain content elements (Textpic, Media, all the good stuff...) in their "normal" section. I need advice... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: System.IO.IOException ErrorCodes So I'm getting the following error when trying to print to a Zebra printer from my web application:
Type : System.IO.IOException, mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Printer is
\172.16.0.244\Zebra2844. Error code is: 5
Can anyb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iphone tableview scrolling issue I have a tableview with imageviews and textviews in each cell. When my view is loaded one of the textviews is invisible. But when I start scrolling the textview appears, so that my view looks as it is supposed to look. Does anyone know why this is happening?
P.S. I have read about re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to have hash of list in perl Sorry for this syntax question. I fail to find the solution.
I want to have an array of hashs in perl, each of them has string and array.
I'm trying to write the following code:
use strict;
my @arr = (
{ name => "aaa" , values => ("a1","a2") },
{ name => "bbb" , values ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: MSAccess VBA code won't open Excel sheet if Excel is already running When I open excel in MS Access through the following VBA code:
Set objApp = GetObject(, "Excel.Application")
Set objApp = CreateObject("Excel.Application")
objApp.Visible = True
Set wb = objApp.Workbooks.Open("\\bk... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Launch gallery with Images and Videos get back the selected image/video - Android I know how to launch default gallery with Images and get back the selected image URI.
Now I am looking for how to launch default gallery with Images and Video displaying together and get back the selected image/video uri back to my app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to trigger onclick code after refresh when the state is retained using PHP sessions I'm using php session variables to retain page state, as in the example below, it's to maintain the fact that a element has been clicked and receives a new class. The class is removed later if it is clicked a second time.
However... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: socket.io reconnecting when connecting remotely I copied and deployed the socket.io's demo code (found at http://socket.io/ on the front page).
I have a server.js and a index.html with this demo code
When I run 'node server.js' locally, and then open index.html locally, everything works fine and I connect to the ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Binding a combobox selectedvalue in Grid I have a combobox as a column in a gridview and it is bound to a local property like so:
<ComboBox Name="cboMetaDataTypes" ItemsSource="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}, Path=MetaDataTypes}"
DisplayMemberPath="Value" Selecte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get the latest object using Castle ActiveRecord I've got a Table of OrderDetails objects and I'd like to get OrderNumber of the latest Order in the database i.e. the Order with the highest OrderDetailsID.
In SQL I can do the following:
select Top 1 OrderNumber from orderdetails order by OrderDetailsID desc
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Image thumbnail from web for a listview So i have a listview with 10 rows, for each row i have to load a image thumbnail from different url's, is there a way to do this with out downloading all 10 big images and resizing them, i just need the thumbnails from those pictures, and downloading all pictures will take a l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Fluent NHibernate Automappings generating 2 foreign keys for 1 relationship I have this setup (condensed for brevity)
Class Employee
virtual IList<ChecklistItem> HasInitialed { get; private set; }
Class ChecklistItem
virtual Employee InitialedBy { get; set; }
When this is generated I get these tables
Emplo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Redefining and merging two tables in R or SAS I have two tables (matrix) of same dimensions, one contains correlation coefficients and other with p values. I want to combine them into one table. For example let's say I have correlation coefficient between variable A1 and A2 of 0.75 in table 1 and p value of 0.045 in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: differences in compiling normal/template functions, c++ I read this in a tutorial:
It turns out that C++ does not compile the template function directly.
Instead, at compile time, when the compiler encounters a call to a
template function, it replicates the template function and replaces
the template type par... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: top 10 from sql server I want to retrieve the ID and DATE fields for the top 10 upcoming from my table.
Without the ID the query below works:
select top 10 MAX(FromDate) as upcomingdates
from TM_Schedule
group by(FromDate)
But if I add the ID, it throws an error:
select top 10 MAX(FromDate) as upcomingdates, ID
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Server session What is considered a session in sql server.
I'm trying to use sp_getapplock and the documentation states:
Locks placed on a resource are associated with either the current transaction or the current session. Locks associated with the current transaction are released when the transaction commits or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Problem at marshalling a standard C++ string to a C# string I'm writing a wrapper for a DLL that manages an OCR device. The DLL has a method whose signature resembles the following:
unsigned long aMethod(char **firstParameter, char **secondParameter);
aMethod returns string pointers to all parameters.
I wrote this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TeXlipse error while building workspace We seem to have a strange problem at the moment with TeXlipse. I have just recently setup a project on my machine with folders that contain chapters of a book. I then put everything under source control and earlier today tried to build the same project on another machine. When... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Core data bug refers to nonexistent core data attribute of reflexive many-to-many relationship I am experiencing a perplexing Core Data bug, in which I receive the following error message when trying to save some data:
CoreData: error: (1) I/O error for database at /var/mobile/Applications/5D3C0F3C-E097-43BF-887B-2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How can I find the "least common part" among the paths on the same logical drive? My program has several paths to be watched, such as
C:\XML
C:\MyProg\Raw
C:\MyProg\Subset\MTSAT
C:\MyProg\Subset\GOESW
D:\Dataset\Composite
D:\Dataset\Global
E:\Dataset\Mosaic
I want to add 4 paths, namely C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: About -(NSDictionary)dictionaryWithObjectsAndKeys: and I got a really interesting question.
Inside one of my classes I declared a very simple instance method -(NSDictionary)dictionary;
that is implemented in this way:
- (NSDictionary *)dictionary {
return [NSDictionary dictionaryWithObjectsAndKeys:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: How to prevent UI from redrawing every control one by one In my user control I perform a lengthy operation. In order to prevent users from clicking the UI, I show a progress bar and I disable the whole UI, like this:
this.Enabled = false;
ShowProgressBar();
DoLengthyOperation();
RemoveProgressBar();
this.Enabled = t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What's the opposite of '!important' in CSS? I'm building a jQuery plugin that uses CSS styles to add colors and margins to nested DIV tags. Since I'd rather keep the plugin as a single file, my code adds these colors and margins directly as CSS attributes to the DIVs using jQuery's .css() method. (The values for the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: How do I search for two strings on the same line in Eclipse? Mainly I want to search for all lines that contain XXX and YYY on the same line in Eclipse.
What would be the correct search expression for that?
A: This regex should comply with your request:
(XXX.*YYY|YYY.*XXX)
Used under File Search, checking Regular ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: C++: Is this a valid constant member function? I'm currently working on a c++ class. The purpose of the class is to do some http queries. You create an instance specifying
*
*destination url
*some other parameters
With this instance, you can call a method called "getChildren" which connects to the HTTP server,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: creating html by javascript DOM (realy basic question) i'm having some trouble with javascript. Somehow i can't get started (or saying i'm not getting any results) with html elements creation by javascript.
i'm not allowed to use:
document.writeln("<h1>...</h1>");
i've tried this:
document.getElementsByTagName('bod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Query TFS 2010 Database for all of yesterday's checkins, ordered by project I'm trying to write a query for the TFS 2010 database that will return all of yesterday's checkins ordered by Team Project. So far I have:
USE [Tfs_DefaultCollection]
SELECT ChangeSetId, CreationDate, Comment, CommitterId
FROM tbl_ChangeS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where does Magento 1.6 Store its CMS Page? I was looking around the admin panel of magento, and I came across the cms menu, which has a pages section. I was not able to locate that pages listed in this section in Magento's file directory structure. Where can i find all the cms pages, especially the home page?
A: M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery change custom attritbute I have an audio player in which a user can click on a play button next to songs in a list and the player begins streaming the audio. The play button swaps out for a pause button so that the user can pause the audio. The issue I am running into is that I can't swap a custom attribute o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: zend modules default controller Hy guys,
how can i set the default modules controller ??
i need that if there isn't controller in module folder, i come at default module controller and view!
for example i type into the browser:
http://192.168.1.100/Testmoduli/public/givep/
where givep is my module without IndexCont... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uncheck/Disable checked "Same as Billing Address" in magento 1.5 Basically, I've been trying to remove the checked box when I go to the following.
Sales > Order > View a completed order > Click Re-Order and then I see the SHIPPING ADDRESS has a checkbox which is already checked SAME AS BILLING ADDRESS. I want to u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: about embedded pentaho reporting Engine log query I have integrated reporting engine in my Java application. I have recently upgraded petaho reporting to 3.8.2. I am facing a problem with this upgrade so I switched on the pentaho logs to see what is going on. and I got following relevant log. Can somebody please exp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook JS SDK - Post an image to someone's wall and make it open in the Gallery Lightbox To be clear, I know how to post an image to a user's wall using FB.ui, but what I would like to know, is if it's possible to make that thumbnail in the post open up the image using the Facebook Gallery Lightbox, just like any ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++ collection class to call children functions The project I'm working on has some pretty nasty collection classes that I feel could use a redesign. I'd really like to make a collection template class that takes model instances and provides a way to call type-specific functions of each child in the collection. For ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I get items from current page in PagedCollectionView? I've got my objects in PagedCollectionView bound to DataGrid and DataPager.
var pcView = new PagedCollectionView(ObservableCollection<Message>(messages));
How can I easily get items from current page in PagedCollectionView from my ViewModel? I wish there... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Fetch data in a single Row I have two tables PackageDetail and PackageDuration
PackageDuration have the PackageID as Foreign Key i.e. can have multiple records with respect to PackageID
The Schema of the PackageDetail is:
PackageID INT PK
PackageName Nvarchar(50)
Schema of the PackageDuration Table is:
DurationID ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jquery .get funciton with insert from input text line So I have the following
<div id="myscore"><div>
<input type="text" name="score" id="score" />
<script type="text/javascript" language="javascript">
$(document).ready(function() {
$('#click').click(function(){
$('#myscore').get('computescore.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why one of my Embeded WAR in an EAR deployed on JBoss has a bad context-root? I have two WAR in my EAR, that should be deployed on a JBoss 6.0.0 Application Server with those WEB-INF/jboss-web:
in services-1.1-SNAPSHOT.war:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Applicat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Local Database in Silverlight I want to integrate a local database into Windows Phone 7 project. The DB should be allready filled with values from manual input.
Therefore I use a wizard to create a local Database in WPF.
I can create tables, set their values and fill in them, but I could not find the way how to refe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: set 5 divs in the same positions jquery How can I set the location of 5 divs (equally in dimension) in the same position after initializing with jQuery.
The reason I want to have this is to move them one by one to another div.
Thanks in advance.
A: It depends largely on the HTML you have, but the general ideal is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515894",
"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.