text string | meta dict |
|---|---|
Q: Authentication Subversion write-through proxy Since version 1.5 Subversion supports to have a local caching-proxy for the main Master-repository.
I got the slave synced and the master replaying the commits to the slave.
Everything works fine so far, but now I am wondering how to do the authentication (working with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Output all files from a solution in an MSBuild task In MSBuild, I would like to call a task that extracts all the files in all the project in a specific solution and hold these files in a property that can be passed around to other tasks (for processing etc.)
I was thinking something along the lines of:
<ParseSoluti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why are Exceptions iterable? I have been bitten by something unexpected recently. I wanted to make something like that:
try :
thing.merge(iterable) # this is an iterable so I add it to the list
except TypeError :
thing.append(iterable) # this is not iterable, so I add it
Well, It was working fine until I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Sqlite Optimization: Read only scenario I use SQLite for a number of application on the desktop and PDA. Most operations are readonly, as SQLite functions as a data store for reference material in my applications.
Basically, I am looking for suggestions on improving performance in a scenario where you know the acces... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Creating a NHibernate object and initializing a Set I have a Table called Product and I have the Table StorageHistory.
Now, Product contains a reference to StorageHistory in it's mappings
<set name="StorageHistories" lazy="false">
<key column="ProductId" />
<one-to-many class="StorageHistory" />
</set>
And it w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Ribbon UI for Visual Studio 2010 or beyond? One of the PDC2008 presentations showed off the new VS2010 UI (not the same as the current beta) that was built with WPF. Some of the new code effects looked fairly nice (comment xml parsed and styled within the code editor).
It got me wondering if Microsoft would ever ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Can anybody comment on django-wapi? Aside for a few user guides found at http://fi.am/en/tag/django/2/ I have not managed to find much about WAPI.
I was wondering if anyone has had an experience using WAPI and django to create a web api?
I'm a little intimidated by the amount of magic these frameworks seem to do.
Ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I inherit subroutines in Perl with 'use base'? How do I apply 'use base' in Perl to inherit subs from some base module?
I'm used to C++ inheritance mechanics, and all the sites I googled for this caused more confusion then help. I want to do something like the following:
#! /usr/bin/perl
#The base class to in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Fragment Caching with Memcached Is there any way of using Memcached for fragment caching in Rails?
A: you can add this to your development.rb and it should do fragment caching as well as the others
config.action_controller.perform_caching = true
config.cache_classes = true
config.cache_store = :mem_cache_store
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Will installing the Visual Studio 2010 +Oslo CTP screw my Visual Studio 08 install? I'm eager to give these a go, but I've only got my precious home machine to try it out.
I'm in the middle of some important work that can't get inferred with, yet I can't resist the urge to give the new bits a go.
Will installing VS1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Footer knocked out by 1px in IE6 Heres the link:
DAMNIE6TOHELL
As you can see if viewed in glorious 'IE6-o-color', the footer is shifting 1px over to the left.
I'm struggling to find a fix for this, I've whittled it down to a bare minimum of HTML.
Is it something to do with haslayout perhaps? Any help much appreciat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: access denied trying extracting an archive on the windows user temp folder I'm trying to run a command-line process (which is extraction of a .7z archive) on a file that lies in a temporary folder on the windows user temp directory
(C:\Documents and Settings\User\Local Settings\Temp), using Process in my c# app.
I t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are the disadvantages of auto generating the classes in Hibernate I am working in a new part of an existing system. What are the disadvantages of auto-generating the classes for Hibernate for an existing database?
I just think that whatever design failures we have at the moment (and there are plenty) we will po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Better way to implement an Html Helper method? I created an html helper
Html.BreadCrumb(IDictionary<string, string> crumbs)
Where the first string is the label and the second string is the URL.
The helper creates the html required (an unordered list, some classes for first element, current element, last element, d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SRV record lookup with iPhone SDK In either a Windows or Mac OS X terminal if you type...
nslookup -type=SRV _xmpp-server._tcp.gmail.com
... (for example) you will receive a bunch of SRV records relating to different google chat servers..
Does anyone have any experience in this area and possibly know how to service... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is a Java interface an abstract class? I'm working through some homework and a question on a previous exam paper asks to name all of the abstract classes in a given UML diagram. Fairly straightforward, I suppose. There are one abstract class and three interfaces. Do these interfaces qualify as abstract classes, in g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How to keep track of application version when compiling using Adobe Flex 3? How to monitor version in swf file when we compile a swf file in Adobe Flex file?
A: Assuming I understand your question correctly, you should check out this blog post of mine, titled "Saving and Accessing Version/Compilation Information wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best way to deploy and reference an XSLT file In a visual studio project I have three layers, Data Layer, Business Layer and Presentation Layer.
In the Data Layer I have a few XSLT's that transform some objects into an email, all works fine but I have discovered that the XSLTs do not get built/copied when building.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I use CALayer with the iPhone? Currently, I have a UIView subclass that "stamps" a single 2px by 2px CGLayerRef across the screen, up to 160 x 240 times.
I currently animate this by moving the UIView "up" the screen 2 pixels (actually, a UIImageView) and then drawing the next "row".
Would using multiple CALay... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Django models - how to filter number of ForeignKey objects I have a models A and B, that are like this:
class A(models.Model):
title = models.CharField(max_length=20)
(...)
class B(models.Model):
date = models.DateTimeField(auto_now_add=True)
(...)
a = models.ForeignKey(A)
Now I have some A and B objects... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: What is the best way to keep passwords configurable, without having them too easily available to the casual human reader? I have a database that many different client applications (a smattering of web services, some java apps and a few dot net applications) connect to. Not all of these are running on windows (Sadly,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "43"
} |
Q: IE Browser hangs after opening a file dialog. Workaround? This is a registered bug (Bug ID: 6515708) but does anyone have a workaround for it?
Scenario
*
*javascript calls OpenDialog() method in applet
*applet starts new thread which opens the AWT FileDialog
*on completion, the file name is read and the javascr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MVP - Should the Presenter use Session? I am using the Model-View-Presenter pattern for a web page. Should the presenter be aware of Session or should only the view be aware of it?
I guess what I am getting at is that concepts like Session are very related to the architecture of the view so should they be limited to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Jquery changing background of parent div I have the following snippet in one of my html pages :
<div class="inputboximage">
<div class="value2">
<input name='address1' value='Somewhere' type="text" size="26" maxlength="40" />
<br />
</div>
</div>
My problem is that I need the inputboximage backgro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: System.Drawing.Image for Images in Business Objects? I'd like to store an image in a business object. In MSDN I saw that the System.Drawing-namespace provides lots of GDI+-features, etc.
Is it okay to store an Image in an System.Drawing.Image class in business layer (which is a class library "only"), and thus includ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: pConsole.StartInfo.RedirectStandardOutput and pConsole.Exited event (c#) I have a GUI application that executes (in a new process) "console" applications and parse the output. To redirect the Output i set the pConsole.StartInfo.RedirectStandardOutput to true. I also subscribes to the event pConsole.Exited.
The probl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Spring & Hibernate EJB Events Is it possible to define a spring-managed EJB3 hibernate listener?
I have this definition in my persistence.xml:
<properties>
<property name="hibernate.ejb.interceptor"
value="my.class.HibernateAuditInterceptor" />
<property name="hibernate.ejb.event.post-update"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to split a column content using SSIS? My source data is stored as (000000000000054390-) which denotes -543.90 I need the destination as -543.90. How this can be done using SSIS?
Thanks
Arif
A: Use a Derived Column object in your Data Flow Task.
You can then do a SUBSTRING (assuming that this is a string) mani... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get On Focus CWindow handle? Is there any way to get the handle to the control that has focus?
I am looking for a way to get the ID of control on focus in my app.
After that it would be easy to get the id with GetDlgCtrlID.
CWnd *pwnd = GetWindowOnFocus();
int wID = pwnd->GetDlgCtrlID();
It's the GetWindow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Fix browser bugs as you go or save them up till the end? With CSS bugs, do you fix them as and when they arise during each stage of your development, or do you save them up till the end? as I'm at quite an early stage in a large project and seem to be getting bogged down with annoying IE6 bugs.
A: My Workflow:
*
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Reflecting local variables I'm trying to find a way to automate some exception logging code to add to the stack information already available.
Is there any way to use reflection to retrieve the values of all variables on the stack (locals and parameters) - I sincerely doubt the names of the variables are available, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the difference between a Functor and the Command pattern? I am very familiar with the Command pattern, but I don't yet understand the difference in theory between a Functor and a command. In particular, I am thinking of Java implementations. Both are basically programming "verbs" represented as objects. Howe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: php link to image file outside default web directory Here is the directory structure
/domain.com
/public_html
/functions
/image
/mobile
/www
the /domain.com/public_html/www folder has a file index.php
the default web directory is /user/public_html/www
in the index file is an include that includes the funct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: standard way to convert to short path in .net looking for the standard bug-proofed way to convert "long names" such as "C:\Documents and settings" to their equivalent "short names" "C:\DOCUME~1"
I need this to run an external process from withing my C# app. It fails if I feed it with paths in the "long name".
A: Do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: CSS div element - how to show horizontal scroll bars only? I have a div container and have defined its style as follows:
div#tbl-container
{
width: 600px;
overflow: auto;
scrollbar-base-color:#ffeaff
}
This gives me both horizontal and vertical scroll bars automatically once I populate my table ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "212"
} |
Q: Are there any standard way to implement the "blue badge" in iPhone? A lot of iPhone apps use a blue badge to indicate the number of items in the subviews, such as the Mail client:
iPhoto http://img.skitch.com/20081103-tjr9yupbhgr3sqfh7u56if4rsn.preview.jpg
Are there any standards way (or even an API) do this?
UPDATE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: How to specify a Colour in config How would I specify a color in app.config and then convert that into an actual System.Drawing.Color object at runtime?
A: One way would be to specify one of the KnownColor values as the config text and then use Color.FromName to create the Color object.
A: Have a look at ColorTran... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I add the condition "IS NOT NULL" to a Thinking Sphinx search I'm using Thinking Sphinx for full-text search, following this video.
I'd like to do the following:
@articles = Article.search(params[:search], :conditions => "published_at IS NOT NULL", :order => :created_at)
The problem is that this doesn't work... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Python filter/remove URLs from a list I have a text file of URLs, about 14000. Below is a couple of examples:
http://www.domainname.com/pagename?CONTENT_ITEM_ID=100¶m2=123
http://www.domainname.com/images?IMAGE_ID=10
http://www.domainname.com/pagename?CONTENT_ITEM_ID=101¶m2=123
http://www.domainname.com/ima... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Need to do old fashioned input/output in Cocoa I am new to Cocoa and need to capture input using scanf to run a program that requires input of four variables one at a time.
Is there any console, window class, canvas, memo class (as in delphi) that will llow me to do this.
Earl Cenac
A: You can use stdio with Object... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP Automatically "GET" Variables I am desiging a new website for my company and I am trying to implement switch navigation which is what I have used on all my sites in the past.
<?php
switch($x) {
default:
include("inc/main.php");
break;
case "products":
include("inc/products.php");
break;
}
?>
For some reason ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: UNICODE_STRING to Null terminated I need to convert a UNICODE_STRING structure to a simple NULL TERMINATED STRING.
typedef
struct _UNICODE_STRING
{
USHORT Length;
USHORT MaximumLength;
PWSTR Buffer;
}
UNICODE_STRING, *PUNICODE_STRING;
I can't find a clean sollution on MSDN about it.
Anyone be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get information about an exception raised by the target of Control.Invoke I have a 'generic' boiler plate static method for checking for InvokeRequired and invoking an associated action accordingly.
If an unhandled exception is raised by the action, the stack trace isn't much help because it starts from here.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: ShellExecute equivalent in .NET I'm looking for the .NET-preferred way of performing the same type of thing that ShellExecute does in Win32 (opening, printing, etc. for arbitrary file types).
I've been programming Windows for over 20 years, but I'm a complete newbie at .NET, so maybe I'm just looking in the wrong pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: displaying an image inline in TextArea.htmlText I would like to display some smiley's inbetween text in my chatbox but when i add an image it gets displayed on a seperate line...
Any ideas?
<mx:TextArea id="myChat" width="271" height="238" backgroundColor="#ffffff" borderThickness="0" editable="false" enabled="true"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Function pointers in C - address operator "unnecessary" Using qsort in C we pass in a comparison function e.g.
int cmp(const void*, const void*);
the protoype of qsort expects a int (* )(const void* , const void*) so we call:
qsort(..., cmp);
but it is equally valid to call:
qsort(..., &cmp);
and this is what we ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Building and running C++ unit tests in Visual Studio (TDD) I have a large project for which I am attempting to use TDD.
I am using Tut as my test framework, which has its flaws but is sufficient for what I need.
I need to exploit link time test seams, each test must be in its own executable. The project for this ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: ASP.NET MVC Config Question What exactly is this line in the config doing when it is using IIS7 Integrated mode?
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*"
path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Browser back button - does it delete session data? Does hitting the back button in a web browser cause the session data set in the preceding call to be deleted?
A: No, it does not.
Well, if the user arrived to the previous page by POST (as opposed to GET) and reposts the page, the server is going to process the req... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why can't I find a Control ID in my Resource file in ATL? Since I need to do some checks depending on which control is on focus in my app, I am getting the focused control ID like this:
HWND controlOnFocus = ::GetFocus();
int controlID = ::GetDlgCtrlID(controlOnFocus);
I am getting consistent IDs, but I can't find ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can you use VMWare's Remote Console in Google Chrome? Can you use VMWare's Remote Console in Google Chrome? The main VMWare Infrastructure Web Access works fine, but the Remote Console shows an error "The VMware Remote Console Plug-in is not installed or could not be found." Does this plugin exist?
A: No not until ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Ajax TabControl loading slowly I am having an ajax tab control in my page each tab contains some 15 controls. My tab container has some 10 tabs.
Its take some time load in my web page. Please let me know how to reduce the page loading time. or anyother suggestions
Since the number of database calls are less.
The con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: XML Schema Validation with RelaxNG Which XML validation tools can you recommend for both performance and accuracy, each of which is a critical issue on our system? We have the following requirements:
*
*It is not xmllint (see below)
*Supports RelaxNG
*Can easily integrate with Perl (this is optional, but it wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: What is the difference between attribute and property? These seem to mean the same thing. But what term is more appropriate in what context?
A: These words existed way before Computer Science came around.
*
*Attribute is a quality or object that we attribute to someone or something. For example, the scepter is an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "196"
} |
Q: Can you get SkinID Autocompletion in ASCX Controls Working in VS 2008
When working on on ASPX file in Source mode, if i've specified a StyleSheetTheme in the page directive of the file, then Visual Studio will provide me with AutoCompletion lists of the possible skinID values for a control
e.g.
<asp:Button ID="myBu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I export a part of an SVN repository with dependencies? I am trying to migrate a part of an SVN repository using svnadmin dump.
The provided svndumpfilter tool doesn't manage copy/move/rename dependencies from directories not included in the export.
Is there a tool which can manage these dependencies?
A: I f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I check whether I am in a debug or release build in a web app? In any (non-web) .net project, the compiler automatically declares the DEBUG and TRACE constants, so I can use conditional compiling to, for example, handle exceptions differently in debug vs release mode.
For example:
#if DEBUG
/* re-throw t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Best-practices for localizing a SQL Server (2005/2008) database Question
I'm sure many of you have been faced by the challenge of localizing a database backend to an application. If you've not then I'd be pretty confident in saying that the odds of you having to do so in the future is quite large. I'm talking anout ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Calculate the display width of a string in Java How to calculate the length (in pixels) of a string in Java?
Preferable without using Swing.
EDIT:
I would like to draw the string using the drawString() in Java2D
and use the length for word wrapping.
A: Use the getWidth method in the following class:
import java.aw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "113"
} |
Q: How to: quad core and dual quad core virtualization? On top of a dual quad core physical host, I would like to run a single VM with 8 virtual CPU (if possible) or at least 4 virtual CPU - for the purpose of scientific computing.
I have investigated what the market has to offer at this date and it seems that
*
*VM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create a weak reference to an object Is it possible in Actionscript 3 to create a weak reference to an object, so that it can be garbage collected.
I'm creating some classes to make debugging easier, so I don't want the objects to hang around in memory if they are only referenced here (and of course I don't want to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Type mismatch with generics Here's an interface:
public interface Foo<T> extends Comparable<Foo<T>> {
...
}
And there are some classes implementing this interface:
public class Bar extends Something implements Foo<Something> {
public Vector<Foo<Bar>> giveBar() {
...
}
}
public class Boo extends... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Anemic Domain Model: Pros/Cons I would like to know what the pros and cons are for using an Anemic Domain Model (see link below).
Fowler Article
A: The anemic domain model (ADM) may be a good choice if your team is unable or unwilling to build a rich domain model (RDM) and maintain it over time. Winning with an RDM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "85"
} |
Q: Check permission on item in list In a list where items only can be changed by owner or admin how can I check by code if a user can edit the item.
I try
item.DoesUserHavePermissions(SPBasePermissions.EditListItems);
it will return True as the user can add and edit items in list.
A: Checking the user against author... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I process the microphone input in real-time? I'm starting to create a proof of concept for an idea I have, and at this point, I need some guidance as to how I should begin.
I need to sample the microphone input, and process that signal in real-time (think Auto-Tune, but working live), as opposed to "recording... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How would you display/layout Data-Flow between Enterprise Applications? My employer is a large Swiss Telco. We have many Systems used to transfer data for different tasks, e.g. Performance Management, Fault Management, Configuration Management etc.
In order explain to "Management" (pointy haired, and other) how the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: OpenArgs is Null issue I am using the OpenArgs parameter to send a value when using DoCmd.OpenForm:
DoCmd.OpenForm "frmSetOther", acNormal, , , acFormAdd, acDialog, "value"
I then use Me.OpenArgs inside the opened form to grab the value. It sometimes sends a Null value instead of the original string. What is wron... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: NAnt and MSBuild command line woes I'm trying to configure NAnt to automate my build process - once I've got this step nailed, I'll be integrating the unit tests.
Perhaps I don't exactly know what I want, so please correct me if there is a completely different way of doing all of this...
I want two NAnt targets, one... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ASP.NET Web site/service hosting Are there other possibilities besides IIS for hosting web sites and web services based on ASP.NET, which are recommended by Microsoft for small-scale environments?
A: You can host your own web server in-process within your own application using IIS 7's Hostable Web Core. And, of co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I import svn branches rooted in different directories into git using git-svn? I have an SVN repository structure like below. We are using multiple levels under branches for various release maintenance branches, plus a directory for feature branches.
git-svn init seems to work with a single --branches argument... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do I convert DTS packages to SSIS packages? I'm looking for tutorials or walkthroughs for converting DTS packages into the new SSIS 2005. Any one knows.
A: Migrating DTS Packages to Integration Services
SQL Server Integration Services provides a robust way to process millions of rows of data. The platform is hi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Anyone know what GIS tools are? What exactly is a Geographic Information System?
A: Geographic Information systems. Basically data on mapping.
A: One of the more popular tool makers for creating / managing and working with GIS Data is Esri.
Another one that I have seen that is open source is GRASS.
Some very appli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How evil is $_REQUEST and what are some acceptable Band-Aid countermeasures? I've come across a couple of popular PHP-related answers recently that suggested using the superglobal $_REQUEST, which I think of as code smell, because it reminds me of register_globals.
Can you provide a good explanation/evidence of why ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How do you do a global search and replace in all the files in Delphi 2006 project Help !!!
I have just spent about 10 minutes looking for a way to do a search and replace over all the files in Delphi 2006 project.
Please can you tell how to do it
A: As far as I know no such feature exists in D2006.
I use Notepad... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How would I do TDD with a COM OLE object I have an OLE COM object that trying to write a wrapper for, I have decided to start to use TDD to write the code for it as I believe that it will give me a better sense of direction with what I'm try to write. The COM object has a interface like this:
Interface Mapinfo
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Cross-platform, cross-language messaging system? I'm developing a set of applications that work together to create a system for processing metering data. There's several reasons I want to have them loosely coupled and the system should be extensible by third parties, so the apps will be tied together via messaging.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Flash 10 and HttpHandler serving swf file problems I display flash objects by pointing the Movie and Src params, as well as the embed-tag's src attribute to an HttpHandler with a filename as QueryString.
<OBJECT codeBase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7.0.19.0" classid=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: .Net (C#) Detect if a television is connected Anyone know how to detect if a television is currently connected to a PC in c#?
Cheers
A: How is the device attached?
Whenever a device arrival/removal happens, Windows sends a message called WM_DEVICECHANGE to all the applications running currently in the system. But t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258655",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Capturing the Enter key when editing a GridView textbox I have a GridView defined like this:
<asp:GridView ID="myGridView" ruant="server">
<asp:BoundField DataField="myField" />
<asp:CommandField ShowDeleteButton="true" ShowEditButton="true" />
</asp:GridView>
After I put a row into edit mode with the Edit ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Unhandled exceptions in BackgroundWorker My WinForms app uses a number of BackgroundWorker objects to retrieve information from a database. I'm using BackgroundWorker because it allows the UI to remain unblocked during long-running database queries and it simplifies the threading model for me.
I'm getting occasional... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "73"
} |
Q: Can I do band filtering easily with DirectSound? If not, how can I do it? I'm wondering whether something like this is possible (and relatively easy to do), and if so, how I could do it?
I would like to do band filtering on a wave file I'm reproducing. Something similar to the "Equalizer" you see in most Winamp-like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: GWT overlay types, converting to JSON In GWT, what is the best way to convert a JavaScriptObject overlay type into a JSON string?
I currently have
public final String toJSON() {
return new JSONObject(this).toString();
}
Which seems to work fine. I would like to know if there are any better approaches.
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: htaccess request forwarding if internal ip Is there a possible htaccess directive that can transparently forward request from index.php to index_internal.php if the request is coming from an internal ip range?
A: RewriteEngine on
RewriteCond %{REMOTE_ADDR} ^192\.168\.1\. [OR]
RewriteCond %{REMOTE_ADDR} ^10\.15\.
R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does .NET (Mono) support cross-platform file operations and cross-platform audio metadata handling (through libraries)? For my next project, the two leading frontrunners are .NET and Java. The project is to take a directory (something like My Music in Windows) that contains directories and music files (MP3s initiall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Implementing GetByClassName for a .Net XmlDocument I am using an XmlDocument to parse and manipulate an XHTML string, converting some nodes to non-HTML nodes.
What is the best way to get a list of all nodes with a given class name? Can it be done with XPath?
A: With a given class? If it is just the one class, then ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258691",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Quick & Dirty way to update "IDs" in a string formatted as XML (C#) For a one-shot operation, i need to parse the contents of an XML string and change the numbers of the "ID" field. However, i can not risk changing anything else of the string, eg. whitespace, line feeds, etc. MUST remain as they are!
Since i have m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I get a list of all open named pipes in Windows? Is there an easy way to test whether your named pipe is working correctly? I want to make sure that the data I'm sending from my app is actually being sent. Is there a quick and easy way to get a list of all the named pipes?
A: Try the following instead:
Stri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "112"
} |
Q: Snapshot Isolation Does anyone know which versions of sqlserver2008 supports snapshot isolation?
A: Snapshot Isolation was added in SQL 2005 and is not dependent of the SKU of 2005 or 2008 for that support. Even SQL Express (2005/2008) supports the feature.
ALTER DATABASE DatabaseName
SET ALLOW_SNAPSHOT_ISOLATION O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Which built-in .NET cryptography algorithm is the most secure? Which cryptography algorithm is the most secure that ships with .net?
A: You cannot directly compare all types of cryptographic algorithms. That would be like comparing a sorting algorithm with a multiplication algorithm: they have different purposes.
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: todo.txt and task management Apologies if this has been covered frequently, but I was wondering about how other people approach personal task management.
I've read (parts of) GTD, proceeded to get excited, installed a tonne of plug-ins all over the place, then let it all fall by the wayside. I've used todoist, outl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Retro fitting new language features C# (or any other language) When working with my .Net 2.0 code base ReSharper continually recommends applying the latest c# 3.0 language features, most notably; convert simple properties into auto-implement properties or declaring local variables as var. Amongst others.
When a new... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a timeout for a batch file? I am using a bat file on a Windows 2000 SP4 server to copy database files while the database is shut down. Once the bat file hits the xcopy command, it does the copy, but never returns to the bat file to continue with the other commands (start up the database, etc). I should me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Display the call stack in a Delphi Win32 application I'd like to display a stack trace in an error dialog in Delphi 2007 (Win32).
Ideally, I'd like something like this:
try
//do something
except on e : exception do
begin
//rollback a transaction or whatever i need to do here
MessageDlg('An error h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258727",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Request admin privileges for Java app on Windows Vista When I try to create a new task in the task scheduler via the Java ProcessBuilder class I get an access denied error an Windows Vista. On XP it works just fine.
When I use the "Run as adminstrator" option it runs on Vista as well..
However this is a additional s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Why do double-quote change the result I have a simple linux script:
#!/bin/sh
for i in `ls $1`
do
echo $i
done
In my temp folder are 4 file: a.a, a.aa, a.ab and a.ac
When i call ./script temp/*.?? i get:
temp/a.aa
When i call ./script "temp/*.??" i get:
temp/a.aa
temp/a.ab
temp/a.ac
Why do the double quote... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: more efficent shell text manipulation I am using this command:
cut -d: -f2
To sort and reedit text, Is there a more efficient way to do this without using sed or awk?
I would also like to know how I would append a period to the end of each field
At the moment the output is like $x['s'] and I would like it to be $x... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Transformation Failing due to xsl:include I have a Java maven project which includes XSLT transformations. I load the stylesheet as follows:
TransformerFactory tFactory = TransformerFactory.newInstance();
DocumentBuilderFactory dFactory = DocumentBuilderFactory
.newInstance();
dFactory.setNamespace... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What tools are built using themselves? I am curious about what tools are used to build the next version of themselves.
For example, Delphi has long claimed that "Delphi is written in Delphi".
I assume Visual Studio is written using Visual Studio.
What are some other examples of tools that written in themselves?
A: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Change texture opacity in OpenGL This is hopefully a simple question: I have an OpenGL texture and would like to be able to change its opacity, how do I do that? The texture already has an alpha channel and blending works fine, but I want to be able to decrease the opacity of the whole texture, to fade it into the b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Slicing URL with Python I am working with a huge list of URL's. Just a quick question I have trying to slice a part of the URL out, see below:
http://www.domainname.com/page?CONTENT_ITEM_ID=1234¶m2¶m3
How could I slice out:
http://www.domainname.com/page?CONTENT_ITEM_ID=1234
Sometimes there is more than tw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/258746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |