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.
- 0 Posts
- 64 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 Programmer Humor@programming.dev•Python needs an actual default function7·1 month agoFree standing functions in Java?! This can’t be true.
d_k_bo@feddit.orgto Programmer Humor@programming.dev•Python needs an actual default function37·1 month 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
d_k_bo@feddit.orgto Rust@programming.dev•Flattening Rust's Learning Curve | corrode Rust Consulting3·2 months agoTIL about
clippy::cargo
. Thanks!
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.
d_k_bo@feddit.orgto Programmer Humor@programming.dev•Why do AI company logos look like buttholes?4·3 months agoThe toilet then sends the data it collects to a cloud server.
What could go wrong.
What about https://snowflake.torproject.org/?
I think it would be very interesting to convert e.g. a regular Fedora installation into a (so-called “immutable”) Fedora Silverblue installation or vice-versa.
One way to do this is to use reference-counting pointers such as
std::rc::Rc
orstd::sync:Arc
. The parent node can hold a strong reference to each child node and each child node has aWeak
reference to its parent.
As others mentioned, running a minecraft server by itself is pretty easy. If you want additional features like a Web UI, multiple servers at the same time etc. you might take a look at Crafty Controller.
As someone who develops and distributes a small application exclusively on Flathub, I prefer that everyone uses the exact same package on every system. That way I know that if something doesn’t work, the issue should be easy to reproduce.
Recently, there was a situation where a user indicated in the comments of a release announcement that a newly introduced feature “doesn’t work”. It turned out that they installed a third-party package from the AUR (that wasn’t updated yet) without knowing that this isn’t the official and up to date version.
Just one more line bro. One more line will fix it.
But it comes at the cost of obscurity, Codeberg is a big player but any instance you find is isolated, and any devs you entice to help you need to register additional accounts personal to that instance.
It should be noted that Forgejo is working on implementing federation using ForgeFed, which is based on ActivityPub.
I just think they don’t understand how copyright and licenses work. If you create a work, you own the copyright. If you license it to someone (even when using a restrictive CC license) you are granting them rights that they hadn’t before. It doesn’t get more restrictive than just not licensing your comment.
d_k_bo@feddit.orgto Programmer Humor@programming.dev•I want a programming language that supports German style composite words7·5 months agoThere are some local differences in math notation, e.g.
.
vs.,
as a decimal separator,•
vs.×
for multiplication,:
vs÷
for division et cetera.
Python too.