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


MATH1152 - Introductory Algebra 1

January 1, 2022

TLDR: Intimidating at first when learning about fields Easier than MATH1052 Remember Non-singularity Theorem

Read More...


MATH1052 - Calculus and Introductory Analysis 1

January 1, 2022

TLDR: Intimidating at first when learning about fields More difficult than MATH1152 Know your delta-epsilon proofs and other definitions to prove whether a sequence or function converge

Read More...


Dev Blog - Symink Attack - Do not trust config files

December 26, 2021

Now that classes are over for the semester, I decided to resume work on a project I’ve been putting off for a while. ProxyAuth is a passwordless authentication module that allows lazy people like me to access their machine without inputting their passwords. It authenticates the user if their hardware authenticator (i.e. a smartphone) is close to the machine via Bluetooth connection. Currently, the implementation is not convenient and there are a lot of areas that need to be worked on such as the security of the product.

Read More...


A Reflection of My Internship as a Software Build Intern

December 9, 2021

This is a copy of my reflection report I submitted for Professional Experience Year (PEY), a 16 month internship at a company. The contents of this post does not enclosed any confidential information (verified by a manager) and all names will be redacted since this is the internet. Please note that some of the information are outdated and my experience may not reflect what others experience. I did my internship in 2018-2019 before the pandemic when work was not remote.

Read More...


The Value of An Uninitialized Global Variable

November 6, 2021

Recently I started to read C & C++ Under the Hood. As the name implies, the book explores deeper in what goes on in the assembly level using LCC machine language (a simple machine language for educational purposes). One of the fact the author points out is that global variables are initialized to 0. While this should have been common knowledge, I was shocked because I always thought the behavior of an uninitialized variable is garbage (i.e. behavior is undefined and hence can be anything). To my defense, I actively avoid writing code that involves a global variable for various...

Read More...