Better HN
topnewbestaskshowjobs
Log inSign up

markusbk

38 karma · joined Feb 3, 2017 (9y ago) · 12 submissions

Submissions

comment 7y ago · link · parent

Duplicate of https://news.ycombinator.com/item?id=20992991.

comment 7y ago · link · parent

Repost of https://news.ycombinator.com/item?id=10833278.

3.

Amazon MSK – managed streaming for Apache Kafka – now generally available(aws.amazon.com ↗)

29 points · by markusbk · 7y ago · 6 comments

comment 7y ago · link · parent

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

5.

ThoughtWorks Technology Radar Vol.20(thoughtworks.com ↗)

2 points · by markusbk · 7y ago · discuss

comment 7y ago · link · parent

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

comment 8y ago · link · parent

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.

8.

JSLT – JSON query and transformation language(github.com ↗)

2 points · by markusbk · 8y ago · discuss

comment 8y ago · link · parent

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.

10.

Monitoring with Prometheus(prometheusbook.com ↗)

3 points · by markusbk · 8y ago · 1 comment

comment 8y ago · link · parent

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.