211 karma · joined November 25, 2011
You may rely on useMemo as a performance optimization, not as a semantic guarantee. In the future, React may choose to “forget” some previously memoized values and recalculate them on next render, e.g. to free memory for offscreen components. Write your code so that it still works without useMemo — and then add it to optimize performance.I prefer the convenience of a brick and mortar store (the convenience being able to browse the products in real life and take it home with me immediately) but it's not always possible to find what I'm looking for locally.
Lastly, for every person complaining here on Hacker News about their one anecdotal issue with Amazon there's thousands of products being shipped every minute that have no issue. Amazon mostly works, though I wouldn't trust it for very large fragile things.
PyQT are free to extract fees from the ecosystem as long as they can, just as some open source devs are free to try to eat their lunch money.
I can choose not to use an Android phone. I can choose not to use Google search, block Google domains in my hosts file, etc. While the alternatives are probably not as pleasing or convenient, I can definitely get by without Google.
I can also get by without Microsoft. I've used Linux almost exclusively for 15 years now. But choosing to stick on Linux has been made harder with Microsoft's monopoly. It's easier now but I can remember when it was very difficult to find good hardware to run Linux and not have to pay a premium or pay for a Windows license even if you never wanted Windows (and definitely didn't want to pay out of principle).
As far as I know, Google's dominance on search doesn't affect my experience when I use other services. I haven't seen a "Halloween documents" event out of Google's camp.
It's purely donation driven and he pulls a small salary from whatever's leftover after buying enough servers to keep the site up.
Questions like implying online voting would lead to higher electoral costs or that a more mixed representation in the house would immediately slow down government. While some of those effects may occur, it seems disingenuous to pick out one random negative effect to single out in a questionnaire like that.
HTTP/1.1: 2.06s HTTP/2: 0.45s
with Chrome 45 on 64-bit Debian 8
I'll often forget to stop streaming the music at work and start listening to it on the bus on the way home. My workstation at work then fights for control of the service with my phone and every other song drops out with "another device is using the service".
This also meant that not every mission was necessarily more challenging than the last (in Factions there were some missions that were much harder right after leaving noob island than those deeper in the game play like in the Luxon/Kurzick areas).
The freedoms awarded by the GPL are not intended for the authors of the derivative works but for everyone else. The restrictions in place only prevent the author of the derived work from restricting everyone else.
If your goal is simply to get your code used by other people and corporations, under virtually no restriction with what they do with it, then the GPL is not a good choice.
If your goal is to let others use your code for the greater benefit of everyone that uses your code, then the GPL enforces that (at least to the extent it can be reasonably enforced).
All the BSD license ensures is that if they distribute the code they have to retain things like author retribution.
If the GPL is never proven to be upheld (at least to the point where most legal corporate accepts it) by the courts then it is a meaningless licence that only matters to free software advocates and geeks.
sum(stars) + (1.0 - 1.0/count(repositories))
So if I have 3000 stars and 10 repositories, you give me a score of 3000.9? Shouldn't it be multiplied?