text stringlengths 8 267k | meta dict |
|---|---|
Q: Building GSL (GNU Scientific Library) in Windows for use with VS2005 I'm trying to get GSL working in a windows environment for my team and I'm running into many problems.
My team develops in C++ in VS2005, and we'd like to use GSL. I've downloaded the GSL-1.15 tar.gz, and unzipped it, but i'm not really sure what t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: MongoMapper examine query How I can check which query will be send to the MongoDB server when I call a certain association on my model from the Rails console ?
A: turn on MongoMapper logging in your connection string (typically in an initializer file):
MongoMapper.connection = Mongo::Connection.new('localhost', 270... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Symfony2 + DataFixtures + Capifony - FATAL ERROR Doctrine Proxies - Cannot redeclare unserialize() For 2 weeks i'm struggling with fallowing problem.
Im using DataFixturesBundle to load my fixtures to database. Everything works fine.
I decided to use capifony (capistrano) to deploy my application on production.
That... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a way to get the bounds of a TabPage in a Winforms TabControl? I have a Form with only a single TabControl, with many tabs, where each tab has only square buttons side by side. I am trying to make it so that when the user clicks on a tab, the form resizes itself to a size where you can see all the buttons i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: When should I use Satellite Assemblies when it comes to localization? And When should I use Resources Files(.resx)? I'm creating a windows appplication in which I wanna do some localization. That application will also use a DLL that might use a different language(CultureInfo) than the main application. Which one of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Position div to make it visible while scroll If I have a div with an overflow property and a wide (many columns) table within that div how would I position another element inside the first container that will remain visible withing the div as I scroll to the right/left while I view table data?
<div id="mainContaine... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: scripting or programming language?
Possible Duplicate:
When is a language considered a scripting language?
what is the difference between programming and scripting languages? I have worked on C/C++ for a while and now I started looking at Python, I was told it is a good scripting language this post.
But as I'm l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Monodroid - passing data to ListView according to GREF limit C#, Mono for Android. I need to output a large portion of combined data into ListView. To achieve this, I use the following obvious approach with Adapter:
class ItemInfo
{
public string Id;
public string Name;
public string Description;
pub... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a JTable Column changes it color According to Specific Values from the Database I'm Building a Client/server Desktop Application.
I wanted to know if it is possible to make a JTable Column Changes its color according to specific values from the database (oracle).
*
*Red= "Refused".
*Green="Accepted".... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iPhone App Running Slower on Simulator I am currently working on an iPhone app where I use 2 main timers that make the game work as one piece. The only problem I've encountered so far is that when I run it on the iOS Simulator from Xcode the game seems to lag a bit, and all of the animations run slower. I'm not sure... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Disable arrow keys from scrolling only when user is interacting with I have added an event listener in JS to listen for keyup/keydown events, I am attempting to move a sprite across the HTML canvas. I have that mostly working, but the page is being scrolled when the user presses the arrow keys.
I am returning false... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603141",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Preserving part of a canvas When drawing on a HTML5 canvas element, is it possible to leave part of it untouched? Can you take part of the image, and then redraw that part if its not directly possible?
The only solution I have thought of is to draw to a seprate, smaller canvas and then copy that over to the main can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: User cannot see TFS2010 test results in VS2010 I have a few lists of tests that I setup for a project that builds to a website. I have a bunch of unit tests and integration tests that runs before deploying the site. I have one user that clicks on the failed build in Build explorer but the Test results(that I can see... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android Compressed Texture Loading (GL Extensions Missing) When trying to load an ATITC, S3TC, or PVRTC compressed texture in Java on Android (glCompressedTexImage2D), which GL constants should be set for the third parameter?
For example...if I wanted to load a PVRTC texture that supports alpha.
Am I supposed to use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: javascript unicode property from c# Im using this code:
$(document).ready(function () {
var breadCrumps = $('.breadcrumb');
breadCrumps.find('span').text("<%= ArticleSectionData.title %>");
});
title is a property which has values encoded in unicode (I think). These are Greek letters. On the local IIS devel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Check credentials against an LDAP server Assume an application that can be configured to use an LDAP server - be it ActiveDirectory, or OpenLDAP etc. - for authenticating its users and retrieving some additional information about them for authorization purposes. The way the application binds to the LDAP server is al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to cope with extension-less source files and tools that rely on extension information? C++ code I'm working with is happily using the "no extension needed for header files" rule. This gives me a headache when using tools such as cscope and sloccount on directories containing these files, because these tools igno... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does this query require dynamic sql? SQL Server I want to select the parameters of a stored procedure and then check whether each parameter is null or not in a loop.
The problem I'm having is that when I want to evaluate the variable in the IF statement, it is not being evaluated correctly. I want to evaluate each p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MVC validation in model requires database repository I'm writing an MVC app using the repository pattern.
It is a financial system which has invoices in them. I have validation in the Invoice model:
#region IValidatableObject Members
public IEnumerable<ValidationResult> Validate(ValidationContext validation... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is it possible to use FB Connect in an iframe on a 3rd party site? I have an iframe on a 3rd party site. Inside the iframe is my application, which users authenticate to using FB Connect. I am using the omniauth gem with my Ruby on Rails site to handle the connection to Facebook.
It works seamlessly if a) you are al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is different between a static class that has static method, and a a regular class that has a static method? Example:
public class person
{
public String Name {get;set;}
}
public static class FactoryStatic
{
public static person Create(string name)
{
return new person() {Name =name};
}
}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Updating Varchar Field So That Number Within Field is to 3 Decimal Places This is a fairly odd question... I believe it would involve some sort of regex with MySQL.
Say I have a query on a table as such below:
>select description from foo;
----------------------------------
| description |
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Microprocessor vs discrete FET clock speed How do microprocessors achieve such high clock speeds when discrete FETs can only achieve approx 20MHz? Do they have a large number of parallel sequential logic systems?
Thanks in advance.
A: Single transistors can switch much faster than the clock of a microprocessor. One... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to submit the form via post and open the target page in an iframe I have a form which redirects to a new page index.aspx after posting .However instead of opening the new page in a new window,I would like to open it as an iframe so that it remains in the current window
How do I go about that. The current code i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Add a new trusted CA to Netbeans SVN manager So I have a private SVN server for my company that has its own self signed certificate, it was signed by the company CA, I have the CA certificate and I want to add it to the list of default trusted CAs in the Netbeans SVN client. I have tried adding it to the windows tru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can't install glib with cabal on Windows - during the configure step On windows 7 x64,
I tried:
1. install gtk+ all in one bundle 2.16
2. add MinGW's bin address to PATH Environment variables
3. add GTK+'s bin address to PATH Environment variables
On command line execute the:
cabal update
cabal install gtk2hs-b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Getting Time intervals between operations during parsing in iOS I am parsing an xml and I would like to know how I can keep track of the time it takes to do the same.
I tried to use alerts, but it kept crashing my app due to the large number of alert popping up.
Is it the same if I try to run my project on my iPAD t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails 3.1 authenticity_token + uploadify I am trying to use Uploadify with my Rails 3.1 app, i've went through all the steps (middleware, initializers, config ...etc) and i think they are all working good but for one thing, my authenticity token is being "evaluated" somewhere in the process and the (+) plus signs ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Setting correct time settings on Liferay The time on my Liferay install is incorrect.
Where do I go to change the time settings?
I have Liferay 6 running on Glassfish 3.
Thanks!
A: If it is question on incorret time zone go to
Control panel -> Portal settings - Display settings
and change zime zone.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7603195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can I prevent Excel 2003 from checking every hyperlink in a document when the document opens? I have a spreadsheet that has several worksheets, each containing a hundred or so hyperlinks to other documents on our network (file:////server/share/path/to/spreadsheet.xls). Opening these files within Excel 2003 takes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: After copying my asp.net website I get 500 and 404 errors?
Possible Duplicate:
Database Deployment issues
I followed the steps in this video:
http://www.asp.net/iis/videos/developing-and-deploying-in-a-shared-hosting
I just open my website on VS2010. then use the copy tool and I create a new directory and copy my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trouble tracking down a Bus Error/Seg Fault in C++ and Linux I have a program that processes neural spike data that is broadcast in UDP packets on a local network.
My current program has two threads a UI thread and a worker thread. The worker thread simply listens for data packets, parses them and makes them availa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: CSS gets all screwed up in IE(like half of the CSS didn't get loaded) I have a site that gets completely screwed up in IE, and I was wondering if anyone could help me track down what's wrong with it.
The page in question is http://eksai.com/testing/
When I open it in IE it's like half the CSS code didn't get loaded... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Changing Web.Config in Production Environment My client insists not to store prone-to-change configuration settings in the Web.Config file for our webservice (WCF). His reasoning is that he will have to deploy the application every time he wants to change this or that setting in the configuration file. He, then, tol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bluetooth: program stuck at connect() method I'm programming a simple Bluetooth client to send and receive text messages throught RFCOMM as a serial port. I had a look at the Android SDK tutorials and did it in the same way: an Activity which calls a thread to make the connection, and once done, another thread to ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Node server, Socket.io 'io is not defined'? I've followed the exact same steps which have always previously worked for me, create application through express, place the module dependencies in the node_modules folder. It appears that the socket.io client-side javascript file isn't being found.
(I've looked at other p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: SMJobBless - documentation on when it asks for admin password I cannot seem to locate any documentation on this, so hopefully someone can confirm the behavior I am seeing with Apple's sample SMJobBless code.
I was under the impression that it would only ask for an admin password if it detected a that a new version o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: declaring a pointer in c# to point to unmanaged structure in c dll I am stuck with one issue that I have not been able to solve for two days.
The error message looks as below:
Cannot take the address of, get the size of, or declare a pointer to a managed type
('Control_Vertilon.Imports.PHOTONIQ_CONFIG_TABLE')
Below ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dropdown menu appearing beneath content area I have two relatively positioned areas on my page, the content and the header.
The content has a higher z-index than the header - this is a requirement for the structure of the page.
I've simplified the HTML and CSS to illustrate what I'm trying to do here:
http://cb3.sec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CSS Image button styling I'm trying to accomplish something like this
Where the buttons are centered in the middle of the page and separated by 50px
Here is what I did.
HTML
<div class="btn btn_tours"><a href="maps.html">Maps</a><span></span></div>
<div class="btn btn_maps"><a href="dbtest.html">DB Test</a><s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ColdFusion ORM cannot find CFCs when using virtual directory I have some entities with relationships:
component name="Store" persistent="true"
{
property name="Products" fieldtype="one-to-many" cfc="Product";
}
component name="Product" persistent="true"
{
property name="Store" fieldtype="many-to-one" cfc="S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: DLL not found in distributed application I've written a pretty simple Windows Form Application that calls an unmanaged DLL to perform most of the actual calculations done by the program. The program runs fine in Debug and Release modes. It also installs correctly and runs on the development computer.
The problem a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dynamic callback method for System.Threading.ThreadPool.QueueUserWorkItem C# What I am trying to do is be able to pass a function reference to another function and have it used as a callback method for a System.Threading.ThreadPool.QueueUserWorkItem.
See in method D() the 'Any' parameter.
I need to be able to pass ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C++ and QML integration, can't seem to access properties Ok. So I thought i had understood this completely, but obiously I have done something wrong and I can't for the life of me understand what. I've followed the tutorials to the letter (i checked) but can't get it to work, so here, let me ask a simple question.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: HTML5: manipulating browser windows Does HTML5 give the ability to directly manipulate browser windows (like switching a window to the foreground, closing it, getting its name and contents, etc) even if my window doesn't "own" them?
I realize this is a security risk, but I would like to at least do this on my local ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bidirectional one-to-one mapped to multiple fields I have a domain class called Flight that represents a flight that has been flown. I have another class called Movement which can represents either a departure or an arrival and contains a date and time and the airport at which the movement occured.
@Entity
public cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Star schema modeling - many-to-many I'm building a data warehouse based on NFL statistics for educational purposes as I learn this paradigm - I have the following modelling problem
Players can play for different teams different years and similarly coaches can coach different teams different years of their career; pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why does (1 >> 0x80000000) == 1? The number 1, right shifted by anything greater than 0, should be 0, correct? Yet I can type in this very simple program which prints 1.
#include <stdio.h>
int main()
{
int b = 0x80000000;
int a = 1 >> b;
printf("%d\n", a);
}
Tested with gcc on linux.
A: 6... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How long will a session variable last if you don't unset it? When I store a variable in a session (in php), how long will that variable linger in that file? Will it be there until someone unsets the variable or deletes the file?
update: so it is session.gc-maxlifetime setting that is set in php.ini file. You can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Select statement taking a long time Hi I have a method like:
public JsonResult GetActivities(int id)
{
var activities = ActivityRepository.GetAll().Where(x => x.AreaId == id);
var jsonData = new {
rows = activities.Select(q => new {
Id = q.Id.ToString(),
q.Descriptor
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Displaying .ai files in Java I've been talking with an artist and she is planning to send me .ai files for a project I'm working on that is using Java for its front end. Unfortunately, I'm having a lot of trouble searching for this issue because search engines are replacing .ai with "a" (even when I specifically say... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: VB.NET DOEVENTS I have a VB6 app, which does a lot of processing in the form_load. A call to DoEvents ensures that the form loads before the processing is complete. However,this does not appear to work in VB.NET i.e. in the following code, the loop finishes befoRe the form is loaded, even though I have called DOEV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Connecting to SQL Server 2008 database using asp I tried a lot but I am not able to deal with this problem. I wasted last 2 days without any significant result. Hope I will get some help here.
I wanted to connect to a SQL Server 2008 database using ASP. I installed SQL Server 2008, created a database, but I am not a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I write a PDF file from NSData source I have a method that returns NSData from a CGPathRef like so ...
+ (NSData *) createPDFDataWithCGPath: (CGPathRef) path mediaBox: (CGRect) mediaBox
{
CFMutableDataRef data = NULL;
if (path) {
CFAllocatorRef allocator = NULL;
data = CFDataCreateMutable(allocato... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I get Android Marketplace to recognize my updates? I updated my Android app, and uploaded it to the Android Marketplace, increasing the VersionCode and VersionName in my manifest file. But it never shows up on my HTC Droid Incredible as there being an update available. Is there something else I have to do?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TortoiseSVN on Windows Server 2008 - Error Option 200 when checking out I have recently setup a repository on one of my servers with TortoiseSVN.
I have created a repository in the following directory:
/C:\inetpub\wwwroot\Dev
On my local machine, when I try to check out this repository from the following URL, which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pass column in INSERT query I want to update and insert to (in 1 query) my table. I've 1 new row and 2 old records.
I use this query (topic):
INSERT INTO table (id, title, url) VALUES (1, "test", "http://"), (2, [it is an old record. I don't want to change its title], "https://"), (3, "helloworld", "mms://") ON DUPL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Use in XML schema's complexType? I have the following XML complexTypes defined:
<xs:complexType name="loss">
<xs:all>
<xs:element name="lossCause" type="xs:string"/>
<xs:element name="lossDate" type="xs:dateTime"/>
<xs:element name="lossDescription" type="xs:string"/>
<xs:element... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Simple Webserver for Windows for any Scripting Language I am searching for a simple webserver that runs on windows and which runs code written in a scripting language. A requirement I have is that it supports HTTPS.
On Linux I could use a simple python script and load the OpenSSL module, but that does not work on Wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Minimum item processing time for using Parallel.Foreach Suppose I have a list of items that are currently processed in a normal foreach loop. Assume the number of items is significantly larger than the number of cores. How much time should each item take, as a rule of thumb, before I should consider refactoring the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I upgrade from Ruby 1.8.7 to Ruby 1.9.2 for Rails 2.3.8 app? I have searched all over and cannot find anyone with the same problem.
I am testing upgrading a large Rails app running Rails 2.3.8 with Ruby 1.9.2 using rvm and nginx+passenger (currently running on 1.8.7 in production).
I'm using the mysql2 ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Perform action based on hash tag in URL On my page, I have:
<a href="#1">Link 1</a>
<div></div>
<a href="#2">Link 2</a>
<div></div>
<a href="#3">Link 3</a>
<div></div>
Say a user goes to this page:
http://www.mysite.com/vendors#3
Then I'd like to add a css class to the link with href="#3". How can I do that with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Confused about initialization of SQLite database in Android To implement database access in my application I followed Lars Vogel tutorial, but I'm very confused about a couple of things...
The TodoDbAdapter class has the following constructor and open method:
public TodoDbAdapter(Context context) {
this.context ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Open source JavaScript interpreter written in Scala Is there any JavaScript interpreter written in Scala?
A: For parsing the actual code, the best thing to start with would probably be parser combinators: http://www.codecommit.com/blog/scala/the-magic-behind-parser-combinators
Beyond that you'd need to then build t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Jquery Cycle: Can't navigate through slides I'm trying to make a slider with jQuery Cycle where, when you click on one of 5 thumbnails, you switch to the right slide in the slider. Those thumbs are external to the slider.
Thing is, for some reason, the startingSlide argument doesn't work and just doing .cycle(number... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JIRA - Send email to anonymous user I'm trying to figure out a way to send an email to an anonymous user when one creates an issue through the email. What I need is for this anonymous user to receive a notification email when the issue was opened,commented and closed.
According to their official documentation this c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Set JavaScript 'this' to an element on click I am looking for a way similar to jQuery's .attr() method, where when I click on an element (a li tag in this case) I can get the tags attributes.
So my question is, how can I make a function that when an li is click, the this variable in the function is equal to that DOM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: POST/REDIRECT/GET vs custom implementation I have some forms, and am currently using an implementation as described below:
<form action="/formpost.php" method="post" name="form1" id="form1">
<input type="hidden" name="to" id="to" value="__COMMENT1" />
<!-- rest of form -->
</form>
__COMMENT1 refers to the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android ListAdapter or Possibly ListView Updating Text at Runtime Hello folkes I have this little problem for which I cannot find a suitable answer looking around the web and on these forums. Please don't direct me to articles in which people have requested list view text color changes at run time, as I read lots of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cURL script works when run from one server but not another I recently moved a cURL script from one server (Ubuntu) to another (Mac OS X). The script worked when run from the Ubuntu server but it doesn't work on the OS X server. I get error 35 and this:
error:14077417:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Removing elements after DOM is ready I have a few fields that a user can fill in (e.g., name, number, address), then they can click "Add" which creates a div that displays the information they just entered with a "Remove" button (a href) for each entry. The problem I'm having is that once the DOM is ready, the remov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Architecture for Phone to Cloud to Tablet I want to send messages from an Android handset (and possibly from embedded devices) to the Cloud, and then from the Cloud to an Android app running on a Tablet.
Does anybody have ideas/suggestions for the architecture? Gotchas? Recommendations on what or which cloud service... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unknown Padding on Containing Element There is what appears to be a 2px bottom padding on the image to the containing element. I am able to resolve this by removing the z-index. I need the z-index arrangement however to provide an inset box shadow on the image.
It can be seen here: http://jsfiddle.net/JkLAP/
A: jus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: $.get() function called three times when triggered, how to prevent it I have got main html page called myitem.html, then I used ajax to display the itembox which is loaded from itembox.php file, And When I scroll down inside the itembox, the new content from the new.php file are appended in the end of the itembox, H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java ee api is missing on project classpath while using httpunit for servlet testing in maven I want to run the servlet testing example available here using maven. Javaee web api should be declared as provided:
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to properly encode contentUrl in MPMoviePlayerController to allow for spaces? I'm using the MPMoviePlayerController to play video in an iPad app. When I set contentUrl to a local file with a space in the name, the player won't acknowledge or play the file, not even an error. IF I urlEncode the path, it fails w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Database Design: Categories in their own table? I am redesigning a few databases into one encompassing database, and I have noticed the previous designer(s) of the old databases like to store categories in their own tables. For example, say that there is a table boats(bid: integer, bname: string, color: integer), an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Verify HTTP Post Notification from Polldaddy with PHP I have a PHP script that gathers variables from a HTTP Post notification sent by PollDaddy. See here for more info on PollDaddy's API: http://support.polldaddy.com/http-post-notifications/
I am worried that if someone finds the URL to my PHP script, it could pote... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to unit test on Customer Transformer implementation of Solr How can I do unit test on Customer Transformer implementation of Solr ? Thanks
A: A starting point would be to check the Transformers test @ http://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_3/solr/contrib/dataimporthandler/src/test/jav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Any good cocoa libraries that include both salt and IV AES Encryption? I am just polishing up my encryption tool, but I noticed I am missing the salt, which is importnat in order to make the encryption more secure. I am using some built in cocoa methods, but they don't include either. I don't want to write this from... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Facebooks new auth dialog not working? Not sure if Facebooks new auth dialog (beta) as described here is working. I have enabled it in my apps advanced settings, but it still shows the old dialog.
Url is constructed like this:
https://www.facebook.com/dialog/permissions.request?app_id=XXX&display=popup&next=XXX8&res... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a web template editor with rails I'm pretty new to rails, and i'm trying to build a web template editor in rails where users can come in and create their websites without having any programming knowledge.
something similar to:
http://imcreator.com/
muse.adobe.com
www.wix.com
www.squarespace.com
I'm w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Solr query based on a string field's subset I'd like to send a string to Solr and let it answer with all records which are a subset of that string.
The string I would send has integer numbers separated by spaces. I wanna make solr give me all records where a specific string field is a subset of the numbers I provide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I display "Only X left Threshold" on my Magento product grid? I’m using a custom template I created, and I’m trying to display “Only X left Threshold” set at 1 on the category list(grid) page.
Magento ver. 1.4.1 -
Can anyone help me out?
EDIT
Thanks Alan, solved.
To those who need this for configurable produ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: UIPicker crashing My UIPicker is crashing if the NSArray of objects is greater than 3, with the following error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSAutoreleasePool pickerView:titleForRow:forComponent:]: unrecognized selector sent to instance
Here is my code for the f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a rounded corner image in Java I want to make a image with rounded corners. A image will come from input and I will make it rounded corner then save it. I use pure java. How can I do that? I need a function like
public void makeRoundedCorner(Image image, File outputFile){
.....
}
Edit : Added an image ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Compiling Objective-C files into object files (.o) I have been tasked to create object .o files for an iOS project in Xcode 4. I have tried the following command which works on NSObject classes
gcc -c implemtationfile.m
but if I try to run the command on a class inherited from UIViewController for example I get a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: MVC 3 - Display collection of items in rows I have a collection that I'm displaying, like so:
@foreach (var employee in Model.Employees)
{
<a href="#">@employee.Name</a>
}
This just displays everything in one long row. I'd like to display the collection in rows of 3, so that I have 3 items displayed, break to a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: QT Widget Slot Call Not Activated by Separate Thread Signal I have 5 classes that interact (maintaining professionally, not author). My problem is that the code that is emitting the signal (there is just one, code below) is never activating the slot (MyWidget::HandleMeasurementChanged). This system has a large deg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to avoid a switch block with 300 cases? I am trying to add 300 Challenges into my program, but only display them if the CompletionValue.IsChecked = false;
If you were creating this program. How would you store the Challenges?
I am using a switch but having 300 cases is overkill, is there a better way?
Any reco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Why does std::fopen and std::filebuf::open trim trailing space characters on Windows? I stumbled on a strange problem when trying to port a piece of C++ code from MSWindows to linux (Mint10). I discovered that there was a little typo in a hard-coded filename : a trailing space char (\x20).
The code worked like a ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Passing JSON with Django I'm passing information to a Processing sketch from a Django backend. The problem arises with "lectures", it seems that it is not serializable. I'm missing something very basic methinks.
def get(request, last_update = None):
timestamp = time.time()
if last_update:
last_upd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android application need to detect if the user came back from Google Maps Intent I'm making an App and I use the Google Maps navigation
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("http://maps.google.com/maps?saddr=" + mLat + "," + mLng + "&daddr=" + mLatitude + " , " +... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get OpenEars to recognize spoken numbers on iOS? I'm looking for API to convert spoken items into text on iOS, but mainly for numbers and letters like 1, 2, 3, 4 and a, b, c, d.
I've tried OpenEars as many people suggested, but it appears to only support certain ords, such as "GO FORWARD BACKWARD LEFT RIGH... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to convert date/time strings into Java Calendar objects?
Possible Duplicate:
How to convert a date String to a Date or Calendar object?
I'm in a pinch here...
I have a series of date/time strings formatted like this:"9-29-2011 9:05 PM PDT"
and I need to convert this string into a java Calendar object.
Once I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JPA root get in Hibernate not working with IdClass attribute I'm trying to do a multiselect on an entity with an IdClass. I can't get a column that is mapped as part of the ID. It's clear why I can't, as none of the columns that are marked as @Ids are a part of the attributes in the EntityType that hibernate is crea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VIM Insert PHPdoc automatically Is there a way to insert PHPDoc in VIM using a command or key combination?
For example, I have a class:
class MyClass
{
public function __construct() { }
public function __destruct() { }
/* command here to insert PHP doc */
public function abc() { }
}
I would like to inser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Rails after_save callback being called multiple times I'm trying to inject an after_save callback via a mixin, but my rspec tests are telling me that the callback is being called twice when the create method is called. Why is the method being called twice?
The following rspec test fails
it 'should call callback' do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How should I test class objects inside mailer files? I am using Ruby on Rails 3.1.0, rspec-rails 2 and DelajdJob gems. In order to test if an e-mail is sent when a user signed up I am trying to test a delayed email but I have some trouble\doubt (not directly related to the DelayedJob gem).
In my controller I have:
d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Determining visible area/invisible area of a masked object I have a movie clip named circle_mc(see the image on the link below) and a mask object(movie clip) which determines visible area of the circle. User can change the portion which is visible (extend the red area and make it red+blue, gray area is invisible). I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7603456",
"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.