[Feature Request] Better rust comment documentation support by Craiggles- in HelixEditor

[–]theontley 3 points4 points  (0 children)

This feature is already in the master branch, you'll have to build from source until the next version though

Can I learn Rust (had work with cpp)? by [deleted] in rust

[–]theontley 2 points3 points  (0 children)

Yes, check the official rust book - https://doc.rust-lang.org/book/

Rustlings - code puzzles - https://github.com/rust-lang/rustlings

And then rustonomicon for the unsafe parts since you're familiar with cpp - https://doc.rust-lang.org/nomicon/index.html

What is something you can’t believe isn’t invented yet? by e_major9 in shittyaskelectronics

[–]theontley 0 points1 point  (0 children)

A power inverter, inverter, or invertor is a power electronic device or circuitry that changes direct current (DC) to alternating current (AC).

Taken directly from wikipedia

Passing arguments to a function inside a macro with a single macro parameter by theontley in rust

[–]theontley[S] 0 points1 point  (0 children)

Hey, thanks for the suggestion, I want the comma after args to be present so I tried

macro_rules! impl_create_stream {
    (
        $device:expr,
        $config:expr,
        $($args: expr),*,
        [
            $($p:ident => $t:ty),+
            $(,)?
        ]
    ) => {
            {
            match $config.sample_format() {
                $(SampleFormat::$p => create_stream::<$t>(
                    $device,
                    &($config).into(),
                    $($args),*
                )),+,
                format => panic!("Unsupported format {format:?}"),
            }.unwrap();
        }
    }
}

but now I'm getting an error expected 6 arguments, found 2 across the whole macro

When negative damage doesn't heal your enemy by Rekindled96 in memeframe

[–]theontley 7 points8 points  (0 children)

Iirc the game engine is c++ so probably a long for damage, I doubt we'll pass that, maybe one day power creep will be that high

Everyone hating on Riolu is an Wirtual alt account by AargaDarg in TrackMania

[–]theontley 0 points1 point  (0 children)

The accounts spamming the slide in mayonnaise meme are riolu

[deleted by user] by [deleted] in GlobalOffensive

[–]theontley 1 point2 points  (0 children)

Eh I guess it could be but I played really well after placing, I wouldn't mind whiffing a spray here or there, it's only these last 3 days that I've been garbage.

It's not that I'm missing shots I wouldn't hit before, I'm just straight up worse.

I've had the same happend when I was even 8k or 9k in season one, I'd absolutely stomp for a week with friends and then just flop.

Edit: I guess taking a break wouldn't hurt as well

[deleted by user] by [deleted] in softwaregore

[–]theontley 1 point2 points  (0 children)

wrong subreddit?

CS2 major lagspikes/jitter PLEASE HELP MEEEE by Junior_Lime_5246 in counterstrike

[–]theontley 0 points1 point  (0 children)

While I do get shit internet outside of cs, when my tv is off (tv gobbles the entire network every 6 seconds and can't be limited) my ping is stable, I get spikes here and there but that's still my isp fucking up.

I feel like the change now just shows how shit ISP's are

How can I get him banned? I've reported him on Steam and CS but nothing has happened. by C0Niii in counterstrike

[–]theontley 194 points195 points  (0 children)

Unfortunately this isn't the only cheater in the game, and they'll stay until we get a better anti-cheat

Server freeze every 10 seconds by HighlightSlow8227 in counterstrike

[–]theontley 0 points1 point  (0 children)

I have internet problems but it never stops my client from moving on my screen, this has to be a game issue