2,364 karma · joined Jul 8, 2012 (14y ago) · 1,078 submissions
comment 2mo ago · link · parent
comment 3mo ago · link · parent
I will always remember her appearance on the Late Show with Steven Colbert where she moved him to tears with an a cappella song: https://youtu.be/R91VssUiGiY
comment 5mo ago · link · parent
comment 6mo ago · link · parent
It is common and a mistake IMO to rely on the AI as the sole source for answers to follow-up questions. Better verification would have humans sign off on the veracity of fundamental assumptions. But where does this live? Can an AI model be trusted to rely on previous corrections? This seems impossible or possibly adversarial in a public cloud.
comment 10mo ago · link · parent
comment 10mo ago · link · parent
comment 10mo ago · link · parent
comment 11mo ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
The receiving type should control the lifetime of any callbacks to itself that it gives away. The destructor is the best place to ensure this gets properly cleaned up.
Like anything, custom callbacks can be used well or misused. Design is a matter of expertise and taste bordering on an art form. Connecting framework implementation and business logic can be done cleanly or clumsily. I am skeptical of an argument that callbacks have a code smell prima facie.
comment 1y ago · link · parent
This has not been my experience. But I haven't needed to deal with RTTI disabled.
By RAII, I mean using destructors to unregister a callback. This covers 99.9% of use cases. Generally callback registration is not where you really want type erasure anyways.