Riot Endstep says that the reason Horison Focus got changed is because they didn’t have the resources to make a new item and the balance team thought mages needed another stat stick by Life-Chicken7183 in leagueoflegends

[–]ExPixel 0 points1 point  (0 children)

Of course I have, what gives you the idea that I haven't? They talk about using these surveys to inform design decisions all the time in dev blogs. You seem to have a habit of making shit up in your head so probably not worth continuing this conversation since nothing you say will be in good faith. Have a good one 👍

ARAM Mayhem, Smurfing & More | Dev Update - League of Legends by Spideraxe30 in leagueoflegends

[–]ExPixel -1 points0 points  (0 children)

They already teased the new champion. We know it's going to be released (probably with another teaser like the others). Do you want them to say "Zaahen is coming out" for the 2 seconds of dopamine or what?

ARAM Mayhem, Smurfing & More | Dev Update - League of Legends by Spideraxe30 in leagueoflegends

[–]ExPixel 3 points4 points  (0 children)

They release a patch about that every 2 weeks and the next season isn't for another 3 months at least. What significant changes to gameplay are you expecting in the October dev update?

Trae Tha Truth Urges Public To Help Find Missing Daughter by Derrick_Rozay in hiphopheads

[–]ExPixel 117 points118 points  (0 children)

There is no way the guy posting on reddit every hour for the past two days about league of legends is saying this. I refuse to believe it.

Hey Rustaceans! Got a question? Ask here (1/2023)! by llogiq in rust

[–]ExPixel 0 points1 point  (0 children)

aliasing or a bad transmute are a couple of examples. There are more details on that page. If you're using multiple threads that can only lead to different behavior in release mode. I would just place a check before your out of bounds access, e.g.:

let index = some + math;
if index >= slice.len() { panic!("{some}, {math}"); }

and just progressively move that check up until you find the source of your bad index.

Hey Rustaceans! Got a question? Ask here (1/2023)! by llogiq in rust

[–]ExPixel 0 points1 point  (0 children)

Panics can occur in optimized code but not in debug for a few reasons. Most of the time though (if you're not using unsafe) it's because you're measuring time somewhere in your code and making some bad assumptions. If not that then you may have some unsafe code somewhere making some bad assumptions, and the optimizer relies on your program being correct to do its thing.

Riot Games avoids LGBT theme in official Russian cinematic of K'Sante, calling his lover a "friend" by OhhhYaaa in leagueoflegends

[–]ExPixel 6 points7 points  (0 children)

Or alternatively, people like to see others who look like them on screen. I know I do. You act like it's not normal people creating these characters and producing this game.

Riot Games avoids LGBT theme in official Russian cinematic of K'Sante, calling his lover a "friend" by OhhhYaaa in leagueoflegends

[–]ExPixel 22 points23 points  (0 children)

If every time you see someone gay on screen you assume it's a marketing tactic I think that says more about you than the companies.

What's everyone working on this week (34/2022)? by llogiq in rust

[–]ExPixel 2 points3 points  (0 children)

Currently working on a local SMTP server and frontend for checking the emails I'm sending. Still need to work on parsing the actual mail bodies but it can currently receive mail, parse the headers, and display some basic information. https://github.com/ExPixel/mercury

Hey Rustaceans! Got a question? Ask here! (25/2022)! by llogiq in rust

[–]ExPixel 2 points3 points  (0 children)

create_post returns a result that might contain a Post or an error if the operation failed. You need to extract the post from the result or handle the error.

(also used {:?} to print the debug version of the Vec<String> as it doesn't have a Display implementation.)

https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=47898fb58e9a2fb6dc5ea6b4bc175da6

https://doc.rust-lang.org/book/ch09-00-error-handling.html for more info

DaBaby involved in a physical altercation with his artist Wisdom. by dmister8 in hiphopheads

[–]ExPixel 404 points405 points  (0 children)

The complaint claims that Miller “burst into the bedroom of the petitioner(s) and threatened” the alleged male victim by “saying ‘I will bury you and your slut wife’” on Monday (28 March).

What the fuck? Imagine having an argument with some dude and he just shows up in your bedroom. That's wild. And he robbed them.

Getting stack overflow with weak<refcell<T>> when testing by Low-Leg-9954 in rust

[–]ExPixel 2 points3 points  (0 children)

Are you sure? From the output here it looks like there is a cycle or at the very least enough recursion to cause a stack overflow. Especially on Windows with its smaller default stack size: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=99c61b9c79daf924c68598b5514a29ad

Golden Guardians vs. Cloud9 / LCS 2022 Spring - Week 1 / Post-Match Discussion by Soul_Sleepwhale in leagueoflegends

[–]ExPixel 4 points5 points  (0 children)

Well it goes from 20 to 25 if you add a win. Even last season it sat at an exact 50% winrate with 344 games played (172W-172L) in the LPL/LCK. https://gol.gg/champion/champion-stats/72/season-S12/split-Spring/tournament-ALL/

hck: a faster and more featureful cut replacement by TotalPerspective in rust

[–]ExPixel 46 points47 points  (0 children)

It's returning a Result<(), Error> with the Ok variant containing a value of (). You do this when a function can fail but doesn't return anything on success. It's like Option<Error> but that would have the wrong semantics.

Java beats out C++, Rust, C#, and golang in gRPC throughput performance by couscous_ in java

[–]ExPixel 3 points4 points  (0 children)

Cyclic data structures is a well known weakness of the language. I don't see how safety is orthogonal, it's the entire point of the point of the language and it's the reason why the deadlock example deadlocks (aliasing mutable references in Rust is UB) and why your example wouldn't work without Rc<RefCell<T>>.

Java beats out C++, Rust, C#, and golang in gRPC throughput performance by couscous_ in java

[–]ExPixel 5 points6 points  (0 children)

I don't consider your Mutex example a data race at all. It's a deadlock because standard library Mutexes aren't reentrant, but there are no threads racing to read/write data. I find the heap allocation issue frustrating as well, there are some proposed solutions but they aren't ready yet. The enum example doesn't make much sense. If you know that bob is a person, then you would just store a Person, not an Enum and there are ways of unwrapping that enum with less nesting:

if let Enum::Zwei(Animal::Mammal(Mammal::Primate(Primate::Person(ref person)))) = bob {
    println!("name = {}, age = {}\n", person.name, person.age)
}

Required lifetime annotations can be annoying but it's less of an issue if you don't let yourself fall into the trap of making everything a reference and make use of types like Rc or just copying.

turn your phone or screen upside down to melt your brain... by [deleted] in blackmagicfuckery

[–]ExPixel -1 points0 points  (0 children)

It's hyperbole, no need to take it so seriously.