136 karma · joined September 28, 2023
I have spent hours and hours and hours and hours trying to get ChatGPT to be a little less apologetic, long-winded, to stop reiterating, and to not interpret questions about its responses as challenges (i.e when I say “what does this line do?” ChatGPT responds “you’re right, there’s another way to do it…”).
Nothing and I mean NOTHING will get ChatGPT with GPT-4 to behave consistently. And it gets worse every day. It’s like a twisted version of a genie misinterpreting a wish. I don’t know if I’ve poisoned my ChatGPT or if I’m being A/B tested to death but every time I use ChatGPT I very seriously consider unsubscribing. The only reasons I don’t are 1) I had an insanely impressive experience with GPT-3, and 2) Google is similarly rapidly decreasing in usefulness.
2. Pushing screens to schools may have been accepted under the impression they weren’t worse than learning on paper.
FreeD
function* operation() {
//@ts-expect-error `string` is not assignable to `number`!
let count = yield* createString();
return count.toExponential()
}
Is this a typo? How does the compiler know that count should be a number?I recognize that there’s still wired audio connectors but you know full well that the experience is not great because the industry wanted to remove audio jacks.
Until you accept this, you will be holding yourself back as a JavaScript developer.
If you need objects with encapsulated state and methods, use classes.
OOP does not magically introduce baggage or complexity.
Your proposed solution is still OOP. Coming up with your own OOP framework will introduce baggage and complexity.
Classes are highly optimized in modern JS engines.
Classes can be transpiled to performant code for legacy JS engines.
There are times when classes are not the right choice, but avoiding classes when they’re the obvious right choice is a clear indicator that a developer is unwilling to actually learn JavaScript.
Edit:
Your example code also has a bug, where your methods don’t actually mutate the properties of the returned object.
Please take the leap and just learn to use JavaScript classes!
HTML: Turing-complete Machine Language
Also, there are tools to look for old practices and suggest modern ones.
Calling “unsafe” as an escape for Rust’s rigid system is the same as saying that C++ can do inline assembly so you can copy/paste infinite optimizations done outside the compiler infrastructure.
That’s not the same at all. Unsafe can be used pragmatically. [Regarding UB in C++] So why C++ ignored that possible edge case? Because signed overflow in C++ is undefined behavior and as far as the compiler is concerned, it will never happen. With the edge case reasoned away by the language, the compiler is free to implement that optimization…
If you compile a similar function in Rust, you will see that Rust will be unable to optimize that expression away because both signed and unsigned overflows in Rust are well defined in the language as a two’s complement…
Again, pundits will state that you could have called one of the arithmetic wrapping functions, which will force the compiler to do this optimization. Well you can do many things but here we are measuring the effect of the compiler over two similar blocks of code.
Talk about premature optimization. You’d rather have all of the pitfalls of Undefined Behavior to get an optimization you can achieve in Rust because you’d rather be less explicit?This article is clearly not directed at me.
For the record, I love C++ and use it daily and will continue to do so. I also like Rust. It can be frustrating at times to have to change the way you think about structuring your program between the two, but that doesn’t mean that one or the other can’t be used effectively and safely.
Some of these people are highly informed about cannabis, some less so, but I don’t think any of them are under the impression that their use is particularly healthy. That said, it would probably be meaningful for them to see the results of this study.
- Threedom: Funny people Scott Aukerman, Lauren Lapkus, Paul F. Tompkins talk and play improv games
- Hey Riddle Riddle: Chicago improvisers Adal Rifai, Erin Keif, and JPC try to solve riddles and then do improv scenes tangentially related to them
- Doughboys: Funny people Nick Wiger and Mike Mitchell and usually a guest review chain restaurants in America
- Scott Hasn’t Seen: Comedan Shaun Diston and deranged human being Scott Aukerman and a guest watch and talk about one of the many movies Scott somehow has never seen.
Perhaps a standalone function (like nixRaw) could work to enable this.
What’s the rationale for the heavy use of tagged template literals in the API? From the outside, it seems like an esoteric choice that makes ergonomics slightly worse, less approachable, and less idiomatic. This seems to fly directly in the face of the goals of this project.
All that said, I could be convinced that the API choice isn’t a mistake.
At any rate, I’m excited to see where this project goes.
Also, self-selection/non response bias. Why would people who like them but otherwise don’t feel strong about them ever comment about it?