Skip to content

Programming by Design

If you're not prepared to be wrong, you'll never come up with anything original. – Sir Ken Robinson

  • About
  • Java-PbD
  • C-PbD
  • ASM-PbD
  • Algorithms
  • Other

Author: William Jojo

Remote Desktop Connection to ADA

Posted on July 16, 2025July 16, 2025 By William Jojo
Docs

(Updated July 16, 2025) Create a Remote Tunnel to the ADA Desktop Overview The Remote Desktop Protocol (RDP) from Microsoft is not considered secure. But, with some help and an additional step, we can make this a very safe process. The use of xRDP requires two separate accounts. We will use one to establish the … Read More “Remote Desktop Connection to ADA” »

LibVirt Configuration Notes

Posted on July 9, 2025 By William Jojo
Uncategorized

(Updated July 9, 2025) GRUB IPv6 ========= vi /etc/default/grub add GRUB_CMDLINE_LINUX_DEFAULT=”ipv6.disable=1″ update-grub Virtualization ============== (add virt-manager if you have a GUI) apt install qemu-kvm libvirt-clients bridge-utils libvirt-daemon-system virtinst Configuration for the bridge (single port. would need bond for multiport.) ============================ root@u24vm1:~# cat /etc/netplan/50-cloud-init.yaml network: version: 2 ethernets: enp0s25: dhcp4: no bridges: br0: interfaces: – enp0s25 … Read More “LibVirt Configuration Notes” »

RHEL IdM Notes

Posted on May 23, 2025 By William Jojo
Docs

(Updated May 23, 2025) Table of Contents Overview Network sysctl.conf Chrony and BIND Firewall IdM Setup Clients NFS and Automount Final Thoughts Overview These documents provide a fundamental design for supporting Identity Management (IdM) in a mixed RHEL and Ubuntu environment. This was initially designed on VMware Fusion. The choice of both Ubuntu (non-GUI server) … Read More “RHEL IdM Notes” »

CISS-111 BowlingEC

Posted on April 11, 2025April 11, 2025 By William Jojo
CISS-111-Project

CISS-111 Bowling Extra Credit Write a Java program to demonstrate using regular expressions (regex) to validate strings and additional logic to validate what the regex cannot detect. Your baseline code can be found on GitHub. Learning outcomes Working with files. Enhancing existing code. Working with strings and parsing. Exposure to regular expressions. Numbers The following … Read More “CISS-111 BowlingEC” »

Chapter x86_64-1 – The IDE

Posted on February 18, 2025February 19, 2025 By William Jojo
AsmBook

(Updated February 18, 2025) Table of Contents What is and IDE? Hello World A Bigger Example What is an IDE? An Integrated Development Environment, or IDE, is typically a graphical user interface with an editor, compiler, debugger, and much more at your fingertips. One possible IDE combination is Visual Studio Code with x86 and x86 … Read More “Chapter x86_64-1 – The IDE” »

Chapter x86_64-0 – Where to Begin?

Posted on February 18, 2025February 18, 2025 By William Jojo
AsmBook

(Updated February 18, 2025) Table of Contents Starting Out With Newer Tech The Intel x86 References Starting Out With Newer Tech Hopefully, you’ve arrived here after explaining the first half of this textbook, which is based on the MOS 6502. If you skipped ahead because this is really what you’re interested in, don’t worry. You … Read More “Chapter x86_64-0 – Where to Begin?” »

Chapter 6502-A – 8-, 16-, and 32-bit Printing.

Posted on February 9, 2025April 22, 2025 By William Jojo
AsmBook

(Updated April 22, 2025) signed8bit.asmLoad Workspace ; This is the start of the 8-bit library. define CHROUT $ffd2 define LZF $30 ; This is test code for the 8-bit printing LDY #0 NUMLOOP: LDA NUMBERS,Y STA $31 ; LSB PHA ; SAVE JSR S8OUT ; PRINT AS SIGNED LDA #7 ; ‘\t’ JSR CHROUT PLA … Read More “Chapter 6502-A – 8-, 16-, and 32-bit Printing.” »

Chapter 6502-6 – Numbers and Math

Posted on February 8, 2025February 18, 2025 By William Jojo
AsmBook

(Updated February 18, 2025) Table of Contents Overview Printing Numbers – Part I Bigger Numbers Bigger Math Printing Numbers – Part II Overview In previous chapters, we’ve glossed over details on numbers and mathematics. This is simply because math on this CPU is hard. Remember that all we can do is add. Even subtraction is … Read More “Chapter 6502-6 – Numbers and Math” »

Bowling Regex

Posted on February 1, 2025April 7, 2025 By William Jojo
Algorithms

(Updated April 7, 2025) Table of Contents Overview The First Regex The Better Regex – Part I The Better Regex – Part II Conclusion Overview Overview As we build the program to score and print a series of marks representing a complete game, we should also consider how to measure whether the scoring is legitimate. … Read More “Bowling Regex” »

C64 BASIC Tokenizing

Posted on November 20, 2024 By William Jojo
C64

(Updated November 20, 2024) Overview The process of tokenizing a BASIC program converts the text to a sequence of compressed codes mixed with ASCII (PETSCII) characters. The idea is to have the “compiling” of the code completed and work within an intermediate representation that: Reduces the space occupied by the program. Speeds interpretation of the … Read More “C64 BASIC Tokenizing” »

Posts pagination

1 2 … 18 Next

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Copyright © 2018 – 2025 Programming by Design.