Contents # Contents OLTP OLAP What is the difference between an OLTP and an OLAP database?
OLTP # OLTP stands for “Online Transation Processing”.
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.
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?
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?
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.
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?
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.
Contents # Performance Loop Unrolling Multiple Accumulators An Example SIMD Performance # How do we increase a program’s performance?
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 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.