text string | meta dict |
|---|---|
Q: UIImageView not displaying in UITableView header My problem is that I can't seem to get the image from my bundle to display properly. This method is in the view controller that controls the tableview. headerView is loaded with the tableview in the .nib file and contains a few UILabels (not shown) that load just fine... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: "Rename control" in Delphi 7? Following up on this question, I'm working on a large Delphi 7 codebase which was not written very nicely.
I'm looking at code like this, as a small example:
if FMode=mdCredit then begin
Panel8.Caption:='Credit';
SpeedButton3.Enabled:=false;
SpeedButton4.Enabled:=false;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is wrong with my Oracle 10gr2 check constraint? Trying to enforce a date range I want to enforce CHECK constraint on a date range such that all dates in column BIRTH_DATE are less than tomorrow and greater than or equal to 100 years ago. I tried this expression in a CHECK constraint:
BIRTH_DATE >= (sysdate - n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Best way to remove items from a collection What is the best way to approach removing items from a collection in C#, once the item is known, but not it's index. This is one way to do it, but it seems inelegant at best.
//Remove the existing role assignment for the user.
int cnt = 0;
int assToDelete = 0;
foreach (SPR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "80"
} |
Q: Can an ArrayList of Node contain non-Node type? Can an ArrayList of Node contain a non-Node type?
Is there a very dirty method of doing this with type casting?
A: Yes, but you will get class cast exceptions if you try to access a non-node element as if it were a node. Generics are discarded at (for) runtime.
For e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to link using GCC without -l nor hardcoding path for a library that does not follow the libNAME.so naming convention? I have a shared library that I wish to link an executable against using GCC. The shared library has a nonstandard name not of the form libNAME.so, so I can not use the usual -l option. (It happen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: Media support in WPF without Windows Media Player 10+? I'm wondering if it is possible to deploy Windows Media Foundation without Windows media player 10 or 11?
Here's the context. I have a WPF application running in a corporate enterprise setting. WPF requires Windows Media Foundation for rich media support. Window... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Stripes: all URLs resolved through StripesDispatcher and forwarded to pre-compiled JSPs Is it possible to have the StripesDispatcher be the sole determiner of webserver urls by looking at the @UrlBinding annotations on action beans AND also having those action beans forward to pre-compiled JSPs / servlets WITHOUT ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I make IIS6 default to .Net 2.0 when creating a new web site? When I create a web site on IIS6 it defaults the ASP.NET version to 1.1. Is there a way to make the version default to 2.0?
A: Question already asked.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/207111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Managing Branded Software in Version Control I'm currently using subversion to manage my source code and I've come to a point where I need to brand the software I'm working on for a client. All the branding is handled in the project resources so changing the look for a client is very simple. What I'm running into a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Database record reverting after manual change Problem solved: Thanks guys, see my answer below.
I have a website running in Tomcat 5.5 hooked up to a MySQL5 database using Hibernate3.
One record simply refuses to keep any changes performed on it. If I change the record programmatically, the values revert back to wha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Setting the Body's OnLoad attribute in an Asp.net MVC Master Page I have a view using a master page that contains some javascript that needs to be executed using the OnLoad of the Body. What is the best way to set the OnLoad on my MasterPage only for certain views?
On idea I tried was to pass the name of the javascr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I access the XML data in my column using LINQ to XML? I have this XML in a column in my table:
<keywords>
<keyword name="First Name" value="|FIRSTNAME|" display="Jack" />
<keyword name="Last Name" value="|LASTNAME|" display="Jones" />
<keyword name="City" value="|CITY|" display="Anytown" />
<keyword n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I transform object properties during output with Select-Object/Export-CSV? I'm using the Quest AD cmdlets, particularly Get-QADUser, to pull a list of users from AD and return just a few attributes. No problems, easy enough, but I want to transform one of the properties (parentContainerDN) before exporting to C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Migrating a Delphi 7 application to .NET Any advice on how to migrate an existing Delphi 7 business application to .NET 2.0 in Visual Studio 2005?
Visual Studio 2005 has already been purchased, the company wants to move away from the Borland/Codegear tools.
The application is a single client server executable, uti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Two Domain Objects in One View Can two domain objects show on the same page, when the list method is called, for example?
http://APP_NAME/foo/list
def list = {
if(!params.max) params.max = 10
[ fooList: Foo.list( params ) ]
[ barList: Bar.list( params ) ] // Only the last one is returned.
}
On the v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL Server 2008 Geospatial queries SQL Server 2008 has new geo data types. One thing I am wondering though is that if I have a table with geocoded addresses in it, can I write a query to display all records within a certain distance. For example, many websites have the option to search for items within a certain dis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Sql Server string to date conversion I want to convert a string like this:
'10/15/2008 10:06:32 PM'
into the equivalent DATETIME value in Sql Server.
In Oracle, I would say this:
TO_DATE('10/15/2008 10:06:32 PM','MM/DD/YYYY HH:MI:SS AM')
This question implies that I must parse the string into one of the standard f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "213"
} |
Q: XML in JavaScript I have an XML Schema which I am parsing in JavaScript and then packing that as an object to pass to one of my backend servers.
The schema is like
<complexType name='Test'>
<sequence>
<element name='testField' type='string'/>
<element name='typeSpecificSetting' type='tns:TypeS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Toggle a CSS property in nested elements Without using Javascript, is there a way to make a CSS property toggle on and off through nested elements.
The problem I'm trying to solve is that I have a number of tags and classes which make some text italic (<em>, <blockquote>, <cite>, <q>, <dfn>, and some other classes),... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I capture modifier keys while starting a Delphi app to force some behavior I'm writing an application in Delphi which uses an SQLite3 database. I'd like to be able to start the application while holding some modifier keys, such as CTRL + SHIFT, to signal reinitialization of the database.
How can I capture t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: PHP Dynamic Pagination Without SQL I've got a script that dynamically calls and displays images from a directory, what would be the best way to paginate this? I'd like to be able to control the number of images that are displayed per page through a variable within the script. I'm thinking of using URL varriables (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Hooking up GUI interface with asynchronous (s)ftp operation Trying to implement a progress dialog window for file uploads that looks like a cross between IE download dialog and Firefox download dialog with a python GUI library on Windows.
*
*What asynchronous (S)FTP libraries are there for python? Ideally I shoul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: List of IP addresses/hostnames from local network in Python How can I get a list of the IP addresses or host names from a local network easily in Python?
It would be best if it was multi-platform, but it needs to work on Mac OS X first, then others follow.
Edit: By local I mean all active addresses within a local ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: Multi-IDE Support in Java for one Team What is the best way to allow a team of programmers to use Netbeans, Eclipse and IntelliJ on the same project, thus eliminating the "which IDE is better" question.
Which files should or should not be checked into source code control?
A: Well, that's a pretty self-answering que... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Microsoft alternative to Jabber? My organization is considering using Jabber as an agnostic device to device to application messaging protocol.
Does anyone know of the best practice existing Microsoft competitor to Jabber? Or, an emerging competitor? And, if so, a good URL reference to get a jump start?
Website fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Real world cost to run WinForm apps on mono? My company has an existing established WinForm application which in running on WinXP. The application does alot of sound processing using DirectSound.
My company would like to evaluate Mono, as an alternative on a per workstation cost to Vista/Win Server 2008.
I've heard... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How do I match part of a string only if it is not preceded by certain characters? I've created the following regex pattern in an attempt to match a string 6 characters in length ending in either "PRI" or "SEC", unless the string = "SIGSEC". For example, I want to match ABCPRI, XYZPRI, ABCSEC and XYZSEC, but not SIGS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: firefox 3 favicons - how to make them? i noticed that paypal displays a very different favicon,
one that's not just a simple 16x16 icon and is lengthy?
anyone can teach me?
A: That is not a favicon, but the type of SSL certificate they use. It's an Extended Validation (EV) certificate, which intends to provide bet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Code Coverage Analysis for Embedded C++ projects I have recently started working on a very large C++ project that, after completing 90% of the implementation, has determined that they need to demonstrate 100% branch coverage during testing. The project is hosted on an embedded platform (Green Hills Integrity). I'm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to get the Silverlight XAP copied to the clientbin on build I am just getting started with Silverlight and have recently added a Silverlight project to an established solution. In this particular scenario my solution included an existing ASP.NET web site (not application) which Visual Studio kindly offered to in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: What is the difference between "mvn deploy" to a local repo and "mvn install"? My team uses an internal team maven repo that is shared from a development server using Apache. We also run the Continuum CI server on the same machine. Maven builds in Continuum are run with the "install" goal, which copies the final art... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "103"
} |
Q: Command/Powershell script to reset a network adapter OS: Vista enterprise
When i switch between my home and office network, i always face issues with getting connected to the network. Almost always I have to use the diagnostic service in 'Network and sharing center' and the problem gets solved when i use the reset n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Extracting a parenthesized Python expression from a string I've been wondering about how hard it would be to write some Python code to search a string for the index of a substring of the form ${expr}, for example, where expr is meant to be a Python expression or something resembling one. Given such a thing, one cou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to read from a memory mapped I/O port in .Net? Can standard pointers in .Net do this? Or does one need to resort to P/invoke?
Note that I'm not talking about object references; I'm talking about actual C# pointers in unsafe code.
A: C#, as a managed and protected run time engine, does not allow low level hardwa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the best multiple file JavaScript / Flash file uploader? Specifically, I'm looking for a client-side, JavaScript and / or Flash based multiple file uploader. The closest thing I've found is FancyUpload. Anyone have experience with it? If not, what else is out there?
A: SWFUpload is probably the leading "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Install [java library] in Eclipse I just downloaded Eclipse several hours ago, and needed to add Java3D to the classpath. Installing it went without a hitch, but Eclipse can't seem to find the documentation folders so that it can give super-IDE functionality, such as autocomplete and method signatures.
While I know ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: MonthCalendar control selection range with EnableVisualStyles? I'm using the MonthCalendar control and want to programmatically select a date range. When I do so the control doesn't paint properly if Application.EnableVisualStyles() has been called. This is a known issue according to MSDN.
Using the MonthCalendar ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: SQL Query for Parent Child Relationship I have db table with parent child relationship as:
NodeId NodeName ParentId
------------------------------
1 Node1 0
2 Node2 0
3 Node3 1
4 Node4 1
5 Node5 3
6 Node6 5
7 Node7 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: C++ Recursive Traversals with Function Pointers template <class T>
void BT<T>::inOrder(void (*inOrderPtr)(T&))
{
inOrderPtr(inOrder(this->root));
}
template <class T>
void BT<T>::inOrder(Node<T>* root) const
{
if (root->left != NULL)
inOrder(root->left);
//something here
if (root->right... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What type is the application file in a call to COMAdminCatalog.InstallApplication Has anyone used COMAdminCatalog.InstallApplication to successfully install an application into COM+? If so what type of file do you need to pass as the bstrApplicationFile parameter?
A: An .msi installer. ExportApplication is the op... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I make part of a Joomla template editable via the CMS interface? Title says most of it.
I have inherited a Joomla site and the client wants part of the main template (a feature-type box) to be editable via the Joomla backend.
I guess really it is a content item that never gets displayed as its own page, but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Oracle V$OSSTAT The Oracle view V$OSSTAT holds a few operating statistics, including:
*
*IDLE_TICKS Number of hundredths of a second that a processor has been idle, totalled over all processors
*BUSY_TICKS Number of hundredths of a second that a processor has been busy executing user or kernel code, totalled o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I set up the internal state of a data structure during unit testing? I'm writing a data structure in C# (a priority queue using a fibonacci heap) and I'm trying to use it as a learning experience for TDD which I'm quite new to.
I understand that each test should only test one piece of the class so that a fa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Card Wall + online card wall = duplication? I'm not a great fan of duplicating effort. I do find, however, that there are benefits to tracking agile iteration progress on both a physical card wall and an online "calculator" (Excel, some scrum tools) or an online card wall (e.g. Mingle).
I find that a physical card w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Designing a personal finance app As a side project, I am looking at creating a personal finance program. I have tried using Money and Excel to keep track of my finances but have either been unhappy with the stability or lack of features. My question is this, what tools have you used to keep track of your personal ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: VBA for MS word There are a lot of free sources to learn about the object model of MS Excel, but I failed to find any comprehensive source for a similar source for MS Word.
Can You suggest a free and comprehensive source for the same?
A: I recently learned the Word Object Model and I found the following pages most ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Strip HTML from a web page and calculate word frequency? In Groovy, how do I grab a web page and remove HTML tags, etc., leaving only the document's text? I'd like the results dumped into a collection so I can build a word frequency counter.
Finally, let me mention again that I'd like to do this in Groovy.
A: Assu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What's the best way to get Eclipse users to regularly update a plugin? I'm going to be distributing a plugin that will be routinely updated with features, bug fixes, and updates to downloadable corpuses.
The usual update site mechanism can do the update ok - when the user asks it to.
The problem is that (unlike MS O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Rollback a changeset from the command-line only in TFS? I'm building an automated promotion utility for TFS. One of the features I'd like to support is rolling back the latest change. I'm quite aware of the Rollback Power Tool, but my understanding is that even if you pass a changeset in through the command line, it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iphone crash reporter Is it possible to access the crash log over the application? The last.fm client showed me today a "we found a crash log" altert with the option to send it, so I think it must be possible.
A: Here the description of the solution I found: Crash Reporter for iPhone Applications
A: Yes, although ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Feed paper on POS Printer C# I've been trying to programatically feed the paper on a pos printer (Epson TM-U220D). The problem I have is that the last line of the document don't get printed, instead, it is printed as the first line of the next document printed. I tried POS for .NET sending the "ESC|flF" command, als... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How do ASP.NET applications work when deployed without the code-behind files? When you deploy an application to IIS without all files that contains code (VB/C#) then
how exactly are events & all things handled?
A: The VB or C# compiler compiles the ASPX pages and classes in App_Code into runtime binary DLLs. For W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Need help choosing a name for an interface I'm refactoring a number of classes in an application to use interfaces instead of base classes. Here's the interfaces I created so far:
*
*ICarryable implemented by all Item objects
*IActable implemented by all Actor objects
*IUseable implemented by some Item sub-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: RESTful URL design for search I'm looking for a reasonable way to represent searches as a RESTful URLs.
The setup: I have two models, Cars and Garages, where Cars can be in Garages. So my urls look like:
/car/xxxx
xxx == car id
returns car with given id
/garage/yyy
yyy = garage id
returns garage with given ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "471"
} |
Q: Plot a data series beneath another one When you plot things in Matlab, the most recently plotted data series is placed on top of whatever's already there. For example:
figure; hold on
plot(sin(linspace(0,pi)),'linewidth',4,'color',[0 0 1])
plot(cos(linspace(0,pi)),'linewidth',4,'color',[1 0 0])
Here, the red line i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Updated Firefox Extension - Still says "No updates were found." I am working on a new version of a firefox extension, but after releasing it, and incrementing the em:version in install.rdf and update.rdf, when I click "Find updates" Firefox reports that "No updates were found." When I run it with debugging on, the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What exactly does var x:* mean in actionscript? Its a little tricky to search for 'var:*' because most search engines wont find it.
I'm not clear exactly what var:* means, compared to say var:Object
I thought it would let me set arbitrary properties on an object like :
var x:* = myObject;
x.nonExistantProperty = "1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: C++ Binary Search Tree Insert via Recursion So my code is below. I'm not getting any errors and it places everything in the node just fine. But based on my debug statements Everytime anything is inserted it's finding the root. I'm not sure if that is right. But according to output file for the assignment, my ans... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I set full trust for a single Web Part in SharePoint? I am looking to set full trust for a single web part, is this possible? manifest.xml maybe?
A: As far as I recall manifest.xml is correct, and you specify the CodeAccessSecurity.
This article has a detailed description about it
http://www.dotnetmafia.co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to tell maven where to place the artifacts? I am running both maven inside the m2eclipse plugin, windows command line and my cygwin command line.
cygwin's bash shell dumps artifacts into the cygwin /home/me/.m2 directory
but m2eclipse & windows shell (on vista) uses /Users/me/Documents/.m2
Is it possi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: DataGridView locked on a inherited UserControl I have a UserControl with some predefined controls (groupbox,button,datagridview) on it, these controls are marked as protected and the components variable is also marked as protected.
I then want to inherit from this base UserControl to another UserControl, however the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: What is the key sequence for closing the current buffer in Emacs? If I click on File -> Close, it closes the buffer like I want, but doesn't list a key mapping. What is the key mapping?
A: *
*C-x k to kill the current buffer.
*C-x 0 to close the current window.
*C-x 1 to close every other window.
A: BKB has al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "83"
} |
Q: Staff Rostering algorithms We are embarking on some R&D for a staff rostering system, and I know that there are some suggested algorithms such as the memetic algorithm etc., but I cannot find any additional information on the web.
Does anyone know any research journals, or pseudocode out there which better explains ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Is there a way to "hot swap" JavaScript code within the browser? Is there any tool that enables you to "hot swap" JavaScript contents while executing a webpage?
I am looking for something similar to what HotSpot does for Java, a way to "hot deploy" new JS code without having to reload the whole page.
Is there anyth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: What are the downsides to static methods? What are the downsides to using static methods in a web site business layer versus instantiating a class and then calling a method on the class? What are the performance hits either way?
A: Jon Skeet is right--the performance difference would be insignificant...
Having sai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How do you make Eclipse recognize Java EE jar files so Servlets can compile? I am setting up my Java EE version of Eclipse to compile Servlets. I have the problem where Eclipse says "HttpServlet" cannot be resolved because it can't find the Java EE jar files.
I am using Windows XP. I already have Tomcat 6.0 up and r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I shutdown a Windows Mobile device programatically I would like to programatically shutdown a Windows Mobile device using Compact framework 2.0, Windows mobile 5.0 SDK.
Regards,
A: It probably not a great idea to do it from your app - the device has a power button for a reason and shutting down the app can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Best practices for getting cross-site JSON responses to POST? I'm working on an intranet with several subdomains. I have control over each subdomain, so security of cross-site requests is not a concern. I have PHP scripts with JSON responses I'd like to call from multiple subdomains without duplication. For GET requ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What's the best way to add a self-update feature to a Java Swing application? I'm trying to figure out a way to add a self-update feature to a Java/Swing application I'm working on.
Basically I've got a bunch of jar files with extra functionality to be re-deployed to the installed users when they change. Nothing com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Eclipse & JSP: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V I'm using Eclipse 3.4 with WTP 3.0.2 and running a fairly large Dynamic Web Project. I've set up the project so that I can access it at http://127.0.0.1:8080/share/ but whenever I do, I ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Prevent Visual Studio from automatically creating "Mixed Platforms" solution configuration How do I prevent Visual Studio 2008 from automatically creating the "Mixed Platforms" and "Any CPU" solution configurations? We have "Win32" and "x64" configurations and a developer needs to choose between them. However, as so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "85"
} |
Q: gcc linker issue I am trying to make a library that wraps libpurple (you shouldn't need to know anything about libpurple to help here). Libpurple in turn loads "plugins" which are just .so's accessed via something like dlopen. Those plugins in turn call back to functions in libpurple.
I can build my library just fin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Moving directories in subversion I have inherited a subversion repo which looks like this:
https://foo/product/src
I want to make it more like:
*
*https://foo/product/trunk/src
*https://foo/product/tags
*https://foo/product/branches
Will moving ./src to ./trunk/src retain history ?
I also want to make sure the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Getting the size of a field in bytes with C# I have a class, and I want to inspect its fields and report eventually how many bytes each field takes. I assume all fields are of type Int32, byte, etc.
How can I find out easily how many bytes does the field take?
I need something like:
Int32 a;
// int a_size = a.GetSi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: what is the hibernate tools plugin for eclipse update site url? Or perhaps this is a manual install only deal.
A: Crap - it's http://download.jboss.org/jbosstools/updates/stable
| {
"language": "en",
"url": "https://stackoverflow.com/questions/207596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error when trying to deploy web part I just wrote a new web part and now I am getting this error when I try to deploy them on my non-dev servers:
the default namespace
'http://schemas.microsoft.com/WebPart/v2'
is a reserved namespace for base Web
Part propertiees. Custom Web Part
properties require a unique... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: wrapped exception from a component There is this style of exception system where a component throws component-specific exception. For example, all data access classes throw DataAccessException.
In this style, I often find myself having to catch and rethrow the component specific exception, because called methods are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's your favorite Prototype framework compatible, javascript date picker? Please one library per answer so that people can vote for the individually.
A: Calendar Date Select
A: Timeframe for visual selection of date ranges...
A: jQuery's UI.DatePicker
(Prototype compatible via JQuery.noConflict())
A: Scal is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to diagnose IIS fatal communication error problem I've a a customer using IIS and an application, developed by us, in ASP.NET 1.1.
Monday, for 4 times in a row the following error has appeared:
A process serving application pool 'xxxx' suffered a fatal communication error with the World Wide Web Publishing Serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Are .NET applications immune from classic pointer errors? Does some article or proof exist that .NET applications are immune to low level errors?
I'm talking about the classic pointer errors we can see in a C++ application, memory overflow, problems from the Intel DEP and so on.
I'm talking about .NET applications ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Workflow RuleSetDialog Can we somehow extend the RuleSetDialog class and host in our windows application?
A: You can not extend the RuleSetDialog class (since it is sealed), but you can host it in your app:
*
*RuleSetDialog Class
*Hosting the workflow rules designer
*Rules Engine via Windows Workflow Foundatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I unit test a Java method which uses ProcessBuilder and Process? I have a Java method which starts up a Process with ProcessBuilder, and pipes its output into a byte array, and then returns its byte array when the process is finished.
Pseudo-code:
ProcessBuilder b = new ProcessBuilder("my.exe")
Process p = b.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: PHP development environment best practices There are so many options when it comes to PHP development environments and you have to piece it all together yourself.
I'm wondering if someone has come up with what they think is the ideal setup that gets out of your way and lets you develop.
Right now I use vim and svn f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How to handle errors in VB Script I am having an VB Script. I need to log the error information in a file. I need to log every information like error number error description and in which sub routine does the error occured.
Please provide some code
A: You can make use of the FileSystemObject and the Error object if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Logging Library for .NET Compact Framework? Any good logging libraries that support .NET compact framework?
A: log4net is a good choice, I use it for all projects.
A: Nlog does too.
There are some functionalities not available in compact network (logging of Exception instances out of the box for example).
A: log4... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do commercial Java static analysis tools compare with the free ones? I'm familiar with a handful of the free static analysis tools available for Java, such as FindBugs and PMD. What I'd like to know is how the commercial products such as Klocwork and Coverity stack up against these. What are their strengths an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Text to speech in Vista I did it by creating OLE object with Delphi in 2000/NT/XP as following:
Voice := CreateOLEObject('SAPI.SpVoice');
Voice.speak(...)
But this does not work in Vista, how can I make my program simply speak some text in Vista?
A: I just tried (D2009 on Vista Home Premium) with the following cod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Writing utf16 to file in binary mode I'm trying to write a wstring to file with ofstream in binary mode, but I think I'm doing something wrong. This is what I've tried:
ofstream outFile("test.txt", std::ios::out | std::ios::binary);
wstring hello = L"hello";
outFile.write((char *) hello.c_str(), hello.length() * siz... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: ExpressionType.Quote What is the purpose of this UnaryExpression, and how should it be used?
A: It takes an Expression object and wraps it with another Expression. For instance, if you have an expression which is for a lambda, using it in the tree will create a lambda expression, but using it quoted will result in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Best mobile application development tool/environment? I would like to develop a mobile application that is able to access all the features of the mobile device it runs on (camera, files, phone and network connectivity). I intend to build a series of applications that each have a specific function to perform, rather ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to query excel file in C# using a detailed query The following code returns data from a spreadsheet into a grid perfectly
[
string excelConnectString = "Provider = Microsoft.Jet.OLEDB.4.0;" +
"Data Source = " + excelFileName + ";" +
"Extended Properties = Excel 8.0;";
Ole... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Show a PDF document in a browser without the menu bar I have a touch screen kiosk that displays a webpage and a pdf document. Can I remove the menu bar? Users must not have "save", "print" and other such features.
Update
random screenshot on flickr - I am refering to the print, back/forward, zoom bar that controls t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you debug a series of Aspect in eclipse? I've got a chain of aspects that are being executed in some cases but not in others. The stack typically looks something like this w/o giving an context information. There doesn't appear to be any logging that I can enable either. Thanks for any help on this.
Genera... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Computing a cross-browser iframe height One of the most difficult problems in my javascript experience has been the correct (that is "cross-browser") computing of a iframe height.
In my applications I have a lot of dynamically generated iframe and I want them all do a sort of autoresize at the end of the load event ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Combining two interfaces into one As I mention in an earlier question, I'm refactoring a project I'm working on. Right now, everything depends on everything else. Everything is separated into namespaces I created early on, but I don't think my method of separtion was very good. I'm trying to eliminate cases where an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Looking for a recommendation on record-locking within a distributed system We're trying to come up with a recommended design pattern for our team when it comes to record locking. The typical school of thought goes something like this:
1. User picks a record from a list
2. Lock the record with the user id
3. Load th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Templated superclass linking problem I'm trying to create a C++ class, with a templated superclass. The idea being, I can easily create lots of similar subclasses from a number of superclasses which have similar characteristics.
I have distilled the problematic code as follows:
template_test.h:
template<class BaseCl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: equivalent of time for memory checking we can use time in a unix environment to see how long something took...
shell> time some_random_command
real 0m0.709s
user 0m0.008s
sys 0m0.012s
is there an equivalent for recording memory usage of the process(es)?
in particular i'm interested in peak allocation.
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: authentication mode=Forms - so why am I getting a Windows Login prompt? I have authentication mode set to forms in my asp.net web.config but am still getting a windows login prompt when i browse to the website.
Could authentication mode be set elsewhere, in IIS for example? My site runs on IIS 6.
Thanks.
A: This co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/207737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |