News for hackers. Stuff that matters.
Re:Much less than, Much greater than symbols by jrochkind1 on Saturday September 11, 2021 @11:19PM (#28498344)
≪ / U+226A / MUCH LESS-THAN

≫ / U+226B / MUCH GREATER-THAN

not to be confused with:

« / U+00AB / LEFT-POINTING DOUBLE ANGLE QUOTATION MARK

» / U+00BB / RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK

Switching one for the other is a frequent tactic of phishing attacks. Kidding.

Re:Much less than, Much greater than symbols by madrox on Sunday September 12, 2021 @02:54AM (#28499154)
Maybe not phishing attacks, but certainly text-to-speech attacks
Re:Much less than, Much greater than symbols by jrochkind1 on Sunday September 12, 2021 @11:42AM (#28502149)
what is the goal of that attack?
Re:Much less than, Much greater than symbols by madrox on Sunday September 12, 2021 @10:57PM (#28507403)
Mostly tongue-in-cheek. Twitch donations get text read aloud on streams at times: https://www.twitch.tv/a_seagull/clip/BlightedPreciousEchidna...
Re:Much less than, Much greater than symbols by kelnos on Sunday September 12, 2021 @01:14AM (#28498778)
This led me to learn:

    ⋘ U+22D8 VERY MUCH LESS-THAN
    ⋙ U+22D9 VERY MUCH GREATER-THAN
... which for some reason made me chuckle.
Re:Much less than, Much greater than symbols by Izkata on Sunday September 12, 2021 @05:14AM (#28499673)
Got me curious so I just did a search for "less than" and found some more interesting ones:

≰ NEITHER LESS-THAN NOR EQUAL TO - https://www.fileformat.info/info/unicode/char/2270/index.htm

≨ LESS-THAN BUT NOT EQUAL TO - https://www.fileformat.info/info/unicode/char/2268/index.htm

⪒ GREATER-THAN ABOVE LESS-THAN ABOVE DOUBLE-LINE EQUAL - https://www.fileformat.info/info/unicode/char/2a92/index.htm

Re:Much less than, Much greater than symbols by bruce343434 on Sunday September 12, 2021 @07:11AM (#28500097)
>LESS-THAN BUT NOT EQUAL TO

what's the point of this? This is already implied with just "<"

Re:Much less than, Much greater than symbols by layer8 on Sunday September 12, 2021 @09:27AM (#28500936)
"<" is used to represent partial-order relations, and partial orders are often non-strict (i.e. really less-than-or-equal). Then LESS-THAN BUT NOT EQUAL TO can be used to denote that a particular pair is partially-ordered but not equal (i.e. strict partially ordered). In the same vein there’s also SUBSET OF WITH NOT EQUAL TO (U+228A).
Re:Much less than, Much greater than symbols by bruce343434 on Sunday September 12, 2021 @10:55AM (#28501707)
I don't understand. "equal" and "less than" are disjoint. "subset" and "equals" are not disjoint (equal sets are each others subsets), so that's a whole different example.
Re:Much less than, Much greater than symbols by layer8 on Sunday September 12, 2021 @11:14AM (#28501891)
In mathematics, the symbol "<" is also used for non-strict partial orders, where it effectively means “less than or equal to” instead of “strictly less than”. Working with non-strict partial orders is often easier than working with the equivalent strict partial order, and for economy of notation/ease of writing some mathematicians still use “<“ then instead of “≤”. In the rare cases they want to express strictly-less-than for a particular pair in the non-strict partial order, they can use the “less than but not equals” sign.

> "subset" and "equals" are not disjoint (equal sets are each others subsets)

There is “⊂” vs. “⊆” just like there’s “<“ vs. “≤”. A set is not a strict subset of itself, merely a non-strict subset of itself.

Re:Much less than, Much greater than symbols by alexvoda on Monday September 13, 2021 @06:53AM (#28509872)
> and for economy of notation/ease of writing some mathematicians still use “<“ then instead of “≤”. In the rare cases they want to express strictly-less-than for a particular pair in the non-strict partial order, they can use the “less than but not equals” sign.

This is pure bullshit of the highest grade. Is is a perfect example of newspeak. "The symbols I use mean what I say they mean whenever I say so". It is gatekeeping. It is part of what makes math impenetrable for a lot of people. It is lazy. It is absurd. Such a lack of consistency is absurd for a rigorous field like math. It is a perfect example of my belief that mathematicians are abysmal linguists. I do not understand why mathematicians have this attitude towards their communication medium. If I could ask a genie for a wish, I would force the use of a compiler and a linter on all mathematicians. If your paper does not pass compilation and linting it gets automatically deleted. Bullshit!

/rant

Re:Much less than, Much greater than symbols by bruce343434 on Sunday September 12, 2021 @01:00PM (#28502809)
Thanks, now I understand.
Re:Much less than, Much greater than symbols by thih9 on Sunday September 12, 2021 @05:25AM (#28499728)
How is the ⪒ used?
Re:Much less than, Much greater than symbols by this-pony on Sunday September 12, 2021 @06:10AM (#28499879)
I could see people using this symbol when proving for example that x = 0. Say they first show x \geq 0 and then x \leq 0. Then they've shown x ⪒ 0, and therefore x = 0. But yeah, a symbol like '⪒' for this purpose is maybe natural to write on a blackboard, maybe not so much in electronic form.

I'm not aware of any other purposes.

Re:Much less than, Much greater than symbols by petters on Sunday September 12, 2021 @06:11AM (#28499886)
If a ≤ b or b ≤ a. That does not always have to be the case. For example, x ≤ y could mean that x is a descendant of y in a tree.
Re:Much less than, Much greater than symbols by marcosdumay on Sunday September 12, 2021 @01:50PM (#28503225)
Interestingly, that last one seems to be missing from LaTeX.
Re:Much less than, Much greater than symbols by afiori on Sunday September 12, 2021 @04:28AM (#28499486)
now I want the also the absurdist VERY MUCH LESS-THAN OR EQUAL
Re:Much less than, Much greater than symbols by askvictor on Sunday September 12, 2021 @05:11AM (#28499659)
Would that be an implicit inclusive or (i.e. very much less than, much less than, less than, or equal), or exclusive (very much less than or equal, but not much less than or less than)?
Re:Much less than, Much greater than symbols by HPsquared on Sunday September 12, 2021 @05:27AM (#28499736)
Exclusive, I reckon.
Re:Much less than, Much greater than symbols by askvictor on Sunday September 12, 2021 @08:30PM (#28506560)
I want "much equal to", and "very much equal to". Which, in scientific terms, or floating point comparisons, would probably make some sense
Re:Much less than, Much greater than symbols by drran on Sunday September 12, 2021 @05:19AM (#28499695)

  0 ⋘===8
Re:Much less than, Much greater than symbols by stavros on Sunday September 12, 2021 @04:50AM (#28499556)
Oh God yes
Re:Much less than, Much greater than symbols by isoprophlex on Sunday September 12, 2021 @03:50AM (#28499350)
This triggers a doge meme in my mind... Wow, such very much less-than!
Re:Much less than, Much greater than symbols by beerandt on Sunday September 12, 2021 @12:49PM (#28502716)
When you're trying to convince STEM professionals to go from hand written design documents to computer generated, you'd better be able to reproduce every little symbol that they're accustomed to using, or else it's just an excuse for non-compliance.

Something like:

(X+1)/X ≈ 1 for X ⋙ 1

We actually use a bit for showing derivation work on engineering design documents, especially for stating requirements for an equation to be valid. Or for equations that need to be simplified to be algebraically solved.

A one line equation might have two pages of definitions, assumptions, and constraints.

In this case, ⋙ is used to mean not just much greater-than, but big enough to justify whatever the simplification it is that you're making.

Eg, 10 could be considered much greater (≫) than 1, but is still a 10% error in the equation above.

Re:Much less than, Much greater than symbols by iratewizard on Sunday September 12, 2021 @01:50AM (#28498893)
This is getting ridiculous. How long until we have things uncountably more than other things?
Re:Much less than, Much greater than symbols by infogulch on Sunday September 12, 2021 @01:58AM (#28498930)
Could you combining-character an aleph-1 symbol on top of one of these?
Re:Much less than, Much greater than symbols by thaumasiotes on Sunday September 12, 2021 @02:04AM (#28498951)
In math, when you care about the details of how small one thing is compared to some other thing, you probably use little-o notation. It's the same thing you're probably familiar with from computer science.

So if y is small compared to x, you might say y = o(x), or if it's really small compared to x, you might say y = o(x²), or if it's really really really small, o(x⁶)... whatever you need for your proof.

(o(x²) is more impressively small than o(x) because x < 1)

Re:Much less than, Much greater than symbols by HPsquared on Sunday September 12, 2021 @05:31AM (#28499749)
Nice

That reminds me of something about the Greek letters Omega (Ω, ω) and Omicron (Ο, ο). O-mega means "big O" and O-micron means "small O".

Re:Much less than, Much greater than symbols by emilsedgh on Sunday September 12, 2021 @03:55AM (#28499369)
Isn't that +∞ and -∞?
Re:Much less than, Much greater than symbols by jimktrains2 on Sunday September 12, 2021 @08:55AM (#28500707)
Some infinities are countable.
Re:Much less than, Much greater than symbols by marcosdumay on Sunday September 12, 2021 @01:52PM (#28503248)
Yes, but the GP's idea extends to larger infinities.
Re:Much less than, Much greater than symbols by masklinn on Sunday September 12, 2021 @04:50AM (#28499558)
It seems closer to the aleph numbers.
Re:Much less than, Much greater than symbols by DominikPeters on Saturday September 11, 2021 @10:46PM (#28498183)
To me, a << b also connotes that the inequality a < b is "robust". For example, even if we mismeasured the values of a and b quite severely, we'd likely still have a < b. Or perhaps later on in my mathematical argument I will consider values that are a bit larger than a, say 5*a. If I claimed before that a << b, it means the reader can be assured that I won't do anything to a that'll make it bigger than b.
Re:Much less than, Much greater than symbols by marcosdumay on Sunday September 12, 2021 @01:54PM (#28503262)
Also, a <<< b connotes that for all practical purposes a + b = b.
Re:Much less than, Much greater than symbols by thih9 on Sunday September 12, 2021 @05:50AM (#28499808)
There are more puzzling mathematical symbols in “Supplemental Mathematical Operators” unicode block: https://en.m.wikipedia.org/wiki/Supplemental_Mathematical_Op... .

I’m especially fascinated by ⪋ ⪌, ⪑ ⪒, and ⪓ ⪔.

I wish that wikipedia page came with notes on the intended use (or a link to the relevant page) for every symbol.

Re:Much less than, Much greater than symbols by joppy on Sunday September 12, 2021 @06:44AM (#28499995)
I’ve seen this used in the context of statements like “x is less than, equal to, or greater than y if and only if w is less than, equal to, or greater than z”. Which might be written “x ⪋ y if and only if w ⪋ z”.
Re:Much less than, Much greater than symbols by wodenokoto on Sunday September 12, 2021 @06:51AM (#28500023)
When is x not less than, equal to, nor greater than y ? Is it like, x is complex and y isn't?
Re:Much less than, Much greater than symbols by joppy on Sunday September 12, 2021 @06:59AM (#28500057)
The original text is meant to mean a triple of statements:

x < y if and only if w < z

x = y if and only if w = z

x > y if and only if w > z

This can be tiresome (and obviously confusing) if you need to keep using it in many places, hence some authors define the odd symbol to start with, and then use that in many places.

Re:Much less than, Much greater than symbols by gilrain on Sunday September 12, 2021 @09:02AM (#28500767)
“If and only if” also has a shorthand in “iff”.
Re:Much less than, Much greater than symbols by SAI_Peregrinus on Sunday September 12, 2021 @11:05AM (#28501815)
Surreal games[1] are probably my favorite example. But any partially-ordered set without total order can be an example.

[1] https://en.wikipedia.org/wiki/Surreal_number#Games

Re:Much less than, Much greater than symbols by petters on Sunday September 12, 2021 @06:09AM (#28499875)
For partial orderings, we can have neither a ≤ b nor b ≤ a. Perhaps it's that?
Re:Much less than, Much greater than symbols by SamReidHughes on Saturday September 11, 2021 @11:17PM (#28498334)
A funny thing is, I've seen Congressman Thomas Massie (EE undergrad, MechE masters) casually use this notation on his Twitter account.
Re:Much less than, Much greater than symbols by divbzero on Sunday September 12, 2021 @03:35AM (#28499292)
The issues we face are complex and technical enough that I would like our leaders to be well-educated, preferably better educated than me or the public in general. It reminds me of the time ‘orthogonal’ came up in oral arguments and it was such a novel word for the Supreme Court that a justice paused to ask and remark on the word.
Re:Much less than, Much greater than symbols by southerntofu on Sunday September 12, 2021 @05:05AM (#28499621)
> The issues we face are complex and technical enough that I would like our leaders to be well-educated

I don't think we are facing much complex issues beyond anyone's grasp. Of course it takes some level of study to understand the issues, but as the french citizen convention on climate [0] (started by the government itself) has shown, given appropriate information ordinary citizens are very capable to grasp complex issues (and ordinary leaders are very capable to ignore those citizens and wipe their asses with their proposals).

What you advocate for, whether consciously or not, is not a democracy but a form of technocracy [1]. It sounds like a good idea at first, but:

- centralizing power (eg. in a parliament/government) is always always the recipe for abuse [2], even if you take the 500 best people you can think of

- political issues are not just technical issues, and we science/tech people from our somewhat-comfortable ivory towers are in a very bad position to make diagnostics on what goes right and wrong in society (except on a micro level where our science applies)

- solving complex problems requires a level of coordination/participation which can only be consented; trying to force the people against its will "for its own good", often results in exactly the opposite of what you wanted to achieve in the first place

All in all, i would personally argue as long as "leaders" is a thing there's a very little hope for humanity.

[0] https://fr.wikipedia.org/wiki/Convention_citoyenne_pour_le_c... [1] https://en.wikipedia.org/wiki/Technocracy [2] One could argue if you have elected representatives deciding for the people, then it is not a democracy because the power is not operated by the people directly.

Re:Much less than, Much greater than symbols by alexchamberlain on Sunday September 12, 2021 @03:52AM (#28499360)
I feel like orthogonal is a fairly basic logical concept, which makes that a little concerning.
Re:Much less than, Much greater than symbols by wruza on Sunday September 12, 2021 @04:39AM (#28499514)
I once made a bet that most people know what a prime number is, being sure that at least for my closest environment of 5-7 highly educated people it is undoubtedly true. A bet was lost after a quick asking round - I’ve got only a couple of confident answers. But what hit me hard was not that the specific term was forgotten, but that most of them were not even familiar with the concept.

Another thing I figured out too late is that after someone (not me) explains a complex topic to a group, everyone seems to agree by silence and ready to get to work on it. But my habit of asking if they understand the terms A and B and how it all works made me discover that essentially nobody gets it. People just don’t ask questions and delay their research for some reason. A thought that maybe they do that all the time in every situation or conversation is pretty discomforting.

Re:Much less than, Much greater than symbols by ptr on Sunday September 12, 2021 @04:54AM (#28499578)
I'm coming to the same conclusion; it blows my mind how people can just run off and confidently implement something vaguely related to what was talked about. People seem very sure about what's supposed to be built, its context, and how. No questions asked. (am I the stupid one for not understanding?) Turns out they just made something up in their head that didn't make sense. As a leader, how does one work with such people? It feels condescending quizzing your team members to verify understanding and I can't spend my time specifying work down to the most minute details.
Re:Much less than, Much greater than symbols by HPsquared on Sunday September 12, 2021 @05:39AM (#28499772)
In a competitive environment it's a strategy to look smarter than your peers. The hope is that they can go and figure out whatever they missed during implementation (often this is not the case, of course).

There's social value in appearing to "get it", and social cost in being the one to ask (especially if others in the group, hearing the explanation, pretend they knew all along).

Re:Much less than, Much greater than symbols by alexchamberlain on Sunday September 12, 2021 @01:47PM (#28503203)
I'm sure there is a more elegant way of saying this, but I judge people a lot more for coming back 2 days later with a solution to the wrong problem than silly questions asked on the spot.
Re:Much less than, Much greater than symbols by taneq on Sunday September 12, 2021 @06:33AM (#28499965)
All of my initial conversations with clients start with me asking them (usually multiple times in different ways) what they’re actually trying to achieve. A large proportion of those conversations end with them saying they have to go figure that out.

A surprising amount of human activity takes place with no clear understanding of the goal.

Re:Much less than, Much greater than symbols by travisjungroth on Sunday September 12, 2021 @10:56AM (#28501716)
I just joined a new software team. I had a time where I felt like I couldn't really get a point across to a teammate. Not that he didn't agree, but I just didn't feel understood. Then it happened with someone else. Well, after the seventh time with the fourth person over the third medium, the common denominator became obvious (me).

I think part of the problem is my whole team is honest and direct. They really engage with ideas. Sometimes they'll engage with an idea different than the one I intended to communicate. Because they're really taking the idea on, the misunderstanding will stand out.

Maybe most people don't do that as often. They just nod along and passively agree. Only when it comes to the final decision/action will they fully engage. And if they disagree with that, they'll let you know (maybe) even if they've been uh-huh-ing every supporting argument on the way.

Re:Much less than, Much greater than symbols by taneq on Sunday September 12, 2021 @07:25AM (#28500182)
I’d imagine the justice knew perfectly well what it meant in common usage, and was just checking that there wasn’t some obscure precedent establishing another legal meaning. No different to a software developer seeing a function called “push” and checking the documentation to find out exactly what it does.
Re:Much less than, Much greater than symbols by jsilence on Sunday September 12, 2021 @04:53AM (#28499574)
Astounding to see that an MIT graduate "rejects the scientific consensus on climate change " (Wikipedia).
Re:Much less than, Much greater than symbols by acheron on Sunday September 12, 2021 @11:10AM (#28501857)
Unlikely that anyone intelligent rejects the actual science part of it, which is not controversial. What they reject is the media-politician complex’s version, which then gets reported — by the same media — as “rejecting the science”.
Re:Much less than, Much greater than symbols by bell-cot on Sunday September 12, 2021 @06:00AM (#28499846)
If one is educated, sensible, and insists on telling people the truth about important or should-be important issues - how sustainable Social Security is in the face of demographs and fiscal realities, whether the war in Afghanistan is winnable, how much of a congressman's time every week must be devoted to fundraising from special interests, etc. - then one will serve zero or very little time in Congress.

"In a democracy, the people get the government they deserve." - Alexis De Tocqueville

Re:Much less than, Much greater than symbols by SamReidHughes on Sunday September 12, 2021 @04:01PM (#28504373)
You didn't know that Wikipedia is editorialized by the left?
Re:Much less than, Much greater than symbols by tialaramex on Sunday September 12, 2021 @05:38AM (#28499771)
Looking at his record, he's one of those democratic representatives who takes the broad endorsement of a fiercely Right Wing local electorate to mean that he should ignore what's politically possible and fight for whatever he and his voters believe anyway -- but only when it doesn't matter.

So that means things like when there's obviously very broad support for a measure, insist on a roll call vote, wasting the time of every other member so as to underscore your opposition to say, clean water, or food for the poor. But, as with so many of these "principled" Republicans, when it's very narrow and every vote counts suddenly he's straight party line Republican...

In the UK we have people like Peter Bone, Bone opposes same-sex marriage, abortion, wants to see the Death Penalty brought back, as well as mandatory conscription. He sees the NHS as dangerous example of socialism, "like Stalin's Russia".

But Westminster has more experience than Washington, and so it's a little harder to be disruptive. Bone can introduce "Private Members Bills" which could become law but, lacking support from either government or the opposition, they aren't likely to go anywhere. By convention the readings of these bills are scheduled for Friday afternoon. So, almost everybody goes home, people like Bone are left in the chamber to ramble on about how it'd be a great idea if Britain's threadbare Army was made to try to turn unwilling 18 and 19 year olds into soldiers, as if a vast unskilled infantry is something you need in the 21st century; or why a foetus is a "human person" or whatever - and then eventually it comes to the point where there's supposed to be a vote. The Deputy Speaker who drew the short straw and is obliged to be there pretends to hear a controversy in the mostly empty room, "Division!" and this causes a count, which of course finds that the chamber is inquorate and thus incapable of anything, Bone wasted his time and that of a handful of the other representatives (who won't forget it) and civil servants, but most people went home early.

Re:Much less than, Much greater than symbols by grapist420 on Sunday September 12, 2021 @05:08AM (#28499642)
yeah plenty of politicians and political personalities are very accomplished and technical, doesn’t stop them from spewing the total nonsense required to attract attention (this is bipartisan). the far right extremist who got banned at 80k followers recently is a MIT grad and Yale polsci, but still endorsed all the Covid quackery he (probably) knew was nonsense
Re:Much less than, Much greater than symbols by Vanit on Saturday September 11, 2021 @11:37PM (#28498432)
Huh, it's funny but I have seen >> to the nth degree used in casual internet slang to indicate a similar concept. Almost certainly just used intuitively for emphasis, but it's interesting that it's also a real notation.
Re:Much less than, Much greater than symbols by kelnos on Sunday September 12, 2021 @01:16AM (#28498783)
Yes, I remember on IRC in the 90s people would use ">" to mean "better than", and ">>" to mean "much better than" (like "chocolate >> vanilla"). I still see this usage occasionally on other platforms (matrix, slack), but not all that often anymore.
Re:Much less than, Much greater than symbols by ghoshbishakh on Sunday September 12, 2021 @12:28AM (#28498633)
Isn't this notation very common and widely used in school Mathematics?
Re:Much less than, Much greater than symbols by thaumasiotes on Sunday September 12, 2021 @02:06AM (#28498959)
Well, sort of. The notation is common in the sense that if you're taking a math class where the concept is relevant, that's what's going to be used. But it's not so common to take a class like that.
Re:Much less than, Much greater than symbols by taneq on Sunday September 12, 2021 @07:20AM (#28500157)
I’d imagine both are the result of the same emphasis-by-repetition.
Re:Much less than, Much greater than symbols by simonblack on Saturday September 11, 2021 @10:47PM (#28498189)
That depends on the context or the language you are using. In some computer languages those signs can mean entirely different things.

In the bash scripting language '>>' means 'append to the named file' as in:

     echo "what?" >> my_file
In C, '>>' means 'shift the value right by one bit' while '<<' means 'shift the value left'. However, in C++, '<<' can also mean 'write to standard output'.

No confusion at all possible, ya think?

Re:Much less than, Much greater than symbols by Igelau on Sunday September 12, 2021 @12:52AM (#28498714)
> However, in C++, '<<' can also mean 'write to standard output'.

This is where I shake off the cobwebs and ancient dust and lost memories from my childhood to point out that I somehow still know that << is the insertion operator. It does more than just write, and it can write to more than just the standard output stream.

https://www.cplusplus.com/reference/ostream/ostream/operator...

Re:Much less than, Much greater than symbols by tialaramex on Sunday September 12, 2021 @03:47AM (#28499344)
However, despite having doubled down on this particular oddity rather than abandoning it as a bad idea in the C++ 11 era, operator<< isn't really "the insertion operator" because you'd obviously give that a different precedence if it existed.

It's an overload for the left shift operator, and keeps the natural precedence of this operator (slightly lower than addition and subtraction) which leads to occasional surprises because something like:

out << x == y;

... is actually outputing x, and then comparing y to the out stream not to x, and then throwing away the result, even though that's clearly not what anybody intended.

Re:Much less than, Much greater than symbols by leduyquang753 on Sunday September 12, 2021 @04:26AM (#28499483)
"<<"'s meaning in C++ is never "write to standard output". That is the output streams overloading the operator for their own operations. Similarly, you can write operator<< for your classes to mean whatever. The original meaning of "<<" has always been left shift.
Re:Much less than, Much greater than symbols by esrauch on Sunday September 12, 2021 @08:40AM (#28500610)
I'm not sure what you mean; standard library is part of C++ and it overloaded the meaning in that way. iostream "is C++".
Re:Much less than, Much greater than symbols by anandoza on Saturday September 11, 2021 @11:31PM (#28498402)
Yep, this blog post is in the context of using these symbols in mathematics, where this is the only usage of << and >> that I've seen.

I agree that programming languages, it can mean various things, just like < and > mean different things in C++ vs bash vs drawing arrows.

Re:Much less than, Much greater than symbols by raverbashing on Sunday September 12, 2021 @03:59AM (#28499383)
If I tell you "Spring was lovely this year" are you going to confuse it with the mechanical part? No.

Context matters.

Re:Much less than, Much greater than symbols by tialaramex on Sunday September 12, 2021 @05:59AM (#28499836)
This is fine in ordinary human conversation because of Grice's maxims and the goal of mutual comprehension, although...

https://www.youtube.com/watch?v=gi_6SaqVQSw

Still you probably don't want opportunities for confusion when dealing with machines. What you are sure is obvious may not be obvious at all to the machine and it needn't care what you thought you meant.

Re:Much less than, Much greater than symbols by booleandilemma on Saturday September 11, 2021 @11:47PM (#28498476)
I mean, are we gonna talk about ‘=‘, ‘==‘, and ‘===‘?
Re:Much less than, Much greater than symbols by yjftsjthsd-h on Sunday September 12, 2021 @01:02AM (#28498745)
Don't forget the languages that use := for assignment! And golang, which I vaguely think can use both = and := to do slightly different assignment (assignment vs initialization?).
Re:Much less than, Much greater than symbols by Jtsummers on Sunday September 12, 2021 @01:32AM (#28498827)
Golang uses := to represent declaration and simultaneous assignment to at least one new variable. = only works if the LHS variables have already been declared. If you use :=, at least one of the variables on the LHS has to be new. So the following snippet would be an error:

  a := 3
  ...
  a := 4
This is valid:

  a := 3
  ...
  a = 4
As is this:

  a := 3
  ...
  a, b := 4, 2
And this is an error again:

  a := 3
  b := 4
  a, b := 1, 2
Since neither a nor b are new variables.
Re:Much less than, Much greater than symbols by yissp on Sunday September 12, 2021 @07:52AM (#28500337)
As someone who has never used go, the third example feels counter-intuitive to me. I would expect a, b := 4, 2; to be equivalent to a := 4; b := 2; is there a reason it was done this way?
Re:Much less than, Much greater than symbols by jimktrains2 on Sunday September 12, 2021 @09:00AM (#28500758)
It is as you say, however, a and b had already been declared, which is the error.
Re:Much less than, Much greater than symbols by lostmsu on Sunday September 12, 2021 @02:10AM (#28498974)
But... why the latter?
Re:Much less than, Much greater than symbols by dasyatidprime on Sunday September 12, 2021 @02:37AM (#28499083)
Because if you're modifying a function and you're adding a new variable to hold some intermediary value, you might accidentally pick a variable name that already exists. If you're in the habit of writing := to signal your intent to create a new variable, that error will probably get caught at compile time rather than being a source of subtle bugs where you trample data needed by something else.

The multi-variable case is trickier, especially because (result, err) is such a common pattern and you neither want to impede the very common case of storing a result into a new variable nor to require a profusion of differently-named variables for errors that are very likely to just get folded anyway. So it allows it if any of the variables are new rather than requiring all. But clearing a large chunk of the bug surface is still much better than not.

(This is only my extrapolated reasoning, of course.)

Re:Much less than, Much greater than symbols by marcosdumay on Sunday September 12, 2021 @01:56PM (#28503282)
Oh, this is a good time to remember Prolog exists. Assignment isn't even a concept there, but equality can act on so many different ways!
Re:Much less than, Much greater than symbols by azepoi on Sunday September 12, 2021 @06:15AM (#28499899)
if you want to know where the expression for sqrt(a+b) come from it is a taylor series expansion of the first order (linear approximation) of f(x)=sqrt(a+x) arount 0. f'(x)= 1/(2*sqrt(a+x)). For x close to 0 you get f(x)≈f(0)+x*f'(0)
Re:Much less than, Much greater than symbols by samvega_ on Sunday September 12, 2021 @12:34PM (#28502590)
That's a bad wording for mathematics. It usually means "sufficiently greater than", and only makes sense as part of a sentence or wider context where what it is sufficient for is clear.

"Much greater than" is misleading because it could be confused with a valid statement by itself.

Re:Much less than, Much greater than symbols by travisgriggs on Sunday September 12, 2021 @01:58AM (#28498933)
I saw these and thought

“meh, nested generic”

I’m ruined.

Re:Much less than, Much greater than symbols by taneq on Sunday September 12, 2021 @02:28AM (#28499040)
I always think RPN object. :P
Re:Much less than, Much greater than symbols by williamdclt on Sunday September 12, 2021 @10:01AM (#28501215)
I remember using this in maths lessons. IIRC, it was used to analyze how functions behave, so `999*x + y + 99999` where `y ≫ x` behaves basically the same as just `y`. Something like that, maybe it was for big-O analysis or something.
Re:Much less than, Much greater than symbols by zabzonk on Saturday September 11, 2021 @11:05PM (#28498287)
I think every sentence in this post is more or less wrong. Also, we do not want to introduce non-ascii glyphs into programming languages - APL is about the only time this has been tried and (merits of the language aside) it was hardly a success.
Re:Much less than, Much greater than symbols by Jtsummers on Saturday September 11, 2021 @11:35PM (#28498421)
Julia is a rather popular (though not the most popular) language which makes extensive use of Unicode symbols in the language. I had some fun with it at the start of this year building out a package for astrodynamics where, thanks to being able to use math symbols, the code was a near exact translation of the formulas in the textbooks I was using.

Fortress is a much less popular language (perhaps, to be accurate, it should be described as a failed experiment) which was intended to permit the same thing. Offering an ASCII, Unicode, and prettified presentation of code.

There are quite a few other languages which support Unicode characters, though most of those don't aim for the same symbol heavy presentation of mathematical code.

However, the submitted article is not about programming languages so your post and this response are both off-topic.

Re:Much less than, Much greater than symbols by amelius on Sunday September 12, 2021 @07:17AM (#28500128)
Speaking of symbols used in the language, I'm still waiting for

https://en.wikipedia.org/wiki/Space-cadet_keyboard

to make a comeback.

Re:Much less than, Much greater than symbols by anandoza on Saturday September 11, 2021 @11:28PM (#28498385)
It seems pretty correct to me (excluding a few things I'm not familiar enough with to evaluate).

Is it possible that you misinterpreted this as a post about << and >> in code rather than their usage in mathematics?

Re:Much less than, Much greater than symbols by zabzonk on Saturday September 11, 2021 @11:36PM (#28498426)
Possibly so, but this is a site that tends to concentrate on programming rather than maths. Anyway, I stand by my opinions about introducing extra glyphs into programming languages.
Re:Much less than, Much greater than symbols by nerdponx on Saturday September 11, 2021 @11:12PM (#28498314)
Am I missing something, like another page of text? This looks like a short exposition of the symbols and some examples of their use in math notation.
Re:Much less than, Much greater than symbols by mlajtos on Sunday September 12, 2021 @09:56AM (#28501179)
APL started on blackboard, where writing weird math symbols is easy. Since we have computerized tablets with pencils now, it seems like a good idea to explore weird symbols again.

https://mlajtos.mu/posts/new-kind-of-paper

Re:Much less than, Much greater than symbols by kelnos on Sunday September 12, 2021 @01:18AM (#28498789)
Scala also used non-ASCII arrows in some places, though you could always use a two-ASCII-char version instead. I remember some IDEs had auto-replace rules to give you the "fancy" version, but I think that syntax is deprecated now.
Re:Much less than, Much greater than symbols by drdeca on Sunday September 12, 2021 @12:08AM (#28498559)
Lean also makes heavy use of non-ascii characters (inserted into texts using a LaTeX-inspired backslash-and-then-name , in a number of editors).

It also has ways to write the same things in ascii, but it is a fair bit less convenient to read.