asgard1024

Joined 13 years ago

Karma
1,234
Submissions
656
Member since
Jul 27
View on Hacker News

Recent submissions

Comment · 6 years ago
No, that's not what the quote was about, the quote was saying that their economies should be managed the same way. Your interpretation of that quote is much narrower and in particular, it only applies to foreign debt.
Comment · 6 years ago
Nation is very different from a household. There is lot more people, they are anonymous. You need money to track who owns to whom, in household everybody knows. The worker specialization is much more relevant in the national economy. There is labor and trade and different political interests. I could go on and on.

Addendum: It might be true that in the nation as in the household, you should be aware if you are entering an external contract with someone, like borrowing money. But the question of internal debt between the citizens of the nation cannot be reduced to household economy, there is no such thing as an austere husband lending money to his wife.

Comment · 6 years ago
The West also has social credit system, it's called money. If you do something useful for society, you will get them. If you don't do something useful, you will not get them and die of hunger. And if you do something wrong, you can often use money to avoid harsher punishment.

I think social credit systems are wrong, the moral behavior shouldn't be tradeable. But let's face it, almost all societies have them, and they have many flaws.

Comment · 6 years ago
If anything, I think Civ tried to subvert the bias of war games by allowing other types of victories than just a military one.
Comment · 6 years ago
Maybe I am reading too much into this argument, but I think this is moving the goalposts. So Bregman comes and proves, presumably mostly based on history of Western civilization, that humans are (at least in some ways and on average) better than they think they are. Your response to that is, well, those darn Indians and Chinese, they are not part of Western civilization, therefore, Bregman's proof does not hold.

Not to mention that it has a little bit of a scent of white man's burden.

And BTW, I do believe in universality of human rights, I don't care what the consensus is. While I agree with Bregman, I think it is kind of a moot point (as any argument from nature), because the values we have (or rather decisions we make) are much more a function of the environment we live in.

Comment · 6 years ago
It's like the best speech ever. And IMHO the idea to add Inception soundtrack to it makes it even so much better.
Comment · 6 years ago
I haven't read the book, but I suspect you're disagreeing with Rousseau and not Bregman here. I don't think Bregman recommends removing the civilization, but rather augmenting it based on the moral principles that we already accept as humans.
Comment · 6 years ago
I think you're right - according to category theory, only relationships of the objects matter, not the objects themselves.
Comment · 6 years ago
I think I disagree, but it really depends what you mean by "test" or "test case". I assume that test case is for a given input, expect certain output, and test verifies certain assumption, such as for a certain class of inputs you get a certain class of outputs.

I believe that you always test two implementations. For example, if I have a test case for a function sin(x), then I compare with the calculator implementation, from which I got the result. So if the tests are to be comprehensive (and automatically executed), then they have to be another implementation of the same program, you can't avoid it, and you can't avoid to (potentially) have bugs in it.

Now, the advantage is that the test implementation can be simpler (in certain cases); or can be less complete, which means less bugs, but also (in the latter case), less comprehensive testing.

In any case, you're validating the assumptions. The assumptions come from how the test implementation works (sometimes it is just in your head). And to express them formally, of course, that's the whole point.

For example, if you're given an implementation of sin(x) to test with, you can express formally the assumption that your function should give a similar result.

By formalizing this assumption, you can then let the computer create the individual test cases; it is a superior technique than to write test cases by hand.

Comment · 6 years ago
> Tests that use random input data are much more difficult to write correctly.

Interestingly, I personally find them easier to write. I actually find classic unit tests hard to write, probably because I am painfully aware of the lack of coverage.

While with property-based testing, I start from the assumption I have on what the code should do. Then the test basically verifies this assumption on random inputs.

Doing unit test with the given input seems to me backwards - it's like a downgrade, because I always start from what kind of assumption I have and based on this I choose the input. And why not encode the assumption, when you already have it in your mind anyway?

Comment · 6 years ago
Actually, you can get reproducible tests even with randomized tests, by setting the random seed (I always do that in e.g. Quickcheck). So this is really a moot point, not a good excuse not to do random testing (or not to use QuickCheck ;-P).
Comment · 6 years ago
Comment · 6 years ago
The way I like to explain this is to start from an intensional definition of money as "something that has no value by itself but can be potentially exchanged for something of that value". And total amount of money in economy is the total amount of these things at a given point in time.

So when somebody creates an IOU trusted enough so it could be resold, they have effectively created "money" according to the above definition, because now that IOU can be traded _independently_ of the thing it was originally exchanged for.

I think what confuses lot of people about this is that creation of money is a 3-sided transaction, and we are conditioned to think of a market economy as a sequences of 2-sided transactions.

Also, what I find very funny, some libertarians want to impose government to only create money backed by a commodity, like a gold standard. Yet their fundamental axiom is to allow any two parties to enter (almost) any contract, in particular, allow them to create and resell IOUs. However, if the government has to enforce any contract that two parties can come up with, this is already giving too much freedom for the money to be created regardless of the actual commodities in existence, and regardless what the government does.

Comment · 6 years ago
I think that Trump believes that Snowden is a Russian spy, because he cannot imagine (given their different personalities) that somebody would do what Snowden did just for intrinsic reasons.

So Trump is trying to make a deal with Snowden - find some dirt on Democrats (Obama administration) during election, and I will pardon you.

However, Snowden is most likely not a spy, so no way this is gonna happen.

Comment · 6 years ago
> I'd still consider MS the gold standard for back-compat

No way! IBM mainframe (zSeries) is the gold standard for backward compatibility in IT.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton