text string | meta dict |
|---|---|
Q: How to log out user from web site using BASIC authentication? Is it possible to log out user from a web site if he is using basic authentication?
Killing session is not enough, since, once user is authenticated, each request contains login info, so user is automatically logged in next time he/she access the site usi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "338"
} |
Q: Disabled breakpoints disappear, no more red dot? In previous versions of VS, if you right-clicked a breakpoint's red dot and selected Disable Breakpoint, the dot would become 'hollow', and clicking it again would re-enable it. But in VS2008, disabling the breakpoint removes the red dot entirely and you need to go to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL user can only run proc, but that proc can do anything In SQL Server 2005, I want a user, called LimitedUser, to only be able to run one proc:
GRANT EXEC ON [usp_RunETL] TO [LimitedUser]
However, that proc needs to be able to do everything -- UPDATE, DELETE, INSERT, EXEC.. everything. How do I do that without ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I pre-populate a jQuery Datepicker textbox with today's date? I have a very simple jQuery Datepicker calendar:
$(document).ready(function(){
$("#date_pretty").datepicker({
});
});
and of course in the HTML...
<input type="text" size="10" value="" id="date_pretty"/>
Today's date is nicely highlighte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "245"
} |
Q: What technique would be the least effort to internationalise (at least multi-language) existing Delphi Applications? I have developed about 300 Applications which I would like to provide with multi-language capabilities independent from the Operating System. I have written a just-in-time translator, but that is too ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do you add weights together in an oracle text index? I have created a multi column datastore on a table that allows me to do full text indexing on the table. What I need to be able to do is weight each column different and add the scores together.
The following query works, but is slow:
SELECT document.*, Score(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best practice for large WCF service? What is the best practice for writing a rather large wcf service, containing a lot of OperationContracts and DataContracts?
How would I separate functional areas into several contracts, would it be best to create an endpoint for each functional area?
Is there any way to keep the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: Closures in Java 7 I have heard that closures could be introduced in the next Java standard that is scheduled to be released somewhere around next summer.
What would this syntax look like?
I read somewhere that introducing closures in java is a bigger change than generic was in java 5. Is this true? pros and cons?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Can Eclipse Be Used To Find All Deprecated Method Calls? Does Eclipse have a feature that lets you search a project to find all calls to deprecated methods?
A: You can set the compiler to generate errors or warnings (your choice) for any usage of deprecated API.
Preferences -> Java -> Compiler -> Errors/Warnings -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: Best Practice for Forcing Garbage Collection in C# In my experience it seems that most people will tell you that it is unwise to force a garbage collection but in some cases where you are working with large objects that don't always get collected in the 0 generation but where memory is an issue, is it ok to force th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "123"
} |
Q: OS X file duplication converts text encoding by default All the PHP files in my workspace are encoded in Unicode (UTF-8, no BOM). I often duplicate an existing source file to use as a base for a new script. Invariably (with Path Finder or the original Finder), OS X will convert the encoding of the duplicate file to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dynamic Associative Array Creation in Javascript from JSON It sounds a lot more complicated than it really is.
So in Perl, you can do something like this:
foreach my $var (@vars) {
$hash_table{$var->{'id'}} = $var->{'data'};
}
I have a JSON object and I want to do the same thing, but with a javascript associativ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: cache FreeMarker templates I'm using the Spring class FreeMarkerConfigurationFactoryBean to retrieve FreeMarker templates. I would like these templates to be cached, but there doesn't appear to be any way to indicate that this behaviour is required.
In contrast, Spring modules provides a CachingTemplateResolver whic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: c# Reporting Services -- ReportParameter value that isn't a string Ok
I'm working on a little project at the moment, the Report expects an int but the ReportParameter class only lets me have a value that's a string or a string[]
How can I pass an int?
thanks
dan
A: You can call the method GetReportParameters() whic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to create Windows firewall exception in Visual Basic 2005? Is there a way I can create Windows firewall exceptions in VB2005? I'm trying to deploy a small app that opens up a few ports so I can connect to them and convert them using VMWare Converter.
Thanks in advance
A: Very similar to this question: Programma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: DB sketcher for MacOS? I've been trying to find a free database creator for mac os, and i'm not being able to find any. Anyone know of a free one i could download?
EDIT: I need that the application generate the sql (mysql in this case) also :)
ty
A: SQL Designer is web-based.
There's also more options at this quest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Which Graphical Subsystem for Touchscreen Kiosk Development I'm starting a hobby project in which I would like to have a graphical, touchscreen interface for interacting with a kiosk-like device running on top of Windows XP Embedded. For development of a rich UI experience, I was considering using WPF. However, a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Linking to a file (e.g. PDF) within a CakePHP view I'd like to link to some PDFs in one of my controller views. What's the best practice for accomplishing this? The CakePHP webroot folder contains a ./files/ subfolder, I am confounded by trying to link to it without using "magic" pathnames in my href (e.g. "/path/to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Difference btw org.hibernate.jmx.HibernateService and org.jboss.hibernate.jmx.Hibernate Both of them are mbeans. Both are intended to setup Hibernate Session Factory and expose it through JNDI. Both are implemented in Red Hat. But at the same time each of them belongs to separate classes hierarchy.
What is actually ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delay Activity not firing in SharePoint Workflow I have a delay activity with an interval set to 1 day.
For some reason the workflow Timer is not activating the workflow once the time has elapsed.
I have installed the SharePoint infrastructure update, but it did not resolve the issue.
The workflow is also set to lis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do lexical closures work? While I was investigating a problem I had with lexical closures in Javascript code, I came along this problem in Python:
flist = []
for i in xrange(3):
def func(x): return x * i
flist.append(func)
for f in flist:
print f(2)
Note that this example mindfully avoids lambda. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "158"
} |
Q: write a file from webservices I have a web service using .net c# and I want to write to a text file on the server, but I cannot get this to work. I believe it's a permission problem.
Specifically, I think the problem is I am using System.IO.Directory.GetCurrentDirectory().
Is there a better alternative?
A: Try gr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Ignore pattern for eclipse workspace Do you have a good ignore pattern for svn, git, etc. that handles an eclipse workspace? I want to version handle all projects in the workspace. It has to ignore all the eclipse configuration, compiled files, and output folders.
A: You should be able to ignore just the top level ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to: Cross-Site posting and redirection in ASP.NET webforms Scenario:
The task I have at hand is to enable a single-signon solution between different organizations/websites. I start as an authenticated user on one organization's website, convert specific information into an Xml document, encrypt the document with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233691",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where does Outlook store the VBA code files? I had a VBA project in outlook with a few email macros - but after a PC crash they are all gone and all I see is a fresh 'Project1' when I hit Alt+F11
I'm not a VBA programmer, but had a collection of handy macros for email sorting etc. I would not like to have to code th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: applying filters 'like' clause on data returned via subsonic i have a data access layer which returns data from stored procedures. If i bind this to a gridview control in asp.net 2.0, the users then have an option of filtering on that data select list where in they can choose the conditional clause of
*
*like
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Domain redirection to the same page and Google We developed a website for a client and he has purchased the .com, .net, .info versions of the domain.
Is there any way to redirect all to the same page without being considered by Google as duplicated content and therefore penalized in the ranking position?
A: Just us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add property to anonymous type after creation I use an anonymous object to pass my Html Attributes to some helper methods.
If the consumer didn't add an ID attribute, I want to add it in my helper method.
How can I add an attribute to this anonymous object?
A: The following extension class would get you what you ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "116"
} |
Q: App Domain per User Session in IIS This question is about App domains and Sessions. Is it possible to have IIS run each User Session in a seperate App Domain. If Yes, Could you please let me settings in the config file that affect this.
Regards,
Anil.
A: I don't know of a way in which this could be easily done. Pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to read the clipboard in Firefox, Safari and Chrome using JavaScript? I'm trying to read the contents of the clipboard using JavaScript. With Internet Explorer it's possible using the function
window.clipboardData.getData("Text")
Is there a similar way of reading the clipboard in Firefox, Safari and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Beta testing a new product As a Micro ISV I am coming to the stage in the development of a new desktop software application where beta testing it with an external group of users would be great.
I would prefer private invite only beta testing as opposed to public free for all beta testing.
Are there websites/organisa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: DNS domain name syntax examples As per RFC1035, dns names may contain \ddd \x and quote symbol. Please explain with examples about those.
A: RFC1035 doesn't say that DNS names can contain those characters. In section 5 (MASTER FILES) it says that the file that contains the RR information can contain those characte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: LINQ to SQL multiple DataContext-s I'm trying to figure the best strategy about how to organize DataContexts. The typical DB we work has between 50 and 100 tables usually in third-normal form and with many relations between them. I think we have two options:
*
*Put all tables in a single context. This will ensure... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Writing gridview to file does not work with nested for loop I have this loop, which I am using to get the values of all cells within all rows of a gridview and then write it to a csv file. My loop looks like this:
string filename = @"C:\Users\gurdip.sira\Documents\Visual Studio 2008\WebSites\Supressions\APP_DATA\sur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: .NET VS2005 WinForms: How do i drop a user control onto a form? i've written a UserControl descendant that is in an assembly dll.
How do i drop the control on a form?
namespace StackOverflowExample
{
public partial class MonthViewCalendar : UserControl
{
...
}
}
i've added a reference to the assembly... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the actual function of the C# project setting "Allow unsafe code" I was wondering if the C# project setting "Allow unsafe code" applies only to unsafe C# code in the project itself, or is it necessary to set this option when linking in a native C++ DLL? What about linking in a managed DLL that itself links ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: StructureMap and SqlCacheDependency I'm trying to enable SqlCacheDependency through my StructureMap IoC, I'm using LinqToSql I have the code done to take care of the Linq Caching but not quite sure how to go about setting up the SqlCacheDependency as it requires putting this in a global.asa file
void Application_Sta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Colorize logs in eclipse console Is there a way to colorize parts of logs in the eclipse console. I know I could send to error and standard streams and color them differently but I'm more looking someting in the lines of ANSI escape codes (or anyother, HTML ?) where I could embed the colors in the string to have it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "107"
} |
Q: Looking for lightweight PHP stack for development on Windows I'm looking to setup a lightweight, developer only web stack on Windows (and possible OSX). Ideally, I'd be working with Zend framework, MySQL. But I'm open to other APIs to facilitate creating RESTFul (or pseudo-Restful) web services.
I've seen some t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: prefilling dynamically created textbox with javascript in IE I'm trying to dynamically add some textboxes (input type=text) to a page in javascript and prefill them. The textboxes are coming up, but they are coming up empty. What is the proper way to pre-fill a textbox. Ideally I'd love to use the trick of creati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails: Detecting user agent works in development but not production? I am trying to detect Blackberry user agents in my app, which works fine in my development version. But nothing happens when I redeploy the app in production.
application_helper.rb
def blackberry_user_agent?
request.env["HTTP_USER_AGENT"] && ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Creating a two way link between a mobile device and a server I would like to create a link between a winMo device and a server, so that they can pass information back and forth to each other. I actually don't really know where to start, I've had SOAP, RPC and creating a TCP link suggested to me. If someone could pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can SQL Server 2005 Express perform full backups? I need some help for executing my planned backup strategy.
My database is about 1 gig in size.
I want to perform a full backup once per week, and incremental every hour.
Is all of this built into SQL Server 2005 Express?
Is it possible to roll over the backups so I o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: "An unhandled non-continuable exception was thrown during process load" This error message appears on a colleague's machine when he tries to launch a Windows application he's working on:
An unhandled non-continuable exception was thrown during process load
What does this mean, and how does one go about investigati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does viewstate expire? Let's say you have a aspx page that does not rely on session, but does rely on viewstate for persistance between postbacks.
If a user is accessing this page, and leaves for a long lunch, will viewstate still be valid when he returns?
A: Also, as a gotcha, by default ASP.NET encrypts ViewStat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Programmatically Printing in Adobe Reader 9 using .NET Interop I am using VB.Net WinForms. I would like to call the Adobe Reader 9 ActiveX control to print some PDFs. I have added the ActiveX control to the VS toolbox (the dll is AcroPDF.dll, the COM name "Adobe PDF Reader". After some experiment the following co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: TSQL: How to fill a variable using a generated sql command string without a cursor I'm trying to get the value of generated sql inside a stored procedure.
Executing this
DECLARE @sSQL varchar(5000), @retval int
DECLARE @tablename varchar(50)
SELECT @tablename = 'products'
SELECT @sSQL = 'SELECT @retval... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Configuring Visual Studio 2008 to edit legacy JScript ASP files I'm working on a project that combines .NET with some legacy ASP code via COM interop. The legacy ASP is written in JScript - files look like this helloworld.asp example.
<%@Language="JScript"%>
<html>
<head>
<title>Jscript ASP Page</title>
</head>
<b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Tetris Piece Rotation Algorithm What are the best algorithms (and explanations) for representing and rotating the pieces of a tetris game? I always find the piece rotation and representation schemes confusing.
Most tetris games seem to use a naive "remake the array of blocks" at each rotation:
http://www.codeplex.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: Is a Session ID generated on the Server-side or Client-side? This web page http://www.w3schools.com/ASP/prop_sessionid.asp states that a session ID is generated on the ServerSide.
If this is the case, then how does a server know it's still the same client on the 2nd request response cycle?
Surely the SessionId woul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Invoking Mail App on the iPhone The application I'm writing calls a web service that sends an email to the user. After the call to the web service is complete, I would like to bring up the Mail application so the user can read the email. I know I can use mailto:, but then a new email is created for the user to compo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I create a copy of an Oracle table without copying the data? I know the statement:
create table xyz_new as select * from xyz;
Which copies the structure and the data, but what if I just want the structure?
A: I used the method that you accepted a lot, but as someone pointed out it doesn't duplicate constra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "302"
} |
Q: Spring + Tiles2 + Freemarker - integrate via Freemarker Servlet or via Spring's FreeMarkerViewResolver? I was strugling today trying to migrate from Freemarker to Tiles2 + Freemarker.
My freemarker templates use macros that come from spring.ftl.
If I provide a fremarker servlet in web.xml, my model is visible to fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: VSTestHost.exe has stopped working - can't run unit tests The Microsoft unit testing framework has suddenly gone on strike.
When I try to run tests in VS2008, I get a dialog with the message "VSTestHost.exe has stopped working".
I have Visual Studio Team System 2008 (version 9.0.30729.1 SP) running on Vista with all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Keep ConnectionString in LINQ designer file Whenever I drop a new database object from server explorer into the dbml, Visual Studio replaces the connection string in the designer file with a new one that it automatically adds to the connection strings in my config file. They both have exactly the same parameters, ju... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Using Flex Prana How many of you already used the Prana Framework for AS3 (Flex/Flash) or heard about it?
I have found it very useful but there doesn't seem to be a lot of developers using it...
The link is PranaFramework
A: Marcel Panse spoke about Prana at the JFall conference last wednesday in Bussum, the Nether... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Visual Studio solution that just points to a folder and shows all sub-folders and files in the solution explorer? Is there a way to create a blank solution, or some type of file-based project solution within Visual Studio so that I can point to a root folder, and have all of the sub-folders and files in that root, s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What's the best zero (near zero?) administration relational database for a windows desktop app: Access, SQLite, SQL Server, other? We don't need multiuser. Just relational. Our app currently uses Access but Access isn't exactly zero-administration because it's prone to corruption.
Is SQLite rock, rock solid, pu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Query with a join or use LINQ magic? Is is better to do a joined query like this:
var employer = (from person in db.People
join employer in db.Employers
on person.EmployerID equals employer.EmployerID
where person.PersonID == idPerson
select em... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I create a YUI menu where you can click to open the submenus? We have a multi-tiered/hierarchical YUI menu activated via a YUI menu button. Everything in this menu works pretty well. If you mouseover a menu item with a submenu, the submenu appears as expected. You can select an item from this submenu just... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Add 10000 to numbers using Regex replace? I need to replace some 2- and 3-digit numbers with the same number plus 10000. So
Photo.123.aspx
needs to become
Photo.10123.aspx
and also
Photo.12.aspx
needs to become
Photo.10012.aspx
I know that in .NET I can delegate the replacement to a function and just add 10000 t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: ie useragent wxWidgets Im currently using ie as an active x com thing on wxWidgets and was wanting to know if there is any easy way to change the user agent that will always work.
Atm im changing the header but this only works when i manually load the link (i.e. call setUrl)
A: The only way that will "always work,"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Should path recursion occur in a class or presentation layer? I have a WinForms app with an input textbox, button, and a multiline output textbox.
A root path is entered in the textbox. Button click calls a function to recursively check all subdirectories for some proper directory naming validation check.
The resu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: INSERT vs INSERT INTO I have been working with T-SQL in MS SQL for some time now and somehow whenever I have to insert data into a table I tend to use syntax:
INSERT INTO myTable <something here>
I understand that keyword INTO is optional here and I do not have to use it but somehow it grew into habit in my case.
M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "109"
} |
Q: Find & replace jquery I have this code to give me a rollover on submit buttons, and I'm trying to make it more generic:
$('.rollover').hover(
function(){ // Change the input image's source when we "roll on"
srcPath = $(this).attr("src");
srcPathOver = ???????
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: jQuery Swapping Elements Ok let me make an example:
<head>
<script type="text/javascript">
$(document).ready(function(){
$("#options_2").hide();
$("#options_3").hide();
});
</script>
</head>
<body>
<div id="options_1">option 1</div>
<div id="options_2">option 2</div>
<div id="options_3">option 3</div>
<a h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What's the best way to sync large amounts of data around the world? I have a great deal of data to keep synchronized over 4 or 5 sites around the world, around half a terabyte at each site. This changes (either adds or changes) by around 1.4 Gigabytes per day, and the data can change at any of the four sites.
A larg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Windows Mobile WinInet library working with HTTP compresion On Windows Mobile metod InternetSetOption http://msdn.microsoft.com/en-us/library/ms918381.aspx does not support option INTERNET_OPTION_HTTP_DECODING is there some simple method to turn on compresion under WM 6.0 or any external library that will decompress... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sharepoint OnWorkflowItemChanged is out of control I there,
I am working on a statemachine workflow. I have one state which listens to an OnWorkflowItemChanged event. The rest listens to OnWorkflowModified events. If I update an Item in another state than the state with the OnWorkflowItemChanged event the event is n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: javascript window.open() and # symbol I am trying to link to a file that has the '#' character in via a window.open() call. The file does exist and can be linked to just fine using a normal anchor tag.
I have tried escaping the '#' character with '%23' but when the window.open(myurl) gets processed, the '%23' becom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I create a network of sites that understand single sign-on? I have several sites (Asp.Net) that I would like to have a single sign on for...
I would like a user to visit Site1 and have Site1 contact a central single sign-on server (SSS).
The SSS would then determine that the user was not logged on (Not sure ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/233996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What are validation options for ASP.NET MVC What are my validation options with .net mvc?
Do any of them have a nice validation summary like webforms did?
A: You can use a MVC html validation summary,see this blog
http://blog.maartenballiauw.be/post/2008/08/29/Form-validation-with-ASPNET-MVC-preview-5.aspx
A: xVal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Ado.net Entity Framework debug visualiser Does anyone know if there is a debug visualiser for this yet along the same lines and the linq to SQL debug visualiser?
A: There isn't one that I'm aware of at the moment (hope to be shown otherwise by other answers here), but Julie Lerman has a post "An extension method fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Is it impossible to use Generics dynamically? I need to create at runtime instances of a class that uses generics, like class<T>, without knowing previously the type T they will have, I would like to do something like that:
public Dictionary<Type, object> GenerateLists(List<Type> types)
{
Dictionary<Type, object... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How can I set the flag FILE_FLAG_BACKUP_SEMANTICS for an fstream object? How can I set the flag FILE_FLAG_BACKUP_SEMANTICS for an fstream object?
You can set most flags with fstream, but it seems like this one is not availble. You can read about the flag here.
A: I've done this sort thing in the past but it's been... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: JavaScript array to ColdFusion I have an array I've created in JavaScript. The end result comes out to element1,element2,,,element5,element6,,,element9.... etc
Once passed to ColdFusion, it removes the null elements, I end up with element1,element2,element5,element6,element9
I need to maintain these spaces, any ide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I find the index in a string that matches a boost regex? How can I find the index in a string that matches a boost regex?
A: Use the position member function of the match_results:
int find_match_offset(std::string const& string_to_search,
boost::regex const& expression)
{
boost::sm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Conversion tool for MS-Excel spreadsheets with macros and VB to Oracle? Our users have created MS-Excel spreadsheets which over time have evolved into fairly complex applications. They run their part of the business with them. But, never having been exposed to software development discipline, these spreadsheets ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to make Reflector an addin for Visual Studios? I downloaded Reflector.Net and it's an .Exe outside VS. I remember (last year) when I downloaded it, it was an Addin to VS. How can I make it back to an Addin?
A: Reflector Add-In Lives Again ;-)
P.S. The reflector add-in that made Reflector an Visual Studio add-i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234043",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: efficient ways to anonymous personalization using ASP.NET + Cookie I am trying to achieve anonymous personalization in a ASP.net environment. I know that ASP.NET 2.0 provide Profile. However, I want to avoid traffic to the database as much as possible since the site I am working on is a relatively high traffic site... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Nice bit of code to format an xml string Anyone got a ready made function that will take an XML string and return a correctly indented string?
eg
<XML><TAG1>A</TAG1><TAG2><Tag3></Tag3></TAG2></XML>
and will return nicely formatted String in return after inserting linebreaks and tabs or spaces?
A: Using XSLT...
<?x... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Is a memory leak created if a MemoryStream in .NET is not closed? I have the following code:
MemoryStream foo(){
MemoryStream ms = new MemoryStream();
// write stuff to ms
return ms;
}
void bar(){
MemoryStream ms2 = foo();
// do stuff with ms2
return;
}
Is there any chance that the MemorySt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "128"
} |
Q: .Net DataBinding a new object with value type properties Using data binding, how do you bind a new object that uses value types?
Simple example:
public class Person() {
private string _firstName;
private DateTime _birthdate;
private int _favoriteNumber;
//Properties
}
If I create a new Person() an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to "bind" services to specific channels (tcp, http, ipc) in a .NET Remoting server? I have a complex .NET Remoting server app that provides a couple of services. Clients can currently use tcp and http channels to connect to the server.
Now I need to implement some new administration services, but I want to restr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I make the IsEnabled property of a button dependent on the presence of data in other controls? (WPF) I have a "Login" button that I want to be disabled until 3 text boxes on the same WPF form are populated with text (user, password, server).
I have a backing object with a boolean property called IsLoginEnab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to detect duplicate text with some fuzzyness Some thing ago, I write small script using Text::DeDupe to remove duplicates of blog posts before I have to lay my eyes on them.
After reading Syntactic Clustering of the Web paper on which implementation is based, I would love to have ability to find overlapping docu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Infragistics Windows Grid I'm using the Infragistics WinForms UltaGrid control and I'm setting the RegexPattern property. How do I get the grid cell I'm setting the RegEx for to actually use that pattern to restrict entry? Or am I misunderstanding how the RegexPattern property works.
Jeff
A: RegexPattern property... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234087",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to pass parameter to servlet How do I pass a parameter from a page's useBean in JSP to a servlet in Java? I have some data in a form that gets passed no problem with a submit button, but no way to send anything else. Please help? Here is my code:
<input name = "deleteGameButton" type = "submit" value = "Delete"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to architect DAL for WebService exposure? We have a highly specialized DAL which sits over our DB. Our apps need to use this DAL to correctly operate against this DB.
The generated DAL (which sits on some custom base classes) has various 'Rec' classes (Table1Rec, Table2Rec) each of which represents the record st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why CLR integration assemblies have a random version number For some reason, new projects set the version number of the assembly to 1.0.*, which then assigns what appears to be a random number once compiled.
Why is this not set to 1.0.0.0 like all other projects.
Thanks.
A: The numbers aren't random, though they ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Getting a sqlexception on successful insert, VB.NET I'm trying to do a very simple INSERT using VB.NET. For some reason I'm getting a SqlException on every insert though. The data is inserted, but still get the following:
Violation of PRIMARY KEY constraint 'PK_User'. Cannot insert duplicate key in object 'dbo.Em... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you efficiently determine if a Postgres table has rows I did this tests and the results seems the count function scale linearly. I have another function relying strongly in the efficiency to know if there are any data, so I would like to know how to replace this select count(*) with another more efficient (ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Parse a Date from a String in Win32 I have a string containing a date, and another string containing the date format of the first string. Is there a function that I can call to convert that date into something like a SYSTEMTIME structure? Basically, I'd like the opposite of GetDateFormat().
A: It doesn't do quite w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: NHibernate automatically rename the column name in C# I couldn't figure out why NHibernate is doing this.
Here's part of my table in MS SQL
CREATE TABLE Person (
nameFamily text,
nameGiven text
)
Here's Person.hbm.xml
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="Infosci.Dpd.Model.Person... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I transfer data from one database to another using a DataSet? As usual, some background information first:
Database A (Access database) - Holds a table that has information I need from only two columns. The information from these two columns is needed for an application that will be used by people that cannot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Flash Logging API Can anyone recommend a good (AS3) logging API for Flash/AIR/Flex? I need something to capture and record mouse and keyboard events in addition to coded events. Preferably something well documented/supported. Thanks in advance.
A: I've been using Thunderbolt. It allows you to see your log results... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Getting i-th value from a SortedList or SortedDictionary I have a sorted collection of objects (it can be either SortedList or SortedDictionary, I will use it mainly for reading so add performance is not that important). How can I get the i-th value?
So e.g. when I have numbers 1, 2, 3, 4, 5 in the collection and I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Can anyone explain servlet mapping?
I'm trying to write a web application using SpringMVC. Normally I'd just map some made-up file extension to Spring's front controller and live happily, but this time I'm going for REST-like URLs, with no file-name extensions.
Mapping everything under my context path to the front... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: XML to WordML using XSLT 1.0 - replace html tags within xml content with wordML formatting tags I am creating a WordML document from an xml file whose elements sometimes contain html-formatted text.
<w:p>
<w:r>
<w:t> html formatted content is in here taken from xml file! </w:t>
</w:r>
</w:p>
This is how m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to compile and execute new code at runtime in .NET? Note: Mathematical expression evaluation is not the focus of this question. I want to compile and execute new code at runtime in .NET. That being said...
I would like to allow the user to enter any equation, like the following, into a text box:
x =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/234217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |