Blogs / Personal blogs

Thomas Tay

thomastay.dev

Thomas Tay Ang Chun's Website. I'm a software engineer at Microsoft Teams

Popular posts
1
Total points
145
HN comments
18
Rank
#16,354 personal

Visit thomastay.dev → On Hacker News Nov 2021 – Nov 2021

Systems & Performance 1Software Engineering 1

1

Decompressing a Gzip File by Hand

2024 Update: Part 2 is out! Let’s make a gzipped file and see what’s in it. We’ll keep it simple: just write 8 ‘a’s to a file. $ echo "aaaaaaaa" > test.out $ xxd test.out 00000000: 6161 6161 6161 6161 0a aaaaaaaa. As we can see, our file is 9 bytes long. We have 8 ‘a’ bytes written, plus a Line Feed (LF) character…