text string | meta dict |
|---|---|
Q: What are advantages of using google.load('jQuery', ...) vs direct inclusion of hosted script URL? Google hosts some popular JavaScript libraries at:
http://code.google.com/apis/ajaxlibs/
According to google:
The most powerful way to load the libraries is by using google.load() ...
What are the real advantages of u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "38"
} |
Q: How much time and effort do you spend on IE6? I've often read that corporations will save millions once Internet Explorer 6 is finally laid to rest, but reading quotes like that make me wonder just how much time people are spending on IE6 development. I'll be happy once IE6 goes, but I've found that if I write valid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to write a SQL statement which gets results via a relationship table? (many to many) I have 3 tables (archive has many sections, section (may) belong to many archives):
*
*archive
*
*id PK
*description
*archive_to_section
*
*archive_id PK FK
*section_id PK FK
*section
*
*id PK
*description
Wha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is being Pragmatic agile? I just re-read The Pragmatic Programmer (my third time reading it...I get something new every time, too). It seems like the tips that they mention are related to many of the various Agile methodologies. Is Pragmatic Programming just another form of Agile Development?
A: Without wishing to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Export all contacts as vcards from Outlook So, I want to export all my contacts from Outlook as vcards. If I google that, I get a bunch of shareware programs, but I want something free that just works.
If I'm to code it myself, I guess I should use the Microsoft.Office.Interop.Outlook assembly. Has anyone already c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: VMWare Server 1.0.7 on 64-bit Windows 2008 Issue Normally when using VMWare Server 1.0.7 you are asked if you would like to connect to the local machine or a remote host. Installing the same software on 64-bit Windows 2008 only gives the remote host option.
I have tried entering the local machine name as the host a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to base64 encode a PDF file in Python How should I base64 encode a PDF file for transport over XML-RPC in Python?
A: Actually, after some more digging, it looks like the xmlrpclib module may have the piece I need with it's Binary helper class:
binary_obj = xmlrpclib.Binary( open('foo.pdf').read() )
Here's an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Find out location of an executable file in Cocoa The simple question is: how to find out the location of an executable file in a Cocoa application.
Remember that, in many Unix-like OS people use PATH environment to assign the preferred location for their executables, especially when they have several versions of sa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Silverlight: How to set default style in generic.xaml for child class? I have the following hierachy:
public class A
{
protected class B
{
}
}
And I've tried to define a default style in the following ways (inside generic.xaml):
<Style TargetType="local:A+B">
<Setter Property="Template">
<Setter.V... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I search text then print the result? I am searching for "o" then prints all lines with "o". Any suggestion/code I must apply?
data.txt:
j,o,b:
a,b,d:
o,l,e:
f,a,r:
e,x,o:
desired output:
j,o,b:
o,l,e:
e,x,o:
A: grep o data.txt
perl -ne 'print if (/o/);' <data.txt
A: If you have grep on your system, then... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: HTML Reporting Solution What good components and packages are available for generating HTML reports based on report definitions? I have a truly horrific project where each report is a dedicated aspx page that builds one fantastically big HTML string, which it then assigns to a 'reportBody' Label control.
Standard g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a difference between Select * and Select [list each col] I'm using MS SQL Server 2005. Is there a difference, to the SQL engine, between
SELECT * FROM MyTable;
and
SELECT ColA, ColB, ColC FROM MyTable;
When ColA, ColB, and ColC represent every column in the table?
If they are the same, is there a reason ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: How to store variant data in C++ I'm in the process of creating a class that stores metadata about a particular data source. The metadata is structured in a tree, very similar to how XML is structured. The metadata values can be integer, decimal, or string values.
I'm curious if there is a good way in C++ to store... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Assignment in .NET 3.5 expression trees Is it possible to encode an assignment into an expression tree?
A: My extension method for doing exactly this:
/// <summary>
/// Provides extensions for converting lambda functions into assignment actions
/// </summary>
public static class ExpressionExtenstions
{
/// <sum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: "Duplicate node detected" in a CruiseControl.NET configuration file When I launch CruiseControl.NET with a particular configuration file I receive the following error:
ThoughtWorks.CruiseControl.Core.Config.ConfigurationException: Duplicate node detected
What does this mean, and what causes it?
A: I think you hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: A C library for finding local maxima? I'm trying to write an audio analysis application, and I need to identify local maxima in a 2D array which represents a spectrogram. I've already got an open source library that can generate the spectrogram using Fast Fourier Transforms, but I was wondering if anybody knew of an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Nunit.exe cannot work on Vista 64bits if x86 build I am on Vista 64 bits and I have a project built with x86 configuration. All work fine. Now, we are at the time to create test. We have NUnit 2.4.8 but we have a lot of problem.
The test are loading trough the Nunit.exe (gui) when we select the .dll directly but whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: File download does not work with IE7 I have an asp.net page which sends content of a file to the client, so the browser shows the save as dialog to download the file. This page is displayed in a popup and when the user clicks the save button, it closes automatically and the download starts.
On windows server 2003, i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Does anyone here use PHP-GTK? Is there a better alternative? I had made some questions regarding PHP-GTK (there are only 4 php-gtk tagged questions and three are mine) and I end up answering myself because no one answer them.
I know it is a strange language selection but I was attracted to it because it runs on seve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Does Ruby best practice shun statement modifiers after, for example, a long code block that is passed to an iterator? something.each do |x|
#lots of stuff
end if some_condition
A: I think the popular way is to use statement modifiers only if it is a one-liner.
In all other cases, use the normal if style preval... | {
"language": "en",
"url": "https://stackoverflow.com/questions/208998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do properties work in Object Oriented MATLAB? I am trying to create a MATLAB class with a member variable that's being updated as a result of a method invocation, but when I try to change the property within the class it (apperently, from what I understood from MATLAB's memory management) creates a copy of the o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: What is the difference between Scrum and Extreme Programming? A few years ago I have worked on a green field project where we did Extreme Programming. I also see a lot of people mention the Scrum methodology.
Could someone tell me the main differences between Scrum and XP?
A: Scrum is lightweight framework for buil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: What is self-documenting code and can it replace well documented code? I have a colleague who insists that his code doesn't need comments, it's "self documenting."
I've reviewed his code, and while it's clearer than code which I've seen others produce, I still disagree that self-documenting code is as complete and u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "266"
} |
Q: Aggregate Login Control [ASP.NET] Is there a control out in the world that allows a user to log in to a website with MS Passport (Windows Live ID, whatever), Facebook, OpenID, etc. all in one control?
Thanks, everyone!
A: I am not aware of any control that allows all of them, but the API's are pretty simple that wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Django template with jquery: Ajax update on existing page I have a Google App Engine that has a form. When the user clicks on the submit button, AJAX operation will be called, and the server will output something to append to the end of the very page where it comes from. How, I have a Django template, and I intend ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Does WPF's TextBox support spell-check dictionaries for the Netherlands? The RichTextBox supports a spellcheck option which is very nice. (SpellCheck.IsEnabled = true)
But I cannot seem to get it to another language. (I live in the Netherlands.. ;))
Does any of you have an experience with the SpellCheck option of Te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209026",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Best way to remove an event handler in jQuery? I have an input type="image". This acts like the cell notes in Microsoft Excel. If someone enters a number into the text box that this input-image is paired with, I setup an event handler for the input-image. Then when the user clicks the image, they get a little popup ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1137"
} |
Q: Browser & version in prototype library? I am used to using Atlas. Recently i have started transitioning to jQuery and sometimes prototype. The project that i'm currently working on is using prototype.
In Prototype, is there an easy way to get the browser name and version? I've looked over the API documentation and c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209043",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: VBA script for auto resizing of controls/subforms in MS Access 2003 forms? Since Access 2003 doesn't have the control anchoring functionality as exists in 2007, I was wondering if anyone has or is aware of some VBA script, or a freeware control, that can give this functionality?
A: I know of no exact duplication of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C# Desktop Applications? In looking at the use of C# in a ISV setting, I'm wondering what prominent C# based desktop apps are out there? I can think of only Paint .NET.
Is C# a good idea for an ISV, or should one stick to more native environments like Delphi or even QT?
Of course any experienced based advise or fee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Rails x FastCGI Should i stay out of rails if a client has a cheap hosting service with a provider that do not support mod_rails? Will rails + fast.cgi provide a good experience for a user or should I choose, in this scenario, php + my-favorite-framework as platform ?
Regards,
Victor
A: Fastcgi should be fine. Thou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Get privatekey from Keystore I have the following code to export certificates and keys from a keystore, that I created with keytool in Windows:
final KeyStore keystore = KeyUtil.loadKeystore("keystore.jks", "pass");
UserInfo userinfo = new UserInfo(WSusername, WSpassword);
X509Certificate clientcert = KeyUtil.ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I guarantee fast shutdown of my win32 app? I've got a C++ Win32 application that has a number of threads that might be busy doing IO (HTTP calls, etc) when the user wants to shutdown the application. Currently, I play nicely and wait for all the threads to end before returning from main. Sometimes, this tak... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How do I interpolate variables to call a Perl function from a module? Requirement is to pass module name and function name from the command-line argument.
I need to get the command-line argument in the program and I need to call that function from that module
For example, calling a try.pl program with 2 arguments: M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: MFC: Showing / Hiding Splitter Panes In my application I have a number of panes from m_wndspliter classes. What I want to do is at run time show and hide one of these panes. Whilst with the following code I can show and hide the view associated with the pane, I can't temporarily remove the pane itself.
CWnd * pCurV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .net system tray application to launch when a USB device is plugged in How do I get my .net system tray application to popup when a USB device is plugged in?
A: You might look here for an example app that does something like what you want.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/209120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jQuery - Live Validation Plug-ins I'm looking for a plugin for jQuery that can validate as a key is pressed and after it loses focus (text boxes).
I'm currently using jVal - jQuery Form Field Validation Plugin. It works pretty good. The only issue I have is that I can only use a generic error message.
For example:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Compare and Contrast Change Data Capture and Database Change Notification Oracle has two seemingly competing technologies. CDC and DCN.
What are the strengths of each?
When would you use one and not the other?
A: In general, you would use DCN to notify a client application that the client application needs to clear... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: JSP struts How would I assign a variable within scriplet code in JSP <%> and then use struts logic tags to do stuff based on the value of the variable assigned in the scriplet code block?
I have tried using struts:logic equal and greaterthan to no avail....
Many Thanks,
A: What you are trying to do (if I understan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Exception messages in English? We are logging any exceptions that happen in our system by writing the Exception.Message to a file. However, they are written in the culture of the client. And Turkish errors don't mean a lot to me.
So how can we log any error messages in English without changing the users culture?
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "338"
} |
Q: How to keep your own debug lines without checking them in? When working on some code, I add extra debug logging of some kind to make it easier for me to trace the state and values that I care about for this particular fix.
But if I would check this in into the source code repository, my colleagues would get angry on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How do I make a popup menu open in a diagonally using jQuery? I need to make a mouseover menu that opens diagonally (from top-left to bottom-right).
A: Assuming your menu has id "mymenu", try this code to show it:
$('#mymenu').animate({width: '80px', height: '200px'})
and this code to hide it:
$('#mymenu').animat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unix: Getting Export PATH to "Stick" When setting the export path in Unix, example:
export PATH=$PATH: $EC2_HOME/bin
If I quit terminal and open it back up to continue working, I have to go through all the steps again, setting up the paths each time.
I'm wondering how I can set the path and have it "stick" so my sy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: MFC: What on earth is a CSplitterWnd Caret? What on earth is a caret in the context of a CSplitterWnd class? I can't find any documentation relating explicitly to CSplitterWnds...
EDIT: Specifically, what do these functions actually do:
CWnd * pCurView = m_wndSplitter2.GetPane(2, 0);
pCurView->ShowCaret()
pCurView->... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Nullable type as a generic parameter possible? I want to do something like this :
myYear = record.GetValueOrNull<int?>("myYear"),
Notice the nullable type as the generic parameter.
Since the GetValueOrNull function could return null my first attempt was this:
public static T GetValueOrNull<T>(this DbDataRecord re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "351"
} |
Q: How much does it cost to develop an iPhone application? How much can a developer charge for an iPhone app like Twitterrific?
I want to know this because I need such an application with the same functionality for a new community website. I can do Ruby but have no experience with Objective-C. So it would be interestin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "270"
} |
Q: showing video through apache 5.5 I have a problem while showing .flv video file through apache 5.5 server.
I am using jsp2.0 & javascript, flash video player in html.
Whenever i am trying to run the video.jsp page which contains 10mb .flv video file through apache 5.5 server, my c drive is getting full. It also does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is a way for a web browser to communicate with a hardware device? I have a data acquisition hardware device attached to a PC via USB that I'd like to send some information and settings, acquire some data, and then retrieve the acquired data on the client and send it to the server. The plan is to use a web porta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Matching a time string with a regular expression I would like to match the time (10.00) from a string with the date and time ("21.01.08 10.00"). I'm using the following regular expression:
new RegExp("\\b[0-9]{1,2}\\.[0-9]{1,2}\\b" "g");
But this matches 21.01 from 21.01.08 and 10.00.
I'm using PCRE as my regualar ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Special Characters in XML I am creating a left navigation system utilizing xml and xsl. Everything was been going great until I tried to use a special character in my xml document. I am using » and I get th error.
reason: Reference to undefined entity 'raquo'.
error code: -1072898046
How do I make this wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do I search TFS for a word without 'getting' the project? I often have occasion to search for a function name in a project that I haven't retrieved from Team Foundation Server (TFS) and that I don't want to retrieve. Is there a way to search for that function name (any word) on TFS?
A: Does this answer your que... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Borland x86 inlined assembler; get a label's address? I am using Borland Turbo C++ with some inlined assembler code, so presumably Turbo Assembler (TASM) style assembly code. I wish to do the following:
void foo::bar( void )
{
__asm
{
mov eax, SomeLabel
// ...
}
// ...
SomeLabel:
// .... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What's the point of the var keyword? The var keyword does away with the need for an explicit type declaration and I have read with interest the SO discussion of when it might be appropriate.
I have also read about (but not used) Boo which seems to take things a step further by making it optional to declare a local v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: How to make Dojo a bit more lightweight? I've been looking at Dojo, and it has some nice tricks, however its quite huge IMHO. Basically when viewing my test my slow machine (600mhz), just loading Dojo was kind of painful, and can imagine lots of mobile devices will also not be happy with it.
Is there a slim version ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Advice on Splitting Up an Application I currently have a web app that has 3 front ends (depending on what URL you go to) that shares very little code between the 3 front ends. My directory structure looks like this:
\app1
\includes
\html
\app2
\includes
\html
\app3
\includes
\html
\crons
\lib... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .htaccess redirect performance Are htaccess redirects any slower/put any more strain on Apache than redirects in configuration files? Also, how big can a number of redirects in htaccess get before they start decreasing performance?
A: While it's true that the .htaccess is parsed on each request, and is thus technic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Best XSLT Editor &| Debugger Other than Visual Studio, what tool have you found best to create, edit, maintain, and possibly debug your XSLT files?
I work on a fairly big project and we have tons of XSLT files and they have grown quite complex in their implementation.
The language seems so brittle. It would be nice ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Bundling .NET in installer Would you (or your customers) rather download a 1mb installer and perhaps be prompted to download and install .NET, or a 23mb installer and never need to even know what .NET is?
Chris
A: Can't you detect if the framework is installed when they're downloading and serve up the appropriate i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: ORM for Database with 1000+ Tables I'm looking for a solid ORM for .NET that can handle over a 1000 tables and entities. What can you suggest? Any comments would be appreciated, but those from people who have actually dealt with this challenge and a description of how with what they dealt with it would be appreciate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: .Net Consuming Web Service: Identical types in two different services I have to consume 2 different web services. Both contain a definition for a 'user' object.
When I reference the services using "Add service reference" I give each service a unique namespace:
com.xyz.appname.ui.usbo.UserManagement
com.xyz.app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Visual Studio (6.0, 2003 & 2008) compatibility with Windows Vista 64-bit (x64) Are there any compatibility issues with running Visual Studio 6.0 (including Visual SourceSafe 6.0 Client), Visual Studio 2003 & Visual Studio 2008 on Windows Vista 64-bit?
Can I interactively debug the applications with the Vista Web Ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Using htmlentities in a string I know I should be using htmlentities for all my form text input fields but this doesn't work:
<?php
echo "<tr>
<td align=\"right\">".Telephone." :</td>
<td><input type=\"text\" name=\"telephone\" size=\"27\"
value=\"htmlentities($row[telephone])\"> Inc.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Asp.Net Role-based authentication using Security groups in Active Directory I am attempting to do something simple (I thought) - securing my application using roles-based security using Active Directory groups in our Domain.
Specifically, I need to show/hide items on a page depending upon whether the currently logge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: JQuery: has a button been pressed again within so many milliseconds I'm writing a web application that decodes Morse Code that is tapped in using mouse button.
I originally did a proof of concept using conventional JavaScript, but now I'm redoing it using jQuery.
Is there a clever way with jQuery to tell if a button... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Traversing a unidirectional tree efficiently I've got a unidirectional tree of objects, in which each objects points to its parent. Given an object, I need to obtain its entire subtree of descendants, as a collection of objects. The objects are not actually in any data structure, but I can easily get a collection of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: C# Remoting - How to turn off CustomErrors I getting the following error when I try to connect to my server app using remoting:
A problem seems to have occured whilst connecting to the remote server:
Server encountered an internal error. For more information, turn off customErrors in the server's .config file.
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: DLLImport Int** - How to do this if it can be done I am trying to use a third party DLL that wants an int** as one of the parameters to the method. It describes the parameter as the address of the pointer that will point to the memory allocation.
Sorry for any confusion. The parameter is two-way I think. The DLL ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is there a devenv flag to disable pdb generation at compile time? Our continuous integration system currently runs a perl script to parse our sln/proj files to set the following options:
DebugInformationFormat="0"
GenerateDebugInformation="FALSE"
Preventing generation of pdbs allows us to increase the parallelizati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C# equivalent to java's wait and notify? I am aware that you can lock an object in c# using lock but can you give up the lock and wait for something else to notify you that it's changed like you can in java with wait and notify?
It seems to me that synchronised and lock in java and c# respectively are synonomous.
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "58"
} |
Q: How to POST a FORM from HTML to ASPX page How do I post a form from an HTML page to and ASPX page (2.0) and be able to read the values?
I currently have an ASP.NET site using the Membership provider and everything is working fine. Users can log in from the Login.aspx page.
We now want to be able to have users log i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: C# Console Application still resident in memory after exit I have an .net C# console application (not a service). it basically connects to a webservice, gets some xml files, copies those files to a few location on a drives, validates the xml, processes it and sends these objects to another web service.
However, when... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to discard incoming packets in raw socket? I'm writing a C/C++ application under Linux that reads data from a raw socket (for ICMP packets). Question: is there a way to discard all data that is still queued on the socket?
The problem is that after sleeping for a while, there is data queued up on the socket which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Javascript registering event to object I have an activex object I loaded into an html page. I then use that activex object to create another object, but I need to register an event with the new object created. The object is expecting an event listener of a certain type.
I can load this same dll in c# and it will w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: URL rewriting - international letters How should I format URLs with special/international characters?
Currently I try to make URLs "look good", so that:
www.myhost.com/this is a test, do you know how?
is converted to:
www.myhost.com/this_is_a_test_do_you_know_how
I know some international letters could be conver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to start Linux Programming I am working on C++ and COM/ATL in Windows from last few years. Now I want to shift to Linux Programming. I know basic architecture of Linux. I did some of the projects which are using ncurses, sockets and audio libraries(Terminal Applications). On which tool I should be familiar to st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How to set X axis programmatically on a chart? I have a chart in a Worksheet in Excel and I have a macro set up so that when I change the value in a certain cell the range of data in the chart is set to A2 down as far as the row number corresponding in this certain cell.
What I can't seem to be able to do is to modi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best way to determine how to cast an object to an appropriate type in C#? I am currently developing an approval routing WCF service that will allow an user to create "rules" which determine how an request is routed. The route is determined by comparing the "ObjectToEvaluate" property of the Request class against th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I generically tell if a Java Class is a primitive type? Is there any way to take a Class and determine if it represents a primitive type (is there a solution that doesn't require specifically enumerating all the primitive types)?
NOTE: I've seen this question. I'm asking basically the opposite. I have the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Cross apply in Linq Is it possible to use SQL Server 2008 CROSS APPLY with LINQ-2-SQL?
Example SQL:
select d.dateCol, tvf.descr, tvf.value
from dateTable d
cross apply tvFunction(d.dt, 'anotherParam') tvf
where d.category='someCat'
CROSS APPLY enables using values from a table (dateTable in the example) as paramet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Select columns from result set of stored procedure I have a stored procedure that returns 80 columns, and 300 rows. I want to write a select that gets 2 of those columns. Something like
SELECT col1, col2 FROM EXEC MyStoredProc 'param1', 'param2'
When I used the above syntax I get the error:
"Invalid Column Nam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "492"
} |
Q: java webservice client I have stfw but I cannot find a simple / standalone way to create a webservice client in java.
Does anyone have a link/sample into this?
A: soapUI is a great tool to test a Web Service. It is really simple to either create a server stub to test your client or just send client request to any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What value to use? C# (Adding numbers represented as strings) If I have a string (010) and i want to add 1 to it (011) what value type should i use to convert this string into a number for adding and at the same time preserve the whole number and not 10 + 1 = 11.
A: if (int.TryParse(str, out i))
str = (i + 1).... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Struts logic tag problem i know this doesnt work but i dont know why, also how can i make it work?
<% int result = referer.indexOf("smlMoverDetail.do"); %>
<% if (result == -1){%>
<%out.print("checking");%>
<bean:define id="JOININGDATE" name="smlMoverDetailForm"
property="empFDJoiningDate" type="java.lang.Str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: UI for easy, simultaneous adjustment of multiple controls I am developing a specialty application where the end-user needs to operate multiple controls simultaneously. The application is used to "tune" the control parameters of an electronic device to calibrate the unit to its best performance.
Currently, there is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why must someone be subscribed for an event to occur? Some text before the code so that the question summary isn't mangled.
class Tree
{
public event EventHandler MadeSound;
public void Fall() { MadeSound(this, new EventArgs()); }
static void Main(string[] args)
{
Tree oaky = new Tree();
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: In a WPF ListView how can I prevent auto scrolling? I have a WPF ListView which currently scrolls everytime I click on an item which is only partially visible. How can I keep the control from scrolling that item into view (instead simply selecting the partially visible one)? This behavior is very annoying when doi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What are some JavaScript unit testing and mocking frameworks you have used? My main JavaScript framework is jQuery, so I would like my unit test and mocking frameworks to be compatible with that. I'd rather not have to introduce another JavaScript framework.
I am currently using QUnit for unit testing and Jack for m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "43"
} |
Q: Non-Standard Attributes on HTML Tags. Good Thing? Bad Thing? Your Thoughts? HTML (or maybe just XHTML?) is relatively strict when it comes to non-standard attributes on tags. If they aren't part of the spec, then your code is considered non-compliant.
Non-standard attributes can be fairly useful for passing along me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "95"
} |
Q: Why do I receive an ImportError when running one of the CherryPy tutorials I have installed CherryPy 3.1.0,. Here is what happens when I try to run tutorial 9:
$ cd /Library/Python/2.5/site-packages/cherrypy/tutorial/
$ python tut09_files.py
Traceback (most recent call last):
File "tut09_files.py", line 48, in <mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: DevPartner's Metric Publisher I am using DevPartner (for Java) with pretty good results. However, there's a "metric publishing" utility which I can't use.
The problem is that said utility (pubmetrics.exe) asks for a site/port/user/password combination which I don't know. It pre-fills the site/port data with the loc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: view SQL executed by Jasper report When running a Jasper report in which the SQL is embedded in the report file (.jrxml), is it possible to see the SQL that is executed? Ideally, I'd also like to see the values that are substituted for each of the $P{} placeholders.
Cheers,
Don
A: Another option is to use p6spy. P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209436",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How do I prevent a jQuery Selector from including nested elements? I'm new to jQuery so hopefully there is an easy answer to this.
I have html similar to:
<table id="dataTable">
<tr> <!-- I want this row -->
<td>...</td>
<tr>
<tr>
<td>
<table>
<tr> <!-- I do not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Concatenating bits in VHDL How do you concatenate bits in VHDL? I'm trying to use the following code:
Case b0 & b1 & b2 & b3 is
...
and it throws an error
Thanks
A: The concatenation operator '&' is allowed on the right side of the signal assignment operator '<=', only
A: Here is an example of concatenation oper... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Tracking down intermittent 'Object reference not set to an instance of an object.' error on build I could use some help trying to track down an intermittent error that I've been having with our ASP.Net project for quite some time.
Intermittently when building the solution, the build will fail with the error "/: Buil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How to implement common bash idioms in Python? I currently do my textfile manipulation through a bunch of badly remembered AWK, sed, Bash and a tiny bit of Perl.
I've seen mentioned a few places that python is good for this kind of thing. How can I use Python to replace shell scripting, AWK, sed and friends?
A: I s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "242"
} |
Q: Could I improve this method with duck typing? Hopefully I haven't misunderstood the meaning of "duck typing", but from what I've read, it means that I should write code based on how an object responds to methods rather than what type/class it is.
Here's the code:
def convert_hash(hash)
if hash.keys.all? { |k| k.is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Howto do python command-line autocompletion but NOT only at the beginning of a string Python, through it's readline bindings allows for great command-line autocompletion (as described in here).
But, the completion only seems to work at the beginning of strings. If you want to match the middle or end of a string rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: CSS bleed-through with cfinput type="datefield" I have a form using multiple <cfinput type="datefield" ...>. They are positioned in such a way that the pop-up CSS calendar should appear over the field for others. However, the text fields for the other dates end up in front of the calendar.
This is only an IE issue a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What type should Struts ActionForm properties be? I inherited this gigantic legacy Java web app using Struts 1.2.4. I have a specific question regarding ActionForms. Some of them have only String properties (even for numbers), some of them use the seemingly appropriate types (Integer, Date, String, etc). What's the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Best ruby idiom for "nil or zero" I am looking for a concise way to check a value to see if it is nil or zero. Currently I am doing something like:
if (!val || val == 0)
# Is nil or zero
end
But this seems very clumsy.
A: You can use the Object.nil? to test for nil specifically (and not get caught up between fa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/209495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "85"
} |