Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zarldev
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
zarldev
24d ago
A harness is a tool that allows the LLM to focus on the primary objective that the user wants, coding, research, reports, finance anything really but the harness structures the agent interactions with the supporting tools to achieve the nar
2.
▲
by
zarldev
1mo ago
OpenAI and Anthropic both have blog posts about programmatic tool use. Tbh I settled in STARLARK as the intermediary language it's a python dialect so most llms can use it with little help. https://github.com/zarldev&#x
3.
▲
by
zarldev
3mo ago
https://www.zarl.dev/posts/hal-by-any-other-name Here is my write up on my local model setup also have https://zarldev.github.io/zarlmono/ as my local 1st coding agent
4.
▲
Show HN: Zkit – Go libraries for building agents, not a framework
(zarldev.github.io)
6 points
by
zarldev
3mo ago
|
0 comments
5.
▲
by
zarldev
5mo ago
Yeah Gemma4 was and is great fun to do this with - I too am building pretty much the same as yourself in Go. https://github.com/zarldev/zarl & https://www.zarl.dev/posts/hal-by-any-other-name
6.
▲
by
zarldev
1y ago
I stand corrected. Still you cannot implement an Is on a sentinel error and is only applicable to concrete error types. And if I'm using concrete types I'm going to us errors.As
7.
▲
by
zarldev
1y ago
In standard go you would not implement Is but would use the errors.Is call. How would this work if it is a sentinel error as you would use with errors.Is??
8.
▲
by
zarldev
1y ago
>That's it mostly... Whole kubernetes, docker, traefik and many other cloud native tools are written in go.
9.
▲
Embedding React in Go: Another over-engineered blog
(zarl.dev)
1 points
by
zarldev
1y ago
|
0 comments
10.
▲
For Fakes Sake – Testing in Go
(zarl.dev)
1 points
by
zarldev
2y ago
|
0 comments
11.
▲
by
zarldev
2y ago
Yeah extending the struct tags to iota definitions would have made things much better.
12.
▲
by
zarldev
2y ago
the values are specified in the definition of the iota type. ``` type planet int // Gravity[float64],RadiusKm[float64],MassKg[float64],OrbitKm[float64],OrbitDays[float64],SurfacePressureBars[float64],Moons[int],Rings[bool] ```
13.
▲
by
zarldev
2y ago
This should be better now.
14.
▲
by
zarldev
3y ago
But all go generate does is run a binary like stringer? This can be used in go generate.
15.
▲
by
zarldev
3y ago
DSL? The go way is to use go generate I would say and it can be used with go:generate, I would like to use the AST lib to parse go files to remove the need for any json and to be more like the cmd stringer tool.
16.
▲
by
zarldev
3y ago
Hey did you read to the bottom of the article. It shows that that was just a temporary solution, the real invalid code is func (t operation) IsValid() bool { _, ok := strOperationMap[s] return ok } Tbh it has been updated to us an a