text stringlengths 8 267k | meta dict |
|---|---|
Q: Open local file with AIR / Flex I have written an AIR Application that downloads videos and documents from a server. The videos play inside of the application, but I would like the user to be able to open the documents in their native applications.
I am looking for a way to prompt the user to Open / Save As on a loc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Is The Perl Journal available online? Does anyone know where online copies of the old The Perl Journal articles can be found?
I know they are now owned by Dr. Dobb's, just the main page for it says they are part of whatever section the subject matter is relevant too, rather than being indexed together. That said, I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Locking a SQL Server Database with PHP I'm wanting extra security for a particular point in my web app. So I want to lock the database (SQL Server 2005). Any suggestions or is this even necessary with SQL Server?
Edit on question:
The query is failing silently with no errors messages logged, and does not occur insid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Reduce ASP.NET menu control size (without 3rd party libraries) I have a fairly simple ASP.NET 2.0 menu control using a sitemap file and security trimmings. There are only 21 menu options, but the results HTML of the menu is a whopping 14k. The site is hosted on our company's intranet and must be serverd to people ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: ASP.NET version of Joomla Does anyone ever found/used an ASP.NET application similar to Joomla?
I need to set up a quick and dirty CMS on a Windows Server and our client doesn't want us to use something else than ASP.NET.
A: I've been told by a friend that Umbraco is everything you would ever want in a CMS (and it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How to add CVS directories recursively I've played with CVS a little bit and am not the most familiar with all of its capabilities, but a huge annoyance for me is trying to add new directories that contain more directories in them. Running "cvs add" only adds the contents of the current directory, and using "cvs imp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: Bigger than a char but smaller than a blob Char's are great because they are fixed size and thus make for a faster table. They are however limited to 255 characters. I want to hold 500 characters but a blob is variable length and that's not what I want.
Is there some way to have a fixed length field of 500 character... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Securing a linux webserver for public access I'd like to set up a cheap Linux box as a web server to host a variety of web technologies (PHP & Java EE come to mind, but I'd like to experiment with Ruby or Python in the future as well).
I'm fairly versed in setting up Tomcat to run on Linux for serving up Java EE ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Upload form does not work in Firefox 3 with Mac OS X? Today, I ran into this weird problem with a user using Mac OS X. This user always had a failed upload. The form uses a regular "input type=file". The user could upload using any browser except Firefox 3 on his Mac. Only this particular user was seeing this error.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Learning Ruby on Rails any good for Grails? My company is in the process of starting down the Grails path. The reason for that is that the current developers are heavy on Java but felt the need for a MVC-style language for some future web development projects. Personally, I'm coming from the design/usability world, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5087",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: How do you set up Python scripts to work in Apache 2.0? I tried to follow a couple of googled up tutorials on setting up mod_python, but failed every time. Do you have a good, step-by step, rock-solid howto?
My dev box is OS X, production - Centos.
A: Are you running Python on UNIX or Windows?
An alternative to mod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: How to set up a CSS switcher I'm working on a website that will switch to a new style on a set date. The site's built-in semantic HTML and CSS, so the change should just require a CSS reference change. I'm working with a designer who will need to be able to see how it's looking, as well as a client who will need to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: Best strategy to write hooks for subversion in Windows What is the best approach to write hooks for Subversion in Windows? As far as I know, only executable files can be used. So what is the best choice?
*
*Plain batch files (very limited but perhaps OK for very simple solutions)
*Dedicated compiled executable ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Creating a shared library in MATLAB A researcher has created a small simulation in MATLAB and we want to make it accessible to others. My plan is to take the simulation, clean up a few things and turn it into a set of functions. Then I plan to compile it into a C library and use SWIG to create a Python wrapper. At t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Firebird's SQL's Substring function not working I created a view on a machine using the substring function from Firebird, and it worked. When I copied the database to a different machine, the view was broken. This is the way I used it:
SELECT SUBSTRING(field FROM 5 FOR 15) FROM table;
And this is the output on th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: SQL Server Management Studio alternatives to browse/edit tables and run queries I was wondering if there are any alternatives to Microsoft's SQL Server Management Studio?
Not there's anything wrong with SSMS, but sometimes it just seem too big an application where all I want todo is browse/edit tables and run querie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "131"
} |
Q: How Do I Post and then redirect to an external URL from ASP.Net? ASP.NET server-side controls postback to their own page. This makes cases where you want to redirect a user to an external page, but need to post to that page for some reason (for authentication, for instance) a pain.
An HttpWebRequest works great if ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "38"
} |
Q: How do you pull the URL for an ASP.NET web reference from a configuration file in Visual Studio 2008? I have a web reference for our report server embedded in our application. The server that the reports live on could change though, and I'd like to be able to change it "on the fly" if necessary.
I know I've done thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: When to use an extension method with lambda over LINQtoObjects to filter a collection? I am prototyping some C# 3 collection filters and came across this.
I have a collection of products:
public class MyProduct
{
public string Name { get; set; }
public Double Price { get; set; }
public string Description... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Accessing post variables using Java Servlets What is the Java equivalent of PHP's $_POST? After searching the web for an hour, I'm still nowhere closer.
A: Here's a simple example. I didn't get fancy with the html or the servlet, but you should get the idea.
I hope this helps you out.
<html>
<body>
<form method="po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: Length of a JavaScript object I have a JavaScript object. Is there a built-in or accepted best practice way to get the length of this object?
const myObject = new Object();
myObject["firstname"] = "Gareth";
myObject["lastname"] = "Simpson";
myObject["age"] = 21;
A: Here's the most cross-browser solution.
This is b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2950"
} |
Q: HTML Comments Markup I am currently in the process of creating my own blog and I have got to marking up the comments, but what is the best way to mark it up?
The information I need to present is:
*
*Persons Name
*Gravatar Icon
*Comment Date
*The Comment
PS: I'm only interested in semantic HTML markup.
A: I th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: User Interfaces - Colors and Layout Although I'm specifically interested in web application information, I would also be somewhat curious about desktop application development as well. This question is driven by my work on my personal website as well as my job, where I have developed a few features, but left it to o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Stand-alone charts in GWT I've been trying to get pretty charts to work in GWT on our internal network.
Playing around with GWT-Ext's charts is nice, but it requires flash and is really messy to control (it seems buggy, in general).
I'd like to hear about something that works with the least amount of dependencies ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: What is the best way to wrap time around the work day? I have a situation where I want to add hours to a date and have the new date wrap around the work-day. I cobbled up a function to determine this new date, but want to make sure that I'm not forgetting anything.
The hours to be added is called "delay". It could e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How do you persist a tree structure to a database table with auto incrementing IDs using an ADO.NET DataSet and a DataAdapter I have a self-referential Role table that represents a tree structure
ID [INT] AUTO INCREMENT
Name [VARCHAR]
ParentID [INT]
I am using an ADO.NET DataTable and DataAdapter to load and save ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How can I dynamically center an image in a MS Reporting Services report? Out of the box, in MS Reporting Services, the image element does not allow for the centering of the image itself, when the dimensions are unknown at design time. In other words, the image (if smaller than the dimensions allotted on the design s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: C# logic order and compiler behavior In C#, (and feel free to answer for other languages), what order does the runtime evaluate a logic statement?
Example:
DataTable myDt = new DataTable();
if (myDt != null && myDt.Rows.Count > 0)
{
//do some stuff with myDt
}
Which statement does the runtime evaluate first -
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Print a Winform/visual element All the articles I've found via google are either obsolete or contradict one another.
What's the easiest way to print a form or, say, a richtextbox in c#? I think it's using the PrintDiaglog class by setting the Document, but how does this get converted?
A: At least in VS 2008, its ve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Is there a business reason for striving for pure CSS layout? It seems like every time I try to create a pure CSS layout it takes me much longer than if I'd use a table or two. Getting three columns to be equal lengths with different amounts of data seems to require particular fancy hacks, especially when dealing wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: Why can't I use a try block around my super() call? So, in Java, the first line of your constructor HAS to be a call to super... be it implicitly calling super(), or explicitly calling another constructor. What I want to know is, why can't I put a try block around that?
My specific case is that I have a mock class ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: What is the difference between a bug and a change request in MSF for CMMI? I'm currently evaluating the MSF for CMMI process template under TFS for use on my development team, and I'm having trouble understanding the need for separate bug and change request work item types.
I understand that it is beneficial to be a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Memcached chunk limit Why is there a hardcoded chunk limit (.5 meg after compression) in memcached? Has anyone recompiled theirs to up it? I know I should not be sending big chunks like that around, but these extra heavy chunks happen for me from time to time and wreak havoc.
A: This question used to be in the offi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How do you use a variable in xsl when trying to select a node? I would have thought this would be an easy one to Google, but I've been unsucessful.
I want to assign a variable the value out of an attribute (easy so far) then use that variable to select another node based on the value of that attribute.
Example:
<xsl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: SQL Server 2008 FileStream on a Web Server
I've been developing a site using ASP.NET MVC, and have decided to use the new SQL Server 2008 FILESTREAM facility to store files 'within' the database rather than as separate entities. While initially working within VS2008 (using a trusted connection to the database), e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Convert Bytes to Floating Point Numbers? I have a binary file that I have to parse and I'm using Python. Is there a way to take 4 bytes and convert it to a single precision floating point number?
A: Just a little addition, if you want a float number as output from the unpack method instead of a tuple just write
>>>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "89"
} |
Q: Python, Unicode, and the Windows console When I try to print a Unicode string in a Windows console, I get an error .
UnicodeEncodeError: 'charmap' codec can't encode character ....
I assume this is because the Windows console does not accept Unicode-only characters. What's the best way around this?
Is there any way ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "170"
} |
Q: HTML comments break down I have a page that is generated which inserts an HTML comment near the top of the page. Inside the comment is a *nix-style command.
<!-- command --option value --option2 value2 --option3 -->
This comment breaks the page completely. What is wrong with the comment to cause this to happen, a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Do people use the Hungarian Naming Conventions in the real world? Is it worth learning the convention or is it a bane to readability and maintainability?
A: It is pointless (and distracting) but is in relatively heavy use at my company, at least for types like ints, strings, booleans, and doubles.
Things like sValu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: Accessing a CONST attribute of series of Classes This is how I wanted to do it which would work in PHP 5.3.0+
<?php
class MyClass
{
const CONSTANT = 'Const var';
}
$classname = 'MyClass';
echo $classname::CONSTANT; // As of PHP 5.3.0
?>
But I'm restricted to using PHP 5.2.6. Can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Telligent's Community Server The company I work for is wanting to add blog functionality to our website and they were looking to spend an awful amount of money to have some crap being built on top of a CMS they purchased (sitecore). I pointed them to Telligent's Community Server and we had a sales like meeting tod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I undo git reset --hard HEAD~1? Is it possible to undo the changes caused by the following command? If so, how?
git reset --hard HEAD~1
A: If you're really lucky, like I was, you can go back into your text editor and hit 'undo'.
I know that's not really a proper answer, but it saved me half a day's work so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1529"
} |
Q: How to specify javascript to run when ModalPopupExtender is shown The ASP.NET AJAX ModalPopupExtender has OnCancelScript and OnOkScript properties, but it doesn't seem to have an OnShowScript property. I'd like to specify a javascript function to run each time the popup is shown.
In past situations, I set the Targe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "38"
} |
Q: Alternative Hostname for an IIS web site for internal access only I'm using IIS in Windows 2003 Server for a SharePoint intranet. External incoming requests will be using the host header portal.mycompany.com and be forced to use SSL.
I was wondering if there's a way to set up an alternate host header such as http://... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Does it still make sense to learn low level WinAPI programming? Does it make sense, having all of the C#-managed-bliss, to go back to Petzold's Programming Windows and try to produce code w/ pure WinAPI?
What can be learn from it? Isn't it just too outdated to be useful?
A: Analogy: If you build cars for a living (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: Rational Purify failing to jump to memory leaks So my company uses a delightfully buggy program called Rational Purify (as a plugin to Microsoft Visual Developer Studio) to manage memory leaks. The program is deigned to let you click on a memory leak after you have encountered it, and then jump to the line that the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Numeric Data Entry in WPF How are you handling the entry of numeric values in WPF applications?
Without a NumericUpDown control, I've been using a TextBox and handling its PreviewKeyDown event with the code below, but it's pretty ugly.
Has anyone found a more graceful way to get numeric data from the user without re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "67"
} |
Q: Is there a real benefit of using J#? I just saw a comment of suggesting J#, and it made me wonder... is there a real, beneficial use of J# over Java? So, my feeling is that the only reason you would even consider using J# is that management has decreed that the company should jump on the Java bandwagon... and the .... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: In ASP.NET MVC I encounter an incorrect type error when rendering a user control with the correct typed object I encounter an error of the form: "The model item passed into the dictionary is of type FooViewData but this dictionary requires a model item of type bar" even though I am passing in an object of the correc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Document or RPC based web services My gut feel is that document based web services are preferred in practice - is this other peoples experience? Are they easier to support? (I noted that SharePoint uses Any for the "document type" in its WSDL interface, I guess that makes it Document based).
Also - are people offer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Tables with no Primary Key I have several tables whose only unique data is a uniqueidentifier (a Guid) column. Because guids are non-sequential (and they're client-side generated so I can't use newsequentialid()), I have made a non-primary, non-clustered index on this ID field rather than giving the tables a cluster... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: HTTP Libraries for Emacs I recently discovered the org-mode in emacs and it works very well for me. I also like www.RememberTheMilk.com. I would like to be able to sync my org-mode file and RTM list. I know that RTM has its API exposed as web services. I am currently looking for a HTTP library that I could use to wr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Better Random Generating PHP I know that just using rand() is predictable, if you know what you're doing, and have access to the server.
I have a project that is highly dependent upon choosing a random number that is as unpredictable as possible. So I'm looking for suggestions, either other built-in functions or use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Debugging: IE6 + SSL + AJAX + post form = 404 error The Setting:
The program in question tries to post form data via an AJAX call to a target procedure contained in the same package as the caller. This is done for a site that uses a secure connection (HTTPS). The technology used here is PLSQL and the DOJO JavaScript... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is there a way to include a fragment identifier when using Asp.Net MVC ActionLink, RedirectToAction, etc.? I want some links to include a fragment identifier. Like some of the URLs on this site:
Debugging: IE6 + SSL + AJAX + post form = 404 error#5626
Is there a way to do this with any of the built-in methods in MVC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Any reason not to start using the HTML 5 doctype?
It is supposed to be backwards compatible with HTML4 and XHTML. John Resig posted about some of the benefits.
As long as we don't use any of the new and not supported yet features, would there be any downside to start building sites with this doctype?
A: My questio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "132"
} |
Q: x86 Assembly on a Mac Does anyone know of any good tools (I'm looking for IDEs) to write assembly on the Mac. Xcode is a little cumbersome to me.
Also, on the Intel Macs, can I use generic x86 asm? Or is there a modified instruction set? Any information about post Intel.
Also: I know that on windows, asm can run in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "69"
} |
Q: Sleep from within an Informix SPL procedure What's the best way to do the semantic equivalent of the traditional sleep() system call from within an Informix SPL routine? In other words, simply "pause" for N seconds (or milliseconds or whatever, but seconds are fine). I'm looking for a solution that does not involv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I create an HTML anchor in a FogBugz wiki page? The StackOverflow transcripts are enormous, and sometimes I want to link to a little bit within it.
How do I create an HTML anchor in a FogBugz wiki page?
A: According to this support message, the feature is not yet currently implemented:
The FogBugz wiki does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is it just me, or are characters being rendered incorrectly more lately? I'm not sure if it's my system, although I haven't done anything unusual with it, but I've started noticing incorrectly rendered characters popping up in web pages, text-files, like this:
http://www.kbssource.com/strange-characters.gif
I have a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: MVC Preview 4 - No route in the route table matches the supplied values I have a route that I am calling through a RedirectToRoute like this:
return this.RedirectToRoute("Super-SuperRoute", new { year = selectedYear });
I have also tried:
return this.RedirectToRoute("Super-SuperRoute", new { controller = "Super", ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: The imported project "C:\Microsoft.CSharp.targets" was not found I got this error today when trying to open a Visual Studio 2008 project in Visual Studio 2005:
The imported project "C:\Microsoft.CSharp.targets" was not found.
A: I used to have this following line in the csproj file:
<Import Project="$(MSBuildExte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "140"
} |
Q: Is there a lightweight, preferable open source, formattable label control for .NET? I have been looking for a way to utilize a simple markup language, or just plain HTML, when displaying text in WinForm applications. I would like to avoid embedding a web browser control since in most of the case I just want to highl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: When do Request.Params and Request.Form differ? I recently encountered a problem where a value was null if accessed with Request.Form but fine if retrieved with Request.Params. What are the differences between these methods that could cause this?
A: Request.Form only includes variables posted through a form, while... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: Better windows command line shells Is there a better windows command line shell other than cmd which has better copy paste between Windows' windows and console windows?
A: Enable QuickEdit mode, under the Options tab of your shortcut to the command shell. Mark with the mouse, right-click to copy, right-click again... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "66"
} |
Q: What are the barriers to understanding pointers and what can be done to overcome them? Why are pointers such a leading factor of confusion for many new, and even old, college level students in C or C++? Are there any tools or thought processes that helped you understand how pointers work at the variable, function, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5727",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "468"
} |
Q: Firebug won't display console feeds for some of my sites Using Firebug v1.20b7 with Firefox v3.0.1 I use firebug a lot for web devlopment.
I have very often the problem that Firebug won't show its web console for seeing the POSTs and GETs. I can view all the other tabs, including the NET tab that gives me a lot of t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: What is a good plotting library for .Net? I'm writing some data acquisition software and need a gui plotting library that is fast enough to do realtime updated graphs. I've been using Nplot which is pretty good for a free library, but I'm wondering if there are any better libraries (preferably free or cheap).
A: T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Equivalent VB keyword for 'break' I just moved over to the Visual Basic team here at work.
What is the equivalent keyword to break in Visual Basic, that is, to exit a loop early but not the method?
A: In case you're inside a Sub of Function and you want to exit it, you can use :
Exit Sub
or
Exit Function
A: Ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "111"
} |
Q: Tab Escape Character? I'm just in the process of parsing some text and can't remember what the escape character is for a tab in C#?
A: For someone who needs quick reference of C# Escape Sequences that can be used in string literals:
\t Horizontal tab (ASCII code value: 9)
\n Line feed (ASCII code value: 10... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "74"
} |
Q: IsNothing versus Is Nothing Does anyone here use VB.NET and have a strong preference for or against using IsNothing as opposed to Is Nothing (for example, If IsNothing(anObject) or If anObject Is Nothing...)? If so, why?
EDIT: If you think they're both equally acceptable, do you think it's best to pick one and stic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "134"
} |
Q: Inheritance in database? Is there any way to use inheritance in database (Specifically in SQL Server 2005)?
Suppose I have few field like CreatedOn, CreatedBy which I want to add on all of my entities. I looking for an alternative way instead of adding these fields to every table.
A: There is no such thing as inher... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: SQL Server Escape an Underscore How do I escape the underscore character?
I am writing something like the following where clause and want to be able to find actual entries with _d at the end.
Where Username Like '%_d'
A: These solutions totally make sense. Unfortunately, neither worked for me as expected. Instead ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "440"
} |
Q: Binary patch-generation in C# Does anyone have, or know of, a binary patch generation algorithm implementation in C#?
Basically, compare two files (designated old and new), and produce a patch file that can be used to upgrade the old file to have the same contents as the new file.
The implementation would have to be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Issues using MS Access as a front-end to a MySQL database back-end? Two users wanted to share the same database, originally written in MS Access, without conflicting with one another over a single MDB file.
I moved the tables from a simple MS Access database to MySQL using its Migration Toolkit (which works well, by... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Add 1 to a field How do I turn the following 2 queries into 1 query
$sql = "SELECT level FROM skills WHERE id = $id LIMIT 1;";
$result = $db->sql_query($sql);
$level = (int) $db->sql_fetchfield('level');
$db->sql_freeresult($result);
++$level;
$sql = "UPDATE skills SET level = $level WHERE id = $id;";
$resu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Automate builds for Java RCP for deployment with JNLP I've found many sources that talk about the automated Eclipse PDE process. I feel these sources don't do a good job explaining what's going on.
I can create the deployable package, in a semi-manual process via the Feature Export.
The automated process requires... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: mailto link for large bodies I have a page upon which a user can choose up to many different paragraphs. When the link is clicked (or button), an email will open up and put all those paragraphs into the body of the email, address it, and fill in the subject. However, the text can be too long for a mailto link.
Any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: WCF Service - Backward compatibility issue I'm just getting into creating some WCF services, but I have a requirement to make them backward compatible for legacy (.NET 1.1 and 2.0) client applications.
I've managed to get the services to run correctly for 3.0 and greater clients, but when I publish the services us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Making a production build of a PHP project with Subversion If you are working in PHP (or I guess any programming language) and using subversion as your source control, is there a way to take your project (for example):
C:\Projects\test\.svn
C:\Projects\test\docs\
C:\Projects\test\faq.php
C:\Projects\test\gues... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Drag and drop ftp file upload web widgets It seems like drag and drop upload widgets disappeared from the face of Web 2.0. The last one of these I remember using was an activex widget, and inability of using it in anything other than IE doomed it. Have you used or seen one of these recently?
A: The Dojo Toolkit Jav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I prevent dnsmasq from appending my domain name to invalid domain requests? I use dnsmasq to resolve DNS queries on my home network. Unfortunately, if a domain name is not known, it will append my own domain name to the request which means that I always end up viewing my own site in a browser.
For example, if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Are there any negative reasons to use an N-Tier solution? I'm pretty new to my company (2 weeks) and we're starting a new platform for our system using .NET 3.5 Team Foundation from DotNetNuke. Our "architect" is suggesting we use one class project. Of course, I chime back with a "3-tier" architecture (Business, Dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Link issues (VC6) I've opened an old workspace that is a libray and its test harness. It used to work fine but now doesn't and older versions of the code don't work either with the same errors. I've tried recreating the project and that causes the same errors too. Nothing seems out of order in project settings and t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Genealogy Tree Control I've been tasked (by my wife) with creating a program to allow her to track the family trees on both sides of our family.
Does anyone know of a cost-effective (free) control to represent this type of information?
What I'm looking for is a modified org-chart type chart/tree. The modification i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: User access log to SQL Server I need to get a log of user access to our SQL Server so I can track average and peak concurrency usage. Is there a hidden table or something I'm missing that has this information for me? To my knowledge the application I'm looking at does not track this at the application level.
I'm cur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Get size of a file before downloading in Python I'm downloading an entire directory from a web server. It works OK, but I can't figure how to get the file size before download to compare if it was updated on the server or not. Can this be done as if I was downloading the file from a FTP server?
import urllib
import ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "56"
} |
Q: Getting the text from a drop-down box This gets the value of whatever is selected in my dropdown menu.
document.getElementById('newSkill').value
I cannot however find out what property to go after for the text that's currently displayed by the drop down menu. I tried "text" then looked at W3Schools but that didn't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "86"
} |
Q: How do you feel about code folding? For those of you in the Visual Studio environment, how do you feel about wrapping any of your code in #regions? (or if any other IDE has something similar...)
A: While I understand the problem that Jeff, et. al. have with regions, what I don't understand is why hitting CTRL+M,CT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: API Yahoo India Maps Yahoo has separate map for India ( which has more details than the regular maps.yahoo.com) at http://in.maps.yahoo.com/ . But when I use the API it goes to default map. How do I get API access to YMaps India?
A: I don't know about yahoo, but there is another mapping website that provides an API... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Always Commit the same file with SVN In my web application I have a file which hold the current revision number via $Rev$. This work fine except, if I don't make any changes to that file, it doesn't get committed.
Is there anyway I can force a single file to always get committed to the SVN server?
I'm using Tortoise... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: What's your opinion on using UUIDs as database row identifiers, particularly in web apps? I've always preferred to use long integers as primary keys in databases, for simplicity and (assumed) speed. But when using a REST or Rails-like URL scheme for object instances, I'd then end up with URLs like this:
http://examp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "80"
} |
Q: Best way to abstract season/show/episode data Basically, I've written an API to www.thetvdb.com in Python. The current code can be found here.
It grabs data from the API as requested, and has to store the data somehow, and make it available by doing:
print tvdbinstance[1][23]['episodename'] # get the name of episode... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How do I get rid of the "multiple describeType entries" warning? Does anyone know why when using BindingUtils on the selectedItem property of a ComboBox you get the following warning? Any ideas how to resolve the issue?
The binding still works properly, but it would be nice to get rid of the warning.
warning: multip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Should I provide accessor methods / Getter Setters for public/protected components on a form? If I have .Net Form with a component/object such as a textbox that I need to access from a parent or other form I obviously need to "upgrade" the modifier to this component to an Internal or Public level variable.
Now, if I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Log4Net configuring log level How do I make Log4net only log Info level logs? Is that even possible? Can you only set a threshold?
This is what I have, and it logs Info and above as I would expect. Is there anything i can do to make it only log info?
<logger name="BrokerCollection.Model.XmlDocumentCreationTask">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "65"
} |
Q: How do you deal with configuration files in source control? Let's say you have a typical web app and with a file configuration.whatever. Every developer working on the project will have one version for their dev boxes, there will be a dev, prod and stage versions. How do you deal with this in source control? Not che... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "102"
} |
Q: Default Form Button in FireFox I am building a server control that will search our db and return results. The server control is contains an ASP:Panel. I have set the default button on the panel equal to my button id and have set the form default button equal to my button id.
On the Panel:
MyPanel.DefaultButton = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What to use for login ID? We are in the early design stages of a major rewrite of our product. Right now our customers are mostly businesses. We manage accounts. User names for an account are each on their own namespace but it means that we can't move assets between servers.
We want to move to a single namespace. Bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Gathering OS and tool version numbers for build archive purposes Our automated build machine needs to archive the version numbers of the OS plus various tools used during each build. (In case we ever need to replicate exactly the same build later on, perhaps when the machine is long dead.)
I see the command "msinfo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.