HN rewrites headline text by default, but if you edit and save afterwards it doesn't rewrite the second version. Maybe the same is true of the URL text?
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.
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++.
"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") }
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++"
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, we don'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's life for whatever he/she expressed.\n\nHence this \"Je suis Charlie\" edition.\n
> 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.
There are some zen quotes and teachings that compare our minds to the contents of a cup vs the vessel (body). In Daoism you have the yin/yang aspects. Afaik The quote seems to be his.
That quote is indeed his. I listened to Shannon Lee's (his daughter) podcast, and she told the story of when he understood it.
Apparently when his martial arts teacher told him he was too forceful, to be more like water, and then banned him from practicing until he understood. Short story, he went on a boat ride, got angry, started punching the river, then he got that aha moment.
Bruce Lee was actually a really wise dude. I also highly recommend the podcast.
Sadly C and C++ have aliasing rules, so casting a pointer to another type is often UB instead of having the underlying memory take the form of the new type.
Not sure about the author, but programming is most often a lonely exercise with alternating bouts of creativity and tedium. Comments like these bring out the humanity.
I love these comments. It would really make my day if I found those when trying to fix a bug a few years later.
Good for you, but I think it reflects more poorly on your maturity that you think some funny comments on a solo project reflect the maturity level of an author so negatively or that that even matters. How many solo projects have you made with millions of users translated in 80+ languages? Given your assertion, maturity is not required for success. The author has made political statements with his work and clearly takes a more artistic approach.
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.
Oh my...what an awful way to get back from vacation! It's such a shame when egos get involved like that.
I deeply appreciate that level of wordplay though! Glad it worked out for you in the end, and I hope you have continued to express true creativity in your code :)
I came across a council system for recording the holes that ultility companies dig in roads. Often a specific job would require several additional "associated" holes to be dug around the main one.
The programmer chose the filenames: "holes" and "assholes". kudos!
NB: This was MSDOS days when filenames could be a maximum of 8 characters.
and author of Notepad++ made an open-source project used on a massive scale
(none is obligated it to work on open source, but I consider it admirable and praiseworthy, especially if someone is doing it successfully and helping many other people)
I guess a lot of non-French speakers will miss the real joke: "I think therefore I am" translates to "Je pense donc je suis", which rhymes well to the parody.
Then it's not plainly immature, but somewhat elaborate.
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.
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.
Thank you for this, though I will recommend that next time you use something that wraps, as this view still doesn't work for phones (I have to keep scrolling left and right).
The amount of money/value/richness in the world is not constant.
Suppose we all lived on an island in a completely stable economy valued somehow at 1 trillion dollars.
Then imagine that a dozen or so explorers went to another island and started a completely independent economy that (after some centuries) gets also valued at 1 trillion dollars.
The latter billion dollar was created at the meager cost of a boat and the life work of some people.
This is a horrible analogy for anything that ever happened, but it is something that could possibly happen.
Money just gets arbitarily created by banks. It is easy to "make money".
Maintaining a stable, accepted currency however, is quite hard and so is providing enough value for others, that they give you a billion dollars of a stable, accepted currency ...
You're assuming that the statement vacuously means "money is never made," which is not what it's getting at. The point is that nobody has ever become a billionaire without manipulating markets, exploiting employees, misleading investors, or otherwise abusing the fabric of society to squeeze wealth out of the rest of the world. The guy who invents the thing isn't the one who gets rich. It's his employer who profits off of it. It's not hard to make money, but it's impossible to make a billion dollars. You can only get that much by taking it.
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 ;)
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."
185 comments
[ 3.5 ms ] story [ 188 ms ] threadwhere do they pop out in the GUI?
and why the hell are there 7000+ lines in one file?
Type the word, without quotes, "random"
Highlight it.
Click the ? menu.
Click "About Notepad++".
https://github.com/notepad-plus-plus/notepad-plus-plus/blob/...
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++.
nice
https://github.com/notepad-plus-plus/notepad-plus-plus/blob/...
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++"
Well deduced!
>The God is perfect.
>If the God did not exist it wouldn't be perfect.
>Therefore God must exist.
https://en.wikipedia.org/wiki/Ontological_argument#Ren%C3%A9...
> A, B implies not A thus not B
The problem is that you have to prove both A and (B implies not A), without self referentially assuming it in the first place,
https://grantwinney.com/the-nsfw-quotes-of-notepad-plus-plus...
> 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.
At least he said that. Not sure if he was first to say that though.
Apparently when his martial arts teacher told him he was too forceful, to be more like water, and then banned him from practicing until he understood. Short story, he went on a boat ride, got angry, started punching the river, then he got that aha moment.
Bruce Lee was actually a really wise dude. I also highly recommend the podcast.
https://brucelee.com/podcast/
https://www.youtube.com/watch?v=1ZxGtvpp49M
https://www.taoistic.com/taoteching-laotzu/taoteching-08.htm
There's also a really good and short Ted Talk on it: https://www.ted.com/talks/raymond_tang_be_humble_and_other_l...
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.
we must cancel the cancel people.
Time to get back what is ours.
And keep the kids in safe spaces if they can't play outside.
Not sure about the author, but programming is most often a lonely exercise with alternating bouts of creativity and tedium. Comments like these bring out the humanity.
I love these comments. It would really make my day if I found those when trying to fix a bug a few years later.
Being uptight about it doesn't reflect super well on you either IMO.
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 there.
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.
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.
I deeply appreciate that level of wordplay though! Glad it worked out for you in the end, and I hope you have continued to express true creativity in your code :)
The programmer chose the filenames: "holes" and "assholes". kudos!
NB: This was MSDOS days when filenames could be a maximum of 8 characters.
Being able to joke is a sign of maturity. Some people loose this ability when they become adults.
Succeed? Have a personality?
and author of Notepad++ made an open-source project used on a massive scale
(none is obligated it to work on open source, but I consider it admirable and praiseworthy, especially if someone is doing it successfully and helping many other people)
> it reflects very poorly on them
why?
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.
My code is littered with expletives...
(max-width in .container-xl. Why did they put that there? The website looks perfectly fine without it)
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.)
It's just the Space Invaders ASCII art. But fun, good times. :)
Unfortunately I couldn't find any information about this on Google but it was documented in one of the older change logs.
And now we have Docker :)
https://gist.github.com/jwilk/2ff552b4f12ac758297cbb81b9991a...
"Social media does not make people stupid. It just makes stupid people more visible."
But… there is no any other way to cross a street… in Russia.
> 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.
Could you please elaborate?
Suppose we all lived on an island in a completely stable economy valued somehow at 1 trillion dollars.
Then imagine that a dozen or so explorers went to another island and started a completely independent economy that (after some centuries) gets also valued at 1 trillion dollars.
The latter billion dollar was created at the meager cost of a boat and the life work of some people.
This is a horrible analogy for anything that ever happened, but it is something that could possibly happen.
Maintaining a stable, accepted currency however, is quite hard and so is providing enough value for others, that they give you a billion dollars of a stable, accepted currency ...
If no one ever made 10^100 dollars, there would be no money at all.
So ... there is no money?
I have never come accross a more valid argument. I, however, can't say the same about it's soundness XD