-
frafav
I've used the gentoo 9999 live ebuild to compile the version from git (setting the cpu profile to performance I got still 8min 39s on my thinkpad), anyway I had to patch the ebuild to make it work
-
frafav
- envsubst <"crates/gram/resources/gram.desktop.in" >gram-editor.desktop || die + envsubst <"crates/gram/resources/gram.desktop.in" >"${APP_ID}.desktop" || die
-
frafav
I remember the M1 was super fast to compile things! unfortunatley my old mac trackpad/keyboard died after ~5 years of battering, so I switched back to intel. The perfect combo would be to have full support on M1 laptops and just use linux with them, my old M.Pro M1 was faster than this, and the battery lasted longer (only 8G of RAM though...)
-
koru
frafav, you can open PR at gram-gentoo repo and I will review it.
-
koru
krig, few days ago Mold was re-writen in Rust just in single PR. See: https://github.com/rui314/mold/discussions/1643 . What you think about it?
-
koru
I'm still think about use Wild instead Mold 'cause Mold can't compile kernel.
-
krig
that mold rewrite doesn’t sound good :(
-
frafav
hmm, I keep fantasisng to rewrite some of my stuff in rust, just because it's cool. But I have no time to even get to know rust. So I project this idea that every rust-rewrite it's basically an LLM-aided move. Nothing wrong in pronciple, but I really regret passing too much some of my projects through LLM, as in the mold discussion said, going from a battle tested project where everyone knows bits by bits to a complete rewrite is not cool✎ -
frafav
hmm, I keep fantasisng to rewrite some of my stuff in rust, just because it's cool. But I don't have time to even get to know rust. So I project this idea that every rust-rewrite it's basically an LLM-aided move. Nothing wrong in principle, but I really regret passing some of my projects through LLM too much. Plus, as in the mold discussion said, going from a battle tested project where everyone knows bits by bits to a complete rewrite is not cool ✏
-
nicoco
I think there is a regression in main, I just built this morning. clicking the "play" icon next to a pytest test used to open a dropdown where you could launch the debugger for this specific test. now there is no dropdown anymore, it just plays the test and to debug it you have a to write sth in debug.jsonc.
-
nicoco
https://chat.slidge.im:5281/file_share/01a11044-3290-7577-96bb-051a4ab0c4bc/66e8774f-bbf2-49a5-8fe4-56ed678fde6f.png
-
nicoco
this "play" icon here, in the margin
-
krig
hm
-
krig
I had pushed a bad upgrade to taffy which I reverted, that might have caused that.. see if you have the revert
-
nicoco
I do, HEAD is > [2026-10-06] [18c6500803] | Revert "Update taffy to 0.14.0" {{Kristoffer Grönlund}}
-
CubeOfShame
Hello. I'm trying to open my first Pull Request (the zed completion item backport thing). I'm going through the checklist in the PR template and am stuck at the ./scipts/clippy part. I'm on fedora 44 with wayland, and have run the ./script/linux and install-wild scripts. It also fails against main branch.They do look like normal clippy lint errors, so I'm not sure I can do anything about it in the scope of my PR. It's errors such as: error: unneeded `return` statement --> crates/gpui/src/platform.rs:114:9 | 114 | return Rc::new(X11Client::new().expect("Failed to initialize X11 client")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in the gpui crate and 20 other similar issues.
-
Emilinya
You can probably ignore lints that are not a result of your changes, just run the script without `--deny warnings` and check that none of the warnings are relevant. I am working on a linting PR which will fix all of those linter errors
👍 1 -
koru
krig, do you find someone with Windows to test bump to 0.100.x? https://crates.io/crates/windows-core/versions
-
krig
I’m still confused by those versions because they aren’t tagged in the repo
-
krig
but no not yet
-
ashleytg
Yesterday at 2:01 PM: > Remember that each library needs to be maintained, it's usually not enough to just write a library once and then you're done with it. So relying on community-maintained libraries where they're actively maintained and of good quality has advantages true...
-
ashleytg
if there's enough people maintaining Gram right now, it might be able to work!
-
ashleytg
and if Gram needs a new feature in the dependency, it's a simple matter of adding it to the Gram community maintained libraries!
-
ashleytg
Yesterday at 2:01 PM: > at least some dependencies are fully slop now so replacing those would be fantastic… OoOO which ones? :3
-
ashleytg
i may just do one of those!
-
krig
so actually one that I have already a fork for on codeberg is the mermaid parser: https://codeberg.org/GramEditor/mermaid-rs-renderer
-
ashleytg
hmm
-
ashleytg
i'm having trouble really understanding what mermaid is for...
-
ashleytg
is it documentation?
-
koru
Render mermaid in markdown
-
krig
yeah for drawing diagrams in documents
-
mort
@krig do you have a link to a log from the Windows build failure? It built fine on my Windows 11 VM with latest Rust and everything
-
mort
I almost have a PR ready which replaces async-std with tokio anyway so that might fix it but I'd prefer to have a way to confirm that, by reproducing the failure you're seeing
-
koru
mort, https://github.com/GramEditor/gram/actions/runs/37277814120 and https://github.com/GramEditor/gram/actions/runs/37366998945
-
ashleytg
it won't load for me 😭
-
ashleytg
there we go
-
mort
@krig Hm I wonder if it's related to the fact that I only made async-std an explicit dependency in the gram crate, maybe it should've been a dependency in every crate that depends on async-tar
-
mort
Essentially, maybe 'cargo build' works because that builds crates/gram which brings in the customised async-std, while 'cargo nextest run' builds some other crate(s) where async-std doesn't get that new feature
-
krig
hmm that’s possible
-
krig
I think the tests build as a separate process for each crate with tests
-
mort
https://codeberg.org/GramEditor/gram/pulls/621 I suspect that this will fix it, am waiting for compilation to confirm
-
mort
(This doesn't mean we shouldn't replace all of async_tar with either some async wrapper around a non-async tar crate or something like https://docs.rs/astral-tokio-tar/latest/tokio_tar/, I was working on this today anyway just to get rid of async-std)
-
krig
nice! I can’t merge today but will look at it again tomorrow
-
mort
No problem at all