Tech Notes from Steven
Steven Yue's thoughts on computer programming and software development
- Website
- stevenyue.com · all feeds from this site
- Feed URL
https://stevenyue.com/feed.xml
Read it in your FeedListing reader
Or add to: Feedly Inoreader Raw feed
Latest posts
-
Designing for Intelligence: Rethinking APIs, Databases, and Interfaces
“Our new AI assistant can answer any finance question—except when our own API names get in its way.” That was the hard‑earned lesson I learned while developing an LLM‑powered chatbot in our platform. AI Agent as a New Interface Layer AI agent powered by large language models…
-
Exploring Python Task Queue Libraries with Load Test
Task queues play a crucial role in managing and processing background jobs efficiently. Whether you need to handle asynchronous tasks, schedule periodic jobs, or manage a large volume of short-lived tasks, task queue libraries can help you achieve these goals. In this post, I…
-
Principles of Software Architecture Design
When designing software architecture, what principles should guide your approach? Textbook answers often highlight attributes such as: modularity, scalability, resilience, maintainability, extensibility, and testability. These technical measures are undoubtedly important.…
-
The Universe is a Game World (beta)
Updates on 2024-05-18: Adds the English translation Our universe is an extremely advanced game world. The map of this world is infinitely large because it can dynamically expand according to the player’s field of vision. This world is also constantly being improved, so glitches…
-
Http Message Parsing in Java Web Servers
Parsing a request message from a client is the very beginning step of a web server. A typical GET request in text, for example, may look something like this: GET /steventen HTTP/1.1\r\n Host: github.com Accept-Language: en-us Accept: text/json User-Agent: curl/7.16.3 Cookie:…
-
A Bash Function for Sending Slack Notifications
For my small personal projects, I usually use Slack as a central notification and logging system to help me keep track of the state of my applications. Below is a simple bash function that I use a lot in many of my bash scripts in order to send a notification to a Slack channel:…
-
Migrating ActiveModel Serializer to JSerializer
Our API backend service relies heavily on ActiveModel::Serializer for building response objects. We are using version 0.8 which hasn’t been updated for many years. As part of the effort of upgrading our service to Rails 5 (and eventually Rails 6), we start to seek ways to…
-
Commonly Used Linux Commands for Manipulating Files
In the last post , I talked about command line tools that I use very often for search files. In this post, I will talk about command line tools for manipulating files or text content. Don’t forget to use man command to find detailed usage of a command. The following are commands…
-
Commonly Used Linux Commands for Searching Files
The command line utilities that I use most for searching/finding files in Linux operating systems are: find search for files in a directory grep print lines matching a pattern locate find files by name find The basic format of a find command is: find [location] [criteria]…
-
Design Before Writing Code
I always believe requirement analysis and implementation design are two important steps that should not be ignored. No matter how small the team is, no matter how short your release period is, and no matter how much cost you can only afford. I find requirement analysis is hard…