Live data from Hacker News

CS quotes found while browsing Notepad++'s code

github.com

151–160 of 186 posts

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

#151
post #84

8272 lines of code in a single file. I guess you could talk about coding standards and code smells all day, but let's not. I'm impressed.

sqlite has the option of a single file build. They found that the compiler can optimize best within one compilation unit.

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

#152
post #102

My favourite one so far: > No one ever makes a billion dollars. > You TAKE a billion dollars. Quite relevant to the vulture capitalists and their fans who frequent this site.

You mean people give it to you? You can't get away with taking one billion dollars from others without their permission unless you are the government ;)

And the government has been making it easier to hit $1bn thanks to inflation.

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

#153
post #19

It's curious to see how these quotes add over time and how they progress from dad jokes to more sophisticated, event statements Empty your memory, with a free(), like a pointer.\nIf you cast a pointer to a integer, it becomes the integer.\nIf you cast a pointer to a struct, it becomes the struct.\nThe pointer can crash, and can overflow.\nBe a pointer my friend." or Freedom of expression is like the air we breathe, w…

The first one is based on a Bruce Lee quote :) > Empty your mind. Be formless, shapeless, like water. You put water into a cup; it becomes the cup. You put it into a teapot; it becomes the teapot. You put water into a bottle; it becomes the bottle. Now water can flow, or it can crash! Be water, my friend.

Ahhh, I should have recognised it; it's used in this Melodysheep remix:

https://www.youtube.com/watch?v=1ZxGtvpp49M

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

#155
post #133

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…

> > 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]." In French "moitié", which means "half", is also slang for "spouse" (or girlfriend, significant other, etc... you get the idea). "tiers" indeed means "third" or "third party". "entier" means "integer" in a mathematical sense, but more generally, it means "w…

This is hilarious. I wonder if every language can be as playful as this. Or I am simply oblivious to it in English.

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

#156

In C++ it's harder to shoot yourself in the foot, but when you do, you blow off your whole leg. Bjarne Stroustrup Is it though? I feel it's as easy to shoot my foot as to modify few lines of C++ code and get 200+ lines of STD error messages.

Compare it to C and Assembly language at the time C++ was first written...

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

#157

I'm a Notepad++ user and I'm not a fan of some of these quotes. I wonder if someone has already made a cleaned up version of Notepad++. I would certainly be interested in that.

There are way too many oversexed nerd jokes to my liking, but it is all nostalgic if you've been visiting IRC during the 00s

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

#158
Kind of niche and specific to X11, but one my favorite quotes is from jwz [1]:

"X is slow because of the separation of servers and clients, i.e., the client-server model, i.e., its network capacity. It doesn't matter that it uses shared segments in the degenerate case -- it still takes a dozen context-switches amongst three different processes before an X client can even pick its nose."

[1] https://slashdot.org/story/99/08/04/2242224/ask-slashdot-com...

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

#159
post #76
post #71

Earlier quoted context omitted.

This only makes sense from a naively individualist perspective. If no one ever made a billion dollars, so to speak, there would be no money at all.

It also makes sense from a marxist perspective. How billionaires/capitalists take the surplus value from manual labour and all that untrendy stuff.

It is not trendy, because labour is not something that exists by itself in a vacuum.

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

#160
An old favorite of mine is the exception message "God Damned Exception" [0]

I stumbled across it in 2007, the day after Windows Vista was released. I installed Windows Vista, and the first thing that I installed was Notepad++. Shortly thereafter, I got a popup "God Damned Exception", but it wasn't immediately clear what application was raising it. I thought it was humorous to entertain the possibility that Vista had been released with this oversight. But... notepad++ was the only thing installed that was not Vanilla out-of-the-box Vista, so I searched through the notepad++ source to find/confirm it. It's been a favorite of mine ever since.

[0] https://github.com/notepad-plus-plus/notepad-plus-plus/blob/...

Post reply on HN