June, 2025
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 ...
| .NET | 0 reads
WinForms+psql 工具卡死完整排查筆記
關鍵詞:ProcessStartInfo、管道死鎖、stdout/stderr、-w、非同步 I/O 背景 工具:自行開發的 WinForms「PgBackupRestoreTool」 功能:點擊 Connect → 呼叫 psql -l 測試連線 環境:PostgreSQL 15、Windows 10 ...
| .NET | 1 reads
WinForms + psql 卡死排查全纪录
WinForms + psql 卡死排查全纪录 关键词:ProcessStartInfo、WaitForExit、管道缓冲区、stdout/stderr、-w、异步读取 背景 工具:自写的 WinForms “PgBackupRestoreTool” 功能:按钮点击 → 调用 psql -l 检测连接 环境:PostgreSQL 15,Windows 10 ...
| .NET | 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 之後啟動會問你要不要重新產生憑證 ...
| .NET | 3 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 ...
| Application program | 73 reads
【C#】避免 DataGridView 排序導致取錯行:請用 DataBoundItem 而非 Rows[e.RowIndex]
在使用 WinForms 的 DataGridView 搭配 DataTable 或其他繫結資料來源時,你是否曾遇過以下狀況? ...
| CSharp | 0 reads
ChronoDivide Player Checker
Deep track of your friends in Chrono Divide with automated /whereis commands and live status updates ...
| Application program | 20 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 ...
| Application program | 13 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 ...
| Application program | 8 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 ...
| Application program | 17 reads
🧊讓 WinForms 的 DataGridView 在滾動時變得流暢:啟用 DoubleBuffered 技術
主題為「如何讓 WinForms DataGridView 在滾動時不再卡頓 —— 使用 DoubleBuffered 技術」。 WinForms 的 DataGridView 控制項雖然功能強大,但在面對大量資料、圖片或複雜格式時,滾動畫面經常會出現「卡頓」、「閃爍」的現象。這不僅影響使用者體驗,也讓介面顯得不夠專業。 幸好,透過啟用 DoubleBuffered,我們可以大幅改善這個問題,讓畫面滾動更加順暢 ...
| .NET | 7 reads
【技術筆記】Npgsql 的 CommandTimeout 預設為 30 秒:大量資料查詢失敗的原因竟然是這個
最近在開發一個工具,從 PostgreSQL 匯出大量資料為 CSV。功能本身很單純,平時匯出幾百筆資料沒問題,但當資料筆數上升到幾萬筆時,程式卻開始失敗,並在中途中斷。 初期無法得知錯誤具體原因,只知道程式落入了 catch (Exception) 分支。經過一番調查與錯誤記錄強化,最終找到關鍵錯誤訊息 ...
| SQL | 5 reads