HN user

hackingthenews

212 karma
Posts0
Comments47
View on HN
No posts found.

This is explained in the talk he gave. One of the benefits is that with new syntax the semantics can change without breaking backward compatibility, e.g. [[nodiscard]] can become default for all functions written in the new style.

My impression from reading about chess engines online is that drawing is far simpler if that is your explicit goal. Several comments online on different websites claims that they are able to end games in draws against stockfish.

You are correct of course.

The 3 children per woman limit is still the smallest number that accommodates for the 2.1 average required for replacement level. To achieve equilibrium and avoid rapid growth the limit must be set to 3 and then hope that the average will be drawn down enough by the women who can't/won't have children for various reasons.

Not advocating for this policy, and I am not considering how well it works in practice and the morality. This is just a reductionist model.

It could also be that they see no scenario ahead where they want the average number of children per woman to be above 3. I don't think China wants back to exponential growth ever. They probably want to find their equilibrium.

Consider if something unlikely happens that completely changes the dynamic of families, e.g. a cultural shift where women stay more at home and have more babies. If the average family started having more than 3 children, they would consider bringing back this system, which could cause big social problems, as it costs more social capital to bring back an unpopular system than to simply maintain it.

Concurrency/Parallelism is the number one reason I move a project from Python to any other language. It's one the few areas where Python can't provide a gracious frontend or an acceptable runtime, but it is very impressive how much the community is willing to do to mitigate the challenges.

Kind of ironic that I would agree with you. The reason I still wrote it is that my opinion just recently changed from liking C++ but understanding the pitfalls to a more pragmatic this is not worth the time or effort.

But that is not inherently a bad thing.

If we look at programming languages as tools, it makes sense for them to get out of date and new ones taking their place, with all the lessons learned.

So its possible that programming languages like C++ that keeps extending their own life through adding features (while keeping weaknesses), will ultimately cost the community/industry more in the long run.

Even as a C++ programmer with too much spare time, it has become obvious that learning and using all of C++ is beyond impractical. To the point where I find that my C++ code more than ever before looks like C.

Nowadays I am using C++ mainly for the high-performance libraries, and only if I can't archive the same in jit-ed python, cython or rust.

The Java strategy of being very conservative about what you add to the frontend would have done C++ a lot of good after C++11 (or even before that).

I can see how solving for perfect cooperation can leave people irritated. That's why most algorithms used in OSs takes latency, fairness etc. into account.

Algorithms in between might work better in real life, e.g. people routes can be adjusted slightly to make paths better overall, but no adjustment (away from greedy) is made that the average pilot would find overly unfair or unpractical.

What Apple and Google is doing is in many ways effectively price control and inhibits free market dynamics.

For example Apple demand that app developers price their apps in the app store similar to the same service in other stores (website, Google play store, etc), even though they are taking a huge 30% cut. So Spotify can't price their product 30% more expensive in the app store, which makes the app store appear competitive and effectively kills incentives for the app store to reduce their fees, while devaluing products sold through the app store.

I do agree with you though about the political side of the matter.

Anyone else have trouble with the page on firefox? I get a giant "kowainik" written on the forefront of the page, and I don't know how to close it.

Thanks!

I haven't really experienced the image feature, as I used Scheme. It doesn't sound like it would be consequential to how I program, but that might just be my ignorance of it.

My experience with the macro stuff is that they enable in-house implementation of language features like lazy evaluation (not possible in other languages without a lot of extra code), which we implemented during the course. But implementing features like that is not really something I need to do for my everyday programming.

Can someone direct me to some code where I can see the full potential of Lisp?

I have programmed in Scheme before while taking a course using SICP. Final project was a Scheme interpreter. But I didn't have any epiphany/awakening like many others seems to have.