maintenance

Keep a TFS source backup in Visual Source Safe. Possible?

We moved from Visual Source Safe to Team Foundation Server. Can I sync. TFS source control to Visual Source Safe? I would like to keep a backup of Team Foundation Server source control in Visual Source Safe. Just to have a backup server ready in case the Team Foundation Server rot out and we can quickly shift back to Visual Source Safe s...

Maintain Links on a website

Hi all I want to know how you control on your webpage your links which link to external sites. Sometimes it can be that an external site just vanishes and you don't know that such an event occurred. I am thinking about making an excel sheet which holds all links and it's places from the website. Then I go manually monthly over all link...

Visual Studio 2008 / C# : How to find dead code in a project?

How do I find dead code in a Visual Studio 2008 C# project? Like unused classes, unused variables or unused resources? ...

Activate site maintenance via RewriteCond -f check?

I thought about hitting a file via -f (i think it is) in a mod_rewrite RewriteCond, if the file exists, rewrite to maintenance page. I don't think the performance penalty should be too big, but maybe people had other experiences or objections on this idea? ...

SQL Server 2000 write problem

When I am trying to write in a table after running Database Maintenance plan (SQL Server 2000 SP4) I cannot write it and getting the exception as below. Could not complete cursor operation because the table schema changed after the cursor was declared. What is this error? How to solve this? Thanks. ...

Regular performance tuning and maintenance

How often do you conduct regular maintenance such as stress test your application and/or tune your database indexes for your applications? E.G., Do you tune (defrag, reorganise or rebuild) your database indexes once a week, every six months or only after large volumes of data have been input and do you stress test your application afte...

Maintenance Task Alert/Feedback

Our software is running a maintenance task on a server. After or during the task, an important alert/feedback need to be sent to the user. The issue often need to be resolved before the next day. The user rarely logs into the server because he just assumes it's working correctly. The current solution is to send the user an email contai...

Possible to condense primary key/serial?

Hello, I have a database where everything is linked with foreign keys, so the Postgres knows exactly how the database is layed out.. Well, Lets say I have Table1 and Table2. Table1 has 3 fields. RID, table2_rid,data So table1.table2_rid references table2.RID and this is expressed with a foreign key. In both the RID field is the prima...

Put all webapps in the server offline

Sometimes we need to do maintenance in the web server. In the period of time that this maintenance occurs, I want that a user-friendly page be displayed to anyone that tries to access our apps. I know about the app_offline.htm file. But using this "trick" I would need to put a file per web application in the server, right? We use IIS ...

Graceful maintenance of web applications...

Yesterday's Stack Overflow downtime got me thinking about this a bit... I live in Australia (though this is probably true for most people in a non-US timezone) and am constantly greeted with "... is down for maintenance" right in the middle of my work day. In fact, in the last week we've had Google Wave, SO and Campfire all take turns ...

Managing highly repetitive code and documentation in Java

Highly repetitive code is generally a bad thing, and there are design patterns that can help minimize this. However, sometimes it's simply inevitable due to the constraints of the language itself. Take the following example from java.util.Arrays: /** * Assigns the specified long value to each element of the specified * range of the sp...

How to automatically display a notice page when the main web server doesn't respond anymore ?

Is there a way to display automatically an HTML "maintenance notice" page when the main web server is down or doesn't respond anymore on the 80 port ? I guess it's an app that should do the job... Note : the "main web server" is not IIS. ...

Website doesn't work during Uploading of crucial files

HI guys - I have a problem with maintenance of my php based website. My website is built on the Zend Framework. When I wish to upload a new copy or version online - during the time of upload especially when crucial files like models and controllers ar ebeing uploaded and rewritten - the site won't run understandably. Is there a way to u...

Do you have health checks in your web app or web site?

I have built PHP based "health check" scripts for several projects in the past, but they were always custom-made for the occasion and not written for abstraction as an independent product. I would like to know whether such a solution exists. What I meam by "health check" is a protected web page that functions much like a suite of unit t...

Should I update an application when a used framework release a new version?

I have an application that use several libraries and frameworks, should I update my application to use the latest version of those frameworks when a new stable version is available? For example, migrate from python 2.x to python 3.x, or from spring 2.5 to spring 3.0, but the question es very general, not language specific. If I keep th...

How do I store in subversion my customizations to a public open source project?

Hi, I'm working on customizing a couple of open source projects in ways that are very much personalized -- i.e., not appropriate to send the patches back to the maintainers for the public. One of them is stored in CVS, one in SVN. I use SVN for my own work. The CVS project is fine. I check the tree in to my svn repository, including ...

Listing each branch and its last revision's date in git

I need to delete old and unmaintained branches from our remote repo. I'm trying to find a way with which to list the remote branches by their last modified date, and I can't. Does someone know of an easy way to list remote branches this way? ...

Site in maintenance. How to redirect visitors?

My PHP site in maintenance. How to redirect visitors to a "site in maintenance" single page? I heard something about app_offline.htm for ASP.NET. Is there something similar for PHP? I want that every page from "mysite.com" be redirected to "maintenance.php"; I don't want to do the minimum modification in the existing site pages, idea...

Symfony - Custom under maintenance page

Hi there! I'm trying to add a custom page to my web application for the times I'm performing maintenance. I'm trying to test the referred page on my development environment but always appear the symfony page. I had already created a module with a proper action and template and also configured those on the settings.yml file. Can anyone ...

Website redirect during maintenece but still with testing acces

I have an online store that i have recently re-written most of and would like to upload it to my server. While the maintenance is taking place, i would like to redirect all visitors to an "under construction" page. (easily done with php or apache htacess etc...) The issue is that I would like to test everything when i upload it so i sti...