Better HN
topnewbestaskshowjobs
Log inSign up

xyb

1 karma · joined Aug 23, 2014 (12y ago) · 4 submissions

Submissions

comment 4mo ago · link · parent

Wrote up the why, and the split into two layers (your knowledge base vs. what you are doing right now): https://xieyanbo.me/blog/2026-07-26-a-todo-tool-the-ai-write...

2.

Show HN: Worklog, structured memory for Agent in one SQLite table(github.com ↗)

1 points · by xyb · 4mo ago · 1 comment

comment 6y ago · link · parent

> My only gripe (and its relatively small) is I don't like its compiler directive syntax using the `{.directive.}` style, its a little ugly and noisy to me, I'd prefer something like rust's `#[]` (I think this is actually how you use a Rust macro, but its a nice syntax regardless)

Me too. I think the `{.directive.}` style comes from pascal[1], but put it at the end of the procedure definition line. Lines that are too long are not easy to read. It would be better if each directive syntax had its own line.

[1] https://www.freepascal.org/docs-html/current/prog/progse5.ht...