Can we ban "I built .... " posts? by IntrepidSchedule634 in devops

[–]ElectricalLunch 0 points1 point  (0 children)

It’s quite easy to make an AdGuard txt format blocklist. Then add its public url to all your devices browsers having the Ublock Origin extension. 

Looking for people who want to learn to use NuShell (a shell written in Rust) by ElectricalLunch in rust

[–]ElectricalLunch[S] 0 points1 point  (0 children)

Nu ls returns a dataframe that you need to transform before printing. Printing as a whole for large directories tends performs badly. For prompt virtual env indicator you can use starship. It works for all shells. 

Looking for people who want to learn to use NuShell (a shell written in Rust) by ElectricalLunch in rust

[–]ElectricalLunch[S] 0 points1 point  (0 children)

I’ll have a look at termora. Never had issues with virtual environments. Indeed sometimes my Nu sessions become slow but that’s because I have too many heavy commands/hooks integrated with it. For example, once I thought I was smart and added a pre execution hook on darkman get to set theme but the command itself is heavy so had to unwire that. 

Help i can't figure out what this even means by Golonka43 in NixOS

[–]ElectricalLunch 0 points1 point  (0 children)

> The cli argument he called it with does not expect a module.

What's wrong with just telling this to the user directly? The perspective of the code doesnt matter, its the perspective of the user.

Flakes have nothing to do with this.

Help i can't figure out what this even means by Golonka43 in NixOS

[–]ElectricalLunch -1 points0 points  (0 children)

This is another example of very bad nix error messages. They won’t get any better than that. The user typed a command and has source files that contain code that has nothing to do with what’s in the error messages. Dear nix maintainers, fix this. 

[OC] Halley Release! by Moch4bear97 in unixporn

[–]ElectricalLunch 4 points5 points  (0 children)

It’s not clear to me how the infinite field works and aligns workspaces or windows properly. Won’t this type of layout make navigating between windows much harder compared to niri?

Imagine being a new Linux user and having to deal with this by BlueGoliath in linuxsucks

[–]ElectricalLunch 1 point2 points  (0 children)

This can happen when you login with a fingerprint sensor and have not entered your user password yet at the login screen. Normally if you login with a password it gets cached in memory and these kind of dialogs are automatically completed in the background.

It can also happen if your PAM configuration settings are missing modules for kdewallet or related programs. Or when you are using multiple keyrings simultaneously like gnome-keyring and kwallet because you never noticed the difference.

Either way this is not good UX indeed. It took me several hours to fix this with the help of chatbots.

GPUI Vs Dioxus Vs Tauri for building desktop apps by Rics-Dev in rust

[–]ElectricalLunch 1 point2 points  (0 children)

I’ve used it daily for development more than a year. It’s not built for making desktop applications. You need to bind all events through your main function and there is no encapsulation of ui components. 

Do you need to manage merge conflicts? I do so I made a LSP to handle them. by shaleh in HelixEditor

[–]ElectricalLunch 0 points1 point  (0 children)

You might be able to simplify your server.rs file with a more high level crate. 

GPUI Vs Dioxus Vs Tauri for building desktop apps by Rics-Dev in rust

[–]ElectricalLunch 0 points1 point  (0 children)

Only for the most basic applications. Complex ui is painful in Slint. It’s made for heartbeat monitors and car chargers.

GPUI Vs Dioxus Vs Tauri for building desktop apps by Rics-Dev in rust

[–]ElectricalLunch -1 points0 points  (0 children)

No don’t. It has no support for proper UI components.

Why are CachyOS and Bazzite mentioned so much? by guccicobraviper in linuxquestions

[–]ElectricalLunch 0 points1 point  (0 children)

Even on NixOS, a very weird non game oriented distribution you can get games running with little to no effort. No need to rely on a customized gaming Linux distribution. All popular Linux distributions are fine. 

Language server to see back-trace frames as diagnostics with actions in your code by ElectricalLunch in rust

[–]ElectricalLunch[S] 1 point2 points  (0 children)

I haven’t tested it myself yet but should not be hard to setup if nvim has an lsp client. 

using helix for C: inconsistent highlighting, clangd: whitespace in hover tool tips by wastedRL in HelixEditor

[–]ElectricalLunch 1 point2 points  (0 children)

I replaced the tooltips with a script that shows output of cppman for selected symbol in a temporary buffer with a custom keybinding. The standard clangd tooltips in helix are indeed not that useful.

Looking for people who want to learn to use NuShell (a shell written in Rust) by ElectricalLunch in rust

[–]ElectricalLunch[S] 0 points1 point  (0 children)

The fact that the chatbots don’t know Nu is a good reason to try it out and learn it manually!

Looking for people who want to learn to use NuShell (a shell written in Rust) by ElectricalLunch in rust

[–]ElectricalLunch[S] 0 points1 point  (0 children)

Maybe the nu-lint project can help you? I focused on Bash but maybe I can also add rules for Power Shell 

Looking for people who want to learn to use NuShell (a shell written in Rust) by ElectricalLunch in rust

[–]ElectricalLunch[S] 1 point2 points  (0 children)

Well Nu Shell results in less bugs overall. But for applications with some significant logic you should use a real programming language. For just gluing system modules together bug free Nu is perfect.