Better HN
topnewbestaskshowjobs
Log inSign up

daveFNbuck

3,803 karma · joined Mar 21, 2015 (11y ago) · 1,705 submissions

Submissions

comment 10mo ago · link · parent

The complaint here is about this being an insufficient amount of effort because the bibtex entry from Google Scholar is wrong sometimes.

comment 10mo ago · link · parent

You want the content of the paper to be carefully crafted. Bibtex entries are the sort of thing you want people to copy and paste from a trusted source, as they can be difficult to do consistently correctly.

comment 10mo ago · link · parent

steel-man means trying to interpret someone's argument in the most favorable light rather than arguing against a weaker interpretation. It does not mean making up a different argument for them that you like better.

comment 1y ago · link · parent

Spending money to ensure something is released online for free is not the opposite of thinking it should be released online for free though.

If think the owner should give up its monetary value to satisfy your beliefs, you should be willing to do the same.

comment 1y ago · link · parent

If you think this is more important than the money it can be sold for, you should be the one to buy it.

comment 1y ago · link · parent

That's not p hacking. That's just the nature of p values. P hacking is when you do things to make a particular experiment more likely to show as a success.

comment 1y ago · link · parent

Why do you think senior managers would replace themselves if they could? Given the choice between saving a company and giving a senior manager slightly more money or power, the senior manager will always win.

comment 2y ago · link · parent

Can you explain the difference?

comment 2y ago · link · parent

If you do that, people outside the package can also do Username(x) conversions instead of calling NewUsername. Making value package private means that you can only set it from outside the package using provided functionality.

comment 2y ago · link · parent

We're at single digit gigahertz for an entire chip, not a single transistor.

comment 3y ago · link · parent

I don't think most people make a special trip just to get gas. It's usually a quick added stop along the way of another trip, which is less of a nuisance than having to make two small walks to move and plug/unplug your car.

comment 3y ago · link · parent

They happen more than once. You'd change your bid for the aggregate effect of paying for many wins, not for an individual auction.

comment 3y ago · link · parent

They show the DFA for it on the site, it's 3 states. There's a starting state for the first . and then two states that transition back and forth between whether z was the last character or not.

I think what's actually happening here is that they're doing the intersection on the DFAs and then producing a regex from the resulting DFA. The construction of a regex from a DFA is where things get ugly and weird.

comment 3y ago · link · parent

Having a constant runtime means there's a constant bound on the runtime, not that the runtime is an exact constant value. 100 + 1/n would still be constant, as it's bounded above and below by constants.

To have sub-constant time it would have to go to 0 as n increases, as otherwise we could bound the time below by a constant. This isn't possible, as a computer will take at least 1 time unit on every input. So the expected time will always be at least 1.

comment 3y ago · link · parent

An algorithm can't have that property for its expected runtime, as it can only look at a sub-constant amount of the input of it runs in sub-constant time.

it's not possible for it to behave differently as n increases because it doesn't have enough time to distinguish between different values of n once it's large enough.

comment 3y ago · link · parent

That's what I'm saying. The runtime will go down to a constant. It can't keep decreasing forever.

comment 3y ago · link · parent

I'm not sure what your big-O expression is supposed to mean, but if a sequence is decreasing and bounded below (which runtime is) then it has a limit. Since the sequence is discrete, it can't get arbitrarily close to the limit without reaching it. So at some point the runtime will stop decreasing.

You can approximate the runtime with a function that decreases forever, but the actual runtime will be constant for large enough n.

comment 3y ago · link · parent

> Running any (halting) algorithm on a human computer is constant time, because you're bound by the number of states you can fit into some terabytes, but nobody should actually try to use that as a final analysis.

That's the sort of thing I would usually say to explain why we do things like use asymptomatic analysis and ignore polynomial factors. If you have a different solution, that's great, but you're no longer taking about the kind of runtime the article is about.

comment 3y ago · link · parent

"constant time" in complexity theory just means there's a constant bound on runtime. It doesn't have to actually have the exact same runtime down to the instruction for every input. Here, the bound would be a quadrillion.

Of course, showing a constant upper-bound doesn't tell us that it isn't even faster than constant as in the proposition I was responding to. That's why I focused on the constant lower-bound.

comment 3y ago · link · parent

You can't have that because when N=K that's not a valid expression and when N>K you're putting a negative number in the big-O notation. You can't have negative runtime.

All algorithms have a lower-bound on runtime of 1. If a sequence is decreasing and bounded below, it converges to a value [1]. If the sequence is discrete, that means it reaches exactly that limit and never deviates from it.

[1] https://en.wikipedia.org/wiki/Monotone_convergence_theorem

comment 3y ago · link · parent

With probabilistic algorithms, you still have the fundamental limitation that there's a lower-bound to how fast an algorithm can run. You can't keep getting faster indefinitely.

comment 3y ago · link · parent

> Edit: it is trivial to construct an algorithm with this property.

It's actually impossible to construct an algorithm that has its runtime decrease as the input size grows. You can do this for finitely many examples, but we're talking about asymptotics here. With discrete run-times and a lower-bound of 1 operation, the run-time will have to stop decreasing at some point and just stay at the same constant value for all but finitely-many exceptions. This makes it a constant-time algorithm.

A constant run-time is a counter-example to that caption though, as the problem doesn't take longer as the input grows. An example would be checking if a number is divisible by 2. You only need to check 1 bit, so it doesn't take any longer as you add more bits that the algorithm doesn't touch.

comment 3y ago · link · parent

With probability 1 as time goes to infinity.

comment 3y ago · link · parent

I think the key thing you're missing here is that they were talking about behavior as the number of flips goes to infinity. That long improbable upper end becomes more and more improbable over time. As time goes to infinity, the probability of being in it goes to 0. With a finite population, everyone is ruined.

I ran the same simulation as you. After 100 iterations, the richest one had $71. After another 1,000 iterations, the richest one had $78 (of a total $133). After another 10,000 iterations, the richest one had 10^-165 dollars. They were still an extreme outlier with 95% of the total wealth, but he had almost nothing.

comment 3y ago · link · parent

39 here too, and not turning my neck all the time to look at multiple monitors anymore has helped save me a lot of pain.

comment 3y ago · link · parent

The first half is wrong too. GPS has nothing to do with satellites being able to see lots of things from high up. The whole thing is just nonsense that looks plausibly like an explanation until you try to decipher it.

comment 4y ago · link · parent

> Likewise if the free market is used as a way to reduce the availability of content, I can be against that while still supporting it as a guiding concept.

Joe Rogan being on Spotify is entirely about limiting the availability of his podcast. They're paying him to not make his episodes available outside of Spotify.

comment 4y ago · link · parent

You're misunderstanding the objection. They're saying that if you move 1L of wine to the water side, the side you poured into will have fewer than 11L and when you pour 1L back the two sides won't have equal volume.
12345
57