Все вопросы: [legacy]
96 вопросов
Как заставить ActiveRecord работать с устаревшими многораздельными / сегментированными базами данных / таблицами?
сначала спасибо за то, что уделили время ... после всех поисков в google, github и здесь, и больше запутались в больших словах (раздел / осколок / федорат) , Я полагаю, что мне нужно описать конкретную проблему, с которой я столкнулся и поспрашивай. Базы данных моей компании работают с больши...
Как настроить формат сообщений журнала Python 2.3?
В Python 2.4 и более поздних версиях легко настроить модуль ведения журнала для более простого форматирования: logging.basicConfig (level = opts.LOGLEVEL, format = "% (message) s") но для приложений, которым необходимо поддерживать Python 2.3, это кажется более сложным, потому что API веде...
Load a .NET assembly from a COM ProgID without creating a COM object
A bit of an odd question and probably backwards from what most people want to do, but I'm trying to work around a legacy COM issue. I have two components, both of which are actually .NET assemblies, but for historical reasons one is loading the other as a COM object (the assembly is registered f...
What are the best practices when shifting old legacy web applications to new ones (specially about broken links problem)?
Suppose you have an old legacy website, with an in-house php CMS. http://mysite.com/index.php?page=3&c=7 Now, for some reason, you re-structured your website in Wordpress, with SEO friendly URL's, registered a Google Analytics account, and needs to update your system, so when http://mysit...
DOS legacy application with USB printer
I have the unfortunate task of doing (minimal) maintenance work on two legacy applications developed in DBIII+/Clipper '87. I have full access to source and a minimal toolchain to recompile the application when needed, but I am not allowed to reimplement it from scratch due to various (mostly ps...
what language was cybersyn/cyberstride implemented in?
I am aware that it was implemented on the IBM 360 mainframe architecture but does anyone know what language(s) were used in particular? Supposedly the bulk of it was programmed and deployed in 3-4 months - that is a pretty rapid turn-around for any project let alone one which had the capability t...
Refactoring nasty legacy systems via AOP or other automated means?
I've recently been playing around with PostSharp, and it brought to mind a problem I faced a few years back: A client's developer had produced a web application, but they had not given a lot of thought to how they managed state information - storing it (don't ask me why) statically on the Applica...
What database technology to use for legacy application?
I am looking for advice. I know stackoverflow likes "answerable" questions, I hope this is. I have a large legacy (Windows) application, using a proprietary (ISAM) database. I wish to investigate moving it over to using a SQL database: primarily MS SQL Server, I wouldn't mind Oracle flexibilit...
How can I integrate parts of Catalyst into a legacy webapp?
I'm struggling with a classic legacy project: manual URL parsing and composition, manual routing etc. Knowing a bit of Catalyst I long for at least some of the concepts, for example proper (a.k.a. transparent) URL routing and parameter parsing for example. Ideally, I'd just use Catalyst and be do...
MSTest for huge legacy codebase
we have a huge codebase with about 1000k lines of native/unmanaged legacy c++ - code and we are going to provide the code with unit tests and MSTest would fit perfectly in our current development environment (TFS, VS 2010, ...). I know that MSTest is orginally meant to test managed code but its a...
Are there any tools to migrate the interface from legacy GTK applications to a modern GTK Builder based application
I'm responsible for a number of legacy C based GTK applications which are starting to show their age. I'm toying with the idea of re-implementing some of them in a more modern framework. Are there any tools which can help migrate a hand-built C based GTK interface into a GTK Builder based XML int...
Help me explain the benefits of XML and other markup languages
I am trying to convince some senior people at my company of the advantages of transmitting data in a structured format between two of our systems. Currently one system outputs flat text files and complicated parsers have to be written to extract the data on the other side. Every time the data is...
Django and weird legacy database tables
I'm trying to integrate a legacy database in Django. I'm running into problems with some weird tables that result from horribly bad database design, but I'm not free to change it. The problem is that there are tables that dont have a primarykey ID, but a product ID and, here comes the problem, ...
Stategies for Rebuilding Legacy Applications
I have a new assignment coming up shortly where I have re-architect some legacy COM applications in .Net WPF. If possible I need to re-use functionality or existiing code however I suspect the scope for this is limited. I need to replicate existing functionality but need to achieve it using a m...
Legacy code, legacy tools - what to do?
I have a bit old project that I would call legacy. Some characteristics of it are: It is a working product (for about 3 years) and is under continuous development. Code-base is pretty large and includes (CS, SQL, ASPX, Jayrock, JS/HTML/CSS etc) Platform is .NET 1.1. IDE is Borland C# Builder 2...
Manugistics/Avyx Forest and Trees scheduling utilities
In 1994, someone wrote a scheduling package for NASA utilizing a scheduling package of software that defined forests and trees. I have the complete source of the package except for the one library. No where in the include files is there any indication of who wrote it, but I have reason to belie...
adding adorners to legacy textboxes
Whats the best way to add an adornment layer to legacy controls, or in other words you know jetbrains refactoring tools, how do they draw the squiggly lines under incorrect text? Also on another note can one draw said adorments on controls not under the direct reference of the application, ie us...
How can I manage Perl module dependencies?
I'm currently in a project which develops using a framework developed by another department as the base. We are currently introducing quality standards (at last, yay!) in our department, but it's currently impossible to introduce those to the other department. As a consequence, we are working aga...
Is there still a good reason to support JDK 1.4?
I'm looking at putting together an opensource project in Java and am heavily debating not supporting JDKs 1.4 and older. The framework could definitely be written using older Java patterns and idioms, but would really benefit from features from the more mature 1.5+ releases, like generics and ann...
ActiveRecord Join table for legacy Database
I have a legacy database that I'm working on getting ActiveRecord to work with. I've run into a problem with join tables. I have the following: class TvShow < ActiveRecord::Base set_table_name "tvshow" set_primary_key "idShow" end class Episode < ActiveRecord::Base set_table_nam...
How to override activerecord's default attribute column associations?
I'm working on a legacy database that is complete non-sense. I have a table called movie that contains columns with names like c00, c01, c02 and so on. The table also uses non-standard primary_keys. So I've created a class called movie like this: class Movie < ActiveRecord::Base set_tabl...
Есть вопросы о возможной замене командных файлов в приложении Windows?
У меня есть большое устаревшее приложение Windows, состоящее из множества исполняемых файлов, взаимодействующих с базой данных. Исполняемые файлы имеют 4 основные цели: (а) синтаксический анализ и загрузка файла в базу данных (b) преобразовать файл (например, закодировать файл). Это также ...
Вызвать VB6 DLL из многопоточного приложения-службы Windows c #?
Я использую многопоточную службу Windows, которая должна вызывать dll VB6. Нет документации об этой DLL VB6, и эта устаревшая система поддерживает очень важный бизнес-процесс. В первый раз (1-й поток) эта dll работает хорошо. Поскольку другим потокам требуется доступ, они начинают давать неве...
Как открыть хранимую процедуру и отредактировать ее в SQL * Plus
Мне нужно внести некоторые изменения в старую хранимую процедуру Oracle в устаревшем блоке, который хранится для запуска старого устаревшего процесса. Единственный инструмент, с помощью которого я могу подключиться к базе данных, - это SQL Plus. Как загрузить сохраненный процесс в память для ре...
ConstantScoreRangeQuery в Lucene
Как работает ConstantScoreRangeQuery лучше, чем старый RangeQuery ? В каком случае следует по-прежнему использовать RangeQuery?
Получение доступа к продуктам Microsoft, которые больше не доступны
В результате юридического урегулирования спора с Sun по поводу технологии Java Microsoft исключила возможность прямого доступа к некоторым продуктам любым способом. Вот выдержка с их сайта MSDN: http://msdn.microsoft.com/en-gb/subscriptions /aa948864.aspx Товары недоступны из-за Ми...
Поможет ли «Эффективная работа с устаревшим кодом» кому-то, кто работает с приложением, перенесенным с VB6 на VB.NET?
Я хотел бы провести рефакторинг большого устаревшего приложения, изначально написанного на Visual Basic 6.0 и впоследствии перенесен на .NET. Чтобы сделать это с уверенностью, я хочу иметь модульные тесты для существующего кода, чтобы я мог сравнивать до и после. Какой самый простой и эффектив...
Советы по тестированию устаревшего приложения с интенсивным использованием данных
Я работаю над очень большим устаревшим приложением с большим объемом данных. И база кода, и база данных огромны по размеру. Большая часть бизнес-логики распределена по всем уровням, включая хранимые процедуры. Есть ли у кого-нибудь предложения о том, как начать применять «модульные» тесты (те...
Для чего используется procErr: в Visual Basic?
В настоящее время я поддерживаю устаревший проект Visual Basic, в котором повсюду используются эти операторы "procErr:". Я предполагаю, что они используются как способ обработки, если при выполнении функции произошла какая-либо ошибка, это правильно? Я преобразовал проект в VB.NET. Не было бы...
Очистка указателя на исключение
Все мы знаем, что бросать указатели на исключения - это плохо: try { ... throw new MyExceptionClass(); } catch (MyExceptionClass* e) { ... } Как вы подходите к устранению ошибок в устаревшем коде? Я полагаю, что могу исправить первую часть, сделав operator new приватным: cl...