instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have a HTML page that scrolls up and down (not a lot, but it does scroll). How can I set the scroll position in the page after executing some JavaScript? I'm using jQuery to inject some additional HTML at the bottom of the page and I'd like to programmatically scroll to the position of that new content after it's add...
stackexchange/codereview
This page displays beautifully in firefox but i get all kinds of problems when testing the site in opera or internet explorer, mostly with the menu. I would like to know what techniques have caused this and how to avoid them. http://www.jkhbdesign.se/ Edit 2: Here are some screenshots of some specific problems The dro...
stackexchange/codereview
I'm running my first project that I'm compiling with flex builder. Before I used to compile with flash or flash develop. For a while it worked pretty neatly. But as soon as it start throwing typeerrors, I can't seem to compile the updated and saved actionscript files. It seems as if it keeps stuck in time and compiles ...
stackexchange/codereview
I'm using the 'using' declaration in C++ to add std::string and std::vector to the local namespace (to save typing unnecessary 'std::'s). using std::string; using std::vector; class Foo { /*...*/ }; What is the scope on this declaration? If I do this in a header, will it inject these 'using' declarations into every ...
stackexchange/codereview
Some of my data are 64-bit integers. I would like to send these to a JavaScript program running on a page. However, as far as I can tell, integers in most JavaScript implementations are 32-bit signed quantities. My two options seem to be: Send the values as strings Send the values as 64-bit floating point numbers Opt...
stackexchange/codereview
New to javascript/jquery and having a hard time with using this or $(this) to get the current object. I have a table with a set of radio buttons on each row, each named s_<rowindex>. None of the radio buttons are checked by default: <tr> <td align="left" style="width: 300px"> <div id="div_s_0"> <input...
stackexchange/codereview
Is there a way I can control columns from code. I had a drop drop box with select : Daily and weekend and the gridview column with Monday, Tuesday, Wednesday, Thursday, Friday, Saturday,sunday. If the user selects Daily i want to show columns only from Monday to Friday. It is possible to control from the code. Oh i a...
stackexchange/codereview
Emacs edits my .emacs file whenever I use the customization facility, or when I type a command that is disabled by default. Any automatic editing of my configuration makes me nervous. How can I stop Emacs from ever editing my .emacs. file?
stackexchange/codereview
TF-IDF (term frequency - inverse document frequency) is a staple of information retrieval. It's not a proper model though, and it seems to break down when new terms are introduced into the corpus. How do people handle it when queries or new documents have new terms, especially if they are high frequency. Under tradi...
stackexchange/codereview
I am looking for a web datagrid control to integrate in ASP.NET app. The most important feature required is the ability to copy-paste from and to excel spreadsheet right from the grid on the web page. Other than Google spreadsheets I found this product ( not open source ) - http://www.editgrid.com/ looks like the clos...
stackexchange/codereview
I have been used to working with VS2005 and 2008 - using msbuild, etc, but I have inherited a set of projects that have to remain in vc6.0 for now. I don't like opening each project in the developer studio and building. I prefer to build form command line (I am automating the builds). Is this possible? I have tried ...
stackexchange/codereview
I have run into a common, yet difficult problem. I do not use Photoshop for image manipulation. Since all my work is web-based, GIMP does what I need in 99% of the situations. The problem is that I occasionally receive PSD files with CMYK encoding rather than RGB encoding. These files will not open in GIMP, nor will th...
stackexchange/codereview
If two users edit the same wiki topic, what methods have been used in wikis (or in similar collaborative editing software) to merge the second user's edits with the first? I'd like a solution that: doesn't require locking doesn't lose any additions to the page. It may add extra "boilerplate" text to indicate where dif...
stackexchange/codereview
At work one of our target platforms is a resource constrained mini-server running Linux (kernel 2.6.13, custom distribution based on an old Fedora Core). The application is written in Java (Sun JDK 1.6_04). The Linux OOM killer is configured to kill processes when memory usage exceeds 160MB. Even during high load our a...
stackexchange/codereview
I'm working with SChannel at the moment for an async (IOCP) based server and I've got most things working fine but I'm having a problem with renegotiation. Specifically, when peer A sends peer B a request to renegotiate and peer B responds with an TLS1 NO RENEGOTIATION alert how does peer A continue? I seem to have an ...
stackexchange/codereview
My AS3-heavy project tests fine in the IDE, but some parts don't work in the browser when published. Any ideas what could be causing this?
stackexchange/codereview
I will be entering my third year of university in my next academic year, once I've finished my placement year as a web developer, and I would like to hear some opinions on the two modules in the Title. I'm interested in both, however I want to pick one that will be relevant to my career and that I can apply to systems ...
stackexchange/codereview
Python 3.0 is in beta with a final release coming shortly. Obviously it will take some significant time for general adoption and for it to eventually replace 2.x. I am writing a tutorial about certain aspects of programming Python. I'm wondering if I should do it in Python 2.x or 3.0? (not that the difference is huge...
stackexchange/codereview
I'm looking for a regex that can pull out quoted sections in a string, both single and double quotes. IE: "This is 'an example', \"of an input string\"" Matches: an example of an input string I wrote up this: [\"|'][A-Za-z0-9\\W]+[\"|'] It works but does anyone see any flaws with it? EDIT: The main issue I see is ...
stackexchange/codereview
I'm generating an Eclipse update site and I'm trying to give it a label so that when it appears in a user's sites list, it would appear as a name (e.g., "Ganymede project") rather than as a URL. I haven't been able to find any parameter for it in the PDE or site.xml The only thing that I've seen is to let it generate a...
stackexchange/codereview
What's the best way for constructing headers, and footers? Should you call it all from the controller, or include it from the view file? I'm using CodeIgniter, and I'm wanting to know what's the best practice for this. Loading all the included view files from the controller, like this? class Page extends Controller { ...
stackexchange/codereview
I should probably take this for a forum but figured someone here might know the answer. I'm trying to install sql server 2008 on a home vista machine but it keeps telling 'Restart computer failed' everytime it does a check to make sure pre-reqs are met. I've restarted my computer and even uinstalled/installed .net 3....
stackexchange/codereview
In a static view, how can I view an old version of a file? Given an empty file (called empty in this example) I can subvert diff to show me the old version: % cleartool diff -ser empty File@@/main/28 This feels like a pretty ugly hack. Have I missed a more basic command? Is there a neater way to do this? (I don't...
stackexchange/codereview
I've been using this long command: svn st | awk '/\?/ {print $2}' | xargs svn add Similarly, to svn rm files I accidentally deleted with normal rm with : svn st | awk '/\!/ {print $2}' | xargs svn rm --force I guess I can write a bash function to do these two, but I'd prefer an interactive add/rm like the one git has...
stackexchange/codereview
How do you change controls' Z-order in MFC at design time - i.e. I can't use SetWindowPos or do this at runtime - I want to see the changed z-order in the designer (even if I have to resort to direct-editing the .rc code). I have an MFC dialog to which I am adding controls. If there is overlap between the edges of the...
stackexchange/codereview
What is the correct way to implement the "find as you type" behavior on a TComboBox descendant component whose style is csOwnerDrawFixed?
stackexchange/codereview
My implementation of httpclient occasionally throws an exception when calling doGetConnection(). However, I have the following timeout set _moHttpClient.setHttpConnectionFactoryTimeout(30000); it looks almost like my timeout is not being picked up. Is there anywhere else I need to set a timeout to ensure this behaviou...
stackexchange/codereview
Are there any good examples (websites or books) around of how to build a full text search engine in F#?
stackexchange/codereview
whats your rule of thumb for maximum size for xml files. What if I ask maximum no of records, and one record have 10 values for instance? Another condition is we are loading it from web.
stackexchange/codereview
The .NET web system I'm working on allows the end user to input HTML formatted text in some situations. In some of those places, we want to leave all the tags, but strip off any trailing break tags (but leave any breaks inside the body of the text.) What's the best way to do this? (I can think of ways to do this, but...
stackexchange/codereview
What is the best way to run an external program from excel. It might run for several minutes. What's the best-practice about how to to this. Ideally, A model dialog box that let's the user know that the process is executing. If the executable fails, the user should receive a notification. A timeout should be enforc...
stackexchange/codereview
Does anyone know how to get the Web links in a CorelDraw document? I am using CorelDraw 13 X3 on Windows, and it comes with a Link manager and VBA.
stackexchange/codereview
I have an application that launches a webpage in the "current" browser when the user selects it. This part of my app works fine in the Windows version but I can't figure out how to do this in Linux build. Right now the Linux version is hardcoded for Firefox in a specific directory and runs a new instance of it each tim...
stackexchange/codereview
I would like to know how to loop through each line in a text file using a Windows batch file and process each line of text in succession.
stackexchange/codereview
What GNU/Linux command-line tool would I use for performing a search and replace on a file? Can the search text, and replacement, be specified in a regex format?
stackexchange/codereview
Looking for a software solution to to store large files (>50MB - 1.5GB), distributed across multiple servers. We have looked at MogileFS, however, given existing software demands, need to have an NFS interface. Would prefer open source, however, open to all options.
stackexchange/codereview
I'm working on a sparse matrix class that needs to use an array of LinkedList to store the values of a matrix. Each element of the array (i.e. each LinkedList) represents a row of the matrix. And, each element in the LinkedList array represents a column and the stored value. In my class, I have a declaration of the arr...
stackexchange/codereview
I have a button on an ASP.Net page that will call Response.Redirect back to the same page after performing some processing in order to re-display the results of a query. However, for some reason, the page comes up blank. It seems that IsPostBack is returning true after the redirect. Anybody know why this would happen? ...
stackexchange/codereview
The error happens trying to do an insert from a stored proc. I tried running DBCC CHECKDB as suggested by the kb article that Jonathan Holland suggested and it returned with the all clear.
stackexchange/codereview
I get FLAC files a lot and want to automate the taging of the end point MP3 files after I have converted them. What is my best library to interface with? Vista machine and C# for my code base. The flac files come with a text file for the show, and the numbers performed. I'll edit that any way possible. I use winamp...
stackexchange/codereview
Using Apache's commons-httpclient for Java, what's the best way to add query parameters to a GetMethod instance? If I'm using PostMethod, it's very straightforward: PostMethod method = new PostMethod(); method.addParameter("key", "value"); GetMethod doesn't have an "addParameter" method, though. I've discovered that t...
stackexchange/codereview
I have a linked list that I want to sort part of, eg: std::sort(someIterator, otherIterator, predicate); std::sort requires random-access iterators so this approach doesn't work. There is a specialisation std::list::sort, but that can only sort the entire list. I don't think I have enough access to the list members to...
stackexchange/codereview
I've been having a lot of problems trying to figure out how to use scanf(). It seems to work fine with integers, being fairly straight forward scanf("%d", &i). Where I am running into issues is using scanf() in loops trying to read input. For example: do { printf("counter: %d: ", counter); scanf("%c %c%d", &comma...
stackexchange/codereview
I want to display the results of a searchquery in a website with a title and a short description. The short description should be a small part of the page which holds the searchterm. What i want to do is: 1 strip tags in page 2 find first position of seachterm 3 from that position, going back find the beginning (if the...
stackexchange/codereview
I often need to design a dialog in Delphi/C++Builder that allows various properties of an object to be modified, and the code to use it typically looks like this. Dialog.Edit1.Text := MyObject.Username; Dialog.Edit2.Text := MyObject.Password; // ... many more of the same if (Dialog.ShowModal = mrOk) begin MyObject....
stackexchange/codereview
How do I perform a database transaction where I create a new record then make a call to a web service using the new record ID returned from the database which will also manipulate the same database? I could obviously update all tables directly from the same SQLConnection object but the logic within the web service call...
stackexchange/codereview
How do I go about making the default value of the combobox as the first item in the array.
stackexchange/codereview
Has anyone ever had the issue where trying to "View Designer" on a windows form in Visual Studio .NET causes the error: "Could not load file or assembly…" ? In this case, the assembly in question was XYZ.dll. I managed to fix this by adding XYZ.dll and all its references to my project's references (even though my proje...
stackexchange/codereview
Our organization started on the SharePoint path about two years ago. Before that, we (the developers) wrote mostly asp.net front ends for SQL back ends. Now it seems like every time a new project comes up, we are asked to “make” it fit in SharePoint; and we have stuffed some things into SharePoint that probably shoul...
stackexchange/codereview
I am using DoCmd.SendObject to send emails from MS access 2003. It opens the outlook with all relevant fields filled. But the user may not choose to send the email at that time. In that case, a prompt 'Send Action was cancelled' appears. Is there a way to catch this non-sending of email by user
stackexchange/codereview
I have a class with both a static and a non-static interface in C#. Is it possible to have a static and a non-static method in a class with the same name and signature? I get a compiler error when I try to do this, but for some reason I thought there was a way to do this. Am I wrong or is there no way to have both stat...
stackexchange/codereview
In .NET (at least in the 2008 version, and maybe in 2005 as well), changing the BackColor property of a DateTimePicker has absolutely no affect on the appearance. How do I change the background color of the text area, not of the drop-down calendar? Edit: I was talking about Windows forms, not ASP.
stackexchange/codereview
I'm using OpenGL ES on a low-resolution, embedded device. I've applied a vertical color gradient, using vertex coloring, to a large polygon serving as a backdrop to my rendered scene. I can see clear visible banding artifacts in the color gradient. My main experience is using software renderers. With software renderers...
stackexchange/codereview
I have small page which has label, DropDownList and a submit button. <div> <asp:label id="Message" runat="server"/> <br /> Which city do you wish to look at on hotels for?<br /><br /> <asp:dropdownlist id="Dropdownlist1" runat="server" EnableViewState="true"> </asp:dropdownlist> ...
stackexchange/codereview
I'm using the following code to loop through a directory to print out the names of the files. However, not all of the files are displayed. I have tried using clearstatcache with no effect. $str = ''; $ignore = array('.', '..'); $dh = @opendir( $path ); if ($dh === FALSE) { // error } ...
stackexchange/codereview
Is there any advantage of using java.util.concurrent.CountdownLatch instead of java.util.concurrent.Semaphore? As far as I can tell the following fragments are almost equivalent: 1. Semaphore final Semaphore sem = new Semaphore(0); for (int i = 0; i < num_threads; ++ i) { Thread t = new Thread() { public void r...
stackexchange/codereview
Second Life is fun to play with, and some developers are creating content there, but I was wondering what useful resources (if any) are available in Second Life for professional software developers. Discussion groups Education/training Vendor support Development-related presentations or demos Professional contacts To...
stackexchange/codereview
I am looking for a (simple) text editor that can handle text in different encodings in the same document. I need to develop some sites with mixed Japanese and English text and the editors I have now (on an English Windows system) are unable to display the Japanese text. Jedit files don't display the Japanese text I hav...
stackexchange/codereview
Yesterday I tried to get started with Java RMI. I found this sun tutorial (http://java.sun.com/docs/books/tutorial/rmi/index.html) and started with the server implemantation. But everytime I start the pogram (the rmiregistry is running) I get an AccessControlException with the following StackTrace: LoginImpl exception:...
stackexchange/codereview
Imagine a base class with many constructors and a virtual method public class Foo { ... public Foo() {...} public Foo(int i) {...} ... public virtual void SomethingElse() {...} ... } and now i want to create a descendant class that overrides the virtual method: public class Bar : Foo { public ove...
stackexchange/codereview
I would like to create an application that serves web pages internally and can be run in multiple instances on the same machine. To do so, I would like to create an HttpListener that listens on a port that is: Randomly selected Currently unused Essentially, what I would like is something like: mListener = new HttpL...
stackexchange/codereview
I have the following fields: Inventory control (16 byte record) Product ID code (int – 4 bytes) Quantity in stock (int – 4 bytes) Price (double – 8 bytes) How do I create a fixed length random access file using the above lengths? I tried some examples online, but I either get an EOF exception or random address val...
stackexchange/codereview
I am just starting out with Silverlight (2 RC0) and can’t seem to get the following to work. I want to create a simple image button user control. My xaml for the user control is as follows: <Button> <Button.Template> <ControlTemplate> <Image Source="{TemplateBinding ImageSource}...
stackexchange/codereview
In SQL SERVER DB, I need to alter a column baseColumn and a computed column upperBaseColumn. The upperBaseColumn has index on it. This is how the table looks create table testTable (baseColumn varchar(10), upperBaseColumn AS (upper(baseColumn)) create index idxUpperBaseColumn ON testTable (upperBaseColumn) Now I need...
stackexchange/codereview
Is there a Python module for converting wiki markup to other languages (e.g. HTML)? A similar question was asked here, What's the easiest way to convert wiki markup to html, but no Python modules are mentioned. Just curious. :) Cheers.
stackexchange/codereview
Note, I realize that this has been addressed here. That post discusses exception handling in .NET 1.1 while implying that there is a better solution for >.NET 2.0 so this question is specifically about the more recent .NET versions. I have a windows forms application which is expected to frequently and unexpectedly lo...
stackexchange/codereview
IO.popen() and system() in Ruby is sorely lacking several useful features, such as: obtaining the return value of the function capturing both stdout and stderr (seperately and merged) running without spawning an extra cmd.exe or /bin/sh process Python has a module "subprocess" which I was thinking about using as insp...
stackexchange/codereview
Due to a lack of response to my original question, probably due to poor wording on my part. Since then, I have thought about my original question and decided to reword it, hopefully for the better! :) We create custom business software for our customers, and quite often they want attachments to be added to certain bus...
stackexchange/codereview
I understand the differences between optimistic and pessimistic locking. Now, could someone explain to me when I would use either one in general? And does the answer to this question change depending on whether or not I'm using a stored procedure to perform the query? But just to check, optimistic means "don't lock th...
stackexchange/codereview
The purpose of this component is to test knowledge of a student on a given subject - in the example below it would be geography. The student is given a piece of text with missing words in it. He/she has to fill in (type in this case) the missing words - hence this kind of test/exercise is called gap-fill.There could be...
stackexchange/codereview
For explanation imagine a simple address. Written in a HTML paragraph with line breaks it would like this: Street: Example Street 1 City: Vienna Zip Code: 1010 Country: Austria Most of the time that's completely okay, but sometimes I have to achieve the following output: Street: Example Street 1 City: Vienna Zip...
stackexchange/codereview
Suppose I have a base class B, and a derived class D. I wish to have a method foo() within my base class that returns a new object of whatever type the instance is. So, for example, if I call B.foo() it returns an object of type B, while if I call D.foo() it returns an object of type D; meanwhile, the implementation ...
stackexchange/codereview
Consider the following code: $("a").attr("disabled", "disabled"); In IE and FF, this will make anchors unclickable, but in WebKit based browsers (Google Chrome and Safari) this does nothing. The nice thing about the disabled attribute is that it is easily removed and does not effect the href and onclick attributes. Do...
stackexchange/codereview
Is it safe to run LogParser against our live production IIS log file? Currently, I have been copying it over to another location and then running LogParser 2.2 against the log file. Instead, I would really like to run it against the live data so that I can see changes to it immediately, however, I am a little concerned...
stackexchange/codereview
By deterministic I vaguely mean that can be used in critical real-time software like aerospace flight software. Garbage collectors (and dynamic memory allocation for that matter) are big no-no's in flight software because they are considered non-deterministic. However, I know there's ongoing research on this, so I wond...
stackexchange/codereview
I have an ASP.NET Site that has a single Master Page. On one of my pages in this site I display a PDF file as the content of the page. I need a way to know the size that I can make the PDF control so that I do not create a scroll bar for the webpage (the PDF control has it's own scroll bar). I was able to solve this h...
stackexchange/codereview
I'm looking for a database of commonly installed Windows software. At minimum I need the name of the software and the executable name, but it'd also be nice to have the publisher and the common installation path, etc. Basically, I'd like to be able to query it to find all the software by Adobe and the associated execut...
stackexchange/codereview
When you call RedirectToAction within a controller, it automatically redirects using an HTTP GET. How do I explicitly tell it to use an HTTP POST? I have an action that accepts both GET and POST requests, and I want to be able to RedirectToAction using POST and send it some values. Like this: this.RedirectToAction( ...
stackexchange/codereview
I have a question about asp.net compiling. I know the different ways you can compile but my question is with the default method. Microsoft says that pages and code are compiled on their first use and then cached. My question is, when does that cache clear... when the app pool recycles? Or, does it cache it until i...
stackexchange/codereview
What are the recommendations for including your compiler, libraries, and other tools in your source control system itself? In the past, I've run into issues where, although we had all the source code, building an old version of the product was an exercise in scurrying around trying to get the exact correct configuratio...
stackexchange/codereview
I'm building a fairly large website and my .htaccess is starting to feel a bit bloated, is there a way of replacing my current system of - one rule for each of the possibile number of vars that could be passed, to one catch all expression that can account for varying numbers of inputs ? for example I currently have: Re...
stackexchange/codereview
I have an application running in tomcat that has a bunch of configuration files that are different for each environment it runs in (dev, testing, and production). But not every line in a config file will be different between environments so there's invariably duplicated information that doesn't get updated if something...
stackexchange/codereview
I'd like to sprinkle some print statements in my code to show where I am and print important values to a console window. How do I do that, but then be able to turn it off for the release version?
stackexchange/codereview
A prospective client wants to have a calendar feature on their website. They want the option to go edit this calendar to update the events. Does Word Press offer something like this?
stackexchange/codereview
I've been pulling my hear out over this problem for a few hours yesterday: I've a database on MySQL 4.1.22 server with encoding set to "UTF-8 Unicode (utf8)" (as reported by phpMyAdmin). Tables in this database have default charset set to latin2. But, the web application (CMS Made Simple written in PHP) using it displa...
stackexchange/codereview
I have a popen() function which executes tail -f sometextfile. Aslong as there is data in the filestream obviously I can get the data through fgets(). Now, if no new data comes from tail, fgets() hangs. I tried ferror() and feof() to no avail. How can I make sure fgets() doesn't try to read data when nothing new is in ...
stackexchange/codereview
I'm working my way into MVC at the moment, but on my "To learn at some point" list, I also have WCF. I just wonder if WCF is something that should/could be used in an MVC Application or not? The Background is that I want a Desktop Application (.NET 3.5, WPF) interact with my MVC Web Site, and I wonder what the best way...
stackexchange/codereview
I'd like to write some small applications for Windows and OSX. Portable is good. For instance, the simple TclKit solution for TCL would work well if I could stand to look at Tcl for any length of time. I'm considering using Javascript + extensions -- I really like Javascript -- seems to me there should be some way to ...
stackexchange/codereview
I have a simple SQL Server 2005 Reporting Services report with a bar chart. When I print directly from the preview window in Visual Studio everything looks good, but if I export the report to a PDF file and print it then the labels and even some of the vertical lines come out pixelated. How can I increase the resolutio...
stackexchange/codereview
I'm running Oracle 10g and have columns with Type_Name TIMESTAMP(6) WITH TIME ZONE When inflated into java classes they come out as oracle.sql.TIMESTAMPTZ But DbUnit can't handle converting Oracle specific classes to Strings for writing to XML. I'm wondering if there's any easy way for me to convert (say, in my SELEC...
stackexchange/codereview
Say you have a web form with some fields that you want to validate to be only some subset of alphanumeric, a minimum or maximum length etc. You can validate in the client with javascript, you can post the data back to the server and report back to the user, either via ajax or not. You could have the validation rules in...
stackexchange/codereview
Long time ago, I saved a sentence from a Java reference book: "Java has no mechanism to handle deadlock. it won't even know deadlock occurred." (Head First Java 2nd Edition, p.516) So, what is about it? Is there a way to catch deadlock case in Java? I mean, is there a way that our code understands a deadlock case occur...
stackexchange/codereview
Is it possible to see the return value of a method after the line has been run and before the instruction pointer returns to the calling function? I am debugging code I can't modify (read: don't want to re-compile a third party library), and sometimes it jumps to code I don't have source to or the return expression has...
stackexchange/codereview
Exactly what the title says. Note, this is not about "subscriptable" objects.
stackexchange/codereview
So I have an Access application, and I'd like some forms to be maximised when they are opened, and others to be medium-sized when they are opened. However, if I try something like this: Private Sub Form_Activate() DoCmd.Maximize End Sub or Private Sub Form_Activate() DoCmd.Restore End Sub it has the effect of ma...
stackexchange/codereview
I have never really found the design view in Visual Studio useful when developing aspx pages, and so I basically never use it. Am I missing something or is it just one of those features that isn't particularly useful? Do you use the design view? If so, how do you find it useful? If not, why not?
stackexchange/codereview
I am about to set up a subversion server to be accessed via svn+ssh. I was wondering, where the default repository location is (on a unix box). Do you put it in /opt/svn or /home/svn or /usr/subversion or even /svn or somewhere else? I am looking for the place, most people put it. Is there a convention? EDIT: It is...
stackexchange/codereview
Why isn't this project maintained anymore? I love this app, however not updating it seems like a crime against all .Net developers. There are several items that I would love to add to it given the chance of a future release. Can anyone share something I don't know?
stackexchange/codereview
I've got an ASP.NET 2.0 website with a custom 404 page. When content is not found the site serves the custom 404 page with a query string addition of aspxerrorpath=/mauro.aspx. The 404 page itself is served with an HTTP status of 200. To try to resolve this I've added protected void Page_Load(object sender, EventAr...
stackexchange/codereview
When should you use XML attributes and when should you use XML elements? e.g. <customData> <records> <record name="foo" description="bar" /> </records> </customData> or <customData> <records> <record> <name>foo</name> <description>bar</description> </record> </records> </customData>
stackexchange/codereview