Viewing profile — zarldev
zarldev
HN member- Joined
- Mon, Feb 19, 2024, 6:55 PM UTC
- HN karma
- 4
- Public activity
- 18 items
- HN profile
- View on Hacker News ↗
About zarldev
No profile information was provided.
Recent public activity
-
comment
Comment #49188204
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 lit…
-
comment
Comment #48784614
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
- story
-
comment
Comment #48015514
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…
-
comment
Comment #44156811
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
-
comment
Comment #44156779
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??
-
comment
Comment #43810893
>That's it mostly... Whole kubernetes, docker, traefik and many other cloud native tools are written in go.
- story
- story
- story
-
comment
Comment #39850258
Yeah extending the struct tags to iota definitions would have made things much better.
-
comment
Comment #39850136
the values are specified in the definition of the iota type. ``` type planet int // Gravity[float64],RadiusKm[float64],MassKg[float64],OrbitKm[float64],OrbitDays[float64],SurfacePr…
-
comment
Comment #39850125
This should be better now.
-
comment
Comment #39566644
But all go generate does is run a binary like stringer? This can be used in go generate.
-
comment
Comment #39566483
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 m…
-
comment
Comment #39566425
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 := strOperationM…
- story
- story