HN user

topicseed

1,100 karma

Golang, SEO, NLP, affiliate marketing, that's all really.

Posts6
Comments479
View on HN

I'd say out of many generative AI observability platforms, Langsmith and Weave (Weights&Biases) are probably the ones most enterprises use, but there's definitely space for Langfuse, Modelmetry, Arize AI, and other players.

I kind of agree but the same problem exists. If you add text-xl to a div and have nested divs and spans, they'll all be inheriting text-xl so for these nested elements, you also have to look up the element's lineage to find what's causing the text-xl.

But overall it's a bit easier yes.

A great option for Go projects where you aren't exploring your queries as changing and regenerating is cumbersome.

Also, SQLC doesn't allow for dynamic query building so think about an input search struct from which you may add where clauses — or not.

Also doesn't support multiple inserts with N rows being inserted.

Otherwise for standard queries, it's great.

React 19 Beta 2 years ago

Nice to have:

Conditional use() (unline current hooks)

Support for Document Metadata

Support for stylesheets

Support for async scripts

Support for Custom Elements

Is this essentially implemented via RAG?

New chat comes in, they find related chats, and extract some instructions/context from these to feed into that new chat's context?

You do have to instantiate that struct, and you can do it with.... a beautiful NewCreateUser(dep1, dep2, dep3, ..., dep20) *CreateUser {...}. This is essentially what he recommends with his "func newMiddleware() func(h http.Handler) http.Handler".

I've always have my handlers individually set as a struct each with a method to handle the route/request.

type CreateUser struct {

   store  storage.Store

   cache  caching.Cache

   logger logging.Logger

   pub    events.Publisher

   // etc
}

func (op CreateUser) ServeHTTP(ctx, req, rw) {}

// or if you have custom handlers

func (op CreateUser) ServeHTTP(ctx, input) (output, error) {}

And in my main.go, or where I set up my dependencies, I create each operation, passing it its specific dependencies. I love that because I can keep all the helper methods for that specific operation/handler on that specific struct as private methods.

It does get tedious when you have one operation needing another, as you might start passing these around or you extract that into its own package/service.

We first struggled with token limits [solved]

How has this been solved in your opinion? Do you mean with recent versions with much bigger limits but also heaps more expensive?

What do they use to convert a PDF document to a clean, correct HTML document? It's a difficult space, especially with the variety of layouts you may find in PDF documents...