text stringlengths 8 267k | meta dict |
|---|---|
Q: ASP.Net: How to do pagination with a Repeater? I'm using the Repeater control on my site to display data from the database. I need to do pagination ("now displaying page 1 of 10", 10 items per page, etc) but I'm not sure I'm going about it the best way possible.
I know the Repeater control doesn't have any built-in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Form post doesn't contain textbox data [ASP.NET C#] I have several "ASP:TextBox" controls on a form (about 20).
When the form loads, the text boxes are populated from a database.
The user can change the populated values, and when they submit the form, I take the values posted to the server and conditionally save the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Any good tools to automate SQL Server management tasks? I know I could write scripts and create jobs to run them, but at least some of what I'm wanting it to do is beyond my programming abilities for that to be an option.
What I'm imagining is something that can run on a regular schedule that will examine all the da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Checklist for testing a new site What are the most common things to test in a new site?
For instance to prevent exploits by bots, malicious users, massive load, etc.?
And just as importantly, what tools and approaches should you use?
(some stress test tools are really expensive/had to use, do you write your own? etc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: CruiseControl.Net Build Publisher - Only publish compiled files While setting up CruiseControl, I added a buildpublisher block to the publisher tasks:
<buildpublisher>
<sourceDir>C:\MyBuild\</sourceDir>
<publishDir>C:\MyBuildPublished\</publishDir>
<alwaysPublish>false</alwaysPublish>
</buildpublisher>
This ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: When/how frequently should I test? As a novice developer who is getting into the rhythm of my first professional project, I'm trying to develop good habits as soon as possible. However, I've found that I often forget to test, put it off, or do a whole bunch of tests at the end of a build instead of one at a time.
My... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: XML Collection Best Practices I'm creating an application that will store a hierarchical collection of items in an XML file and I'm wondering about the industry standard for storing collections in XML. Which of the following two formats is preferred? (If there is another option I'm not seeing, please advise.)
Option... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to solve the Single stepping problem with VS2008 SP1 Debugging in visual studio seems to have been broken with sp1.
Single stepping randomly does not work and just starts to run. Sometimes breakpoints are ignored. It is unpredictable and unusable. It will generally hit the first break point but after that it is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How Did You Decide Between WISA and LAMP? Did you ever have to choose between WISA or LAMP at the beginning of a web project?
While pros and cons are littered around the net, it would be helpful to know about your real experience in coming up w/ criteria, evaluating, deciding, and reflecting upon your decision to go... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: What's an alternative to GWL_USERDATA for storing an object pointer? In the Windows applications I work on, we have a custom framework that sits directly above Win32 (don't ask). When we create a window, our normal practice is to put this in the window's user data area via SetWindowLong(hwnd, GWL_USERDATA, this), w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: How to write a spec that is productive? I've seen different program managers write specs in different format. Almost every one has had his/her own style of writing a spec.
On one hand are those wordy documents which given to a programmer are likely to cause him/her missing a few things. I personally dread the word d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's the best way to deal with cache and the browser back button? What's the best way to handle a user going back to a page that had cached items in an asp.net app? Is there a good way to capture the back button (event?) and handle the cache that way?
A: You can try using the HttpResponse.Cache property if that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: What common web exploits should I know about? I'm pretty green still when it comes to web programming, I've spent most of my time on client applications. So I'm curious about the common exploits I should fear/test for in my site.
A: I'm posting the OWASP Top 2007 abbreviated list here so people don't have to look ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "53"
} |
Q: Best method to parse various custom XML documents in Java What is the best method to parse multiple, discrete, custom XML documents with Java?
A: I would use Stax to parse XML, it's fast and easy to use. I've been using it on my last project to parse XML files up to 24MB. There's a nice introduction on java.net, wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Need to test an ajax timeout condition As the title mentions, I have a timeout callback handler on an ajax call, and I want to be able to test that condition but nothing is coming to mind immediately on ways I can force my application to hit that state, any suggestions?
A: You could always run a server-side script ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What's a good beginning text on functional programming? I like to study languages outside my comfort zone, but I've had a hard time finding a place to start for functional languages. I heard a lot of good things about Structure and Interpretations of Computer Programs, but when I tried to read through it a couple o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: HTML using Groovy MarkupBuilder, how do I elegantly mix tags and text? When using Groovy MarkupBuilder, I have places where I need to output text into the document, or call a function which outputs text into the document. Currently, I'm using the undefined tag "text" to do the output. Is there a better way to write... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Caching Schemes for Managed Languages This is mostly geared toward desktop application developers. How do I design a caching block which plays nicely with the GC? How do I tell the GC that I have just done a cache sweep and it is time to do a GC? How do I get an accurate measure of when it is time to do a cache s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Suggestions on Ajax development environment for PHP I am a C/C++ programmer professionally, but I've created a couple of personal web sites using PHP and MySQL.
They're pretty basic, and I'd like to jazz them up using Ajax, but I've never done any Ajax. I've done all the development so far manually, i.e. no IDE or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: "All Users" Folder Is there a .NET variable that returns the "All Users" directory?
A: You'll want to use the system.environment variables.
Most of the predefined ones are shown here.
For the "All Users" you would use:
System.Environment.GetEnvironmentVariable("ALLUSERSPROFILE")
I know I got a lot of upmods and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How Does One Sum Dimensions of an Array Specified at Run-Time? I am working on a function to establish the entropy of a distribution. It uses a copula, if any are familiar with that. I need to sum up the values in the array based on which dimensions are "cared about."
Example: Consider the following example...
D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Find out which process has an exclusive lock on a USB device handle I have a library that reads/writes to a USB-device using CreateFile() API. The device happens to implement the HID-device profile, such that it's compatible with Microsoft's HID class driver.
Some other application installed on the system is opening... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Boundary Tests For a Networked App Besides "no connection", what other failure modes should I test for? How do I simulate a high-latency link, an unreliable link, or all the other sorts of crazy stuff that will undoubtedly happen "in the wild"?
How about wireless applications? How do I test the performance in a l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C++ linker unresolved external symbols I'm building an application against some legacy, third party libraries, and having problems with the linking stage. I'm trying to compile with Visual Studio 9. My compile command is:
cl -DNT40 -DPOMDLL -DCRTAPI1=_cdecl
-DCRTAPI2=cdecl -D_WIN32 -DWIN32 -DWIN32_LEAN_AND_MEAN -D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Summary of differences in regular expression syntax for various tools and languages? I can never remember the differences in regular expression syntax used by tools like grep and AWK, or languages like Python and PHP. Generally, Perl has the most expansive syntax, but I'm often hamstrung by the limitations of even e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What's the purpose (if any) of "javascript:" in event handler tags? I've been making a concerted effort to improve my javascript skills lately by reading as much javascript code as I can. In doing this I've sometimes seen the javascript: prefix appended to the front of event handler attributes in HTML element tags. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Why is String.Format static? Compare
String.Format("Hello {0}", "World");
with
"Hello {0}".Format("World");
Why did the .Net designers choose a static method over an instance method? What do you think?
A: Well I guess you have to be rather particular about it, but like people are saying, it makes more sense for S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: When do you use the "this" keyword? I was curious about how other people use the this keyword. I tend to use it in constructors, but I may also use it throughout the class in other methods. Some examples:
In a constructor:
public Light(Vector v)
{
this.dir = new Vector(v);
}
Elsewhere
public void SomeMethod()
{... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "248"
} |
Q: How IE7 determines a site's Security Zone Does anyone know how IE7 determines what Security Zone to use for a site? I see the basics for IE6 here, but I can't find the equivalent for IE7.
A: I could use a little more information to narrow down my answer, but here is what I have:
Internet Explorer has 5 different s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is the difference between procedural programming and functional programming? I've read the Wikipedia articles for both procedural programming and functional programming, but I'm still slightly confused. Could someone boil it down to the core?
A: Funtional Programming
num = 1
def function_to_add_one(num):
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "312"
} |
Q: Algorithm to find Largest prime factor of a number What is the best approach to calculating the largest prime factor of a number?
I'm thinking the most efficient would be the following:
*
*Find lowest prime number that divides cleanly
*Check if result of division is prime
*If not, find next lowest
*Go to 2.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "197"
} |
Q: Free ASP.Net and/or CSS Themes Where can I get some decent looking free ASP.Net or CSS themes?
A: Microsoft hired one fo the kids from A List Apart to whip some out. The .Net projects are free of charge for download.
http://msdn.microsoft.com/en-us/asp.net/aa336613.aspx
A: I have used Open source Web Design in the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: Source Control Beginners What would be the best version control system to learn as a beginner to source control?
A: I'd suggest you try Subversion, for example with the 1-click SVN installer. Try searching SO for "Subversion", and you'll find loads of questions with answers that point to good tutorials.
Good luck!
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Notification of drop in drag-drop in Windows My C# program has a list of files that can be dragged from it and dropped into another program. My requirements are that the file be copied to a different directory first.
So, can I be notified of the drop operation so that I can only copy the file if operation succeeds? ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Painting javax.microedition.lcdui.Graphics on LWUIT Component What would be the best method for getting a custom element (that is using J2ME native Graphics) painted on LWUIT elements?
The custom element is an implementation from mapping library, that paints it's content (for example Google map) to Graphics object. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create an EXE from a SWF using Flex 3 without requiring AIR? I have a simple little test app written in Flex 3 (MXML and some AS3). I can compile it to a SWF just fine, but I'd like to make it into an EXE so I can give it to a couple of my coworkers who might find it useful.
With Flash 8, I could just target an EXE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Best/fastest compression format for (sqlserver) databases? Has anyone found a good compression format for MS Sqlserver databases? If so, what do you use and are you pleased with how it performs?
My company frequently will compress a database snapshot from one of our clients and download it so we have a local copy f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Scheduled Tasks for Web Applications What are the different approaches for creating scheduled tasks for web applications, with or without a separate web/desktop application?
A: If we're talking Microsoft platform, then I'd always develop a separate Windows Service to handle such batch tasks.
You can always referenc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What should I learn to increase my skills? My path to a 'fulltime'- developer stated as a analyst using VBA with Excel, Access, and then onto C#. I went to college part time once I discovered I had a passion for coding not business.
I do about most of my coding in C#, but being an ASP.NET developer I also write in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: What's the best way to duplicate fork() in windows? How do I implement some logic that will allow me to reproduce on Windows the functionality that I have on Linux with the fork() system call, using Python?
I'm specifically trying to execute a method on the SAPI Com component, while continuing the other logic in the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Is it better to structure an SQL table to have a match, or return no result I've got an interesting design question. I'm designing the security side of our project, to allow us to have different versions of the program for different costs and also to allow Manager-type users to grant or deny access to parts of the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are there any alternatives to Gigaspaces? Anything thats as good and as stable and as feature-rich as gigaspaces?
A: Gigaspaces is top notch as far as a Javaspaces implementation goes for scalability and performance. Are you restricted to a Javaspaces implementation? Blitz Javaspaces is top notch for a free product... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: FLVPlayback component memory issues My website is entirely flash based, it moves around a 3D model which was given to me as chunks of video that I've converted to FLV files. I'm using the FLVPlayback component to control the video inside of my program. While running memory checks using System.totalMemory I've notice... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How Best to Compare Two Collections in Java and Act on Them? I have two collections of the same object, Collection<Foo> oldSet and Collection<Foo> newSet. The required logic is as follow:
*
*if foo is in(*) oldSet but not newSet, call doRemove(foo)
*else if foo is not in oldSet but in newSet, call doAdd(foo)
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: How do I format Visual Studio Test results file (.trx) into a more readable format? Have just started using Visual Studio Professional's built-in unit testing features, which as I understand, uses MS Test to run the tests.
The .trx file that the tests produce is xml, but was wondering if there was an easy way to con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: DSLs (Domain Specific Languages) in Finance Has anyone worked with DSLs (Domain Specific Languages) in the finance domain? I am planning to introduce some kind of DSL support in the application that I am working on and would like to share some ideas.
I am in a stage of identifying which are the most stable domain el... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Resources for an Oracle beginner Can anyone recommend some good resources that highlight the differences between Oracle and the AS/400 database?
I am trying to help someone with a lot of AS/400 experience implement an Oracle installation, and they need some guidance.
A book or online resource would be ideal.
A: I'v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CruiseControl.NET and NAnt I have a CC.NET project configured to call a common NAnt build file, which does some stuff, and then calls a child NAnt build file. The child build file name is specified by CC.NET to the command build file using a property.
The hurdle that I am trying to get over is that the common build ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Algorithm behind MD5Crypt I'm working with Subversion based on Windows and would like to write an easy utility in .NET for working with the Apache password file. I understand that it uses a function referred to as MD5Crypt, but I can't seem to find a description of the algorithm beyond that at some point it uses MD... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Silverlight programmatic access to Sony RZ30N Video Feed I would like to bypass the web-server functionality of a Sony SNC-RZ30N network attached web cam and display the video feed in a Silverlight application.
I can't seem to find any examples of interfacing with the camera programatically.
Any leads would be much ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What WCF best practices do you follow in object model design? I've noticed that a handful of WCF applications choose to "break" their objects apart; that is, a project might have a DataObjects assembly that contains DataContracts/Members in addition to a meaningful class library that performs business logic.
Is this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: What does 'IISReset' do? On IIS 6, what does an IIS reset do?
Please compare to recycling an app pool and stopping and starting an ASP.NET web site.
If you replace a DLL or edit/replace the web.config on an ASP.NET web site is that the same as stopping and starting that web site?
A: IISReset stops and restarts the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "73"
} |
Q: Calculating Distance Between 2 Cities How do you calculate the distance between 2 cities?
A: You use the Haversine formula.
A: If you need to take the curvature of the earth into account, the Great-Circle distance is what you're looking for. The Wikipedia article probably does a better job of explaining how the f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: What are the advantages and disadvantages of using the GAC? And on top of that, are there cases where one has to use the global assembly cache or where one cannot use it?
A: The GAC runs with Full Trust and can be used by applications outside of your Web App. For example, Timer Jobs in Sharepoint HAVE to be in the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: How do I search content, within audio files/streams? I have always wondered how many different search techniques existed, for searching text, for searching images and even for videos.
However, I have never come across a solution that searched for content within audio files.
For example: Let us assume that I have ab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Syncing library/project subversion respositories I'm developing a library alongside several projects that use it, and I've found myself frequently modifying the library at the same time as a project (e.g., adding a function to the library and immediately using it in the project).
As a result, the project would no lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Windows / Active Directory - User / Groups I'm looking for a way to find a the windows login associated with a specific group. I'm trying to add permissions to a tool that only allows names formatted like:
DOMAIN\USER
DOMAIN\GROUP
I have a list of users in active directory format that I need to add:
ou=group1;ou=g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Reporting Systems for ASP.NET What are the best open source (open source and commercial) reporting tools for ASP.NET similar to Crystal Reports for ASP.NET?
A: Microsoft Reporting Services, free and included with SQL Server 2005 and 2008.
Of course, this is great if you need a separation of report design and applic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: What Javascript rich text editor will not break the browser's spellcheck? I'm using TinyMCE in an ASP.Net project, and I need a spell check. The only TinyMCE plugins I've found use PHP on the server side, and I guess I could just break down and install PHP on my server and do that, but quite frankly, what a pain. I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What's the best way to configure my Ruby compilation in Debian? When compiling from source, I never know which configure flags to use to optimize the compilation for my environment. Assume the following hardware/OS:
*
*Single Core, 2 GHz Intel
*512MB Ram
*Debian 4
I usually just go with
./configure --prefix=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Free or Open Source Collaboration/eLearning Software I am looking for open source or free data collaboration software. Specifically this is for a non-profit organization that wants to teach remote students how a foreign language. The idea is that an instructor would teach a class and there would be up to 10 student... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Natural language date/time parser for .NET? Does anyone know of a .NET date/time parser similar to Chronic for Ruby (handles stuff like "tomorrow" or "3pm next thursday")?
Note: I do write Ruby (which is how I know about Chronic) but this project must use .NET.
A: A .NET port of Chronic exists. See https://github.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: .NET Security Policy change by standard users? The .NET Security Policy can be changed from a script by using CasPol.exe. Say I will be distributing an application to several users on a local network. Most of those users will be unprivileged, standard accounts, so they will not have necessary permissions for the rel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Running Apache alongside another web server? Has anyone had any success running two different web servers -- such as Apache and CherryPy -- alongside each other on the same machine? I am experimenting with other web servers right now, and I'd like to see if I can do my experiments while keeping my other sites up an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the best way to setup memcached on CentOS to work with Apache and PHP What is the simplest way to install memcached on CentOS for someone new to the world of Linux? What is the best way to enable it for Apache and PHP
A: Unless Apache and PHP have some option to utilize memcached for internal workings (of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do you have any tips to improve ReSharper and/or Visual Studio performance? I'm using visual studio 2008 and ReSharper 4 and it's kind of slow. My machine has 2 GB of RAM, dual core processor and a 7200 rpm hard disk. I know more RAM and a faster hard disk could improve performance, but do you have any tips to impro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Why is Peer-to-Peer programming a hard topic to obtain good research for? After reading a bit more about how Gnutella and other P2P networks function, I wanted to start my own peer-to-peer system. I went in thinking that I would find plenty of tutorials and language-agnostic guidelines which could be applied, howev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you find a needle in a haystack? When implementing a needle search of a haystack in an object-oriented way, you essentially have three alternatives:
1. needle.find(haystack)
2. haystack.find(needle)
3. searcher.find(needle, haystack)
Which do you prefer, and why?
I know some people prefer the second alterna... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "76"
} |
Q: Colorizing images in Java I'm working on some code to colorize an image in Java. Basically what I'd like to do is something along the lines of GIMP's colorize command, so that if I have a BufferedImage and a Color, I can colorize the Image with the given color. Anyone got any ideas? My current best guess at doing so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Effective strategy for leaving an audit trail/change history for DB applications? What are some strategies that people have had success with for maintaining a change history for data in a fairly complex database. One of the applications that I frequently use and develop for could really benefit from a more comprehen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: Cleanest Way to Find a Match In a List What is the best way to find something in a list? I know LINQ has some nice tricks, but let's also get suggestions for C# 2.0. Lets get the best refactorings for this common code pattern.
Currently I use code like this:
// mObjList is a List<MyObject>
MyObject match = null;
f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How to handle including needed classes in PHP I'm wondering what the best practice is for handling the problem with having to "include" so many files in my PHP scripts in order to ensure that all the classes I need to use are accessible to my script.
Currently, I'm just using include_once to include the classes I a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to create a simple install system for VB6 on XP/Vista and newer? Heavy emphasis on simple. I've never made an installer and I'd rather not have to learn much. A system that I could hand a pile of files to and it would make some smart guesses about where to put them would be ideal.
Go ahead and answer the general... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How I hide empty Velocity variable names? I am using Struts + Velocity in a Java application, but after I submit a form, the confirmation page (Velocity template) shows the variable names instead an empty label, like the Age in following example:
Name: Fernando
Age: {person.age}
Sex: Male
I would like to know how ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: Closing and Disposing a WCF Service The Close method on an ICommunicationObject can throw two types of exceptions as MSDN outlines here. I understand why the Close method can throw those exceptions, but what I don't understand is why the Dispose method on a service proxy calls the Close method without a try around i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Best practices for refactoring classic ASP? I've got to do some significant development in a large, old, spaghetti-ridden ASP system. I've been away from ASP for a long time, focusing my energies on Rails development.
One basic step I've taken is to refactor pages into subs and functions with meaningful names, so th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How can I graph the Lines of Code history for git repo? Basically I want to get the number of lines-of-code in the repository after each commit.
The only (really crappy) ways I have found is to use git filter-branch to run wc -l *, and a script that runs git reset --hard on each commit, then runs wc -l
To make it a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: OpenGL Rotation I'm trying to do a simple rotation in OpenGL but must be missing the point.
I'm not looking for a specific fix so much as a quick explanation or link that explains OpenGL rotation more generally.
At the moment I have code like this:
glPushMatrix();
glRotatef(90.0, 0.0, 1.0, 0.0);
glBegin(GL_TRIAN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Factorial Algorithms in different languages I want to see all the different ways you can come up with, for a factorial subroutine, or program. The hope is that anyone can come here and see if they might want to learn a new language.
Ideas:
*
*Procedural
*Functional
*Object Oriented
*One liners
*Obfuscated
*Od... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: Algorithm to compare two images Given two different image files (in whatever format I choose), I need to write a program to predict the chance if one being the illegal copy of another. The author of the copy may do stuff like rotating, making negative, or adding trivial details (as well as changing the dimension of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "163"
} |
Q: Best method to get objects from a BlockingQueue in a concurrent program? What is the best method to get objects out of a BlockingQueue, in a concurrent program, without hitting a race condition? I'm currently doing the following and I'm not convinced it is the best method:
BlockingQueue<Violation> vQueue;
/*
in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What to do about ScanAlert? One of my clients uses McAfee ScanAlert (i.e., HackerSafe). It basically hits the site with about 1500 bad requests a day looking for security holes. Since it demonstrates malicious behavior it is tempting to just block it after a couple bad requests, but maybe I should let it exercise ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there some way to speed up recursion by remembering child nodes? For example,
Look at the code that calculates the n-th Fibonacci number:
fib(int n)
{
if(n==0 || n==1)
return 1;
return fib(n-1) + fib(n-2);
}
The problem with this code is that it will generate stack overflow error for any number g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: RESTful web services and HTTP verbs What is the minimum set of HTTP verbs that a server should allow for a web service to be classed as RESTful?
What if my hoster doesn't permit PUT and DELETE?
Is this actually important, can I live happily ever after with just GET and POST ?
Update: Thanks for the answers folks, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How do I marshal a lambda (Proc) in Ruby? Joe Van Dyk asked the Ruby mailing list:
Hi,
In Ruby, I guess you can't marshal a lambda/proc object, right? Is
that possible in lisp or other languages?
What I was trying to do:
l = lamda { ... }
Bj.submit "/path/to/ruby/program", :stdin => Marshal.dump(l)
So, I'm se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Why is an s-box input longer than its output? I don't understand where the extra bits are coming from in this article about s-boxes. Why doesn't the s-box take in the same number of bits for input as output?
A: It is the way s-boxes work. They can be m * n ==> m bit input , n bit output.
For example, in the AES ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Experiences Using ASP.NET MVC Framework I am wondering what experiences people are having using the ASP.NET MVC Framework? In particular I am looking for feedback on the type of experience folks are having using the framework.
What are people using for their view engine? What about the db layer, NHibernate, LINQ t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Setting Attributes in Webby Layouts I'm working with Webby and am looking for some clarification. Can I define attributes like title or author in my layout?
A: Not really. The layout has access to the page attributes rather than the other way.
The easiest way to do what you want is to populate the SITE.page_defau... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: To what extent should a developer learn specifics about database systems? Modern database systems today come with loads of features. And you would agree with me that to learn one database you must unlearn the concepts you learned in another database. For example, each database would implement locking differently tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Markdown vs markup - are they related? I'm using markdown to edit this question right now. In some wikis I used wiki markup. Are they the same thing? Are they related? Please explain. If I want to implement one or the other in a web project (like stackoverflow) what do I need to use?
A: Markup is a general term for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "271"
} |
Q: AnkhSVN versus VisualSVN I currently use AnkhSVN to integrate subversion into Visual Studio. Is there any reason I should switch to VisualSVN?
AnkhSVN is free (in more than one sense of the word) while VisualSVN costs $50. So right there unless I'm missing some great feature of VisualSVN I don't see any reason to sw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "59"
} |
Q: The Safari Back Button Problem I do some minor programming and web work for a local community college. Work that includes maintaining a very large and soul destroying website that consists of a hodge podge of VBScript, javascript, Dreamweaver generated cruft and a collection of add-ons that various conmen have convi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: Best way to license Microsoft software as an independent developer I've recently switched from being an employee of a small consulting company to being an independent consultant and as time goes on I will need to upgrade Windows and Visual Studio. So what is the most affordable way to go about this for a small time ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: C++ IDE for Linux? I want to expand my programming horizons to Linux. A good, dependable basic toolset is important, and what is more basic than an IDE?
I could find these SO topics:
*
*Lightweight IDE for linux and
*What tools do you use to develop
C++ applications on Linux?
I'm not looking for a lightweight ID... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "209"
} |
Q: Outlook Add-in using .NET We have been developing an Outlook Add-in using Visual Studio 2008. However I am facing a strange behavior while adding a command button to a custom command bar. This behavior is reflected when we add the button in the reply, reply all and forward windows. The issue is that the caption of t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Classes vs 2D arrays Which is better to use in PHP, a 2D array or a class? I've included an example of what I mean by this.
// Using a class
class someClass
{
public $name;
public $height;
public $weight;
function __construct($name, $height, $weight)
{
$this -> name = $name;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: From Monorail to ASP.Net MVC The last time I took on a non-trivial .Net/C# application I used Castle Monorail and, on the whole, enjoyed the experience. Early-access/preview releases of .Net MVC were not yet available. Many "Microsoft shops" will now find the "official" solution more appealing. Has anyone gone from ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Why are relational set-based queries better than cursors? When writing database queries in something like TSQL or PLSQL, we often have a choice of iterating over rows with a cursor to accomplish the task, or crafting a single SQL statement that does the same job all at once.
Also, we have the choice of simply pullin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: How does Hive compare to HBase? I'm interested in finding out how the recently-released (http://mirror.facebook.com/facebook/hive/hadoop-0.17/) Hive compares to HBase in terms of performance. The SQL-like interface used by Hive is very much preferable to the HBase API we have implemented.
A: Hive is an analytics to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "57"
} |
Q: Python code generator for Visual Studio? I had an idea, if I add a python .py file to my C# project, and tag the file with a custom generator that would execute the python file, and treat the output as the result of the code generation, ie. put it into a C# file, that would allow me to do quite a lot of code generat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.