• 2 Posts
  • 14 Comments
Joined 10 months ago
cake
Cake day: July 3rd, 2025

help-circle


  • I’m too noob to understand it all but the way I see it, the core is not about using Some instead of iter::slice but what is inside.

    I understand this all is in context of Intel Software Guard Extensions about which I know nothing at all, and “UserRef states that userspace may always write to backing memory at any time, and that even &mut UserRef<T> is not exclusive”. So it seems that the design of UserRef is basically against Rust principles (“userspace may always write to backing memory”). So when the iterator is just a wrapper over slice::Iter, the code in next() relies on Rust’s principles which don’t align with how UserRef is supposed to behave. The proposal is to walk over ptr “manually” and return it (cast to UserRef) instead of constructing new UserRef from what slice::Iter would return in that next().map(|e| UserRef::from_ptr(e)).

    But does

    +pub struct Iter<'a, T: 'a + UserSafe> {
    +    ptr: *const T,
    

    really mean that one can happily cast that ptr to UserRef?
    What is PhantomData and how/why using it makes any difference, when it’s not being changed during iteration?
    Is the UserRefdesign sound or was only a workaround some problem?





  • There’s a lot more to what destroyed hanging out in the pub than scheduling

    For sure but even if you switch out computer games to board games, that is still not the same. People moved, a lot of games need space and hauling the box, etc

    In school we used to have breaks, we were hanging out just because of that. Now most often we don’t even work together anymore. Unless one has a job that forces them to come to the office or is one of that ~1% of the workforce that prefers to, and can have a chat at the water stand, I think for many people the reality is that if not for online games, they wouldn’t hang out with anyone anymore


  • You know where there term “AAA” comes from, right?

    Games used to be a niche - made by gamers for gamers. Now it’s gotten more mainstream so we have more industry around it. Good games aren’t gone, just don’t get advertised, same as everything else that is worthwhile

    As for social aspects of the games, I don’t agree with your take. We don’t have time to be hanging out in pubs every weekend anymore. Hopping in VC to do some “base building” requires less scheduling






  • Forks are a central part of the open-source ecosystem and are expressly intended to enable further development, adaptation, and also alternative governance models.

    Yes, but the immovability of *GPL licenses is what protects the projects from exploitation. OO put an addition to that license that the name is part of the copyrighted thing. So if for whatever reason the work done by NC is not being merged into upstream, or is not being fast enough, there should be two OO. One from OO and a fork from NC. If the code-bases drift apart, well, now we have two incompatible OnlyOffices. In that case those additions might have been a dumb idea. But I think we can’t afford to have exceptions from enforceability of the license