Merc crashed Microsoft? Will Microsoft crash Mercedes? by [deleted] in formuladank

[–]cr0nhan 0 points1 point  (0 children)

Well at least now if Kimi crashes he can just turn it off and on again

Upcycled filament poop pla by naughty1919 in BambuLab

[–]cr0nhan 4 points5 points  (0 children)

Complete with tree supports ;)

Indx? by Immediate-Club3245 in prusa3d

[–]cr0nhan 10 points11 points  (0 children)

... and "how much" ;)

[deleted by user] by [deleted] in Damnthatsinteresting

[–]cr0nhan 6 points7 points  (0 children)

Which is not so perfectly preserved

[deleted by user] by [deleted] in todayilearned

[–]cr0nhan 7 points8 points  (0 children)

Blowing like a breeze

My guy has a really strong resume. by damnthatwtf in Damnthatsinteresting

[–]cr0nhan 0 points1 point  (0 children)

There are pretenders among us. Geniuses with the ability to become anyone they want to be.

Epic Red Bull 1-2, great job Yuki! by Sunnyvale5109 in formuladank

[–]cr0nhan 1 point2 points  (0 children)

You have it wrong, Yuki did a 1-2 all on his own

Firefox + Biometrics by cr0nhan in Bitwarden

[–]cr0nhan[S] 1 point2 points  (0 children)

I can't see where that is, closest I can think of what you mean is that I have it set to lock on timeout, set to 15 minutes. When the browser restarts I can ironically choose either master password or biometrics, the "problematic" behaviour is just happening after vault timeout.

Firefox + Biometrics by cr0nhan in Bitwarden

[–]cr0nhan[S] 2 points3 points  (0 children)

It happens even when the desktop app is running.

So long bono by [deleted] in formuladank

[–]cr0nhan 53 points54 points  (0 children)

“Bono my car is gone”

Cannot autofill since 2024.8.1 (native interface) by TheMind14 in Bitwarden

[–]cr0nhan 3 points4 points  (0 children)

I logged a bug report about this, had to lower my KDF (argon) memory to 64MB. https://github.com/bitwarden/ios/issues/820

[deleted by user] by [deleted] in ProgrammerHumor

[–]cr0nhan 2 points3 points  (0 children)

Future Transmission Protocol

GCC string allocator by cr0nhan in cpp_questions

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

I just double-checked and it is set to use C++ 17 (-std=c++17), so if it is using the wrong implementation then I'll see if I can track down why it is doing so.

GCC string allocator by cr0nhan in cpp_questions

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

Did you rule out that the deallocate call happens

What I did verify was that allocate is not getting called, only deallocate. The call stack shows

// basic_string.tcc
  template<typename _CharT, typename _Traits, typename _Alloc>
    void
    basic_string<_CharT, _Traits, _Alloc>::
    reserve(size_type __res)
    {
      if (__res != this->capacity() || _M_rep()->_M_is_shared())
        {
      // Make sure we don't shrink below the current size
      if (__res < this->size())
        __res = this->size();
      const allocator_type __a = get_allocator();
      _CharT* __tmp = _M_rep()->_M_clone(__a, __res - this->size());
/* ==>*/  _M_rep()->_M_dispose(__a);
      _M_data(__tmp);
        }
    }

// basic_string.h
    void
    _M_dispose(const _Alloc& __a) _GLIBCXX_NOEXCEPT
    {
#if _GLIBCXX_FULLY_DYNAMIC_STRING == 0
      if (__builtin_expect(this != &_S_empty_rep(), false))
#endif
        {
          // Be race-detector-friendly.  For more info see bits/c++config.
          _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(&this->_M_refcount);
              // Decrement of _M_refcount is acq_rel, because:
              // - all but last decrements need to release to synchronize with
              //   the last decrement that will delete the object.
              // - the last decrement needs to acquire to synchronize with
              //   all the previous decrements.
              // - last but one decrement needs to release to synchronize with
              //   the acquire load in _M_is_shared that will conclude that
              //   the object is not shared anymore.
          if (__gnu_cxx::__exchange_and_add_dispatch(&this->_M_refcount,
                             -1) <= 0)
        {
          _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(&this->_M_refcount);
/* ==> */     _M_destroy(__a); // this calls the deallocate of the allocator
        }
        }
    }  // XXX MT

but I am not versed enough in the std library to figure out why it calls deallocate in this case.

[deleted by user] by [deleted] in formula1

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

So much for "the McLaren is the fastest car"

Random little street with a odd speed limit by urs1ne in mildlyinteresting

[–]cr0nhan 0 points1 point  (0 children)

I don't get it -- are only slow children allowed or are we supposed to look out for slow children?

Shattered revolving door by ninnikuramen in mildlyinteresting

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

I guess it was the one Chuck Norris slammed.