It is currently Thu Mar 28, 2024 9:52 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: The Future of Steamlocomotive.info
PostPosted: Sun Jan 22, 2023 9:24 pm 
User avatar

Joined: Sun Oct 10, 2004 11:30 am
Posts: 1231
Location: Eagan, MN
Let us begin with a simple premise: I would like steamlocomotive.info to survive well beyond me. I am 74 years old, and have some chronic medical issues. My doctors say there's no reason I cannot drag this out for another ten years, but you never really know. So...

1. The first thing you should know is that my financial circumstances changed dramatically for the better just recently. I set up a fund that will automatically pay steamlocomotive.info's hosting bills for at least another ten years, possibly more.

2. The site's database is now backed up nightly to the cloud, as well as to local storage at the hosting company. The site's imagery directories are also backed up to the cloud nightly. Any time there is a change to the source code that comprises the website, it also automatically triggers a backup to cloud storage.

3. Currently there are two active editors who have nearly complete control over the site's content via its admin interface. Code has been created, and will be deployed this week that will allow the editors to create additional editors to insure that the site can be adequately maintained if one or more of us shuffle off this mortal coil.

4. A survey of the administrative interface was conducted to determine what tasks necessary to the operation of the site couldn't be performed without direct access to the site's database. There are nine, and code to automate these functions is being written.

5. I'm about 80 pages into an Administrator's Guide to the website, intended to assure that any future editor understands how to maintain the site. That's about 2/3 of the way complete.

6. I've written a data dictionary for the database, explaining what each field and each table is, why they're there and how they interact.

7. The site is comprised of about 70,000 lines of Coldfusion code, and about 5,000 lines of Javascript. I've gone through the source code and extensively commented it, so that a future maintainer/developer has some hope of understanding what was going on in my failing brain when I wrote this crap.

8. I'm preparing to hand over the access codes to the webhosting company's admin panel to a custodian to be named later.

So... I'm pretty sure the site will survive a good while. There are other things I'm considering, but that will depend on a lot of factors.

_________________
Doug Bailey, Webmaster http://www.steamlocomotive.info


Offline
 Profile  
 
 Post subject: Re: The Future of Steamlocomotive.info
PostPosted: Sun Jan 22, 2023 11:04 pm 

Joined: Thu Feb 26, 2009 3:07 pm
Posts: 1114
Location: B'more Maryland
Whoa, that's a lotta cold fusion!

I didn't realize hosting was still available for it.

Good on you keeping that all alive.

People take for granted the effort that maintaining something like that takes. Web technology is ever changing, and while some wags may say "just make it all flat html" that's never really a good answer.

One thing I would highly recommend, in addition to the backup plans I'm sure you've got in place, is to evaluate what it would take to modernize the CF aspect of it into something a bit more modern and "future proof" (but I'll be honest, the phrase should be "future friendly").

_________________
If you fear the future you won't have one.
The past was the worst.


Offline
 Profile  
 
 Post subject: Re: The Future of Steamlocomotive.info
PostPosted: Mon Jan 23, 2023 7:29 am 
User avatar

Joined: Sun Oct 10, 2004 11:30 am
Posts: 1231
Location: Eagan, MN
Ed, you raise some interesting, and relevant points. I've considered rewriting the site into php, or possibly python. Neither choice is particularly attractive (to me). My best guess is it would take 1800 to 2200 man hours to do the job. And I am pretty sure that I'm not motivated enough to tackle that task.

I should add that steamlocomotive.info runs on an open-source version of Coldfusion called Lucee. It is well supported and I've had only one issue with it, which they rapidly fixed. One of the things I've thought about doing was spinning up a virtual Linux box with some hosting company or another, installing Lucee and moving the site there. That would, of course, entail moving the database from Microsoft SQL Server to some other database.

I've written and tested a utility that can recreate the database in MySQL on Linux, and populate it from a CSV file generated at my current hosting company.

Doing the above is probably the most I'm going to do as far as "future proofing" the site. Not because I don't care, but because I'm tired and lazy, I think.

My grandson (aged 15) loves the site, and is learning its guts. He's a great kid.

I'm glad people enjoy the site. There's a lot I want to add to it. And I probably will.

Also, if you're reading this, and you're one of the thousands who have contributed information, photos or map coordinates, thank you from the bottom of my heart. The site makes me happy.

_________________
Doug Bailey, Webmaster http://www.steamlocomotive.info


Offline
 Profile  
 
 Post subject: Re: The Future of Steamlocomotive.info
PostPosted: Mon Jan 23, 2023 11:50 am 

Joined: Thu Feb 26, 2009 3:07 pm
Posts: 1114
Location: B'more Maryland
Oh cool, I didn't realize there was a FOSS version of CF. That's great!

Here's something to keep an eye on: Chat-GPT can do pretty good code conversions. I've seen it do some .NET to React stuff that's perfectly servicable.

Take a look: https://dna.today/2022/12/18/chatgpt-ai ... thon-code/

I'm sure it won't be turnkey, and I'm not sure if it even plays with Coldfusion, but it might be worth keeping an eye on.

This all makes me amused at the fact there will likely be future "historical preservation" efforts aimed at programming languages in the future.

_________________
If you fear the future you won't have one.
The past was the worst.


Offline
 Profile  
 
 Post subject: Re: The Future of Steamlocomotive.info
PostPosted: Tue Jan 24, 2023 12:48 pm 

Joined: Thu May 24, 2012 1:37 pm
Posts: 2213
Since 'cost is less of an object' -- consider forking the site, maintaining the ColdFusion version as currently anticipated, porting the content over to a Linux environment, and then making any changes to the two versions in parallel.

To the extent that the ColdFusion legacy code continues to operate in a VM, there shouldn't be major 'futureproofing' issues.

The Linux-friendly version doesn't have to have the same 'looik and feel' of the existing site, just the same basic functionality and fitness to purpose.

_________________
R.M.Ellsworth


Offline
 Profile  
 
 Post subject: Re: The Future of Steamlocomotive.info
PostPosted: Tue Jan 24, 2023 1:58 pm 

Joined: Sun Aug 22, 2004 1:51 pm
Posts: 11481
Location: Somewhere east of Prescott, AZ along the old Santa Fe "Prescott & Eastern"
Ed Kapuscinski wrote:
This all makes me amused at the fact there will likely be future "historical preservation" efforts aimed at programming languages in the future.


The future is here. I know programmers who make it their specialty.


Offline
 Profile  
 
 Post subject: Re: The Future of Steamlocomotive.info
PostPosted: Sat Jan 28, 2023 12:32 pm 

Joined: Fri Aug 27, 2004 7:57 am
Posts: 2576
Location: Faulkland, Delaware
Doug, Thanks for all of your hard work on the website and database. It's an amazing resource.

_________________
Tom Gears
Wilmington, DE

Maybe it won't work out. But maybe seeing if it does will be the best adventure ever.


Offline
 Profile  
 
 Post subject: Re: The Future of Steamlocomotive.info
PostPosted: Sat Jan 28, 2023 11:40 pm 
User avatar

Joined: Sun Oct 10, 2004 11:30 am
Posts: 1231
Location: Eagan, MN
You're very welcome, Tom. Thank you for all your contributions to the site. They're greatly appreciated. I am having more fun working on the site, now that I don't have to worry about how to pay for it. Life is good. And I got a new set of batteries for my wheelchair, so now I'm faster! Woohoo!

_________________
Doug Bailey, Webmaster http://www.steamlocomotive.info


Offline
 Profile  
 
 Post subject: Re: The Future of Steamlocomotive.info
PostPosted: Sun Mar 12, 2023 1:44 pm 

Joined: Sun Jun 17, 2007 8:03 pm
Posts: 1070
Location: Warszawa, Polska
I see a number of CNR engines that don't show up in the database.

If anyone wants to figure out what's missing, they can compare the database against my roster:

http://trainweb.org/j.dimech/roster/steam.html

_________________
CNR 6167 in Guelph, ON or "How NOT To Restore A Steam Locomotive"


Offline
 Profile  
 
 Post subject: Re: The Future of Steamlocomotive.info
PostPosted: Sun Mar 12, 2023 5:45 pm 

Joined: Sat Oct 17, 2015 5:55 pm
Posts: 2279
joe6167 wrote:
I see a number of CNR engines that don't show up in the database.

If anyone wants to figure out what's missing, they can compare the database against my roster:

http://trainweb.org/j.dimech/roster/steam.html

I believe you would be able to make the changes yourself, and they would be welcomed, although with such a large number you may wish to contact steaminfo/ Doug first.


Offline
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]


 Who is online

Users browsing this forum: 70000, Chris Webster, CJKlossner, Google [Bot] and 125 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: