Better HN
topnewbestaskshowjobs
Log inSign up

reed1

10 karma · joined Jul 25, 2015 (11y ago) · 14 submissions

Submissions

comment 1y ago · link · parent

This is what agent do, aichat [1] can do this. What you want is a wrapper for it to pipe the result back to LLM and make sure the command succeeded.

[1] https://github.com/sigoden/aichat

comment 1y ago · link · parent

Is there any tool I can use to sync the userscripts easily? last time I checked it requires some clicks and browse files. I want them to be included in my dotfiles and automatically synced on git pull

comment 2y ago · link · parent

Everyone here mentions jq but no one mentions "fx". It's an awesome cli app to browse json. It can modify json too, but I think jq has shorter DSL. If you want to browse or navigate through nested json, this is the best tool I know.

I wouldn't use GUI for this simply because piping data and mouseless env are more convenient to me. These are my other use cases:

- validation & auto fixing: fix-busted-json (python)

- tabular view : visidata (vd) can do this directly on json files. it has tons of other features like histogram, charts, sort, filter, edit, etc

- summarizing and querying: duckdb. Example: select sum(price), count(*) from 'orders.json'

- conversion: json2csv, it works both way

- diff: simply diff, but sometimes jq for ordering keys is required

comment 5y ago · link · parent

How did the author know the words used in pokemon and big data are quite similar?

comment 6y ago · link · parent

sorry for being ignorant to learn myself, but how do I do this?

comment 9y ago · link · parent

Looks good, setup is quite a hassle. but still not as straightforward as postgres file fdw

comment 9y ago · link · parent

Compare that with creating a table right from csv file (using fdw) in postgres without importing data. Very neat

comment 9y ago · link · parent

Is it just me or medium's comment section is fundamentally wrong? It's always a pain for me to browse

comment 10y ago · link · parent

I reckon that article from mailchimp. Would like to hear whats their view now

comment 10y ago · link · parent

That's why polygot programming is better I guess.

comment 10y ago · link · parent

It's true for professional work. But when parents ask you to do something then do it, and learn to do it properly.

comment 11y ago · link · parent

I'd love to see that sql cli app of yours. Is that available for public?

comment 11y ago · link · parent

Skim around, found 'windows', skip