How to Build a Blog Comment System with Free Cloud Services

Thumbnail

The Problem After migrating the blog from WordPress to a static site in 2012, I chose Disqus as the comment system. Recently, Disqus ads have become too intrusive, so I urgently need to find a new comment system. Disqus officially states that removing ads requires a paid subscription. What if I want to remove Ads? If you’d like to remove Disqus Ads from your integration, you may purchase and ads-free subscription from your Subscription and Billing page. More information on Disqus ads-free subscriptions may be found here. ...

2023-11-25 · alswl

GitOps and Version Management

Thumbnail

image via shipvehicles Using GitOps to manage delivery content is a common DevOps practice. We use Git for version control and Git tags to track the versions of deployed software. While this may seem to work, the concept of versioning is far from that simple in the age of cloud-native technology. The Version Problem After introducing GitOps into the DevOps workflow, we can leverage GitOps for continuous integration and continuous delivery. GitOps addresses three core concerns: content, version, and collaboration. Yet we often focus on content and overlook version management. ...

2023-09-23 · alswl

Architecture Design the Easy Way

Thumbnail

image via Pixabay Overview A few days ago, I gave an internal tech talk to my team on best practices for architecture design. I condensed these practices into a 20-character mantra: Architecture looks at the problem Requirements look at use cases Design looks at the model Details look at the sequence I shared this mantra on Twitter, and many friends showed strong interest and wanted to go deeper. So I expanded the ideas from that talk into this article. ...

2023-07-29 · alswl

Pragmatic web API guidlines

Thumbnail

When starting to create a new system, or participating in a new team or project, there is a simple but profound question: Is there a design specification for the API of this system (Web Server)? image by stable difussion, prompt by alswl This issue has bothered me for a long time, starting during my school days, and every time I needed to communicate and discuss with my team members. From the initial free style to the later REST, I often referenced Github v3 to the project team and the Foursqure API (no longer accessible, exposing age) documentation. However, in practice, there are still cases where there is a mismatch with the actual work or the common company specification. This is when I need to do some additional work. Eventually, I will write a brief DEVELOPMENT.md document to describe the design solution. ...

2023-04-03 · alswl

Type system in Python

Thumbnail

image from pixabay.com Static typing is becoming more and more popular. Several languages born after 2010, Go, Rust, TypeScript, etc., have gone the static typing route. Some of the previously popular dynamic languages (Python, PHP, JavaScript) are also actively introducing new language features (Type Hint, TypeScript) to enhance static typing. Having worked on larger projects in Python, I have experienced the difficulties that dynamic languages pose when projects get large: The cost of code regression during the refactoring phase was unusually high, and much of the historical code was afraid to move. Then the technology stack shifted to Java, and being embraced by the type system made people feel safe. ...

2020-06-23 · alswl