Apache Kafka and A Comparison with RabbitMQ

Kafka Introduction Apache Kafka is heavily used in my work now. Therefore, I thought it would be useful and helpful to write a post about it. Kafka is an event streaming platform. Apache Kafka defines event streaming as the following: Technically speaking, event streaming is the practice of capturing data in real-time from event sources like databases, sensors, mobile devices, cloud services, and software applications in the form of streams of events; storing these event streams durably for later retrieval; manipulating, processing, and reacting to the event streams in real-time as well as retrospectively; and routing the event streams to different destination technologies as needed. Event streaming thus ensures a continuous flow and interpretation of data so that the right information is at the right place, at the right time. ...

December 23, 2022 · 4 min · 696 words · Justin Hu

Faster Python: Python 3.11 Release and Future Roadmap

Python is a popular programming language, especially in scripting, web development, data analytics, and ML/AI domains. According to TIOBE Programming Language Index, Python has become the most popular programming since 2022, exceeding good old C: Python has gained popularity because of its flat learning curve (compared to other languages such as C/C++), human-readable code, and thriving ecosystems. However, Developers have always complained about python not being fast or even slower than other interpreting languages like JS or Lua. ...

December 3, 2022 · 2 min · 393 words · Justin Hu

Logic, Reason, and the Incompleteness of Mathematics

A fun fact is that the name of this website comes from the book: Logicomix: an Epic Search for Truth. This article is more or less a review of the book. Logicomix is a graphic novel(or a comic book) depicting the life of the renowned British mathematician, philosopher, logician, writer, and public intellectual Bertrand Russell, particularly Russell’s quest for fundamental and absolute truth by attempting to establish a new rigid and provable foundation for mathematics. ...

November 8, 2022 · 4 min · 700 words · Justin Hu

Technology, Human Shortcomings, and Faith

Billy Graham probably is the greatest evangelist of the 20th century, and his teaching is ever-lasting, timeless, and of fundamental truth. I feel I am so glad our world had such a great preacher like Billy Graham, a living proof of God’ grace and glory. Speaking at TED in 1998, Billy Graham discussed the power of modern technologies to improve lives but pointed out three problems technology can’t solve: Human evil, suffering, and death. ...

September 18, 2022 · 1 min · 111 words · Justin Hu

The Grotesqueness of Modern Cities

Boring and Plainness of Modern Cities I often find modern cities not beautiful, sometimes even ugly. I held such feelings while I was in China. At that time, I thought it was understandable that China didn’t possess many classical and beautiful buildings, given most old buildings in China used wood and were vulnerable to fires, not to mention the intentional demolishing of old buildings during the Cultural Revolution. I was expecting something different from Canada but was quite disappointed by the harsh realities. From an architectural perspective, Toronto is nothing but an identical replica of modern cities in China: skyscrapers after skyscrapers, office buildings after office buildings. ...

September 5, 2022 · 2 min · 288 words · Justin Hu