Jarvis Will Coming Soon | King Weekly

Model Context Protocol overview MCP (Model Context Protocol) can be understood as a “universal language” for communication between AI and external tools. It’s like a translator, allowing different AI applications (such as chatbots, code assistants) and different tools (like databases, GitHub, calendars) to easily communicate without needing to develop a new interface every time. Why is MCP needed? In the past, if you wanted an AI assistant to access different tools, like a calendar, email, or task manager, you would need to develop a separate interface for each tool (function calling), which resulted in a huge amount of work (N AI applications × M tools = N×M interfaces). MCP simplifies everything: all AI applications only need to support MCP, and all tools only need to support MCP. This way, they can communicate with each other, reducing development costs (N+M interfaces). ...

April 3, 2025 · 4 min · King Jin

Start | King Weekly

Email sending and receiving system The main system is build based on three protocols: SMTP, POP3 and IMAP. SMTP is used for sending emails to the recipient’s email server, but it does not handle receiving emails. User1 sends an email via an email client, and the email is first sent to User1’s email server using SMTP. Then, the email server forwards it to the recipient’s email server using SMTP as well. ...

March 9, 2025 · 5 min · King Jin

Time Complexity Notations

In this semester, I listened the course mit 6.006 in youtube channel. Duirng the course, the professor used different notations to represents time complexity of an algorithm. I learned Big O O(n) notation before, but for Big theta θ(n) and reccurence relations T(n), I never heard them before. Today, I hope I can finally figure them out. What T(n) represents the actual running time of an algorithm O(n) represents the asymptotic upper bound of the running time of an algorithm θ(n) represents the running time when asymptotic upper bound and lower bound of an algorithm ares the same. ...

March 1, 2025 · 2 min · King Jin

My Homelab

This week, I browsed many old machines at ebay to use for my first attempt at setting up a homelab. Initially, I planned to build a machine myself during the summer holiday, but in today I found a great performance and a high cost-effective machine that changed my mind. Overview The machine model is HP-Elitedesk-800-G4-SFF. Compared to its previous generation, the chipset supports 8th and 9th generation of intel core cpu, which offers a significant improvement(6c6t) compare with 6th/7th core cpu(4c4t). Furthermore it provides NVme express in this generation. With these components, I can build a highly cost-effective homelab. The total cost is £150. ...

February 14, 2025 · 3 min · King Jin

JVM's Achievements and Limitations

This semester, I learned OOP from Inf1B, which using java as the official teaching language. What fascinates me the most is why Java has the JVM. I learned Python, C++, js and Haskell before, but all of them doesn’t have a jargon for virtual machine. And then I went to wikipeidia to find out why. In 1995, Sun Microsystems introduced Java and the JVM to the world with an ambitious dream: “Write Once, Run Anywhere.” This WORA philosophy became a reality through the JVM, enabling Java applications to run on any operating system with a compatible JVM. Before talking about the archivements and limitations, Let’s have a look about how JVM works. ...

February 13, 2025 · 4 min · King Jin