hagreet
Joined 9 years ago
Joined 9 years ago
I'm not saying it's great yet, but there is potential for having something that can hand-wave away some details like a human would when explaining something to a beginner.
I think most of the hate for current AI tools comes from the fact that people expect the computer from Star Trek which always provides perfect answers.
Edit: So yes, it needs to be made super obvious to users that it might give you wrong answers.
So how do you transmit those links securely and why didn't you use that for your passwords in the first place?
``` trim_string() { # Usage: trim_string " example string " : "${1#"${1%%[![:space:]]}"}" : "${_%"${_##[![:space:]]}"}" printf '%s\n' "$_" } ```
and think: "I should use bash more".
Bash is nice for making simple things simple but for complicated things it's just shitty. I used to think that this is due to the complicated quoting rules which make the simple things simple but tcl does a much better job at that.
In either case I prefer the clean rules of a Python or Perl for anything larger.
Of course you can optimize away the checks but that doesn't count in my world because people put in these checks to make sure there is no overflow and optimizing them away is just wrong.
But I am sure there are other interesting optimizations that this allows and since I am generally against UB I am curious what those are.