966 karma · joined Apr 30, 2017 (9y ago) · 308 submissions
email - hn (at) femto (dot) host discord - Codefined#8017
I'm pretty open to talking about anything.
comment 8y ago · link · parent
Whilst complex threading might seem to counter the simplicty of HN, might it be reasonable to include a link to the original article when merging?
comment 8y ago · link · parent
There are not enough emotional jobs that can be created to fulfill 7 billion people (a quickly rising number). I think we're going to need a shift in the mindset of people. Jobs aren't required, we should instead look at increasing recreational activities available to people and try to enjoy our lives.
comment 8y ago · link · parent
Valve appear to even be complaining about the 30% fee, that is _equivalent_ to their own fee.
comment 8y ago · link · parent
for (let i = 0; i < a.length; i++) {
a[i] = a[i]*2
}
Has to be converted into something that can be run onto a machine that won't cause a fatal error if the array `a` doesn't have an item at index `i` (e.g. negative index). It can be converted to the following by a naive compiler: for (let i = 0; i < a.length; i++) {
if (i > 0 && a < a.length) { // safe to access
a[i] = a[i] * 2
} else {
throw('in a safe way')
}
}
Or, to avoid repetitive checks to a.length: const temp = a.length
for (let i = 0; i < temp; i++) {
if (i > 0 && a < temp) { // safe to access
a[i] = a[i] * 2
}
}
A more advanced compiler might realise that the if statement is irrelevant, we've defined it in the loop that we'll never have a negative `i` or one above the length of the array, so we can just avoid those checks entirely and actually revert back to the original code to compile. This is not always the case: const temp = a.length
for (let i = 0; i < temp; i++) {
a[i] = a[i]*2
}
This comes up in interesting places, like why it is faster to go through an array backwards than forwards[0].[0] https://stackoverflow.com/questions/8689573/why-is-iterating...
comment 8y ago · link · parent
[0] https://aws.amazon.com/sqs/ [1] https://aws.amazon.com/kinesis/
comment 8y ago · link · parent
The thing almost all of them have in common is that you have to try to be harsh in order to be able to curate a kind community that people actually want to be a part of. When I see you're replying in an equally harsh way to the first person I personally see you as being bad as that person. So what if they started it? That's an argument that small children use.
Reddit is a really toxic place, as are a lot of the games that I host servers on. It really easily goes to people being rude to each other which kills the mood for everyone involved.
comment 8y ago · link · parent
comment 8y ago · link · parent
I don't know how the market is going to respond, but if we get a similar decrease in price it should get a large market share, having no noticeable negative attributes.
[0] https://bigthink.com/ideafeed/answering-how-a-sausage-gets-m... [1] https://www.independent.co.uk/news/science/clean-meat-lab-gr...
comment 8y ago · link · parent
comment 8y ago · link · parent
Even with HDDs, if you actually want to use all your throughput you're likely going to have problems with the bus (rarely needs to be optimised in 99% of cases) vs the drives (needs to be optimised in all environments).
comment 8y ago · link · parent
This is also not extrapolation, rather quite the opposite, it's interpolation.
comment 8y ago · link · parent
All studies should be held with skepticism, but (assuming skepticism is a "resource" that can be exhausted), we should likely focus more of our skepticism on studies that clearly benefit from the result of the topic being discussed.
comment 8y ago · link · parent