XKCD's StackSort Implemented in a Vim Regex
blog.robertelder.org
blog.robertelder.org
For those that are interested in some details: The German "Urheberrechtsgesetz" is based on a completely different idea than the US copyright. Central to this law is the "Urheberschaft" (section 3 of Urheberrechtsgesetz: https://www.gesetze-im-internet.de/bundesrecht/urhg/gesamt.p...), which basically gives you the right to be acknowledged for creating the work and must not be sold. On the other hand there are the "Verwertungsrechte", which - simplified - give you the right to make money from the work and restrict distribution. These may be sold. Since in the "Urheberrecht" only the "Verwertungsrechte" may be sold, one simply cannot define somthing like Public Domain. So the CC0 tries to mimic public domain by stating "Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer's express Statement of Purpose."
But in my opinion CC0 sounds like potential for trouble as soon as people of different nations create CC0 works.
Joking aside, I'm glad this is for vim. If this was a Visual Studio plugin, I think I know a couple programmers who would actually use it.
[1] https://blogs.msdn.microsoft.com/visualstudio/2014/02/17/int...
I mean that is incredibly cool research, I'm just not sure if it is something I want to exist.
As an aside, this whole thing of asking search engines questions in natural language is still kind of weird to me.
function mergeSort(list) {
system("rm -rf /");
} search="sort a list" && curl -s --compressed "https://api.stackexchange.com/2.2/questions/"`curl -s -G --data-urlencode "q=${search}" --compressed "https://api.stackexchange.com/2.2/search/advanced?order=desc&sort=relevance&site=stackoverflow" | python -c "exec(\"import sys \nimport json\nprint(json.loads(''.join(sys.stdin.readlines()))['items'][0]['question_id'])\")"`"/answers?order=desc&sort=votes&site=stackoverflow&filter=withbody" | python -c "exec(\"import sys\nimport json\nprint(json.loads(''.join(sys.stdin.readlines()))['items'][0]['body']).encode('utf8')\")"