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 @[email protected] & @[email protected].
I never tried it, because it is 2d only: https://flathub.org/apps/io.github.dubstar_04.design
this
is commonly used with a similar meaning to self
in cases where self
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.
There are also some reported issues that may be false positives, e. g. https://github.com/rust-lang/rust/issues/107115. In some cases, the error message can be misleading: https://github.com/rust-lang/rust/issues/112650
Rust would be some borrow checker compile error like
borrowed data escapes outside of associated function
argument requires that `'1` must outlive `'static`
I 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 @[email protected] being broken whithout any possibility to change their URL.
Free standing functions in Java?! This can’t be true.
Meme transcription
FYI, Lemmy supports Alt text, so you don’t have to include the transcription in the post body.
See also https://slrpnk.net/post/12346945
Still 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
(removed comment)
TIL about clippy::cargo
. Thanks!
Wait, organic is a forprofit publicly traded company?
As far as I can tell from the open letter, it is legally a for-profit company, but it has only 2 (maybe 3) shareholders and isn’t publicly traded.
The new tool just got ported to rust, so its cool.
Rustaceans in a nutshell 🦀
Honestly, it felt more like https://xkcd.com/386/.
Scheintore klingt gut.
Use [text](url)
instead of (text)[url]
to create a link:
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.
Gnome Shell Extensions are powerful because they are allowed to hook into everything the gnome-shell process does. If the extension API would be changed so they couldn’t crash our shell session, extensions would become way less powerful and be mostly useless.
Nevertheless, it would be great if Gnome Shell could keep/recover your application state after restarting (like KWin).
Why cant autodesk port the POS to Linux
I mean, Fusion 360 even runs in a web browser (although it was unusably slow for me). It should be possible to port it to the Linux desktop.
Python too.