text
stringlengths
8
267k
meta
dict
Q: Horrible VMware keyboard shortcuts I'm a VMware user and far too often I use keyboard shortcuts while programming. However, this has proved to be quite distressing as sometimes the VMware gets hold of it and turns off / pauses (Ctrl+Z) the virtual machine. Is there a way to disable keyboard shortcuts on VMware? Has ...
{ "language": "en", "url": "https://stackoverflow.com/questions/152901", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "18" }
Q: Get the contents of a Application Server directory I need to get a listing of a server-side directory inside SAP. How do I achieve this in ABAP? Are there any built-in SAP functions I can call? Ideally I want a function which I can pass a path as input, and which will return a list of filenames in an internal table....
{ "language": "en", "url": "https://stackoverflow.com/questions/152919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: In Visual Studio when viewing a changeset, how can I change the view of cs files? In Visual Studio with TFS as source control, when I view the history and double click a cs file, the file is loaded in notepad. How can i change the application to be notepad++? I also would like the OS's default application for the f...
{ "language": "en", "url": "https://stackoverflow.com/questions/152926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "19" }
Q: When is modal UI acceptable? By and large, modal interfaces suck big rocks. On the other hand, I can't think of a better way to handle File Open..., or Print... and this, I think, is because * *they are occasional actions, infrequent and momentous, and *they are atomic in nature; you either finish specifying al...
{ "language": "en", "url": "https://stackoverflow.com/questions/152938", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: Get notified that MS Excel file is no longer used in Progress 4GL (ABL) There is a GUI ADM2 Progress v9 application using AppServer. It needs to give users an ability to view MS Excel files stored on the AppServer. So far it: * *Pulls .xls file from AppServer to a local drive. *Fires up a copy of MS Excel and o...
{ "language": "en", "url": "https://stackoverflow.com/questions/152946", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deployment tools ENTERPRISE - what is the best for Windows environment? What is the "best" tool for creating deployment packages/jobs/stuff for all "enterprise level" deployments..... GAC, COM+, Credentials, App pools, Web sites, registry entries, etc... It would be best if there is a way to "tokenize" the credentia...
{ "language": "en", "url": "https://stackoverflow.com/questions/152957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can you use Java libraries in a VB.net program? I'm wondering if a Java library can be called from a VB.net application. (A Google search turns up lots of shady answers, but nothing definitive) A: No, you can't. Unless you are willing to use some "J#" libraries (which is not nearly the same as Java) or IKVM which i...
{ "language": "en", "url": "https://stackoverflow.com/questions/152967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: How can I convert a number to its multiple form in Perl? Do you know an easy and straight-forward method/sub/module which allows me to convert a number (say 1234567.89) to an easily readable form - something like 1.23M? Right now I can do this by making several comparisons, but I'm not happy with my method: if($byte...
{ "language": "en", "url": "https://stackoverflow.com/questions/152968", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: How do I detect a click outside an element? I have some HTML menus, which I show completely when a user clicks on the head of these menus. I would like to hide these elements when the user clicks outside the menus' area. Is something like this possible with jQuery? $("#menuscontainer").clickOutsideThisElement(functi...
{ "language": "en", "url": "https://stackoverflow.com/questions/152975", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2873" }
Q: What would be a recommended choice of SSIS component to perform SFTP or FTPS task? Sometimes normal FTP doesn't quite cut it... When you need to do secure FTP via SSIS packages, which product would you recommend? Before answering, please see if someone has already suggested the same thing and, if so, vote it up. NO...
{ "language": "en", "url": "https://stackoverflow.com/questions/152981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Do you put your indexes in source control? And how do you keep them in synch between test and production environments? When it comes to indexes on database tables, my philosophy is that they are an integral part of writing any code that queries the database. You can't introduce new queries or change a query without...
{ "language": "en", "url": "https://stackoverflow.com/questions/152985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Suggestion on remoting (rpc, rmi) for Java SE client-server app? I'm absolutely in love with the way GWT does RPC. Is there anything similar for Java SE you have experience with that: * *Is not spring *Doesn't require a Java EE/Servlet container to run the server side *Is not RMI that comes with Java SE A: Ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/152988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does ADO.Net Data services support POST being something other than create? From the documentation that I have read so far, ADO.Net data services is positioned as way of exposing a CRUD like interface to tables in a database in a RESTful way. This is great for applications that only do those four operations, but...
{ "language": "en", "url": "https://stackoverflow.com/questions/153019", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I create an XML file using templating similar to ASP.NET I need to generate an XML file in C#. I want to write the code that generates this in a file that is mostly XML with code inside of it as I can in an ASP.NET MVC page. So I want a code file that looks like: <lots of angle brackets...> <% foreach(da...
{ "language": "en", "url": "https://stackoverflow.com/questions/153021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Insert rows into Access db from C# using Microsoft.Jet.OLEDB.4.0, autonumber column is set to zero I'm using C# and Microsoft.Jet.OLEDB.4.0 provider to insert rows into an Access mdb. Yes, I know Access sucks. It's a huge legacy app, and everything else works OK. The table has an autonumber column. I insert the ro...
{ "language": "en", "url": "https://stackoverflow.com/questions/153023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL Server Management Studio 2005 "Remember Password" doesn't work Folks, I connect to a large number of SQL Server 2005 databases through SQL Server Management Studio 2005. I frequently check off "Remember password", yet the next time I try to connect it doesn't actually remember it. Have you had this experience? A...
{ "language": "en", "url": "https://stackoverflow.com/questions/153033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do I make foreign-key combo boxes user-friendly on an Access form? I've got two tables: Employees: uid (number) | first_name (string) | last_name (string) | ... Projects: uid | project_title (string) | point_of_contact_id (FK: Employees.uid) | ... I'd like to create a form for Projects with a "Point of Contact...
{ "language": "en", "url": "https://stackoverflow.com/questions/153035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ASP.NET MVC Client Side Validation I am all about using ASP.NET MVC, but one of the areas that I hope gets improved on is Client-Side Validation. I know the most recent version (Preview 5) has a lot of new features for Validation, but they all seem to be after the page has been posted. I have seen an interesting art...
{ "language": "en", "url": "https://stackoverflow.com/questions/153039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Launch web page from my application Ok, this probably has a really simple answer, but I've never tried to do it before: How do you launch a web page from within an app? You know, "click here to go to our FAQ", and when they do it launches their default web browser and goes to your page. I'm working in C/C++ in Windo...
{ "language": "en", "url": "https://stackoverflow.com/questions/153046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: How to mock with static methods? I'm new to mock objects, but I understand that I need to have my classes implement interfaces in order to mock them. The problem I'm having is that in my data access layer, I want to have static methods, but I can't put a static method in an interface. What's the best way around th...
{ "language": "en", "url": "https://stackoverflow.com/questions/153048", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "35" }
Q: What Happened to ASP.Net Mobile Web Forms? Previously Visual Studio had templates for mobile web forms (not the mobile SDK). They appear to be gone in Visual Studio 2008 and the only solution I've seen is to download some templates from Omar here: http://blogs.msdn.com/webdevtools/archive/2007/09/17/tip-trick-asp-n...
{ "language": "en", "url": "https://stackoverflow.com/questions/153051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Microsoft JET SQL Query Logging or "How do I debug my customer's program?" The problem: We use a program written by our biggest customer to receive orders, book tranports and do other order-related stuff. We have no other chance but to use the program and the customer is very unsupportive when it comes to problems w...
{ "language": "en", "url": "https://stackoverflow.com/questions/153053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Is there any way to programmatically set the application name in Elmah? I need to change the app name based on what configuration I'm using in Visual Studio. For example, if I'm in Debug configuration, I want the app name to show as 'App_Debug' in the Application field in the Elmah_Error table. Does anyone have any ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "14" }
Q: Any ideas on how to make edit-in-place degradable? I'm currently writing an edit-in-place script for MooTools and I'm a little stumped as to how I can make it degrade gracefully without JavaScript while still having some functionality. I would like to use progressive enhancement in some way. I'm not looking for code...
{ "language": "en", "url": "https://stackoverflow.com/questions/153061", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Escape < and > in sed/shell How do I escape '<' and '>' character in sed. I have some xml files which needs some text between the tags to be replaced. How do I escape the '>' and '<' characters. The problem with > and < is it has special meaning in the shell to redirect the output to a file. So backslash doesn't wor...
{ "language": "en", "url": "https://stackoverflow.com/questions/153062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Why isn't bittorrent more widespread? I suppose this question is a variation on a theme, but different. Torrents will never replace HTTP, or even FTP download options. This said, why aren't there torrent links next to those options on more websites? I'm imagining a web-system whereby downloaded files are able to be ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153064", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Converting a pointer into an integer I am trying to adapt an existing code to a 64 bit machine. The main problem is that in one function, the previous coder uses a void* argument that is converted into suitable type in the function itself. A short example: void function(MESSAGE_ID id, void* param) { if(id == FOO...
{ "language": "en", "url": "https://stackoverflow.com/questions/153065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "107" }
Q: Tool to visualise code flow (C/C++) Do you have any sugestions of tools to ease the task of understanding C/C++ code? We just inherited a large piece of software written by others and we need to quickly get up to speed on it. Any advice on tools that might simplify this task? A: Doxygen is very good at generating d...
{ "language": "en", "url": "https://stackoverflow.com/questions/153074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "85" }
Q: SQL Server 2008 Reporting Services on Failover Cluster When I try to install the Reporting Services on a second node of a failover cluster, I get the following error message: Existing clustered or cluster-prepared instance failed. The instance selected for installation is already installed and clustered on node 2. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How can I read MS Office files in a server without installing MS Office and without using the Interop Library? The interop library is slow and needs MS Office installed. Many times you don't want to install MS Office on servers. I'd like to use Apache POI, but I'm on .NET. I need only to extract the text portion of...
{ "language": "en", "url": "https://stackoverflow.com/questions/153079", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Getting / setting file owner in C# I have a requirement to read and display the owner of a file (for audit purposes), and potentially changing it as well (this is secondary requirement). Are there any nice C# wrappers? After a quick google, I found only the WMI solution and a suggestion to PInvoke GetSecurityInfo A...
{ "language": "en", "url": "https://stackoverflow.com/questions/153087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "32" }
Q: SQL Developer error I'm trying to use SQL developer, but it won't connect using the proxy I specify in the preferences. I guess it's because of some kind of certificate error? Not sure. I'm getting the error: No HTTP response received. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: P...
{ "language": "en", "url": "https://stackoverflow.com/questions/153095", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How do I setup remote debugging from scratch for an Asp.Net app I would like to be able to step through an application deployed to a remote location which as yet has nothing bar version 3.5 of the .Net framework. What steps do I need to go through to achieve this and how long would you envisage this taking? A: How...
{ "language": "en", "url": "https://stackoverflow.com/questions/153112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Packing rectangles for compact representation I am looking for pointers to the solution of the following problem: I have a set of rectangles, whose height is known and x-positions also and I want to pack them in the more compact form. With a little drawing (where all rectangles are of the same width, but the width m...
{ "language": "en", "url": "https://stackoverflow.com/questions/153123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: How do I get a multi line tooltip in MFC Right now, I have a tool tip that pops up when I hover over an edit box. The problem is that this tool tip contains multiple error messages and they are all in one long line. I need to have each error message be on its own line. The error messages are contained in a CStrin...
{ "language": "en", "url": "https://stackoverflow.com/questions/153134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Connect to an Oracle 8.0 database using a 10g client I recently upgraded my oracle client to 10g (10.2.0.1.0). Now when I try to connect to a legacy 8.0 database, I get ORA-03134: Connections to this server version are no longer supported. Is there any workaround for this problem, or do I have to install two client...
{ "language": "en", "url": "https://stackoverflow.com/questions/153151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Resizing an iframe based on content I am working on an iGoogle-like application. Content from other applications (on other domains) is shown using iframes. How do I resize the iframes to fit the height of the iframes' content? I've tried to decipher the javascript Google uses but it's obfuscated, and searching the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "519" }
Q: How to count distinct values in a node? How to count distinct values in a node in XSLT? Example: I want to count the number of existing countries in Country nodes, in this case, it would be 3. <Artists_by_Countries> <Artist_by_Country> <Location_ID>62</Location_ID> <Artist_ID>212</Artist_ID> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153156", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: Is there a way to determine when a .NET thread terminates? I'm trying to find out whether there is a way to reliably determine when a managed thread is about to terminate. I'm using a third-party library that includes support for PDF documents and the problem is that in order to use the PDF functionality, I have to...
{ "language": "en", "url": "https://stackoverflow.com/questions/153166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: RoR: nested namespace routes, undefined method error I am working on the admin section of a new rails app and i'm trying to setup some routes to do things "properly". I have the following controller: class Admin::BlogsController < ApplicationController def index @blogs = Blog.find(:all) end def show @...
{ "language": "en", "url": "https://stackoverflow.com/questions/153183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Microsoft Search Server 2008 Express Edition from Classic ASP or ASP.NET We have a new installation of Microsoft Search Server 2008 Express Edition on one server and it's nicely indexing our intranet (on another server) which we can search from the provided search form on the search server. I'd like to customise the...
{ "language": "en", "url": "https://stackoverflow.com/questions/153193", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Are there any good free .Net network libraries? (FTP, SFTP, SSH, etc.) I'm a bit surprised I haven't found a good open source library for performing common network tasks. There are a few very good commercial libraries, but they're too expensive to use on an open source project. Anyone know of any? A: edtFTPNet is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153220", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "40" }
Q: Running a Python web server as a service in Windows I have a small web server application I've written in Python that goes and gets some data from a database system and returns it to the user as XML. That part works fine - I can run the Python web server application from the command line and I can have clients conne...
{ "language": "en", "url": "https://stackoverflow.com/questions/153221", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: MVP pattern - Passive View and exposing complex types through IView (Asp.Net, Web Forms) I've recently switch to MVP pattern with a Passive View approach. I feel it very comfortable to work with when the view interface exposes only basic clr types, such as string mapped to TextBoxes, IDictionary mapped to DropDownL...
{ "language": "en", "url": "https://stackoverflow.com/questions/153222", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How do you organize your Unit Tests in TDD? I do TDD, and I've been fairly loose in organizing my unit tests. I tend to start with a file representing the next story or chunk of functionality and write all the unit-tests to make that work. Of course, if I'm introducing a new class, I usually make a separate unit-te...
{ "language": "en", "url": "https://stackoverflow.com/questions/153223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "26" }
Q: TSVNCache.exe is heating up my Mac I run windows in a VMWare partition. At times, TSVNCache.exe process starts doing some weird things (Seems like its doing an endless loop of I/O operations). Suddenly my whole VMWare session starts slowing down. My mac heats up badly. In the sense its freaking hot. My question is w...
{ "language": "en", "url": "https://stackoverflow.com/questions/153226", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Extension functions and 'help' When I call help(Mod.Cls.f) (Mod is a C extension module), I get the output Help on method_descriptor: f(...) doc_string What do I need to do so that the help output is of the form Help on method f in module Mod: f(x, y, z) doc_string like it is for random.Random.shuffle, fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/153227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How deep are your unit tests? The thing I've found about TDD is that its takes time to get your tests set up and being naturally lazy I always want to write as little code as possible. The first thing I seem do is test my constructor has set all the properties but is this overkill? My question is to what level of gr...
{ "language": "en", "url": "https://stackoverflow.com/questions/153234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "88" }
Q: Can someone give me a high overview of how lucene.net works? I have an MS SQL database and have a varchar field that I would like to do queries like where name like '%searchTerm%'. But right now it is too slow, even with SQL enterprise's full text indexing. Can someone explain how Lucene .Net might help my situa...
{ "language": "en", "url": "https://stackoverflow.com/questions/153242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: Programmatically creating Excel 2007 Sheets I'm trying to create Excel 2007 Documents programmatically. Now, there are two ways I've found: * *Manually creating the XML, as outlined in this post *Using a Third Party Library like ExcelPackage. Currently, I use ExcelPackage, which has some really serious drawbac...
{ "language": "en", "url": "https://stackoverflow.com/questions/153248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "14" }
Q: Random MoveFileEx failures on Vista I noticed that writing to a file, closing it and moving it to destination place randomly fails on Vista. Specifically, MoveFileEx() would return ERROR_ACCESS_DENIED for no apparent reason. This happens on Vista SP1 at least (32 bit). Does not happen on XP SP3. Found this thread o...
{ "language": "en", "url": "https://stackoverflow.com/questions/153257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: Manage Scrum Software What software do you use to manage Scrum software development ? We've tried Tackle and VersionOne (both free) so far and they are good except for the fact that it's difficult to track work in progress. For example, if I have a task that I estimate will take me 8 hours to complete, I've done ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "23" }
Q: Problem with NTFRS - Missing Sysvol and Netlogon on a 2003 Server This is a problem that is affecting me. Although this description wasn´t written by me (seen at www.experts-exchange.com (1), one of the kind of sites stackoverflow was created because of) it applies 95% to the problem I´m having. Next time I won´t fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/153263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to cast a number to a byte? In C and C++ you can tell the compiler that a number is a 'long' by putting an 'l' at the end of the number. e.g long x = 0l; How can I tell the C# compiler that a number is a byte? A: According to the C# language specification there is no way to specify a byte literal. You'll have ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: What to learn first? I went to school for programming years ago and when I got out I found a job in system administration and that is the direction my career took. I'd like to get back into development of some sort and have been 'playing' with C# and ASP.NET, but I've been hearing lots of buzz for other 'new' langua...
{ "language": "en", "url": "https://stackoverflow.com/questions/153286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: File name corruption on file download (IE) I have implemented a simple file upload-download mechanism. When a user clicks a file name, the file is downloaded with these HTTP headers: HTTP/1.1 200 OK Date: Tue, 30 Sep 2008 14:00:39 GMT Server: Microsoft-IIS/6.0 Content-Disposition: attachment; filename=filename.doc; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Has anyone used lucene.net with Linq-to-Entities? If anyone has done this, please let me know. I don't know anything about lucene.net. I have never used it, but I heard about it. I was wondering how something like that would integrate with the Linq entity framework? A: Check out Linq to Lucene project.
{ "language": "en", "url": "https://stackoverflow.com/questions/153290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to decouple a middle tier and a dataset to allow for unit testing? I have a question at SO asking how to wire a middle tier to a DataSet. I put up an answer showing what I had come up with, but I am not happy with the tight coupling. I have just started to get into testing and find it a good goal for my code. H...
{ "language": "en", "url": "https://stackoverflow.com/questions/153291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Animations with full alpha in Qt? Is there an animation format supported in Qt (using v4.4) that will support a full alpha channel? GIF only has one-bit transparency, and I don't think Qt supports APNG. Update: MNG seems to be supported, but that's even less popular than APNG! Maybe SVG is my best bet. A: Qt supp...
{ "language": "en", "url": "https://stackoverflow.com/questions/153295", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: HTML authoring in an editorial environment Having recently produced an HTML/CSS/Javascript based report from various word and excel files sent to me I'm trying to work out how to do this better in future, ideally enabling non-technical users in the office to do many of the tasks currently handed to me. There are a r...
{ "language": "en", "url": "https://stackoverflow.com/questions/153298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: What are some good toolsets for graphing/charting in a web application? What are some good toolsets for graphing/charting in a web application? Preferably open-source/freeware, and particularly looking at developing with ASP.NET MVC or Silverlight 2.0. A: Google Charts? A: Dundas Chart is one of the best out ther...
{ "language": "en", "url": "https://stackoverflow.com/questions/153303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: DSL Tools: Create a new Diagram in custom code I am using DSL Tools for Visual Studio 2005. I have a DSL where at a certain point I would like to create a new Diagram using custom code. So far, I was able to create a new Diagram by overwriting the current, already opened diagram. Code follows: FEGeneratorDiagram dia...
{ "language": "en", "url": "https://stackoverflow.com/questions/153309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What are the potential problems with this WebService security scheme? We have a service that handles authorization based on a User Name and Password. Instead of making the username and password part of the call, we place it in the SOAP header. In a typical scenario, a Web Service calls the Authorization service at...
{ "language": "en", "url": "https://stackoverflow.com/questions/153329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: JPA annotations and Interfaces I have a class Animal and an interface it inherits from IAnimal. @MappedSuperclass public class Animal implements Serializable, IAnimal{...}. @Entity public class Jaguar extends Animal{...} My first question is, do I need to annotate the interface? I asked this because I am getting t...
{ "language": "en", "url": "https://stackoverflow.com/questions/153344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: C++ SQL Database program I have the following code that I wrote but it the SQLBindCol does not seem to work correctly (of course I could have screwed up the whole program too!.) The connection works, it creates the table in the DB, addes the record fine and they all look good in SQL Enterprise Manager. So what I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153354", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Is anyone using Microsoft Software Licensing and Protection Services (SLP) in production? Microsoft has come out with this fairly new technology that I am considering using for a .NET 3.5 application. I am curious, is anyone using this technology already? I am worried that the use of the secure virtual machine wil...
{ "language": "en", "url": "https://stackoverflow.com/questions/153368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: NameSpaceBinding and wsadmin I am trying to create a StringNameSpaceBinding using the wsadmin tool of Websphere 6.1 Here are the steps i take set cell [$AdminConfig getid /Cell:cell/] $AdminConfig create StringNameSpaceBinding $cell { {name bindname} {nameInNameSpace Bindings/string} {stringToBind "This is the Stri...
{ "language": "en", "url": "https://stackoverflow.com/questions/153372", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Fixed Statement in C# We have similar code to the following in one of our projects. Can anyone explain (in simple English) why the fixed statement is needed here? class TestClass { int iMyVariable; static void Main() { TestClass oTestClass = new TestClass(); unsafe { f...
{ "language": "en", "url": "https://stackoverflow.com/questions/153376", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "12" }
Q: Javascript String concatenation faster than this example? I have to concatenate a bunch of Strings in Javascript and am searching for the fastest way to do so. Let's assume that the Javascript has to create a large XML-"file" that, naturally, consists of many small Strings. So I came up with: var sbuffer = []; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153381", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: How to solve Delphi's [Pascal Fatal Error] F2084 Internal Error: LA33? I'm really sick of this problem. Google searches always seem to suggest "delete all bpls for the package", "delete all dcus". Sometimes this just-does-not-work. Hopefully I can get some other ideas here. I have a package written in-house, which h...
{ "language": "en", "url": "https://stackoverflow.com/questions/153388", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "18" }
Q: tomcat session replication without multicast i am planning to use 2 dedicated root servers rented at a hosting provider. those machines will run tomcat 6 in a cluster. if i will add additional machines later on - it is unlikely that they will be accessible with multicast, because they will be located in different su...
{ "language": "en", "url": "https://stackoverflow.com/questions/153392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: OO vs. Layered; balancing "OO purity" with getting things done I believe in OO, but not to the point where inappropriate designs/implementations should be used just to be "OO Compliant". So, how to deal with the Serlvet/EJB/DataContainer layered architecture: * *Servlets receive requests and call a "business laye...
{ "language": "en", "url": "https://stackoverflow.com/questions/153394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Echo2: How to create a centered Pane? I'm new to the Echo 2 framework. I think it should be simple, but I found no way to center the generated content horizontally and vertically. Is there any possibility to get a centered ContentPane (or something similar) with a fixed width and height? thx, André A: Found the sol...
{ "language": "en", "url": "https://stackoverflow.com/questions/153396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do I make a JavaScript call to a WCF service hosted on a different domain? We are designing a web application using ASP.NET and AJAX and we want to host our WCF Service Layer on a different website and make JavaScript calls to the Service Layer from our client pages. We understand that the browser will not allo...
{ "language": "en", "url": "https://stackoverflow.com/questions/153406", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: What is the best way to Update 'TranslatePosition' from Silverlight beta 2 to RC? I am upgrading a silverlight beta 2 app to RC0 and have a function that translates a point from a child element to it's parent. The purpose of the function is to ensure that an element appears exactly on top of the child even though t...
{ "language": "en", "url": "https://stackoverflow.com/questions/153407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I get an XElement's .InnerText value in Linq to XML? I'm trying to extract the polygons from placemarks in a KML file. So far so good: Imports <xmlns:g='http://earth.google.com/kml/2.0'> Imports System.Xml.Linq Partial Class Test_ImportPolygons Inherits System.Web.UI.Page Protected Sub Page_Load(By...
{ "language": "en", "url": "https://stackoverflow.com/questions/153413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Tool to visualize code flow in Java? I'm inspired by the C/C++ question for a code flow visualization tool. Is there such a thing for Java servlets or applications? A: http://code.google.com/p/jtracert/ was discontinued. The link for new project is: https://github.com/bedrin/jsonde A: If found that doxygen works f...
{ "language": "en", "url": "https://stackoverflow.com/questions/153414", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "36" }
Q: Encrypt plain text inside EXE / RAM :: HxD editor HxD (hex editor) allows to search/view/edit RAM. How can I protect a EXE against such editor? Data is encrypted inside INI/registry/DB, but is decoded at RAM. What is the solution? At runtime decode, use and recode data inside RAM ASAP? A: You can use an exe protec...
{ "language": "en", "url": "https://stackoverflow.com/questions/153416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it feasible to create a REST client with Flex? I'm starting a project using a Restful architecture implemented in Java (using the new JAX-RS standard) We are planning to develop the GUI with a Flex application. I have already found some problems with this implementation using the HTTPService component (the respon...
{ "language": "en", "url": "https://stackoverflow.com/questions/153420", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "32" }
Q: Is there a JUnit TestRunner for running groups of tests? I am currently using JUnit 4 and have a need to divide my tests into groups that can be run selectively in any combination. I know TestNG has a feature to annotate tests to assign them to groups, but I can't migrate to TestNG right now. It seems this could eas...
{ "language": "en", "url": "https://stackoverflow.com/questions/153427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "14" }
Q: Install a chain of embedded MSI packages each using an embedded UI - display common progress bar I'm using Windows Installer 4.5 new features and WiX to generate MSI packages. I have created an MSI chain installation in order to install a collection of other MSI packages as a transaction. Each package is using the n...
{ "language": "en", "url": "https://stackoverflow.com/questions/153431", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Retrieving the original error number from a COM method called via reflection I have a VB6 COM component which I need to call from my .Net method. I use reflection to create an instance of the COM object and activate it in the following manner: f_oType = Type.GetTypeFromProgID(MyProgId); f_oInstance = Activator.Creat...
{ "language": "en", "url": "https://stackoverflow.com/questions/153438", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jQuery index selectors I'm trying to place 4 of my image containers into a new pane, having a total of 16 images. The jQuery below is what I came up with to do it. The first pane comes out correctly with 4 images in it. But the second has 4 images, plus the 3rd pane. And the 3rd pane has 4 images plus the 4th pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/153439", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: How to track System Dependencies? Introduction In my current organisation, we have many desktop and web applications all feeding into each other at some point. When looking after older applications or creating new applications, it's proving very difficult to try and remember which system rely on other systems in ord...
{ "language": "en", "url": "https://stackoverflow.com/questions/153445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "16" }
Q: How to check if System.Net.WebClient.DownloadData is downloading a binary file? I am trying to use WebClient to download a file from web using a WinForms application. However, I really only want to download HTML file. Any other type I will want to ignore. I checked the WebResponse.ContentType, but its value is alway...
{ "language": "en", "url": "https://stackoverflow.com/questions/153451", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "23" }
Q: Add to right click application menu in taskbar in .NET Most applications only have "Restore, Move, Size, Minimize, Maximize and Close", however MS SQL offers extra options "Help, Customize view". Along those lines, is it possible to add to the right click menu of an application in the task bar? Note: I'm not refer...
{ "language": "en", "url": "https://stackoverflow.com/questions/153460", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: How do I set HttpOnly on a session cookie in Rails 2.1? I notice that Rails 2.2 (currently edge) supports setting HttpOnly on the session cookie. Is there a way of setting it on a Rails 2.1 application without moving to edge/2.2? A: Well it isn't supported, as you note, but you can of course monkey-patch Rails to d...
{ "language": "en", "url": "https://stackoverflow.com/questions/153461", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What are the best Open Source tools for developing Flash applications? What are the best places to start learning? As far as tools go, I am aware of Haxe, MTASC, and swfmill. Can you offer any success or horror stories related to any of them? Are there any others that I should be investigating? With respect to lea...
{ "language": "en", "url": "https://stackoverflow.com/questions/153468", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: Keeping in sync with database The solution we developed uses a database (sqlserver 2005) for persistence purposes, and thus, all updated data is saved to the database, instead of sent to the program. I have a front-end (desktop) that currently keeps polling the database for updates that may happen anytime on some cr...
{ "language": "en", "url": "https://stackoverflow.com/questions/153473", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Is there a SQL Server profiler similar to Java/.Net profilers? I love the way I can profile a Java/.Net app to find performance bottlenecks or memory problems. For example, it's very easy to find a performance bottleneck looking at the call tree with execution times and invocation counts per method. In SQL Server, I...
{ "language": "en", "url": "https://stackoverflow.com/questions/153478", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Setting ISO-8859-1 encoding for a single Tapestry 4 page in application that is otherwise totally UTF-8 I have a Tapestry application that is serving its page as UTF-8. That is, server responses have header: Content-type: text/html;charset=UTF-8 Now within this application there is a single page that should be serv...
{ "language": "en", "url": "https://stackoverflow.com/questions/153482", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Automated Python to Java translation Is there a tool out there that can automatically convert Python to Java? Can Jython do this? A: It may not be an easy problem. Determining how to map classes defined in Python into types in Java will be a big challange because of differences in each of type binding time. (duck...
{ "language": "en", "url": "https://stackoverflow.com/questions/153491", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "34" }
Q: .Net CF Prevent Overzealous, Impatient Clicking (while screen is redrawing) .Net Compact Framework Scenario: User is on a screen. Device can't finds a printer and asks the user if they want to try again. If they click "No", the current screen is closed and they are returned to the parent menu screen. If they click t...
{ "language": "en", "url": "https://stackoverflow.com/questions/153496", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Calculate the position of an accelerating body after a certain time How do I calculate the position of an accelerating body (e.g. a car) after a certain time (e.g. 1 second)? For a moving body that it not accelerating, it is a linear relationship, so I presume for an accelerating body it involves a square somewhere....
{ "language": "en", "url": "https://stackoverflow.com/questions/153507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "21" }
Q: Code to logging ratio? What is the ideal code to logging ratio? I'm not used to writing logs as most of the applications I've developed have not had much logging. Recently though I've changed job, and I've noticed that you can't see the application code for the calls to log4net. I appreciate that this is useful but ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153524", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "49" }
Q: Setting the character encoding in form submit for Internet Explorer I have a page that contains a form. This page is served with content type text/html;charset=utf-8. I need to submit this form to server using ISO-8859-1 character encoding. Is this possible with Internet Explorer? Setting accept-charset attribute to...
{ "language": "en", "url": "https://stackoverflow.com/questions/153527", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "60" }
Q: Deactivating Weblogic Load Balancing Optimization for collocated objects Is there a way to deactivate the optimization for collocated objects that Weblogic uses by default for a specific EJB ? EDIT: Some context : We have a scheduler service that runs inside one node of the cluster. This is for historic reasons and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/153537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Flex/Flash Debugging in the Browser I'm having an issue with a Flash/Flex erroring in Firefox but not IE. I need to see the error that the Flash/Flex app is getting from the ASP.NET app. Is there any way to debug the response that Flash/Flex is getting? A: Install the Debug version of the FlashPlayer for Firefox....
{ "language": "en", "url": "https://stackoverflow.com/questions/153553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: What are some good profilers for native C++ on Windows? I'm looking for a profiler to use with native C++. It certainly does not have to be free, however cost does factor into the purchase decision. This is for commercial work so I can't use personal or academic licensed copies. The key features I'm looking for are:...
{ "language": "en", "url": "https://stackoverflow.com/questions/153559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "17" }
Q: Parser-generator that outputs C# given a BNF grammar? I'm looking for a tool that will be able to build a parser (in C#) if I give it a BNF grammar (eg. http://savage.net.au/SQL/sql-2003-2.bnf) Does such a generator exist? A: Also take a look at Irony: http://irony.codeplex.com/ seems very promising A: IronMeta is...
{ "language": "en", "url": "https://stackoverflow.com/questions/153572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }