RANDOM BITS

A random site by a random clueless human

Random bits of programming, math, and thoughts By a clueless human

Blogs

Random long thoughts I had over the years...

Topics range from programming, math, to my views of school


Does Audting Courses at CarletonU Fullfill Required Course Load?

November 20, 2022

tldr: Auditing courses does not fullfill 4 courses per semester requirement for co-op and for student health insurance

Read More...


Debugging Symbols - A Basic Look at Separating Debug Symbols

October 31, 2022

As a note to myself, I would like to explore how to generate a symbols file but ship to the customer a stripped binary lacking of any debugging symbols but still be able to debug customer’s issue.

Read More...


Shellbang Character limit

October 4, 2022

A short blog, more like a note to myself about the character limit on shebang. Shebang in the UNIX-like world is the characters #! at the beginning of a script to indicate the interpreter’s path.

Read More...


Testing GithubPages Repo and Directory Conflict Resolution

September 4, 2022

A question arosed in my head when I was answering some questions about Github Pages to a student. What happens when you have a github page that corresponds to your Github name that contains a directory with the same name as another repository on your account. To elaborate, all Github pages on your account is a directory under a domain name reserved for each account which follows the following pattern:

Read More...


PHYS1004 - A Review on Introductory Electromagnetism and Wave Motion

August 30, 2022

TLDR: Be comfortable with Math Labs take a lot of effort and time

Read More...


MATH2107 - Linear Algebra II

August 25, 2022

This is a course review of MATH2107 - Linear Algebra II taken at CarletonU in the summer of 2022. The course took a “reverse-style” classroom teaching where the lectures were pre-recorded and students were expected (but was optional) to attend lectures to solve problems relating to the lectures. The tutorials were also in-person. The review will be split into two main sections, a long commentary about what the course is about and a section dedicated to reviewing and discussing the organization of the course and how I studied for the course.

Read More...


Document Feeder and PDF Utilities - How to Scan Big Documents with the help of Document Feeder and PDF Utilities

August 23, 2022

When the semester ends I often scan my notes but it has always been a huge pain to scan large amounts of papers. A few months ago my brother was telling me how he scan his old notes and introduced me to the document feeder where you can place your notes into the feeder and all the pages will be scanned automatically. This amazed me because I’ve been painstakingly scanning each page individually, scanning the same paper twice but on a different face (side).

Read More...


Rust - Invoking Closures in a Struct

June 28, 2022

Closures are very neat and are similar to Javascript’s arrow functions or anonymous functions in other languages. The neat thing about closures is the ability to capture the environment or take a snapshot of the state of the environment within its scope (i.e. the environment outside the closure but within the scope it is defined in).

Read More...


CarletonU QNX License Request Policy

June 17, 2022

tldr: licenses will only be distributed for the use in the classroom or faculty-led research

Read More...


Rust - Exploring the Assembly Code between Mutable and Shadow Variables

May 10, 2022

Recently I have started to learn Rust through a program called Summer of Rust led by a Computer Science student at Carleton University. While I had plans to explore C++ and assembly for the summer, I thought it would be a good time to learn Rust instead with a group of students since learning anything by yourself requires a lot of effort.

Read More...