I've recently started to play with Ruby on Rails which favours convention over configuration and relies on sensible defaults to tie various aspects of the application together.
I was thinking that it might be useful if this concept of sensible default configuration was used in general configation for various frameworks then it might sav...
I may be wrong, but all(?) examples I've seen with Apache Hadoop takes as input a file stored on the local file system (e.g. org.apache.hadoop.examples.Grep)
Is there a way to load and save the data on the Hadoop file system (HDFS)? For example I put a tab delimited file named 'stored.xls' on HDFS using hadoop-0.19.1/bin/hadoop dfs -put...
I found this question, but didn't see a good answer.
I'm interested specifically in configuration files, say in XML. Are there cross-language standard/tools for reading config files? XML itself is just a medium, but I want tools and libraries and standards, like those existing in .Net's ConfigurationSection class.
My main targets are ja...
Hello. How many people here use Flash Media Server?
See, we have two computers. One has Flash Media Server Development edition AND Flash Media Live Encoder. This computer shall be the "server."
The other computer simple has Flash Media Live Encoder. This computer shall be the "client."
Now, the when we stream with Flash Media Live Enc...
I have a simple WCF Web service. It's hosted on IIS under the default website in our production domain. (local address: 10.10.20.100)
By default this default website was setup for "All Unassigned" IP's on Port 80: however, I noticed that this caused the WCF Service to generate it's WSDL using the servers local DNS name. i.e. all the URI...
Let's say I have two machines, A and B, on the public internet (not an intranet).
Machine A has a web server that hosts unencrypted images of confidential documents.
Machine B hosts an ASP.net or Java servlet page for allowing manipulations of those images.
The URL of media on Machine A can be passed to the page on Machine B, which ca...
I have an abstract class, Foo, that has a non-abstract method called Bar. I have a class Baz that extends Foo and has its own unique constructor. By default, when Spring instantiates the Baz class upon startup, it will call the Baz constructor before passing values into parent class' method, Bar.
Is there a way to override this behav...
Hi,
I'm interested in the configuration/building of large C systems...
The Linux kernel uses the Kconfig language to describe the various configuration options (macros defined as CONFIG_X) and their dependencies... Basically, in each directory, there's a Kconfig file with the configuration options defined in this subsystem...
Is there...
I have an entity that has a state table associated with it. The state table is managed by another process, and contains a list of objects that my business logic must process. I would like to get a new snapshot of the state table each time I reload the entity. How can I ensure that no part of Hibernate or its support libraries ever cac...
I've got an app written in PHP, and there are a number of configurable variables. We're implementing a feature where the user can create sets of configurations and easily switch between them. How should I store my configs? as XML? in a .ini file? in multiple .ini files? in a db?
What's going to provide the most flexibility if we add fie...
right now I have the following architecture built with classic asp and visual basic 6
I have a COM+ component developed in VB6 which connects to the dabatase. I set the DB conf thru an .udl file configured with integrated security.
At the web server (IIS) I register the componente with the com+ manager, and configure it to be run under...
As in the title. I can't find any archetype catalogues for repo1.maven.org
For example, I want to use spring-ws-archetype. How do I set things up so I can see it in my options setting up a new Maven Project?
...
I know I can use htpasswd to create a password file for apache, but how do I configure it to use valid users or groups from the system?
...
I noticed this interesting behavior today while messing around with the configuration system. When I run this minimal program with no preexisting .config file (use ctrl-F5 to avoid the vshost)...
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
namespace PlayinWithConfi...
I created a App.config file in my WPF application:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appsettings>
<add key="xmlDataDirectory" value="c:\testdata"/>
</appsettings>
</configuration>
Then I try to read the value out with this:
string xmlDataDirectory = ConfigurationSettings.AppSettings.Get("xmlDataDirector...
We are developing a rather large project in C++, where many components require configuration parameters. We would like to use a central place to configure everything (like a registry), preferably with a nice and simple GUI (e.g. like Firefox's about:config) and a simple API.
I am pretty sure this that many applications have this kind o...
I am trying to change the bindingRedirect element at install time by using the XmlDocument class and modifying the value directly. Here is what my app.config looks like:
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Cu...
I have two machines each, to the best of my knowledge, running python 2.5 and BeautifulSoup 3.1.0.1.
I'm trying to scrape http://utahcritseries.com/RawResults.aspx, using:
from BeautifulSoup import BeautifulSoup
import urllib2
base_url = "http://www.utahcritseries.com/RawResults.aspx"
data=urllib2.urlopen(base_url)
soup=BeautifulSo...
On the development shop I work for, we have an internal MAVEN repository, to keep our libraries (proprietary & open-souce). A common problem that we face is that, sometimes, the open-source libraries in our local MAVEN repository gets obsolete. Is there an automatic way to keep all the open-source libraries I use in my MAVEN repository a...
I opened a project (created in D2007/08) in D2009 and it would compile but throw tons of exceptions when executed. Strange thing, but I know the project's a mess, so I want to go ahead and fix it. Well, not really fix all of it, just make it work would be enough.
When I ran it, I got some Debugger Exception Notification (the little mess...