skysight-inc/HackerNews huggingface dataset:
This is really not an introduction to CMake. It is more like a collection of the author's opinions about CMake, barely categorised into sections and some quite contentious.

An introduction would be example driven, starting with a very short but complete example:

cmake_minimum_required(VERSION 3.1)
project(FooAndBar)
add_executable(Foo foo.cpp)
add_executable(Bar bar.cpp)

It would explain projects and targets (noting the different meaning of “project” to some IDEs including Visual Studio: project<->solution and target<->project). Then you would progressively build from there. Start by adding a dependency such as protobuf to show find_package() and target_link_libraries(), showing both the new protobuf::libprotobuf target dependency and the old-style ${Protobuf_INCLUDE_DIRS} and ${Protobuf_LIBRARIES} variables. Then make some shared code between your two executables into your own library, discussing shared vs static. I would not even mention variables until after this point (even though ${Protobuf_INCLUDE_DIRS} already is a variable).

In other words, an introduction should be top-down and pedagogical. This is the exact opposite of that: picking through a CMakeLists.txt from the bottom up, one line at a time, before you even know what the point of it is.

Perhaps I misread the title: I read it as “introduction to CMake [but using modern techniques]”, but maybe it’s “introduction to the modern bits of CMake [assuming you already know the old stuff of CMake]”. But even that could be example driven, admittedly with more effort: start with an old crusty CMakeLists.txt with plenty of bad habits and make it better one step at a time. Or have lots of little CMakeLists.txt with one bad habit at a time, and fix each of those.

I am not convinced by some of the recommendations it makes either, although I think there will always be some disagreement about some of these things. I have already given my view on the “cmake_policy” atrocity (which is the very first thing in “Introduction to the basics”!) in another comment here. And in the examples there are workarounds for old versions of CMake that don’t have targets for e.g. find_package(boost) by creating interface targets using the old _LIBRARIES and _INCLUDE_DIR variables. These are very neat but not very accessible to CMake beginners. It would be much simpler to put up with using the old variables, or commit to increasing your minimum supported CMake and forget them entirely.
Something I wonder is if changing the rules around money could help align the short term incentives with long term outcomes.

So we'd keep the "decentralized resource allocation" part of capitalism, but with hopefully better sustainability...
It was very politically incorrect to practice (or worse, proselytise) Roman Catholicism.
Odd to post something you haven't made as "Show HN".
And then Facebook starts offering your “daddy” account to your family in the “people you may know category” because it sees that you hang out with them in the same location
Building a Peg Solitaire Game
My experience entirely! As a science and engineering student I was drawn to the rules, laws and preciseness (precision?) of the STEM subjects. As I got into the 50's I began to take delight in European history and now I can't get enough of it. Yes, it takes a while to realize that we should exult in the 'crooked timber of humanity'.
And even after it's 'short life', it just breaks down into a less potent greenhouse gas.
That is a good point, primarily because it would make staying outdoors dangerous in a number of additional places.

For farming, I'm not sure it's that clear. Many of these studies only consider the negative impacts. Obviously, many places would be left arid. But 7-8 temperature increase, along with increased rainfall (evaporated water has to come down somewhere), will massively increase the farming potential in places like Siberia, inland China and Canada. Increased rainfall can also potentially lead to absurd-sounding things such as rice farms in present-day Sahara.

Finally, as you alluded to, aquatic farming has a huge potential.

We are beyond the point where food production has to be local. As long as there is enough food globally, economically prosperous areas can buy the food they need.

Also, keep in mind that when talking about a 4 degree increase, it is assumed to happen over several centuries. At the present rate of technologial development, it is impossible to say what impact it would have, as food production 200 years in the future is likely to be as different from today as it was 200 years in the past.

Still, I absolutely think that at 4 degrees (at least if it happens within 200 years), the results would be a major catastrophy.

Provided that we haven't been already wiped out (or domesticated) by runaway AI's or nuclear war, of course. (Both of which concern me more over the next 200 years)
What I take away from this list is the huge difference between pay in the bay area and pay outside of it. The gap is staggering. People with 5 years experience (and presumably a great education) earning 300k$, whilst most people outside of SF earn close to 100$k (even with 19!!! years of experience).

At the same time I also wouldn't take this sample as representative, as the people providing their (anonymous) salary could be either lying or self-selecting(i.e. more people with high salaries report their income, or viceversa)
Kubernetes vs. Docker Swarm: What’s the Difference? – The New Stack
You can't have multiple Facebook accounts. That's an offense that gets you banned if they figure it out.
My Favorite Free Resources for New Programmers
Dude be quiet you’re gonna wake the Normies up to knowledge that really won’t be useful to them and will only make them angry

Of course you’re correct but SSSHHH bro!!
I think it's an easy way for wealthy men to date(sex)-up.
Not hurtling toward the sun, but payloads traveling up the space elevator would slow the Earth's rotation (the 24 hour daily rotation about the Earth's axis) in the same way an ice skater spins slower when they spread their arms.

When the payload detaches from the elevator, the angular momentum of the Earth about the sun does decrease (some of the AM goes with the payload) but the mass of the Earth also decreases, and the angular velocity of the Earth about the Sun doesn't change.
Bitbucket which combines Trello, Pipelines, Deployment Management and Source Control built in.
7 is the largest prime followed by a cubic number
as long as a central AI controlling it doesn't deem the armed civilians to be a threat.
As you and neighbour inferred, I had not know of this. Thanks.
1. BJP income rose after demonetisation. Parties don't pay taxes but file return for exemptions, expenses, etc. You don't even have to reveal the sources.
https://www.dailyo.in/politics/demonetisation-noteban-party-...

2. If a party already knew that demonetisation is coming, it could have acted accordingly.
https://www.financialexpress.com/india-news/demonetisation-b...

3. Ruling party had an advantage on getting money, organisational structure, advertisement, etc, etc. Many vendors don't accept checks but real currency.
Someone come up with a „brilliant” idea, someone else who doesn’t care implements it. That’s how usually short-lived, standard-breaking solutions are created. I’m seeing more and more often on many websites an ad in this „creatively revealing” image.
Gmail like pretty much every other providers offers to manage custom domains. You point your mx entries to them, you setup the mailbox and aliases on the google side, and you have a emails in yourdomain.com running using gmail behind the scene. Just google "gmail custom domain".
New mobile Chrome feature would disable scripts on slow connections
demonetization is good. after that incident, digital transactions are increased and Little bit black money got burned.
So according to you there is no possible solution for people living in the zomia[1] despite people in the zomia actually living in a sustainable way.

Governements is something we could do without and probably fare much better, the logic is simple when you do not relinquish your sovereignity to a hierachy of power then you are in power and feel responsible of your own life so you are an actor of your own life and consequences instead of being a passive consumer, consuming things to try to alleviate fearful living of an unfilfilling life. Happy and fulfilled people do not consume.

[1]: https://en.wikipedia.org/wiki/Zomia_%28geography%29
As always, you get exactly what you are measuring.

I've experienced sales people who oversold more or less everything. They weren't measured on whether or not what they sold could be delivered.

Instead, product teams had to run around as if they were on fire, because suddenly the CEO got involved and made it a "company wide priority".

I hate KPI's / commission structures, and I have never seen it working. Not where the work required more than half a brain cell.

I guess my great hatred for KPI's is that they are often vanity metrics. What you want to measure is net contribution to the bottom line, and that is near well impossible. So we end up measuring what we can, and Goodheart's law [0] being what it is, get absolutely no value out of it

[0] - https://en.wikipedia.org/wiki/Goodhart%27s_law

Bonus info: I've had work, where I did not have KPI's, but where I could destroy the KPI's for other teams, and sometimes involuntarily did.
opening links, comment in an other tab.
Good Riddance. Let's hope the US follows suit.

On a side note, I'm really happy with recent decisions/changes coming from the EU. The GDPR, this, standing up to big corps, etc...

But I do wish they communicated with their citizens better. Like, A LOT better. I live here and I had no idea that the survey was happening. It didn't even get 1% participation.
Denied Access to an Lounge.A 64-Year-Old Woman Wrote the Teen a Brilliant Note
Adult themes written, and NSFW images are two different things.
oh you totally can. They just don't want everyone doing it. I have at least three.
> Scientists and technologists that have been warning us that no technological solution will be able to address the climate change consequences, and they've been telling us for several decades which makes it weird that people still do not know about this.

Most scientists that I know would not make absolute statements like this. What the WOULD say, is that we should not rely on this happening.

When Thomas Malthus made his predictions 200 years ago, he was right about his core prediction (population increase), but underestimated technological growth.

The truth is that we have almost no clue about what technological revolutions will happen over the next 50-200 years, if any, and how they will impact us.
The US has a high footprint per capita, but its population is relatively small.

Frankly I think the more concerning nations would be China and India. India still has something like 30% of its population, which roughly equates the entirety of the US, living without electricity. India's top priority is development and bringing their people out of poverty, and they have abundant coal to do it cheaply.

You can beat up the US all you want, but the multiplier is important and a place like India can easily move the global needle via the slightest improvements to their average quality of life.

I'm hopeful that China uses its position of control over how everything is being made and resulting prosperity to pivot from fossil fuels.

Russia's future in the warmer planet is especially interesting. Imagine what impact Siberia becoming arable land would have on their place in the world.
Emissions covered by the scheme are down from 2400 Mt in 2005 to 1800Mt in 2017.

https://www.euractiv.com/wp-content/uploads/sites/2/2018/04/...

China is only partially on board in terms of concerted action, but they are spending the most amount of money of any country on green energy. You could characterize it as accelerating and turning at the same time. In a way, scaling up and cutting the cost of solar and electric vehicles is arguably the most important thing at the moment, because it increases the degree and speed at which they undercut the current technology. We need to push as many boulders over the top of hills over the next 5-10 years, so that big emissions savings can occur through blunt economics even without pricing in carbon.

A lot of the US is also on board, notably California which on its own is one of the worlds largest economies. And on top of that a lot of important institutions, particularly academic. There is enough to be making progress with. Even the parts of the US which actively refuse to do anything will get dragged along when products are made cheaper.
Or worse scenario: an employer, knowing about potential consequences, would be more interested in lowering salaries of high payed workers to avoid low payed ones leaving the job or losing productivity ("Why should I try harder?").
Much easier to lose and misplace stuff if it's spread all over.
I have enough money that ~$3-7k/month doesn't make a large difference. I've never bought anything additional for them unless you count paying for dinner and drinks and Ubers.

Youth is definitely a top draw. You might have seen this study: https://www.nytimes.com/2018/08/15/style/dating-apps-online-... - men of all ages send most messages to 18-19 year-olds. But there are other factors: not my experience but some men have fetishes they want to fulfill or they want to cheat. I'm actually doing well enough on Tinder to meet a new, above average girl every day in a big city. But I'm not in the social circles that would allow me to meet top current models or ballet dancers... But this makes it possible.

It's just my impression that could be wrong but I'm 90%+ sure that none of the girls I was seeing had other "clients." I'm picky and I avoid girls who seem like "party girls" and have no job or don't go to school. Also, only one of them had a previous arrangement and all of them wanted to have chemistry first. They describe most of the other men they met as weird and unattractive.

So I agree with you that you can't trust 80%+ of them if you care about not being just another client.
I'll share my own experience, since I started computer programming in 1982 (on a 6502 based computer called Oric-1), then worked in the game industry for 18 years.

What I remember from these early times:

1) we had only one television at home, so typing programs required to have access to the TV.
This is why I spend a lot of time analyzing programs BEFORE typing them, since I didn't have a lot of time to type them.
This probably taught me a lot !

2) I always wanted to improve the programs I typed, so I spent a lot of time optimizing them. This also proved useful later ;-)

3) Some programs included mysterious hexadecimal characters.
I tried to find some documentation about that.
It was difficult, because the information was scarce, and there was no Internet.
One day, I got an Aha!, and I discovered 6502 that day.
This was useful, since I did write quite a lot of games in 6502, and it got me my first job in the game industry in 1985.

4) In France, there was a beautiful newspaper called Hebdogiciel. It contained programs for all kinds of computers. I tried to convert these programs to my computer, and this also gave me pointers to handle conversion between Basics. My first job was about converting Basic programs between various computers (Thomson TO7 <> Exelvision).

5) everything was so new and exciting ! Nowadays, I don't feel this kind of excitement. Everything is so easy to put in place. At the time, we only had 48 to 64 kilobytes of memory.
Everything was a challenge. The computers were not designed to write games, but games were doable.
I can't speak for all of them, but generics do tend to add a bunch of rules to a language, and make it more complex than before.
How to Get Reviews on EBay
Lisp-Flavoured Erlang
$3k-7k per month. There was one exception at $10k/month but that involved threesomes.
LS Cache = Super Fast WP Hosting
I recently found a copy of the commodore 64 programming manual in a garage sale. Of course, I had to buy it.
Compared to the *nix paradigm with heaps and stacks, it's very, er, basic. The manual explains that you are just loading registers with instructions when you program. No Heap, No Stack, No memory management.
Photoshop 19.1.1 content-aware fill:
https://i.imgur.com/Y0OHzav.jpg
Heh. While it’s a bit silly in this case, your argument isn’t very solid.

Your ability to resist doing something you’re tempted to do is directly related to how easy it is to do. Try living with a bowl of M&M’s on your beside table, and see how easy it is to hold a diet compared to never buying the M&M’s in the first place.

So while putting your phone in a concrete box is a bit extreme, turning it off and putting it in a drawer is more likely to help you succeed in not checking it than just toggling a software button.
That is not exactly how SPF was meant to use.
If it fails email should be rejected not scored.
Disclaimer: I do the same as you.
I could not make out from the documentation - are there are GPIO pins as on the Raspberry Pi?
Not sure this kind of comparison is meaningful.

Many modern books when I read them, I'm immersed into the world that is created, sometimes not wanting them to end. Never felt like that with Shakespeare. Another book I think that highlights this difference is Voltaire's candide, such a fast paced fantastic story, but it doesn't draw you in. But a fast paced dan brown book tends to draw me in way more than Voltaire did. But Candide is a far far cleverer book I think with a lot of things to think about. Shakespeare seems similar, great storylines with fantastic prose but just doesn't draw you in the way modern book (or scripts) do, well at least not for me.

So expressiveness? the ability to convey meanings and feeling? Most any modern novelist can do this better than Shakespeare can (for me).
Before I read Tim Harford's excellent "50 things..." book [1] I had no idea how parchment was made. What struck me most was that to make books available to the general public, the invention of the printing press may have been less important than the (re)invention of paper: for a bible on parchment one needed 500 sheep!

[1]: http://timharford.com/books/50things/
No HDMI on this model, the larger 13 inch does have it though.
Do you know the fischertechnik toy line? It's a little bit like Lego technic (fischertechnik fans will hate me for this comment because fischertechnik appeared in 1964, while the first Lego technic was introduced only in 1977).

They have a programmable controller for their robotics models: 600MHz ARM CPU and 256MB DDR3 RAM. We are talking about a toy line here :)
Click though to product page, full specs are listed: http://vocore.io/v2.html

“Around 40” GPIO pins
Certified Translator in Dubai
Maybe science journalism has been iffy, and maybe some advocates have aimed to shock. But the fact remains that scientists have been talking for decades about what it's going to be like in 2050 or 2100 or whatever. And those projections haven't changed much. It's just that 2050 is no longer so far in the future.
Yes, I agree with your observation in part and full :) And probably it may be a net positive considering that UP was ruled by two family-owned extremely corrupt political parties...
While total angular momentum is certainly conserved in any rotationally invariant system (read: Earth + space elevator + objects traveling upwards + atmosphere), the situation only for an object traveling to space in the elevator is different:

Angular momentum is given by

L = I * ω

where I is the moment of inertia and ω is the angular velocity. Let's assume that we put the internet (https://m.youtube.com/watch?v=iDbyYGrswtg) into the elevator and ship it off to space. Let's also say that the internet has a mass m and is of negligible diameter compared to Earth's radius. Clearly, its angular velocity ω will stay constant, assuming that the space elevator was built perfectly straight and perpendicular to Earth. However, the internet's moment of inertia I = m r^2 will not stay the same but increase quadratically with its radial position r and its angular moment will thus have to increase, as well. If you take the initial radius to be Earth's radius (~6,300km) and the final radius to be the geostationary orbit (~36,000km), the quadratic dependence will give you an enormous difference in angular momentum which will have to be accounted for by some torque that we apply to the internet.

It doesn't matter where this torque comes from--for instance we could imagine the internet to have some kind of jet propulsion engine, where the emitted gas's angular momentum would exactly match the internet's change in angular momentum, so that total angular momentum is conserved.

Moreover, it could actually be a small torque, provided that we move the internet at a small velocity in the perpendicular direction. (Recall that the change in angular momentum is given by the integral of the torque over time, so the smaller we want the torque to be, the slower we have to move the internet and the longer it will take the internet to reach its final position.)

Now what happens if we don't provide said torque? Recall that I assumed earlier that the angular velocity ω of Earth and the elevator (and thus the internet) be constant. If we don't provide the mentioned torque, moving the internet upward will increase the moment of inertia of the system Earth + space elevator + internet due to more mass being located farther away from the axis of rotation. By conservation of angular momentum L = I ω, the entire system's angular velocity then has to decrease, similar to a figure skater stretching out her arms while rotating in order to slow down. All this assumes, however, that the space elevator's cable is completely rigid in the lateral direction and doesn't move under the effective torque it will feel as the internet moves upward. In practice, however, this will not be the case unless further measures are taken which counter the effective torque on the cable and keep the cable perfectly perpendicular to Earth. (Only then Earth's rotation will actually slow down under the backreaction.) This seems somewhat difficult to achieve, though, and I think the better way would indeed be to equip the internet with a jet propulsion engine which provides the necessary angular momentum.

[EDIT] Made the part about backreaction on Earth and stability of the space elevator a bit clearer.
Oh, so you mean GSuite, not Gmail. That severely restricts your freedom with the mailboxes and addresses you can have on your own domain.
What are the tools for analyzing your event data?
Hi Everyone today I would like to share some of the tools available out there to analyse your event data, hope this would help you to understand the pros/cons of the each tool.

https://blog.rakam.io/what-are-the-tools-for-analyzing-your-event-data-2359c0085e33