Questions tagged [legacy]

A legacy system is an old application, technology, mainframe, method, etc., still having an influence on an organization.

A legacy system is an old application, technology, mainframe, method, etc. that may or may not remain in active use, while still having a certain influence on an organization.

On one hand, maintenance of legacy systems and their integration with new solutions can be time consuming, particularly when a vendor's support is no longer available. On the other hand, legacy systems tend to be well-understood and thoroughly tested in production environments over the years since their deployment.

811 questions
0
votes
1 answer

Is it wise to include a version number field in your structs?

A while ago I finished the highly recommended "Working Effectively with Legacy Code" by Michael Feathers. In a final confirmation of my increasing senility I am absolutely convinced seeing a code sample in that book where he defined a struct that…
lindelof
  • 34,556
  • 31
  • 99
  • 140
0
votes
1 answer

Should this SQL code be letting us log in with "username" and "password"?

We are trying to debug some legacy code. We have found that we are able to log into the system by using the password "password" for all users. We can also log in with the username "username" and the password "password" as well as being able to log…
Thomas Clayson
  • 29,657
  • 26
  • 147
  • 224
0
votes
3 answers

.DBF File Cannot Open in Shared Mode

I'm currently trying to debug an issue with a legacy system at my company. The original project was developed in the mid 90's, and everyone who knew the system has left the company. Currently we're seeing an error with one of the .DBF files, a…
Corey
  • 398
  • 1
  • 4
  • 18
-1
votes
1 answer

Legacy OpenGL - Blending textures on water reflections produced with stencil test

I'm forced to use legacy OpenGL and no shaders for an academic project (yes..). I'm rendering a 3D world with mountains and water. My goal (and problem) is to draw the skydome as reflection on the water. The skydome itself has 2 textures (night and…
Tides
  • 17
  • 4
-1
votes
1 answer

Python 3.6.15 (pyenv) cannot find package version while it's presented in list

I participate in a legacy project development, which uses python version 3.6.15. I installed this version with pyenv and created the virtual environment like that: python -m pip install virtualenv python -m virtualenv venv source…
voilalex
  • 2,041
  • 2
  • 13
  • 18
-1
votes
1 answer

What is the difference between the version in the manifest of a jar and using javap

I am taking over a very old project with no documentation and I am trying to determine the right library to try and decompile and eventually recompile code with. Looking around the internet I have seen two methods: Checking the manifest file and…
-1
votes
1 answer

Elusive Stack Smashing error: why does my string_to_float function sometimes crash?

I am working with some legacy C code running on a Raspberry Pi (3, I think) running arch linux. As part of the app's start-up, it reads in a file line by line and stores each line to some custom structure. 99 times out of a hundred, this works fine…
Greenwiz29
  • 37
  • 7
-1
votes
1 answer

Query formatting help (PHP, MySQL) Legacy code

This code is used to show a list of stuff... $result= mysql_query(" SELECT DISTINCT m.username, m.asdf_txt, m.week_txt, FROM table m WHERE m.username='$user' ORDER BY m.week_txt ASC") or die(mysql_error($link)); while($row =…
Mike
  • 3
  • 2
-1
votes
1 answer

IF column has a duplicated value THEN choose the next one

Thanks for looking into this. How do I write an IF statement in Bigquery SQL, to sum up, the numbers of units (If the QUARTER columns have the SAME quarter then choose the unit number with TYPE ACTL, OTLK, ETC). TYPE CWV are historical data so it's…
QuicKick
  • 65
  • 7
-1
votes
2 answers

reduce namespace pollution in python scripts

I am working on some old python code and I was wondering if there is an easy way to find out which modules are imported but never used. I have a few hundred python scripts, each importing tens of modules (most scripts where copy-pasted by some…
-1
votes
1 answer

Modular Monolith with DDD and Legacy data

In my domain i have the following modules: WMS(Warehouse Management) SalesOrder(Contains salesorderline, etc..) This is a multi tenancy application, which means the database contains many companies, each company has it own set's of data. There is…
Mojo
  • 169
  • 1
  • 8
-1
votes
1 answer

How to set title in each table TD from TD text ( legacy datatable ) using jquery?

So the question would be, in a legacy jquery datatable ( not the "new" version of it ) how can i set a title on the cell(td) with its content?
Henrique C.
  • 948
  • 1
  • 14
  • 36
-1
votes
1 answer

IE11 Object doesn't support property or method 'indexOf' (but it's not an object and works in other browsers)

I have a script that iterates through values passed in an array and checks whether those items are natively supported by a browser. This works fine in Chrome, Edge, FireFox and Safari, but IE11 and older (the browsers that really need this to work)…
-1
votes
1 answer

How to "trick" program installers so they will work on unsupported OS?

I want to install some software on a pre-alpha XP build (codename Windows Whistler). However, 90% of the installers fail to run. I guess it is because of the kernel version, which I suppose is somewhere between 5.0 and 5.1 (as I remember even the…
Alex Popov
  • 65
  • 7
-1
votes
2 answers

Does Internet Explorer (still) remove empty elements from DOM?

At least at one point in the past, Internet Explorer would remove empty elements from the DOM. So the elements:
Would never appear, could not be targeted by JavaScript, etc. The common workaround was: