Live data from Hacker News

Viewing profile — aleksi

aleksi

HN member
Joined
Thu, Nov 10, 2011, 12:44 PM UTC
HN karma
2,201
Public activity
255 items

About aleksi

FerretDB (https://www.ferretdb.com) co-founder and CTO.

[ my public key: https://keybase.io/aleksi; my proof: https://keybase.io/aleksi/sigs/qhnH72xD_3_TdT9WvSCM6A_NRosP5WqsL2FIAqmljLI ]

Recent public activity

  1. comment
    Comment #47353948

    I was on this talk expecting to hear about MongoDB abusing open source (as you could guess from my profile, that’s a topic dear to my heart). Instead, I saw the most entertaining t…

  2. comment
    Comment #47026210

    Yet most, if not all, READMEs of official branches recommend using mutable vM tags. Not even branches — tags that they re-create.

  3. comment
    Comment #47023149

    See also https://github.com/golang/go/issues/66653 (that I don’t think is linked from the article)

  4. comment
    Comment #46479965

    You omit the fact that he took those words back and said “Crimea is Ukraine” while being in prison, knowing well it will not make his life (and death) easier

  5. comment
    Comment #46467418

    > What languages will be supported? > As a real keyboard with the QWERTY layout, Communicator supports languages that use the Latin alphabet: [...] Russian Weird

  6. comment
    Comment #45961859

    Aaaand it's gone!

  7. comment
  8. comment
    Comment #45357909

    You can make it run much better by increasing the game's process priority with `renice`. I know that sounds like something that should not work, but it does.

  9. comment
    Comment #45347788

    You are right; I stand corrected

  10. comment
    Comment #45346144

    > If you have a struct with a simple int field, and you store that somewhere as an *int, the entire struct and anything it points to will be kept alive. While Go allows interior po…

  11. comment
    Comment #45230692

    As a producer of the response, if I didn't care about being understood, I would use a made-up language. As a consumer, you may care about understanding my response, but you cannot …

  12. comment
    Comment #45230669

    I think you missed the “any handler” part. Currently, the types that my library package could use depend on the handler used by the caller. This limits types to an unspecified subs…

  13. comment
    Comment #45222357

    1) The idea is that your library should accept the slog logger and use it. The caller would create a logger with a handler that defines how log messages are handled. But there are …

  14. comment
    Comment #45222224

    My problem with that is that it makes it impossible to use slog logger safely without knowing what handler is being used. Which kind of defeats the purpose of defining the common s…

  15. comment
    Comment #45222190

    Not sure I understand your sarcasm. I read the documentation, source code, handler writing guide, and issues in the Go repository multiple times over two years, and I use slog exte…

  16. comment
    Comment #45221123

    So clearly not all values are supported. And I know that I can create a wrapper for unsupported types. My problem is exactly that – I don't know what types are supported. Is error …

  17. comment
    Comment #45220981

    Well, is fmt.Stringer supported? The result might surprise you: req := expvar.NewInt("requests") req.Add(1) attr := slog.Any("requests", req) slog.New(slog.NewTextHandler(os.Stderr…

  18. comment
    Comment #45220388

    My biggest gripe with slog is that there is no clear guidance on supported types of attributes. One could argue that supported types are the ones provided by Attr "construct" funct…

  19. story
  20. comment
    Comment #45014181

    And our (FerretDB) take on it: https://www.linkedin.com/feed/update/urn:li:share:7365677213...

  21. comment
    Comment #45012003

    And our take on it: https://www.linkedin.com/feed/update/urn:li:share:7365677213...

  22. story
  23. comment
    Comment #44811561

    I open-sourced my MongoDB alternative, and all I got was this lousy lawsuit.

  24. comment
    Comment #44745430

    > It's too slow to run in prod to be worth it I disagree there. It is reasonable to run a few service instances with a race detector. I have a few services where _all_ instances ar…

  25. comment
    Comment #44663148

    See https://manticoresearch.com/comparison/vs-sphinx/ . Sphinx is no longer open-source.