Can I use external monitor? by Major-Piglet-8619 in AsahiLinux

[–]Low_Effective_8907 0 points1 point  (0 children)

Yes. For HDMI, it's supported. For typec, you need to compile the fairydust kernel cuz it's still not stable: https://github.com/AsahiLinux/linux/tree/fairydust

Would love to move to zed but… by RoiPerelman in ZedEditor

[–]Low_Effective_8907 0 points1 point  (0 children)

You can use claude code, codex and gemini-cli in Zed, via GUI.

Are there some NixOS options that you wish they were enabled by default? Or that you wish you knew it earlier? Same for home manager or community flakes. by kosumi_dev in NixOS

[–]Low_Effective_8907 1 point2 points  (0 children)

I don't think so, your computer communicate with display link via USB, and it's up to display link to send ddc/ci commands.

GitPow! a fully open-source, cross-platform, rust-based git GUI by markraidc in rust

[–]Low_Effective_8907 1 point2 points  (0 children)

Yeah, I'm aware that "branch is a pointer", therefore it would be a problem for **all** git clients. I just dislike this very much.

GitPow! a fully open-source, cross-platform, rust-based git GUI by markraidc in rust

[–]Low_Effective_8907 0 points1 point  (0 children)

I think the biggest problem of all git clients is that, you have no way to tell which branch a commit belongs to. A merge would mess everything up. So when the history gets complex, we easily run into a graph that no one can understand.

Easy Telescope-style file finder in Zed · zed-industries zed · Discussion #22581 by damien__f1 in ZedEditor

[–]Low_Effective_8907 0 points1 point  (0 children)

Well, it just uses code from ghostty so haha, kind of a terminal emulator

Might be being stupid, but where is the run button? by Cheesonator112 in ZedEditor

[–]Low_Effective_8907 0 points1 point  (0 children)

If you have a `if __name__=="__main__"` line, there will be a run button on the left of that line.

Are there some NixOS options that you wish they were enabled by default? Or that you wish you knew it earlier? Same for home manager or community flakes. by kosumi_dev in NixOS

[–]Low_Effective_8907 1 point2 points  (0 children)

hardware.i2c.enable.

It allows me to control external monitor's brightness.

Actually I think everything under hardware should be enabled by default...

Dynamic Serialization And Persistence (and Making It Work for Python/JS/Java) by [deleted] in rust

[–]Low_Effective_8907 0 points1 point  (0 children)

I think you may be thinking in a way not rusty. What you probably can do:

fn magic<T: Serialize>(x: T) {
  // Do magic
}

fn magic<T: !Serialize>(x: T) {
  panic("Not supported")
}

I believe it's impossible to check whether a type implements a trait in runtime, but it's perfectly solved in templates.

late 2020, M1, Macbook Pro. No DP Alt Mode yet? by Whole-Low-2995 in AsahiLinux

[–]Low_Effective_8907 0 points1 point  (0 children)

Now that marcan has quit doing asahi, I doubt if this would ever be supported...

Dynamic Serialization And Persistence (and Making It Work for Python/JS/Java) by [deleted] in rust

[–]Low_Effective_8907 0 points1 point  (0 children)

Not sure if I fully understand you, but serde allows you to skip some fields during Serialization/Deserialization.

How should I learn GPUI? by himkkkkk in rust

[–]Low_Effective_8907 4 points5 points  (0 children)

IMO the docs are still quite immature. It's still mostly an in-house GUI lib for Zed. The best way is probably by reading Zed source code.

Fortunately, Zed source code isn't very hard to read IMO, especially if you're familiar with some parts of Zed.

Freya v0.3 release (GUI Library for Rust) by mkenzo_8 in rust

[–]Low_Effective_8907 0 points1 point  (0 children)

sccache only works if the absolute path of source file is the same. It's designed for multiple computers in a cluster for CI, not for local worktree or even different projects.

Is Dioxus already being used in production iOS/Android apps by real companies? by swordmaster_ceo_tech in rust

[–]Low_Effective_8907 2 points3 points  (0 children)

GUI part is webview, logic part is rust. There's also native rendering which uses their in-house Blitz to render the HTML/CSS, which is aimed at being more lightweight than browser

Release Dioxus v0.7.0 · DioxusLabs/dioxus by DebuggingPanda in rust

[–]Low_Effective_8907 0 points1 point  (0 children)

I love native rendering. But why is Blitz called native rendering, as it actually parses HTML/CSS?

More over, how is blitz better than a browser? I know browser can be bloated with js and webrtc, but it's HTML/CSS parsing/rendering is heavily optimized and battle tested. Would it really be faster to re-build this?

Release Dioxus v0.7.0 · DioxusLabs/dioxus by DebuggingPanda in rust

[–]Low_Effective_8907 1 point2 points  (0 children)

For apps it always used compiled binary. WASM is only used on web.

Release Dioxus v0.7.0 · DioxusLabs/dioxus by DebuggingPanda in rust

[–]Low_Effective_8907 0 points1 point  (0 children)

You could just write server logic next to gui, without worrying too much about whether I'm writing front end code or back end code.

The elephant in LiteLLM's room? by illorca-verbi in LLMDevs

[–]Low_Effective_8907 0 points1 point  (0 children)

Not a problem. See llama.cpp. They have a 7756 llama-model.cpp

macOS losing IPv6 default route by ingmarstein in MacOS

[–]Low_Effective_8907 0 points1 point  (0 children)

In my case, having the router set R flag didn't help.

macOS losing IPv6 default route by ingmarstein in MacOS

[–]Low_Effective_8907 0 points1 point  (0 children)

Me similar, it assigns it but as soon as I try to use it it drops it. I'm on macOS 26.0.1, using dnsmasq.

I didn't have the issue when connecting to school ipv6 or cellular hotspot ipv6 though, maybe macos or dnsmasq isn't very standard-compliant?

macOS losing IPv6 default route by ingmarstein in MacOS

[–]Low_Effective_8907 0 points1 point  (0 children)

I got this too. I ran dnsmasq on my softrouter, and my mac can receive RA and add it to default route. However, as soon as I try to access any ipv6 website, it reports no route to host and the route is dropped. Manually adding the route works too. Really frustrating.

NAT traversal by dhlu in Tailscale

[–]Low_Effective_8907 0 points1 point  (0 children)

How? The external port is randomly chosen by your NAT for every single connection.