@mobergmann
@lemmy.worldAre any of you hosting their own E-Books? If so which Software are you using and is it compatible with the E-Reader of your choice (if you use one)?
I don't have an E-Books nor do I have an E-Reader, but I'm considering to dig deeper into the business and wanted to hear your stories.
I just tried to access the embedded@discuss.tchncs.de community from my logged in browser and I can't see any posts, except the announcement. When I access the community from the same browser but in a private window, I can see lots of pots. A while back I also had an issue, where I couldn't see my Post on my profile. I could open the link, but a lot of anwers were hidden. I still got notification. When I opened the link in a private window, I could see all anserws. I think my account is somehow broken or sth. Can someone please help me? I already set the Lemmy Setting to default.
What is in your opinion the better matrix server software for self-hosting, Construct, Conduit or Dendrite (or even something completely different)?
I want to free my code from the 5 std::mutex::unlock
calls per function in favor of std::lock_guard
. But I have the problem, that I have to keep the mutex locked when entering asynchronous callbacks.
Take this code for example:
std::map<std::size_t, std::set<std::size_t>> my_map;
size_t bar1 = ...;
size_t bar2 = ...;
std::lock_guard guard(my_map); // lock the map
my_map[p].insert(10);
foo(bar1, [&my_map](const auto& p){
my_map[p].insert(10);
// here we can unlock
});
foo
is computing sth and then asynchronously calling the given lambda function and passing a parameter e
to it. I need my_map
to be locked the whole time.
Keep in mind, that this is just an code example which might not map the real problem, so please don't optimize my given code.
As the title states I would like to migrate to another server/provider (currently I am on matrix.org). Is that possible, without losing my chat history. I heard, that there is a tool, that invites your new account to all chats. But wouldn't that make my "person" chats to group chats?