PostId int64 4 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 1 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -55 461k | OwnerUndeletedAnswerCountAtPostTime int64 0 21.5k | Title stringlengths 3 250 | BodyMarkdown stringlengths 5 30k ⌀ | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
45,485 | 09/05/2008 09:51:43 | 2,974 | 08/26/2008 09:39:16 | 579 | 47 | Conventions for Perl Test::More module | Are there conventions for function names when using the Perl Test::More or Test::Simple modules.
I'm specifically asking about the names of functions that are used to set up a test environment before the test and to tear down the environment after successful completion of the test(s).
cheers,
Rob | testing | perl | framework | null | null | null | open | Conventions for Perl Test::More module
===
Are there conventions for function names when using the Perl Test::More or Test::Simple modules.
I'm specifically asking about the names of functions that are used to set up a test environment before the test and to tear down the environment after successful completion of ... | 0 |
45,494 | 09/05/2008 10:03:46 | 2,138 | 08/20/2008 14:23:45 | 100 | 9 | SQL Delete: can't specify target table for update in FROM clause | I have a table *story_category* in my database with corrupt entries. The next query returns the corrupt entries.
SELECT * FROM story_category WHERE category_id NOT IN (
SELECT DISTINCT category.id FROM category INNER JOIN story_category ON category_id=category.id);
I tried to delete them excuting:
... | sql | delete | null | null | null | null | open | SQL Delete: can't specify target table for update in FROM clause
===
I have a table *story_category* in my database with corrupt entries. The next query returns the corrupt entries.
SELECT * FROM story_category WHERE category_id NOT IN (
SELECT DISTINCT category.id FROM category INNER JOIN story_category ... | 0 |
45,507 | 09/05/2008 10:26:47 | 4,203 | 09/02/2008 10:09:59 | 374 | 26 | Is there a Python library for generating .ico files? | I'm looking to create `favicon.ico` files programatically from Python, but PIL only has support for reading `ico` files. | python | favicon | null | null | null | null | open | Is there a Python library for generating .ico files?
===
I'm looking to create `favicon.ico` files programatically from Python, but PIL only has support for reading `ico` files. | 0 |
45,510 | 09/05/2008 10:28:46 | 95 | 08/01/2008 18:28:24 | 371 | 28 | How can I call a .NET DLL from an Inno Setup script? | I want to call a function from a .NET DLL (coded in C#) from an Inno Setup script.
I have:
1. marked the *Register for COM interop* option in the project properties,
2. changed the *ComVisible* setting in the *AssemblyInfo.cs* file,
3. added these lines to the ISS script:
> [Files]
>
> Source: c:\temp\1\M... | setup | inno-setup | null | null | null | null | open | How can I call a .NET DLL from an Inno Setup script?
===
I want to call a function from a .NET DLL (coded in C#) from an Inno Setup script.
I have:
1. marked the *Register for COM interop* option in the project properties,
2. changed the *ComVisible* setting in the *AssemblyInfo.cs* file,
3. added these lines ... | 0 |
45,528 | 09/05/2008 10:54:12 | 4,591 | 09/04/2008 18:57:54 | 51 | 8 | Simplest way to change listview and treeview colours | I'm trying to find a simple way to change the colour of the text and background in listview and treeview controls in WTL or plain Win32 code. I really don't want to have to implement full owner drawing for these controls, simply change the colours used. I want to make sure that the images are still drawn with proper tr... | c++ | winapi | wtl | null | null | null | open | Simplest way to change listview and treeview colours
===
I'm trying to find a simple way to change the colour of the text and background in listview and treeview controls in WTL or plain Win32 code. I really don't want to have to implement full owner drawing for these controls, simply change the colours used. I want t... | 0 |
45,534 | 09/05/2008 11:02:21 | 192 | 08/03/2008 10:15:38 | 278 | 27 | ASPSmartUpload v3.2 | I have the unfortunate task of fixing a legacy ASP site that was migrated to Windows Server 2003, and I know nothing about ASP. The main issue appears to be with ASPSmartUpload, of which I have version 2.3 installed. According to [http://foradvice.net/smart_upload_faq.htm][1]:
> FAQ: does aspSmartUpload work on
>... | asp-classic | null | null | null | null | null | open | ASPSmartUpload v3.2
===
I have the unfortunate task of fixing a legacy ASP site that was migrated to Windows Server 2003, and I know nothing about ASP. The main issue appears to be with ASPSmartUpload, of which I have version 2.3 installed. According to [http://foradvice.net/smart_upload_faq.htm][1]:
> FAQ: does ... | 0 |
45,535 | 09/05/2008 11:02:44 | 1,721 | 08/18/2008 09:58:47 | 100 | 12 | Get month and year from a datetime in sql server 2005 | Ok, this should be an easy question to answer. I need the month+year from the datetime in sql server like 'Jan 2008'. I'm grouping the query by month,year. I've searched and found functions like datepart, convert etc. but none of them seem useful for this. Am I missing something here? Is there a function for this? | sql | sql-server | null | null | null | null | open | Get month and year from a datetime in sql server 2005
===
Ok, this should be an easy question to answer. I need the month+year from the datetime in sql server like 'Jan 2008'. I'm grouping the query by month,year. I've searched and found functions like datepart, convert etc. but none of them seem useful for this. Am I... | 0 |
45,540 | 09/05/2008 11:07:06 | 4,717 | 09/05/2008 10:55:44 | 1 | 0 | How to know whether a window with a given title is already open in Tk? | I’ve writen a little python script that just pops up a message box containing the text passed on the command line. I want to pop it up only when the window —resulting from a previous call— is not open.
from Tkinter import *
import tkMessageBox
root = Tk()
root.withdraw()
# TODO n... | python | tk | null | null | null | null | open | How to know whether a window with a given title is already open in Tk?
===
I’ve writen a little python script that just pops up a message box containing the text passed on the command line. I want to pop it up only when the window —resulting from a previous call— is not open.
from Tkinter import *
import t... | 0 |
45,545 | 09/05/2008 11:09:28 | 1,360 | 08/14/2008 18:11:31 | 44 | 9 | Add horizontal scroll to asp.net listbox control | How can I add horizontal scroll capabilities to the asp.net listbox control? | asp.net | listbox | scroll | null | null | null | open | Add horizontal scroll to asp.net listbox control
===
How can I add horizontal scroll capabilities to the asp.net listbox control? | 0 |
45,546 | 09/05/2008 11:11:21 | 4,702 | 09/05/2008 10:14:44 | 1 | 1 | How do I return a 403 Forbidden in Spring MVC? | I want my controller to return the right HTTP response code when the user lacks permission to view a particular page. | java | spring | null | null | null | null | open | How do I return a 403 Forbidden in Spring MVC?
===
I want my controller to return the right HTTP response code when the user lacks permission to view a particular page. | 0 |
45,553 | 09/05/2008 11:15:25 | 3,379 | 08/28/2008 10:27:56 | 45 | 3 | How to get browser IP or hostname? | I have a web application that should behave differently for internal users than external ones. The web application is available over the Internet, and therefore obviously to the internal users as well.
All the users are anonymous, not authenticated, but the page should render differently for internal users than exte... | asp.net | visual-studio | null | null | null | null | open | How to get browser IP or hostname?
===
I have a web application that should behave differently for internal users than external ones. The web application is available over the Internet, and therefore obviously to the internal users as well.
All the users are anonymous, not authenticated, but the page should render ... | 0 |
45,571 | 09/05/2008 11:24:39 | 130,278 | 09/02/2008 03:00:54 | 13 | 9 | fprintf return success but can't write to an existin file | In my codes, fprintf return successful by returning the number of bytes written in STREAM, but in the actual file the string I put is not there. | c | fprintf | stream | io | null | null | open | fprintf return success but can't write to an existin file
===
In my codes, fprintf return successful by returning the number of bytes written in STREAM, but in the actual file the string I put is not there. | 0 |
45,572 | 09/05/2008 11:25:50 | 3,182 | 08/27/2008 09:11:40 | 199 | 9 | What is the best method of getting Int32 from first four bytes of GUID? | I'm just wondering if it exists better solution for this.
BitConverter.ToInt32(sample_guid.ToByteArray(), 0) | c# | .net | guid | null | null | null | open | What is the best method of getting Int32 from first four bytes of GUID?
===
I'm just wondering if it exists better solution for this.
BitConverter.ToInt32(sample_guid.ToByteArray(), 0) | 0 |
45,577 | 09/05/2008 11:29:22 | 4,050 | 09/01/2008 14:24:01 | 289 | 22 | Syntax highlighting for html markup disappears in Visual Studio 2008 | This happened to me in Visual Studio 2008 pre and post 2008 sp1 on more than one computer and to someone else I know, so it can't be an isolated incident.
Seemingly random, every so often I lose all syntax highlighting in my aspx page (the html) so that Visual Studio now looks like a really expensive version of note... | asp.net | visual-studio | html | vs2008 | null | null | open | Syntax highlighting for html markup disappears in Visual Studio 2008
===
This happened to me in Visual Studio 2008 pre and post 2008 sp1 on more than one computer and to someone else I know, so it can't be an isolated incident.
Seemingly random, every so often I lose all syntax highlighting in my aspx page (the htm... | 0 |
45,582 | 09/05/2008 11:33:04 | 287 | 08/04/2008 12:43:38 | 304 | 21 | How can I convince GroovyShell to maintain state over eval() calls? | I'm trying to use Groovy to create an interactive scripting / macro mode for my application. The application is OSGi and much of the information the scripts may need is not know up front. I figured I could use GroovyShell and call eval() multiple times continually appending to the namespace as OSGi bundles are loaded. ... | groovy | script | shell | java | null | null | open | How can I convince GroovyShell to maintain state over eval() calls?
===
I'm trying to use Groovy to create an interactive scripting / macro mode for my application. The application is OSGi and much of the information the scripts may need is not know up front. I figured I could use GroovyShell and call eval() multiple ... | 0 |
45,593 | 09/05/2008 11:49:02 | 2,812 | 08/25/2008 11:23:23 | 1 | 0 | Is there a way to perform a "Refresh Dependencies" in a setup project outside VS2008? | I have a solution with several projects. One of them is a setup project. If you expand the setup project in the Solution Explorer, you see a Detected Dependencies node. If you right click on it, you get a menu item called Refresh Dependencies. This refreshes any dependencies based on the files included in the setup.
... | c# | cruisecontrol.net | msbuild | setup | visual-studio-2008 | null | open | Is there a way to perform a "Refresh Dependencies" in a setup project outside VS2008?
===
I have a solution with several projects. One of them is a setup project. If you expand the setup project in the Solution Explorer, you see a Detected Dependencies node. If you right click on it, you get a menu item called Refresh... | 0 |
45,600 | 09/05/2008 11:55:12 | 3,751 | 08/30/2008 14:46:15 | 1 | 0 | A problem with the jquery dialog when using the themeroller css | The [demos][1] for the jquery ui dialog all use the "flora" theme. I wanted a customized theme, so I used the themeroller to generate a css file. When I used it, everything seemed to be working fine, but later I found that I can't control any input element contained in the dialog (i.e, can't type into a text field, can... | javascript | jquery | user-interface | dialog | null | null | open | A problem with the jquery dialog when using the themeroller css
===
The [demos][1] for the jquery ui dialog all use the "flora" theme. I wanted a customized theme, so I used the themeroller to generate a css file. When I used it, everything seemed to be working fine, but later I found that I can't control any input el... | 0 |
45,604 | 09/05/2008 12:01:39 | 905 | 08/10/2008 09:37:14 | 3,671 | 223 | Why doesn't C# support implied generic types on class constructors? | C# doesn't require you to specify a generic type parameter if the compiler can infer it, for instance:
List<int> myInts = new List<int> {0,1,1,
2,3,5,8,13,21,34,55,89,144,233,377,
610,987,1597,2584,4181,6765};
//this statement is clunky
List<string> myStrings = myInts.
Sele... | c# | .net | generics | null | null | null | open | Why doesn't C# support implied generic types on class constructors?
===
C# doesn't require you to specify a generic type parameter if the compiler can infer it, for instance:
List<int> myInts = new List<int> {0,1,1,
2,3,5,8,13,21,34,55,89,144,233,377,
610,987,1597,2584,4181,6765};
//thi... | 0 |
45,613 | 09/05/2008 12:05:42 | 4,723 | 09/05/2008 11:19:37 | 1 | 1 | Javascript collection of DOM objects - why can't I reverse items order with Array.reverse()? | What would be the problem with reversing the array of DOM objects got from a command like:
var imagesArr = new Array();
imagesArr = document.getElementById("myDivHolderId").getElementsByTagName("img");
imagesArr.reverse();
When i call the reverse() method, the script stops executing with the error '... | javascript | arrays | null | null | null | null | open | Javascript collection of DOM objects - why can't I reverse items order with Array.reverse()?
===
What would be the problem with reversing the array of DOM objects got from a command like:
var imagesArr = new Array();
imagesArr = document.getElementById("myDivHolderId").getElementsByTagName("img");
ima... | 0 |
45,621 | 09/05/2008 12:16:12 | 572 | 08/06/2008 20:56:54 | 2,903 | 230 | How do you deal with polymorphism in a database? | Example
I have Person, SpecialPerson, and User. Person and SpecialPerson are just people - they don't have a user name or password on a site, but they are stored in a database for record keeping. User has all of the same data as Person and potentially SpecialPerson, along with a user name and password as they are re... | oop | database-design | null | null | null | null | open | How do you deal with polymorphism in a database?
===
Example
I have Person, SpecialPerson, and User. Person and SpecialPerson are just people - they don't have a user name or password on a site, but they are stored in a database for record keeping. User has all of the same data as Person and potentially SpecialPers... | 0 |
45,623 | 09/05/2008 12:16:50 | 4,739 | 09/05/2008 12:10:19 | 1 | 0 | Sockets and Processes in Java | In Java, what would the best way be to have a constantly listening port open, and still send upon receipt of a packet. I'm not particularly savvy with network programming at the moment, so the tutorials I've found on the net aren't particularly helpful.
Would it make sense to have the listening socket as a serversoc... | java | sockets | network-programming | blackberry | null | null | open | Sockets and Processes in Java
===
In Java, what would the best way be to have a constantly listening port open, and still send upon receipt of a packet. I'm not particularly savvy with network programming at the moment, so the tutorials I've found on the net aren't particularly helpful.
Would it make sense to have ... | 0 |
9,787,860 | 03/20/2012 13:36:43 | 1,230,843 | 02/24/2012 13:23:27 | 13 | 2 | How to keep NSTimer alive? | I have 2 viewControllers in my app, from first view when i navigate to next one there is a button named startTimer with a timer action as selector method on Click of startTimer the timer starts up in **HH:mm:ss** format, i am not invalidating timer,but When i go back to 1st viewController and again if i come to again 2... | iphone | objective-c | ios | xcode4 | nstimer | null | open | How to keep NSTimer alive?
===
I have 2 viewControllers in my app, from first view when i navigate to next one there is a button named startTimer with a timer action as selector method on Click of startTimer the timer starts up in **HH:mm:ss** format, i am not invalidating timer,but When i go back to 1st viewControlle... | 0 |
9,787,861 | 03/20/2012 13:36:44 | 1,277,877 | 03/19/2012 05:23:08 | 3 | 0 | inline asm unknown | static inline void *__memset(void *s, char c, size_t n) {
int d0, d1;
asm volatile (
"rep; stosb;"
: "=&c" (d0), "=&D" (d1)
: "0" (n), "a" (c), "1" (s)
: "memory");
return s;
}
What are "d0" and "d1" used for? Could you please explain all the code completel... | c | assembly | att | null | null | null | open | inline asm unknown
===
static inline void *__memset(void *s, char c, size_t n) {
int d0, d1;
asm volatile (
"rep; stosb;"
: "=&c" (d0), "=&D" (d1)
: "0" (n), "a" (c), "1" (s)
: "memory");
return s;
}
What are "d0" and "d1" used for? Could you please explai... | 0 |
9,787,862 | 03/20/2012 13:36:46 | 1,041,608 | 11/11/2011 11:34:32 | 1 | 0 | Character encoding issues in Eclipse for Java using Webdriver | I'm currently using Eclipse with TestNG running selenium webdriver with java. I am using Jexcelapi to import data from OpenOffice (spreadsheet) to compare strings on the website i'm testing with values in the spreadsheet. The problem I have is that we have different regions including germany and Nordics (Sweden, Norway... | java | encoding | webdriver | jexcelapi | null | null | open | Character encoding issues in Eclipse for Java using Webdriver
===
I'm currently using Eclipse with TestNG running selenium webdriver with java. I am using Jexcelapi to import data from OpenOffice (spreadsheet) to compare strings on the website i'm testing with values in the spreadsheet. The problem I have is that we h... | 0 |
9,787,868 | 03/20/2012 13:37:04 | 864,787 | 07/27/2011 06:32:09 | 215 | 3 | Build WebServices layer on top of Drupal | Can someone tell me what's the best way to build a Web Services layer on top of Drupal? | web-services | drupal | layer | null | null | null | open | Build WebServices layer on top of Drupal
===
Can someone tell me what's the best way to build a Web Services layer on top of Drupal? | 0 |
9,787,871 | 03/20/2012 13:37:12 | 1,004,443 | 10/20/2011 04:15:50 | 419 | 0 | How do you add additional developers to be part of your AWS account | The following snippet is from AWS docs, if sharing credentials is not the right way. Does it involve additional charges for adding IAM to support multiple developers.
> Without IAM, if you want to enable other users to access your AWS
> resources, the only way is to share your AWS account credentials. We
> do not ... | amazon-web-services | amazon | null | null | null | null | open | How do you add additional developers to be part of your AWS account
===
The following snippet is from AWS docs, if sharing credentials is not the right way. Does it involve additional charges for adding IAM to support multiple developers.
> Without IAM, if you want to enable other users to access your AWS
> resour... | 0 |
9,787,853 | 03/20/2012 13:36:09 | 566,942 | 01/07/2011 13:35:08 | 100 | 3 | join or merge with overwrite in pandas | I want to perform a join/merge/append operation on a dataframe with datetime index.
Let's say I have df1 and I want to add df2 to it. df2 can have less or more columns, and overlapping index. For all rows where the indexes match, if df2 has the same column as df1, I want the values of df1 be overwritten with those... | python | pandas | null | null | null | null | open | join or merge with overwrite in pandas
===
I want to perform a join/merge/append operation on a dataframe with datetime index.
Let's say I have df1 and I want to add df2 to it. df2 can have less or more columns, and overlapping index. For all rows where the indexes match, if df2 has the same column as df1, I want... | 0 |
9,787,883 | 03/20/2012 13:37:46 | 1,280,847 | 03/20/2012 12:14:28 | 1 | 0 | How make tree whith treebeard in django admin, when FK to other model class? | When FK to self it's work fine:
from treebeard.mp_tree import MP_Node
class Category(MP_Node):
parent = models.ForeignKey('self', blank = True, null = True, related_name='children')
title = models.CharField(max_length = 255)
But when I use it:
class Product(MP_Node):
title = m... | django-admin | django-treebeard | null | null | null | null | open | How make tree whith treebeard in django admin, when FK to other model class?
===
When FK to self it's work fine:
from treebeard.mp_tree import MP_Node
class Category(MP_Node):
parent = models.ForeignKey('self', blank = True, null = True, related_name='children')
title = models.CharField(max_l... | 0 |
9,787,884 | 03/20/2012 13:37:51 | 1,280,962 | 03/20/2012 13:11:42 | 1 | 0 | How to align checkbox list items vertically using sj:checkboxlist..? | This is the code in jsp page using struts2 jquery,
<sj:checkboxlist
id="checkboxbuttons
list="{'one', 'two', 'three', 'four', 'five','six'}"
name="echo"/>
I want to align all items vertically and I want to fix the width of each items. Now width
is depending o... | jquery | struts | null | null | null | null | open | How to align checkbox list items vertically using sj:checkboxlist..?
===
This is the code in jsp page using struts2 jquery,
<sj:checkboxlist
id="checkboxbuttons
list="{'one', 'two', 'three', 'four', 'five','six'}"
name="echo"/>
I want to align all items vertical... | 0 |
9,787,885 | 03/20/2012 13:37:52 | 1,280,997 | 03/20/2012 13:23:17 | 1 | 0 | Floating elements on scroll | I was wondering how sites like Facebook, with their timeline feature, float a certain element (usually a menu bar, or sometimes a social plugin, etc) when the user has scrolled past a point such that the top of the element is off the screen, etc.
This could be seen as a more general JavaScript (jQuery?) event firing... | javascript | jquery | css | plugins | null | null | open | Floating elements on scroll
===
I was wondering how sites like Facebook, with their timeline feature, float a certain element (usually a menu bar, or sometimes a social plugin, etc) when the user has scrolled past a point such that the top of the element is off the screen, etc.
This could be seen as a more general ... | 0 |
9,772,684 | 03/19/2012 15:11:55 | 441,621 | 01/28/2010 23:32:00 | 229 | 12 | Android: Open application within control of another application | The idea is to launch an application, for example *Angry Birds*, from within my application.
However the catch is that my application must remain in control, so that when the user is done with the game he can return to what he was doing in my app.
Due to requirements this must be achieved without using the back b... | android | application | null | null | null | null | open | Android: Open application within control of another application
===
The idea is to launch an application, for example *Angry Birds*, from within my application.
However the catch is that my application must remain in control, so that when the user is done with the game he can return to what he was doing in my app.
... | 0 |
9,772,685 | 03/19/2012 15:12:04 | 828,757 | 07/04/2011 21:43:58 | 722 | 26 | Saving an image received as part of multipart form data using Scala | I'm pulling my hair out here. My server receives multipart form data from a mobile app. The result of printing out the request using request.content.toString(UTF_8) is shown below. I've been sitting for hours trying to save the image content to file, but I keep corrupting the image. The image is sent by the mobile as a... | image | scala | null | null | null | null | open | Saving an image received as part of multipart form data using Scala
===
I'm pulling my hair out here. My server receives multipart form data from a mobile app. The result of printing out the request using request.content.toString(UTF_8) is shown below. I've been sitting for hours trying to save the image content to fi... | 0 |
9,787,890 | 03/20/2012 13:38:00 | 927,224 | 09/04/2011 03:22:39 | 155 | 1 | Assign class false value in Python | If statements in Python allow you to do something like:
if not x:
print "X is false."
This works if you're using an empty list, an empty dictionary, None, 0, etc, but what if you have your own custom class? Can you assign a false value for that class so that in the same style of conditional, it... | python | class | condition | null | null | null | open | Assign class false value in Python
===
If statements in Python allow you to do something like:
if not x:
print "X is false."
This works if you're using an empty list, an empty dictionary, None, 0, etc, but what if you have your own custom class? Can you assign a false value for that class so t... | 0 |
9,787,892 | 03/20/2012 13:38:03 | 1,000,626 | 10/18/2011 07:44:34 | 57 | 2 | WMI Hardware Addresses and IRQs | Can anyone help me out trying to find a WMI method for retrieving hardware addresses and IRQs?
The classes I've looked at so far seem a bit empty for telling you what device is actually using the resource - but it must be possible if it's available under Windows' 'System Information' tool.
Ultimately I want to cr... | wmi | address | irq | null | null | null | open | WMI Hardware Addresses and IRQs
===
Can anyone help me out trying to find a WMI method for retrieving hardware addresses and IRQs?
The classes I've looked at so far seem a bit empty for telling you what device is actually using the resource - but it must be possible if it's available under Windows' 'System Informat... | 0 |
45,624 | 09/05/2008 12:17:17 | 501 | 08/06/2008 12:11:33 | 272 | 11 | Change default author in local svn repo | I use TortoiseSVN to access file based local repo. In all my commits an author is my windows login name. Is it possible to use different name ?
I know how to change author after commint but how to change before? Installing apache/svnserver is not an option. | svn | tortoisesvn | default | author | null | null | open | Change default author in local svn repo
===
I use TortoiseSVN to access file based local repo. In all my commits an author is my windows login name. Is it possible to use different name ?
I know how to change author after commint but how to change before? Installing apache/svnserver is not an option. | 0 |
45,626 | 09/05/2008 12:17:42 | 2,808 | 08/25/2008 10:24:10 | 11 | 3 | Using Ajax PageMethods and Validators | I have a basic CRUD form that uses PageMethods to update the user details, however the Validators don't fire off, I think I need to manually inspect the validator status in my javascript save method. Any ideas on how to do this? | asp.net | ajax | null | null | null | null | open | Using Ajax PageMethods and Validators
===
I have a basic CRUD form that uses PageMethods to update the user details, however the Validators don't fire off, I think I need to manually inspect the validator status in my javascript save method. Any ideas on how to do this? | 0 |
45,627 | 09/05/2008 12:18:00 | 123 | 08/02/2008 08:01:26 | 1,049 | 53 | How do you detect/avoid Memory leaks in your (Unmanaged) code? | In unmanaged C/C++ code, what are the best practices to detect memory leaks? and coding guidelines to avoid (as if its that simple ;)
we have used bit silly way in past. Having a counter increments for every memory allocation call and decrement while freeing. At the end of the program, counter value should be zero.
... | c++ | c | memory-leaks | null | null | null | open | How do you detect/avoid Memory leaks in your (Unmanaged) code?
===
In unmanaged C/C++ code, what are the best practices to detect memory leaks? and coding guidelines to avoid (as if its that simple ;)
we have used bit silly way in past. Having a counter increments for every memory allocation call and decrement whil... | 0 |
45,642 | 09/05/2008 12:25:13 | 1,210 | 08/13/2008 13:16:33 | 1 | 0 | Library or algorithm to explode an alphanumeric range | I was wondering if there is an open source library or algorithm that can expand a non-numeric range. For example, if you have 1A to 9A you should get 1A, 2A, 3A, 4A, 5A, 6A, 7A, 8A, 9A.
I've tried Googling for this and the best I could come up with were Regex that would expand numerics with dashes (1-3 becoming 1,2... | .net | algorithm | null | null | null | null | open | Library or algorithm to explode an alphanumeric range
===
I was wondering if there is an open source library or algorithm that can expand a non-numeric range. For example, if you have 1A to 9A you should get 1A, 2A, 3A, 4A, 5A, 6A, 7A, 8A, 9A.
I've tried Googling for this and the best I could come up with were Reg... | 0 |
45,650 | 09/05/2008 12:27:52 | 194 | 08/03/2008 10:56:49 | 2,202 | 146 | Common Files in Visual Studio Solution | Many times I have seen Visual Studio solutions which have multiple projects that share source files. These common source files are usually out in a common directory and in the solution explorer their icon shows up with a link arrow in the bottom left.
However, any time I try to add a source file to the project that... | visual-studio | null | null | null | null | null | open | Common Files in Visual Studio Solution
===
Many times I have seen Visual Studio solutions which have multiple projects that share source files. These common source files are usually out in a common directory and in the solution explorer their icon shows up with a link arrow in the bottom left.
However, any time I ... | 0 |
45,651 | 09/05/2008 12:27:58 | 184 | 08/03/2008 05:34:19 | 2,002 | 31 | SQL: How to get the id of values I just INSERTed? | I inserted some values into a table. There is a column whose value is auto-generated. In the next statement of my code, I want to retrieve this value.
Can you tell me how to do it the right way? | sql | null | null | null | null | null | open | SQL: How to get the id of values I just INSERTed?
===
I inserted some values into a table. There is a column whose value is auto-generated. In the next statement of my code, I want to retrieve this value.
Can you tell me how to do it the right way? | 0 |
45,653 | 09/05/2008 12:29:03 | 2,757 | 08/24/2008 21:53:16 | 329 | 18 | Has anyone connected BizTalk with QuickBooks? | We use QuickBooks for financial management, and feed it from a variety of sources. I now need to hook it up to BizTalk, and I'd hate to reinvent the wheel. I've done searches, and as far as I can tell there's no QuickBooks adapter for BizTalk. Does anyone know of anything that'll do the job, preferably something that d... | biztalk | quickbooks | null | null | null | null | open | Has anyone connected BizTalk with QuickBooks?
===
We use QuickBooks for financial management, and feed it from a variety of sources. I now need to hook it up to BizTalk, and I'd hate to reinvent the wheel. I've done searches, and as far as I can tell there's no QuickBooks adapter for BizTalk. Does anyone know of anyth... | 0 |
45,686 | 09/05/2008 12:40:05 | 130,278 | 09/02/2008 03:00:54 | 20 | 10 | Is there a limit with the number of SSL connections? | Is there a limit with the number of SSL connections? | ssl | null | null | null | null | null | open | Is there a limit with the number of SSL connections?
===
Is there a limit with the number of SSL connections? | 0 |
45,695 | 09/05/2008 12:44:19 | 4,140 | 09/02/2008 01:10:54 | 198 | 22 | Visual Studio Add-in not going away |
Ok, so I demo'd Refactor Pro and Resharper, I'm more comfortable with Resharper so that's what I bought. When I uninstalled Refactor Pro I thought everything was breezy. However, now when I open Visual Studio I get
The Add-in 'DevExpress Tools' failed to load or caused and exception, woudl you like to remove this... | visual-studio | software-tools | null | null | null | null | open | Visual Studio Add-in not going away
===
Ok, so I demo'd Refactor Pro and Resharper, I'm more comfortable with Resharper so that's what I bought. When I uninstalled Refactor Pro I thought everything was breezy. However, now when I open Visual Studio I get
The Add-in 'DevExpress Tools' failed to load or caused and... | 0 |
45,702 | 09/05/2008 12:46:24 | 184 | 08/03/2008 05:34:19 | 2,032 | 32 | Is there some way to compile a .NET application to native code? | What if I want to run a .NET application in a machine where the .NET framework is not available? Is there some way to compile the application to native code? | .net | compilation | null | null | null | null | open | Is there some way to compile a .NET application to native code?
===
What if I want to run a .NET application in a machine where the .NET framework is not available? Is there some way to compile the application to native code? | 0 |
45,705 | 09/05/2008 12:48:42 | 87,645 | 08/18/2008 12:12:41 | 13 | 1 | how would you architect a desktop application in C# 3.0 | I've created a simple desktop application in C# 3.0 to learn some C#, wpf and .net.
My application essentially reads data from a csv file and stores it in a SQL server CE database. I use sqlmetal to generate the ORM code for the database.
My first iteration of this app is ugly as hell and I'm in the process of refact... | c# | architecture | wpf | null | null | null | open | how would you architect a desktop application in C# 3.0
===
I've created a simple desktop application in C# 3.0 to learn some C#, wpf and .net.
My application essentially reads data from a csv file and stores it in a SQL server CE database. I use sqlmetal to generate the ORM code for the database.
My first iteration... | 0 |
45,716 | 09/05/2008 12:53:40 | 1,214 | 08/13/2008 13:22:40 | 18 | 0 | How to do multi-column sorting on a Visual Basic 6 ListView? | I am working in Visual Basic 6 and need to sort by multiple columns in a ListView. For example, sorting a list of music tracks by artist, then album, then track number. As far as I know, VB6 does not support this out of the box. Here are the suggestions I have already heard:
- Sort the data in a SQL table first... | sql-server | vb6 | sorting | null | null | null | open | How to do multi-column sorting on a Visual Basic 6 ListView?
===
I am working in Visual Basic 6 and need to sort by multiple columns in a ListView. For example, sorting a list of music tracks by artist, then album, then track number. As far as I know, VB6 does not support this out of the box. Here are the suggestio... | 0 |
45,729 | 09/05/2008 12:58:57 | 95 | 08/01/2008 18:28:24 | 373 | 30 | What path should I pass as an AssemblyPath parameter to the Publish.GacRemove function? | I want to use the [Publish.GacRemove][1] function to remove an assembly from GAC. However, I don't understand what path I should pass as an argument.
Should it be a path to the original DLL (what if I removed it after installing it in the GAC?) or the path to the assembly in the GAC?
[1]: http://msdn.microsof... | .net | gac | null | null | null | null | open | What path should I pass as an AssemblyPath parameter to the Publish.GacRemove function?
===
I want to use the [Publish.GacRemove][1] function to remove an assembly from GAC. However, I don't understand what path I should pass as an argument.
Should it be a path to the original DLL (what if I removed it after instal... | 0 |
45,732 | 09/05/2008 13:01:34 | 1,228 | 08/13/2008 13:58:55 | 1,142 | 85 | How can I extract a part of an xaml object graph via linq to xml? | I have an object graph serialized to xaml. A rough sample of what it looks like is:
<MyObject xmlns.... >
<MyObject.TheCollection>
<PolymorphicObjectOne .../>
<HiImPolymorphic ... />
</MyObject.TheCollection>
</MyObject>
I want to use Linq to XML in order to e... | linq | linqtoxml | linqtosql | xaml | null | null | open | How can I extract a part of an xaml object graph via linq to xml?
===
I have an object graph serialized to xaml. A rough sample of what it looks like is:
<MyObject xmlns.... >
<MyObject.TheCollection>
<PolymorphicObjectOne .../>
<HiImPolymorphic ... />
</MyObject.The... | 0 |
45,736 | 09/05/2008 13:03:03 | 1,220 | 08/13/2008 13:44:48 | 1,021 | 77 | apache mod_proxy error os10060 and returning 503? | Can't get to my site. Log Message:
[Fri Sep 05 08:47:42 2008] [error] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : proxy: HTTP: attempt to connect to 10.10.10.1:80 (... | apache | proxy | null | null | null | null | open | apache mod_proxy error os10060 and returning 503?
===
Can't get to my site. Log Message:
[Fri Sep 05 08:47:42 2008] [error] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond... | 0 |
45,741 | 09/05/2008 13:04:44 | 1,360 | 08/14/2008 18:11:31 | 48 | 11 | Customize the Sharepoint add list column page | I have defined a custom Sharepoint list for special attributes related to a software application inventory and installed it as a feature. I also want to group these attributes in categories. How could I change the Sharepoint page that allows the user to add a column to a list, so that when the user adds a column to my ... | sharepoint | list | null | null | null | null | open | Customize the Sharepoint add list column page
===
I have defined a custom Sharepoint list for special attributes related to a software application inventory and installed it as a feature. I also want to group these attributes in categories. How could I change the Sharepoint page that allows the user to add a column to... | 0 |
45,744 | 09/05/2008 13:05:10 | 1,068 | 08/12/2008 08:44:09 | 23 | 5 | Code Profiling in Visual Studio 2005 | I have a Visual Studio 2005 Solution workspace which in turn has 8 projects included in it. I want to profile the complete code(all the projects) and get some measure about the absolute cycles taken by each function to execute, or at least percentage cycle consumptions.
I checked out help for VS 2005, and also the p... | profiling | in | studio | visual | 2005 | null | open | Code Profiling in Visual Studio 2005
===
I have a Visual Studio 2005 Solution workspace which in turn has 8 projects included in it. I want to profile the complete code(all the projects) and get some measure about the absolute cycles taken by each function to execute, or at least percentage cycle consumptions.
I ch... | 0 |
45,769 | 09/05/2008 13:12:18 | 4,225 | 09/02/2008 12:50:15 | 11 | 3 | Managing/Using libraries with Debug builds vs Release builds | I'm curious about everyones practices when it comes to using or distributing libraries for an application that you write.
First of all, when developing your application do you link the debug or release version of the libraries? (For when you run your application in debug mode)
Then when you run your app in releas... | untagged | null | null | null | null | null | open | Managing/Using libraries with Debug builds vs Release builds
===
I'm curious about everyones practices when it comes to using or distributing libraries for an application that you write.
First of all, when developing your application do you link the debug or release version of the libraries? (For when you run your ... | 0 |
45,779 | 09/05/2008 13:17:38 | 1,111 | 08/12/2008 12:40:23 | 112 | 18 | C# Dynamic Event Subscription | How would you dynamically subscribe to a C# event so that given a Object instance and a String name containing the name of the event, you subscribe to that event and do something (write to the console for example) when that event has been fired?
It would seem using Reflection this isn't possible and I would like to ... | c# | reflection | events | null | null | null | open | C# Dynamic Event Subscription
===
How would you dynamically subscribe to a C# event so that given a Object instance and a String name containing the name of the event, you subscribe to that event and do something (write to the console for example) when that event has been fired?
It would seem using Reflection this ... | 0 |
45,783 | 09/05/2008 13:18:23 | 4,734 | 09/05/2008 11:57:36 | 1 | 0 | Automate Deployment for Web Applications? | My team is currently trying to automate the deployment of our .Net and PHP web applications. We want to streamline deployments, and to avoid the hassle and many of the headaches caused by doing it manually.
We require a solution that will enable us to:
- Compile the application
- Version the application wi... | .net | php | deployment | web-applications | automatic | null | open | Automate Deployment for Web Applications?
===
My team is currently trying to automate the deployment of our .Net and PHP web applications. We want to streamline deployments, and to avoid the hassle and many of the headaches caused by doing it manually.
We require a solution that will enable us to:
- Compile th... | 0 |
45,792 | 09/05/2008 13:21:09 | 797 | 08/09/2008 02:14:04 | 1,379 | 48 | Forking background processes from a Perl CGI script on Windows | I've had some trouble forking of processes from a Perl CGI script when running on Windows. The main issue seems to be that 'fork' is emulated when running on windows, and doesn't actually seem to create a new process (just another thread in the current one). This means that web servers (like IIS) which are waiting for ... | windows | perl | cgi | null | null | null | open | Forking background processes from a Perl CGI script on Windows
===
I've had some trouble forking of processes from a Perl CGI script when running on Windows. The main issue seems to be that 'fork' is emulated when running on windows, and doesn't actually seem to create a new process (just another thread in the current... | 0 |
45,803 | 09/05/2008 13:24:01 | 4,737 | 09/05/2008 12:03:38 | 1 | 2 | Service to make an audio podcast from a video one? | 1. Video podcast
2. ???
3. Audio only mp3 player
I'm looking for somewhere which will extract audio from video, but instead of a single file, for an on going video podcast.
I would most like a website which would suck in the RSS and spit out an RSS (I'm thinking of something like Feedburner), though would se... | video | audio | podcast | null | null | null | open | Service to make an audio podcast from a video one?
===
1. Video podcast
2. ???
3. Audio only mp3 player
I'm looking for somewhere which will extract audio from video, but instead of a single file, for an on going video podcast.
I would most like a website which would suck in the RSS and spit out an RSS (I'm... | 0 |
45,813 | 09/05/2008 13:28:16 | 3,291 | 08/27/2008 17:46:47 | 8 | 0 | WPF Get Element(s) under mouse | Is there a way with WPF to get an array of elements under the mouse on a MouseMove event? | wpf | element | visualtree | visualtreehelper | null | null | open | WPF Get Element(s) under mouse
===
Is there a way with WPF to get an array of elements under the mouse on a MouseMove event? | 0 |
45,822 | 09/05/2008 13:30:58 | 304 | 08/04/2008 13:54:38 | 1,192 | 49 | Are there any good icon sites to complement Apache License 2.0? | I'm writing a small GUI application that will be released under the [Apache License 2.0][1]. I'd like to pretty it up using some free icons. [Of course, just pirating content is wrong.][6] I'd like the copyright license of any images to complement that of the application - that is, permissive use of the content with ap... | licensing | icons | null | null | null | null | open | Are there any good icon sites to complement Apache License 2.0?
===
I'm writing a small GUI application that will be released under the [Apache License 2.0][1]. I'd like to pretty it up using some free icons. [Of course, just pirating content is wrong.][6] I'd like the copyright license of any images to complement tha... | 0 |
45,824 | 09/05/2008 13:31:57 | 3,404 | 08/28/2008 13:13:02 | 219 | 15 | Counting number of views for a page ignoring search engines? | I notice that Stack Overflow has a views count for each question and that these view numbers are fairly low and accurate.
I have a similar thing on one of my sites. It basically logs a "hit" whenever the page is loaded in the backend code. Unfortunately it also does this for search engine hits giving bloated and in... | search-engine | null | null | null | null | null | open | Counting number of views for a page ignoring search engines?
===
I notice that Stack Overflow has a views count for each question and that these view numbers are fairly low and accurate.
I have a similar thing on one of my sites. It basically logs a "hit" whenever the page is loaded in the backend code. Unfortunat... | 0 |
45,827 | 09/05/2008 13:33:44 | 305 | 08/04/2008 14:04:19 | 1,793 | 109 | How do you automatically set the focus to a textbox when a web page loads? | OK, this has to be insanely easy but I honestly don't know how to do it. How do you automatically set the focus to a textbox when a web page loads?
Is there an HTML tag to do it or does it have to be done via javascript? | javascript | html | null | null | null | null | open | How do you automatically set the focus to a textbox when a web page loads?
===
OK, this has to be insanely easy but I honestly don't know how to do it. How do you automatically set the focus to a textbox when a web page loads?
Is there an HTML tag to do it or does it have to be done via javascript? | 0 |
45,838 | 09/05/2008 13:37:33 | 3,475 | 08/28/2008 17:53:18 | 66 | 4 | How many app.config files are you allowed to have per AppDomain? | I'm hoping there's a way to avoid custom configuration files if an application runs in a single AppDomain. | .net | configuration | null | null | null | null | open | How many app.config files are you allowed to have per AppDomain?
===
I'm hoping there's a way to avoid custom configuration files if an application runs in a single AppDomain. | 0 |
45,841 | 09/05/2008 13:38:12 | 3,268 | 08/12/2008 03:24:22 | 1 | 0 | What is the Best Practice to Kick-off Maintenance Process on ASP.NET | Given an ASP.NET application, I need to run a maintenance process on a regular basis (daily, hourly, etc.).
What's the best way to accomplish this without relying on an external process like a scheduled task on the server (assume I don't have access to the server - shared hosting environment).
| asp.net | maintenance | null | null | null | null | open | What is the Best Practice to Kick-off Maintenance Process on ASP.NET
===
Given an ASP.NET application, I need to run a maintenance process on a regular basis (daily, hourly, etc.).
What's the best way to accomplish this without relying on an external process like a scheduled task on the server (assume I don't hav... | 0 |
45,846 | 09/05/2008 13:39:46 | 2,141 | 08/20/2008 14:38:34 | 365 | 5 | Web Design for Google Chrome | What, if any, considerations (HTML, CSS, JavaScript) should you take when designing for Google Chrome? | chrome | null | null | null | null | null | open | Web Design for Google Chrome
===
What, if any, considerations (HTML, CSS, JavaScript) should you take when designing for Google Chrome? | 0 |
45,861 | 09/05/2008 13:45:21 | 4,748 | 09/05/2008 12:44:55 | 1 | 1 | How do I get js2-mode to use spaces instead of tabs in Emacs? | I am using [js2-mode][1] to edit Javascript in Emacs, but I can't seem to get it to stop using tabs instead of spaces for indentation. My other modes work fine, just having issues w/ js2.
[1]: http://code.google.com/p/js2-mode/ | javascript | ide | emacs | js2-mode | null | null | open | How do I get js2-mode to use spaces instead of tabs in Emacs?
===
I am using [js2-mode][1] to edit Javascript in Emacs, but I can't seem to get it to stop using tabs instead of spaces for indentation. My other modes work fine, just having issues w/ js2.
[1]: http://code.google.com/p/js2-mode/ | 0 |
45,865 | 09/05/2008 13:48:32 | 4,513 | 09/04/2008 12:30:30 | 28 | 0 | Can you disable the back button in a JFace wizard? | I'm writing a wizard for an Eclipse RCP application. After doing some processing on a file and taking some user input, I don't want to let the user go back to make changes. At this point they must either accept or reject the changes they are about to make to the system.
What I can't seem to find is a method call t... | java | eclipse | rcp | wizard | jface | null | open | Can you disable the back button in a JFace wizard?
===
I'm writing a wizard for an Eclipse RCP application. After doing some processing on a file and taking some user input, I don't want to let the user go back to make changes. At this point they must either accept or reject the changes they are about to make to the... | 0 |
45,879 | 09/05/2008 13:59:07 | 4,497 | 09/04/2008 08:49:10 | 1 | 2 | MySQL Partitioning / Sharding / Splitting - which way to go? | We have an InnoDB database that is about 70 GB and we expect it to grow to several hundred GB in the next 2 to 3 years. About 60 % of the data belong to a single table. Currently the database is working quite well as we have a server with 64 GB of RAM, so almost the whole database fits into memory, but we’re concerned ... | mysql | partitioning | sharding | null | null | null | open | MySQL Partitioning / Sharding / Splitting - which way to go?
===
We have an InnoDB database that is about 70 GB and we expect it to grow to several hundred GB in the next 2 to 3 years. About 60 % of the data belong to a single table. Currently the database is working quite well as we have a server with 64 GB of RAM, ... | 0 |
45,882 | 09/05/2008 14:00:26 | 4,407 | 09/03/2008 14:57:06 | 124 | 8 | View TFS checkin history across branches? | In TFS when you merge branch A to branch B and checkin, you get a single changeset on B (typically with a comment like "merged A->B").
This means B doesn't have any of the checkin history from A. So if someone created a new file on branch A, you can't tell who created it from branch B. And if someone updated a f... | tfs | merge | branch | null | null | null | open | View TFS checkin history across branches?
===
In TFS when you merge branch A to branch B and checkin, you get a single changeset on B (typically with a comment like "merged A->B").
This means B doesn't have any of the checkin history from A. So if someone created a new file on branch A, you can't tell who create... | 0 |
45,888 | 09/05/2008 14:05:34 | 1,414 | 08/15/2008 15:07:31 | 951 | 74 | What is the most efficient way to sort an Html Select's Options by value, while preserving the currently selected item? | I have jQuery but I'm not sure if it has any built-in sorting helpers. I could make a 2d array of each item's `text`, `value`, and `selected` properties, but I don't think that javascript's built in `Array.sort()` would work correctly. | javascript | jquery | arrays | sorting | html-select | null | open | What is the most efficient way to sort an Html Select's Options by value, while preserving the currently selected item?
===
I have jQuery but I'm not sure if it has any built-in sorting helpers. I could make a 2d array of each item's `text`, `value`, and `selected` properties, but I don't think that javascript's built... | 0 |
45,898 | 09/05/2008 14:12:18 | 2,998 | 08/26/2008 11:02:36 | 143 | 7 | Opening a non-standard URL in a Cocoa app | In an application that I'm writing I have some code like this:
NSWorkspace* ws = [NSWorkspace sharedWorkspace];
NSString* myurl = @"http://www.somewebsite.com/method?a=%d";
NSURL* url = [NSURL URLWithString:myurl];
[ws openURL:url];
The main difference being that _myurl_ comes from somewher... | osx | objectivec | cocoa | apple | null | null | open | Opening a non-standard URL in a Cocoa app
===
In an application that I'm writing I have some code like this:
NSWorkspace* ws = [NSWorkspace sharedWorkspace];
NSString* myurl = @"http://www.somewebsite.com/method?a=%d";
NSURL* url = [NSURL URLWithString:myurl];
[ws openURL:url];
The main di... | 0 |
45,903 | 09/05/2008 14:17:15 | 4,767 | 09/05/2008 14:17:15 | 1 | 0 | Best Way to Convert PSD to CSS/HTML File? | I'm working to convert a Photoshop PSD to a HTML/CSS web layout. I know there are some tricks to doing this quickly, I just don't know what they are. The question is, do you? | html | css | photoshop | psd | null | null | open | Best Way to Convert PSD to CSS/HTML File?
===
I'm working to convert a Photoshop PSD to a HTML/CSS web layout. I know there are some tricks to doing this quickly, I just don't know what they are. The question is, do you? | 0 |
45,904 | 09/05/2008 14:17:22 | 2,757 | 08/24/2008 21:53:16 | 329 | 19 | How do you add an image in XSLT? | I have a simple XML document that contains image information. I need to transform it to HTML -- simple, right? However, when I use the XSL below, it blows up with the error **"Cannot write an attribute node when no element start tag is open."** I can't see where the open tag is -- any ideas?
XML:
<pre>
<root&g... | xslt | null | null | null | null | null | open | How do you add an image in XSLT?
===
I have a simple XML document that contains image information. I need to transform it to HTML -- simple, right? However, when I use the XSL below, it blows up with the error **"Cannot write an attribute node when no element start tag is open."** I can't see where the open tag is -- ... | 0 |
45,908 | 09/05/2008 14:21:21 | 1,196 | 08/13/2008 12:33:04 | 1,859 | 130 | Tips and tricks for working with Microsoft Visual Studio solutions and project | After answering on [this question][1] I thought it would be nice to collect some tips & tricks for working with MSVS solutions and projects.
Here is my list:
- How to avoid saving new projects
automatically to reduce garbage in
file system.
Uncheck **Tools->Options->Projects and Solutions->... | visual-studio | tips-and-tricks | null | null | null | 05/06/2012 14:35:04 | not constructive | Tips and tricks for working with Microsoft Visual Studio solutions and project
===
After answering on [this question][1] I thought it would be nice to collect some tips & tricks for working with MSVS solutions and projects.
Here is my list:
- How to avoid saving new projects
automatically to reduce ga... | 4 |
45,924 | 09/05/2008 14:31:54 | 4,770 | 09/05/2008 14:24:23 | 1 | 0 | I need help with a MenuStrip Error | My users are having an intermittent error when using a Windows Forms application built in VB.NET 3.5. Apparently when they click on the form and the form re-paints, a red 'X' will be painted over the MenuStrip control and the app will crash with the following error. Has anyone seen this before? Can someone point me in ... | winforms | vb.net | exception | .net-3.5 | null | null | open | I need help with a MenuStrip Error
===
My users are having an intermittent error when using a Windows Forms application built in VB.NET 3.5. Apparently when they click on the form and the form re-paints, a red 'X' will be painted over the MenuStrip control and the app will crash with the following error. Has anyone se... | 0 |
45,941 | 09/05/2008 14:38:05 | 797 | 08/09/2008 02:14:04 | 1,421 | 50 | Branch / merge management in Subversion 1.5 | I've used subversion for a while, and used the svnmerge.py script for a while in my old job to manage merges between branches. I believe Subversion 1.5 is now out, and was supposed to have some branch / merge management system integrated with it.
So, can someone give me a quick overview of how to track merges in a ... | version-control | subversion | null | null | null | null | open | Branch / merge management in Subversion 1.5
===
I've used subversion for a while, and used the svnmerge.py script for a while in my old job to manage merges between branches. I believe Subversion 1.5 is now out, and was supposed to have some branch / merge management system integrated with it.
So, can someone give... | 0 |
45,950 | 09/05/2008 14:41:23 | 1,776 | 08/18/2008 14:21:43 | 203 | 19 | XML Editor for OS X | http://stackoverflow.com/questions/12073/what-is-the-best-xml-editor was a great question regarding XML editors on Windows. What about on OS X?
Oxygen is feature complete, but, it's a Java app and a bit clunky on OSX. It's also extremely expensive.
Anything Mac native and comparable in features for less than $30... | xml | osx | software-tools | null | null | null | open | XML Editor for OS X
===
http://stackoverflow.com/questions/12073/what-is-the-best-xml-editor was a great question regarding XML editors on Windows. What about on OS X?
Oxygen is feature complete, but, it's a Java app and a bit clunky on OSX. It's also extremely expensive.
Anything Mac native and comparable in f... | 0 |
45,953 | 09/05/2008 14:43:48 | 1,071 | 08/12/2008 10:00:19 | 31 | 2 | php execute a background process | I need to execute a directory copy upon a user action, but the directories are quite large, so I would like to be able to perform such an action without the user being aware of the time it take for the copy to complete.
Any suggestions would be much appreciated. | php | null | null | null | null | null | open | php execute a background process
===
I need to execute a directory copy upon a user action, but the directories are quite large, so I would like to be able to perform such an action without the user being aware of the time it take for the copy to complete.
Any suggestions would be much appreciated. | 0 |
45,954 | 09/05/2008 14:44:25 | 4,761 | 09/05/2008 13:41:59 | 1 | 0 | Python libdwarf module | I'm working on a utility which needs to resolve hex addresses to a symbolic function name and source code line number within a binary. The utility will run on Linux on x86, though the binaries it analyzes will be for a MIPS-based embedded system. The MIPS binaries are in ELF format, using DWARF for the symbolic debuggi... | python | null | null | null | null | null | open | Python libdwarf module
===
I'm working on a utility which needs to resolve hex addresses to a symbolic function name and source code line number within a binary. The utility will run on Linux on x86, though the binaries it analyzes will be for a MIPS-based embedded system. The MIPS binaries are in ELF format, using DW... | 0 |
45,964 | 09/05/2008 14:49:27 | 4,406 | 09/03/2008 14:38:45 | 23 | 5 | How to multiply 10 to an "Integer" object in Java? | How do I multiply 10 to an Integer object and get back the Integer object?
I am looking for the neatest way of doing this.
I would probably do it this way:
Get int from Integer object, multiply it with the other int and create another Integer object with this int value.
Code will be something like ...
... | java | null | null | null | null | null | open | How to multiply 10 to an "Integer" object in Java?
===
How do I multiply 10 to an Integer object and get back the Integer object?
I am looking for the neatest way of doing this.
I would probably do it this way:
Get int from Integer object, multiply it with the other int and create another Integer object with th... | 0 |
45,965 | 09/05/2008 14:49:41 | 370,899 | 08/22/2008 12:32:04 | 54 | 7 | How do I use the JavaScript Console in Google Chrome? | I have a Font Detect code that does not work in Google Chrome, and I thought I would find out what is going on. But I still can't figure out how I can add breakpoints or do watch etc. I am looking for something like FireBug. I assume I would need to install a third party debugger? | javascript | debugging | null | null | null | null | open | How do I use the JavaScript Console in Google Chrome?
===
I have a Font Detect code that does not work in Google Chrome, and I thought I would find out what is going on. But I still can't figure out how I can add breakpoints or do watch etc. I am looking for something like FireBug. I assume I would need to install a t... | 0 |
45,972 | 09/05/2008 14:52:14 | 4,585 | 09/04/2008 18:42:37 | 1 | 1 | mmap() vs. reading blocks | I'm working on a program that will be processing files that could potentially be 100GB or more in size. The files contain sets of variable length records. I've got a first implementation up and running and am now looking towards improving performance, particularly at doing I/O more efficiently since the input file gets... | c++ | file-io | fstream | blocks | mmap | null | open | mmap() vs. reading blocks
===
I'm working on a program that will be processing files that could potentially be 100GB or more in size. The files contain sets of variable length records. I've got a first implementation up and running and am now looking towards improving performance, particularly at doing I/O more effici... | 0 |
45,977 | 09/05/2008 14:55:47 | 3,631 | 08/29/2008 16:06:08 | 488 | 36 | Meaning/cause of RPC Exception 'No interfaces have been exported.' | We have a pretty classic client-server app built using MS RPC, with both ends implemented in C++. The client establishes a session to the server, and makes calls to it over a long period before closing the session.
Periodically, particularly under heavy load, we get an RPC exception via code 1754 (RPC_S_NOTHING_TO_... | windows | rpc | null | null | null | null | open | Meaning/cause of RPC Exception 'No interfaces have been exported.'
===
We have a pretty classic client-server app built using MS RPC, with both ends implemented in C++. The client establishes a session to the server, and makes calls to it over a long period before closing the session.
Periodically, particularly un... | 0 |
45,988 | 09/05/2008 15:01:28 | 1,367 | 08/14/2008 18:33:20 | 443 | 27 | Choosing a folder with .NET 3.5 | In a C# .NET 3.5 app (a mix of WinForms and WPF) I want to let the user select a folder to import a load of data from. At the moment, it's using System.Windows.Forms.FolderBrowserDialog but that's a bit lame. Mainly because you can't type the path into it (so you need to map a network drive, instead of typing a UNC pat... | c# | .net | winforms | wpf | null | null | open | Choosing a folder with .NET 3.5
===
In a C# .NET 3.5 app (a mix of WinForms and WPF) I want to let the user select a folder to import a load of data from. At the moment, it's using System.Windows.Forms.FolderBrowserDialog but that's a bit lame. Mainly because you can't type the path into it (so you need to map a netwo... | 0 |
45,991 | 09/05/2008 15:04:16 | 681 | 08/07/2008 17:38:09 | 23 | 0 | What's the easiest way to convert Wiki markup to HTML? | I'm building a website that requires very basic markup capabilities. I can't use any 3rd party plugins, so I just need a simple way to convert markup to HTML. I might have a total of 3 tags that I'll allow.
What is the best way to convert "==Heading=="" to "< h2>Heading< / h2>", or "--bold--" to "< b> bold < /b>"?... | html | wiki | markup | null | null | null | open | What's the easiest way to convert Wiki markup to HTML?
===
I'm building a website that requires very basic markup capabilities. I can't use any 3rd party plugins, so I just need a simple way to convert markup to HTML. I might have a total of 3 tags that I'll allow.
What is the best way to convert "==Heading=="" t... | 0 |
46,003 | 09/05/2008 15:11:29 | 2,361 | 08/21/2008 20:41:09 | 398 | 22 | How to change "Generate Method Stub" to throw NotImplementedException in VS? | How can I change default [Generate Method Stub][1] behavior in Visaul Studio to generate method with body
throw new NotImplementedException();
instead of
throw new Exception("The method or operation is not implemented.");
[1]: http://msdn.microsoft.com/en-us/library/3a7hkh29.aspx | .net | configuration | visual-studio | trick | null | null | open | How to change "Generate Method Stub" to throw NotImplementedException in VS?
===
How can I change default [Generate Method Stub][1] behavior in Visaul Studio to generate method with body
throw new NotImplementedException();
instead of
throw new Exception("The method or operation is not implemented.")... | 0 |
46,004 | 09/05/2008 15:11:44 | 577 | 08/06/2008 21:36:25 | 325 | 13 | How do you implement resource "edit" forms in a RESTful way? | We are trying to implement a REST API for an application we have now. We want to expose read/write capabilities for various resources using the REST API. How do we implement the "form" part of this? I get how to expose "read" of our data by creating RESTful URLs that essentially function as method calls and return the ... | rest | null | null | null | null | null | open | How do you implement resource "edit" forms in a RESTful way?
===
We are trying to implement a REST API for an application we have now. We want to expose read/write capabilities for various resources using the REST API. How do we implement the "form" part of this? I get how to expose "read" of our data by creating REST... | 0 |
46,007 | 09/05/2008 15:13:51 | 4,782 | 09/05/2008 15:13:51 | 1 | 0 | Tools for matching name/address data | Here's an interesting problem.
I have an oracle database with name & address information which needs to be kept current.
We get data feeds from a number of different gov't sources, and need to figure out matches, and whether or not to update the db with the data, or if a new record needs to be created.
There i... | oracle | null | null | null | null | null | open | Tools for matching name/address data
===
Here's an interesting problem.
I have an oracle database with name & address information which needs to be kept current.
We get data feeds from a number of different gov't sources, and need to figure out matches, and whether or not to update the db with the data, or if a ... | 0 |
46,013 | 09/05/2008 15:15:49 | 4,778 | 09/05/2008 15:06:23 | 1 | 0 | Self Updating | What's the best way to terminate a program and then run additional code from the program that's being terminated? For example, what would be the best way for a program to self update itself? | updating | patching | null | null | null | null | open | Self Updating
===
What's the best way to terminate a program and then run additional code from the program that's being terminated? For example, what would be the best way for a program to self update itself? | 0 |
46,029 | 09/05/2008 15:24:39 | 1,108 | 08/12/2008 12:16:28 | 37 | 5 | Data Validation Design Patterns | If I have a collection of database tables (in an Access file, for example) and need to validate each table in this collection against a rule set that has both common rules across all tables as well as individual rules specific to one or a subset of tables, can someone recommend a good design pattern to look into?
Sp... | design-patterns | validation | oop | null | null | null | open | Data Validation Design Patterns
===
If I have a collection of database tables (in an Access file, for example) and need to validate each table in this collection against a rule set that has both common rules across all tables as well as individual rules specific to one or a subset of tables, can someone recommend a go... | 0 |
46,030 | 09/05/2008 15:25:11 | 1,358 | 08/14/2008 18:01:36 | 260 | 41 | C# Force Form Focus | So, I did search google and SO prior to asking this question. Basically I have a DLL that has a form compiled into it. The form will be used to display information to the screen. Eventually it will be asynchronous and expose a lot of customization in the dll. For now I just want it to display properly. The problem that... | c# | null | null | null | null | null | open | C# Force Form Focus
===
So, I did search google and SO prior to asking this question. Basically I have a DLL that has a form compiled into it. The form will be used to display information to the screen. Eventually it will be asynchronous and expose a lot of customization in the dll. For now I just want it to display p... | 0 |
46,031 | 09/05/2008 15:26:11 | 3,314 | 08/27/2008 20:05:23 | 137 | 11 | Why does the ASP.Net Web Forms model "suck"? | I've heard Jeff Attwood, Joel Spolsky, and many other legendary people talk about how the ASP.Net Web Forms model sucks. (So this question is kind of directed to them, hopefully Jeff is reading)
Now, I highly respect their opinion, given their background and expertise, but truth be told, i absolutely LOVE Asp.Net. I... | asp.net | webforms | null | null | null | 11/28/2011 18:24:15 | not constructive | Why does the ASP.Net Web Forms model "suck"?
===
I've heard Jeff Attwood, Joel Spolsky, and many other legendary people talk about how the ASP.Net Web Forms model sucks. (So this question is kind of directed to them, hopefully Jeff is reading)
Now, I highly respect their opinion, given their background and expertis... | 4 |
46,047 | 09/05/2008 15:35:10 | 2,894 | 08/25/2008 20:06:55 | 451 | 43 | Need advice on getting a job in a foreign country | I am a citizen of the United States of America and I want to get a job in the United Kingdom. Sounds good on the surface but I am looking for some advice on what to expect in the way of taxes (and the salary planning associated with them), legal issues and anything else that might not be that obvious.
If you h... | jobs | abroad | expat | null | null | 07/02/2012 09:52:43 | off topic | Need advice on getting a job in a foreign country
===
I am a citizen of the United States of America and I want to get a job in the United Kingdom. Sounds good on the surface but I am looking for some advice on what to expect in the way of taxes (and the salary planning associated with them), legal issues and anythin... | 2 |
46,048 | 09/05/2008 15:35:39 | 4,786 | 09/05/2008 15:29:10 | 1 | 0 | What is the best book to learn C#? | What is the best book to learn C# for someone who has little programming experience? | c# | books | null | null | null | 10/09/2011 04:41:21 | off topic | What is the best book to learn C#?
===
What is the best book to learn C# for someone who has little programming experience? | 2 |
46,074 | 09/05/2008 15:43:15 | 3,135 | 08/26/2008 22:55:37 | 8 | 2 | Redirect from domain name to a dotted quad hosted box | I have a php server that is running my domain name. For testing purposes I am running an asp.net on a dotted quad IP. I am hoping to link them together via either php or some kind of dns/htaccess voodoo.
So if I go to www.mydomain.com/test it redirects (but keeps the url of (www.mydomain.com/test) in the main bar... | php | hosting | dns | null | null | null | open | Redirect from domain name to a dotted quad hosted box
===
I have a php server that is running my domain name. For testing purposes I am running an asp.net on a dotted quad IP. I am hoping to link them together via either php or some kind of dns/htaccess voodoo.
So if I go to www.mydomain.com/test it redirects (bu... | 0 |
46,079 | 09/05/2008 15:45:22 | 1,446 | 08/15/2008 16:12:45 | 23 | 1 | What is the best approach for disabling a submit button? | Details:
* Only disable after user clicks the submit button
* ASP.NET Webforms (.NET 1.1)
* Prefer jQuery (if any library at all)
* Must be enabled if form reloads (i.e. credit card failed)
This isn't a necessity that I do this, but if there is a simple way to do it without having to change too much, I'll do i... | webforms | asp.net | javascript | null | null | null | open | What is the best approach for disabling a submit button?
===
Details:
* Only disable after user clicks the submit button
* ASP.NET Webforms (.NET 1.1)
* Prefer jQuery (if any library at all)
* Must be enabled if form reloads (i.e. credit card failed)
This isn't a necessity that I do this, but if there is a si... | 0 |
46,080 | 09/05/2008 15:45:53 | 1,463 | 08/15/2008 17:26:44 | 419 | 32 | How do you move a file in SVN? | I'm using TortoiseSVN against the SourceForge SVN repository. I'd like to move a file from one folder to another in order to maintain its revision history. Is this possible? If so, how do you do it?
(My current strategy has been to copy the file into the new folder and check it in and then delete the file from the c... | svn | tortoisesvn | null | null | null | null | open | How do you move a file in SVN?
===
I'm using TortoiseSVN against the SourceForge SVN repository. I'd like to move a file from one folder to another in order to maintain its revision history. Is this possible? If so, how do you do it?
(My current strategy has been to copy the file into the new folder and check it in... | 0 |
46,084 | 09/05/2008 15:47:03 | 179 | 08/03/2008 02:38:27 | 111 | 7 | Remote debugging an NT application from XP with Visual Studio 6.0 | Is it possible to remote-debug a Visual C++ 6.0 application running on a Windows NT machine from a developer workstation running Windows XP? If so, is there a procedure written up somewhere? | debugging | windows-xp | vc++ | remote | windows-nt | null | open | Remote debugging an NT application from XP with Visual Studio 6.0
===
Is it possible to remote-debug a Visual C++ 6.0 application running on a Windows NT machine from a developer workstation running Windows XP? If so, is there a procedure written up somewhere? | 0 |
46,096 | 09/05/2008 15:50:20 | 1,463 | 08/15/2008 17:26:44 | 419 | 32 | What are the names given to these 2 LINQ expressions | I'm trying to find the correct names for these 2 "types" of coding expressions in LINQ so that I can refer to them correctly. I want to say that the first is called "Fluent Style"?
var selectVar = arrayVar.Select( (a,i) => new { Line = a });
var selectVar =
from s in arrayVar
select... | linq | null | null | null | null | null | open | What are the names given to these 2 LINQ expressions
===
I'm trying to find the correct names for these 2 "types" of coding expressions in LINQ so that I can refer to them correctly. I want to say that the first is called "Fluent Style"?
var selectVar = arrayVar.Select( (a,i) => new { Line = a });
va... | 0 |
46,112 | 09/05/2008 15:55:23 | 4,786 | 09/05/2008 15:29:10 | 6 | 0 | What is the best book to learn asp.net for someone who has little programming experience? | What is the best book to learn asp.net for someone who has little programming experience? | asp.net | books | null | null | null | null | open | What is the best book to learn asp.net for someone who has little programming experience?
===
What is the best book to learn asp.net for someone who has little programming experience? | 0 |
46,124 | 09/05/2008 15:58:13 | 305 | 08/04/2008 14:04:19 | 1,853 | 111 | Is there a list of browser conditionals for use including stylesheets? | I've seen people doing things like this in their HTML:
<!--[if IE]>
<link rel="stylesheet" href="ie.css" type="text/css" />
<![endif]-->
Does this work across all modern browsers and is there a list of browser types that will work with that kind of if statement?
**Edit**
Thanks [Ross](http:/... | css | browser | conditional | null | null | null | open | Is there a list of browser conditionals for use including stylesheets?
===
I've seen people doing things like this in their HTML:
<!--[if IE]>
<link rel="stylesheet" href="ie.css" type="text/css" />
<![endif]-->
Does this work across all modern browsers and is there a list of browser types that w... | 0 |
46,125 | 09/05/2008 15:58:16 | 1,228 | 08/13/2008 13:58:55 | 1,142 | 86 | Can XPath match on parts of an element's name? | I want to do this: //*fu, which returns all nodes whose name ends in fu, such as <tarfu /> and <snafu />, but not <fubar /> | xpath | null | null | null | null | null | open | Can XPath match on parts of an element's name?
===
I want to do this: //*fu, which returns all nodes whose name ends in fu, such as <tarfu /> and <snafu />, but not <fubar /> | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.