text string | meta dict |
|---|---|
Q: What is the value of BPM? (Business Process management) Is it worth using? In which cases? And I'm not meaning Bits Per Minute, but Business Process Management.
At first though BPM was overestimated, because the technology is somehow easy to address, but I've learned the value of BPM suites is in involving the non-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: winforms html editor Anyone know of a good free winforms html editor for .NET. Ideally I would like html and preview modes along with the possibility of exporting to a pdf, word doc or similar.
Although the export I could probably create myself from the html output.
Another nice feature would be a paste from word t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: how to change default path for Properties.Settings Whenever I do Properties.Settings.Save(), it commites the properties changes to Application.LocalUserAppDataPath but I want the path to be Application.CommonAppDataPath.
where
Application.CommonAppDataPath =
C:\Documents and Settings\**All Users**\Application Data... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What are views good for? I'm just trying to get a general idea of what views are used for in RDBMSes. That is to say, I know what a view is and how to make one. I also know what I've used them for in the past.
But I want to make sure I have a thorough understanding of what a view is useful for and what a view shou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "97"
} |
Q: Why not allow an external interface to provide hashCode/equals for a HashMap? With a TreeMap it's trivial to provide a custom Comparator, thus overriding the semantics provided by Comparable objects added to the map. HashMaps however cannot be controlled in this manner; the functions providing hash values and equali... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: XHTML: tag to multiple destinations in multiple target frames? I'm working on a table of links within a site using iframes. I'm wondering if there's any way to code a link to go to two simultaneous destinations within two different target frames? I've been reading all afternoon and can't find anything close to what... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What puts less load on a PHP server: SimpleXML or json_decode? I'm starting to develop a web application in PHP that I hope will become incredibly popular and make me famous and rich. :-)
If that time comes, my decision whether to parse the API's data as XML with SimpleXML or to use json_decode could make a differen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Confusing _NET_SUPPORTING_WM_CHECK I am trying to make my window manager conform to the ICCCM specifications. I fully understand the reason for the _NET_SUPPORTING_WM_CHECK atom - this ensures that no invalid information stays whenever the window manager isn't running anymore.
What I don't understand is why are no o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Ruby %x forks on 64-bit Linux, but not on 32, and only with specific syntax Here's some Ruby code:
puts %x{ pstree #{$$} } # never forks
puts %x{ pstree '#{$$}' } # forks on amd64 only
On 32-bit Ubuntu Dapper, I get this output:
t.rb---pstree
t.rb---pstree
Which makes sense to me. But on 64-bit Ubuntu Hardy, I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: RadioButtonList exception After I upgraded to the beta, I'm having trouble with Html.RadioButtonList. Can someone show me what I'm doing wrong?
The code:
<% Html.RadioButtonList(
"voter" + voter.Id,
new SelectList(new[]{"yes","no","abstain"}, "yes")).Each(x => Response.Write(x)); %>
And the exception I get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: User Drawn Controls are using the previous Forms Background I have several user drawn controls on a form, unfortunately when the form is shown the user drawn controls are showing the previous forms background rather than the current forms background.
The OnPaint event is very simple, and the OnBackgroundPaint even... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Help troubleshooting System.BadImageFormatException: While debugging through a .NET 3.5 SP1 project which is contacting a local web service, I'm receiving the exception
System.BadImageFormatException: "Bad Class Token"
Of course there aren't much more details about what's causing the exception.
I can tell that the m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: vs. vs. "iostream.h" When including a header file in C++, what's the difference between...
*
*including the .h part versus not including .h part when wrapping it in <> signs?
#include <iostream> vs. #include <iostream.h>
*wrapping the header name in double quotes versus wrapping it in < > signs?
#include <iost... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: How scalable is LINQ? Recent conversations with colleagues have produced varying points of view on this matter. What say you, SO members?
I know, even the concept of scalability can be taken in so many different ways and contexts, but that was part of the discussion when this came up. Everyone seemed to have a diffe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: machine.config path How do I get the path to the machine.config from a .Net application? It should automatically get the correct path based on the .Net version of the app.
A: System.Runtime.InteropServices.RuntimeEnvironment.SystemConfigurationFile should give you that value..
| {
"language": "en",
"url": "https://stackoverflow.com/questions/214239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What does scalability mean to you? I posted a similar question on how scalable linq is. There were so many different views on what scalability actually meant in some recent conversations, so it has sparked me to ask this question as well. What does scalability mean to you?
A: I don't think scalability makes an iota... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Stop a event from bubbling in GWT I have the following snippet of code, changeTextArea is a TextArea object.
changeTextArea.addKeyboardListener(new KeyboardListenerAdapter()
public void onKeyPress( Widget sender, char keyCode, int modifier){
//do something
//I WISH TO STOP THE EVENT THAT MAPS TO THIS KEYPR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: C equivalent of autoflush (flush stdout after each write)? In Perl, I can type:
$|++;
and anything printed to STDOUT will be automatically fflush()ed.
Is there an equivalent in C? In other words, is there some way I can tell stdio to automatically fflush stdout after every printf(), the way it automatically flushes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: How to set up internal browser for Aptana on Linux I downloaded the Aptana_Studio_Setup_Linux.zip package, unpacked it and run ./AptanaStudio. It starts fine, but reports one problem:
The embedded browser widget for this editor cannot be created. It is either not available for your operating system or the system nee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to set some custom variables on Matlab startup I would like to set some initial variables (like format compact and the current directory) automatically on each startup of Matlab.
How can I do that?
A: Create a startup.m script file containing the commands to set up the state that you want. Next, from inside MAT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I get Fiddler to stop ignoring traffic to localhost? When using Fiddler to monitor HTTP Requests & Responses in Internet Explorer it ignores all traffic directed to http://localhost.
A: Fiddler's website addresses this question directly.
There are several suggested workarounds, but the most straightforward... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214308",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "153"
} |
Q: Do different databases use different name quote? For example, mysql quote table name using
SELECT * FROM `table_name`;
notice the `
Does other database ever use different char to quote their table name
A: This use of quotes is called delimited identifiers. It's an important part of SQL because otherwise you can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Is there an actual difference in the 2 different ways of attaching event handlers in C#? In C# is there any real difference (other than syntax) under the hood between:
myButton.Click += new EventHandler(myMemberMethod);
and
myButton.Click += myMemberMethod;
?
A: They are exactly the same, its called syntax sugar.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What is the smallest ExtJS package? Does anyone know the bare minimum files required for Ext JS 2.2? I know the ExtJS site has a feature to "build" a small version of ExtJS (ext.js) as a replacement for ext-all.js but that's for minimizing the size of ExtJS on the client. I'm interested in minimizing what's on the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do you restrict access to a certain user using ASP.NET MVC? So let's say I have an eBay-type application where only the seller can edit his/her listing. How do I go about restricting access to the Edit action based on the Id of the item we're editing and the currently logged in user?
As far as I can tell, the A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Converting hex color to RGB and vice-versa What is the most efficient way to do this?
A: Modifying Jeremy's python answer to handle short CSS rgb values like 0, #999, and #fff (which browsers would render as black, medium grey, and white):
def hex_to_rgb(value):
value = value.lstrip('#')
lv = len(value)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "52"
} |
Q: Java very large heap sizes Does anyone have experience with using very large heaps, 12 GB or higher in Java?
*
*Does the GC make the program unusable?
*What GC params do you use?
*Which JVM, Sun or BEA would be better suited for this?
*Which platform, Linux or Windows, performs better under such conditions?
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "77"
} |
Q: What's the quickest way to get the mean of a set of numbers from the command line? Using any tools which you would expect to find on a nix system (in fact, if you want, msdos is also fine too), what is the easiest/fastest way to calculate the mean of a set of numbers, assuming you have them one per line in a stream ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: What options are available for cross platform resource bundle editors? We're releasing a new set of resource bundles for a large open source project, and I'd like to make some good recommendations for cross platform resource bundle editors to translators.
The only useful candidates I can find include:
*
*RBManage... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I locate the default style sheet for a browser? I would like to see the specific style elements that are used in the default stylesheet for the various browsers. Do the browsers have an actual file based stylesheetss that I locate on my system and read? If so, what are the default locations of those files? I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: What is the best method for storing viewstate in an ASP.Net mobile web application? I'm curious what techniques you find to be the best for storage and maintaining of viewstate with respect to an ASP.Net application running within a mobile web browser (i.e. Treo with Windows Mobile, or Blackberry Curve web browser).... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Embedding Flash Player in a C++ or Java application? I would like to embed Flash Player directly inside a C++ or Java application.
I found an article that describes how to do this for C#:
http://www.adobe.com/devnet/flash/articles/stock_history03.html
Unfortunately, I have no experience with C#, COM or ActiveX. I ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Set the location in iPhone Simulator How can I set the location (as it's picked up in CoreLocation services) in the iPhone Simulator?
A: You can easily share any desired location from the macOS Maps application to the Xcode simulator.
*
*From Xcode run the application in the simulator as you usually do.
*Open ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "167"
} |
Q: Checking if mysql_query returned anything or not $query = "SELECT * FROM `table`";
$results = mysql_query($query, $connection);
If 'table' has no rows. whats the easiest way to check for this.?
A: Alternatively you can simply check if the result of mysql_fetch_assoc is false.
$query = "SELECT * FROM `table`";
$res... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Why don't flash videos play after upgrading to Flash 10? Upgraded to Flash 10 today and now many flash videos aren't playing on a lot of sites, including a couple i've created. What's the fix?
edit
Let me clarify here. this question is intended to find the code change that is needed to allow users of all versions of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to compare dates in LINQ? I want to check if a given date is more than a month earlier than today's date using LINQ.
What is the syntax for this?
Thanks in advance.
A: Just to add, in LINQ To Entities you have to compare to a variable. Example:
DateTime lastMonth = DateTime.Today.AddMonths(-1);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Reconciling a column across two tables in SQL Server There are two Databases, Database A has a table A with columns of id, group and flag. Database B has a table B with columns of ID and flag. Table B is essentially a subset of table A where the group == 'B'.
They are updated/created in odd ways that are outside... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Using trellis as a framework for managing UI interaction rules Does anyone have experience with trellis? Looking at it as a framework for defining rules for field interaction and validation in grids and data entry screens.
A: It seems this project has died. No new stuff to the page has been added to it since your ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I enable my php.ini file to affect all directories/sub-directories of my server? A few weeks ago I opened up a hole on my shared server and my friend uploaded the following PHP script:
<?php
if(isset($_REQUEST['cmd'])) {
echo "<pre>";
$cmd = ($_REQUEST['cmd']);
system($cmd);
echo "</pre>";
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OpenGL: Fast off-screen rendering I need to render quite alot (tens of thousands) images off-screen using OpenGL.
I am running under Windows and using QT as a framework. the solution can be windows only, it doesn't really matter.
From what I've found using Google there are a number of options for doing this
This art... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do you make an UIPickerView component wrap around? I would like to show a set of consecutive numbers in a UIPickerView component but have it wrap around like the seconds component of the Clock->Timer application. The only behavior I can enable looks like the hours component of the Timer application, where you ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: Where do I get the ULONG LoginID values to pass to WTSConnectSession? Where do I get the ULONG LoginID values to pass to WTSConnectSession? I need both a ULONG LogonId and a ULONG TargetLogonId.
Is this the same as the SessionID I'll get back from WTSQuerySessionInformation when I pass in WTSSessionId? I suspect not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a name for this type of page navigation? Just out of curiosity, is there a name for the kind of navigation I've been working on?
It looks like this:
<<first <previous 1 2 3 4 5 [...] 20 next> last>>
i.e. navigation where you've got x pages, but you don't want to show x links, you want to limit the amount of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Pattern for wrapping an Asynchronous JavaScript function to make it synchronous I'm working with a JavaScript API where most of the functions are asynchronous. The API is the WebKit JavaScript Database API which is a binding to a subset of functionality to manipulate SQLite3 databases. I understand the design deci... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Fluent and Query Expression — Is there any benefit(s) of one over other? LINQ is one of the greatest improvements to .NET since generics and it saves me tons of time, and lines of code. However, the fluent syntax seems to come much more natural to me than the query expression syntax.
var title = entries.Where(e => ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "264"
} |
Q: General programming knowledge? I am completely new to programming - my interest lies in PHP & MySql for building a dynamic web application for Military Band Administration purposes. i.e. General info and social networking for members + added functionality for the management team to communicate effectively.
OK so the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Does Perl's /m regex modifier match differently on Windows? The following Perl statements behave identically on Unixish machines. Do they behave differently on Windows? If yes, is it because of the magic \n?
split m/\015\012/ms, $http_msg;
split m/\015\012/s, $http_msg;
I got a failure on one of my CPAN modul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is there any performance reason to use powers of two for field sizes in my database? A long time ago when I was a young lat I used to do a lot of assembler and optimization programming. Today I mainly find myself building web apps (it's alright too...). However, whenever I create fields for database tables I find my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Python templates for web designers What are some good templating engines for web designers? I definitely have my preferences as to what I'd prefer to work with as a programmer. But web designers seem to have a different way of thinking about things and thus may prefer a different system.
So:
*
*Web designers: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: ASP.net MVC and jQueryUI dilemma I just moved a project to the the beta release of ASP.net MVC framework and the only problem I am having is with jQuery and jQueryUI.
Here's the deal:
In Site.Master are the following script references:
<script src="../../Scripts/jquery-1.2.6.js" type="text/javascript"></script>
<sc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to create a numpy record array from C On the Python side, I can create new numpy record arrays as follows:
numpy.zeros((3,), dtype=[('a', 'i4'), ('b', 'U5')])
How do I do the same from a C program? I suppose I have to call PyArray_SimpleNewFromDescr(nd, dims, descr), but how do I construct a PyArray_Descr that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How do you place sub controls inside a group box? When I enable common control visual style support (InitCommonControls()) and I am using any theme other then Windows Classic Theme, buttons inside a group box appear with a black border with square corners.
Windows Classic Theme appears normal, as well as when I tur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Whats the best way to programatically add a .swf to an asp.net page? Is there a good way to add a .swf programatically to a panel on an asp.net page - ie: I know i could just insert the html tags:
ie:
<object type="application/x-shockwave-flash" data="yourflash.swf" width="" height="">
<param name="movie" value="yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I can swear i once did " new Literal("hello there"); I could have sworn i have done this somewhere - im using 2.0 right now - was this something i found in a later version? IE: pass the content of a Literal in the constructor
I remember myself saying 'huh, and all this time i created a new instance and then set the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding "active" tag to navigation list in an asp.net mvc master page In the default asp.net mvc project, in the Site.Master file, there is a menu navigation list:
<div id="menucontainer">
<ul id="menu">
<li><%= Html.ActionLink("Home", "Index", "Home")%></li>
<li><%= Html.ActionLink(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Resharper memory usage in visual studio 2008 Can you suggest some ways/tips to decrease Resharper memory usage in VS 2008. Working set memory for my VS with 50 projects is around 650mb+
Edit: Now that 4.5 is out, this question is no longer relevant.
A: That doesn't sound like a completely unreasonable amount of m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Loading ActiveX object on Flex application html page I am attempting to load an activex object on the same page where my flex application resides. Is this possible? Can I have 2 object tags on one page?
As of right now the flex application loads fine but when I attempt to access the activeX control it says its null... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Parsing Atom & RSS in Ruby/Rails? I'm looking for something that will let me parse Atom and RSS in Ruby and Rails. I've looked at the standard RSS library, but is there one library that will auto-detect whatever type of feed it is and parse it for me?
A: Feedzirra is one of the better options: http://www.pauldix.ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: The best way to familiarize yourself with an inherited codebase Stacker Nobody asked about the most shocking thing new programmers find as they enter the field.
Very high on the list, is the impact of inheriting a codebase with which one must rapidly become acquainted. It can be quite a shock to suddenly find yourse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Why do images for textures on the iPhone need to have power-of-two dimensions? I'm trying to solve this flickering problem on the iphone (open gl es game). I have a few images that don't have pow-of-2 dimensions. I'm going to replace them with images with appropriate dimensions... but why do the dimensions need to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Will Google Android ever support .NET? Now that the G1 with Google's Android OS is now available (soon), will the android platform ever support .Net?
A: Since this is one of the first links on Google when search for Android and .net support, it is only fitting to post this here.
The mono project is working on a SDK... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "253"
} |
Q: Passing Objects as part of SOAP Request and Getting Objects back as Response....using webservices I have a webservice, which takes java.lang.object objects as parameters (because at runtime only know hte type of object)...after doing process, reply response setting java.lang.Object to it.
I am able to send the reues... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: In Visual Studio, my Design view doesn't load the master page controls. Why? It's just so much HRESULT E_FAIL, if you know what I'm talking about.
And if you use Visual Studio, you know what I'm talking about.
Similar thread, but not a duplicate: Is the design view for aspx pages in Visual Studio useful?
Any insig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: RAII in Ruby (Or, How to Manage Resources in Ruby) I know it's by design that you can't control what happens when an object is destroyed. I am also aware of defining some class method as a finalizer.
However is the ruby idiom for C++'s RAII (Resources are initialized in constructor, closed in destructor)? How do p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Starting multiple HTTP listeners on IIS using C#.NET 2.0 I have two windows services running on the same machine. Both the services uses
private HttpListener listener;
I specify the baseURL as "http://IPAddress:8080/" & "http://IPAddress:8081/" respectively for each of the services. Then I do the needful and call
li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to add XML serialization instructions without modifying the class Is there a clever way of adding XML serialization instructions without modifying the serialized class?
I don’t like the default serialization and I can’t modify the class. I was considering inheriting the class, and using Shadows (VB.NET) to re-im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Java BlockingQueue of Size=1? Essentially what I want is a BlockingQueue of size=1. I have a "listener" thread that simply waits, blocking until an object is put into the queue, and then retrieves it--and a "producer" thread that actually puts the object into the queue.
I can implement this with some synchronized bl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Saving an array of colour data as a PNG file on DS I'm looking for a library to save an array of colour data to a PNG file. (That's all there is to it, right? I know very little about the internals of a PNG.)
This is for use in Nintendo DS development, so something lightweight is preferable. I don't need any other f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why does the .Net framework guidelines recommend that you don't use ref/out arguments? Apparently, they're "confusing". Is that seriously the reason? Can you think of any others?
A: In my opinion, they are considered a code smell because in general there is a much better option: returning an object.
If you notice, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: What are some arguments against using Continuous Integration? I can think of plenty of good reasons to using it; however, what are the downsides to it?
(Apart from buying another server)
What are some advantages to using a daily build instead of it?
A: James Shore had a great series of blog entries on the dangers o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: File Path/size in C# How to get the File Directory of a file (C:\myfolder\subfoler\mydoc.pdf). I also want to add the size of the subfolders, and finally the main folder size. This is for a .NET CLR that I need to integrate with SQL Server 2005 for a SSRS report.
A: You can use GetDirectoryName, to get only the dir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JNI memory management using the Invocation API When I'm building a java object using JNI methods, in order to pass it in as a parameter to a java method I'm invoking using the JNI invocation API, how do I manage its memory?
Here's what I am working with:
I have a C object that has a destructor method that is more c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Why does a pointer change itself during function transition? In the following case I'm calling a Func with pointer passed to it, but in the called function, the parameter shows the pointer value as something totally bogus. Something like below.
bool flag = Func(pfspara);--> pfspara = 0x0091d910
bool Func(PFSPARA p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: C or C++ BigInt library on Microsoft Windows What arbitrary-precision integers (and or rationals) library are there for compilers running on Microsoft Windows, and which would you recommend?
Please state license type / cost, supported compilers (i.e. GCC and or VC++) for the library.
A: GMP.
LGPL. Standard download... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Mutable vs immutable objects I'm trying to get my head around mutable vs immutable objects. Using mutable objects gets a lot of bad press (e.g. returning an array of strings from a method) but I'm having trouble understanding what the negative impacts are of this. What are the best practices around using mutable obj... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "197"
} |
Q: Firefox 3.03 and contentEditable I'm using the contentEditable attribute on a DIV element in Firefox 3.03. Setting it to true allows me to edit the text content of the DIV, as expected.
Then, when I set contentEditable to "false", the div is no longer editable, also as expected.
However the flashing caret (text i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Ruby gem testing before deployment I'm creating a gem which has
*
*several scripts in the bin directory
*the utility classes in the lib directory
*and several tests in the test directory
supertool
bin
toolA
toolB
lib
supertool
supertool.rb
helper.rb
test
tc_main.rb
tc_etc.rb
Now,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Some x86 ASM Reference/Tutorials? I'm trying to find some references in regards to x86 Assembly languages. Tutorials/Examples to help my understanding.
-Thanks
A: I recommend Roby's PC Assembly Tutorial Lesson. It's also available for download. It contains diagrams and examples.
"This assembly lesson is for x86 spe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: What is a StackOverflowError? What is a StackOverflowError, what causes it, and how should I deal with them?
A: Like you say, you need to show some code. :-)
A stack overflow error usually happens when your function calls nest too deeply. See the Stack Overflow Code Golf thread for some examples of how this happens... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "524"
} |
Q: Why is new .NET code from Microsoft not Microsoft StyleCop compliant? I just downloaded the ASP.NET MVC beta and the templates are not StyleCop compliant.
Why is new .NET code coming from Microsoft not StyleCop compliant?
A: StyleCop checks conformance to the Microsoft Framework Design Guidelines.
The guidelines... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Strings or URI in .NET APIs? I am writing an .NET wrapper API for the Netflix API.
At this point I can choose to represent URLs as either strings or URI objects. Seems to me there is a good case for both.
So if you were using an API, which would you prefer?
A: The below quote is from: Framework Design Guildelines
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Passing parameters between JSPs Please bear with me here, I'm a student and new to Java Server Pages.
If I'm being a complete idiot, can someone give me a good link to a tutorial on JSP, since I've been unable to find info on this anywhere.
Okay, here goes...
I'm using Netbeans and trying to pass an object that c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best (free?) decompiler for C# with Visual Studio integration? In my Java development I have had great benefit from the Jad/JadClipse decompiler. It made it possible to know why a third-party library failed rather than the usual guesswork.
I am looking for a similar setup for C# and Visual Studio. That is, a setup w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How can I combine this code into one or two LINQ queries? I'm perhaps being a bit lazy asking this here, but I'm just getting started with LINQ and I have a function that I am sure can be turned into two LINQ queries (or one nested query) rather than a LINQ and a couple of foreach statements. Any LINQ gurus care to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do you convert YYYY-MM-DDTHH:mm:ss.000Z time format to MM/DD/YYYY time format in Python? For example, I'm trying to convert 2008-09-26T01:51:42.000Z to 09/26/2008. What's the simplest way of accomplishing this?
A: The easiest way is to use dateutil.parser.parse() to parse the date string into a timezone aware d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: is code injection bad? There are some fairly powerful tools like SIMBL or Airfoil/Instant Hijack which use code injection.
As far as I understand this, these tools inject their own code in other programs. This idea sounds dangerous to me as this seems to have the potential to make perfectly stable software fragile a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VB6.0 MDI Spell Checker I have a VB6.0 project with MDI parent and child form. Now I need to check spelling and grammar in few text boxes on that child form.
Please help with code example.
A: You could license a professional ActiveX component like Tachyon's spellchecker. I found a list here.
If you could demand Mi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do you monitor the availability of multiple websites I need to ensure that any number of websites and services haven't bitten the dust. At the moment I rely on a simple 5 minute cronjob which uses curl and a file of urls to check that all the responses are correct (200 or rarely 301).
It all works on a basic lev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Powerwise: Is it better to use console or windows GUI application in C#(.NET)? If we are writing about power-wise option - is using a console-based application in C#(.NET) better than having Windows GUI and what's the real difference expept few libraries loaded in operational memory?
The issue is about text compari... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What software to use for virtual machine for Windows development? For my side job as programmer, I need Windows. It will be installed in VMWare Fusion. I will be writnig mostly C-code for Matlab-Mex-files, some DSP-development, some easy command-line tools in C and C++ for a tutorial and hopefully some easy GUIs usi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Should I agree to ban the "using" directive from my C# projects? My colleague insists on explicitly specifying the namespace in code as opposed to using the using directive. In other words he wants to use the fully qualified name for each type every time this type occurs in code. Something like
public class MyClass... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: What's the most unsound program you've had to maintain? I periodically am called upon to do maintenance work on a system that was built by a real rocket surgeon. There's so much wrong with it that it's hard to know where to start.
No, wait, I'll start at the beginning: in the early days of the project, the desig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: C3681 identifier not found I have two projects in CPP. One defines a function which I'd like to invoke from the other.
I added a reference to the first project.
I still get the message of "identifier not found".
Assuming that the CPP file in the first project doesn't have a header, how do I make the second project k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Virus scanners locking and deleting temporary files - best way to cope with them? My application deals with e-mails coming from different sources, e.g. Outlook and IMAP mailboxes. Before parsing them, I write them to the temporary directory (keeping them in memory is not an option). While parsing, I might be writing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Sanitize output in Rails What is the best solution to sanitize output HTML in Rails (to avoid XSS attacks)?
I have two options: white_list plugin or sanitize method from Sanitize Helper http://api.rubyonrails.com/classes/ActionView/Helpers/SanitizeHelper.html . For me until today the white_list plugin worked better ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: python module dlls Is there a way to make a python module load a dll in my application directory rather than the version that came with the python installation, without making changes to the python installation (which would then require I made an installer, and be careful I didn't break other apps for people by over... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: Equivalent of Firebug's "Copy XPath" in Internet Explorer? I have an Internet Explorer only web application.
I'm exploring what we can do to automate the testing.
Selenium looks like a good tool, but to be able to activate links etc. I need to tell it where they are. The application wasn't built with this kind of t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Can you add new statements to Python's syntax? Can you add new statements (like print, raise, with) to Python's syntax?
Say, to allow..
mystatement "Something"
Or,
new_if True:
print "example"
Not so much if you should, but rather if it's possible (short of modifying the python interpreters code)
A: One way t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "135"
} |
Q: Is there a pattern for adding "options" to a class? I have a class on which I want to allow several (~20+) configuration options.
Each option turns on or off a piece of functionality, or otherwise alters operations.
To facilitate this, I coded a separate options class with default values. However, I had to litter my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I hide directories in Apache, specifically source-control? I want to keep my website/s in version control (Subversion specifically) and use svn co to update it when there are stable versions to update, but I'm concerned about the security of doing so, as all the .svn folders will be public, and these include ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/214886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |