• 2023
  • Jan
  • 29

Addendum to the hamfest list…

As much as I’d like to make it to the Toledo show, that may not be possible this year due to the drive. I’m still going to try, however.

In the meantime, I may try to get to the show in Dover, OH at the fairgrounds. According to the information, this is their first show since 2019, so people may be itching to get out and bring their junk out for sale.

TUSCO Amateur Radio Club Hamfest
Sunday, April 22nd, 2023. 8A-1P
Tuscarawas County Fairgrounds
295 South Tuscarawas Street
Dover, OH 44622

The flyer notes to enter through the Tuscarawas Ave gate.

https://forums.qrz.com/index.php?threads/tusco-hamfest-dover-ohio-april-22-2023.848201/#post-6430335

  • 2023
  • Jan
  • 23

StatusNet: Cleaning up the main page.

This is the second (and last?) part of my cleaning up StatusNet. This deals with removing some of the main page identifiers. While this isn’t hardening, it obscures the doorway just a bit, and hopefully drive-bys will just look at it as a not very worthwhile target. It also removes links to things that aren’t what they were when the service started, so there’s less chance for a user to click on something that may now lead to a malicious site.

This does remove some of the boilerplate regarding the GNU license status, among other things. While I don’t like to do this, StatusNet is so old that there are probably no new installs happening, as it won’t run on modern PHP. If you’re running this commercially, you may be obligated to leave those license notifications alone, so use your own judgement.

***
Here’s the original assets, and what we’re going to change:

001.png

002.png

The first thing I like to do is get rid of the dead link to status.net, and the link to wikipedia. The first isn’t necessary because status.net is just a garbage page full of SEO grabber links, and the second both because I don’t like some of Wikipedia’s practices and you hopefully know what microblogging is now. The term itself has passed into the legend of Web 1.0, so it’s not even a relevant term these days.

(I assume you’re comfortable with your webserver and know where things are. No warranties are expressed or implied, it’s up to you to make sure you’re doing this right.)

Start by making a copy of websiteroot/actions/public.php, and then open the original for editing. (Always back up your original, just in case!). Move down to the very bottom of the file. You’ll see this:

003.png

And when we’re done, it will look something like this:

009.png

To change the header box in question, edit the ’showAnonymousMessage’ function to say whatever it is you want. Use this as a guide, essentially you’re getting rid of all of the links and creating a static header that shows regardless of the other options chosen for the site. That’s why it’s duplicated in the ‘if’ block.

Since the site in question is TheDoghouse, %%site.name%% will show that, followed by ‘Woof!’ - you don’t have to use the variable here, and you can put anything you want in the block as long as it can be printed. I chose to use a simple message that will show “This is TheDoghouse. Woof!” on the main screen where the description about StatusNet and the service description lived. The variable originally used was left intact for this step.

The next edit is just to reduce clutter. In the block directly above the one we just edited is the sidebar links. I edit those out so, while they still are there, the function to actually print them on the screen is commented out with #. This isn’t necessary and doesn’t really offer anything, it’s just something I like to do. The base skin for statusnet will show the same size box, but other skins will reduce the amount of space used based on how much or little you comment out.

Here’s what it looks like by default:

007.png

This gets rid of the “Popular”, “Groups”, and “Featured” links on the main page. While they are still available, to me and my private site it’s just unusued cruft. So away they go. I didn’t delete them in case I want to re-implement them, the function block simply doesn’t show what has been placed in the variables. Similarly with the site name, I left the if/else case alone so later edits will be less painful if certain functions need to be restored. But that’s why you made the copy, right? You did make a copy, right?

But there’s nothing preventing you from putting whatever you want there. Just replace the variable with whatever you like and let the show function print it for you. (I suggest you check out some basic php stuff before going crazy!)

Save your edits, and check that permissions and owner of public.php are correct. Since you created a copy, it’s probably now root, so change that back to whatever your webserver uses as it’s username. load your site up, and you should see your changes.

004.png

The next, last, and other thing I like to get rid of is the footer, and all of it’s links. This shows up on every page regardless, even the main page. While again, this does contain license information, many of the links are dead and the version number of the service is present. As before, there are probably no new installs happening, so having this information isn’t terribly useful. It exposes things that could make it (ever-so-slightly) easier to probe for entry, so it goes away. Again - this isn’t hardening, it’s simply covering up the door so the curious passer-by hopefully doesn’t see it. The microblogging term stays here, but be careful of your license requirements.

For this, navigate to websiteroot/lib/action.php. Make a copy, and edit the original. Navigate to showStatusNetLicense, and you’ll see this:

005.png

What gets shown is dependent on if you have the “Brought By” line filled out in your config. But I don’t care about that, as before I’ve left the if/else cases alone so they can be reverted easier, if necessary. All of the “runs the” information is gone, as is the license, and the service shows the same information regardless of config options.

010.png

The last thing I like to get rid of is the set of links present at the bottom of every page. My site is private, so some of those are not useful. The rest are dead links, and like the now defunct status.net page, may lead to something unsavory. Those are fairly easy to get rid of, navigate to the showSecondaryNav function in action.php and simply comment out the block.

Here’s the original:

006.png

And my edits:

011.png

Everything is commented out except the first few and last few lines, which give the function something to do when called. Other than that, everything else is ignored.

Save your edits, make sure permissions are correct, and check your site.

008.png

That’s it. Your main page now does not show much information about what this is, other than StatusNet.

Troubleshooting: If you’re having some issues where you are now getting a 500 error, check your permissions. That’s probably going to be the main issue here. Also check that you’ve used the correct syntax in the code, variables are always enclosed with %% %% and lines must end with a semicolon; Beyond that, copy your original file over the edits and try again. I found out by trial and error, so don’t be afraid to play with stuff even if you don’t understand 100% of what it’s doing.

There are a few other things you can do inside the service to remove unwanted things like maps (that don’t work,) but I’ll cover those in a separate article.

  • 2023
  • Jan
  • 8

My 2023 Hamfest list. See you there!

2022 was kind of a moderate year in regards to the hamfests I was able to attend. While it started off strong, weather and a bad cold given to me by a sick building and sicker co-worker prevented me from going to anything later in the year. This year, I plan on making up for it with a few new shows and a bunch of regulars - as if I need to bring home more junk.

I only have a few devices in my wish list this year, and those are mostly “Get them while you can, because they are getting scarce” devices, including a decent tube tester as well as a couple of particular types of radio.

The list of what I’m planning to attend follows, and if you’re interested in this stuff at all, go check them out. Other than the Toledo show, I’ve been to all of them in the past and can give them a Grade-A recommendation. They may not be as big as Dayton, but there’s always good stuff to be found.

Some of these announce later in the year, check their links in April or so.

Sunday, March 19th - TMRA Hamfest, 8A-2P.
30335 Oregon Road, Perrysburg, OH 43551
http://www.tmrahamradio.org/hamfest.php

Saturday, April 15th - Cuyahoga Falls Amateur Radio Club, 8A-1P.
48 E. Bath Road, Cuyahoga Falls, Ohio 44221
http://www.w8vpv.org/hamfest.php

Friday, May 19th thru Sunday, May 21st - Dayton Hamvention
120 Fairground Rd, Xenia, OH 45385
https://hamvention.org/

Date TBA, Usually a couple weeks after Dayton - Breezeshooter’s Hamfest
1127 New Castle Rd, Prospect, PA 16052
https://breezeshooters.org/ns/hamfest/
(This one was cancelled last year for unknown reasons.)

Date TBA, Usually in mid-August - Columbus Hamfest
1801 Gateway Cir, Grove City, OH 43123
https://aladdinshrine.org/hamfest/

Date TBA, Usually in mid-September - Findlay Hamfest
1017 East Sandusky Street, Findlay, OH 45839
http://www.arrl.org/ … ts/findlay-hamfest-9

Date TBA, usually right after Thanksgiving - Fort Wayne Hamfest
4000 Parnell Ave, Fort Wayne, IN 46805
http://www.acarts.com/hfmain.htm

  • 2023
  • Jan
  • 7

The TechTran 980 standalone 5 1/4” disk drive.

So what is this thing?

One of the devices I’ve had kicking around the shop for years are these TechTran 900 series standalone disk drives. These were the main storage medium for a large test platform at a former employer. They would provide commands to a computerized telco switching frame in the form of responses to a “Read next record” command. When the project finally ended, I asked the project engineer for the drive. Turns out there were 4 units, with manuals and service information.

many.jpg

fronton.jpg

So, it’s a disk drive?

These have two modes. First is a “File” mode, which works like you’d expect from a mass storage device. You create a file, write to it, then read it back. It also has a “Record” mode - instead of writing files with a directory, these store records, much like a punch card would store a piece of information that may or may not be part of something larger. You would write and read records - bits of text - in sequential order.

The unit does this via a RS-232C interface, using text commands. The device can operate in standalone or passthru mode, and has all the normal serial settings you’d expect - except everything is done via switches that control what is literally a box full of 74LS chips.

back.jpg

chips.jpg

How does it work?

Because the device was expected to be continually available while in operation, the manufacturer set these so the disk spins at all times, and the device loads the head on to the media whenever an operation is requested. This has the effect of only requiring the time to drop the head and wait for the record of interest to arrive at the head before the operation is completed. Normally, a drive would spin up, perhaps drop the head on the disk after it was spinning, seek the correct record in the directory, and then move to read it. These spent the majority of their life reading sequences, while the time savings was small it added up to all the years the unit was in operation. File operations, of course, required seeking the record in a directory, but there was still a small time savings in not having to spin the drive up each time.

This made for a very noisy device, as the fan was spinning, the drive was spinning, and the head was being loaded on and off the media surface over and over (with an accompanying clunk of the head load solenoid) each time. Not something you’d want in a quiet space, but the noise of the test frames generally overrode any noise this thing made.

Really?

Kind of. I’m digging into the service manual more because it has a theory of operation. It looks like the record mode does create “files,” but not quite in the same way as file mode. More on that as I understand it.

I have to say I’m somewhat surprised that these things still come up. I figured the belts would have long turned to goo at this point, and the fact they’ve been sitting since about 2000 probably hasn’t done them any good either. They had a long life, being put into operation in the early 1980s and running up to early 2000 or so. But spin up they did, attesting to the fact they were well engineered (aka cost a lot of 1980 dollars) and designed to last for a long time.

The one in the pictures, a Model 980, is going to be the subject of an attempt to make it talk to something modern, which shouldn’t be that difficult as it speaks serial. Set your baud rate to 1200 and stand by for further posts in this series.

Deleted the manuals for now, will package them up again soon!