Live data from Hacker News

Viewing profile — zarldev

zarldev

HN member
Joined
Mon, Feb 19, 2024, 6:55 PM UTC
HN karma
4
Public activity
18 items

About zarldev

No profile information was provided.

Recent public activity

  1. 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…

  2. 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

  3. story
  4. 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…

  5. 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

  6. 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??

  7. comment
    Comment #43810893

    >That's it mostly... Whole kubernetes, docker, traefik and many other cloud native tools are written in go.

  8. story
  9. story
  10. story
  11. comment
    Comment #39850258

    Yeah extending the struct tags to iota definitions would have made things much better.

  12. 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…

  13. comment
    Comment #39850125

    This should be better now.

  14. comment
    Comment #39566644

    But all go generate does is run a binary like stringer? This can be used in go generate.

  15. 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…

  16. 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…

  17. story
  18. story