text stringlengths 8 267k | meta dict |
|---|---|
Q: How expensive is MD5 generation in .NET? To interact with an external data feed I need to pass a rolling security key which has been MD5 hashed (every day we need to generate a new MD5 hashed key).
I'm trading up whether or not to do it every time we call the external feed or not. I need to has a string of about 10 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to record keystrokes when keyboard journaling is not available? Having setup C++ app originally using MS specific keyboard journaling hook (WH_JOURNALRECORD) we find that it does not work on Vista unless run as administrator with uiAccess enabled. MSDN Question - Journaling hooks on Vista?
We want to record a ke... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How would a system tray application be accomplished on other platforms? Windows has the "system tray" that houses the clock and alway-running services like MSN, Steam, etc.
I'd like to develop a wxPython tray application but I'm wondering how well this will port to other platforms. What is the tray equivalent on ea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Why do I get "The server encountered a stack overflow during compile time" error is SQL Server 2000 Sp4 I am trying to have around 6290 'AND' conditions in this query. I get the same for around 11945 'OR' conditions.
Exception details:
The server encountered a stack overflow during compile time. at System.Data.
l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can we access a reusable DaysOfWeek control? Just wondering if we have access to the PocketOutlook DaysOfWeek control/editor, or if anybody else has made their own for free usage.
I'm looking for something exactly like what's in the Outlook Calendar appointment reoccurring pattern editor.
*
*Open Calendar
*Creat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP classes: Need help to inherit two classes I need help in designing my PHP classes where I need to extend from multiple classes.
I have a general class, Pagination.php that does all sort of pagination and sorting. All other classes will use this for pagination.
To make my life easier, I made a class generator tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: C++ 'GET' request or how do you download files to work with in C++? Alright I've spent a good three days trying this, here's the scenario:
I want to download a '.csv' file from Google and then do stuff with the data from the file. It's for a Win32 Console Application. I have the latter down, I just cannot for the li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Developing in VB 6.0 We have multiple projects in VB 6.0. Most of these projects are ActiveX DLL's. When developing, projects take a '.dll' reference of other projects, but this does not allow us to debug. So, for this we have to take a reference to the '.vbp' project. However, taking a project reference, means we a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cocoa/Objective-C - Can i somehow see the implementation files? I believe i can learn thing or two if i can see the implementation files (.m files). Is there any way the i can view NSString.m or NSNumber.m files? and others? If i try to find these files using spotlight, i get nothing.
A: No, most (all?) of the Coco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I take a day of the year and 'bucket it' into weeks of the year in Microsoft SQL? Used in manufacturing scenarios for material requirements I have a need to create a gross requirements report that takes how much supply and demand of a item in inventory from a start date onwards and 'buckets' it into different... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL Join Differences What's difference between inner join and outer join (left join,right join), and which has the best performance of them?
Thanks!
A: Check this article:
A Visual Explanation of SQL Joins
Inner Join:
Left Outer Join:
Right Outer Join:
A: Performance comparisions between types of joins are i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "44"
} |
Q: How to maintain lists and dictionaries between function calls in Python? I have a function. Inside that I'm maintainfing a dictionary of values.
I want that dictionary to be maintained between different function calls
Suppose the dic is :
a = {'a':1,'b':2,'c':3}
At first call,say,I changed a[a] to 100
Dict becomes ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to reduce the CPU usage when a progress change event handler is fired? I had created a BHO application with the help of this link.
If I Build the source code obtained in above article, the CPU usage is increased to 70-80%.
How can I reduce this?
In the above article, instead of Document complete event handler, i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are assertions always bad? I used to work for a company where some of the lead architect/developers had mandated on various projects that assertions were not to be used, and they would routinely be removed from code and replaced with exceptions.
I feel they are extremely important in writing correct code. Can any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Print html document from Windows Service without print dialog I am using a windows service and i want to print a .html page when the service will start. I am using this code and it's printing well. But a print dialog box come, how do i print without the print dialog box?
public void printdoc(string document)
{
P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Trigger button event when press enter key on Mozilla Firefox function CaptureKeys (e,btn) {
var c //= document.layers ? evt.which: document.all ? event.keyCode : evt.keyCode
if(window.event) {
c = e.keyCode; // IE
} else if(e.which) {
c = e.which; // Netscape/Firefox/Opera
}
if (c == 13) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Debugging an AmbiguousMatchException thrown when calling AppDomain.CreateInstanceAndUnwrap in .NET I have an application which is throwing an AmbiguousMatchException when I call AppDomain.CreateInstanceAndUnwrap to instantiate a type in another AppDomain. This is happening on a customer's computer which I don't hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419436",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Need Palm Desktop datebook.dat file format I'm looking for documentation on the file format of Palm Desktop's "datebook.dat" file for versions of Palm Desktop >= 4.1.
Note that http://www.notsofaqs.com/datebook_dat.php documents part of the <4.1 datebook format, but I'm looking for the current "Calendar" format used... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Serialisation order & Unity problems I have an application that uses an XML and custom serialiser, and have recently added some DI using Unity 1.2 to set two properties in my class.
Now when I serialise the class the properties that were set by Unity are serialised first followed by all the other properties in order... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Screen scraping through AJAX and javascript I want to scrape a screen using AJAX and javascript. How is this possible?
Need to scrape this : http://www.fedex.com/Tracking?ascend_header=1&clienttype=dotcom&cntry_code=us&language=english&tracknumbers=776812461212825
I had used the technique given in w3school.com, but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Difference between checkout and export in SVN What is the exact difference between SVN checkout and SVN export?
From what I know, export does not include the .svn directory which include metadata, and checkout included that .svn directory. Yet, my colleague had this problem recently that there is a different behavio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "78"
} |
Q: Have a reloadData for a UITableView animate when changing I have a UITableView that has two modes. When we switch between the modes I have a different number of sections and cells per section. Ideally, it would do some cool animation when the table grows or shrinks.
Here is the code I tried, but it doesn't do anyt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "202"
} |
Q: SQL Query Advice - Get Previous Item I asked the opposite question here, now I am faced with another problem. Assume I have the following tables (as per poster in previous post)
CustID LastName FirstName
------ -------- ---------
1 Woman Test
2 Man Test
ProdID ProdName
------ --------
123 NY ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How does SMP multithreading share memory and interrupts? I'm doing some work on the input buffers for my kernel, and I had some questions. On Dual Core machines, I know that more than one "process" can be running simultaneously. What I don't know is how the OS and the individual programs work to protect collisions i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to create Dynamic send port for MS CRM 3.0/4.0 in BizTalk 2006? HI ,
I want to create a dynamic send port for MS CRM 3.0/4.0 adapter. but i didn't get how to create it? Also i didn't get any methods to set user name and password required to access CRM.
CRM URL is : http://localhost:5555
User name: Administrator
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I get the current DateTime from the Precompiler in C#? In C# 3.0, I have a property which is suppose to contain the version of the class. The version number is simply the date and time of compilation. Right now, I have the following code:
public DateTime Version
{
get { return DateTime.UtcNow; }
}
Obvio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Windows Backup for SVN Repositories I am running a SVN server on my Windows Server and want to schedule an automated backup procedure. I will always be the only one working on the repository. Should I bother with hotcopy or can I use a simple Windows backup application to backup the repositories? What about xcopy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: launch a xcodeproj from terminal I trying to build and compile my xcodeproj in command line and it is working now.
So it is also possible to launch the xcodeproject from terminal instead from the Xcode?
A: If you want to run an app from the command line, use
open /path/to/appname.app
"Build and Go" is really ju... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: "The parameter is incorrect" when setting Unicode as console encoding I get the following error:
Unhandled Exception: System.IO.IOException: The parameter is incorrect.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.Console.set_OutputEncoding(Enc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: F# Units of measure - 'lifting' values to float When importing numbers from a csv file, I need to convert them to floats with unit.
Currently I do this with an inline function:
data |> List.map float |> List.map (fun n -> n * 1.0<m>)
But I'm wondering if there is a more elegant way to do this - or do I have to crea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What data mining application to use? The last I used was weka
. The last I heard java was coming up with an API (JDM) for it. Can anyone share their experiences with the tools. I am mostly interested in using the tools for classification/clustering (weka does a decent job here) and the tool should have good API supp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can I ignore a SIGFPE resulting from division by zero? I have a program which deliberately performs a divide by zero (and stores the result in a volatile variable) in order to halt in certain circumstances. However, I'd like to be able to disable this halting, without changing the macro that performs the division by... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is your favorite free Netstat GUI / Connection Monitor app for Windows? I need something a little more feature rich than Sysinternals TCPView (which I regularly use) ... but it also must be freeware. :)
A: Well, the question is a bit old and I realize that probably you already found the software you were looki... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Convert RTF Stream to Plain Text Stream I have crystal report and I need to convert it to text file. Currently I can only convert it to RTF Stream. Now I need to convert the RTF Stream to Text Stream. I am using C#.
Thanks.
A: Correct me if I am wrong but you are using the ExportToStream method with ExportFormatTyp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .Net WSDL command line utility error I'm pointing the .Net command line WSDL utility that ships with Visual Studio 2005 at a web service implemented in Java (which I have no control over) and it spits out the following error:
WSDL : error WSDL1: Unable to cast object of type 'System.Xml.XmlElement'
to type 'System.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I write special character in VB code I have a Sql statament using special character (ex: ('), (/), (&)) and I don't know how to write them in my VB.NET code. Please help me. Thanks.
A: Find out the Unicode code point for the character (from http://www.unicode.org) and then use ChrW to convert from the code ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is this possible use ellipsis in macro? Can it be converted to template? Having implemented CLogClass to make decent logging I also defined macro, but it works only with one parameter...
class CLogClass
{
public:
static void DoLog(LPCTSTR sMessage, ...);
};
#define DebugLog(sMessage, x) ClogClass::DoLog(__FI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What does "wsse:InvalidSecurity" mean? An error was discovered processing the <wsse:Security> header
This is a WS-Security question btw...
I can't see anything wrong with my WS endpoint (apart from the fact that it's running in a TIBCO BW engine!). Does someone have any 'prior' with this kind of error? I realise t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C# Sockets: How do you handle a socket in C#.NET the way they're handled in VB6 or Delphi (event driven)? C# Sockets: How do you handle a socket in C#.NET the way they're handled in VB6 or Delphi (event driven)?
On VB6 or Delphi, when creating a socket, you had an onconnect, onreceive, and onerror events placed into... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I make this Processing.org sketch more efficient? I have a simple sketch (in Processing), basically a bunch of dots wander around, if they come into contact with each other they fight (each has a strength value, increased each time they win, if it's equal the winner is randomly chosen)
It works well with abo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best reporting engine for WPF without a database? Does anyone know of a Reporting Engine for WPF? Most of the ones I could find are still for WinForms.
I'm happy enough using a WinForms one in WPF with a WinForms host so long as the tool has a UserControl that can be embedded in a window.
Also, I'm not using a datab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What is the difference between "JPG" / "JPEG" / "PNG" / "BMP" / "GIF" / "TIFF" Image? I have seen many types of image extensions but have never understood the real differences between them. Are there any links out there that clearly explain their differences?
Are there standards to consider when choosing a particula... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "111"
} |
Q: Cache or class variables? Is it better practice to use class variables, or the session cache in ASP.NET? I have a variable which I need to persist across page loads. Is it better to use:
public class MyClass {
private SomeObject anObject;
private method1() {
anObject = new SomeObject();
}
private method2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the difference between Django and Joomla? What is the difference between Django and Joomla?
Or better still what is the difference between CMSs (Joomla, Drupal, etc) and Web Frameworks (Django, Symphony, Zend, etc)?
A: Web frameworks are programmer tools that help build content managers and similar web app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How does the WPF Button.IsCancel property work? The basic idea behind a Cancel button is to enable closing your window with an Escape Keypress.
You can set the IsCancel property on
the Cancel button to true, causing the
Cancel button to automatically close
the dialog without handling the Click
event.
Sourc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Do you consider foreach((array)$foo as $bar) a code smell? Do you consider this a code smell?
foreach((array)$foo as $bar)
{
$bar->doStuff();
}
Should i use that instead?
if (isset($foo) && is_array($foo))
{
foreach($foo as $bar)
{
$bar->doStuff();
}
}
Any other good practices to cover not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Using strcat in C Okay so I have the following Code which appends a string to another in C#, note that this is Just an example, so giving alternative string concatination methods in C# is not nessesary, this is just to simplify the example.
string Data = "";
Data +="\n\nHTTP/1.1 " + Status_code;
Data += "\nContent-T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Sharepoint Document collaboration Document collaboration
Is this possible to restrict the section in document, based on the user.
Egg:
Document contains three sections,
Section 1, Section 2, Section 3
Three users need to contribute for document preparation,
User 1 for section 1
User 2 for section 2
User 3 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VS2008: Running xsd.exe on schema file gives XMLSchema:datetime is not declared I have a an XSD that looks like this (roughly)
<xs:schema id="Appointment" targetNamespace="http://tempuri.org/Record.xsd" elementFormDefault="qualified"
attributeFormDefault="qualified" xmlns="http://tempuri.org/Record.xsd" xmlns:mstns=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Possible to load a web part inside another? So, this is what we want to do: We want to have a generic web part with a custom frame around it and then dynamically load other web parts (frameless) inside it. Would this at all be possible you think? A bit like Jan Tielens SmartPart, only not for ASP.Net User Controls, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Do you find source code analyzers useful?
*
*Do you use source code analyzers? If so, which ones and for which language development?
*Do you find them helpful in solving potential bugs in your code? Or are most of their warnings trivial?
*After prolonged use, do you find your code quality to be higher than befor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: C# Data structure Algorithm I recently gave a interview to one of the TOP software company. I was completely stuck with only one question asked by interviewer to me, which was
Q. I have a machine with 512 mb / 1 GB RAM and I have to sort a file (XML, or any) of 4 GB size. How will I proceed? What will be the data s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Installing .NET Framework with my app using MSI I have created a setup project in VS2008. My WinForms app uses .NET 2.0, so I chose .NET 2.0 Prerequisity and built the setup project.
When I run my Setup.msi on a clean PC, it correctly detects that the .NET is missing and asks if it should be installed. After a succe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: IIS 6.0 Virtual Directory setup I set up a website and I created a folder names (docs) in the website as Virtual Directory with some documents.
Therefore the URL is xxxxxxyyyyzzzz.com/docs
The problem is that when i try to access xxxxxxyyyyzzzz.com/docs/1.doc, Authentication is required. Can you tell me how to remo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Which simple future-proof Delphi serial comms code to use? I've been a fan of Turbopower Async Pro for years, now taken up on SourceForge and it works very well. However, it's complex and I've never really made use of its features other than the port component. I'm updating my code for D2009 etc and am tempted to mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: xUnit : Assert two List are equal? I'm new to TDD and xUnit so I want to test my method that looks something like:
List<T> DeleteElements<T>(this List<T> a, List<T> b);
Is there any Assert method that I can use ? I think something like this would be nice
List<int> values = new List<int>() { 1, 2, 3 };
List<int> ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "158"
} |
Q: How do I get the number of rows per day between given dates? I am having table in the below format. I need mysql query to get the no of rows perday when i give date between 2008-10-12 and 2008-10-13
Name | KW | KV | I | Date |
------+--------+------+------+---------------------+
UPS1 | 353... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Binary SMS in Symbian I wonder if anyone has managed to create a working code for sending out binary messages (to configure Symbian phones) and have also some binary data sample.
So far all the samples I have found fail to leave the Outbox or never return.
// Current entry is the Draft folder.
iSmsMtm->SwitchCur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: relocate apache's configuration files is there a chance to use different location for apache's config files (on Windows)? Other than having to compile it myself and setting the proper #define HTTPD_ROOT value.
Thx rezna
A: This can be done by specifying the -f option when installing apache as a service on Windows.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How does one store the "original capture date" metadata item for a QuickTime movie? Quicktime has a rich metadata API, allowing one to store all sorts of arbitrary data on a .mov file (or one of its streams). I'm looking for the standard key name and value format for storing the shooting date for a video clip, anal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where do Eclipse sub-processes (launched with the "run" menu) show up? I'm using Eclipse 3.4.1, moving my first steps. When I run my project (a server process) a console opens. But for some reasons after a while I can't find it anymore (even if the process is still up). I'd like to find it to be able to see its outp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Automated Class timetable optimize crawler? Overall Plan
Get my class information to automatically optimize and select my uni class timetable
Overall Algorithm
*
*Logon to the website using its
Enterprise Sign On Engine login
*Find my current semester and its
related subjects (pre setup)
*Navigate to the right ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a cref to method overloads in a tag in C#? I see in MSDN links such as "CompareOrdinal Overloads". How can I write such a link in C#?
I tried:
<seealso cref="MyMethod">MyMethod Overloads</seealso>
But the compiler gives me a warning about being an ambiguous reference for the method which has other over... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: System constant for the number of days in a week (7) Can anyone find a constant in the .NET framework that defines the number of days in a week (7)?
DateTime.DaysInAWeek // Something like this???
Of course I can define my own, but I'd rather not if it's somewhere in there already.
Update:
I am looking for this beca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How do I pan the image inside a UIImageView? I have a UIImageView that is displaying an image that is wider and taller than the UIImageView is. I would like to pan the image within the view using an animation (so that the pan is nice and smooth).
It seems to me that I should be able to just adjust the bounds.origin ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: How to call Nunit from Visual Studio in a batch file I have set my Visual Studio to start Nunit as an external program to run all the tests written in a module.
Now what I am trying to do is to create a batch file which will call Myproj.exe. What I am expecting is that it will run Nunit as I have set it to run an e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: HTML code for an apostrophe Seemingly simple, but I cannot find anything relevant on the web.
What is the correct HTML code for an apostrophe? Is it ’?
A: Here is a great reference for HTML Ascii codes:
http://www.ascii.cl/htmlcodes.htm
The code you are looking for is: '
A: Note that ' IS defined in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "244"
} |
Q: Do you have any commit policies? My boss announced yesterday a new commit policies for checkins into the repository. This policies are valid for commits into head/trunk and branches.
A commit message must have the following items:
*
*Reason (Bug ID,Project ID, or non functional change)
*Name of the reviewer
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: PHP - securing parameters passed in the URL I have an application which makes decisions based on part of URL:
if ( isset($this->params['url']['url']) ) {
$url = $this->params['url']['url'];
$url = explode('/',$url);
$id = $this->Provider->getProviderID($url[0]);
$this->providerName = $url[0]; //... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you prevent a .NET service from timing out while waiting on a dependent service I have a C# based service that is dependent on the MSMQ service. In some scenarios the MSMQ service takes a long time to start, apparently resulting in a timeout of the C# service. How can I fix this programatically?
Edit: It appe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JMF and RTP Protocol I am doing a project which consists of a video-conference system in Java and using the RTP protocol. The problem is that I can not pass the stream to the clients, that I capture in my webcam. I already turned off my firewall, but still it does not work.
Someone can give me a hand?
A: Try to l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hosted Yui, Google maps, JQuery - an easy way of monitoring website usage? The Yahoo Javascript library (YUI), JQuery and less so Google maps all allow you to reference their files using the following format:
<script type="text/javascript" src="http://yui.yahooapis.com/2.6.0/build/yahoo-dom-event/yahoo-dom-event.js"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to validate dynamically created control? I have an asp.net page, some of its controls are created dynamically, these controls are one of the following; textbox, calendar, or dropdownlist.
These controls in some cases, should be validated based on flag read from db?
Is there any way to validate
dynamically cre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: increase clarity of a graph I am using jfreechart for plotting graphs. The problem is that if have more entries on the X-axis, then the X-axis parameters are not visible. How should I solve that?
A: Change the scale of the graph until you can see the parameters.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/419770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can you stop a Winforms Panel from scrolling? If you put a DataGridView that is 400 pixels high on a panel that's 300 pixels high, so that there's a scroll bar on the panel, then scroll down so that the lower half of the grid is shown, then click on a control outside the panel, then click on a line in the grid, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: DirectDraw question - running the application as a regular Windows application I am developing an application for video recording and I want to overlay the video preview with a logo and recording timer.
I tried to run the full-screen application and everything worked fine. Then I tried to run the application as a re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Modal operation using IMessageFilter and DoEvents This is a Windows Forms application. I have a function which captures some mouse events modally till a condition is met. For example, I would like to wait for the user to select a point in the window's client area (or optionally cancel the operation using the Escape ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What are the downsides of sqlserver 2008 (vs 2005) I'm starting a new project and I'm considering using sqlserver 2008.
I've had a lot of trouble getting teamsystem to work with it, and I'm wondering if sql server 2008 is widely used in productions environment yet.
What whould you choose? How do you compare sqlserve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I sort query results by keyword occurrence in column? (SQL Server Full-Text) How do I sort the query results by keyword occurrence in column? I'm using SQL Server 2008 with Full-text indexing.
A: select columnname, count(columnname) as cnt from tablename group by columnname order by count(columnname) desc
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: explicit serialVersionUID considered harmful? It seems to me that explicitly specifying serialVersionUID for new classes is bad. Consider the two cases of not changing it when layout has it should have been changed and changing it when it should not have.
Not changing when it should have been changed occurs almost o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: What are the rules for file extensions in Windows and Unix? i'm currently using File::Basename fileparse to separate out a file's directory, base file name and it's extension using something like this:
my($myfile_name,$mydirectory, $file_extension) = fileparse($$rhash_params{'storage_full_path_location'},'\..{1,4}')... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WPF: how to display enum property values in VS2008 XAML editor intellisense? I created a WPF custom control with a dependency property of an enum type.
I want the user of that control when editing the XAML in VS to see the optional values of the enum in the intellisense window.
Does anyone know how it can be done?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Closures as class members? I have taken a liking to jQuery/Javascript's way of extending functionality via closures. Is it possible to do something similar in PHP 5.3?
class Foo
{
public $bar;
}
$foo = new Foo;
$foo->bar = function($baz) { echo strtoupper($baz); };
$foo->bar('lorem ipsum dolor sit amet');
// LO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Does location.replace() not do a conditional get if last-modified caching is in place? Here's what I'm seeing: I have a conditional-get caching policy in place (cache-control: private, must-revalidate).
It works fine if I'm on the page, then try to hit the browser's refresh button.
However, in another part of my sit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Msbuild task to restore SQL Server database What is a quick example / demo of an msbuild task to delete then restore a database and also maybe run any .sql files against the restored database?
A: Use the ExecTask and call sqlcmd.exe or a cmd script to do what ever you want to with your database.
A: We use ExecTask... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Visual Studio 2008 tries to convert a web deployment project every time I open the solution I am using a web deployment project in Visual Studio 2008.
Now, every time I open my ASP.NET web project solution which contains the web deployment, Visual Studio asks to convert the project (I guess from VS 2005 to 2008). I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Resources for implementing ERP and other Enterprise applications? When developing an ERP-like software or any other complex business system, what resources do you go to for best practices?
I'm a developer, not an accountant, not a purchaser, not a manager.
I do have project management experience in engineering (non-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Digitally sign pdfs My company has a web document management application and I have been assigned to find a way to sign pdf files with the user digital certificate.
The pdfs can go from a few kb to over 100Mb, this is over the internet so the signature must take place at the web server.
In order to do this i have bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it excessive to own server hardware? Since there is a large pool of passionate developers in this community, I would like to gather your opinions on this matter - do you think it is excessive, or advantageous, to purchase and operate actual server hardware at home to spice your own development and learning effort... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to run test cases on a list of slightly different jars? I have a list of jar files, all containing slightly different versions of the same system.
I want to execute a set of test cases on each jar file while being able to obtain the results for each jar (via RunListener or something like that).
I am a bit confus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Function-level constants - declare at top of function? I have a constant value that I only plan to use once in my codebase. I am going to declare it using a const declaration.
If this was a function-level variable I would declare it at the point of usage, but doing so with a constant just seems to clutter my functio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Post from one controller action to another (not redirect) I have an action which I need to post forward onto another action if it meets certain conditions, but I am unable to preserve the form data when passing through to the next action.
The receiving action accepts a FormCollection, which the sending action
Curre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best to use Private methods or Protected methods? In a lot of my PHP projects, I end up with classes that have non-public functions that I don't intend to extend.
Is it best to declare these as protected, or private?
I can see arguments both ways - making them private is a far more conservative approach, but it can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: Web App Compiling Error - ASP.NET Reference My current web app works fine locally and on live, what i am currently playing around with is compiling my Web App with the Visual Studio Option "Add Web Deployment Project" so all the code behind is compiled into DLL's.
There's is one particular build error i can not get ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Java: Receive a multipart HTTP response I'm writing a Java client application to receive live M-JPEG video from an IP camera. The video is sent by the camera as an endless multipart HTTP message where each part is a single JPEG frame. I need to process each of these frames as they arrive, so I'm hoping there's a way... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: MySQL partitioning with ActiveRecord I want to take advantage of the new partitioning in MySQL 5.1 but using a standard ActiveRecord model. The problem I have encountered is that to use the partitioning the primary key on the table must include the columns used in the partitioning function. (http://dev.mysql.com/d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to deep copy an irregular 2D array How can I deep copy an irregularly shaped 2D array in Java?
Ie.
int[][] nums = {{5},
{9,4},
{1,7,8},
{8,3,2,10}}
I'm unable to use Arrays.arrayCopy() for some reason (versioning?)
A: I wrote this in Eclipse, tested it, came ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Open an iPhone application from the terminal Is it possible to open an iPhone application or an Xcode project from the terminal? I have already tried:
open /path/to/project.app
But this returns a warning and quits unexpectedly due to an image load error when it launches the simulator. Does anyone have any suggestion... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: File download dialog IE7 disappears The following code will not run correctly in IE7 with the latest service packs installed.
System.Web.HttpResponse response = System.Web.HttpContext.Current.Response;
response.Clear();
response.AddHeader("Content-Disposition", "attachment;filename=Contacts.xls");
response.ContentTy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C# Can I nullify an object from another class I have an object that is generated in one class
public class CreatingClass
{
public T CreateObject<T>(Dictionary<string, object> parameters) where T : IMyInterface, new()
{
....
}
public void DestroyObject(IMyInterface objectToDestroy)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/419878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.