Better HN
topnewbestaskshowjobs
Log inSign up

code-faster

358 karma · joined May 7, 2020 (6y ago) · 121 submissions

I'm all about developer productivity. If you want to be more productive, subscribe to my newsletter https://codefaster.substack.com

@canardivore on twitter

Submissions

comment 3y ago · link · parent

> Also note that this approach generalizes to other text-based formats. If you have 10 gigabyte of CSV, you can use Miller for processing. For binary formats, you could use fq if you can find a workable record separator.

You can also generalize it without learning a new minilanguage by using https://github.com/tyleradams/json-toolkit which converts csv/binary/whatever to/from json

32.

Best Dumb TVs(makeuseof.com ↗)

62 points · by code-faster · 4y ago · 48 comments

comment 4y ago · link · parent

https://github.com/tyleradams/json-toolkit

Convert json <-> xml, csv, yaml, logfmt

So to support all formats, you write a binary <-> json converter.

comment 5y ago · link · parent

Having used m4 in practice, it's easier to get the job done with a custom python script.

comment 5y ago · link · parent

I really like this tool, but I'm not sure what it gets me more than jq (and https://github.com/tyleradams/json-toolkit to convert non-json to json).

What can angle grinder do better than jq?

comment 5y ago · link · parent

I have a couple of open source CLI tools to do this: - https://github.com/tyleradams/json-toolkit/blob/master/csv-t... - https://github.com/tyleradams/json-toolkit/blob/master/json-...

37.

A Fast Shell Setup(codefaster.substack.com ↗)

2 points · by code-faster · 5y ago · discuss

38.

Do LeetCode(codefaster.substack.com ↗)

4 points · by code-faster · 5y ago · discuss

39.

One weird trick, bugs HATE him(codefaster.substack.com ↗)

5 points · by code-faster · 5y ago · discuss

40.

Every FAANG Job(codefaster.substack.com ↗)

2 points · by code-faster · 5y ago · discuss

41.

The Rule of Silence(codefaster.substack.com ↗)

1 points · by code-faster · 5y ago · discuss

42.

Rule of Separation(codefaster.substack.com ↗)

1 points · by code-faster · 5y ago · discuss

43.

The Rule of Economy(codefaster.substack.com ↗)

3 points · by code-faster · 5y ago · discuss

44.

Unix Design Principles You've Never Heard Of(codefaster.substack.com ↗)

2 points · by code-faster · 5y ago · discuss

45.

to/from json(codefaster.substack.com ↗)

1 points · by code-faster · 5y ago · discuss

12345