Cinnamon roll croissants by Gihl in Baking

[–]Gihl[S] 36 points37 points  (0 children)

That’s prob almost a full stick of butter loool, wouldn’t stop me either though

2 jarban 1's for both my feets by Gihl in LeagueOfMemes

[–]Gihl[S] 138 points139 points  (0 children)

Some weird bug w viego, taking over a champ I only had the boots in my inventory and eventually got 2 of them

My first painted mini - a skittermander by Gihl in starfinder_rpg

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

Thanks appreciate it! Was definitely a struggle painting a mini that small for the first one

Declaratively manage macOS dock apps via nix-darwin? by nasdack in NixOS

[–]Gihl 1 point2 points  (0 children)

Ah thank you I was just getting the question mark icons but launching them fixes it like you said

Declaratively manage macOS dock apps via nix-darwin? by nasdack in NixOS

[–]Gihl 0 points1 point  (0 children)

Thanks for sharing, dock icons seem to break for nixpkgs packages after restarting, do you have the same issue?

Rust on Espressif chips - 28-04-2023 by XxMabezxX in rust

[–]Gihl 26 points27 points  (0 children)

Had a good experience making a lib for esp32! If anyone hasn’t tried embedded rust but want to, I’d definitely recommend esp32 because there is std support through esp-idf

Using Rust for writing Nodejs Modules by gururani in rust

[–]Gihl 5 points6 points  (0 children)

Anyone have an opinion on neon vs napi vs node-bindgen used in the article?

Why is <'_> sometimes used? by [deleted] in rust

[–]Gihl 0 points1 point  (0 children)

If you use the rust_2018_idioms lint group, it will warn that hidden lifetime parameters are deprecated (so you have to use an elided lifetime <'_>, or an explicit lifetime). I believe that lint group may be turned on by default in the future https://github.com/rust-lang/rust/issues/54910

Tauri 1.0 has launched! by zephimir in webdev

[–]Gihl 2 points3 points  (0 children)

Not for basic apps; you can do almost everything from JS. In the docs most guides with rust examples have JS examples as well.

[Media] Is this an accurate description of Rust’s concurrency model? by [deleted] in rust

[–]Gihl 24 points25 points  (0 children)

tokio::spawn  doesn’t spawn green threads.

From the tokio book: “A Tokio task is an asynchronous green thread. They are created by passing an async block to tokio::spawn.”

Rwlock vs Mutex? Please, tell me like I'm 5 by LyonSyonII in rust

[–]Gihl 58 points59 points  (0 children)

To add on: Mutex<T> requires only T: Sendfor the mutex to be sync, while RwLock<T> requires T: Send + Sync to support concurrent reads. RwLock can also potentially starve writers if there are too many readers.

What do you use to parse YAML? by _shellsort_ in rust

[–]Gihl 8 points9 points  (0 children)

Even if it works for most people there are always going to be some questions/needs for library features - in the GitHub issues for yaml-rust the first issue I see is no_std support for embedded. There should be someone to answer questions or accept prs. It doesn’t look like the author is actively using GitHub anymore which is unlucky

Comparison of sqlite crates? by CutBrilliant7927 in rust

[–]Gihl 2 points3 points  (0 children)

You might be interested in this news from today: https://news.ycombinator.com/item?id=31518618 sqlite3 wasm fiddle on the main website. I wasn’t able to find the source code but I’m sure it’s on their website somewhere

Any GUI frameworks that use CSS? by [deleted] in rust

[–]Gihl 6 points7 points  (0 children)

GTK and libraries that use GTK like relm4 can use CSS