Skip to content

Instantly share code, notes, and snippets.

View lcw99's full-sized avatar

Chang W. Lee lcw99

  • Smallet Networks Inc.
  • Seoul, Korea
View GitHub Profile
@lcw99
lcw99 / Lessons from Building SajuGPT.md
Last active April 26, 2025 08:20
Small Models, Niche Success: Lessons from Building SajuGPT, a Fortune-Telling AI Chatbot

Small Models, Niche Success: Lessons from Building SajuGPT, a Fortune-Telling AI Chatbot

For the past 18 months, I've been running SajuGPT, an AI chatbot focused on the specific domain of "Saju" – traditional Korean fortune-telling and cosmology. When we started, neither investors nor I were certain it would work. From the outset, we made a conscious decision to avoid relying on large API-based models like ChatGPT. Instead, we focused on fine-tuning smaller models (under 10 billion parameters). Our strategy wasn't to attract a few high-paying users, but to build a large, engaged base of free users.

This journey involved numerous experiments with various sub-10B models. The key takeaway? A well-tuned smaller model can achieve user satisfaction levels comparable to, or even exceeding, large language models (LLMs) within its specific niche. We proved this without significant advertising spend, relying almost entirely on viral growth and word-of-mouth.

The following

The Gotcha with package_info_plus in Flutter Web Applications

When developing Flutter web applications, many developers use the package_info_plus package to retrieve app version information. However, there's a crucial gotcha that you need to be aware of, especially when implementing version checking or update mechanisms.

Understanding the Issue

The problem lies in how package_info_plus works specifically in web environments. Unlike mobile platforms where version information is embedded in the app bundle, Flutter web handles this differently:

  1. During the build process, Flutter web generates a version.json file
  2. This file is placed in your web distribution folder
@lcw99
lcw99 / fix_color_profile.md
Last active January 23, 2025 15:06
Fixing Pinkish Hue on Samsung Monitor in Ubuntu 22.04: A Step-by-Step Guide

Fixing Pinkish Hue on Samsung Monitor in Ubuntu 22.04: A Step-by-Step Guide

If you recently noticed that your Samsung monitor is displaying a pinkish hue instead of proper grayscale tones on your Ubuntu 22.04 system, you might initially suspect that your monitor or graphics card is malfunctioning. However, if your monitor works fine with another device, like a Windows notebook, and another monitor works well with your current setup, the issue is likely related to the color profile settings on your Ubuntu system.

In this guide, I'll walk you through diagnosing and fixing this issue by adjusting the color profile of your monitor using command line tools. By the end, your display should return to the expected colors.

Step 1: Diagnose the Issue

Before jumping to solutions, ensure that the problem is indeed with the color profile settings:

Enhancing SEO in Flutter Web Projects with Next.js Integration

When building websites with Flutter, a significant challenge encountered is Search Engine Optimization (SEO). The main issue arises because search engine crawlers often fail to index the text content in Flutter web applications. This limitation stems from the fact that Flutter web builds essentially result in static websites, which aren't crawler-friendly by default.

Addressing this challenge with Flutter alone is a daunting task. Given the nature of static sites produced by Flutter web builds, incorporating an additional web project, like one built with Next.js, becomes essential. This approach is not only about solving crawling issues but also about dynamically providing appropriate meta tags based on the content, which is nearly impossible with just Flutter.

Rather than struggling with these limitations, a practical solution involves embedding your Flutter web site within a server-side rendering project like Next.js. This method allows fo