Live data from Hacker News

CS quotes found while browsing Notepad++'s code

github.com

171–180 of 186 posts

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

#171
post #150

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…

Did you feed the dog?

Here's the catch -- I don't have a dog! Utter ramblings, I say!

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

#173
post #98

Earlier quoted context omitted.

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

Yea, it wasn’t ideal. Luckily I choose better afterwards.

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

#174

Earlier quoted context omitted.

> public class ChatActivity extends BaseFragment implements NotificationCenter.NotificationCenterDelegate, DialogsActivity.DialogsActivityDelegate, LocationActivity.LocationActivityDelegate, ChatAttachAlertDocumentLayout.DocumentSelectActivityDelegate, FragmentContextView.ChatActivityInterface, FloatingDebugProvider Someone call a priest

For a second I thought we'd entered the realm of the truly cursed, known as "Multiple Inheritance". Then I saw the subtle 'implements', which brought immediate repose to my soul.

omg, this is primo java trolling. at least, I think you're being sarcastic...

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

#175
post #138
post #114

Earlier quoted context omitted.

It's also the cartesian ontological argument for the existence of God. >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...

The ontological argument is a valid deduction > 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,

Sounds like proof by contradiction

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

#176
post #82

Earlier quoted context omitted.

https://www.youtube.com/watch?v=cJMwBwFj5nQ At least he said that. Not sure if he was first to say that though.

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.

https://brucelee.com/podcast/

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

#177
post #115

Earlier quoted context omitted.

There’s one of those for C++ too, say hello to the .NET garbage collector: https://github.com/dotnet/runtime/blob/main/src/coreclr/gc/g...

TypeScript has the same; the whole type checker is in one massive file with 46,393 lines: https://github.com/microsoft/TypeScript/blob/main/src/compil... IIRC they cited performance reasons when compiling the compiler for the decision not to split the file up, but I could be wrong on this.

And xdisp.c in Emacs: https://github.com/emacs-mirror/emacs/blob/master/src/xdisp....

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

#178
post #138

Earlier quoted context omitted.

The ontological argument is a valid deduction > 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,

Sounds like proof by contradiction

Also the definition of an alibi!

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

#179
post #76

Earlier quoted context omitted.

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.

That is very true and something that capitalists often forget.

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

#180
post #179

Earlier quoted context omitted.

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

That is very true and something that capitalists often forget.

Yes. After a short episode of amnesia, they continue to create jobs which create the labour.
Post reply on HN