text stringlengths 8 267k | meta dict |
|---|---|
Q: Can you use the Phoenix compiler as a more powerful NGEN? In case you don't know of Phoenix, it's a compiler framework from Microsoft that's apparantly going to be the foundation of all their new compilers. It can read in code from CIL, x86, x64, and IA64; and emit code in x86, x64, IA64, or CIL.
Can I use it to tra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a way to prevent google search terms from matching urls? At the moment, I am doing a number of searches which include "html" in them, for example "html rearrange". Unfortunately, I get a lot of hits from sites that include "rearrange" on a .html page but have no mention of html in the page itself.
Is there... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you write a binary literal in ruby? Most languages (Ruby included) allow number literals to be written in at least three bases: decimal, octal and hexadecimal. Numbers in decimal base is the usual thing and are written as (most) people naturally write numbers, 96 is written as 96. Numbers prefixed by a zero a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: How to change schema name of a table in all stored procedures I know how to change the schema of a table in SQL server 2005:
ALTER SCHEMA NewSchama TRANSFER dbo.Table1
But how can i check and/or alter stored procedures that use the old schema name?
Sorry: I mean:
There are stored procedures that have the old schema... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Restrict access to a single application when logging in from the console without replacing GINA Does anybody know if there is a feasible way on Windows XP to programmatically create and configure a user account so that after logging in from the console (no terminal services) a specific app is launched and the user i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it correct to use the backtick / comma idiom inside a (loop ...)? I have some code which collects points (consed integers) from a loop which looks something like this:
(loop
for x from 1 to 100
for y from 100 downto 1
collect `(,x . ,y))
My question is, is it correct to use `(,x . ,y) in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Flex Builder 3 design view, css not being applied I have Flex Builder 3 installed on two Windows machines and the same project on both of them. On one computer, the CSS styles I defined are shown in design view; on the other computer they are not applied. Is there any reason why it might not work on one?
A: Have yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to catch all exceptions in Flex? When I run a Flex application in the debug flash player I get an exception pop up as soon as something unexpected happened. However when a customer uses the application he does not use the debug flash player. In this case he does not get an exception pop up, but he UI is not work... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "43"
} |
Q: Serializing DateTime to time without milliseconds and gmt I have created a C# class file by using a XSD-file as an input. One of my properties look like this:
private System.DateTime timeField;
[System.Xml.Serialization.XmlElementAttribute(DataType="time")]
public System.DateTime Time {
get {
retur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Best Javascript drop-down menu? I am looking for a drop-down JavaScript menu.
It should be the simplest and most elegant accessible menu that works in IE6 and Firefox 2 also.
It would be fine if it worked on an unnumbered list (ul) so the user can use the page without JavaScript support.
Which one do you recommend a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: What does a "WARNING: did not see LOP_CKPT_END" message mean on SQL Server 2005? The above error message comes up just before SQL Server marks the database as "Suspect" and refuses to open it. Does anyone know what the message means and how to fix it? I think it's a matter of grabbing the backup, but would be nice i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Prototype get by tag function How do I get an element or element list by it's tag name. Take for example that I want all elements from <h1></h1>.
A: document.getElementsByTagName('a') returns an array. Look here for more information: http://web.archive.org/web/20120511135043/https://d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Compare time part of datetime field in Hibernate I've got an application that uses a hibernate(annotations)/mysql combination for ORM. In that application, I got an entity with a Date field. I'm looking for a way to select on that date within a time range (so hh:mm:ss without the date part).
In MySQL there's a func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Quickest way to get ical email attachment into Google Calendar I'm running Thunderbird on Windows. I often receive .ics (iCal) attachments - invitations to meetings. Currently I save the attachment to my desktop, open Google Calendar, choose 'Add>Import Calendar', browse to the .ics file, and return to the calendar.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Algorithm to detect similar documents in python script I need to write a module to detect similar documents. I have read many papers of fingerprints of documents techniques and others, but I do not know how to write code or implement such a solution. The algorithm should work for Chinese, Japanese, English and Germa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How to open an external file from HTML I want a list of hyperlinks on a basic html page, which point to files on our corporate intranet.
When a user clicks the link, I want the file to open.
They are excel spreadsheets, and this is an intranet environment, so I can count on everyone having Excel installed.
I've trie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Actionscript 2: MovieClipLoader.onLoadProgress not firing in production I'm working in Flash CS3, targeting Actionscript 2, and I'm writing an image preloader. When I test the movie with the download simulation turned on everything works just fine, and my preloader successfully updates the download progress bar I'v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: When do you use a JSP and when a Servlet? I have an application that sends the customer to another site to handle the payments. The other site, outside of the customer, calls a page on our server to let us know what the status is of the payment. The called page checks the parameters that are given by the payment app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: How do I select all elements of class "sortasc" within a table with a specific id? Let's say I have the following HTML:
<table id="foo">
<th class="sortasc">Header</th>
</table>
<table id="bar">
<th class="sortasc">Header</th>
</table>
I know that I can do the following to get all of the th elements that have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Converting C++ code to HTML safe I decided to try http://www.screwturn.eu/ wiki as a code snippet storage utility. So far I am very impressed, but what irkes me is that when I copy paste my code that I want to save, '<'s and '[' (http://en.wikipedia.org/wiki/Character_encodings_in_HTML#Character_references) invariab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to schedule a task to run when shutting down windows How do you schedule a task in Windows XP to run when you shut down windows. Such that I want to run a simple command line program I wrote in c# everytime I shut down windows. There doesn't seem to be an option in scheduled tasks to perform this task when my co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "94"
} |
Q: What HTTP header to use for setting form field names (multipart/form-data) I'm passing raw HTTP requests to an apache server (received by PHP). The request is of type multipart/form-data, i.e. the same MIME type used when submitting HTML forms.
However, I'm not sure what HTTP header to use for setting the form fiel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can ReSharper be set to warn if IDisposable not handled correctly? Is there a setting in ReSharper 4 (or even Visual Studio itself...) that forces a warning if I forget to wrap code in a using block, or omit the proper Dispose call in a finally block?
A: Discontent with current methods, I created my own: EyeDisposa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: Alternative to Excel's RefEdit control that can be used outside of VBA The RefEdit control that comes as part of VBA is a little buggy, but it's good for putting on a form when you want people to specify one or more ranges of cells (i.e. Excel.Range objects).
The main problem is that you can only use the RefEdit con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Problem consuming ActiveMQ messages from Flex client I am unable to consume messages sent via ActiveMQ from my Flex client. Sending messages via the Producer seems to work, I can also see that the Flex client is connected and subscribed via the properties on the Consumer object, however the "message" event on the Co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CustomErrors mode="Off" I get an error everytime I upload my webapp to the provider. Because of the customErrors mode, all I see is the default "Runtime error" message, instructing me to turn off customErrors to view more about the error.
Exasperated, I've set my web.config to look like this:
<?xml version="1.0"?>
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "281"
} |
Q: Setting the 'audience' in a SharePoint-NavigationNode? Hallo, i am using WSS 3.0 and i need to display certain entries of a website's navigation ("Quicklaunch") to specified groups only. According to this blogpost this can be done using properties of the SPNavigationNode - but it seems the solution to the problem is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TcpClient.Connected returns true yet client is not connected, what can I use instead? In VB.net I'm using the TcpClient to retrieve a string of data. I'm constantly checking the .Connected property to verify if the client is connected but even if the client disconnects this still returns true. What can I use as a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Best Way To Format An HTML Email? I am implementing a comment control that allows a person to select comments and have them sent to specified departments. The email needs to be formatted in a specific way, and I was wondering what the best way to do this would be.
Should I just hard code all of the style informatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Drawing a variable width line in openGL (No glLineWidth) What is the best way to draw a variable width line without using glLineWidth?
Just draw a rectangle?
Various parallel lines?
None of the above?
A: Ok, how about this: (Ozgar)
A
/ \
/ \
. p1 \
/ \
/ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Merge Modules for Crystal Reports 2008 - Needs a Keycode? I've not been able to find any information on this, but is a keycode required to be embedded in the CR2008 merge modules for a .NET distribution? They used to require this (which had to be done using ORCA), but I've not found any information on this for CR20... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to generate one texture from N textures? Let's say I have N pictures of an object, taken from N know positions. I also have the 3D geometry of the object, and I know all the characteristics of both the camera and the lens.
I want to generate a unique giant picture from the N pictures I have, so that it can be ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you access an authenticated Google App Engine service from a (non-web) python client? I have a Google App Engine app - http://mylovelyapp.appspot.com/
It has a page - mylovelypage
For the moment, the page just does self.response.out.write('OK')
If I run the following Python at my computer:
import urllib2
f = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "52"
} |
Q: Multiple Monitors with Visual Studio 2008 I've got 2 monitors, and most of the time I've got some reference material open on one screen, and Visual Studio on the other. To really get in the zone, though, I need my code to be the only thing I see. Does anyone know if it's possible to have multiple code windows in Vis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: I ran into a merge conflict. How do I abort the merge? I used git pull and had a merge conflict:
unmerged: some_file.txt
You are in the middle of a conflicted merge.
How do I abandon my changes to the file and keep only the pulled changes?
A: For git >= 1.6.1:
git merge --abort
For older versions of git, this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3115"
} |
Q: Is there a way to run Python on Android? We are working on an S60 version and this platform has a nice Python API..
However, there is nothing official about Python on Android, but since Jython exists, is there a way to let the snake and the robot work together??
A: Pygame Subset for Android
Pygame is a 2D game engi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2085"
} |
Q: Using `pkg-config` as command line argument under cygwin/msys bash I'm trying to use cygwin as a build environment under Windows. I have some dependencies on 3rd party packages, for example, GTK+.
Normally when I build under Linux, in my Makefile I can add a call to pkg-config as an argument to gcc, so it comes out... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: PHP: return a part of an if () { } Let's say I have this code:
if (md5($_POST[$foo['bar']]) == $somemd5) {
doSomethingWith(md5($_POST[$foo['bar']]);
}
I could shorten that down by doing:
$value = md5($_POST[$foo['bar']];
if ($value == $somemd5) {
doSomethingWith($value);
}
But is there any pre-set variable tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The action or event has been blocked by Disabled Mode I am using Microsoft Access 2007 to move and massage some data between two SQL Servers. Yesterday everything was working correctly, I was able to run queries, update data, and delete data.
Today I opened up the Access database to finish my data migration and am ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Recursing the file system with Powershell Anyone happen to have a sample script for recursing a given directory in a filesystem with Powershell? Ultimately what I'm wanting to do is create a script that will generate NSIS file lists for me given a directory. Something very similar to what was done here with a BASH s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Which continuous integration framework for Perl? What are the best continuous integration frameworks/projects for Perl and why?
A: I've looked into the various ones suggest, but they all seemed a little fiddly to get going.
I've since found Hudson , from playing around with it, it seems very nice, coupled with tap-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Visual Studio 2008, Multiple Monitors, "find" window placement problem (another post here reminded me of this annoyance! this is not a dup!)
I use VS2008 with multiple monitors. I have VS open on one and the app I'm debugging, reference pages, etc.. on the other.
The problem is when I open a find window (Ctrl-F ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Check if application was started from within Visual Studio debug session I am working on an application that installs a system wide keyboard
hook. I do not want to install this hook when I am running a debug
build from inside the visual studio (or else it would hang the studio
and eventually the system), and I can a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: Looking for a more flexible tool than GNU indent When I run indent with various options I want against my source, it does what I want but also messes with the placement of *s in pointer types:
-int send_pkt(tpkt_t* pkt, void* opt_data);
-void dump(tpkt_t* bp);
+int send_pkt(tpkt_t * pkt, void *opt_data);
+vo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Is XHTML compliance pointless? I'm building a site right now, so far I've painfully forced everything to be compliant and it looks pretty much the same across browsers. However, I'm starting to implement some third party/free javascripts which do things like add attributes (eg. order=2). I could work around this but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: What's the best way of using a pair (triple, etc) of values as one value in C#? That is, I'd like to have a tuple of values.
The use case on my mind:
Dictionary<Pair<string, int>, object>
or
Dictionary<Triple<string, int, int>, object>
Are there built-in types like Pair or Triple? Or what's the best way of impleme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Is Oracle RDBMS more stable, secure, robust, etc. than MySQL RDBMS? I've worked on a variety of systems as a programmer, some with Oracle, some with MySQL. I keep hearing people say that Oracle is more stable, more robust, and more secure. Is this the case?
If so in what ways and why?
For the purposes of this questi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: In eclipse, how to display inherited members in Outline view? Typing Ctrl+O twice in editor when a java type is selected pops-up an outline context dialog that displays the members && inherited members. How can I have this in the main outline view?
A: Looks like you can't do it.
Maybe you should file it as an impro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: PHP: GET-data automatically being declared as variables Take this code:
<?php
if (isset($_POST['action']) && !empty($_POST['action'])) {
$action = $_POST['action'];
}
if ($action) {
echo $action;
}
else {
echo 'No variable';
}
?>
And then access the file with ?action=test
Is there any way of preventin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Rails-like Database Migrations? Is there any easy to install/use (on unix) database migration tools like Rails Migrations? I really like the idea, but installing ruby/rails purely to manage my database migrations seems overkill.
A: There's also a project called Java Database Migrations. To get the code check out t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Page transitions effects in Safari? How can I add Page transitions effects like IE in Safari for web pages?
A: You could check out this example: http://sachiniscool.blogspot.com/2006/01/implementing-page-transitions-in.html. It describes how to emulate page transitions in Firefox using AJAX and CSS. The same method... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Why do I get "java.net.BindException: Only one usage of each socket address" if netstat says something else?
*
*I start up my application which uses a Jetty server, using port 9000.
*I then shut down my application with Ctrl-C
*I check with "netstat -a" and see that the port 9000 is no longer being used.
*I res... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to combine requests for multiple javascript files into one http request? This concept is a new one for me -- I first came across it at the YUI dependency configurator. Basically, instead of having multiple requests for many files, the files are chained into one http request to cut down on page load time.
Anyone ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: ASP.NET MVC Preview 5 & Resharper weirdness I've just created my first Preview 5 error and it doesn't seem to place nice with Resharper. All the C# in the Views are coming up with errors, things like <%= Html.Password("currentPassword") %> has the "currentPassword" highlighted with the following error: Argument typ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Building effective external DSLs What tools are there for me to build a real, honest to goodness external DSL. And no, I'm not talking about abusing Ruby, Boo, XML or another existing language or syntax, I mean a REAL external DSL -- my own language for my own purposes.
I know that there are a few language workbench... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How is the user id image generated on SO? I am a little curious about the cute little kaleidoscopic images associated with each user on this site.
How are those generated? Possibilities are:
*
*A list of images is already there in some folder and it is chosen randomly.
*The image is generated whenever a user reg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Validate XML using a custom DTD in PHP Is there a way (without installing any libraries) of validating XML using a custom DTD in PHP?
A: Take a look at PHP's DOM, especially DOMDocument::schemaValidate and DOMDocument::validate.
The example for DOMDocument::validate is fairly simple:
<?php
$dom = new DOMDocument;
$... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: VS vstest debugging error I've recently installed VS2008. The project I'm working on uses vstest and I have a maddening issue. When I choose to run/debug my tests/a test I frequently get the following error (accompanied by an exclamation mark against the test - test error):
Warning: Test Run deployment issue: The as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: WPF - find actual top and left of an image after rotating it I am using WPF and I have an image of an 8.5" * 11" piece of paper on a Canvas. I am then rotating the image using a RotateTransform, with the axis being in the middle of the page (that is, RotateTransformOrigin="0.5,0.5"). How can I find the actual loca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Code formatting: is lining up similar lines ok? I recently discovered that our company has a set of coding guidelines (hidden away in a document management system where no one can find it). It generally seems pretty sensible, and keeps away from the usual religious wars about where to put '{'s and whether to use har... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: How do you resolve Linked server references in SQL Database project in VS? In a Visual Studio SQL Server Database project, how can you resolve the errors associated with linked server references within the project?
A: Trying using synonyms for linked databases.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/101964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Resolving incompatibilities between the Spring.NET and NHibernate assemblies I am trying to develop a .NET Web Project using NHibernate and Spring.NET, but I'm stuck. Spring.NET seems to depend on different versions of the NHibernate assemblies (maybe it needs 1.2.1.4000 and my NHibernate version is 1.2.0.4000).
I h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What are the other uses of the "make" command? A sysadmin teacher told me one day that I should learn to use "make" because I could use it for a lot of other things that just triggering complilations.
I never got the chance to talk longer about it. Do you have any good example ?
As a bonus, isn't it this tool deprec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Intefacing EJB - XML using JAXB interface I was trying to add the XML schema to an existing EJB project. JAXB is used to bind the XML-Schema to a Java class. As we are going to use the search engine to crawl through DTO when EJB is in session.
I could not find any direct approach as to map entity class file to XML-S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/101989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I start an Java applet with more memory? The default 64 MB max heap memory can be small for a large Java application. Are there any applet parameter to increment this for a signed applet?
For a Java program this is a simple command line parameter but how this work for an applet in the browser.
A: Use the Ja... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Missing label on Drupal 5 CCK single on/off checkbox I'm creating a form using the Content Construction Kit (CCK) in Drupal5.
I've added several singe on/off checkboxes but their associated labels are not being displayed. Help text is displayed underneath the checkboxes but this is not the desired behavior. To m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: When is it best to use the stack instead of the heap and vice versa? In C++, when is it best to use the stack? When is it best to use the heap?
A: An exception to the rule mentioned above that you should generally use the stack for local variables that are not needed outside the scope of the function:
Recursive fun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "81"
} |
Q: SQL Server 2005 multiple database deployment/upgrading software suggestions We've got a product which utilizes multiple SQL Server 2005 databases with triggers. We're looking for a sustainable solution for deploying and upgrading the database schemas on customer servers.
Currently, we're using Red Gate's SQL Package... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Rails state of the art for spam prevention What is the current state of the art in rails for preventing spam accounts? Captcha? Any good plugins, tutorials or suggestions?
A: Use a library: You're (almost) always better off appropriating code from people who are better at the subdomain than you are. The Wordpress ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Reuse of StaticResource in Silverlight 2.0 I am currently testing with Silverlight 2.0 Beta 2, and my goal is to define a resource element once and then reuse it many times in my rendering. This simple example defines a rectangle (myRect) as a resource and then I attempt to reuse it twice -- which fails with the er... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why would VS2005 keep checking out a project for editing without any changes being made? I have a VS2005 solution which contains a variety of projects (C++ DLLs, C++ static libraries, C# assemblies, C++ windows executables) that are combined in various ways to produce several executables. For some reason, every tim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I escape the wildcard/asterisk character in bash? For example:
me$ FOO="BAR * BAR"
me$ echo $FOO
BAR file1 file2 file3 file4 BAR
and using the \ escape character:
me$ FOO="BAR \* BAR"
me$ echo $FOO
BAR \* BAR
I'm obviously doing something stupid.
How do I get the output BAR * BAR?
A: I'll add a bit to this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "163"
} |
Q: What is the preferred practice for event arguments provided by custom events? In regards to custom events in .NET, what is the preferred design pattern for passing event arguments? Should you have a separate EventArgs derived class for each event that can be raised, or it is acceptable to have a single class for the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Adding an input field to the dom and focusing it in IE I am trying to make a div, that when you click it turns into an input box, and focuses it. I am using prototype to achieve this. This works in both Chrome and Firefox, but not in IE. IE refuses to focus the newly added input field, even if I set a 1 second timeo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to search for "R" materials? "The Google" is very helpful... unless your language is called "R," in which case it spits out tons of irrelevant stuff.
Anyone have any search engine tricks for "R"? There are some specialized websites, like those below, but how can you tell Google you mean "R" the language? If I'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "133"
} |
Q: Formatting data in a Fitnesse RowFixture I've got a Fitnesse RowFixture that returns a list of business objects. The object has a field which is a float representing a percentage between 0 and 1. The consumer of the business object will be a web page or report that comes from a designer, so the formatting of the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How does debug level (0-99) in the Tomcat server.xml affect speed? The server.xml which controls the startup of Apache Tomcat's servlet container contains a debug attribute for nearly every major component. The debug attribute is more or less verbose depending upon the number you give it, zero being least and 99 be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can I get the old full screen scaling with FLVPlayback and flash 9.0.115+? With previous versions of flash, entering the full screen mode increased the height and width of the stage to the dimensions of the screen. Now that hardware scaling has arrived, the height and width are set to the dimensions of the video (p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Clock drift on Windows I've developed a Windows service which tracks business events. It uses the Windows clock to timestamp events. However, the underlying clock can drift quite dramatically (e.g. losing a few seconds per minute), particularly when the CPUs are working hard. Our servers use the Windows Time Service... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Farseer Physics Tutorials, Help files Is there a tutotial or help file, suitable for a beginner c# programmer to use.
A: The primary documentation for the Farseer Physics engine is on the homepage.
http://www.codeplex.com/FarseerPhysics/Wiki/View.aspx?title=Documentation&referringTitle=Home
You can also check out t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Adversarial/Naive Pairing with TDD: How effective is it? A friend of mine was explaining how they do ping-pong pairing with TDD at his workplace and he said that they take an "adversarial" approach. That is, when the test writing person hands the keyboard over to the implementer, the implementer tries to do the bare... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: C#.net datagrid How to add child rows in datagrid c#.net windows forms?
A: I'm not sure if this is what you're asking, but if you want to append rows you're easiest way is to append them to whatever DataSource you're using before you DataBind()
If this wasn't what you're after, please provide more detail.
A: Usual... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the best tool to find and replace regular expressions over multiple files? Preferably free tools if possible.
Also, the option of searching for multiple regular expressions and each replacing with different strings would be a bonus.
A: I've written a free command line tool for Windows to do this. It's called... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: Hidden Features of VB.NET? I have learned quite a bit browsing through Hidden Features
of C# and was surprised when I couldn't find something
similar for VB.NET.
So what are some of its hidden or lesser known features?
A: Title Case in VB.Net can be achieved by an old VB6 fxn:
StrConv(stringToTitleCase, VbStrConv.P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "121"
} |
Q: WordPress XMLRPC: Expat reports error code 5 I wrote a small PHP application several months ago that uses the WordPress XMLRPC library to synchronize two separate WordPress blogs. I have a general "RPCRequest" function that packages the request, sends it, and returns the server response, and I have several more spe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Are there any good, cross platform, Mac, Win32, *nix, Git GUI clients? It should also support SSH2 and public key auth for starters.
secondly on Mac/Windows it should have a decent installer.
A: I've just started using qgit and it seem pretty nice. I installed it on my Mac via MacPorts, there's a Windows installer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: SVN mark major version Sorry, I'm new to SVN and I looked around a little for this. How do you mark a major version in SVN, kind of like set up a restore point. Right now I just setup my server and added all my files- I've been intermittently committing different changes. When I have something in a stable state is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: What causes the error "The "ResolveManifestFiles" task failed unexpectedly. Illegal characters in path The "ResolveManifestFiles" task failed unexpectedly.
System.ArgumentException: Illegal characters in path.
at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str)
at System.Security... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Understanding the behaviour of inject used with a lambda in Ruby I often plug pre-configured lambdas into enumerable methods like 'map', 'select' etc.
but the behavior of 'inject' seems to be different.
e.g. with
mult4 = lambda {|item| item * 4 }
then
(5..10).map &mult4
gives me
[20, 24, 28, 32, 36, 40]
However, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Method that returns the line number for a given JTextPane position? I'm looking for a method that computes the line number of a given text position in a JTextPane with wrapping enabled.
Example:
This a very very very very very very very very very very very very very very very very very very very very very very long... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Duplicate complex MXML binding in ActionScript MXML lets you do some really quite powerful data binding such as:
<mx:Button id="myBtn" label="Buy an {itemName}" visible="{itemName!=null}"/>
I've found that the BindingUtils class can bind values to simple properties, but neither of the bindings above do this. Is it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is there a way to "align" columns in a data repeater control? Is there a way to "align" columns in a data repeater control?
I.E currently it looks like this:
user1 - colA colB colC colD colE
user2 - colD colE
I want it to look like:
user1
-colA
-colB
-colC
-colD
-colE
user1
-colD
-co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I determine the transfer rate ? Can I determine from an ASP.NET application the transfer rate, i.e. how many KB per second are transferd?
A: You can set some performance counters on ASP.NET.
See here for some examples.
Some specific ones that may help you figure out what you want are:
Request Bytes Out Tota... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Repository Pattern Implementation Experience I am getting ready to start a new asp.net web project, and I am going to LINQ-to-SQL. I have done a little bit of work getting my data layer setup using some info I found by Mike Hadlow that uses an Interface and generics to create a Repository for each table in the datab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Expires" in http header for static content? how-to What is the best way to add "Expires" in http header for static content? eg. images, css, js
The web server is IIS 6.0; the language is classical ASP
A: You could try something like this:
@ECHO OFF
REM -------------------------------------------------------------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to determine the amount of memory used by unmanaged code I'm working against a large COM library (ArcObjects) and I'm trying to pinpont a memory leak.
What is the most reliable way to determine the amount of memory used by unmanaged code/objects.
What performance counters can be used?
A: Use UMDH to get snapsho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Synchronize SourceSafe with SVN Our company has a policy imposing the requirement of keeping source code in a SourceSafe repository. I've tried hard to persuade the management to migrate to SVN with no success (whcih is an another issue, anyway).
As I and few of my colleagues use SVN repository placed on my compute... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What's the best way to create a drop-down list in a Windows application using Visual Basic? I'd like to add a drop-down list to a Windows application. It will have two choices, neither of which are editable. What's the best control to use? Is it a combo box with the editing property set to No?
I'm using Visual St... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: IE Javascript Clicking Issue First off, I'm working on an app that's written such that some of your typical debugging tools can't be used (or at least I can't figure out how :).
JavaScript, html, etc are all "cooked" and encoded (I think; I'm a little fuzzy on how the process works) before being deployed, so I can'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Are PeopleSoft Integration Broker asynchronous messages fired serially on the receiving end? I have a strange problem on a PeopleSoft application. It appears that integration broker messages are being processed out of order. There is another possibility, and that is that the commit is being fired asynchronously,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/102265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.