text stringlengths 8 267k | meta dict |
|---|---|
Q: Ensuring Users are Authenticated in Java Web App My web app has a secure area which users log in to via a JSP. The JSP posts the user name and password to a servlet, which then checks to see if the users credentials are valid. If they are valid then the user is directed to the secure resource. How can I ensure th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: "Did you mean?" feature in Lucene.net Can someone please let me know how do I implement "Did you mean" feature in Lucene.net?
Thanks!
A: AFAIK Lucene supports proximity-search, meaning that if you use something like:
field:stirng~0.5
(it s a tilde-sign)
will match "string". the float is how "tolerant" the search wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: Is "double hashing" a password less secure than just hashing it once? Is hashing a password twice before storage any more or less secure than just hashing it once?
What I'm talking about is doing this:
$hashed_password = hash(hash($plaintext_password));
instead of just this:
$hashed_password = hash($plaintext_passw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "322"
} |
Q: Kill a process on a remote machine in C# This only helps kills processes on the local machine. How do I kill processes on remote machines?
A: I like this (similar to answer from Mubashar):
ManagementScope managementScope = new ManagementScope("\\\\servername\\root\\cimv2");
managementScope.Connect();
ObjectQuery ob... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I detect whether an Eclipse build failed? Following on from this question, I now want to know how to stop an ANT script from executing if the preceding build failed. I can't see a way in the Build setup in Eclipse of chaining builds together based on their success.
I think I am lookikng for either a way to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Reusing a connection while polling a database in JDBC? Have a use case wherein need to maintain a connection open to a database open to execute queries periodically.
Is it advisable to close connection after executing the query and then reopen it after the period interval (10 minutes). I would guess no since openi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to temporarily deactivate all try / catch blocks? Is there a possibility to deactivate / activate all try catch blocks in the whole project as easy as clicking a button?
I need this for debugging when I don't want the catch block to handle the exception, but instead prefer that VS breaks into the code as if the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: How do I compare dates in Javascript? I have the following situation:
I have a certain function that runs a loop and does stuff, and error conditions may make it exit that loop.
I want to be able to check whether the loop is still running or not.
For this, i'm doing, for each loop run:
LastTimeIDidTheLoop = new Date... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How should I validate and manage a login namespace? This is silly, but I haven't found this information. If you have names of concepts and suitable references, just let me know.
I'd like to understand how should I validate a given named id for a generic entity, like, say, an email login, just like Yahoo, Google and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Whare are general knowledge you should learn before (Java Developer) inteview? You are applying for a role "Java Developer" and you are called for an interview.
What are the general knowledge you should/must learn before you sit in front of the panel?
A: I would read the Sun Certified Java Programmer study guide. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I undo 'git add' before commit? I mistakenly added files to Git using the command:
git add myfile.txt
I have not yet run git commit. How do I undo this so that these changes will not be included in the commit?
A: As per many of the other answers, you can use git reset
BUT:
I found this great little post tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10926"
} |
Q: java bounded generic type definition What's the difference between the following type definitions
<E extends Number>
and
<? extends Number>
Cheers,
Don
A: This version:
<? extends Number>
can appear in a non-generic method/type, and it basically means "I don't care what the type is, so long as it derives from N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Open Source sound engine When I started using SoundEngine (from CrashLanding and TouchFighter), I had read about a few people recommending not to use it, for it was, according to them, not stable enough. Still it was the only solution I knew of to play sounds with pitch and position control without learning C++ and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Is there any decent OpenGL SceneGraph API/framework? I am new to OpenGL.
Wondering if there is any good Scenegraph API/framework for OpenGL.
At the moment I am using glut with a custom node based solution: I am setting children and siblings for each node the calling a traverse function.
I'd like a more flexible s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: jQuery slider range I am trying to use the range property of the jQuery slider so that the slider control displays two handles from which the user can select a price range for real estate. The code I have is:
$("#price").slider({ range: true, minValue: 0, maxValue: 2000000,
change:
function(e, ui) {
var rang... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I implement client side replacement with Javascript? I have a HTML page with which I want to do some client side replacement using Javascript. The values I would like to replace are in an array like so:
var searchFor = new Object();
var replaceWith = new Object();
searchFor =
[
"quick",
"brown",
"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a list of objects in Python I'm trying to create a Python script that opens several databases and compares their contents. In the process of creating that script, I've run into a problem in creating a list whose contents are objects that I've created.
I've simplified the program to its bare bones for this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "86"
} |
Q: Custom numeric format string to always display the sign Is there any way I can specify a standard or custom numeric format string to always output the sign, be it +ve or -ve (although what it should do for zero, I'm not sure!)
A: Beware, when using conditional formatting the negative value doesn't automatically get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "222"
} |
Q: Display a Message When a Browser is Unsupported I want to warn users of Internet Explorer 6 using my site, that IE6 has had serious compatibility issues with my site in the past. What is the best way to do this?
Ideally, I want to have a message appear (not a new window, but a message box, if possible) that warns IE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Essential Firefox Plugins/Extensions? What firefox plugins could you not live without, as relates to webdev?
My list would be:
*
*DBGBar
*Dom Inspector
*Firebug
*Firecookie
*Google toolbar (useful for seo)
*Live HTTP
*ReloadEvery
*TamperData
*Web Developer
I am always on the lookout for new ones though,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Using JNI to retrieve outlook contacts I need to retrieve the list of contacts (and only them) from any Outlook application except Outlook Express. I've seen many different libraries that can solve my problem but any of them is opensource. I was wondering if it is worth to solve this problem from scratch using JNI. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Javascript mouse location How do I check if the mouse pointer is in/on another div/id/a?
^a href="#" onmouseover="showmenu('top_3_menu_1_1')">Option One</a>
function showmenu(elmnt)
{
document.getElementById(elmnt).style.visibility="visible";
}
function hidemenu(elmnt)
{
if mouse pointer is not in location A or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I reduce view duplication between client and server? I'm working on an AJAXy project (Dojo and Rails, if the particulars matter). There are several places where the user should be able to sort, group, and filter results. There are also places where a user fills out a short form and the resulting item gets a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Find the last co-ordinate of isosceles triangle given coordinates of base and altitude I have no clue about trigonometry, despite learning it in school way back when, and I figure this should be pretty straightforward, but trawling through tons of trig stuff on the web makes my head hurt :) So maybe someone could he... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Do you have a modeling notation that you use for MVC? Hopefully (but not necessarily) one that is independent of language or framework?
A: I use a simple one of my own devising:
*
*a square for Model (M is a square letter) - squares also look like tables
*a circle for Controller (C is a round letter) - circles ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Short on ideas: new web app suggestion You know, sometimes it happens that you run out of ideas for your next hobbistic programming project, and then... you ask for help on StackOverflow :)
So: what would it be your suggestion for a rocking web application (it may be implemented using Google App Engine and it may us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Regular expression to match code blocks multiple times I want to match a block of code multiple times in a file but can't work out the regular expression to do this. An example of the code block is:
//@debug
...
// code in here
...
//@end-debug (possibly more comments here on same line)
Each code block I'm trying t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Fastest javascript page search I am writing a Firefox extension. I would like to search the current webpage for a set of words, and count how many times each occurs. This activity is only performed when the user asks, but it must still happen reasonably quickly.
I am currently using indexOf on the BODY tag's innerHT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I apply 2 or more texture maps to a gluSphere OpenGL object? I'm writing a basic planet viewer OpenGL Perl application, just for fun.
I have the basics working, with the glorious planet, implemented through a gluSphere(), rotating with the classic earth texture map applied.
Now, what if I want to apply a sec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is a good way to create a variably sized group to be looped over in Excel 2003? I have a procedure that is run for a lot of items, skipping over certain items who don't meet a criterion. However, I then go back and run it for some of the individuals who were missed in the first pass. I currently do this by ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simplest source control ever - what do you use? I am working on a solo project, writing all code myself so no collaboration is required,
However, I do need the following features:
*
*Check in a current version, with comments
*Assign a label to a version
*Retrieve a version using label/tag
*NOT HOSTED (meaning ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Project Suggestion for ASP.NET MVC I was thinking that i wanted to gain some experience in the new asp.net mvc and some asp.net ajax. So i'd like to get some project suggestions that would suite for this!
Would maybe be fun to create a little bigger project on codeplex, like the storefront project.
A: Since you are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: PHP: Cookie domain / subdomain control I'm working on a site with multiple subdomains, some of which should get their own session.
I think I've got it worked out, but have noticed something about cookie handling that I don't understand. I don't see anything in the docs that explains it, so thought I would see if an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: user control in a selectable list - best way to do it? Working in C# win forms, I'm trying to create a list of items where each item is compromised of an icon and 3 labels in a specific layout.
Here's an illustration of it
The user should be able to select a single row, just like in a normal Listview.
My first atte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is it possible to transition between states until multiple events happen in wf? I am developing a State Machine Workflow using C# and WF in visual studio 2008. On one of my states I need to wait for multiple events to happen until the workflow can transition to the next state. As an example think of a unanimous vo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you deal with discrete sets of non integer numbers? I have a program that needs to do a compile time checkable map from one known set of values to another known set of values:
in out
------------
8 37
10 61
12 92
13 1/4 109
15 1/4 151
etc
This would be easy if the inputs were either i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: NTVDM CPU has encountered an illegal instruction I have encountered a rather odd error that I do not understand. I created a C# console application that was designed to just be a test to see if my web service was working from outside my network. All it did was try and connect to the webservice, output each stage t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In C++ is it possible to have a defined purely virtual function? Here's the deal. I have a big class hierarchy and I have this one method that is extended all the way through. The method always has to look at one or two more variable at each new level and these variable depend on the actual class in the hierarchy. W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Mathematical question: procedural generation of a galaxy I'm going to make a space/trading/combat game that is completely procedurally generated. But, I know that storing all of the details of the whole galaxy in memory is unfeasable. As a result, I've been think that I can use a seed to generate a solar system, and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "43"
} |
Q: Eclipse Ganymede HTML editor incredibly slow when editing attributes I recently upgraded to Eclipse Ganymede from Europa and now I'm finding that when I'm editing JSP files the IDE crawls when editing HTML attributes (but not JSP attributes).
Has anyone experienced this, or have any suggestions?
Also if you can poin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Inserting of file into an html page using Javascript? I'm currently trying to read text from a file and append it to a element in my html page using the DOM and Javascript. I can't get the text to format though. I've tried using innerHtml but isn't formating at all( no line breaks ).
Here is the javascript:
http = n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Domain Logic and Data Access of MVC at Remote API/Web Service Layer In our system, we have a Remote API layer (e.g. SOAP, XML-RPC, REST, etc.) to handle the domain logic and data access for web application and any client applications that're developed on top of it. Unlike in the past, I do not have business logic co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the best place for storing uploaded images, SQL database or disk file system? I'm writing an application that allows users to upload images onto the server. I expect about 20 images per day all jpeg and probably not edited/resized. (This is another question, how to resize the images on the server side before... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "167"
} |
Q: How does MS Access join linked tables (linked to the same SQL server database)? I've got MS Access database with linked tables, whenever each table is linked to a table in the same SQL Server database. I have a query inside Access that joins two tables (in particular I'm updating a table based on another using a joi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Receive and send emails in python How can I receive and send email in python? A 'mail server' of sorts.
I am looking into making an app that listens to see if it receives an email addressed to foo@bar.domain.com, and sends an email to the sender.
Now, am I able to do this all in python, would it be best to use 3rd p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "43"
} |
Q: Is there a way to use annotations in Java to replace accessors? I'm a little new to the Java 5 annotations and I'm curious if either of these are possible:
This annotation would generate a simple getter and setter for you.
@attribute
private String var = "";
The @NotNull annotation indicates that a variable connot ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Custom key-sort a flat associative based on another array Is it possible in PHP to do something like this? How would you go about writing a function? Here is an example. The order is the most important thing.
$customer['address'] = '123 fake st';
$customer['name'] = 'Tim';
$customer['dob'] = '12/08/1986';
$customer[... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "184"
} |
Q: (N)Hibernate Selecting Constants in Query does anyone know if you can do something like this using the (N)Hibernate criteria api:
Select 1 AS obj.Property0, obj.Property1, obj.Property2 from Class
Baiscally I want to select a constant value for one of my properties in the query. I can do this easy enough using HQL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: In PostgreSQL, Is It faster to Include TEXT columns in the same table, rather than a separate table? Which design do you think runs faster on PostgreSQL?
*
*Making a 15 column table of varchars and the like, but putting all TEXT columns in a separate table with an fkey link back to this table. And let's imagine y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Updating multiple rows Linq vs SQL Some time ago I wrote a piece of code to update multiple rows in a database table. The code was like this
var db = new MyDataContext();
db.Execute("UPDATE Details SET IsActive = 0 WHERE MasterId = 1");
Then the other day when I got the latest version of the file I saw that somebod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How can I sort the column headers in a datagrid alphabetically? c# I have a sorted list that contains the column headers, how do I rearrange my datagridview so it is in the same order as my sorted list?
I've tried the code below but this doesn't always work, some columns are not sorted correctly. Thanks for any help... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Unable to Locate Properties File Inside Jar During Junit Tests via Ant I am having problems running my Junit tests via Ant. I can't seem to get Ant to see the properties file it needs to load a dll my project needs. All my tests work using the Junit GUI in Elcipse, so I'm pretty sure it's not a problem with the te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Exporting crosstab query results to Excel from within MS Access I've been trying with limited success to export a crosstab query result set to Excel using Access 2003. Occasionally, the export works correctly, and Excel shows with no errors. Other times, using the exact same query parameters, I get a 3190 error - to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Make enter key behave like tab key on form Is there an easy way to move around controls on a form exactly the same way as the tab key? This includes moving around cells on a datagridview etc.
A: using winforms you should set the Form KeyPreview property to true
and in the keypress event for the form you should hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Running portions of a loop in parallel with Octave? I have the following code that I need to run over a matrix with over 20000 rows. It takes several minutes to run and the datenum and str2double functions appear to be the bottlenecks. Since no calculation depends on previous ones is there a way to break the loop in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to share web content between eclipse projects While the J2EE module reference feature allows your to create common Java library projects, I can't find a neat way to do this for web content.
I have common JSPs, CSS files, JavaScript libraries and even descriptor fragments that I would like to use across a number... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Flash Event Phases? Could someone simply explain the 3 phases in the Flash Event framework, please?
By event phases, I mean:
*
*CAPTURING_PHASE
*AT_TARGET
*BUBBLING_PHASE
To be clear, I'm talking about flash.events.Event and subclasses.
An in-depth example would be fantastic. What happens when you click on a n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: The URI you submitted has disallowed characters I have a code igniter project, and I wanted to try debugging it using Zend Studio. WHen I start debugging, I immediately run ino
"The URI you submitted has disallowed characters."
Does anyone have any idea?
A: If using an old version of CodeIgniter and PHP 5.4 you hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How can I make a setup that makes my software require administrative priviliges while installation? I have created an application that writes some data to the root folder of the directory in which it was installed (in Program Files). But under Windows Vista, the program is unable to write to the directory because th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I make an Eclipse org.eclipse.swt.widgets.Text component wider? I think the question says it all. I'm new to Eclipse plugin development, so I'm sure there's an easy answer.
A: final Composite area = new Composite(parent, SWT.NULL);
final GridLayout gridLayout = new GridLayout();
mTextWidget = new Text(area... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Show tooltip when selecting item on asp:DropDownList I have an asp:DropDownList on a page that, due to the 1024x768 development standard can truncate some of the text values in the dropdown (not enough of them, apparently, to redesign the layout ), so I need to display a tooltip of the selected value when a dropdown... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: coding connected nodes in graph I am trying to make a graph in java that would have different nodes. some nodes would be connected to others and some wont. If they are connected then some boolean value for that node will be true and another variable will hold the value of the node it is connected to.
...any suggest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can/should I convert VS2008 "Web site" to "Project?" I created a Web site in VS2008. I'm wondering if I should have created it as a project instead and, if so, can it be converted? Any advantages/disadvantages to either approach?
TIA
A: This may sound a bit obvious, but I think it's something that is misunderstood... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Refactor this nested IF function that is wrapped in a try/catch I have a messy function that needs refactoring, it has too many nested IF's and it makes me nervous just to look at it!
Please ignore what the functions are doing, I'm more concerned with the structure/flow and how it can be refactored so it has less ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Thoughts on Entity Framework I was wondering what people thought about the decision to support Entity Framework over LINQ-to-SQL? I have an application I'm developing originally in LINQ-to-SQL. I found it the perfect solution for our application.
While attempting to port to Entity Framework I was surprised how ro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Can you create 'Dynamic' tests with MS Test Suite? I'm using QUnit to test some JQuery, and I've got Watin to load up the test page and parse out the test results, but I'm wondering if there's a way to dynamically generate the tests from the page using the MS Test suite rather than having to write a Test function fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I configure log4j to not print the exception stacktrace? We use Log4j (and Commons Logging) to log our error messages. Now we want to set up an additional log appender that outputs fatal errors to syslog, but without the exceptionally long Java stacktraces (those will still be available in the full log file)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: "Microsoft Visual C# IntelliSense has stopped working" in project referencing F# After installing the F# September CTP (1.9.6.2), Visual Studio 2008 frequently gives an error "Microsoft Visual C# IntelliSense has stopped working" which promptly crashes all of Visual Studio. I tried the tips mentioned in a similar S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Encrypted web services connections and pk12 certificates I need to make some code to talk to a SOAP web service. Unfortunately I'm unable to get a connection to the service as it requires a SSL connection encrypted with a special certificate. I've been given a pk12 certificate which when installed into my keychain... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: changing autonumber field to number datatype Is there any way to change the autonumber field to a number datatype, when the field is used a primary key and linked to other tables?
A: You will have to delete the relationship(s) between the table and any foreign key columns on other tables first. Change the data type... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best way to do multiple table associations in a LINQ dbml file? I have a couple of tables in my database, one called Task, and another called User. The Task table has two columns CreatedBy and ModifiedBy that map to the UserId column in the User table.
I want to add the User table to the dbml file and add the assoc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get a list of column headers of a listview based on displayindex? If the AllowReorder column of a listview is set to true, how do I get a string list of the columnheader texts based on their displayindex at runtime? listview.Columns only returns columns in the original order.
A: C# 2.0? Or C# 3.0? The LINQ a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How would you improve this simple class to be more loosely coupled? As you can see below, in the constructor I'm instantiating a validation object so I can validate a user's email in a set method. Is this architecture best practice or flawed? Can I avoid making my User class directly dependent on my Validation class... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to track small changes to a large, externally-maintained codebase When working with some open source projects (in my case Joomla and Moodle), I've often had to delve into the core code to make some alterations, but the problem is keeping track of these changes so I know which files to update on the production se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What are some situations where Agile is inappropriate? I have been hearing and reading about Agile for years. I own a book or two on it and I like the idea.
I am finally in a position where I could roll something like this out where I work, but I have serious concerns about whether it's the way to go for us:
*
*I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Domain Specific Language in C/C++, does this Kosher? I was just fooling around with some Domain Specific Language designs for a new project in C/C++ when I thought up this "odd" solution:
define DSL(...) MakeCommand(#__VA_ARGS__\
)->Exec()->GetResults()
MyResults results = DSL( for p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Parsing large XML files in Adobe Flex I am working on an Adobe Flex app, which needs to parse a relativley large XML file. ATM it is only 35MB, but in an ideal world would get much larger in the future.
**Edit: I have no control over the XML file
I am essentially dropping it's contents right into an SQLITE database... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I download all emails with attachments from Gmail? How do I connect to Gmail and determine which messages have attachments? I then want to download each attachment, printing out the Subject: and From: for each message as I process it.
A: I'm not an expert on Perl, but what I do know is that GMail supports ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "83"
} |
Q: Encoding for JMF I'm creating some videos from a collection of images, I subsequently wish to play this video back with java. I found JMF but I haven't been able to find an encoding which is actually playable by it. Does anybody have an ffmpeg or mencoder formulation which produces JMF playable output? I would al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: prevent values in form from passing I have 4 <select></select> elements in my form. Usually when submitting the form you would get this in the url, e.g.
index.html?day=01&month=01&year=1999&reporter=Joe+Blogs
However in my interface users are switching between the date picker and the person picker.
Is it possible t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I find a substring within a string using Perl? I have a string from which I wish to extract a single word, but with a numerical appended to it, which might be different in each line:
This is string1 this is string
This is string11
This is string6 and it is in this line
I want to parse this file and get the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Is TCP Keepalive the only mechanism to determine a broken link? I recently ran into a issue where intermediate link betweeen a TCP server and client was down. The client has the requirement of connecting to a secondary server if the primary server is down. When the primary server is bought down (Ex ..by doing ^C on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I receive a touch event? I'd like to receive a touch event. Also I'd like some kind of coordinates indicating where the user touched the screen.
How can I receive a touch event in an iPhone app?
A: Look up the -touchesBegan, -touchesMoved, and -touchesEnded methods of the UIView class - you'll want to subc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TFS 08 - Can't find AgentService.asmx We have a notification service running on our TFS server which automatically modifies certain work items when they are created so they are assigned to the right people and so on.
Over the weekend a patch was applied to our TFS server and since then the notification service appea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Getting raw HTTP request from CFHTTPMessageRef I am working with a wrapper class for CFHTTPMessage, which contains a CFHTTPMessageRef object to which is added the method (GET), the URL of the web application server, and a few custom headers containing the date and an authentication nonce.
I'm having some problems ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Setting the NSBrowserCell image using bindings? I've got an NSBrowser hooked up to an NSTreeController bound to an array of NSTreeNode objects. It's easy enough to get the text portion working by setting the Content and Content Value bindings to properly reference the tree controller, but how do I set the image for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to automate SQL backup on a shared hosted server? I'm using a hosting service which allows me to backup my SQL 2008 database and download the BAK file via a web interface only--and I have access to the database via Management Studio. I can execute the backup command from Management Studio,but I don't have rights... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Jquery AJAX with ASP.NET WebMethod Returning Entire Page I'm doing some simple tests (in preparation for a larger project) to call an ASP.NET WebMethod using JQuery AJAX. In my example, my WebMethod returns a simple string. However, when I attempt to call it using JQuery, I get the entire HTML page content returned ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: Comparing dates in Lingo How do I compare two dates in Lingo? To be specific, I want to know if today's date is after some fixed date. I know I can create the fixed date by using:
date("20090101")
and I can get the current date using:
_system.date()
but I can't seem to directly compare the two. Do I have to parse ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Client Side MD5 Hash with Time Salt I want to salt a hashed username and password (submitted via http POST) in JS on the client-side with a higher-order time value (< 1 minute resolution) to avoid sending the username and password hash as a constant value that could be used for a log-in attempt via POST fabrication ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How Create Charts with the Google Chart API in asp.net? How to Creat Charts with the Google Chart API in asp.net?
A: Google is a good place to start...
Google Charts API as ASP.NET 2.0 Server Control
Google Chart Net
Or better yet use the new ASP.NET charting control
ASP.NET Charting Control
A: Please refer the a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: scheduling app using constraints for when an event can take place Ok, what I'm trying to do is build a web app that allows students to visually organize their class calendar using drag and drop. but They have to be able to drag and drop to specific locations (when those classes are available), not just anywhere.
Thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I manually add additional rows to the bottom of an ASP.NET gridview? I have a situation where I'm populating a gridview with a bound data source, and want two additional rows at the very bottom; one to show the sum of values in the columns and one to show the average of values in the columns. I can quite eas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why is there "class" in "template "? What does the "class" part of a template statement do?
Example:
template <class T>
class Something
{
public:
Something(const T &something);
}
And what else can go there? I usually only see "class".
A: The class keyword means the same thing as the typename keyword f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is writing self closing tags for elements not traditionally empty bad practice? I have noticed jQuery (or is it Firefox) will turn some of my <span class="presentational"></span> into <span class="presentational" />
Now my question is, is this okay to write my markup like this? Will any browsers choke on it?
Persona... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: How to Improve Web Development Using Virtualization in asp.net? Improving Web Development Using Virtualization
A: https://web.archive.org/web/20090207084158/http://aspnet.4guysfromrolla.com:80/articles/102908-1.aspx
A: Virtualization is, in essence, creating multiple miniature (virtual) PCs inside of your primary ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I Send SMS to Active Directory Users How do I send an SMS to Active Directory Users. I want to design a small application (in C#) for my telecom operator client that will send various SMS based notifications to their (AD) users by using their SMS gateway.
A: I'm assuming you mean that the mobile number is st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Modify the HTTP Response Using Filters in asp.net? Modifying the HTTP Response Using Filters
A: I think the question relates to ASP.NET, not Java. This might help:
http://professionalaspnet.com/archive/2008/04/13/What-is-the-Difference-between-an-httpModule-and-an-httpHandler_3F00_.aspx
A: These kind of com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cross compiler for embedded platform in Windows I wish to build a compiler (GCC port) for Linux, so that the built GCC runs on Windows and creates executables for an embedded platform.
Is the above possible?
A: Yes, it is possible.
It also utterly painful to try to do this yourself -- it is OK on Linux, mostly, bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Getting the time zone as a UTC offset on windows and linux What is the simplest way to get the machine's time zone as a positive or negative UTC offset, preferably using some time of shell command?
A: For all Unix-ish operating systems, when using the GNU date command:
date +%z
Example, for Eastern European Time (m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/348760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.