5,982 karma · joined Apr 20, 2018 (8y ago) · 1,603 submissions
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.
comment 7y ago · link · parent
Back to the point at hand, I don’t like recaptcha in principle. But given my view from both sides of the table, it’s one of very few things that consistently works for sophisticated adversaries. It’s about as close to a silver bullet as they come, with the additional upside that it’s the absolute easiest thing to implement - in both an absolute sense and relative to the return. And once you have, most of what you can implement beyond recaptcha has diminishing returns in comparison.
All of that being said, I would be inclined to agree that most websites and apps don’t need recaptcha, simply because most of them aren’t worthwhile targets for the types of attacks recaptcha is singularly effective against.
comment 7y ago · link · parent
But yes, the whole cottage industry is sketchy. Almost all providers are leasing users’ computer with outright malware or shady TOS. The savvy play is to release a free game, app or even SDK which will then opportunistically route requests from the control server through the user’s device.
Recaptcha solving APIs are frequently bundled with the more reliable and premium services of this kind. They introduce a lot of latency since there’s a real mechanical turk across the world solving it for you, but they basically work.
comment 7y ago · link · parent
1. Rotate through several thousand to several hundred thousand noncontiguous, geographically distributed, residential IP addresses,
2. Associate each IP address with a single user agent and suite of cookies,
3. Associate each IP address with a particular target username,
4. Only attempt a few incorrect logins at a time, and a somewhat random (albeit realistic) number at that, within a given time interval,
5. Use random, apparently human delays between successive requests,
6. Issue requests using extremely high fidelity simulacra of web browsers, customized to the sequence and structure of HTTP requests on the website.
When the stakes are high this is the kind of opposition you'll get. Bank account takeover, social media account takeover, ticket scalping, automated sneaker buying, financial research, market research, etc.
Recaptcha introduces unpleasant user friction, but it usually works well. To invert a popular turn of phrase, it makes stopping simple attackers easy and hard attackers possible. The most sophisticated attackers will still lease reputable Google accounts and mechanical turk time to bypass Recaptcha challenges, but it will be expensive for them.
Technical sophistication is only one dimension of this game. The other is making adversaries spend more money than they can gain from being successful.
comment 7y ago · link · parent
I expect that formal methods will become another specialization that most engineers don't need to directly work with, alongside things like cryptography and low level arithmetic.
comment 7y ago · link · parent
> But I think that most programmers who are serious about what they do should know calculus (the real kind), linear algebra, and statistics. The reason has nothing to do with programming per se — compilers, data structures, and all that — but rather the role of programming in the economy...One way to read the history of business in the twentieth century is a series of transformations whereby industries that “didn’t need math” suddenly found themselves critically depending on it.
There are two ways to interpret the claim that more programmers should know advanced math. One of them, which the author preempts, is the idea that programmers will improve their own work through significant mathematical maturity. It seems the author and I already agree that isn't the case, so I won't address this interpretation. But I still consider this interpretation to be more defensible than the other one.
The other way to interpret it, which the author seems to be explicitly pushing, is that programmers with a strong mathematical background will be better situated to proactively find fertile areas of the economy which can be improved through a combination of computing and advanced math. I don't believe this is realistic. None of the author's specific examples - control theory, optimization, linear programming, econometrics, or Black-Scholes - were pioneered by generalist engineers with a strong grounding in mathematics. They were just applied mathematicians (and in a few of those cases, repurposed pure mathematicians).
Likewise the bar is constantly rising. Knowing calculus, linear algebra and statistics won't empower you to make significant, groundbreaking improvements to any major field. That knowledge is necessary but insufficient. What's considered low hanging fruit these days is something that could be conceivably noticed and tackled by a postdoc. Mathematics itself is ossifying as a field of specialists, to the point where prominent researchers within subfields like algebraic geometry can be unfamiliar with each other's principal work.
This is really why find the appeal to economic advancement less than convincing - every advancement the author mentions has an implicit foundation in specialization. Historically, the most notable advancements in technology have come about through division of labor and cross-pollination. You would be better served by having two collaborating teams of mathematicians and engineers than by a team of engineers who know undergraduate math. It's already common for applied mathematicians to be able to program competently; they dominate the authorship of fast, low level math libraries. If you need them, hire them.
Conversely, I would argue we should actually reduce the education for more developers, not add even more material to it. Most developers already don't need to learn a significant amount of the material in a standard computer science degree. Piling on math courses isn't going to be a fundamental improvement for the vast majority of engineers working on real world software.
comment 7y ago · link · parent
If it helps at all, this is exactly what you'll see when you create a matrix in Julia:
julia> mat = [1 2; 3 4]
2×2 Array{Int64,2}:
1 2
3 4comment 7y ago · link · parent
If you only ever work in R then technically that'd be fine (though notationally awkward). But that's not a good habit to keep since it would introduce pretty insidious bugs if you ever take the adjoint of a complex matrix intending to take the transpose.
comment 7y ago · link · parent
I don’t really get it. I can perhaps understand that some candidates might have gotten good feedback from blatantly guessing in the past, but that’s why I now explicitly tell them to disclaim guesses. If anything it looks more impressive when you honestly don’t know something but intuit the substantially correct answer (as long as it’s something that could be realistically intuited).
Yet even with my disclaimer, I’ve still conducted phone screens and onsite interviews where the candidate eventually started bullshitting. It’s one thing to say you don’t know and give a wildly incorrect answer - at least then I can try and steer the interview towards another of the candidate’s strengths. It’s even okay to preface your wild guess with an, “I think...”. But the cavalier way in which people will just spout nonsense is disturbing. Even if you’ve been performing well up to the point, engaging in bullshit is nearly immediate grounds for me to discount you as a candidate.
comment 7y ago · link · parent
In any case I think it makes me an unenjoyable person to be around. I more or less don't engage in opinionated discussion with people unless I'm intimately familiar with the topic at hand. Then it's no longer discussing opinions but trading facts. When I do engage, it's usually to ask questions of the other person's opinion without really challenging them. While I might agree with their opinions, I'm reluctant to refute them unless I can systematically prove them wrong. That's usually not possible, because they often know more than I do about any given topic. When I am asked questions directly I hedge my answers extensively.
When I was younger I used to take pride in this, but now I find it isolating. It's difficult to relate to people like this.
comment 7y ago · link · parent
While reading through the article I found this interesting:
> In terms of insight, higher scorers in intellectual humility were less likely to claim knowledge they didn’t have (the researchers tested this by assessing participants’ willingness to claim familiarity with entirely fictitious facts that they couldn’t possibly know), and they also tended to underestimate their performance on a cognitive ability test.
I can appreciate the reasoning behind asking that question, but the fact that it's so useful for judging intellectual humility saddens me. Why would a person spontaneously respond, "Yes" when asked if they're familiar with a thing they know they aren't? What does that say about us as a species, that this behavior is so prevalent?
comment 7y ago · link · parent
This is incorrect. Are you familiar with the inverse-square law? In 3-dimensional Euclidean space, the rate at which any force decays over a distance is inversely proportional to the square of the distance. This generalizes to n dimensions; but instead of the drop off rate being inversely proportional to the square of the distance, it becomes inversely proportional to the n - 1th power of the distance.
Suppose our universe is a 3-dimensional embedding of a n-dimensional manifold. Every local force we could empirically test would adhere to the inverse-square law, i.e. have drop off over distance k of ~ 1/(k^2). But theoretically speaking we could empirically test the dimensions of the manifold we reside in by identifying which power of distance is proportional to the drop off rate of extremely small forces where the compactified dimension can be detected.
For practical purposes this would require us to increase the precision with which we can empirically test (and reason about) forces at the subatomic level.
comment 7y ago · link · parent
Given the context I'm guessing you asked this rhetorically, but if not: it is not true in general that a curved n-dimensional object must be embedded in a n + k-dimensional space. Curvature can be intrinsic.
comment 7y ago · link · parent
That's not to say it's not useful. It's better than email, leaves a neat record to come back to and supports asynchronous communication. There are advantages. But strictly speaking, no, you cannot capture everything good and useful about in-person conversation using text and video. I don't think it should be controversial that much of the richness of in-person conversation - tone, nuance, body language, facial expression, spontaneity, speed - can't be meaningfully replicated through remote mediums. You can't get all of these things from a message or video chat. You can get some of them well, and a few others decently, but it isn't the same.
I like remote work a lot and wish more companies would support it. That being said, in my experience when people give honest, cogent criticisms of remote work they mostly receive responses which don't speak to the spirit of their point. In this comment thread, for example, the person you responded to is talking about difficulties. You are responding as if the person was talking about impossibilities. It is (emphatically) not impossible to function as a remote team, and very few people will try to make that case. But in the world we live in and with the technology we currently have, there are things about in-person discussion you will not be able to capture on a remote team.
If nothing else people have different values. Some developers enjoy being highly social when they're working, others don't. Some don't mind interruptions, others do. Many people feel a sense of comfort and empowerment by using Slack or Zoom which makes it easier for them to have productive discussion, for a variety of reasons. Likewise many developers do not get any of the same enjoyment out of a Slack or Zoom conversation that they do from face to face communication.
comment 7y ago · link · parent
I can't immediately tell from the source NYT cites, but is that 20% of one person's vehicle emission, or 20% of the aggregate vehicle emission of all passengers?
If it's the former, that might not be a great way to frame the problem since cross-country flights typically have hundreds of passengers.
comment 7y ago · link · parent
In that sense there's a compelling argument that a revised set theory might be called for, in the sense that it could be a better fit for the way most mathematicians use set theory in practice. But since Leinster's set theory is axiomatically equivalent to ZFC without regularity, there's also a compelling argument that it's not worth it unless it's significantly more expedient or easy to learn.
comment 7y ago · link · parent
In 2004 Yahoo acquired several smaller companies which were working on algorithmic search and page linking around the same time that Google was. They released their own ranking algorithm called WebRank which was substantially based on the methods of PageRank.
comment 7y ago · link · parent
Evan Chen, a math student at MIT, wrote up what would be considered field notes for higher mathematics. The full PDF is here[1], complete with a dependency graph showing what you need to know before reading any particular section.
____________
1. https://usamo.files.wordpress.com/2019/02/napkin-v15-2019022...
205.
An Infinitely Large Napkin(web.evanchen.cc ↗)
1 points · by throwawaymath · 7y ago · 1 comment
comment 7y ago · link · parent
There's a neat video explaining it here: https://www.youtube.com/watch?v=d0vY0CKYhPY
comment 7y ago · link · parent
The basic prerogative of a sophisticated bot is to ensure you believe that.
Having written a variety of sophisticated bots - some from pre-existing libraries, others from scratch; for specific websites and for general purpose - I'm reasonably confident most people who think they've never seen a sophisticated bot are mistaken.
I agree with you that anything more sophisticated or bespoke than a mass-spam bot is rare. But rare things happen often to most websites with nontrivial traffic. The types of bots with the most funding and skill behind them are the ones which don't try to spam anything on a website at all.
comment 7y ago · link · parent
I wasn't sure if the author was making an intentional callout to Fermat's lost marvelous proof he couldn't fit in the margin. But indeed, looks like he was, since he doesn't seem to have really mentioned the length of any other proofs.
comment 7y ago · link · parent
If you literally wrote down sequences of definition, theorem, proof, definition, theorem, proof, ... with no exposition or exercises whatsoever, I think you might be able to include most undergraduate math in about 1000 pages. That would include calculus, real analysis, complex analysis, linear algebra, abstract algebra, discrete math. Maybe elementary number theory, topology and probability theory as well. That would be...horrible to learn from, frankly. Imagine a ten volume set of Baby Rudins, with no exercises.
If you really doubled down on the cheat sheet angle and didn't include any proofs - just the theorems, identities and inequalities - I think you could get through all undergrad math in a few hundred pages. But you wouldn't have any of the peripheral content the author included, like physics/economics.