skinner927
I highly recommend a service like SimpleLogin. It allows for dynamic wildcards:
- [email protected] - [email protected] - @my.domain
All gets fwd to my real email and I can kill any address from my email client by unsubscribing (or login to the SimpleLogin interface)
You can go further and use subdomains or pattern matching to send things to different addresses like your spouse and friends. e.g.
- @friend.my.domain -> [email protected] - *@spouse.my.domain -> [email protected]
Not affiliated, just really happy with the service
https://docs.netbird.io/about-netbird/browser-client-archite...
They also believe a fat man dressed in red zips around the earth one night to give everyone presents.
They’re children. They don’t need to know where bacon and hot dogs come from.
I doubt those children care about anything outside their bubble.
Write a simple single-threaded http server that takes strings and hashes them with something slow like bcrypt with a high cost value (or, just sleep before returning).
Write some integration tests (doesn’t have to be fancy) that hammer the server with 10, 100, 1000 requests.
Time how performant (or not performant) the bank of requests are.
Now try to write a threaded server where every request spins up a new thread.
What’s the performance like? (Hint: learn about the global interpreter lock (GIL))
Hmm, maybe you’re creating too many threads? Learn about thread pools and why they’re better for constraining resources.
Is performance better? Try a multiprocessing.Pool instead to defeat the GIL.
Want to try async? Do the same thing! But because the whole point of async is to do as much work on one thread with no idle time, and something like bcrypt is designed to hog the CPU, you’ll want to replace bcrypt with an await asyncio.sleep() to simulate something like a slow network request. If you wanted to use bcrypt in an async function, you’ll definitely want to delegate that work to a multiprocessing.Pool. Try that next.
Learning can be that simple. Read the docs for Thread, multiprocessing, and asyncio. Python docs are usually not very long winded and most importantly they’re more correct than some random person vibe blogging.
2. Powerline networking is considerably slower and less reliable than CAT5/6. Additionally, building code for running power lines is much more strict than low voltage CAT5/6
I find linters make me faster. Sometimes I’m feeling lazy and I just want to pump out a bunch of lines of ugly code with mappings poorly formatted, bad indents, and just have it all synched up when I save.
Sent from my 49” G9 Ultrawide.