text stringlengths 8 267k | meta dict |
|---|---|
Q: Does ASP.NET transfer ALL session data from SQL server at the start of a request, or only as needed? I'm using ASP.NET, with session state stored out of process in SQL Server. When a page request begins, are the entire contents of a user's session retrieved from the DB, deserialized, and sent to the ASP.NET process ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: how to compare/validate sql schema I'm looking for a way to validate the SQL schema on a production DB after updating an application version. If the application does not match the DB schema version, there should be a way to warn the user and list the changes needed.
Is there a tool or a framework (to use programatic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Html control and Server control can be used in single aspx page I need help on this following aspx code
aspx Code:
<asp:Label ID ="lblName" runat ="server" Text ="Name"></asp:Label>
<asp:TextBox ID ="txtName" runat ="server"></asp:TextBox>
Consider this is my aspx page content. I am going to populate the values for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Resources for 2d game physics I'm looking for some good references for learning how to model 2d physics in games. I am not looking for a library to do it for me - I want to think and learn, not blindly use someone else's work.
I've done a good bit of Googling, and while I've found a few tutorials on GameDev, etc., I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: Adding field to open recordset I there a simple way to append a new field to an existing open ADO RecordSet?
fields.append() won't work if the RecordSet is open, and closing appears to kill the existing data.
NB: I'm using Microsoft ActiveX DataObject 2.8 Library
A: You can't append fields to a recordset while it'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How does ItemContainerGenerator.ContainerFromItem work with a grouped list? I have a ListBox which until recently was displaying a flat list of items. I was able to use myList.ItemContainerGenerator.ConainerFromItem(thing) to retrieve the ListBoxItem hosting "thing" in the list.
This week I've modified the ListBox s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: How do I convert a "title" attribute to a mouse over event with jQuery? I have a "span" element inside a "table" "td" element. The span tag has a Title.
I want to get the title of that span tag and pull it out to make it the "mouseover" tip for the "td" element.
For example:
I want to turn this:
<td>
<a href="#... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP Preserve scope when calling a function I have a function that includes a file based on the string that gets passed to it i.e. the action variable from the query string. I use this for filtering purposes etc so people can't include files they shouldn't be able to and if the file doesn't exist a default file is lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Where can I find a good jQuery drop shadow plugin? Does anyone have a good recommendation for a drop shadow jQuery plugin?
I've been working on a project that had every element on the page with a subtle drop shadow, we started using RUZEE to do the shadows but there was a severe performance hit when you had more the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Why do people like case sensitivity? Just wondering why people like case sensitivity in a programming language? I'm not trying to start a flame war just curious thats all.
Personally I have never really liked it because I find my productivity goes down when ever I have tried a language that has case sensitivity, min... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Which is correct way to check for Null exception? Which is the most correct code?
if (HttpContext.Current.Response.Cookies[authCookieName] != null) {
HttpContext.Current.Response.Cookies[authCookieName].Value = "New Value";
}
or
if (HttpContext.Current != null)
if (HttpContext.Current.Response != null)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Avoiding TSQL Data-conversion errors I think this is best asked in the form of a simple example. The following chunk of SQL causes a "DB-Library Error:20049 Severity:4 Message:Data-conversion resulted in overflow" message, but how come?
declare @a numeric(18,6), @b numeric(18,6), @c numeric(18,6)
select @a = 1.000... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is better practice when programming a member function? I have seen member functions programed both inside of the class they belong to and outside of the class with a function prototype inside of the class. I have only ever programmed using the first method, but was wondering if it is better practice to use the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Installing starling on Windows I am trying to install the starling gem on my Windows machine. But, whenever I try to install it I get this error:
Building native extensions. This could take a while...
ERROR: Error installing starling:
ERROR: Failed to build gem native extension.
c:/ruby/bin/ruby.ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Detecting Mouse clicks in windows using python How can I detect mouse clicks regardless of the window the mouse is in?
Perferabliy in python, but if someone can explain it in any langauge I might be able to figure it out.
I found this on microsoft's site:
http://msdn.microsoft.com/en-us/library/ms645533(VS.85).aspx
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: Is it possible to convince GCC to mimic the fastcall calling convention? So i have a piece of assembly that needs to call a function with the fastcall calling convention on windows, but gcc doesn't (afaict) support it. GCC does provide the regparm attribute but that expects the first 3 parameters to be passed in ea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Setting PDQ inside an SPL - local scope? In order to fine tune allocation of PDQ resources depending on the time of day that batch jobs run, we have a utility that sets PDQPRIORITY based on some day of week / hour of day rules, eg:
PDQPRIORITY=$(throttle); export PDQPRIORITY
However, this is fixed at the time the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I track what registry changes is done to the system by an install shield installer? I need something like i6comp but for list of reg changes rather than list of files.
Does such a thing exist?
EDIT:I know there are ways to do monitor changes to the ergistry but are there ways to do it by examining the setup f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Collection Editor at runtime I'm working on an application to edit name/value pairs using a property grid.
Some of the properties in my class file are ListDictionary collections. Is there
an Editor attribute that I can apply at the property declaration that will make the
Collection Editor work at runtime? If not, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: iPhone Proximity Sensor Can the iPhone SDK take advantage of the iPhone's proximity sensors? If so, why hasn't anyone taken advantage of them? I could picture a few decent uses.
For example, in a racing game, you could put your finger on the proximity sensor to go instead of taking up screen real-estate with your th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Can I show a Generalization relationship in a Domain Model in UML I would like to ask if it is possible to show Generalization relationship in UML for a Domain Model although I understand I can do that in a Class Diagram? I did not see much examples of Domain Model displaying Generalization Relationship except in Cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to tell if text on the windows clipboard is ISO 8859 or UTF-8 in C++? I would like to know if there is an easy way to detect if the text on the clipboard is in ISO 8859 or UTF-8 ?
Here is my current code:
COleDataObject obj;
if (obj.AttachClipboard())
{
if (obj.IsDataAvailable(CF_TEXT))
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How do I get the filename of the currently playing file in Vista Media Center? I have Windows Vista MCML app, and I need to figure out the current name of the file playing.
The Media Center SDK alludes to using MediaMetadata["Title"] to get this information, unfortunately this does not work with playlists (.wpl) fil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you control printer tray selection for printer in Windows We need to be able to change the default selected print tray of a given printer. Does anyone have VC++/win32 code for doing this?
In case it matters, I believe we have to change the default setting for the printer. Our print jobs are executed by an a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: SQL query for cumulative frequency of list of datetimes I have a list of times in a database column (representing visits to a website).
I need to group them in intervals and then get a 'cumulative frequency' table of those dates.
For instance I might have:
9:01
9:04
9:11
9:13
9:22
9:24
9:28
and i want to convert th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Learning about Auto-Implemented Properties I have the simple class using auto-implemented properies:
Public Class foo
{
public foo() { }
public string BarName {get; set;}
}
I obviously use the variable BarName throughout my class and now need to add logic when the property value is set (it must be all ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Running a SWF from file:/// without having the user change their Flash Player security settings I have a Flex app that does a a fair amount of network traffic, it uses ExternalInterface to make some javascript calls (for SCORM), it loads XML files, images, video, audio and it has a series of modules that it could be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I access the raw HTTP request data with PHP/apache? I was wondering if there was a way to get at the raw HTTP request data in PHP running on apache that doesn't involve using any additional extensions. I've seen the HTTP functions in the manual, but I don't have the option of installing an extension in my en... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How do I create a custom slot in qt4 designer? Whenever I use the signal/slot editor dialog box, I have to choose from the existing list of slots. So the question is how do I create a custom named slot?
A: Unfortunately this is not possible in Qt4.
In Qt3 you could create custom slots which where then implemented ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: How can I display a calendar control (date picker) in Oracle forms 9/10? How can I display a calendar control (date picker) in Oracle forms 9/10?
A: Most forms projects I've worked already have a date picker, implemented as a separate form - e.g. I think one gets generated by HeadStart. I think it's also been imple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to add a Tooltip to a "td" with jquery? I need to add a tooltip/alt to a "td" element inside of my tables with jquery.
Can someone help me out?
I tried:
var tTip ="Hello world";
$(this).attr("onmouseover", tip(tTip));
where I have verified that I am using the "td" as "this".
**Edit:**I am able to capture the "t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Why is my Perl regex using so much memory? I'm running a regular expression against a large scalar. Though this match isn't capturing anything, my process grows by 30M after this match:
# A
if (${$c} =~ m/\G<<\s*/cgs)
{
#B
...
}
$c is a reference to a pretty big scalar (around 21M), but I've verified that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Can J# code run on JVM If I create a J# Application is there any way I can execute it on JVM as well
A: No, J# programs are designed to run on the .NET platform. See the J# FAQ.
A: Yes - sort of. If the Java you write will compile using javac then you can have one source base and compile for both J# and Java. We d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how do I specify the source code directory in VS when looking at the call stack of a memory dump? I am analyzing a .dmp file that was created and I have a call stack which gives me a lot of info. But I'd like to double click on the call stack and have it bring me to the source code.
I can right click on the call ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to use data mining feature of SQL Server 2008 with ASP.Net How to use data mining feature of SQL Server 2008 with ASP.Net
A: Take a look at SqlServerDataMining.com, a site run by Microsoft's SQL Server Data Mining team.
A: In a nutshell, you want to:
*
*Build cubes to model your data
*Build a prediction ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I provide a suffix for days of the month? I need a function to return a suffix for days when displaying text like the "th" in "Wednesday June 5th, 2008".
It only need work for the numbers 1 through 31 (no error checking required) and English.
A: Here is an alternative which should work for larger numbers too... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Practical uses for the "internal" keyword in C# Could you please explain what the practical usage is for the internal keyword in C#?
I know that the internal modifier limits access to the current assembly, but when and in which circumstance should I use it?
A: Saw an interesting one the other day, maybe week, on a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "485"
} |
Q: How to debug RESTful services? I'm looking for an easy way to debug RESTful services. For example, most webapps can be debugged using your average web browser. Unfortunately that same browser won't allow me to test HTTP PUT, DELETE, and to a certain degree even HTTP POST.
I am not looking to automate tests. I'd like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "59"
} |
Q: Do programmers of other languages, besides C++, use, know or understand RAII? I've noticed RAII has been getting lots of attention on Stackoverflow, but in my circles (mostly C++) RAII is so obvious its like asking what's a class or a destructor.
So I'm really curious if that's because I'm surrounded daily, by hard-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: end() function The end() function in jQuery reverts the element set back to what it was before the last destructive change, so I can see how it's supposed to be used, but I've seen some code examples, eg: on alistapart (which were probably from older versions of jQuery - the article is from 2006) which finished ever... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do you show animated GIFs on a Windows Form (c#) I have a form showing progress messages as a fairly long process runs. It's a call to a web service so I can't really show a percentage complete figure on a progress bar meaningfully. (I don't particularly like the Marquee property of the progress bar)
I would lik... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "154"
} |
Q: Is it advisable to build a web service over other web services? I've inherited this really weird codebase where they've built an external web service over a bunch of internal web services just to add authentication/authorization using WS-Security, WS-Encryption, et al. Less than a month into this engagement, I'm alr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: For your complicated algorithms, how do you measure its performance? Let's just assume for now that you have narrowed down where the typical bottlenecks in your app are. For all you know, it might be the batch process you run to reindex your tables; it could be the SQL queries that runs over your effective-dated tre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is the command line syntax for custom stacks for the OSX Leopard dock? I know there is a command line syntax for adding custom stacks to the OSX Leopard dock besides the "Downloads" which comes by default. What is it?
A: http://code.google.com/p/dockutil/
A: While this doesn't completely answer your question... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does Common Lisp have a something like java's Set Interface/implementing classes? I need something like this, a collection of elements which contains no duplicates of any element. Does Common Lisp, specifically SBCL, have any thing like this?
A: For a quick solution, just use hash tables, as has been mentioned bef... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Assembly dependencies with .Net projects If I have an assembly (A) which references another assembly (B).
I want to reference A in a project, I add the reference and it copies A into my BIN directory. It does not copy B as well, even though A depends on it, so the code doesn't compile.
How can I set things up so t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Are the PUT, DELETE, HEAD, etc methods available in most web browsers? I've seen a couple questions around here like How to debug RESTful services, which mentions:
Unfortunately that same browser won't allow me to test HTTP PUT, DELETE, and to a certain degree even HTTP POST.
I've also heard that browsers support ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "633"
} |
Q: Opinion: in HTML, Possible Duplicate IDs or Non-Standard Attributes? It seems pretty common to want to let your javascript know a particular dom node corresponds to a record in the database. So, how do you do it?
One way I've seen that's pretty common is to use a class for the type and an id for the id:
<div class=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: What's the nicest way to do observer/observable in objective-c (iphone version) I'm used to coding Java Swing UIs, and in those if you have some properties that change, and you want your UI to update, you would implement the observer/observable pattern. In Java you do this normally by having your class maintain a li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Using ini-files with VB 6.0 I must be getting daft, but I can't seem to find how to read old-fashioned ini files with VB 6.0. All I can seem to find is about reading from and writing to the registry. Can someone push me in the right direction? Mind you, I am not a programmer, just a hobbyist trying to have some harm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the best way for me to implement record locking? I have a question about locking. This doesn't have to be only about record locking, but anyway.
Let's say I'm writing a web accessible CMS. I am struggling with some ideas.
I could, on the moment when a user opens an article for editing, flag the article as be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Simple insecure two-way data "obfuscation"? I'm looking for very simple obfuscation (like encrypt and decrypt but not necessarily secure) functionality for some data. It's not mission critical. I need something to keep honest people honest, but something a little stronger than ROT13 or Base64.
I'd prefer something t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "441"
} |
Q: Is there a way to count the number of IL instructions executed? I want to do some benchmarking of a C# process, but I don't want to use time as my vector - I want to count the number of IL instructions that get executed in a particular method call. Is this possible?
Edit I don't mean static analysis of a method body... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Design of an performance assertion checking system What are opinions on the design of a "performance assertion checking" system?
The idea is that a developer makes some assertions about his/her code and use these to test the evolution of the performance of the code. What is the experience with such a system?
My curr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Code Coverage for Mono? mono creates its own debug targets called .mdb files when you use the mcs compiler.
is there a way of using NCover or another code coverage tool with Mono?
a commandline tool would be better so I can add it to our continuous integration server.
A: have you looked into monocov?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/165814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Transactional queueing/dequeueing I need to queue events and tasks for external systems in a reliable/transactional way. Using things like MSMQ or ActiveMQ look very seductive, but the transactional part becomes complicated (MSDTC, etc).
We could use the database (SQL Server 2005+, Oracle 9+) and achieve easier tra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Daily Build vs. Zero Defect How do you go about doing a daily build and striving for a zero-defect environment? Does it mean I never get to go home until I've killed all the bugs in my new code? Or does it mean I just don't check my code back in until I've fully tested it, which leaves the code effectively branched ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Site-Mining tools Many of the questions asked here are relevant to research I'm doing. These questions and answers are widely dispersed and not always easy to find, doing manual browsing, and sometimes an insightful answer or comment occurs in unrelated topics as well.
I want to automate finding these relevant Q's &... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best enterprise repository tool for Maven 2? Some of the other questions and answers here on SO extol the virtues of using an enterprise repository tool like Archiva, Artifactory, or Nexus. What are the pros and cons of each? How do I choose between them?
In case it helps:
*
*We use both Maven 1 and Maven 2 (at l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Dynamic Database Binding in C# I have a project here that connects to an in-production database and grabs tables and views. The code I've inherited connects to a SQL Server database via a SqlConnection, with the user's provided credentials and the database location they provide. When data is required, it uses the co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Apache configuration help -- Why are different processes "in" different time zones? I have Apache 2 running on a VPS server (running Debian). I recently changed the timezone on the server (using dpkg-reconfigure tzdata) from America/New_York to America/Los_Angeles to match my move across country. I have also reboo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Python object attributes - methodology for access Suppose I have a class with some attributes. How is it best (in the Pythonic-OOP) sense to access these attributes ? Just like obj.attr ? Or perhaps write get accessors ?
What are the accepted naming styles for such things ?
Edit:
Can you elaborate on the best-pract... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: .NET Date Compare: Count the amount of working days since a date? What's the easiest way to compute the amount of working days since a date? VB.NET preferred, but C# is okay.
And by "working days", I mean all days excluding Saturday and Sunday. If the algorithm can also take into account a list of specific 'exclusio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Thread-safe atomic operations in gcc In a program I work on, I have a lot of code as follows:
pthread_mutex_lock( &frame->mutex );
frame->variable = variable;
pthread_mutex_unlock( &frame->mutex );
This is clearly a waste of CPU cycles if the middle instruction can just be replaced with an atomic store. I know tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Retrieving session information with ASP.NET MVC Let's say you have an ASP.NET MVC web application with a page that is accessible to all registered users of your application. Now this page has mostly general information, but there is also one panel that shows the current logged in user's personal information. How d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I debug a .BAT script? Is there a way to step through a .bat script? The thing is, I have a build script , which calls a lot of other scripts, and I would like to see what is the order in which they are called, so that I may know where exactly I have to go about and add my modifications.
A: I found 'running... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "107"
} |
Q: What is the best approach for IPC between Java and C++? I would like to implement a robust IPC solution between a single JVM app (one process, potentially multiple threads) and a native C++ application that is linked to a C++ dll. The dll may or may not be on the same physical machine. What is the best approach fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Mono created features available on .NET? I noticed the following today: Mono at the PDC 2008?
My talk will cover new technologies that we have created as part of Mono. Some of them are reusable on .NET (we try to make our code cross platform) and some other are features that specific to Mono's implementation of the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How can I run a CLI Application as a Windows Service? Say I have a third party Application that does background work, but prints out all errors and messages to the console. This means, that currently, we have to keep a user logged on to the server, and restart the application (double-click) every time we reboot.
Not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What is Code compiled unit in ASP.net I need to know what is code compiled unit in .net. It s located in this
path C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\App_folders
I need to know why its created ccu file also an complied file with application extension dll.
Do this take any referenc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Determining Referer in PHP What is the most reliable and secure way to determine what page either sent, or called (via AJAX), the current page. I don't want to use the $_SERVER['HTTP_REFERER'], because of the (lack of) reliability, and I need the page being called to only come from requests originating on my site.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "106"
} |
Q: Moving between dialog controls in Windows Mobile without the tab key I have a windows mobile 5.0 app, written in C++ MFC, with lots of dialogs. One of the devices I'm currently targetting does not have a tab key, so I would like to use another key to move between controls. This is fine for buttons but not edit con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165984",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Automatically starting Windows Sound Recorder My division has been tasked with recording the morning presentation audio for future use, using the built-in Windows Sound Recorder. Because of human nature, we don't always remember to start it on time.
Windows doesn't have a built-in equivalent to the Unix cron functi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/165987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Tool or code for Cache and Memory Bus performances I am facing a performance issue on a multi-core (8+) architecture with software written in C++ / VistualStudio / WindowsXP.
Suddenly I realized that I have no idea of the performances of my L1 and L2 cache and CPU->to->Memory bandwidth.
I have tested several tools (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Need assistance with accelerating a GOval object (making a Breakout game) Hey peoples, I've been studying Java for a couple of weeks, and have decided to produce my own version of Breakout. The game is working fine, apart from the method which is supposed to modify the ball (GOval) speed based on the speed of the pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does ASP Classic has its own security framework or does it use that of IIS? I'm supporting a site that still uses mixed ASP.NET and ASP Classic. The user receives a 'You are not authorized' error page while accessing certain ASP Classic page. I've checked her active directory account and she could access other pages... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Find running clickonce deployed single instance app? I'm currently facing a problem with my single instance clickonce deployed app, and maybe someone has a good idea about it.
My app is called by a web application, which passes parameters to this exe. Now the problem is, if the application is already running, it tak... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Handling large databases I have been working in a web project(asp.net) for around six months. The final product is about to go live. The project uses SQL Server as the database. We have done performance testing with some large volumes of data, results show that performance degrades when data becomes too large, say 2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: What do ‘value semantics’ and ‘pointer semantics’ mean? What is meant by ‘value semantics’, and what is meant by ‘implicit pointer semantics’?
A: Java is using implicit pointer semantics for Object types and value semantics for primitives.
Value semantics means that you deal directly with values and that you pass c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Sleeping in a batch file When writing a batch file to automate something on a Windows box, I've needed to pause its execution for several seconds (usually in a test/wait loop, waiting for a process to start). At the time, the best solution I could find uses ping (I kid you not) to achieve the desired effect. I've fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "163"
} |
Q: How should I name packages if I don't have a domain associated with me? So most Java resources when speaking of packages mention a com.yourcompany.project setup. However, I do not work for a company, and don't have a website. Are there any naming conventions that are common? An email address, perhaps?
A: If your cr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: C# structural highlighting in Visual Studio 2008 I'm looking for an add-in to VS2008 that can enable structural highlighting (vertical lines in blocks of code) in the C# code editor.
I tried out CodeRush, but while the structural highlighting was great, I was annoyed with all the other stuff in CodeRush. No matter ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I get data from a stored procedure into a temp table? Am working on sybase ASE 15. Looking for something like this
Select * into #tmp exec my_stp;
my_stp returns 10 data rows with two columns in each row.
A: In ASE 15 I believe you can use functions, but they're not going to help with multirow datasets.
If... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: #define TRACE(...) doesn't work in C++ I have the following preprocessor divective:
#ifndef NDEBUG
#define TRACE printf
#else
#define TRACE(...)
#endif
and example of usage is:
TRACE("TRACE: some parameter = %i\n", param);
In C all works perfectly well when I build both debug and release versions, but in C++ compi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's the best available online resource for Windows Mobile Development? What's the best available online resource.
A: I have only played with the Mobile Framework briefly but a good start would be Windows Mobile Developer Center
Also it is worth looking at some example open source projects on CodePlex.
Microsoft... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is C# analog of C++ std::pair? I'm interested: What is C#'s analog of std::pair in C++? I found System.Web.UI.Pair class, but I'd prefer something template-based.
Thank you!
A: System.Web.UI contained the Pair class because it was used heavily in ASP.NET 1.1 as an internal ViewState structure.
Update Aug 2017:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "336"
} |
Q: How can I clone a .NET solution? Starting new .NET projects always involves a bit of work. You have to create the solution, add projects for different tiers (Domain, DAL, Web, Test), set up references, solution structure, copy javascript files, css templates and master pages etc etc.
What I'd like is an easy way of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Function returning the return of another function If I want to call Bar() instead of Foo(), does Bar() return me a copy (additional overhead) of what Foo() returns, or it returns the same object which Foo() places on the temporary stack?
vector<int> Foo(){
vector<int> result;
result.push_back(1);
r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: .NET design course? Is there a course that can help non OO programmers how to develop in .NET in a good way?
I don't mean just the syntax and how to design a class and the relationship between class but how organize a solution into projects (naming, what to put on each one) what method is more suitable to access dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: C++: Multithreading and refcounted object I'm currently trying to pass a mono threaded program to multithread. This software do heavy usage of "refCounted" objects, which lead to some issues in multithread. I'm looking for some design pattern or something that might solve my problem.
The main problem is object delet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Prevent Default Behavior in Key Listeners in YUI I have a web page where I'd like to remap Ctrl+N to a different behavior. I followed YUI's example of register Key Listeners and my function is called but Firefox still creates a new browser window. Things seem to work fine on IE7. How do I stop the new window from sh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Maximum length of the textual representation of an IPv6 address? I want to store the data returned by $_SERVER["REMOTE_ADDR"] in PHP into a DB field, pretty simple task, really. The problem is that I can't find any proper information about the maximum length of the textual representation of an IPv6 address, which is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "532"
} |
Q: What's quicker; including another file or querying a MySQL database in PHP? In PHP, which is quicker; using include('somefile.php') or querying a MySQL database with a simple SELECT query to get the same information?
For example, say you had a JavaScript autocomplete search field which needed 3,000 terms to match ag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Learning VB6 I'm moving from Java Development to a MSFT environment. The app is currently written in VB6 and while its going to go to VB.NET/C# in the future, I need to find a way to pick up VB6 now. I'm told its old, and there will be no books on it available these days.
Any tips? Sites?
A: There are tons of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is there a difference between DataTable.Clear and DataTable.Rows.Clear? I recall there is a difference between some methods/properties called directly on the DataTable class, and the identically named methods/properties on the DataTable.Rows property. (Might have been the RowCount/Count property for which I read thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How can I scale the content of an iframe? How can I scale the content of an iframe (in my example it is an HTML page, and is not a popup) in a page of my web site?
For example, I want to display the content that appears in the iframe at 80% of the original size.
A: Thought I'd share what I came up with, using much ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "281"
} |
Q: How can I convert List to Hashtable in C#? I have a list of objects, each containing an Id, Code and Description.
I need to convert this list into a Hashtable, using Description as the key and Id as the value.
This is so the Hashtable can then be serialised to JSON.
Is there a way to convert from List<Object> to Has... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Searching date meta tags in Sharepoint I'm currently looking at indexing an ASP website from Sharepoint and I need to replicate the old "advanced search" schema that the users are familiar with. In order to do this I need to index a few meta tags from the web pages. This is easily done and for the text fields I can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Better preverifiers than Sun WTK I'm currently using the sun preverifier to preverify my MIDlet. I'm finding that it can be a bit slow, doesnt give any decent error messages and is only available as a windows exe.
Are there any better preverifiers around that will work cross platform (linux specifically)
A: Proguar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/166179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL 2005 Foreign key between another base Is it possible to create in a table of database a foreign key to a column of table in another database in SQL 2005 ?
A: no. if you need cross database referntial integrity the only way is to use triggers.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/166185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.