Better HN
topnewbestaskshowjobs
Log inSign up

throwawaymath

5,982 karma · joined Apr 20, 2018 (8y ago) · 1,603 submissions

I've left. This used to be an enjoyable place to debate, but now it's frustrating to see ideologically driven downvotes on valid and on-topic comments.

I no longer have access to this account. If you want to reach me for past comments, you can do so at throwawaymathhn@gmail.com.

Submissions

comment 7y ago · link · parent

Clever, but incorrect. This is a rhetorical construction which falls apart if you don't overload the word, "reduce."

Climate change is bad because it can end human lives. The lives which it doesn't end may experience significant hardship and unhappiness.

Decreasing the rate of population growth does reduce the number of existing humans, but it doesn't induce that reduction by ending lives. It also doesn't increase the amount of hardship imposed on most humans.

Do you see why climate change and population reduction are not comparable?

comment 7y ago · link · parent

Is the SIR model a Markov model? The article doesn't mention whether or not infection can be modeled as a Markov process, but based on the graphics it looks like it.

If I understand correctly the probabilistic infection rate is "history-less"; in other words, the probability of infecting an adjacent neighbor in the current state is not determined by the state transitions of any previous iterations.

It looks like you could model this naively with a discrete time Markov chain using a 3x3 stochastic matrix and three states: healthy, infected and deceased. I would guess you could do the same thing for the SIS model using states susceptible and infected with a 2x2 stochastic matrix instead.

In either case, modeling the epidemic as a Markov process would let you estimate the probabilities of criticality using the limit of the stochastic matrix. In fact, I think the critical threshold (probability of the epidemic going critical) will be given by left multiplying the initial probability vector by the limit of the stochastic Markov matrix.

comment 7y ago · link · parent

In my opinion a more all-encompassing (if also more obtuse) definition would be: Calculus is the study of completeness.

I rather like this phrasing because basically everything you'll learn in calculus is a consequence of the completeness property of the reals.

comment 7y ago · link · parent

Nice, I forgot that one. BearSSL is one of only two TLS implementations (if I recall correctly) that wasn't vulnerable to the most recent Bleichenbacher attack variant.

comment 7y ago · link · parent

It's interesting how the author compares and contrasts learning from books and learning from lectures. I don't entirely disagree, but I think there's an implicit caveat here: these methods are often used inefficiently. They may be intrinsically inefficient, but I think there might be diminishing returns to designing an entirely new medium instead of encouraging a few comparatively simple - but significant - improvements to how we use what we have.

I'll use math as an example since it's what I'm most familiar with. Sheldon Axler, the author of Linear Algebra Done Right, recently released a new textbook on measure theory and integration[1]. He makes the following comment in his preface to the student:

> If you zip through a page in less than an hour, you are probably going too fast.

I loved reading that because it's true, but also because most authors of math textbooks don't spell that out for students. I don't think Guns, Germs and Steel should take an hour per page, but my point is that nonfiction material should be actively engaged with, rather than passively "absorbed." When you passively read a chapter of a math textbook you'll almost certainly fail the exercises. On the other hand if you actively read the material, attempt proofs before reading the author's, investigate how many and which definitions can be removed before a proof fails, come up with your own questions, etc. then you will master the material.

I don't know how you'd do that for a non-technical nonfiction domain, but at it's core I suspect it would dramatically improve the efficiency of learning from books. Likewise, I consider it bad technique to take notes during a lecture. If your professor is implicitly encouraging this by making it so that you have no choice but to do so in order to learn the material (i.e. some material is not in the book or easily found elsewhere, or there is idiosyncratic style), then I also consider that poor form. In my opinion you can significantly improve the efficiency of lectures as a transmission medium by having students lightly read through the relevant sections before the lecture, then actively listen with their entire attention while sitting the lecture.

I also think it would be worthwhile to have lectures recorded and uploaded for a course so students can review material without needing to rely on the book. If you combine these two mediums in the way I've suggested, I really think there is not a whole lot of improvement left to do. There might be a fundamentally novel and strictly superior way of learning, but it's hard for me to see which cognitive bases aren't covered by combining these two methods.

_______________

1. http://measure.axler.net/MIRA10May2019.pdf

comment 7y ago · link · parent

Thanks for posting this, I came here to post the same thread.

For those who are unaware: Thomas Pornin is a professional cryptographer. He's a member of the NCC Crypto Services team and one of the authors of the Sosemanuk stream cipher, which was part of the final portfolio for eSTREAM. He's also involved in the development of one of the cryptosystems which has made it to round 2 of the ongoing NIST PQCRYPTO standardization process.

His writing on crypto.stackexchange is prolific and highly informative, and this is a strong rebuttal in particular.

comment 7y ago · link · parent

The context Bernstein is talking about is very meaningful here. The mathematics of public-key cryptography provides a rich tapestry for covering up hidden backdoors. ARX ciphers are very simple compared to elliptic curves, and the complexity of round constants isn't really comparable to that of curves.

comment 7y ago · link · parent

> which implies the NSA is incompetent at maths

No, it doesn't.

EDIT: To whoever downvoted - developing cryptography is hard. The idea that developing one broken cipher implies mathematical incompetence is laughable. You can't draw any conclusion from it except that it's hard to develop ciphers which aren't broken.

comment 7y ago · link · parent

I don't think it's worthwhile to engage in applied versus pure "math war" either, but I don't really agree with the point you've made. All applied mathematics has an axiomatic basis. When certain mathematical theories can be "applied" to real world problems, it simply means the relevant axioms and definitions are a robust approximation of reality.

To speak to your example directly: machine learning absolutely has an axiomatic basis. You can conduct legitimate research in implementations and software or hardware optimizations thereof; however, fundamentally every experimental result in machine learning is an application of a variety of theorems in linear algebra, probability theory or calculus.

comment 7y ago · link · parent

Putting aside the common issues with pedagogy, the reason you learn a "bunch of tricks" for calculus is because that's more or less all you have in many cases.

If you take integration as an example, there is no single approach to solving every integral. More importantly, it's extremely common to encounter integrals for which there exists no closed form antiderivative. In fact it's technically exceptional to find an integral which can be neatly solved in the space of all possible integrals.

As a direct result, solving an integral becomes an (often frustrating) exercise in transforming it into something equivalent integrals up to a negligible constant. Nonlinear optimization problems and differential equations are similar in this regard.

There is something to be said for the depth of analysis, which does provide a deeper meaning and rigor to the "bag of tricks" in calculus. Outside the US it's somewhat common to skip calculus entirely and begin straight away with analysis, and I think there's merit to that. But the profundity and power of analysis doesn't provide you with any fundamentally more complete methods of solving calculus problems except insofar as they become more advanced and rigorous. Ultimately analytic mathematical work (as opposed to algebraic) is characterized by this kind of pattern-matching; this frequently results in seemingly inspired, bizarre looking proofs compared to how neat everything is in algebra.

comment 7y ago · link · parent

My understanding is that's not the purpose of the obfuscation. The parties doing this don't generally want to hack users or compromise accounts, they want people to go to their site instead of the more recognizable one.

If they start actively phishing users this way they're solidly in illegal hacking territory on a pretty massive scale. What they're currently doing is "only" a "growth hack" to get more people on their site instead of the competitor's site.

comment 7y ago · link · parent

I think you're speaking to a point the parent wasn't really making. All they're saying is that being known as the canonical source for a brand gives you a steep discount on bidding for that brand name.

We can quibble about the philosophical role of modern search engines I guess, but the basic idea is just that it should be easy to defensively bid on your own thing.

comment 7y ago · link · parent

> Similarly, there's not really a market for software that doesn't work.

Not sure you and I are in the same market, friend.

Engineers and doctors are highly commoditized compared to professional athletes and celebrity entertainers. We produce a fundamentally fungible good.

If you can pay the market rate, you can find a replacement engineer to work your software. If Taylor Swift's concert is sold out, you cannot see Taylor Swift. If Aaron Rodgers dies, there are how many quarterbacks in the world capable of replacing him?

These are categorically different things with categorically different market dynamics. Approximately no software engineers (or doctors) have a personal brand, nor an objectively superior skillset.

comment 7y ago · link · parent

Technically speaking, no. Real analysis is pretty self-contained. You basically start out by constructing the reals from scratch and deducing continuity as a consequence of the completeness of the real field. You use a tiny bit of set theory to establish notation and define bounds, and then from there you go into limits, derivatives, integrals and maybe the Lebesgue measure. I wouldn't expect a real analysis course targeted at applied math majors to do much other than that.

The reason real analysis is useful is because it's (loosely) a deeper calculus course with proofs. Since probability theory becomes more proof-based (and ventures into measures), real analysis is good preparation for it.

comment 7y ago · link · parent

Golub's Matrix Computations is definitely a gold standard, but I wouldn't characterize it as something you read so much as reference :)

comment 7y ago · link · parent

Speaking frankly, it's ambitious to complete even one of these courses in a single summer. Most students would be taking one or two of these in 12 - 16 weeks while doing nothing else but being a student. Accomplishing the same in about eight weeks from video lectures will be more difficult. I would strongly urge the author to slow down, choose a single course they have the background for and work from there.

I can't tell if the author has done a real analysis course before, but if they haven't that's the one they should choose next. If they already have that under their belt they should go to probability or complex variables. I don't see the utility of re-doing calculus or linear algebra if the author is already strong in both.

I appreciate the enthusiasm for math that's evident here, that's great! But if you're learning math the "right" way - by actively engaging with the material - there's only so much of it you can learn at once.

comment 7y ago · link · parent

Off the top of my head I’m not sure, but my question isn’t asking about merit-based selection in the abstract. I’m asking if there are drawbacks to the specific system mentioned; that is, competitive entrance exams with anonymous review.

comment 7y ago · link · parent

The universe doesn’t “reward” it so much as it’s just a consequence of random events. For example, if you flip a coin many times, you’ll see long sequences of heads. From the central limit theorem it follows that sufficiently many random events will form a normal distribution, which exhibits clustering phenomenon. Take a look at a Galton board in action.

comment 7y ago · link · parent

Does that system come with any notable drawbacks of its own?

comment 7y ago · link · parent

What I'm reading from your comment is that you have a strong, implicit association between "giftedness" and "notability" - perhaps the latter taking the form of socially recognizable achievement.

Speaking as someone who was in a gifted program in my youth (and who knew others in more advanced programs), I would like to caution against this perspective. My achievements are not notable, and I would not use that as a heuristic for determining whether or not a particular program/standard is successful or useful. Yet I found my experience to be very positive. Despite the fact that not all programs are created equal, I would generally recommend a suitable one to any parent with a gifted child.

I understand MENSA is a bit loaded since it can come across as pretentious, so let me reframe the example for you. Take a look at past winners of the Putnam exam. Most of them are not nearly as notable as cperciva[1], but they're all demonstrably gifted.

Giftedness is not about being entrepreneurial or about how you apply your intelligence in a notable way. Programs designed for gifted people are not trying to create a class of people who are more impressive. In general, they try to foster natural talent in a way that cannot typically be accommodated in the modal classroom setting.

________________

1. For those unaware I'm referring to Colin Percival, an HN user who designed scrypt and developed Tarsnap. He won the Putnam.

comment 7y ago · link · parent

It depends on the gifted program. I was in one in high school and rather enjoyed it, though it was a pretty wide range of "gifted" (top 10% of my age cohort). I wouldn't characterize my experience as raising the the grade, but rather by diving into different material alongside different people. The material was ostensibly advanced/sophisticated sure, but it was categorically different from what would be encountered in the higher grades at the same "level."

A friend of mine was in a much more rigorous gifted program (through Stanford) and I think it was the best thing that ever happened to him. He had a very poor home life but he's phenomenally brilliant (he's one of a specific handful of people I've personally met who I use that term for). All he really enjoyed doing from the time he was 12 was reading math and physics books. Going through the gifted program put him on a path that exercised his talents in a way that he found personally very fulfilling. He ended up finishing undergrad at Harvard before the age most kids become sophomores, and then completed a PhD from Harvard before the age most people even begin one.

Then he went on to work for the NSA and, later, a hedge fund. Those things probably look soulless to a lot of people, but he's very happy.

comment 7y ago · link · parent

Okay why not, I'll take the bait.

> There are people who want to invest in ICOs, Ponzi schemes

Ponzi schemes are fraudulent operations intrinsically designed to extract money from investors by misleading them. Slack is a software company with a cogent, well-defined plan to leverage unprofitability now into significantly greater profitability later. Not only are these things meaningfully different, they're categorically incomparable.

Even if Slack ultimately fails it has a reasonable plan of action that distinguishes it from fraud. The SEC does not exist to eliminate all risk from investor portfolios, that's impossible (and suboptimal!). It exists to (among other things) ensure the risk to investor capital occurs through the normal procedure of markets instead of outright fraud. For similar reasons most ICOs (and particularly fraudulent ones) are categorically dissimilar from a tech company going public at a net loss.

> others want to rape, murder...why should anyone’s opinions be forced on these people?

I can't believe I have to say this, but the two things you described are violent acts with directly violate the rights of other human beings. I'm not sure how much else needs to be said here. We started off at people being allowed to engage in risky but fundamentally legal and mundane investments, and ended up at fraud, rape and murder. Somewhere along the way we've gotten quite lost.

comment 7y ago · link · parent

Precisely, yes. I'm talking about a sample including all representative gas turbine failures, across all sensor vendors.

comment 7y ago · link · parent

The superfluous correlation between Siemens sensors and turbine failures will not average out eventually if you have a sampling bias in your dataset.

comment 7y ago · link · parent

You really should. If the sample is "all the gas turbines you own" and you disproportionately use Siemens sensors, your turbine failure forecast will (with high likelihood) reduce to a Siemens sensor forecast. This is easily plausible even if your sample's correlation between Siemens sensors and gas turbines is completely superfluous.

comment 7y ago · link · parent

No, that's incorrect. Note the part of your quote which says, "and suppose this has no connection to the failure."

The point is the Siemens sensor is a superfluous correlation with turbine failure, because the underlying dataset is biased towards Siemens sensors. The scenario suggested by the author is one in which your turbine failure dataset does not match reality.

No amount of sample enlargement will correct sample bias. You have a variable which is disproportionately represented in your underlying dataset despite being independent from a collection of variables correlated to failure, and the algorithm is learning that one instead.

Real world ways this is plausible and cannot be corrected by increased sampling:

1. Your telemetry data is accurate, but your logging service providing that data is faulty and only consumes data from a subset of meaningful publishers.

2. Whoever provided this dataset fat fingered a SQL query which joined too few tables including the sensor vendors, but correctly returned only the failing turbines.

3. Your data has (unnormalized) duplicates, because more than one system is providing telemetry data for Siemens sensors without the older systems being retired.

4. You use mostly Siemens sensors, and simply didn't correct for this in your sample.

comment 7y ago · link · parent

Ah, so that's the setting we're talking about. Thanks for explaining that.

comment 7y ago · link · parent

A metric is a distance function. Defining a metric on a space is one of ways you create a topology.

I'm not sure what the parent means by the metric being the identity function, however. The Euclidean metric is basically the hypotenuse of a triangle parameterized by two vectors. The adjacent and opposite sides of the triangle are measured to be the Euclidean norm of each vector (their length), and the hypotenuse is the shortest distance between them.

The Euclidean metric is not the only metric - you can define distance however you'd like as long as it's consistent. But I'm not sure how the identity function works as a metric, because that would map a vector to another vector, not a scalar.

comment 7y ago · link · parent

Yes they can. This follows from singular value decomposition. Let S be the matrix representation of a shear transformation. There exist rotation matrices R, B and a diagonal matrix D such that S = RDC, where C is the transpose of B. D is the matrix representation of a scaling transformation and R, B are the matrix representations of rotation transformations. Since S is a product of rotation and scaling matrices, its corresponding linear transformation is a composition of rotations and scalings.

It would ordinarily be weird to represent shear transformations using rotations and scalings because shear matrices are elementary. But it checks out.

1
91011
54