TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

CS quotes found while browsing Notepad++'s code

284 pointsby prvtover 2 years ago

46 comments

vincnetasover 2 years ago
It&#x27;s curious to see how these quotes add over time and how they progress from dad jokes to more sophisticated, event statements<p><pre><code> 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.&quot; </code></pre> or<p><pre><code> Freedom of expression is like the air we breathe, we don&#x27;t feel it, until people take it away from us.\n\nFor this reason, Je suis Charlie, not because I endorse everything they published, but because I cherish the right to speak out freely without risk even when it offends others.\nAnd no, you cannot just take someone&#x27;s life for whatever he&#x2F;she expressed.\n\nHence this \&quot;Je suis Charlie\&quot; edition.\n</code></pre>
评论 #33516650 未加载
emerilover 2 years ago
&quot;Linkedin is basically a reversed Tinder.\nHot girls write to nerd guys and they didn&#x27;t reply.&quot;
评论 #33524075 未加载
Karawebnetworkover 2 years ago
I stumbled on this one before. Still one of my favorite quotes:<p>---<p>&quot;Francis bacon&quot;<p>&quot;Knowledge is power. France is bacon.<p>When I was young my father said to me: &quot;Knowledge is power, Francis Bacon.&quot; I understood it as &quot;Knowledge is power, France is bacon.&quot;<p>For more than a decade I wondered over the meaning of the second part and what was the surreal linkage between the two. If I said the quote to someone, &quot;Knowledge is power, France is Bacon&quot;, they nodded knowingly. Or someone might say, &quot;Knowledge is power&quot; and I&#x27;d finish the quote &quot;France is Bacon&quot; and they wouldn&#x27;t look at me like I&#x27;d said something very odd, but thoughtfully agree. I did ask a teacher what did &quot;Knowledge is power, France is bacon&quot; mean and got a full 10-minute explanation of the &quot;knowledge is power&quot; bit but nothing on &quot;France is bacon&quot;. When I prompted further explanation by saying &quot;France is bacon?&quot; in a questioning tone I just got a &quot;yes&quot;. At 12 I didn&#x27;t have the confidence to press it further. I just accepted it as something I&#x27;d never understand.<p>It wasn&#x27;t until years later I saw it written down that the penny dropped. &quot;
评论 #33523254 未加载
评论 #33523613 未加载
kramergerover 2 years ago
I guess with a C++ file this big, you need some humor to keep your sanity.<p>Anyway, this one resonated with me: &quot;vi has two modes - &#x27;beep repeatedly&#x27; and &#x27;break everything&#x27;&quot;<p>Here is another interesting one: &quot;A cookie has no soul, it&#x27;s just a cookie. But before it was milk and eggs. And in eggs there&#x27;s the potential for life&quot;, Jean-Claude van Damme
评论 #33517558 未加载
jwilkover 2 years ago
In a more legible format:<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;jwilk&#x2F;2ff552b4f12ac758297cbb81b9991a00" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;jwilk&#x2F;2ff552b4f12ac758297cbb81b9991a...</a>
评论 #33516972 未加载
评论 #33517290 未加载
Gentilover 2 years ago
<i>{TEXT(&quot;Anonymous #136&quot;), QuoteParams::rapid, true, SC_CP_UTF8, L_TEXT, TEXT(&quot;Documentation is like sex:\nwhen it&#x27;s good, it&#x27;s very, very good;\nwhen it&#x27;s bad, it&#x27;s better than nothing.&quot;)},</i><p>Damn you Anonymous #136!!!!!!!
rytisover 2 years ago
&gt; &quot;Vidiu Platon&quot;: &quot;I don&#x27;t care if it works on your machine! We are not shipping your machine!&quot;<p>And now we have Docker :)
lemursageover 2 years ago
I actually tested a bunch of those on GH Copilot -- sure enough, it does autocomplete certain prompts. No wonder, some are probably known quotes. Anyway, when I&#x27;m feeling down in my VSCode environment, I enter some random prompts in search of a pun. Most of the time it&#x27;s just random rambling but hey:<p># (prompt: my dog ...) seems to be interested in the plot.<p># I wonder what the dog is thinking about.<p># Probably about the food.<p># I should feed him.<p>under some code where I was plotting a forecast.
评论 #33519580 未加载
e-brakeover 2 years ago
Imagining the shock when these show up in Codepilot auto suggestions..
CosmicBagelover 2 years ago
Oh great notepad of the lake, what is your wisdom?<p>&quot;Social media does not make people stupid. It just makes stupid people more visible.&quot;
anticapitalover 2 years ago
My favourite one so far:<p>&gt; <i>No one ever makes a billion dollars.</i><p>&gt; <i>You TAKE a billion dollars.</i><p>Quite relevant to the vulture capitalists and their fans who frequent this site.
评论 #33517559 未加载
评论 #33517090 未加载
评论 #33518387 未加载
评论 #33538361 未加载
mojifwisiover 2 years ago
Translations for the few quotes that are in French:<p>&gt; Je mange donc je chie. — Don Ho<p>&quot;I eat therefore I shit.&quot; It&#x27;s a pun on René Descartes&#x27; &quot;Je pense donc je suis&quot; (I think, therefore I am).<p>&gt; Mathématiquement, un cocu est un entier qui partage sa moitié avec un tiers.<p>&quot;Mathematically, a cuckold is a whole who shares his half with a third [party].&quot;<p>&gt; Si un jour une chaise te dit que t&#x27;as un joli cul, tu xtrouveras ça bizarre mais c&#x27;est juste un compliment d&#x27;objet direct.<p>&quot;If some day a chair tells you you have a pretty ass, you&#x27;ll find that weird but it&#x27;s just a direct object compliment.&quot; It&#x27;s a pun on &quot;complément d&#x27;objet direct&quot; (the object that is put directly after a transitive verb), intentionally being misspelled as &quot;compliment d&#x27;objet direct&quot; to mean that it&#x27;s a direct compliment from an object.<p>&gt; Mon pied droit est jaloux de mon pied gauche. Quand l&#x27;un avance, l&#x27;autre veut le dépasser. Et moi, comme un imbécile, je marche ! — Raymond Devos<p>&quot;My right foot is jealous of my left foot. When one goes forward, the other wants to overtake it. And I, like an imbecile, I&#x27;m walking!
评论 #33518536 未加载
评论 #33518273 未加载
评论 #33517316 未加载
bluelightning2kover 2 years ago
&quot;<i>Knock knock</i> &quot;Race condition\&quot; &quot;Who&#x27;s there?<p>- Brilliant!
评论 #33517612 未加载
评论 #33525047 未加载
hamashoover 2 years ago
<p><pre><code> In C++ it&#x27;s harder to shoot yourself in the foot, but when you do, you blow off your whole leg. Bjarne Stroustrup </code></pre> Is it though? I feel it&#x27;s as easy to shoot my foot as to modify few lines of C++ code and get 200+ lines of STD error messages.
评论 #33517880 未加载
评论 #33518568 未加载
评论 #33519675 未加载
kaptainscarletover 2 years ago
&gt; The best things in life are free. &gt; Notepad++ is free. &gt; So Notepad++ is the best.<p>I have never come accross a more valid argument. I, however, can&#x27;t say the same about it&#x27;s soundness XD
评论 #33517237 未加载
de_niedover 2 years ago
<p><pre><code> # UNIX command line Russian roulette:[ $[ $RANDOM % 6 ] == 0 ] &amp;&amp; rm -rf &#x2F;* || echo *Click*</code></pre>
MikePlacidover 2 years ago
“A good programmer is someone who always looks both ways before crossing a one-way street.”<p>But… there is no any other way to cross a street… in Russia.
2Gkashmiriover 2 years ago
&quot;Me: \&quot;I&#x27;m 45 years old but I&#x27;ve got a 19 year-old young man&#x27;s body\&quot;\nHer: \&quot;Show me\&quot;\nI opened the freezer to show her the body.\nShe screamed.\nMe too.\n&quot;) }<p>nice
评论 #33516890 未加载
bitLover 2 years ago
Elon should have talked to Bill Gates before firing half of Twitter: &quot;Measuring programming progress by lines of code is like measuring aircraft building progress by weight.&quot;
quickthrower2over 2 years ago
&quot;The best things in life are free.<p>Notepad++ is free.<p>So Notepad++ is the best.<p>&quot;<p>Logically incorrect. Maybe that is the joke. Should be: &quot;The best things in life are free. Notepad++ is free. Therefore if something is not free, it cannot be one of the best things, or notepad++&quot;
评论 #33516612 未加载
评论 #33517223 未加载
评论 #33517570 未加载
评论 #33516620 未加载
simmonsover 2 years ago
That&#x27;s great, and it&#x27;s not all CS quotes. It reminds me of the quotes from the old UNIX fortune program [1] that many systems or accounts would be configured to use to show a quote on each login.<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Fortune_(Unix)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Fortune_(Unix)</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;bmc&#x2F;fortunes&#x2F;blob&#x2F;master&#x2F;fortunes" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bmc&#x2F;fortunes&#x2F;blob&#x2F;master&#x2F;fortunes</a>
ki_over 2 years ago
&gt; Should array index start at 0 or 1? My compromised solution is 0.5<p>i like this one, it puts a nice perspective on compromises.
divbzeroover 2 years ago
“To iterate is human, to recurse divine.”
jll29over 2 years ago
I can&#x27;t believe that I just created a few lines of C driver to print out the messages:<p>Good programmers use Notepad++ to code. Extreme programmers use MS Word to code, in Comic Sans, center aligned.<p>Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.<p>Emacs is a great operating system, lacking only a decent editor.<p>A good programmer is someone who always looks both ways before crossing a one-way street.<p>Life is too short to remove USB safely.<p>I would rather check my facebook than face my checkbook.<p>How do you generate a random string? A: Put a Windows user in front of vi, and tell him to exit.<p>...<p>(One of my favourites is an alien message missing here due to HN&#x27;s filtering of non-letters.)
评论 #33518178 未加载
评论 #33518062 未加载
评论 #33518118 未加载
评论 #33518142 未加载
评论 #33516802 未加载
johnthussover 2 years ago
“Your mother is so fat, the recursive function computing her mass causes a stack overflow.”
daveslashover 2 years ago
An old favorite of mine is the exception message &quot;God Damned Exception&quot; [0]<p>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 &quot;God Damned Exception&quot;, but it wasn&#x27;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&#x2F;confirm it. It&#x27;s been a favorite of mine ever since.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;notepad-plus-plus&#x2F;notepad-plus-plus&#x2F;blob&#x2F;master&#x2F;PowerEditor&#x2F;src&#x2F;winmain.cpp#L750" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;notepad-plus-plus&#x2F;notepad-plus-plus&#x2F;blob&#x2F;...</a>
quickthrower2over 2 years ago
Permalink: <a href="https:&#x2F;&#x2F;github.com&#x2F;notepad-plus-plus&#x2F;notepad-plus-plus&#x2F;blob&#x2F;e5708bf3ea3bf2c14bc3b2074d51515dae4ff567&#x2F;PowerEditor&#x2F;src&#x2F;Notepad_plus.cpp#L7102" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;notepad-plus-plus&#x2F;notepad-plus-plus&#x2F;blob&#x2F;...</a>
评论 #33516624 未加载
gregjorover 2 years ago
ROTFL. Enough for ten standup routines in there. &quot;Take my Surface Pro 3, PLEASE!&quot;<p>The only funny thing about that code is that someone took the time to type in hundreds of &quot;funny&quot; and &quot;inspirational&quot; quotes into the source code, gone to die in the depths of Notepad++.
评论 #33516614 未加载
prvtover 2 years ago
Tip: Use &quot;shift + scroll&quot; to read long quotes.
评论 #33516711 未加载
评论 #33516755 未加载
an1sotropyover 2 years ago
Kind of niche and specific to X11, but one my favorite quotes is from jwz [1]:<p>&quot;X is slow because of the separation of servers and clients, i.e., the client-server model, i.e., its network capacity. It doesn&#x27;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.&quot;<p>[1] <a href="https:&#x2F;&#x2F;slashdot.org&#x2F;story&#x2F;99&#x2F;08&#x2F;04&#x2F;2242224&#x2F;ask-slashdot-comparing-the-guis" rel="nofollow">https:&#x2F;&#x2F;slashdot.org&#x2F;story&#x2F;99&#x2F;08&#x2F;04&#x2F;2242224&#x2F;ask-slashdot-com...</a>
makachover 2 years ago
What functionality in Notepad++ triggers showing one of these quotes?
评论 #33516942 未加载
评论 #33516979 未加载
UberFlyover 2 years ago
Also related:<p><a href="https:&#x2F;&#x2F;grantwinney.com&#x2F;the-nsfw-quotes-of-notepad-plus-plus&#x2F;" rel="nofollow">https:&#x2F;&#x2F;grantwinney.com&#x2F;the-nsfw-quotes-of-notepad-plus-plus...</a>
abrookewoodover 2 years ago
Heh heh heh ... {TEXT(&quot;Elon Musk&quot;), QuoteParams::rapid, false, SC_CP_UTF8, L_TEXT, TEXT(&quot;Don&#x27;t set your password as your child&#x27;s name.\nName your child after your password.&quot;
leogoutover 2 years ago
The one before the last is ascii art (I hope the formatting doesn&#x27;t get messed up, sorry if it does). EDIT : It actually does, so here is a screenshot instead : <a href="https:&#x2F;&#x2F;ibb.co&#x2F;Kr67DHk" rel="nofollow">https:&#x2F;&#x2F;ibb.co&#x2F;Kr67DHk</a>
raydiatianover 2 years ago
&gt; “ If I&#x27;m the Father of Open Source, it was conceived through artificial insemination using stolen sperm without my knowledge or consent”<p>“You take the red pill an-“<p>“No thanks, Morpheus old pal! I’m off the meds for good! To Jupiter!!”
Ericson2314over 2 years ago
I kinda miss Notepad++. Or rather, I miss the OS having a unified look and feel, and Notepad++ being a great editor within the constraints of a unified look and feel.
pipeline_peakover 2 years ago
If I&#x27;m ever using Notepad++ at work, I&#x27;m probably not doing noble work. That being said, it&#x27;s one of the best tools for those type of jobs.
POPOSYSover 2 years ago
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)?<p>Why is <i>the most important</i> coder website build in a way that hides information so hard?<p>What purpose do the left and right column with empty space serve?<p>Once I used to install some user css to get 100% width for the content, but I got tired to do that.<p>How can such a design dinosaur survive for so long right in the center of &quot;modern development tools&quot;?
评论 #33518071 未加载
vodouover 2 years ago
8272 lines of code in a single file.<p>I guess you could talk about coding standards and code smells all day, but let&#x27;s not. I&#x27;m impressed.
评论 #33517350 未加载
评论 #33519586 未加载
dschuetzover 2 years ago
Actually, this is a great idea. I also would like the idea to compile some quotes and puns into binaries.
评论 #33518391 未加载
fargleover 2 years ago
made my day. some good old (and new) ones in there.<p>where do they pop out in the GUI?<p>and why the hell are there 7000+ lines in one file?
评论 #33516485 未加载
knutwannhedenover 2 years ago
Would be interesting to see what GitHub Copilot makes of this.
Uptrendaover 2 years ago
&gt;8k lines in a single file &gt;mfw
divbzeroover 2 years ago
Adding #L7102 to the URL gets you straight to the quotes:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;notepad-plus-plus&#x2F;notepad-plus-plus&#x2F;blob&#x2F;master&#x2F;PowerEditor&#x2F;src&#x2F;Notepad_plus.cpp#L7102" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;notepad-plus-plus&#x2F;notepad-plus-plus&#x2F;blob&#x2F;...</a>
评论 #33516613 未加载
评论 #33517268 未加载
jmnicolasover 2 years ago
&gt;&quot;Je mange donc je chie.&quot;<p>Roughly : &quot;I eat therefore I shit&quot;<p>I never understood devs that do this, it reflects very poorly on them and it doesn&#x27;t bring anything to the table. Way to show your immaturity.<p>I write code since 2006, 99% of it is private and is mostly read by me and I still don&#x27;t do this.
评论 #33516720 未加载
评论 #33516682 未加载
评论 #33516743 未加载
评论 #33516884 未加载
评论 #33516847 未加载
评论 #33516723 未加载
评论 #33516748 未加载
评论 #33516675 未加载
评论 #33517431 未加载
评论 #33516769 未加载
评论 #33516670 未加载
评论 #33517476 未加载
评论 #33516750 未加载
评论 #33516728 未加载
Mr_Moduloover 2 years ago
I&#x27;m a Notepad++ user and I&#x27;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.
评论 #33519695 未加载
评论 #33547210 未加载