BB_C

joined 2 years ago
[–] BB_C 1 points 16 hours ago (1 children)

I might expect the Rust ecosystem to adopt these new features.

This again points to you maybe not understanding how editions work, or maybe I'm just reading it wrong again. But you "upgrading" has no effect on your dependencies, and vise versa (except indirectly if MSRV is a factor as another user mentioned).

[–] BB_C 3 points 1 day ago (4 children)

Just upgraded

Weird wording!
Maybe it's just me, but this may give the impression that it's something that is strictly needed, or will provide any immediate improvement, which is not the case, unless you're still actively working on these projects and plan to use/depend on features/behaviors required by the new edition.

[–] BB_C 8 points 1 day ago (1 children)

In case the wording tripped anyone, generators (blocks and functions) have been available for a while as an unstable feature.

This works (playground):

#![feature(gen_blocks)]

gen fn gfn() -> i32 {
    for i in 1..=10 {
        yield i;
    }
}

fn gblock() -> impl Iterator<Item = i32> {
    gen {
        for i in 1..=10 {
            yield i;
        }
    }
}

fn main() {
    for i in gfn() {
        println!("{i} from gfn()");
    }
    for i in gblock() {
        println!("{i} from gblock()");
    }
}

Note that the block-in-fn version works better at this moment (from a developer's PoV) because rust-analyzer currently treats gfn() as an i32 value. But the block-in-fn pattern works perfectly already.

[–] BB_C 2 points 1 day ago

Hey, posting from Coping People's Party is cheating.

/mj Let's keep the language used in your description to the chans. It's a jerking style violation anyway.

[–] BB_C 2 points 1 day ago

While you missed the mark here since typst has all the important stuff open (I wouldn't use the web interface even if it was free/open source), I appreciate that you're keeping an eye open.

If you were in r*ddit's rust community a few years ago, you probably would have been banned, just like me😄

A blog post from M$ mentioning Rust with zero code

=> straight to the top

A news article regurgitating the same thing a week later

=> straight to the top

Another news article two weeks later regurgitating the same thing, possibly with the addition of a random tweet from some M$ dev

=> straight to the top

Anyone not sucking nu-M$'s ****

=> banished to the bottom, or worse.

Things got so silly to the point where I made this jerk post (archive link) about one of these silly posts.

[–] BB_C 3 points 1 day ago

I wouldn't correct you if this was a general community where the internet gantry hangs in numbers like the multiple !linux communities, but let's keep things more factual here in !rust.

After Wedson quit months ago, no one from the Rust-For-Linux effort has quit/resigned/whatever. No one quit who is relevant to current mainline kernel development in general, either.

There is a difference between the actual Rust-For-Linux team, and Rust proponents who may write kernel code out-of-tree, or may happen to still be listed as maintainers in a dead poor GPU driver. Confusing the two is good for drama, but let's not do that here.

And the bad boy maintainer is entitled to his opinion (which I disagree with of course). An opinion which will always be more informed and relevant than 99.999% of whatever the internet gantry has been contributing.

[–] BB_C 1 points 2 days ago

True. Moronix's comment section is always good for a good laugh. Although the novelty wears off fast due to the lack of novelty/originality.

[–] BB_C 1 points 2 days ago (3 children)

How dare you change the click-bait title❓
I mean, it's a moronix post. No one was expecting some serious reporting anyway🙂
Otherwise, you could have just pointed to the mailing list thread directly (preferable).

[–] BB_C 2 points 3 days ago

But don’t use ctrl-b

What migrant from screen didn't start by adding this to tmux config? 😄

set-option -g prefix C-a
unbind-key "C-b"
bind-key "C-a" send-prefix
[–] BB_C 6 points 4 days ago (4 children)

If you're serious about creating something good/better, you should use alacritty_terminal (not to be confused with the terminal app built on top of it) for low-level (from your PoV) terminal support.

This is something zellij didn't do. And now they have "basic functionality" bugs like this one open for years.

I also wonder what made you pick screen as a baseline to improve on instead of tmux.

[–] BB_C 1 points 1 week ago

even if he wrote "half", he would still be wrong, and still suffering from multiple levels of dissonance.

[–] BB_C -3 points 1 week ago* (last edited 1 week ago) (2 children)
  • Not all x86 laptops are like you describe.
  • Non-Apple ARM laptops exist. They in fact predate Apple's move to ARM. Not only that, Linux was actually the primary target platform for many of them.
 

cross-posted from: https://programming.dev/post/23822190

I added this language to my watch list some time ago and forgot about it, until I got a notification about a new release (0.15) yesterday.

I'm someone who is familiar with system languages (C, Rust) and shell languages (Bash, Zsh, ..). But don't have much experience, at a proficient level, with any languages setting in between.

So I gave Koto's language guide a read, and found it to be very well-written, and the premise of the language in general to be interesting. I only got annoyed near the end when I got to @base, because I'm an anti-OOP diehard 😉

I hope this one well start to enjoy some adoption.

 

I added this language to my watch list some time ago and forgot about it, until I got a notification about a new release (0.15) yesterday.

I'm someone who is familiar with system languages (C, Rust) and shell languages (Bash, Zsh, ..). But don't have much experience, at a proficient level, with any languages setting in between.

So I gave Koto's language guide a read, and found it to be very well-written, and the premise of the language in general to be interesting. I only got annoyed near the end when I got to @base, because I'm an anti-OOP diehard 😉

I hope this one well start to enjoy some adoption.

10
submitted 9 months ago by BB_C to c/rust
21
submitted 9 months ago by BB_C to c/rust
view more: next ›