Install TensorFlow GPU on Windows – A complete guide

TensorFlow is an end-to-end open-source platform from Google for machine learning. If you want to study AI or work on an AI project, setting up a development environment with TensorFlow on a local machine will allow you have a smooth sailing. GPU (Graphics processing unit) is a specialized processor originally designed …

Continue reading

Install PyTorch GPU on Windows – A complete guide

pytorch feature

PyTorch is an open-source machine learning framework originally from Meta Ai. If you want to study AI or work on AI projects, setting up a development environment with PyTorch on a local machine is essential for many projects. GPU (Graphics processing unit) is a specialized processor originally designed to process …

Continue reading

Big O Notation Cheat Sheet – Leetcode Big O Notebook

Big O notation cheat sheets

The Big O notation Cheat Sheet provides the Big O notations for data structures and algorithm, including arrays, linked list, trees, hash tables, graphs, sorting, search, recursion, DFS and BFS, and memoization, Dynamic programming etc. It also includes leetcode Big O Notebook for common interview questions. The links are provided …

Continue reading

ChatGPT Architecture Illustrated

OpenAI LLM models

ChatGPT’s Large language models includes GPT-3, InstructGPT, ChatGPT, and GPT-4 etc. This post explains the models, including ChatGPT architecture diagram. Table of Content GPT-3: Introduce Large Language Model InstructGPT: Reinforcement learning with human feedback ChatGPT: Utilization is the king GPT-4: Introduce Artificial Generative Intelligence (AGI) OpenAI Timeline and FAQ 1. …

Continue reading

Google Translate Architecture Illustrated

Google translate

Google Translate is an application to translate one language to another in real time. The Google Translate App can translate from handwriting, voice, and camera, and outputs speech and text-over-image. Google Translate uses Google neural machine translation. This post explains Google Translate architecture and technologies, especially how Google Translate uses …

Continue reading

Eclipse settings you must know

eclipse feature

Eclipse is one of the most popular IDEs for Java development. Some of the settings are “hidden” and take time for you to find out. Some problems, such as Eclipse removing red marks on projects, are annoying. Here I list some eclipse java settings that will help you save time. …

Continue reading

TikTok System Design – Architecture Illustrated

Tiktok feature

TikTok is a video-sharing app that lets users create and share short videos. It impresses users with its personalized recommendations just “for you” precisely. It is highly addictive and very popular among young people. Behind it, it is powered by artificial intelligence technologies. This post is an overview of TikTok …

Continue reading

Zoom Architecture Illustrated

Zoom architecture

Table of Content Zoom Architecture Distributed cloud-native infrastructure Network technologies Security Back-of-the-envelope calculation 1. Zoom Architecture The key components are Zoom client, Data Centers, Public Cloud, and Web infrastructure. 1. The Zoom Client is the software on computers and devices to access the Zoom servers. It performs video content processing, …

Continue reading

Types of Algorithms and algorithm examples Illustrated

algorithms examples

An algorithm is a set of rules that instruct the computer how to perform a task. This post lists the types of algorithms and their examples, such as Binary search, sorting, Divide and conquer, Two pointers, Greedy, Recursion, Backtracking, and Dynamic programming. The algorithms illustrated provide a glimpse of algorithms …

Continue reading

Data structures and Java collections

data structures and java apis

Java collections are Java built-in libraries provided by JDK. You don’t have to implement your own data structures classes and methods. You can directly call the library. Before we list the Java Collections, the original data structures are introduced. There are arrays, linked lists, stacks, binary trees, hash tables, and …

Continue reading