crazyrunsnail.hashnode.devFix some problems in Go appFix some problems in Go app P1: Can't run after upgrade go version in vscode Upgrade dlv using go install -v github.com/go-delve/delve/cmd/dlv@latest P2. Error while run go mod tidy Occur error dial tcp: lookup goproxy.cn: no such host, Turned off G...Dec 28, 2024·1 min read
crazyrunsnail.hashnode.devDebug In SpringBoot appRemember, Use arthas And watch command Log in to the machine where the app is running. Download the arthas.jar and run it Find the entry point. For this, I use a specific copy in IDEA and replace the symbol # with a whitespace. Run the following com...Dec 26, 2024·1 min read
crazyrunsnail.hashnode.devRefactor: status to statuses using mybatisBefore: <if test="status == 0"> and t.status = 0 and t.status1 = 1 </if> <if test="status == 1"> and t.status = 0 and t.status2 = 2 </if> <if test ="status != 2"> and t.status2 != 2 </if> After: <if test="statuses != null and statuses.size() >...Dec 22, 2024·1 min read
crazyrunsnail.hashnode.devBuild Yjit on my macFollow the official document : ruby/yjit Step clone the repo and enter the directory git clone https://github.com/ruby/ruby yjit cd yjit install the deps first: brew install openssl readline libyaml build: ./autogen.sh ./configure --enable-...Jan 8, 2023·1 min read