966 karma · joined April 30, 2017
email - hn (at) femto (dot) host discord - Codefined#8017
I'm pretty open to talking about anything.
Valve appear to even be complaining about the 30% fee, that is _equivalent_ to their own fee.
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...
[0] https://aws.amazon.com/sqs/ [1] https://aws.amazon.com/kinesis/
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.
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...
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).
This is also not extrapolation, rather quite the opposite, it's interpolation.
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.
This error was in how clients were appending ports to the HOST header.
Meanwhile, Python versioning of plugins is really broken, unless you use virtual environments. Maven seems to be fairly hard to integrate with IDEs (Eclipse seems to come bundled with a separate one, not sure about IntelliJ). Most other package managers I use don't have enough packages to be as useful.
A few times our website went down due to the load going >30, eventually I discovered Google was doing something funky, adding the dynamic domains to the "robot.txt" file fixed the issue. Then some other search engines / scrapers seemed to run into the same issue and started requesting hundreds of thousands of URLs per day (these pages were dynamically generated and took a moderate amount of compute power).
We eventually did have to implement basic anti-scraper rules because it was degrading the user experience.
For the UK, you can find out more information about the specifics of this from the data protection act, which includes clauses about FOI requests.