Sending HTTP Requests Reliably When a Page Unloads

Sometimes you need to send a log or save a quick state right when a user closes the tab or moves to another page. If you just call a normal fetch() or axios request, the browser often cancels the network call mid-flight as the page unloads. Using Navigator.sendBeacon() Navigator.sendBeacon() is a browser API built to send small data reliably when a page is unloading. It hands the request off to the browser in the background, so it does not block the next page navigation while still finishing the request....

Jul 2, 2026 · 2 min · Jaehyun Hong · Browser

Moving NaverWorks Emails to Folders with Non-ASCII Names in Python (with GAS Batch & Modified UTF-7)

I recently worked on a project to automate email workflows for an acquaintance’s company. The goal was to extract information from invoice PDF attachments and upload it to Google Sheets using Google Apps Script (GAS). As part of this workflow, I needed a post-processing step to move processed emails to an archive/completed folder. Initially, I hoped to use the official NaverWorks API to handle this, but discovered that the NaverWorks email API does not support a “Move” action....

How I Verified a Legacy Spring to Spring Boot Migration Without Losing Data

When moving an old Spring legacy project to Spring Boot and Docker, the scariest moment is always flipping the switch in production. No matter how much you test on local or staging, it is hard to reproduce every weird request parameter and edge case from real users. If data silently gets corrupted or lost after launch, fixing it later takes way more effort. So during the migration, I put two safety nets in place before cutting over....

Fixing Memory Issues in Large Excel Export and Import with Apache POI SXSSF

When building admin or B2B back-office systems, Excel download and upload are pretty much required features. In Java, Apache POI is the standard library, and at first I just implemented it with XSSFWorkbook without thinking too much. On local with a few hundred test rows, it worked fine. The problem showed up in production after real data piled up. A user clicked download for tens of thousands of rows, the screen froze for a long time, and the server crashed with OutOfMemoryError: Java heap space....

From Common Code Tables to Enum and IDL

If you work on SI projects in Korea, there is a table pattern you see almost everywhere. It is the Common Group Code table and the Common Detail Code table. Usually people use these two tables together like below, and most SI projects still work this way. TB_CMMN_GRP_CD (Common Group Code) GRP_CD VARCHAR(20) (PK) GRP_CD_NM VARCHAR(100) USE_YN CHAR(1) REG_DT DATETIME TB_CMMN_CD (Common Detail Code) (1:N) GRP_CD VARCHAR(20) (PK, FK) DTL_CD VARCHAR(20) (PK) DTL_CD_NM VARCHAR(100) SORT_ORD INT USE_YN CHAR(1) You put things like order status or payment type into these tables, and when showing them on the screen, you join the common code table or use a subquery to get the code name....

What I Learned About Requirements and Features on SI Solution Projects

When you bring a solution into an SI project, there is something you run into almost every time. The way our default solution works and the way the client team actually works every day rarely match 100%. From the solution side, you want to keep the base structure clean. From the client side, they just want the system to fit their daily job. At first, I wasn’t really sure how to balance this....

Moving from an Outsourced Role to a Direct Contract on Site

It has already been a few months since I was dispatched from Hwajung Soft to work on the Ezencloud solution project at Enders. When I first started on site, even reading the existing code was hard, and I worried a lot about how much I could actually help. Thankfully, the people I worked with on site liked how I worked, and they offered me a direct contract with Enders. Honestly, I don’t think I stood out because of some special technical skill....

Turning Repetitive Manual DB Requests into an Admin Feature

When running a live service, similar requests show up in the dev team chat several times a day. Things like “Could you manually change this order status in the DB?” or “Please adjust this user’s points for us.” At first, there were only a few requests, so I just ran a quick query and moved on. After a few months though, it kept breaking my focus while coding, and the ops team also hated waiting around for a developer whenever something was urgent....

How Much of AWS Should a Small Team Actually Use When Moving a Server?

When you need to move a legacy system to AWS or set up new infrastructure, searching for “AWS best practices” shows a lot of impressive architectures. Things like EKS, multi-region setups, full Terraform modules, and service mesh. Of course, those setups make total sense for big tech companies with huge traffic and dedicated infrastructure teams. But in SI projects or smaller teams where I have mostly worked, the reality is very different....

Deploying a Blog with Hugo + Papermod on Cloudflare Pages

For the new year 2022, I am setting up a new blog environment. I will use Hugo and the Papermod theme to keep the deploy simple and clear. Create and Build Hugo Project Install Hugo and make a new site hugo new site hongjaepage cd hongjaepage git init Add the Papermod theme git submodule add https://github.com/adityatelang/hugo-PaperMod.git themes/PaperMod Add theme setting in config.yml and test on local hugo server -D Deploy to Cloudflare Pages Push the project to a GitHub repo....

Parts of this were translated using AI, so excuse any robot vibes.