ChronoDivide Player Checker

eep track of your friends in Chrono Divide with automated /whereis commands and live status updates ...

2025-06-24 15:33:25 | 8 reads

ChronoDivide Player Checker – Update Notes

The ChronoDivide Player Checker has received a series of updates focused on usability, customization, and performance. From a revamped interface to smart automation and real-time status sorting, this tool is becoming a powerful companion for tracking players across ...

2025-06-24 15:24:33 | 7 reads

Website Rebuild & Patch Notes

After months of planning and development, I'm excited to share the fully rebuilt version of my website. This update marks a major shift in both design and architecture — moving away from the legacy ASP.NET Core 2.1 MVC framework to a modern .NET 8 Blazor Web App, combining both Blazor Server and WebAssembly. In this post, I’ll highlight the ...

2025-03-24 06:32:25 | 75 reads

[CONTENT] Learn JLPT N2 Grammar

[1] How to use "あげく"? "あげく"の例文 [2] Learn JLPT N2 Grammar: あまり(に)の例文 [3] Learn JLPT N2 Grammar: "以上"の例文 [4] What does "以上" mean? How to use "以上" correctly? [5] What's the difference between 一方で and 一方だ? How to use them? [6] Learn JLPT N2 Gra ...

2021-01-03 04:56:10 | 5k reads

How I Unblocked a Hanging WinForms + psql Tool

Keywords: ProcessStartInfo, pipe dead-lock, stdout / stderr, -w, async I/O Background App: a custom WinForms “PgBackupRestoreTool” Check: on Connect it spawns psql -l to test the connection Stack: PostgreSQL 15 on Windows 10 Everything worked on PC-A, but on PC-B the progress bar spun forever. Manual CLI tests succeeded ...

2025-06-30 06:45:13 | 0 reads

WinForms+psql 工具卡死完整排查筆記

關鍵詞:ProcessStartInfo、管道死鎖、stdout/stderr、-w、非同步 I/O 背景 工具:自行開發的 WinForms「PgBackupRestoreTool」 功能:點擊 Connect → 呼叫 psql -l 測試連線 環境:PostgreSQL 15、Windows 10 ...

2025-06-30 06:44:16 | 1 reads

WinForms + psql 卡死排查全纪录

WinForms + psql 卡死排查全纪录 关键词:ProcessStartInfo、WaitForExit、管道缓冲区、stdout/stderr、-w、异步读取 背景 工具:自写的 WinForms “PgBackupRestoreTool” 功能:按钮点击 → 调用 psql -l 检测连接 环境:PostgreSQL 15,Windows 10 ...

2025-06-30 06:43:18 | 0 reads

✅ 撤銷 dotnet dev-certs https --trust 的方法

​ 撤銷 dotnet dev-certs https --trust 的方法 🧼 方法 1:刪除開發憑證(最乾淨) 在命令列(cmd 或 PowerShell)執行: dotnet dev-certs https --clean 這會: ❌ 刪除目前使用中的 ASP.NET Core HTTPS 憑證(包含已信任的) ✅ 相當於「清除 --trust 的後悔藥」 ✅ Visual Studio 之後啟動會問你要不要重新產生憑證 ​ ...

2025-06-28 12:03:53 | 2 reads

⚠️ Fixing “npm.ps1 cannot be loaded because running scripts is disabled” in PowerShell

​ When working on a Node.js project in Windows using PowerShell, you may encounter this error: npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system. This happens because PowerShell's execution policy restricts running ​ ...

2025-06-27 12:00:42 | 8 reads

【C#】避免 DataGridView 排序導致取錯行:請用 DataBoundItem 而非 Rows[e.RowIndex]

在使用 WinForms 的 DataGridView 搭配 DataTable 或其他繫結資料來源時,你是否曾遇過以下狀況? ...

2025-06-27 11:00:08 | 0 reads

🔍 [Fix] TortoiseGit Icon Overlays Not Showing? One Half-Width Space Beats OneDrive!

Have you ever installed TortoiseGit, set up your repositories correctly, and yet... no overlay icons appear on your files or folders? No green checkmarks, no red exclamations, no modified icons — nothing. Don't worry, you're not hallucinating. You're just a victim of one of Windows’ strangest limitations. Let’s expose the real reason and show you how to fix it with just a single half-width space ...

2025-06-23 00:25:49 | 3 reads

Privacy Policy for ChronoDivide Player Checker

This privacy policy outlines how ChronoDivide Player Checker handles your information when you use our extension. We value your privacy and are committed to protecting the data you share with us ...

2025-06-14 17:31:44 | 17 reads

🧊讓 WinForms 的 DataGridView 在滾動時變得流暢:啟用 DoubleBuffered 技術

主題為「如何讓 WinForms DataGridView 在滾動時不再卡頓 —— 使用 DoubleBuffered 技術」。 WinForms 的 DataGridView 控制項雖然功能強大,但在面對大量資料、圖片或複雜格式時,滾動畫面經常會出現「卡頓」、「閃爍」的現象。這不僅影響使用者體驗,也讓介面顯得不夠專業。 幸好,透過啟用 DoubleBuffered,我們可以大幅改善這個問題,讓畫面滾動更加順暢 ...

2025-06-12 02:24:11 | 7 reads

【技術筆記】Npgsql 的 CommandTimeout 預設為 30 秒:大量資料查詢失敗的原因竟然是這個

最近在開發一個工具,從 PostgreSQL 匯出大量資料為 CSV。功能本身很單純,平時匯出幾百筆資料沒問題,但當資料筆數上升到幾萬筆時,程式卻開始失敗,並在中途中斷。 初期無法得知錯誤具體原因,只知道程式落入了 catch (Exception) 分支。經過一番調查與錯誤記錄強化,最終找到關鍵錯誤訊息 ...

2025-06-06 00:50:48 | 5 reads

因 DateTime.Now 而當機:EF Core 寫入 timestamptz 的致命陷阱

以下是一篇以部落格形式撰寫的技術分享,用來說明「為什麼用原生 SQL 傳入 DateTime.Now 不會出問題,但透過 Entity Framework Core(EF Core)卻會拋出 Kind=Local 到 timestamptz 的異常」,並給出三種解決方案。 EF Core 與原生 Npgsql 在 DateTime 映射上的差異 ...

2025-05-15 08:25:53 | 4 reads

WinForms 非同步必學:用 async/await 擺脫 UI 卡頓

背景 在按鈕事件中若直接執行同步 I/O(如 ToList())或耗時計算,會鎖死 UI,畫面無法拖曳、重繪,甚至被系統標示為「(無回應)」。 1. await 的核心作用 分段執行 遇到 await 時,方法會將後續程式拆成 callback,先把控制權還給 WinForms 的訊息迴圈。 保證順序 有 await,後續程式碼僅在被 await 的 Task 完成後才執行;若忽略 await,便可能「fire-and-forget」 ...

2025-05-15 07:01:39 | 2 reads

📊 用 ClosedXML 讀取三行合併表頭的 Excel 資料(含欄位名稱查找技巧)

​ 在處理 Excel 檔時,表頭不一定總是單行的。有些報表的表頭可能會長成這樣: | 資産情報 | 担当者 | | | 氏名 | 年齢 | | | 氏名 | 年齢 | 這樣的三行表頭、跨列合併,對程式來說根本就是「惡夢」。 你想做的事可能很簡單: 根據「欄位名稱」去讀取對應的資料列,比如 "担当者 > 氏名 > 年齢"。 但 ClosedXML 並不會自動幫你解析這種結構,我們要自己動手,把「表頭→欄位編號」的對照表建立出來 ​ ...

2025-05-08 11:04:25 | 5 reads

我在用 Npgsql 搭配 EF Core 遇到的超大陷阱:UseSnakeCaseNamingConvention() 根本不存在!

我在使用 Npgsql.EntityFrameworkCore.PostgreSQL 搭配 Entity Framework Core 開發 PostgreSQL 專案時,想讓 KobetuCd 這類 C# 屬性自動對應資料表中的 kobetu_cd 欄位。網路上許多文章提到 .UseSnakeCaseNamingConvention(),說加上就能解決命名不對應的問題。 結果我死命找都找不到 UseSnakeCaseNamingConvention(),查了半天才發現這個方法根本不屬於 Npgsql,而是來自另外一個社群套件 ...

2025-05-07 08:49:21 | 6 reads

🛠️ PostgreSQL Backup/Restore Tool 使用介紹

本工具是一套圖形化介面的 PostgreSQL 備份與還原工具,支援標準 SQL(Plain SQL)與自訂格式(Custom Format)的備份與還原作業,適用於資料庫管理員與開發人員日常維護作業 ...

2025-05-02 06:03:47 | 2 reads

.NET 8 WinForms 使用 PostgreSQL + LINQ 實例教學

​ 如果你正在啟用 .NET 8 WinForms 對 PostgreSQL 執行 LINQ 操作,這篇簡明教學就是為你擾備的。 ᵀ. 安裝 NuGet 套件 打開 NuGet 套件管理器,執行: dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL ᵁ. 建立 DbContext 新增 BKDbContext.cs ​ ...

2025-05-02 01:44:18 | 2 reads

...