Yoyfun (@yoyfun) profile picture

Elixir language learner , A man who writes cold jokes and stops global warming

Joined January 2013
Photo by Yoyfun (@yoyfun)Photo by Yoyfun (@yoyfun)Photo by Yoyfun (@yoyfun)Photo by Yoyfun (@yoyfun)Photo by Yoyfun (@yoyfun)Photo by Yoyfun (@yoyfun)Photo by Yoyfun (@yoyfun)Photo by Yoyfun (@yoyfun)Photo by Yoyfun (@yoyfun)
Pinned Tweet
I’m building Handbeam, an experimental open-source AI agent designed for phones—not just a remote control for a desktop agent. Built with Elixir/OTP. The agent loop and tools run on-device; LLMs via API. Coding is just one use case. github.com/youfun/Handbeam
2
3
2
47
4,994
心情不好时去超市看人来人往,内心平缓了一些
11
在及时行乐和保守消费应对未来之间摇摆
13
使用qwen3.8-next在12gb显卡上token速度大概是18 token/s 感觉有点慢
28
一个推文里面9个回复,其中只有1个看起来是真人
24
对于不影响交易的服务/系统来说,,完全无法使用的bug其实还好。尤其是agent/创意制作类。但如果涉及到交易,比如crm/电商。系统半个小时不能用,经济损失可就不好说了,可能会导致客户失去信息而切换产品。
25
claude code 要识别是不是中国人很简单吧。主要agent运行时间+项目分析 。很多项目都在实际协同编码过程中提示词包括中国两个字。比如要求考虑中国用户情况,考虑中国网络。等等
1
59
很多国外访问都挂了?
29
We benchmarked six AI models on their Elixir programming capabilities using Droid CLI. The test used the open-source project tailwind_formatter (a Tailwind CSS class sorter for HEEx templates) as the baseline, with two coding tasks: implementing a validate_class/1 function for class name validation, and extending the formatter to support data-class attribute sorting. Each model worked on an isolated copy of the project, and correctness was objectively verified by running mix test after each model's changes. We recorded test pass counts, number of new test cases, execution time, and token cost. The six models tested were muse-spark-open, beam-1.0, mistral-large-4, gpt-6.1-sol, glm-5.3-flash, and gemini-4-argon. Results showed that mistral-large-4, muse-spark-open, and gpt-6.1-sol tied for the highest test pass count (81 each), with muse-spark-open and gpt-6.1-sol demonstrating the deepest test coverage. Notably, glm-5.3-flash achieved a near-top score at a fraction of the cost (7,108 credits, only 3.9% of the most expensive model), making it the clear winner in cost-efficiency. In contrast, gemini-4-argon was the most expensive yet performed at the bottom, and beam-1.0 had the narrowest test coverage. All models successfully completed the Elixir tasks with zero test failures, but they differed significantly in code robustness, test completeness, and cost efficiency.
2
1
3
425
Mermaid 支持改成 Pele实现teapawt.net/kepano/status/21114720…
I’m building Handbeam, an experimental open-source AI agent designed for phones—not just a remote control for a desktop agent. Built with Elixir/OTP. The agent loop and tools run on-device; LLMs via API. Coding is just one use case. github.com/youfun/Handbeam
22
uu远程超顽强的
24
Gemini 4 Argon的对话会加入一些语气词或者!
47
我也试试,根据我的所有推文画出我的形象 @grok
1
25
测试了下droid里面的Gemini 4 Argon用来评审计划,并给出自己认为更好的方案,结果是和cursor里面的claude-opus-5-5模型思路很相似。如果后续能维持这种表现,感觉可以作为claude-opus-5-5的平替。
1
116
Yoyfun retweeted
I'm writing a book: Native Mobile Apps With Elixir. From your first screen to a production app with Mob, the framework that runs the BEAM on your phone. Register for early access: forms.gle/ksjRXyEqNBmFwLhn6 #ElixirLang #MyElixirStatus
1
16
76
1,817
Yoyfun retweeted
I took a stab at improving the performance of Elixir. I used the PR for Elixir that @ZachSDaniel1 posted and worked some more on it. In the benchmark Elixir is now faster than Rust (ccece30 newest commit) for the Sidebar and Search benchmark.
Last conversion of the Campfire from my token stash goes to JavaScript/Express. As with the others, I'm sure you can find more to optimize. But this gives you a sense of what order of magnitude these options exist within with agent-led development. github.com/basecamp/once-cam…
47
46
17
580
106,939
经过优化后的 rust 肯定比 elixir 版本快,但迭代一次和多次会拉大这种差距。想起来之前说如果提示里面没有说遵循最佳实践,部分 llm 会把 elixir 写的像是其他语言。
Oh FFS. It turns out the req/s in the initial vibed Rust version is within the same order of magnitude as the initial vibed Elixir/Go versions, and even performs worse in some of them. The history is in the repository! The Rust version only got faster with a bunch of additional work. The initial Elixir/Go versions presented in the tweet below saw none of this additional work. It was comparing a 300 commits Rust version with a 2-3 commits Elixir/Go version. Source: github.com/basecamp/once-cam…
46
DHH says a language agents can't write well from a one-line prompt is in trouble, while José says the Elixir port was slow because the agent copied Rails instead of being told to use Elixir idioms, and I side with José.
Replying to @josevalim
The prompt was just something like "Rewrite this in Elixir. Review with Codex. Optimize it." Same as what was used for Go, Laravel, Rust, etc. If the agents can't write good Elixir without good steering, I think that's worth attempting to fix. But I'm also happy to take PRs!
37
macos version
154