Lurker News

Comments (272) 108 threads

Earlier comments
ajankovic4 replies#
Can anyone recommend a book that you would use as the guide for building a new software project from scratch? Like something that would provide good overall structural approach and best practices. The goal would be to end with as least amount of tech debt and codebase flexible enough to stand the test of time?
crististm1 reply#
After probably more than 10 years postponing to find what HTDP (how to design programs) is all about I'm now convinced that everyone should go through that book (or an online course) and apply the newly found knowledge in real life.

See the edx links in one of the threads above. Take the course; Actually DO what Gregor repeatedly says in videos and you'll find what you missed.

Serow225#
THank you!
patricklouys1 reply#
Depends, what kind of application are you trying to build? What programming language?

I wrote my book Professional PHP [0] as a guide like that, but of course it's heavily skewed towards building a PHP webapp (even though most of it is also applicable to other OOP languages).
But to be honest, I wouldn't try to narrow it down to a single book. Start with the classics like clean code, code complete 2, pragmatic programmer and then work yourself towards effective java, implementing domain driven design etc. I have a list of my recommendations published here [1].
[0] https://patricklouys.com/professional-php/
[1] https://patricklouys.com/resources/

ajankovic#
I was more thinking about language agnostic approaches for big enterprise projects.
maze-le#
I do like: Clean Architecture[0], its pretty much language agnostic and has some nice examples on overall structural decision making -- from small to large projects.

>> The goal would be to end with as least amount of tech debt and codebase flexible enough to stand the test of time?
I am not sure if it is possible, to have a comprehensive book with this goal in mind. It very much depends on the project size, the dependencies and your language / framework -- and even if you have that in order, there are your teammates, the process, continuous integration, milestones/deadlines and the general workflow you have to take into consideration.
[0]: https://www.goodreads.com/book/show/18043011-clean-architect...

pwm#
In my opinion no book will really teach you this, only experience. It requires going through cycles of design, implementation and subsequent evaluation of how well those fared and how to improve upon them. After repeatedly going through this experience in a mindful manner you will develop a gut feel for what's good and what's suspect.
atroyn1 reply#
In Robotics / Computer Vision:

- Thrun et. al, Probabilistic Robotics
- Multiple View Geometry, Hartley / Zisserman
- An Invitation to 3D Vision, Ma
- Pattern Recognition and Machine Learning, Bishop
-Convex Optimization, Boyd

snovv_crash1 reply#
We've recently replaced Hartley/Zisserman (which was getting a bit long in the tooth) with:

Photogrammetric Computer Vision: Statistics, Geometry, Orientation and Reconstruction by Wrobel and Förstner.

atroyn1 reply#
Thanks for the recommendation, ordered. Hartley is very valuable to know how we got to where we are, from hand tuned features and RANSAC to more modern full photometric optimization and ML. It answers a lot of "why don't we just... " type questions while still providing the foundations.
snovv_crash#
Wrobel and Förstner is definitely a different style, to some degrees the two books complement each other. But it focuses much more on the stats side and gaining an intuitive understanding, which to me is really important, and if I wanted RANSAC the algorithms in Hartley are out of date anyways.
dplarson1 reply#
For numerical optimization, a couple good textbooks are:

- "Practical Optimization" by P. E. Gill, W. Murray and M. H. Wright: a little old (1982), but provides a solid foundation
- "Convex Optimization" by S. Boyd and L. Vandenberghe: the standard for learning convex optimization (also available as a free PDF from the author's website)
- "Convex Analysis and Monotone Operator Theory in Hilbert Spaces" by H. H. Bauschke and P. L. Combettes: covers a more specialized area of numerical optimization, but the notation is beautiful (IMO) and it acts as a useful reference for recent research on, e.g., operator splitting methods

laichzeit01 reply#
What would you recommend for multi-objective non-convex optimization?
wenc#
Nonconvex optimization doesn't have the same depth of theoretical underpinnings or canonical body of knowledge as convex optimization so I don't imagine there's a textbook on it that would be authoritative. In the universe of optimization, convex optimization is a special case (linear optimization in turn is a special case of convex); non-convex optimization is everything else!

It's kind of like convex optimization is English, and nonconvex optimization is non-English. I'm not sure it's possible to write a text on non-English.
That doesn't non-convex optimization problems are unsolvable, merely that there are many different attacks that aren't necessarily coherently linked. A few common ones include:
a) convex reformulation, where possible.
b) partitioning into convex regions (used in global optimization)
c) heuristic/evolutionary approaches
d) specialized approaches for particular problem structures like integer programs, complementarity problems etc. (there are good textbooks for these)
There are a few good surveys of the landscape however. Most are journal pubs. This text [1] seems to be a good one.
[1] https://www.amazon.com/Nonlinear-Mixed-Integer-Optimization-...

Load more comments