🙏🏻寻求帮助:Yazi 需要一个新 SVG logo!
目前 logo AI 生成,辨识度很低,与其说 logo 不如说“一张鸭子的照片”。我们尝试用 vectorizer.ai 将其转换为 SVG 效果也不理想。
有人愿意帮忙重新设计一个吗,这是一些关键字:duck, cute, circular, colorful, minimalist style
目前 logo AI 生成,辨识度很低,与其说 logo 不如说“一张鸭子的照片”。我们尝试用 vectorizer.ai 将其转换为 SVG 效果也不理想。
有人愿意帮忙重新设计一个吗,这是一些关键字:duck, cute, circular, colorful, minimalist style
头一次遇到 Rust bug
https://github.com/sxyazi/yazi/issues/356
https://github.com/rust-lang/rust/issues/108277
原因是用户
https://github.com/sxyazi/yazi/issues/356
https://github.com/rust-lang/rust/issues/108277
原因是用户
$HOME 有无效创建时间的文件,Rust 会 panic 而不返回 Error。GitHub
Crash when entering or previewing Home · Issue #356 · sxyazi/yazi
What system are you running Yazi on? Linux Wayland What terminal are you running Yazi in? wezterm-gui 20231107-082518-f0e3eecb Yazi version yazi 0.1.5 Did you try the latest main branch to see if t...
🌸
头一次遇到 Rust bug https://github.com/sxyazi/yazi/issues/356 https://github.com/rust-lang/rust/issues/108277 原因是用户 $HOME 有无效创建时间的文件,Rust 会 panic 而不返回 Error。
🤣哈哈哈试了下 exa/eza 也会崩,看来所有 Rust 写的都绕不开这个 bug,摆了摆了。
复现方法
复现方法
touch -d "1969-12-31 23:59:59.1Z" abc#Yazi 去年 4 个月上了 26 次 GitHub Trending 🤯
https://github.com/search?q=repo%3Alarsbijl%2Ftrending_archive+sxyazi%2Fyazi&type=code
https://github.com/search?q=repo%3Alarsbijl%2Ftrending_archive+sxyazi%2Fyazi&type=code
👍7
头一次知道 "
刚探索把 Yazi TUI 从
然后发现这个讨论,https://github.com/ratatui-org/website/issues/274 ,
stdout was ~2.5x faster that stderr"刚探索把 Yazi TUI 从
stdout 换到 stderr,这样就能让 stdout 空出来干其它事,比如退出时打印文件路径。然后发现这个讨论,https://github.com/ratatui-org/website/issues/274 ,
stderr 比 stdout 要慢,原因是 stderr 没缓冲,得自己包一个。(谢谢依云姐姐浇浇)GitHub
Add stdout / stderr performance to FAQ · Issue #274 · ratatui-org/website
https://ratatui.rs/faq/#should-i-use-stdout-or-stderr See ratatui-org/ratatui#583 (comment) Valentin271 Dec 13, 2023 Oh that's interesting, stdout is also faster on my machine from ~1.60 to ~2 ...
👍5
为什么 stdout 比 stderr 快?
这篇博客从 I/O 流如何工作,到 TUI app 如何工作,再到如何测量 TUI FPS/性能,以及涵盖各语言的针对性优化 - 如何让 stderr 变快,如何让 stdout 变更快,非常值得一读!
BTW我也参与了该文审阅,虽然只修了几个typo,但是一次奇妙的旅程。
https://blog.orhun.dev/stdout-vs-stderr/
这篇博客从 I/O 流如何工作,到 TUI app 如何工作,再到如何测量 TUI FPS/性能,以及涵盖各语言的针对性优化 - 如何让 stderr 变快,如何让 stdout 变更快,非常值得一读!
BTW我也参与了该文审阅,虽然只修了几个typo,但是一次奇妙的旅程。
https://blog.orhun.dev/stdout-vs-stderr/
blog.orhun.dev
Why stdout is faster than stderr? - Orhun's Blog
Here be rats
👍10
Yazi 终端文件管理器 v0.2.0 发布!
这个版本新增了对自定义预览器、自定义预加载器的支持,并且已经完成了并发插件系统的大部分工作。
此外,它包括许多性能优化,比如重写整个文件系统、重构整个UI渲染架构、增强任务调度系统,并为频繁更新的组件实现了部分渲染。
这个版本还引入了许多有意义的新功能,比如路径自动补全、实时文件过滤、Kitty Unicode placeholders 协议支持。详细信息请参阅下面的变更日志。
这是一个破坏性变更的版本,请参考我们的升级指南:迁移到 Yazi v0.2.0
https://github.com/sxyazi/yazi/releases/tag/v0.2.0
这个版本新增了对自定义预览器、自定义预加载器的支持,并且已经完成了并发插件系统的大部分工作。
此外,它包括许多性能优化,比如重写整个文件系统、重构整个UI渲染架构、增强任务调度系统,并为频繁更新的组件实现了部分渲染。
这个版本还引入了许多有意义的新功能,比如路径自动补全、实时文件过滤、Kitty Unicode placeholders 协议支持。详细信息请参阅下面的变更日志。
这是一个破坏性变更的版本,请参考我们的升级指南:迁移到 Yazi v0.2.0
https://github.com/sxyazi/yazi/releases/tag/v0.2.0
👍6
给 Yazi 做了点优化,现在加载大目录比之前快了 ~2.5 倍。
对一个包含 500,000 文件的目录 benchmark:
-
-
-
具体见 https://github.com/sxyazi/yazi/pull/599
对一个包含 500,000 文件的目录 benchmark:
-
eza -l,耗时 19.03s-
ls -l,耗时 10.99s-
yazi,耗时 4.79s具体见 https://github.com/sxyazi/yazi/pull/599
GitHub
perf: read directory in bulk in the background at startup by sxyazi · Pull Request #599 · sxyazi/yazi
Fixes #596
This PR optimizes the speed of reading large directories, leveraging the advantages of concurrency, it is ~2.5 times faster than before.
Here is a benchmark with a directory containing 5...
This PR optimizes the speed of reading large directories, leveraging the advantages of concurrency, it is ~2.5 times faster than before.
Here is a benchmark with a directory containing 5...
👍7❤1
This media is not supported in your browser
VIEW IN TELEGRAM
群友太强了,给 Yazi 实现了一个类似 flash.nvim 的导航插件,虽然还只是第一个版本,但已经支持了 3 种不同的模式,欢迎体验&反馈!
https://github.com/DreamMaoMao/keyjump.yazi
https://github.com/DreamMaoMao/keyjump.yazi
👍3
Media is too big
VIEW IN TELEGRAM
糊了个 TUI 版的通知组件,为了性能做了挺多优化:
- 直接 composite 到上个 frame,因此只需要渲染通知组件的部分
- 部分擦除图片重叠的区域,通知消失后重新渲染图片(这个调了挺长时间,因为图片和 TUI 不在同个 render pipeline)
- 完全 Rust async + Event driven
https://github.com/sxyazi/yazi/pull/659
- 直接 composite 到上个 frame,因此只需要渲染通知组件的部分
- 部分擦除图片重叠的区域,通知消失后重新渲染图片(这个调了挺长时间,因为图片和 TUI 不在同个 render pipeline)
- 完全 Rust async + Event driven
https://github.com/sxyazi/yazi/pull/659
👍6
Media is too big
VIEW IN TELEGRAM
看了群友给 Yazi 写的预览插件,太tm炫酷了,内置的预览器不香了🥲
决定了,下个版本大力完善内置 Previewer!
群友 GitHub https://github.com/urie96/preview.yazi ,需要自取(x
决定了,下个版本大力完善内置 Previewer!
群友 GitHub https://github.com/urie96/preview.yazi ,需要自取(x
👍11