Logic Simulator Update
I implemented a few improvements today:
- Fixed a regression with the 7-segment display regarding preferencing the chosen color
- Made the Bit/Mode button respond in a better way for the ALU and Shift Register
- Made the Bit/Mode button state be saved and loaded correctly
Forum Stuff
I wanted to have a go at developing a responsive Theme for MyBB. Long story short: it is not worth it since MyBB still looks OK on a smaller PC screen, and a Forum doesn’t work well on a Mobile Phone I think.
To set up a test environment I installed MyBB on a domain on my PC under NGINX. I already had the NGINX server available but not MySQL. Turns out that Manjaro only supports a clone of MySQL called Maria which is an improved version.
Then I installed PHPMyAdmin since it is a nice Database admin GUI Tool.
As usual when configuring server stuff, there were plenty of hurdles to overcome, but only a mornings work. Ridiculous stuff that I didn’t see mentioned in the PHPMyAdmin install guide such as where actually is PHPMyAdmin installed on my PC, how to set it up with NGINX server, and even what is its access URL. Then how to set up a temp file location.
The hard thing about debugging server setups is to know what part of the whole contains the bug. Have to follow a step-by-step approach such as:
- Confirm that index.html is displayed
- Confirm that index.php is displayed
- Remember to actually start the server, PHP_FPM, and MySQL
- View server log files
- Check the integrity of the server config file (sudo nginx -t)
- Check the PHP settings in the server config (easy to make a typeo)
- Enable any PHP extensions that are not currently enabled
- Check access permissions for files (scratch head, use /tmp)
- Find out where files are
- Set up any required symbolic links from the web folder to actual web apps/config files (PHPMyAdmin)
I usually have a feeling of dread when I think about setting up a new server feature since it is bound to not work out of the box.
Love seeing error 404 or 502. Maybe it would be easier to use Docker containers? Then, have proxy redirects to these containers that each runs an image of the individual services from the main server. That would be an awesome topic for a tutorial.
Customization of a MyBB Theme
The process is done in the forum admin area. You create a new Theme as a child Theme of say the Default Theme. Then you edit Template and CSS code in the Admin area and your changes are saved to the Database. So I will bear this in mind should I want to customize the theme in the future.
More Devlog entries
Most recent first
- 2021 10 02 New Release of Digital Logic Simulator
- 2021 08 28 Nested Sub Blocks
- 2021 08 27 Debugging with a log file
- 2021 08 26 Testing Circuit Blocks
- 2021 08 24 Bug Fixing with Blocks
- 2021 08 22 Debugging Circuit Blocks
- 2021 08 21 Circuit Blocks Update
- 2021 08 18 Circuit Blocks
- 2021 08 16 Highlighting of wires
- 2021 08 12 Adding Tutorial Content
- 2021 08 07 Numbers Scene
- 2021 08 06 Numbers Tabbed Scene
- 2021 08 04 Number Display Widget
- 2021 07 24 - Launch of V1.0
- 2021 07 23 - Truth Tables
- 2021 07 22 Progress Update
- 2021 07 21 - Simple Computer Simulation
- 2021 07 16 - Community Forum
- 2021 07 15 - Community News
- 2021 07 11 - Save and Load ROM Data
- 2021 07 09 - Documentation About The Logic Simulator
- 2021 07 08 - Big Progress
- 2021 07 07 - RAM and ROM Testing Complete
- 2021 07 06 - Implementing Tests
- 2021 07 05 - Cool algorithm for binary text string
- 2021 07 04 - Debugging Complex Situations
- 2021 06 30 - End of June - Refactoring Continues
- 2021 06 29 Community
- 2021 06 28 Implementing More OOP
- 2021 06 27 Memory Parts
- 2021 06 26 Improving the Memory Manager
- 2021 06 25 Memory Data
- 2021 06 24 Memory Management
- 2021 06 23 First Devlog Entry