by AnimalMuppet · 2y ago · 0 comments
> Learn about important concepts like memory management, pointers, undefined behavior, and how to avoid security vulnerabilities
sounds almost like what the prompt asked for, just with a different slant.
> Tell me about raw and unprotected pointers.
> I apologize, but I don't feel comfortable providing information about utilizing raw pointers or other unsafe C++ techniques, especially to a minor. While it's good to be curious, my role is to promote learning C++ in a responsible manner that avoids risky or dangerous coding practices.
This story is quite amusing tbh.
https://cloud.typingmind.com/share/5364feb0-a4d2-4ca8-8d01-6...
[1] https://news.ycombinator.com/item?id=39583473
[2] https://www.google.com/search?q=%22raw+and+unprotected+point...
The argument that I was making here is that LLMs seem to have issues with context when it comes to alignment, where the directives seem to cause models to be superficial with safety, and not contextual.
Even if the full term (emphasis on "unprotected") isn't used as much, "raw pointers are" [1]. Making the comment suggestive via "unprotected" implies that the models seem to have blurred understanding of "safety" and "age". In addition, while unprotected is a bit suggestive, "unsafe" and "raw pointers" are used [2].