Live data from Hacker News

CS quotes found while browsing Notepad++'s code

github.com

131–140 of 186 posts

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

#132
post #106

" Knock knock "Race condition\" "Who's there? - Brilliant!

In the same vein: A programmer had a problem, so he decided to use threads. Now 2 has. He problems

Your local pedant feels compelled to share that this is a paraphrase of a quote from JWZ on regular expressions, which in turn credits back to a quote from someone named D Tilbrook on awk

https://news.ycombinator.com/item?id=10997140

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

#133

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…

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

In French "moitié", which means "half", is also slang for "spouse" (or girlfriend, significant other, etc... you get the idea). "tiers" indeed means "third" or "third party".

"entier" means "integer" in a mathematical sense, but more generally, it means "whole", and by extension, "uncastrated".

So "un entier qui partage sa moitié avec un tiers" can be loosely translated as "an (uncastrated) man who shares his girlfriend with a third party" in addition to the mathematical meaning of "an integer that shares its half with a third".

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

#134
post #96

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

Are you talking about news.ycombinator.com ? If you are, it's because this is not « the center of "modern development tools" ». It's a textboard and it serves that purpose well. And this is completely off topic.

No, they are talking about GitHub's website, which wastes a lot of horizontal space only to then show a horizontal scrollbar within the content:

https://i.imgur.com/HkgCq98.png

If it did not explicitly set a max width, then the code would be much more convenient to read: https://i.imgur.com/hxoHJHM.png

It's a critique of overarching design consistency trumping actual usability.

---

Though to be fair it is still against the guidelines:

> Please don't complain about tangential annoyances—e.g. article or website formats, name collisions, or back-button breakage. They're too common to be interesting.

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

#135

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.

Did you ever read the infamous fake interview? It always makes me laugh. Ref: https://www-users.cs.york.ac.uk/susan/joke/cpp.htm

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

#137
post #71

Earlier quoted context omitted.

This only makes sense from a naively individualist perspective. If no one ever made a billion dollars, so to speak, there would be no money at all.

> If no one ever made a billion dollars, so to speak, there would be no money at all. Could you please elaborate?

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.

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

#138
post #114
post #12

Earlier quoted context omitted.

The joke is indeed the false syllogism: https://en.wikipedia.org/wiki/Syllogism#Syllogistic_fallacie... Well deduced!

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,

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

#139

Earlier quoted context omitted.

I see this huge C++ file and I raise you a Java file that's so enormous github refuses to render it: https://github.com/DrKLO/Telegram/blob/master/TMessagesProj/...

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

This is past a priest. It looks more like a job for John Constantine

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

#140
post #115

Earlier quoted context omitted.

I see this huge C++ file and I raise you a Java file that's so enormous github refuses to render it: https://github.com/DrKLO/Telegram/blob/master/TMessagesProj/...

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.

Post reply on HN