Better HN
topnewbestaskshowjobs
Log inSign up

codeflo

9,664 karma · joined Jun 14, 2010 (16y ago) · 1,504 submissions

Submissions

comment 11y ago · link · parent

That's clear. My point is that mathematics can't list the Busy Beaver machines.

comment 11y ago · link · parent

I'm sorry, n was supposed to be the number of states of the Turing machine. I've clarified the original post.

comment 11y ago · link · parent

Here's a philosophical question that's been bothering me for a while. For large enough n, we can construct an n-state Turing machine that attempts to prove a contradiction in our current most powerful axiomatic system (let's say ZFC). We must assume that this machine loops forever, but Gödel's incompleteness theorem implies that we can't prove that.

What does this construction imply about BB(n)? In what sense is the BB sequence even well-defined if we can prove that it can't be determined?

(Edited for clarity.)

comment 11y ago · link · parent

To state my European prejudices, you also seem to value being allowed to drive without proper training, and driving around in bulky vehicles that are basically designed to use the other car as their crumple zone. Those two things are possibly related.

comment 11y ago · link · parent

That would be madness, even "typical" users have more programs than could fit in the taskbar. You only want to pin your most important programs (the others can be launched by search), and it must be up to the user to decide which ones those are. (If you leave this to the application programmers, every application will declare itself super important.)

comment 11y ago · link · parent

I'm always amazed by how many words journalists manage to write about a something without actually stating what it is. Here are the rules of the actual game, as explained in the linked PDF:

"A bar game involves three players, each of whom reveals either a clenched fist or an open hand; they do so simultaneously, by the usual ‘three shakes method’.

"A person ‘wins’ this game if he or she reveals a hand that differs from what the other two players present, in which case the latter two ‘lose'. Otherwise (i.e., if all three reveal a clenched fist, or all reveal an open hand) the game is a ‘draw’.

"Suppose each player decides his or her strategy independently, and chooses between the two strategies with equal probability. If there is a winner, this player must drink a glass of tequila, while each of the two losers is required to toss a fair coin, and drink a glass of tequila precisely if the toss lands heads. If the game ends in a draw, then each player independently rolls a fair six-sided die and if the number that comes up is a 3 or a 6 that person drinks a glass of tequila."

comment 11y ago · link · parent

Among the people dedicated enough to become moderators in any online community, there seems to be a large subset that is very rule-focused, exclusionist and in general difficult to reason with. It's not just Wikipedia, basically the same thing happened at StackOverflow, where all the interesting questions have been deleted, and also in several smaller online communities I used to participate in. Given enough time, those people invariably take over and destroy the community.

Reddit sort of avoids this because it's so easy to create new subreddits that people can vote with their feet if a moderator is behaving unreasonably. Maybe a similar solution could work for Wikipedia, having sub-Wikipedias with different rules. But that would require the current powers to admit that there's a problem, which is unlikely to happen.

comment 11y ago · link · parent

I think that's not the best analogy. You're imagining a constant amount of mutations (artillery shells) spreading over the size of the genome (the beach). It doesn't quite work like that, which is why mutation rates are usually measured in errors per base pair per generation.

In fact, copying DNA is more like downloading a large file over an unreliable network. There's a certain chance that each individual bit is flipped and the file becomes useless. You can reduce that chance by sending it multiple times, or introducing checksums, both of which add redundant data. But simply adding an extra TB of junk bytes to your download won't help preserve the integrity of the original file.

comment 11y ago · link · parent

Contrast this article with http://en.wikipedia.org/wiki/History_of_science_fiction

comment 12y ago · link · parent

If this is the reason to finally add generics to Go, all the better, and a lot of people puzzled by the community's copy&paste attitude to code reuse might reconsider the language.

Also, this would require Google to finally polish up the Android NDK, which would be great even for non-Go users.

comment 12y ago · link · parent

The missing article at the start of the sentence makes it very hard to decipher if you're talking about Linux distributions in general or a specific one. "A Linux distrubution is ..." is probably what you intended to say, but I'm not sure.

comment 12y ago · link · parent

That's not what a collision attack[1] is. You're probably thinking of a pre-image attack[2].

[1] http://en.wikipedia.org/wiki/Collision_attack

[2] http://en.wikipedia.org/wiki/Preimage_attack

comment 12y ago · link · parent

Fair enough, I'm starting to read up on this. Obviously, you can define sqrt(2)^sqrt(2)^... to mean the (unique?) attracting fixed point of x -> sqrt(2)^x. But that makes your explanation a bit circular (it is so because it's defined to be so). Probably that's the only useful definition, but that fact is certainly not trivial or self-evident.

comment 12y ago · link · parent

> 2. The infinite tower sqrt(2)^sqrt(2)^sqrt(2)^... has a finite value, which is 2. (It's the fixed point, sqrt(2)^x = x). Yet again, we have a simple (integer) value coming out of something that seems infinitely complex. However, yet again, once you make the conceptual leap necessary to evaluate such "towers", the answer is trivial.

Is it really that simple? sqrt(2)^4 = 4, so the answer should also 4 by the same argument. Which makes the whole expression not well-defined IMHO.

comment 12y ago · link · parent

Calculating "percent increases" of the median age of a population doesn't make any sense at all.

comment 12y ago · link · parent

Thanks, I didn't read the comments. The technical point is probably not the whole truth: Vista 64-bit shipped with a 32-bit Internet Explorer for plugin compatibility. So there must have been some kind of setup infrastructure.

The "besides" point is what I was expecting: there was some kind of rule not to ship 32-bit-only components to claim "full 64-bit support". A rule that was mindlessly applied even to a little game that has nothing to do with the core OS. As I said, politics.

(Not that I personally care, but I've observed that people love those builtin games.)

comment 12y ago · link · parent

And presumably, they couldn't just ship the (still working) 32-bit executable because... politics.

comment 12y ago · link · parent

As someone who switches browsers about every six months, I feel that Firefox is still quite a bit behind in terms of stability and performance. I mostly blame the single-process model, which makes crashes and hangups way more global than they should be in 2014.

On Windows, there's also the 32-bit issue. On machines with 8+ GB of RAM, having all tabs share a 2 GB address space just doesn't cut it. Especially when your addon model, one of the key features that sets Firefox apart from other browsers, eats an additional 4 MB of this limited space per tab (and that's just for one addon).[1]

Having said all that, I know that brilliant people are working on fixing this, and there have been huge improvements in the past year. And that's how I hope they'll win back users: by building a better browser, not just by appealing to open-source ideals and fear.

[1] https://blog.mozilla.org/nnethercote/2014/05/14/adblock-plus...

comment 12y ago · link · parent

> There are well-known approximation algorithms for the Traveling Salesman Problem, which is NP-hard

Actually, it's either not NP-hard, or not approximable, depending on your definition of TSP. Let me clarify.

TSP, as most people define it, means "given a graph, find the shortest roundtrip". As you rightly state, this problem can be well approximated. But it's not a decision problem (it doesn't have a yes/no answer), and thus doesn't even fit into categories like "NP" or "NP-complete". Talking about the NP-completess of this "Optimization TSP" is essentially a type error.

It's only when we define a "Decision TSP" problem that we can talk about things like NP-hardness. For example, we might ask "Given a graph and a number c, is there a roundtrip of length less than c?". And this new problem is NP-hard. Given any problem in NP, like a SAT instance for example, we can efficiently construct a (usually very contrived) graph that will have a roundtrip of a certain length if and only the original SAT instance is satisfiable.

But unlike "Optimization TSP", this "Decision TSP" can't be approximated. It doesn't even make sense to talk about approximations: a roundtrip of length < c can't "almost exist", the answer is always either yes or no. And while an exact solution for Optimization TSP can trivially answer Decision TSP, any approximation of Optimization TSP is essentially useless in solving Decision TSP.

That's why TSP (in its optimization form) can be easy to approximate, while also (in its decision form) being NP-hard.

comment 12y ago · link · parent

> “How do you make money? And does it involve selling my information or otherwise sharing it?” Here’s our answer: We don’t yet know how we’ll make money.

I think this is code for "we hope to get bought by Facebook".

comment 12y ago · link · parent

I'm not a physicist and I can't debunk this theory point by point, but actually, you don't need to know much physics to see how this must be wrong. Special Relativity requires conservation of momentum, in every observer's frame of reference. If someone claims to explain supposed non-conservation of momentum by invoking "Special Relativity", they are just attempting to trick you.

(As far as crackpot theories go, I'm actually surprised they didn't throw in a "quantum" or two for good measure.)

(Edit: I'm not saying that the experiment itself is invalid. It might be, I don't know. What I'm saying is the supposed theory[1] is necessarily wrong, because you can't get non-conservation of momentum out of Special Relativity without suggesting new laws of physics, which is not at all discussed in the "paper" I linked below.)

[1] http://www.emdrive.com/theorypaper9-4.pdf

comment 12y ago · link · parent

Yes, NP-complete is a subset of NP-hard. Grandparent states that NP-completeness only applies to decision problems (which is correct), but seems to think that NP-hardness applies to optimization problems (which is incorrect; NP-hard too is a class of decision problems).

comment 12y ago · link · parent

Or maybe just, you know, don't click them?

comment 12y ago · link · parent

Interestingly, although it seems harder, this sort of analysis is much more reliable with proportional fonts, because the specific width of the gap narrows the number of possibilities down considerably.

comment 12y ago · link · parent

IIRC? Can you provide any source or example? This sounds very interesting.

comment 12y ago · link · parent

On POSIX systems, this challenge is trivial because you can unlink ("delete") an executable while it's running. The file is then actually deleted once the program exits.

On Window, you can muck around with child processes that delete their parent. Perhaps more interestingly, you could try to abuse Software Restriction Policies [1]. In theory, you should be able to blacklist your own executable (by hash), so that it can't run ever again. This would also block any copy of the file that you might have kept.

[1] http://technet.microsoft.com/en-us/library/bb457006.aspx

comment 12y ago · link · parent

With compiler optimizations turned on, it's almost guaranteed not to happen, because a and b are very likely to be stored in CPU registers.

comment 12y ago · link · parent

If this is a recent terminology change, then people who use the old terminology are not factually "wrong", they just use an outdated definition.

I do have a question though, if you or anyone else wants to clear this up for me. Which kinds of energy are no longer considered part of a system's "mass"? I gather that kinetic energy is not. What about various forms of binding energy?

1
454647
51