text string | meta dict |
|---|---|
Q: C# Speech Recognition - Is this what the user said? I have need to write an application which uses a speech recognition engine -- either the built in vista one, or a third party one -- that can display a word or phrase, and recognise when the user reads it (or an approximation of it). I also need to be able to swit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: What is java.awt.Component.getName() and setName() used for? What is java.awt.Component.getName() used for? It always seems to be null in the applications I build with NetBeans. I'm thinking of storing some help text per component in it -- I don't want to use the tooltip, I have another panel where I'll show the h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Which CodePlex/Google code project to study in order to learn SharePoint best practices I am new to sharepoint development but have about 10 years of expirence in C++, VB6 and C#. It is my experience that a great way to learn a new language or coding style is to spend some time "dissecting" one of the open source pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: XSLT Transform Efficiency I am a support engineer and our company's product allows XSLT transforms to customize outputs.
I made a xsl transform for this purpose. It works well for source files of typical size (several 100k), but occasionally a really huge (10M) source file will come by. In such case, the output is n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Connecting Silverlight to the local computers COM port I have been searching high and low for a way to get my silverlight application talking to the COM port on my local computer. Has anybody out there been able to get Silverlight to successfully connect to the COM port of you local computer? If so can you point m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: UAC need for console application I have a console application that require to use some code that need administrator level. I have read that I need to add a Manifest file myprogram.exe.manifest that look like that :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: What is the best way to serialize SVG from the client DOM? I am working on interactive SVG/AJAX interfaces where elements are created and repositioned on-the-fly by users. I'd like to support the ability for users to export their current view to a PNG image and/or an SVG document. I'd really like the SVG document to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to find number of lines changed between CVS versions? I've spent most of the day making what are basically some housekeeping changes to the codebase of one of our projects (replacing all System.out.println() calls with log4j).
I'm kind of curious how many lines of code I've updated with this set of changes.
Is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Sort tag cloud alphabetically in acts_as_taggable_on_steroids I got the acts_as_taggable_on_steroids plugin to work fine. The tag_cloud method in my view create and formats the cloud properly however the tags are listed in order of 'count desc'.
How to I present my tags in the cloud in alphabetical order?
A: Here i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Send Email in .NET, with email saved in user's Sent Items I am attempting to send an email using VB.NET.
There are two requirements:
*
*The email be saved in their "Sent Items" folder in Outlook (their only email client).
*A PDF (generated on the fly) is attached to the email.
I am currently creating a new Mai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Convert DataRowCollection to DataRow[] What's the best performing way to convert a DataRowCollection instance to a DataRow[]?
A: This is kind of obvious, but:
DataRowCollection.CopyTo(DataRow[] array, Int32 offset) ?
It seems like no matter what, you're going to have to iterate the collection (CopyTo iterates the i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: How can you extract Hardware ID using Python? How do you extract an HD and Bios Unique ID, using python script?
A: Go Get Microsoft's Scriptomatic
Run it, Select the appropriate class from the dropdown (WIN32_BIOS)
It will produce the necessary Python/WMI code for you.
(It will also generate VBScript, Perl, and JSc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is injecting DAO into entities a bad thing? So like most new .NET developers you start of passing DataSets everywhere and although things do the job it doesn't seem right.
The next progression is usually to create entity objects that extend a DAL base class so you have i.e.
public class User : UserDAL
{
//User... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Visual Studio Solution Explorer Locks Up I have an issue with Visual Studio 2005 w/ TFS where, from time to time, the Solution Explorer will stop responding to interaction. Instead it does the beep, like I'm trying to click on a parent window with a modal dialog visible, but there isn't one. The only thing I've fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: ListBox vs. ListView - how to choose for data binding I'm considering either a ListBox or a ListView for a WPF application. It seems either supports data binding and item templates. My application has a simple list of items that I intend to be able to search/sort/filter based on user input. The data binding demo ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "328"
} |
Q: Convert Word doc to HTML programmatically in Java I need to convert a Word document into HTML file(s) in Java. The function will take input an word document and the output will be html file(s) based on the number of pages the word document has i.e. if the word document has 3 pages then there will be 3 html files gen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Java: Any way of squirreling an object about a Component somewhere in the Component? As a followup to my question about the java.awt.Component.getName() property, I'm wondering if there is a way of squirreling an arbitrary object somewhere in a Component, similar to the tag property in .NET? This would be really ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I move a CVS repository from one server to another and maintain history? I have a CVS repository on my local workstation. I've demonstrated to my employer that version control is a great idea. Alright! So now I want to migrate my CVS history from my local workstation onto a real server.
I have installed CVS o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What's the best way to copy and insert data from related tables into a new set of related tables with Linq I work on a web game , I use asp.net mvc, linqtosql.
I have 3 tables that store default game values: DefaultRegions, DefaultSubRegions and DefaultCountries. These 3 tables are related to each other thanks to pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Java RMI not closing socket after lease expiration My RMI enabled application seems to be leaking sockets. I have a Java application providing a service over RMI. It is using the Java SE 1.6 RMI implementation running on Linux. The problem I am observing is that if a client obtains a reference to my Remote object... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you create a simple Google Talk Client using the Twisted Words Python library? I am interested in making a Google Talk client using Python and would like to use the Twisted libraries Words module. I have looked at the examples, but they don't work with the current implementation of Google Talk.
Has anybody h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Solving an inequality for minimum value I'm working on a programming problem which boils down to a set of an equation and inequality:
x[0]*a[0] + x[1]*a[1] + ... x[n]*a[n] >= D
x[0]*b[0] + x[1]*b[1] + ... x[n]*b[n] = C
I want to solve for the values of X that will give the absolute minimum of C, given the input D ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Multicast Join on Linux and IGMPv3 We've run into a thorny problem. We are writing a c++ program that receives multicast UDP traffic. We're in the process of moving our applications to a different network environment and our operations team has requested that we support IGMPv3 membership announcements from our app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Can I use regular expressions to find a method on a class in java? I know how to find a method in java using a fixed string,
someClass.getMethod("foobar", argTypes);
but is there a way to use a regular expression rather than a fixed string to find a method on a given class?
An example of the usage might be if I wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to automate JavaScript files compression with YUI Compressor? YUI Compressor does not accept wildcard parameters, so I cannot run it like this:
C:>java -jar yuicompressor.jar *.js
But I have over 500 files and would rather not have to create a batch file like this:
C:>java -jar yuicompressor.jar file1.js -o d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How to find thousands of company names? How can I find or generate thousands of company names for testing and demo purposes? (Address, phone number, and related information would be nice too.)
I've got a system I'm building which includes business contact information. Pretty common no doubt.
My test/demo databas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: How do I create blurred text in an iPhone view? I am building up a view with various text and image elements.
I want to display some text in the view with a blurry copy of the text behind it, but not just a text shadow.
How do I apply Gaussian blurred text onto a UIImage or layer?
A: Take a look at Apple's GLImageP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Best way to implement .lastChild using Prototype or jQuery Currently we are using prototype and jQuery as our js frameworks. Right now, jQuery is set to $j() to prevent conflicts from prototype.
In the past, we've used a lot of prototype's Element.down(), Element.next(), and Element.previous() to traverse the DOM. H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: What's a good resource for learning CGI programming in Python? I need to write a browser interface for an application running embedded on a single board computer (Gumstix Verdex for anyone who's interested), so I won't be able to use any web frameworks due to space and processor constraints (and availability for the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: LabVIEW "driver" - getting started I have written a standalone app that controls a device through RS-232 port and some customers want to be able to use the device with LabVIEW. I have seen some threads describing where to start when learning to use LabVIEW, but I was wondering if anyone has experience with writing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Software protection by encryption For our software we use hardware dongles to protect the software. No protection is perfect but this commercial solution is affordable and keeps honest people honest (as mentioned in another thread). The advantage is the 128 bit key that is stored 'unreadable' on the hardware dongle.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Execute a program via SUBMIT, with GUI suppression I want to expose the functionality of an SAP program (transaction) as a BAPI.
I need to call a report and supply range filters such that the GUI is bypassed.
Does anyone have a working example of the SUBMIT ... WITH ... ABAP construct, or other suggestions on how to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: DopeWars codebase - Where are the main calculations taking place? Not really a c/c++ person so I was hoping someone could direct me to the files that contain the main calculations of the game?
I am specifically interested in how things are calculated when deciding if the person 'wins' or 'loses' (generally speaking)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I make a link in a master page, which includes dynamic information from the current page? I have a master page, with a help link in the top menu. This link should contain the a dynamic bookmark from the current page, so that the user scrolls to the help for the page he is currently seeing.
<a href="help.aspx#... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Round to increments of 2.5? I need to round a value up to the nearest multiple of 2.5.
For example:
6 --> 7.5
7.6 --> 10
etc.
This seems like the best way to do this?
Function RoundToIncrement(ByVal originalNumber As Decimal, ByVal increment As Decimal) As Decimal
Dim num = Math.Round(originalNumber / ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Best practice for a collection of generic classes Consider the following code:
abstract class SomeClassX<T>
{
// blah
}
class SomeClassY: SomeClassX<int>
{
// blah
}
class SomeClassZ: SomeClassX<long>
{
// blah
}
I want a collection of SomeClassX<T>'s, however, this isn't possible since SomeClassX<int> != S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I programmatically return the max of two integers without using any comparison operators and without using if, else, etc? How do I programmatically return the maximum of two integers without using any comparison operators and without using if, else, etc?
A: http://www.graphics.stanford.edu/~seander/bithacks.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Is there a way to know, programatically, how much space an object is taking in memory? (.Net 2.0) I would like to be able to know, in run-time in my code, how much memory a certain object is taking (a Dataset in this case, but i'm looking for a "general" solution).
Is this possible through reflection?
This is for .N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does "Shift:=" mean in this VB6 code? I've run across the following line in a VB6 application.
mobjParentWrkBk.ExcelWorkBook.Application.Selection.Insert Shift:=xlToRight
Unfortunately Google and other search engines have not been very useful as they seem to omit the := part.
What would be a C# equivalent?
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is the preferred format to store date/times in a SQL Server database when PHP is your primary language? I am planning a PHP application that needs to store date/times in an MSSQL database. (For the curious, it is a calendar application.) What is the preferred format to store this information?
MSSQL has its own ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Suggestions to improve VB.NET URL shortener? Here is my function (updated):
Public Shared Function shortenUrl(ByVal URL As String) As String
Return shortenUrl(URL, 32)
End Function
Public Shared Function shortenUrl(ByVal URL As String, ByVal maxLength As Integer) As String
If URL.Length > maxLength Then
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I create a reusable "US State" type in an XML schema? I have an XML schema that includes multiple addresses:
<xs:element name="personal_address" maxOccurs="1">
<!-- address fields go here -->
</xs:element>
<xs:element name="business_address" maxOccurs="1">
<!-- address fields go here -->
</xs:element>
Wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: SQL Server Row Length I'm attempting to determine the row length in bytes of a table by executing the following stored procedure:
CREATE TABLE #tmp
(
[ID] int,
Column_name varchar(640),
Type varchar(640),
Computed varchar(640),
Length int,
Prec int,
Scale int,
Nullable varchar(640),
TrimTr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Select Box onClick - Rails I have a Rails application that in the erb code, I use a select box. What I would like to do is reload the page passing the sort parameter. My controller already handles it, but I don't know how to reload the page with the selected value from my select box. Here is my code:
<% @options = {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's the thread context for events in .Net using existing APIs? When using APIs handling asynchronous events in .Net I find myself unable to predict how the library will scale for large numbers of objects.
For example, using the Microsoft.Office.Interop.UccApi library, when I create an endpoint it gets events when... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I print a groovy Node with namespace preserved? When I use this code to output some XML I parsed (and modified) with XmlParser
XmlParser parser = new XmlParser()
def root = parser.parseText(feedUrl.toURL().text)
def writer = new StringWriter()
new XmlNodePrinter(new PrintWriter(writer)).print(root)
println wr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: JavaScript - extract folder names I'm fairly new to JavaScript.
Given a local machine's folder path (Windows), I was wondering how you can extract the names of all the possible folders in the current path, without the knowledge of how many folders there are or what they are called.
Thank you very much in advance.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Group by when joining the same table twice I'm writing a query to summarize some data. I have a flag in the table that is basically boolean, so I need some sums and counts based on one value of it, and then the same thing for the other value, like so:
select
location
,count(*)
,sum(duration)
from my.table
wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get the ASCII value of a character How do I get the ASCII value of a character as an int in Python?
A: To get the ASCII code of a character, you can use the ord() function.
Here is an example code:
value = input("Your value here: ")
list=[ord(ch) for ch in value]
print(list)
Output:
Your value here: qwerty
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1272"
} |
Q: Open file, read it, process, and write back - shortest method in Python I want to do some basic filtering on a file. Read it, do processing, write it back.
I'm not looking for "golfing", but want the simplest and most elegant method to achieve this. I came up with:
from __future__ import with_statement
filename = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Simple Search: Passing Form Variable to URI Using CodeIgniter I have a search form on each of my pages. If I use form helper, it defaults to $_POST. I'd like the search term to show up in the URI:
http://example.com/search/KEYWORD
I've been on Google for about an hour, but to no avail. I've only found articles on h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Parse Phone Number into component parts I need a well tested Regular Expression (.net style preferred), or some other simple bit of code that will parse a USA/CA phone number into component parts, so:
*
*3035551234122
*1-303-555-1234x122
*(303)555-1234-122
*1 (303) 555 -1234-122
etc...
all parse into:
*
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Would NTFS allocation blocks of 16KB or 32KB make compile time faster in comparison to the default 4KB? Would NTFS allocation blocks of 16KB or 32KB make compile time faster in comparison to the default 4KB?
A: I can't imagine that would make much of a difference - disk block size is pretty far removed from compile... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Question about an event perculiarity in a TabControl I have a little demonstration below of a peculiar problem.
using System;
using System.Windows.Forms;
namespace WindowsApplication1
{
public class TestForm : Form
{
private System.Windows.Forms.TabControl tabControl1;
private System.Windows... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Find where java class is loaded from Does anyone know how to programmaticly find out where the java classloader actually loads the class from?
I often work on large projects where the classpath gets very long and manual searching is not really an option. I recently had a problem where the classloader was loading ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "212"
} |
Q: JSTL, Beans, and method calls I'm working on a JSP where I need to call methods on object that come from a Bean. The previous version of the page does not use JSTL and it works properly. My new version has a set up like this:
<jsp:useBean id="pageBean" scope="request" type="com.epicentric.page.website.PageBean" />
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How to read an Open Office spreadsheet? How can I read an Open Office 3.0 spreadsheet (.ods) from Groovy? I'd like to select specific columns from a named worksheet. Ideally, it would be useful to add a 'where' clause, or other criteria clause.
A: I've never used it, but Open Office has a Java API, which of cours... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Audio watermarking open source projects Are you aware of any open source libraries/projects that offer audio watermarking capability?
A: check wikipedia: http://en.wikipedia.org/wiki/Steganography#Implementations
section 3 of this site site is on audio: http://www.binary-universe.net/
same author did a project on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Make a Perl-style regex interpreter behave like a basic or extended regex interpreter I am writing a tool to help students learn regular expressions. I will probably be writing it in Java.
The idea is this: the student types in a regular expression and the tool shows which parts of a text will get matched by the reg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bus or listeners/delegates in client-side Swing application? Building a client-side swing application what should be notified on a bus (application-wide message system, similar in concept to JMS but much simpler) and what should be notified using direct listeners?
When using a bus, I always have an unescapable feeli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to Dynamically add menu items to master page in ASP.NET 3.5 MVC app I want to dynamically add menuitems to my master page based on membership security login role. From what I've read RenderAction in the master page html could perhaps do this. Since I'm fumbling thru this I am not sure how it would look and how i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I pass model data beween a view state and action state in Spring Web Flow 2 In the Web Flow below I bind form data to a flow variable (lifeCycleForm) on a submit event in the view state. I have verified that the name, label and description properties are all populated as expected.
However, when the expression... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I get "Copy to Output Directory" to work with Unit Tests? When I build a unit test project before the tests are executed the test output is copied to a TestResults folder and then the tests are executed. The issue I'm having is that not all the files in the Debug/bin directory are copied to the TestResults ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "128"
} |
Q: Checking RAM Bays (Windows API) I know that it is possible to check how much physical RAM is installed using GetPhysicallyInstalledSystemMemory or how much ram the operating system can see using GlobalMemoryStatusEx. However, I am wondering if there is any way to check how much ram a user has installed by slot. Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Common sources of unterminated string literal I am trying to debug a JavaScript script that gets read in a Firefox extension and executed. I only can see errors via the Firebug console (my code is invisible to Firebug), and it's reporting a "unterminated string literal."
I checked the line and the lines around it a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "59"
} |
Q: Is it dumb to develop for LAMP on WAMP? After becoming somewhat estranged open source, and spending some years developing web applications in ASP.NET, I'm going to start doing quite a lot of PHP / MySQL development.
I've quite painlessly installed WampServer to get a development environment up and running on my Wind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Winforms Disposing IDisposable Does anyone have a good articles or tutorial on correctly using dispose and IDisposable. I am trying to explain this to some junior dev and wanted to get some extra material, examples, etc.
A: A good place to start is this MSDN article by Shawn Farkas http://msdn.microsoft.com/en-us/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Encoding trouble with HttpWebResponse Here is a snippet of the code :
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(request.RawUrl);
WebRequest.DefaultWebProxy = null;//Ensure that we will not loop by going again in the proxy
HttpWebResponse response = (HttpWebResponse)webRequest.GetResponse();
strin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: WPF throwing an exception parsing XAML that includes a Winforms User Control I have a WPF app that makes use of a Winforms User Control that I have created using C++/CLI. When my app goes to parse the XAML for my main window, it throws an exception. The information appears to be somewhat abbreviated, but it says:
A ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Should you standardize on a scripting language in a dev group? At work we write a small to moderate amount of scripts to aid us in normal development. We have some people that are more comfortable in python, some in perl, some in php, etc...
Sometimes I think it is best to let people work in a language they are mos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Unique identifier for an iPhone app For an iPhone app that submits images to a server I need somehow to tie all the images from a particular phone together. With every submit I'd like to send some unique phone id. Looked at
[[UIDevice mainDevice] uniqueIdentifier]
and
[[NSUserDefaults standardDefaults] string... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: array compiling from mysql help required This has been bugging me, I can't get my head around it. I will use the foodstuffs analogy to try and simplify my probelm.
1000 members of the public where asked to pick a variety from each of 13 categories of footstuff. These selections were then stored in a mysql database a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Reading RAW image files as GDI+ bitmaps Is there a good way to read RAW image files (especially Canon CR2 and Adobe DNG files) as GDI+ bitmaps that is reasonably fast?
I found an example running under WPF that would read an image using any installed image codec and then display it in an image control. And I modified... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Date time parsing that accepts 05/05/1999 and 5/5/1999, etc Is there a simple way to parse a date that may be in MM/DD/yyyy, or M/D/yyyy, or some combination? i.e. the zero is optional before a single digit day or month.
To do it manually, one could use:
String[] dateFields = dateString.split("/");
int month = Integ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Why does Columns.Insert not update the DisplayIndex in DataGridView (C#)? I am inserting a column in a DataGridView programmatically (i.e., not bound to any data tables/databases) as follows:
int lastIndex = m_DGV.Columns.Count - 1; // Count = 4 in this case
DataGridViewTextBoxColumn col = (DataGridViewTextBoxColum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I copy a directory recursively and filter filenames in Perl? How do I copy a directory including sub directories excluding files or directories that match a certain regex on a Windows system?
A: Another option is File::Xcopy. As the name says, it more-or-less emulates the windows xcopy command, including it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Credit Card Payment Solutions for Desktop Applications There are a whole raft of questions regarding payment processors for web applications but I haven't seen one yet for desktop applications. What are your experiences?
Perhaps to put this into a little context, the requirements:
*
*Should be customisable
*Shou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Can MSTest run a specific method each time it startsup? Question
Is there a way to have a method that will always run anytime that test assembly is run through MSTest?
Similar to how the [TestInitialize] and [ClassInitialize] attributes work, but for the entire assembly. I do not want to have to add code to every t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: ASP.NET MVC controller actions that return JSON or partial html I am trying to create controller actions which will return either JSON or partial html depending upon a parameter. What is the best way to get the result returned to an MVC page asynchronously?
A: Another nice way to deal with JSON data is using the JQ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "435"
} |
Q: Fortran Array to C array. Stupid macro tricks wanted I have this 'simplified' fortran code
real B(100, 200)
real A(100,200)
... initialize B array code.
do I = 1, 100
do J = 1, 200
A(J,I) = B(J,I)
end do
end do
One of the programming gurus warned me, that fortran accesses data efficiently in column order... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How smoothly does a website launch usually go for you? My coworkers and I were having a discussion about this yesterday. It seems that no matter how well we prepare and no matter how much we test and no matter what the client says immediately before the site becomes public, initial site launches almost always seem t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: how do I work around this error while copying SVN repository by svnsync? I am copying a repository by using svnsync and am receiving this error on the same revision every time.
Transmitting file data ...svnsync: REPORT of 'https://svn1.avlux.net/xxxxxx.net': Could not read response body: Secure connection truncated... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Question about skipping IDs in an identity column in MSSQL Say I have an MSSQL table with two columns: an int ID column that's the identity column and some other datetime or whatever column. Say the table has 10 records with IDs 1-10. Now I delete the record with ID = 5.
Are there any scenarios where another reco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Beanshell catch(ex): Exception or Throwable? What type of exception is caught by the beanshell catch(ex): Exception or Throwable?.
Example:
try {
.... } catch (ex) { }
A: That loosely typed catch will catch everything "Throwable." That will include Errors, Exceptions and their myriad children. You can ea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Latency in playing short sounds in Flash 9, Actionscript 3 I've got a few very short audio clips (less than a second long) to be played on various events (button hover, click, etc). However, there is usually a significant lag between the action and the actual playing of the sound. I have tried both embedding the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: OOP and DataTables for Rank Amateurs I'm a total amateur writing a small App to track to changes in folders. I imagine I'll be keeping information about the directories to watch in one datatable bound to a gridview, when the user clicks a button, the program will create FileSystemWatchers to keep an eye on the direc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: A form that spits out the input I can't for the life of me find a form that doesn't email the results that you submit.
I'm looking to find a form that I can have users enter simple data that i can then spit back out at them in different arrangements. If they submit First and Last, I'll spit out, amongst other things... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Reacting to click on ListItems in CheckboxList I would like to apply some logic to a page containing a CheckBoxList control when the user checks or unchecks individual checkbox items. Say, for instance to dynamically show or hide a related control.
I came up with a way using ASP.Net 2.0 callback mechanism (AJAX) wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apart from initial cost, are there any other benefits of using MySQL over MSQL server with .net? I've used both and I've found MySql to have several frustrating bugs, limited support for: IDE integration, profiling, integration services, reporting, and even lack of a decent manager. Total cost of ownership of MSSQL ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to select unique nodes I found this page describing the Muenchian method, but I think I'm applying it wrong.
Consider that this would return a set of ages:
/doc/class/person/descriptive[(@name='age')]/value
1..2..2..2..3..3..4..7
But I would like a nodeset only one node for each age.
1..2..3..4..7
Each of t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Does powershell have an equivalent to popen? I need to be able to launch a process and read the output into a variable. Then based on the return of the command I can choose to show the full output or just a selected subset.
So to be clear, I want to launch a text based process (psexec actually) and read the output ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is it possible to use MSBuild to build a .NET 1.1 VB project w/ Crystal Reports? I have a project with Crystal Reports files that doesn't seem to build correctly if I upgrade it to VS 2005 and .NET 2.0. I think the reason is that the new version of Crystal Reports is incompatible with the older report format. Sinc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Should I dynamically recreate a PDF, rather than store it in either the database or the filesystem? I need customers to be able to download PDFs of letters that have been sent to them.
I have read the threads about database versus filesystem storage of documents or images, and it does sound like the consensus is tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227727",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Refactor to n-tier I am a self taught vb6 programmer who uses DAO. Below is an example of a typical piece of code that I could churn out:
Sub cmdMultiplier_Click() 'Button on form, user interface '
dim Rec1 as recordset
dim strSQL as string
strSQL = "select * from tblCustomers where ID = " & CurrentCustomer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What type should I use for a 128-bit number in in .NET? I need to do some large integer math. Are there any classes or structs out there that represent a 128-bit integer and implement all of the usual operators?
BTW, I realize that decimal can be used to represent a 96-bit int.
A: BigInteger is now a standard part... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "80"
} |
Q: Is there an upper limit to z-index values in web browsers? I have a case where a 3rd party ad is bleeding through my modal window implementation. I'd like to up the z-index of the modal overlay as high as possible so the ad won't show on top of it. Is there a limit to z-index values? I'm sure if there is it varies b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: StringBuilder: how to get the final String? Someone told me that it's faster to concatenate strings with StringBuilder. I have changed my code but I do not see any Properties or Methods to get the final build string.
How can I get the string?
A: I would just like to throw out that is may not necessarily faster, it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "68"
} |
Q: Looking for 16-bit x86 compiler I am working on an embedded systems project and have run into an issue of the compiler being programatically embedded in the Paradigm C++ IDE. I would like to be able to automate building.
The processor is the AMD186ES. I am not working with the OS - just baremetal stuff.
I need to ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Java Web Application Sync Question Let's say I have a class in my web app called class "Foo". It has an initialise() method that is called when the bean is created using Spring. The initialise() method then tries to load an external service and assign it to a field. If the service could not be contacted, the fiel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Change version information in a built binary How does one go about changing the version information in a built binary?
Specifically I have a .exe which is built with VS6 but doesn't seem to include up any of the company information or version information strings. I'm not really even sure how they get in there in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/227783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |