text stringlengths 8 267k | meta dict |
|---|---|
Q: Boost dependency for a C++ open source project? Boost is meant to be the standard non-standard C++ library that every C++ user can use. Is it reasonable to assume it's available for an open source C++ project, or is it a large dependency too far?
A: Basically your question boils down to “is it reasonable to have [... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: C# / ASP.NET - Web Application locking I'm working on a C#/ASP.NET web application, and I have a number of situations where I need to do locking. Ideally, I want the locks to act independently, since they have nothing to do with each other. I've been considering [MethodImpl(MethodImplOptions.Synchronized)] and a f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I hyperlink to a file that is not in my Web Application? Ok, my web application is at C:\inetpub\wwwroot\website
The files I want to link to are in S:\someFolder
Can I make a link in the webapp that will direct to the file in someFolder?
A: If its on a different drive on the server, you will need to make a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I apply css to second level menu items? I have a menu running off of a sitemap which one of the SiteMapNode looks like this:
<siteMapNode title="Gear" description="" url="">
<siteMapNode title="Armor" description="" url="~/Armor.aspx" />
<siteMapNode title="Weapons" description="" url="~/Weapons.aspx" /... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I prevent the iPhone screen from dimming or turning off while my application is running? I'm working on an app that requires no user input, but I don't want the iPhone to enter the power saving mode.
Is it possible to disable power saving from an app?
A: In swift you can use this as
UIApplication.sharedAppl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "126"
} |
Q: Piece together several images into one big image I'm trying to put several images together into one big image, and am looking for an algorithm which determines the placing most optimally. The images can't be rotated or resized, but the position in the resulting image is not important.
edit: added no resize constrain... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: What charting tools/controls would you use with SQL Server/Reporting Services? Apart from commercial tools like Dundas, are there any open source or cheaper (and decent) 3rd party charting tools/controls for reporting services out there?
A: You can try ChartFX for ReportingServices. It is not too expensive.
http:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I call a webservice without a web reference? I want to call a web service, but I won't know the url till runtime.
Whats the best way to get the web reference in, without actually committing to a url.
What about having 1 client hit the same web service on say 10 different domains?
A: Create the web reference,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is it possible to link to a bookmark within a PDF using URL parameters? When providing a link to a PDF file on a website, is it possible to include information in the URL (request parameters) which will make the PDF browser plugin (if used) jump to a particular bookmark instead of just opening at the beginning?
Some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "84"
} |
Q: Book/resource recommendation for learning charting with Reporting Services What books or online resource would you recommend for learning how to do advanced charts and dashboard design with Reporting Services?
A: While not specific to SSRS The Visual Display of Quantitative Information is the place to start.
A: I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create WPF ItemTemplate DYNAMICALLY at runtime At run time I want to dynamically build grid columns (or another display layout) in a WPF ListView. I do not know the number and names of the columns before hand.
I want to be able to do:
MyListView.ItemSource = MyDataset;
MyListView.CreateColumns();
A: You can add... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Smarty templates i18n I just wonder about an easy way to make i18n inside Smarty templates.
Something like gettext() which I already use inside my PHP scripts.
Any ideas?
A: My recent attempt to use intSmarty (http://code.google.com/p/intsmarty/) was unsuccessful -- it seemed to me that the intSmarty class is not c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Categories of design patterns The classic "Design Patterns: Elements of Reusable Object-Oriented Software" actually introduced most of us to the idea of design patterns.
However these days I find a book such as "Patterns of Enterprise Application Architecture" (POEA) by Martin Fowler, much more useful in my day to d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: When should I use _aligned_malloc()? I've been reading the legacy code,which invloves in the customized memory pooling system, then I found that the code uses _aligned_malloc. I wonder what is this function and when do I have to use it.
Thanks all of you.
I did read MSDN but what I wanted was the answer like "An ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How do I write a program that tells when my other program ends? How do I write a program that tells when my other program ends?
A: On Windows, a technique I've used is to create a global named object (such as a mutex with CreateMutex), and then have the monitoring program open that same named mutex and wait for it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Code Obfuscation? So, I have a penchant for Easter Eggs... this dates back to me being part of the found community of the Easter Egg Archive.
However, I also do a lot of open source programming.
What I want to know is, what do you think is the best way to SYSTEMATICALLY and METHODICALLY obfuscate code.
Examples in P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP Application URL Routing So I'm writing a framework on which I want to base a few apps that I'm working on (the framework is there so I have an environment to work with, and a system that will let me, for example, use a single sign-on)
I want to make this framework, and the apps it has use a Resource Oriented Arc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: WCF Application Caching Implementation i just wondering how the .net wcf application caching is implemented ?? It's single thread or multiple thread?? and if it's multiple thread how we enforce application caching to be single thread. Thank You :)
A: WCF doesn't come with its own caching implementation. You are lef... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting "database is locked" error messages from Trac Wondering if anyone has gotten the infamous "database is locked" error from Trac and how you solved it. It is starting to occur more and more often for us. Will we really have to bite the bullet and migrate to a different DB backend, or is there another way?
See ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to modify a text file? I'm using Python, and would like to insert a string into a text file without deleting or copying the file. How can I do that?
A: The fileinput module of the Python standard library will rewrite a file inplace if you use the inplace=1 parameter:
import sys
import fileinput
# replace all o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "218"
} |
Q: How can I programmatically manipulate any Windows application's common dialog box? My ultimate goal here is to write a utility that lets me quickly set the folder on any dialog box, choosing from a preset list of 'favorites'. As I'm just a hobbyist, not a pro, I'd prefer to use .NET as that's what I know best. I do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Project Transference I would like to know your experience when you need to take over somebody else's software project - more so when the original software developer has already resigned.
A: The most success that we've had with that is to "wiki" everything. During the notice period ask the leaving developer to help ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: DataGridView Edit Column Names Is there any way to edit column names in a DataGridView?
A: @Dested if you are populating DataGrid from DataReader, you can change the name of columns in your query
for example
select ID as "Customer ID", CstNm as "First Name", CstLstNm as "Last Name"
from Customers
this way in your... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: IDL enumeration not displayed in type library I have a COM object written using the MS ATL library. I have declared a bunch of enumerations in the IDL but they do NOT appear when viewing the type library using the MS COM Object Viewer tool. The problem seems to be that the missing enums are not actually used as pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Interactive SVG - Learning Resources? Has anyone any reources for learning how to implement SVG with php/mysql (and possibly with php-gtk)? I am thinking of making a top-down garden designer, with drag and drop predefined elements (such as trees/bushes) and definable areas of planting (circles/squares). Gardeners co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Why do I get an error when starting ruby on rails app with mongrel_rails Why do I get following error when trying to start a ruby on rails application with mongrel_rails start?
C:\RailsTest\cookbook2>mongrel_rails start
** WARNING: Win32 does not support daemon mode.
** Daemonized, any open files are closed. Loo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JavaScript cookie misconceptions I'm using the following code for setting/getting deleting cookies:
function get_cookie(cookie_name)
{
var results = document.cookie.match('(^|;) ?' + cookie_name + '=([^;]*)(;|$)');
if (results)
return ( decodeURI(results[2]) );
else
return null;
}
func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Techniques to Get rid of low level Locking I'm wondering, and in need, of strategies that can be applied to reducing low-level locking.
However the catch here is that this is not new code (with tens of thousands of lines of C++ code) for a server application, so I can't just rewrite the whole thing.
I fear there mig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Setting default language in EPiServer? I'm looking for a way to set the default language for visitors comming to a site built in EPiServer for the first time. Not just administrators/editors in the backend, people comming to the public site.
A: Depends on your setup.
If the site languages is to change under differe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Password hash function for Excel VBA I need a function written in Excel VBA that will hash passwords using a standard algorithm such as SHA-1. Something with a simple interface like:
Public Function CreateHash(Value As String) As String
...
End Function
The function needs to work on an XP workstation with Excel 20... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: Should .NET developers *really* be spending time learning C for low-level exposure? When Joel Spolsky and Jeff Atwood began the disagreement in their podcast over whether programmers should learn C, regardless of their industry and platform of delivery, it sparkled quite an explosive debate within the developer comm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How to define / configure priority for multiple aspects using Spring AOP (or AspectJ) I have been able to define multiple aspects (one is @Before and another is @Around) using Spring AOP (combined with AspectJ annotations) over a business service class.
Currently they are getting called one by one (in sequence). How... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to locate Sharepoint document library source page on the server? I am working with a Sharepoint document library and I'm trying to locate the source of the document library page. I'm working on the Sharepoint server. I just can't find it, where should it be stored?
Thank you!
A: SharePoint does not store the pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Capturing Input in Linux First, yes I know about this question, but I'm looking for a bit more information that that. I have actually, a fairly similar problem, in that I need to be able to capture input for mouse/keyboard/joystick, and I'd also like to avoid SDL if at all possible. I was more or less wondering if a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Managing ThreadPool starvation within a multithreaded work queue processor? I am investigating the design of a work queue processor where the QueueProcessor retrieves a Command Pattern object from the Queue and executes it in a new thread.
I am trying to get my head around a potential Queue lockup scenario where nes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to determine the OS path separator in JavaScript? How can I tell in JavaScript what path separator is used in the OS where the script is running?
A: As already answered here, you can find the OS specific path separator with path.sep to manually construct your path. But you can also let path.join do the job, whi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "114"
} |
Q: Windows CE 5.0 image building: Possible without Platform Builder? Is it possible to create Windows CE 5.0 images (ie: nk.bin) from VS2005/VS2008 without using Platform Builder? If so, how? Can a vendor BSP for WinCE 5 be loaded into VS2005/2008? Are there the parts to do this available for download from Microsoft... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the best method to achieve dynamic URL Rewriting in ASP.Net? I'm currently using Intelligencia.UrlRewriter does anyone have better suggestions?
A: System.Web.Routing is part of .NET 3.5 SP1 and you can use it both for your ASP.NET WebForm-application and your MVC-application.
The official ASP.NET site has a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Capturing stdout from a system() command optimally I'm trying to start an external application through system() - for example, system("ls"). I would like to capture its output as it happens so I can send it to another function for further processing. What's the best way to do that in C/C++?
A: EDIT: misread questio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "58"
} |
Q: How to get up to speed on SOA? I've been given the task of laying the groundwork of a SOA for my client. The goal is to open up various processes in an end-client independent way and also to make data available offline e.g. for reps visiting customers.
I do have extensive experience with J2EE (Websphere) and web ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Visual Studio Context Menu Shortcut Does anyone know the keyboard shortcut in Visual Studio to open the context menu? i.e The equivalent of right clicking. Thanks.
A: You could also press the shortcut on your keyboard, if you have that key of course. Shift + F10 works as well.
A: Shift + F10 works in most Windows ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: MS-SQL Server 2005: Initializing a merge subscription with alternate snapshot location We started some overseas merge replication 1 year ago and everything is going fine till now. My problem is that we have now so much data in our system that any crash on one of the subscriber's servers will be a disaster: reinitial... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Adapt an Apache mod_rewrite RewriteRule not to act on physical directories I have this RewriteRule that works too well :-)
RewriteRule ^([^/]*)/$ /script.html?id=$1 [L]
The bad thing about this rule is that it also matches physical directories which I don't want.
How can I tell the mod_rewrite to ignore physical di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .NET TreeView won't show images Having a problem getting a TreeView control to display node images. The code below works sometimes but fails to show any image at other times.
private TreeNode AddNodeForCore(TreeNode root, Core c) {
string key = GetImageKey(c);
TreeNode t = root.Nodes.Add(c.Name, c.Name, key... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is the best way to change the credentials of a Windows service using C# I need to change the credentials of an already existing Windows service using C#. I am aware of two different ways of doing this.
*
*ChangeServiceConfig, see ChangeServiceConfig on pinvoke.net
*ManagementObject.InvokeMethod using Change... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Versioning Database Persisted Objects, How would you? (Not related to versioning the database schema)
Applications that interfaces with databases often have domain objects that are composed with data from many tables. Suppose the application were to support versioning, in the sense of CVS, for these domain objects.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "45"
} |
Q: Java, NetBean : Access web.xml context parameters from Web Service method? I am new to java so excuse my lame questions:)
I am trying to build a web service in Java NetBeans 6.1 , but I have some troubles with configuration parameters ( like .settings in .net).
What is the right way to save and access such settings... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can anyone recommend a C++ std::map replacement container? Maps are great to get things done easily, but they are memory hogs and suffer from caching issues. And when you have a map in a critical loop that can be bad.
So I was wondering if anyone can recommend another container that has the same API but uses lets sa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: C++ Function List I'm working on a fairly complex project, a custom encryption routine if you will (just for fun) and I've run into this issue in designing my code layout.
I have a number of functions that I want to be able to call by index. Specifically, I need to be able to call one randomly for the encrypt proces... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Saving contents of the WMD Editor Control I'm trying to implement the WMD editor used on StackOverflow to create some basic Wiki-style functionality. I'm up to the point where it's time to save to the database, but I'm unsure as to what I should be saving.
If I save the produced HTML then I can retrieve and display... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: MSWinsock.Winsock event handling in VisualBasic I'm trying to handle Winsock_Connect event (Actually I need it in Excel macro) using the following code:
Dim Winsock1 As Winsock 'Object type definition
Sub Init()
Set Winsock1 = CreateObject("MSWinsock.Winsock") 'Object initialization
Winsock1.RemoteHost = "M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: UML connector Direction When modelling an architecture in UML component diagrams, how do you show various attributes of connectors simultaneously? Like
*
*business object information flow (A->B, B->A, A<->B)
*request/response direction
*synchronous/asynchronous behaviour
I am aware of other diagram types lik... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: System.Diagnostics.Process.Start weird behaviour I'm writing an application to start and monitor other applications in C#. I'm using the System.Diagnostics.Process class to start applications and then monitor the applications using the Process.Responding property to poll the state of the application every 100 milise... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Command line program to create website screenshots (on Linux) What is a good command line tool to create screenshots of websites on Linux? I need to automatically generate screenshots of websites without human interaction. The only tool that I found was khtml2png, but I wonder if there are others that aren't based o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "67"
} |
Q: nginx setup question I know this is not directly a programming question, but people on stackoverflow seems to be able to answer any question.
I have a server running Centos 5.2 64 bit. Pretty powerful dual core 2 server with 4GB memory. It mostly serves static files, flash and pictures. When I use lighttpd it eas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Easier way to debug a Windows service Is there an easier way to step through the code than to start the service through the Windows Service Control Manager and then attaching the debugger to the thread? It's kind of cumbersome and I'm wondering if there is a more straightforward approach.
A: Use the TopShelf librar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "350"
} |
Q: How to tell using T-SQL whether a SQL server database has the TRUSTWORTHY property set to on or off How to tell using T-SQL whether a SQL server database has the TRUSTWORTHY property set to on or off
A: In SSMS:
Right click over the database, Properties, Options last record under Miscellaneous
In T-SQL:
select is_t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: What is java.lang.UnsatisfiedLinkError ... (Operation Failed: 14) I am trying to deploy our eRCP (embedded Rich Client Platform) application on a Windows CE5 Professional device. While the eRCP demo applications work fine on the J9 VM upon starting our application I get the following exception:
!ENTRY org.eclipse.os... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to Enable/Disable MenuItem and ToolButton together I'm a newbie in C# bu I'm experienced Delphi developer.
In Delphi I can use same code for MenuItem and ToolButton using TAction.OnExecute event and I can disable/enable MenuItem and ToolButton together using TAction.OnUpdate event.
Is there a similar way to do t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/125997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What processes are using which ports on unix? I need to find out what ports are attached to which processes on a Unix machine (HP Itanium). Unfortunately, lsof is not installed and I have no way of installing it.
Does anyone know an alternative method? A fairly lengthy Googling session hasn't turned up anything.
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: How do I escape a PHP script to an external editor and return afterwards? Specifically I have a PHP command-line script that at a certain point requires input from the user. I would like to be able to execute an external editor (such as vi), and wait for the editor to finish execution before resuming the script.
My ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Monitoring a server-side process on Rails application using AJAX XMLHttpRequest I'm using the following in the web page but can't get a response from the server while it's processing
<script type="text/javascript">
<!--
function updateProgress() {
//alert('Hello');
new Ajax.Request('/fmfiles/progress_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: View Temporary Table Created from Stored Procedure I have a stored procedure in SQL 2005. The Stored Procedure is actually creating temporary tables in the beginning of SP and deleting it in the end. I am now debugging the SP in VS 2005. In between the SP i would want to know the contents into the temporary table. C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to write an installer that checks for openGL support? We have a 3D viewer that uses OpenGL, but our clients sometimes complain about it "not working". We suspect that most of these issues stem from them trying to use, what is in effect a modern 3d realtime game, on a businiss laptop computer.
How can we, in the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Checking stack usage at compile time Is there a way to know and output the stack size needed by a function at compile time in C ?
Here is what I would like to know :
Let's take some function :
void foo(int a) {
char c[5];
char * s;
//do something
return;
}
When compiling this function, I would like ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: Delphi 2009 + Unicode + Char-size I just got Delphi 2009 and have previously read some articles about modifications that might be necessary because of the switch to Unicode strings.
Mostly, it is mentioned that sizeof(char) is not guaranteed to be 1 anymore.
But why would this be interesting regarding string manipul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to interact between Web App and Windows Form Application I have a problem where a Web Application needs to (after interaction from the user via Javascript)
1) open a Windows Forms Application
2) send a parameter to the app (e.g. an ID)
Correspondingly, the Windows Forms Application should be able to
1) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Avoid RePublishing the web application after Eclipse Shutdown I am having my web application deployed on Tomcat5.5 and I use it in integration with eclipse 3.2.Each time I close the eclipse and restart it, I need to republish the application even when it hasn't been modified.
Is there a way to avoid this or any ste... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How would you implement database updates via email? I'm building a public website which has its own domain name with pop/smtp mail services. I'm considering giving users the option to update their data via email - something similar to the functionality found in Flickr or Blogger where you email posts to a special em... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Decode an UTF8 email header I have an email subject of the form:
=?utf-8?B?T3.....?=
The body of the email is utf-8 base64 encoded - and has decoded fine.
I am current using Perl's Email::MIME module to decode the email.
What is the meaning of the =?utf-8 delimiter and how do I extract information from this string?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Modular web apps I've been looking into OSGi recently and think it looks like a really good idea for modular Java apps.
However, I was wondering how OSGi would work in a web application, where you don't just have code to worry about - also HTML, images, CSS, that sort of thing.
At work we're building an application ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: How to get the source file name and the line number of a type member? Considering that the debug data file is available (PDB) and by using either System.Reflection or another similar framework such as Mono.Cecil, how to retrieve programmatically the source file name and the line number where a type or a member of a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: How to efficiently count the number of keys/properties of an object in JavaScript What's the fastest way to count the number of keys/properties of an object? Is it possible to do this without iterating over the object? I.e., without doing:
var count = 0;
for (k in myobj) if (myobj.hasOwnProperty(k)) ++count;
(Fire... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1936"
} |
Q: EPiServer Development Aside from Episerver.com
What other websites do people who develop using EPiServer use as development resources!? Been using coderesort.com but I find that it lacks examples of how to do stuff.
Many thanks,
J
A: The general resources I use for EPiServer development:
*
*EPiServer World: offi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Mnesia write fails I defined a record named log. I want to create an mnesia table with name log_table. When I try to write a record to table, I get bad_type error as follows:
(node1@kitt)4> mnesia:create_table(log_table, [{ram_copies, [node()]},
{attributes, record_inf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Calculate client-server time difference in Borland Starteam server 8 Problem. I need a way to find Starteam server time through Starteam Java SDK 8.0. Version of server is 8.0.172 so method Server.getCurrentTime() is not available since it was added only in server version 9.0.
Motivation. My application needs to use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Linux commands from Java Is it possbile to execute linux commands with java? I am trying to create a web servlet to allow ftp users to change their passwords without ssh login access. I would like to execute the next commands:
# adduser -s /sbin/nologin clientA -d /home/mainclient/clientA
# passwd clientA
# cd /ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Weird Exception while using DataGridView and possibly Multi-Threads I followed google to this MSDN forum thread.
The last answer was and I qoute : "Using threads? Don't"
Does someone knows a walk around?
As far as I can tell, I'm playing the cards well.
I'm using BeginInvoke inorder to populate the data source insid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can Java POI write image to word document? Anyone know if it is possible?
And got any sample code for this?
Or any other java API that can do this?
A: The Office 2007 format is based on XML and so can probably be written to using XML tools. However there is this library which claims to be able to write DocX format ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Python library for rendering HTML and javascript Is there any python module for rendering a HTML page with javascript and get back a DOM object?
I want to parse a page which generates almost all of its content using javascript.
A: The big complication here is emulating the full browser environment outside of a bro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How do I handle multiple streams in Java? I'm trying to run a process and do stuff with its input, output and error streams. The obvious way to do this is to use something like select(), but the only thing I can find in Java that does that is Selector.select(), which takes a Channel. It doesn't appear to be possible... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do you find out which version of GTK+ is installed on Ubuntu? I need to determine which version of GTK+ is installed on Ubuntu
Man does not seem to help
A: This suggestion will tell you which minor version of 2.0 is installed. Different major versions will have different package names because they can co-exist ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126141",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "101"
} |
Q: What is the salt in Enterprise Library HashProvider ? (SaltEnabled key) How is the salt generated in HashProvider in Microsoft Enterprise Library when we set SaltEnabled?
Is it random to new machines? Is it some magic number?
(I know what is a salt, the question is what's the actual value of a/the salt in Enterprise... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: text box giving problems on ASP.Net page I am designing a page to Add/Edit users - I used a repeater control and a table to display users. In users view the individual columns of the table row have labels to display a record values and when users click on edit button, the labels are hidden and text boxes are display... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# Array XML Serialization I found a problem with the XML Serialization of C#. The output of the serializer is inconsistent between normal Win32 and WinCE (but surprisingly WinCE has the IMO correcter output). Win32 simply ignores the Class2 XmlRoot("c2") Attribute.
Does anyone know a way how to get the WinCE like ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Where do the responsibilities of a Db Abstraction in PHP start and end? In PHP, what is the best practice for laying out the responsibilities of a Db Abstraction Layer?
Is OOP a good idea in terms of performance? How much should be generic object code, and how much should be very specific functions?
A: There are a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to delegate interface implementation to other class in C# Assume the following class:
public class MyEnum: IEnumerator
{
private List<SomeObject> _myList = new List<SomeObject>();
...
}
It is necessary to implement the IEnumerator methods in MyEnum.
But is it possible to 'delegate' or redirect the implemen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: ASP.NET - how to show a error page when uploading big file (Maximum request length exceeded)? Application able to record error in OnError, but we are not able to do any redirect or so to show something meaningfull to user.
Any ideas?
I know that we can set maxRequestLength in web.config, but anyway user can exceed t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Does an index < or > MySQL queries? If I have a query like,
DELETE FROM table WHERE datetime_field < '2008-01-01 00:00:00'
does having the datetime_field column indexed help? i.e. is the index only useful when using equality (or inequality) testing, or is it useful when doing an ordered comparison as well?
(Sugg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Is it possible to "autopopulate" fields in IE? the company I work for want to use a "hosted payment form" to charge our customers. A question came up on how we can populate the "payment form" automatically with information from one of our other system. We have no control over the hosed payment form, and we have to u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SQL Server and Oracle, which one is better in terms of scalability? MS SQL Server and Oracle, which one is better in terms of scalability?
For example, if the data size reach 500 TB etc.
A: When you are talking 500TB, that is (a) big and (b) specialized.
I'd be going to a consultancy firm with appropriate specialis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: .NET Compact Framework Can you get grids which have multi line text in cells? Is it possible to show multiple lines of text in grid cells using the .NET Compact framework? We need to create a grid where the middle column contains an address. We'd like to show this over multiple lines and (possibly) apply some format... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Best practices for consistent and comprehensive address storage in a database Are there any best practices (or even standards) to store addresses in a consistent and comprehensive way in a database ?
To be more specific, I believe at this stage that there are two cases for address storage :
*
*you just need to as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: The Clean programming language in the real world? Are there any real world applications written in the Clean programming language? Either open source or proprietary.
A: This is not a direct answer, but when I checked last time (and I find the language very interesting) I didn't find anything ready for real-world.
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Problem: .NET code runs from one directory, but not another, on same disk Our application is a hybrid Win32 unmanaged application and a .NET 2.0 managed application. The Win32 part is the main executable, which at some point loads and hosts the .NET 2.0 runtime and loads some managed modules to open new winforms win... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Resources and guides to UI virtualization in WPF UI Virtualization is an awkward terminology that describes WPF UI controls that load and and dispose child elements on demand (based on their visibility) to reduce memory footprint. ListBox and ListView use a class called VirtualizingStackPanel by default to achieve h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Unit Testing data? Our software manages a lot of data feeds from various sources: real time replicated databases, files FTPed automatically, scheduled running of database stored procedures to cache snapshots of data from linked servers and numerous other methods of acquiring data.
We need to verify and validate thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Need advice: Structure of Rails views for submenus? Imagine to have two RESTful controllers (UsersController, OffersController) and a PagesController (used for static content such as index, about and so on) in your application.
You have the following routes defined:
map.with_options :controller => 'pages' do |pages|... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I turn a relative URL into a full URL? This is probably explained more easily with an example. I'm trying to find a way of turning a relative URL, e.g. "/Foo.aspx" or "~/Foo.aspx" into a full URL, e.g. http://localhost/Foo.aspx. That way when I deploy to test or stage, where the domain under which the site ru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "68"
} |
Q: Objections against Java Webstart? Since the release of Adobe AIR I am wondering why Java Web Start has not gained more attention in the past as to me it seems to be very similar, but web start is available for a much longer time.
Is it mainly because of bad marketing from Sun, or are there more technical concerns ot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/126260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.