text string | meta dict |
|---|---|
Q: Remove HTML tags from a String Is there a good way to remove HTML from a Java string? A simple regex like
replaceAll("\\<.*?>", "")
will work, but some things like & won't be converted correctly and non-HTML between the two angle brackets will be removed (i.e. the .*? in the regex will disappear).
A: If the u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "477"
} |
Q: Does Visual Studio 2008 support classic ASP development? Does visual studio 2008 support classic asp development?
It's been years since I created a classic ASP website and I was wondering if I can use my current toolset or if I have to resign myself to notepad.
Thanks
Matt
A: I know VS 2008 now includes Intellisens... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Best way for R&D company to get out of pure "D" mode? I work for an R&D company in the energy business. We've developed some successful products, but now seem to be spending all our time fixing issues relating to those products. We don't seem to have any time to work on developing new products.
Does anyone have an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do you OR two LIKE statements? I have tried the following two statements:
*
*SELECT col FROM db.tbl WHERE col (LIKE 'str1' OR LIKE 'str2') AND col2 = num results in a syntax error
*SELECT col FROM db.tbl WHERE page LIKE ('str1' OR 'str2') AND col2 = num results in "Truncated incorrect DOUBLE value: str1" and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: Is it possible to listen for changes to an object's attributes in JavaScript? I'm working on a fiddly web interface which is mostly built with JavaScript. Its basically one (very) large form with many sections. Each section is built based on options from other parts of the form. Whenever those options change the new... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: How to customize sql server agent jobs I need to be able to schedule a job on the 10th of each month and have it run for a set number of days or until a specified date.
Is there any way to customize sql server agent jobs using some sort of API or something?
Thanks.
A: You can accomplish using the SQL Job Schedule p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using WPF in IIS7 or a windows service? We currently do a fair amount or dynamic image generation of png's in ASP.NET using the GDI+ classes in .Net with a no major issues. I had hoped to take advantage of many of the new drawing, FormattedText, RenderTargetBitmap, optimization algorithms, etc. in WPF in our ASP.NET... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I customize django admin change pages to return to a specific URL on "save" I would like to use the django contrib.admin pages to edit my models, but call individual change page from my own views, an then return there after user clicks "save".
Ideally this should happen by appending the return URL to the adm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Which version of C# (and .Net) should I begin with? I'm trying to bring myself up to speed on C#, having never developed for it before. In a previous question I asked about good book review sites, and through that I found a very positive (beginner-oriented) review for "Essential C#" but it was for a previous edition... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Regex to find static (non final) variables I am trying to do a search in my Eclipse (Java) workspace to find all instances of static variables that are not final.
I tried various regexes but they do not result in any matches. Can someone suggest a regex that will match all lines containing static and not containing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: post_save signal on m2m field I have a pretty generic Article model, with m2m relation to Tag model. I want to keep count of each tag usage, i think the best way would be to denormalise count field on Tag model and update it each time Article being saved. How can i accomplish this, or maybe there's a better way?
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Replace keys in an array based on another lookup/mapping array I have an associative array in the form key => value where key is a numerical value, however it is not a sequential numerical value. The key is actually an ID number and the value is a count. This is fine for most instances, however I want a function tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "411"
} |
Q: What's the best practice for changing working directories inside scripts? Do you think changing directories inside bash or Perl scripts is acceptable? Or should one avoid doing this at all costs?
What is the best practice for this issue?
A: I don't do this often, but sometimes it can save quite a bit of headache. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Which open source project would you recommend contributing to? What open source projects would you recommend as a good place for a starting open source developer? Factors that I think would be important are some obvious ones like well written code and a community that is helpful to newbies. But it might be nice if t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Download xml.gz file with HttpsURLConnection I am trying to download an xml.gz file from a remote server with HttpsURLConnection in java, but I am getting an empty response. Here is a sample of my code:
URL server = new URL("https://www.myurl.com/path/sample_file.xml.gz");
HttpsURLConnection connection = (HttpsURLC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I determine CPAN dependencies before I deploy a Perl project? Does anyone have any suggestions for a good approach to finding all the CPAN dependencies that might have arisen in a bespoke development project. As tends to be the case your local development environment rarely matches your live one and as you b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: SharePoint List Subscriptions If I have "Full Control" permission on a list, is there a way for me to see all the individuals who have an alert set for that list?
Some people in my department are better at managing their own subscriptions than others, and this is a question I have received from several team leads. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I encrypt a querystring in asp.net? I need to encrypt and decrypt a querystring in ASP.NET.
The querystring might look something like this:
http://www.mysite.com/report.aspx?id=12345&year=2008
How do I go about encrypting the entire querystring so that it looks something like the following?
http://www.my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: An invalid '/' or '\' was found in the Path parameter for the MapPath method Like the title says, the error I get is the following:
An invalid '/' or '\' was found in the Path parameter for the MapPath method.
I'm using ASP classic and basically trying to access a folder on one of our servers. I Googled around and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I export the SQL statement from a DTS object? I'm running SQL Server 2000 and I need to export the SQL Statement from all the DTS objects so that they can be parsed and put into a wiki documentation if needed.
Is there a way to do that?
maybe dumping each DTS object out into a text file with the object name... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Programatically read the Documentation section of a WSDL in C# i am using a WSDL file to create a the proxy class file, this service has a big Enumeration. the description for each enum value is in documentation section, how can i programatically read that section?
A: A WSDL file is always an XML file, so yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery autocomplete in ASP.NET webforms? Has anyone used jQuery to populate an autocomplete list on a textbox using ASP.NET webforms? If so, can anyone recommend a good method? From my reading so far, it seems like most people are using delimited lists rather than JSON to bring the items back. I'm open to any ideas ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Windows Azure for web developers vs Amazon EC2 I just watched the Windows Azure intro video and it left me feeling like it was a front end shell for hosted IIS instances. Can anyone who know more (possibily that was part of the beta) shed on why you would use this vs. EC2.
it seemed easy enough but really didnt give... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: PHP w/ Zend Debugger on OS X 10.5 I have OS X 10.5 set up with the precompiled versions of PHP 5 and Apache 2. I'm trying to set up the Zend Debugger, but with no luck. Here's what I did:
*
*I downloaded ZendDebugger-5.2.14-darwin8.6-uni.tar
*I created the directory /Developer/Extras/PHP and set the permission... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Making a custom Sin() function in Java I have to create the sin function from scratch in my Comp Sci class, and I am getting close to a solution. However, I am still having a few problems. If I put in a value of .5PI or less it works, but otherwise I get the incorrect result. Here is the code I have so far:
double i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is the meta type="title" tag needed and what's the best format for the title tag? I have seen some websites use the following tag:
<meta type="title" content="Title of the page" />
Is it needed when you have a <title>?
Also, what's the best formatting for a page title? Some ideas:
*
*Page Description :: Company ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Oracle Scheduled Jobs I've got a lot of similar oracle jobs I need to create, and I'd like to do it programatically.
Where does the Oracle store the job library (schema/table)?
(yes, I know I might be running with scissors)
A: For DBMS_JOBS you can use...
dbms_job.submit(
JOB OUT BINARY_INTEGER,
WHAT IN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Mandatory cloneable interface in Java I'm having a small problem in Java. I have an interface called Modifiable. Objects implementing this interface are Modifiable.
I also have a ModifyCommand class (with the Command pattern) that receive two Modifiable objects (to swap them in a list further on - that's not my ques... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I maintain transparency in an image from a Http Handler when using Graphics.DrawImage? I've got a series of GIFs that I need to crop on the fly, I'm using a HTTP Handler in C# so I can better encapsulate the code - provide caching for the result etc.
Currently, when I draw the existing image to a new Image vi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Random points inside a parallelogram I have a 4 side convex Polygon defined by 4 points in 2D, and I want to be able to generate random points inside it.
If it really simplifies the problem, I can limit the polygon to a parallelogram, but a more general answer is preferred.
Generating random points until one is insi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: How to execute an Oracle stored procedure via a database link Can I call a stored procedure in Oracle via a database link?
The database link is functional so that syntax such as...
SELECT * FROM myTable@myRemoteDB
is functioning. But is there a syntax for...
EXECUTE mySchema.myPackage.myProcedure('someParameter')@... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: log4net open database connections I am using the AdoNetAppender to write to a SQL Server 2005 database table. I have bufferSize set to 1 so that entries are written immediately.
My DBA is concerned that log4net is leaving its database connection open. We have ~50 connections to the database today but only 22 log ent... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Which are the bare minimum source files that I should upload to a CodePlex project? I'm looking to revamp an old open source project I've started a couple of months ago. I'm a tidiness fanatic, I really try hard to "code like a girl" whenever I can. That's why I've been policing my code with StyleCop, which makes me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamically invoke properties by string name using VB.NET I'm currently working on a project where a section of the code looks like this:
Select Case oReader.Name
Case "NameExample1"
Me.Elements.NameExample1.Value = oReader.ReadString
' ...
Case "NameExampleN"
Me.Elements.NameExampleN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: autoboxing and performance I have an application where I perform hundreds of thousands of calculations. Currently all of our values are Doubles. I am utilizing JFormula engine for most of the calculations, and have noticed the api takes a double parameter, so there is some autoboxing taking place when I pass in a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Asp.net Usercontrol LoadControl Issue I am having an issue when using LoadControl( type, Params ). Let me explain...
I have a super simple user control (ascx)
<%@ Control Language="C#" AutoEventWireup="True" Inherits="ErrorDisplay" Codebehind="ErrorDisplay.ascx.cs" EnableViewState="false" %>
<asp:Label runat="serve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Would using Stack is better than List in terms of memory usage with .NET So in a .NET app , i got about 2 million items that i need to hold them in memory for processing , 1 by 1, would holding these items in a Stack collection , is better than holding them in a List collection, assuming that the memory used by the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there an easy way to use a base class's variables? When you have a derived class, is there an simpler way to refer to a variable from a method other than:
BaseClass::variable
EDIT
As it so happens, I found a page that explained this issue using functions instead:
Template-Derived-Classes Errors. Apparently it ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to print really big numbers in C++ I have this code
#include <iostream>
using namespace std;
int main(int argc,char **argv) {
unsigned long long num1 = 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: in a web application, how do keep the database structure up to date? If your data change after the application is deployed, how do you keep the database up to date?
I mean, you can add or remove table, thats a simple task. Altering an existing table can be trivial too. But if you change the structure often, how do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Linker Errors C++ Visual Studio 2005 I'm getting a whole bunch of linker errors in Visual studios for methods I'm not even calling directly. I'm a java developer by day, but I have a project I need to do in C++, intended to run on windows machines. Hence, I'm stuck messing about with Visual Studio.
Bascally, I have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is a good RDF library for .net? I'm looking for a library that can deal with RDF and OWL data.
So far I have found:
*
*semweb (no owl support for all I know)
*rowlex (more of a 'browser' application)
Your recommendations:
*
*LinqToRdf (very interesting, thanks mark!)
A: I produce an open source libra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Why use Hashtable.Synchronized? From the MSDN documentation:
"Synchronized supports multiple writing threads, provided that no threads are reading the Hashtable. The synchronized wrapper does not provide thread-safe access in the case of one or more readers and one or more writers."
Source:
http://msdn.microsoft.com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Sharepoint, Create View, Filter Properties I'd like to create a view in Sharepoint that has a filter based on a date field.
The filter should be >= Today and <- Today + 90 days.
I found a reference to the
<Today OffsetDays=”5” />
CAML function and could probably use this by setting the view using the API.
My... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: vmware and performance for developing Curious, how many of you develop under a VMware environment?
Is it popular for employers to setup vmware for everyone?
Seems like a great way to rollout new desktop computers and perform backups etc.
Just worried about the performance though (PC vmwares).
Update
I was just looki... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: WPF ComboBox binding not working as expected I want my WPF ComboBox's ItemsSource property to be bound to MyListObject's MyList property. The problem is that when I update the MyList property in code, the WPF ComboBox is not reflecting the update. I am raising the PropertyChanged event after I perform the update, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Web pages and barcode fonts I'm working on a small app where I can generate a list of barcodes. I have the correct fonts installed on my computer. Right now I am printing them directly to a webpage and it works properly in Chrome and IE 7, but not Firefox. Does anyone know what Firefox would be doing differently tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Expanding a message template I have a set of templates for emails that my app sends out. The templates have codes embedded in them that correspond to properties of my business object.
Is there a more elegant way than calling
string.Replace("{!MyProperty!}", item.MyProperty.ToString())
a zillion times? Maybe XMLT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to Let WPF Control Animation Complete before Removing from Visual Tree I have a scenario where I would like to animate a WPF control right before it is removed from the visual/logical trees. The control is custom, and the control style, including animations would be supplied by a designer (i.e. I don't know the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Anyone using Python for embedded projects? My company is using Python for a relatively simple embedded project. Is anyone else out there using Python on embedded platforms? Overall it's working well for us, quick to develop apps, quick to debug. I like the overall "conciseness" of the language.
The only real prob... | {
"language": "en",
"url": "https://stackoverflow.com/questions/240996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: How to get a value from the last inserted row? Is there some way to get a value from the last inserted row?
I am inserting a row where the PK will automatically increase, and I would like to get this PK. Only the PK is guaranteed to be unique in the table.
I am using Java with a JDBC and PostgreSQL.
A: The sequence... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "59"
} |
Q: Possible to integrate Google AppEngine and Google Code for continuous integration? Anyone have any thoughts on how/if it is possible to integrate Google Code commits to cause a Google AppEngine deployment of the most recent code?
I have a simple Google AppEngine project's source hosted on Google Code and would love ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: MyProject.MyClass - vb.NET custom controls In a Visual Basic project, I created a homemade TabControl in order to fix a visual bug. The control works properly, however whenever I modify the form using my tab, Visual Studio adds MyProject in front of the control in its declaration:
Me.tabMenu = New MyProject.MyClass... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Question mark characters display within text. Why is this? I have a backup server that automatically backs up my live site, both files and database.
On the live site, the text looks fine, but when you view the mirrored version of it, it displays '?' within some of the text. This text is stored within the news databa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: How to remotely shutdown a Java RMI Server I have a very simple Java RMI Server that looks like the following:
import java.rmi.*;
import java.rmi.server.*;
public class CalculatorImpl extends UnicastRemoteObject implements Calculator {
private String mServerName;
public CalculatorImpl(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Cross-site scripting from an Image I have a rich-text editor on my site that I'm trying to protect against XSS attacks. I think I have pretty much everything handled, but I'm still unsure about what to do with images. Right now I'm using the following regex to validate image URLs, which I'm assuming will block inlin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Why is Nant not working with TeamCity? I have nant set up to build my ASP.NET MVC project and it works fine locally. I add nant to a tools folder and add it to version control. TeamCity picks up my changes and starts the build but it fails.
I believe I'm using the latest version of Nant and I have added the .net f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Advantages and disadvantages of using Enterprise Library Im just starting a project and since this project is personal I was wondering what are the advantages of using Enterprise Library? We use the version 2 for several projects in the office but im not quite sure (aside of the good practices) of the advantages of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: How do I stop users circumventing payment? I have a site that uses paypal to collect payments for electronically displayed data. Variables can't be passed with the URL through paypal (or I can't get them to work) so I have used cookies to pass the item number. However, a crafty user could, after the cookie writing p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Generating sql scripts for SQL Server using SQL Management studio Is it possible to not have the:
/****Script Date: 10/27/2008 09:05:41 ******/
in the output?
I want to use Diff's so I can see what's changed, having a timestamp makes it difficult!
A: Tools|Options|Scripting|Include Descriptive Headers -> false
A: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to use SQL_ASCII encoding in a rails application? I have to connect to a legacy postgres database which has ENCODING = 'SQL_ASCII';.
How do I set this encoding in my rails app?
A: You can set this in your database.yml:
development:
adapter: postgresql
encoding: sql_ascii
database: appname_development
us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: GridView Checkbox Column I used to have a class in 1.1 for the Datagrid that inherited from the DataGridColumn class. This allowed me to create a check box column with a client-side un/check-all box in the header. Then as I designed my grid I would just add my custom column.
I am currently on a project where I need ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Specification Documentation that you can really reference At the moment I am using Visual Source Safe (yeah yeah!) to store my Technical Specification documentation.
The actual docs are written in MS word.
If find that having the spec written in word format to be a big burden, for specs to be truly used there should... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: NHibernate Oracle Connection? I am setting up an Oracle connection for NHibernate for the first time. I have copied the Oracle.DataAccess.dll file into my bin folder. No matter what I try, I keep getting the same error:
Could not load type >NHibernate.Driver.OracleDataClientDriver. Possible cause: no assembly name s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What do curly braces in Java mean by themselves? I have some Java code that uses curly braces in two ways
// Curly braces attached to an 'if' statement:
if(node.getId() != null)
{
node.getId().apply(this);
}
// Curly braces by themselves:
{
List<PExp> copy = new ArrayList<PExp>(node.getArgs());
for(PExp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "85"
} |
Q: How do I know when user minimizes / maximizes Eclipse? I need to respond to the events of minimizing / maximizing Eclipse window. How do I do that?
A: I can suggest a way: you can write a plugin for it.
For example see this improvized "tutorial", I made it, tried it works on Ganymede. A bit ugly at the final Shell ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to manually drop down a DataGridViewComboBoxColumn? I have a DataGridView with one DataGridViewComboBoxColumn in my WinForms application. I need to drop down (open) this DataGridViewComboBoxColumn manually, let's say after a button is clicked.
The reason I need this is I have set SelectionMode to FullRowSelect a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: What is the best way to determine the source of a CSS issue I have been working on a webpage. It is the first I have actually tried to design using an image and then use proper CSS layout rather than tables.
http://www.roccocammisola.com/proj/brunel/bgimage.html
I have been having issues with the shadows on either s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Added code, swf size got ... smaller? ... I'm working on a couple of theories, but I'm interested to hear other opinions.
This has been verified on three different machines, two windows the other linux. The compiler used is flexbuild (Presumably mxmlc) and ant with mxmlc.
We added code to a small stand-alone single ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Which is better for encoding HTML for RSS? I recently introduced HTML into some RSS feeds that I publish (which up to now only had plain text, no markup), and I was wondering which method is better: use character encoding (such as htmlspecialchars) or just encapsulate everything in CDATA?
It seems to me that CDATA m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I attach source code locations to plugins in my Eclipse RCP target platform? I've got a workspace with multiple RCP plugin projects.
We've set the target platform, so we can build against a standard set of plugins, but are not able to see source code and Javadoc for all the platform plugins.
The Windows -> Pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: What is the worst gotcha in C# or .NET? I was recently working with a DateTime object, and wrote something like this:
DateTime dt = DateTime.Now;
dt.AddDays(1);
return dt; // still today's date! WTF?
The intellisense documentation for AddDays() says it adds a day to the date, which it doesn't - it actually returns ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "384"
} |
Q: Python lazy list I would like create my own collection that has all the attributes of python list and also knows how to save/load itself into/from a database. Also I want to make the load implicit and lazy, as in it doesn't happen at the point of creation of the list, but waits until its first used.
Is there a sing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241141",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: C# .NET: How to check if we're running on battery? i want to be a good developer citizen, pay my taxes, and disable things if we're running over Remote Desktop, or running on battery.
If we're running over remote desktop (or equivalently in a Terminal server session), we must disable animations and double-buffering.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: How to set an initial size of a QScrollArea? I know that this is a very specific C++ and Qt related question, but maybe someone can help me, anyway ...
See the code below: I want to display an image within a scroll area. The view port of the scroll area shall have a defined initial size. That means, if the image's s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: jQuery Validate Plugin - How to create a simple custom rule? How do you create a simple, custom rule using the jQuery Validate plugin (using addMethod) that doesn't use a regex?
For example, what function would create a rule that validates only if at least one of a group of checkboxes is checked?
A: // add a method... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "378"
} |
Q: Simplest way to convert unicode codepoint into UTF-8 What's the simplest way to convert a Unicode codepoint into a UTF-8 byte sequence in C? The only way that springs to mind is using iconv to map from the UTF-32LE codepage to UTF-8, but that seems like overkill.
A: Unicode conversion is not a simple task. Using ic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: jQuery UI: Filter selectable dates on datepicker I want to filter the selectable dates on a datepicker. I basically need to filter by work days - i.e. make holidays and weekends not selectable.
I know you can specify dates using a function in the beforeShowDate: and you can also use $.datepicker.noWeekends.
Question... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Handling touch events within a child UIScrollView I'm displaying a series of images in a UIScrollView. I pretty much want to replicate the Photos application.
My current architecture is:
* A parent UIScrollView with content size that is wide enough for x number of pages + some extra space for margins in between the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: "Autocomplete off" not working in IE - ASP.Net Question: Is there any reason Autocomplete=off on a ASP:Textbox would not be working in IE 7?
In case this is the best term for it, the IE Autocomplete feature is that drop down list like thing that drops down from textboxes and shows you past things you have typed in.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Recommendations for sandboxing inside PHP5 or alternatives? I've been slowly working on a personnel project to run a webmud like game using extjs as my frontend. One of the design choices I made was to allow user-generated evaluated code for game logic. So when the player enters a new "room" a number of state scri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Command-line tool for finding out who is locking a file I would like to know who is locking a file (win32). I know about WhoLockMe, but I would like a command-line tool which does more or less the same thing.
I also looked at this question, but it seems only applicable for files opened remotely.
A: handle.exe
http:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "68"
} |
Q: How to nest Spring JMS MessageConverters I'd like to write a MessageConverter class that can wrap another MessageConverter. This MessageConverter would call the child converter, which is assumed to generate a TextMessage. It would take the payload and GZIP compress it, creating a BytesMessage which is ultimately ret... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Vista, Office Interop not working Does anyone know how to get the MS Office 2007 .NET C# Interop libraries to work with Vista?
I have a .NET C# application that I have setup to run as a Windows service. This program will open up a Word or Excel template depending on the situation and modify its contents and then... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: PHP Inclued for Windows? Is there a .dll version of the inclued extension for PHP?
The manual's link for Inclued on PECL4WIN doesn't help. I don't have a compiler to build my own DLL.
NOTE: The spelling "inclued" is correct!
Edit: I don't have a compiler, but do know someone with one... that's really a last resort t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Will the GAC fix an ASP.NET/IIS6.0 System.OutOfMemoryException? I have many instances of an application installed on an IIS 6.0, Windows Server 2003 box under the same application pool. They share many of the same assemblies and can not be joined in to a single application.
I recently added a new instance of the ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a way in ClearQuest to query on a list that is contained in a document? I have a list of defect ID numbers contained in a Word document and want to know if there is a way to use that list in a ClearQuest query or an SQL query in ClearQuest to move just those defects to a new State. We're talking possibly h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Need to disable the screen saver / screen locking in Windows C#/.Net For a particular application, I need the screen saver to be disabled while it's running. The operator COULD manually turn it off, and then back on later, but the easiest thing to do would be to just keep the screen saver at bay while the applicati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: Setting up a backup DB server in ASP.NET web.config file I currently have an asp.net website hosted on two web servers that sit behind a Cisco load balancer. The two web servers reference a single MSSQL database server.
Since this database server is a single point of failure, I'm adding an additional MSSQL server f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Programmatic remote app installation Is there anything built into Windows and the .Net framework for programmatically installing and executing applications remotely? Ie: an API for remote software deployment. I'd like to build a tool that can install services on a pool of new computers from one central admin worksta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Could not load type 'System.Windows.Controls.Primitives.MultiSelector' from assembly PresentationFramework I'm trying to use the Grid from WPFToolkit, but I'm getting the error:
DisplayDataMapping.xaml (9,89):
errorMC1000: Unknown build error,
'Could not load type 'System.Windows.Controls.Primitives.MultiSe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to get xpath from an XmlNode instance Could someone supply some code that would get the xpath of a System.Xml.XmlNode instance?
Thanks!
A: Okay, I couldn't resist having a go at it. It'll only work for attributes and elements, but hey... what can you expect in 15 minutes :) Likewise there may very well be a cle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "56"
} |
Q: Coming up with time/staff required estimates for converting a desktop app into a client-server app My boss is bidding on a project to convert a desktop application into one that runs online as a client-server application. The original app has a little more than a quarter of a million lines of C++ (MFC) code that's n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Single Table Inheritance in Django Is there explicit support for Single Table Inheritance in Django? Last I heard, the feature was still under development and debate.
Are there libraries/hacks I can use in the meantime to capture the basic behavior? I have a hierarchy that mixes different objects. The canonical exa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: Meta-composition during music performances A couple of weeks ago, my piano teacher and I were bouncing ideas off of each other concerning meta-composing music software. The idea was this:
There is a system taking midi input from a bunch of instruments, and pushes output to the speakers and lights. The software runni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Method for email testing I am writing a program that will be emailing reports out many (~100) clients which I want to test before I spam everyone.
I want to do a test run against my production data and actually send the messages to a SMTP server, but I don't want the SMTP server to actually deliver the messages. I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: How do I view the contents of an IXMLDOMElementPtr when building an XML file? I'm using IXMLDOM in MSXML 6 to build an XML file in a C++ MFC application. Is there a way to see the contents of the xml document while it is in memory?
For example, an XPATH query is failing about halfway through creating the file. H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: URL Based Authentication Link What are some good suggestions or resources to look at to help me secure a single click URL based authentication?
Essentially, the situation is a third party system which accepts an HTTPS request, through the browser, where you supply authentication information (un, pw, authkey, etc..... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Matching an optional substring in a regex I'm developing an algorithm to parse a number out of a series of short-ish strings. These strings are somewhat regular, but there's a few different general forms and several exceptions. I'm trying to build a set of regexes that will handle the various forms and exceptions; I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "66"
} |
Q: Is there a way to link work items across projects in TFS In Team Foundation Server is there a way to have work items in one project linked to other projects so they show up in the reports in both. We are thinking about keeping release engineering items in their own project and want them linked to the project they ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/241289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |