Better HN
topnewbestaskshowjobs
Log inSign up

jsprogrammer

1,146 karma · joined Mar 27, 2014 (12y ago) · 3,158 submissions

"went from zero to Godwin in record time"

https://news.ycombinator.com/item?id=12059810

Submissions

comment 10y ago · link · parent

You should be able to "wrap a hull" around all the points. If there is no hull that can be wrapped without intersecting a path segment, the path is not a solution.

Basically you are checking for line-plane intersections. A solution should outline a "non-self-intersecting volume".

comment 10y ago · link · parent

If any path segments/lines intersect/cross on any plane, then the path is not a solution.

comment 10y ago · link · parent

>I suspect such a reduction would significantly inflate the size of your problem.

If Metric TSP and a more general TSP are both NP-complete then there is an algorithm in P to transform a general TSP to a Metric TSP. So, a reduction could inflate the size of the problem, but that inflation will not be significant relative to the most naive approach.

Here is a SE algorithm: http://cstheory.stackexchange.com/a/14049

comment 10y ago · link · parent

It looks like the primary thing missing is 'iterator closing'.

http://node.green/

comment 10y ago · link · parent

What did you not find useful about my numerous answers?

Basically, everything is in some way equivalent to some graph. Since anything is an example, it's difficult to say much without using an example, which then necessarily constrains the discussion.

It would be more useful if you presented an example computation or representation, then I could show you how to make and reverse an equivalent graph. (Which then might show you what information might be associated with nodes and edges.)

comment 10y ago · link · parent

All NP-complete problems should be reducible to the Metric TSP problem. You would only need to transform your more general problem to use this "heuristic".

comment 10y ago · link · parent

I have seen many TSP solvers that enumerate known incorrect solutions. For example, a TSP solution will have no intersecting paths, but many solvers will generate and check solutions with intersecting paths all day long.

comment 10y ago · link · parent

It was rational because you valued what your teachers and parents thought. All value is subjective, so you cannot define a universal optimum.

To say whether something was a rational decision requires evaluating the subject's utility function at the time of the decision. This is something only the subject can do. Trying to judge something after the fact is very difficult.

What good input could you have used when you made the decision (or while you continued to execute it)?

Making mistakes in reasoning and/or lacking information that would allow for making a decision at a higher perceived utility does not make one irrational.

An irrational decision is one where an action determined to have the most utility is not taken.

comment 10y ago · link · parent

I guess the problem is that I'm the only one in this discussion that has offered a definition of rational. Taking action on bad information or analysis may be rational for some utility functions.

comment 10y ago · link · parent

Placing [sic] into a paraphrasing is just misleading.

0) You asked, "What information is associated to [nodes and edges]?". In this example, one piece of information is the direction of an edge.

1) I don't think I claimed they were the same. In fact, I am claiming that one can be represented by the other and vice versa. a) yes, that is part of the reason I conject that each graph may be associated with an "infinite number" of computations and/or representations b) also a reason -- there are perhaps an infinite number of languages, interpreters, compilers, etc. (some of which may produce the same result) for a given graph.

2) It was only an observation that the comment I responded to claimed only a subset of the truth. Anything done on a computer can be considered as a graph.

comment 10y ago · link · parent

Disappointing? You are the one coming to me expecting an example-oracle that produces them on demand.

E.g.

Computation / representation:

    2 + 2
Graph

       [+]

      /   \

    [2]    [2]
There is a way to produce the graph from the computation / representation and vice versa. There is a way to do that for every possible computation / representation and every possible graph (though, not necessarily with every pair).

This could be described as a compiler or compiler-like. There are many interesting things to do with them, but in this example all that is needed to consider is the construction of an Abstract Syntax Tree from a string and an in-order tree walker that emits the contents of the nodes to an output string.

comment 10y ago · link · parent

We'd need to be talking about a concrete example to say with much specificity, but a node is basically a "thing" and an edge is a binary relationship between two things. A thing may have relationships with itself.

The precise "information" associated to them could be "anything", but would be proscribed by the computation and/or representation being disccussed and the graph in question.

comment 10y ago · link · parent

I don't mean directed graphs, only vertices and edges.

I don't think you would need to deal with infinite graphs, as "arbitrarily large" should be able to cover all (finite) possible computations and/or representations.

My guess is that every graph may correspond to an infinite number (though, not necessarily every) of possible computations and/or representations, depending on which "correspondence function" is being used to analyze the graph (though there may be additional "correspondences" between those functions and/or their results).

comment 10y ago · link · parent

Every computation and/or representation is isomorphic to some (hypothetical) graph.

comment 10y ago · link · parent

None of those would necessarily indicate that the farmers are acting irrationally in the previously described exchanges.

comment 10y ago · link · parent

Market: participants freely exchange goods

Rational: subject acts according to their own utility function

Freely acting is equivalent to rationally acting, which is precisely where markets can exist.

E: Downmod without leaving a comment. Classic HN.

comment 10y ago · link · parent

Why would Ethiopian farmers sell for so little if they could sell for more?

comment 10y ago · link · parent

Wouldn't a market always act rationally, by definition?

comment 10y ago · link · parent

I think moderation should be done in the open. It's more an issue of people allowing their content to be filtered by others, I think. A downvote is only as powerful as the user's moderation privilege.

comment 10y ago · link · parent

It's not a perfect echo chamber as you can browser /r/all and see and contribute content from/to both communities.

comment 10y ago · link · parent

>My secondary forum about the Wario series has a very upbeat atmosphere without too much in the way of disagreement

...but that is a niche topic about a fictional universe. When a discussion forum must deal with real universe topics, like funding community projects, dealing with violence, etc., the forum will import all of the existing viewpoints, many of which may be at odds with each other and/or not "positive" in relation to each other.

comment 10y ago · link · parent

Politics and fame over understanding and progress?

comment 10y ago · link · parent

>“Once we’ve exhausted our exploration of the data, we see no reason not to make them available publicly,” says Kati Lassila-Perini, a CMS physicist who leads these data preservation efforts.

Why wait until they've exhausted their efforts?

comment 10y ago · link · parent

That shouldn't matter. If the scheme is vulnerable when some company generates a bunch of keys, it is vulnerable whether those keys are deleted or not.

comment 10y ago · link · parent

How would that be terrible?

comment 10y ago · link · parent

Is this the first time such a counter-top has been made?

Surely someone must have run into this problem before. How could there be no standard component that meets regulations, which have presumably existed for awhile?

comment 10y ago · link · parent

The subtitle quote indicates that the tool was bought outright.

comment 10y ago · link · parent

Don't they have a tool to get into other iPhone's now?

$1,000,000 doesn't seem too bad.

comment 10y ago · link · parent

His website [0] seems to be having database connectivity issues at the moment, but Google's cache caught it[1].

[0] http://www.alexstjohn.com/WP/2016/04/17/wage-slaves/#comment... [1] http://webcache.googleusercontent.com/search?q=cache:rCVIzSi...

comment 10y ago · link · parent

Obvious? To who?
1
303132
106