Discussion between doak and Knu

Imported from a comment discussion on unix.stackexchange.com/q...
Knu
Feb 15, 2019 14:27
I also should be able to set the separator used between the changes. The default should be something sensible like " … ".
Knu
Feb 15, 2019 14:23
The context wouldn't be lines but characters because there's only one long line.
Knu
Feb 15, 2019 14:22
If there's only one letter that has been changed I want the context around that letter to be outputted.
Knu
Feb 15, 2019 14:22
Pick any minified library from cndjs and compare 2 versions.
Knu
Feb 15, 2019 14:21
I have given an example, a special case to cover and a use case. It's plenty enough.
Knu
Feb 14, 2019 05:56
I am not taking into account the colors but you can use your imagination.
Knu
Feb 14, 2019 05:56
somethi | whatev
Knu
Feb 14, 2019 05:54
e.g. for " | ", 2 changes and 3 characters for the context:
Knu
Feb 14, 2019 05:53
Id like to be able to add the separator between 2 changes. Currently it seems to be \n.
Knu
Feb 14, 2019 05:52
> Do you want to get the changes listed one by one or combined in that case?
Knu
Feb 13, 2019 20:40
Alright it's almost there. I just need to replace the separator (\n) by something custom. BTW I don't have enough reputation to upvote.
Knu
Feb 13, 2019 20:40
"You seem to use FreeBSD, is this correct?" I am not. I am using macOS X
Knu
Feb 13, 2019 20:40
I tried the version "without Perl regular expressions" and it doesn't diff at a char level: it's not as granular as --color-words=..
Knu
Feb 13, 2019 20:40
My BSD grep 2.5.1 doesn't have a P option so git-diff-word-context -U 5 file.ext failed.
 
Knu
Jun 26, 2018 02:58
Or our moto is optimal user experience even for the nominees?
Knu
Jun 26, 2018 02:57
We need a loser.
Knu
Jun 26, 2018 02:57
Can't you add a fourth at least?
 

 English Language & Usage: Multi-Layer

Not for the faint of heart or those easily triggered by Englis...
Knu
Oct 20, 2016 11:07
well I guess Ill first have to know how to formulate my question. Thanks anyway.
Knu
Oct 20, 2016 11:01
@terdon better?
Knu
Oct 20, 2016 10:59
> Please pick an apple, orange or oatmeal.
Knu
Oct 20, 2016 10:59
Do I have to repeat it every single times? @terdon
Knu
Oct 20, 2016 10:57
Anyone got a clue?
Knu
Oct 20, 2016 10:55
But I can't find them since the keyword OR is not search query friendly…
Knu
Oct 20, 2016 10:55
Hi, I am searching questions about "or" and its usage for list of 3 items or more.
 

 Documentation Beta

Everything is on fire and broken
Knu
Jul 9, 2016 14:46
Did you somehow go back to a previous version of the website?
Knu
Jul 5, 2016 01:24
It was broken all weekend. I wouldn't say that was fast :)
Knu
Jul 5, 2016 01:24
> That was quick, thanks :-)
Knu
Jul 2, 2016 18:52
6
Q: Unable to access Dashboard

luweiqiCurrently, Dashboards of all tags cannot be accessed, it leads to an 'Oops! Something Bad Happened!' error. I think that it might be broken by a new fix. This: http://docs-beta.stackexchange.com/documentation/java Leads to: http://docs-beta.stackexchange.com/error?aspxerrorpath=/doc...

Knu
Jun 22, 2016 23:57
well obviously it's related to the fact that I was trying to delete it when someone else was already dealing with it
Knu
Jun 22, 2016 23:54
@Adam still 404
Knu
Jun 22, 2016 23:39
here's the final URL:
Knu
Jun 22, 2016 23:39
there's a redirection or a push going on
Knu
Jun 22, 2016 23:38

(topic draft)

edited on jun 15 '16 at 4:14 by Knu 199
deletes topic
Knu
Jun 22, 2016 23:37
@Adam sorry it's not
Knu
Jun 16, 2016 20:57
@Adam did you find anything?
Knu
Jun 15, 2016 18:07
@Adam Yes I am getting a 404/Page Not Found.
Knu
Jun 15, 2016 04:41
-are*
Knu
Jun 15, 2016 04:39
Is it on purpose?
Knu
Jun 15, 2016 04:39
I have a draft on a topic that was deleted which redirects to a 404: docs-beta.stackexchange.com/documentation/javascript/684/…
Knu
Jun 15, 2016 04:37
Are the guys working on doc are reading the chat?
Knu
Jun 12, 2016 09:28
@JonasCz Who would support new ways to potentially lose rep? Nah it needs to be imposed if it's ever implemented.
Knu
Jun 11, 2016 19:31
It seems there are no malus whatsoever: it should cost rep if ur contributing bad content.
Knu
Jun 11, 2016 19:30
Anyone knows how to lose reputation on documentation?
 

 Mathematics

Associated with Math.SE; for both general discussion & math qu...
Knu
Mar 22, 2012 16:42
The stared imgur is for real? It's not photoshoped?
Knu
Mar 22, 2012 16:36
@paul {5*n | n in [2]} that's what I found. Do you have anything better?
Knu
Mar 22, 2012 16:33
Unless you come up with something I didn't read.
Knu
Mar 22, 2012 16:33
But after some research it seems the notation is not intuitive enough.
Knu
Mar 22, 2012 16:32
@paul I was trying to express 5n twice (with a repeat argument) without using a range nor the result (5 and 10).
Knu
Mar 22, 2012 15:38
I guess no one cares.