225 points · by furcyd · 5y ago · 180 comments
> 1) When you get older math got harder.
> 2) When math got more abstract it got harder. Blame Grothendieck.
> 3) When math stopped being tied to the real work it got harder. Blame Hardy.
> 4) Math has always been hard. We NOW understand some of the older math better so it seems easy to us, but it wasn't at the time.
> 5) With the web and more people working in math, new results come out faster so its harder to keep up.
> 6) All fields of math have a period of time when they are easy, at the beginning, and then as the low-hanging fruit gets picked it gets harder and harder. So if a NEW branch was started it might initially be easy. Counterthought- even a new branch might be hard now since it can draw on so much prior math. Also, the low hanging fruit may be picked rather quickly.
Personally I think it is mostly 2 and 3. And a lot of it has to do with how math is communicated. The very abstract way that math textbooks use to communicate is not how most mathematicians think when solving problems. A lot of things I struggled to learn from books became much more understandable once someone gave me the little insight I needed to make sense of it in conversation.
I sometimes wonder if we'd be better off telling teenagers that the motivation they need to learn math is self-preservation. There are always people who are going to try to trick you with bad math (from misleading cost/benefit analysis, to financial malfeasance, to bad faith public policy debates) and if you know some math they can't do that to you.
The "you give Timmy five apples" shtick is almost anathema to that. You've practically built a narrative for the kid to get distracted from the point of the exercise. I don't like Timmy, or I don't know who the hell Timmy is. I'm not giving him five of my apples. Timmy can go fuck himself. Get your own damn apples.
Better: you put twenty skittles into a cup. You drop the cup, and there are only 5 skittles left in the cup. How many are on the floor/how many do you need to replace the lost ones?
The answer was always "theres a lot of applications if you get a math job" to which we all groaned imagining counting cups of skittles and mentally dividing while the computers sat idle...
I use arithmetic logic and geometry and occasionally some basic statistics.
I need to start collecting examples of conclusions drawn from incomplete and / or poorly explained statistics. I did three levels of statistics, and found it boring because I struggled to find how it would be useful in my future career. I'm eternally annoyed at myself for not paying enough attention, I love stats now.
One interesting (and divisive) example for statistics was way early in the COVID timeline the talk about reaching herd immunity through "just letting it propagate" as per the narrative around Sweden's approach.
The required herd immunity figure was something like 60%[0] at the lowest end. In the US daily new infections peaked in January 2021 at 305,000[1], and the US population is around 330 million[2] (with 60% being 198 million).
At that maximum rate of new daily infections, it would take 649 days (1.77 years) to reach herd immunity.
The average daily new infection rate from the 21st of March 2020 to the 15th of November 2021 is ~79,500. At that rate it would take 2,490 days (6.8 years) to reach herd immunity.
In both of the above scenarios, with a fatality rate of 1%, there would be 1.98 million deaths during the time span.
Other numbers that would be interesting in context:
- Number of hospital beds
- Number of ventilators, how quickly they can be manufactured, how long they're dedicated to an individual case (and bonus points for recovery rates of those who needed to use a ventilator)
- Medical oxygen usage rate and availability (India had an issue with running out of medical grade oxygen[3], although it may not be as much of an issue for more countries with more advanced infrastructure)
Thank fuck for medical technology and vaccine development (the age we live in!)
[0]: https://www.sciencemediacentre.org/expert-comments-about-her...
[1]: https://www.worldometers.info/coronavirus/country/us/#graph-...
[2]: https://en.wikipedia.org/wiki/Demographics_of_the_United_Sta...
[3]: https://www.theguardian.com/world/2021/apr/29/explainer-why-...
Try reading the example on that page. That is what makes math hard. Not the way calculus is described.
When it gets into the symbolics of the ethereum state machine (section 4+), things get hairy fast. Unfortunately papers like this only make sense once you understand the paper. It's a succinct representation of knowledge for someone skilled in the field, but not a sensible way to teach others about the EVM.
Sounds like manpages (:
> In mathematics, abstract nonsense, general abstract nonsense, generalized abstract nonsense, and general nonsense are terms used by mathematicians to describe abstract methods related to *category theory* and homological algebra.
Oh so _that_ is why I can't understand Haskellers..
> took some upper level analysis courses
Real Analysis is still not very abstract, but yeah that is a step. The next step is to remove everything concrete about it and just study abstractions. And then you start studying abstractions of those abstractions, hence "abstract nonsense". Maybe sometimes in the future someone will invent abstractions of those.
Edit: Meant the stuff you learn in Rudins principles of mathematical analysis. Not sure exactly what the course would be called in an English class, but I called it real analysis here.
I had three reactions:
1) I was elated to finally understand sin and cosin.
2) I was thankful for him and also amazed at how simple it was in 5 minutes to explain something that seemed to have eluded me for 5 years of highschool. It made me wonder alot what other difficult subjects could be easily taught by just a good explanation.
3) I wondered why math class had failed so specifically to give me that knowledge, or at least test me to see if I understood it and if I didn't to ensure that I did understand it. The answer I think was math class just encouraged me to use a calculator, thus short circuiting any real understanding.
Anyways he went on to be a physics professor at Cambridge.
I always appreciated that moment.
I didn't understand what functions are/ how they work, my brain absolutely refused to understand, until i started programming. Then i got it in 5 minutes.
The responsibility for not knowing until that point is more likely to be on my shoulders than the lecturer's, however.
such a shame. sounds like a talented fellow who really could have made something of his life. maybe even a chair at Oxford :/
Why? How are they different?
Explain?
Overall what I've found is that older textbooks (edit: not just math) are more likely to (1) explain concepts in smaller steps; (2) not bury them in symbols and abstractions; (3) introduce and explain physical intuitions for subjects when they are relevant.
Don't just leave us hanging :-) Care to elaborate on what helped gain that insight?
CS theory always had hard math. Software engineering didn't (and still mostly doesn't) but also in the 1970's software didn't exist so you could literally do anything and it would become the standard if it was pushed hard enough.
It's not like there's an intrinsic reason TCP packets are the way they are now, it's largely an arbitrary choice that we standardized on.
IP and TCP were very carefully designed and were not much like the networking standards of the time. It wasn't an arbitrary choice any more than designing a rocket engine is an "arbitrary choice".
Yes they were, very literally, and incorrectly to boot
Being first is not arbitrary. It is hard to achieve, and valuable. It is a reason.
There were networking systems before TCP and alongside TCP, TCP was clearly superior for a large number of reasons.
Given that everyone on hacker news's livelihood stems from the awesome of TCP (not an over statement), I propose a bit more respect.
How did it happen that the byte order of the multi-byte numeric fields in TCP/IP headers is big endian, which is opposite of what most machines use now? Back then, did it look as if big endian would become prevalent?
Today, almost every host attached to an IP network has to byte swap.
The IPv6 people definitely ought to have designed a little more carefully.
For example let's say I send a message to 1.2.3.4, the first router will decide what will be the next node based on the first number, the next one on the second, the next on the third, etc... Because it is big endian, the first router only has to read the first number to do its job, if it was little endian, it would have to read the entire address fist.
Of course, it is a detail, I mean, the words "little/big endian" is a parallel to the the pointless fights in Gulliver's travels. But even if it could have gone either way, for IP, big endian is more natural.
Yes. Big endian was "natural" and x86 was weird and awkward, and a niche low end design that woud never be connected to networks.
I've designed several transport protocols (don't ask) - and they are really just minor riffs on TCP.
if aliens had a fault-prone wire they wanted to send a message across over some distance - it seems quite likely they would end up with TCP
This is incredibly off-base. There was a huge effort to force an OSI-designed networking protocol stack that was designed by a committee of government bureaucrats and big blue sales engineers. It was a total disaster, but the vast amount of resources that were dedicated to forcing the OSI memes was in the billions of dollars. Large amounts of actual physical hardware were produced conforming to protocol standards nobody doing anything real actually wanted to use because a lot of government agencies required all network equipment to be compatible with the OSI protocol stack.
TCP, UDP, and the modern routing protocols (BGP, OSPF, etc) and their associated address resolution systems were not an arbitrary choice -- they represented orders of magnitude level improvements over the government-backed OSI standards and getting them to succeed was the product of intense collective effort of some of the most brilliant minds of the past century.
TCP/IP was in no way an technical improvement over OSI
Nothing has stood up to as much scrutiny and scale as TCP/IP. The simplicity is definitely an important part of it. Protocols that are used by trillions of devices need to be simple, and the equipment used to switch and route their traffic have to defer as much handling of state to the clients as possible. The more state that routers have to maintain, the less reliable they will be. TCP/IP accomplished that and that's why it was better.
* University of Toronto, ON, Canada: HEAVY math; queuing theory; no computer lab, no mention on any specific stack or technology
* University of Athabasca, AB, Canada: No math; discussion on OSI Layers, TCIP/IP, SMTP, Ethernet; gateways routers switches, virtualization; lots of fun computer labs. Not technology specific - it wasn't doing Cisco certs or anything. But good working understanding of what's happening in networking world.
I always felt one university taught working software engineers; other university taught the dozen people worldwide who need to create next IPv8 :D
(This is not to downplay the work of the pioneers who discovered these foundational concepts; just to point out that they used less sophisticated mathematical tools)
What are you talking about? It was a three year argument based extremely heavily on prior knowledge
Why does everyone think that just because they don't know what craft went into something, there wasn't any?
There actually was software in the 1970s, and earlier.
[1] https://en.wikipedia.org/wiki/Connection_Machine#Designs
Edit: Note that the frontier of the field will always be extremely hard no matter what time you live in. The reason is that things will be poorly understood and written, there will be no good textbooks or explanations, you have to trudge through all that often without anyone to help you understand things or correct you. It took centuries for calculus to become as easy as it is today.
it's easy to use, but it's (IMO) even harder to understand correctly than before. I'm referring to a mathematical-level understanding; i.e. you could re-invent it because of how well you undesrtand all of it.
I think that during the 19th century when it (along with logic) was being formalized they decided to throw away the old original ways to think about it. This ends up making it really hard to understand in exchange for making it "formally sound" and "user friendly".
For instance, I can't take a derivative without the rules in front of me, though the concept of derivatives is simple.
There's a large trench between what people expect and what reality is here.
See https://slatestarcodex.com/2016/11/17/the-alzheimer-photo/
Now, there's half a mile of land for people to safely and easily scout through knowing they can always setup camp at the new established camp and work back towards previous understanding or work from previous understanding to the new camp. There's often a lot of low hanging fruit to be had here once a leap, not small incremental step into the frontier, has been made.
Today Grace Hopper's "compiler" wouldn't merit the name, it's just a linker loader, what's the big deal? Well the big deal was nobody had actually programmed the computer to help them program the computer before. A huge sub-discipline of computer science simply didn't exist.
Consider another discipline, metrology. Pioneers in metrology weren't doing advanced physics like you would see in a metrology lab today, they just had the insight that it sure is easier if everybody agrees how much corn this is, so they used prototypes, which is pretty much the simplest strategy but it's already a huge improvement on nothing at all. It took until this century for the last prototype (the Kilogram) to be replaced. On the route there those prototypes got a lot more sophisticated, and we learned a lot more about what it actually means to have a certain amount of a thing, so metrology got much harder.
The other surprising thing to me was that it didn't really resemble modern algebra at all. As a former math student I think it's easy to create a mental model of math history where when new fields are created they resemble the modern incarnation. But when you actually look at the primary founding texts its clear the ideas and notation are pretty unrefined at least compared to today's standards.
I've just started reading it and Petzold claims all you need is a decent grasp of high school mathematics.
Amusingly, that failure so drove me to learn computer science that I'm now an expert, but I often get stuff like order calculations wrong because they don't correspond well with actual computer performance.
Prof. Tom Leighton is an incredible teacher who teaches the intuition before the theory.
I went to a college in Boston in early 2000s for my CS degree and it was undergoing extra ABET accreditation to put it in line with the engineering programs. The prior year has mostly algebra based course work but due to the change: all our math (including physics) was switch to calculus based just like the other engineering programs. And the theory courses got more in depth.
So if I had to guess based on my personal experience I'd say added rigor is possibly due to the field becoming less like a free-for-all and more like engineering.
In other words, knowing why something works vs just experimenting until you stumble upon something that works.
I've always appreciated a B.Sc. or M.Sc. in Computer Science as the academically rigorous cousins of Associate degrees, B.A., and bootcamps. You can get a job with both types of education but one understands the theory behind things far better.
Edit: Not sure if it is like this globally so just as an FYI... B.Sc. and M.Sc. are Bachelor and Master of "science" degrees where as B.A. is in the Liberal Arts. In the US you have CS degrees in both. The B.A. is more well rounded but the B.Sc. is more rigorous in theory and math.
In neither case is it a matter of theory vs practice. It is that the mechanics used by theorists is a lot more difficult than a few decades ago.
Actual software development becoming like engineering, which seems counter to my experience, is a different issue.
In my experience software veers away from engineering because as soon as something is standardized enough to not be novel, it’s completely captured by a library or service or something and is a solved problem. The new software is always doing something new. And there are no lessons learned, except, ironically, at the deep theory level.
My undergraduate degree was in math, and I switch to CS for graduate work because math got too hard.
They’re remarkably different in difficulty.
My friend in complexity is clearly a mathematician. My friend who is an expert in random algorithms is doing a lot more throwing darts at a dartboard with enough theory chops to make his papers interesting.
I studied CS theory and modeling in university and my degree was effectively a math degree. Without the math and analysis piece I don’t think the theory ever would’ve been intuitive.
This isn't an annoyance like back-button breakage. It's a design issue with a very easy fix that makes it impossible to read this for (at least) some people
Take NP-Complete for instance. We know a problem is NP-Complete if we can do a Karp Reduction from another NP-Complete problem and also prove the problem is in NP. Sure, that's fine. But how was the first NP-Complete bootstrapped? Well, using automata and generalized turning machine languages! You can use NP-Complete as a concept at work, and never touch the original proof using a non-determistic turning machine language.
That's at least one course worth of material to teach in order to get students to understand automata. To me: that's a complex approach to a simple question: what can we compute? We have to invent a series of automata with increasing complexity and corresponding theories/proofs. I don't think it's bad, it's just the nature of the problem!
Till a few years ago, undergrads could contribute to CS theory research, whereas in math only senior grad students can do that.
What the article is saying is that CS theory is slowly moving towards the latter model, as more work is done and the low-hanging fruits are picked off.
The article seems to focus on complexity theory, but I couldn't think of any from that sub-field. My first thought is the Paxos algorithm for distributed consensus [1], which definitely has a reputation of being difficult to understand, and fits under the Theory umbrella.
[1] https://en.m.wikipedia.org/wiki/Paxos_(computer_science)
Disclaimer: I'm a software engineer who doesn't understand Paxos.
However, because my education/training has not been part of an institution, I do feel like I am on the outside of understanding when it comes to wrangling the lightning inside the rocks we work on day in/day out. I've been both DevOps (helpdesk jockey to admin) and dabbled in frontend work, but mostly fell into those positions and grew into them.
Couldn't tell you how to work with Kubernetes or Docker, but have been following discourse on here enough to understand how they are useful for big stuff. I used PuTTY back in HS to work on a backend internship, but have no clue why it works. I have made at least 2 programs still running internally at a big real estate tech company, but cannot deploy my own apps on my own computer.
Is this disconnect with deeper Computer Science theory just my issue as a visual and kinetic learner? Is the understanding of modern technology only suitably captured in a classroom setting that I do not have access or time for?
Kubernetes will immediately make sense if you take a serious Distributed Systems class.
I have some books on both OS and Distributed Systems (gotta love goodwill finds), and appreciate the pointer towards where I can deep delve on how these work at a deeper level :)
No one wants to admit that things were probably better when we ran our own infrastructure and bought hosting at fixed pricing, because they're busy making money off of the new and overly-complex "utility priced" cloud hosting solution model to hosting web sites and apps, and because the learning curve for their competition is now more steep, reducing the threat to their profit pipelines... There, I said it.
These days people have a huge problem with getting to the point in speech and in writing. If you put the premise up front, it allows people to get it an move on, or to argue with you online more easily without reading the elaboration below it.
There is usually a reason why software and hardware is made, to solve a specific problem, or to solve a group of problems, yet modern-day engineers don't see the importance of putting the detail about the problem(s) that their tools solve foreword FIRST AND FOREMOST before gushing about how to use their tools. A lot of the time they don't put the premise first because it's an ugly solution, or in reality simply useless, or based on being costly, and usually just too damn overly-complicated to really work consistently and accurately.
We also have marketers, managers, and sales people working to promote ideas without any real understanding about the reason why those things were created. Many people simply don't care as long as their share values increase or if they make a paycheck, so there's even more of a barrier to meaningful answers to why in the he|| things exist, to determining real meaningful fixes to modern-day problems, and to why certain solutions are different than other things used to solve already over-complicated IT problems.
Life is better when it's more simple, simplifying things frees up time to innovate beyond just ideas that are geared towards making profit. The world would be a far better place if we began a shift towards bringing technology back down to earth, and if everyone would stop chasing the annual "tech leader supreme monopolistic empire douchebag" awards.
:|
Instead, education became weaker :-(
See following link for foundations of computer Science:
Now, complex neural network architectures are available to all. Alas, simply gaining that access does not in any imply deeper understanding of what is occurring under the hood. Perhaps the higher technical demands is simply a byproduct of the more complex "off-the-shelf" solutions and the need to do more than simply pip install, point, and click?
NNs are not a hard thing to understand, it's just regression -- there's parameteric and non-parametric. And NNs are, just like any generic approximator algorithm, a largely non-parametric method. The lack of understanding of even what a parametric method is, in CS, is very telling: NB. it has nothing to do with the final model having parameters. It is whether the method assumes a parametrised distribution of its input data. Non-parameteric methods are well-understood, they aren't magic, and they aren't very hard to characterise.
Rather, it is exactly in those areas where compu-sci people are most qualified that the mathematics gets the hardest. Much of the low-hanging fruit has been picked (Turing, et al.) and today comes the hard part of the thorniest problems.
Having done my PhD work on (Bayesian) nonparametric methods I'm struggling to parse this.
What is the input data? Just the explanatory (independent) variables? Both explanatory and response (dependent) variables? Are we talking about a joint or conditional parametric distribution?
Many parametric methods (e.g. OLS regression) make no assumption about the distribution of the explanatory variables. Many "nonparametric" methods do make parametric assumptions about the conditional distribution of the response variable(s) conditioned on the explanatory variable(s) (e.g. GP regression).
I don't see how this works as a classification for whether a method is "nonparametric" or not.
If the parameters of the predictive model are a weakly compressive function of the dataset, then your method is non-parametric. If your parameters are extremely compressive it's parametric. Subject to both being low-loss models of the data.
Why? Well a non-parametric method is basically one which "uses the data points as its statistical model"; and a parametric method fits the data to a prior low-parameterised model.
Eg., linear regression essentially fits the data to a normal distribution = parametric on the mean/std, ie., pdf(Y|X) = N(ax +b, stdev). You fit (a,b) and thus essentially are just "finding a mean".
Eg., knn just remembers the dataset itself.
So there's a scale from "linear regression to knn", ie., Weights = (Mean, Stdev)... to Weights = (X, Y).
The terms parametric and non-parametric are fairly overloaded, so this way of characterising the distinction may either improve or worsen that.
Either way, my point is that NN model with a very high parameter count is essentially best analysed as KNN on a weakly compressed feature space. In that sense it is an incredibly obvious and simple algorithm.
Incidentally, NN can just be linear regression or KNN if you set it up appropriately. So NN is an alg. which runs "from knn to linear regression" depending on, eg., activation-fns, how hard you regularise it, etc.
TL;DR: It's a way to multiply n-digit integers in time O(n log n * log log n) time, developed in the early 70s, using DFTs in the ring Z mod 2^k + 1, with a slightly clever choice of k. Since the runtime was so tantalizingly close to O(n log n), it fueled speculation that O(n log n) was the optimal runtime. This bound was finally proven in 2019: https://hal.archives-ouvertes.fr/hal-02070778v2