text string | meta dict |
|---|---|
Q: Sharepoint workflow remains "in progress" despite all actions being complete We have several workflows, all are default Sharepoint workflows - approval / feedback etc.
Once all actions have been completed (and marked as so), the status of the document workflow remains "In Progress".
I have found several mentions o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Detecting changes to the source data using the XmlDataProvider and a bound TextBox I have a TreeView bound to an XmlDataProvider. The name of a node is reflected in the tree and the data of the node is in a TextBox. When you click on a tree item, it loads the data in the TextBox.
What is the best way to determine ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Russian Peasant Multiplication Here is my short implementation of Russian Peasant Multiplication. How can it be improved?
Restrictions : only works when a>0,b>0
for(p=0;p+=(a&1)*b,a!=1;a>>=1,b<<=1);
A: There is still a multiplication in the loop. If you wanted to reduce the cost of the multiplications, you could u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: n-tier design with website and backend transaction processor We have a website, where transactions are entered in and put through a workflow. We are going to follow the standard BLL(Business Logic Layer), DTO(Data Transfer Object), DAL(Data Access Layer) etc. for a tiered application. We have the need to separate ev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Remove the dotted line on a Win32 common control without owner-draw Is there any way to remove the dotted line rectangle, which indicates the keyboard focus, on a Win32 common control, without owner draw or subclass them?
It seems that under WPF one can control the visual style of the focus rectangle, but I failed ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Finding DNS server settings programmatically on Mac OS X I have some cross platform DNS client code that I use for doing end to end SMTP and on windows I can find the current DNS server ip addresses by looking in the registry. On the Mac I can probably use the SystemConfiguration framework as mentioned in the first ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Getting a Field List from a DBExpress TSQLQuery I am having a problem getting a list of fields from a query defined at run time by the users of my program. I let my users enter a SQL query into a memo control and then I want to let them go through the fields that will return and do such things as format the output,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I set UITableViewCellSelectionStyle property to some custom color? I am developing an iPhone application, in my table view I wanted custom color for Cell Selection Style, I read the UITableViewCell Class Reference but there are only three constants defined for Selection style (Blue, Gray, None). I saw one app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: ASP.NET website 'Publish' vs Web Deployment Project if i decide to use the 'publish' option for my ASP.NET website, instead of a Web Deployment Project, can i do custom msbuild things? Or do i need to stick with WDP's if i want to do custom msbuild stuff during compile/deployment.
A: I think of the publish option a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: NAntContrib/NAnt mkiisdir fails on IIS 7.0 / windows 2008 I'm trying to use NAnt/NAntContrib build script to build a web application on Windows 2008 (IIS 7.0).
In the build file, there is mkiisdir task, which fails with:
[mkiisdir] The webservice at 'localhost' does not exist or is not reachable.
All the documents/p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Explaining nested arrays to a programmer How have you explained nested arrays to a programmer. I'm thinking someone that has an entry level understanding of programming, but is trying to do more complicated coding.
The array with array works, but they can't quite get their mind around the idea.
Edit: example of a ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Bug distribution I have a program that I'm porting from one language to another. I'm doing this with a translation program that I'm developing myself. The relevant result of this is that I expect that there are a number of bugs in my system that I am going to need to find and fix. Each bug is likely to manifest in m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you scrape AJAX pages? Please advise how to scrape AJAX pages.
A: In my opinion the simpliest solution is to use Casperjs, a framework based on the WebKit headless browser phantomjs.
The whole page is loaded, and it's very easy to scrape any ajax-related data.
You can check this basic tutorial to learn Autom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "57"
} |
Q: Clearing a form after POST in Asp.net Whats the normal procedure of clearing a form after POST? Just loop through the textboxes and cleat all text? I have an ASP.NET application with several forms and I am trying to avoid them sending the data twice?
Thanks
A: You can avoid double sending/doing by putting your code... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Matisse in Eclipse I have just installed Eclipse 3.4 and found out that there is not a plugin to create Swing applications yet. I also have found that there is a Matisse implementation in MyEclipse IDE, but I'd like to now whether there is such a Matisse plugin for free.
A: Instatiations Swing Designer is the best ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How can I install a specific version of a set of Perl modules? I'm tasked with replicating a production environment to create many test/sit environments.
One of the things I need to do is build up Perl, with all the modules which have been installed (including internal and external modules) over the years. I could j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "75"
} |
Q: Message Driven Bean with a Datasource My question is how do I configure an EJB 3.0 style message driven bean to use a configured JMS datasource in jboss.
For example, my MDB looks something like:
@MessageDriven(mappedName = "ExampleMDB", activationConfig = {
@ActivationConfigProperty(propertyName = "destin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: In CodeIgniter, How Can I Have PHP Error Messages Emailed to Me? I'd like to receive error logs via email. For example, if a Warning-level error message should occur, I'd like to get an email about it.
How can I get that working in CodeIgniter?
A: One thing that is left out of the solution is that you have to grab ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Suggestions for a Beginner Level ASP/XML Test I'm looking for suggestions for a beginner level ASP/XML test. Essentially I'm trying to hire an extremely junior programmer. I'm in the process of trying to hire a junior programmer to help maintain a large code base of somewhat repetitive ASP pages. I'm slowly in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP CSS Selector Library? Is there a PHP class/library that would allow me to query an XHTML document with CSS selectors? I need to scrape some pages for data that is very easily accessible if I could somehow use CSS selectors (jQuery has spoiled me!). Any ideas?
A: XPath is a fairly standard way to access XML (and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Asp.net Cancel Button I am trying this in my Form Load Event
cmdCancel.Attributes.Add("onClick", "document.forms[0].reset();return false;")
but it doesn't clear my form. My form is a "ContentPage", part of a masterpage.
Am I missing something?
A: Try this:
cmdCancel.Attributes.Add("onClick","document.getElement... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ORM solutions (JPA; Hibernate) vs. JDBC I need to be able to insert/update objects at a consistent rate of at least 8000 objects every 5 seconds in an in-memory HSQL database.
I have done some comparison performance testing between Spring/Hibernate/JPA and pure JDBC. I have found a significant difference in perform... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: What is the purpose of HTTP Watch Pro? What is the purpose of this software?
http://www.httpwatch.com/
A: I prefer the HTTPFox add-on for FireFox:
https://addons.mozilla.org/en-US/firefox/addon/6647
and Fiddler for IE:
http://www.fiddlertool.com/fiddler/
both offer similar functionality to httpwatch (but they are f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is Type-safe? What does "type-safe" mean?
A: Type-safety should not be confused with static / dynamic typing or strong / weak typing.
A type-safe language is one where the only operations that one can execute on data are the ones that are condoned by the data's type. That is, if your data is of type X and X do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "340"
} |
Q: Selected Entry in a Drop Down Select HTML Form Element This drop down list, displaying all the files from a folder, one of which will be selected for use. Is there a way to show which file is selected when you load the page? At the moment it says "select a file" every time.
<select name="image" type="text" class="bo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Win32: Calculate Thread CPU Utilization in a Multi-Core / Multi-Processor System I am currently working on an MFC application that needs to be CPU-utilization aware. It may have multiple threads at different points in time, but the bulk of the work is accomplished by the main thread.
I am trying to find a way to ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: In SVN, how do I copy just the subdirectories of a directory to another directory? Via command line, I usually do this:
cp -rRp /path/to/a\_folder/. /path/to/another\_folder
This copies just the contents underneath a_folder to another_folder. In SVN I need to do the same thing, but can't figure it out. I always end... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: How can I make Java back-end development faster? Or can I? I started web programming with raw PHP, gradually moving on to its various frameworks, then to Django and Rails. In every framework I've used, pretty much everything I need to do with a database (even involving relatively complex things like many-to-many rel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Storing Passwords in reversible form I have a PHP app that needs to run bash scripts, and provide a username & password (for remote systems).
I need to store these credentials somewhere that is accessible by my PHP (web) app.
The logical place is the database (currently MySQL, but will be agnostic).
The problem with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How do you Handle a TimeoutException when calling WebServices using the SoapClient in Silverlight? How do you handle a TimeoutException that is generated when calling WebServices using the SoapClient?
There doesn't seem to be any event to be handled in order to catch any Exceptions generated when calling web service... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can an abstract class have a constructor? Can an abstract class have a constructor?
If so, how can it be used and for what purposes?
A: Although there are many good answers, I would like to give my 2 cents.
Constructor DOES NOT BUILD THE OBJECT. It is used to initialize an object.
Yes, an Abstract class always has ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "723"
} |
Q: Building dynamic fields using ActiveRecord::Serialization.to_xml I'm curious about people's experiences using AR's to_xml() to build non-entity fields (as in, not an attribute of the model you are serializing, but perhaps, utilizing the attributes in the process) from a controller.
to_xml seems to supply a few opt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Are there programming tasks you consider so critical that you always do them thoughtfully and slowly? There are some tasks, especially the ones that involve deleting folders as SU, that I do thoughtfully and slowly before I press the Enter key. I think if others saw me do these at the careful pace that I do they wou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is there an easy way to clone the structure of a table in Oracle? If I have a table like:
CREATE TABLE FRED
(
recordId number(18) primary key,
firstName varchar2(50)
);
Is there an easy way to clone it's structure (not it's data) into another table of a given name. Basically I want to create table with exactly the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the best Scheme implementation for working through SICP? I have been using PLT Scheme, but it has some issues. Does anyone know of a better implementation for working through SICP?
A: Use Racket (formerly PLT Scheme).
The DrRacket IDE is an excellent starting point for all things Scheme including SICP.
To ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "73"
} |
Q: ASP.NET refresh Update Panel I have a ListView inside of an Update Panel and wanted to change the Select Query from the code behind fired by a button click event and then reload the ListView inside of the Update Panel. Does anyone know how to cause the Update Panel to refresh from the code behind?
A: Just do:
YourU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: One line code examples in various languages for MD5 I'm looking for one line code examples in various languages for getting a valid MD5 result (as a string, not a bytehash or what have you). For instance:
PHP:
$token = md5($var1 . $var2);
I found VB especially troublesome to do in one line.
A: Python
token = __imp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: When does Perl auto-initialize variables? Here is some simple Perl to count the number of times a value occurs in an array. This runs without any warnings.
use warnings;
use strict;
my @data = qw(1 1 2 3 4 5 5 5 9);
my %histogram;
foreach (@data)
{
$histogram{$_}++;
}
When the loop body is changed to
$histogra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Override ShortCut Keys on .NET RichTextBox I'm using a RichTextBox (.NET WinForms 3.5) and would like to override some of the standard ShortCut keys....
For example, I don't want Ctrl+I to make the text italic via the RichText method, but to instead run my own method for processing the text.
Any ideas?
A: Ctrl+I is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there an easy way to add a "Choose" option to a Tapestry PropertyModel dropdown I have a Tapestry PropertyModel for gender. Right now the dropdown just shows Male and Female because those are the only values in my model. I'd like to add a "Choose an Option" option. Is there a standard way to do this without hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Watin - Browse to HTTPS page How do I get Watin to bypass (or click "OK") when the "this page is being redirected" popup appears when trying to GoTo(url)?
A: For managing dialogs watin has WatiN.Core.DialogHandlers,(like AlertDialogHandler, ConfirmDialogHandler, FileUploadDialogHandler, PrintDialogHandler, and Logo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: In .Net, what's the better choice to code key presses in keyboard, key-up or keydown? Are the two events the same or are there differences that we should take note when coding the keyboard presses?
A: My answer here is just based on experimenting with different applications, not programming per se.
Handle the key... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Memory leak in Excel I have a macro in excel which calls a few other functions in vba. The problem is that there seem to be a lot of circular references and memory is not freed up. I am trying to explicitly free up memory by setting objects to nothing, but still cannot plug it. Morever, even after the macro stops ru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Play audio with Python How can I play audio (it would be like a 1 second sound) from a Python script?
It would be best if it was platform independent, but firstly it needs to work on a Mac.
I know I could just execute the afplay file.mp3 command from within Python, but is it possible to do it in raw Python? I would ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "140"
} |
Q: Stop embedded Windows Media Player from looping? I've got an embedded Windows Media player in an HTML page, and when the audio gets to the end, it just starts again from the beginning.
According to the documentation, there's an autorewind parameter/attribute and also a loop.
The problem is, I've set both of those to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Abstract class constructor access modifier An abstract class can only be used as a base class which is extended by some other class, right? The constructor(s) of an abstract class can have the usual access modifiers (public, protected, and private (for internal use)). Which of protected and public is the correct ac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Using jQuery, how do I disable the click effect on the current tab? I have a menu with an animation going on, but I want to disable the click while the animation is happening.
<div></div>
<div></div>
<div></div>
$("div").click(function() {
$(this).animate({height: "200px"}, 2000);
return false;
});
However, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What is the "best" way to get and set a single cookie value using JavaScript I want to increment a cookie value every time a page is referenced even if the page is loaded from cache. What is the "best" or most concise way to implement this?
A: Most of the old cookie handling functions I've seen use simple string ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Is there any good resources on WebService? The webservice on MSDN is now all about the Windows Communication Foundation. Is there any site out there that deal with WebService only? (.Net)
A: I did find this section for web services under MSDN.
A: Check out http://www.xml.com/
| {
"language": "en",
"url": "https://stackoverflow.com/questions/260754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Packet mangling utilities besides iptables? I'm looking for a linux utility that can alter the payloads of network packets based on a set of rules. Ideally, I'd use iptables and the netfilter kernel module, but they don't support generic payload mangling: iptables will alter various header fields (addresses, ports,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Javascript shell? I know that this question has already been asked HERE but sadly none of the answers suggest a javascript standalone shell that has auto completion. I am reopening this question again, in the hope that some new answers might be found.
A: According to this blog post, autocompletion is now available... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: SQL Server 2008 Reporting Services permissions I'm having trouble with SQL Server 2008 (Express with Advanced Services) Reporting Services permissions. I'm running this on Vista Ultimate at home - standalone machine with no servers, no domain or active directory.
When I go to the ReportServices site, I get this:
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Alternative to BerkeleyDB? I'm looking for a dbm-like library that I can use in place of Berkeley DB, which I'm currently using. My main reason for switching is the licensing fees for BDB are pretty high (free for open source apps, but my employer does not want to open source this particular app for various reasons)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: How to use varnish/squid with IIS/ASP.NET website? I am working on a website with lots of images (think smugmug/flickr) and from what I read, flickr is using squid as the image cache. My images will be stored on Amazon S3, so a caching server will help saving the hosting money as well. I'd like to hear ideas on it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: 'Design By Contract' in C# I wanted to try a little design by contract in my latest C# application and wanted to have syntax akin to:
public string Foo()
{
set {
Assert.IsNotNull(value);
Assert.IsTrue(value.Contains("bar"));
_foo = value;
}
}
I know I can get static methods like this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: Access session of another web application Is it possible to configure two separate web apps (WAR) in a J2EE application (EAR) to access a shared session context?
Further info:
I ended up creating a shared class from the EAR which stored the required information in static members. This did the trick, even if it seem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Application will not behave under UAC even though it requires no privileges We have been having serious trouble getting an application we devlop running with UAC enabled for long.
Once installed (the installer fails almost immediately with UAC) it appears that UAC can be turned on and have the application work. Howe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unit test MSBuild Custom Task without "Task attempted to log before it was initialized" error I have written a few MSBuild custom tasks that work well and are use in our CruiseControl.NET build process.
I am modifying one, and wish to unit test it by calling the Task's Execute() method.
However, if it encounters a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Interactive Data Language, IDL: Does anybody care? Anyone use a language called Interactive Data Language, IDL? It is popular with scientists. I think it is a poor language because it is proprietary (every terminal running it has to have an expensive license purchased) and it has minimal support (try searching for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Changing website favicon dynamically I have a web application that's branded according to the user that's currently logged in. I'd like to change the favicon of the page to be the logo of the private label, but I'm unable to find any code or any examples of how to do this. Has anybody successfully done this before?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "471"
} |
Q: How to convert BYTE* into a gdi+ image object? I want to convert a BYTE* into an gdi+ Image object.
How can I do this?
The BYTE* seems a Dib point.
I found Image has a method named Image::FromStream() which may help,
But I can not find any reference about how to convert a BYTE* into a IStream object.
How can I do t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Storing large numbers of varying size objects on disk I need to develop a system for storing large numbers (10's to 100's of thousands) of objects. Each object is email-like - there is a main text body, and several ancillary text fields of limited size. A body will be from a few bytes, to several KB in size.
Ea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Canoo WebFunctionalTest / Selenium, features comparison For features comparison of Web Canoo Web Functional Test and Selenium software, it would be good have an assessment, in terms of integration to Java platform applications, speed, how quick is it to deploy Tests, execute, and analyze results, JavaScript support... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What's the best/easiest GUI Library for Ruby? Whats the best/easiest GUI library out there for Ruby?
I would prefer a cross-platform GUI library, but currently I'm only concerned about Windows (Win32). I am having difficulting finding any that seem to be easy to use. Are there any?
A: Ruby Shoes (by why) is intende... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "139"
} |
Q: How can I create a dynamically sized array of structs? I know how to create an array of structs but with a predefined size. However is there a way to create a dynamic array of structs such that the array could get bigger?
For example:
typedef struct
{
char *str;
} words;
main()
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "62"
} |
Q: What program do you use to edit php remotely and then upload to your server? So I am just starting out developing PHP web applications and have finished setting up my server with the following:
*
*Ubuntu Server
*Apache2
*PHP
*MySQL
*VSFTPD
*and all the other goodies...
Currently when I edit files, I have t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Create NSString by repeating another string a given number of times This should be easy, but I'm having a hard time finding the easiest solution.
I need an NSString that is equal to another string concatenated with itself a given number of times.
For a better explanation, consider the following python example:
>> or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "59"
} |
Q: What is the advantage of strlmove vs strmove in C? To trim the leading spaces we are using strmove. But we were advised to use strlmove instead of strmove. I have read and used strlcpy and strlcat. Whether strlmove does the similar functionality and what all are its advantages?
Edit 1: Thank you Mike B and Chris You... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I search a particular column in Perl? I have a text file which contains some data. I am trying to search for EA in ID column only and prints the whole row. But the code recognize all EA and prints all rows. What code I should add to satisfy the condition? Thanks Again:-)!
DATA:
Name Age ID
-------------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is DPRTY in z/OS JCL? When we submit a job, the following steps are executed sequentially.
Then what is the importance of DPRTY?
A: DPRTY is a very old JCL keyword that harks back to the days of MVS/ESA. It was the dispatch priority which dictated to JES what priority individual steps should be given in a job.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/260987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Accessing SQL on a different port number (classic ASP connection string) I've got an old classic ASP site that connects to a local sql server 2000 instance. We're moving the db to a new box, and the port is non standard for sql (out of my control). .NET connection strings handle the port number fine by adding it wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Unix question: Automatically recognize path for locally installed libraries I work on a Fedora Linux box.
I have a whole host of binaries and libraries that I've installed locally under my home directory.
I'd like to set my system up so installing software there functions the same way (for me) as if the root user in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Where can I see the source code of the Sun JDK? I want to have a look at how Java implements LinkedList. Where should I go to look at the source code?
A: Install the Java SE Development Kit from http://java.sun.com/javase/downloads/index.jsp.
Once installed, you should find an archive called src.zip in the top of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "70"
} |
Q: Patching out CALLL by replacing with NOPs works in user space but not in kernel space I have a device driver I want to patch.
This device driver calls IOLog and I want to get rid of the logging.
If I replace the CALLL to IOLog with (the corresponding number of) NOPs inside the device driver (kext), the kernel crashe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Slide show using Javascript I have a slide show using javascript where images display from another server (remote server). i have to display images from another server,problem is when i set "src" property of "Img" html tag, it append my server localhost path at starting as "http:\mysitehost.com\myremoresite.com\imag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Do you think that we as developers are worried about languages/tools than problem at hand? I am a .NET developer now and have come from Foxpro/VB6/COM background.
Over the time, I think we have changed to worry too much about languages/tools to do the work. If you look at what a developer in the .NET space would use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Eclipse 3.4 Ganymede Javascript Validation Issue I just upgraded to Eclipse 3.4 for the second time and I think its for good now. The first time (right when it was released) was too buggy for me to stomach (mainly the PDT 2.0 plug-in); but now it seems to be all worked out.
My problem is the Javascript validator. If... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: What are the optimal settings for Tomcat web server? I am maintaining a website with currently about 800 concurrent users. The business plan says that this number will be 10x higher in one year.
This is my current configuration:
<Connector port="8080" address="${jboss.bind.address}"
maxThreads="500" maxHttpHeaderS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Where can i get a good free css editor? Am developing my web application using Django, and is seems CSS is the only way i can format my pages to look and feel nice. Where can i get a free and good css editor?
NB: Is there another way to format forms in Django?
A: Cool stuff for Eclipse...
http://aptana.com/studio
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Required Field Validator Not Firing I'm having an issue with a standard ASP.NET page that has a TextBox and a RequiredFieldValidator. The steps to reproduce are quite simple:
*
*Place a TextBox on a page
*Place a RequiredFieldValidator on the page
*Point the RequiredFieldValidator at the TextBox
*Run the app
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How to see the trace in a separate console Is it possible in C# to see the traces in a separate console. For example, I am having a window based application in which there are trace statements that will write the currently executed method name in to the console. When I run this application, it should automatically o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: custom google maps application on which a placemarker moves over the map at locations given to it at intervals--possible? I want to know if i can create a custom google maps application,on which a placemarker continuously moves over the map accordingly as its latlongs are changing.
If yes...what technologies shall i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I call another Tk window without using a subwindow? I am making GUI (login window). When the password is correct, the login window must call other window. Is there a way in PerlTk to call another window rather than using subwindow?
use strict;
use Tk;
my $mw = MainWindow->new;
$mw->geometry("300x150");
$mw-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: When to use Bitwise Operators during webdevelopment? Although I grasp the concept of Bitwise Operators, I can't say that I have come across many use cases during the webdevelopment process at which I had to resort to using Bitwise Operators.
*
*Do you use Bitwise Operators?
*Why do you use them?
*What are some ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: Port a project from sybase to oracle I want to port a project from sybase to oracle. I need to port the tables scripts (around 30) and some data in meta data tables(100 rows 2/3 tables). What will the best tool for this work?
A: For such a small volume you would be well of writing the scripts rather than using any ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: notification when alter occurs on oracle database We have a database that many persons have to have access to. I am looking for a way that will allow us to get notification whenever "alter" occurs on this database, so other parties can be aware of it. Please advise.
A: You can create TRIGGERs to catch a number of d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Resizable Java component I would like to have a Java component which has a resize icon on the bottom right of the component so that when I drag that icon, the component will automatically resize with it.
By resize icon, I mean the following:
The above image contains the resize icon in the Google Talk messenger's ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to determine that the browser window was closed? How is it possible to identify that the browser's close button was clicked?
A: From the JavaScript Event Reference, the closest match appears to be the OnUnload event. However, this also catches navigation away from the page (and thus you don't want t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Generic Parent For Generic Class I am using a fictional example for this. Say, I have a Widget class like:
abstract class Widget
{
Widget parent;
}
Now, my other classes would be derived from this Widget class, but suppose I want to put some constraint in the class while defining the derived types such that only a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: controlling CPU utilization how is it advisable to control the cpu utilization during run time ?
poll the cpu load and insert sleeps ?
A: I'd recommend OS functionality. There are performance counters and WinAPI functions for this on Windows.
Here is an example using performance counters from BCL Team Blog:
foreach... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: GPRS communication Microcontroller What are all AT commands required for GPRS communication?
A: A more specific answer, if you're using a MultiTech Multimodem GPRS (or similar) and Tmobile's internet service (one of the higher tiers usually used with laptops). The uppercase names starting with "M" were the names o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the best way to include the icon in the target region of clickable text? I am currently using the following JavaScript to create an expanding menu:
http://demo.raibledesigns.com/struts-menu/scripts/menuExpandable.js.src
Currently, only the hyperlink text is clickable. What is the best way to have the icon ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I get rid of Java child processes when my Java app exits/crashes? I launch a child process in Java as follows:
final String[] cmd = {"<childProcessName>"};
Process process = Runtime.getRuntime().exec(cmd);
It now runs in the background. All good and fine.
If my program now crashes (it is still in dev :-)) t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Which unittest framework is integrated into Visual Studio 2008 Visual Studio 2008 has built-in unittesting that was previously only available in the Team Suite editions. What unittesting framework is this based on? MbUint, MStest, xUnit or something completely different?
A: It's MS Test. Would you expect it to be a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to simulate a slow printer in Windows XP? To test printing in a Visual Basic Project I need to simulate a SLOW printer,
how can I do that?
A: Fax modems are pretty slow, and you should be able to find a print-to-fax driver somewhere. But since Windows spools print jobs, your application won't notice that the pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: NUnit vs. MbUnit vs. MSTest vs. xUnit.net There are quite a lot of unittesting frameworks out there for .NET. I found this little feature comparison: http://xunit.github.io/docs/comparisons.html
Now I am to choose the best one for us. But how? Does it matter? Which one is most future proof and has a decent momentum ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "410"
} |
Q: How to create an aspect checking for null references on all methods in a class in postsharp How to create an aspect checking for null references on all methods in a class in postsharp.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace test
{
[MethodParameterNullChec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Looking for a script to colorize C++ code Does anyone know of a script to colorize C++ code the same as the default MSVC IDE does?
A: If it's for the web I can recommend you prettify, it's the script that StackOverflow uses for code colorization, and it's really easy to get it working...
A: Is SyntaxHighlighter th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to make a numericupdown control for asp.net? does anybody know how to make a numericupdown control for asp. There's one for making winforms, but I don't know if theres one for making webforms. Is there an addon or something that I can use?
A: You can use AJAX.NET, there is a numericupdown control.
Check http://... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Globalization of Membership exceptions isn't taking place... What to do? I'm using the SqlMembershipProvider to carry out my ASP.NET website's user management. In particular, the site needs to be multi-lingual (globalized!).
When I create users using Membership.CreateUser it's good that I get exceptions for things l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/261173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |