text stringlengths 8 267k | meta dict |
|---|---|
Q: Java Applet crashes .NET Webbrowsercontrol in our application we have a Java applet running inside a .NET browser control. It is a know issue from Sun that running an applet this way may crash the control.
Has anyone come across the same problem and solved it?
Atm we are running the applet in a Webbrowser but we nee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Integration testing with White Has anyone got experience with the white framework?
www.codeplex.com/white ?
I'm thinking about using it for the next project for basic smoke tests of our windows client. I'd like some advice on articles or your own experiences. Thanks.
A: I recently used white to build a few (20+) UI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How good are the tools to migrate to and from Team System? I was wondering if anyone tried migrating between TS and SVN/CC.
What I mean by migrating is importing and exporting the repository between source control systems without losing the history.
How good are the tools to migrate to and from VSTS?
I am also int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Export ChartFX7 to SVG in Java Can anybody give an example of exporting a ChartFX7 chart to SVG?
I've tried:
ByteArrayOutputStream baos = new ByteArrayOutputStream();
m_chart.setOutputWriter(new SvgWriter());
m_chart.exportChart(FileFormat.EXTERNAL, baos);
and :
ByteArrayOutputStream bao... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there some way to inject SQL even if the ' character is deleted? If I remove all the ' characters from a SQL query, is there some other way to do a SQL injection attack on the database?
How can it be done? Can anyone give me examples?
A: Yes, it is definitely possible.
If you have a form where you expect an inte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Class/Static Constants in Delphi In Delphi, I want to be able to create an private object that's associated with a class, and access it from all instances of that class. In Java, I'd use:
public class MyObject {
private static final MySharedObject mySharedObjectInstance = new MySharedObject();
}
Or, if MyShare... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Can Unix shell script be used to manipulate databases? I have to read data from some files and insert the data into different tables in a database. Is Unix shell script powerful enough to do the job?
Is it easy to do the job in shell script or should I go about doing this in Java?
A: If the data you are trying to i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Grabbing every 4th file I have 16,000 jpg's from a webcan screeb grabber that I let run for a year pointing into the back year. I want to find a way to grab every 4th image so that I can then put them into another directory so I can later turn them into a movie. Is there a simple bash script or other way under linux... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Windows IDE / editor for a beginner I'm teaching (or trying to teach) computer programming to a grad-student. Her previous experience amounts to little more than writing spreadsheet formulae. Which IDE or text editor should I recommend?
Please bear in mind that:
*
*I only meet my student about once a week.
*Sh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Getting Emacs fill-paragraph to play nice with javadoc-like comments I'm writing an Emacs major mode for an APL dialect I use at work. I've gotten
basic font locking to work, and after setting comment-start and
comment-start-skip, comment/uncomment region and fill paragraph also
work.
However, comment blocks often c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How do you make an infinite scrollbar control with Windows Core API? How do I make one? I am kind of a newbie in Windows API. Is there some sort of manual for this sort of thing? I am specifically interested in a Core API. Thank you for any help.
A: There are three ways of doing scroll bars: A window's scroll bar; ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I configure Eclipse to work on Qt-based applications in a subversion tree? Most of the work being done at my company is Qt-based C++, and it's all checked into a Subversion repository. Until now, all work on the codebase has been done purely with nano, or perhaps Kate. Being new here, I would like to take adv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using the docstring from one method to automatically overwrite that of another method The problem: I have a class which contains a template method execute which calls another method _execute. Subclasses are supposed to overwrite _execute to implement some specific functionality. This functionality should be document... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Determine the size of a pipe without calling read() I need a function called SizeOfPipe() which should return the size of a pipe - I only want to know how much data is in the pipe and not actually read data off the pipe itself.
I thought the following code would work:
fseek (pPipe, 0 , SEEK_END);
*pBytes = ftell (p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: DataGridView.HitTestInfo equivalent in Infragistics.Win.UltraWinGrid.UltraGrid? Does anyone know if the Infragistics UltraGrid control provides functionality similar to that of DataGridView.HitTestInfo?
A: Check this out.
They don't convert the coordinates, but they use a special Infragistics grid event (MouseEnter... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I detect from a Swing app that the PC is being shut-down? Well behaved windows programs need to allow users to save their work when they are shutting the PC down.
How can I make my app detect the shutdown event? Any solution should allow the user to abort the shutdown if user selects, say "Cancel".
The norma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to add a display name for a decorator in Visual Studio DSL (Domain Specific Language) Tools? In my DSL project I have a shape with a number of decorators that are linked to properties on my domain class. But even though ieach decorator has a DisplayName property (set to a meaningfull value) it does not appear in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: dll/runner that returns TAP output for an NUnit test suite? Anyone know uf there's a dll/runner anywhere that returns TAP output from an NUnit test suite?
A: Seems unlikely to me, since there is an impedance mismatch. TAP has no concept for what NUnit calls a test, and what TAP calls a test usually corresponds to a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can i search a non case sensitive word with Sql Server XQuery? I'm using an Xml field in my Sql Server database table. I'm trying to search a word using the XQuery contains method but it seems to search only in case sensitive mode. The lower method isn't implemented on Sql Server XQuery implementation also.
¿Is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Delete all but the 4 newest directories I want to delete all but the 4 newest directories in my parent directory. How would you do this in Bash?
A: ls -atrd */ | head --lines=-4 | xargs rm -rf
Edit: added 'a' argument to ls
A: Please clarify if you mean “delete all directories but the four newst ones” or “delete ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: .NET Framework versions I've had a little search and I was wondering if there is back compatibility for the .NET framework.
The real question is, if there's a program that uses .NET Framework 1.1, can I install 3.5 and be done, or do I have to install 1.1 and then if something uses 3.5 I have to install 3.5 as well?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Accessing hidden embedded quicktime audio I'm trying to write a simple audio player for a website, and am using the EMBED... tag to embed the audio and setting HIDDEN="true" and using various javascript commands to control the audio playback. It works fine for realplayer and mplayer but the quicktime plugin doesn't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why do we use extra expression? Here is a sample from Kernighan & Ritchie's "The C Programming Language":
int getline(char s[], int lim)
{
int c, i = 0;
while (--lim > 0; && (c=getchar()) !=EOF && c !='\n')
{
s[i++] = c;
}
if (c =='\n')
{
s[i++] = c;
}
s[i] = '\0';
return ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I get the text size of a string on a WPF canvas? I'm trying to find the amount of space/width that a string would take when its drawn on a WPF canvas?
A: I may have found an answer to my own question. The FormattedText class seems to have what I'm after.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/71919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to implement a Digg-like algorithm? How to implement a website with a recommendation system similar to stackoverflow/digg/reddit? I.e., users submit content and the website needs to calculate some sort of "hotness" according to how popular the item is. The flow is as follows:
*
*Users submit content
*Other u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Programmatic binding in Silverlight I'm missing the boat on something here, kids. This keeps rearing its head and I don't know what's going on with it, so I hope my homeys here can help.
When working in Silverlight, when I create bindings in my c# code, they never hold up when the application is running. The decla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How do I Validate the File Type of a File Upload? I am using <input type="file" id="fileUpload" runat="server"> to upload a file in an ASP.NET application. I would like to limit the file type of the upload (example: limit to .xls or .xlsx file extensions).
Both JavaScript or server-side validation are OK (as long a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: When choosing an ORM, is LINQ to SQL or LINQ to Entities better than NHibernate? I find I can do more with NHibernate, and even Castle than with the Linq to Entities, or linq to SQL.
Am I crazy?
A: The big drawbacks to NHibernate, Castle, etc., is that they're not exactly light-weight (especially NHibernate.)
Linq ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: One file doesn't recognize other file's class in C++ I have my own class inside the file "Particles.h" and the class's implementation is inside "Particles.cpp"
I want the file "Load.h" to recognize my classes inside there, so I've added the line
#include "Particles.h"
and the file doesn't recognize it and in the pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IIS is keeping hold of my generated files My web application generates pdf files and either e-mails or faxes them to our customers. Somehow IIS6 is keeping hold of the file and blocking any other requests for it claiming the old '..the process cannot access the file 'xxx.pdf' because it is being used by another proc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Dataflow Programming - Patterns and Frameworks I just came across the proposed Boost::Dataflow library.
It seems like an interesting approach and I was wondering if there are other such alternative frameworks for C++, and if there are any related design patterns.
I have not ruled out Boost::Dataflow, I am just look... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How do you efficiently copy BSTR to wchar_t[]? I have a BSTR object that I would like to convert to copy to a wchar__t object. The tricky thing is the length of the BSTR object could be anywhere from a few kilobytes to a few hundred kilobytes. Is there an efficient way of copying the data across? I know I could just... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Emacs equivalent of Vim's yy10p? How can I copy a line 10 times easily in Emacs? I can't find a copy-line shortcut or function. I can use C-aC-spcC-eM-w to laboriously copy the line but how can I then paste it more than once?
Any ideas before I go and write my own functions.
A: You don't need both C-x ) and C-x e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: How to run TAP::Harness tests written in Guile? The usual approach of
test:
$(PERL) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INCDIRS)')" $(TEST_FILES)
fails to run Guile scripts, because it passes to Guile the extra parameter "-w".
A: One possible approach is to set up your project as fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C++ overload resolution Given the following example, why do I have to explicitly use the statement b->A::DoSomething() rather than just b->DoSomething()?
Shouldn't the compiler's overload resolution figure out which method I'm talking about?
I'm using Microsoft VS 2005. (Note: using virtual doesn't help in this case... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: Best Practices for embedding .NET assemblies in SQL Server What are some important practices to follow when creating a .NET assembly that is going to be embedded to SQL Server 2005?
I am brand new to this, and I've found that there are significant method attributes like:
[SqlFunction(FillRowMethodName = "FillRow", T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Windows Forms Test Automation We are looking for a way to automate windows forms for acceptance testing. Our requirements are:
*
*Must be usable by non-developers (ie: people with no development environment installed)
*Must have a recorder
*Must support third-party controls
*Must have basic functionality (allo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Open-source full-text article recommendation engines I'm wondering if there are any good .NET recommendation algorithms available in open source projects, whether attached to a search engine or not. By recommendation I mean something that accepts a full-text article and recommends other articles from its index base... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Creating cursor rsrc files on Mac from png I want to create cursor rsrc files on the Mac from png files. The application that uses the cursors requires it to be in a .rsrc format and I cannot change that. Does anybody know of any way I can create the cursor .rsrc files from png images.
A: You can use Rezilla to edi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best way to implement mutliple Default Buttons on a ASP.NET Webform What is the best way to implement mutliple Default Buttons on a ASP.NET Webform?
I have what I think is a pretty standard page. There is a login area with user/pass field and a login button. Then elsewhere on the same page there is a single search f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .NET ActiveX Component in IE - How to Get Browser Reference I admit I know enough about COM and IE architecture only to be dangerous. I have a working C# .NET ActiveX control similar to this:
using System;
using System.Runtime.InteropServices;
using BrowseUI;
using mshtml;
using SHDocVw;
using Microsoft.Win32;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to build unit tests in Guile, which output to the TAP standard? I would like to have a Guile script, which implements functions, which output test result messages according to the TAP protocol.
A: There is also now ggspec, a Guile unit testing framework which can output results in (a subset of) TAP format. To d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Problem with SET FMTONLY ON I'm executing stored procedures using SET FMTONLY ON, in order to emulate what our code generator does. However, it seems that the results are cached when executed like this, as I'm still getting a Conversion failed error from a proc that I have just dropped! This happens even when I exe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to implement "DOM Ready" event in a GreaseMonkey script? I'm trying to modify my GreaseMonkey script from firing on window.onload to window.DOMContentLoaded, but this event never fires.
I'm using FireFox 2.0.0.16 / GreaseMonkey 0.8.20080609
This is the full script that I'm trying to modify, changing:
window.addE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Any better way to create MediaWiki numbered lists? When using MediaWiki's markup language, the only thing that I hate is creating numbered lists. The only way I know to create a list is to do something like this:
#Item1
#Item2
However, if I want to add spaces or some other text between those lines, the numbering ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: How do I reference a local resource in generated HTML in WinForms WebBrowser control? I'm using a winforms webbrowser control to display some content in a windows forms app. I'm using the DocumentText property to write the generated HTML. That part is working spectacularly. Now I want to use some images in the ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I use PDB files I have heard using PDB files can help diagnose where a crash occurred.
My basic understanding is that you give Visual studio the source file, the pdb file and the crash information (from Dr Watson?)
Can someone please explain how it all works / what is involved?
(Thank you!)
A: PDB files map ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: Is it ok to have multiple threads writing the same values to the same variables? I understand about race conditions and how with multiple threads accessing the same variable, updates made by one can be ignored and overwritten by others, but what if each thread is writing the same value (not different values) to the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How can I get the name of a variable passed into a function? Let me use the following example to explain my question:
public string ExampleFunction(string Variable) {
return something;
}
string WhatIsMyName = "Hello World";
string Hello = ExampleFunction(WhatIsMyName);
When I pass the variable WhatIsMyName to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "94"
} |
Q: What are some common misunderstandings about TDD? Reading over the responses to this question Disadvantages of Test Driven Development? I got the impression there is alot of misunderstanding on what TDD is and how it should be conducted. It may prove useful to address these issues here.
A: IMHO The biggest misconce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How do you pass an authenticated session between app domains Lets say that you have websites www.xyz.com and www.abc.com.
Lets say that a user goes to www.abc.com and they get authenticated through the normal ASP .NET membership provider.
Then, from that site, they get sent to (redirection, linked, whatever works) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Fastest way to find if a 3D coordinate is already used Using C++ (and Qt), I need to process a big amount of 3D coordinates.
Specifically, when I receive a 3D coordinate (made of 3 doubles), I need to check in a list if this coordinate has already been processed.
If not, then I process it and add it to the list (or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: ORA-00933: SQL command not properly ended I'm using OLEDB provider for ADO.Net connecting to an Oracle database. In my loop, I am doing an insert:
insert into ps_tl_compleave_tbl values('2626899', 0, TO_DATE('01/01/2002', 'MM/DD/YYYY'), 'LTKN', 'LTKN', '52', TO_DATE('01/01/2002', 'MM/DD/YYYY'), 16.000000, 24.000)in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: MSBuild ItemGroup, excluding .svn directories and files within How can I construct a MSBuild ItemGroup to exclude .svn directories and all files within (recursively). I've got:
<ItemGroup>
<LibraryFiles Include="$(LibrariesReleaseDir)\**\*.*" Exclude=".svn" />
</ItemGroup>
At the moment, but this does not exc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: Penetration testing tools We have hundreds of websites which were developed in asp, .net and java and we are paying lot of money for an external agency to do a penetration testing for our sites to check for security loopholes.
Are there any (good) software (paid or free) to do this?
or.. are there any technical ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: How to play a standard windows sound? How do I find out which sound files the user has configured in the control panel?
Example: I want to play the sound for "Device connected".
Which API can be used to query the control panel sound settings?
I see that there are some custom entries made by third party programs in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Does LINQ To SQL provide faster response times than using ado.net and oledb? LINQ simplifies database programming no doubt, but does it have a downside? Inline SQL requires one to communicate with the database in a certain way that opens the database to injections. Inline SQL must also be syntax-checked, have a pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Using C#, what is the most efficient method of converting a string containing binary data to an array of bytes While there are 100 ways to solve the conversion problem, I am focusing on performance.
Give that the string only contains binary data, what is the fastest method, in terms of performance, of converting tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Column Info only Returned with FMTONLY set to OFF I have a query that is dynamically built after looking up a field list and table name. I execute this dynamic query inside a stored proc. The query is built without a where clause when the two proc parameters are zero, and built with a where clause when not.
When I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there an easy way to create two columns in a popup text window? This seemed like an easy thing to do. I just wanted to pop up a text window and display two columns of data -- a description on the left side and a corresponding value displayed on the right side. I haven't worked with Forms much so I just grabbed th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to compile a java application which uses Google webdriver from comand line without ant I want to compile an example code which using google`s webdriver.
I saved webdriver into /home/iyo/webdriver. My code is:
package com.googlecode.webdriver.example;
import com.googlecode.webdriver.By;
import com.googlecode... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Have you used Rhino Igloo? Has anyone used Rhino igloo in a non-trivial project? I am curious if it's worth, what are its drawbacks, does it enhance testability a lot, is it easy to use. How would you compare it to a pure MVC framework (ASP.NET MVC)? Please share the experience.
A: Have you tried watching Ayende's ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recursion or Iteration? Is there a performance hit if we use a loop instead of recursion or vice versa in algorithms where both can serve the same purpose? Eg: Check if the given string is a palindrome.
I have seen many programmers using recursion as a means to show off when a simple iteration algorithm can fit the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "266"
} |
Q: Entities and Value Objects in Web Applications We have a simple domain model: Contact, TelephoneNumber and ContactRepository. Contact is entity, it has an identity field. TelephoneNumber is typical value object: hasn't any identity and couldn't be loaded separately from the Contact instance.
From other side we have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Mocking constructors in Ruby I'm a Java-developer toying with Ruby, and loving it. I have understood that because of Ruby's metaprogramming facilities my unit-tests become much cleaner and I don't need nasty mocking frameworks. I have a class which needs the File class's services and in my test I don't want to touch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Getting ASN.1 Issuer strings from PEM files? I recently came across an issue with Windows 2003 (apparently it also exists in other versions too), where if an SSL/TLS server is requesting client certificate authentication and it has more than 16KB of trusted certificate DNs, Internet Explorer (or any other app that u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to Call BizTalk Orchestration Dynamically How can I call a BizTalk Orchestration dynamically knowing the Orchestration name?
The call Orchestration shapes need to know the name and parameters of Orchestrations at design time. I've tried using 'call' XLang keyword but it also required Orchestration name as Desig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I set the HttpOnly flag on a cookie in Ruby on Rails The page Protecting Your Cookies: HttpOnly explains why making HttpOnly cookies is a good idea.
How do I set this property in Ruby on Rails?
A: Just set :http_only to true as described in the changelog.
A: If you’ve a file called config/session_store.rb i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: How to determine visible region of a Windows in X Windows / Linux? I have several nested X Windows - let's say - a scrollable window within a scrollable window (see the example below). In such case the main window contains (at least) the major scroll bars and the (major) drawing area they control. This drawing area ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can a C++ windows dll be merged into a C# application exe? I have a Windows C# program that uses a C++ dll for data i/o. My goal is to deploy the application as a single EXE.
What are the steps to create such an executable?
A: Try boxedapp; it allows to load all DLLs from memory. Also, it seems that you can e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: "No newline at end of file" compiler warning What is the reason for the following warning in some C++ compilers?
No newline at end of file
Why should I have an empty line at the end of a source/header file?
A: It isn't referring to a blank line, it's whether the last line (which can have content in it) is termina... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "202"
} |
Q: When should the volatile keyword be used in C#? Can anyone provide a good explanation of the volatile keyword in C#? Which problems does it solve and which it doesn't? In which cases will it save me the use of locking?
A: Simply looking into the official page for volatile keyword you can see an example of typical u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "359"
} |
Q: FileLoadException / Msg 10314 Error Running CLR Stored Procedure Receiving the following error when attempting to run a CLR stored proc. Any help is much appreciated.
Msg 10314, Level 16, State 11, Line 1
An error occurred in the Microsoft .NET Framework while trying to load assembly id 65752. The server may be runn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: Learning OpenGL ES 1.x What is the quickest way to come up to speed on OpenGL ES 1.x?
Let's assume I know nothing about OpenGL (which is not entirely true, but it's been a while since I last used OpenGL). I am most interested in learning this for iPhone-related development, but I'm interested in learning how it wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Should I add the Visual Studio .suo and .user files to source control? Visual Studio solutions contain two types of hidden user files. One is the solution .suo file which is a binary file. The other is the project .user file which is a text file. Exactly what data do these files contain?
I've also been wondering whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "900"
} |
Q: How do I set the HttpOnly flag on JSF/Richfaces I'd like to add the HttpOnly flag to JSF/richfaces cookies, especially the session cookie, to up the level of security on my web app. Any ideas?
A: There may be something that allows you to do this in your servlet engine. This is part of the Servlet 3.0 spec which i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How should I capitalize Perl? PERL? Perl? perl? What's good style?
I know the answer—I just wanted to make sure the question was out there and questioners were aware that there is a correct form.
A: Here's the answer from perlfaq1:
What's the difference between "perl"
and "Perl"?
One bit. Oh, you weren't talki... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: What must I do to make content such as images served over HTTPS be cached client-side? I am using Tomcat as a server and Internet Explorer 6 as a browser. A web page in our app has about 75 images. We are using SSL. It seems to be very slow at loading all the content. How can I configure Tomcat so that IE caches the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to use the "is" operator in System.Type variables? here is what a I'm doing:
object ReturnMatch(System.Type type)
{
foreach(object obj in myObjects)
{
if (obj == type)
{
return obj;
}
}
}
However, if obj is a subclass of type, it will not match... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: In Visual Studio 2008, is it possible to mix vertical tab groups with horizontal tab groups? I have a 1920x1200 screen an would like to customize VS2008 code windows to have some areas split vertically and horizontally (tab groups).
I can only seem to do all vertical or all horizontal in VS2008. Is there any crafty... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Speech Recognition for Searching Files Here is the problem I have:
I have a lot (tens of thousands) of mp3 files that my users would like to be able to search. Is there is software out there that you've used or heard good things about that would allow me to index that content and put it in a database so I can search... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Given a Date Object how do I determine the last day of its month? I'm trying to use the following code but it's returning the wrong day of month.
Calendar cal = Calendar.getInstance();
cal.setTime(sampleDay.getTime());
cal.set(Calendar.MONTH, sampleDay.get(Calendar.MONTH)+1);
cal.set(Calendar.DAY_OF_MONTH, 0);
retur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Python and "re" A tutorial I have on Regex in python explains how to use the re module in python, I wanted to grab the URL out of an A tag so knowing Regex I wrote the correct expression and tested it in my regex testing app of choice and ensured it worked. When placed into python it failed:
result = re.match("a_reg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Storing content in multiple languages? E.g. English, French, German How should I store (and present) the text on a website intended for worldwide use, with several languages? The content is mostly in the form of 500+ word articles, although I will need to translate tiny snippets of text on each page too (such as "pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Python's unittest logic Can someone explain this result to me. The first test succeeds but the second fails, although the variable tested is changed in the first test.
>>> class MyTest(unittest.TestCase):
def setUp(self):
self.i = 1
def testA(self):
self.i = 3
self.assertEqual(self.i,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is the null value of Nullable(Of T)? I have a nullable property, and I want to return a null value. How do I do that in VB.NET ?
Currently I use this solution, but I think there might be a better way.
Public Shared ReadOnly Property rubrique_id() As Nullable(Of Integer)
Get
If Current.Re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What facets have I missed for creating a 3 person guerilla dev team? Sorry for the Windows developers out there, this solution is for Macs only.
This set of applications accounts for: Usability Testing, Screen Capture (Video and Still), Version Control, Task Lists, Bug Tracking, a Developer IDE, a Web Server, A Blog... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How do I use .htaccess to redirect to a URL containing HTTP_HOST? Problem
I need to redirect some short convenience URLs to longer actual URLs. The site in question uses a set of subdomains to identify a set of development or live versions.
I would like the URL to which certain requests are redirected to include the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Automated testing of FLEX based applications What tools, preferably open source, are recommended for driving an automated test suite on a FLEX based web application? The same tool also having built in capabilities to drive Web Services would be nice.
A: Adobe distributes a test framework themselves: FlexUnit.
A: I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: equivalent vb code for a java code Can anyone tell me what exactly does this Java code do?
SecureRandom random = SecureRandom.getInstance("SHA1PRNG");
byte[] bytes = new byte[20];
synchronized (random)
{
random.nextBytes(bytes);
}
return Base64.encode(bytes);
Step by step explanation will be useful so that I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: gwt lazy loading Is it possible in a large GWT project, load some portion of JavaScript lazy, on the fly?
Like overlays.
PS: Iframes is not a solution.
A: Check out GWT.runAsync as well as the Google I/O talk below, which goes into lazy loading of JavaScript in GWT projects.
*
*http://code.google.com/p/googl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I change the type of control that is used in a .NET PropertyGrid I have a Windows application that uses a .NET PropertyGrid control. Is it possible to change the type of control that is used for the value field of a property?
I would like to be able to use a RichTextBox to allow better formatting of the inpu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Creating a database in Microsoft Access that is searchable only by certain fields How would you create a database in Microsoft Access that is searchable only by certain fields and controlled by only a few (necessary) text boxes and check boxes on a form so it is easy to use - no difficult queries?
Example:
You have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Auto number column in SharePoint list In a SharePoint list I want an auto number column that as I add to the list gets incremented. How best can I go about this?
A: You can't add a new unique auto-generated ID to a SharePoint list, but there already is one there! If you edit the "All Items" view you will see a list... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: Is a software token a valid second factor in multi-factor security? We are changing our remote log-in security process at my workplace, and we are concerned that the new system does not use multi-factor authentication as the old one did. (We had been using RSA key-fobs, but they are being replaced due to cost.) The ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: One Update Panel vs. Multiple Update Panels I have an ASP.NET web page that displays a variety of fields that need to be updated best on certain conditions, button clicks and so on. We've implemented AJAX, using the ASP.NET Update Panel to avoid visible postbacks.
Originally there was only one area that needed this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: Why does volatile exist? What does the volatile keyword do? In C++ what problem does it solve?
In my case, I have never knowingly needed it.
A: volatile is needed when developing embedded systems or device drivers, where you need to read or write a memory-mapped hardware device. The contents of a particular device ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "271"
} |
Q: Hot to commit changes for a TreeView while editing a node (C#)? I am playing with Microsoft's TreeView control and I am trying to force a data update of some sorts while editing a node's label, similar to UpdateData for a grid.
Basically, in my editor, I have a Save button and this TreeView control: what I want is w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I find out which exceptions a Delphi function might throw? Is there a good way to find out which exceptions a procedure/function can raise in Delphi (including it's called procedures/functions)?
In Java you always have to declare which exceptions that can be thrown, but this is not the case in Delphi, which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Multiple return values to indicate success/failure. I'm kind of interested in getting some feedback about this technique I picked up from somewhere.
I use this when a function can either succeed or fail, but you'd like to get more information about why it failed. A standard way to do this same thing would be with ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.