The simplest but powerful way to use large language models (LLMs) in Gogitlab.com2 points·by mitar·2년 전·0 comments
Show HN: Convert text to JSON using only regular expressionsgitlab.com2 points·by mitar·3년 전·0 comments
Github.com/pkg/errors just got archived, I made a maintained v2 with many fixesgitlab.com2 points·by mitar·5년 전·1 comments
mitar·5년 전·discussBesides other improvements, the list of issues here which I think my fork addresses/fixes:Message formatting `WithMessage` vs. `Wrap`: https://github.com/pkg/errors/pull/114Do not re-add stack trace if one is already there: https://github.com/pkg/errors/pull/122Be explicit when you want to record a stack trace again vs. do not if it already exists: https://github.com/pkg/errors/issues/75 https://github.com/pkg/errors/issues/158 https://github.com/pkg/errors/issues/242`StackTrace()` should return `[]uintptr`: https://github.com/pkg/errors/issues/79Do not assume `Cause` cannot return `nil`: https://github.com/pkg/errors/issues/89Obtaining only message from `Wrap`: https://github.com/pkg/errors/issues/93`WithMessage` always prefixes the message: https://github.com/pkg/errors/issues/102Differentiate between "wrapping" and "causing": https://github.com/pkg/errors/issues/112Support for base errors: https://github.com/pkg/errors/issues/130 https://github.com/pkg/errors/issues/160Support for a different delimiter by using Errorf: https://github.com/pkg/errors/issues/207 https://github.com/pkg/errors/issues/226Support for Errorf wraping an error: https://github.com/pkg/errors/issues/244Having each function wrap only once: https://github.com/pkg/errors/issues/223
mitar·7년 전·discussI have made something similar trying to match more the concept of a materialized view, but just on the client instead of inside the database: https://github.com/tozd/node-reactive-postgres