Blog Posts: Tech & Development

LATEST POSTS

Coding in the AI Era

This is neither another breathless “AI will replace all developers” hype piece nor a dismissive “AI is useless” rant. It is a ground-level account of building UBAN (Github), an open-source C security tool designed to outperform Fail2ban, and what that experience taught me about coding in the AI era.

Categories: Tech & Development AI uban | Updated: Oct 27, 2026 Read Post »

UBAN: A Faster Way to Ban Bad Bots

Summary: This article covers the technical architecture, implementation, and field testing of UBAN (Github)—a lightweight, open-source Linux security agent built in C to outperform Fail2ban. If you haven't already, it is recommended that you read the short layperson-friendly feature list first before diving into the long and deep technical details below.

Categories: Tech & Development AI uban | Updated: Nov 01, 2026 Read Post »

UBAN Help File (uban.help)

The following is the help file of uban V1.0, uban.help. UBAN (Universal Ban Daemon, Github) is a lightweight, open-source Linux security tool inspired by Fail2ban. It monitors application logs for suspicious activity, automatically blocks offending IP addresses through the system firewall, and increases ban durations for repeat offenders.

Categories: Tech & Development uban | Updated: Oct 26, 2026 Read Post »

UBAN Default Configuration (uban.conf)

The following is the default configuration file of uban v1.0, uban.conf. UBAN (Universal Ban Daemon, Github) is a lightweight, open-source Linux security tool inspired by Fail2ban. It monitors application logs for suspicious activity, automatically blocks offending IP addresses through the system firewall, and increases ban durations for repeat offenders.

Categories: Tech & Development uban | Updated: Oct 27, 2026 Read Post »

UBAN: Lightweight, High-Speed IP Banning

Security tools don't need to be complicated or resource-hungry to be effective. UBAN (Universal Ban Daemon, Github) is a lightweight, open-source Linux security tool inspired by Fail2ban. It monitors application logs for suspicious activity, automatically blocks offending IP addresses through the system firewall, and increases ban durations for repeat offenders.

Categories: Tech & Development AI uban | Updated: Oct 27, 2026 Read Post »

One Missing Slash To Blow Your Nginx Server

If you have been following the path to deploying a Django app, you have likely stumbled upon a tutorial by Real Python, the undisputed giant of Python education. Their guide, Securely Deploy a Django App With Gunicorn, Nginx, & HTTPS, is a staple for anyone moving from development to a production server.

Categories: Tech & Development | Updated: Sep 24, 2026 Read Post »

Pi-hole Anywhere: Surf Ad-Free & Private

If you really like Pi-hole for ad-free and improved privacy browsing, and want to turbo-charge it so you can use it anywhere—on 5G, at the airport, or at a café, on any device—this is the ultimate privacy upgrade. This setup is more geeky than just setting up a Pi-hole at home, but it is quite doable with some knowledge of web servers and networking.

Categories: Tech & Development | Updated: Sep 24, 2026 Read Post »

How Apple Eats My Lunch on YouTube

I don’t mean the fruit. I mean the four-trillion-dollar company that many people love—and just as many quietly resent. And it eats my lunch!

Categories: Tech & Development Finance | Updated: Sep 29, 2026 Read Post »

Always Free Powerful Cloud Service in 2026

In the cloud computing arena, Oracle Cloud Infrastructure (OCI) is often treated like the scrappy newcomer. While Amazon AWS, Microsoft Azure, and Google GCP dominated the field a full decade earlier, OCI’s modern Gen 2 architecture didn’t step into the ring until 2016. But while it might be the underdog in seniority, it became an undisputed powerhouse through an audacious weapon: its jaw-dropping Always Free Tier.

Categories: Tech & Development | Updated: Oct 28, 2026 Read Post »

Human VS AI: who wins on what?

I’ll admit it: I’m late to the party. While some have been living in the AI world for years, I only started a few months ago. I began with ChatGPT, but lately, I’ve found myself almost exclusively using the free tier of Gemini.

I have used AI for a lot more than just web development; we’ve discussed a vast range of topics including nutritional science, DIY projects, and the ethics of technology. After a few months of these wide-ranging discussions, I’ve realized that while AI is a powerhouse for data, it hits a very specific wall when it comes to the way humans actually think. Here are the 6 pillars of what AI can and cannot do well.

Categories: Tech & Development AI | Updated: Sep 24, 2026 Read Post »

Custom Django Template Filters: Range & HTML

Custom Django template filters: Range & HTML

One common hurdle for developers is that the Django template system typically doesn't allow Python native functions (like range(), len(), or complex regex) directly within the HTML. This is by design to keep logic separate from presentation, but it can feel restrictive when you need simple functionality.

Custom template filters are the fastest way to bridge this gap. They allow you to bring that missing Python power into your templates without cluttering your views. Filters are especially useful because they keep views thin while enabling reusable presentation logic directly where it belongs.

Categories: Tech & Development | Updated: Sep 24, 2026 Read Post »

人工智能会代替我吗?一个意想不到的答案

摘要: 如果你正在问这个问题,而你的第一反应是恐惧或不作为,那么是的,你将会被取代。另外,本文是英文版翻译稍作修改生成,欢迎阅读英文原版。

为什么你提出的问题本身就预示了你的命运

未来十年最成功的职场人士,不是在问“AI会不会取代我?” 他们在问的是:“我如何利用AI取代我的两个最慢的竞争者?”

Categories: Tech & Development AI | Updated: Sep 24, 2026 Read Post »

Will AI Replace Me? A Surprising Answer

TLDR: If you are asking this question, and your current response is fear or inaction, then yes, you will be replaced.

Why the Question Itself Signals Your Fate

The most successful workers in the coming decade are not asking "Will AI replace me?" They are asking: "How do I use AI to replace two of my slowest competitors?"

Categories: Tech & Development AI | Updated: Sep 24, 2026 Read Post »

Securely Setup PostgreSQL External Access

1. PostgreSQL Installation (Ubuntu)

Categories: Tech & Development | Updated: Sep 24, 2026 Read Post »

Pi-hole: Avoid These 2 Default Settings

Pi-hole is a powerful network-level ad blocker that acts as a "sinkhole"—a black hole for advertisements and trackers. Instead of letting those ads reach your devices, the Pi-hole swallows them whole, protecting every phone, laptop, and smart TV in your house. It is a fantastic tool, and there is an excellent hardware and installation tutorial over at the official Raspberry Pi site that covers the "how-to" perfectly.

However, do not finish your setup until you read this. Most tutorials give "textbook" advice that works in a lab but fails in a family home. If you follow the default settings in most guides, you will very likely find yourself unable to use the internet at all. The software will be running and the lights will be on, but your devices will be stranded. Make sure to come back to this post after you've followed the basic install steps to fix these two traps.

Fix Django TemplateSyntaxError

Our infrastructure uses **Django** alongside **nginx**. We utilize the powerful tool **GoAccess** to parse nginx logs and convert them into beautiful, comprehensive HTML reports (stay tuned for a dedicated blog post on that setup!).

However, a recent update to GoAccess introduced strings like {{#from}} directly into its generated HTML output. Since these closely resemble **Django's template variable syntax** ({{ variable }}), attempting to render the file with Django's standard render() function triggers a fatal:

Categories: Tech & Development | Updated: Sep 24, 2026 Read Post »

Use ufw to configure Linux firewall

This website runs on an Ubuntu virtual machine, and configuring a firewall is paramount to limiting malicious traffic. While Linux relies on iptables for its underlying firewall rules, manually configuring it can be complex. That's why we use UFW (Uncomplicated Firewall)—a front-end tool that makes managing iptables rules simple and intuitive.

Categories: Tech & Development | Updated: Sep 24, 2026 Read Post »