Better HN
topnewbestaskshowjobs
Log inSign up

wfunction

3,901 karma · joined Oct 15, 2012 (14y ago) · 1,547 submissions

Submissions

comment 9y ago · link · parent

> Since the notion of curved path (maybe aside from circular arcs) is not discussed in basic geometry, the problem would be impossible to state.

>> It's still not a basic geometry problem

seems we're in agreement?

comment 9y ago · link · parent

> This is a pictorial description of the proof in the sibling comment.

Well, for starters, it was also posted an hour before that one...

But it's not the same. The sibling comment performs a change of basis. I don't.

comment 9y ago · link · parent

How much do parts cost though? Are they reasonably priced?

comment 9y ago · link · parent

Doesn't echo print all the arguments?

comment 9y ago · link · parent

I'm trying not to be a smart aleck and instead I'm putting the question into terms anyone who's finished high school would understand. We're not talking general relativity here, we're just talking about plain Euclidean geometry. The kind you (or maybe everyone except you) automatically thinks of... the kind you learn in middle/high school.

comment 9y ago · link · parent

2. Arc length is defined as the limit of the length of a polygonal approximations to a curve. From (B), we know our approximations would approach the arc length from below.

You call this "geometry"? Since when does geometry involve a function limiting and bounding process? We didn't even know what a limit was until calculus...

comment 9y ago · link · parent

I'm not totally sure; I think it depends on what exactly you classify as calculus of variations, and what assumptions you're willing to make along the way. For what it's worth, I don't think I know how to prove the most general case possible. But given that I encountered this in physics rather than in math, I was satisfied with proving the physical analog, which would be the claim that the path of light in Euclidean space is always linear. Assuming we're talking about light allowed me to make 3 useful assumptions: (1) that the speed of the particle doing the traveling is constant, which comes in quite handy in the proof [1], (2) that there is only 1 independent variable (i.e., time) rather than 3 space coordinates, and (3) that our functions are all sufficiently smooth and such. The nice thing about this proof is it doesn't need the Euler-Lagrange equation that everybody uses... it doesn't need calculus of variations at all. Every step is an elementary calculus step. But the downside is the thought process that actually leads to the derivation is the one you'd only really get after studying a bit of calculus of variations, so you wouldn't come up with it without having that foundation (even though it's not required). (Yes, you can try to remove time from this proof and still keep it rigorous, but then it'd require a stronger background than just freshman calculus in order to be understood.)

[1] The reason I was satisfied with this is that it's obvious that the speed of the particle is irrelevant to the length of the path so long as the medium is uniform, so once I proved it for light of constant speed, I was done. It's not necessarily satisfying for a mathematician though.

comment 9y ago · link · parent

We're just talking plain Euclidean space here. It's still not a basic geometry problem as the parent was suggesting.

comment 9y ago · link · parent

"Learns enough to do this"... in what sense? If you compare this to a puzzle, are you claiming they have all the pieces, or are you claiming they actually would be able to put the pieces together if you asked them to? The proof steps are tricky, it's not just a straightforward evaluation of some expression.

Also -- are you really claiming every STEM student at your university learns calculus of variations as a freshman? Because that's the only way I've actually seen others prove this. While doing it with plain calculus isn't impossible, it requires a similar kind of thought process that you get after learning calculus of variations, so I'm really skeptical what you're saying is the case, unless you're thinking of a different proof or something.

comment 9y ago · link · parent

> 2. Nuke off the coast of a major city so everyone can see what's going on

Uhm, that would still expose so many people to radiation. I'm not sure if there's any way it could've been done sanely.

comment 9y ago · link · parent

> Well it's been 35 years ... as I recall it's an indirect proof, it starts with assuming there is some other shorter path, and then showing that to be impossible by creating a contradiction of other proven theorems and postulates.

Then I'm gonna call B.S. on this until you can show me the proof somewhere. Every single time I've searched this the only rigorous proof I've found has been using calculus (often calculus of variations).

comment 9y ago · link · parent

> QM always obeys SR/GR in terms of how spacetime behaves, and how mass affects things, etc.

We still haven't experimentally verified how gravity works on atomic scales, though, have we? I consider it completely plausible that it works differently than GR postulates, because to me (non-physicist here) GR seems to be a "large numbers" phenomenon and assumes space possesses certain properties that it may very well not possess on small scales (e.g. any kind of smoothness or even continuity).

comment 9y ago · link · parent

Share your "proof"?

comment 9y ago · link · parent

You've still provided zero evidence that they would have had interest in nuking anyone.

comment 9y ago · link · parent

> The only thing (or things) in science that are not emergent are the laws of Quantum Mechanics and Relativity (as a simplification)

By "relativity" I'm assuming you're referring to SR or GR here. I always thought of relativity as an emergent phenomenon due to the large scales we are working with. What makes you say it is not?

comment 9y ago · link · parent

> That's a high school freshman geometry problem.

Looks like we found another person who doesn't know how to do it :) look it up! In pre-college geometry this isn't something you prove, it's something you postulate and take for granted.

comment 9y ago · link · parent

Along those lines (no pun intended), I think every STEM college graduate ought to be able to prove that the shortest path between 2 points is a line segment instead of taking it for granted.

comment 9y ago · link · parent

Thanks, I'll take a look. From your description and my previous thoughts about the problem, the problem I see is that is "whether data should be reliable" and "how many transmissions" are not the sorts of parameters you want. Nobody cares about the number of retransmissions; people care about how much time is spent transmitting. And no connection is ever 100% reliable, so you want more than a Boolean.

comment 9y ago · link · parent

> If you allow tcp to drop/re-order packets, the entire abstraction of a stream protocol is gone. The application now has to understand packet boundaries, which packets are missing, etc.

I don't think so. On the receiver's side, the application doesn't need to know packets at all -- it just deals with a stream of bytes where some portions may be dropped or come out of order. The packet nature would be abstracted away. On the sender's side, packets only become relevant if the application wants to get optimal behavior with respect to the packet size (in which case it would be already doing its own manual UDP). If it just wants "good enough" generic behavior (which is what TCP has always been providing for everyone) then it can again ignore the packet nature and just treat the connection as a stream where some portions may be dropped and/or reordered.

Think about how useful this could be in so many common situations: when you're trying to download some file, for example, you don't need TCP -- because it doesn't matter if the data comes out of order. You just need to make sure you get everything eventually and that the data isn't corrupted. You don't want UDP either, which would require you to implement your own feedback/congestion control/etc. mechanisms from scratch. There's a nice sweet spot in the middle waiting to be hit. And it baffles me that it still doesn't seem to have been done.

comment 9y ago · link · parent

> When you choose TCP or UDP, you are making some guarantees about how the connection is going to behave.

Huh? With UDP, the thing missing is a guarantee about how the connection is going to behave (assuming you call it a "connection" in the first place). I'm just talking about interpolating between guarantees and no guarantees.

comment 9y ago · link · parent

> You can configure retries in TCP. There's a ton of differences in how they're implemented underneath, merging them might be possible but you would probably end up with something that was worse for streams than TCP and worse for datagrams than UDP even if it could do both.

I don't think that's the same kind of retry as the one I'm talking about. In TCP, no matter what the retry algorithm is, TCP has to deliver data in order. Whereas I'm talking about being able to tune how much you're willing to retry receiving the data until you give up and return it to the caller out of order. It's not about the algorithm so much as the resulting semantics.

comment 9y ago · link · parent

> A better solution is to piggyback on UDP support and add your own protocol in user space.

I haven't looked at the code, but I imagine this would be relatively trivial to change if it is written at all sanely, right? Hardly sounds like a big thing to focus on.

comment 9y ago · link · parent

I see why it appears that way, but I wasn't trying to suggest that reliability was the only distinction. However, I'm not sure I see such a fundamental distinction between the two that requires these to be two separate protocols. I can imagine parameters like "max wait time allowed before packet is skipped", "max contiguous packets allowed to be skipped", "whether to deliver packets that arrive out of order", stuff like that. Because ultimately TCP is at the extreme of retrying forever until every byte is received in order (or, well, until a timeout happens and we give up), and UDP is at the extreme of not retrying at all. It shouldn't be that bad to interpolate between the two I think?

comment 9y ago · link · parent

> it's like a stopped clock telling the right time rather than a deep insight

That's a really good analogy (I mean in general, not specifically referring to this situation)! I'm going to start using it.

comment 9y ago · link · parent

I've been dying to write a protocol to replace both TCP and UDP (me being naive, I think I could write a decent one). I feel like there's fundamentally really no good reason to have multiple protocols, because fundamentally, neither is UDP 100% unreliable, nor is TCP 100% reliable. I think what we should really have is just one protocol with adjustable tolerance parameters. But I haven't had the time to put much thought into stuff like congestion control, so I don't know what it involves yet. I'm glad someone is doing something similar though.

comment 9y ago · link · parent

+1 I freaked out when I saw it. Blacklists are just asking to get hacked.
1
181920
52