We are running MySQL on a Windows 2003 Server Enterpise Edition box. MySQL is about the only program running on the box. We have approx. 8 slaves replicated to it, but my understanding is that having multiple slaves connecting to the same master does not significantly slow down performance, if at all. The master server has 16G RAM, 10...
We are starting to use Mercurial for source control. We have configured the HGRC configuration file to do an auto update after we push to the "central" repository.
With some PCs we get this error msg:
warning: changegroup hook exited with status -1
HGRC looks like this:
[ui]
username=ADMIN
verbose=true
[hooks]
changegroup = hg upda...
I want to simulate the behavior of 'erl -sname example -hidden' but dynamically. How can I drop a node out of visibility in a cluster?
See the comments by @mwt at @Yasir Arsanukaev for additional clarification of what I'm trying to do.
...
I want to build a ApplicationSetting for my application. The ApplicationSetting can be stored in a properties file or in a database table. The settings are stored in key-value pairs. E.g.
ftp.host = blade
ftp.username = dummy
ftp.pass = pass
content.row_pagination = 20
content.title = How to train your dragon.
I have designed it as fo...
I have a script/program I am working on that requires a configuration file (I am using ConfigParser). On linux, I will default to store these variables in ~/.myscript using the os.getenv('HOME') function.
With Windows, I know I can use os.getenv('USERPROFILE') to find the User's "home" directory, however, is it a good idea to save a ...
I have copied my project folder from my live server to my local host and edited the config file as per localhost, but still i am displayed with the "Internal Server Error:500"
The server encountered an internal
error or misconfiguration and was
unable to complete your request.
Please contact the server
administrator, admin...
I know there's some kind of assembly probing process. Is there a similar process for looking for config files? If there is, what exact process is it? How could I customize it?
Many thanks.
...
I'm trying to add NGram token filter (from Lucene contrib) into my Compass configuration. Following Compass documentation i'm tries with:
<searchEngine>
<analyzer name="ngram" type="Simple" filters="ngram-filter"/>
<analyzerFilter name="ngram-filter" type="org.apache.lucene.analysis.ngram.NGramTokenFilter">
</analyzerFilte...
Configuring Eclipse to look exactly how you want is a tough job I've found, therefore I'm not going to attempt to do this myself.
I'd like to 'zoom out' of the Package Explorer side bar? You see, I like only having my code on the screen with a small section for the files in the project - however I can never see the full path of the file...
Using CakePHP 1.3, I have the following layout:
/srv/www/_cakephp13/
/app/
/cake/
/plugins/
/vendors/
etc...
/srv/www/htdocs/
/cake_app/
/other-dir/
... where htdocs is the public directory, and I have moved webroot of my app to be cake_app above... Which appears to be almost working. (After customizing...
I want to know if my connection string is encrypted or not. I don't want to encrypt it again and again. This is only an issue in development stage. Any way to check the status of the connection string in App.config?
...
I often use this design in my code to maintain configurable values. Consider this code:
public enum Options {
REGEX_STRING("Some Regex"),
REGEX_PATTERN(Pattern.compile(REGEX_STRING.getString()), false),
THREAD_COUNT(2),
OPTIONS_PATH("options.config", false),
DEBUG(true),
ALWAYS_SAVE_OPTIONS(true),
THREAD_WAI...
Hi All,
I installed Visual Studio 2008 Professional in my machine and It had installed SQL Server Express 2005 database in machine, and I use it very fine! I installed SQL Managment Studio and works great.
So, in this week I Installed Visual Studio 2010 Pro in machine and the setup installed the SQL Server express 2008 and it overwrite...
So I change the -vm argument for eclipse.exe using the eclipse.ini settings file, and now there's an command prompt console (even if I remove the -vm value).
Does anyone know how to turn off the console so I only have the eclipse GUI and not the console window? I'm running MS Windows 7.
EDIT: Solved thanks to Kennet, the problem was I...
I have a problem with WCF deserialization where the client hangs on the response for more than a minute.
I'd like to try to swap different deserializers and see if it affects the behavior.
Can I swap in/out different serializers (are there any others?) from configuration, and if so can I do that with any binding, or is that out of cont...
i am having trouble configuring mysql database to connect to the right file. I do not know which datafile is being used (due to some pretty tricky EC2 related moving around),
My question is: from the command line, how do i see what datafile is being used by the mysql database?
...
Hello,
I have developed my .net web app on XP using IIS6.
It uses just plain old master pages, nothing fancy. No nested master page.
When I deployed it to the server, which is IIS7, suddenly any page that implements a master page, will not be rendered.
Gives a 404 error instead.
Any ideas, about confguration that I need to specify i...
Hi,
I'm wondering where is the ideal place to store custom permissions in my web applications.
For example I have the following permissions:
AdminPermission
ReadPermission
WritePermission
At the moment I store these in the static utilities class as the constant string type objects.
Thank you
...
Couple days ago I got following error from MySQL database:
Thread stack overrun: 68744 bytes used of a 196608 byte stack, and 128000 bytes needed. Use 'mysqld -O thread_stack=#' to specify a bigger stack.
All documentation that I found says, that:
The default is 64KB before MySQL 4.0.10 and 192KB thereafter. If the thread stack size ...
Hi,
I've been developing an ASP.NET site on an older machine running XP home. I recently got a new Win 7 PC and moved all my project files across. When I try and run the project, I get this error message:
"Failed to decrypt using provider 'MyRsaProtectedConfigurationProvider'. Error message from the provider: The RSA key container cou...