545 karma · joined Jan 27, 2012 (14y ago) · 405 submissions
comment 11y ago · link · parent
And I just verified, you can kill a running process from outside a docker container. So the OS does see it and probably can do all its scheduling magic.
comment 11y ago · link · parent
Very easy, just use this.
Edit: I should say, it's not official of course. But it takes all the headache out of using mods. And the mods use the same modding framework it seems Microsoft is using.
comment 11y ago · link · parent
Basically, you don't do that in Go. Go has interfaces, but they're implemented implicitly. So rather than "I get an object", you say, "I get an object that implements interface X", and you use whatever methods X has.
That just means its up to you to name interfaces in a reasonable way. Which is one down side - if you have an "Add" method, it's back to your question about what it means to add, depending on the implementation.
Nothing does this as well as Haskell as far as I can tell.
comment 11y ago · link · parent
It's like, if you were new to programming you don't dive into some obscure lisp dialect to start off. You probably go with what is currently the most popular thing, the thing you were most likely to hear about first.
Then as you age, you start being more adventurous and thinking for yourself about what you like. There is so much music out there, it isn't a one dimensional slider of bad to good. So with all that diversity, if people are exploring and making up their own minds, by necessity it won't be "popular" music.
comment 11y ago · link · parent
It is many people's (and my) opinion that death is one of the most tragic facts of life we currently face. All that knowledge and personality and life that makes up a person just disappears? What an idiotic process. If we can put an end to it we should.
comment 11y ago · link · parent
comment 11y ago · link · parent
And using scrypt with a decent work factor isn't 100 times harder, its tens or hundreds of thousands of times harder.
Additionally, I think one of the benefits of scrypt is that it is specfically designed to deter GPU or FPGA attacks because it is memory intensive instead of just CPU.
comment 11y ago · link · parent
You have to spend money somewhere for it to be useful. With guns, nobody has to accept being shot, they just are.
Another thing is there is no possible way this could be enforced before strong AI that can recognize a functioning gun somehow.
comment 11y ago · link · parent
Any city in the US where gun rights are essentially non-existent is a few miles away from another city where they can get guns from, and nothing stops the guns from moving back in.
When guns are illegal in the country it becomes a lot more like trying to smuggle drugs over borders. It still happens, but not so casually.
comment 11y ago · link · parent
"its root creator will always be a flawed human"
"But since a human can never create AI to create AI better than a human..."
This is your premise. I don't think, and a lot of smart people don't think, this is true. The thing that gets people really worried or excited is that they think it IS possible to make an AI that can create better AI. And it's a positive feedback loop that goes nobody knows how far.
There is no reason, unless you believe in magic, to think AI can't be as smart as humans. But if you go that far, there's no reason to think it can't be smarter. And if it can do that, it can make better AI than humans can.
comment 12y ago · link · parent
var boundFn = function(){ return originalFunction.apply( this, [boundArg1, boundArg2].concat( arguments ) ); }
or something like that.
comment 12y ago · link · parent
comment 13y ago · link · parent
You might as well have said civil rights leaders should have sucked it up and built something themselves. As if that's not what they were doing.
Or excellent troll. But out of place - this is for serious discussion.
comment 13y ago · link · parent
Another way of looking at it: if I used 100% of my upload traffic continuously, it would be a lot more total data sent than I generally download with normal use. So as long as a peer to peer system ensures QoS, the bandwidth is there. I think.
comment 13y ago · link · parent