text string | meta dict |
|---|---|
Q: ComboBox.SelectedValue not updating from binding source Here's my binding source object:
Public Class MyListObject
Private _mylist As New ObservableCollection(Of String)
Private _selectedName As String
Public Sub New(ByVal nameList As List(Of String), ByVal defaultName As String)
For Each nam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: ASP.Net Validator Default Style I'm using several variants of the Validator controls (RequiredFieldValidator, CompareValidator, etc) and am using the CssClass property of the validator. I can see (via Firebug) that the class is being applied, but the validator control itself is adding a style element to it, namely ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How to I attach to a VSTO Excel Application Process to Debug? I've got a Excel VSTO 2005 application I need to debug, I've tried attaching to the process EXCEL.EXE in Visual Studio 2005 to no avail.
Does anyone know what to do in order to debug managed code running in a VSTO Excel Application?
A: I haven't worked w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Matlab copy constructor Is there a better way to implement copy construcor for matlab for a handle derived class other than adding a constructor with one input and explicitly copying its properties?
obj.property1 = from.property1;
obj.property2 = from.property2;
etc.
Thanks,
Dani
A: If you want a quick-and-dirty... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: ASP.NET Forms Authentication - Logging off How exactly can one implement a Log off function when using ASP.NET Forms Authentication on an intranet application?
How will this work if I am an administrator and want to log in "as someone else" into the application?
Please share your ideas
A: FormsAuthentication.SignOu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Alternative UI control for large data lists instead of DropDownList I am using C# and ASP.NET with version 2.0 of the .NET Framework library on this particular project. We are also using the AjaxControlToolkit. The AjaxControlToolkit should have the controls available to make a descent User Interface solution to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Polymorphism in JAX-RPC web services I have a JAX-RPC (Java) web service that needs to return a complex polymorphic value. To be more specific, the class structure is something like this:
abstract class Child {
}
class Question extends Child {
private String name;
// other fields, getters, and setters
}
c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I launch an application after install in a Visual Studio Setup Project I have created a setup project using Visual Studio 2008. After the application is finished installing, I would like to have it start up immediately. Any thoughts on how this can be done?
A: Here's how to make your application launch afte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Stopping a Thread in Java? I'm in the process of writing a piece of code that connects to a server spawns a bunch of threads using that connection and does a bunch of "stuff".
There are certain instances where the connection fails and I need to stop everything and start from scratch with a new object.
I wanted to cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How are associative arrays implemented in PHP? Can someone explain how PHP implements associative arrays? What underlying data structure does PHP use? Does PHP hash the key and store it in some kind of hash map? I am curious because I was wondering what the performance of associative arrays where when inserting and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: How do I control which symbols a Windows DLL imports from the application? I'm trying to build a shared library (DLL) on Windows, using MSVC 6 (retro!) and I have a peculiar link issue I need to resolve. My shared library must access some global state, controlled by the loading application.
Broadly, what I have is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Perforce branching from a Perforce branch A path in Perforce contains files a.txt and b.txt. I'll refer to the main path as mainline.
I've create a branch (called initialbranch) from there which contains just a.txt. I make lots of changes to a.txt, and am very happy with it. However, it's not yet ready for submittin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Team City problem with unstopped instance of IE during watin test We are using Team City and I noticed problem during running Watin test. Sometimes some instance of IE randomly just don't stop in task manager on build server, even if test closes all opened instances. This causes failure of all tests that follows.
We... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: jQuery Text to Link Script? Does anyone know of a script that can select all text references to URLs and automatically replace them with anchor tags pointing to those locations?
For example:
http://www.google.com
would automatically turn into
<a href="http://www.google.com">http://www.google.com</a>
Note: I am ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: HTTP GET request in JavaScript? I need to do an HTTP GET request in JavaScript. What's the best way to do that?
I need to do this in a Mac OS X dashcode widget.
A: I'm not familiar with Mac OS Dashcode Widgets, but if they let you use JavaScript libraries and support XMLHttpRequests, I'd use jQuery and do something... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1028"
} |
Q: How to specify the namespace when referencing a table in a dataset I'm loading data into a DataSet from an XML file using the ReadXml method. This results in two tables with the same name. One of the tables has a namespace and the other doesn't. I'm trying to reference the table with the namespace. Can anyone tel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Images & Hyperlink Borders - Ghost 1px x 1px Border I've an image that is wrapped in an anchor tag that, through jQuery, triggers an action somewhere else on the page. When I click on the image, two tiny 1px by 1px boxes show up in the upper and lower left corners of the image.
My CSS styles explicitly state no bor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Which standard c++ classes cannot be reimplemented in c++? I was looking through the plans for C++0x and came upon std::initializer_list for implementing initializer lists in user classes. This class could not be implemented in C++
without using itself, or else using some "compiler magic". If it could, it wouldn't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: using MVC view page + $(document).ready I've editing this original question as I think I've narrowed down the problem...
I have one view in my site that will not let me put $document.ready within a masterpage contentplaceholder. I've stripped this page to the bare bones and the only thing that is special about it is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best Mercurial mode for Emacs? The Emacs Wiki lists several modes for supporting mercurial inside of Emacs, including the built-in VC mode. Is it worth exploring any of the other modes, such as the one distributed with mercurial itself?
A: I would suggest DVC. It supports other distributed version control systems... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Outlook autocleaning my line breaks and screwing up my email format I'm sending an email using the dotnet framework. Here is the template that I'm using to create the message:
Date of Hire: %HireDate%
Annual Salary: %AnnualIncome%
Reason for Request: %ReasonForRequest%
Name of Voluntary Employee: %FirstName% %LastN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "129"
} |
Q: ASP.NET aspx page code runs impersonated though impersonation is disabled I have a blank test app created in VS 2005 as ASP.NET application. MSDN says that
By default, ASP.NET does not use impersonation, and your code runs using the ASP.NET application's process identity.
And I have the following web.config
<conf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I undo more than a single character in TextMate? TextMate may be the best editor out there, but is has a big disadvantage: it undoes each character typed instead of grouping characters. This makes a large undo tedious!
Do you now any hacks, plugins or workarounds to fix this issue?
A: I know the developer'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Replacing typelibs for imports I am working on a project which uses an import
#import "progid:Blah.blah.retrieve" rename_namespace("Blah")
but I would really perfer not to register the dll which is I believe what is missing to allow this to work. I don't want to register the dll because our build system will not b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filter child collection returned with Aggregate Root using Nhibernate I'm trying filter the child collection of an aggregate root when loading it with Nhibernate. Load a Customer with all their Orders that have been shipped. Is this possible?
A: Well, you can expose properties that are filtered in the map, like s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can web form content be preserved for the back button When a web form is submitted and takes the user to another page, it is quite often the case that the user will click the Back button in order to submit the form again (the form is an advanced search in my case.)
How can I reliably preserve the form options se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Access to svg's scripts svg is an xml based graphics and you can add JavaScripts to it. I have tried to access to the script functions defined in a svg. The script in my svg is something like this:
<svg ... onload="RunScript(evt);"...>
<script type="text/javascript">
...
function RunScript(loadEvent) {
// Get obje... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I trap OCUnit test pass/failure messages/events I'm trying to use xcodebuild and OCUnit with my Continuous Integration server (TeamCity).
JetBrains offers test observer implementations for boost::test and CppUnit that format test output in a way that TeamCity can interpret. I need to do something similar f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: What are the correct version numbers for C#? What are the correct version numbers for C#? What came out when? Why can't I find any answers about C# 3.5?
This question is primarily to aid those who are searching for an answer using an incorrect version number, e.g. C# 3.5. The hope is that anyone failing to find an a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2856"
} |
Q: How can I set cron to run certain commands every one and a half hours? How can I set cron to run certain commands every one and a half hours?
A: Two lines in the crontab. Along the lines of:
0 0,3,6,9,12,15,18,21 * * * /usr/bin/foo
30 1,4,7,10,13,16,19,22 * * * /usr/bin/foo
A: You could do it with two crontab en... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Is it possible to perform T-SQL fuzzy lookup without SSIS? SSIS 2005/2008 does fuzzy lookups and groupings. Is there a feature that does the same in T-SQL?
A: SQL Server has a SOUNDEX() function:
SELECT *
FROM Customers
WHERE SOUNDEX(Lastname) = SOUNDEX('Stonehouse')
AND SOUNDEX(Firstname) = SOUNDEX('Scott')
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: What is the Performance, Safety, and Alignment of a Data member hidden in an embedded char array in a C++ Class? I have seen a codebase recently that I fear is violating alignment constraints. I've scrubbed it to produce a minimal example, given below. Briefly, the players are:
*
*Pool. This is a class which allo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How Can I Compile Firefox and Include a Few Extensions? I need to be able to compile firefox and bundle it with a few extensions so when people download it the extensions are already there.
I was wondering if anyone can point me to some documentation. I have been searching for hours and can't seem to find anything l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Message delivery when user is offline I have a plugin for OpenFire that creates and delivers a message to a user using
XMPPServer.getInstance().getMessageRouter().route(message)
What I would like to know is what happens to that message if the user is not online.
My goal is to only have the message delivered if th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use JEDI TJCLHashMap classes? I'm trying to use TJCLHashMap family of classes, but apparently this class has no useful public methods. All methods are "protected". How to use this class? Although JCL comes with some samples, I seem to miss something. A basic example would be great.
A: You should use the inte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Creating a Backpack-like Calendar in Rails What are the current best practices in the Rails world for displaying a calendar month view with event items bound to the days in the month (like in Backpack or Google Calendar, for example)?
I don't need anything like fancy stuff like drag and drop support. I'm just looki... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Append multiple DOCX files together I need to use C# programatically to append several preexisting docx files into a single, long docx file - including special markups like bullets and images. Header and footer information will be stripped out, so those won't be around to cause any problems.
I can find plenty of in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Running Command line from an ASPX page, and returning output to page I'm trying to access the command line and execute a command, and then return the output to my aspx page. A good example would be running dir on page load of an aspx page and returning the output via Response.Write(). I have tried using the code bel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How does MediaWiki compose the image paths? I have a Perl application that parses MediaWiki SQL tables and displays data from multiple wiki pages. I need to be able to re-create the absolute image path to display the images, eg: .../f/fc/Herbs.jpg/300px-Herbs.jpg
From MediaWiki Manual:
Image_Authorisation: "the [i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: what is the correct way to include license information on an element within a microformated block of xhtml? Seems like rel-license only applies to pages not to specific elements... anyone spotted usage for page elements in the wild?
A: Have a look here and see if this is along the lines of what you're needing...
Mi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247691",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Getting the name of the current method in c++ Is there a (standardized) way to get the name of the current method using c++?
Using GNU GCC you can do this by using the macro __FUNCTION__ and __PRETTY_FUNCTION__ (surrounded by 2 underscores), however, this is of course non portable. Is there a way to do this in stan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Detecting failure of a Bash "export" value In Bash I'm executing a command and putting the result in a variable like this:
export var=`svn ls`
But if SVN fails for some reason--say it returns a non-zero error code--export still returns status code 0. How do I detect if the executed command fails?
A: var=`svn ls`
if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: SharePoint 2007 Analytics Package While the built-in analytics of MOSS2007 are nice to have - they are inadequate at the same time. Any ideas where I can look for a more comprehensive package? Am I missing something?
Thanks,
Carl
A: Take a look at Nintex Reporting. We just bought it and it seems like a nice enhanc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Output Parameter not Returned from Stored Proc I am calling a SQL proc that has 3 OUTPUT params. After the call to the proc one of the params does not return a value when the other two do. Profiler shows that all 3 values are being returned.
The params are declared as follows in the proc...
@UsrVariableID INT OUTPUT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I launch an instance of an application using Python? I am creating a Python script where it does a bunch of tasks and one of those tasks is to launch and open an instance of Excel. What is the ideal way of accomplishing that in my script?
A: or
os.system("start excel.exe <path/to/file>")
(presuming it's i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Is it safe to assume that STL vector storage is always contiguous? If you have an STL vector which has been resized, is it safe to take the address of element 0 and assume the rest of the vector will follow in memory?
e.g.
vector<char> vc(100);
// do some stuff with vc
vc.resize(200);
char* p = &vc[0];
// do stuff w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "56"
} |
Q: Evaluate a css expression only in IE<7 w/out using conditional comments? I already know: "Don't use css expressions!" My question is not about whether I should be using an expression or if there is an alternative; my question is simply: Can I get a css expression to only be evaluated in versions of IE prior to vers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a standard keyboard shortcut to build the current project in Visual Studio? I know that Ctrl + Shift + B launches a solution build, but I would like a shortcut that just builds the current project. Is a custom shortcut my only option?
Edit: Looks like a custom shortcut is my only option as Shift + F6 does n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "253"
} |
Q: Escaping spaces in mod_rewrite I have the following Apache mod_rewrite rule:
RewriteRule ^(.*) http://127.0.0.1:4321/$1 [proxy]
This works great; Apache forwards all requests to the CherryPy server I have running on the same machine.
Unfortunately, I'm having some problems with paths which have a space. If I make ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can a gridview bound to a custom object (CSV file) be sorted? I have a Datagrid which is getting its data from CSV. No file is sorted in any order, but I want to order the gridview by Username (a field). How could this be done? My XML/gridview code looks like the following:
Streamwriter for writing to csv and popula... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I maintain scroll position across postbacks in JSF? I am using JSF frontend for a page where an image is uploaded or deleted. Clicking on the upload or delete button causes a postback and the page to reload with the updated status. This however, resets the scroll position of the page. How should I go about r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Recommendations for how to do OOP design I find that whenever I begin writing an app in Java/C#, things start off good, but over time, as the app becomes more complex, it just gets more and more complicated. I've become aware of the fact that I'm not very good at design and high level architecture. All my classes ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to retrieve a module's path? I want to detect whether module has changed. Now, using inotify is simple, you just need to know the directory you want to get notifications from.
How do I retrieve a module's path in python?
A: you can just import your module
then hit its name and you'll get its full path
>>> impor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1037"
} |
Q: How do you interpret a serialized associative array in PHP and why was this serialization method chosen? a:3:{i:0;i:4;i:1;i:3;i:2;i:2;}
Am I right to say that this is an array of size 3 where the key value pairs are 0->4, 1->3, and 2->2?
If so, I find this representation awfully confusing. At first, I thought it wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Boolean logic rule evaluator I have essentially a survey that is shown, and people answer questions a lot like a test,
and there are different paths, it is pretty easy so far, but i wanted to make it more dynamic, so that i can have a generic rule that is for the test with all the paths, to make the evaluator easie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Delphi 2009 and Firebird 2.1 = Full Unicode? Has anyone started making Unicode Apps or converting Existing Apps into Unicode?
How are you tweaking Firebird to have the least problems, especially the CHARSET attribute?
Is there any problem encountered? Any thing else that I should be aware of?
I'm just preparing myse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Splitting log files by date or file size in Lighttpd So far the only way I've found to do this is by telling Lighty to pipe its logs through an app called "vlogger". Is there a way to break out log files by date without introducing any external dependencies or cron jobs? I feel like there might be a way to do it w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Override Default Constructor of Partial Class with Another Partial Class I don't think this is possible, but if is then I need it :)
I have a auto-generated proxy file from the wsdl.exe command line tool by Visual Studio 2008.
The proxy output is partial classes. I want to override the default constructor that is ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "53"
} |
Q: how can i make a "Surround" type Delphi Template? i'm migrating my app to delphi 2009. my app must still use a lot of AnsiString. during migration, i find myself always converting:
abc := def;
into:
abc := string(def);
or
abc := TDeviceAnsiString(def);
i know i should be able to do this with templates but i fin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: mysql_connect VS mysql_pconnect I have this doubt, I've searched the web and the answers seem to be diversified. Is it better to use mysql_pconnect over mysql_connect when connecting to a database via PHP? I read that pconnect scales much better, but on the other hand, being a persistent connection... having 10 000 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: stl::multimap - how do i get groups of data? Multimap essentially has groups of data sorted by the key. I want a method by which I could access these individual groups and get their aggregate values.
For example, in a std::multimap< string, int > I store
{"Group1", 1},
{"Group1", 2},
{"Group1", 3},
{"Group2", 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: Flex application to component? I have an application built in Flex Builder 3. It has a fair amount of mxml and as3 code which uses some other custom compenents. I have looked at the documentation on building components which shows how to make a simple mxml or action script component that extends something like a c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Excel 2007 Hangs When Closing via .NET I have a Visual Basic .NET program which needs to open and close an Excel spreadsheet. Opening and reading the spreadsheet work fine, but trying to close the Excel 2007 application causes it to hang. It seems to close, but if you look in the task manager the application is st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: making a link toggle between SlideDown and SlideUp (scriptaculous) The scriptaculous wiki has a demo (http://github.com/madrobby/scriptaculous/wikis/effect-slidedown) that shows the SlideDown effect in use. However I need to have the same link to slide down if a certain DIV is hidden and SlideUp if that DIV is showi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Declaring variables - best practices I found a while ago (and I want to confirm again) that if you declare a class level variable, you should not call its constructor until the class constructor or load has been called. The reason was performance - but are there other reasons to do or not do this? Are there except... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do you graph with Silverlight inside a ASP.NET v3.5 application? I have the need to do some graphing (bar, chart, pie, trend) and instead of using Infragistics or manually drawing the graphs I want to use Silverlight.
My current ASP.NET application was upgraded to 3.5 and I have added a Silverlight Application ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# - Dumping a list to a dropdownlist List<String> nameList = new List<String>();
DropDownList ddl = new DropDownList();
List is populated here, then sorted:
nameList.Sort();
Now I need to drop it into the dropdownlist, which is where I'm having issues (using foreach):
foreach (string name in nameList){
ddl.It... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Pattern name for flippable data structure? I'm trying to think of a naming convention that accurately conveys what's going on within a class I'm designing. On a secondary note, I'm trying to decide between two almost-equivalent user APIs.
Here's the situation:
I'm building a scientific application, where one of the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: coalesce alternative in Access SQL In T-SQL, you can do this:
SELECT ProductId, COALESCE(Price, 0)
FROM Products
How do you do the same thing in Access SQL? I see examples for doing it with Nz in VBA, but I'm looking for the SQL equivalent.
Thanks.
A: Looks like I can just use:
SELECT ProductId, Nz(Price, 0)
FROM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "38"
} |
Q: Signed versus Unsigned Integers Am I correct to say the difference between a signed and unsigned integer is:
*
*Unsigned can hold a larger positive value and no negative value.
*Unsigned uses the leading bit as a part of the value, while the signed version uses the left-most-bit to identify if the number is posit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "442"
} |
Q: When is memory allocated in the .NET compact framework? When is memory allocated in the .NET compact framework? If there is a difference between value and reference types, please detail. Documentation or steps to confirm are appreciated.
In particular, consider this scenario...
private MyClass item; // here?
publi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to require commit messages in VisualSVN server? We've got VisualSVN Server set up as our Subversion server on Windows, and we use Ankhsvn + TortoiseSVN as clients on our workstations.
How can you configure the server to require commit messages to be non-empty?
A: I'm glad you asked this question. This is our pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: Is there a free Visual Studio addin for Nunit? I'm cheap and don't want to pay for ReSharper or TestDriven.NET, is there a free visual Studio addin for NUnit?
A: By the way TestDriven can be downloaded for free if it's for personal use or Open Source project.
I had to find a way to use .Net Reflector inside VS few ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: How can I copy a SQL Server 2005 database from production to development? We have a production SQL Server 2005 database server with the production version of our application's database on it. I would like to be able to copy down the data contents of the production database to a development server for testing.
Sever... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How To Prevent Tab Hell With Visual Studio And FireFox Debugging? How do I keep VS from opening a new tab in Firefox every time I hit F5 to debug a web application? I would really like it to re-use the same tab.
A: This may not work for you but, in a project's properties on the Web tab there is a setting described... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: What is the simplest way to work with associative strings (key/values)? I have a lot of constants that are somehow related, at some point I need to pair them, something like this:
const
key1 = '1';
key2 = '2';
key3 = '3';
value1 = 'a';
value2 = 'b';
value3 = 'c';
I want to avoid doing:
if MyValue = key... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How do I update my $ajax->remoteFunction() in CakePHP to change provinces and cities combo boxes? I have two combos; provinces and cities.
I would like to change cities value when the province combo value changes. Here is my code
<div class="cities form">
<?php
$v = $ajax->remoteFunction(array('url' => '/cities/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to get the value of an item contained in Django's "changed_data" list? I have the following code in my Django application:
if 'book' in authorForm.changed_data:
#Do something here...
I realize Django can tell me which values have changed in my form by utilizing the "changed_data" list object, but ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sending large files via HTTP I have a PHP client that requests an XML file over HTTP (i.e. loads an XML file via URL). As of now, the XML file is only several KB in size. A problem I can foresee is that the XML becomes several MBs or Gbs in size. I know that this is a huge question and that there are probably a m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to set PostgreSQL table names in Rails with schema information? I have to connect my rails app in a legacy Postgre database. It uses schemas so in a SQL its is common to use something like
SELECT * FROM "Financial".budget
I want to write a Budget model but I don't know how to set the table name in this case. I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: PHP Constants: Advantages/Disadvantages Lately I've been in the habit of assigning integer values to constants and simply using the constant name as a means of identifying its purpose. However, in some cases this has resulted in the need to write a function like typeToString($const) when a string representation is n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What is a mono singleton? A friend of mine was recently asked in a job interview to tell the difference between a standard singleton and a mono singleton. I have never heard the term before and a simple google search does not return any meaningful results.
My friend suggested that it is an object where the construc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling a Click for all controls on a Form I have a .NET UserControl (FFX 3.5). This control contains several child Controls - a Panel, a couple Labels, a couple TextBoxes, and yet another custom Control. I want to handle a right click anywhere on the base Control - so a right click on any child control (or child... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Is There a Better Way of Checking Nil or Length == 0 of a String in Ruby? Is there a better way than the following to check to see if a string is nil OR has a length of 0 in Ruby?
if !my_string || my_string.length == 0
return true
else
return false
end
In C# there's the handy
string.IsNullOrEmpty(myString)
Any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "176"
} |
Q: Fade between Tab Pages in a Tab Control I have a Tab Control with multiple Tab Pages. I want to be able to fade the tabs back and forth. I don't see an opacity option on the Tab Controls. Is there a way to cause a fade effect when I switch from one Tab Page to another?
A: There is no magic Fade switch in the standa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How get a list of files under a subversion-url in ant? I want with ant access a subversion-repository and get a list of files available under a specific svn-url like https://svn.myhost.de/repository/path/into/repo. I want to list all items, subdirectories or files, in some form I can work with later in the ant-file.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Open Source SharePoint? Is there an open source alternative to SharePoint?
I'd like something that gives the same hierarchical structure and portlet-based design of SharePoint, but is open in source. Web based administration and customization is also a plus.
A: [Disclaimer - I work for Alfresco Open Source Enterpri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: C# - Sorting a list when it has more than one value per 'row'? Exception: Failed to compare two elements in the array.
private void assignNames(DropDownList ddl, Hashtable names)
{
List<ListItem> nameList = new List<ListItem>();
if (ddl != null)
{
ddl.ClearSelection();
ddl.Items.Add(new L... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Maintaining a Programmer Wiki I was recently put in charge of the wiki for the development team. The wiki is still in its infancy, so I have a lot of room to work with. It goal is to house internal to the development team. Currently, the main piece of information that the wiki holds is Coding Standards.
*
*What ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: SharePoint and deployment of global.asax code I want to start logging some custom messages into the ULS from my custom SharePoint code. My code is running inside list item receivers attached to some lists. I'd like to configure this logging mechanism within the application start event handler in global.asax. What... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I prevent DateTime from including zone offset in SOAP xsd:dateTime element? I have this in some WSDL:
<element name="startDate" type="xsd:dateTime"/>
<element name="endDate" type="xsd:dateTime"/>
Which results in the following text in the SOAP envelope:
<startDate>2008-10-29T12:01:05</startDate>
<endDate>200... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: DUnit Testing in a Midas/DataSnap project How does one setup DUnit Testing in a Midas/DataSnap project in Delphi 2006
Edit
How does one set up a Dunit Test into a TRemoteDataModule
The project wizard in Delphi 2006 does not work with TRemoteDataModule
A: The question doesn't entirely make sense. Unit tests a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Convert JPEG file to MPEG still frame format Anyone know how to convert a JPEG image to MPEG still frame format? I'd love to do it in java but a linux command line process would be ok. (I saw something on code project that does this for c sharp).
A: I haven't done it myself but here is an overview of converting JPE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: displaying a Drupal view without a page template around it I would like to display a Drupal view without the page template that normally surrounds it - I want just the plain HTML content of the view's nodes.
This view would be included in another, non-Drupal site.
I expect to have to do this with a number of views, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/247991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: How do I wrap text in a pre tag? pre tags are super-useful for code blocks in HTML and for debugging output while writing scripts, but how do I make the text word-wrap instead of printing out one long line?
A: I've found that skipping the pre tag and using white-space: pre-wrap on a div is a better solution.
<div ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/248011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "921"
} |
Q: Has .NET removed the distinction between various languages? We have always had languages that were preferable to be used in a particular scenario. For a quick prototype development, VB6 was an obvious choice. VB6 was chosen in projects that had a simple desktop user interface and standard and un-complicated database... | {
"language": "en",
"url": "https://stackoverflow.com/questions/248014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SMTP Relay Limits We have set up a system where notifications get sent to a user with the following From address format: user-{0}@aol.com (replace {0} with an ID)
This way we can track what user we sent the message to originally. This format is not likely to change for various reasons. The issue we are running in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/248016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get image transparency working on IE I have a GIF image that has an alpha set, and when my site loads in Firefox 3.0, it acts transparently on the parts of the image that should. However, when I try to load the GIF image in IE7, it comes back as a solid block. Actually, it is like the color from the image b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/248018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Deploy application with SQLExpress I've been creating some applications with SQLExpress and find myself, scripting the database creation, tables and other entities etc. after application installation. Is this the normal way?
Thanks
A: Making a template database and restoring that works only if you do not need to u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/248022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Am I done with this Linked List code? Hi I'm trying to get some practice with Linked Lists.
I Defined an Object class called Student:
public class Student
{
protected string Student_Name;
protected int Student_ID;
protected int Student_Mark;
protected char Student_Grade;
public Stu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/248031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |