1,146 karma · joined Mar 27, 2014 (12y ago) · 3,158 submissions
https://news.ycombinator.com/item?id=12059810
comment 11y ago · link · parent
Because they had a more direct experience of it than we can ever have.
I think the (even if implicit) claim that it is better to physically harm, rape, and kill slaves than to be nice to them is highly questionable.
Yes, both are bad situations, but adding additional physical violence doesn't make things better, only worse.
Edit: I guess I should also add that we can never truly know what someone else's experience was. It is especially difficult to know if all you have left after hundreds of years is some text.
comment 11y ago · link · parent
The word "theoretical" was only used to distinguish between problems and instances.
The question is, "Solving which instances, in which order, would lead to the most positive outcomes?", where "positive outcomes" is intentionally ill-defined so that the answerer can inject their own perspective as well.
Imagine you can solve any NP-complete instance of a given size (even with a P-time/space algorithm there would still be limits on the size of problem that could be solved in a given time with a given machine). Sure, maybe you could break most crypto-systems and seize control of very electronic bit of currency (why wait for someone to decide to give it to you?). It's not clear to me that would necessarily be a productive use of the algorithm.
Instead, I'm looking for instances where a solution would directly lead to less suffering. For example, with a given sub-optimal route, drivers must spend X amount of time. With the optimal route, drivers only spend X - Y time.
>Is that what you're asking?
Not exactly. While it would be nice to have a scheme for validating algorithms and I would have some use for it, I'm actually more interested in the instances that need solving.
I think the question is interesting in that it could provide a base of problems for researchers to play/test with. These problems have been developed in the literature, but as far as I know, there is no easy to access repository of them.
I think the question is also interesting because people often talk about how great the world would be if P=NP and we could easily solve NP problems. However, this talk is typically only "theoretical" (about problems and not instances). If someone can claim the world would be better off with faster solutions, they should be able to provide an instance whose solution would lead to a better world.
comment 11y ago · link · parent
>and there is no way I can give you that data.
Can't give because it's physically and/or logically impossible? Or, because you or your superior authority prefer not to?
>Largely it's the same thing.
Largely, but not precisely. A proof would need to be formulated in terms of bits.
>If marketed properly, people will throw money at you to solve their instances.
Sure. I think part of my question implies, "How do you market such an algorithm? At the end of the day, you need instances to feed the solver. How you get those instances into the solver?"
Assume you have everyone throwing money at you. Which instances do you solve given the resources you have? Picking the largest bundle of cash headed your way doesn't seem like it would necessarily give you the 'best results' (in terms of benefit, as described previously).
comment 11y ago · link · parent
>People have instances of it every day. Most instances are easily solved by existing algorithms, but some instances are not.
Ok, if you show me an instance an actual person has, I would consider it a 'practical problem', now, 'practical instance'.
Given an instance, you could compute "benefit" as such: (resources_used_by_using_solution_provided_by_"existing_algorithms") - (resources_used_by_using_solution_provided_by_sub_NP_space_time_solver|presumably_optimal)
Note, I'm not (directly) talking about the resources used for the computation, but rather the resources used in the real-world by taking advice from an algorithm. For instance, in the UPS example, fuel and labor costs depend on the exact route decided by UPS's logistics algorithm. Most likely that route is not 'optimal', but may be pretty close (not many resources would be saved by using the optimal route over whatever other route UPS ends up driving).
>What would you do with it?
I would certainly look at it and at least make a cursory attempt at solving it. However, the reason I originally asked the question was so that I could have a legitimate problem (with instances) to give to someone who claims a P=NP proof in addition to an algorithm.
He can solve most random subset sum problems, of the kind I gave you, with decently sized sets (thousands of elements) and randomly selected targets very quickly. However, I think that random subset sum problems might be pretty easy. Further, I'm not sure of the precise way to measure the complexity of the algorithm when just given a list of integers in ASCII. I assume you really need to analyze things at the bit level, instead of just the number of ASCII characters.
But, assuming P=NP and we have a runnable algorithm (which I don't necessary believe, but do allow for), I am interested in finding and solving the problems that would have the largest benefit (as previously defined).
Assume you can only solve a single instance at a time, what order do you solve them in?
Edit about terminology:
Like I said, if you have a standard glossary I could probably wield it effectively in our conversation.
However, I typically find that there are few globally standard terms. Instead, each sub-culture seems to define their own very technical definitions of words. Sometimes these are similar to other culture's definitions, sometimes not.
Selecting which sub-cultures to borrow from is tricky and there is certainly no right answer, but I also see that there is tremendous value in having similar definitions.
If you do have a good reference, I'd appreciate it.
comment 11y ago · link · parent
If you have a standard glossary of terms I could probably reformulate the statements in those terms.
>I still don't understand what you mean by the word "theoretical". These are practical problems, instances of which turn up all over the world every day. Given that we want to solve these instances of these problems, in what sense are the problems "theoretical"?
I probably shouldn't have used the word. It's not very good. To answer your question, though, they are theoretical in the sense that "better packing" is not an actual driven route that used less resources than the route chosen by another algorithm would have; rather, it is just a description, or template, of the result you (or someone) desire.
>What do you mean by "solving", "problem", and "benefit"? These are genuine questions - you seem to be using these words in ways I don't recognise.
Roughly:
problem = complete data/parameters that can be fed to an NP solver (either search and verify every permutation of the solution space or (hypothetical) specialized solver)
solving = the process of computing the solution to the problem and outputting the answer
benefit = resources saved by applying an optimal solution instead of the sub-optimal solution that would have been used otherwise
>So you don't know what a practical problem is?
I was being a bit facetious, but the statement is still true, I believe (depending on what you meant by your question).
I know what a practical problem is, I just do not have have an actual instance whose solution would be beneficial. My question is to be provided with such a problem.
>Is that what you're calling a practical problem? Is what you're calling a "practical problem" simply a specific instance?
I believe we'd call it an instance of some form of the subset sum problem (I believe it can be formulated more formally).
>I can provide for you a specific instance of a three-coloring problem.
Sure. But, please don't be expecting me to solve it :)
comment 11y ago · link · parent
I claim we can solve them, because we know the basic algorithm that will solve any particular problem given enough time and space: brute-force search and verify.
>What do you mean when you say these are theoretical?
There is the theoretical, "This entire class of problems is hard.", NP problem and there is the, "Provide me with a 3-coloring of this specific graph", NP problem.
I claim that while it is widely believed that we cannot solve the entire class of NP problems, we may be able to solve particular, realized instances of problems from that class.
Yes, the algorithms are exponential, but if you choose your parameter space appropriately, you may be able to run an exponential algorithm in a reasonable amount of time and space.
So, there are parameters for algorithms that we can compute solutions for, but we are still limited to the amount of physical computational ability that we can control. This puts limits on which particular problems we can solve.
>If we can 3-color then we can perform better packing, better scheduling, better layouts for processors, we can break crypto-systems, in what sense are these not practical?
Only in the sense that I'm looking for a specific packing problem. For example, here are the dimensions and locations of UPS's fleet. Here are the dimensions, locations, and destinations of the packages. Give me the optimal routes. Practically, you'd probably want to model and solve failure modes as well to find the most "robust" route.
>better packing, better scheduling, better layouts for processors
What you are referring to here, I have been referring to as "theoretical".
Optimizing UPS may or may not have much tangible benefit, depending on how close their current solutions are to the optimal. My question is asking: solving which particular problem would provide the most benefit?
>Can you give me any example of anything you would call a practical problem?
That is my question. :)
But, a toy example would be roughly (though could could possibly be attacked another way):
Provide a subset of [-12,30,7,9,-84,24,1,8,3,-5,2] that sums to 0.
Edit: Thanks for the link. I'm not sure if I want an email from every reply that I get here...but I'll think about it.
comment 11y ago · link · parent
Certainly cryptosystems could be broken, but I'm not sure of the immediate positive impact of that. It would seem that it could be dangerously disruptive to drop such an algorithm.
I'm more interested in the "We know there are all these really hard problems and how to solve them, but we just don't have the computational power to solve them" aspect that typically comes along with P v. NP discussions.
I understand many of the theoretical problems (3-coloring, subset sum, subgraph isomorphism, etc), but I want to know what practical problems do we have that we don't have good solutions to, simply because NP problems are too hard for us to compute.
comment 11y ago · link · parent
Do we know that the code was written by hand and not auto-generated based on real-world testing/calibration?
Do we know that a programmer has final say on the code that is shipped?
Are you sure management couldn't select from a number of programs based on the criteria they like, without needing additional input from a programmer?
Why didn't management review the codes and put in place procedures to ensure the codes reviewed are the ones actually being used?
Why didn't management implement testing procedures so that the reviewed codes could be verified?
Do you have the specs/requirements the programmers were given?
Edit: Really? Downmods?
comment 11y ago · link · parent
The problem with natural languages, and especially english, is that there aren't really any formal rules as there are in well-defined maths like algebras.
If there are no rules, how can you skip them?
comment 11y ago · link · parent
I'm comfortable assuming that my local beat officer probably can't signal to his superior to pull an NSL on me and start reading every piece of data my devices are streaming over TLS.
comment 11y ago · link · parent
If you are cohabiting with the guest (for example, an actual bed and breakfast), then it would be correct to say that you share your home.
If you give exclusive access to the guest, it would be more correct to say that you are renting, leasing, or subleasing your home.
comment 11y ago · link · parent
Ok, there are a small number of units that are let or sub-let for 2/3 of the nights per year. That doesn't tell us much. I'd guess it would be near a full time job to keep your house let out 66% of the time. You wouldn't even be living there most of the time...how can you even really claim it to be yours?
Any observation would show that the primary use is for AirBnB and their customers.
comment 11y ago · link · parent