Hi everyone, I need advice.
I inherited a website that's been around a long time. The website gets a lot of organic traffic from Google. The business and website owner is upgrading the site to make the content more manageable. At the moment, a wordpress CMS powers half the site. Physical html pages make up the remainder of the site...
I'm trying to read Working Effectively with Legacy Code by Michael Feathers, but I'm having a very hard time with those Java/C++ code snippets.
Are there any good books that cover the same topic, but are written with Python in mind?
...
I'm building web-application using Django1.1 framework with imposed database schema and data (in fact - db already exists - Postgresql). I wrote models already, now I want to perform some unit-testing.
The problem: test runner destroys and reconstructs (using information from models) database after every test method, but that's undesira...
I'm using a legacy, unmanaged, resource only c++ dll in a new c# app. I've managed to load resources from the dll using hardcoded resource numbers.
Is there any way to do this using the resource id's in C#?
The old C++ code is still being maintained, which means the resource ids/values may change. This may make the resource number...
I have an Android application that uses the well known Strategies for Legacy Applications. It is build with the Android SDK 2.0 with manifest settings minSdkVersion="3" (API 1.5) and targetSdkVersion="5" (2.0). Question1: Since maxSdkVersion is not specified, the application should be installable and compatable with newly released Andr...
We have a legacy ASP.NET webforms application that we're engaged in stabilising and removing technical debt from. Is it possible to take a hybrid approach - ie, can ASP.NET MVC coexist with webforms within the same web-project?
Are there any gotchas for that? If it is possible, I assume one just has to initialise the routes table, reg...
Recently I inherited a major piece of software. The original model of the software was lost over generations of programmers working over it (though even the "original model" looks a lot broken). There is no unit test in the code. Fortunately, I do not have a requirement to be backward-compatible (oh that would be worse than hell!). I am ...
Hi,
After asking for help for managing dependencies on different versions of the same libraries in Java, it was suggested that I should take a look at OSGI implementations.
Being under a deadline pressure, I could really use some help that would save me from digging through endless OSGI docs.
I have a working app, which is going to use...
I am facing a problem.
Please explain if this is possible or not.
1)I created a Service Library (.Net 3.5)
2)Created a Windows Service (.Net 3.5), added ServiceHost and implemented my ServiceLibrary to work as a TCP Endpoint.
3)Next I created a Console Client (.Net 3.5) and tried to get data from my TCP Endpoint…(svcutil….proxy.cs ...
We are performing a database migration to SQL Server, and to support a legacy app we have defined views on the SQL Server table which present data as the legacy app expects.
However, we're now having trouble with INSTEAD OF INSERT triggers defined on those views, when the fields may have default values.
I'll try to give an example.
A ...
I'm changing some crufty old printing code to use the Visual Basic Print Dialog Control to pass printer information to a CrystalReport object. It works great except for one thing - the page selection box is consistently disabled no matter what flags I pass the object. Here is my code:
Public Enum PrintDialogFlags
NoFlag = 0
Di...
Is there any good library for reading / writing DBF files in java or any other language ?
...
We have a legacy/production database. It has been in continuous development and use backing a website that has evolved over 10 years. The database is accessed by multiple technologies - perl cgi, php and java webapps.
Lots of cruft has accumulated. I wish to undertake a major refactoring. I am sure some parts are completely legacy (the...
I have inherited some classic asp code and I need a JSON library that can be instantiated and run server-side for use with JavaScript-coded server-side asp.
How can I do this?
...
I have been trying to write a program to convert my father's old PTS. I assumed it was standard EBCDIC but when I convert to ASCII I get mostly junk. Any one have any knowledge about PTS?
...
Hi, guys.
Rather than trying to piece out the individual pains I'm dealing with, I want to give the 10 000 feet overview of it. I learn .NET as I go, and I suspect that there is something obvious that I'm missing here.
I'm sitting working overtime on a Sunday and I'd really appreciate if someone would toss in their five cents.
Here g...
I have an ASP.NET web application that leverages 5 DLLs. This web application and its DLLs are all very old, and occasionally we find some deprecated call or something that has been broken over time. Currently I am getting this error, which I believe is a .NET active directory call which no longer is present in the latest version.
Me...
I think my career has entered a vicious circle which I would like to exit: I am best at what I hate most. And because I am good at that, I always receive that kind of assignments, and I do them as expected or even better. Which makes me more of an expert and brings me more similar tasks.
My "expertise" is what (I think) every programme...
I'm currently working on a large and old C++ application that has had many developers before me. There is a lot of "dead code" in the project, classes and functions that aren't used by anyone anymore.
What tools are available for C++ to make a analysis of large code base to detect and refactor dead code? Note: I'm not talking about tes...
I have just stumbled upon the bash syntax:
foo=42
bar=$[foo+1] # evaluates an arithmetic expression
When I Googled for this, I found http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_04.html#sect_03_04_05:
3.4.6. Arithmetic expansion
Arithmetic expansion allows the evaluation of an arithmetic expression and the substitut...