text
string
meta
dict
Q: What's the best way to "square" an image in .NET? I need generate thumbnails for a bunch of jpegs (200,000+) but I want to make sure all of my thumbs have a equal height and width. However, I don't want to change the proportions of the image so I need to add empty space to the shorter dimension to "square it up". T...
{ "language": "en", "url": "https://stackoverflow.com/questions/212762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Password hashing in a C# Windows app, absent ASP.NET's FormsAuthentication? My Win form app doesn't seem to like FormsAuthentication, I'm totally new to hashing so any help to convert this would be very welcome. Thanks. //Write hash protected TextBox tbPassword; protected Literal liHashedPassword; { string strHas...
{ "language": "en", "url": "https://stackoverflow.com/questions/212763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Keyboard interruptable blocking queue in Python It seems import Queue Queue.Queue().get(timeout=10) is keyboard interruptible (ctrl-c) whereas import Queue Queue.Queue().get() is not. I could always create a loop; import Queue q = Queue() while True: try: q.get(timeout=1000) except Queue.Empty: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/212797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "12" }
Q: How to attach VS2005 to process running on WinCe 5.0 What applications/modules/dlls do I need on the Window CE 5.0 device in order to be able to attach Visual Studio 2005 to process running on the device ? A: In the Debug menu, select Attach to process... In the dialog that pops up change Transport to Smart Device....
{ "language": "en", "url": "https://stackoverflow.com/questions/212804", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: In Java, how do I dynamically determine the type of an array? Object o = new Long[0] System.out.println( o.getClass().isArray() ) System.out.println( o.getClass().getName() ) Class ofArray = ??? Running the first 3 lines emits; true [Ljava.lang.Long; How do I get ??? to be type long? I could parse the string and...
{ "language": "en", "url": "https://stackoverflow.com/questions/212805", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "46" }
Q: Finding C++ interval tree algorithm implementation I'm trying to find an efficient C++ interval tree implementation (mostly likely based on red black trees) without a viral or restrictive license. Any pointers to a clean lightweight standalone implementation? For the use case I have in mind, the set of intervals is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/212808", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Is there a way to access both a root App_Code folder and an App_Code folder in a sub directory in IIS 7.0? I would love to be able to have a common set of Classes in my root App_Code folder, which is how we are set up right now. However, it doesn't make sense to put specific code there for some application residing...
{ "language": "en", "url": "https://stackoverflow.com/questions/212813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How force a maximum string length in a C# web service object property? In this class for example, I want to force a limit of characters the first/last name can allow. public class Person { public string FirstName { get; set; } public string LastName { get; set; } } Is there a way to force the string limit...
{ "language": "en", "url": "https://stackoverflow.com/questions/212821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How do you enable auto-completion for WebOb response/request objects in Pydev for Eclipse? I've been using Pydev/Eclipse to develop Google App Engine (GAE) applications but I've been unable to get the response/request objects from WebOb to have auto-completion. I used a widely recommended tutorial to get everything ...
{ "language": "en", "url": "https://stackoverflow.com/questions/212827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How does Vista decide which programs should be closed when low on memory? Vista displays the dialog "Close programs to prevent information loss" when the system is low on virtual memory. In this dialog it names programs you should close. People have reported to me that it sometimes names the program I develop. How d...
{ "language": "en", "url": "https://stackoverflow.com/questions/212828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Testing custom SOAP Headers in ASMX The test form generated by ASMX is pretty handy for testing operations. However, there is no apparent way to include SOAP headers. How can you test your headers without programming a client to use the service? A: If you care about interop, don't use .net client apps to test .net...
{ "language": "en", "url": "https://stackoverflow.com/questions/212839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: What can perform Cheat-Engine like tasks in Linux? In short, how can I search, view, and modify in-memory values in linux, preferably as easily/simply as possible. Like this. A: closest you'll get is scanmem sudo apt-get install scanmem A: This forum post kind of explains how and why. http://forum.cheatengine.org/...
{ "language": "en", "url": "https://stackoverflow.com/questions/212842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Best version control system for a non-networked environment? I am mentoring the programming group of a high school robotics team. I would like to set up a source control repository to avoid the mess of manually copying directories for sharing/backups and merging these by hand. The build location will not usually h...
{ "language": "en", "url": "https://stackoverflow.com/questions/212847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Scrum/Agile: How do you plan in internal improvements? I have now worked on two different teams that use the Agile/Scrum approach in the last two years and both teams were eager to improve the way they approach software development. In the first team, we could easily convince our product owner to get time for intern...
{ "language": "en", "url": "https://stackoverflow.com/questions/212850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "14" }
Q: How to make a DataGridViewComboBoxColumn expand the dropdown to the left? I've got a DataGridViewCobmoboxColumn that has to be on the far right side of the screen. The items in the cell are wider that the cell width, so the dropdown list is also wider than the cell, so the user can see what top select. When the list...
{ "language": "en", "url": "https://stackoverflow.com/questions/212851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: HTML select list validation I'm working on a web app project (in java; not that it matters) and we have a form with drop down lists and input fields. Obviously drop down lists are provided because we expect a specific value from a set of values. So my question is this: does it make sense to ensure the submitted v...
{ "language": "en", "url": "https://stackoverflow.com/questions/212858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How can I run NUnit(Selenium Grid) tests in parallel? My current project uses NUnit for unit tests and to drive UATs written with Selenium. Developers normally run tests using ReSharper's test runner in VS.Net 2003 and our build box kicks them off via NAnt. We would like to run the UAT tests in parallel so that we ...
{ "language": "en", "url": "https://stackoverflow.com/questions/212863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: How do the .NET Framework, CLR and Visual Studio version numbers relate to each other? With the recent announcement of .NET 4.0 and Visual Studio 2010, it is becoming ever more difficult to keep track of what .NET Framework versions build on what version of the CLR and belong with which version(s) of Visual Studio. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/212896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "59" }
Q: Advantages of Antlr (versus say, lex/yacc/bison) I've used lex and yacc (more usually bison) in the past for various projects, usually translators (such as a subset of EDIF streamed into an EDA app). Additionally, I've had to support code based on lex/yacc grammars dating back decades. So I know my way around the to...
{ "language": "en", "url": "https://stackoverflow.com/questions/212900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "155" }
Q: Where is the official, extensive, complete documentation on web.config? I'm trying to find about ALL the possible options that I can set in web.config. Surprisingly, I can't find this at all. I expected it to be somewhere inside MSDN. I know I can technically add "anything" to web.config, what I'm looking for is the...
{ "language": "en", "url": "https://stackoverflow.com/questions/212902", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "24" }
Q: Script to associate an extension to a program My customer is replacing MS Office with OpenOffice in some workstations. My program export a file to Excel using the .xml extension (using open format) and opens it using the current associated program (using ShellExecute) The problem is that OpenOffice does not register...
{ "language": "en", "url": "https://stackoverflow.com/questions/212906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: Set permissions of a directory to be owned by Everyone with all access I need to change the permissions of a directory to be owned by the Everyone user with all access rights on this directory. I'm a bit new to the Win32 API, so I'm somewhat lost in the SetSecurity* functions. A: Ok, I figured it out: SetSecurityI...
{ "language": "en", "url": "https://stackoverflow.com/questions/212919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: OLE Client in SDI. How do I add a toolbar? I have an SDI that I'm loading Excel into using OLE. I want to add a toolbar to this that I can use to have a very prominent and evident "import" button (and a few others). The toolbars I add through MFC are all hidden or otherwise removed from the interface when Excel bec...
{ "language": "en", "url": "https://stackoverflow.com/questions/212926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I modify a MySQL column to allow NULL? MySQL 5.0.45 What is the syntax to alter a table to allow a column to be null, alternately what's wrong with this: ALTER mytable MODIFY mycolumn varchar(255) null; I interpreted the manual as just run the above and it would recreate the column, this time allowing null....
{ "language": "en", "url": "https://stackoverflow.com/questions/212939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "510" }
Q: Using django-rest-interface I have a django application that I'd like to add some rest interfaces to. I've seen http://code.google.com/p/django-rest-interface/ but it seems to be pretty simplistic. For instance it doesn't seem to have a way of enforcing security. How would I go about limiting what people can view...
{ "language": "en", "url": "https://stackoverflow.com/questions/212941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "21" }
Q: How to read mutliline input from stdin into variable and how to print one out in shell(sh,bash)? What I want to do is the following: * *read in multiple line input from stdin into variable A *make various operations on A *pipe A without losing delimiter symbols (\n,\r,\t,etc) to another command The current pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/212965", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "78" }
Q: Many to Many delete cascade in NHibernate I have a scenario in a system which I've tried to simplify as best as I can. We have a table of (lets call them) artefacts, artefacts can be accessed by any number of security roles and security roles can access any number of artefacts. As such, we have 3 tables in the datab...
{ "language": "en", "url": "https://stackoverflow.com/questions/212968", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "14" }
Q: ListBox elements rearranged with JavaScript causing event validation error on postback I have created an item swapper control consisting in two listboxes and some buttons that allow me to swap items between the two lists. The swapping is done using javascript. I also move items up and down in the list. Basically wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/212988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Programmatically convert G729 audio to WAV PCM I have G729 encoded audio files. I need to programmatically convert them to WAV PCM (16bit 8kHz mono) in the flow of a tool that is doing other thing too. I have an executable that will do that for me. But spawning that external process every time I convert is too heav...
{ "language": "en", "url": "https://stackoverflow.com/questions/212989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Simple C++ UML w/ reverse engineering I need a way to build C++ code from UML diagrams and vice versa. Should be simple too hopefully. I don't mind paying too much. A: You could try Sparx Enterprise Architect but the code quality would be average, not excellent. I am not aware of any great automatic code generator...
{ "language": "en", "url": "https://stackoverflow.com/questions/212990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: CVS tab completion for modules under Linux How can I get tab completion to work for selecting CVS modules under Linux (preferably using bash) ? For example, "cvs co " + tab would list the modules I can checkout. I've heard it's easy to do using zsh, but still I didn't manage to get it working either. Also, how can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/212994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Continuous Integration for Xcode projects? After using Hudson for continuous integration with a prior project, I want to set up a continuous integration server for the iPhone projects I'm working on now. After doing some research it looks like there aren't any CI engines designed specifically for Xcode, but one guy ...
{ "language": "en", "url": "https://stackoverflow.com/questions/212999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "57" }
Q: Calculating grand totals from group totals in Reporting Services I have some data grouped in a table by a certain criteria, and for each group it is computed an average —well, the real case is a bit more tricky— of the values from each of the detail rows that belong to that group. This average is shown in each group...
{ "language": "en", "url": "https://stackoverflow.com/questions/213002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How can I get the original capture timestamp from my home movie files:: AVI and MPG4? I have over a TB of home movies with horrible file names. Finding what you want is impossible. I would like to rename all files to the time they were originally recorded (not the file time they were placed on my computer). Some ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/213015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: Simple C++ function -- Is this code "good"? The following code was produced by a consultant working for my group. I'm not a C++ developer (worked in many languages, though) but would like some independent opinions on the following code. This is in Visual Studio C++ 6.0. I've got a gut reaction (not a good one, ob...
{ "language": "en", "url": "https://stackoverflow.com/questions/213027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Why doesn't Google index some words on page? I've created a program in Delphi that uses Google's AJAX Search API to evaluate search phrase occurrences on specific sites, mine included. What surprised me was it doesn't appear Google is indexing some words on my pages, or I am forming my search queries via the API in...
{ "language": "en", "url": "https://stackoverflow.com/questions/213033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do you do exponentiation in C? I tried "x = y ** e", but that didn't work. A: Similar to an earlier answer, this will handle positive and negative integer powers of a double nicely. double intpow(double a, int b) { double r = 1.0; if (b < 0) { a = 1.0 / a; b = -b; } while (b) { if (b & 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/213042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "66" }
Q: How can I call C# extension methods in VB code I have a class library with some extension methods written in C# and an old website written in VB. I want to call my extension methods from the VB code but they don't appear in intelisense and I get compile errors when I visit the site. I have got all the required Impor...
{ "language": "en", "url": "https://stackoverflow.com/questions/213045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: Is there a way to make TFS linkable? I'm a big fan of TFS, but unfortunately they seem to have omitted any sort of method of linking to individual items (be they work items, documents, or files under version control). This blog post discusses using TSWA Power Tools to link directly to things (which is useful for bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/213068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "12" }
Q: VB code to combine two files, everything seems good why isn't it working? Alright so I'm essentialyl trying to code something that will combine two files together in VB and output a single file that when run, runs both of them. I've grabbed this source from several places online and am just trying to get it to work...
{ "language": "en", "url": "https://stackoverflow.com/questions/213078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SSL Issues with IntraWeb - Delphi 2007 I've been trying to SSL working on my IW program for the last little while and I keep running up against the 'Could not load SSL Library'. I've followed every piece of advice I could find on the subject, but still no joy. I've tried the suggested DLLs in both the local director...
{ "language": "en", "url": "https://stackoverflow.com/questions/213084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: SQL - Find where in a query a certain row will be I'm working on a forums system. I'm trying to allow users to see the posts they've made. In order for this link to work, I'd need to jump to the page on the particular topic they posted in that contained their post, so the bookmarks could work, etc. Since this is a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213085", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to receive timer events in CWinApp with MFC? In MFC I'm trying to set a null handler timer (ie. no windows). But I'm unable to process the WM_TIMER event in the CWinApp MESSAGE_MAP. Is this possible? If so, how? A: I've done this by making an invisible window and setting a timer on it. A: Check out this post b...
{ "language": "en", "url": "https://stackoverflow.com/questions/213118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Use 'class' or 'typename' for template parameters? Possible Duplicate: C++ difference of keywords ‘typename’ and ‘class’ in templates When defining a function template or class template in C++, one can write this: template <class T> ... or one can write this: template <typename T> ... Is there a good reason to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213121", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "611" }
Q: How do you specify font sizes in CSS so that they match mockups and allow resizing? We're running into issues with how we specify font sizes. If we specify the font sizes using pt, they don't always look the same across browsers/platforms. If we specify font sizes using px, IE6 users can't resize the text. A: An ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/213128", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How would views & procs referencing another db cause log to grow? I've got 2 databases on one server; let’s call them db A and B. Database A is about 11 GB, database B is very small (155mb). Database B has some views and procs which are constantly accessing and updating data in database A. The interesting thing is...
{ "language": "en", "url": "https://stackoverflow.com/questions/213134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Textured spheres without strong distortion I've seen well-textured balls, planets, and other spherical objects in couple of games, last time in UFO: aftermath. If you just splatter a texture into latitude/longditude as u and w -coordinates you'll get lots of ugly texture distortion to poles. I can think myself an on...
{ "language": "en", "url": "https://stackoverflow.com/questions/213147", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: sort columns of gridview in asp.net c# Can anyone tell the function to sort the columns of a gridview in c# asp.net. The databound to gridview is from datacontext created using linq. I wanted to click the header of the column to sort the data. Thanks! A: There are 2 things you need to do to get this right. * *K...
{ "language": "en", "url": "https://stackoverflow.com/questions/213148", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: Oracle Advanced Queuing - Queue Propagation EDIT: It seems to be something with having the two queues in the same schema. I’m trying to experiment with queue propagation but I’m not seeing records in the destination queue. But that could easily be because I don’t have all the pieces in place. Does anyone have a test...
{ "language": "en", "url": "https://stackoverflow.com/questions/213151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Is there an IIS setting to get rid of extra '/' characters in a requested URL? The general problem: We have urls coming to our IIS web servers formatted like: http://www.server.com/page.aspx We are also seeing that urls like this are coming in: http://www.server.com//page.aspx We would like to get rid of that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213153", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I get the output of iostat as a graph in Solaris 9 Is there a built-in/custom script available? A: In fact not really programming related. Anyway, from my experience, munin can generate very nice graphs, powered by rrdtool. You can also host a munin master on a different machine and collect data from many ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does a DSP/FPGA phase accumulator work? I'm looking at the code for a phase accumulator, and I must be a simpleton because I don't get it. The code is simple enough: Every Clock Tick do: accum = accum + NCO_param; return accum; accum is a 32-bit register. Obviously, at some point it will roll-over. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213167", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Tool to Peek into WCF SOAP message I know there is a tool that enables me to see what actually gets sent/received in my WCF application, that is it let's me see the actual SOAP messages being passed down the wire. The problem is I don't remember what that tool was called, and my Google skills are not of much help ei...
{ "language": "en", "url": "https://stackoverflow.com/questions/213168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Change of class does not result in the new class's rules being applied in IE6? I have a single image with 9 different states and the appropriate background-position rules set up as classes to show the different states. I can't use the :hover pseudo-selector because the background image being changed is not the same ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How do I turn on Option Strict / Infer in a VB.NET aspx page without a code behind file? Umm, I guess my questions in the title: How do I turn on Option Strict / Infer in a VB.NET aspx page without a code behind file? <%@ Page Language="VB" %> <script runat="server"> Protected Sub Page_Load(ByVal sender As Objec...
{ "language": "en", "url": "https://stackoverflow.com/questions/213181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Can I safely install .Net framework 3.5 SP1 without requiring my customers to upgrade their .Net Framework distributable? (currently running 3.5) Can I safely download and install .Net framework 3.5 SP1 without requiring my customers to upgrade their .Net Framework distributable? EDIT: And without changing my build ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Is there any elegant way to execute specific code depending on the caller, using reflection or otherwise? In my ideal world, what I'm looking for would exist as something along the lines of this: public string UserDefinedField { get { return _userDefinedField; } internal set { _userDefinedField = value; } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: OpenID authentication error When I try to login to this site using my yahoo openid, it takes me to the yahoo site, I click "continue" meaning that i want to send my authentication details to stackoverflow.com and stackoverflow.com gives me the following error underneath the login text field: Unable to log in with yo...
{ "language": "en", "url": "https://stackoverflow.com/questions/213195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to have a bottom footer with a horizontal scrollbar and no vertical scroll bar? I have a layout which uses min-width and works great. So I came to add a footer which I want to stick to the bottom. Firefox will display everything perfectly while with IE, when min-width takes in effect and the vertical ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Managing Projects - What do you think about AxoSoft OnTime? I am wondering what is your experience with AxoSoft OnTime issues tracking and project management solution in case you have ever used it (pros and cons)... Cheers, B. A: The. Client. Is. Bloody. Slow! But yes, we use it. And it is powerful. And configurabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/213212", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scrum Burndown Patterns I'm in a 10 person team working on a large legacy code base with a less than ideal product owner. Our backlog is in pretty bad shape and large epics have frequently been breaking our sprints. The team also struggles with its definition of done - some members write unit test religiously, other...
{ "language": "en", "url": "https://stackoverflow.com/questions/213214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Creating Visual Studio toolbar commands to execute batch files I have a few batch files I need to run frequently in developing a certain project. I'd like to create a Visual Studio toolbar called "MyProject" and have commands underneath to execute these batch files. What is the easiest way to accomplish this? A: * ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "12" }
Q: In Django, how could one use Django's update_object generic view to edit forms of inherited models? In Django, given excerpts from an application animals likeso: A animals/models.py with: from django.db import models from django.contrib.contenttypes.models import ContentType class Animal(models.Model): content_t...
{ "language": "en", "url": "https://stackoverflow.com/questions/213237", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Where is the Silverlight Calendar Control? Just playing around with the now released Silverlight 2.0. I'm trying to put a simple Calendar in a control. However the project doesn't seem to know what I'm talking about:- <UserControl x:Class="MyFirstSL2.Test" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/prese...
{ "language": "en", "url": "https://stackoverflow.com/questions/213238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Parsing of nested tags in a file I am wondering - What's the most effective way of parsing something like: {{HEADER}} Hello my name is {{NAME}} {{#CONTENT}} This is the content ... {{#PERSONS}} <p>My name is {{NAME}}.</p> {{/PERSONS}} {{/CONTENT}} {{FOOTER}} Of course this is intended to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213249", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can someone post a well formed crossdomain.xml sample? I've been reading that Adobe has made crossdomain.xml stricter in flash 9-10 and I'm wondering of someone can paste me a copy of one that they know works. Having some trouble finding a recent sample on Adobe's site. A: In production site this seems suitable: <?...
{ "language": "en", "url": "https://stackoverflow.com/questions/213251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "80" }
Q: How to determine whether a Windows application is offscreen? I am trying to debug a strange issue with users that have LogMeIn installed. After a few days, some of my dialogs that my app opens can end up offscreen. If I could reliable detect that, I could programmatically move the dialogs back where they are visible...
{ "language": "en", "url": "https://stackoverflow.com/questions/213256", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Manipulating the HTTP header in WCF before HTTP authentication in HttpBinding This is in relation to this question I am hosting this WCF service in a custom service host. IIS is not an option. Is there a way to inject an HTTP "Authenticate" header in the server stack (if it's missing) early on in the request proces...
{ "language": "en", "url": "https://stackoverflow.com/questions/213259", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How do I center a JDialog on screen? How do I go about positioning a JDialog at the center of the screen? A: Two helpers for centering within the screen or within the parent. // Center on screen ( absolute true/false (exact center or 25% upper left) ) public void centerOnScreen(final Component c, final boolean abso...
{ "language": "en", "url": "https://stackoverflow.com/questions/213266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "89" }
Q: How do I pass a function as a parameter to in elisp? I'm trying to pass one method to another in elisp, and then have that method execute it. Here is an example: (defun t1 () "t1") (defun t2 () "t1") (defun call-t (t) ; how do I execute "t"? (t)) ; How do I pass in method reference? (call-t 't1) A: The...
{ "language": "en", "url": "https://stackoverflow.com/questions/213267", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "21" }
Q: window.ScrollMaxY or X - How to set in FireFox 3? window.scrollMaxY can be set via that property in IE and older versions of Firefox, but when trying in FF3 it says "Cannot set this property as it only has a getter". What is my alternative? EDIT: The reason why I'm asking is that I'm fixing some very horrible JS wri...
{ "language": "en", "url": "https://stackoverflow.com/questions/213271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I create a comma delimited string from an ArrayList? I'm storing an ArrayList of Ids in a processing script that I want to spit out as a comma delimited list for output to the debug log. Is there a way I can get this easily without looping through things? EDIT: Thanks to Joel for pointing out the List(Of T) t...
{ "language": "en", "url": "https://stackoverflow.com/questions/213295", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "87" }
Q: .NET AJAX 1.0 Aysc Callback Modifies Form Action When Server.Transfer is Used I have a web form that I am attempting to implement dynamic drop down lists on using the .NET AJAX 1.0 extensions. I have successfully implemented the needed bits, but have an interesting quirk. When I select a value from my first drop dow...
{ "language": "en", "url": "https://stackoverflow.com/questions/213297", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MMORPG Client/Server Coding How are the UDP and TCP protocols used in MMORPG client/server communication? For example: Does the client broadcast (player position, etc) via UDP to the server? or vice versa? Or is it more like using TCP where the Client requests that the server move the player. The server receives th...
{ "language": "en", "url": "https://stackoverflow.com/questions/213298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: ASP.NET 2.0 callbacks not working correctly in Firefox I've implemented a .NET Web control that uses the callback structure implemented in ASP.Net 2.0. It's an autodropdown control, and it works correctly in IE 6.0/7.0 and Google Chrome. Here's the relevant callback function: function ReceiveServerData(args, conte...
{ "language": "en", "url": "https://stackoverflow.com/questions/213299", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Flash developers: what versions of Flash do you test your stuff with? I'm curious as to what versions of Flash stuff is tested with. How do you manage it across different browsers? I'm wanting to test things with both swfdec and gnash and hoping maybe there's some way I didn't know about... A: All the test i run ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/213302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Software Requirements Analysis There are many tools out there for writing and managing requirements, but are there any good ones for reviewing them? I'm not talking about managing reviews, but automation tools that look for common requirement blunders (such as using negative requirements, or ones that are worded i...
{ "language": "en", "url": "https://stackoverflow.com/questions/213303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: In-line CSS IE hack Is it possible to create, for instance, a box model hack while using in-line CSS? For example: <div id="blah" style="padding: 5px; margin: 5px; width: 30px; /*IE5-6 Equivalent here*/"> Thanks! A: Without arguing for or against CSS hacks, personally if I needed to do something like that, I would...
{ "language": "en", "url": "https://stackoverflow.com/questions/213309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Can Ruby really be used as a functional language? Can Ruby really be used as a functional language? What are some good tutorials to teach this facet of the language? Note: I really want to use and stick with Ruby as my primary language so I am not interested at this point in being converted to YAFL (yet another f...
{ "language": "en", "url": "https://stackoverflow.com/questions/213312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: How can I fill in a Sharepoint List edit form offline using Windows Mobile 5.0 Quickly? I need a method for a user to quickly enter info using a Handheld Symbol MC9090 scanner running windows Mobile 5.0 from a power off state Currently it takes approx 1 min from power off state for user to enter data into a sharepoi...
{ "language": "en", "url": "https://stackoverflow.com/questions/213330", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using C# params keyword in a constructor of generic types I have a generic class in C# with 2 constructors: public Houses(params T[] InitialiseElements) {} public Houses(int Num, T DefaultValue) {} Constructing an object using int as the generic type and passing in two ints as arguments causes the 'incorrect' const...
{ "language": "en", "url": "https://stackoverflow.com/questions/213333", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: How do I make an already written concurrent program run on a GPU array? I have a neural network written in Erlang, and I just bought a GeForce GTX 260 card with a 240 core GPU on it. Is it trivial to use CUDA as glue to run this on the graphics card? A: I wish I could tell you how to do this with Erlang... ;-), but...
{ "language": "en", "url": "https://stackoverflow.com/questions/213337", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "22" }
Q: Inter-plugin communication in Eclipse Is it possible to create Eclipse plugins that auto-discover eachother? I am developing a set of plugins that need to operate in two primary situations: * *individually *in concert with each other. When run individually, the plugins should "just work" but when in concert, t...
{ "language": "en", "url": "https://stackoverflow.com/questions/213349", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: MovieClip isn't removed from Dictionary I have a Dictionary where I hold data for movieclips, and I want the data to be garbage collected if I stop using the movieclips. I'm using the weak keys parameters, and it works perfectly with other data, however I've run into a problem. This code works great: var mc = new M...
{ "language": "en", "url": "https://stackoverflow.com/questions/213360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How can I reliably discover the full path of the Ruby executable? I want to write a script, to be packaged into a gem, which will modify its parameters and then exec a new ruby process with the modified params. In other words, something similar to a shell script which modifies its params and then does an exec $SHEL...
{ "language": "en", "url": "https://stackoverflow.com/questions/213368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: How to edit showInPanes property in XtraCharts I am adding series and panes to a Developer's Express Chart Control in code on a windows form application. I would like to only show the x-axis labels for the first pane. The showInPanes property is telling me it is read only. How do I set this propert in code? A: D...
{ "language": "en", "url": "https://stackoverflow.com/questions/213371", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I debug Resharper 4.0 add-ins? Ok, I love Resharper and its addins, but even the best of fanbois have to admit that its API documentation is suboptimal. I'd like to build an addin myself (based on the Agent Johnson plugin). Thankfully that plugin works in 4.0, so I can use it as a starting point for my own wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/213374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Loading addins when Excel is instantiated programmatically I am trying to create a new instance of Excel using VBA using: Set XlApp = New Excel.Application The problem is that this new instance of Excel doesn't load all the addins that load when I open Excel normally...Is there anything in the Excel Application obj...
{ "language": "en", "url": "https://stackoverflow.com/questions/213375", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "16" }
Q: Open-source improvements or replacements for Swing components I develop a number of desktop Java applications using Swing, and while Swing is quite powerful (once you get the hang of it), there are still a lot of cases where I wish some advanced component was available right out of the box. For example, I'd really l...
{ "language": "en", "url": "https://stackoverflow.com/questions/213378", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: The necessity of hiding the salt for a hash At work we have two competing theories for salts. The products I work on use something like a user name or phone number to salt the hash. Essentially something that is different for each user but is readily available to us. The other product randomly generates a salt fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/213380", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "109" }
Q: When it says put crossdomain.xml in the root where would that be on IIS? Would it be wwwroot, C, the root virtual directory where the assets are hosted, or the same folder that the assets are in? Meaning if I have a virtual directory 'virdir' with a sub directory 'swf', which is really like C:\somedir\assets\swf\, w...
{ "language": "en", "url": "https://stackoverflow.com/questions/213389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: What is the Win32 API function to use to delete a folder? What are the Win32 APIs to use to programically delete files and folders? Edit DeleteFile and RemoveDirectory are what I was looking for. However, for this project I ended up using SHFileOperation. I found the sample code at CodeGuru helpful. A: I believ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "27" }
Q: How to export a flat file with different rows using SSIS? I have tree tables, Customer, Invoice and InvoiceRow with the standard relations. These I have to export in one fixed field length file with the first two characters of each row identifying the row type. The row types have different specifications. I could p...
{ "language": "en", "url": "https://stackoverflow.com/questions/213411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do you pass an array of string through an event in an Interop User Control to vb6 I have a VB.net control that has an event: Public Event PassNames(ByVal names() as String) When the event triggered in VB6, I get the following error: "Function or interface marked as restriced, or the function uses an Automation...
{ "language": "en", "url": "https://stackoverflow.com/questions/213413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Inject dependencies in methods or in the constructor? Dependency injection seems to be a good thing. In general, should dependencies be injected at the methods that require them, or should they be injected in the contructor of the class? See the samples below to demonstrate the two ways to inject the same dependenc...
{ "language": "en", "url": "https://stackoverflow.com/questions/213421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "23" }
Q: Translate C# code into AST? Is it currently possible to translate C# code into an Abstract Syntax Tree? Edit: some clarification; I don't necessarily expect the compiler to generate the AST for me - a parser would be fine, although I'd like to use something "official." Lambda expressions are unfortunately not going ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "17" }
Q: Programmatically Adding User Controls Inside An UpdatePanel I'm having trouble dynamically adding controls inside an update panel with partial postbacks. I've read many articles on dynamic controls and I understand how to add and maintain them with postbacks but most of that information doesn't apply and won't work ...
{ "language": "en", "url": "https://stackoverflow.com/questions/213429", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: Selenium RC: Run tests in multiple browsers automatically So, I've started to create some Ruby unit tests that use Selenium RC to test my web app directly in the browser. I'm using the Selenum-Client for ruby. I've created a base class for all my other selenium tests to inherit from. This creates numerous Selenium...
{ "language": "en", "url": "https://stackoverflow.com/questions/213430", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Do you need to put something in your code to access an asset allowed by crossdomain.xml? Wondering if I need to do something in my swf to be able to access the assets on a different server, meaning more than just specify the url to the asset. Will flash handle the 'go get crossdomain.xml and authenticate everything'...
{ "language": "en", "url": "https://stackoverflow.com/questions/213443", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Writing trace information in a windows form app I know how to write trace statements that I can view in a webforms environment, but how do I do this in a windows forms app? I am inside of a static method, and I want to display the sql query that it is generating. I don't have access to messagebox.show, what are my o...
{ "language": "en", "url": "https://stackoverflow.com/questions/213451", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }