[-] secana@programming.dev 3 points 3 months ago

Hi! Sorry that happened. Feel free to ping an issue that was closed silenty but should not have been. I'll have a look.

[-] secana@programming.dev 4 points 6 months ago

Cool little trick!

[-] secana@programming.dev 3 points 2 years ago

Just released Kellnr (https://kellnr.io) 5.2.6 with some bug fixes. I really wish I had more time for new features but at the moment my spare time is rare. If you want to host your own crates on your own infrastructure, check it out.

[-] secana@programming.dev 3 points 2 years ago

How is the overall ML story with Rust? Is it usable in comparison to Python?

[-] secana@programming.dev 3 points 2 years ago

Never heard of it. I used the Rust book when I started learning it.

[-] secana@programming.dev 3 points 2 years ago

Didn't know that one. Thanks for sharing.

[-] secana@programming.dev 3 points 2 years ago

Cool project idea! How did you come up with it?

[-] secana@programming.dev 3 points 2 years ago

I you share your code here, maybe someone can help.

1

Hi! I ran into the issue that my kube config, which I manage with home-manager is world read- and writable. I hoped that there is an easy option to set file permissions with home-manager, e.g. home.file."foo".permissions = 0644 but something like this does not exist. All solutions a short web search turns up are overly complicated for something that seems to be a trivial task.

What is the easiest way to set permissions for a file with home-manager?

21

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

20

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

[-] secana@programming.dev 3 points 2 years ago

Thanks! Took me few iterations to get there.

33

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

26

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

[-] secana@programming.dev 4 points 2 years ago

Yeah, real world duties have priority over programming rust. Unfortunately.

9

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

1

Hi! It's my first day with nixos. I tried to compile a rust project. To do so, I used a nix-shell with the content from here: https://nixos.wiki/wiki/Rust with the "Installation via rustup" option.

Unfortunately the compilation fails:

$ cargo check
   Compiling libc v0.2.151
   Compiling proc-macro2 v1.0.73
   Compiling serde v1.0.193
    Checking once_cell v1.19.0
   Compiling thiserror v1.0.53
error: linker `aarch64-linux-gnu-gcc` not found
  |
  = note: No such file or directory (os error 2)

error: could not compile `proc-macro2` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `serde` (build script) due to 1 previous error
error: could not compile `libc` (build script) due to 1 previous error
error: could not compile `thiserror` (build script) due to 1 previous error

I run NixOS 23.11 stable on a VM on a Macbook with M1 (arm64) CPU.

Any ideas how to fix that?

25
Zig, Rust and other languages (notes.eatonphil.com)

What do you think about the points the authors makes?

15

Kellnr 5.2.0 is released. Besides many small changes, the main feature of this release is UI support for cached crates. Until now, only private crates were shown in the UI. Now, cached crates from crates.io are shown and searchable from the UI, too.

[-] secana@programming.dev 3 points 2 years ago

How easy is it to create custom widgets with iced.rs? Or does Cosmic provide it's own full widget library?

27

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

[-] secana@programming.dev 4 points 2 years ago

I had the same experience. If you can live with a gpl license, maybe https://slint.dev/ is an alternative. I'll wait which UI framework becomes the predominantly one, before I start using rust for gui stuff.

21

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

5

While working on Kellnr, I updated the dependencies. It seems that the update of cargo breaks the build. I created an issue on github. Maybe somebody here has an idea for a simple fix.

view more: ‹ prev next ›

secana

0 post score
0 comment score
joined 2 years ago