I was obviously not writing about poverty but about our impact on the planet and the environment...
HN user
NotPaidToPost
11B from 7B is a 60% increase... But that's the usual sterile nitpicking. Do you want to argue about decimal points or address the actual point?
The important point is that this is a large increase when we already cannot manage now.
This is one of the major cause of the destruction of the environment we're seeing globally.
All forecasts predict another 60% (!!) increase in global population before it stabilises.
Forget about banning plastic straws or flying less (which are feel-good measures more than anything else) with such numbers... We need to take dramatic and effective steps.
There are 80 years left until the end of the century. This increase is far from being inevitable! But, again, we prefer to ignore these key issues and focus on marginal, feel-good measures instead.
Politically, the timing of the crisis works quite well for the nationalist Tsai,
Err... Tsai is not in the 'nationalist' camp (KMT), she is from the DPP (Pan-Green coalition).
The rest of the article on Taiwan history is equally poor and confusing.
Why would the UN have a stance on this?
It's been hugely magnified the media, but it is no more than a government bringing a bill forward and people demonstrating against it.
This often happens in most Western countries and no-one asks the UN what they think about it.
Perhaps time to put things into perspective.
“The green reed which bends in the wind is stronger than the mighty oak which breaks in a storm.”
― Confucius
But why limit it to 2^ and 10^ and not say literal^literal should always produce a warning?
You're suggesting that using the C language as specified and intended should produce a warning... That makes no sense.
It's not for you or the compiler to decide that 2^32 makes no sense. It is using ^ exactly as intended and is neither misleading nor ambiguous.
Stating that 32^2 should not trigger a warning while 2^32 should shows that this proposal has not been thought through.
It's not desirable or sensible to raise a warning on the premise that the expression might mean something else in another language, which is what this would do.
When people are used to this they can't easily tell what is satire anymore.
I remember a few years back China Daily (or was it the People's Daily) quoted The Onion because the 'journalist' hadn't realised it was a satirical website...
Edit:
Here it is. It was the People's Daily: https://www.cnn.com/2012/11/27/world/asia/north-korea-china-...
How do you do that?
The preprocessor does macro expansion, the compiler compiles the result.
The compiler does not see FLAG_BIT1 ^ FLAG_BIT3, it only sees the result, e.g. 2^32.
Therefore to catch only explicit 2^32 the warning should come from the preprocessor... Nice mess created right there.
'If' expects a condition so finding an assignment may be a red flag even if an assignment has a return value in the spec, which makes the construct valid.
On the other hand ^ expects integers so 2^32 is exactly what is expected.
Most the replies I saw here try to second-guess or claim that ^ should be used in a specific way. Not so, ^ is just doing XOR of two integers.
Apparently, I am having an incorrect opinion, though, so I will self-censor and remain silent.
It's a warning not an error.
Many build environments are set to treat all warnings as errors.
The point is that 2^32 is a perfectly compliant C expression that is neither misleading nor ambiguous, and that also won't create any variable overflow. It uses ^ exactly as intended. Why should the compiler complain? Why should I get a warning/error when following the spec to the letter?
I don't think it would not be simple or a good idea to warn because these are perfectly valid expressions and it would lead to a flood of warnings if compilers started to display "Did you really mean that?" for an ever growing list of expressions (which is what it would become).
Better to leave this to code analysis tools.
Edit:
2^32 uses the ^ operator exactly as intended, and has perfectly legitimate uses, especially when dealing with registers of HW peripherals.
It's not the same as warning on "if (a=b)" as someone replied.
From a language perspective, 2^32 is exactly the same as 2+32.
The point of many of these cycle lanes is not to be useful to cyclists but to be useful to the council's PR.
Your comment suggests that there is a correct opinion and an incorrect opinion. This is as totalitarian as the "other side".
This issue of extradition is far from being black and white.
The US government is not interested in the long term. The horizon is the 2020 election.
It is a rethoric and disingenuous argument to call for a referendum. See Crimea.
The problem is states competing against each other and they know that HK is a way to create trouble for China.
How would you proceed to "annex" your own territory?
HK is not Crimea (mentioned by someone else), it is Chinese but enjoys a high degree of autonomy until 2047.
What makes HK so special that they must have an extradition treaty with China?
Apart from being a Chinese territory?
What I wrote is not an allegation. It is a fact as there is currently no extradition from HK to Macau/mainland China/Taiwan.
The whole bill was brought forward because of a HK resident accused of murdering his girlfriend in Taiwan and who fled back to HK. You can say that this was a pretext to bring the bill forward but it still highlights a real issue.
The Taiwanese government is being cynical here.
It's also difficult to see how this bill would "subjugate" HK if passed.
I do agree that the HK courts would need to be very thorough in considering extradition requests from the mainland and that their independence should be preserved.
Ironically, in failing, it has shown Xi’s limited power
Or perhaps people are assuming that "one country, two systems" is a sham when it actually isn't.
The real bottom line here: As long as you can make it back to HK then you are above the law in Macau/mainland China/Taiwan.
That should be mentioned more often.
Forced opium trade, war, forcibly seizing foreign territory do seem like mistakes.
HK's retrocession to China was the right thing to do.
Unfortunately it seems that it is very hard for Britain to get over its lost Empire. They should really move on.
How a comment is received tells you a lot about the audience... Case in point: Your replies to my comments. It's a shame, really.
I think the underlying assumption in those comparisons is that Bitcoin is essentially useless.
So while Hamburg produces CO2 because of all the people and economic activity going there, Bitcoin produces the same amount for no actual benefits. In that case the comparison does illustrate the amount of waste.
Now, on the other hand if you're of the opinion that Bitcoin is something of value that makes a positive difference and produces something useful then the comparison does look random and nonsensical.
This is a flamebait comment, frankly, and unsubstantive comments are banned on HN.
Nepal has never been under Chinese rule and has never been claimed by China. Tibet was part of the Chinese empire before breaking away with the very interested help of the Brits, who did try to invade Nepal as well.
Learning to speak mandarin is not difficult and arguably the grammar is simpler than in English. Learning to read and write is difficult because of the quantity but characters are highly structured. It's interesting and I don't see what there should be any "resistance" from the students.
Nepal has a border with China, it does seem like a good idea to teach Chinese in schools. Like it makes sense for China to promote this.
The state of the media when this anecdote from a remote country makes headlines all over the place... With the usual suggestions of sinister motives.
The Economist is one of the most serious source in the business.
And yes, this is factual and does not come from the Economist: https://www.bbc.co.uk/news/uk-england-london-48470623
Lastly, I can only applaud Taiwan for standing against this bill in their own way by refusing to use it even if it were passed.
It's difficult to see what's commendable in effectively approving that people may evade Taiwanese justice by hiding in HK just for the sake scoring PR points against the mainland at a time when elections are coming up.
This is the worst level of populism, frankly, and transparently insincere.
It may actually backfire because that bill was partly brought forward because of the outrage caused by doing exactly that (evading Taiwanese justice by fleeing to HK).
They cannot have an official public stance on a matter of HK law.
The ambassador's comment was the only thing he could have said, really. I.e. that it is not for the central government to draft HK legislation.
The Chinese government does not like "waves". They probably don't want such waves even more at the moment.
It's not a question of supporting the bill but of question of supporting the HK government despite the unrest it will create.
The Chinese government may conclude (and may have concluded) that at the moment there are much more pressing problems and that they could do without riots in HK.