skysight-inc/HackerNews huggingface dataset:
Everyone has a different path, but frankly, I wouldn't recommend C++ as a first programming language. It's much easier to comprehend if you have some background in another language.

My three favorite C++ books are C++ Common Knowledge, Modern Effective C++, and Effective C++. Two of those predate C++11, but most of the advice is still applicable.

As for introductory texts, I guess there's: Accelerated C++, C++ Primer, Discovering Modern C++, A Tour of C++, and of course C++ Crash Course (the book under discussion).

I wouldn't get too hung up on "modern" C++. The vast majority of C++ programmers learned the old stuff (the vast majority of which is still valid), then caught up on the new stuff with Effective Modern C++, blog posts, etc. Just as it's useful to know C before you learn C++, it's useful to know old C++ before you learn modern C++.
The beauty of cash is that everyone knows "it's good" (ignoring counterfeiting for the moment). There's no "stop payment" on cash.

If I'm buying a car from a dealership, ACH/e-check or regular check is fine. If I'm buying a classic car or a boat from a private seller on a weekend, cash is still king. A dealership may prefer a check over cash, but a private seller who is on the fence about taking your semi-lowball offer is often somewhat motivated by seeing physical cash and imagining (even if subconsciously) having the cash and being done with the transaction.

Physical cash's non-recourse is a security problem for theft, of course.
>Perhaps if we'd never worried so much about the ozone hole, it'd be a lot bigger now.

Unless there was something else to stop the emission of CFCs, it would be huge by now, no question!

If anyone wants to know about the current state of the ozone hole, here's the newest report:

https://ozone.unep.org/sites/default/files/2019-05/SAP-2018-...

I like the plots on ES.24 that show the effect the regulations have on global warming (the older replacement coolants were powerful greenhouse gases). See that curve? It's going down. If the regulations are followed (and we have good precedent that they will be) we've been spared several centi-degree in warming by 2100.

This is the only really positive news I've heard so far in the context.
That's a good question and one Canada and EU are asking themselves.

https://globalnews.ca/news/5072383/canada-eu-reviewing-certi...

> Canada and the European Union say they are re-examining the approval it gave Boeing 737 MAX jets, following reports of a U.S. investigation into the Federal Aviation Administration certification of the aircraft.
> FYI, my personal environment footprint is much smaller than the average in EU/USA, but we are too few to make an impact and others won't listen/change.

What leaves me hopeless is that any lifestyle restrictions Americans might make are being vastly outpaced by population growth in countries that are doing much less (personally and nationally) than the US to reduce greenhouse gas emissions.
>But don't try to introduce Lisp into your company, unless you are a cofounder of that company. It's a career limiting move.

I think this is correct, unfortunately, due to the place in history lisp occupied in the AI winter. As a result, it's looked upon as a failure, and people tend to dissociate themselves from such things, even when there is a body of evidence to the contrary demonstrating its efficacy.

Is that what you were alluding to or am I being too simplistic? I'm just trying to expand on your remark. :-)
Growing up in the 80s I lived in a middle class area and many families had a 2000 sq ft house and a summer home as well. I'm not sure how things were in the 60s, but I also think there were fewer middle class people then. The article is profiling some of the children of the upper middle class, who were already living in Manhattan before school and who either are surprised that they don't have the same purchasing power or unaware that their parents may have been in the same position at the same point in their careers. It's hard to tell because the article isn't putting anything in perspective.
Families are hiring screen consult­ants to help raise their kids ‘phone-free’
>> “What is the purpose of the information feather?”

Hey, I think I know that one. The name sounds wrong but it's definitely referring to a device by which one enters virtual reality:

https://en.wikipedia.org/wiki/Vurt
Just build it in Switzerland:

"3. The Requested State may deny extradition for acts which:
(a) violate provisions of law relating exclusively to currency policy, trade
policy, or economic policy; " [1]

[1] http://www.mcnabbassociates.com/Switzerland%20International%...
Some of the most expensive places in London are outside Zone 1 (Hampstead, Richmond, Kensington, West Brompton, Wimbledon, etc.). Also creating a high density of social housing aka ghettos is not desirable for any city in the world and those who have it have big problems because of it. London has huge inequality problems, but the fact that you can have a millionaires road only 5 minutes away from a council estate has the advantage that social issues are not just being ignored and brushed under the carpet by forcing people as far away as possible, it creates more diverse and accepting communities, it ensures that people from all different fortunes have access to nice parks, good transport links (which are even more important for people who are on low income), etc.
How to Hire (2016)
My issue with removing cash is that in a way you are moving from public money (printed by the government) which you are free to use as you want to a private money issued by banks who generally have lots of ability to charge you money for payments and block your account.

Banks in Canada have been fighting for removal of cash and cheques (which are regulated in terms of fees).
Hong Kong’s quiet and determined ‘hard hat revolution’
That is surprising. I open log files all the time with several million lines without issue. If you are having issues try running it in fundamental-mode.
> If you think their work is in error, show how.

That's now how it works. If they put together a big, complicated cost model, it's up to them to provide evidence it's valid. Otherwise, it's just an exercise in "believe us, we're honest". For example, they could apply the same model to fission reactors and show it accurately predicts what they end up costing. Oddly, I don't recall fusion cost modelers ever doing that. Hell, I don't recall fission cost models being terribly accurate.

You like this result because it's telling you what you want to hear, not because it's intrisically believable. More motivated reasoning.
Advocating civil disobedience seems perilously close to advocating incoherence, when it's coherent actionable efforts that might help, no?
One of the things that was very useful for me was that I got my dog while travelling, and he spent the first couple years of his life in different countries. The whole time I was keenly aware of the difficulties of picking up language, and so I would talk to him like I wanted someone to talk to me in Italian/Spanish/German/Czech...slowly, in simple phrases, using words I know in the present tense.

Just pretend you got picked up by aliens who only communicate via flashing lights. After months you might be able to associate certain light combinations and color are associated with food, with being allowed to use the bathroom, with types of interaction, and if you were really smart you might be able to figure out verbs and simple sentence structure, but those lights need to be flashing slowly and distinctly, and if the aliens start using the same light to mean two different things then you're going to get screwed up.
For another species to grasp our language is an incredible thing, something no human has ever done, you have to keep things incredibly simple and teach them as if you were teaching language, not just saying what comes into your head.

My dog is frequently confused when he eaves drops on conversations and hears some one talk, for instance, about a long drive to the beach last year, and he waits at the door excited to go. And I have to think why is he waiting at the door, does have to pee? why is he so excited?
Probably because they don't want people talking cross-purposes or confusing their proposals with what is implemented in other languages, as they call out in the intro:

"As the term generic is widely used in the Go community, we will use it below as a shorthand to mean a function or type that takes type parameters. Don't confuse the term generic as used in this design with the same term in other languages like C++, C#, Java, or Rust; they have similarities but are not the same."
> it still doesn't prove the existence of God

You mean the God of your religion. If Goedel believed his argument that would make him a kind of deist.

> Even if Goedel's argument didn't have logical jumps based on non-essential assumptions

Goedel's argument is tight given the axioms, though. It's been formally verified.

The God that you mention that may have contradictory properties isn't that interesting for logical analysis, since it's likely that logicians only want to consider "Gods" whose existence do not render useless their logical system (contradiction leads to the principle of explosion). Hence you won't find primarily logical works discussing such a God.

> which satisfies Goedel's axioms

to be pedantic, his "God" doesn't satisfy Goedel's axioms, his "God" satisfies his definition of "God". Then the argument has that you accept its existence once you accept the axioms of the argument.

> Well, who (apart from Goedel himself) said that those are the properties of God, and not others?

Well, in most cultures, you call a kind of sufficiently magical or spiritual or ineffable entity a god. Nobody has a monopoly on the word "God", and many cultures use the word to refer to entities unrecognizable as the one you call God.
>Here, there is neither risk nor reward.

I consider being wrong or right risk and reward within themselves. Most others act in such a way that seems to agree even if they don't conceptualize such a thought.

>That means the question itself is pointless.

How does one determine what does and doesn't have a point? If free will does exist then we can modify our government based on the notion it does exist if we think it does. If it does exist and we think it does not, then such modifications might be incorrect. That alone is enough for us to determine if there is a point to the question, even outside of any more abstract interest in the question.

Consider someone who crashes a car into a person because they didn't like how the other person looked at them and someone else who crashes a car into a person because of an epileptic seizure.

Should they be treated the same? If free will does exist, then the actions of the first are consider a bad choice while the actions of the second are deemed an illness beyond control, and while there needs to be actions to safeguard against either case from happening again the liability of the second individual is reduced (though not as much if they knew of the risk and choose to drive anyways).

But if free will doesn't exist, then why is the first guy any more responsible for the wreck than the second guy, and why should we even take action?
Will they start blocking VPN access ;(
Depends on the location. In cities that have trams, metro and electric trains, the infrastructure shouldn't be that far out.
Russia is pouring money into Crimea, including building a new bridge, and is mass arresting protesters in Moscow. That tactic won't work.
Facebook intends to wiretap encrypted chats
Same here, I am a dev and it's not bad at all, but in reality if working for money wasn't necessary I could read, make music, play games and have fun with my family. We are frugal anyway, 60% of what I make is going towards buying real estate to rent out for a passive income and then I will be able to indulge in the above while living off it.
I'm having trouble envisaging how this would work?

What might work though is what I'm going to call Pink Floyd Concentrated Solar: collimate light from the sun over a large area into a beam, then run that beam through a prism. That would allow the use of solar cells with different efficiency bands.

(I doubt this would make overall sense given the cost and size of optics, but it's fun to think about)
I think the complexity / length is a good indication as to why there's resistance to adding generics to Go; frequently, Java generics are cited since (and this is from the top of my head) it almost doubled the size of both the Java spec and its implementations (compiler, runtime). That is a lot of complexity to manage, and runs counter to what I believe is the current mindset of the Go language.

And in Java it didn't stop there; the people (person?) behind generics moved on to create Scala, a language with even more features and a notoriously complicated 25-step compilation process (see https://typelevel.org/scala/docs/phases.html) (compare with Java's six phases https://www.javatpoint.com/compiler-phases and Go's... three? Not sure, I found https://getstream.io/blog/how-a-go-program-compiles-down-to-...).

edit: Actually most of my knowledge comes from https://news.ycombinator.com/item?id=9622417, I had bookmarked it.
It's unfortunately hard to separate good and honest foreigners from those that would prefer to destroy other nation states.
Our ideas about what early movies looked like are all wrong
> Maybe I'm wrong but it feels a bit simpler than people being evil or malevolent. It's more like squeezing a juice out of a lemon: at first, it only requires light pressure to get the juice, but as you want more and more juice, your grip must get increasingly tighter.

It's like the idea of "pot odds" in poker: Boeing here wasn't just looking at the marginal return on investment, it was looking at the cost of essentially deprecating an entire line of aircraft. It would lose value from its entire "installed base" of customers, as competition from Airbus would become more viable.

In economic terms, the marginal value of the investment was probably close to nil, but it protected profitable infra-marginal investments. Interestingly, this seems like a problem that large companies face far more often than startups, which is perhaps why conventional wisdom thinks the latter are far more 'agile'.
They added the option to make private repos public so you can back it up. But again, you can’t delete the now public repo.
https://en.wikipedia.org/wiki/Texas_Revolution
“Reader” monad through async/await in C#
This thread is a useful reminder to US citizens that if you haven’t registered to vote, its a great idea to do so. The margins of victory in 2016 were small enough (in swing states) that a mobilized hackernews community could have made the difference.
People who suffered at the hands of Saddam's regime would disagree. There was jubilation in the streets of Iraq when Saddam was driven out of power.
Whatever nuts I have on hand.

The nuts are the only fat I put in, which adds incredible texture and flavor, so I add them liberally. If I'm in a place where avocados grow, I'll use them, and they taste amazing.

I haven't eaten ice cream in years. I grew up eating tons of it and couldn't stop myself from always having some in my fridge through graduate school, maybe into my 40s, but I've lost the taste for foods where the main pleasure comes from added salt, sugar, or fat. There is a Van Leeuwen across the street from me, often with a line down the block, but it doesn't register as food for me. Meanwhile, I walk miles to pick mulberries, juneberries, raspberries, and blueberries, knowing where some grow wild, even after I've eaten pounds already. OMG, the burst of the fruit juice and all its flavor is like a religious experience.
Have you ever lived in the US?
Hi, OP here.

Well, to be embarrassingly honest... We suck at pricing. We were offering "unlimited" plans to everyone until recently. And the "impressive names" like you mention, well, they mostly pay us around $250 a month - which used to be our "Enterprise" pricing plan with unlimited everything (users, storage, agents etc.)

So I guess the real answer is - we suck at positioning and we suck at marketing. As the result - profits were REALLY low (Lesson learned - don't compete on pricing).

P.S. Couple of years ago I met Thomas from "FE International" at some conference, really experienced guy, who told me "dude, this is crazy, dump the unlimited plan like right now" so we did. So I guess technically we can afford a PaaS now...
We're seeing more and more of these here in Norway now. My garbage is picked up by an electric truck :)

https://pbs.twimg.com/media/De7IXxoW4AASSm5.jpg

The postal service here got 4-5 tiers of electric vehicles too, from large vans, to tiny trucks, to "golf-carts", to electric cargo trikes, to a sidewalk friendly electric trolly.
As usual, everyone here will start their "I'm better than this" comments.

If you've ever used a code dependency, you are a target for malicious code. That's just how it is.

In this case, using small packages like this helps in...

1. Reliability - these packages are typically 100% unit tested

2. Convenience

3. Reduce codebase size. I can't imagine having to copy paste every little small function into a mega utils file.
Ask HN: Denial-of-Service in Code Reviews?
It's often the case that during code reviews, a minor request to clarify/change something will be met with another request asking the reviewer themselves to write a standard document clearly specifying what they want. That makes a lot of sense but guidelines and linters can't cover 100% of code reviews (or we wouldn't need code reviews at all).

I'm frustrated by this and I think it's a form of bullying, where the person being reviewed is applying some of sort of denial-of-service strategy and making the cost of work much higher for the reviewer (adding a comment to the code vs writing a long document). Sometimes docs are usually terrible and just minor improvements go a long way too.

I remember reading an article about this but I can't find it anywhere. It was listing all the ways that a developer can bully others at work. Any clues?
As far as I know, SourceHut[1] is still available everywhere.

[1] https://sourcehut.org/

EDIT: I stand corrected.
That's the will part in "will look like".

Expect the procedure to change, a lot.
The article also says “Millennials buying their first home today are likely to pay 39% more than baby boomers who bought their first home in the 1980s”.

Real estate inflation has been dramatic over the last several decades. If there were really a glut of old people attempting to offload their paid-off homes on the market, the prices might drop to more historically normal levels...

I’m not sure how the statistics actually work out but if single or married people are staying in oversized homes for longer without kids, it does seem like that could affect the supply of homes for families with children. I know the UK had a controversy over a “bedroom tax” that tried to address this issue.
Yes, some of it is. See previous thread...

https://news.ycombinator.com/item?id=20302844
Hmm, looks like I misunderstood the figure - https://agileenergy.net/uk-net-zero-transition-to-cost-1-tri...

So > £1 trillion by 2050, not sure if that includes assumptions about cost reductions in renewables by then though so I'd assume compressing the timescale increases the estimate.

Either way it needs doing and it would seem that 2050 is going to be too late.
> Making an effort to recruit the brightest minds means first of all paying them like your competitors are paying. Giving them similar perks.

Are compensation and perks the only factor in attracting talent? Are they a prerequisite? Are you able to substantiate this belief with facts?

> Giving them challenging things to work on.

Can you substantiate your claim that no one at Microsoft has interesting things to work on lately? Can you at least link to some anecdotal stories with a bit of substance to them?

> Giving them good promotion paths within the company. Making the company engineering-driven rather than middle-manager driven. Google and Facebook do all of them. Microsoft currently do none.

Again, do you have any evidence other than your opinion?

> Also, you haven't addressed why you think even if my assertion is true how Microsoft's so called revival having nothing to do with tech isn't true.

Azure. Their revenue increasingly comes from Azure. It is new. It is technology.
This whole debate is like a doc telling a lung cancer patient who has recently started coughing blood to cut out smoking, but he's saying "but I need to smoke!"...
Apple admits contractors hear some user interactions with Siri
And some color processes are basically impossible to do these days. RIP Kodachrome.
They’re not the same thing. Contracts are a means to define constraints for parameterized types.
Here it is:
https://www.theregister.co.uk/2019/07/27/alibaba_risc_v_chip...
Why the swearword filter ? Already got some toxic conversations here ?
Sleeping Tesla driver ploughed into 11 traffic cones on a motorway
Startling Study Reveals Majority of U.S. Packaged Food Is Ultra-Processed
> We endeavor to keep these as stable as possible.

That sounds more like best-effort.
You're running a business with somebodies charity - that's a no go. If I give you $50 to buy food and you run a lemonade stand with $25 of it, then you've abused my charity.

Now, it might be that I shouldn't have given you the $50, or that we should have discussed giving you a business loan instead - those things are fine. There's nothing fundamentally bad about running a lemonade stand. You simply can't run a lemonade stand with charity earmarked for not-lemonade-stands.
Hey, being able to freely access any information is also dangerous. Try searching for information on knives, swords or drugs on a new SIM card in the UK. Can't do it (even with a card and bank account on file), God forbid you accidentally buy a knife or find out how a prescription drug interacts with alcohol or something. You need to phone daddy ISP and confirm your age, using the same card that they have on file.
> The problem is that ownership, and even names of owners change all the time.

If ownership changes, I want to know. It's perfectly fine to cause a little bit of breakage there that is easily fixed in a semi-automated, supervised way.

If a name changes, there could just be an alias, unless there's literally a trademark dispute underway, in which case the ownership-change process can be applied.

> When you have very large transitive dependency graphs, the result is constant, pointless churn.

A very large transitive dependency graph is a terrible thing to have. It shouldn't be made convenient to have it. Your package manager should scold you for it!

In all seriousness, if you have such a huge graph, then the amount of churn caused by package updates will likely be the dominating factor, not the change of ownership.
As much as a like python, it is not as powerful as c++. Hence the reason you have to use cython/cpython to improve performance.
Second this. The parenthesis look abhorrent because they are foreign, But that is where the real power of lisp resides.
I didn‘t know what the US-acronym CSA stands for. Looked it up and assume it’s Community Supported Agriculture?
Your point about the Rav 4 sales being US only is reasonable. I've tried looking for global sales, I've been unsuccessful so far.

Apparently the biggest selling 'car' was the Ford F series, so not even one model and that sold just over a million.

https://www.motoringresearch.com/car-news/worlds-best-sellin...

Edit: Biggest selling in the world, in 2018
Is there an easy to understand guide for SaaS businesses to be compliant with these specific sanctions?