Live data from Hacker News

Cambridge University Press make their books free until May

cambridge.org

41–50 of 57 posts

Re: Cambridge University Press make their books free until May

#41
post #28

I was thinking on similar lines yesterday and today made the decision of making all my ebooks free for the foreseeable future. I made bundles [0][1] so that they can all be downloaded in one shot. There are five books - three of them on regex (Ruby, Python, JavaScript) and two on cli tools (GNU grep and ripgrep, GNU sed). Currently working on GNU awk, which will take another month if I want to include everything I ha…

This is really cool Sundeep, thanks for doing this! Question for you: what did you use to draw the diagrams for the "Javascript Regex" book, such as on the cover? Thanks!

Re: Cambridge University Press make their books free until May

#42
post #39

"Free for viewing online for now" isn't exactly "making books free". More like "hey you can look at my things for a bit if you'd like but I'll hold it and tomorrow you gotta pay to see it".

Yes, but it is making them "free to access online during the coronavirus outbreak". Don't look a gift horse in the mouth.

Re: Cambridge University Press make their books free until May

#43
post #28

I was thinking on similar lines yesterday and today made the decision of making all my ebooks free for the foreseeable future. I made bundles [0][1] so that they can all be downloaded in one shot. There are five books - three of them on regex (Ruby, Python, JavaScript) and two on cli tools (GNU grep and ripgrep, GNU sed). Currently working on GNU awk, which will take another month if I want to include everything I ha…

This is really cool Sundeep, thanks for doing this! Question for you: what did you use to draw the diagrams for the "Javascript Regex" book, such as on the cover? Thanks!

That is known as railroad diagrams and provided by sites such as regulex[0] (which I used for js cover) and debuggex [1]. I've also mentioned it in acknowledgements within the book.

[0] https://jex.im/regulex

[1] https://www.debuggex.com/

Re: Cambridge University Press make their books free until May

#44
post #24

Earlier quoted context omitted.

> This is definitely not an introductory level book I disagree. I used Kleppner and Kolenkow as a freshman, and it has pretty much the same content as this book, and I would consider Kleppner and Kolenkow to be an introductory book. Sure, it's more advanced than more common freshmen books like Halliday and Resnick, but it is still very elementary mechanics. Newton's laws is just the tip of the iceberg that is mechani…

If you have a bone to pick about the term “coordinate free”, I suggest you take it up with Dr. Rao. I am just forwarding along the message, and making a recommendation. > try finding the equation of motion of a particle constrained on a smooth surface, say a paraboloid z = x^2 + y^2 in Cartesian coordinates using Newton's laws The method described in this book makes this kind of problem very straightforward. > Newton…

> I find this very doubtful.

I'm sorry to say this, but I don't think you understand the meaning of coordinate invariance. Coordinate invariance in physics means that if you go from one set of coordinates, say (q1, q2, ..., qn) to (s1, s2, ..., sn), the form of the equations remain invariant (assuming the transformation is nice and smooth). Newton's laws aren't invariant under a general coordinate transformation of that sort, and this is precisely because the acceleration involves the second derivatives of the basis vectors. E.g., Newton's laws when expressed in polar coordinates would involve centrifugal and Coriolis terms, which are absent in Cartesian coordinates. Equations in analytical mechanics (e.g., Lagrange's or Hamilton's equations) are coordinate invariant however [1].

> The method described in this book makes this kind of problem very straightforward.

Perhaps we have different definitions of "straightforward", but most physicists I know would not consider using Newton's laws in Cartesian coordinates to find the equations of a particle constrained to move on a smooth surface straightforward. At the very least, one should try to introduce a local coordinate system on the surface. It can be done, no doubt, but it's way more cumbersome than writing Lagrange's equations involving the generalized coordinates on that surface.

> Note that both F and g have direction and magnitude in this word problem even though there are no basis vectors to speak of and thus no way we can represent any of this numerically without defining more mathematical objects.

No one is claiming that Newton's laws are invalid in different coordinates! Of course they are valid and F = ma still holds true. The invariance you're talking about is the general invariance of equations involving (polar) vectors. That's obvious since vectors are inherently geometrical objects. But that is in no way the same thing as "coordinate invariance". I'm not sure how the book defines "coordinate free", and I certainly don't have a bone to pick with anyone. But perhaps also look at how physicists define coordinate invariance, since after all it's something they've been doing for a while?

I still stand by the claim that this book is a pretty elementary one. Sure, you might've learned new things from this book, and I can see how many people would benefit from it. But if you think this is what counts for "advanced mechanics", then you're very very mistaken.

[1]: https://www.physicspages.com/pdf/Shankar/Shankar%20Exercises...

Re: Cambridge University Press make their books free until May

#45
post #44

Earlier quoted context omitted.

If you have a bone to pick about the term “coordinate free”, I suggest you take it up with Dr. Rao. I am just forwarding along the message, and making a recommendation. > try finding the equation of motion of a particle constrained on a smooth surface, say a paraboloid z = x^2 + y^2 in Cartesian coordinates using Newton's laws The method described in this book makes this kind of problem very straightforward. > Newton…

> I find this very doubtful. I'm sorry to say this, but I don't think you understand the meaning of coordinate invariance. Coordinate invariance in physics means that if you go from one set of coordinates, say (q1, q2, ..., qn) to (s1, s2, ..., sn), the form of the equations remain invariant (assuming the transformation is nice and smooth). Newton's laws aren't invariant under a general coordinate transformation of t…

I never said it was advanced mechanics, what I said was it's not an introductory book. You shouldn't give this to someone who's never taken a physics course. It's written for use in vehicle and aeronautical/astronautical dynamics and supposes a fairly developed understanding of coordinate systems and vector math.

> Perhaps we have different definitions of "straightforward"

It is certainly more straightforward than Lagrange. You just set up the constraints, which is done in two steps: (1) set up the kinematics, i.e. setting the position equal to some parameterization of that curve (2) set up the dynamics, i.e. express Newton's laws in terms of the same variables. After that, you can perform any derivatives needed using the transport theorem and set the kinematics and dynamics equal to each other using the common variables.

> Coordinate invariance in physics means

Since I'm not invoking the phrase "coordinate invariant" here I don't know what the deal is. All I said was that the concepts in this book express various physical laws including friction, Hooke's, and gravitational without use of coordinates. There is no X, Y, Z or 1, 2, 3 of the vectors in these descriptions. Whether to you that means coordinate invariant, is another story but ultimately irrelevant.

> I still stand by the claim that this book is a pretty elementary one

Considering you've spent all this time arguing that it's not straightforward (it is), I really suggest you take a look. It's nonconventional and may change your perspective if you really give it a chance.

Re: Cambridge University Press make their books free until May

#46
post #44

Earlier quoted context omitted.

> I find this very doubtful. I'm sorry to say this, but I don't think you understand the meaning of coordinate invariance. Coordinate invariance in physics means that if you go from one set of coordinates, say (q1, q2, ..., qn) to (s1, s2, ..., sn), the form of the equations remain invariant (assuming the transformation is nice and smooth). Newton's laws aren't invariant under a general coordinate transformation of t…

I never said it was advanced mechanics, what I said was it's not an introductory book. You shouldn't give this to someone who's never taken a physics course. It's written for use in vehicle and aeronautical/astronautical dynamics and supposes a fairly developed understanding of coordinate systems and vector math. > Perhaps we have different definitions of "straightforward" It is certainly more straightforward than La…

> Considering you've spent all this time arguing that it's not straightforward (it is), I really suggest you take a look.

I just downloaded a copy of the book from LibGen. I change my original assessment that it might be a good introductory book. In fact, now I think that this is a terrible book that reinvents the wheel in so many places, and novices should avoid it since it teaches bad practices. E.g., look at Example 3-2 of the book where the task is to find the motion of the particle constrained on a parabola y = r^2/2R (similar to the paraboloid example I asked, but more easier since the constraint manifold is one-dimensional). The solution of that problem (Eq. 3-105) is 4 pages of algebra! The Lagrangian for the system expressed in terms of r is

  L = m/2*(1 + r^2/R^2)*v^2 - (mg/2R)*r^2,
v being dr/dt. Now, to find Eq. 3-105, which the author derives in 4 pages, all it takes is to plug this Lagrangian into the Euler-Lagrange equations, and answer pops out in 2-3 lines of algebra involving some very trivial partial derivatives. Curiously, the author has also reinvented d'Alembert's principle when he does this problem the second time in Example 3-9. I'm also surprised that the author hasn't mentioned d'Alembert's principle (or virtual work for that matter) -- something that engineers make extensive use of -- anywhere in this book.

> Since I'm not invoking the phrase "coordinate invariant" here I don't know what the deal is.

You did mention that this book introduces mechanics in a coordinate-free manner (which this book actually doesn't).

> It's nonconventional and may change your perspective if you really give it a chance.

It's not just unconventional, this book is filled with terrible examples and techniques to solve problems and the author has reinvented the wheel in several places. The reason you found this book challenging was because this book chooses to do problems using the most contrived methods possible. In fact, this is a book to show why one needs analytical mechanics.

Re: Cambridge University Press make their books free until May

#47
post #46

Earlier quoted context omitted.

I never said it was advanced mechanics, what I said was it's not an introductory book. You shouldn't give this to someone who's never taken a physics course. It's written for use in vehicle and aeronautical/astronautical dynamics and supposes a fairly developed understanding of coordinate systems and vector math. > Perhaps we have different definitions of "straightforward" It is certainly more straightforward than La…

> Considering you've spent all this time arguing that it's not straightforward (it is), I really suggest you take a look. I just downloaded a copy of the book from LibGen. I change my original assessment that it might be a good introductory book. In fact, now I think that this is a terrible book that reinvents the wheel in so many places, and novices should avoid it since it teaches bad practices. E.g., look at Examp…

> In fact, this is a book to show why one needs analytical mechanics

I don't think the goal of the book is to obviate more advanced courses. It does well what it sets out to do, which is lay a foundation of dynamics. Contrasting it with other dynamics books I've read through, this one is self-consistent and much easier to follow the math on. Yes, the solutions are often long-winded, but that is the cost you pay for having a system. Other books like Introduction to Space Dynamics are very hand-wavey and not easy to check your work or find where you made a mistake, not to mention you must pick your coordinate systems very carefully and up front. Coordinate systems should not dictate the physics; it should be the other way around.

Besides, this methodology is applicable to other circumstances beyond just dynamics. The rigorous approach to dealing with reference frames and coordinate systems is well applied to other fields like computer graphics, regardless of whether Lagrangian is more well suited to mechanical applications.

> coordinate-free manner

Yes, I said that, not coordinate invariant, and in fact my description was deliberately as devoid of jargon as I could make it. It should be taken as plain English.

> It's not just unconventional, this book is filled with terrible examples and techniques to solve problems

Considering Dr. Rao's successful tenure working at Draper as well as working on NASA spacecraft and other military vehicles, plus running a vehicle dynamics lab, I'm inclined to believe it has value beyond what you believe it to. Though I would be interested to read your textbook when it comes out, and I do appreciate the perspective.

Re: Cambridge University Press make their books free until May

#48
There's always libgen if the book you want is behind a paywall. Like it's cousin scihub, it is very easy to use, fast, and has most of the books you could possibly need. Considering the awful practices of most scientific publishers, I have no problems with illegally downloading textbooks.

Re: Cambridge University Press make their books free until May

#49
post #46

Earlier quoted context omitted.

> Considering you've spent all this time arguing that it's not straightforward (it is), I really suggest you take a look. I just downloaded a copy of the book from LibGen. I change my original assessment that it might be a good introductory book. In fact, now I think that this is a terrible book that reinvents the wheel in so many places, and novices should avoid it since it teaches bad practices. E.g., look at Examp…

> In fact, this is a book to show why one needs analytical mechanics I don't think the goal of the book is to obviate more advanced courses. It does well what it sets out to do, which is lay a foundation of dynamics. Contrasting it with other dynamics books I've read through, this one is self-consistent and much easier to follow the math on. Yes, the solutions are often long-winded, but that is the cost you pay for h…

> Other books like Introduction to Space Dynamics are very hand-wavey... Coordinate systems should not dictate the physics; it should be the other way around.

It seems like you've not tried reading actual physics books written by real physicists and have only purveyed books known to a handful of engineering specialists, and have come to the conclusion that this is the best book for learning mechanics. I also fail to see why specialists wouldn't want to make use of methods that would make their lives easier and instead would want to dredge through pages of pointless algebra.

> The rigorous approach to dealing with reference frames and coordinate systems is well applied to other fields like computer graphics

In most universities around the world such things are taught as part of a standard vector calculus course or a mathematical methods course. You don't need this book (or any mechanics book for that matter) to learn such things.

> Though I would be interested to read your textbook when it comes out

I'll ignore the snideness of your comment, but will suggest that it's perhaps not a good idea to recommend/use books that take haphazard approaches for solving standard problems (some that were solve almost three centuries ago). In any case, my "textbook" would not look very different from the other 99% of textbooks written on analytical mechanics. If you want a recommendation, pick up Cornelius Lanczos's The Variational Principles of Mechanics [1], which is a real classic and a gem of a book.

[1] https://www.amazon.com/Variational-Principles-Mechanics-Dove...

Re: Cambridge University Press make their books free until May

#50
post #49

Earlier quoted context omitted.

> In fact, this is a book to show why one needs analytical mechanics I don't think the goal of the book is to obviate more advanced courses. It does well what it sets out to do, which is lay a foundation of dynamics. Contrasting it with other dynamics books I've read through, this one is self-consistent and much easier to follow the math on. Yes, the solutions are often long-winded, but that is the cost you pay for h…

> Other books like Introduction to Space Dynamics are very hand-wavey... Coordinate systems should not dictate the physics; it should be the other way around. It seems like you've not tried reading actual physics books written by real physicists and have only purveyed books known to a handful of engineering specialists, and have come to the conclusion that this is the best book for learning mechanics. I also fail to…

> It seems like you've not tried reading actual physics books written by real physicists

I find it pretty baffling you think this is the inescapable conclusion. Of course I've taken physics courses, that's where the frustration comes from. Many physics and astronomy books are riddled with errors and that's almost entirely down to how frequently they skip steps. Not only are 90% of underclassman physics texts written lazily at best, when I got into Modern Physics, half the answers in the back of the book were flat-out wrong, while the example problems elided a third of the steps or neglected important edge cases. The book was Tipler / Llewellyn by the way.

> You don't need this book

Apparently I did, considering that none of the other relevant courses I took which included calcs 1 through 3, differential equations, linear algebra, mechanics of materials taught this material. I'm sure it would've come up again if I'd stuck with mechanical engineering but regardless the whole point of recommending the book is to say "this has value" not to say "other things do not have this value."

> haphazard approaches

Compared to the other books I've seen, this is one of the most verbose, consistent, and generally anal-retentive approaches. It does not take shortcuts, and its notation alone is refreshing considering its lack of ambiguous styling aside from minor issue of the bold being used for tensors and vectors. (On the whiteboard, this is resolved with a double-underline being used for tensors and a single-underline for vectors). I would consider most other physics textbooks to be the haphazard ones, and when you compare the rate of errors in the text I have a strong suspicion those other books have much higher rates on average.

Granted, I'm not a physicist and make no claims to be. Of course there is truth out there to be found among the vast sea of physics textbooks, but from my own experience and also that of someone I know well who is postgrad in plasma physics, the textbooks are generally shit and to gain a correct understanding you need to wade through multiple texts that are extremely fragmented in both notation and correctness. So I'm not sure physics is the gold standard here. I'm sure there's a good math textbook out there about coordinate systems, but like I said, I didn't post here to say "everything else is worthless."

Post reply on HN