Skip to main content

Others

2024

OLTP v OLAP

·1 min
Contents # Contents OLTP OLAP What is the difference between an OLTP and an OLAP database? OLTP # OLTP stands for “Online Transation Processing”.

2023

Tracing Traceroute: What I learnt about the Internet

·2 mins
The Internet is a fascinating and complex system. This article investigates one part of the internet through the program known as traceroute. After this article, you will know, What traceroute does What the IP protocol does What an autonomous system is What the BGC protocol does What is Traceroute # Traceroute is a simple program. To start run something like traceroute google.com in your shell.

DNS

·8 mins
The Domain Name System. Contents # Contents What is DNS The History of DNS The Hosts File A Need for DNS Current Day DNS Caching Conclusion and Further Reading What is DNS # You type in wikipedia.org into your browser. What happens next?

Caching

·6 mins
Contents # What is a Cache Spatial and Time Locality Amdahl’s Law SRAM and DRAM How does the Cache Work? Cache Hits Cache Misses: Writing to the Cache Caching Reads and Writes How Does Data Move Between Caches Cache Access Times Data and Instruction Caches Simulating the Cache A Practical Example Resources What is a cache, and why do we have them?

Assembly

·2 mins
Programming can be hard. Programming in assembly is very hard. A compiler will take your code and output the assembly equivalent. It’s usually very good assembly, which is one reason we don’t usually write code using assembly.

Unicode Transformation Format (UTF-8)

·2 mins
So you’ve heard of UTF-8, but what exactly is it? UTF stands for Unicode Transformation Format. UTF-8 is one way to represent Unicode characters. Setup # Ever wondered how emojis are represented in your computer?

Virtual Machines and Interpreted Language

·2 mins
In order to run code, we sometimes need to compile it. Some are compiled into machine code (C, Go), others are compiled into a bytecode format (Java, Python). Today, we look into some of these and how code from these languages actually runs on your CPU.

Performance

·4 mins
Contents # Performance Loop Unrolling Multiple Accumulators An Example SIMD Performance # How do we increase a program’s performance?

Floating Point Numbers

·5 mins
Today, I learnt about floats. I learnt about what they are, how they work, and why you’d use them. #Python factlet: Signed zeros are weird. >>> x = -0.0 >>> x + x -0.0 >>> x - (-x) -0.0 >>> math.sqrt(x) -0.0 >>> pow(x, 0.5) 0.0 Interestingly, all of this is necessary to comply with floating point standards.

2021

Wrap up and Reflections

·3 mins
So here we are. The end. Progress was very slow to non-existent near the end of this challenge. I nearly completed all of the blog posts, but missed the last 12 posts. Business is no excuse but I was getting ready to move interstate to begin work in Melbourne.

Leaving Gains On The Table

·1 min
I was in the gym with a friend recently. He didn’t know what workout he was going to do when he arrived. He wasn’t tracking his lifts. I am no gym expert but it was very obvious that he wasn’t maximising his gains in the gym.

Personality Changes

·1 min
I’m moving to Melbourne pretty soon. In 13 days to be exact. I’ve noticed changes in my personality already. I once heard this story. This boy is offered an opportunity to be a monk in a cave with a older man for 10 years. There is no going back once he has left.

Thinking of Ideas

·1 min
It’s sometimes hard to think of ideas. Like you just can’t put something on the page. But ideas are all around us. Inspiration is everywhere. Instead of pushing to be inspired, let the inspiration come to you.

Questions First

·1 min
The other night I was chatting with some friends. We were talking about controversial topics like what’s happening at the moment in America. There are some topics like this that are very polarising. When people hear these things being said, they instantly go to one side and prepare to fight against the other.

I'll be happy when

·1 min
A problem I often fall into is not being happy right now, and saying that I will be happy when another event happens. I will be happy when…. The Problem # When you say this, you are getting this temporary kick of how it feels to experience that event. You are using that future event to feel good now.

How to Stay Motivated

·2 mins
I was chatting to a friend last night. He was looking at all the content that I’ve produced over the last few weeks. He asked me, “How do you stay motivated?” I gave him three reasons.

Show Your Work

·1 min
I just finished reading the book “Show Your Work” by Austin Kleon. In this book, Austin outlines how showing your work is beneficial for yourself and your brand. Many of us only show the finished product, the final result. We don’t tell our audience all the things that we did along the way. All the mistakes and achievements.

The Best Mindset

·1 min
There’s this thing known as the growth mindset. It’s the mindset that a person has, they believe that they can improve. In Carol Dweck’s book “Mindset”, she shows the research that has gone into this mindset and how people who think in this way typically have more interesting and fulfilling lives.

A Clean Room is a Clean Mind

·1 min
Typically when my room gets messy, it’s during times that I’m either super busy, or in a bit of a mental low Having a messy room seems to be also correlated with having a messy mind. When my room is messy I typically have

Politics

·2 mins
Politics is probably the most divisive it has ever been at the moment. People from both sides of the spectrum cast hate towards the other side, with a complete lack of empathy for another persons circumstances.