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


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

October 7, 2024

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, …)...

Read More...


Polluting the Web With a Useless 5 argument main function

June 22, 2024

A random blog post that does not have a good definite answer nor have much purpose aside from writing my random bits of nonesensical information. You have been warned.

Read More...


A Quick and Flawed Look Into Spatial Locality and TLB

May 27, 2024

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

May 8, 2024

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

January 14, 2024

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...

Read More...


MATH1800 - Introduction to Mathematical Reasoning

August 28, 2023

This is a course review of MATH1800 - Introduction to Mathematical Reasoning taken at CarletonU in winter 2023. The lectures were synchronous and quizzes was where the weekly quizzes were held. This review is going to be very biased as this is “technically” my 3rd time taking this course. I first took an introductory course to Mathematical proofs over 7 years in 2015 when I first began my studies in Computer Science. This is the first course that introduces you to the world of Mathematics that is very different from the math I have been taught in my entire life...

Read More...


An Uninteresting Glance At Strings

July 27, 2023

An uninteresting post about looking at the generated assembly code of a simple program that just stores a string. I got bored at work and decided to randomly look at strings. Nothing interesting about this post, I just wanted to write something quick to kill time.

Read More...


Fluent Bit Avro Frustration

June 19, 2023

A tale of a clueless programmer trying to figure out how to use Fluent Bit’s “built-in” support to send messages serialized/encoded in Avro, a compact binary format that has types.

Read More...


Duplicate a Fluent-Bit Plugin

May 27, 2023

Today I am exploring how to create a copy of Kafka plugin on Fluent-Bit so that you can modify the plugin without affecting the original plugin. Don’t ask me why would anyone want to do that, it happens. I didn’t even know what Fluent-Bit and Kafka was till very recently and I happened to come across the need to duplicate the plugin to fiddle around with. Mainly to understand what is going on. Not an interesting topic but I haven’t written much blogs this year so this is the topic I chose to write. What is interesting about Fluent Bit...

Read More...


MATH2000 - Multivariable Calculus and Fundamentals of Analysis [Fall+Winter]

May 22, 2023

This is a course review of MATH2000 - Multivariable Calculus and Fundamentals of Analysis taken at CarletonU in the fall of 2022 and winter 2023. The lectures were synchronous but with recorded lectures to accommodate those with COVID-19 or any other illness. This is a review of the first half of the course (the course is 8 months long, 1.0 credit). This blog post is a long one so feel free to skip and read only the course review.

Read More...