A Quick Look Into Half-Width and Full-Width Characters

A friend of mine has been asking me a few questions about encoding for a paper he is working on. While I don’t understand what his research is on, all I can understand from his research is that he is working on analyzing Japanese texts and it involves understanding character encodings. Character encoding is not a topic that most native-English programmers are familiar with. The most that the average programmer will know is the existence of ASCII and UTF-8 encoding. If we are using anything beyond the English alphabets and arabic numerals (i.e. 1, 2, 3, 4, 5, 6, …) then we can utilize UTF-8, else use ASCII.

Read More

A Quick and Flawed Look Into Spatial Locality and TLB

WARNING: I am inexperienced and not knowledgeable of computer architecture. Although noted below, I will be making a claim for a simplistic computer architecture that is not easily reproducible. The blog does not have data to back up my claim. I probably will regret publishing this post. We shall see how long it stays up. In the meantime, feel free to give corrections and criticism by opening a github issue.

Read More

Splitting Files On Linux

Today I was asked to reshare my notes from a class I took in the Fall as they noticed that they no longer have access to the files on Google Drive. Unfortunately for me, I had way too many files on Google Drive that I had to do a massive purge on my Google account which was not limited to only Drive itself but also most emails I had since 2011. Not wanting to overcrowd my Google cloud storage again, I decided to send them the notes either via email or Discord. However, the issue with that is:

Read More

MATH3001 - Real Analysis 1

This is a course review of MATH3001 - Real Analysis 1 taken at CarletonU in winter 2023. Real Analysis is a course that is known to have devastated undergraduate Math students for generations. The course is the sucessor of MATH1052 - Calculus and Introductory Analysis 1 and the beginning of MATH2000 - Multivariable Calculus and Fundamentals of Analysis. The interesting part about CarletonU is that students are exposed to elements of analysis in first year and second year which may not hold true for students in the United States. CarletonU also offers another course in Real Analysis which confuses me what would the equivalent. All I know is that the successor course will cover more on function and Hilbert spaces and an introduction to Measure Theory.

Read More