Hacker Newsnew | past | comments | ask | show | jobs | submit | gauddasa's commentslogin

If it's too long to read then you can safely skip to "C++20 Modules" section near the end of the article.


Assuming you are using C++20, which as of now, few codebases use.

As work, now, we mostly use C++11 and C++14, some projects are C++17, but I am not aware of a single C++20 project, I think all active projects that are C++03 or below have been migrated to something more recent.

Just a data point.


Unreal Engine actually switched to C++20 with their next release (preview available).

I was quite surprised to read this in their roadmap, as Unreal's codebase is quite massive and also uses some custom build tools.


I upvoted this post and your comment, that is equivalent to upvoting the post twice.


From problems that require recognition of patters, whether in images or sounds, a non-linear function represented through neural networks and trained through gradient descent just suffices to produce smoothly distributed fuzzy classification that just works.

This setup is not a good prior for anything that requires more precise solution.


Anyone who has worked in Python or Go would tell you that it's not the right analogy. Opinionated rigid solutions kill innovation and this analogy is rather quite innovative!


Why does the page claim "no external dependencies" as the very first feature, which is utterly false given it requires 26 additional libraries to be installed first:

libasound2-dev libegl-dev libgl-dev libgl1-mesa-dev libgles-dev libgles1 libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libglx-dev libopengl-dev libpthread-stubs0-dev libx11-dev libxau-dev libxcb1-dev libxcursor-dev libxdmcp-dev libxext-dev libxfixes-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev x11proto-dev xorg-sgml-doctools xtrans-dev


I was always in the impression that morality evolves. Hearing first time that it can increase or decrease because I always knew different eras in human history had their own problems. It is hard to compare ancient problems with modern problems.


What you wanted to describe is already very clearly mentioned in one small paragraph on Wikipedia.

https://en.wikipedia.org/wiki/Two%27s_complement#Why_it_work...


To be honest, I can understand why it's not very clear to most people. I think you need a picture instead of the paragraph.

> Given a set of all possible N-bit values,

I think they lost most readers at this point with the pseudo-mathematical language. Why think of a set (when the values are ordered)? What are bit values and what's N? ("combinations of N bits" or "N-bit binary values" would be clearer.)

> we can assign the lower (by the binary value) half to be the integers from 0 to (2**(N − 1) − 1) inclusive

Or here: what does it mean to assing the "N-bit values" to be integers, what is a lower half of a set, "N-bit values by the binary value"? Where does the expression (2**(N-1)-1) come from?


I'm sure a fuzzy inference system is being trained in the background based on visitors' responses.


It's bad idea to generalize it. Just surround yourself with children, old people and pets and experience loneliness vanish into thin air. It really depends on type of crowd around you.


I got red=12, blue=20 and magenta=9283. Also, yellow=33 and orange=93, green=95 and pink=389 if that might help. The word was "flag" but good luck if you are from Nigeria, Pakistan, Brazil, Libya or Mexico.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: