Hacker Newsnew | past | comments | ask | show | jobs | submit | markusbk's commentslogin



Yes, but this paper is so important, yet not as well known as it should be, that I feel it is right it resurfaces every few years here.

Everyone involved in software development should read and understand it!


Often times on HN, people provide links to previous postings merely so others can reference the previous discussions. It's generally not meant to be a call out of bad behavior.



Steve Yegge, high profile developer previously at Google and Amazon, now head of engineering for Data Insights at Grab, wrote a nice blog post about why he quit his job at Google to join Grab:

https://medium.com/@steve.yegge/why-i-left-google-to-join-gr...


Seems AWS has added T3 RDS instances for MySQL in Stockholm now. Not for PostgreSQL yet, though.


One useful takeaway:

> When Clean Code becomes a source of less boring work, I’m for it. When it becomes a source of frustration and guilt, I’m against it.


Some useful background info in https://www.kartar.net/2017/10/prometheus/ on why Turnbull wrote the book, despite being one of the maintainers for a competing monitoring tool, Riemann.


If your input is already sorted (like this article assumes), you can use "sort -m", which is a lot faster. Also, to print only lines with duplicates, use "uniq -d" instead of "uniq -c | grep 2\ ".

Union: Instead of

    cat a_list b_list | sort | uniq
do

    sort -m a_list b_list | uniq
Intersection: Instead of

    cat a_list b_list | sort | uniq -c | grep 2\ 
do

    sort -m a_list b_list | uniq -d
Relative complement: Instead of

    cat a_list b_list b_list | sort | uniq -c | grep 2\ 
do

    sort -m a_list a_list b_list | uniq -u
Note the change of approach here: instead of making lines from b_list appear twice and grepping for that count, make lines from a_list appear twice and have uniq only print lines that aren't repeated.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: