Live data from Hacker News

CS quotes found while browsing Notepad++'s code

github.com

91–100 of 186 posts

Re: CS quotes found while browsing Notepad++'s code

#91
I guess with a C++ file this big, you need some humor to keep your sanity.

Anyway, this one resonated with me: "vi has two modes - 'beep repeatedly' and 'break everything'"

Here is another interesting one: "A cookie has no soul, it's just a cookie. But before it was milk and eggs. And in eggs there's the potential for life", Jean-Claude van Damme

Re: CS quotes found while browsing Notepad++'s code

#93
post #55
post #41

What functionality in Notepad++ triggers showing one of these quotes?

I recall a feature that would show a quote in a new document each time the application was opened. I'm not sure if This is the same quotes in the source. Unfortunately I couldn't find any information about this on Google but it was documented in one of the older change logs.

Yes, it's an easter egg. Add -qn="random" to the Target in the shortcut you use to open Notepad++

Re: CS quotes found while browsing Notepad++'s code

#95

>"Je mange donc je chie." Roughly : "I eat therefore I shit" I never understood devs that do this, it reflects very poorly on them and it doesn't bring anything to the table. Way to show your immaturity. I write code since 2006, 99% of it is private and is mostly read by me and I still don't do this.

I might be one of those boring types, but I agree. Jokes get old, source code stays. Seeing the same shit obscuring the workflow gets tiring really fast.

This kind of humour is fine to see in passing on HN, but I'd be furious if someone put it in my production code.

Re: CS quotes found while browsing Notepad++'s code

#96
Isn´t it a very obvious thing to get the idea that the information of this site should not be hidden inside an ancient three-column design that resembles the antique NukeCMS (PHP)?

Why is the most important coder website build in a way that hides information so hard?

What purpose do the left and right column with empty space serve?

Once I used to install some user css to get 100% width for the content, but I got tired to do that.

How can such a design dinosaur survive for so long right in the center of "modern development tools"?

Re: CS quotes found while browsing Notepad++'s code

#97

>"Je mange donc je chie." Roughly : "I eat therefore I shit" I never understood devs that do this, it reflects very poorly on them and it doesn't bring anything to the table. Way to show your immaturity. I write code since 2006, 99% of it is private and is mostly read by me and I still don't do this.

It's a parody of "I think, therefore I am", which I find hilarious.

My code is littered with expletives...

Re: CS quotes found while browsing Notepad++'s code

#98

Earlier quoted context omitted.

Coding is not a serious act for some of us. We play, we build, we create and have fun. This doesn’t mean what we code is low quality or hacky. But this requirement doesn’t exclude the permission to have fun. Sometimes a variable name, sometimes a hex value, sometimes a comment or Easter egg. Life is too short to be too serious about anything and everything. I write code since 1999 or so. I still have fun here and the…

Exactly! It makes no difference to the compiler what you call a variable, but it makes a difference to the human. Whenever I do a pandas dataframe melt, I name the variable "melted_cheese". I could just name it something plain/boring, but life is simplybetter with melted cheese.

Agreed. A certain amount of word–play is necessary for a happy and healthy life. Sadly I once worked on a team that didn’t understand this.

I had been given the task to add an insignificant feature to a minor subsystem, and by chance the first two methods I added to my class had names that started with the letter A. I had to “ask” the user for confirmation, and I had to “authenticate” a widget. To keep myself interested, I pushed myself to continue the trend. I needed names for about six or eight methods, and the last two were the hardest. I had to lock some files to deny anyone permission to read them, and I had to record the actions taken in a database. I had the implementations written and tested, I just needed good names.

I ended up with the names “afsluiten” (literally “off–close”, or “to close off”) and “αναγράφω” (“anagrapho”, to inscribe, record, or publish). I laughed so much when I found both of them. They were perfect! I committed, pushed to a branch, wrote up a pull request, and then started a two–week vacation the next morning.

I anticipated that on my return we would all laugh at these funny names in our weekly meeting, that the team lead would request that I rename these two methods, and that I would then push to master with English names. Instead, I had a meeting with HR and the VP of Engineering about how I was mocking them, disrespecting their work, how unprofessional it was, and on and on and on. Apparently the team had been stewing on this “insult” for the whole two weeks, making it worse and worse in their minds.

I was rather sad when they fired me, but I have been so much better off ever since; the people I work with now actually know what humor is, and how to play. They can even express admiration and wonder when someone does something clever or slick. It’s like night and day.

Re: CS quotes found while browsing Notepad++'s code

#99
post #3

Adding #L7102 to the URL gets you straight to the quotes: https://github.com/notepad-plus-plus/notepad-plus-plus/blob/...

To see them in action, type the word "random" in Notepad++, select it and go to the ? -> "About Notepad++" menu. A new tab will appear where one quote will be typed out.

or type "random", select it and press F1 :-)

Re: CS quotes found while browsing Notepad++'s code

#100
post #87

Translations for the few quotes that are in French: > Je mange donc je chie. — Don Ho "I eat therefore I shit." It's a pun on René Descartes' "Je pense donc je suis" (I think, therefore I am). > Mathématiquement, un cocu est un entier qui partage sa moitié avec un tiers. "Mathematically, a cuckold is a whole who shares his half with a third [party]." > Si un jour une chaise te dit que t'as un joli cul, tu xtrouveras…

* Don Ho is the author of Notepad++.

[Tiny bubbles of laughter go here]
Post reply on HN