News for hackers. Stuff that matters.
Re:Book list for streetfighting computer scientists by tptacek on Wednesday December 27, 2023 @10:22PM (#38789635)
Stevens (APUE and Network Programming) doesn't hold up. You'd do better with Beej. They weren't all that great even at the time; what they were were book-length treatments of the topics that you could reasonably expect to find on the shelf in a suburban Borders bookstore. Even the motivation for those books is obsolete!

Varghese is much too situational a book for this list; it's like bringing a trebuchet to your street fight. It's a book about building dedicated middleboxes. You can Google the title and get the PDF of the whole book on the first search result page. I like it a lot but I can't imagine sending anybody to it.

I will give the list this: Hanson is probably the best general-purpose C programming book. Of course, part of that is that almost nobody writes general-purpose programs in C anymore.

Stroustrup, on the other hand, is like being one of those flashy sword fighters in the souk in Cairo in Raiders of the Lost Ark. Indiana is just going to shoot you before you make it through the first chapter.

Axler is not the linear algebra book I would take to a street fight. Nobody writes proofs in a street fight. You want Strang.

Maths aside --- you need the exercises at the ends of the chapters to get anywhere with math --- I'm not sure books are really the thing anyways. I can quickly think of things I've learned by doing (and being taught while doing), but not a lot of things I feel like I meaningfully picked up because I read it in a book. Excepting maybe Hanson's C book, which definitely did change the way I wrote C. (Alexandrescu's book changed the way I wrote C++, but it also set me on a rapid trajectory out of C++).

Re:Book list for streetfighting computer scientists by bluejekyll on Wednesday December 27, 2023 @10:57PM (#38789865)
> Stevens (APUE and Network Programming) doesn't hold up.

> They weren't all that great even at the time

I can’t say I agree with this. Stevens’ books have always been a go to for me for ever. They don’t have great coverage on more recent topics like Anycast and Multicast, so probably outdated at this point, but I can’t think of a single author who taught me more about network and unix/posix programming. All of the concepts transferred well into Java and Rust after it for me. I’m eternally grateful for Stevens’ work.

Re:Book list for streetfighting computer scientists by macintux on Thursday December 28, 2023 @12:09AM (#38790265)
He died way too young.
Re:Book list for streetfighting computer scientists by ahartmetz on Thursday December 28, 2023 @01:43AM (#38790741)
Alexandrescu's "Modern C++ Design" is a collection of mostly impractical "clever" tricks that should be avoided in most situations. Like design patterns books, none of its advice should be used unless it solves a real problem that you noticed while not looking for a place to use the technique you just read about.

I kinda hate the book, it's about the exact opposite of what I consider good programming: trying to make complicated things look simple.

Re:Book list for streetfighting computer scientists by tptacek on Thursday December 28, 2023 @02:11PM (#38797259)
For what it's worth, I agree; I don't think Alexandrescu changed my C++ for the better, but it did sort of serve as an object lesson for overly nerding out on PL capabilities.
Re:Book list for streetfighting computer scientists by ahartmetz on Friday December 29, 2023 @07:02AM (#38804079)
Reading the O'Reilly Perl book when I wanted to get more serious about programming did something similar for me. I knew very little at the time, but enough to conclude that Perl is the opposite of what I want.
Re:Book list for streetfighting computer scientists by 0xEF on Thursday December 28, 2023 @05:10AM (#38791934)
You mention needing exercises after each chapter for maths, but I find this lacking in far too many technical books I pick up. Most of them take the "good enough" approach were the chapter exercise is really just some limp-wristed vocab quiz, and that's if there's an attempt to get the reader to use the practice at all. It's wildly disappointing and such a waste of the readers time to do that. I wish technical authors would get a clue.

> I'm not sure books are really the thing anyways

I agree, here, although I still like to have books for offline reference and general brush-up in my downtime. That said, do you recommend any non-book sources for maths pertaining to CS? You seem to have good suggestions otherwise, so I figured I'd ask.

Re:Book list for streetfighting computer scientists by mp05 on Thursday December 28, 2023 @10:46AM (#38794545)
> You want Strang.

Hell yeah you want Gilbert. Watching the guy's MIT lectures is a joy and the gumby-colored book reads like a narrative. I wish my calc books were as well written, else I'd not be reviewing vector calc with some intensity in my 30s.

That said, I have to recommend "Div, Grad, Curl, and All That" as I believe that I found it through someone's random comment here and it was a stellar find. I've realized I'm rather rusty on these topics and this book is very assertive of its target audience.

Re:Book list for streetfighting computer scientists by justin66 on Thursday December 28, 2023 @11:15AM (#38794935)
Networking Algorithmics is a weird one. I haven't looked much at the new edition, but back about ten years ago (yeesh) I kept tripping over the first edition of that book by accident, and then referring to it. I never read it cover to cover. In what I feel is a decent test for a book, it was the best at explaining a few specific concepts that other books which were searchable using O'Reilly's online library barely touched on. I bet that might still be the case.

When I needed a refresher for socket programming back in that same timeframe, I divided my time pretty evenly between Stevens, Beej, and Kerrisk. I get why people felt so much reverence for Stevens when it came out, but I also get why Beej's guide came about later on, as a more straightforward option. Kerrisk is just amazing, but I bet some would find it to be overkill. I suppose it aims to inhabit some of the space Stevens did, and it's undeniably a lot better.

Re:Book list for streetfighting computer scientists by dankamongmen on Friday December 29, 2023 @03:12AM (#38802729)
great feedback; i shall check out Beej and see what's up. it was many years ago that i learned my basic UNIX work.

networking algorithmics is a classic, and there's nothing else quite like it. i stand by that one for sure. he also has a lot of the great networking algorithms in there that you can't get collected anywhere else.

haven't looked at strang, either--axler did well by me!

appreciate the informed and quality comments. --nick