News for hackers. Stuff that matters.
Re:Why I sometimes like to write my own number crunching code by exmadscientist on Saturday June 26, 2021 @05:37PM (#27646128)
> in this case nobody reading this post should come away thinking they now know more about cosine similarity than a library author

However, if this post leaves you open to the option that you might know more about $THING than a library author... that is probably a very healthy possibility to consider.

(Consider. Some are that grad student who got assigned to write the library because they were too useless to do anything else. Others are David M Gay.)

Re:Why I sometimes like to write my own number crunching code by username90 on Saturday June 26, 2021 @10:40PM (#27648046)
Beating library implementations is usually very easy since you know your use case perfectly and they don't. You need to be way less competent than them to not be able to do something better when you write a tailor made solution. The main reason not to do it is that it takes time and makes the code harder to get into for new hires.
Re:Why I sometimes like to write my own number crunching code by inimino on Saturday June 26, 2021 @08:23PM (#27647291)
Indeed! That you should be optimistic about it is the best thing to take away from the post.