secana

joined 2 years ago
 

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

[–] secana@programming.dev 1 points 1 year ago

I'm not ML pro and never used Python or Rust for it, but I know that our ML team uses Python extensively for it. My gut feeling is that Python stays the king in the ML field but the underlying libraries are going to progress from C++ to Rust in the future. Or at least, if Rust gets stronger math/statistics libraries. If you get something cool running with Rust and ML, I'm interested to read about it.

[–] secana@programming.dev 4 points 1 year ago (1 children)

Unfortunately not. But I try to work on it a few hours every week in my spare time. I think that having an easy and free crate registry is crucial for the adaption of Rust in the commercial space. Companies don't want to share their code publicly on crates.io. My full time job is in the IT security sector. My hope is that by pushing Rust as a safe language, we can close some fundamental design flaws that languages like C/C++ introduced and make software landscape more secure.

[–] secana@programming.dev 10 points 1 year ago (3 children)

I ported the frontend for https://kellnr.io from vuex to pinia, which makes the code to hold state in the frontend much cleaner.

[–] secana@programming.dev 3 points 1 year ago (2 children)

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

 

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

[–] secana@programming.dev 1 points 1 year ago

The selling point of Ice (the underlying framework for libcosmic) is the cross-platform compatibility. Can I use libcosmic cross-plat as well, or is it more a specialisation of Ice for Linux with the clear focus on the Cosmic desktop? Would be cool to re-use some widget etc.

[–] secana@programming.dev 3 points 1 year ago (1 children)

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

 

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

[–] secana@programming.dev 2 points 1 year ago (3 children)

Is rust common in schools now or is it your personal interest that lets you use it?

[–] secana@programming.dev 1 points 1 year ago (1 children)

What is missing in the existing ones?

 

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

[–] secana@programming.dev 1 points 1 year ago (1 children)

Never used bstr. What was interesting about it?

 

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

[–] secana@programming.dev 1 points 1 year ago (1 children)

Ah yes, compiles times. Off all the things that could be better in rust, my number 1.

[–] secana@programming.dev 3 points 1 year ago

Didn't know that one. Thanks for sharing.

[–] secana@programming.dev 7 points 1 year ago (1 children)

I get the feeling that there are much more game engines in rust, than games :P

 

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

 

Hi,

I want to sort my bookmarks in Firefox with home-manager into folders, but fail.

Simple example:

firefox = {
      profiles."user" = {
        bookmarks = [
          {
            name = "Nix";
            toolbar = true;
            bookmarks = [
              {
                name = "NixOS Search";
                url = "https://search.nixos.org/packages";
              }
              {
                name = "NixOS Options";
                url = "https://nixos.org/manual/nixos/unstable/options";
              }
              {
                name = "Home-Manager Options";
                url = "https://nix-community.github.io/home-manager/options.xhtml";
              }
              {
                name = "Home-Manager Options Search";
                url = "https://home-manager-options.extranix.com/";
              }
            ];
          }
        ];
      };

My assumption was that I get a folder "Nix" in the bookmarks toolbar that contains the four bookmarks. But instead the four bookmarks are added to the toolbar side-by-side without being in a folder.

How can I achieve that?

 

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

 

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

 

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?

 

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

view more: ‹ prev next ›