StefanSalewski / NimProgrammingBook

Computer Programming with the Nim Programming Language -- A gentle Introduction
263 stars 19 forks source link

Wrong word #23

Open iaBasilAjith opened 1 year ago

iaBasilAjith commented 1 year ago

Part 1 Analog and Digital:

But quantum mechanics has taught us that many quantities in our world really have a granularity. Physically, quantities like energy or momentum are indeed multiplies of the tiny Planck constant.

The word should be "multiples".

image

StefanSalewski commented 1 year ago

Thanks for reporting, I think your observation is correct, I will fix it soon. Please note, that for reporting such an issue it is not necessary to post a picture, reporting a small fragment of that sentence would be enough. Typically, only kids and ignorant people post pictures or whole videos, where the issue can be phrased in a few words. Such behavior generates a lot of unneeded internet traffic, github storage costs, and CO2 pollution, and is bad for people with slow internet connections.

For the case that you should find more errors, you may consider fixing it in the adoc source file, and use the diff command to generate a short diff between original and your changes, and send me the diff. Or you may even fork the github package, and make a pull request, I think some people did it that way. Generally, I would be more interested in remarks to the content of the book: What is still missing or explained badly, and such.

Best regards, Dr. Stefan Salewski

bsljth commented 1 year ago

Thanks Stefan. I'll make sure I'll fork and raise a PR for any issue in the future.

StefanSalewski commented 1 year ago

Should be fixed now.

ZoomRmc commented 1 year ago

Or you may even fork the github package, and make a pull request

Unfortunately, in #10 you say that you do not accept contributions currently ("Sorry, I do not accept co-authors at this point. I"). Has you position change on that? If so, please, reconsider #10. Thanks a lot!

StefanSalewski commented 1 year ago

Well, I consider the book basically complete. I recently added the concepts section, and added memfiles and parsecsv. The book has about 420 pages now, which is more than the two others. And I think it has a lot of content, maybe too much for beginners already? Personally, I would like to add some points: JS backend, debugging, profiling, FFI, Chronos, mratsims weave. Some people may ask about Games and GUI, but that will be too much for a single book for sure. People do not like to read thick books in these days, some even refuse to read the official tutorial. What I could do now is to hire a professional proofreader, buy Google Adds and promote, advertise and sell the book. There are rumors, that a very prominent core dev published a book in last summer and sold at least 200 pieces, each for 60 $. But with all the bad press from the leaders, my book can not archive that.

And unfortunately, it is necessary to update the book on a regular basis: I added the V 2.0 features early this year, and just yesterday updated a section in the parallel processing section, which explained some problems with parallel code execution with ARC and ORC, which have been fixed for Nim 2.0.