I never tried it, because it is 2d only: https://flathub.org/apps/io.github.dubstar_04.design
Website | Codeberg | GitHub | Altes Profil | Noch älteres Profil
Verantwortlich für @kaenguru@feddit.org & @titelregel@feddit.org.
- 1 Post
- 122 Comments
this
is commonly used with a similar meaning toself
in cases whereself
can’t be used because it is a reserved keyword.Example:
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<St1::Item>> { let this = self.project(); this.inner.poll_next(cx) }
https://github.com/rust-lang/futures-rs/blob/master/futures-util/src/stream/select.rs#L113-L116
I do run into them even though I use Rust for ~3 years now, but only in non-obvious cases, e. g. when all references to the borrowed data are dropped before the end of the function.
Rust would be some borrow checker compile error like
borrowed data escapes outside of associated function
argument requires that `'1` must outlive `'static`
d_k_bo@feddit.orgto Meta (lemm.ee)@lemm.ee•Just a note: When lemm.ee shuts down, all the images will break.2·1 month agoI think this should be added to the pinned post. The current wording is a bit misleading:
Because of how Lemmy is built, everything posted on lemm.ee will still be accessible from other instances, even after we go offline.
I forgot doing this before feddit.de wasn’t reachable anymore which results in most image posts as @d_k_bo@feddit.de being broken whithout any possibility to change their URL.
soon™
d_k_bo@feddit.orgto Programmer Humor@programming.dev•Python needs an actual default function7·2 months agoFree standing functions in Java?! This can’t be true.
d_k_bo@feddit.orgto Programmer Humor@programming.dev•Python needs an actual default function384·2 months agoStill better than having to create a new class just to implement
public static void main(String[] args) {}
Relevant Fireship video: https://youtu.be/m4-HM_sCvtQ
Duplicate of https://lemmy.world/post/30140736
d_k_bo@feddit.orgto Rust@programming.dev•Flattening Rust's Learning Curve | corrode Rust Consulting3·2 months agoTIL about
clippy::cargo
. Thanks!
d_k_bo@feddit.orgto Gnome@discuss.tchncs.de•An accessibility update – GTK Development BlogEnglish1·2 months agoThe new tool just got ported to rust, so its cool.
Rustaceans in a nutshell 🦀
You could also try micro, which is a terminal text editor with mouse support, syntax highlighting and many more features that you know from GUI text editors.
I recommend using numbered footnotes (
¹
,²
etc.) or escaping the asterisk (\*
) instead of using plain asterisks for footnotes, because the asterisk is also used in Markdown for emphasis and list items.
See also https://lemmy.ca/post/40253303
d_k_bo@feddit.orgto Buy European@feddit.uk•List Of Local Facebook Marketplace Alternatives28·3 months agoThere is also flohmarkt, a federated, free and open source platform with multiple public instances, e. g. https://fedi.markets/ and https://flohmarkt.social/.
d_k_bo@feddit.orgto Buy European@feddit.uk•Toothpaste made in Europe at the German Supermarket20·3 months agoI buy the store brand of the drugstore (Rossmann): prokudent med. It’s the cheapest, it’s made in Germany and it’s free from sodium lauryl sulfate, which is known to cause Mouth ulcers.
d_k_bo@feddit.orgto Buy European@feddit.uk•A guide to switching your Audiobook app to support more ethical and EU-based companies!Deutsch1·3 months agoIch dachte eher an Opus oder AAC. Mp3 bietet eine schlechte (aus meiner Sicht hörbare) Audioqualität bei trotzdem großer Dateigröße.
d_k_bo@feddit.orgto Buy European@feddit.uk•A guide to switching your Audiobook app to support more ethical and EU-based companies!Deutsch1·3 months agoIn welchen Formaten bekommt man eigentlich die Downloads? Nur mp3 oder auch etwas zeitgemäßer?
d_k_bo@feddit.orgto Buy European@feddit.uk•A guide to switching your Audiobook app to support more ethical and EU-based companies!Deutsch1·3 months agoSolange ich mind. 12 Hörbücher im Jahr höre, komme ich damit preislich deutlich günstiger weg. Ich frage mich irgendwie, was der Haken an der Sache ist. Ich sehe soweit die Kundenbindung an Thalia als einzigen Vorteil für das Unternehmen.
Python too.