• Compiling Tensorflow on macOS HighSierra 10.13.6

    Ever since I got my first macbook in 2011, macOS has always been my favorite OS for coding. However, since none of the current MacBook models come with a Nvidia graphics card, I have to use Ubuntu in my desktop PC to efficiently trian Tensorflow models. And it’s a hassle to switch between two OS’s from time to time. So I looked for an eGPU solu...
  • Things you need to know about Cookie optimization

    HTTP cookies are widely used for authentication and personalization. Cookies are stored in HTTP request headers, transmitted between browsers and servers. It’s very important for us to keep the size of cookies as low as possible to minimize the impact on the user’s response time, especially for a large-scaled system. Use localStorage for stor...

    Read on →

  • CSAPP Walk Through: Chapter 6

    These series of notes are based on the book Computer Systems: A Programmer’s Perspective. So before you read, please make sure you have a hard(soft) copy of the book. The homepage for the book is http://csapp.cs.cmu.edu/. I put these notes here for me to review the book conveniently, hope it helps you as well. The Memory Hirarchy A me...

    Read on →

  • CSAPP Walk Through: Chapter 2

    These series of notes are based on the book Computer Systems: A Programmer’s Perspective. The homepage for the book is http://csapp.cs.cmu.edu/. I put these notes here for me to review the book conveniently, hope it helps you as well. Imformation Storage Bytes Byte is the smallest addressable unit of memory. Every byte of memory ...

    Read on →

  • CSAPP Walk Through: Chapter 1

    These series of notes are based on the book Computer Systems: A Programmer’s Perspective. The homepage for the book is http://csapp.cs.cmu.edu/. I put these notes here for me to review the book conveniently, hope it helps you as well. Information = Bits + Context Files that consist exclusively of ASCII characters are known as text file...

    Read on →