text stringlengths 8 267k | meta dict |
|---|---|
Q: In .NET, What is the Runtime Equivalent of my app.config Setting? If I have the following setting in my app.config file. It is a setting I need to make sure my WCF client can negotiate the default proxy server.
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true"></defaultProxy>
</system.net>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: javascript Rich Text Editors There are several (very good) rich text web editors written in Javascript (eg FCKeditor, YUI Texteditor and many many others).
However I couldn't find any tutorial on how to build such a component. Something that would explain both high-level considerations (architecture) and/or more det... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: Is there a documented JavaScript API for Windows Media Player? I want to use JavaScript to control an embedded Windows Media Player, as well as access any properties that the player exposes. I've found a few hacky examples online, but nothing concrete.
I really need access to play, pause, stop, seek, fullscreen, et... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: C++ Multiple Virtual Inheritance vs. COM The net is overflowing with explanations of the "dreaded diamond problem".
So is StackOverflow. I think I understand that bit, but I fail to translate that knowledge into comprehending something similar yet different.
My question begins as a pure C++ question, but the answer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Validating with an XML schema in Python I have an XML file and an XML schema in another file and I'd like to validate that my XML file adheres to the schema. How do I do this in Python?
I'd prefer something using the standard library, but I can install a third-party package if necessary.
A: I am assuming you mean ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "126"
} |
Q: simple jdbc wrapper To implement data access code in our application we need some framework to wrap around jdbc (ORM is not our choice, because of scalability).
The coolest framework I used to work with is Spring-Jdbc. However, the policy of my company is to avoid external dependencies, especially spring, J2EE, etc.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Flash Screenshot We're trying to send an image of a large SWF file to a server to have it mailed out and we're having a bit of trouble with transmission time.
The SWF is about 900px x 600px and restricted to AS2 so we've been using this Bitmap Exporter class. We've tried using several different ways to transmit the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to uninstall a windows service and delete its files without rebooting My current project involves deploying an upgraded .exe file that runs as a Windows Service. In order to overwrite the existing .exe with the new version, I currently need to:
*
*Stop the service
*Uninstall the service
*Reboot the system ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: Java: convert a char[] to a CharSequence What is the most direct and/or efficient way to convert a char[] into a CharSequence?
A: A String is a CharSequence. So you can just create a new String given your char[].
CharSequence seq = new String(arr);
A: Without the copy:
CharSequence seq = java.nio.CharBuffer.wra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: What should go in a robust error message for debugging? In addition to informing the user, we want to collect information for our debugging purposes. Our system is a niche system for only about 1400 customers, and therefore we are not as well-financed as we would hope, so bugs are more common than we would like. W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I send an array to php through ajax? I want to send an array constructed in javascript with the selected values of a multiple select. Is there a way to send this array to a php script using ajax?
A: IIRC, if PHP sees a query string that looks like http://blah.com/test.php?var[]=foo&var[]=bar&var[]=baz, it w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Is there an Objective-C Wrapper for gSOAP? I'm going to use gSOAP to interact with a WCF webservice in my Mac project. It does pretty much exactly what I need and it does it well (pretty much the exact opposite of WSMakeStubs;)). The only downside is that it's C/C++ only, meaning I either need to convert all my type... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Get the absolute path of the currently edited file in Eclipse I'd like to write a plugin that does something with the currently edited file in Eclipse. But I'm not sure how to properly get the file's full path.
This is what I do now:
IFile file = (IFile) window.getActivePage().getActiveEditor.getEditorInput().
g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Is there an html css normalizer that works? Long ago, I wrote a style 'normalizer' program to scan the ASP/HTML code of a big pile of classic ASP pages (most of which were originally generated from MS-Word documents, so naturally they were littered with superflous stylesheets and massive one-off styles). The style n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is an entity body allowed for an HTTP DELETE request? When issuing an HTTP DELETE request, the request URI should completely identify the resource to delete. However, is it allowable to add extra meta-data as part of the entity body of the request?
A: It seems ElasticSearch uses this:
https://www.elastic.co/guide/e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "996"
} |
Q: Good tool to minimize HTML footprint? Does anyone know a good tool that can be run on a page (for asp.net, for example) to help to minimize the footprint size of the page?
The page will have typical items: HTML, Javascript, etc.
I've heard of Javascript crunchers in the past, that will make the size of the code as c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is database /DBMS "patch access"? Could not find this term very easily on google.
I assume it's the ability to patch a DBMS with an update without stopping service.
Is this correct? If not, please guide me.
Thanks in advance.
jbu
A: Patch Access usually refers to a service to (preferrable easily) get access... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need advice regarding layered solution, separation of concerns, etc We have a layered application, or at least is in the process of transitioning to one, broken down as follows:
*
*Interface (user-interface or application-interface, ie. webservice, etc.)
*Business logic
*Data access
To make the rest of this q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I turn off the tag display at the bottom of Visual Studio source windows? Visual Studio tries to be helpful by showing all the nested tags where the cursor is (the display at the bottom of the code window, next to the "Desgn | Split | Source" options), but I never use it, and it seems to slow things down when... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WPF: How to combine animations with custom event handling? I'm trying to create a custom WPF control that is draggable, but I also need to animate it as it is dragged. I need to override OnMouseDown to implement the dragging functionality, but I also want my animation triggered on the MouseDown event.
Without draggi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Excel workbooks produced by POI don't work when linked Here is what I'm doing :
*
*Create a workbook in memory (book = new HSSFWorkbook(), ...)
*Save it to disk (book.write(...))
*Open in Excel (ok)
*Create another workbook in Excel, which links to the first one (=PoiWorkbook?xls!A1)
*Close Excel
Then every... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Employee Scheduling Software? Web/Browser Based Just wondering if any of you guys know of any web-based/browser-based employee scheduling software/tools?
Currently doing it all in Excel, but it just isnt intelligent enough... any product suggestions?
Needs to handle multiple employees time over weeks and months... ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What's the difference between SoftReference and WeakReference in Java? What's the difference between java.lang.ref.WeakReference and java.lang.ref.SoftReference ?
A: Weak Reference
http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ref/WeakReference.html
Principle: weak reference is related to garbage collectio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "899"
} |
Q: Structure JSP/Java code where logic is not in the JSP file This is a design question and good practice question. How do you structure your Java web development such that a lot of logic is not in the JSP file. Should you use any of the JSP tags for if structures or loops. I see a lot of code where the logic is har... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to detect browser closing? In my web app, when a user logs in, I add his Id to a vector of valid Ids in the servlet, when he logs out, I remove his Id from the vector, so I can see how many current users are active, if a user forgets to log out, my servelt generated html has :
<meta http-equiv="Refresh" content... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Changing path for custom build step I have inherited a visual studio 2003 project which uses some custom build steps. I'm having some trouble with the path to the tool. Where does visual studio get its PATH? I've echoed out %PATH% in the custom build step and it has no resemblance to the system path. I did find ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find cause of Redirect in ASP.NET? I'm trying to put in an exception in my web.config so that one page does not require authentication. However, it still redirects to the login page.
The question isn't how to setup the web.config. Why? Our system (for better or worse) has a bunch of instrumentation besides the we... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: delegate keyword vs. lambda notation Once it is compiled, is there a difference between:
delegate { x = 0; }
and
() => { x = 0 }
?
A: In the two examples above there's no difference, zero.
The expression:
() => { x = 0 }
is a Lambda expression with statement body, so it can't be compiled as an expression tree. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "192"
} |
Q: What are good ways to make my Python code run first time? I'm getting quite a few errors in my code. Consequently, I would like to be able to minimize them at the outset or see as many errors as possible before code execution. Is this possible and if so, how can I do this?
A: Test early and test often.
This doesn't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "53"
} |
Q: JSPTag: Exception - This attribute does not support request time values I am getting the "This attribute does not support request time values." while compiling my custom jsp tag implementation.
My TLD file
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag L... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Virtual area to pages In the Linux kernel, given the task_struct's mm I can access the process's list of vm_area_structs. Given these vm_area_structs, how do I get the struct pages which actually correspond to this vma?
I tried looking for functions in mm/memory.c and the like, but I was at a loss.
Edit: the idea i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SAML with .NET 2.0 I've been given the task of working with SAML to implement an SSO solution between my company and a third party provider. My only issue is that I can't seem to find how to implement SAML in C# 2.0. I've been able to find a few examples for .Net 3.0 and 3.5, but none for 2.0 (and the classes they... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I restore a menu to the Visual Studio 2008 menu bar? My Alt key was unknowingly stuck down and I tried to open my Window Menu in VS, which resulted in removing the menu from the bar.
My question is, how the heck do I get it back?
A: Right-click on one of the visible Toolbars, select Customize...
(or Tools > ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I do transactions and locks in CouchDB? I need to do transactions (begin, commit or rollback), locks (select for update).
How can I do it in a document model db?
Edit:
The case is this:
*
*I want to run an auctions site.
*And I think how to direct purchase as well.
*In a direct purchase I have to decrement ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "82"
} |
Q: How do you use newgrp in a script then stay in that group when the script exits I am running a script on a solaris Box. specifically SunOS 5.7. I am not root. I am trying to execute a script similar to the following:
newgrp thegroup <<
FOO
source .login_stuff
echo "hello world"
FOO
The Script run... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Javascript to flash communication I am trying to call a Actionscript function from javascript but I am having problems in Internet Explorer.
I am using Swiff.remote in mootools 1.2.1 to call the actionscript function ie:
Swiff.remote(playSwf.toElement(), 'sendResult', result, plays, name);
This all works fine in Fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: SVN config-file Question revisited I searched and found this question but did not like the answer.
Is there another way to get SVN to ignore config files that are checked in in-place (that you cannot check-in changed), but must be modified on your system.
This is a pretty severe failure of SVN, my first disappointme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the most efficient way to locate and set element values in an XDocument? Given the following XML 'template':
<Request module="CRM" call="list_service_features" id="{ID}">
<block name="auth">
<a name="username" format="text">{USERNAME}</a>
<a name="password" format="password">{PASSWORD}</a>
<a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Eclipse support for custom facelets tags I recently started facelets development, and a couple of days ago made my first useful custom tag. Now I would like to have auto-completion support in eclipse, like I have for standard taglibs like h, c and ui.
Is there any easy way (less than 30 min work) to enable tool supp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to move only the current file with Eclipse and/or Ant? I am working on a small team of web application developers. We edit JSPs in Eclipse on our own machines and then move them over to a shared application server to test the changes. I have an Ant script that will take ALL the JSPs on my machine and move them... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I integrate Oracle BI into an existing application? I have an existing application written in Perl. Now I need to integrate this application with OBI. The plan is having a button the user can click on to open OBI in an iframe. OBI resides on a different server from the running application.
Has anyone done th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: CUDA: Wrapping device memory allocation in C++ I'm starting to use CUDA at the moment and have to admit that I'm a bit disappointed with the C API. I understand the reasons for choosing C but had the language been based on C++ instead, several aspects would have been a lot simpler, e.g. device memory allocation (via... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Is there a prevailing unit testing framework for the .NET Compact Framework? I have plenty of experience with NUnit and MBUnit, but I'm new to .NET Compact Framework development and I'd like to get off on the right foot.
Is there a prevailing unit testing framework for the .NET Compact Framework, and if so, what is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Simple Oracle SQL date syntax question I am trying to convert a working MS Access query to run on an Oracle database being accessed via VB Script (.asp). This is the last section of the WHERE clause:
sql = sql & "WHERE (UAT.HB.MB_MODE = 'A' AND UAT.HB.PRINT_DATE >= '"
& SD & "' AND UAT.HB.PRINT_DATE <= '" & ED &... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Keyboard shortcuts Is there a standard when it comes to implementing keyboard shortcuts / accelerator keys for web applications.
Example: Navigating through a list of items presented in a grid
Are their guidelines on how to implement this?
Google has one for GMail in the "labs" section.
Also would it make business... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Developing Web services applications from existing WSDL files I have done this on Websphere (re: title of this topic) using wsdl2java for generating wsdl to java mapping xml file.
My endpoint is a generic stateless EJB. The code in EJB is generated by traversing the each wsdl and getting the wsdl operation and stuck... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best OpenLDAP authentication option? I want to prevent users from browsing other users names, security (of course) and performance
A: Use Maching/Network permissions to restrict access to your openLDAP server to ONLY your management machine, and your IIS machine. Thus only those two machines can browse your direct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Retrieving "output messages" from batch SQL command (SQL Server) I'm executing several discrete queries in a single batch against SQL Server. For example:
update tableX set colA = 'freedom';
select lastName from customers;
insert into tableY (a,b,c) values (x,y,z);
Now, I want to capture the result in a DataSet ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL Reporting Services 2005 - Printing in FireFox Printing button is not shown in the report toolbar when they are opened in FireFox.
Is there any solution for print button not showing in FireFox ?
Can it be enabled or there is no workaround for this?
A: I think your only option here is to export to pdf or another ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Acoustic training using SAPI 5.3 Speech API Using Microsoft's SAPI 5.3 Speech API on Vista, how do you programatically do acoustic model training of a RecoProfile? More concretely, if you have a text file, and an audio file of a user speaking that text, what sequence of SAPI calls would you make to train the user's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How do you check if a selector matches something in jQuery? In Mootools, I'd just run if ($('target')) { ... }. Does if ($('#target')) { ... } in jQuery work the same way?
A: no, jquery always returns a jquery object regardless if a selector was matched or not.
You need to use .length
if ( $('#someDiv').length ){
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "508"
} |
Q: Getting name of file copied to clipboard from email attachment in VB.NET If a user copies a file to the clipboard in Windows from an Outlook email attachment, is there any way I can get the name of that file in VB.NET?
If the file is copied from Windows Explorer, Clipboard.GetFileDropList has data that I can use to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Launching a URL from an Eclipse plugin I'd like to have my Eclipse plugin cause a URL to be opened by the users' default browser. This seems like pretty standard behavior, but I haven't been able to find any docs on how to do this.
Can anyone help?
A: You are looking for:
final IWebBrowser browser = PlatformUI.getW... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Why does the checkbox stay checked when reloading the page? I'm reloading a web page that has the following code:
<label for="showimage">Show Image</label>
<input id="showimage" name="showimage" type="checkbox" value="1" />
Even though the HTML stays sent to the browser is the same for each reload of the page, the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "91"
} |
Q: Low Disk Space Alert, send email Windows 2003 Server PerfMon Alert I'm trying to setup an alert to let me know via email (SMTP) when free disk space on one of my servers is less than a specified value. To do this I'm using PerfMon alerts, as described at MSFT Technet. I have the alert working and writing to the syst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: File permission in linux vs. in windows In linux, if I have a file I'm sharing with a group, and I put the file on a USB memory stick, for example, and copy it to a computer that doesn't have the same group or users, does the file have no permissions for anyone on that new computer? What if I bring a linux file tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Where are the graphical page components for an ASP.NET MVC application? This sounds really stupid, but I was told that you could drag-and-drop visual components (including JavaScript or AJAX components?) onto a web page view in ASP.NET MVC and then "customize" the components by editing code behind them once they wer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Notepad++ like search highlighting in VisualStudio Notepad++ has a neat feature that combines search and highlighting. When you select a word, it is highlighted wherever else it shows up on the page, so it is an implicit search, which I find very very useful.
Is there a way to get that into VS?
I would also be inte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Share file storage index with multiple open applications in Java I'm writing an HTTP Cache library for Java, and I'm trying to use that library in the same application which is started twice. I want to be able to share the cache between those instances.
What is the best solution for this? I also want to be able to w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get post values when the key is unknown in CodeIgniter CodeIgniter allows access to POSTed data via:
$this->input->post('input_name');
where 'input_name' is the name of a form field. This works well for a static form where each input name in known ahead of time.
In my case, I am loading a collection of key/value pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Add Web Reference option missing in VS2008 I'm trying to add a Web Reference to a VS2008 .Net 3.5 Console Application but the option's not there. The options to "Add Reference" and "Add Service Reference" are there.
A: Kirk Evans blogged about that very issue Here
Basically, you just add a service reference. A web... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: What could be used as a double sided Resource Dictionary? I am using a ResourceDictionary, but I would like to be able to look up the value or the key with the other item. Each is always unique, so that is not a problem. Is there a type that has this double sided lookup feature?
A: Not built in, but this is prett... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to center an image horizontally and align it to the bottom of the container? How can I center an image horizontally and aligned to the bottom of the container at the same time?
I have been able to center the image horizontally by its self. I have also been able to align the bottom of the container by its self. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: Hungry Backspace in Eclipse? In some editors there exist plugins implementing a feature called "hungry backspace" or "hungry delete".
If this mode is active in a text editor then one hit to the backspace key will automatically delete all whitespace chars backwards from the current cursor position up to the first non... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Agile - User Story Definitions I'm writing a small app for my friend's business, and thought I'd take the opportunity to brush up on some Agile Project Management training I did at the start of the year.
I (and I think, my current organisation!) have always struggled with gathering requirements in the form of User S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: What's wrong with this ASP recursive function? When I call this function, everything works, as long as I don't try to recursively call the function again. In other words if I uncomment the line:
GetChilds rsData("AcctID"), intLevel + 1
Then the function breaks.
<%
Function GetChilds(ParentID, intLevel)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: cache folder setting in phpbb3 Can anyone tell me where the config of cache folder is for phpbb3? I need to use a different folder due to my isp and can't find where i can point the folder to another location.
A: Found it.
includes/acm/acm_file.php
/**
* Set cache path
*/
function acm()
{
global $phpbb_root_pat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling Java (or python or perl) from a PHP script I've been trying to build a simple prototype application in Django, and am reaching the point of giving up, sadly, as it's just too complicated (I know it would be worth it in the long-run, but I really just don't have enough time available -- I need something up an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Tracking changes in a SQL server 2005 database I have been tasked with developing a solution that tracks changes to a database.
For updates I need to capture:
*
*date of update
*old value
*new value
*field affected
*person doing change
*record id
*table record is in
For deletes:
*
*date of delete
*per... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How should I set the default proxy to use default credentials? The following code works for me:
var webProxy = WebProxy.GetDefaultProxy();
webProxy.UseDefaultCredentials = true;
WebRequest.DefaultWebProxy = webProxy;
Unfortunately, WebProxy.GetDefaultProxy() is deprecated. What else should I be doing?
(using app.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: RegEx matching HTML tags and extracting text I have a string of test like this:
<customtag>hey</customtag>
I want to use a RegEx to modify the text between the "customtag" tags so that it might look like this:
<customtag>hey, this is changed!</customtag>
I know that I can use a MatchEvaluator to modify the text, b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Can I implement HttpSessionListener this way? I'm trying to tracking valid user Ids in my Java servlet, can I implement HttpSessionListener this way ?
public class my_Servlet extends HttpServlet implements HttpSessionListener
{
String User_Id;
static Vector<String> Valid_User_Id_Vector=new Vector<String>();
pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Server's SoundEx function on non-Latin character sets? Does SQL Server's (2000) Soundex function work on Asian character sets? I used it in a query and it appears to have not worked properly but I realize that it could be because I don't know how to read Chinese...
Furthermore, are there any other languages wher... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I create a Generic Linked List? I am trying to use a Generic Linked List to hold some WorkFlow steps in my application. Here is how I'm persisting it to my database.
OrderID WorkFlowStepID ParentWorkFlowStepID
178373 1 NULL
178373 2 1
178373 3 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Adding an ItemCommand to a CompositeDataBoundControl I have a CompositeDataBoundControl and im trying to add a ItemCommand to it, ala the System.Web.UI.WebControls.Repeater - so like a numpty, I just thought if I reflector'ed and added the code like so, it should work:
private static readonly object EventItemCommand... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Populate asp:dropdownlist - VS 2008 I have form with 2 DDL named
State and City
State:
<asp:UpdatePanel ID="States" runat="server" UpdateMode="Conditional">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="States"EventName="SelectedIndexChanged" />
</Triggers>
<ContentTemplate>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Different results exporting to CSV or Excel I have a simple report that I want to export to a CSV file. There is only the detail line that is grouped by one field, no group header, and a group footer for totals. The problem is when I export to CSV format, the total row for a group is listed in front of every recor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I set a minimum length for an integer in an XML Schema? I am in the process of creating an XML Schema and one of my values is a year. As such, I'd like to ensure that all values have exactly 4 characters. To do so, I am using the following syntax:
<xs:element name="publish_year" maxOccurs="1">
<xs:simpleT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: ASP.NET MVC fails at install I need some help on asp.net mvc install.
I got the below two errors when I try to install ASP.NET MVC Beta:
Faulting application devenv.exe, version 9.0.21022.8, time stamp 0x47317b3d, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: asp.net threading and gui Are there any issues with changing elements which will appear on a web page within a thread. I am from a windows programming background and obviously if a thread needs to change the GUI in some way you have to delegate it to the GUI thread.
Basically my page uses 3 sql queries which can be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Development and Production Database? I'm working with PHP & mySQL. I've finally got my head around source control and am quite happy with the whole development (testing) v production v repository thing for the PHP part.
My new quandary is what to do with the database. Do I create one for the test environment and o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: C# Generic and method How can I select the good method (I have in the example below show 2 differents way that doesn't work). I was using instead of a variable of type Object with a IF and IS to do the job but I am trying to avoid using Object and boxing/unboxing. So I thought that Generic could do the job but I am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hosted subversion recommendations or suggestions I'm investigating using hosted subversion for a new project at work and was wondering if anyone had any experiences they would share.
I've personally used Beanstalk for small projects at home, but not with mulitple users or a large repository.
What/who have you used?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to create and require completion of a subset of several tasks Workflow Foundation? I have a process that requires approval from any two people out of a group of four or five. I'd like to create a task assigned to each person, and after two of those tasks are complete, delete the remaining tasks and move on with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Design-time rendering of Silverlight controls in Expression Blend 2 I'm working on some Silverlight controls and I would like to explicitly handle the way they appear in Blend.
Specifically, these controls have dependencies that are initialized at runtime, and thus throw exceptions in the designer. But even in the a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Instantiating object of type parameter I have got a template class as follows:
class MyClass<T>
{
T field;
public void myMethod()
{
field = new T(); // gives compiler error
}
}
How do I create a new instance of T in my class?
A: If you're willing to subclass you can avoid erasure as well, ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "115"
} |
Q: Rendering file with MIME Type in rails Here's the code:
render :file => @somedir + "/blah.xml"
...but the resulting MIME type is text/html when I check in FireBug. How do I specify a MIME type in this case?
A: Actually there are two ways to set the content-type (I think this is what you mean by mime-type). You sho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/299999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Jumpdrive-Portable Database with GUI frontend Is there a simple database program to let me collect, sort, tag, and reguritate trivia questions and answers?
If something already exists in Open Source, can you point me to that? I have assembly programming skills (cue jokes) but not so much in the Perl,LINQ,Delphi,V... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: VARIANT_BOOL vs. BOOL I am writing a COM object in C++ using ATL and am not sure whether I should be using VARIANT_BOOL for my methods/properties or not. The object will be called by other C++ apps but I cannot rule out usage from .NET.
I can stick to good old BOOL (which IIRC is simply an unsigned int) but as VARI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Is it possible to bind an event against a menu instead of a menu item in wxPython? Nothing to add
A: Do you want an event when your menu is opened? Use EVT_MENU_OPEN(func) (wxMenuEvent). But it's not in particular precise. As the documentation says, it is only sent once if you open a menu. For another event you hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Smart Client Software Factory : GAT Uninstall I downloaded the Guidance Automation Toolkit for VS 2008 and in the middle of the install there was an error forcing it to close. Now whenever i re-run the GuidanceAutomationToolkitForVS2008.msi it tells me that the toolkit is already installed and I need to remove it be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WCF Server/Client connection handling I'm having some problems with my WCF server and client connections.
If I use my service and client normally, meaning my client connects and disconnects thru normal operations (myclient.Close()) everything works fine. But in the instance that I have the server running and I use ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why is fuse not using the class supplied in file_class I have a python fuse project based on the Xmp example in the fuse documentation. I have included a small piece of the code to show how this works. For some reason get_file does get called and the class gets created, but instead of fuse calling .read() on the cla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does Xcode keep changing its active executable? Something really weird is going on with Xcode and an iPhone project I'm working on, when I'm building for the simulator, the project has 2 active executables (MyApp - iPhone Simulator (2.0) and MyApp - iPhone Simulator (2.1)) Almost all of the time, I want to use t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASP.NET Ajax I have a custom control that has the following prototype.
Type.registerNamespace('Demo');
Demo.CustomTextBox = function(element) {
Demo.CustomTextBox.initializeBase(this, [element]);
}
Demo.CustomTextBox.prototype = {
initialize: function() {
Demo.CustomTextBox.callBaseMethod(this, 'initi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Different answer when converting a Double to an Int - Java vs .Net In C# if I want to convert a double (1.71472) to an int then I get the answer 2. If I do this in Java using intValue() method, I get 1 as the answer.
Does Java round down on conversions?
Why do the Java API docs have such scant information about the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: adodb driver workaround on windows 64 bit I have to support an application that uses an access database. My development machine is running Windows XP 64 bit, which is fine, except Windowx XP 64 doesn't have an adodb driver installed, so anytime I write scripts to update the access database I have to move the databas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: List ranking algorithm Given a list of numbers, which can be in any order, such as
3, -5, -1, 2, 7, 12, -8
I would like to produce a list which represents their rank, which in this case would be
4, 1, 2, 3, 5, 6, 0
The numbers are actually some member of an ordered list of classes. Note that the order of the list... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jQuery UI Tabs - How to Get Currently Selected Tab Index I know this specific question has been asked before, but I am not getting any results using the bind() event on the jQuery UI Tabs plugin.
I just need the index of the newly selected tab to perform an action when the tab is clicked. bind() allows me to hook i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "115"
} |
Q: Display hidden characters in NSTextView I am writing a text editor for Mac OS X. I need to display hidden characters in an NSTextView (such as spaces, tabs, and special characters). I have spent a lot of time searching for how to do this but so far I have not found an answer. If anyone could point me in the right... | {
"language": "en",
"url": "https://stackoverflow.com/questions/300086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.