RSS

Website Update 06-23-2020

When I first began posting these Website Updates it was my intention to provide a daily listing of the changes to the data in the website, photos, videos and maps added, locomotives whose information had been editted and so forth. This soon became an issue because my pencil and paper record keeping skills leave a lot to be desired, and my memory isn’t what it never was. So…a nefarious plot was hatched to use a computer (gasp!) to do my work for me.

Steamlocomotive.info collects two kinds of data in this regard. Each locomotive’s record contains information about the most recent change made to it. And a database table called WhatsNew tracks major changes. So using these two piles of information, I wrote a system I called Change Reports. There’s a button on the front page called, “Change Reports” cleverly enough which will let you explore this system. You can choose any date or any month back to the middle of 2016 and see what was done on that date or in that month. And now for the fun part: I’m going to publish a link to the day’s report in each of these updates, so you can see what I and the other editors have been up to. The remainder of the updates will deal with new features, new content, new interesting things, etc. So without further ado, here’s a link to today’s report. I hope you enjoy it:

Change Report for June 23rd, 2020

 
2 Comments

Posted by on June 24, 2020 in Website

 

Website Update 06-19-2020

I’ve been rather quiet the last couple of days as I am working on a new feature for the website that I hope you’ll enjoy when it is finished. I expect to release it this weekend.

So what does it do? It allows you to choose a date, or a month between June 6, 2016 and the present and see all the changes that were made to the locomotives in the database on that date or in that month. It is working pretty well now, but needs some cosmetic enhancements before I unleash it on our unsuspecting visitors.

I may make a preview version of it available later today depending upon how the work goes. I’ll announce that here, and provide some instructions on its use.

 
Leave a comment

Posted by on June 19, 2020 in Website

 

Website Update 06-17-2020

I must admit I’ve been rather lazy the last couple of days. I have updated technical details of a few locomotives, added maps for 31 locomotives and photos for another 11. But I didn’t keep a detailed list of what I was doing this time. I shall endeavour to do better in my next update.

 
Leave a comment

Posted by on June 17, 2020 in Website

 

Website Update 06-14-2020

  • Updated railroad name for OeBB 0-6-2T No. 298.05
  • Edited technical details for CSD 0-6-0T No. 310.072
  • Modified the delete locomotive function so that it also deletes map information for the locomotive being deleted.
  • Added a photo for Wiener Neustadt 0-4-0T “Fanny”
  • Edit RR Names for all locomotives at Strasshof, Austria to replace OeBB with ÖBB
  • Corrected the name for Achenseebahn 0-4-0RT No. 3 to ‘Achenkirch’
  • Edited technical details for ÖBB 97.201 (ex kkStB 69.01)
  • Edited technical details and location for SKGLB 0-6-2T No. 5
  • Edited location and technical details for Steiermärkische Landesbahnen 0-4-0T No. 2 “Stainz”
  • Added MAZ 0-6-0T No. 377.262 to the website and database
  • Added MAZ 0-6-0T No. 377.247 to the website and database

 
Leave a comment

Posted by on June 14, 2020 in Website

 

Bug Fixes 06-13-2020

Fixed the bug that prevented the red marker from showing on the map where the locomotive in question was located. Enhanced the marker a bit, so now, if you mouse over the marker, it’ll tell you what locomotive it points to.

And since I was up to my elbows in the mapping system I added a little feature that I am rather pleased with. Now, if you (or anyone) submits a photo of a locomotive, we automagically check the photo for GPS coordinates, and if present, add a map for the locomotive.

 
Leave a comment

Posted by on June 13, 2020 in Website

 

Website Update 06-13-2020

  • Updated railroad name for OeBB 0-6-2T No. 298.05
  • Edited technical details for CSD 0-6-0T No. 310.072
  • Modified the delete locomotive function so that it also deletes map information for the locomotive being deleted.
  • Added a photo for Wiener Neustadt 0-4-0T “Fanny”
  • Edit RR Names for all locomotives at Strasshof, Austria to replace OeBB with ÖBB

Working on the issue that map displays don’t include the red marker showing where the locomotive is locomotive. Feeling lazy today. May or may not get this done.

 
Leave a comment

Posted by on June 13, 2020 in Website

 

Bug Report 06-12-2020

Always a cheery way to start the day. Steamlocomotive.info is a complex computer program, and like most such programs it has bugs. We (meaning me) try to squash these bugs as expeditiously as possible. But to do so, we have to be aware of them. I’m going to discuss a couple of them here.

First: the Magical Non-Existent Notes Bug. The system kept a count of the number of notes attached to each locomotive. Turns out, the system couldn’t count very well. Ended up fixing the counting bug, then writing a utility program to scan all 29,000 or so records in the database and correct their Notecount fields. Whee. Fixed.

Second: The Missing Marker Bug. When you’re looking at the information page for a locomotive and click on the Globe icon to see a map of its location, the system correctly draws the map (a hybrid of map and satellite photo) but fails to draw the red marker on the locomotive’s location. The old mapping system did this automatically, the new one requires an explicit call to the Google Maps API for it to happen. I didn’t know this. Now I do. Will add the code today, hopefully. Not Fixed.

Third: Weird Map Error. If an editor moves a locomotive from one location to another (primarily because someone actually moved the locomotive) and there was a map to the original location, after the move the map still pointed to the original location, and hence was wrong. Wrote the code to fix that and test it this morning. Fixed.

Fourth: There are certain things you CANNOT type in a Notes field. Doing so will cause you to be taken, without explanation, to a little tiny window with the front page of the website in it. This is clearly wrong. I haven’t quite figured out how I am going to (a) explain this; and (b) fix it. So: Not Fixed.

Fifth: If you delete a locomotive and it had a map, the map information stays in a table called Locations. This has no pratical impact on the system, it is just clutter, so I’ve put it on my list of things to be fixed.

There are more, but they aren’t well quantified as yet, so I’ll report them later.

 
Leave a comment

Posted by on June 12, 2020 in Website

 

Website Updates 06-12-2020

  • Added KKStB 0-6-2cog at Großpetersdorf, Austria to the website and database.
  • Edited technical details for ÖBB 97.208 an 0-6-2cog
  • Edited technical details for CSD 0-8-0 No. 414.404
  • Edited technical details and location for StLB 0-6-2T No. U.9
  • Edited technical details for CSD 0-6-0T No. 310.037
  • Edited technical details and location for ÖBB 0-6-4T No. 598.02
  • Added ÖBB 598.03 (ex kkStB Yv.3) 0-6-4T to the website and database
  • Edited technical details for KKStB 2-6-2T No. 30.33
  • Edited location and technical details for CSD 0-6-0T No. 314.303
  • Edited location and technical details for CSD 0-6-2T No. U37.002

Also began work on a small enhancement for the site administrators. At present, if you move a locomotive from one location to another and the locomotive has a map, that map, for the old location stays in place. This, of course, is wrong. I am modifying the code that moves a locomotive from one location to another to also delete the old map.

~

 
Leave a comment

Posted by on June 12, 2020 in Website

 

The Notes System

Most all of you, I suspect have seen the little screen above. Way, way back in 2003, Tyler posted a note to the indicated locomotive, and this is how it displays if you click the Notes button for that locomotive. The website maintains a count of how many Notes are attached to each locomotive, and has done so for the last 17 years. The problem is this: I just discovered that it was not counting accurately. Thus, for some locomotives the count of notes stored in the locomotive’s record was actually larger than the number of notes for the locomotive stored in the system. And therein lies the problem. The image below shows two rows of the search results when I searched for locomotives in Calgary.

The little red and green dots are supposed to indicate whether the locomotive has a particular feature. Thus, the locomotive in the first row has a green dot for Notes, indicating that there are notes pertaining to this locomotive. The locomotive in the second row has red for that feature. Unfortunately, there was a bug in the system, since 2003 that failed to reduce the count of notes for a locomotive when a note was deleted. This meant that the counts for more than 1000 locomotives were above zero, when they should have been zero. So the little green dot would appear, you’d go to read the note(s) and it wasn’t there.

So in a fit of productivity, I wrote a nifty little utility to analyze the data and correct it. Now everything works correctly and I got to write a fun little blog entry.

 
Leave a comment

Posted by on June 11, 2020 in Website

 

Website Updates 06-11-2020

  • +Added a photo of CFTVD 0-6-0T No. 51 in Burnhaupt le Haut, France
  • Editted technical details for Travaux Publics 0-4-0T in Butry-sur-Oise, France
  • Editted technical details for Ternyck Sugar 0-8-0T No. 10
  • Added a photo of Ecausse d’Enghien Belgium 0-4-0ST No. Unknown
  • Editted location and technical details of CSD 0-8-0 No. 411.019
  • Editted technical details of CSD 0-6-0T No. 310.006
  • Corrected spelling of city Nymburk in the Czech Republic
  • Editted location and technical details of CSD 0-8-0T No. 403.303
  • Editted technical details for CSD 4-4-0 No. 252.008
  • Editted technical details for FS 0-6-0T No. 899.006
  • Editted location and technical details for CSD 0-6-0T No. 310.001
  • Editted technical details for BBÖ 4-4-0 No. 1.20
  • Editted technical details for BBÖ 0-6-0T No. 494.62
 
Leave a comment

Posted by on June 11, 2020 in Website