text stringlengths 8 267k | meta dict |
|---|---|
Q: User input and command line arguments How do I have a Python script that can accept user input and how do I make it read in arguments if run from the command line?
A: As of Python 3.2 2.7, there is now argparse for processing command line arguments.
A: If it's a 3.x version then just simply use:
variantname = inpu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "610"
} |
Q: VMWare Server: Virtual Hard Drive Type For best performance, is it better to use a virtual IDE HDD or virtual SCSI HDD?
If, SCSI, does it matter whether you use an BusLogic or LSILogic?
A: Go for the SCSI and LSILogic. IDE and BusLogic are for compatibility reasons. Like when you do physical2virtual...
There's a wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Using Asp.Net MVC with SharePoint Is it possible to use the Asp.Net MVC framework within SharePoint sites?
A: One possible architecture is to use an asp.net or an asp.net mvc frontend. Then accessing sharepoint functionality via web services.
This has the benefit of giving you access to the functionality of sharepo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: Execute program from within a C program How should I run another program from within my C program? I need to be able to write data into STDIN of the launched program (and maybe read from it's STDOUT)
I am not sure if this is a standard C function. I need the solution that should work under Linux.
A: *
*Create two ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What is this strange C code format? What advantage, if any, is provided by formatting C code as follows:
while(lock_file(lockdir)==0)
{
count++;
if(count==20)
{
fprintf(stderr,"Can't lock dir %s\n",lockdir);
exit(1);
}
sleep(3);
}
if(rmdir(serverdir)!=0)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can one use multi threading in PHP applications Is there a realistic way of implementing a multi-threaded model in PHP whether truly, or just simulating it. Some time back it was suggested that you could force the operating system to load another instance of the PHP executable and handle other simultaneous proce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "487"
} |
Q: deleting a buffer through a different type of pointer? Say I have the following C++:
char *p = new char[cb];
SOME_STRUCT *pSS = (SOME_STRUCT *) p;
delete pSS;
Is this safe according to the C++ standard? Do I need to cast back to a char* and then use delete[]? I know it'll work in most C++ compilers, because it's pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Extracting text from a PDF using JBoss Richfaces I am trying to write a web-app to manage references for my PhD thesis.
I used to manage this information inside a personal Confluence (fantastic tool! - http://www.atlassian.com/software/confluence/) instance however I'm fed-up with the opening of PDF's and cutting an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hibernate mapping a composite key with null values With Hibernate, can you create a composite ID where one of the columns you are mapping to the ID can have null values?
This is to deal with a legacy table that has a unique key which can have null values but no primary key.
I realise that I could just add a new prim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: missing WMI namespace on Vista/Server 2008 What is equivalent to the root\CIMV2\Applications\MicrosoftIE namespace on Vista/Server 2008?
The root\cimv2\Applications\MicrosoftIE namespace dates back to at least Internet Explorer 5.00.2920.0000, which happens to be the version of Internet Explorer that shipped with Wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Refreshing all the pivot tables in my excel workbook with a macro I have a workbook with 20 different pivot tables. Is there any easy way to find all the pivot tables and refresh them in VBA?
A: In certain circumstances you might want to differentiate between a PivotTable and its PivotCache. The Cache has it's own ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "93"
} |
Q: Exclude certain pages from using a HTTPModule Is there a good way to exclude certain pages from using a HTTP module?
I have an application that uses a custom HTTP module to validate a session. The HTTPModule is set up like this in web config:
<system.web>
<!-- ... -->
<httpModules>
<add name="SessionValidati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Algorithm to determine Daylight Saving Time of a date? Originally I am looking for a solution in Actionscript. The point of this question is the algorithm, which detects the exact Minute, when a clock has to switch the Daylight Saving Time.
So for example between the 25th and the 31th of October we have to check, i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Hibernate (JPA) how to do an eager query, loading all child objects Relating to my earlier question, I want to ensure all the child objects are loaded as I have a multiple threads that may need to access the data (and thus avoid lazy loading exceptions). I understand the way to do this is to use the "fetch" keyword... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Testing ladder logic We all know the various ways of testing OO systems. However, it looks like I'll be going to do a project where I'll be dealing with PLC ladder logic (don't ask :/), and I was wondering if there's a good way of testing the validity of the system.
The only way I see so far is simply constructing a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Help in creating Zip files from .Net and reading them from Java I'm trying to create a Zip file from .Net that can be read from Java code.
I've used SharpZipLib to create the Zip file but also if the file generated is valid according to the CheckZip function of the #ZipLib library and can be successfully uncompresse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: SQL MAX of multiple columns? How do you return 1 value per row of the max of several columns:
TableName
[Number, Date1, Date2, Date3, Cost]
I need to return something like this:
[Number, Most_Recent_Date, Cost]
Query?
A: There are 3 more methods where UNPIVOT (1) is the fastest by far, followed by Simulated Unpiv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "498"
} |
Q: Can I add maven repositories in the command line? I'm aware I can add maven repositories for fetching dependencies in ~/.m2/settings.xml. But is it possible to add a repository using command line, something like:
mvn install -Dmaven.repository=http://example.com/maven2
The reason I want to do this is because I'm us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "71"
} |
Q: Managing large volumes of data - stored procedures or datasets or other...? I have an application that imports large volumes of data daily, several 100 thousands records.
Data comes from different sources. The data is read using C#, then bulk inserted into the database.
This data is then processed:
*
*different... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SCRUM - non cooperative team members What do you do if members of your team are not cooperative during scrum meetings?
They either provide a very high level definition of what they are currently working on, ("working on feature x"), or go into extremely irrelevant details, in spite of being well educated in SCRUM me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Is there a good obfuscater for Perl code? Does anyone know of a good code obsfucator for Perl? I'm being ask to look into the option of obsfucating code before releasing it to a client. I know obsfucated code can still be reverse engineered, but that's not our main concern.
Some clients are making small changes to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Migrating from Stingray Objective Toolkit We have a collection of commercial MFC/C++ applications which we sell using Stingray Objective Toolkit, we have source code license and have ported it in the past to Solaris/IRIX/HP-UX/AIX using Bristol Technologies WindU (Windows API on UNIX, including MFC).
Any long story... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can Maven be made less verbose? Maven spews out far too many lines of output to my taste (I like the Unix way: no news is good news).
I want to get rid of all [INFO] lines, but I couldn't find any mention of an argument or config settings that controls the verbosity of Maven.
Is there no LOG4J-like way to set the lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "142"
} |
Q: How to remove Firefox's dotted outline on BUTTONS as well as links? I can make Firefox not display the ugly dotted focus outlines on links with this:
a:focus {
outline: none;
}
But how can I do this for <button> tags as well? When I do this:
button:focus {
outline: none;
}
the buttons still have the do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "524"
} |
Q: Are there any compression and encryption libraries in C#? I want to compress some files (into the ZIP format) and encrypt them if possible using C#. Is there some way to do this?
Can encryption be done as a part of the compression itself?
A: For Zip Compression, have you seen http://www.icsharpcode.net/OpenSource/S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the difference between UserControl, WebControl, RenderedControl and CompositeControl? What is the difference, what is the official terms, are any terms obsolete in ASP.NET 3.5?
A: You've forgotten the ServerControl.
In my understanding it is like that:
*
*There are only two different kind of controls: Us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: To what use is multiple indirection in C++? Under what circumstances might you want to use multiple indirection (that is, a chain of pointers as in Foo **) in C++?
A: IMO most common usage is to pass reference to pointer variable
void test(int ** var)
{
...
}
int *foo = ...
test(&foo);
You can create multidimens... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: JS error for JQuery in IE 8.0 I have developed a simple page using JQuery. It works fine in almost all browsers (i.e. Firefox, IE, Chrome) but whenever the page is opened in IE, it prompts Javascript error like,
'guid' is null or not an object on line 1834
Do you have any idea ?
A: Thanks guys for your messages.
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are the pros and cons of using RMI or JMS between web and business tiers? For a typical Web client -to- Servlet/WS -to- Business Tier (Spring or EJB) app, what are the trade-offs of approaches like remote RPC or messaging for Web (Servlet) tier to remote Business tier, aside from the basic sync/async aspects?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What's the best value for money c# code protection for a single developer What's the best value for money c# code protection? Some just use obfuscation, others add win32 wrapping, some cost a fortune. So far I've come up with http://www.eziriz.com/ who's Intellilock looks promising. Any other suggestions? Any reason... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Creating a custom menu in .NET WinForms Using .NET 2.0 with WinForms, I'd like to create a custom, multi-columned menu (similiar to the word 2007 look&feel, but without the ribbon).
My approach was creating a control, and using a left/right docked toolstrip, I have constructed a similar look&feel of a menu. However,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: HTML parser in Python Using the Python Documentation I found the HTML parser but I have no idea which library to import to use it, how do I find this out (bearing in mind it doesn't say on the page).
A: I would recommend using Beautiful Soup module instead and it has good documentation.
A: You should also look at ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Anyone got --standalone option to work in F# CTP? I may have this completely wrong, but my understanding is that the --standalone compiler option tells the compiler to include the F# core and other dependencies in the exe, so that you can run it on another machine without installing any 'runtime'.
However, I can't g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Combined SVN FTP system? Are there any systems out there where one can check in changes for a website and have that automatically update the website.
The website effetively runs off the latest stable build the whole time without the need to ftp the files to the server.
A: I would look into using a post-commit hook... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Help with SQL server stack dump We're running SQL 2005 standard SP2 on a 4cpu box. Suddenly it crashdumps, after which all pooled connections are invalid and it goes into admin-only mode (only sa can connect)
The short stackdump is below. After the dump a number of errors show up like '2008-09-16 10:49:34.48 Server ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I find last row that contains data in a specific column? How can I find the last row that contains data in a specific column and on a specific sheet?
A: Simple and quick:
Dim lastRow as long
Range("A1").select
lastRow = Cells.Find("*",SearchOrder:=xlByRows,SearchDirection:=xlPrevious).Row
Example use:
cell... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "65"
} |
Q: Should you obfuscate a commercial .Net application? I was thinking about obfuscating a commercial .Net application. But is it really worth the effort to select, buy and use such a tool? Are the obfuscated binaries really safe from reverse engineering?
A: The fact that you actually can reverse engineer it does not m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: How to emulate/replace/re-enable classical Sound Mixer controls (or commands) in Windows Vista? I have a problem (and have been having it for some time now) -- the new sound mixer stack in Vista features new cool things, but also re-invents the wheel. Many applications that used to use Volume Mixer on a Windows syst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Hints for a high-traffic web service, c# asp.net sql2000 I'm developing a web service whose methods will be called from a "dynamic banner" that will show a sort of queue of messages read from a sql server table.
The banner will have a heavy pressure in the home pages of high traffic sites; every time the banner will... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it feasible/sensible to wrap an Inno Setup installer inside an MSI for easier distribution via AD? Our installer is written with Inno Setup and we are actually quite happy with it. Yet some customers keep asking for an MSI installer which they could more easily distribute via Active Directory. We have already gon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: sqlserver express database copy options Why can I not see an option for copying database objects when I right click > tasks on my database?
A: MS Sql Server Express doesn't come with SSIS which is what you will need to import/export objects out of your database.
You can also manually script this process. One way i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TYPO3: How do i render tt_content text elements in my own extensions? I'm currently writing a TYPO3 extension which is configured with a list of tt_content UID's.
These point to content elements of type "text" and i want to render them by my extension.
Because of TYPO3s special way of transforming the text you enter... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: DataGridView column of type DataGridViewCheckBoxCell is constantly readonly/disabled I am using a .NET Windows Forms DataGridView and I need to edit a DataBound column (that binds on a boolean DataTable column). For this I specify the cell template like this:
DataGridViewColumn column = new DataGridViewColumn(new Da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is there a way to use Lua on BREW 3.0 platform? It looks like BREW 4.0 will have Lua included. But is it possible to use Lua on older BREW 3.0 (or even BREW 2.0)?
A: It is possible, but you will have to link lua interpreter source code to your application source code and wrap BREW API functions in order to use them... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: debug an embedded system containing gdb remotely using some kind of gui I would like to debug an embedded system containing gdb remotely using some kind of gui (ie like ddd). The embedded system does not have the sources or build symbols. However my local x windows box has. However the execution must happen on the e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Force Internet Explorer to use a specific Java Runtime Environment install? When viewing someone else's webpage containing an applet, how can I force Internet Explorer 6.0 to use a a particular JRE when I have several installed?
A: First, disable the currently installed version of Java. To do this, go to Control Pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: Suspend Process in C# How do I suspend a whole process (like the Process Explorer does when I click Suspend) in C#.
I'm starting the Process with Process.Start, and on a certain event, I want to suspend the process to be able to do some investigation on a "snapshot" of it.
A: Here's my suggestion:
[Flags]
publ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: Time management tricks, tools & tips Working with software day-to-day usually means you have to juggle project work, meetings, calls and other interrupts.
What single technique, trick, or tool do you find most useful in managing your time?
How do you stay focused?
What is your single biggest distraction from your wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Single application build for multiple mobile devices Is it possible to have one application binary build for multiple mobile devices (on BREW platform), rather than making a separate build for each device using build script with conditional compilation.
In particular is is possible to use single BREW application bui... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I protect content in AIR? I want to develop some educational content, which I want to distribute to children using Adobe AIR. The content will contain videos. Now, from what I see, AIR will put the content onto the local file system, for anyone to see. I want to prevent this. Is there a way out?
A: Possibly,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: ASP.net - How can one differentiate Page-Processing Time from Client-Transmission Time The single timing column in the weblog naturally includes client transmission timing. For anamoly analysis, I want to differentiate pages that took excessive construction time from requests that simply had a slow client.
For buff... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how do I use the node Builder from Scriptacolus to insert html for example this code
var html = "<p>This text is <a href=#> good</a></p>";
var newNode = Builder.node('div',{className: 'test'},[html]);
$('placeholder').update(newNode);
casues the p and a tags to be shown, how do I prevent them from being escaped?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: light-version of a repository/branch in git I am using git on a project, that generates lots of data-files (simulation-results).
I am "forced" to version and track all those results in the same repository. (This is a hard requirement and can not be changed)
However I don't need them. We have about 50 MB for the pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to replace a character by a newline in Vim I'm trying to replace each , in the current file by a new line:
:%s/,/\n/g
But it inserts what looks like a ^@ instead of an actual newline. The file is not in DOS mode or anything.
What should I do?
If you are curious, like me, check the question Why is \r a newline ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2339"
} |
Q: What are the best practices for avoiding xss attacks in a PHP site I have PHP configured so that magic quotes are on and register globals are off.
I do my best to always call htmlentities() for anything I am outputing that is derived from user input.
I also occasionally seach my database for common things used in xs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "67"
} |
Q: How do I delete a Discipline in EPF Composer 1.5? I'm making a method combining Scrum with the OpenUP lifecycle and deliverables. I also want to keep the OpenUP disciplines apart from "Project Management". I can "hide" it so that it's not immediately obvious in my generated method site. But when you then navigate t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "211"
} |
Q: Whatever happened to jEdit I'm not sure if many people know about this text-editor?
jEdit was kinda big in 2004, but now, Notepad++ seems to have taken the lead(on Windows)
Many of the plugins haven't been updated since 2003 and the overal layout and usage is confusing...
I'm sure jEdit has many nifty features, but ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: How to create project specific respository post-commit actions Presently, we've got several main projects each in their own repository. We will have to version-control up to a dozen additional projects. VisualSVN recommends to create 1 respository for our company and then vc all projects inside that.
It's a good p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Fastest API for rendering text in Windows Forms? We need to optimize the text rendering for a C# Windows Forms application displaying a large number of small strings in an irregular grid. At any time there can be well over 5000 cells visible that update 4 times per second. The font family and size is consistent ac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Worth migrating to Rake? Is it really advantageous to move to Rake from ant?
Anyone migrated from ant and find something monumental?
FYI: Current environment is Ant for J2ME builds
A: I would say yes, but I have a different perspective than a Java-environment guy, because I'm a .NET-environment guy. I had written ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: SQL: Counting unique votes with a rolling votes-per-hour limit Given a table of votes (users vote for a choice, and must supply an email address):
votes
--
id: int
choice: int
timestamp: timestamp
ip: varchar
email: varchar
What's the best way to count "unique" votes (a user being a unique combination of email + ip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Forward declaring an enum in C++ I'm trying to do something like the following:
enum E;
void Foo(E e);
enum E {A, B, C};
which the compiler rejects. I've had a quick look on Google and the consensus seems to be "you can't do it", but I can't understand why. Can anyone explain?
Clarification 2: I'm doing this as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "302"
} |
Q: Why is \r a newline for Vim? From question How to replace a character for a newline in Vim?. You have to use \r when replacing text for a newline, like this
:%s/%/\r/g
But when replacing end of lines and newlines for a character, you can do it like:
:%s/\n/%/g
What section of the manual documents these behaviors,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "281"
} |
Q: Why should I not use "with" in Delphi? I've heard many programmers, particularly Delphi programmers scorn the use of 'with'.
I thought it made programs run faster (only one reference to parent object) and that it was easier to read the code if used sensibly (less than a dozen lines of code and no nesting).
Here's ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Disable selection of rows in a datagridview I want to disable the selection of certain rows in a datagridview.
It must be possible to remove the select property for one or more datagridview rows in a datagridview shown in a winform. The goal is that the user can't select certain rows. (depending on a condition)
Than... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Which Desktop Virtualization software runs most smoothly? Background:
I'm running a full-time job and a part-time job in the weekends, and both my employers have supplied a laptop for me to work on. Of course I also have my powerful workstation at home to work from, and sometimes when I'm at the office at my weeken... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Set a UserControl Property to Not Show Up in VS Properties Window I have a UserControl in my Asp.net project that has a public property. I do not want this property to show up in the Visual Studio Property Window when a user highlights an instance of the UserControl in the IDE. What attribute (or other method) shoul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: OCSP command-line test tool? Does anybody know of a tool to test OCSP responses? Preferably, something that can be used from a Windows Command-line and/or can be included (easily) in a Java/python program
A: Looking a bit more, I think I've found some answers:
a) OpenSSL at the rescue:
openssl ocsp -whatever
For ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Map of Enums and dependency injection in Spring 2.5 Let's assume we've got the following Java code:
public class Maintainer {
private Map<Enum, List<Listener>> map;
public Maintainer() {
this.map = new java.util.ConcurrentHashMap<Enum, List<Listener>>();
}
public void addListener( Listener listen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Virtual Files are opened from Temporary Internet Files I have created a namespace extension that is rooted under Desktop. The main purpose of the extension is to provide a virtual list of ZIP files that represent a list of configurable directories. When the user clicks one of the those items the contents of the rela... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are the options for extracting data out of Hyperion 7.3 with SSIS? We need to get data out of some Hyperion cubes (databases) using SSIS. Are there any connection managers available for this? Has anyone done this?
A: There are some third party connectors out there. Don't think any exist from oracle or microso... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Defining class methods in PHP Is it possible in PHP (as it is in C++) to declare a class method OUTSIDE the class definition?
A: No, as of PHP 5.2. However, you may use __call magic method to forward call to arbitrary function or method.
class A {
public function __call($method, $args) {
if ($method ==... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Calling a .Net Assembly from a SQL Server 2005 Reporting Services report? I've currently got a set of reports with a number of common functions sitting in code blocks within the .rdl files. This obviously presents a maintainability issue and I as wondering if anyone knew a way for these different reports to share a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you grab a text from webpage (Java)? I'm planning to write a simple J2SE application to aggregate information from multiple web sources.
The most difficult part, I think, is extraction of meaningful information from web pages, if it isn't available as RSS or Atom feeds. For example, I might want to extract a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Which version of Perl should I use on Windows? The win32.perl.org web site provides references to several Perl distributions for MS Windows.
For a long time I have been using ActivePerl from
ActiveState but recently I switched to
Strawberry Perl.
IMHO The only advantage that Active Perl still has over Strawberry P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "102"
} |
Q: Is there a custom FxCop rule that will detect unused PUBLIC methods? I just tried FxCop. It does detect unused private methods, but not unused public. Is there a custom rule that I can download, plug-in that will detect public methods that aren't called from within the same assembly?
A: If a method is unused and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Topology drawing tool I need to draw some simple network topology charts, suggestions of some good tools appreciated.
Edit: love freeware :-)
A: Try Dia - it's open source and cross platform.
A: SmartDraw is the best there is. It costs, but is worth the dosh.
A: Easy to use, full of features, good looking and f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I efficiently build different versions of a component with one Makefile I hope I haven't painted myself into a corner. I've gotten what seems to be most of the way through implementing a Makefile and I can't get the last bit to work. I hope someone here can suggest a technique to do what I'm trying to do.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to simulate pressing enter in html text input with Selenium? In a web interface, I've got a text field. When user enters text and accepts with enter, application performs an action.
I wanted to test the behavior with Selenium. Unfortunately, invoking 'keypress' with chr(13) insert representation of the character... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Make SQL Server index small numbers We're using SQL Server 2005 in a project. The users of the system have the ability to search some objects by using 'keywords'. The way we implement this is by creating a full-text catalog for the significant columns in each table that may contain these 'keywords' and then using CO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Stored Procedures in MS-SQL Server 2005 and Oracle How to translate MS-SQL Server 2005 stored procedures into Oracle stored procedures?
A chart contrasting corresponding features from each environment with each other - would be helpful.
A: http://vyaskn.tripod.com/oracle_sql_server_differences_equivalents.htm is a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: One method for creating several objects or several methods for creating single objects? If I have the following:
Public Class Product
Public Id As Integer
Public Name As String
Public AvailableColours As List(Of Colour)
Public AvailableSizes As List(Of Size)
End Class
and I want to get a list of pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the best guide to learn XML I'm learning XML, currently of Wikibooks, but that is kinda huge and not oversee-able...
anybody know a better place?
A: W3Schools are generally good for this type of stuff.
A: If you are looking for a book, O'Reilly has a few XML books. Since I had picked up XML on the job, I j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How would I change an Access DB from ISO-8859-2 to UTF-8 in a connection string? I have a database in ISO-8859-2 format, but I need to create XML in UTF-8. This means that I must encode the database before prinitng in UTF-8. I know very little about ASP.Net, so I'm hoping someone can help.
In PHP I would do somethi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get parametrized Class instance Since generics were introduced, Class is parametrized, so that List.class produces Class<List>. This is clear.
What I am not able to figure out is how to get a instance of Class of type which is parametrized itself, i.e. Class<List<String>>. Like in this snippet:
public class G... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to display the progress of a server script in jQuery? With this code I can show an animated gif while the server script is running:
function calculateTotals() {
$('#results').load('getResults.php', null, showStatusFinished);
showLoadStatus();
}
function showLoadStatus() {
$('#status').html('');
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to get IKVM to build in Visual Studio 2008? I've downloaded the IKVM sources (http://www.ikvm.net/) from http://sourceforge.net/cvs/?group_id=69637
Now I'm trying to get it to build in Visual Studio 2008 and am stuck. Does anyone know of documentation of how to build the thing, or could even give me pointers?
I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Referenced Assemblies in Web Site Am I correct in assuming that I always need to explicitly deploy referenced assemblies when their source changes?
A: Yes you do. If you use the publish command in Visual Studios, it will include all the assemblies you need in the folder you selected to publish your site.
If a .d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do you set up your .NET development tree? How do you set up your .NET development tree? I use a structure like this:
-projectname
--config (where I put the configuration files)
--doc (where I put all the document concerning the project: e-mails, documentation)
--tools (all the tools I use: Nunit, Moq)
--lib ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Comparing two CVS revisions in Eclipse It finally started to annoy me enough to ask this question: how do I do a basic diff between two revisions of a file in CVS? Usually I want to compare the latest revision and some random old one. I'm using the Eclipse CVS plugin. When I use "compare with->Another branch or vers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Why would a static nested interface be used in Java? I have just found a static nested interface in our code-base.
class Foo {
public static interface Bar {
/* snip */
}
/* snip */
}
I have never seen this before. The original developer is out of reach. Therefore I have to ask SO:
What are the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "241"
} |
Q: How can I check for a file size and add that result in an Excel spreadsheet in Perl? Currently I monitoring a particular file with a simple shell one-liner:
filesize=$(ls -lah somefile | awk '{print $5}')
I'm aware that Perl has some nice modules to deal with Excel files so the idea is to, let's say, run that chec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the best way to handle authentication in ASP.NET MVC with a Universe database? We use an IBM database known as Universe that holds all of our user id's, passwords, and profile information in a table called USERINFO.
Can I use the Membership Provider to connect to this database and authenticate the user?
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: ASP.Net Session_Start event not firing I have an ASP.Net 2.0 application in which the Session_Start event is not firing in my Global.asax file. Can anyone tell why this is happening and how I can get it working?
The application worked fine on my Windows XP development machine, but stopped working when deployed to th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How to add WTL and ATL to visual studio c++ express 2008 I start using the visual studio c++ express 2008 at home but there is no ATL in it.
How can I add ATL to visual studio c++ express 2008?
A: ATL was only included in older versions of the SDK. Recent versions of ATL share much code with MFC and are only ava... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: What's the best way to make a modular java web application I'm building small web site in Java (Spring MVC with JSP views) and am trying to find best solution for making and including few reusable modules (like "latest news" "upcoming events"...).
So the question is: Portlets, tiles or some other technology?
A: If ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Programmatically handling the Vista Sidebar Is there an api to bring the vista side bar to the front (Win+Space) programatically and to do the reverse (send it to the back ground).
A: Probably using SetWindowPos you can change it to be placed the top / bottom of the z-order or even as the top-most window. You would... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Integration with Siebel On-Premise CRM? Has anyone ever integrated an external web application with Siebel On-Premise CRM? Note that I'm not talking about Siebel On-Demand SaaS, but their behind-the-firewall product. Specifically, I'm trying to achieve two-way synchronization of CRM objects (contacts, accounts, s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I make the lights stay fixed in the world with Direct3D I've been using OpenGL for years, but after trying to use D3D for the first time, I wasted a significant amount of time trying figure out how to make my scene lights stay fixed in the world rather than fixed on my objects.
In OpenGL light positions get t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Branching and Merging in VSTS How effective is merging when folders and projects have been renamed in your solution?
A: In my experience TFS can track renames, as long as you do all the renaming within the SourceControlExplorer (TFS).
The problems tend to occur when you have other people making changes to the orig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.