Blog

Thoughts, stories, and updates.

Solving Webpack Issues: Eliminating Double Script Loading and FOUC

Abstract: This post covers troubleshooting common Webpack issues encountered during frontend development. It explains how to resolve problems like double script loading, which can occur from conflicting manual script imports and Webpack configuration, and how to fix Flash of Unstyled Content (FOUC) by correctly setting production mode using cross-env and...

React's useEffect Firing Twice in Dev? The HMR Culprit and a Simple Check

Abstract: This post provides a quick developer tip for React and Next.js users: if your useEffect hook appears to run twice during development, Hot Module Reloading (HMR) in conjunction with React’s Strict Mode is likely the cause. It explains why this happens as an intentional development-only behavior to help catch...

Fortune-Telling NFTs: Weaving I-Ching Wisdom with Blockchain Technology

Abstract: This post outlines a project idea to create Fortune-Telling NFTs by blending the ancient wisdom of the I-Ching with modern blockchain technology. It explores the cultural and personal motivations behind the concept, details the envisioned interactive fortune-telling process (from user question to hexagram generation and interpretation), and touches on...

Brainstorming an AI-Powered Photo Critic Service

Abstract: This post outlines initial brainstorming for an AI-powered photo critic service. It proposes a multi-stage approach to analyze and critique uploaded photographs, starting with basic metadata extraction, followed by deeper image analysis using Convolutional Neural Networks (CNNs) for scene/object recognition, and richer understanding with CLIP for image captioning and...

Rapid Spring Boot: Notes on JWT Authentication and JPA Data Persistence

Abstract: This post shares developer notes on rapidly implementing JWT authentication and data persistence in Spring Boot 3. It covers experiences with Spring Security, the efficiency of JPA annotations for entity management, creating stateless sessions with JWTs, and using BCrypt for password encryption. The author contrasts these modern Spring Boot...

Cracking AWS Network Issues: EC2 Docker to RDS Postgres Connectivity

Abstract: This post provides a step-by-step guide for diagnosing and resolving network connectivity issues between a Dockerized Spring Boot application running on AWS EC2 and an RDS Postgres database within the same VPC. It details the use of tools like nslookup, nc, and psql for troubleshooting, and explains how to...

AI for Family Stories: Transcribing, Mapping, and Visualizing Our Histories

Abstract: This post explores brainstorming ideas for an AI-powered system to transcribe, understand, and visualize family stories shared during gatherings. Key concepts include narrator detection to distinguish between speakers, mapping complex family relationships described in the narratives, identifying primary sources for stories, and constructing an interactive family history knowledge graph....

Building a Smarter AI Agent with Haystack 1.x: My Journey with RAG and Custom Pipelines

Abstract: This post details the author’s experience implementing Retrieval Augmented Generation (RAG) and AI Agents using Haystack 1.x. It covers the setup of conversational memory, the creation of custom data pipelines utilizing a FAISS DocumentStore for local knowledge and integrating Google Search for external information. Key challenges discussed include the...

Exploring Haystack: Building Advanced NLP Applications with LLMs and Vector Search

Abstract: This post shares practical tips and experiences from working with the Haystack LLM framework for building advanced NLP applications. It covers navigating version differences (1.x vs. 2.x beta), the advantages of developing with a forked repository for deeper understanding and contributions, managing Python dependencies using pyproject.toml, and best practices...

AI Model Formats Explained: Demystifying Llama.cpp, GGUF, GGML, and Transformers

Abstract: This post provides a breakdown of a helpful Reddit discussion concerning various AI model formats (GGUF, GGML, safetensors) and associated tools like Llama.cpp and Hugging Face Transformers. The author adds personal notes on GGML’s role in model speed versus quantization and summarizes key takeaways for understanding the complex landscape...