唐古拉山 (@livetang) profile picture
深圳
Joined March 2008
Photo by 唐古拉山 (@livetang)Photo by 唐古拉山 (@livetang)Photo by 唐古拉山 (@livetang)Photo by 唐古拉山 (@livetang)Photo by 唐古拉山 (@livetang)Photo by 唐古拉山 (@livetang)Photo by 唐古拉山 (@livetang)Photo by 唐古拉山 (@livetang)Photo by 唐古拉山 (@livetang)
Vibe coding了一个简单的小工具, 使用#nsh + tsx实现。
25
$ code $nu.config-path 增加: def ifanyi [msg] { opencode run --model opencode/deepseek-v4.1-flash-free $"将'($msg)' 翻译为中文" } $ ifanyi hello > build · deepseek-v4.1-flash-free "hello" 的中文翻译是:**你好** 其他常见译法: - 喂(打电话打招呼时) - 嗨(口语、随意) ...
1
71
$ uv run --python 3.15.0 python -c 'lazy import json;import sys;print(json.dumps(sys.version_info))' [3, 15, 0, "final", 0]
1
38
用上 mr-boxington.jdx.dev/ , $env.PATH = ($env.PATH | prepend $"($env.HOME)/.local/share/mbx/bin") windows 下当前得 `mbx settings set display plain` , 不然cargo build 会卡住 (估计是mbx 的 display = "auto" 设置在控制台下的显示机制有 bug)
1
35
x 时间线不知道是什么时候开始一堆无关的信息,我只想看自己关注人的信息,就像weibo里默认的那样。实在受不了,问了google(AI), 没想到答案很简单,将顶部的"For you" 切换到"Following"即可, 造孽啊,一直没注意到。
88
$ ollama run deepseek-r1:7b >>> 新春快乐 2025 <think> </think> 感谢你对我的关注!新年的祝福已经送达,愿您在新的一年里身体健康,万事如意,心想事成!如果需要其他帮助或有特别的需求, 请随时告诉我。祝你和家人新年快乐,幸福美满!😊
74
pixi 小甜甜。 rye快成牛夫人了
104
Excited to introduce @moonbitlang for Cloud and Edge computing! ✨ Build as fast as @golang. ✨ Run as fast as @rustlang. ✨ Tiny size of Wasm output. Plus, start with a great cloud IDE right out of the box! moonbitlang.com/blog/first-a… #WebAssembly #EdgeComputing #CloudComputing
3
36
9
150
34,755
已经使用just + nushell 代替 deno task / npm scripts
95
受不了知乎乱七八糟的推荐了, 只好 echo '127.0.0.1 zhihu.com' >> /etc/hosts
> measure-command { deno run .\main.ts } ... TotalMilliseconds : 49.1077
"editor.inlayHints.enabled": "offUnlessPressed" in vscode in combination with rust analyzer hints is incredibly useful. I had to turn them off before because they were too nosy but I missed them at times. Now hitting ctrl+alt shows them on demand.
1
3
41
trello被墙得太狠了, 需要寻找替代品
{ "tasks": { "build": "go build -o tip_go$(deno eval 'if(Deno.build.os == `windows`) console.log(`.exe`)') main.go" } } $ deno task build
有了deno task + js/ts 用来做任务编排的执行, 基本上可以替代python + Invoke了。 (貌似我现在用python, 也就为了写点Invoke脚本) deno.com/blog/v1.20#new-subc…
go env -w GO111MODULE=on go env -w GOPROXY="goproxy.io,direct" 提升使用go的幸福感
1
➜ cat hello.rb puts "hello" ➜ hyperfine '$GRAALVM_HOME/bin/ruby hello.rb' 'ruby hello.rb' Summary '$GRAALVM_HOME/bin/ruby hello.rb' ran 1.55 ± 0.13 times faster than 'ruby hello.rb'
asdf install elixir 1.8.0-rc.1