• 0 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle
rss

  • It's using unity game engine. I'm a graphics programmer in the industry and at my current and last workplace I made tech for games studios (i.e. I dealt with performance of easily 100 games a year at one point). Unity by far was default the worst to deal with due to the limited tools to fix issues that were inherint to the engine. Note don't take this as me saying unity is a bad engine, it's just that it isn't a performant one. Its focus is elsewhere (accessibility and ease of development, things it excels at).

    So yes, you can definitely assume that, in fact I'd assume one core for the simulation unless they wrote an entire new architecture to replace unity's functionality (you'd still be locked to single thread sync points, but that's manageable). It's a hassle most don't deal with as it's a lot of work to struggle against writing code like unity wants you to write it.

    I worked in a studio that exactly did that a decade ago, and it was painful and frankly a huge upfront dev cost that takes a long time to pay off.



  • You raised an issue that the other bulletpoint has the solution for, I really don’t see how these are “key differences”.

    In Rust there always only one owner while in C++ you can leak ownership if you are using shared_ptr.

    That’s what unique_ptr would be for. If you don’t want to leak ownership, unique pointer is exactly what you are looking for.

    In Rust you can borrow references you do not own safely and in C++ there is no gurantee a unique_ptr can be shared safely.

    Well yeah, because that’s what shared_ptr is for. If you need to borrow references, then it’s a shared lifetime. If the code doesn’t participate in lifetime, then ofcourse you can pass a reference safely even to whatever a unique_ptr points to.

    The last bulletpoint, sure that’s a key difference, but it’s partially incorrect. I deal with performance (as well as write Rust code professionally), this set of optimizations isn’t so impactful in an average large codebase. There’s no magical optimization that can be done to improve how fast objects get destroyed, but what you can optimize is aliasing issues, which languages like C++ and C have issues with (which is why vendor specific keywords like __restrict exists). This can have profound impact in very small segments of your codebase, though the average programmer is rarely ever going to run into that case.


  • I participated in this, have to say it was fun and it’s been a thing I’ve said for years could make (at least) linear algebra lessons more interesting to young people. Shaders are the epitome of “imagery through math”, and if something like this was included in my linear algebra classes I would have paid much more interest in school.

    Funny now that this is my day job. I’m definitely looking forward to the video by IQ that is being made about this event.

    To explain some of the error pixels: the way you got a pixel on the board was by elaborately writing down all operations in details (yes this included even simply multiplications), the goal wasn’t if the pixel was correct or not, and depending on the location of your pixel the calculation could be a bit more complex, as long as you had written down your steps to get the result as detailed as possible.

    More than likely simple mistakes were made in some of these people’s calculations that made them take a wrong branch when dealing with conditionals. Hopefully the postmortem video will shed some light on these.


  • He’s making a video as a post mortem to this experiment, so it might still be released. But I can see why it would be better not to share them (aside from privacy/legal concerns as there was no such release agreement), some of the contributors used their real names, I may be one of them. It could be a bit shameful to see this attached to your real name. They might have submitted their initial draft and then, due to circumstances, could not update the results in the several hour window that was afforded to you.

    Luckily my pixels look correct though.






  • I try not to assume too much about the person on the other end, depending on the age he might just be an edgy teenager lashing out (yeah I know that’s ironic with my previous statement). I know my upbringing glossed over certain “troubling” parts of my country’s history, and that left me with certain messed up beliefs as well that I had to move past (and I luckily did)

    In the end I hope they’re someone who is just being edgy and ill-informed and my response at least plants a seed of doubt that is enough to prosper into acquiring the knowledge to move past their current beliefs

    But you might be right, I might just be a tad overtly optimistic here. But for me Nazis are an existential threat, so I’d rather convert them early than deal with the repercussions if they ever get political power over people like myself again.


  • I never said the original poster made a general statement about the people, just the country being called a shithole, you came in and added the “can’t call neo-nazi’s trash anymore”, a ridiculous statement I never made. In the context of my response being about how he refers to the country of Ukraine, how can your sarcastic complaint about me not be seen as referring to the the people? That’s why I said not every Ukrainian is a Nazi.

    My comment was pretty particular about the “your shithole” part. I don’t care what negative thing he calls Banderites, and you’ll see from my previous comments elsewhere in this thread I have no love for those who adore him.

    Also I find it ridiculous you all are very happy to point to problematic groups in one country, yet systematically ignore it in another. Double standards like this is why I have difficulties not seeing the bias at play in these discussions.


  • America is a shithole, too, if you were wondering.

    I agree it has its problems, but I’m not an American so it’s easier to not get deluded by what they call “the American dream”. Helps that even in my English classes growing up we dealt with topics such as the rampant poverty issues Americans face, and how many children live in poverty in the US. Though context matters; America is currently not being invaded. If it was a minor country on the world stage I would also not call it a “shithole”. Same reason I can detect issues in certain African countries without ever calling them by that name, like one of their presidents did.

    If you are from America, calling a country that’s been suffering your world hegemony for so long a ‘shithole’, I can only say you are part of the reason that’s the situation, and so you have no rights to call any country a shithole.

    “You can’t call our neo-Nazis trash and our state that celebrates Nazi collaborators a shithole! That’s, uh, uh, that’s racist!”

    Not every Ukrainian is a Nazi. But sure, let your hate cloud your sense of decency, if that makes you feel better. I’m sure the mothers I’ve spoken to will be happy their children died because they were Nazis, besides I’m sure their elderly people just had it coming… /s

    Unlike you I don’t see them as “acceptable collateral”.




  • Damn, I thought your rules preclude you from making such a racist remark against a nationality. You can go join Trump with calling places “shitholes”.

    I find this weird support for Russia fascinating. They are clearly not free from nationalists and extremists sentiments themselves. Their own state media is calling for pre-emptive nuking of cities, Ireland being an acceptable collateral when nuking the UK, and their own former prime minister Medveded is yelling on twitter about achieving “Greater Russia”. Here’s someone who was awarded “Hero of the Russian Federation” by Putin himself.. It’s almost as if Russia doesn’t actually care, and they are just using it for their propaganda.

    Also lol, they’re saying they’re not going to execute them because they aren’t barbarians and giving them time to retreat, and then you take offense to that? That’s such an odd stance. I personally applaud when someone says they want to avoid unnecesairy deaths, but you do you.


  • As with all jokes it matters who the audience is. My friends can make off-colour jokes with me, I can reciprocate with off-jokes. But I would never do this with people not fully aware of my actual opinions. This also counts to clear misogynistic jokes.

    My closest female friends they would be fine with it, they’ve known me for years, I’ve supported them in their lowest and they know I would never mean the a horrible thing I say. They’ll happily reciprocate with some toxic male jokes, or some gay jokes. That said, even when I make them they are both clear intended to be jokes, but if they ever looked uncomfortable then it would be my guilt to bear, as at the end, as the audience they are meant to enjoy the joke, not be sad or hurt by it.

    Making them to strangers is a big no-no, and if strangers are in the room with you at the time (like a party) you also have to “match the energy” of your friend. That means don’t randomly do something misogynistic that they would understand to be a joke, but strangers would not. I think this is the hardest for most people as they don’t consider that strangers witnessing could also be accidental audiences.