text stringlengths 8 267k | meta dict |
|---|---|
Q: Getting started with windows mobile development I have a personal pet project I'd like to start on, targeted at windows mobile 6. I've never done win mobile dev and would like to know what resources are out there, good tools to use, perhaps a jump start tutorial, as well as any gotchas I might want to keep in mind ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How to get Emacs to unwrap a block of code? Say I have a line in an emacs buffer that looks like this:
foo -option1 value1 -option2 value2 -option3 value3 \
-option4 value4 ...
I want it to look like this:
foo -option1 value1 \
-option2 value2 \
-option3 value3 \
-option4 value4 \
...
I want ea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I find the response time of a HTTP request through a Socket I'm using a Java socket, connected to a server.
If I send a HEADER http request, how can I measure the response time from the server? Must I use a provided java timer, or is there an easier way?
I'm looking for a short answer, I don't want to use o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Visual Studio basicHttpBinding and endpoint problems I have a WPF application in VS 2008 with some web service references. For varying reasons (max message size, authentication methods) I need to manually define a number of settings in the WPF client's app.config for the service bindings.
Unfortunately, this means t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Any recommendation on tools for doing translations / localization in .NET? We have made use of Passolo for a number of years, but it's kind of clunky and overpriced.
It's got to be able to handle winforms and WPF....
Are there any open source alternatives?
A: Your question could use some clarification as to exactly... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Actionscript 3 - Completely removing a child I have an array of objects that when another object hits one of them, the object will be removed. I have removed it from the stage using removeChild() and removed from the array using splice(), but somehow the object is still calling some of its functions which is causing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: In Applescript, how can I find out if a menu item is selected/focused? I have a script for OS X 10.5 that focuses the Search box in the Help menu of any application. I have it on a key combination and, much like Spotlight, I want it to toggle when I run the script. So, I want to detect if the search box is already... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Binding a form combo box in Access 2007 I've created an Access 2007 form that displays, for example, Products from a Product table. One of the fields in the Product table is a CategoryID that corresponds to this product's parent category.
In the form, the CategoryID needs to be represented as a combo box that is bo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How can you insure your code runs with no variability in execution time due to cache? In an embedded application (written in C, on a 32-bit processor) with hard real-time constraints, the execution time of critical code (specially interrupts) needs to be constant.
How do you insure that time variability is not intro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to default the source folder for new JUnit tests in Eclipse? Most of our Eclipse projects have multiple source folders, for example:
*
*src/main/java
*src/test/java
When you right-click on a class and choose New JUnit Test, the default source folder for the new test is "src/main/java" (presumably the first... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: Split long commands in multiple lines through Windows batch file How can I split long commands over multiple lines in a batch file?
A: One thing I did not find when searching for 'how to split a long DOS batch file line' was how to split something containing long quoted text.
In fact it IS covered in the answers ab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "946"
} |
Q: Error 0x8007F303 occurs during printing of reports from MOSS using SRS viewer web part When attempting to print using the SSRS Viewer Web Part in SharePoint I get the following error.
An error occured during printing. (0x8007F303)
The settings we are using in this box (production) are exactly the same as the setti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OpenID login workflow? When someone logs into a site using Open ID, what goes on behind the scene?
can someone explain to me the work flow/steps of what happens during a typical login from a partner open ID site? (like this site)
i.e. when I login at myopenid, what is passed into this site? how does SO know it was a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to do hit-highlighting of results from a SQL Server full-text query We have a web application that uses SQL Server 2008 as the database. Our users are able to do full-text searches on particular columns in the database. SQL Server's full-text functionality does not seem to provide support for hit highlighting. D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Reading Body on chunked transfer encoded http requests in ASP.NET A J2ME client is sending HTTP POST requests with chunked transfer encoding.
When ASP.NET (in both IIS6 and WebDev.exe.server) tries to read the request it sets the Content-Length to 0. I guess this is ok because the Content-length is unknown when the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Best Refactor to Handle Multiple jQuery Email Field Form Validation What is the best way to refactor the attached code to accommodate multiple email addresses?
The attached HTML/jQuery is complete and works for the first email address. I can setup the other two by copy/pasting and changing the code. But I would like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using Java JAR file in .NET What options / methods / software are available to convert a JAR file to a managed .NET assembly?
Please provide all commercial and non-commercial methods in the answer.
These don't include solutions which require Java to be installed on the host machine.
A: I could be wrong, but I'm pre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What is a symbol table? Can someone describe what a symbol table is within the context of C and C++?
A: There are two common and related meaning of symbol tables here.
First, there's the symbol table in your object files. Usually, a C or C++ compiler compiles a single source file into an object file with a .obj or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "94"
} |
Q: char[] to hex string exercise Below is my current char* to hex string function. I wrote it as an exercise in bit manipulation. It takes ~7ms on a AMD Athlon MP 2800+ to hexify a 10 million byte array. Is there any trick or other way that I am missing?
How can I make this faster?
Compiled with -O3 in g++
static const... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: SaaS database design - Multiple Databases? Split? I've seen SaaS applications hosted in many different ways. Is it a good idea to split features and modules across multiple databases? For example, putting things like the User table on one DB and feature/app specific tables on another DB and perhaps other commonly sh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Terminate MySQL connections on shared host? I'm using MediaTemple's Grid Server (shared/grid hosting) to run some MySQL/PHP sites I'm writing and noticed that I wasn't closing one of my MySQL connections, which caused my site to error out:
"Too Many Connections"
I can't log in anywhere to close the connections man... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Errors creating WebPart subclass in another assembly I am trying to create a subclass of WebPart that will act as a parent to any WebParts we create. If I create an empty class in the same project, I am able to inherit from it as one would expect. However, if I try to place it in another assembly -- one that I've be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you test cookies in MVC .net? http://stephenwalther.com/blog/archive/2008/07/01/asp-net-mvc-tip-12-faking-the-controller-context.aspx
This post shows how to test setting a cookie and then seeing it in ViewData. What I what to do is see if the correct cookies were written (values and name). Any reply, blog pos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to implement a queue using two stacks? Suppose we have two stacks and no other temporary variable.
Is to possible to "construct" a queue data structure using only the two stacks?
A: You can even simulate a queue using only one stack. The second (temporary) stack can be simulated by the call stack of recursive c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "457"
} |
Q: Deleting a middle node from a single linked list when pointer to the previous node is not available Is it possible to delete a middle node in the single linked list when the only information available we have is the pointer to the node to be deleted and not the pointer to the previous node?After deletion the previou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: SQL Server: Column nullability inconsistency I have a SQL Server 2005 database that could only be restored using
Restore Database The_DB_Name
From Disk = 'C:\etc\etc'
With Continue_After_Error
I am told the source database was fine. The restore reports
Warning: A column nullability
inconsistency was detected in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: A snippet to monitor the last INSERT/UPDATE in an Oracle DB from C#? I'm looking for a simple, sample snippet of C# code to monitor an Oracle database and basically check for its last update. It could be either command line (great for future integration with Nagios) or GUI. I've did some prototypes but the code tend... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does a C/C++ program often have optimization turned off in debug mode? In most C or C++ environments, there is a "debug" mode and a "release" mode compilation.
Looking at the difference between the two, you find that the debug mode adds the debug symbols (often the -g option on lots of compilers) but it also dis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Is there an easy way in .NET to get "st", "nd", "rd" and "th" endings for numbers? I am wondering if there is a method or format string I'm missing in .NET to convert the following:
1 to 1st
2 to 2nd
3 to 3rd
4 to 4th
11 to 11th
101 to 101st
111 to 111th
This link has a bad example of the basic prin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "73"
} |
Q: Drawing a Web Graph I'm trying to draw a graph on an ASP webpage. I'm hoping an API can be helpful, but so far I have not been able to find one.
The graph contains labeled nodes and unlabeled directional edges.
The ideal output would be something like this.
Anybody know of anything pre-built than can help?
A: Def... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Rhino Mocks: How do I return numbers from a sequence I have an Enumerable array
int meas[] = new double[] {3, 6, 9, 12, 15, 18};
On each successive call to the mock's method that I'm testing I want to return a value from that array.
using(_mocks.Record()) {
Expect.Call(mocked_class.GetValue()).Return(meas);
}
us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Eclipse Ganymede hacks, hints, tips, tricks, and best practices I've recently started using Eclipse Ganymede CDT for C development and I couldn't like it more. I'm aware the learning curve could be sort of pronounced, therefore and with your help, my goal is to flatten it as much as possible. I'm looking for the bes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: XML Serialization and empty collections I have a a property defined as:
[XmlArray("delete", IsNullable = true)]
[XmlArrayItem("contact", typeof(ContactEvent)),
XmlArrayItem("sms", typeof(SmsEvent))]
public List<Event> Delete { get; set; }
If the List<> Delete has no items
<delete />
is emitted. If the List<> Dele... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I query the CrystalReports CMS database? Is it possible to query the Crystal CMS database and get meaningful data back? The data appears to be encrypted.
I am running Business Objects Crystal Report Server version 11.5
A: Actually what I discovered I needed to do was use the administration tools available f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Biggest differences of Thrift vs Protocol Buffers? What are the biggest pros and cons of Apache Thrift vs Google's Protocol Buffers?
A: Protocol Buffers seems to have a more compact representation, but that's only an impression I get from reading the Thrift whitepaper. In their own words:
We decided against some ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "311"
} |
Q: Zend PHP debugger: How can I start debugging a page using a get argument? I am trying out the debugger built into Zend studio. It seems great! One thing though, when I start a page using the debugger does anyone know how I can set a request get argument within the page?
For example, I don't want to debug runtests.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Tracking CPU and Memory usage per process I suspect that one of my applications eats more CPU cycles than I want it to. The problem is - it happens in bursts, and just looking at the task manager doesn't help me as it shows immediate usage only.
Is there a way (on Windows) to track the history of CPU & Memory usage ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "182"
} |
Q: Is there a way to programmatically minimize a window What I'm doing is I have a full-screen form, with no title bar, and consequently lacks the minimize/maximize/close buttons found in the upper-right hand corner. I'm wanting to replace that functionality with a keyboard short-cut and a context menu item, but I can'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "73"
} |
Q: Looking for the ways for test automation of web site We develop custom survey web sites and I am looking for a way to automate the pattern testing of these sites. Surveys often contain many complex rules and branches which are triggered on how items are responded too. All surveys are rigorously tested before being... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: In Applescript, how can I get to the Help menu Search field, like Spotlight? In OS X, in order to quickly get at menu items from the keyboard, I want to be able to type a key combination, have it run a script, and have the script focus the Search field in the Help menu. It should work just like the key combination ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to reference control templates defined in microsoft's assemblies? i have scenario where i have to provide my own control template for a few WPF controls - i.e. GridViewHeader. when you take a look at control template for GridViewHEader in blend, it is agregated from several other controls, which in so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Remote Linux server to remote linux server dir copy. How? What is the best way to copy a directory (with sub-dirs and files) from one remote Linux server to another remote Linux server? I have connected to both using SSH client (like Putty). I have root access to both.
A: rsync -avlzp /path/to/folder name@remote.s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: Is there a way to make text unselectable on an HTML page? I'm building an HTML UI with some text elements, such as tab names, which look bad when selected. Unfortunately, it's very easy for a user to double-click a tab name, which selects it by default in many browsers.
I might be able to solve this with a JavaScrip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "146"
} |
Q: What Safari-specific pure CSS hacks are out there? I'm wondering if there's any way to write CSS specifically for Safari using only CSS. I know there has to be something out there, but I haven't found it yet.
A: There are some hacks you can use in the CSS to target only Safari, such as putting a hash/pound (#) afte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Going Ruby: Straight to IronRuby? I just started to learn Ruby and as a .Net developer, I'm wondering if I should just go straight ahead and use IronRuby, without trying some pure Ruby first.
What do you think? Will I be missing anything?
-- rauchy
A: I would use pure ruby (Matz Ruby Interpreter (MRI)) to start off... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Programmatically change the text of a TextLayer in After Effects I'm using the After Effects CS3 Javascript API to dynamically create and change text layers in a composition.
Or at least I'm trying to because I can't seem to find the right property to change to alter the actual text of the TextLayer object.
A: Hmm,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I keep Resharper Files out of SVN? I am using VS2008 and Resharper. Resharper creates a directory _Resharper.ProjectName. These files provide no value for source control that I am aware of and cause issues when committing changes. How can I get SVN to ignore them? I am using TortoiseSVN as my interface fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Server performance metric tools for LAMP Any suggestions for tools to monitor page load times/errors and other performance metrics for a PHP application?
I am aware of the FireBug and YSlow tools, but this is for more server monitoring.
A: There is the classic 'ab' (apachebench) program. More power comes from JMmet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Getting The XML Data Inside Custom XPath function Is there a way to get the current xml data when we make our own custom XPath function (see here).
I know you have access to an XPathContext but is this enough?
Example:
Our XML:
<foo>
<bar>smang</bar>
<fizz>buzz</fizz>
</foo>
Our XSL:
<xsl:template match="/">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I change the background color in gnuplot? I have a script that renders graphs in gnuplot. The graphs all end up with an ugly white background. How do I change this? (Ideally, with a command that goes into a gnuplot script, as opposed to a command-line option or something in a settings file)
A: You can change... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: What simple method can I use to debug an embedded processor without serial port or video? We have a small embedded system without any video or serial ports (i.e. we can't output text via printf).
We would like to track the progress of our code through the initialization sequence.
Is there some simple things we can d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is a good, non-distributed, alternative to subversion that has excellent branching and merging support? I'm sick and tired of manually tracking my branches and merges across my repository! It's too error prone. In a world where everyone seems to get the idea of reducing duplication and automating everything, su... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: What tools can be used to find which DLLs are referenced? This is an antique problem with VB6 DLL and COM objects but I still face it day to day. What tools or procedures can be used to see which DLL file or version another DLL is referencing?
I am referring to compiled DLLs at runtime, not from within VB6 IDE.
It's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Have you used any of the C++ interpreters (not compilers)? I am curious if anyone have used UnderC, Cint, Cling, Ch, or any other C++ interpreter and could share their experience.
A: I have (about a year ago) played around with Ch and found it to be pretty good.
A: NOTE: what follows is rather CINT specific, but g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "75"
} |
Q: How do I get JavaScript created with document.write() to execute? I have a multi-frame layout. One of the frames contains a form, which I am submitting through XMLHttpRequest. Now when I use document.write() to rewrite the frame with the form, and the new page I am adding contains any javascript then the javascript ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is kpsexpand? gnuplot is giving the error: "sh: kpsexpand: not found."
I feel like the guy in Office Space when he saw "PC LOAD LETTER". What the heck is kpsexpand?
I searched Google, and there were a lot of pages that make reference to kpsexpand, and say not to worry about it, but I can't find anything, anywh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does PHP class property scope overridden by passing as reference? In PHP, if you return a reference to a protected/private property to a class outside the scope of the property does the reference override the scope?
e.g.
class foo
{
protected bar = array();
getBar()
{
return &bar;
}
}
class foo2
{
bl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can an fdopen() cause a memory leak? I use fdopen to associate a stream with an open file.
When I close() the file, is the stream automatically disassociated as well, and all stream memory returned to the OS, or do I need to be aware of the fdopen'd file and close it in a specific manner?
-Adam
A: close() is a syst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do you go about setting up a virtual IP address? ... say for CentOS?
A: From what I understand a virtul IP can let you abstract the address from the physical interface(s) the traffic actually goes through. If your server has two network cards it can have a single virtual IP and have the traffic go through eithe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I create a regex in Emacs for exactly 3 digits? I want to create a regexp in Emacs that matches exactly 3 digits. For example, I want to match the following:
123
345
789
But not
1234
12
12 23
If I use [0-9]+ I match any single string of digits. I thought [0-9]{3} would work, but when tested in re-builde... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: Proxy settings in Firefox don't "stick" At home we have a proxy server. At work we don't. Firefox irritates in this regard: whenever I launch it, it defaults to the proxy server. If I do Tools>Options>Settings and select "No proxy", no problem. However, if I shutdown Firefox and restart it, I have to do the Tools>Op... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: unpatented one-way encryption algorithm I am looking for a simple unpatented one-way encryption algorithm, preferably in c.
I would like to use it to validate passwords.
A: The correct name for 'one-way encryption algorithm' is 'hashing algorithm' (you did mean a way to 'scramble' a password so that it can never be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I get a more compact serialization of an image? I am serializing a JPEG Image in c#.net. I am simply converting it into a byte steam and sending it through web service.
I observed that serialized byte stream is 30 times more than that of the size of actual image. Can any one suggest me a better approach to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Take a screenshot via a Python script on Linux I want to take a screenshot via a python script and unobtrusively save it.
I'm only interested in the Linux solution, and should support any X based environment.
A: Cross platform solution using wxPython:
import wx
wx.App() # Need to create an App instance before doin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "92"
} |
Q: SVN and renaming the server it's running on I'm running VisualSVN as my SVN server and using TortoiseSVN as the client. I've just renamed the server from mach1 to mach2 and now can't use SVN because it's looking for the repositories at http://mach1:81/ instead of the new name http://mach2:81/
Any idea how to fix thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: does a good swf to exe wrapper open source exists? I think the best part of flash is the possibility to create not squared user interfaces, so I like the idea to create desktop apps using flash. I know AIR is for that but it doesn't allow real access to OperatingSystem apis and dlls and the commercial options are ki... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: MySQL, Asterisk Dialplans and call forwarding How do I get Asterisk to forward incoming calls based on matching the incoming call number with a number to forward to? Both numbers are stored in a MySQL database.
A: Sorry for the long code sample, but more than half of it is debugging code to help you get it set up.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Get two Linux (virtual) boxes talking over a serial port What is the best way to setup one Linux box to listen on its serial port for incoming connections? I've done a lot of googling but I can't find the right combination of commands to actually get them to talk!
My main objective is to provide a serial interface t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: stringstream manipulators & vstudio 2003 I am trying to use a stringstream object in VC++ (VStudio 2003) butI am getting an error when I use the overloaded << operator to try and set some manipulators.
I am trying the following:
int SomeInt = 1;
stringstream StrStream;
StrStream << std::setw(2) << SomeInt; ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is a good regression testing framework for software applications? Am looking for a regression test framework where I can add tests to.. Tests could be any sort of binaries that poke an application..
A: This really depends on what you're trying to do, but one of the features of the new Test::Harness (disclaimer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Java Collections using wildcard public static void main(String[] args) {
List<? extends Object> mylist = new ArrayList<Object>();
mylist.add("Java"); // compile error
}
The above code does not allow you to add elements to the list and wild cards can only be used as a signature in methods, again not for a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to infer coercions? I would like to know how to infer coercions (a.k.a. implicit conversions) during type inference. I am using the type inference scheme described in Top Quality Type Error Messages by Bastiaan Heeren, but I'd assume that the general idea is probably the same in all Hindley-Milner-esque approach... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Which PHP open source shopping cart solutions have features that benefit me as the web developer? There are hundreds of shopping cart solutions available for every platform, and all hosting plans come with several already installed. As a developer I understand that most of these are fairly similar from a user perspe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I get the most recently updated form item to "stick" in Firefox when I copy its container? I have a dl containing some input boxes that I "clone" with a bit of JavaScript like:
var newBox = document.createElement('dl');
var sourceBox = document.getElementById(oldkey);
newBox.innerHTML = sourceBox.innerHTM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Astoria vs. SQL Server Data Services What are in your opinion big differences between areas of usage for "Astoria" (ADO.NET data services) and SQL Server Data Services?
A: They are similiar but very different technologies. Astoria or what is now called at Microsoft ADO.NET Data Services is a programming library tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Visual Studio 2005 - 'Updating IntelliSense' hang-up I am having trouble with my Visual Studio 2005 IntelliSense for some time now.
It used to work fine, but for some reason the 'Updating IntelliSense...' does no longer seem to be able to complete for the solution I'm working on currenly- it simply gets stuck somewh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: C++: how to get fprintf results as a std::string w/o sprintf I am working with an open-source UNIX tool that is implemented in C++, and I need to change some code to get it to do what I want. I would like to make the smallest possible change in hopes of getting my patch accepted upstream. Solutions that are implemen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: How to use "%f" to populate a double value into a string with the right precision I am trying to populate a string with a double value using a sprintf like this:
sprintf(S, "%f", val);
But the precision is being cut off to six decimal places. I need about 10 decimal places for the precision.
How can that be achieve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: When do hal properties get updated I'm calling GetProperty on a org.freedesktop.Hal.Device from my handler during a PropertyNotified signal. I'm only calling GetProperty on properties that have been added or changed.
When I call GetProperty during property adds, I'm getting a org.freedesktop.Hal.NoSuchProperty exce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Split a list by distinct date Another easy one hopefully.
Let's say I have a collection like this:
List<DateTime> allDates;
I want to turn that into
List<List<DateTime>> dividedDates;
where each List in 'dividedDates' contains all of the dates in 'allDates' that belong to a distinct year.
Is there a bit of LINQ t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Any way to programmatically wrap a .NET WebService with a SoapExtension? Basically, I'm trying to tap into the Soap pipeline in .NET 2.0 - I want to do what a SoapExtension can do if you provide a custom SoapExtensionAttribute... but to do it for every SOAP call without having to add the extension attribute to dozen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to associate a file extension to the current executable in C# I'd like to to associate a file extension to the current executable in C#.
This way when the user clicks on the file afterwards in explorer, it'll run my executable with the given file as the first argument.
Ideally it'd also set the icon for the give... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "58"
} |
Q: What do you use to write and edit stored procedures in Oracle? There are many options for editing and writing Stored Procedures in Oracle; what is the best tool for you and why? (one tool per answer.)
A: I recently found the free Oracle SQL Developer.
*
*nice looking GUI (makes you not poke out your eyes like th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Visual Studio 2005 ERROR: An error occurred generating a bootstrapper: Invalid syntax I'm working on VS 2005 and something has gone wrong on my machine. Suddenly, out of the blue, I can no longer build deployment files.
The build message is:
ERROR: An error occurred generating a bootstrapper: Invalid syntax.
ERROR:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you configure the Apache server which ships Mac OS X? Mac OS X ships with apache pre-installed, but the files are in non-standard locations. This question is a place to collect information about where configuration files live, and how to tweak the apache installation to do things like serve php pages.
A: To... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How to configure IIS7 to allow zip file uploads using classic asp? I recently installed Windows 2008 Server to replace a crashed hard drive on a web server with a variety of web pages including several classic ASP applications. One of these makes extensive use of file uploads using a com tool that has worked for sev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you use gnuplot's built-in fonts? The gnuplot docs have this to say about fonts:
Five basic fonts are supported directly by the gd library. These are
`tiny` (5x8 pixels), `small` (6x12 pixels), `medium`, (7x13 Bold),
`large` (8x16) or `giant` (9x15 pixels).
But when i try to use one:
gnuplot>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Does the DOCTYPE declaration have to be the first tag in an HTML document? Our security manager dynamically inserts a bit of javascript at the top of every html page when a page is requested by the client. It is inserted above the DOCTYPE statement. I think this might be the cause of the layout problems I am having.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Which Open Source CMS do you find most reliable and performance-oriented? We need a good CMS that supports data clustering (managing and storing data on different servers). By "good" , I mean : reliable , minimum bugs , the faster the better. (Oh , and it should make coffee :) )
A: If you want everything and the k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I use Nant/Ant naming patterns? I have to admit that I always forgot the syntactical intracacies of the naming patterns for Nant (eg. those used in filesets). The double asterisk/single asterisk stuff seems to be very forgettable in my mind.
Can someone provide a definitive guide to the naming patterns?
A: D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "118"
} |
Q: What would cause a visitor to return to the top of the previous page, instead of to the point in the page where the link resides? I've seen this weird behavior on several sites recently: I scroll down a page and follow a link to another page. When I click the Back button and return, I am left back at the top of the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is an example of "this" assignment in C#? Does anybody have useful example of this assignment inside a C# method? I have been asked for it once during job interview, and I am still interested in answer myself.
A: The other answers are incorrect when they say you cannot assign to 'this'. True, you can't for a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Factory Pattern. When to use factory methods? When is it a good idea to use factory methods within an object instead of a Factory class?
A: One situation where I personally find separate Factory classes to make sense is when the final object you are trying to create relies on several other objects. E.g, in PHP: Sup... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "333"
} |
Q: how could I intercept linux sys calls? Besides the LD_PRELOAD trick , and Linux Kernel Modules that replace a certain syscall with one provided by you , is there any possibility to intercept a syscall ( open for example ) , so that it first goes through your function , before it reaches the actual open ?
A: Valgrin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Vim / vi Survival Guide What are the essential vim commands? What does a new-user need to know to keep themselves from getting into trouble? One command per comment, please.
A: I was very happy the day I learned about using * or # to search, down or up respectively, for the word under the cursor. Make sure to :se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Are there any noted differences in appearance rendering of html and xhtml in Google Chrome from other browsers? Are there any noted differences in appearance rendering of HTML and XHTML in Google Chrome from Firefox? From IE? From other browsers? What browser does it render the code the most similar to?
A: Since it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What is your favourite 3rd party WinForms.Net graphing tool, and why? By graphing I mean bar charts, pie charts, line graphs, that sort of thing. I've used a couple over the years, but what is your favourite and why?
One tool per answer please (to make the voting easier :o)
A: I like ZedGraph it is a free library ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Why don't self-closing script elements work? What is the reason browsers do not correctly recognize:
<script src="foobar.js" /> <!-- self-closing script element -->
Only this is recognized:
<script src="foobar.js"></script>
Does this break the concept of XHTML support?
Note: This statement is correct at least for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1502"
} |
Q: How do you do paged lists in JavaServer Faces? I have a JSF application that I am converting over to use webservices instead of straight up database queries. There are some extremely long lists that before could be returned easily with a simple SQL query. I'd like to figured out how implement the paging using JSF/we... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: MS Access - what are the lowest required permissions for the backend file and for the folder containing it I maintain an ms-access application splitted to frontend and backend files.
The frontend file is in the users conputers.
The backend file is in a shared folder in the server.
What is the lowest permissions req... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69918",
"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.