The accent you think you are speaking (or are emulating)
HN user
halomru
Or throw rocks from bridges into highway traffic. Teenagers occasionally do that
By that line of reasoning, this proposal is great because not only the first but also the second and third candidate are elected, making an even later portion of the voters happy
I can't speak for corporate lawyers, but I treat AGPL v3 similar to GPL v3 (a bit truer to the GPL spirit, but in consequence a bit stricter).
Then again, GPL v3 is on many people's danger list
A potential patent applies to any implementation. Even if you write a clean-room clone of React, if it uses the same patent, Facebook has a patent claim.
Sure, but that only rules out a reimplementation of React. The question most people face is "React or existing alternative X?". If your chosen alternative is still actively developed, it's probably notably different from React in concept and implementation (why else would it still exist).
Now if Facebook owns any react-related patents, you use all of them by using react, your alternative has a good chance to be sufficiently different to not be infringing.
In terms of your chances of using Facebook patents, any alternative is strictly better than React itself.
A self-sufficient Mars colony isn't easy, but it doesn't seem impossible. And the lack of FTL doesn't really limit us to this solar system either: generational starships with nuclear pulse propulsion [1] could get us to the next star with around 100 years travel time. Not exactly something we want to start tomorrow, but fairly feasable.
What existential issues are you thinking about?
The biggest issue I can think of is oil running out, but we're on a good trajectory to solving that. Other resources seem either abundant or replaceable. The threat of global nuclear war is problematic but not really solvable by throwing more people at the problem. Overpopulation isn't projected to be a problem. Climate change will be a major inconvenience and costly, but unlikely to be an existential issue.
Of course there's lots of injustice, hunger, disease, murder and torture that would be nice to resolve, but it's not an existential issue for humanity.
In any scenario where society or technology breaks down enough for these skills to be useful, the majority of the population still won't miss them. Without industrialised fishing and farming (which relies on oil and huge production chains) we don't have nearly enough fish for people to filet or grain for people to make bread (let alone beer). And statically speaking you will be starved before your vegetables are grown.
I agree that throwing away the physical books would be stupid, but the index is ready enough to rebuild if we ever need it again. And in a post-computer world search times in the order of days or even weeks would be acceptable: when looking up crop rotations a few days more or less won't make or break your harvest
Everywhere?
First provider I checked has a multiple server offerings with quadcore i7-6700 and 64Gb DDR4 RAM for 39€/month [1].
1: https://www.hetzner.com/dedicated-rootserver/ex41s?country=g...
Punishing CAs for bad behavior (ie Security Problems) has more collateral damage the bigger a CA is. Right now, if a CA is bad enough browsers just stop accepting their certificates. After a certain size that becomes unfeasible, removing a lot of pressure from that CA
Is there any way to ask a gzip file which size it will be once unzipped, without needing to decompress it?
The closest is uncompressing it and counting and immediately discarding the bytes in the output stream.
But of course the proper defense is to give up if you exceed a predefined memory or time budget.
Id argue you're still at liberty to do it - you just have to be willing to accept any social prices associated with it.
You can say that about almost anything. I'm at liberty to murder my neighbor, I just have to accept the price.
You totally can. Technically sometimes you need a certain conjugation or a linking "s", but usually you just combine the words.
I guess they meant that not every compound word is one that Germans actually use (as you would expect when somebody claims "it's a German word"). But you can totally make up words on the spot that every German will understand
In a way a dishwasher is storing energy in the form of clean dishes. Now instead of storing electricity to run the dishwasher whenever, you simply run the dishwasher when there's an electricity surplus
But there's no reason it can't be. So far there just wasn't a reason
Today's washing machines already have timers to start in X hours (at least mine has, and it's not exactly top of the line). Once consumer electricity prices reflect the actual electricity price at that moment new models would quickly contain internet-connected logic to start the washing cycle at the point in the next 24h with the lowest predicted electricity price.
If you integrate washing machine and dryer into one mashine, the cost-savings from electricity would be even bigger with very little convenience lost.
all-you-can eat buffets work because each person has to pay seperately and the amount any person can eat in one setting has hard physical limits that are fairly low.
Unlimited in the computing world usually has practical limits many orders of magnitude above normal usage, making outliers much, much more expensive. But you can't substantially increase the price because you can't afford to lose your normal customers and be left with only outliers.
I meant that more in terms of "widely deployed in sizes exceeding the most common paper size (A4/legal)". At the size of a smartphone you have to exceed the resolution of paper by a considerable margin to show the same amount of detail.
Somewhere between 0.1nm and 1nm.
In some applications paper will hold out for quite some time. Only recently screens with a resolution comparable to paper became practical, and it will take until the 2020s until they are widely deployed outside smartphones. And that screen technology still has problems with reading speed as compared to paper. And in terms of viewing multiple documents next to each other it might take one or two more decades for screens to catch up to paper in everyday use.
Then again in a lot of office applications that is irrelevant, meaning paper is of little use to them.
But if a pipe-bending machine has a total cost of ownership of $100 per operating hour, your four pipe bending guys have a job as long as employing them costs less than $25/h. Where before they might be able get a higher wage, their wage is now capped and the cap is decreasing over time.
Of course there's other reasons to employ people (parent mentioned spending power, I would add political influence to the list). But the labor part of the employment decreases in value.
Later on the article describes that they installed pumps and removed heat sources. Of course that doesn't solve the problem of operating without humans and without flooding, but I imagine getting funding for major changes is much easier once it's exceedingly clear that this wasn't a fluke.
If elected, Theresa May will "take steps to protect the reliability and objectivity of information that is essential to our democracy"
That's the kind of thing you usually hear from dictators. I hope she remembers to give citizens the same rights online and offline, not only the same restrictions.
Win-loss outcomes are zero-sum by definition. I don't see this discussion going anywhere productive from here.
Only in a very restricted framework. If one side goes out of business and one side only makes a minor gain (and lots of remaining competition exists), that is obviously not zero sum from any perspective
How is Master/Slave discrimatory language? Who is discrimated there?
In my eyes it is simply a factual description of an architecture: the master gives commands, the slave obeys. The slave doesn't act without permission from the master and only speaks when spoken to. I wish no such thing for any human, but it describes a great architecture for software and hardware.
Which is logical if you consider likes and reshares as the goal of sharing the story: sheer volume makes it impossible for me to evaluate each post in my Facebook feed in depth, so even if we assumed that people would actually read the article before liking, they are much more likely to read one with a good headline. A good hook is more important than good content (from the viewpoint of getting lots of reactions).
And when I can see how many people liked what I shared, that seems like a reasonable metric to optimize what to share
By that definition, in the real world you never do the same thing twice. Your environment always changes (in fact there are several natural laws dictating that it does).
From the pedantic viewpoint the quote may be true, but then it doesn't say anything useful anymore.
That question is a bit unspecific :D
NUMBER = atoi(argv[1]);
argv is populated at runtime based on what the OS passed you.
But you are right if you meant that my statement is too strong: you can't do arbitrary loop unrolling. You can jump to a loop that's unrolled once if the number is even, etc.
There are certainly also optimizers that will just output the input without any loop, but that's beyond anything I would expect of a current production compiler.
You can't really do loop unrolling and constant folding as some suggest because the number of iterations is determined at run time.
But assuming his CPU takes one cycle for an addition and one cycle for a conditional jump, his CPU only needs to run at 1GHz to achieve his result.
Given that branch prediction should be nearly perfect for such a simple and short loop, modern x86 CPUs doing at least 4 integer additions per cycle, and typical CPU speeds in the range of 2-4 GHz, a properly optimized version should be nearly an order of magnitude faster.
So either more aggressive compiler flags and maybe SIMD intrinsics, or hand written assembly (easy here, not so easy in the real world)