Danny the Cyber Guy's avatar
Danny the Cyber Guy
_@cyberguy.fyi
npub1ven4...ddfh
Builder of freedom tools, sup?
Looks like my talk has been accepted for btc++ in seoul this coming november, who's gonna be there? image
I like LLMs but sometimes I don't understand their logic at all ```odin unknown_fields :: proc(j: J, allowed: []string) -> bool {if jkind(j) != .Object {return true}; for f in jfields(j) {if !scontains( allowed, f.key, ) {return true}} return false} contains_ref :: proc(j: J, key, value: string) -> bool {for f in jfields(j) {if f.key == key && jtext(f.value) == value {return true} if contains_ref(f.value, key, value) {return true}} for v in jelems(j) {if contains_ref(v, key, value) {return true}} return false} ``` like what in the world compelled it to write it in such an ugly way... like this is for sure learned behavior from its training data... but I'm shocked at how bad it is. I can barely read that
↑