Live data from Hacker News

CS quotes found while browsing Notepad++'s code

github.com

161–170 of 186 posts

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

#161

Earlier quoted context omitted.

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.

Hence it can flow, or it can crash!

Or it can just give someone root.

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

#162

Earlier quoted context omitted.

Sometimes it's OK to let loose and be a little immature. Life is short.

Some of the quotes are cancel-level inappropriate for 2022, though, so you may want to avoid promoting this topic in professional circles.

Yeah I really don't care about being cancelled, like at all.

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

#163
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.

...And Bruce Lee is paraphrasing from the Tao Te Ching; chapter 8 on water.

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...

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

#164
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. "

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

#165

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 i…

I wish I could go back in time and tell you that "Time flies like an arrow, and fruit flies like a banana."

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

#166
post #98

Earlier quoted context omitted.

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 interes…

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 :)

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

#168

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 i…

An apple is Maryland.
Post reply on HN