Interesting, it looks like you can use ´global myvar’ now, as compared to ´myvar’ implicit globals, say from back in 5.1, or ´local myvar’.
It’s worth noting that global is a reserved keyword now, so environments that had a ´global()´ function for escaping environments will now need to rename their helper function.
But.. why ? Globals are just variables that reside in the wrapping env table that also contain the C functions. If a closures is a onion of table lookups out of the function context from local -> function scope -> global scope is simply the last lookup before a not found variable with nil is declared?
There's a lot of ecosystem behind it that makes sense for moving off of Node.js for specific workloads, but isn't as easily done in Rust.
So it works for those types of employers and employees who need more performance than Node.js, but can't use C for practical reasons, or can't use Rust because specific libraries don't exist as readily supported by comparison.
I don't care what you other people in auth do, I work in auth too, please stop making signing into anything 5 steps.
1. First I get redirected to a special sign-in page.
2. Then I sign-in with my email only.
3. Then it finally asks me for a password, even for services that would never reasonably use SSO or have another post-email receive process.
4. Then I get redirected again to enter 2fa.
5. Then these websites ask if I want to create a passkey. No, I never want to create a passkey, and you keep asking me anyway.
6. Then, and only then, do I get to finally go back to using the service I wanted, and by then, you've lost whatever my `?originalUrl=` was, and I have to find it again.
No, don't send me a magic link. Because then I have to go do 4 more steps with Gmail or another mailbox provider and now signing in has become 10 or more steps.
No, don't tell me getting rid of passwords will help most of the population, and then force all of us to do the above, and blatantly lie to us that it's better.
More often than not, I’ve seen web pages that are more easily scraped than one could connect to an official API. It’s so weird. It’s like in many cases companies don’t really care, so of course people are going to scrape your pages instead.
That is how bans work here. You can log in and comment just fine, and it's not apparent to you, but your comments show as dead by default to everybody else, unless someone chooses to vouch for them.
It’s such an uncreative name, anyway. It’s like something you’d read from a hardware engineering GitHub repository where the author was oblivious to how searchable the intellectual property would be.
One of the most popular API frameworks is called “FastAPI” but in any meaningful benchmark it’s one of the slowest commercially used pieces of web software the industry has adopted.
There is no hope for large segments of the industry. We actively choose to make bad decisions all the time, and then people rationalize them.
FastAPI is the best combination of an easy and a flexible Python library for web servers, from my experience. If I need performance, I will rewrite it in Go.
You’re not missing out on a lot. Coming from someone who has used their products for many years now. Their products have more compromises and trade-offs now than they did during Apple’s Intel era.
What you will tangibly miss is low noise, low power draw hardware and very, very specific workloads being faster than the cutting edge AMD/Nvidia stack people are using today.
I have a work-issued M3 MacBook Pro, and at home my daily drivers are a Ryzen 9 3900 PC (still on Windows 10) and a Framework 13 laptop with a Ryzen 5 7640U running Windows 11. The hardware on my MacBook Pro is fantastic; I get amazing battery life that lasts far longer than my Framework 13, and the performance is excellent. I also love my MacBook Pro's build quality.
However, the reason my personal laptop is a Framework 13 and not a MacBook Pro is because I value upgradability and user-servicability. My Framework has 32GB of RAM, and I could upgrade it to 64GB at a later date. Its SSD, currently 1TB, is also upgradable. I miss the days of my 2006 Core Duo MacBook, which had user-serviceable RAM and storage. My Ryzen 9 3900 replaced a 2013 Mac Pro.
Additionally, macOS doesn't spark the same type of joy that it used to; I used to use Macs as my personal daily drivers from 2006 to 2022. While macOS is less annoying than Windows to me, and while I love some of the bundled apps like Preview.app and Dictionary.app, the annoyances have grown over the years, such as needing to click a security prompt each time I run lldb on a freshly-compiled program. I also do not like the UI directions that macOS has been taking during the Tim Cook era; I didn't like the changes made during Yosemite (though I was able to live with them) and I don't plan to upgrade from Sequoia to Tahoe until I have to for security reasons.
Apple's ARM hardware is appealing enough to me that I'd love to purchase a M4 Mac Mini to have a powerful, inexpensive, low-power ARM device to play with. It would be a great Linux or FreeBSD system, except due to the hardware being undocumented, the only OS that can run on the M4 Mac Mini for now is macOS. It's a shame; Apple could probably sell more Macs if they at least documented enough to make it easier for developers of alternative operating systems to write drivers for them.
It’s worth noting that global is a reserved keyword now, so environments that had a ´global()´ function for escaping environments will now need to rename their helper function.
reply