Mark James Wooding
Education • Comedy • Writing
Some days I post something here. Sometimes I Post Raisin Bran. Some days I Kellogg's. I never know in advance.
Interested? Want to learn more about the community?
February 02, 2022
Friend of Learning

Getting the email compliant with the laws, and making them easy for the customer to control, is the current phase of this project.

On the development server, I planned to have the application send out email normally, but to have postfix route the mail to a local mailbox. That way I could test the mail functionality, but I wouldn't have to deal with the encryption settings that were necessary when sending mail through the internet.

The mail was being sent, but postfix was bouncing it back instead of rerouting it to the local mailbox. I consulted the /etc/postfix/main.cf file on each of the production file server and the production mail server, and adjusted settings on the copy of the file on the development server. I also created the /etc/postfix/virtual file on the development server, and copied the contents from the same file on the mail server. Then I added the line:

[email protected] foladmin

Then I ran postmap, which created the version of the file that postfix reads, and restarted postfix.

When I logged in via the web app at the development server, the friend of learning program sent an email to [email protected]. It was rerouted to a mailbox on the development server, which is what I wanted. With that in place, I could test any of the mail functionality. If I needed to try sending mail to another user, I could just add that user's email address to the /etc/postfix/virtual file, rerun postmap, and restart postfix. In that way I could capture the email and make sure that the changes I'd made hadn't broken anything.

In the cgi-bin folder, which is where all the scripts except index.php are located, I ran:

find . -name '*.php'|xargs grep -l 'mail' | wc -l

The command returned the number 71. That meant there were 71 files that I had to edit, plus index.php. If I had realized that I needed to add some information at the bottom of each email, I would have created a variable in index.php, and put the information in that variable. All I would have had to do before using the mail command was to append that variable to the end of the subject text. I would have been able to change the contents in that variable at one point and it would have automatically affected all the emails from whichever script. But that's what I'll have to do now.

Ideally, I'd like the user to have as much granularity as possible over what emails to receive, which means adding an "Email" category under "Settings", and adding the various categories. I'd like the user to be able to turn off email notifications on a student by student basis.

One fact that I don't think I've mentioned before is that when a user adds a student, and that student logs in, the student only sees a small subset of the options that the parent or teacher would see.

In order to add the ability of a parent/teacher to turn on or off the email notifications per student, and to keep a record of those changes in the event of a complaint, I'll also have to add at least one more table to the database.

My subjective estimate of the probability of finishing today is about 0%, and 80% that I won't finish until Friday or later. That will give me all day tomorrow to try to exceed that expectation.

Interested? Want to learn more about the community?
What else you may like…
Videos
Posts
Republicans overthrowing the government without guns

Dr. Drew interviewed Scott Adams recently, and Scott Adams mentioned the absurdity that Republicans went to overthrow the government on Jan 6, but they neglected to bring their guns. On the first or second anniversary of the event, that alleged oversight made the narrative appear absurd to me, so I made a "video" that was supposed to be audio from January 6, captured on a video camera from which the lens cap had not been removed. I'm posting it again just because.

00:01:47
Features at friendoflearning.com
00:06:56
October 25, 2023
Clean-up crew

While I was waiting on hold to talk with a human at the IRS, I decided to put some food out for the dogs. I set the full bag of dog food on a chair, and walked away to get the bowls. When I turned around I saw the bag slowly tipping over, spilling much of its contents onto the floor. Fortunately I had help cleaning it up.

00:00:09
September 20, 2024
McGuffey's Readers, Number 4

The main task for today is to begin revising McGuffey's Fourth Eclectic Reader. It may take a couple of weeks, possibly more. I still have to work at Publix, and next week I start a new job in the memory care unit of a rehab/nursing home facility, and I'll also be working at Publix at least one night.

After that I'll take a look at the double-slit experiment, and see if there is an interpretation that is consistent with my theory of wave physics.

Also, I came across the attached meme, which I had created two or three years (or so) ago. I thought I'd include it because I still like it.

post photo preview
September 20, 2024
Implications of Wave Physics

I recently proposed a theory of matter and energy called Wave Physics. In this theory, the only things in the universe are energy and the universal membrane, which is the medium through which all energy is transfered and stored.

Tonight I realized that according to this theory, everyone and everything in the universe are connected to each other at all times. Things that would be impossible according to the standard model of particle physics, are very possible in the universe of wave physics. Psychic transmissions and the power of prayer are physically possible and make sense if the universe works in any way like the theory I proposed.

If you've ever heard the phone ring and felt sure who it was before answering it, and were proven correct, this makes sense in wave physics, but not with particle physics. If you've ever looked intently at someone, and had that person quickly turn and look directly at you (I have), that phenomenon makes sense if all of us are parts of the same vast, ...

September 19, 2024
Unified theory of matter and energy

I was only scheduled to work three days this week, so I decided to work on a theory I'd been playing around with for fun over the last few years. I'd never been a big fan of the standard model of particle physics, so a few years ago, just for fun, I thought about exploring some alternate ideas, with zero training and zero experiments.

This week I wrapped up a few loose ends, and posted it to a community I created called Wave Physics. Originally I had called it Alternative Physics, but I changed my mind, so the link still has alternativephysics in it, but the community name is Wave Physics. I'd love for people to pay $5.00 a month to tell me how wrong I am.

https://alternativephysics.locals.com/

I also posted it on my personal website:

https://markwooding.com/physics/index.html

See More
Available on mobile and TV devices
google store google store app store app store
google store google store app tv store app tv store amazon store amazon store roku store roku store
Powered by Locals