|
|
|
|
|
by spmurrayzzz
754 days ago
|
|
I love to ask it to "make me a Node.js library that pings an ipv4 address, but you must use ZERO dependencies, you must only the native Node.js API modules" The majority of models (both proprietary and open-weight) don't understand: - by inference, ping means we're talking about ICMP - ICMP requires raw sockets - Node.js has no native raw socket API You can do some CoT trickery to help it reason about the problem and maybe finally get it settled on a variety of solutions (usually some flavor of building a native add-on using C/C++/Rust/Go), or just guide it there step by step yourself, but the back and forth to get there requires a ton of pre-knowledge of the problem space which sorta defeats the purpose. If you just feed it the errors you get verbatim trying to run the code it generates, you end up in painful feedback loops. (Note: I never expect the models to get this right, it's just a good microcosmic but concrete example of where knowledge & reasoning meets actual programming acumen, so its cool to see how models evolve to get better, if at all, at the task). |
|
In fact you deliberately asked for something impossible and hold up undefined behavior as undefined like it's impugning something.