News for hackers. Stuff that matters.

_wp_

There's quite a bit of overhead in execing and piping data from ffmpeg. If performance is a concern, then using the C ffmpeg API is a better bet(see pyav for a good example of this) . Cool project though!
Re:Book Review: A Philosophy of Software Design (2020) on Wednesday June 30, 2021 @08:00AM (#27687448)
I didn't say that the book's approach contradicted TDD, I'm merely quoting from the book and refuting one its claims (that TDD doesn't lead to good design). I agree that narrow and deep modules support refactoring internals if their unit tests are written to treat them as black boxes.
Re:Book Review: A Philosophy of Software Design (2020) on Wednesday June 30, 2021 @07:59AM (#27687437)
I strongly agree with your first two points. Good naming supplants the need for commenting. I find diagrams a far terser communication tool of architecture than comments.
Re:Book Review: A Philosophy of Software Design (2020) on Wednesday June 30, 2021 @07:22AM (#27687225)
I bought this book off the back of the referenced discussion trashing Clean Code. Whilst Clean Code has its problems, well articulated in that previous discussion, I am loathe to recommend this book. A large part of it is dedicated to commenting practices and seems a bit out of touch with the way software is developed today. There were some rather dubious claims on TDD as well, suggesting that it aims to 'get features working, rather than finding the best design' which seems to completely ignore the refactoring phase practised in a TDD cycle. A choice quote about comments that I strongly disagreed with: "without comments, you cannot hide complexity". The book also strongly advocates for large classes and considers small ones an anti-pattern called 'classitis'.

I'd say half the book contained good advice, the other half was mediocre or dubious at best.

I'm curious to hear what others think who've read both books.

Re:Google One on Saturday November 16, 2019 @06:13PM (#21555539)
> To use people's random images for training, they would have to be manually annotated by a human (e.g. facial boxes, eyes, nose, mouth, ears drawn in).

That's not true. There is a large and growing body of research on semi-supervised, self-supervised, and unsupervised learning that can take advantage of these unlabelled images.

Re:Inverview with Evan Ratliff, author of The Mastermind on Wednesday March 13, 2019 @05:19AM (#19377026)
The Atavist magazine version of this is available at: https://magazine.atavist.com/the-mastermind It's a fantastic (but long) read, I highly recommend it.

Ask HN: How do I learn Excel as a programmer?

I've come to appreciate some facets of Excel and feel it could be a valuable tool in my arsenal in addition to other languages I know. There seems to be a dearth of material on learning Excel targeting programmers/SW devs, does anyone have any good resources to share?I'm looking for things along the lines of Joel Spolsky's "You Suck at Excel" https://www.youtube.com/watch?v=0nbkaYsR94

( Read More... | 3 comments | on HN )
Re:A simple makefile is a unicorn on Thursday January 11, 2018 @04:47AM (#16122578)
Could you provide an equivalent Makefile to the one written in the article to demonstrate best practices?
Re:Some questions about Docker and rkt on Friday September 16, 2016 @05:21AM (#12512793)
I don't think that's particularly fair on Julia. I have found her posts very useful, even the ones written in this style. Documenting her journey from newbie to proficiency is very useful to others wanting to learn the topic in question as they can relate to the questions in posts like these and see whether she found answers later on in her archive.