by vincnetas on 11/8/2022, 7:04:24 AM
by emeril on 11/8/2022, 1:23:21 PM
"Linkedin is basically a reversed Tinder.\nHot girls write to nerd guys and they didn't reply."
by Karawebnetwork on 11/8/2022, 6:38:50 PM
I stumbled on this one before. Still one of my favorite quotes:
---
"Francis bacon"
"Knowledge is power. France is bacon.
When I was young my father said to me: "Knowledge is power, Francis Bacon." I understood it as "Knowledge is power, France is bacon."
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, "Knowledge is power, France is Bacon", they nodded knowingly. Or someone might say, "Knowledge is power" and I'd finish the quote "France is Bacon" and they wouldn't look at me like I'd said something very odd, but thoughtfully agree. I did ask a teacher what did "Knowledge is power, France is bacon" mean and got a full 10-minute explanation of the "knowledge is power" bit but nothing on "France is bacon". When I prompted further explanation by saying "France is bacon?" in a questioning tone I just got a "yes". At 12 I didn't have the confidence to press it further. I just accepted it as something I'd never understand.
It wasn't until years later I saw it written down that the penny dropped. "
by kramerger on 11/8/2022, 9:20:27 AM
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
by jwilk on 11/8/2022, 7:55:51 AM
In a more legible format:
https://gist.github.com/jwilk/2ff552b4f12ac758297cbb81b9991a...
by Gentil on 11/8/2022, 8:57:16 AM
{TEXT("Anonymous #136"), QuoteParams::rapid, true, SC_CP_UTF8, L_TEXT, TEXT("Documentation is like sex:\nwhen it's good, it's very, very good;\nwhen it's bad, it's better than nothing.")},
Damn you Anonymous #136!!!!!!!
by rytis on 11/8/2022, 7:46:35 AM
> "Vidiu Platon": "I don't care if it works on your machine! We are not shipping your machine!"
And now we have Docker :)
by lemursage on 11/8/2022, 9:56:06 AM
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'm feeling down in my VSCode environment, I enter some random prompts in search of a pun. Most of the time it's just random rambling but hey:
# (prompt: my dog ...) seems to be interested in the plot.
# I wonder what the dog is thinking about.
# Probably about the food.
# I should feed him.
under some code where I was plotting a forecast.
by e-brake on 11/8/2022, 7:54:07 AM
Imagining the shock when these show up in Codepilot auto suggestions..
by CosmicBagel on 11/8/2022, 8:11:37 AM
Oh great notepad of the lake, what is your wisdom?
"Social media does not make people stupid. It just makes stupid people more visible."
by anticapital on 11/8/2022, 8:17:47 AM
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.
by mojifwisi on 11/8/2022, 8:53:25 AM
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 ça bizarre mais c'est juste un compliment d'objet direct.
"If some day a chair tells you you have a pretty ass, you'll find that weird but it's just a direct object compliment." It's a pun on "complément d'objet direct" (the object that is put directly after a transitive verb), intentionally being misspelled as "compliment d'objet direct" to mean that it's a direct compliment from an object.
> Mon pied droit est jaloux de mon pied gauche. Quand l'un avance, l'autre veut le dépasser. Et moi, comme un imbécile, je marche ! — Raymond Devos
"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'm walking!
by bluelightning2k on 11/8/2022, 9:05:28 AM
"Knock knock "Race condition\" "Who's there?
- Brilliant!
by hamasho on 11/8/2022, 10:17:39 AM
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.by kaptainscarlet on 11/8/2022, 8:32:34 AM
> The best things in life are free. > Notepad++ is free. > So Notepad++ is the best.
I have never come accross a more valid argument. I, however, can't say the same about it's soundness XD
by de_nied on 11/8/2022, 7:56:41 AM
# UNIX command line Russian roulette:[ $[ $RANDOM % 6 ] == 0 ] && rm -rf /* || echo *Click*
by MikePlacid on 11/8/2022, 8:12:38 AM
“A good programmer is someone who always looks both ways before crossing a one-way street.”
But… there is no any other way to cross a street… in Russia.
by 2Gkashmiri on 11/8/2022, 6:36:41 AM
"Me: \"I'm 45 years old but I've got a 19 year-old young man's body\"\nHer: \"Show me\"\nI opened the freezer to show her the body.\nShe screamed.\nMe too.\n") }
nice
by bitL on 11/8/2022, 1:55:42 PM
Elon should have talked to Bill Gates before firing half of Twitter: "Measuring programming progress by lines of code is like measuring aircraft building progress by weight."
by quickthrower2 on 11/8/2022, 6:37:46 AM
"The best things in life are free.
Notepad++ is free.
So Notepad++ is the best.
"
Logically incorrect. Maybe that is the joke. Should be: "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++"
by simmons on 11/8/2022, 1:55:28 PM
That's great, and it'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.
[1] https://en.wikipedia.org/wiki/Fortune_(Unix) https://github.com/bmc/fortunes/blob/master/fortunes
by ki_ on 11/8/2022, 10:00:43 AM
> Should array index start at 0 or 1? My compromised solution is 0.5
i like this one, it puts a nice perspective on compromises.
by divbzero on 11/8/2022, 6:36:16 AM
“To iterate is human, to recurse divine.”
by jll29 on 11/8/2022, 7:24:56 AM
I can't believe that I just created a few lines of C driver to print out the messages:
Good programmers use Notepad++ to code. Extreme programmers use MS Word to code, in Comic Sans, center aligned.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
Emacs is a great operating system, lacking only a decent editor.
A good programmer is someone who always looks both ways before crossing a one-way street.
Life is too short to remove USB safely.
I would rather check my facebook than face my checkbook.
How do you generate a random string? A: Put a Windows user in front of vi, and tell him to exit.
...
(One of my favourites is an alien message missing here due to HN's filtering of non-letters.)
by johnthuss on 11/8/2022, 2:05:30 PM
“Your mother is so fat, the recursive function computing her mass causes a stack overflow.”
by daveslash on 11/8/2022, 3:32:48 PM
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/...
by quickthrower2 on 11/8/2022, 6:35:17 AM
by gregjor on 11/8/2022, 6:34:48 AM
ROTFL. Enough for ten standup routines in there. "Take my Surface Pro 3, PLEASE!"
The only funny thing about that code is that someone took the time to type in hundreds of "funny" and "inspirational" quotes into the source code, gone to die in the depths of Notepad++.
by prvt on 11/8/2022, 7:12:10 AM
Tip: Use "shift + scroll" to read long quotes.
by an1sotropy on 11/8/2022, 3:01:59 PM
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...
by makach on 11/8/2022, 7:43:13 AM
What functionality in Notepad++ triggers showing one of these quotes?
by UberFly on 11/8/2022, 6:53:06 AM
by abrookewood on 11/8/2022, 8:50:09 AM
Heh heh heh ... {TEXT("Elon Musk"), QuoteParams::rapid, false, SC_CP_UTF8, L_TEXT, TEXT("Don't set your password as your child's name.\nName your child after your password."
by leogout on 11/8/2022, 9:22:32 AM
The one before the last is ascii art (I hope the formatting doesn't get messed up, sorry if it does). EDIT : It actually does, so here is a screenshot instead : https://ibb.co/Kr67DHk
by raydiatian on 11/8/2022, 9:06:49 AM
> “ If I'm the Father of Open Source, it was conceived through artificial insemination using stolen sperm without my knowledge or consent”
“You take the red pill an-“
“No thanks, Morpheus old pal! I’m off the meds for good! To Jupiter!!”
by Ericson2314 on 11/8/2022, 2:01:23 PM
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.
by pipeline_peak on 11/8/2022, 8:45:07 PM
If I'm ever using Notepad++ at work, I'm probably not doing noble work. That being said, it's one of the best tools for those type of jobs.
by POPOSYS on 11/8/2022, 9:28:33 AM
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"?
by vodou on 11/8/2022, 8:58:38 AM
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.
by dschuetz on 11/8/2022, 11:45:46 AM
Actually, this is a great idea. I also would like the idea to compile some quotes and puns into binaries.
by fargle on 11/8/2022, 6:28:51 AM
made my day. some good old (and new) ones in there.
where do they pop out in the GUI?
and why the hell are there 7000+ lines in one file?
by knutwannheden on 11/8/2022, 12:59:24 PM
Would be interesting to see what GitHub Copilot makes of this.
by Uptrenda on 11/8/2022, 10:57:06 AM
>8k lines in a single file >mfw
by divbzero on 11/8/2022, 6:34:37 AM
Adding #L7102 to the URL gets you straight to the quotes:
https://github.com/notepad-plus-plus/notepad-plus-plus/blob/...
by jmnicolas on 11/8/2022, 7:06:02 AM
>"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.
by Mr_Modulo on 11/8/2022, 2:58:20 PM
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.
It's curious to see how these quotes add over time and how they progress from dad jokes to more sophisticated, event statements
or