question_id int64 4 6.31M | answer_id int64 7 6.31M | title stringlengths 9 150 | question_body stringlengths 0 28.8k | answer_body stringlengths 60 27.2k | question_text stringlengths 40 28.9k | combined_text stringlengths 124 39.6k | tags listlengths 1 6 | question_score int64 0 26.3k | answer_score int64 0 28.8k | view_count int64 15 14M | answer_count int64 0 182 | favorite_count int64 0 32 | question_creation_date stringdate 2008-07-31 21:42:52 2011-06-10 18:12:18 | answer_creation_date stringdate 2008-07-31 22:17:57 2011-06-10 18:14:17 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11,088 | 11,101 | What is the best way to work around the fact that ALL Java bytes are signed? | In Java, there is no such thing as an unsigned byte. Working with some low level code, occasionally you need to work with bytes that have unsigned values greater than 128, which causes Java to interpret them as a negative number due to the MSB being used for sign. What's a good way to work around this? (Saying don't us... | When reading any single value from the array copy it into something like a short or an int and manually convert the negative number into the positive value it should be. byte[] foobar =..; int value = foobar[10]; if (value < 0) value += 256 // Patch up the 'falsely' negative value You can do a similar conversion when w... | What is the best way to work around the fact that ALL Java bytes are signed? In Java, there is no such thing as an unsigned byte. Working with some low level code, occasionally you need to work with bytes that have unsigned values greater than 128, which causes Java to interpret them as a negative number due to the MSB... | TITLE:
What is the best way to work around the fact that ALL Java bytes are signed?
QUESTION:
In Java, there is no such thing as an unsigned byte. Working with some low level code, occasionally you need to work with bytes that have unsigned values greater than 128, which causes Java to interpret them as a negative num... | [
"java",
"byte",
"unsigned",
"signed"
] | 60 | 20 | 27,050 | 7 | 0 | 2008-08-14T14:14:03.940000 | 2008-08-14T14:24:50.453000 |
11,099 | 11,107 | What is the prefered style for single decision and action statements? | In the case of languages that support single decision and action without brackets, such as the following example: if (var == true) doSomething(); What is the preferred way of writing this? Should brackets always be used, or should their usage be left as a preference of the individual developer? Additionally, does this ... | There isn't really a right answer. This is what coding standards within the company are for. If you can keep it consistent across the whole company then it will be easy to read. I personally like if ( a == b) { doSomething(); } else { doSomething(); } but this is a holy war. | What is the prefered style for single decision and action statements? In the case of languages that support single decision and action without brackets, such as the following example: if (var == true) doSomething(); What is the preferred way of writing this? Should brackets always be used, or should their usage be left... | TITLE:
What is the prefered style for single decision and action statements?
QUESTION:
In the case of languages that support single decision and action without brackets, such as the following example: if (var == true) doSomething(); What is the preferred way of writing this? Should brackets always be used, or should t... | [
"language-agnostic",
"language-features",
"readability"
] | 3 | 10 | 966 | 20 | 0 | 2008-08-14T14:23:11.237000 | 2008-08-14T14:27:26.750000 |
11,112 | 2,028,892 | Best Wiki for Mobile Users | Most wiki software I've presents lots of "features" on their pages. This is fine for desktop users, but is annoying when using an iPhone or other mobile device. I'd prefer pages that just had the content, along with maybe an Edit button and a Search button. The editors are also often too fancy for mobile users; a simpl... | W2 by Steven Frank (of Panic, makers of Transmit) is awesome. It's totally stripped down for iPhone--just the essentials. It supports markdown and basic Wiki-style formatting. https://github.com/panicsteve/w2wiki That page has a link to a demo site. | Best Wiki for Mobile Users Most wiki software I've presents lots of "features" on their pages. This is fine for desktop users, but is annoying when using an iPhone or other mobile device. I'd prefer pages that just had the content, along with maybe an Edit button and a Search button. The editors are also often too fanc... | TITLE:
Best Wiki for Mobile Users
QUESTION:
Most wiki software I've presents lots of "features" on their pages. This is fine for desktop users, but is annoying when using an iPhone or other mobile device. I'd prefer pages that just had the content, along with maybe an Edit button and a Search button. The editors are a... | [
"iphone",
"wiki",
"mobile-website"
] | 7 | 2 | 1,189 | 3 | 0 | 2008-08-14T14:30:17.277000 | 2010-01-08T16:11:47.593000 |
11,127 | 11,132 | In C++/Windows how do I get the network name of the computer I'm on? | In a C++ Windows (XP and NT, if it makes a difference) application I'm working on, I need to get the network name associated with the computer the code is executing on, so that I can convert local filenames from C:\filename.ext to \\network_name\C$\filename.ext. How would I do this? Alternatively, if there's a function... | You'll want Win32's GetComputerName: http://msdn.microsoft.com/en-us/library/ms724295(VS.85).aspx | In C++/Windows how do I get the network name of the computer I'm on? In a C++ Windows (XP and NT, if it makes a difference) application I'm working on, I need to get the network name associated with the computer the code is executing on, so that I can convert local filenames from C:\filename.ext to \\network_name\C$\fi... | TITLE:
In C++/Windows how do I get the network name of the computer I'm on?
QUESTION:
In a C++ Windows (XP and NT, if it makes a difference) application I'm working on, I need to get the network name associated with the computer the code is executing on, so that I can convert local filenames from C:\filename.ext to \\... | [
"c++",
"windows-xp",
"networking",
"windows-nt"
] | 8 | 7 | 10,508 | 4 | 0 | 2008-08-14T14:37:27.120000 | 2008-08-14T14:40:31.217000 |
11,135 | 11,188 | How to run remote shell scripts from ASP pages? | I need to create an ASP page (classic, not ASP.NET) which runs remote shell scripts on a UNIX server, then captures the output into variables in VBScript within the page itself. I have never done ASP or VBScipt before. I have tried to google this stuff, but all I find are references to remote server side scripting, not... | If the shell scripts are normally run on a telnet session then you could screen scrape and parse the responses. There are commercial COM components out there such as the Dart telnet library: http://www.dart.com/pttel.aspx that would let you do this. Either that or you could roll your own using AspSock http://www.15seco... | How to run remote shell scripts from ASP pages? I need to create an ASP page (classic, not ASP.NET) which runs remote shell scripts on a UNIX server, then captures the output into variables in VBScript within the page itself. I have never done ASP or VBScipt before. I have tried to google this stuff, but all I find are... | TITLE:
How to run remote shell scripts from ASP pages?
QUESTION:
I need to create an ASP page (classic, not ASP.NET) which runs remote shell scripts on a UNIX server, then captures the output into variables in VBScript within the page itself. I have never done ASP or VBScipt before. I have tried to google this stuff, ... | [
"asp-classic",
"vbscript"
] | 1 | 0 | 2,085 | 2 | 0 | 2008-08-14T14:42:50.887000 | 2008-08-14T15:17:54.217000 |
11,141 | 11,146 | ASP.NET Caching | Recently I have been investigating the possibilities of caching in ASP.NET. I rolled my own "Cache", because I didn't know any better, it looked a bit like this: public class DataManager {
private static DataManager s_instance;
public static DataManager GetInstance() { }
private Data[] m_myData; private DataTime m_c... | I think the maxim "let the computer do it; it's smarter than you" applies here. Just like memory management and other complicated things, the computer is a lot more informed about what it's doing than your are; consequently, able to get more performance than you are. Microsoft has had a team of engineers working on it ... | ASP.NET Caching Recently I have been investigating the possibilities of caching in ASP.NET. I rolled my own "Cache", because I didn't know any better, it looked a bit like this: public class DataManager {
private static DataManager s_instance;
public static DataManager GetInstance() { }
private Data[] m_myData; priv... | TITLE:
ASP.NET Caching
QUESTION:
Recently I have been investigating the possibilities of caching in ASP.NET. I rolled my own "Cache", because I didn't know any better, it looked a bit like this: public class DataManager {
private static DataManager s_instance;
public static DataManager GetInstance() { }
private Dat... | [
"asp.net",
"sql",
"caching"
] | 2 | 4 | 600 | 3 | 0 | 2008-08-14T14:46:30.317000 | 2008-08-14T14:52:54.267000 |
11,145 | 12,120 | Drawing Library for Ruby | I am trying to code a flowchart generator for a language using Ruby. I wanted to know if there were any libraries that I could use to draw various shapes for the various flowchart elements and write out text to those shapes. I would really prefer not having to write code for drawing basic shapes, if I can help it. Can ... | The simple answer is that (at time of writing) what you want almost certainly didn't exist. Sorry! If you're Windows-based then I'd look for a product in the.NET space, where I expect you'd find something. You're probably going to have to pay real money though. I suppose, if you're brave, you may be able to talk to it ... | Drawing Library for Ruby I am trying to code a flowchart generator for a language using Ruby. I wanted to know if there were any libraries that I could use to draw various shapes for the various flowchart elements and write out text to those shapes. I would really prefer not having to write code for drawing basic shape... | TITLE:
Drawing Library for Ruby
QUESTION:
I am trying to code a flowchart generator for a language using Ruby. I wanted to know if there were any libraries that I could use to draw various shapes for the various flowchart elements and write out text to those shapes. I would really prefer not having to write code for d... | [
"ruby",
"graphics",
"drawing"
] | 15 | 2 | 11,693 | 4 | 0 | 2008-08-14T14:51:28.217000 | 2008-08-15T10:07:39.113000 |
11,194 | 11,203 | How can I conditionally apply a Linq operator? | We're working on a Log Viewer. The use will have the option to filter by user, severity, etc. In the Sql days I'd add to the query string, but I want to do it with Linq. How can I conditionally add where-clauses? | if you want to only filter if certain criteria is passed, do something like this var logs = from log in context.Logs select log;
if (filterBySeverity) logs = logs.Where(p => p.Severity == severity);
if (filterByUser) logs = logs.Where(p => p.User == user); Doing so this way will allow your Expression tree to be exact... | How can I conditionally apply a Linq operator? We're working on a Log Viewer. The use will have the option to filter by user, severity, etc. In the Sql days I'd add to the query string, but I want to do it with Linq. How can I conditionally add where-clauses? | TITLE:
How can I conditionally apply a Linq operator?
QUESTION:
We're working on a Log Viewer. The use will have the option to filter by user, severity, etc. In the Sql days I'd add to the query string, but I want to do it with Linq. How can I conditionally add where-clauses?
ANSWER:
if you want to only filter if cer... | [
"c#",
"linq",
"linq-to-sql"
] | 105 | 171 | 116,967 | 13 | 0 | 2008-08-14T15:20:26.973000 | 2008-08-14T15:27:09.297000 |
11,199 | 11,215 | .NET Framework dependency | When developing a desktop application in.NET, is it possible to not require the.NET Framework? Is developing software in.NET a preferred way to develop desktop applications? What is the most used programming language that software companies use to develop desktop applications? Is the requirement of the.NET Framework ju... | You can still develop applications for the windows desktop using C/C++, eliminating the requirement to the.NET framework, but you'll need to make sure the necessary libraries are already on the system or installed. The nice thing about the.NET framework is that Windows XP SP2 and Vista has the 3.0 framework runtime ins... | .NET Framework dependency When developing a desktop application in.NET, is it possible to not require the.NET Framework? Is developing software in.NET a preferred way to develop desktop applications? What is the most used programming language that software companies use to develop desktop applications? Is the requireme... | TITLE:
.NET Framework dependency
QUESTION:
When developing a desktop application in.NET, is it possible to not require the.NET Framework? Is developing software in.NET a preferred way to develop desktop applications? What is the most used programming language that software companies use to develop desktop applications... | [
".net",
"frameworks",
"dependencies"
] | 5 | 10 | 4,211 | 15 | 0 | 2008-08-14T15:25:44.637000 | 2008-08-14T15:32:49.410000 |
11,200 | 11,240 | T-Sql date format for seconds since last epoch / formatting for sqlite input | I'm guessing it needs to be something like: CONVERT(CHAR(24), lastModified, 101) However I'm not sure of the right value for the third parameter. Thanks! Well I'm trying to write a script to copy my sql server db to a sqlite file, which gets downloaded to an air app, which then syncs the data to another sqlite file. I'... | I wound up using format 120 in MS SQL: convert(char(24), lastModified, 120) Each time I needed to a select a date in SQLite for non-display purposes I used: strftime(\"%Y-%m-%d %H:%M:%S\", dateModified) as dateModified Now I just need a readable/friendly way to display the date to the user! edit: accept answer goes to ... | T-Sql date format for seconds since last epoch / formatting for sqlite input I'm guessing it needs to be something like: CONVERT(CHAR(24), lastModified, 101) However I'm not sure of the right value for the third parameter. Thanks! Well I'm trying to write a script to copy my sql server db to a sqlite file, which gets d... | TITLE:
T-Sql date format for seconds since last epoch / formatting for sqlite input
QUESTION:
I'm guessing it needs to be something like: CONVERT(CHAR(24), lastModified, 101) However I'm not sure of the right value for the third parameter. Thanks! Well I'm trying to write a script to copy my sql server db to a sqlite ... | [
"t-sql",
"sqlite",
"date"
] | 1 | 1 | 8,713 | 6 | 0 | 2008-08-14T15:26:11.327000 | 2008-08-14T15:52:17.237000 |
11,219 | 11,238 | Calling REST web services from a classic asp page | I'd like to start moving our application business layers into a collection of REST web services. However, most of our Intranet has been built using Classic ASP and most of the developers where I work keep programming in Classic ASP. Ideally, then, for them to benefit from the advantages of a unique set of web APIs, it ... | You could use a combination of JQuery with JSON calls to consume REST services from the client or if you need to interact with the REST services from the ASP layer you can use MSXML2.ServerXMLHTTP like: Set HttpReq = Server.CreateObject("MSXML2.ServerXMLHTTP") HttpReq.open "GET", "Rest_URI", False HttpReq.send | Calling REST web services from a classic asp page I'd like to start moving our application business layers into a collection of REST web services. However, most of our Intranet has been built using Classic ASP and most of the developers where I work keep programming in Classic ASP. Ideally, then, for them to benefit fr... | TITLE:
Calling REST web services from a classic asp page
QUESTION:
I'd like to start moving our application business layers into a collection of REST web services. However, most of our Intranet has been built using Classic ASP and most of the developers where I work keep programming in Classic ASP. Ideally, then, for ... | [
"web-services",
"rest",
"asp-classic"
] | 29 | 34 | 63,687 | 7 | 0 | 2008-08-14T15:34:26.757000 | 2008-08-14T15:49:27.413000 |
11,263 | 11,271 | Do you know any patterns for GUI programming? (Not patterns on designing GUIs) | I'm looking for patterns that concern coding parts of a GUI. Not as global as MVC, that I'm quite familiar with, but patterns and good ideas and best practices concerning single controls and inputs. Let say I want to make a control that display some objects that may overlap. Now if I click on an object, I need to find ... | I think to be honest you a better just boning up on your standard design patterns and applying them to the individual problems that you face in developing your UI. While there are common UI "themes" (such as dealing with modifier keys) the actual implementation may vary widely. I have O'Reilly's Head First Design Patte... | Do you know any patterns for GUI programming? (Not patterns on designing GUIs) I'm looking for patterns that concern coding parts of a GUI. Not as global as MVC, that I'm quite familiar with, but patterns and good ideas and best practices concerning single controls and inputs. Let say I want to make a control that disp... | TITLE:
Do you know any patterns for GUI programming? (Not patterns on designing GUIs)
QUESTION:
I'm looking for patterns that concern coding parts of a GUI. Not as global as MVC, that I'm quite familiar with, but patterns and good ideas and best practices concerning single controls and inputs. Let say I want to make a... | [
"user-interface",
"design-patterns"
] | 8 | 6 | 9,709 | 6 | 0 | 2008-08-14T16:09:55.030000 | 2008-08-14T16:18:10.553000 |
11,267 | 11,307 | ASP.NET UserControl's and DefaultEvent | Outline OK, I have Google'd this and already expecting a big fat NO!! But I thought I should ask since I know sometimes there can be the odd little gem of knowledge lurking around in peoples heads ^_^ I am working my way through some excercises in a book for study, and this particular exercise is User Controls. I have ... | Here is a possible answer, without testing (like martin did). In reflector, you will see that the DefaultEventAttribute allows itself to be inherited. In reflector, you see that the UserControl class has it's default event set to the Load event. So the possible reason is that even though you are decorating your user co... | ASP.NET UserControl's and DefaultEvent Outline OK, I have Google'd this and already expecting a big fat NO!! But I thought I should ask since I know sometimes there can be the odd little gem of knowledge lurking around in peoples heads ^_^ I am working my way through some excercises in a book for study, and this partic... | TITLE:
ASP.NET UserControl's and DefaultEvent
QUESTION:
Outline OK, I have Google'd this and already expecting a big fat NO!! But I thought I should ask since I know sometimes there can be the odd little gem of knowledge lurking around in peoples heads ^_^ I am working my way through some excercises in a book for stud... | [
"c#",
"asp.net",
"user-controls",
"attributes"
] | 5 | 0 | 1,488 | 2 | 0 | 2008-08-14T16:14:36.427000 | 2008-08-14T16:42:13.093000 |
11,275 | 11,421 | Standard Signature a Text in a Message using Exchange Server | Anyone know how to do this without using a third party program? If there no way to do it with a add-on someone can recommend one? EDIT: I need to add this in the server so all users have the same signature. Thanks | You need to create your own exchange message sink to do this. Here's a classic VB example from MS KB: http://support.microsoft.com/kb/317327 and a VB Script one: http://support.microsoft.com/kb/317680 And lots of goodness from MSDN about Exchange 2003 Transport Event Sinks: http://msdn.microsoft.com/en-us/library/ms526... | Standard Signature a Text in a Message using Exchange Server Anyone know how to do this without using a third party program? If there no way to do it with a add-on someone can recommend one? EDIT: I need to add this in the server so all users have the same signature. Thanks | TITLE:
Standard Signature a Text in a Message using Exchange Server
QUESTION:
Anyone know how to do this without using a third party program? If there no way to do it with a add-on someone can recommend one? EDIT: I need to add this in the server so all users have the same signature. Thanks
ANSWER:
You need to create... | [
"outlook",
"exchange-server"
] | 2 | 2 | 3,267 | 2 | 0 | 2008-08-14T16:19:49.613000 | 2008-08-14T17:59:49.753000 |
11,279 | 11,297 | Automatically incremented revision number doesn't show up in the About Box | I have a small VB.NET application that I'm working on using the full version of Visual Studio 2005. In the Publish properties of the project, I have it set to Automatically increment revision with each publish. The issue is that it's only incrementing the revision in the Setup files. It doesn't seem to be updating the ... | Change the code for the About box to Me.LabelVersion.Text = String.Format("Version {0}", My.Application.Deployment.CurrentVersion.ToString) Please note that all the other answers are correct for "how do I get my assembly version", not the stated question "how do I show my publish version". | Automatically incremented revision number doesn't show up in the About Box I have a small VB.NET application that I'm working on using the full version of Visual Studio 2005. In the Publish properties of the project, I have it set to Automatically increment revision with each publish. The issue is that it's only increm... | TITLE:
Automatically incremented revision number doesn't show up in the About Box
QUESTION:
I have a small VB.NET application that I'm working on using the full version of Visual Studio 2005. In the Publish properties of the project, I have it set to Automatically increment revision with each publish. The issue is tha... | [
"vb.net",
"visual-studio"
] | 2 | 1 | 8,594 | 5 | 0 | 2008-08-14T16:25:12.457000 | 2008-08-14T16:35:52.903000 |
11,288 | 23,933 | Sorting a composite collection | So WPF doesn't support standard sorting or filtering behavior for views of CompositeCollections, so what would be a best practice for solving this problem. There are two or more object collections of different types. You want to combine them into a single sortable and filterable collection (withing having to manually i... | Update: I found a much more elegant solution: class MyCompositeObject { DateTime CreatedDate; string SomeAttribute; Object Obj1; { class MyCompositeObjects: List { } I found that due to reflection, the specific type stored in Obj1 is resolved at runtime and the type specific DataTemplate is applied as expected! | Sorting a composite collection So WPF doesn't support standard sorting or filtering behavior for views of CompositeCollections, so what would be a best practice for solving this problem. There are two or more object collections of different types. You want to combine them into a single sortable and filterable collectio... | TITLE:
Sorting a composite collection
QUESTION:
So WPF doesn't support standard sorting or filtering behavior for views of CompositeCollections, so what would be a best practice for solving this problem. There are two or more object collections of different types. You want to combine them into a single sortable and fi... | [
"c#",
".net",
"wpf",
"data-binding",
"collections"
] | 7 | 1 | 8,441 | 3 | 0 | 2008-08-14T16:30:49.933000 | 2008-08-23T03:48:11.093000 |
11,291 | 11,312 | Best way to capture key events in NSTextView? | I'm slowly learning Objective-C and Cocoa, and the only way I see so far to capture key events in Text Views is to use delegation, but I'm having trouble finding useful documentation and examples on how to implement such a solution. Can anyone point me in the right direction or supply some first-hand help? | Generally, the way you implement it is simply to add the required function to your view's controller, and set its delegate. For example, if you want code to run when the view loads, you just delegate your view to the controller, and implement the awakeFromNib function. So, to detect a key press in a text view, make sur... | Best way to capture key events in NSTextView? I'm slowly learning Objective-C and Cocoa, and the only way I see so far to capture key events in Text Views is to use delegation, but I'm having trouble finding useful documentation and examples on how to implement such a solution. Can anyone point me in the right directio... | TITLE:
Best way to capture key events in NSTextView?
QUESTION:
I'm slowly learning Objective-C and Cocoa, and the only way I see so far to capture key events in Text Views is to use delegation, but I'm having trouble finding useful documentation and examples on how to implement such a solution. Can anyone point me in ... | [
"objective-c",
"cocoa",
"events"
] | 16 | 14 | 6,700 | 4 | 0 | 2008-08-14T16:32:22.957000 | 2008-08-14T16:43:05.883000 |
11,305 | 11,325 | How to parse XML using vba | I work in VBA, and want to parse a string eg 24.365 78.63 and get the X & Y values into two separate integer variables. I'm a newbie when it comes to XML, since I'm stuck in VB6 and VBA, because of the field I work in. How do I do this? | This is a bit of a complicated question, but it seems like the most direct route would be to load the XML document or XML string via MSXML2.DOMDocument which will then allow you to access the XML nodes. You can find more on MSXML2.DOMDocument at the following sites: Manipulating XML files with Excel VBA & Xpath MSXML -... | How to parse XML using vba I work in VBA, and want to parse a string eg 24.365 78.63 and get the X & Y values into two separate integer variables. I'm a newbie when it comes to XML, since I'm stuck in VB6 and VBA, because of the field I work in. How do I do this? | TITLE:
How to parse XML using vba
QUESTION:
I work in VBA, and want to parse a string eg 24.365 78.63 and get the X & Y values into two separate integer variables. I'm a newbie when it comes to XML, since I'm stuck in VB6 and VBA, because of the field I work in. How do I do this?
ANSWER:
This is a bit of a complicate... | [
"xml",
"vba",
"parsing",
"xml-parsing"
] | 87 | 57 | 416,323 | 8 | 0 | 2008-08-14T16:41:25.903000 | 2008-08-14T16:47:07.437000 |
11,311 | 11,323 | Formatting text in WinForm Label | Is it possible to format certain text in a WinForm Label instead of breaking the text into multiple labels? Please disregard the HTML tags within the label's text; it's only used to get my point out. For example: Dim myLabel As New Label myLabel.Text = "This is bold text. This is italicized text." Which would produce t... | That's not possible with a WinForms label as it is. The label has to have exactly one font, with exactly one size and one face. You have a couple of options: Use separate labels Create a new Control-derived class that does its own drawing via GDI+ and use that instead of Label; this is probably your best option, as it ... | Formatting text in WinForm Label Is it possible to format certain text in a WinForm Label instead of breaking the text into multiple labels? Please disregard the HTML tags within the label's text; it's only used to get my point out. For example: Dim myLabel As New Label myLabel.Text = "This is bold text. This is italic... | TITLE:
Formatting text in WinForm Label
QUESTION:
Is it possible to format certain text in a WinForm Label instead of breaking the text into multiple labels? Please disregard the HTML tags within the label's text; it's only used to get my point out. For example: Dim myLabel As New Label myLabel.Text = "This is bold te... | [
"winforms",
"text",
"formatting",
"label"
] | 23 | 19 | 55,967 | 12 | 0 | 2008-08-14T16:43:03.903000 | 2008-08-14T16:45:50.810000 |
11,318 | 11,404 | Simple animation in WinForms | Imagine you want to animate some object on a WinForm. You setup a timer to update the state or model, and override the paint event of the Form. But from there, what's the best way to continually repaint the Form for the animation? Invalidate the Form as soon as you are done drawing? Setup a second timer and invalidate ... | In some situations, it's faster and more convenient to not draw using the paint event, but getting the Graphics object from the control/form and painting "on" that. This may give some troubles with opacity/anti aliasing/text etc, but could be worth the trouble in terms of not having to repaint the whole shabang. Someth... | Simple animation in WinForms Imagine you want to animate some object on a WinForm. You setup a timer to update the state or model, and override the paint event of the Form. But from there, what's the best way to continually repaint the Form for the animation? Invalidate the Form as soon as you are done drawing? Setup a... | TITLE:
Simple animation in WinForms
QUESTION:
Imagine you want to animate some object on a WinForm. You setup a timer to update the state or model, and override the paint event of the Form. But from there, what's the best way to continually repaint the Form for the animation? Invalidate the Form as soon as you are don... | [
".net",
"winforms",
"animation"
] | 25 | 9 | 30,182 | 3 | 0 | 2008-08-14T16:44:42.060000 | 2008-08-14T17:39:43.307000 |
11,341 | 13,431 | Create PDFs from multipage forms in WebObjects | I would like to automatically generate PDF documents from WebObjects based on mulitpage forms. Assuming I have a class which can assemble the related forms (java/wod files) is there a good way to then parse the individual forms into a PDF instead of going to the screen? | The canonical response when asked about PDFs from WebObjects has generally been ReportMill. It's a PDF document generating framework that works a lot like WebObjects, and includes its own graphical PDF builder tool similar to WebObjects Builder and Interface Builder. You can bind elements in your generated PDFs to dyna... | Create PDFs from multipage forms in WebObjects I would like to automatically generate PDF documents from WebObjects based on mulitpage forms. Assuming I have a class which can assemble the related forms (java/wod files) is there a good way to then parse the individual forms into a PDF instead of going to the screen? | TITLE:
Create PDFs from multipage forms in WebObjects
QUESTION:
I would like to automatically generate PDF documents from WebObjects based on mulitpage forms. Assuming I have a class which can assemble the related forms (java/wod files) is there a good way to then parse the individual forms into a PDF instead of going... | [
"java",
"pdf",
"webobjects"
] | 2 | 2 | 829 | 6 | 0 | 2008-08-14T17:06:46.493000 | 2008-08-17T00:40:16.287000 |
11,345 | 149,088 | XPATHS and Default Namespaces | What is the story behind XPath and support for namespaces? Did XPath as a specification precede namespaces? If I have a document where elements have been given a default namespace: It appears as though some of the XPath processor libraries won't recognize //foo because of the namespace whereas others will. The option m... | I tried something similar to what palehorse proposed and could not get it to work. Since I was getting data from a published service I couldn't change the xml. I ended up using XmlDocument and XmlNamespaceManager like so: XmlDocument doc = new XmlDocument(); doc.LoadXml(xmlWithBogusNamespace); XmlNamespaceManager nSpac... | XPATHS and Default Namespaces What is the story behind XPath and support for namespaces? Did XPath as a specification precede namespaces? If I have a document where elements have been given a default namespace: It appears as though some of the XPath processor libraries won't recognize //foo because of the namespace whe... | TITLE:
XPATHS and Default Namespaces
QUESTION:
What is the story behind XPath and support for namespaces? Did XPath as a specification precede namespaces? If I have a document where elements have been given a default namespace: It appears as though some of the XPath processor libraries won't recognize //foo because of... | [
"c#",
"xml",
"xpath",
"namespaces"
] | 17 | 10 | 10,924 | 5 | 0 | 2008-08-14T17:09:43.867000 | 2008-09-29T15:09:35.493000 |
11,359 | 92,557 | What is good server performance monitoring software for Windows? | I'm looking for some software to monitor a single server for performance alerts. Preferably free and with a reasonable default configuration. Edit: To clarify, I would like to run this software on a Windows machine and monitor a remote Windows server for CPU/memory/etc. usage alerts (not a single application). Edit: I ... | For performance monitor - start it on the server ( Win + R and enter "perfmon"). Select "Performance Logs and Alerts" and expand. Select "Alerts". Select "Action" & then "New Alert". Give the alert a name, click "Add" to add a counter (there are hundres of counters, for example CPU %), then give it some limits. Select ... | What is good server performance monitoring software for Windows? I'm looking for some software to monitor a single server for performance alerts. Preferably free and with a reasonable default configuration. Edit: To clarify, I would like to run this software on a Windows machine and monitor a remote Windows server for ... | TITLE:
What is good server performance monitoring software for Windows?
QUESTION:
I'm looking for some software to monitor a single server for performance alerts. Preferably free and with a reasonable default configuration. Edit: To clarify, I would like to run this software on a Windows machine and monitor a remote W... | [
"windows",
"performance",
"system-administration"
] | 8 | 2 | 18,233 | 7 | 0 | 2008-08-14T17:17:30.013000 | 2008-09-18T13:33:17.007000 |
11,381 | 11,413 | Making human readable representations of an Integer | Here's a coding problem for those that like this kind of thing. Let's see your implementations (in your language of choice, of course) of a function which returns a human readable String representation of a specified Integer. For example: humanReadable(1) returns "one". humanReadable(53) returns "fifty-three". humanRea... | There was already a question about this: Convert integers to written numbers The answer is for C#, but I think you can figure it out. | Making human readable representations of an Integer Here's a coding problem for those that like this kind of thing. Let's see your implementations (in your language of choice, of course) of a function which returns a human readable String representation of a specified Integer. For example: humanReadable(1) returns "one... | TITLE:
Making human readable representations of an Integer
QUESTION:
Here's a coding problem for those that like this kind of thing. Let's see your implementations (in your language of choice, of course) of a function which returns a human readable String representation of a specified Integer. For example: humanReadab... | [
"algorithm",
"numbers"
] | 5 | 8 | 2,226 | 6 | 0 | 2008-08-14T17:25:29.747000 | 2008-08-14T17:49:35.190000 |
11,405 | 11,414 | GCC issue: using a member of a base class that depends on a template argument | The following code doesn't compile with gcc, but does with Visual Studio: template class A { public: T foo; };
template class B: public A { public: void bar() { cout << foo << endl; } }; I get the error: test.cpp: In member function ‘void B::bar()’: test.cpp:11: error: ‘foo’ was not declared in this scope But it shoul... | This changed in gcc-3.4. The C++ parser got much more strict in that release -- per the spec but still kinda annoying for people with legacy or multi-platform code bases. | GCC issue: using a member of a base class that depends on a template argument The following code doesn't compile with gcc, but does with Visual Studio: template class A { public: T foo; };
template class B: public A { public: void bar() { cout << foo << endl; } }; I get the error: test.cpp: In member function ‘void B:... | TITLE:
GCC issue: using a member of a base class that depends on a template argument
QUESTION:
The following code doesn't compile with gcc, but does with Visual Studio: template class A { public: T foo; };
template class B: public A { public: void bar() { cout << foo << endl; } }; I get the error: test.cpp: In member... | [
"c++",
"templates",
"base-class",
"class-members",
"name-lookup"
] | 37 | 12 | 8,267 | 5 | 0 | 2008-08-14T17:39:46.520000 | 2008-08-14T17:50:24.750000 |
11,423 | 11,428 | How to host a WPF form in a MFC application | I'm looking for any resources on hosting a WPF form within an existing MFC application. Can anyone point me in the right direction on how to do this? | From what I understand (haven't tried myself), it's almost as simple as just giving the WPF control the parent's handle. Here's a Walkthrough: Hosting WPF Content in Win32. | How to host a WPF form in a MFC application I'm looking for any resources on hosting a WPF form within an existing MFC application. Can anyone point me in the right direction on how to do this? | TITLE:
How to host a WPF form in a MFC application
QUESTION:
I'm looking for any resources on hosting a WPF form within an existing MFC application. Can anyone point me in the right direction on how to do this?
ANSWER:
From what I understand (haven't tried myself), it's almost as simple as just giving the WPF control... | [
"c#",
"wpf",
"mfc"
] | 13 | 5 | 4,702 | 1 | 0 | 2008-08-14T18:04:45.237000 | 2008-08-14T18:06:36.700000 |
11,430 | 11,436 | What version of .Net framework ships with SQL Server 2008? | Does SQL Server 2008 ship with the.NET 3.5 CLR, so that stored procedures written in CLR can use 3.5 features? | Actually it ships with.NET 3.5 SP1. So yes, the stored procs can use 3.5 features and libraries. | What version of .Net framework ships with SQL Server 2008? Does SQL Server 2008 ship with the.NET 3.5 CLR, so that stored procedures written in CLR can use 3.5 features? | TITLE:
What version of .Net framework ships with SQL Server 2008?
QUESTION:
Does SQL Server 2008 ship with the.NET 3.5 CLR, so that stored procedures written in CLR can use 3.5 features?
ANSWER:
Actually it ships with.NET 3.5 SP1. So yes, the stored procs can use 3.5 features and libraries. | [
"sql-server",
"sql-server-2008"
] | 6 | 10 | 2,724 | 2 | 0 | 2008-08-14T18:08:00.567000 | 2008-08-14T18:09:59.627000 |
11,439 | 11,447 | Visual Studio Setup Project Custom Dialog | I have created a custom dialog for Visual Studio Setup Project using the steps described here Now I have a combobox in one of my dialogs. I want to populate the combobox with a list of all SQL Server instances running on the local network. It's trivial to get the server list... but I'm completely lost on how to make th... | I've always found the custom dialogs in visual studio setup projects to be woefully limited and barely functional. By contrast, I normally create custom actions that display winforms gui's for any remotely difficult tasks during setup. Works really well and you can do just about anything you want by creating a custom a... | Visual Studio Setup Project Custom Dialog I have created a custom dialog for Visual Studio Setup Project using the steps described here Now I have a combobox in one of my dialogs. I want to populate the combobox with a list of all SQL Server instances running on the local network. It's trivial to get the server list...... | TITLE:
Visual Studio Setup Project Custom Dialog
QUESTION:
I have created a custom dialog for Visual Studio Setup Project using the steps described here Now I have a combobox in one of my dialogs. I want to populate the combobox with a list of all SQL Server instances running on the local network. It's trivial to get ... | [
".net",
"visual-studio",
"windows-installer",
"installation",
"projects"
] | 6 | 13 | 18,363 | 2 | 0 | 2008-08-14T18:11:31.400000 | 2008-08-14T18:17:36.613000 |
11,460 | 11,472 | ASP.NET Proxy Application | Let me try to explain what I need. I have a server that is visible from the internet. What I need is to create a ASP.NET application that get the request of a web Site and send to a internal server, then it gets the response and publish the the info. For the client this should be totally transparent. For different reas... | Why won't any old proxy software work for this? Why does it need to be an ASP.NET application? There are TONS of tools out there (both Windows and *nix) that will get the job done quite easily. Check Squid or NetProxy for starters. If you need to integrate with IIS, IISProxy looks like it would do the trick too. | ASP.NET Proxy Application Let me try to explain what I need. I have a server that is visible from the internet. What I need is to create a ASP.NET application that get the request of a web Site and send to a internal server, then it gets the response and publish the the info. For the client this should be totally trans... | TITLE:
ASP.NET Proxy Application
QUESTION:
Let me try to explain what I need. I have a server that is visible from the internet. What I need is to create a ASP.NET application that get the request of a web Site and send to a internal server, then it gets the response and publish the the info. For the client this shoul... | [
".net",
"asp.net",
"iis"
] | 3 | 3 | 1,811 | 2 | 0 | 2008-08-14T18:28:42.990000 | 2008-08-14T18:38:24.513000 |
11,462 | 4,500,707 | Sharepoint Wikis | Ok, I've seen a few posts that mention a few other posts about not using SP wikis because they suck. Since we are looking at doing our wiki in SP, I need to know why we shouldn't do it for a group of 6 automation-developers to document the steps in various automated processes and the changes that have to be made from t... | Before the rant, here is my overall experience with SharePoint as a wiki. It is a poorly implemented feature that failed becouse there was a fundemental lack of investigation into what current wiki environments provide. That is why it failed in it's editor and why it misses on points like: tagging, history comparison, ... | Sharepoint Wikis Ok, I've seen a few posts that mention a few other posts about not using SP wikis because they suck. Since we are looking at doing our wiki in SP, I need to know why we shouldn't do it for a group of 6 automation-developers to document the steps in various automated processes and the changes that have ... | TITLE:
Sharepoint Wikis
QUESTION:
Ok, I've seen a few posts that mention a few other posts about not using SP wikis because they suck. Since we are looking at doing our wiki in SP, I need to know why we shouldn't do it for a group of 6 automation-developers to document the steps in various automated processes and the ... | [
"sharepoint",
"automation",
"sharepoint-wiki"
] | 23 | 5 | 20,406 | 17 | 0 | 2008-08-14T18:30:01.160000 | 2010-12-21T15:13:23.837000 |
11,491 | 11,502 | String To Lower/Upper in C++ | What is the best way people have found to do String to Lower case / Upper case in C++? The issue is complicated by the fact that C++ isn't an English only programming language. Is there a good multilingual method? | #include std::string data = "Abc"; std::transform(data.begin(), data.end(), data.begin(),::toupper); http://notfaq.wordpress.com/2007/08/04/cc-convert-string-to-upperlower-case/ Also, CodeProject article for common string methods: http://www.codeproject.com/KB/stl/STL_string_util.aspx | String To Lower/Upper in C++ What is the best way people have found to do String to Lower case / Upper case in C++? The issue is complicated by the fact that C++ isn't an English only programming language. Is there a good multilingual method? | TITLE:
String To Lower/Upper in C++
QUESTION:
What is the best way people have found to do String to Lower case / Upper case in C++? The issue is complicated by the fact that C++ isn't an English only programming language. Is there a good multilingual method?
ANSWER:
#include std::string data = "Abc"; std::transform(... | [
"c++",
"string",
"unicode"
] | 27 | 32 | 31,102 | 10 | 0 | 2008-08-14T18:49:47.703000 | 2008-08-14T18:53:43.530000 |
11,500 | 11,521 | Speeding up an ASP.Net Web Site or Application | I have an Ajax.Net enabled ASP.Net 2.0 web site. Hosting for both the site and the database are out of my control as is the database's schema. In testing on hardware I do control the site performs well however on the client's hardware, there are noticeable delays when reloading or changing pages. What I would like to d... | Script Combining in.net 3.5 SP1 Best Practices for fast websites HTTP Compression (gzip) Compress JS / CSS (different than http compression, minify javascript) YUI Compressor.NET YUI Compressor My best advice is to check out the YUI content. They have some great articles that talk about things like CSS sprites and have... | Speeding up an ASP.Net Web Site or Application I have an Ajax.Net enabled ASP.Net 2.0 web site. Hosting for both the site and the database are out of my control as is the database's schema. In testing on hardware I do control the site performs well however on the client's hardware, there are noticeable delays when relo... | TITLE:
Speeding up an ASP.Net Web Site or Application
QUESTION:
I have an Ajax.Net enabled ASP.Net 2.0 web site. Hosting for both the site and the database are out of my control as is the database's schema. In testing on hardware I do control the site performs well however on the client's hardware, there are noticeabl... | [
"asp.net",
"ajax",
"optimization",
"performance"
] | 25 | 22 | 3,351 | 12 | 0 | 2008-08-14T18:52:54.017000 | 2008-08-14T19:03:58.720000 |
11,514 | 53,412 | Is it possible to be ambikeyboardrous? | I switched to the dvorak keyboard layout about a year ago. I now use dvorak full-time at work and at home. Recently, I went on vacation to Peru and found myself in quite a conundrum. Internet cafes were qwerty-only (and Spanish qwerty, at that). I was stuck with a hunt-and-peck routine that grew old fairly quickly. Tha... | Web For your situation of being at a public computer that you cannot switch the keyboard layout on, you can go to this website: http://www.dvzine.org/type/DVconverter.html Use this to translate your typing and then use copy paste. I found this very useful when I was out of the country and had to write a bunch of emails... | Is it possible to be ambikeyboardrous? I switched to the dvorak keyboard layout about a year ago. I now use dvorak full-time at work and at home. Recently, I went on vacation to Peru and found myself in quite a conundrum. Internet cafes were qwerty-only (and Spanish qwerty, at that). I was stuck with a hunt-and-peck ro... | TITLE:
Is it possible to be ambikeyboardrous?
QUESTION:
I switched to the dvorak keyboard layout about a year ago. I now use dvorak full-time at work and at home. Recently, I went on vacation to Peru and found myself in quite a conundrum. Internet cafes were qwerty-only (and Spanish qwerty, at that). I was stuck with ... | [
"keyboard",
"dvorak",
"qwerty"
] | 15 | 11 | 8,297 | 15 | 0 | 2008-08-14T19:00:16.793000 | 2008-09-10T04:21:55.433000 |
11,516 | 12,138 | Variable Bindings in WPF | I’m creating a UserControl for a rich TreeView (one that has context menus for renaming nodes, adding child nodes, etc.). I want to be able to use this control to manage or navigate any hierarchical data structures I will create. I currently have it working for any data structure that implements the following interface... | Perhaps this might help: Create a new Binding when you set the HeaderProperty property on the Header dependency property: Header property is your normal everyday DependencyProperty: public string Header { get { return (string)GetValue(HeaderProperty); } set { SetValue(HeaderProperty, value); } }
public static readonly... | Variable Bindings in WPF I’m creating a UserControl for a rich TreeView (one that has context menus for renaming nodes, adding child nodes, etc.). I want to be able to use this control to manage or navigate any hierarchical data structures I will create. I currently have it working for any data structure that implement... | TITLE:
Variable Bindings in WPF
QUESTION:
I’m creating a UserControl for a rich TreeView (one that has context menus for renaming nodes, adding child nodes, etc.). I want to be able to use this control to manage or navigate any hierarchical data structures I will create. I currently have it working for any data struct... | [
"c#",
"wpf",
"data-binding"
] | 5 | 2 | 3,578 | 1 | 0 | 2008-08-14T19:01:02.737000 | 2008-08-15T11:08:05.780000 |
11,520 | 11,529 | What are the list of Resharper like plugins for VS I should consider? | My license for Whole Tomatoes Visual AssistX is about to expire and I'm not really planning on renewing it. I use it for spell checking but that's about it. The refactoring abilities have been a little disappointing. Before I just jump into Resharper though what are your thoughts on other possible plugins? | The other major player would be DevExpress and their CodeRush and Refactor products. Found here. | What are the list of Resharper like plugins for VS I should consider? My license for Whole Tomatoes Visual AssistX is about to expire and I'm not really planning on renewing it. I use it for spell checking but that's about it. The refactoring abilities have been a little disappointing. Before I just jump into Resharper... | TITLE:
What are the list of Resharper like plugins for VS I should consider?
QUESTION:
My license for Whole Tomatoes Visual AssistX is about to expire and I'm not really planning on renewing it. I use it for spell checking but that's about it. The refactoring abilities have been a little disappointing. Before I just j... | [
".net",
"visual-studio"
] | 3 | 2 | 1,993 | 6 | 0 | 2008-08-14T19:03:53.590000 | 2008-08-14T19:06:54.020000 |
11,532 | 14,625 | How can I find unused functions in a PHP project | How can I find any unused functions in a PHP project? Are there features or APIs built into PHP that will allow me to analyse my codebase - for example Reflection, token_get_all()? Are these APIs feature rich enough for me not to have to rely on a third party tool to perform this type of analysis? | Thanks Greg and Dave for the feedback. Wasn't quite what I was looking for, but I decided to put a bit of time into researching it and came up with this quick and dirty solution: ". " ". " Name ". " Defined ". " Referenced ". " "; foreach ($functions as $name => $value) { echo " ". " ". htmlentities($name). " ". " ". (... | How can I find unused functions in a PHP project How can I find any unused functions in a PHP project? Are there features or APIs built into PHP that will allow me to analyse my codebase - for example Reflection, token_get_all()? Are these APIs feature rich enough for me not to have to rely on a third party tool to per... | TITLE:
How can I find unused functions in a PHP project
QUESTION:
How can I find any unused functions in a PHP project? Are there features or APIs built into PHP that will allow me to analyse my codebase - for example Reflection, token_get_all()? Are these APIs feature rich enough for me not to have to rely on a third... | [
"php"
] | 71 | 25 | 35,718 | 10 | 0 | 2008-08-14T19:08:21.503000 | 2008-08-18T13:47:41.860000 |
11,561 | 11,619 | What is the difference between an endpoint, a service, and a port when working with webservices? | I've used Apache CXF to expose about ten java classes as web services. I've generated clients using CXF, Axis, and.NET. In Axis and CXF a "Service" or "Locator" is generated. From this service you can get a "Port". The "Port" is used to make individual calls to the methods exposed by the web service. In.NET the "Servic... | I'd hop over to http://www.w3.org/TR/wsdl.html which I think explains Port, Service and Endpoint reasonably well. A locator is an implementation specific mechanism that some WS stacks use to provide access to service endpoints. | What is the difference between an endpoint, a service, and a port when working with webservices? I've used Apache CXF to expose about ten java classes as web services. I've generated clients using CXF, Axis, and.NET. In Axis and CXF a "Service" or "Locator" is generated. From this service you can get a "Port". The "Por... | TITLE:
What is the difference between an endpoint, a service, and a port when working with webservices?
QUESTION:
I've used Apache CXF to expose about ten java classes as web services. I've generated clients using CXF, Axis, and.NET. In Axis and CXF a "Service" or "Locator" is generated. From this service you can get ... | [
"java",
".net",
"web-services",
"cxf",
"axis"
] | 25 | 9 | 46,129 | 4 | 0 | 2008-08-14T19:23:54.547000 | 2008-08-14T19:54:23.860000 |
11,562 | 2,684,544 | How to overload std::swap() | std::swap() is used by many std containers (such as std::list and std::vector ) during sorting and even assignment. But the std implementation of swap() is very generalized and rather inefficient for custom types. Thus efficiency can be gained by overloading std::swap() with a custom type specific implementation. But h... | The right way to overload std::swap 's implemention (aka specializing it), is to write it in the same namespace as what you're swapping, so that it can be found via argument-dependent lookup (ADL). One particularly easy thing to do is: class X { //... friend void swap(X& a, X& b) { using std::swap; // bring in swap for... | How to overload std::swap() std::swap() is used by many std containers (such as std::list and std::vector ) during sorting and even assignment. But the std implementation of swap() is very generalized and rather inefficient for custom types. Thus efficiency can be gained by overloading std::swap() with a custom type sp... | TITLE:
How to overload std::swap()
QUESTION:
std::swap() is used by many std containers (such as std::list and std::vector ) during sorting and even assignment. But the std implementation of swap() is very generalized and rather inefficient for custom types. Thus efficiency can be gained by overloading std::swap() wit... | [
"c++",
"performance",
"optimization",
"stl",
"c++-faq"
] | 128 | 154 | 38,665 | 4 | 0 | 2008-08-14T19:24:17.260000 | 2010-04-21T16:02:22.350000 |
11,574 | 230,204 | How can I improve performance when adding InDesign XMLElements via AppleScript? | I have an AppleScript program which creates XML tags and elements within an Adobe InDesign document. The data is in tables, and tagging each cell takes.5 seconds. The entire script takes several hours to complete. I can post the inner loop code, but I'm not sure if SO is supposed to be generic or specific. I'll let the... | I figured this one out. The document contains a bunch of data tables. In all, there are about 7,000 data points that need to be exported. I was creating one root element with 7,000 children. Don't do that. Adding each child to the root element got slower and slower until at about 5,000 children AppleScript timed out an... | How can I improve performance when adding InDesign XMLElements via AppleScript? I have an AppleScript program which creates XML tags and elements within an Adobe InDesign document. The data is in tables, and tagging each cell takes.5 seconds. The entire script takes several hours to complete. I can post the inner loop ... | TITLE:
How can I improve performance when adding InDesign XMLElements via AppleScript?
QUESTION:
I have an AppleScript program which creates XML tags and elements within an Adobe InDesign document. The data is in tables, and tagging each cell takes.5 seconds. The entire script takes several hours to complete. I can po... | [
"macos",
"adobe",
"applescript",
"adobe-indesign"
] | 7 | 1 | 1,569 | 5 | 0 | 2008-08-14T19:32:03.190000 | 2008-10-23T15:33:52.443000 |
11,585 | 11,641 | Clearing Page Cache in ASP.NET | For my blog I am wanting to use the Output Cache to save a cached version of a perticular post for around 10 minutes, and thats fine... <%@OutputCache Duration="600" VaryByParam="*" %> However, if someone posts a comment, I want to clear the cache so that the page is refreshed and the comment can be seen. How do I do t... | I've found the answer I was looking for: HttpResponse.RemoveOutputCacheItem("/caching/CacheForever.aspx"); | Clearing Page Cache in ASP.NET For my blog I am wanting to use the Output Cache to save a cached version of a perticular post for around 10 minutes, and thats fine... <%@OutputCache Duration="600" VaryByParam="*" %> However, if someone posts a comment, I want to clear the cache so that the page is refreshed and the com... | TITLE:
Clearing Page Cache in ASP.NET
QUESTION:
For my blog I am wanting to use the Output Cache to save a cached version of a perticular post for around 10 minutes, and thats fine... <%@OutputCache Duration="600" VaryByParam="*" %> However, if someone posts a comment, I want to clear the cache so that the page is ref... | [
"c#",
"asp.net",
"outputcache"
] | 53 | 49 | 110,132 | 8 | 0 | 2008-08-14T19:39:32.033000 | 2008-08-14T20:04:36.290000 |
11,586 | 11,617 | Do you use design patterns? | What's the penetration of design patterns in the real world? Do you use them in your day to day job - discussing how and where to apply them with your coworkers - or do they remain more of an academic concept? Do they actually provide actual value to your job? Or are they just something that people talk about to sound ... | Any large program that is well written will use design patterns, even if they aren't named or recognized as such. That's what design patterns are, designs that repeatedly and naturally occur. If you're interfacing with an ugly API, you'll likely find yourself implementing a Facade to clean it up. If you've got messagin... | Do you use design patterns? What's the penetration of design patterns in the real world? Do you use them in your day to day job - discussing how and where to apply them with your coworkers - or do they remain more of an academic concept? Do they actually provide actual value to your job? Or are they just something that... | TITLE:
Do you use design patterns?
QUESTION:
What's the penetration of design patterns in the real world? Do you use them in your day to day job - discussing how and where to apply them with your coworkers - or do they remain more of an academic concept? Do they actually provide actual value to your job? Or are they j... | [
"language-agnostic",
"design-patterns"
] | 29 | 55 | 3,923 | 15 | 0 | 2008-08-14T19:39:32.813000 | 2008-08-14T19:54:09.633000 |
11,612 | 11,646 | Is there any wiki engine that supports page creation by email? | I want to consolidate all the loose information of the company I work for into a knowledge base. A wiki seems to be the way to go, but most of the relevant information is buried inside PST files, and it would take ages to convince people to manually translate their emails one by one (including attachments) into wiki pa... | Both Jotspot and MediaWiki allow you to do this. The latter has support for a lot of plugins, of which this is one. The format is essentially PageTitle@something. Jotspot is a hosted solution where you get your own email address, MediaWiki is self-hosted and you give it a mailbox to monitor for incoming. Articles are a... | Is there any wiki engine that supports page creation by email? I want to consolidate all the loose information of the company I work for into a knowledge base. A wiki seems to be the way to go, but most of the relevant information is buried inside PST files, and it would take ages to convince people to manually transla... | TITLE:
Is there any wiki engine that supports page creation by email?
QUESTION:
I want to consolidate all the loose information of the company I work for into a knowledge base. A wiki seems to be the way to go, but most of the relevant information is buried inside PST files, and it would take ages to convince people t... | [
"email",
"wiki",
"mime",
"wiki-engine"
] | 6 | 3 | 401 | 2 | 0 | 2008-08-14T19:51:52.010000 | 2008-08-14T20:06:44.180000 |
11,620 | 11,624 | How do you kill all current connections to a SQL Server 2005 database? | I want to rename a database, but keep getting the error that 'couldn't get exclusive lock' on the database, which implies there is some connection(s) still active. How can I kill all the connections to the database so that I can rename it? | The reason that the approach that Adam suggested won't work is that during the time that you are looping over the active connections new one can be established, and you'll miss those. You could instead use the following approach which does not have this drawback: -- set your current connection to use master otherwise y... | How do you kill all current connections to a SQL Server 2005 database? I want to rename a database, but keep getting the error that 'couldn't get exclusive lock' on the database, which implies there is some connection(s) still active. How can I kill all the connections to the database so that I can rename it? | TITLE:
How do you kill all current connections to a SQL Server 2005 database?
QUESTION:
I want to rename a database, but keep getting the error that 'couldn't get exclusive lock' on the database, which implies there is some connection(s) still active. How can I kill all the connections to the database so that I can re... | [
"sql-server",
"sql-server-2005"
] | 296 | 391 | 436,762 | 19 | 0 | 2008-08-14T19:54:25.187000 | 2008-08-14T19:56:56.633000 |
11,632 | 11,663 | What are the most important functional differences between C# and VB.NET? | Certainly there's the difference in general syntax, but what other critical distinctions exist? There are some differences, right? | The linked comparisons are very thorough, but as far as the main differences I would note the following: C# has anonymous methods VB has these now, too C# has the yield keyword (iterator blocks) VB11 added this VB supports implicit late binding (C# has explicit late binding now via the dynamic keyword) VB supports XML ... | What are the most important functional differences between C# and VB.NET? Certainly there's the difference in general syntax, but what other critical distinctions exist? There are some differences, right? | TITLE:
What are the most important functional differences between C# and VB.NET?
QUESTION:
Certainly there's the difference in general syntax, but what other critical distinctions exist? There are some differences, right?
ANSWER:
The linked comparisons are very thorough, but as far as the main differences I would not... | [
"c#",
"vb.net",
"comparison"
] | 35 | 34 | 10,415 | 14 | 0 | 2008-08-14T19:59:40.090000 | 2008-08-14T20:23:55.457000 |
11,635 | 315,463 | Case-insensitive string comparison in C++ | What is the best way of doing case-insensitive string comparison in C++ without transforming a string to all uppercase or all lowercase? Please indicate whether the methods are Unicode-friendly and how portable they are. | Boost includes a handy algorithm for this: #include // Or, for fewer header dependencies: //#include std::string str1 = "hello, world!"; std::string str2 = "HELLO, WORLD!";
if (boost::iequals(str1, str2)) { // Strings are identical } | Case-insensitive string comparison in C++ What is the best way of doing case-insensitive string comparison in C++ without transforming a string to all uppercase or all lowercase? Please indicate whether the methods are Unicode-friendly and how portable they are. | TITLE:
Case-insensitive string comparison in C++
QUESTION:
What is the best way of doing case-insensitive string comparison in C++ without transforming a string to all uppercase or all lowercase? Please indicate whether the methods are Unicode-friendly and how portable they are.
ANSWER:
Boost includes a handy algorit... | [
"c++",
"string"
] | 372 | 331 | 642,362 | 30 | 0 | 2008-08-14T20:01:28.497000 | 2008-11-24T21:03:58.740000 |
11,665 | 12,310 | How do I restyle an Adobe Flex Accordion to include a button in each canvas header? | Here is the sample code for my accordion: I would like to include a button in each header like so: | Thanks, I got it working using FlexLib 's CanvasButtonAccordionHeader. | How do I restyle an Adobe Flex Accordion to include a button in each canvas header? Here is the sample code for my accordion: I would like to include a button in each header like so: | TITLE:
How do I restyle an Adobe Flex Accordion to include a button in each canvas header?
QUESTION:
Here is the sample code for my accordion: I would like to include a button in each header like so:
ANSWER:
Thanks, I got it working using FlexLib 's CanvasButtonAccordionHeader. | [
"apache-flex",
"actionscript-3"
] | 2 | 2 | 5,993 | 2 | 0 | 2008-08-14T20:25:07.840000 | 2008-08-15T14:47:51.863000 |
11,676 | 11,688 | Creating a development environment for SharePoint | I haven't touched sharepoint in years. If I want to setup a development environment to get up to speed, what options do I have? I don't have an MSDN license, is there anyway I can get up and running for free? (for development only) | You need a Windows 2003 Server (or 2008 Server, but I have no experience with that), no way around that. You can then of course use Visual C# 2005 Express and the SHarepoint Services 3.0 if that's your target. If you want to do development on Sharepoint 2007, you have to buy a Sharepoint 2007 license, which has a prett... | Creating a development environment for SharePoint I haven't touched sharepoint in years. If I want to setup a development environment to get up to speed, what options do I have? I don't have an MSDN license, is there anyway I can get up and running for free? (for development only) | TITLE:
Creating a development environment for SharePoint
QUESTION:
I haven't touched sharepoint in years. If I want to setup a development environment to get up to speed, what options do I have? I don't have an MSDN license, is there anyway I can get up and running for free? (for development only)
ANSWER:
You need a ... | [
"sharepoint"
] | 5 | 9 | 3,123 | 6 | 0 | 2008-08-14T20:34:07.727000 | 2008-08-14T20:49:08.633000 |
11,680 | 11,712 | Design pattern for parsing binary file data and storing in a database | Does anybody recommend a design pattern for taking a binary data file, parsing parts of it into objects and storing the resultant data into a database? I think a similar pattern could be used for taking an XML or tab-delimited file and parse it into their representative objects. A common data structure would include: (... | Write your file parser, using whatever techniques come to mind. Write lots of unit tests to make sure all your edge cases are covered. Once you've done this, you will actually have a reasonable idea of the problem/solution. Right now you just have theories floating around in your head, most of which will turn out to be... | Design pattern for parsing binary file data and storing in a database Does anybody recommend a design pattern for taking a binary data file, parsing parts of it into objects and storing the resultant data into a database? I think a similar pattern could be used for taking an XML or tab-delimited file and parse it into ... | TITLE:
Design pattern for parsing binary file data and storing in a database
QUESTION:
Does anybody recommend a design pattern for taking a binary data file, parsing parts of it into objects and storing the resultant data into a database? I think a similar pattern could be used for taking an XML or tab-delimited file ... | [
"design-patterns",
"fileparse"
] | 6 | 22 | 8,056 | 4 | 0 | 2008-08-14T20:36:07.380000 | 2008-08-14T21:20:18.213000 |
11,686 | 11,728 | Is there any kind of non text interface to MySQL? | I have a MySQL query that returns a result with a single column of integers. Is there any way to get the MySQL C API to transfer this as actually integers rather than as ASCII text? For that matter is there a way to get MySQL to do /any/ of the API stuff as other than ASCII text. I'm thinking this would save a bit of t... | You're probably out of luck, to be honest. Looking at the MySQL C API ( http://dev.mysql.com/doc/refman/5.0/en/mysql-fetch-row.html, http://dev.mysql.com/doc/refman/5.0/en/c-api-datatypes.html, look at MYSQL_ROW) there doesn't seem to be a mechanism for returning data in its actual type... the joys of using structs I g... | Is there any kind of non text interface to MySQL? I have a MySQL query that returns a result with a single column of integers. Is there any way to get the MySQL C API to transfer this as actually integers rather than as ASCII text? For that matter is there a way to get MySQL to do /any/ of the API stuff as other than A... | TITLE:
Is there any kind of non text interface to MySQL?
QUESTION:
I have a MySQL query that returns a result with a single column of integers. Is there any way to get the MySQL C API to transfer this as actually integers rather than as ASCII text? For that matter is there a way to get MySQL to do /any/ of the API stu... | [
"mysql",
"api"
] | 4 | 1 | 336 | 1 | 0 | 2008-08-14T20:47:06.860000 | 2008-08-14T21:59:12.767000 |
11,689 | 11,694 | Design debate: what are good ways to store and manipulate versioned objects? | I am intentionally leaving this quite vague at first. I'm looking for discussion and what issues are important more than I'm looking for hard answers. I'm in the middle of designing an app that does something like portfolio management. The design I have so far is Problem: a problem that needs to be solved Solution: a p... | Hmm, sounds kind of like this site... As far as a database design would go, a versioning system kind of like SVN, where you never actually do any updates, just inserts (with a version number) when things change, might be what you need. This is called MVCC, Multi-Value Concurrency Control. A wiki is another good example... | Design debate: what are good ways to store and manipulate versioned objects? I am intentionally leaving this quite vague at first. I'm looking for discussion and what issues are important more than I'm looking for hard answers. I'm in the middle of designing an app that does something like portfolio management. The des... | TITLE:
Design debate: what are good ways to store and manipulate versioned objects?
QUESTION:
I am intentionally leaving this quite vague at first. I'm looking for discussion and what issues are important more than I'm looking for hard answers. I'm in the middle of designing an app that does something like portfolio m... | [
"architecture",
"time",
"rdbms",
"versions"
] | 2 | 1 | 398 | 5 | 0 | 2008-08-14T20:50:11.847000 | 2008-08-14T20:57:36.573000 |
11,690 | 11,700 | How can I get Unicode characters to display properly for the tooltip for the IMG ALT in IE7? | I've got some Japanese in the ALT attribute, but the tooltip is showing me the ugly block characters in the tooltip. The rest of the content on the page renders correctly. So far, it seems to be limited to the tooltips. | This is because the font used in the tooltip doesn't include the characters you are trying to display. Try installing a font pack that includes those characters. I'm affraid you can't do much for your site's visitors other than implementating a tooltip yourself using javascript. | How can I get Unicode characters to display properly for the tooltip for the IMG ALT in IE7? I've got some Japanese in the ALT attribute, but the tooltip is showing me the ugly block characters in the tooltip. The rest of the content on the page renders correctly. So far, it seems to be limited to the tooltips. | TITLE:
How can I get Unicode characters to display properly for the tooltip for the IMG ALT in IE7?
QUESTION:
I've got some Japanese in the ALT attribute, but the tooltip is showing me the ugly block characters in the tooltip. The rest of the content on the page renders correctly. So far, it seems to be limited to the... | [
"internet-explorer",
"unicode"
] | 6 | 5 | 3,385 | 6 | 0 | 2008-08-14T20:50:31.470000 | 2008-08-14T21:04:22.160000 |
11,720 | 24,369 | How can I create virtual machines as part of a build process using MSBuild and MS Virtual Server and/or Hyper-V Server Virtualization? | What I would like to do is create a clean virtual machine image as the output of a build of an application. So a new virtual machine would be created (from a template is fine, with the OS installed, and some base software installed) --- a new web site would be created in IIS, and the web app build output copied to a lo... | Checkout Powershell Management library for Hyper-V on CodePlex. Some features: Finding a VM Connecting to a VM Discovering and manipulating Machine states Backing up, exporting and snapshotting VMs Adding and removing VMs, configuring motherboard settings. Manipulating Disk controllers, drives and disk images Manipluat... | How can I create virtual machines as part of a build process using MSBuild and MS Virtual Server and/or Hyper-V Server Virtualization? What I would like to do is create a clean virtual machine image as the output of a build of an application. So a new virtual machine would be created (from a template is fine, with the ... | TITLE:
How can I create virtual machines as part of a build process using MSBuild and MS Virtual Server and/or Hyper-V Server Virtualization?
QUESTION:
What I would like to do is create a clean virtual machine image as the output of a build of an application. So a new virtual machine would be created (from a template ... | [
"msbuild",
"virtualization",
"hyper-v"
] | 15 | 3 | 2,196 | 2 | 0 | 2008-08-14T21:32:34.287000 | 2008-08-23T16:50:42.273000 |
11,724 | 12,989 | In Visual Studio you must be a member of Debug Users or Administrators to start debugging. What if you are but it doesn't work? | On my Windows XP machine Visual Studio 2003 2005 and 2008 all complain that I cannot start debugging my web application because I must either be a member of the Debug Users group or of the Administrators group. So, I am an Administrator and I added Debug Users just in case, and it still complains. Short of reformatting... | Which users and/or groups are in your "Debug programs" right (under User Rights Assignment)? Maybe that setting got overridden by group policy (Daniel's answer), or just got out of whack for some reason. It should, obviously, include the "Debug Users" group. | In Visual Studio you must be a member of Debug Users or Administrators to start debugging. What if you are but it doesn't work? On my Windows XP machine Visual Studio 2003 2005 and 2008 all complain that I cannot start debugging my web application because I must either be a member of the Debug Users group or of the Adm... | TITLE:
In Visual Studio you must be a member of Debug Users or Administrators to start debugging. What if you are but it doesn't work?
QUESTION:
On my Windows XP machine Visual Studio 2003 2005 and 2008 all complain that I cannot start debugging my web application because I must either be a member of the Debug Users g... | [
"visual-studio",
"debugging",
"permissions"
] | 0 | 2 | 3,161 | 4 | 0 | 2008-08-14T21:48:45.660000 | 2008-08-16T04:29:43.047000 |
11,734 | 11,735 | How to intercept and cancel auto play from an application? | I am developing an application to install a large number of data files from multiple DVDs. The application will prompt the user to insert the next disk, however Windows will automatically try to open that disk either in an explorer window or ask the user what to do with the new disk. How can I intercept and cancel auto... | There are two approaches that I know of. The first and simplest is to register the special Windows message "QueryCancelAutoPlay" and simply return 1 when the message is handled. This only works for the current window, and not a background application. The second approach requires inserting an object that implements the... | How to intercept and cancel auto play from an application? I am developing an application to install a large number of data files from multiple DVDs. The application will prompt the user to insert the next disk, however Windows will automatically try to open that disk either in an explorer window or ask the user what t... | TITLE:
How to intercept and cancel auto play from an application?
QUESTION:
I am developing an application to install a large number of data files from multiple DVDs. The application will prompt the user to insert the next disk, however Windows will automatically try to open that disk either in an explorer window or a... | [
"windows",
"disk"
] | 1 | 3 | 779 | 2 | 0 | 2008-08-14T22:29:57.633000 | 2008-08-14T22:30:37.570000 |
11,740 | 32,476 | Configurable Table Prefixes with a .Net OR/M? | In a web application like wiki or forums or blogging software, it is often useful to store your data in a relational database. Since many hosting companies offer a single database with their hosting plans (with additional databases costing extra) it is very useful for your users when your database objects (tables, view... | I've now researched what it takes to do this in both Entity Framework and LINQ to SQL and documented the steps required in each. It's much longer than answers here tend to be so I'll be content with a link to the answer rather than duplicate it here. It's relatively involved for each, but the LINQ to SQL is the more fl... | Configurable Table Prefixes with a .Net OR/M? In a web application like wiki or forums or blogging software, it is often useful to store your data in a relational database. Since many hosting companies offer a single database with their hosting plans (with additional databases costing extra) it is very useful for your ... | TITLE:
Configurable Table Prefixes with a .Net OR/M?
QUESTION:
In a web application like wiki or forums or blogging software, it is often useful to store your data in a relational database. Since many hosting companies offer a single database with their hosting plans (with additional databases costing extra) it is ver... | [
".net",
"orm"
] | 4 | 2 | 1,143 | 3 | 0 | 2008-08-14T22:32:58.860000 | 2008-08-28T14:49:41.663000 |
11,761 | 11,826 | best way to persist data in .NET Web Service | I have a web service that queries data from this json file, but I don't want the web service to have to access the file every time. I'm thinking that maybe I can store the data somewhere else (maybe in memory) so the web service can just get the data from there the next time it's trying to query the same data. I kinda ... | Extending on Ice^^Heat 's idea, you might want to think about where you would cache - either cache the contents of the json file in the Application cache like so: Context.Cache.Insert("foo", _ Foo, _ Nothing, _ DateAdd(DateInterval.Minute, 30, Now()), _ System.Web.Caching.Cache.NoSlidingExpiration) And then generate th... | best way to persist data in .NET Web Service I have a web service that queries data from this json file, but I don't want the web service to have to access the file every time. I'm thinking that maybe I can store the data somewhere else (maybe in memory) so the web service can just get the data from there the next time... | TITLE:
best way to persist data in .NET Web Service
QUESTION:
I have a web service that queries data from this json file, but I don't want the web service to have to access the file every time. I'm thinking that maybe I can store the data somewhere else (maybe in memory) so the web service can just get the data from t... | [
".net",
"web-services",
"json",
"memory",
"persistence"
] | 5 | 6 | 9,150 | 4 | 0 | 2008-08-14T23:13:32.493000 | 2008-08-15T00:32:04.923000 |
11,762 | 26,283 | Why does a bad password cause "Padding is invalid and cannot be removed"? | I needed some simple string encryption, so I wrote the following code (with a great deal of "inspiration" from here ): // create and initialize a crypto algorithm private static SymmetricAlgorithm getAlgorithm(string password) { SymmetricAlgorithm algorithm = Rijndael.Create(); Rfc2898DeriveBytes rdb = new Rfc2898Deriv... | Although this have been already answered I think it would be a good idea to explain why it is to be expected. A padding scheme is usually applied because most cryptographic filters are not semantically secure and to prevent some forms of cryptoatacks. For example, usually in RSA the OAEP padding scheme is used which pr... | Why does a bad password cause "Padding is invalid and cannot be removed"? I needed some simple string encryption, so I wrote the following code (with a great deal of "inspiration" from here ): // create and initialize a crypto algorithm private static SymmetricAlgorithm getAlgorithm(string password) { SymmetricAlgorith... | TITLE:
Why does a bad password cause "Padding is invalid and cannot be removed"?
QUESTION:
I needed some simple string encryption, so I wrote the following code (with a great deal of "inspiration" from here ): // create and initialize a crypto algorithm private static SymmetricAlgorithm getAlgorithm(string password) {... | [
"c#",
".net",
"exception",
"encryption"
] | 40 | 27 | 73,169 | 9 | 0 | 2008-08-14T23:14:38.823000 | 2008-08-25T15:46:00.960000 |
11,764 | 11,770 | Publishing to IIS - Best Practices | I'm not new to web publishing, BUT I am new to publishing against a web site that is frequently used. Previously, the apps on this server were not hit very often, but we're rolling out a high demand application. So, what is the best practice for publishing to a live web server? Is it best to wait until the middle of th... | @Nick DeVore wrote: If 2 is true, then that seems bad if someone is using that specific page or DLL and it gets overwritten. It's not really an issue if you're using ASP.NET stack (Webforms, MVC or rolling your own) because all your aspx files get compiled and therefore not touched by webserver. /bin/ folder is complet... | Publishing to IIS - Best Practices I'm not new to web publishing, BUT I am new to publishing against a web site that is frequently used. Previously, the apps on this server were not hit very often, but we're rolling out a high demand application. So, what is the best practice for publishing to a live web server? Is it ... | TITLE:
Publishing to IIS - Best Practices
QUESTION:
I'm not new to web publishing, BUT I am new to publishing against a web site that is frequently used. Previously, the apps on this server were not hit very often, but we're rolling out a high demand application. So, what is the best practice for publishing to a live ... | [
"iis",
"publish"
] | 5 | 2 | 2,235 | 2 | 0 | 2008-08-14T23:15:59.447000 | 2008-08-14T23:21:58.387000 |
11,801 | 11,803 | What's the general consensus on supporting Windows 2000? | What's the general consensus on supporting Windows 2000 for software distribution? Are people supporting Windows XP SP2+ for new software development or is this too restrictive still? | "OK" is a subjective judgement. You'll need to take a look at your client base and see what they're using. Having said that, I dropped support for Win2K over a year ago with no negative impact. | What's the general consensus on supporting Windows 2000? What's the general consensus on supporting Windows 2000 for software distribution? Are people supporting Windows XP SP2+ for new software development or is this too restrictive still? | TITLE:
What's the general consensus on supporting Windows 2000?
QUESTION:
What's the general consensus on supporting Windows 2000 for software distribution? Are people supporting Windows XP SP2+ for new software development or is this too restrictive still?
ANSWER:
"OK" is a subjective judgement. You'll need to take ... | [
"windows",
"deployment",
"compatibility"
] | 5 | 8 | 388 | 9 | 0 | 2008-08-15T00:05:13.760000 | 2008-08-15T00:07:22.867000 |
11,804 | 920,922 | Returning Large Results Via a Webservice | I'm working on a web service at the moment and there is the potential that the returned results could be quite large ( > 5mb). It's perfectly valid for this set of data to be this large and the web service can be called either sync or async, but I'm wondering what people's thoughts are on the following: If the connecti... | I have seen all three approaches, paged, store and retrieve, and massive push. I think the solution to your problem depends to some extent on why your result set is so large and how it is generated. Do your results grow over time, are they calculated all at once and then pushed, do you want to stream them back as soon ... | Returning Large Results Via a Webservice I'm working on a web service at the moment and there is the potential that the returned results could be quite large ( > 5mb). It's perfectly valid for this set of data to be this large and the web service can be called either sync or async, but I'm wondering what people's thoug... | TITLE:
Returning Large Results Via a Webservice
QUESTION:
I'm working on a web service at the moment and there is the potential that the returned results could be quite large ( > 5mb). It's perfectly valid for this set of data to be this large and the web service can be called either sync or async, but I'm wondering w... | [
"c#",
".net",
"web-services"
] | 9 | 3 | 3,815 | 4 | 0 | 2008-08-15T00:08:15.533000 | 2009-05-28T13:47:30.103000 |
11,806 | 448,051 | How do you impersonate an Active Directory user in Powershell? | I'm trying to run powershell commands through a web interface (ASP.NET/C#) in order to create mailboxes/etc on Exchange 2007. When I run the page using Visual Studio (Cassini), the page loads up correctly. However, when I run it on IIS (v5.1), I get the error "unknown user name or bad password". The biggest problem tha... | Exchange 2007 doesn't allow you to impersonate a user for security reasons. This means that it is impossible (at the moment) to create mailboxes by impersonating a user. In order to get around this problem, I created a web service which runs under AD user which has permissions to create email acounts, etc. You can then... | How do you impersonate an Active Directory user in Powershell? I'm trying to run powershell commands through a web interface (ASP.NET/C#) in order to create mailboxes/etc on Exchange 2007. When I run the page using Visual Studio (Cassini), the page loads up correctly. However, when I run it on IIS (v5.1), I get the err... | TITLE:
How do you impersonate an Active Directory user in Powershell?
QUESTION:
I'm trying to run powershell commands through a web interface (ASP.NET/C#) in order to create mailboxes/etc on Exchange 2007. When I run the page using Visual Studio (Cassini), the page loads up correctly. However, when I run it on IIS (v5... | [
"c#",
"asp.net",
"powershell",
"active-directory"
] | 13 | 1 | 15,659 | 4 | 0 | 2008-08-15T00:09:16.407000 | 2009-01-15T19:12:44.033000 |
11,809 | 11,815 | How to create an all browser-compatible hanging indent style in CSS in a span | The only thing I've found has been;.hang { text-indent: -3em; margin-left: 3em; } The only way for this to work is putting text in a paragraph, which causes those horribly unsightly extra lines. I'd much rather just have them in a type of thing. I'm also looking for a way to further indent than just a single-level of h... | is an inline element. The term hanging indent is meaningless unless you're talking about a paragraph (which generally means a block element). You can, of course, change the margins on or or any other block element to get rid of extra vertical space between paragraphs. You may want something like display: run-in, where ... | How to create an all browser-compatible hanging indent style in CSS in a span The only thing I've found has been;.hang { text-indent: -3em; margin-left: 3em; } The only way for this to work is putting text in a paragraph, which causes those horribly unsightly extra lines. I'd much rather just have them in a type of thi... | TITLE:
How to create an all browser-compatible hanging indent style in CSS in a span
QUESTION:
The only thing I've found has been;.hang { text-indent: -3em; margin-left: 3em; } The only way for this to work is putting text in a paragraph, which causes those horribly unsightly extra lines. I'd much rather just have the... | [
"html",
"css",
"indentation"
] | 33 | 17 | 30,109 | 3 | 0 | 2008-08-15T00:12:20.923000 | 2008-08-15T00:20:58.440000 |
11,820 | 11,832 | How much extra overhead is generated when sending a file over a web service as a byte array? | This question and answer shows how to send a file as a byte array through an XML web service. How much overhead is generated by using this method for file transfer? I assume the data looks something like this: 16 28 127... If this format is correct, the bytes must first be converted to UTF-8 characters. Each of these c... | Typically a byte array is sent as a base64 encoded string, not as individual bytes in tags. http://en.wikipedia.org/wiki/Base64 The base64 encoded version is about 137% of the size of the original content. | How much extra overhead is generated when sending a file over a web service as a byte array? This question and answer shows how to send a file as a byte array through an XML web service. How much overhead is generated by using this method for file transfer? I assume the data looks something like this: 16 28 127... If t... | TITLE:
How much extra overhead is generated when sending a file over a web service as a byte array?
QUESTION:
This question and answer shows how to send a file as a byte array through an XML web service. How much overhead is generated by using this method for file transfer? I assume the data looks something like this:... | [
"xml",
"web-services"
] | 5 | 11 | 1,596 | 5 | 0 | 2008-08-15T00:29:57.563000 | 2008-08-15T00:39:05.987000 |
11,854 | 11,935 | Inheritance and Polymorphism - Ease of use vs Purity | In a project our team is using object lists to perform mass operations on sets of data that should all be processed in a similar way. In particular, different objects would ideally act the same, which would be very easily achieved with polymorphism. The problem I have with it is that inheritance implies the is a relati... | This can be accomplished using multiple inheritance. In your specific case (C++), you can use pure virtual classes as interfaces. This allows you to have multiple inheritance without creating scope/ambiguity problems. Example: class Damage { virtual void addDamage(int d) = 0; virtual int getDamage() = 0; };
class Pers... | Inheritance and Polymorphism - Ease of use vs Purity In a project our team is using object lists to perform mass operations on sets of data that should all be processed in a similar way. In particular, different objects would ideally act the same, which would be very easily achieved with polymorphism. The problem I hav... | TITLE:
Inheritance and Polymorphism - Ease of use vs Purity
QUESTION:
In a project our team is using object lists to perform mass operations on sets of data that should all be processed in a similar way. In particular, different objects would ideally act the same, which would be very easily achieved with polymorphism.... | [
"c++",
"inheritance",
"oop",
"polymorphism"
] | 6 | 3 | 1,635 | 10 | 0 | 2008-08-15T01:00:47.690000 | 2008-08-15T03:41:05.930000 |
11,878 | 11,932 | Best .NET Solution for Frequently Changed Database | I am currently architecting a small CRUD applicaton. Their database is a huge mess and will be changing frequently over the course of the next 6 months to a year. What would you recommend for my data layer: 1) ORM (if so, which one?) 2) Linq2Sql 3) Stored Procedures 4) Parametrized Queries I really need a solution that... | One key thing to be aware of here is that if the database schema is changing frequently, you want to have some level of compile time type safety. I've found this to be a problem with NHibernate because it uses xml mapping files so if you change something in your database schema, you don't know until runtime that the ma... | Best .NET Solution for Frequently Changed Database I am currently architecting a small CRUD applicaton. Their database is a huge mess and will be changing frequently over the course of the next 6 months to a year. What would you recommend for my data layer: 1) ORM (if so, which one?) 2) Linq2Sql 3) Stored Procedures 4)... | TITLE:
Best .NET Solution for Frequently Changed Database
QUESTION:
I am currently architecting a small CRUD applicaton. Their database is a huge mess and will be changing frequently over the course of the next 6 months to a year. What would you recommend for my data layer: 1) ORM (if so, which one?) 2) Linq2Sql 3) St... | [
".net",
"database",
"change-management"
] | 8 | 6 | 863 | 12 | 0 | 2008-08-15T01:50:02.473000 | 2008-08-15T03:37:32.430000 |
11,879 | 11,899 | Is it possible to return objects from a WebService? | Instead of returning a common string, is there a way to return classic objects? If not: what are the best practices? Do you transpose your object to xml and rebuild the object on the other side? What are the other possibilities? | As mentioned, you can do this in.net via serialization. By default all native types are serializable so this happens automagically for you. However if you have complex types, you need to mark the object with the [Serializable] attribute. The same goes with complex types as properties. So for example you need to have: [... | Is it possible to return objects from a WebService? Instead of returning a common string, is there a way to return classic objects? If not: what are the best practices? Do you transpose your object to xml and rebuild the object on the other side? What are the other possibilities? | TITLE:
Is it possible to return objects from a WebService?
QUESTION:
Instead of returning a common string, is there a way to return classic objects? If not: what are the best practices? Do you transpose your object to xml and rebuild the object on the other side? What are the other possibilities?
ANSWER:
As mentioned... | [
"web-services"
] | 6 | 7 | 5,457 | 11 | 0 | 2008-08-15T01:51:48.663000 | 2008-08-15T02:23:16.150000 |
11,887 | 11,898 | sn.exe fails with Access Denied error message | I get an Access is Denied error message when I use the strong name tool to create a new key to sign a.NET assembly. This works just fine on a Windows XP machine but it does not work on my Vista machine. PS C:\users\brian\Dev\Projects\BELib\BELib> sn -k keypair.snk
Microsoft (R).NET Framework Strong Name Utility Versio... | Yes I have tried running PS and the regular command prompt as administrator. The same error message comes up. Another possible solution could be that you need to give your user account access to the key container located at C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys | sn.exe fails with Access Denied error message I get an Access is Denied error message when I use the strong name tool to create a new key to sign a.NET assembly. This works just fine on a Windows XP machine but it does not work on my Vista machine. PS C:\users\brian\Dev\Projects\BELib\BELib> sn -k keypair.snk
Microsof... | TITLE:
sn.exe fails with Access Denied error message
QUESTION:
I get an Access is Denied error message when I use the strong name tool to create a new key to sign a.NET assembly. This works just fine on a Windows XP machine but it does not work on my Vista machine. PS C:\users\brian\Dev\Projects\BELib\BELib> sn -k key... | [
".net",
"strongname",
"sn.exe"
] | 15 | 31 | 8,654 | 6 | 0 | 2008-08-15T02:01:13.217000 | 2008-08-15T02:22:18.227000 |
11,903 | 13,820 | OpenID Attribute Exchange - should I use it? | My website will be using only OpenID for authentication. I'd like to pull user details down via attribute exchange, but attribute exchange seems to have caused a lot of grief for StackOverflow. What is the current state of play in the industry? Does any OpenID provider do a decent job of attribute exchange? Should I ju... | Here on Stack Overflow, we're just using the Simple Registration extension for now, as there were some issues with Attribute Exchange (AX). The biggest was OpenID Providers (OP) not agreeing on which attribute type urls to use. The finalized spec for AX says that attribute urls should come from http://www.axschema.org/... | OpenID Attribute Exchange - should I use it? My website will be using only OpenID for authentication. I'd like to pull user details down via attribute exchange, but attribute exchange seems to have caused a lot of grief for StackOverflow. What is the current state of play in the industry? Does any OpenID provider do a ... | TITLE:
OpenID Attribute Exchange - should I use it?
QUESTION:
My website will be using only OpenID for authentication. I'd like to pull user details down via attribute exchange, but attribute exchange seems to have caused a lot of grief for StackOverflow. What is the current state of play in the industry? Does any Ope... | [
"authentication",
"openid"
] | 10 | 17 | 2,893 | 2 | 0 | 2008-08-15T02:29:50.553000 | 2008-08-17T18:42:03.340000 |
11,915 | 11,920 | RSS Feeds in ASP.NET MVC | How would you reccommend handling RSS Feeds in ASP.NET MVC? Using a third party library? Using the RSS stuff in the BCL? Just making an RSS view that renders the XML? Or something completely different? | Here is what I recommend: Create a class called RssResult that inherits off the abstract base class ActionResult. Override the ExecuteResult method. ExecuteResult has the ControllerContext passed to it by the caller and with this you can get the data and content type. Once you change the content type to rss, you will w... | RSS Feeds in ASP.NET MVC How would you reccommend handling RSS Feeds in ASP.NET MVC? Using a third party library? Using the RSS stuff in the BCL? Just making an RSS view that renders the XML? Or something completely different? | TITLE:
RSS Feeds in ASP.NET MVC
QUESTION:
How would you reccommend handling RSS Feeds in ASP.NET MVC? Using a third party library? Using the RSS stuff in the BCL? Just making an RSS view that renders the XML? Or something completely different?
ANSWER:
Here is what I recommend: Create a class called RssResult that inh... | [
"asp.net-mvc",
"rss"
] | 115 | 65 | 44,617 | 5 | 0 | 2008-08-15T02:56:41.030000 | 2008-08-15T03:12:49.623000 |
11,919 | 11,924 | How do I get PHP and MySQL working on IIS 7.0? | Okay, I've looked all over the internet for a good solution to get PHP and MySQL working on IIS7.0. It's nearly impossible, I've tried it so many times and given up in vain. Please please help by linking some great step-by-step tutorial to adding PHP and MySQL on IIS7.0 from scratch. PHP and MySQL are essential for ins... | Have you taken a look at this: http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis7/ MySQL should be pretty straight forward. Let us know what problems you're encountering... | How do I get PHP and MySQL working on IIS 7.0? Okay, I've looked all over the internet for a good solution to get PHP and MySQL working on IIS7.0. It's nearly impossible, I've tried it so many times and given up in vain. Please please help by linking some great step-by-step tutorial to adding PHP and MySQL on IIS7.0 fr... | TITLE:
How do I get PHP and MySQL working on IIS 7.0?
QUESTION:
Okay, I've looked all over the internet for a good solution to get PHP and MySQL working on IIS7.0. It's nearly impossible, I've tried it so many times and given up in vain. Please please help by linking some great step-by-step tutorial to adding PHP and ... | [
"php",
"mysql",
"iis-7"
] | 10 | 6 | 10,109 | 7 | 0 | 2008-08-15T03:05:13.273000 | 2008-08-15T03:24:09.337000 |
11,926 | 11,957 | ASP.Net MVC route mapping | I'm new to MVC (and ASP.Net routing). I'm trying to map *.aspx to a controller called PageController. routes.MapRoute( "Page", "{name}.aspx", new { controller = "Page", action = "Index", id = "" } ); Wouldn't the code above map *.aspx to PageController? When I run this and type in any.aspx page I get the following erro... | I just answered my own question. I had the routes backwards (Default was above page). Yeah, you have to put all custom routes above the Default route. So this brings up the next question... how does the "Default" route match (I assume they use regular expressions here) the "Page" route? The Default route matches based ... | ASP.Net MVC route mapping I'm new to MVC (and ASP.Net routing). I'm trying to map *.aspx to a controller called PageController. routes.MapRoute( "Page", "{name}.aspx", new { controller = "Page", action = "Index", id = "" } ); Wouldn't the code above map *.aspx to PageController? When I run this and type in any.aspx pag... | TITLE:
ASP.Net MVC route mapping
QUESTION:
I'm new to MVC (and ASP.Net routing). I'm trying to map *.aspx to a controller called PageController. routes.MapRoute( "Page", "{name}.aspx", new { controller = "Page", action = "Index", id = "" } ); Wouldn't the code above map *.aspx to PageController? When I run this and ty... | [
"c#",
"asp.net",
"asp.net-mvc",
"routes"
] | 13 | 6 | 22,385 | 5 | 0 | 2008-08-15T03:25:31.657000 | 2008-08-15T04:24:44.190000 |
11,930 | 12,030 | How can I determine the IP of my router/gateway in Java? | How can I determine the IP of my router/gateway in Java? I can get my IP easily enough. I can get my internet IP using a service on a website. But how can I determine my gateway's IP? This is somewhat easy in.NET if you know your way around. But how do you do it in Java? | Java doesn't make this as pleasant as other languages, unfortunately. Here's what I did: import java.io.*; import java.util.*;
public class ExecTest { public static void main(String[] args) throws IOException { Process result = Runtime.getRuntime().exec("traceroute -m 1 www.amazon.com");
BufferedReader output = new B... | How can I determine the IP of my router/gateway in Java? How can I determine the IP of my router/gateway in Java? I can get my IP easily enough. I can get my internet IP using a service on a website. But how can I determine my gateway's IP? This is somewhat easy in.NET if you know your way around. But how do you do it ... | TITLE:
How can I determine the IP of my router/gateway in Java?
QUESTION:
How can I determine the IP of my router/gateway in Java? I can get my IP easily enough. I can get my internet IP using a service on a website. But how can I determine my gateway's IP? This is somewhat easy in.NET if you know your way around. But... | [
"java",
"sockets",
"ip",
"router"
] | 17 | 13 | 32,864 | 16 | 0 | 2008-08-15T03:32:28.897000 | 2008-08-15T06:38:21.813000 |
11,950 | 11,967 | How do you log errors (Exceptions) in your ASP.NET apps? | I'm looking for the best way to log errors in an ASP.NET application. I want to be able to receive emails when errors occurs in my application, with detailed information about the Exception and the current Request. In my company we used to have our own ErrorMailer, catching everything in the Global.asax Application_Err... | I use elmah. It has some really nice features and here is a CodeProject article on it. I think the StackOverflow team uses elmah also! | How do you log errors (Exceptions) in your ASP.NET apps? I'm looking for the best way to log errors in an ASP.NET application. I want to be able to receive emails when errors occurs in my application, with detailed information about the Exception and the current Request. In my company we used to have our own ErrorMaile... | TITLE:
How do you log errors (Exceptions) in your ASP.NET apps?
QUESTION:
I'm looking for the best way to log errors in an ASP.NET application. I want to be able to receive emails when errors occurs in my application, with detailed information about the Exception and the current Request. In my company we used to have ... | [
"asp.net",
"error-handling",
"nlog",
"health-monitoring"
] | 30 | 29 | 41,693 | 8 | 0 | 2008-08-15T04:05:10.843000 | 2008-08-15T04:34:49.817000 |
11,964 | 11,973 | Pay for vmware or use Open Source? | What should I use to virtualize my desktop, vmx, xen, or vmware? Needs to work on a linux or windows host, sorry virtual pc. @Derek Park: Free as in speech, not beer. I want to be able to make a new virtual machine from my own licensed copies of windows, for that vmware is kind of expensive. | Try VirtualBox. It's free, open source, and it runs on Windows, Linux, Macintosh and OpenSolaris. | Pay for vmware or use Open Source? What should I use to virtualize my desktop, vmx, xen, or vmware? Needs to work on a linux or windows host, sorry virtual pc. @Derek Park: Free as in speech, not beer. I want to be able to make a new virtual machine from my own licensed copies of windows, for that vmware is kind of exp... | TITLE:
Pay for vmware or use Open Source?
QUESTION:
What should I use to virtualize my desktop, vmx, xen, or vmware? Needs to work on a linux or windows host, sorry virtual pc. @Derek Park: Free as in speech, not beer. I want to be able to make a new virtual machine from my own licensed copies of windows, for that vmw... | [
"virtualization"
] | 3 | 11 | 3,613 | 7 | 0 | 2008-08-15T04:32:29.883000 | 2008-08-15T04:43:48.440000 |
11,974 | 12,057 | What is the best way to upload a file via an HTTP POST with a web form? | Basically, something better than this: First of all, the browse button looks different on every browser. Unlike the submit button on a form, you have to come up with some hack-y way to style it. Secondly, there's no progress indicator showing you how much of the file has uploaded. You usually have to implement some kin... | File upload boxes is where we're currently at if you don't want to involve other technologies like Flash, Java or ActiveX. With plain HTML you are pretty much limited to the experience you've described (no progress bar, double submits, etc). If you are willing to use some javascript, you can solve some of the problems ... | What is the best way to upload a file via an HTTP POST with a web form? Basically, something better than this: First of all, the browse button looks different on every browser. Unlike the submit button on a form, you have to come up with some hack-y way to style it. Secondly, there's no progress indicator showing you h... | TITLE:
What is the best way to upload a file via an HTTP POST with a web form?
QUESTION:
Basically, something better than this: First of all, the browse button looks different on every browser. Unlike the submit button on a form, you have to come up with some hack-y way to style it. Secondly, there's no progress indic... | [
"html",
"http",
"forms",
"post",
"upload"
] | 5 | 9 | 3,959 | 4 | 0 | 2008-08-15T04:54:05.613000 | 2008-08-15T07:54:33.063000 |
11,975 | 11,983 | Handling timezones in storage? | Store everything in GMT? Store everything the way it was entered with an embedded offset? Do the math everytime you render? Display relative Times "1 minutes ago"? | You have to store in UTC - if you don't, your historic reporting and behaviour during things like Daylight Savings goes... funny. GMT is a local time, subject to Daylight Savings relative to UTC (which is not). Presentation to users in different time-zones can be a real bastard if you're storing local time. It's easy t... | Handling timezones in storage? Store everything in GMT? Store everything the way it was entered with an embedded offset? Do the math everytime you render? Display relative Times "1 minutes ago"? | TITLE:
Handling timezones in storage?
QUESTION:
Store everything in GMT? Store everything the way it was entered with an embedded offset? Do the math everytime you render? Display relative Times "1 minutes ago"?
ANSWER:
You have to store in UTC - if you don't, your historic reporting and behaviour during things like ... | [
"localization",
"internationalization",
"timezone",
"globalization"
] | 20 | 39 | 5,720 | 13 | 0 | 2008-08-15T04:54:59.510000 | 2008-08-15T05:19:37.603000 |
11,986 | 32,898 | Why does sqlite3-ruby-1.2.2 not work on OS X? | I am running OS X 10.5, Ruby 1.8.6, Rails 2.1, sqlite3-ruby 1.2.2 and I get the following error when trying to rake db:migrate on an app that works find connected to MySQL. rake aborted! no such file to load -- sqlite3/database | Jamis has just released 1.2.4, and the comment history on that bug suggests that the fix is in 1.2.3 and later versions. As a quick test, I did the following on an OS X 10.5 box with Ruby 1.8.6: sudo gem install sqlite3-ruby (verified version number of 1.2.4) rails test (used default database.yml with sqlite3) cd test.... | Why does sqlite3-ruby-1.2.2 not work on OS X? I am running OS X 10.5, Ruby 1.8.6, Rails 2.1, sqlite3-ruby 1.2.2 and I get the following error when trying to rake db:migrate on an app that works find connected to MySQL. rake aborted! no such file to load -- sqlite3/database | TITLE:
Why does sqlite3-ruby-1.2.2 not work on OS X?
QUESTION:
I am running OS X 10.5, Ruby 1.8.6, Rails 2.1, sqlite3-ruby 1.2.2 and I get the following error when trying to rake db:migrate on an app that works find connected to MySQL. rake aborted! no such file to load -- sqlite3/database
ANSWER:
Jamis has just rele... | [
"ruby-on-rails",
"ruby",
"sqlite"
] | 3 | 2 | 548 | 2 | 0 | 2008-08-15T05:23:02.153000 | 2008-08-28T17:48:16.883000 |
12,008 | 12,047 | How do you do system integration? | I curious to how different people solve integration of systems. I have a feeling that the last years more and more work has gone into integrating systems and that this kind of work need will increase as well. I wondering if you solve it developing your own small services that are then connected or if you use some sort ... | wow - Ok - will get a post on this but will be big. Intergration needs to be backed up with a big understanding by the business on the benefits - Get an opertating model sorted out - as the business may acutally need to standardise instead of intergrate, as this can be costly - its why most SOA fail! Enterprise Archite... | How do you do system integration? I curious to how different people solve integration of systems. I have a feeling that the last years more and more work has gone into integrating systems and that this kind of work need will increase as well. I wondering if you solve it developing your own small services that are then ... | TITLE:
How do you do system integration?
QUESTION:
I curious to how different people solve integration of systems. I have a feeling that the last years more and more work has gone into integrating systems and that this kind of work need will increase as well. I wondering if you solve it developing your own small servi... | [
"architecture",
"system-integration"
] | 5 | 10 | 3,149 | 5 | 0 | 2008-08-15T06:06:13.720000 | 2008-08-15T07:10:14.217000 |
12,009 | 12,032 | Piping password to smbpasswd | How can I pipe the new password to smbpasswd so I can automate my installation process. | Thanks to Mark I found the answer: (echo newpassword; echo confirmNewPassword) | smbpasswd -s BTW: (echo oldpasswd; echo newpasswd) | smbpasswd -s does not work. | Piping password to smbpasswd How can I pipe the new password to smbpasswd so I can automate my installation process. | TITLE:
Piping password to smbpasswd
QUESTION:
How can I pipe the new password to smbpasswd so I can automate my installation process.
ANSWER:
Thanks to Mark I found the answer: (echo newpassword; echo confirmNewPassword) | smbpasswd -s BTW: (echo oldpasswd; echo newpasswd) | smbpasswd -s does not work. | [
"automation",
"installation",
"debian",
"samba"
] | 36 | 51 | 35,297 | 7 | 0 | 2008-08-15T06:08:55.243000 | 2008-08-15T06:38:59.287000 |
12,045 | 12,054 | Unit testing a timer based application? | I am currently writing a simple, timer-based mini app in C# that performs an action n times every k seconds. I am trying to adopt a test-driven development style, so my goal is to unit-test all parts of the app. So, my question is: Is there a good way to unit test a timer-based class? The problem, as I see it, is that ... | What I have done is to mock the timer, and also the current system time, so that my events could be triggered immediately, but as far as the code under test was concerned time elapsed was seconds. | Unit testing a timer based application? I am currently writing a simple, timer-based mini app in C# that performs an action n times every k seconds. I am trying to adopt a test-driven development style, so my goal is to unit-test all parts of the app. So, my question is: Is there a good way to unit test a timer-based c... | TITLE:
Unit testing a timer based application?
QUESTION:
I am currently writing a simple, timer-based mini app in C# that performs an action n times every k seconds. I am trying to adopt a test-driven development style, so my goal is to unit-test all parts of the app. So, my question is: Is there a good way to unit te... | [
"c#",
".net",
"unit-testing",
"timer"
] | 21 | 12 | 8,026 | 4 | 0 | 2008-08-15T07:02:45.993000 | 2008-08-15T07:43:18.110000 |
12,051 | 12,052 | Calling the base constructor in C# | If I inherit from a base class and want to pass something from the constructor of the inherited class to the constructor of the base class, how do I do that? For example, if I inherit from the Exception class I want to do something like this: class MyExceptionClass: Exception { public MyExceptionClass(string message, s... | Modify your constructor to the following so that it calls the base class constructor properly: public class MyExceptionClass: Exception { public MyExceptionClass(string message, string extrainfo): base(message) { //other stuff here } } Note that a constructor is not something that you can call anytime within a method. ... | Calling the base constructor in C# If I inherit from a base class and want to pass something from the constructor of the inherited class to the constructor of the base class, how do I do that? For example, if I inherit from the Exception class I want to do something like this: class MyExceptionClass: Exception { public... | TITLE:
Calling the base constructor in C#
QUESTION:
If I inherit from a base class and want to pass something from the constructor of the inherited class to the constructor of the base class, how do I do that? For example, if I inherit from the Exception class I want to do something like this: class MyExceptionClass: ... | [
"c#",
".net",
"inheritance",
"constructor"
] | 1,856 | 2,220 | 1,409,678 | 10 | 0 | 2008-08-15T07:39:23.097000 | 2008-08-15T07:40:22.157000 |
12,075 | 12,080 | Should I be worried about obfuscating my .NET code? | I'm sure many readers on SO have used Lutz Roeder 's.NET reflector to decompile their.NET code. I was amazed just how accurately our source code could be recontructed from our compiled assemblies. I'd be interested in hearing how many of you use obfuscation, and for what sort of products? I'm sure that this is a much m... | I wouldn't worry about it too much. I'd rather focus on putting out an awesome product, getting a good user base, and treating your customers right than worry about the minimal percentage of users concerned with stealing your code or looking at the source. | Should I be worried about obfuscating my .NET code? I'm sure many readers on SO have used Lutz Roeder 's.NET reflector to decompile their.NET code. I was amazed just how accurately our source code could be recontructed from our compiled assemblies. I'd be interested in hearing how many of you use obfuscation, and for w... | TITLE:
Should I be worried about obfuscating my .NET code?
QUESTION:
I'm sure many readers on SO have used Lutz Roeder 's.NET reflector to decompile their.NET code. I was amazed just how accurately our source code could be recontructed from our compiled assemblies. I'd be interested in hearing how many of you use obfu... | [
".net",
"obfuscation"
] | 26 | 21 | 6,482 | 10 | 0 | 2008-08-15T08:36:19.783000 | 2008-08-15T08:39:57.140000 |
12,088 | 12,133 | Do you obfuscate your commercial Java code? | I wonder if anyone uses commercial/free java obfuscators on his own commercial product. I know only about one project that actually had an obfuscating step in the ant build step for releases. Do you obfuscate? And if so, why do you obfuscate? Is it really a way to protect the code or is it just a better feeling for the... | If you do obfuscate, stay away from obfuscators that modify the code by changing code flow and/or adding exception blocks and such to make it hard to disassemble it. To make the code unreadable it is usually enough to just change all names of methods, fields and classes. The reason to stay away from changing code flow ... | Do you obfuscate your commercial Java code? I wonder if anyone uses commercial/free java obfuscators on his own commercial product. I know only about one project that actually had an obfuscating step in the ant build step for releases. Do you obfuscate? And if so, why do you obfuscate? Is it really a way to protect the... | TITLE:
Do you obfuscate your commercial Java code?
QUESTION:
I wonder if anyone uses commercial/free java obfuscators on his own commercial product. I know only about one project that actually had an obfuscating step in the ant build step for releases. Do you obfuscate? And if so, why do you obfuscate? Is it really a ... | [
"java",
"obfuscation"
] | 51 | 64 | 53,130 | 7 | 0 | 2008-08-15T08:55:28.997000 | 2008-08-15T10:57:31.463000 |
12,095 | 12,119 | Windows Forms Threading and Events - ListBox updates promptly but progressbar experiences huge delay | Our team is creating a new recruitment workflow system to replace an old one. I have been tasked with migrating the old data into the new schema. I have decided to do this by creating a small Windows Forms project as the schema are radically different and straight TSQL scripts are not an adequate solution. The main sea... | @John Thanks for the links. @Will There's no gain from threadpooling as I know it will only ever spawn one thread. The use of a thread is purely to have a responsive UI while SQL Server is being pounded with reads and writes. It's certainly not a short lived thread. Regarding sledge-hammers you're right. But, as it tur... | Windows Forms Threading and Events - ListBox updates promptly but progressbar experiences huge delay Our team is creating a new recruitment workflow system to replace an old one. I have been tasked with migrating the old data into the new schema. I have decided to do this by creating a small Windows Forms project as th... | TITLE:
Windows Forms Threading and Events - ListBox updates promptly but progressbar experiences huge delay
QUESTION:
Our team is creating a new recruitment workflow system to replace an old one. I have been tasked with migrating the old data into the new schema. I have decided to do this by creating a small Windows F... | [
"windows",
"multithreading",
"events",
"forms",
"delegates"
] | 4 | 0 | 1,615 | 6 | 0 | 2008-08-15T09:19:04.050000 | 2008-08-15T10:07:06.447000 |
12,103 | 12,108 | Why doesn't my Perl map return anything? | When I am running the following statement: @filtered = map {s/ //g} @outdata; it is returning an empty list instead of the filtered list that I expected. What I am trying to do is remove every occurrence of from an array of string (which is an XML file). Obviously, I am not understanding something. Can anyone tell me t... | Try this: @filtered = map {s/ //g; $_} @outdata; The problem is the s operator in perl modifies $_ but actually returns the number of changes it made. So, the extra $_ at the end causes perl to return the modified string for each element of @outdata. | Why doesn't my Perl map return anything? When I am running the following statement: @filtered = map {s/ //g} @outdata; it is returning an empty list instead of the filtered list that I expected. What I am trying to do is remove every occurrence of from an array of string (which is an XML file). Obviously, I am not unde... | TITLE:
Why doesn't my Perl map return anything?
QUESTION:
When I am running the following statement: @filtered = map {s/ //g} @outdata; it is returning an empty list instead of the filtered list that I expected. What I am trying to do is remove every occurrence of from an array of string (which is an XML file). Obviou... | [
"perl",
"dictionary"
] | 5 | 10 | 1,499 | 7 | 0 | 2008-08-15T09:38:31.250000 | 2008-08-15T09:49:17.153000 |
12,107 | 12,114 | Configuring VisualSVN Server to use _svn instead of .svn | We were having a problem with our build server not checking out modifications from source control despite recognizing that there had been changes. It was traced to the control folder (not sure what it's real name is), the existing working builds were using _svn. Clearing the working folder forced a new complete checkou... | The business about _svn vs..svn was an issue with Visual Studio web projects only (and I'm fairly sure it was fixed in VS2005 anyway), it's not a general "_svn works better with VS" thing. It's also only a working-copy issue, not a repository issue - i.e. it doesn't matter if some users of SVN are using clients set up ... | Configuring VisualSVN Server to use _svn instead of .svn We were having a problem with our build server not checking out modifications from source control despite recognizing that there had been changes. It was traced to the control folder (not sure what it's real name is), the existing working builds were using _svn. ... | TITLE:
Configuring VisualSVN Server to use _svn instead of .svn
QUESTION:
We were having a problem with our build server not checking out modifications from source control despite recognizing that there had been changes. It was traced to the control folder (not sure what it's real name is), the existing working builds... | [
"svn",
"version-control",
"visualsvn-server"
] | 3 | 7 | 3,884 | 3 | 0 | 2008-08-15T09:47:38.110000 | 2008-08-15T09:57:38.620000 |
12,135 | 12,160 | FileNotFoundException for mscorlib.XmlSerializers.DLL, which doesn't exist | I'm using an XmlSerializer to deserialize a particular type in mscorelib.dll XmlSerializer ser = new XmlSerializer( typeof( [.Net type in System] ) ); return ([.Net type in System]) ser.Deserialize( new StringReader( xmlValue ) ); This throws a caught FileNotFoundException when the assembly is loaded: "Could not load f... | I'm guessing now. but: The system might be generating a serializer for the whole of mscorlib, which could be very slow. You could probably avoid this by wrapping the system type in your own type and serialising that instead - then you'd get a serializer for your own assembly. You might be able to build the serializer f... | FileNotFoundException for mscorlib.XmlSerializers.DLL, which doesn't exist I'm using an XmlSerializer to deserialize a particular type in mscorelib.dll XmlSerializer ser = new XmlSerializer( typeof( [.Net type in System] ) ); return ([.Net type in System]) ser.Deserialize( new StringReader( xmlValue ) ); This throws a ... | TITLE:
FileNotFoundException for mscorlib.XmlSerializers.DLL, which doesn't exist
QUESTION:
I'm using an XmlSerializer to deserialize a particular type in mscorelib.dll XmlSerializer ser = new XmlSerializer( typeof( [.Net type in System] ) ); return ([.Net type in System]) ser.Deserialize( new StringReader( xmlValue )... | [
"c#",
".net",
"serialization",
"assemblies"
] | 12 | 2 | 16,741 | 3 | 0 | 2008-08-15T11:03:30.157000 | 2008-08-15T11:44:33.513000 |
12,140 | 12,185 | Access to global application settings | A database application that I'm currently working on, stores all sorts of settings in the database. Most of those settings are there to customize certain business rules, but there's also some other stuff in there. The app contains objects that specifically do a certain task, e.g., a certain complicated calculation. Tho... | You could use Martin Fowlers ServiceLocator pattern. In php it could look like this: class ServiceLocator { private static $soleInstance; private $globalSettings;
public static function load($locator) { self::$soleInstance = $locator; }
public static function globalSettings() { if (!isset(self::$soleInstance->globalS... | Access to global application settings A database application that I'm currently working on, stores all sorts of settings in the database. Most of those settings are there to customize certain business rules, but there's also some other stuff in there. The app contains objects that specifically do a certain task, e.g., ... | TITLE:
Access to global application settings
QUESTION:
A database application that I'm currently working on, stores all sorts of settings in the database. Most of those settings are there to customize certain business rules, but there's also some other stuff in there. The app contains objects that specifically do a ce... | [
"language-agnostic",
"oop"
] | 2 | 1 | 681 | 4 | 0 | 2008-08-15T11:12:35.240000 | 2008-08-15T12:25:19.483000 |
12,142 | 12,441 | Update database schema in Entity Framework | I installed VS SP1 and played around with Entity Framework. I created a schema from an existing database and tried some basic operations. Most of it went well, except the database schema update. I changed the database in every basic way: added a new table deleted a table added a new column to an existing table deleted ... | I would guess that possibly those don't happen because they would break the build for existing code, but that's just a guess on my part. Here's my logic: First, EF is supposed to be more than 1:1 table mapping, so it's quite possible that just because you are deleting a column from table A doesn't mean that for that en... | Update database schema in Entity Framework I installed VS SP1 and played around with Entity Framework. I created a schema from an existing database and tried some basic operations. Most of it went well, except the database schema update. I changed the database in every basic way: added a new table deleted a table added... | TITLE:
Update database schema in Entity Framework
QUESTION:
I installed VS SP1 and played around with Entity Framework. I created a schema from an existing database and tried some basic operations. Most of it went well, except the database schema update. I changed the database in every basic way: added a new table del... | [
".net",
"entity-framework",
"schema"
] | 8 | 6 | 16,777 | 7 | 0 | 2008-08-15T11:15:05.080000 | 2008-08-15T16:18:22.633000 |
12,144 | 12,256 | Application configuration files | OK, so I don't want to start a holy-war here, but we're in the process of trying to consolidate the way we handle our application configuration files and we're struggling to make a decision on the best approach to take. At the moment, every application we distribute is using it's own ad-hoc configuration files, whether... | XML XML XML XML. We're talking config files here. There is no "angle bracket tax" if you're not serializing objects in a performance-intense situation. Config files must be human readable and human understandable, in addition to machine readable. XML is a good compromise between the two. If your shop has people that ar... | Application configuration files OK, so I don't want to start a holy-war here, but we're in the process of trying to consolidate the way we handle our application configuration files and we're struggling to make a decision on the best approach to take. At the moment, every application we distribute is using it's own ad-... | TITLE:
Application configuration files
QUESTION:
OK, so I don't want to start a holy-war here, but we're in the process of trying to consolidate the way we handle our application configuration files and we're struggling to make a decision on the best approach to take. At the moment, every application we distribute is ... | [
"java",
"xml",
"json",
"cross-platform",
"configuration-files"
] | 42 | 11 | 22,702 | 15 | 0 | 2008-08-15T11:19:51.137000 | 2008-08-15T13:45:26.670000 |
12,176 | 12,189 | SVN Revision Version in .NET Assembly w/ out CC.NET | Is there any way to include the SVN repository revision number in the version string of a.NET assembly? Something like Major.Minor.SVNRev I've seen mention of doing this with something like CC.NET (although on ASP.NET actually), but is there any way to do it without any extra software? I've done similar things in C/C++... | Have a look at SubWCRev - http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-subwcrev.html The assembly version numbers are usually in assemblyinfo.cs | SVN Revision Version in .NET Assembly w/ out CC.NET Is there any way to include the SVN repository revision number in the version string of a.NET assembly? Something like Major.Minor.SVNRev I've seen mention of doing this with something like CC.NET (although on ASP.NET actually), but is there any way to do it without a... | TITLE:
SVN Revision Version in .NET Assembly w/ out CC.NET
QUESTION:
Is there any way to include the SVN repository revision number in the version string of a.NET assembly? Something like Major.Minor.SVNRev I've seen mention of doing this with something like CC.NET (although on ASP.NET actually), but is there any way ... | [
".net",
"svn",
"versioning"
] | 26 | 6 | 11,436 | 8 | 0 | 2008-08-15T12:15:31.250000 | 2008-08-15T12:29:04.327000 |
12,225 | 16,718 | Problem databinding an ASP.Net AJAX toolkit MaskedEditExtender | I have a database that contains a date and we are using the MaskedEditExtender (MEE) and MaskedEditValidator to make sure the dates are appropriate. However, we want the Admins to be able to go in and change the data (specifically the date) if necessary. How can I have the MEE field pre-populate with the database value... | We found out this morning why our code was mishandling the extender. Since the db was handling the date as a date/time it was returning the date in this format 99/99/9999 99:99:99 but we had the extender mask looking for this format 99/99/9999 99:99 Mask="99/99/9999 99:99:99" the above code fixed the problem. thanks to... | Problem databinding an ASP.Net AJAX toolkit MaskedEditExtender I have a database that contains a date and we are using the MaskedEditExtender (MEE) and MaskedEditValidator to make sure the dates are appropriate. However, we want the Admins to be able to go in and change the data (specifically the date) if necessary. Ho... | TITLE:
Problem databinding an ASP.Net AJAX toolkit MaskedEditExtender
QUESTION:
I have a database that contains a date and we are using the MaskedEditExtender (MEE) and MaskedEditValidator to make sure the dates are appropriate. However, we want the Admins to be able to go in and change the data (specifically the date... | [
"asp.net",
"validation",
"asp.net-ajax"
] | 2 | 1 | 3,028 | 2 | 0 | 2008-08-15T13:16:25.263000 | 2008-08-19T18:44:53.757000 |
12,243 | 12,247 | Namespace/solution structure | I apologize for asking such a generalized question, but it's something that can prove challenging for me. My team is about to embark on a large project that will hopefully drag together all of the random one-off codebases that have evolved through the years. Given that this project will cover standardizing logical enti... | There's a million ways to skin a cat. However, the simplest one is always the best. Which way is the simplest for you? Depends on your requirements. But there are some general rules of thumb I follow. First, reduce the overall number of projects as much as possible. When you compile twenty times a day, that extra minut... | Namespace/solution structure I apologize for asking such a generalized question, but it's something that can prove challenging for me. My team is about to embark on a large project that will hopefully drag together all of the random one-off codebases that have evolved through the years. Given that this project will cov... | TITLE:
Namespace/solution structure
QUESTION:
I apologize for asking such a generalized question, but it's something that can prove challenging for me. My team is about to embark on a large project that will hopefully drag together all of the random one-off codebases that have evolved through the years. Given that thi... | [
"architecture",
"module",
"namespaces",
"legacy"
] | 10 | 12 | 2,596 | 6 | 0 | 2008-08-15T13:30:42.690000 | 2008-08-15T13:39:01.987000 |
12,271 | 12,491 | Creating Visual Studio templates under the "Windows" category. | I have created a template for Visual Studio 2008 and it currently shows up under File->New Project->Visual C#. However, it is only really specific to Visual C#/Windows but I can't work out how to get it to show up under the "Windows" category and not the more general "Visual C#". | Check out MSDN " How to: Locate and Organize Project and Item Templates " Create a folder within one of these \Common7\IDE\ItemTemplates\CSharp\ My Documents\Visual Studio 2008\Templates\ProjectTemplates\CSharp\ | Creating Visual Studio templates under the "Windows" category. I have created a template for Visual Studio 2008 and it currently shows up under File->New Project->Visual C#. However, it is only really specific to Visual C#/Windows but I can't work out how to get it to show up under the "Windows" category and not the mo... | TITLE:
Creating Visual Studio templates under the "Windows" category.
QUESTION:
I have created a template for Visual Studio 2008 and it currently shows up under File->New Project->Visual C#. However, it is only really specific to Visual C#/Windows but I can't work out how to get it to show up under the "Windows" categ... | [
"visual-studio",
"templates"
] | 3 | 5 | 307 | 2 | 0 | 2008-08-15T14:04:01.017000 | 2008-08-15T17:17:11.797000 |
12,290 | 15,488 | Considering N2 CMS but worried about performance. Is this justified? | Hy, does anyone worked with N2 Content Management System( http://www.codeplex.com/n2 ). If yes, how does it perform, performance wise(under heavy load)? It seems pretty simple and easy to use. Adrian | Maybe try this question at http://www.codeplex.com/n2/Thread/List.aspx They might be able to tell you about performance limitations or bottlenecks. | Considering N2 CMS but worried about performance. Is this justified? Hy, does anyone worked with N2 Content Management System( http://www.codeplex.com/n2 ). If yes, how does it perform, performance wise(under heavy load)? It seems pretty simple and easy to use. Adrian | TITLE:
Considering N2 CMS but worried about performance. Is this justified?
QUESTION:
Hy, does anyone worked with N2 Content Management System( http://www.codeplex.com/n2 ). If yes, how does it perform, performance wise(under heavy load)? It seems pretty simple and easy to use. Adrian
ANSWER:
Maybe try this question ... | [
"asp.net",
"performance",
".net-3.5",
"content-management-system",
"n2"
] | 6 | 3 | 3,181 | 5 | 0 | 2008-08-15T14:29:20.887000 | 2008-08-19T01:24:09.923000 |
12,294 | 12,295 | Any good tools for creating timelines? | I need to create a historical timeline starting from 1600's to the present day. I also need to have some way of showing events on the timeline so that they do not appear cluttered when many events are close together. I have tried using Visio 2007 as well as Excel 2007 Radar Charts, but I could not get the results I wan... | SIMILIE Timeline would probably suit your needs. http://simile.mit.edu/timeline/ Timeline.NET: http://www.codeplex.com/timelinenet Oh, i guess i should ask... for personal use or for display to end users? that might change what i would suggest, but this could work for internal purposes too i suppose. | Any good tools for creating timelines? I need to create a historical timeline starting from 1600's to the present day. I also need to have some way of showing events on the timeline so that they do not appear cluttered when many events are close together. I have tried using Visio 2007 as well as Excel 2007 Radar Charts... | TITLE:
Any good tools for creating timelines?
QUESTION:
I need to create a historical timeline starting from 1600's to the present day. I also need to have some way of showing events on the timeline so that they do not appear cluttered when many events are close together. I have tried using Visio 2007 as well as Excel... | [
"charts",
"timeline"
] | 8 | 6 | 5,375 | 6 | 0 | 2008-08-15T14:32:52.003000 | 2008-08-15T14:33:25.123000 |
12,297 | 12,373 | How can I remove nodes from a SiteMapNodeCollection? | I've got a Repeater that lists all the web.sitemap child pages on an ASP.NET page. Its DataSource is a SiteMapNodeCollection. But, I don't want my registration form page to show up there. Dim Children As SiteMapNodeCollection = SiteMap.CurrentNode.ChildNodes
'remove registration page from collection For Each n As Site... | Your shouldn't need CType Dim children = _ From n In SiteMap.CurrentNode.ChildNodes.Cast(Of SiteMapNode)() _ Where n.Url <> "/Registration.aspx" _ Select n | How can I remove nodes from a SiteMapNodeCollection? I've got a Repeater that lists all the web.sitemap child pages on an ASP.NET page. Its DataSource is a SiteMapNodeCollection. But, I don't want my registration form page to show up there. Dim Children As SiteMapNodeCollection = SiteMap.CurrentNode.ChildNodes
'remove... | TITLE:
How can I remove nodes from a SiteMapNodeCollection?
QUESTION:
I've got a Repeater that lists all the web.sitemap child pages on an ASP.NET page. Its DataSource is a SiteMapNodeCollection. But, I don't want my registration form page to show up there. Dim Children As SiteMapNodeCollection = SiteMap.CurrentNode.C... | [
"asp.net",
".net",
"vb.net",
"repeater",
"sitemap"
] | 1 | 1 | 4,103 | 3 | 0 | 2008-08-15T14:38:18.920000 | 2008-08-15T15:28:40.987000 |
12,306 | 12,342 | Can I serialize a C# Type object? | I'm trying to serialize a Type object in the following way: Type myType = typeof (StringBuilder); var serializer = new XmlSerializer(typeof(Type)); TextWriter writer = new StringWriter(); serializer.Serialize(writer, myType); When I do this, the call to Serialize throws the following exception: "The type System.Text.St... | I wasn't aware that a Type object could be created with only a string containing the fully-qualified name. To get the fully qualified name, you can use the following: string typeName = typeof (StringBuilder).FullName; You can then persist this string however needed, then reconstruct the type like this: Type t = Type.Ge... | Can I serialize a C# Type object? I'm trying to serialize a Type object in the following way: Type myType = typeof (StringBuilder); var serializer = new XmlSerializer(typeof(Type)); TextWriter writer = new StringWriter(); serializer.Serialize(writer, myType); When I do this, the call to Serialize throws the following e... | TITLE:
Can I serialize a C# Type object?
QUESTION:
I'm trying to serialize a Type object in the following way: Type myType = typeof (StringBuilder); var serializer = new XmlSerializer(typeof(Type)); TextWriter writer = new StringWriter(); serializer.Serialize(writer, myType); When I do this, the call to Serialize thro... | [
"c#",
"serialization"
] | 60 | 104 | 77,345 | 6 | 0 | 2008-08-15T14:46:07.687000 | 2008-08-15T15:12:43.373000 |
12,319 | 265,407 | _wfopen equivalent under Mac OS X | I'm looking to the equivalent of Windows _wfopen() under Mac OS X. Any idea? I need this in order to port a Windows library that uses wchar* for its File interface. As this is intended to be a cross-platform library, I am unable to rely on how the client application will get the file path and give it to the library. | POSIX API in Mac OS X are usable with UTF-8 strings. In order to convert a wchar_t string to UTF-8, it is possible to use the CoreFoundation framework from Mac OS X. Here is a class that will wrap an UTF-8 generated string from a wchar_t string. class Utf8 { public: Utf8(const wchar_t* wsz): m_utf8(NULL) { // OS X uses... | _wfopen equivalent under Mac OS X I'm looking to the equivalent of Windows _wfopen() under Mac OS X. Any idea? I need this in order to port a Windows library that uses wchar* for its File interface. As this is intended to be a cross-platform library, I am unable to rely on how the client application will get the file p... | TITLE:
_wfopen equivalent under Mac OS X
QUESTION:
I'm looking to the equivalent of Windows _wfopen() under Mac OS X. Any idea? I need this in order to port a Windows library that uses wchar* for its File interface. As this is intended to be a cross-platform library, I am unable to rely on how the client application w... | [
"c++",
"winapi",
"macos",
"porting",
"fopen"
] | 18 | 15 | 10,907 | 5 | 0 | 2008-08-15T14:59:11.653000 | 2008-11-05T15:07:26.817000 |
12,330 | 12,381 | Programmatically list WMI classes and their properties | Is there any known way of listing the WMI classes and their properties available for a particular system? Im interested in a vbscript approach, but please suggest anything really:) P.S. Great site. | I believe this is what you want. WMI Code Creator A part of this nifty utility allows you to browse namespaces/classes/properties on the local and remote PCs, not to mention generating WMI code in VBScript/C#/VB on the fly. Very useful. Also, the source code used to create the utility is included in the download, which... | Programmatically list WMI classes and their properties Is there any known way of listing the WMI classes and their properties available for a particular system? Im interested in a vbscript approach, but please suggest anything really:) P.S. Great site. | TITLE:
Programmatically list WMI classes and their properties
QUESTION:
Is there any known way of listing the WMI classes and their properties available for a particular system? Im interested in a vbscript approach, but please suggest anything really:) P.S. Great site.
ANSWER:
I believe this is what you want. WMI Cod... | [
"vbscript",
"wmi"
] | 7 | 5 | 8,478 | 2 | 0 | 2008-08-15T15:06:31.873000 | 2008-08-15T15:33:42.847000 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.