text string | meta dict |
|---|---|
Q: LinqtoSQL and problems I am using link to sql, I have a connected set of objects.
I start out and do a linq statement like this
Dim L= from II in context.InventoryItems select II
Dim L2 = L.tolist
The second line was so that I could narrow down where the problem was occuring. When the second line is hit I get an er... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What code metric(s) convince you that provided code is "crappy"? Code lines per file, methods per class, cyclomatic complexity and so on. Developers resist and workaround most if not all of them! There is a good Joel article on it (no time to find it now).
What code metric(s) you recommend for use to automatically i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Random distribution of data How do I distribute a small amount of data in a random order in a much larger volume of data?
For example, I have several thousand lines of 'real' data, and I want to insert a dozen or two lines of control data in a random order throughout the 'real' data.
Now I am not trying to ask how t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Agile/Scrum resource planning cross projects We have different steps in our planning for online webprojects:
1) Information Architecture
*
*Provides user stories
*Provides wireframes
2) Design
*
*Use Wireframes to develop a nice design
3) Development
4) Testing
I know that working agile asks for dedicated... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: FormView_ItemUpdating in not updating I am using a FormView to update an existing SQL Server record. The rows from the sqldatasource display fine in the FormView and I can edit them. When I click Update, I get the ItemUpdating event but not the ItemUpdated event and the revisions are not written to the database.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Regular expression that uses an "OR" conditional I could use some help writing a regular expression. In my Django application, users can hit the following URL:
http://www.example.com/A1/B2/C3
I'd like to create a regular expression that allows accepts any of the following as a valid URL:
http://www.example.com/A1 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What are the advantages of RTSP? I am looking for the advantages of using RTSP to support streaming video to multiple devices. I have:
*
*Benefits of TCP.
*Commonly used protocol on web so supported by lots of infrastructure.
*Commonly used on web so lots of tools and stacks.
*Can use SSL.
*Wide device suppo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using SOAP to expose CRUD operations Is exposing CRUD operations through SOAP web services a bad idea? My instinct tells me that it is not least of which because the overhead of doing database calls overhead could be huge. I'm struggling to find documentation for/against this (anti)pattern so I was wondering if anyo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Event on Item Marked as Read in Outlook - Delphi COM Add-in I have a Delphi COM Add-in for Outlook (2000-2007) and am trying to find a way to register an event when an MailItem in Outlook is marked as read. I want to add an additional property to the item as/just after it is marked as read.
Does anyone have any ide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is your "generic" web application testing plan? Like, testing for :
*
*invalid inputs (strings containing "'"s)
*giving random id's in url parameters to access "unauthorized" pages
*prevent sql injection
*...
A: I would recommend reading this brilliant book to learn more about the test plans.
In partic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Linq to SQL: DataTable.Rows[0]["ColumnName"] equivalent Consider this:
var query = from r in this._db.Recipes
where r.RecipesID == recipeID
select new { r.RecipesID, r.RecipesName };
How would i get individual columns in my query object without using a for-loop?
Basicly: how do I translate D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hidding source control files within Visual Studio's solution tree We use Visual Studio 2008 and Surround SCM for source control. SCM drops files into each directory named ".MySCMServerInfo" which are user specific data files that shouldn't be checked into source control. They are similar to the .scc files dropped b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why use Ruby instead of Smalltalk? Ruby is becoming popular, largely from the influence Ruby on Rails, but it feels like it is currently struggling through its adolescence. There are a lot of similarities between Ruby and Smalltalk -- maglev is a testament to that. Despite having a more unusual syntax, Smalltalk has... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "123"
} |
Q: Cascading list boxes, with multi-select I wound up modifying the source from a publically posted POC: http://datacogs.com/datablogs/archive/2007/08/26/641.aspx, which is a custom field definition for cascading drop downs. The modifications were to allow parent-child list boxes where a user can multiselect for filte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: WatiN test using IE.GetCookie failing only from CruiseControl I added some simple WatiN tests to our app today to check that a cookie value is stored correctly.
The tests pass locally on all machines in the team. However, when CruiseControl runs the tests on our Build server these new tests fail on the line containi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Configuration Across Multiple Applications What is recommended for sharing configuration data amongst several related applications in a winforms solution? The two possible solutions I envisage are using a custom section in the machine.config (?) file, and the other is to create an extra config service application t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# nullable string error private string? typeOfContract
{
get { return (string?)ViewState["typeOfContract"]; }
set { ViewState["typeOfContract"] = value; }
}
Later in the code I use it like this:
typeOfContract = Request.QueryString["type"];
I am getting the following error at the declaration of typeOfContract... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "136"
} |
Q: Can you explain lambda expressions? I don't really get lambda expressions. While they've been around since the days of ALGOL, I didn't start hearing about them until fairly recently, when Python and Ruby became very popular. Now that C# has the => syntax, people in my world (.NET) are talking about lamdba expressio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Virtual List Controls (MFC) I am using a List Control to display a representation of elements within a vector. When the list is clicked on another control shows information about that element. The index of the element is currently determined by its index in the control, however if I wish to sort or filter the result... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Record Component Video I've found plenty of simple, cheap solutions for recording composite video sources to my PC, a laptop. But I'd like to be able to record in HD and use component cables.
I was wondering if anyone had a good solution for this.
Required:
Cheap
Desired
Portable, external hardware device
A: Depe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make parts of a website under SSL and the rest not? I need to create a cherrypy main page that has a login area. I want the login area to be secure, but not the rest of the page. How can I do this in CherryPy?
Ideally, any suggestions will be compatible with http://web.archive.org/web/20170210040849/http://... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: change pgsql port I have currently an installed pgsql instance that is running on port 1486. I want to change this port to 5433, how should I proceed for this?
A: You can also change the port when starting up:
$ pg_ctl -o "-F -p 5433" start
Or
$ postgres -p 5433
More about this in the manual.
A: There should be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "109"
} |
Q: Insert HTML into OpenXML Word Document (.Net) Using OpenXML SDK, I want to insert basic HTML snippets into a Word document.
How would you do this:
*
*Manipulating XML directly ?
*Using an XSLT ?
*using AltChunk ?
Moreover, C# or VB examples are more than welcome :)
A: Here is another (relatively new) alterna... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Import package.* vs import package.SpecificType Would it suppose any difference regarding overhead to write an import loading all the types within one package (import java.*); than just a specific type (i.e. import java.lang.ClassLoader)? Would the second one be a more advisable way to use than the other one?
A: I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "112"
} |
Q: Subversion not merging changes into renamed files? I have the following problem using subversion:
I'm currently working on the trunk of my project and plan to do some refactoring (which includes renaming files or moving files to different directories).
At the same time someone else is working on the same project on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Counting array elements in Python How can I count the number of elements in an array, because contrary to logic array.count(string) does not count all the elements in the array, it just searches for the number of occurrences of string.
A: Or,
myArray.__len__()
if you want to be oopy; "len(myArray)" is a lot easier... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "201"
} |
Q: Is there a systematic approach to avoid the 3 pitfalls(below) of software solutions?
*
*Developing software solutions which already exist and are available for re-use (either commercial or open-source). AKA "re-inventing the wheel".
*Same as above, but your solution being broken. AKA "re-inventing the square whee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ClassDefNotFound first time I start Tomcat from within Eclipse I have a Tomcat application which, the first time I start Tomcat after starting Eclipse, I get an odd NoClassDefFoundError. If I then stop and restart Tomcat through Eclipse, it works fine. I have single, double, and triple checked the classpath and ev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Client side Callback in GWT I'm trying to create a logger for a GWT application as an exercise to evaluate GWT. What I specifically want to do is have it so that I can post messages to a client side label at any point from the server side. So, if some interesting stuff has happened on the server the client can be up... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Drive a POS printer via USB in c# Any ideas how i can best drive a USB POS printer from c#.
POS printers are usually serial, TCP/IP or USB based.
I know how to accomplish serial and TCP/IP but have no idea about communications through USB in C#.
I know that there is a layer available from Microsoft called POS.NET, b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Oracle date How is Oracle date implemented? Is it stored as milliseconds or something like that?
A: An Oracle DATE stores the date and time to the second. An Oracle TIMESTAMP stores the date and time to up to 9 digits of subsecond precision, depending on the available hardware.
Both are implemented by storing the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How can I use the button tag with ASP.NET? I'd like to use the newer <button> tag in an ASP.NET website which, among other things, allows CSS-styled text and embedding a graphic inside the button. The asp:Button control renders as <input type="button">, is there any way to make a preexisting control render to <butto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "63"
} |
Q: How to read assembly attributes In my program, how can I read the properties set in AssemblyInfo.cs:
[assembly: AssemblyTitle("My Product")]
[assembly: AssemblyDescription("...")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Radeldudel inc.")]
[assembly: AssemblyProduct("My Product")]
[assembly:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "70"
} |
Q: Sharing Enum with WCF Service I have few different applications among which I'd like to share a C# enum. I can't quite figure out how to share an enum declaration between a regular application and a WCF service.
Here's the situation. I have 2 lightweight C# destop apps and a WCF webservice that all need to share en... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: How do you use version control with Access development? I'm involved with updating an Access solution. It has a good amount of VBA, a number of queries, a small amount of tables, and a few forms for data entry & report generation. It's an ideal candidate for Access.
I want to make changes to the table design, the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "172"
} |
Q: Mixing Visual Studio versions OK? Can Visual Studio 2005 Team edition for Developer coexist peacefully with Visual Studio 2008 Database edition on my machine? Are they completely separate applications that won't interfere in any way with each other?
Update:
What about Visual Studio 2008 Developer edition? If I inst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: In PHP, how do I find the value associated with a specific key I have two arrays. One contains id=>count and the other contains id=>name. I'm trying to produce a single array that is name=>count. Any suggestions on a straightforward way to do this?
I have looked at the Array Functions in the PHP Manual and didn't se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Access aliases in Gnome "Run Application" dialog I'd like to be able to run my aliases from my .bashrc in the "Run Application" dialog that comes up when you hit Alt+F2 in Ubuntu/Gnome.
Does anyone know how to do this?
A: http://www.freedesktop.org/wiki/Specifications is probably a good place to start. I find these... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How can I get Perl to give a warning message when a certain package/tag is imported? I have a package that I just made and I have an "old-mode" that basically makes it work like it worked before: importing everything into the current namespace. One of the nice things about having this as a package is that we no lon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is it important that Visual Studio 2008 thinks it's the wrong edition? I installed Visual Studio 2008 Standard Edition a month or so ago after a reformat (on Vista64, if that matters). I got it for free from one of those "Heroes Happen Here" launch events.
I then installed SQL Server 2008 Express Edition a week or s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a case insensitive jQuery :contains selector? Is there a case insensitive version of the :contains jQuery selector or should I do the work manually by looping over all elements and comparing their .text() to my string?
A: jQuery.expr[':'].contains = function(a,i,m){
return jQuery(a).text().toUpperCase(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "148"
} |
Q: Do you buy the reuse story for the presentation layer in MVP and its variations? Besides the unit testing benefits, what I heard regarding MVP pattern was that the reusability of the presentation layer. So, you would design one presentation layer and use it for WinForms (rich) and Web.
I am currently working on a w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Preprocessing source code as a part of a maven build I have a lot of Java source code that requires custom pre-processing. I'd like rid of it but that's not feasible right now so I'm stuck with it. Given that I have an unfortunate problem that shouldn't have existed in the first place, how do I solve it using maven?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Does ASP.net health monitoring work with asmx web services I'm trying to use ASP.net health monitoring to log unhandled exceptions from an asmx web service. I've enabled health monitoring in the web.config but it's not logging anything. Does health monitoring work with asmx web services? I've googled around and seem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I capture an mp3 stream with python What's the best way of capturing an mp3 stream coming off of http and saving it to disk with python?
Thus far I've tried
target = open(target_path, "w")
conn = urllib.urlopen(stream_url)
while True:
target.write(conn.read(buf_size))
This gives me data but its garbled o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Flash: How can I force a movieclip to stay inside constraints I have a flash program that loads movie clips dynamically and sometimes they want to use more than the space that I give them. Ideally I'd like to force them to only show content in borders I give them. The reason I want this is that my program has a user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to migrate a 3rd party web part from SharePoint 2 (2003) to SharePoint 3 (2007) I am migrating a site from SharePoint 2 to 3 (in fact, from SharePoint Portal Server 2003 to Microsoft Office SharePoint Server 2007). There are a handful of 3rd party web parts and since this is a migration, not an in-place upgrade... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I stop my MFC application from calling OnFileNew() when it starts? I used Visual Studio's Application Wizard to create a skeleton MFC program with a multi-document interface. When I start this program, it automatically creates a child frame, which I don't want it to do - I need the main frame's client area ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to read remote XML file the most efficiently way? I am developing a little app that retrieves an XML file, located on a remote server (http://example.com/myfile.xml)
This file is relatively big, and it contains a big list of geolocations with other information that I need to use for my app.
So I read this file r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Do I need to protect read access to an STL container in a multithreading environment? I have one std::list<> container and these threads:
*
*One writer thread which adds elements indefinitely.
*One reader/writer thread which reads and removes elements while available.
*Several reader threads which access the SI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: A Windows equivalent of the Unix tail command I'm looking for the equivalent of the Unix 'tail' command that will allow me to watch the output of a log file while it is being written to.
A: I've always used Baretail for tailing in Windows. It's free and pretty nice.
A: If you use PowerShell then this works:
Get-C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "478"
} |
Q: Self Signed Certificate in Windows without makecert? We have a shrink wrap type Windows server application where we need to create a self signed certificate on the server to be used by some WCF web services. From our searches on the web, it appears that the makecert utility in the PlatformSDK from Microsoft cannot ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Does the ASP.NET Development Server (a.k.a. Cassini) support SSL? We are trying to get our .NET devs to use the ASP.NET Development Server (VS2008) for web development instead of a local instance of IIS.
I received this response as a reason why some of our devs can't use it:
"Our XXXX Online Sales application uses S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Seriously, should I write bad PHP code? I'm doing some PHP work recently, and in all the code I've seen, people tend to use few methods. (They also tend to use few variables, but that's another issue.) I was wondering why this is, and I found this note "A function call with one parameter and an empty function body t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: VS 2008 #if conditional statement for unit testing Is there a "#if DEBUG"-like conditional statement which can be used in VS 2008 for determining if the code is being run from a unit test? (We're using MS's built-in unit testing.)
For example:
#if !UNITTEST
// Do some GUI stuff we don't want to see when unit testin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Software project manager: what is the best amount and quality of purely technical background? We are looking at hiring a software development project manager. His job is going to be concerned with running multiple dedicated project teams focused on delivery of software for external customers. He will also need to pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Using Delegates with Exchange Web Services Has anyone used delegates with exchnage web services? I would like one user to be able to control other users' calendars in Exchange. I'm finding this problem to be a little tricky, and I'd like to see how others have been able to get it to work properly.
A: I'm just ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a JavaScript solution to generating a "table of contents" for a page? I have headers in <h1> through <h6> tags. Is there a way that I can use JavaScript to generate a table of contents for the contents that serves as anchor tags as well?
I would like the output to be something like:
<ol>
<li>Header 1</l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Can a WinForms app be configured to run as "x86" without recompiling? Can a WinForms app compiled for "Any CPU" be configured to run as "x86" on a 64-bit server without recompiling the app? Specifically, I'm looking for an app.config setting or Control Panel applet to accomplish this end. All the customer's clients ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to make a python, command-line program autocomplete arbitrary things NOT interpreter I am aware of how to setup autocompletion of python objects in the python interpreter (on unix).
*
*Google shows many hits for explanations on how to do this.
*Unfortunately, there are so many references to that it is diff... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "122"
} |
Q: Problem with static library in C++ I'm trying to use a static library created by me in Visual C++ 2005 (unmanaged C++). I declare one function "int myF(int a);" into a .h file, I implement it in a .cpp file, I compile it - the .lib file is produced.
I create a new project (a separate solution) in VC++ 2005 (also nat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I preserve installed applications when migrating Ubuntu to another platform? I'm looking at maybe moving from an older AMD64 to a new Intel dual-core which is 32 bit. Installation isn't a problem but can I transfer all the installed apps? I haven't been
able to find anything so far on Google except where the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: What are the reasons for these 2 error messages? First of all, I'd like to say that this site is great!
My question is, what are the reasons for the following 2 error messages?
1) In VB.NET (I know this is a C# forum but my next question is from C# experience), property evaluation failed (I do this when putting a wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Default parameters with C++ constructors Is it good practice to have a class constructor that uses default parameters, or should I use separate overloaded constructors? For example:
// Use this...
class foo
{
private:
std::string name_;
unsigned int age_;
public:
foo(const std::string& name = "", cons... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "141"
} |
Q: Apply file structure diff/patch on remote system? Is there a tool that creates a diff of a file structure, perhaps based on an MD5 manifest. My goal is to send a package across the wire that contains new/updated files and a list of files to remove. It needs to copy over new/updated files and remove files that have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: J2ME widget library I am starting to develop a J2ME app and the built-in GUI components of the java library are ugly and inflexible.
Can anyone recommend a nice and easy to use (open-source...) widget library?
A: Not too many choices out there. The best option is probably Sun's LWUIT. It's recently been GPL'ed. Alt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Are HTTPS headers encrypted? When sending data over HTTPS, I know the content is encrypted, however I hear mixed answers about whether the headers are encrypted, or how much of the header is encrypted.
How much of HTTPS headers are encrypted?
Including GET/POST request URLs, Cookies, etc.
A: New answer to old quest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187655",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "755"
} |
Q: Use absolute value of linker command file variable in 'C' code I have a linker command file that assigns the top address of the stack into a variable
_stack = . + 0x80000;
I want to use this address in a 'c' program - I want to copy the stack to another location and then update the stack pointer to point to the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java equivalents of C# String.Format() and String.Join() I know this is a bit of a newbie question, but are there equivalents to C#'s string operations in Java?
Specifically, I'm talking about String.Format and String.Join.
A: The Java String object has a format method (as of 1.5), but no join method.
To get a bunc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "112"
} |
Q: Concurrency in RIA This'll be my first question on this platform. I've done lots of development using Flex, WebORB and ASP.NET. We have solved Concurrency problems with messaging (Pessimistic Concurrency Control). This works pretty good but it also makes the whole application dependent of the messaging. No messaging... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ListCellRenderer not Firing Events on Child Components The following ListCellRenderer does not receive click events on the nested ComboBoxes. Do I need to enable something?
class FilterCellRenderer implements ListCellRenderer {
public Component getListCellRendererComponent(JList list, Object value, int index, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Immutable String misunderstanding or a mistake in the Docs? I've just seen this in the MS Visual Studio docs and the part in bold doesn't make sense to me. Is it wrong or am I not understanding it properly? If you run this, b appears to hold "hello" (as I would expect) and not "h".
Strings are immutable--the content... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Converting floating point to fixed point In C++, what's the generic way to convert any floating point value (float) to fixed point (int, 16:16 or 24:8)?
EDIT: For clarification, fixed-point values have two parts to them: an integer part and a fractional part. The integer part can be represented by a signed or unsig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Command Line Password Prompt in PHP I'm writing a command line tool to help my web app. It needs a password to connect to the service. I'd like the script to show a password prompt so I don't have to pass it as a command line argument.
That's easy enough, but I'd like it to not echo the password to the screen as it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "81"
} |
Q: Continuous Integration with Nant I am preparing to use continuous integration for the first time. I will be using Nant for the automated build and testing tasks, and am trying to find the appropriate CI tool to poll the repository and execute the Nant script.
I have so far loosely researched the following:
*
*Hu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I tell if a class property has a public set (.NET)? I have this:
public string Log
{
get { return log; }
protected set
{
if (log != value)
{
MarkModified(PropertyNames.Log, log);
log = value;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: VisualStudio2005 debug into remote Linux webserver I am debugging VisualStudio 2005 webservice client software, accessing a Linux webserver.
VisualStudio has MSVSMON.exe for remote debugging of webserver code.
Is there an equivalent debug-monitor for Linux?
A: Yes, but it's not quite ready yet. You can sign up fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Recursive Lock (Mutex) vs Non-Recursive Lock (Mutex) POSIX allows mutexes to be recursive. That means the same thread can lock the same mutex twice and won't deadlock. Of course it also needs to unlock it twice, otherwise no other thread can obtain the mutex. Not all systems supporting pthreads also support recursiv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "202"
} |
Q: Can I show file copy progress using FileInfo.CopyTo() in .NET? I've created a copy utility in c# (.NET 2.0 Framework) that copies files, directories and recursive sub directories etc. The program has a GUI that shows the current file being copied, the current file number (sequence), the total number of files to be c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: Copy tables from one database to another in SQL Server I have a database called foo and a database called bar. I have a table in foo called tblFoobar that I want to move (data and all) to database bar from database foo. What is the SQL statement to do this?
A: You may go with this way: ( a general example )
insert ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "337"
} |
Q: Testing whether a certain type of non-null element exists... somewhere I have XML that looks like
<answers>
<answer>
<question-number>1</question-number>
<value>3</value>
<mean xsi:nil="1" />
</answer>
<answer>
<question-number>2</question-number>
<value>2</value>
<mean>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get BSSID (MAC address) of wireless access point from C# How can I get the BSSID / MAC (Media Access Control) address of the wireless access point my system is connected to using C#?
Note that I'm interested in the BSSID of the WAP. This is different from the MAC address of the networking portion of the WAP.
A: usi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Upgrading IIS 5.1 To IIS 6 on Windows XP Is it possible to update IIS on Windows XP from 5.1 to 6?
If so how?
Thanks.
A: No, I believe it is just for Win2003 and x64 XP Pro
A: No, it is not possible. The version of IIS is tied to a specific version of Windows.
XP = IIS 5.1
2003 = IIS 6
2008 = IIS 7
More informati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Errors in Aspect Oriented Programming with Policy Injection When using Aspect Oriented Programming with Policy injection, how do you deal with policy errors gracefully in your design?
In Aspect Oriented Programming the objects should be unconcerned with how a particular policy is configured, but a particular policy ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flex: Accessing functions / components accross mxml pages For simplicity lets say I have two flex mxml pages.
form.mxml
button.mxml
If the form.mxml page had the following code, it should work fine:
<custom:SelectView dSource="{_thedata}" id="form" visible="false">
</custom:SelectView>
<mx:LinkButton label="Show" ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Are data members allocated in the same memory space as their objects in C++? Say I've got a class like this:
class Test
{
int x;
SomeClass s;
}
And I instantiate it like this:
Test* t = new Test;
Is x on the stack, or the heap? What about s?
A: Since you've used new, it's all on the heap, stored [more or less... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Test Data Builder pattern: more useful or more upkeep? Let me start by saying I'm a huge fan of the elegance of this pattern -- I have a group of basic entities that I have implemented builders for (specifically for testing). However I have found (and this may be the caveat) that as my program evolved I kept having... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Automatically kill process that consume too much memory or stall on linux I would like a "system" that monitors a process and would kill said process if:
*
*the process exceeds some memory requirements
*the process does not respond to a message from the "system" in some period of time
I assume this "system" co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Best way to have a live readable config file in Asp.Net I need to tweak some variables (only in a development setting) without having to restart IIS or anything (so I assume Web.Config is the wrong place to put them). Where is the easiest place to put about 500 config settings that have to be read for every request... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Server STATISTICS So for this one project, we have a bunch of queries that are executed on a regular basis (every minute or so. I used the "Analyze Query in Database Engine " to check on them.
They are pretty simple:
select * from tablex where processed='0'
There is an index on processed, and each query should ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How do I restart a service on a remote machine in Windows? Sometimes while debugging, I need to restart a service on a remote machine. Currently, I'm doing this via Remote Desktop. How can it be done from the command line on my local machine?
A: You can use System Internals PSEXEC command to remotely execute a ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "142"
} |
Q: Is it possible to enable compression with SQL Server 2005 Replication I am sending data across a link with very little bandwidth and I will probably be sending large data files.
I have Merge Replication and Snapshot replication configured at present.
Is it possible to enable compression in SQL Server 2005 replicat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: .Net Background worker process localization help I am experiencing some weird behavior with localized messages reported from my background worker process in my windows forms application.
The application is a setup application with windows forms.
The application launches a background worker to perform and IIS reset a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Relocate JSF-generated javascript I am using lots of commandLinks in my app. For them to work, JSF generates some wild Javascript ( function dpf(f) {var adp... ). Sadly, the script-tag destroys my layout. (It really does - I am sure about that).
Is there a way to force JSF to generate the script-tag somewhere else?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Synchronous dialogs in Flex? How can I open a synchronous dialog in Flex? I need to call a function from an External Interface (JavaScript) that will open a simple dialog in the Flex application and returns an value according to the button the user has clicked (OK/Cancel).
So it should by a synchronous call to a dia... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What Does the DRY Principle Actually Look Like in ASP.NET MVC? I keep hearing about the DRY Principle and how it is so important in ASP.NET MVC, but when I do research on Google I don't seem to quite understand exactly how it applies to MVC.
From what I've read its not really the copy & paste code smell, which I tho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: TIBCO EMS Failover reconnect for C# (TIBCO.EMS.dll) We have a TIBCO EMS solution that uses built-in server failover in a 2-4 server environment. If the TIBCO admins fail-over services from one EMS server to another, connections are supposed to be transfered to the new server automatically at the EMS service level. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Visual Studio 2005 Designer not adding controls to the aspx.Designer.cs I'm not a fan of the Designer, I prefer to code straight to the ASPX page. However, since a reformat (and leading up to the reformat), the designer.cs files have not been updating correctly when manually coding to the .aspx file. This means my c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Grant Select on all Tables Owned By Specific User I need to grant select permission for all tables owned by a specific user to another user. Can I do this with a single command along the lines of:
Grant Select on OwningUser.* to ReceivingUser
Or do I have to generate the sql for each table with something along the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "45"
} |
Q: Control Visual Studio plugins from the command line Is there a way to control the addins Visual Studio 2008 loads via the command line?
I am looking for a way to load my DevExpress plug in when I am working with VB or C# and alternatively load Visual Assist X when I am working on a c++ project.
A: Not a direct answ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/187888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |