Switching Problems

Why was the gamer so stressed on the Nintendo Switch 2 launch day? Because all the pre-order sites crashed, leaving them in a constant state of… *switch*-uation!

🛡️ DHCP Snooping: First Line of Defense in L2 Security
Rogue DHCP servers can poison your network, assign fake IPs, and redirect traffic. DHCP Snooping protects against this by:

• Validating DHCP messages via trusted ports
• Building a binding table for IP–MAC–VLAN mappings
• Blocking untrusted responses at the switch level

It’s simple, effective, and essential for campus & enterprise networks.

📘 Learn how it works, where to deploy, and what hardware supports it:
🔗 https://cloudswit.ch/blogs/what-is-dhcp-snooping-and-how-does-it-work/

#DHCPsnooping #L2Security #NetworkSecurity #Switching #ZeroTrust #CloudSwit #EnterpriseNetworking #TrustedAccess #SONiC

What Is DHCP Snooping And How Does It Work? - Asterfusion Data Technologies

This article explains what DHCP Snooping is and how it works, dives deep into the technical details behind the feature, and walks you through how to configure DHCP Snooping on Asterfusion’s SONiC-based open network switches.

Asterfusion Data Technologies

Solved! 🥳

This was a pretty "interesting" bug. Remember when I invented a way to implement #async / #await in #C, for jobs running on a threadpool. Back then I said it only works when completion of the task resumes execution on the *same* pool thread.

Trying to improve overall performance, I found the complex logic to identify the thread job to put on a pool thread a real deal-breaker. Just having one single MPMC queue with a single semaphore for all pool threads to wait on is a lot more efficient. But then, a job continued after an awaited task will resume on a "random" thread.

It theoretically works by making sure to restore the CORRECT context (the original one of the pool thread) every time after executing a job, whether partially (up to the next await) or completely.

Only it didn't, at least here on #FreeBSD, and I finally understood the reason for this was that I was using #TLS (thread-local storage) to find the context to restore.

Well, most architectures store a pointer to the current thread metadata in a register. #POSIX user #context #switching saves and restores registers. I found a source claiming that the #Linux (#glibc) implementation explicitly does NOT include the register holding a thread pointer. Obviously, #FreeBSD's implementation DOES include it. POSIX doesn't have to say anything about that.

In short, avoiding TLS accesses when running with a custom context solved the crash. 🤯

One thing I notice when reading about people's problems #switching to #linuxaudio is that their attempts/workflows often seem quite complex.
To avoid setbacks and frustration, my suggestion would be to start simple and accept limitations in the beginning, get to know the system better, and then aim for more complex setups as your know-how grows.
Another Periodic Suggestion to Try, Just Try, Switching to Kagi for Search

Paying for Kagi today feels a *lot* paying for HBO back in the cable TV heyday.

Daring Fireball
Switching Problems

Why did the early buyers of the new game console get so frustrated? Because they couldn't *switch* to a different game; everything was sold out!

Switching back 🐧

#meme #linux #software #os #windows #microsoft #computer #switching #nerd #humor #just4fun #joke #lol #lmao #rotfl #fun #funny

Switching Up Expectations

Why did the video game company decide to charge for the tutorial on their new console? Because they figured out people would pay anything to learn how to "swing" a virtual controller, just like back in the day!