Text Editors – Rabbit Hole #3

All that talk about non-volatile ram, got me thinking about ramdisks again. I know friends of mine will groan if they read this. I was a big fan of ramdisks.

I can hear the whispers already (SSD’s dude!). I’ll let you guys do the benchmarking, but ramdisks are 10x faster.

Now that I had the ramdisk bug… again, I set out to look for one. There are some free ones, some paid. I wanted all the features possible so I  ended up going with Radeon’s RAMdisk.

I set the windows temp variables to my R: drive.  It’s set to save changes to it automatically in the background, and it loads on boot.

Almost the same as non-volatile ram.

The machine I’m typing this on as 32gb, so i put 10gb to the ram disk. a few things are running, Chrome, Blizzard client, Steam client, WordPress desktop, some background utils: Malwarebytes, Nvidia settings, Gaming mouse util. i have about 10gb free ram left.

I’ll test this baseline config and see where it goes. puttng ISO’s there temporarily sounds like a good use

[later]

I ended up putting the google chrome cache and code-cache into the ramdisk. Now that windows supports symlinks it was much easier to do.

Bottom line is it makes chrome lightning fast. and the ramdisk driver takes care of the issue of surviving a reboot.

I was happy enough with the results that I decided to do the same thing on the Linux side.

The process is Linux specific of course (create the ramdisk, add it to fstab, move the cache/code-cache/etc. to the ramdisk, create the symlinks, add a systemd service to call a bash file to do the save and restore on the ramdisk.

It’s even faster under Linux because that OS is just more efficient out of the box.

All this because I want to go on about the wonders of my  current favourite coding environment.

Stay tuned. 🙂

 

 

 

 

 

 

 

 

 

Text Editors – Rabbit Hole #1

I posted the link to a working copy of AEDIT. That got me to thinking I should try it out again. I thought someone might have a RMX emulator. No. didn’t exactly want to put down $10k for a blog.

But when I found Sepp’s Homepage there was a dos copy there.  As long as you don’t use the extra 186 instructions, you can run something compiled on that platform on an 8088/86.

Unless of course you try to run on a Windows 10 pc. The have this cmd line, but it’s only really for cmd line programs written for Win10. I wanted to run an actual DOS program.

Also at some point Windows 10 stopped allowing 32-bit programs to run. Seems to me I read this some place but completely forgot about it.

That led me to DOSBox.

And that led me to a reminder that a dos box cmd line window at 640×480 on a 3840×2160 rez monitor, gives you a credit card size window with a really small font.

dosbox

About that size. Smaller rez’s will make that look bigger of course. Alt-Enter gets you full screen in 6480×480 glory. BUT, a program written for that looks just fine.

aedit

As I inserted that picture I’m reminded that sometimes old technology especially with software stays old. At one point I was looking at getting a PL/M compiler working. I had one working when I owned an XT clone, but it’s harder to do with current OS’s

Try to get Internet Explorer 3 working on a modern PC. There’s actually a page that breaks down what browsers will run on each version of windows.

For those of you who use Nano on a Linux box that might look vaguely familiar, but AEDIT is a much more powerful beast that Nano is.

That kind of interface reminds me of Ted an text editor written by Tom Kilhken  in x86 assmbly by published by PCMag. I couldnt find the original, but this is what TED v1.1 looked like:

ted11

I remember using the assembly source and modifying it a bit myself. If you want to learn how to write a text editor.  the ASM source for this should be your goto. I used this editor a lot. You can think about is as a Notepad for Windows or a TextEdit for MacOS.

Eventually even TED wasn’t fast enough for me so I wrote a TSR program (that means Terminate and Stay Resident. For DOS that was the only way you could “multitask”.

So full disclosure, I have every DOS and OS/2 program I’ve ever downloaded.

Yes, I’m going to go through all the text editors that I remember using.

I think I ran into another rabbit hole though.

 

 

 

 

 

 

 

 

text editors – part I

If that title makes your eyes glaze over you probably won’t want to read this. It’s long, rambling, in several parts as i take you through my text editor journey. 🙂 I’ll try to keep each entry between short… ish.

TL;DR version: MS Visual Code

The very first computer I owned was an Apple ][+ clone built by a friend (Hi Steve). At the time it cost me $600 I wrote a few programs in Applesoft basic for it, but that was about the only typing I did on the computer

I used it before I was enticed by a Commodore 64. Someone I worked with (Eric, where  tf are you?) showed me a copy of a C=64 magazine called Run. The content of that magazine heavily influenced me to go buy one.

I actually went to a stereo store, where they had one. I’d paid $333 CAD (before taxes 🙂 ) I had no way of saving any programs I wrote. I bought it on a Sep and it isn’t until Christmas that I got what they called a dataset which was a proprietary cassette player to save and load programs.

By that point I’d gotten the computer bug, well I’d had it about two years before, but didn’t really recognize it at the time.

AND OMG it’s been over a year since I wrote a blog. Apologies to those who are actually following me.

I was finally able to take a computer program course at the local college, and was able to do a few assignments in Pascal (one of the languages we learned). The course was geared to programming. Basically if you learn to program, doesn’t really make any difference on what language you use, at that point it’s syntax and libraries that will let you write the software you want.

So, text editors.

We were taught, how to write programs in Karel, Pascal, and C. Karel taught us procedural programming, Pascal is just a good general purpose language to learn. and at the time Borland’s Turbo Pascal was probably the best compiler you could get at the time. Nowadays you’d use Python  (3, don’t listen to the v2 whining.)

First text editor I used was a vanilla Vi. Running on a VAX with MS Xenix (a Unix clone). I use a vim plugin for MS VSCode today. I have to laugh when I see people using their mouse to  cut and paste a line.  Only because they have to take their hands of the keyboard.

AT college the admins kept the nice levels painful (look that up if  you don’t know unix/linux)

Ok. Friends Don’t Lie. Vi is painful to learn. It’s a moded editor (look that up too) but is very powerful. Even plain  vanilla Vi. And it comes on every install of linux.

You have to install Emacs specifically if you want to use it on llinux. You’ll probably break your knuckles with key combos though.  Oh, and very extensible, all you have to do is learn Lisp and the Emacs lisp api.  But once I had Emacs wake me up, make my coffee and toast, get me dressed and showered, and send me off to work, and then I used vim to get actual work done. (insert snrk here)

I didn’t, but that’s the claim of Emacs fans who say it can do everything. It probably can, but I just need a good text editor.

A lot of people think that vim is primitive. With all the GUI editors you can get nowadays (ie 2020) then maybe it is. BUT, if you are a touch typist (and that means that not only do you can you find the home row on a keyboard without looking at it,  you can type on it without looking at it. That means you can type while looking at the screen, or not at the screen,  or copy (old term but it means a physical printout  of something) you can even type while someone is dictating to you. So vim for those who started touch typing but now code for a living, it’s a no-brainer.

The next text editor i used was called AEDIT (Ascii Edit). I hate to say this if your a millenial (I’ve ripped on you guys a lot), but when  you text you are actually texting in Ascii code (American Standard Code for Information Interchange)

You can wiki but the standard was finally published in 1963.

AEDIT ran on an operating system called RMX (Realtime Multitasking eXecutive).

My teachers in college made a big deal out of this OS. I got the feeling that that thought it was the next big thing.  In our RMX lab there might have been 15 or 20 of these “Intel Workstations” as Intel called them. They ran on these huge boxes that contained 80186 motherboards that were the size of a vinyl album cover. Big.

I didn’t fail to notice this little $5000 machine in the corner. “Oh, that’s an IBM XT, it’s not going anywhere.”

Yeah. ’nuff said.

I think it’s safe for me to say I’ve read  well over 1000 computer magazines. Likely a lot more. I read them cover to cover including the ads. I was a sponge for computer information.

Out all the magazines I saw exactly 2 (count’em) references to RMX.  You can wiki it, but they are still trying to sell this stone wheel. You can’t even get a price on the website. A quick google will get you a $10k figure.

That is almost like paying that kind of price for a 360k floppy of DOS 3.2.

The difference being you could do more with the floppy.

The development language was PL/M (Programming Language for Machines). It looked a lot like Pascal, except it had no native IO. That’s right nothing like a simple print a character to a screen. Or to a disk.

We had X86 assembly libs that did the job.

AEDIT was written in this language.

I gave up a while ago putting links in blogs. I look at some of mine from 2002 and a lot of the links are long dead. That kind of thing frustrates me when I find old links while surfing.

So a link for AEDIT: Sepp’s homepage

That leads me to my first Rabbit hole. Next entry.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

How Users are Ruining the Internet

So there’s this little online networking thingy.

You may or may not have heard of it.

When people first discover it, they can’t believe it’s been around and they never heard of it. Or they heard of it and just didn’t care.

When they first get on it they are amazed at the wealth of information that’s out there. They  find they that they can interact with other people with common interests, sometimes live interaction, but a lot of times on a msg forum.

They find that they can send mail, even get replies. This thing is incredible. What bunch of nerds thought this up?

And then….and then they get stupid. Everyone has opinions, they started arguing about their opinions. To the point where they start insulting the person they are arguing online with. Eventually they will be subjected to Godwin’s Law. If the argument goes on long enough.

Look it up…can you think of any recent examples?

There will be bullying. Bullying by people who know better, but do it anyway. They get caught up in it. Almost seems like it’s subject to a mob mentality.

When it gets bad enough, the police, or lawyers can get involved.

This is done by ordinary people. People you know (or don’t really know like you thought you did, that’s always an eye opener)

I can’t find it quick enough for this entry, but there was a study done lots of years ago, that had two groups of people asked to do a particular task or project. One group was in the same room and asked to work together. The other group were not in the same room but interacted over a network via keyboard.

You guessed it, name calling, arguing, threats, happened within hours. I think that was the timing but how long it took doesn’t really matter. The fact that it did happen does.

When a certain amount of anonymity is involved, it will go sideways.

Wanna guess the network?

Wrong.

Gotcha!

I’m talking about Fidonet.

Never heard of it have you?

You probably haven’t heard of CIX, BIX, Genie, Prodigy, or Compuserve either. You probably have heard of AOL. (although you might not know what the acronym stands for. Millennials, you  may have to look that up…and the word “acronym” for that matter)

What I described happened on everyone of those networks. To be fair they didn’t have nearly the degree of saturation the internet has, but the stupidity was just as common. Just shows you only need a few rotten apples to ruin it for everyone.

My point is: get people together, let them be a little anonymous (or even not, nowadays) and they get stupid.

Need some examples?

Log on to Facebook. Like minded bullies like to hang out there.

Log on to Twitter. Like minded bullies like to hang out there.

Log on to Reddit. Like minded bullies like to hang out there.

Read comments on Youtube, Slashdot, Digg, Instagram. You find these asshats everywhere.

Everybody complains about it. Nobody calls out the bullies, specifically, by name and shames them. Or revokes their online privileges.

If you ever said anything uncharacteristically negative to another person on any network. Clap yourself on the back, you are part of that club.

If you ever did it on purpose…well go eff yourself, karma is a bitch. Wait for it.

the broken knuckle list gets longer

so the process goes something like this:

you break the knuckles of someone who has the authority to sign off on a particular tech or change in tech software. that way a stoopid decision can’t be made official and actually make it out to consumers.

mac osx is a perfect example of (and possibly near the top of the list) of stoopid decisions being made for the os and then actually implementing them, thus reducing the functionality of the os.

i’ve been subscribing to the internet only version of SiriusXM for a few years now, and the mobile  app has always had issues, but the other day there was an update to the app, taking away a major feature and making the app almost useless to use (i’m referring to the MYSXM feature).

on top of that the new version of the app features options for their new video content. you read that right, video content for an internet/satellite radio.

video for radio.

oh, and for the record i heard “Laurel” at the same time my wife heard “Yanni”. that was one of the freakier things that have happened to me.