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

With regard to your last paragraph: that would probably be an excellent application of Ben Thompson's aggregation theory. It would increase Apple and Google's moat by making them the hardware gatekeeper for all mobile app analytics. And battery life is also a strong cover for the business reasons for doing it.

But the public claim, "it saves battery life!" would not make it defensible for most analytics companies, in my opinion. That would mean Google and Apple get duplicated access to just about all mobile analytics data in the world overnight. They already get vast data from the mobile phones through telemetry and their own apps; I think the largest third party analytics providers would revolt. They would all be at the mercy of Apple and Google's benevolence, which is basically backing their business into a corner. You don't want to be reliant on the whims of a giant tech company.

There are probably also some (maybe weak) anti-trust arguments against it, because all analytics other than e.g. Google Analytics become literal second class citizens on the phone. That would basically be telling app developers they're not allowed to send requests to specific hosts within their apps, only Apple and Google can do that (on their respective phones).

So I don't know if this is a missed opportunity, so much as Apple and Google realizing it would burn their walled gardens to the ground.

comment 7y ago · link · parent

Totally agreed, I'm a fan of Julia. I just wanted to comment with the delta between startup time and actual execution for passerby.

comment 7y ago · link · parent

To demonstrate how slow the startup time is, here’s the respective times for executing ‘print(1)’ from Bash and from REPL on my machine:

REPL:

    julia> @time print(1)
    1  0.000031 seconds (7 allocations: 272 bytes)
Bash:

    $ time ./julia -e 'print(1)'
    1
    real    0m0.184s
    user    0m0.156s
    sys     0m0.168s
So yes, that’s a slow launch time. If you use Julia in a shell script and it’s starting up Julia on each calculation it will be brutally slow. Five orders of magnitude slower, in this case.

comment 7y ago · link · parent

> an argument always has to be from aesthetics, which can include simplicity and "uglyness", but these aren't totally individual (you can get 99/100 people to agree on which of two schemes is "simpler").

Putting aside the implicit claim that something as subjective as aesthetics will be agreeable by 99% of the population...is 0-based indexing simpler? Why?

Your next example is...a little all over the place mathematically, if I’m being honest. I’m having trouble following it. But let me try...

So you’re saying I have a 1-dimensional, ordered set S, whose elements are real numbers. It can’t be an interval, because S needs to be discrete for this to be possible computationally or even theoretically (S is uncountable if its continuous, and thus cannot be indexed). It needs to have an order to have a sense of position in the first place, so map S to the natural numbers in whatever way you choose.

Now choose an element s in S. You want me to pick the first n elements from s that are “next”, for whatever your order relation is. We’ll call that relation <. In that case I would respond by saying, “Let s be an element of S, and choose an n-tuple N of elements

    (x_1, x_2, x_3, x_4, x_5, x_6) in *S*
such that s < x_1 < x_2 < x_3 < x_4 < x_5 < x_6, and there exists no element k of S such that k in S, s < k < x_6, k not in N.

Haven’t I accomplished your exercise just fine without using 0 indexing? If I were programming this, I could index the n-tuple starting with x_0 or x_1. I don’t understand the issue - what are you trying to convey here? Personally, I’d program this by defining S to be my vector or list or whatever, k to be the index of s in S, then defining my n-tuple with:

    N = []
    for (i = 1, i <= n, i++):
        N.append(S[k + i])
    
I feel as though you only believe your example is compelling because you’re overlapping the origin with the initial index. But when you abstract your problem to the general case (as I did), then it doesn’t really seem to matter much. Your example is actually kind of a narrow edge case.

comment 7y ago · link · parent

You’re repeating yourself without defending your point. Beating us over the head with how obvious something is to you doesn’t make your argument any more compelling.

> it is pervasive and fairly important

Why?

> it's kind of a deep indication that something is amiss.

Why?

> it's an argument that was had and decided 20 years ago.

Evidently not, if we’re having this debate.

> If this is wrong then you can probably assume that lots of other things which are important...are wrong

Why?

> google why 0-based makes sense by Djikstra

Is Djiktra’s opinion so infallible it supercedes the design choices of several successful languages?

comment 7y ago · link · parent

> If the paper comes with code you can simply run to reproduce the results, that's a stronger signal for correctness that whether it went through peer review or not.

1. Most peer reviewed papers do not come with code.

2. Many that do come with code don't work out of the box.

comment 7y ago · link · parent

It's not that cut and dry. Only a small subset of arXiv preprints ever make it into a journal or conference proceedings.

On balance it's good that more researchers these days will publish preprints before submitting for peer review. But there are still two specific dangers with relying on preprints:

1. Most people reading papers don't try to implement or test them. Unless there is a glaring error, it's hard to tell if a paper is critically incorrect without a lot of effort.

2. Even if most people did try to implement papers, that would still make for a poor heuristic on the paper's merit. In an ideal world every valid paper could be implemented. But even in conference proceedings, it's extremely common for papers to be missing details critical to their implementation. In many cases you can't do the implementation because it requires a vast amount of computation or proprietary data available only to the company whose researchers wrote the paper.

comment 7y ago · link · parent

I really don't mean to be a dick here, but aren't these two statements in conflict?

1. If you've met one person on the spectrum, you've met one person on the spectrum. The range of non-neurotypicality is extremely broad and highly individualized.

2. Most spectrum people have input filters instead, developed to keep them from being hurt by the world.

This isn't a leading question, as I don't really know enough about the subject to have an opinion. But I'm generally skeptical of all message board commentary about autism. So I'm not saying you're wrong, I would just need more convincing before I'm persuaded that most autistic people have "input filters" to prevent them from "being hurt by the world."

More generally I can see why grouping people into "output-filter" types and "input-filter" types might be a good faith exercise in empathy...but is it actually true? Going back to your first statement, you're talking about autism as something highly individualized. How is this compatible with an idea that seems to suck all nuance out of it, like a binary grouping?

I also have a problem with Gadson's claim:

“People with my type of disorder, it’s not that we don’t have emotion,” Gadson said. “It’s that we have too much emotion. We can’t push that stuff back.”

On one hand I can see why this is an attractive idea, for the same reason we'd want to empathize with "input-filter" people. On the other hand I see two problems. First, is Gadson's claim a useful one? When people perpetuate the stereotype that autism causes emotionlessness, do they actually care about the interiority of the person or are they talking about behavior? If what they're trying to communicate is in regards to behavior, I don't think Gadson responds to the heart of their meaning; which is probably something more like, "I'm uncomfortable around autistic people because they're robotic and unsympathetic" (NB I'm not expressing a personal belief here). In a very real sense they're still right despite Gadson's reply, because they're talking about behavior and Gadson is talking about a rich interiority.

The second problem I see with Gadson's comment is that it seems like he's generalizing autism again. Do all or most people with autism want to be described by the comment, "I actually have too much emotion"? Would they consider that mostly correct, a gross oversimplification, a useful or useless oversimplification, or wrong outright? It seems like no matter what we do, we can't get away from the problem of a few people speaking for everyone when it comes to autism.

comment 7y ago · link · parent

I'm going to have to vehemently push back on this. I don't think you can declare what does and does not constitute "implicit approval" for other people. You can't just impose a crusade on other people.

Am I approving of Wolfram'a narcissism if I read an article of his but don't make a comment discussing his narcissism? What if I upvote an article but don't comment about it? What if I comment, but not about his narcissism? Where's the line?

Where does my obligation begin and end? If I choose to abstain from commenting on someone's narcissism, does that mean I have to boycott their work? Do I have to boycott talking about their work with other people?

If you don't respond to this comment of mine, am I to read your silence as implicit agreement? If not, why is that idea any less flippant than yours?

I'm not going to conspicuously trot out a meme about Wolfram's narcissism every time he comes up. It doesn't add any new information to the discussion, whereas he frequently writes interesting things. It also won't make Wolfram any less narcissistic, it will just be obsessive and futile. He's not harming anyone.

To give an example, what you're suggesting is the reason why (for the most part) the only people who find Stallman bearable are people who share his ideology. If you have a pet crusade you launch whenever a topic comes up, you'll quickly find your comments marginalized by everyone who frankly doesn't care about it as much as you. It's just not a productive use of time and doesn't effect the change you think it will. It's a poor hill to die on.

comment 7y ago · link · parent

You're rehashing a very old, very tired argument.

I could respond by explaining that HFT facilitates liquidity and price discovery, making trading cheaper overall. I could also counter that adtech isn't any better than fintech, or that it's a fallacy to suppose every intelligent person needs to maximize their ethical production in a capitalist society.

But I'm not going to engage in any of those rebuttals. Instead, why don't you take a look at the massive charitable work bankrolled and empowered by James Simons and David Shaw? Take a moment to read through the organizational mandates and scope of research for the Simons Foundation and DE Shaw Research (DESRES). These two men have poured billions of dollars from their personal wealth into making the world a better place in a variety of ways. Both of them explicitly cite cancer research as a core focus - what do you consider more ethical than that?

While we're at it, let's circle back to your specific example. You're talking about sending rockets into space - that's great! I bet you're a fan of Elon Musk and SpaceX then? Are you aware that Elon Musk made his first fortune through PayPal? Do you consider payment processing to be a virtuous industry? Was Musk maximizing his ethical potential by working on PayPal?

comment 7y ago · link · parent

Is there any reason not to do CGP preemptively?

comment 7y ago · link · parent

What does any of that have to do with the simple fact that billionaires don't make their fortunes through index funds? This isn't a discussion about active versus passive investing. It's a discussion about whether to attribute wealth to entrepreneurial acumen or to an index fund.

comment 7y ago · link · parent

That's good for wealth preservation and nominal maintenance. But it's almost certainly not going to generate wealth. Buffett is one of the richest people in the world because he manages money for other people (and does it well), not because he bought and held index funds.

Obtaining vast wealth requires doing things which have a multiplier effect well beyond the scale of your labor. That usually requires doing something related to the aggregation or generation of capital. It can't be done solely with your own capital unless you're already wealthy.

comment 7y ago · link · parent

Are the people using LastPass commenting on how nice the interface is, or are they just not saying anything at all?

I have to use both LastPass (enterprise) and 1Password 7 (personal). The experience is pretty incomparable: the LastPass user interface and browser extension are abysmal, whereas 1Password is very enjoyable. On the most recent version of Chrome, the LastPass extension is slower, less intuitive and less organized than the 1Password extension. 1Password also has more features and a fast desktop application for macOS.

Note that I'm not saying LastPass doesn't work. It works...but it's an incredible pain for me to use every day at work after using 1Password at home. I think the design sucks, to put it bluntly.

comment 7y ago · link · parent

That's a pretty extraordinary claim, considering that securing native code is highly nontrivial and increases the attack surface of an application significantly.

comment 7y ago · link · parent

If you've defined the natural number 2 to be an arbitrary set with cardinality 2, you're including sets which contain the number 2. That's the basic form of Russell's paradox.

If you define the natural number 2 to be the category of pairs, your objects are the sets with cardinality 2, and your relations between objects are equivalence relations. As a consequence your category 2 will contain sets which contain itself.

comment 7y ago · link · parent

In that case I'd agree with you. I'm not particularly keen on rehashing foundations of mathematics either.

comment 7y ago · link · parent

What you're saying isn't demonstrating any inconsistency. A thing is only true in mathematics if it follows from the definitions. If you change your definitions, you should expect that theorems built upon those definitions will no longer hold.

Stated another way, consistency is only a coherent mathematical concept from the perspective of a specific set of definitions. There's no problem here.

comment 7y ago · link · parent

There are legitimate criticisms you can levy against set theory, but I'm starting to lose you here. I'm not really following your point anymore - this seems like arguing about whether or not mathematics is invented or discovered.

Are you trying to argue coming up with new definitions isn't worthwhile if the axioms don't have a foundation in reality? If so, why? If not, what are you saying?

comment 7y ago · link · parent

I see what you're getting at. My (similarly hand wavey) perspective is that constructions using category theory end up defining natural numbers as categories of sets with cardinality n. What I was really getting at is, how do you define your relation for the category in such a way that isn't pathological ("n is the category of sets with cardinality n except all such sets containing n")?

Alternatively, what are you selecting as the objects for your category if not sets of a given cardinality?

To be clear, I consider a lot of discussion about the foundations of set theory (and paradoxes thereof) to be pretty navel-gazey.

comment 7y ago · link · parent

Fair enough, though there weren't really any "aspersions" cast. I'm aware you can unravel set theory if you care enough about that particular exercise. But, in context, you could also interpret that comment as being written by someone who isn't aware that the empty set is defined as {}.

Responding to someone's definition that natural 0 = {} that mathematics is a "castle built on sand" isn't exactly a cogent criticism of set theory.

comment 7y ago · link · parent

> The thing that I don't like about this sort of construction is that it also implies all sorts of nonsense. For example, I can ask the question "Is 2 a member of 4", which is clearly nonsensical, but will get the answer "yes" from this model.

Why? Any set of 4 things also contains 2 things. Where's the nonsense? Within this definition, that's consistent.

> Type theory and category theory give us a much better way of constructing these sorts of objects without having to resort to creating constructions with all sorts of side effects.

Out of curiosity, what is the category theoretic construction that avoids Russell's paradox? I don't know that there isn't one, but I can't think of it off the top of my head. I know there are category theoretic constructions in general (I responded to one someone else posted in this thread).

comment 7y ago · link · parent

If you define the natural numbers this way you'll run into Russell's paradox. For practical purposes that's fine and this is an elegant, modern restatement of Frege.

But if you need to avoid Russell's paradox the sets defining each natural n can't contain n as an element. The easiest such construction was outlined elsewhere in this thread by xamael. Under your category theoretic construction, every natural number n is defined as the category of sets having cardinality n. But then every nth category will necessarily contain infinitely many sets with cardinality n that also contain n. That causes the paradox.

Unfortunately I don't think you can construct the naturals in a category theoretic way while avoiding Russell's paradox since any category by cardinality will fall into that trap. But if you don't need to mind that problem, this is neat.

Responding to your edit: I didn't downvote you; in fact I upvoted this comment because it's correct and it was gray at the time of my writing. My comment is just a point of clarification.

comment 7y ago · link · parent

I'm getting flashbacks of Baby Rudin's first chapter from this comment :)

For anyone who wants to learn more about this: what the parent comment is describing is the construction of natural numbers as cardinalities of sets. This is the (modified) Frege definition which avoids Russell's paradox - you can use that as a jumping off point for further dives into set theory and number systems.

To define Peano arithmetic you start with a successor function, then an addition function, then multiplication, etc.

comment 7y ago · link · parent

{} is the empty set, which as mentioned is natural 0.

comment 7y ago · link · parent

To be fair, while that's true I think what's meant here is that Python is the language of choice for using Tensorflow and PyTorch. Probably no other language is used to interface with deep learning libraries and primitives as much as Python.

comment 7y ago · link · parent

Thanks for that - the contrarian skeptic in me has been vindicated.

The wonders of the internet are allowing us to break down Gell-Mann Amnesia. Now when we see whimsical headlines like this one, we can just @ relevant academic authorities uninvolved in the story and bait them to debunk it.

comment 7y ago · link · parent

> When you say Bitcoin "hurts the environment", what, concretely do you mean?

We mean that mining Bitcoin is extremely energy-intensive by design. This is to say that the energy consumed by Bitcoin's economic activity is deliberately and gratuitously significant, not incidentally so. Moreover, the energy consumed by Bitcoin mining scales commensurate with how many Bitcoins have been mined thus far.

So yes, that makes it categorically different from other energy-expensive activities like farming or hospital maintenance. We are actually economically incentivized to consume less energy over time in most energy-expensive activities. With most cryptocurrencies, energy consumption is a design imperative.

1
192021
54