Coder Trainee
Author

Coder Trainee

Experienced in Java and Python, we share and learn together. For submissions or collaborations, DM us.

190
Articles
0
Likes
1.0k
Views
0
Comments
Recent Articles

Latest from Coder Trainee

100 recent articles max
Coder Trainee
Coder Trainee
Sep 4, 2026 · Backend Development

ComfyUI Java Integration: 3 Open-Source Solutions from Lightweight SDK to Full-Stack Product

This article reviews three open-source Java solutions for integrating ComfyUI AI image generation: a lightweight SDK (ComfyUiApiJava), an API aggregation layer (comfy-flow-api) with Spring Boot 3, and a full-stack enterprise platform (comfyui-openrouter-ai) with user management, credits, and WebSocket progress, helping developers choose by complexity and needs.

AI image generationBackend IntegrationComfyUI
0 likes · 9 min read
ComfyUI Java Integration: 3 Open-Source Solutions from Lightweight SDK to Full-Stack Product
Coder Trainee
Coder Trainee
Sep 3, 2026 · Mobile Development

Complete Guide: Integrating WeChat Virtual Payment for Individual Developers

This tutorial walks individual developers through the entire process of applying for and integrating WeChat Virtual Payment into a mini-program, covering eligibility checks, application steps, key configuration parameters, product creation, frontend and backend integration flows, iOS IAP considerations, a pre-deployment checklist, and two common pitfalls to avoid.

AppKeyIAPIdempotency
0 likes · 10 min read
Complete Guide: Integrating WeChat Virtual Payment for Individual Developers
Coder Trainee
Coder Trainee
Sep 1, 2026 · Artificial Intelligence

Build a One‑Click E‑Commerce Photo Workflow in ComfyUI from Scratch

This article walks through creating a production‑ready ComfyUI workflow that turns a text prompt into a ready‑to‑list product image, explains the e‑commerce use case, details each module, shares hidden tricks, and shows how to expose the flow as a Java‑based API service.

AI image generationComfyUIJava API
0 likes · 9 min read
Build a One‑Click E‑Commerce Photo Workflow in ComfyUI from Scratch
Coder Trainee
Coder Trainee
Aug 31, 2026 · Artificial Intelligence

From Beginner to Pro: Mastering ComfyUI’s Node‑Based AI Image Generation

This article explains why ComfyUI outperforms traditional WebUI by offering a node‑based visual programming workflow, details its three core advantages, provides step‑by‑step installation and a first text‑to‑image pipeline, introduces essential plugins, high‑resolution commercial techniques, and shows how Java developers can use its API as a backend.

AI image generationComfyUIJava API
0 likes · 8 min read
From Beginner to Pro: Mastering ComfyUI’s Node‑Based AI Image Generation
Coder Trainee
Coder Trainee
Aug 29, 2026 · Backend Development

When @Transactional Goes Wrong: Misusing Transaction Propagation Leads to Deadlocks

A real‑world case shows that using @Transactional with the default REQUIRED propagation caused a long‑running transaction, frequent deadlocks, data inconsistency and higher timeout rates, and the article walks through the root cause, investigation steps, and practical fixes such as REQUIRES_NEW, self‑proxy calls, and async eventual consistency.

@TransactionalBackendDeadlock
0 likes · 9 min read
When @Transactional Goes Wrong: Misusing Transaction Propagation Leads to Deadlocks
Coder Trainee
Coder Trainee
Aug 28, 2026 · Backend Development

I Almost Got Fired Using Parallel Stream in Production

A production outage caused by Java 8 parallel streams exposed the dangers of the default commonPool, unlimited task queuing, and long‑running API calls, leading to 100% CPU, 30+ GC events per hour, and a near‑service collapse, which was resolved by custom thread pools, timeouts, and CompletableFuture alternatives.

CompletableFutureForkJoinPoolJava
0 likes · 7 min read
I Almost Got Fired Using Parallel Stream in Production
Coder Trainee
Coder Trainee
Aug 27, 2026 · Operations

How a DNS Resolution Failure Prompted a Full Network Layer Investigation

An intermittent DNS resolution failure caused third‑party API timeouts, leading to a step‑by‑step investigation that revealed an unstable public DNS server, and resulted in four practical solutions including switching DNS servers, adjusting JVM cache settings, adding hosts entries, and implementing retry logic.

DNSJVM cachehosts file
0 likes · 6 min read
How a DNS Resolution Failure Prompted a Full Network Layer Investigation
Coder Trainee
Coder Trainee
Aug 26, 2026 · Operations

How a Single Git Mistake Rolled Back Three Days of Production Code

A developer mistakenly ran a hard reset and forced push on the main branch, rolling back three days of production code; the article walks through the incident timeline, impact assessment, emergency recovery steps, root‑cause analysis, and preventive measures such as branch protection and safer Git commands.

Branch ProtectionDevOpsForce Push
0 likes · 7 min read
How a Single Git Mistake Rolled Back Three Days of Production Code
Coder Trainee
Coder Trainee
Aug 25, 2026 · Artificial Intelligence

Step-by-Step Guide to Installing DeepSeek Harness (dsh)

This tutorial walks you through installing DeepSeek Harness (dsh), covering Node.js version checks, quick one‑command setup, source‑code installation with pnpm, Docker options, and initial API key configuration for the web UI on your local machine.

DSHDeepSeekHarness
0 likes · 5 min read
Step-by-Step Guide to Installing DeepSeek Harness (dsh)