maintenance

What infuriates you the most when maintaining others' code?

Maybe infuriate is not the politically correct term, but what kind of code would qualify for a genuine face palm? Addendum: For me, it's the misuse of technology. The group of people who develop .NET like classic asp apps are very likely the same group of people who use recursion for simple iteration, standard array where linked list is...

Is there a perferred method to update apps that use an EJB?

I have a java app that works with an EJB, however if: The EJB gets updated, the app is broken. The app server is updated, the app is broken. Without human involvement, is there a preferred method to update the client jars for the app server and bean? If there preferred method depends on the app server, then assume jboss. ...

Patch vs. Hotfix vs. Maintenance Release vs. Service Pack vs....

When you are somewhere between version 1 and version 2, what do you do to maintain your software? The terms Patch, Hotfix, Maintenance Release, Service Pack, and others are all blurry from my point of view, with different definitions depending on who you talk to. What do you call your incremental maintenance efforts between releases? ...

Well known projects around 1 mil. lines of code?

Hi everyone, I understand that this question is very specific to my situation and wouldn't appear to benefit the community much, but it might be interesting for some to see if we get some good answers. Does anyone know of any projects that have lines of code approximately around 1 million? I am putting something together for managemen...

What do you suspect when ASP.NET ignores a CustomValidator?

This is as much a code maintenance issue as a code issue, but I have a WebForm that no longer checks it CustomValidator. It worked when I last touched the code over a year ago, but it no longer works now that the user has requested some changes ... The WebForm contains a data-bound drop down with a default " - All -" item with String.Em...

Recommended techniques for field updating embedded Linux safely

Embedded Linux based devices often require a mechanism to update applications and system files. For example, a (non-networked) lab instrument with a USB port can get software updates from a USB stick. It would be a simple matter to run a script to copy files into place on the device's internal flash memory. However, there is the danger...

Identifying Unused Objects In Microsoft SQL Server 2005

It's a trivial task to find out if an object is referenced by something else or not. What I'd like to do is identify whether or not it's actually being used. My solution originally involved a combination of a table that held a list of objects in the database and an hourly job. The job did two things. First, it looked for new objects t...

What is your SQL Server Backup/Maintenance Plan?

As a followup to this question I'm wondering what your SQL Server backup/maintenance plan is, and how I can make mine better. Currently I'm running two plain-jane maintenance plans from the plan wizard. The first runs nightly and does just about everything ... Full database and transaction log backup integrity check, rebuild index, r...

How much money percentage should I ask for a project maintenance?

Speaking about a project with a self constructed CMS and Web Site. Maintainable should be yearly and should include two fields. Technical Maintenance Tool update, Bug fixes, new modules implementation, design improvements, emergency plans against software and hardware failure. Content Maintenance (updating videos, text, banners, commu...

The Neglected Stakeholder a.k.a the System Administrator

Some time ago I came to realize that almost every customer project that I have been working on so far has neglected an important group of stakeholders: the system administrators. These silent heroes are usually only involved at the end of a project and are left with an executable black box of bits that they have to install, support, and...

When should database indexes be rebuilt?

I was reading about refactoring a large slow SQL Query over here, and the current highest response is from Mitch Wheat, who wants to make sure the query uses indexes for the major selects, and mentions: First thing I would do is check to make sure there is an active index maintenance job being run periodically. If not, get all existi...

Support for Web application - Web Site

Hello everyone this is my first question here in stackoverflow. I am creating an e-shop in ASP.NET + C# for a client. First of all I would like to ask if anyone knows how good Crystal Tech web hosting is (not the dedicated servers package as that is somewhat expensive); Second I want to ask what sort of support - maintenance - guarante...

Will a "Site Down for Maintenance" page break SEO?

In a situation when you are doing a major code release and/or database schema change to a production environment is it detrimental to SEO to put up a "Gone Fishin'" page while the upgrade happening? Assume that using the old code/database schema during the upgrade could put the post-upgrade DB into an undesirable/unknown state. ...

What to do with unused, useful, code?

You when you spend all day getting a function to work just right, but then an architecture change causes the function to no longer be used? But you know that the code is useful enough that if the architecture ever sways back, that function will be again useful? It seems wrong to delete the function before you do the check in but then ag...

Inherited a PHP nightmare, where to start?

I've inherited a PHP project that's turning out to be a nightmare. Here are the salient points: All the original developers have left The code has no version control All development and testing was done on the live server by renaming and editing the PHP files. There are multiple copies of each file index.php, index2.php, index3.php etc...

Is there a way to avoid spaghetti code over the years?

I've had several programming jobs. Each one with 20-50 developers, project going on for 3-5 years. Every time it's the same. Some programmers are bright, some are average. Everyone has their CS degree, everyone read design patterns. Intentions are good, people are trying hard to write good code but still after a couple of years the cod...

Oldest programs you still have to maintain?

I'm quite a aware of the "subjectiveness" of this question. But I just wonder how you got along with "old" or older code. The oldest code I still have and understand was my theme for my diploma now at least 15 or so years ago. Some other code I've had to maintain and extend is around 12 years old. The first one was written in Eiffel; th...

What is the best way to determine which source files are no longer needed?

I am now responsible for a Rails application that was built in a very quick-and-dirty fashion. It has many view files (html templates) that are not used. It also has many css files that are not used. What is the best way to determine which files are no longer needed so they can be deleted? I'm looking for a generic solution and not a R...

How do you familiarize with a codebase that has no documentation?

I don't know, I've been told that the previous developers did fine in picking up and heading straight into coding with no major problem. I wonder if I am doing it wrong by requesting my manager for some brief meetings with some senior programmers here. Is it better to be cautious and finish this time sensitive tracker the long way, or ru...

Does using the Specification Pattern truly reduce complexity in your code?

From my reading, it appears that the Specification Pattern can greatly reduce the reduce the number of methods needed to filter data. What benefits have you seen using the Specification Pattern? Were there unforeseen benefits that you noticed. conversely, what pitfalls did you encounter? ...