Better HN
topnewbestaskshowjobs
Log inSign up

_wp_

168 karma · joined Sep 7, 2014 (12y ago) · 15 submissions

[ my public key: https://keybase.io/willprice; my proof: https://keybase.io/willprice/sigs/JmUfscr_d5Ol03SAcaXXJ4s6Z9xzhSVXnmVTqVdGDaQ ]
Submissions

comment 4y ago · link · parent

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!

2.

Software Engineering principles to make teams better(principles.dev ↗)

382 points · by _wp_ · 5y ago · 102 comments

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 7y ago · link · parent

> 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.

comment 7y ago · link · parent

Allegedly around $200 source - https://www.omgubuntu.co.uk/2019/05/pinebook-pro-video-demo

comment 7y ago · link · parent

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.

9.

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

1 points · by _wp_ · 8y ago · 3 comments

10.

The Largest First Person Video Dataset: EPIC-Kitchens(epic-kitchens.github.io ↗)

2 points · by _wp_ · 8y ago · discuss

comment 8y ago · link · parent

Could you provide an equivalent Makefile to the one written in the article to demonstrate best practices?

comment 10y ago · link · parent

The repository is here: https://gitlab.com/open_nsfw/open_nsfw.gitlab.io/tree/master

comment 10y ago · link · parent

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.

14.

Haskell Data Analysis Cookbook(github.com ↗)

2 points · by _wp_ · 11y ago · discuss

15.

Code normal forms (2008)(theprogrammersparadox.blogspot.com ↗)

2 points · by _wp_ · 12y ago · discuss