en.osm.town is one of the many independent Mastodon servers you can use to participate in the fediverse.
An independent, community of OpenStreetMap people on the Fediverse/Mastodon. Funding graciously provided by the OpenStreetMap Foundation.

Server stats:

258
active users

#tips

22 posts13 participants0 posts today

It’s not just the screen time, it’s how we use social media before bed that messes with our sleep! 😴

From doomscrolling to FOMO, emotionally charged posts keep our brains active, making it harder to unwind and fall asleep.

To improve sleep:
1️⃣ Avoid emotionally intense content 30-60 mins before bed.
2️⃣ Set your phone on "Do Not Disturb."
3️⃣ Mindfully check social media (or skip it entirely!).

theconversation.com/social-med
#health #wellness #sleep #tips #socialmedia

Tip 83 of #TuesdayCodingTips - Curious case of NLOHMANN_JSON_SERIALIZE_ENUM

I recently debugged a case where code generated by NLOHMANN_JSON_SERIALIZE_ENUM failed at invariant assertions deep in the nlohmann_json library. When examined under a debugger, the data looked in line with the invariants, but there were different from what I expected.

Upon expanding the macro, I found a static const array in the generated function body. This was suspicious as I knew the code is running multiple serializations in parallel and that static array was the only shared state between threads.

But the C++ standard clearly states such initialization is thread-safe! Except that our project had a particular MSVC flag set - /Zc:threadSafeInit- (which disables thread-safe initialization), for good reasons I can't talk about.

Takeaway - the problem isn't always in the code itself. Trust your gut feeling and dive into the compiler flags as well!

Tip 82 of #TuesdayCodingTips - C# exception filter

Ever found yourself in the situation where you have an exact same handling code for two (or more) selected exception types? C# has a nice way of deduplicating said code.

A `catch` block, processing a base exception type, can be optionally followed by a `when` clause, testing whether the exception in question is one of the derived types. A particular base exception can be used in multiple `catch` blocks, as long as at most one has no filter.

Furthermore, the filter expression is not restricted in any way, so you can interact with any object currently in the scope. If the filter expression throws, the exception is discarded, and the filter evaluates to false, moving to the next catch clause.

Replied in thread

@augieray #trump doesn’t use any of those things and avoids most of them so they can’t be important to make the US great again.
I’m guessing he wants to bring back legal slavery. The #usa was great when it had slaves. I mean considering this #tips concept to replace a real wage you never really got rid of slaves.

New Open-Source Tool Spotlight 🚨🚨🚨

Velociraptor is an advanced DFIR (Digital Forensics and Incident Response) tool. It focuses on endpoint monitoring, hunting, and data collection using flexible artifact-based queries. Its scripting language, VQL, allows custom queries tailored for specific investigations. #DigitalForensics #CyberSecurity

🔗 Project link on #GitHub 👉 github.com/Velocidex/velocirap

#Infosec #Cybersecurity #Software #Technology #News #CTF #Cybersecuritycareer #hacking #redteam #blueteam #purpleteam #tips #opensource #cloudsecurity

✨
🔐 P.S. Found this helpful? Tap Follow for more cybersecurity tips and insights! I share weekly content for professionals and people who want to get into cyber. Happy hacking 💻🏴‍☠️

Idk who on the Fedi needed to hear this, but when you follow two+ users who interact with each other, you get not just their own posts, but you also get their replies to each others posts in your feed!

I knew about this at one point, but I didn't follow enough people who interacted with each other to ever experience it. It's a nice little bonus to my timeline & imo a very social feature of the fedi (at least mastodon, idk if other fedi does it exactly this way).

I'm looking for a CRM system for a friend. Optimally from the EU, at worst with a datacenter in the EU.

Not wanting self hosting, we are looking for a SaaS provider.

The line of business is financial consulting, but I suppose that doesn't play a big role.

Do you have any tips on what to look for? Thanks

#crm#software#tips