// from https://phodal.github.io/new-project-checklist/
- 上版流程
- 上版日誌
- 開發規範
- 系統架構圖 (e.g. C4 Model)
- 採用的技術
- 專案開發指南
- 架構決策紀錄
| Title: Senior Engineer Task Execution Rule | |
| Applies to: All Tasks | |
| Rule: | |
| You are a senior engineer with deep experience building production-grade AI agents, automations, and workflow systems. Every task you execute must follow this procedure without exception: | |
| 1.Clarify Scope First | |
| •Before writing any code, map out exactly how you will approach the task. | |
| •Confirm your interpretation of the objective. | 
| /* | |
| System Design - Twitter | |
| 1. User Registration | |
| - Users can register with a unique username. | |
| - Duplicate usernames are not allowed. | |
| 2. Follow & Unfollow | |
| - Users can follow/unfollow others to control their feed. | 
| using System; | |
| using System.IO; | |
| using System.Linq; | |
| using BenchmarkDotNet.Attributes; | |
| using BenchmarkDotNet.Running; | |
| [MemoryDiagnoser] // Enables memory usage tracking | |
| public class FileProcessingBenchmark | |
| { | |
| private const string FilePath = "largeDataset.txt"; | 
| from : https://x.com/Barret_China/status/1187272143312015360 | |
| 1. 專業知識學習 (會用、能改): 語言API、不依賴IDE、讀懂別人的code、調整別人code | |
| 2. 偵錯能力、抽象能力: 完整的測試、掌握複雜工具和參數、解決性能問題、快速定位問題 | |
| 3. 掌握底層原理、運行機制: 底層設計原理、核心運作機制、設計高效的演算法 | 
| var arr = []; | |
| for (var i = 1; i <4 ; i++) { | |
| arr.push(function(j) { | |
| return function() {console.log(j);} | |
| }(i)); | |
| } | |
| arr[0](); | |
| arr[1](); | |
| arr[2](); | 
// from https://phodal.github.io/new-project-checklist/
| Repo: https://github.com/ituring/tcp-book | |
| 環境建立: | |
| Mobaxterm 登入 vagrant ssh guest1 問題 | |
| 參考 | |
| https://stackoverflow.com/a/68515228 | 
| var xhr = new XMLHttpRequest(), | |
| method = "your_api_method", | |
| url = "you_api"; | |
| xhr.open(method, url, true); | |
| xhr.send(); | |
| setTimeout(() => { | |
| xhr.abort(); | |
| }, 1000) | 
course: https://github.com/bhrugen/TangyBlazor
dotnet dev-certs https --trust (create localhost trust)
brew install mysqlbrew services start mysqlbrew services stop mysqllocalhost, port 3306, user root