News for hackers. Stuff that matters.

will_crusher

Re:Async Await Is the Worst Thing to Happen to Programming on Thursday November 14, 2024 @06:14AM (#42135117)
"Ah, the ‘crash early, crash often’ mantra — truly inspiring. I guess when your program explodes because it can’t handle concurrency, we should just sit back, crack open a cold one, and toast to ‘maintaining invariants.’

And sure, let’s talk about state. If handling multiple states at once is ‘extremely difficult,’ then yes, async/await might not be the best for anyone who panics when their program has to juggle more than one thing. But that's kind of the point.

Async/await is like giving you a leash for your concurrency so you don’t need to wrangle state machines on a pogo stick. But hey, if you’re happier living on the edge of crashville because ‘the OS scheduler will save me,’ who am I to interrupt your Zen?”

Re:Async Await Is the Worst Thing to Happen to Programming on Thursday November 14, 2024 @05:56AM (#42135006)
while we’re waiting for the OS to ‘save us’ from async/await, let’s not ignore the fact that writing code that doesn’t hang, crash, or block the main thread is a skill for a reason.
Re:Async Await Is the Worst Thing to Happen to Programming on Thursday November 14, 2024 @05:36AM (#42134866)
Oh, async/await is too complicated? That's cute. This reads like a personal vendetta against async because someone couldn’t figure out how to write non-blocking code without making a mess. Pro tip: If adding async to a function is too much to handle, maybe Go's goroutines aren’t actually your salvation—they’re just hiding the complexity you're trying to avoid. Turns out, async/await isn't the problem; it's understanding concurrency in the first place. Async/await is a tool, not a trap. If it feels like one, that might just be… a skill issue.
Re:Huberman Husbands and the rise of self-optimization on Tuesday October 31, 2023 @09:00AM (#38084140)
Its Mashable, what was I expecting. Such drivel.
Re:PayPal stops payouts to models on Pornhub on Friday November 15, 2019 @03:12AM (#21543162)
The Adult industry has always been pretty hot on emerging tech, whilst a shitty move from Paypal, Im sure that they might move to something a little less standard.
Re:Facebook announces Horizon, a VR massive-multiplayer world on Friday September 27, 2019 @08:55AM (#21091361)
Its called Mozilla Hubs
Re:Apple introduces 8-core MacBook Pro on Tuesday May 21, 2019 @04:47PM (#19974801)
Wow, people are really salty about Apple.

I too wish they would make a better computer, but for now I continue to use them because they are the only machine that I can work on with little fuss of setup and go.

I have the 2018 model with the "Keyboard" which has been fine because I use a Bluetooth Mechanical keyboard anyway and a BT Mouse. I have a single cable or "Dongle" that supplies power, 3 displays, 5 USB 3.0 type A, 2 USB Type C, a SD Card Reader and Ethernet. Its also Daisy-Chained to an External GPU and temps stay good. When I need to go portable I just unplug a single cable and go.

Re:Node.js is forked to Ayo.js (pronounced like “IO”) on Wednesday August 23, 2017 @07:55AM (#15080682)
Its popular, therefore a lot more public, is my guess. Its also pretty easy to pick up for a 'first programming language' so it tends to attract SJW-types.