text stringlengths 8 267k | meta dict |
|---|---|
Q: Adobe Flex help with accessing database for mobile web? Thanks in advance for any help. Here is the issue: a client wants his entire equipment inventory accessible by persons navigating to his jquery mobile site. The inventory that exists on the desktop site was, as I understood, built with Flex.
Is it possible ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Emailing the contents of a Textbox with Outlook I have a simple application written that allows users to pick inventory items with checkboxes. When the items are checked a textbox is populated showing the user's input. I would like to have a class that would take the contents of the textbox and copy it to a new outl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: node.js deployment questions Ive been given the task of localising a facebook app that is built in Node.js that am told uses Nginx for SSL.
This is my first foray into the world of Node.js and I have hit a wall in understanding the deployment process involved in pushing an node app to the world wide web (in order to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561129",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Difference between SOAP webservice and RESTFUL webservice I am new to Java.I know that there are two types of web service
*
*SOAP Webservice.
*RESTful Webservice.
can any one please tell me what is the basic difference between both of them.And in which situation the SOAP Webservice is created and in which situ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: jquery colors, RGB to HSL and back I'm using jquery colors to transform a color from hex to hsl, modify it's hue by adding a number from 0 to 360 to it, then doing a mod 360 to get the new hue value that i'm actually interested in obtaining
Problem is I can't figure out how to transform it back to RGB correctly
Give... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to sum all the numbers of one column in python? I need to know how to sum all the numbers of a column in a CSV file.
For example. My data looks like this:
column count min max sum mean
80 29573061 2 40 855179253 28.92
81 28861459 2 40 802912711 27.82
82 28165830 2 40 778234605 27.63... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Notepad++, removing beginning text from each line? I have some junk before each line and the text I want
eernnawer love.pdf
nawewera man.pdf
awettt sup.pdf
I would like to do a find and replace to get
love.pdf
man.pdf
sup.pdf
How can I do this? Thanks
A: *
*Ctrl+H to open the search and replace dialog
*Acti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trust all certificates? X509Certificate I have following code which connects through HTTPS but i am getting following error during connection attempt.
WARN/System.err(9456): javax.net.ssl.SSLHandshakeException:
org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate signature... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Launch an application from a windows 7 service We are currently using a report printing application launched by a user-defined function located in a Firebird database which runs as a service.
The UDF consists of a simple DLL that launches the reporting application and pass the report ID to be printed through "Creat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Retrieve data from public Google Spreadsheet using gdata library? I'm working in Python and trying to retrieve data from a public Google Spreadsheet (this one) but struggling a bit with the developer documentation.
I'd like to avoid client authentication if possible, as it's a public spreadsheet.
Here's my current... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Can't seem to bind two text inputs together I have two form inputs that I need have matching field content. Meaning if I enter text in one field it is the exact same on the other field (they are in separate forms).
I thought I could use .bind() to do it but my script would not allow my text to bind to another input.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: c# DirectoryEntry InvokeSet HomeDirectory and HomeDrive, errors I'm trying to modify the Profiles / Home Directory / Home Drive setting for each AD user in a specified OU,
I have below some very basic code that should achieve this feat but is instead throwing the following exception:
The requested operation did n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Facebook / Graph API - How do I find the app id of another application (that I don't own)? I need to find the developer contact info / app profile page for an application I don't own. How do I find the app id for a particular namespace (eg. http://apps.facebook.com/some_app_namespace)? The namespace directs to a 404... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reading Geolocation from Quicktime Movies with Java (Xuggler)? I need to retrieve geolocation data from QuickTime MOVs recorded on the iPhone/iPad, from a Java application. I am currently investigating the Xuggler media framework; I was hoping I could use Xuggler's IMetaData interface to read out the UserData portio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Rendering Kinect Point Cloud with Vertex Buffer Object (VBO) I´m trying to make a dynamic point cloud visualizer. The points are updated every frame with Kinect Sensor. To grab the frames I´m using OpenCV and GLUT to display.
The OpenCV API returns a 640 x 480 (float *), for the points xyz position , and a 640 x 480... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Hibernate serverside or on each instance of a Swing application? I would like to know what is the best desing for an existing heavy swing application.
This application need a database access (new) and I am using hibernate for that.
This application is running on many computers and need few things :
*
*ability to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: passing array between two C# Windows Form application I have two C# application and I want interactive them by calling one program
giveMeDataArray(xIndex,yIndex)
and then second program send response to first program by sending an array to it
please help me on this issue....
thnx
EDIT: I have a program that generat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I properly encode a mailto link? I am generating some HTML and I want to generate an XSS- and database-content-safe mailto link. What is the proper encoding to use here? How's this?
myLiteral.Text = string.Format(
"mailto:{0}?Content-Type=text/html&Subject={1}&body={2}",
HttpUtility.UrlEncode(e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: More than 100 connections to sql server 2008 in "sleeping" status I have a big trouble here, well at my server.
I have an ASP .net web (framework 4.x) running on my server, all the transactions/select/update/insert are made with ADO.NET.
The problem is that after being using for a while (a couple of updates/selects/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: EditText display wrong text i'm stuck whit a very strange problem. I have an editText in a dialog. If I open the dialog one time (tapping on a element of a ListView) and do some stuff all ok. If I open the dialog the next time (tapping on a different element of a ListView) the editText display the same value of the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Converting ArrayList or Array to String Array I'm working on a project where i need to convert either an ArrayList or and Array to an String array.
I need each word/string to convert to seperate strings.
Something like this:
public ArrayList<String> arrList2 = new ArrayList<String>();
and then convert it and past i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Thread.Sleep blocking parallel execution of tasks I'm calling a worker method that calls to the database that then iterates and yield returns values for parallel processing. To prevent it from hammering the database, I have a Thread.Sleep in there to pause the execution to the DB. However, this appears to be blocki... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: String vs. Enum for checking type of object in Python Say I have an object called Tag, and I have three types of tags as indicated by an instance variable in the following way,
class Tag(object):
def __init__(self, name, type):
self.name = name
self.type = type
t1 = Tag("blue", "cold")
t2 = Tag(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Green screen / chroma key iOS I am trying to do green screen subtraction in real time on iOS. I have included openCV in my project and I can get the raw data from the camera using this tutorial: http://www.benjaminloulier.com/articles/ios4-and-direct-access-to-the-camera
Then after I convert from CGImageRef to IplI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: what does means Binding with no source property in silverlight? I am little new and I have a doubt in relation with databinding.
To bind something I usually use {binding propertyName,...} but in some post/blogs I can see the kind of code like ItemsSource="{Binding}". Why not use ItemsSource="{Binding YourCollection... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using createElement('img') to get .jpeg instead of .png I would like to use createElement("img') to create .jpeg extension instead of .png
According to Flanagan's book JavaScript: The Definitive Guide: Activate Your Web Pages By David Flanagan,
For jpeg image type, the second argument should be a number between 0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Excel Data to TreeView C# I am looking to create a windows form that contains a tree view of data that I have in excel. I have the windows form I am just trying to figure out how to export the excel data into that data tree. Any links?
A: If you import Microsoft.Office.Interop.Excel assembly you can access Excel fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: "undefined symbol: _PyObject_NextNotImplemented" error when loading psycopg2 module environment: Ubuntu 10.04 LTS
build Python 2.7.2 with ./configure --with-zlib --enable-unicode=ucs4
postgresql-9.0
wsgi
Django 1.3
virtualenv
apache
I am trying to build Ubuntu Django App Server. The installation completed with no e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: JavaScript get original caller object Here is a sample situation:
<smth onmouseover="test('hello')">
...
function test(pLabel)
{
var sender = ?;
var evt = ? || window.event;
}
In the function test() - how do I get the object that I hovered the mouse on and the mouse event? I've tried playing with the callee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to test the speed of a query without downloading the actual data? I have a multiple result-set store procedure on a remote Sql Server 2008. Currently, the procedure is returning a rather large result set that is to be parsed and used on a website that is hosted on the same server as the database.
When Sql Server... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Updating an Attribute of a Component embedded in an AbstractDocument I'm inserting a component into an AbstractDocument as shown in the code below.
final MutableAttributeSet aS = new SimpleAttributeSet();
aS.addAttribute(Utils.STYLE_ATTRIBUTE, attributeValue);
Component myComponent = new MyComponent();
myComponent.a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regex matching? I have the below regular expression in Python,
^1?$|^(11+?)\1+$
Since there is a pipe '|', I will split it into 2 regex,
^1?$
For this, it should validate 1 or empty value. Am I correct?
^(11+?)\1+$
For the above regex, it would validate value of 1111. The first pair of 11 is based on (11+?) and t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Symfony2 change validation group based on field value I have controller action like this:
public function createAction()
{
$entity = new Client();
$request = $this->getRequest();
$form = $this->createForm(new ClientType(), $entity);
$form->bindRequest($request);
if ($form->isValid()) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Map reduce problem in python I am currently struggling with an assignment. The solution would input a txt file and run through counting the number of palindromes and their frequency. I need to use Map reduce to create to do so
For example: the string "bab bab bab cab cac dad" would output:
bab 3
cab 1
dad 1
Here i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Menu bar overlay in Firefox I tried to overlay an option in the Tools menu of the Firefox menu bar but is not working.
Below is the code:
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://linktargetfinder/skin/skin.css" type="text/css"?>
<!DOCTYPE linktargetfinder SYSTEM "chrome://linktargetfinder/locale/transl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get selected dropdown option in code-behind when ajax population I had a huge problem and spend hours trying to make it work, but no luck.
My issue was, I had 2 dropdowns, once the first one is selected, the second is ajax populated. But when I want to capture it using C# codebehind, the selected value won't reflect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Image list, removing reference Currently I'm using an ImageList control, attempting to copy files off the network and overwrite whats on the ImageList. However, when I try to copy the images once the List has be populated I'm unable since the images are loaded. I've tried using .Dispose() and .Images.Clear() but fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My DevExpress GridControl scrollbar won't scroll? I have a DevExpress GridControl on a WinForms app that has a lot of columns in it. My horizontal scrollbar is shown on the GridControl. But, when I expand one of my columns, instead of scrolling horizontally, it just shrinks another column in the same GridControl! ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the fastest way in iOS to retrieve the number of songs for a specific artist? I am trying to retrieve all the artists on the local iOS device, and for each artist, the number of songs available for that artist.
I currently am doing this in a straight-forward fashion, by querying for all artists, and for each ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android borders on individual views I have trouble making borders for android views
What I try to do for simulating a border is to create a view with the main background, then create a view around it with the border color as the background. the first view then has a padding around it, but the wrapping border view st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get alternate name in Facebook? I can't find it in the Graph API, is there some way to get the alternate name someone fills out in their Account Settings?
A: It's not currently possible to access this field via the API by any means i'm aware of, you could file a wishlist item in the bug tracker, it may get p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recording an audio stream in C# from C++ ASIO library I need to find the best way to record an audio stream. I have already built the low level code in C++ and interfaced parts of it to C#.
So i have a C++ callback that gives me an array of array of floats - the audio signal.
At the moment, my C++ lib is recording ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: User Agent Switcher for Chrome I'm looking for a User Agent Switcher for Chrome.
Searching the Chrome Web Store does not come up with a simple switcher. I understand I can run the browser via command line and arguments: Google Chrome: Change User Agent to Access Website.
Is there a user agent switcher built in to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: How to iterate a synchronized treeMap? Currently have this implementation:
static Map s_AvailableGameTables = Collections.synchronizedMap(new TreeMap<Integer,Table>());
How can I iterate over all it's content from the start to the end like an array?
Thanks
A: Assuming the declaration is
static Map<Integer,T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Data Modeling: Class vs. ER Diagram I know that both concepts are alot different, and I have had the opportunity to work with both. However, I still don't feel confortable answering the question "when one designs a database system, should one class-diagram or ER-diagram it?"... Can anyone please elaborate on this?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ManyToManyField Relationships Between Multiple Models I have the following models that represent books and authors. A single book can have multiple authors and an author could have written multiple books. So I am using Django's ManyToManyField type to link the two models to each other.
I can add a Book, using th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Remove an element from the DOM from reference to element only This is either very simple or impossible.
I know I can do this:
var element = document.getElementById('some_element');
element.parentNode.removeChild(element);
...but it feels messy. Is there a tidier - and universally supported - way to do the same thin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: solr filter or tokenizer to make combinations of words I'm trying to implement a reasonable name suggest feature using a series of filters. At the moment I have
<fieldType name="suggester" class="solr.TextField" positionIncrementGap="1" autoGeneratePhraseQueries="true">
<analyzer type="index">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Saving Score in a Label and loading when the app opens I'm setting up a "click counter" on my iOS app, so the user will know how many times he performed an action. I'm using NSUserDefaults, for I'm can't make it load when the app opens.
First I created a UILabel that stores the number and increases it each time the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: find all pages on a site that use a particular selector I need to modify properties of a selector(let's say #myList) that is used on few pages of website I'm working on. I want to make sure my changes won't ruin the design. Is there a tool that will generate a list of all pages on a website that uses a particular se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: prevent js module execution I am working on integrating a javascript compiler into my web framework, and am running into a bit of a snag.
When running in development mode, all javascript modules are loaded individualy by ajax, but when switching to production mode, it compiles multiple modules into one file to reduc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What needs to be released in the AppDelegate? I have a project that I created by using Xcode's Single View Application template. Obviously, it comes with a view controller and an app delegate file. Everything works fine. I just wanted to use Xcode's Analyze tool for the first time to make sure everything is fine bef... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Model Binding RadioButtonFor() default Select MVC3.0? Hi I have a ModelBinded View
foreach (var Model in Model)
{
@Html.RadioButtonFor(modelItem => Model.DefaultLocation, Model.AddressID, new { @Checked = Model.DefaultLocation, id = Model.AddressID })
}
@Checked is retrieved from Database as Boolean True or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to show a progress bar on HTTP POST? I am trying to upload a video to an api and I was wondering how you show a progress bar show and also dismiss it when an upload has finished?
public class Loadvid extends AsyncTask <Object,Integer,String>{
EditText etxt_user = (EditText) findViewById(R.id.user_email);... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: getting more then one column on an inner join i have the following query:
SELECT c.company_id, c.company_title, c.featured, a.address, a.postal_code, pc.city, pc.region,cat.category_title, p.phone
FROM dloc.companies c
INNER JOIN dloc.address a ON ( c.address_id = a.address_id )
INNER JOIN dloc.postal_code... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: OpenGL ES Faces appear to be transparent when alpha is 1.0? I am working on an object (OBJ File) loader for my app on iOS, currently I have successfully read the vertices and the faces of the object, and I am now just adding colours to the imported models.
I am coming across a major problem now. Out of a cube with s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: From a .py file converted to an .exe (using py2exe), how do you import data from a written file? My program saves data to an external .py file for use later on. This works fine normally, however once converted to an executable, it saves a file externally, but only draws from the internal data.
This is what the code ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Alternative to I'm trying to fix an old script written for me. I need it to run without <body onload="init ();">. I'd like to run the function from inside the script without inline code like that command. Sorry I'm not a JS expert but how do I do this?
A: Here's a slight variation on Tejs' response. I often find ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Why is there a gap between status bar and main view I am using a UITabBarController to switch between two view controllers. The first view controller looks fine but the second view controller has a white gap between the status bar and the root view equaling the height of the status bar.
Here is the nib file for th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Django: What's the best way to create different "kinds" of users and use them interchangeably? I'm building a site similar to eBay. I have two kind of users: Sellers and Buyers.
I've read this https://docs.djangoproject.com/en/1.3/topics/auth/#storing-additional-information-about-users and i've created a UserProfile... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP: while or foreach. I want to save an array of input data which also uses a counter I'm trying to achieve the following
I have post data which is an array[]
I'm using a foreach to run through the array
foreach($images as $image){
update_option( 'image-'. $mycounter .'', $image );
}
I need $mycounter to be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiple Jquery conflict I'm new to the whole forum thing, so I'll try my best to describe my problem clearly.
I'm trying to use two different jquery scripts on my page, one being Bxslider and the other being Captify. In general, Whenever I try to implement more than one script, they can never work simultaneously. I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Transfer Backup Files from One Domain to Another Domain I need to transfer Backup Files from one Domain to another domain.
I have some production databases where I am taking backups every night. I need to transfer those backup file from one domain to another domain and place it in a folder.
Then I need to restore ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mootools table pushmany I'm trying to build a table using the Mootools HMTLTable class, specifically using the pushMany method.
I have built a sample using the same syntax that they show in the docs at http://mootools.net/docs/more/Interface/HtmlTable#HtmlTable:pushMany, but I can't get the data to display. Is there... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Completer of QLineEdit get Memory I have q method that shown at below:
void MainWindow::slotResults( const QList<QSqlRecord>& records )
{
ui->lineEditWord->setCompleter(0);
QStringList wordList;
for(int i = 0; i < records.count(); i++)
{
wordList.append( QString("%1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Split a value in one column to two columns I have a column in SQL that I would like to split a column into two columns on select (by a delimiter). For example, the table currently has:
---------
Mary - 16
I'd like two columns as the result of the query:
-------- --------
Mary 16
Thanks for your help.
A: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: can't edit NSTextField in sheet at runtime When clicking on a button, I'd like to display a sheet with an email+password prompt with options to save and cancel. The UI is all set up, the actions are in place, and the sheet appears and cancels as expected. The problem is that I can't edit either of the NSTextFields a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: Programmatically scroll to a specific position in an Android ListView How can I programmatically scroll to a specific position in a ListView?
For example, I have a String[] {A,B,C,D....}, and I need to set the top visible item of the ListView to the index 21 of my String[].
A: The Listview scroll will be positioned... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "165"
} |
Q: Can I get the progress of a git clone command, issued in grit, output to stdout? I'm fairly confident this is either not possible or I'm missing an obvious option, but after consulting grit's Git class, the gist linked in this SO post, and the other grit tagged questions on SO, I'm coming up blank.
I'm using grit fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Spring @Transaction not starting transactions I am using Spring 3 with Hibernate 3. I am trying to configure Spring declarative transaction, but no matter what I try, Spring transaction is not getting started.
Here is my configuration
File: applicationContext-hibernate.xml
<tx:annotation-driven transaction-manager=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: What can cause a program to run much faster the second time? Something I've noticed when testing code I write is that long-running operations tend to run much longer the first time a program is run than on subsequent runs, sometimes by a factor of 10 or more. Obviously there's some sort of cold cache/warm cache issu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: 1->2->3 activities, at third "back button" I want to go to the first one I have a MainActivity, then I call SecondActivity (where I choose a file whose data is given to ThirdActivity.
If back button is pushed, I want the app to go back yo MainActivity and not SecondActivity.
How can I do that?
A: There are two ways... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android AutoCompleteTextView displays suggestions after unrelated button is clicked I am having an issue where my AutoCompleteTextView is showing its suggestions if keyboard focus is in the ACTV and a button in the activity is clicked. The best I can seem to do is call .dismissDropDown() after it appears, but that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the difference in: Import module & From module import module? Here is my program that takes a list a words and sorts them from longest to shortest and breaks ties with the random module.
import random
def sort_by_length1(words):
t = []
for word in words:
t.append((len(word), random(), word))... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jquery ajax function call not made I am having problems calling the function callpage
Here is the code were I am trying to call the function. I got a label that when click I want to call callpage:
$('.gulemenu label, .payload label').toggle(function(){
$(this).find('input[type="checkbox"]').prop('checked',true);... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Split JavaScript array into smaller ones and get frequency of each value I have the following big array:
var divs = [
{class:'A', top:0, left:0},
{class:'B', top:50, left:60},
{class:'C', top:30, left:10},
{class:'D', top:100, left:180},
{class:'E', top:80, left:50},
{class:'F', top:100,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: RoR Sorcery Routing Problem. Please help? This has been driving me mad for two days now and any insight is very much appreciated.
Running Sorcery for authentication and everything seems to be setup fine, however when I go to register a user and enter submit I get a
Action Controller: Exemption caught Routing Error
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CustomValidator not firing in control So here is the issue. I have a DropDownList in a .ascx control with a CustomValidator on it. This control has a ValidationGroup set by a property in the PageLoad. The button that triggers the validation is in a another file that uses this control. The problem is that the server ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: basics steps in converting xml file to html file I would like convert a xml file to a html file. Where i can find a step by step tutorial (for linux) to do this in shell script, or which are the steps to follow. Sorry for the very basic question, but i am an absolute begginer on this. thanx
A: The basic tools to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Make style inline using jQuery Im experimenting with setting up a automatic way of converting clean stylesheet based designs to ugly inline styled design (for a newsletter editor).
Is it possible to get all the styles that applies to an element (div, p, span, h1, h2 etc.) and apply them to that element as inline?
So... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Problem with apache2 rewrite rule (mod_rewrite) I'm having problems with mod_rewrite and apache2. I want to do this:
domain.com/{username}/{everything_else} to domain.com/users/{username}/{everything_else}
{username} is everithing before first "/" and {everything_else} is everything after the first "/" simbol (may... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Output issue Java Ok i have finally worked out this problem but i have one issue remaining, when i am entering the string in upon being asked, IF i put any spaces in the number i enter when the program runs it turns those spaces into the number 9 in my output, if i do not use spaces everything runs fine,any ideas as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MYSQL: Multiple joins I am trying to put together a simple budget and expense tracking tool with three tables.
Very simply, there is a budget table which includes the name of the budget and the budget amount.
There is a table holding commitments, where each commitment has a number (for referencing), a amount and the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: strptime( ) function in [R] to manipulate date/time class So i'm working with a simple data set wanting to plot day x frequency
the date is given in a human-readable format of
> head(gb.day)
[1] Sep 12, 2011 11:59 PM Sep 12, 2011 11:59 PM Sep 12, 2011 11:58 PM
[4] Sep 12, 2011 11:56 PM Sep 12, 2011 11:55 PM Sep 12, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MySQL Subqueries / Joins I have two different tables, products and inventory.
Basically, what I'm trying to accomplish is I need to loop thru every row in my products table and reference the corresponding rows in the inventory table.
My goal is to find out what products have a quantity of 0.
The inventory table has ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Ninject MVC Controller from external assembly I have some controllers in an external assembly, such as:
namespace SomeExternalAssembly.Controllers
{
public class SomeExternalController : Controller
{
public ActionResult DoStuff() {...}
}
}
then within my main mvc assembly I do the following:
rout... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Search Multidimensional Array (Flash As3) using another array for search criteria Long story short: I want to search a multidimensional array in AS3 for (in this example) the location of 6 strings - all of which are stored in another unrelared array.
Long story long:
Once I get the locations (in the multidimensional... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Session Handling without Cookies and URL rewriting I have an old web site(servlets, JSP, and Struts). Currently, session management handled by using cookies. I wanted to redesign this site to make browser independent.
I know there is an alternate - URL re-writing, however, this is not feasible for me to re-write(en... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jquery mobile: how to close a pop up dialog page from code? I am opening a pop-up dialog like-
<a href="routeEdit.php" data-role="button" data-icon="gear" data-inline="true" data-theme="b" data-transition="pop" data-rel="dialog">Edit</a>
Now, from that page, calling a method submit().
How will i close the pop-up f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do you adjust/control the scale in a treemap (using the 'portfolio' library) in R? I am using R and the 'portfolio' library to build a treemap. The scale is defaulting to '-1000 to 1000'.
I need it to be '0 to 1000', for example. I know there is a 'scale' parameter to map.market(), but I can't figure out what to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Forms Authentication expiration + Silverlight I've got a Silverlight application, on which the server-side uses an authentication mode of type "Forms". This authentication expires after some time, which is the behavior we want. The server-side is a .svc web service.
Problem is, if I send a request to the Server side... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use ruby array for a javascript array in erb. Escaping quotes i've found numerous things online for this but they dont work for me. am i missing something.
In my controller i have
@t = ["a","b","c"]
in the erb file that is 'callback' the @t renders like so:
["a", "b", "c"]
i've done... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: dia export to html Is there any way that I can export dia diagram into html (I know that dia exports to various formats such as svg, pdf, ... but I could not find anything that would allow me to export dia to html (with shapes being individual pictures)
A: With modern browsers, you can embed SVG in HTML. This will ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Optimize this query with multiple joins I have a query that keeps timing out in SQL Server. The biggest table in the query only has a few hundred rows. Basically I'm trying to match up data in a bunch of tables with the novaPost field in tblNovaPosts to create a report. How should I change this query to make it run ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: selectedRowInComponent not working I have the following issue (with iPhone SDK) :
The selectedRowInComponent method of UIPickerView returns the correct value the first time it is called and then keeps returning the same value eventhough the PickerView object has been moved.
The first time answer is correct even if I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Antialiased bezier curve with GDI / Winforms - c# .net I'm trying to paint a bezier curve in a sample Winforms application.
I'm calculating the bezier points, and then painting using DrawImage to draw a custom image brush on each point.
However I'm not exactly getting the result I was hoping for - the resulting curv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Stop Executing Method on Event I have a property in a class that, when set, it will change some other properties's values, any of which may raise an specific event for rollback (say RollbackEvent). If such event is fired then all changes made by the original property have been rolled back and now I need that propert... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a loop to print html lists I need to create a html list similar in form to the following:
<ul class="treeView">
<li>
Root Item
<ul class="collapsibleList">
<li>
Sub-Folder 1
<ul>
<li>
Sub-Sub-Folder 1
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I've seen one but... what exactly is a 10g Package? Scenario: I know nothing about packages except that they contain functions and procedures all wrapped into a nice little present. So today I was given this package (rather large) with the instructions of "here, this is broken please fix it".
I finally cleaned it a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Change text of a specific row in uitableview? Is it some how possible to update text of a specific row in uitableview. like for example I have 3 rows A B C . and now I would like to add another row to the table like row with D I know you can do it with reloading the table but that would take a lot of time (there is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7561448",
"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.