12 karma · joined Sep 28, 2017 (9y ago) · 41 submissions
comment 1y ago · link · parent
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.
comment 3y ago · link · parent
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.
comment 3y ago · link · parent
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.
comment 7y ago · link · parent
comment 7y ago · link · parent
So how do you transmit those links securely and why didn't you use that for your passwords in the first place?
comment 7y ago · link · parent
``` 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.
comment 7y ago · link · parent
In practice randomness is about lack of knowledge not about actual randomness or processes.
(Edit: Sorry, but this clickbait title redefining randomness as something other than what everybody understands it to be annoyed me.)
comment 7y ago · link · parent
I can't figure it out from the answers. I think with root privileges it should just be possible to say "GUI has higher priority" etc... Then when there is a memory issue you kill some low-priority processes to get the memory back.
But whatever any sane person considers part of the operating system because it is the bare-minimum of what is required to do stuff (filesystem, gui, ...) needs to have priority and always be fast. This can be defined by the distribution using the startup privileges.
So, why is this so difficult?
comment 7y ago · link · parent
seriously, though: this has some marginal advantages compared to just sending the sites such as being supported as clickable in almost every program and being allowed in size restricted posts which allow arbitrarily long links
comment 7y ago · link · parent
The only legitimate reason to add this is that if some browsers have it and some don't usability will be better on some browsers than on others.
This is a prisoner's dilemma. Or was.