Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aleksi
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
aleksi
6mo ago
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 talk in my life.
2.
▲
by
aleksi
7mo ago
Yet most, if not all, READMEs of official branches recommend using mutable vM tags. Not even branches — tags that they re-create.
3.
▲
by
aleksi
7mo ago
See also https://github.com/golang/go/issues/66653 (that I don’t think is linked from the article)
4.
▲
by
aleksi
9mo ago
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.
▲
by
aleksi
9mo ago
> What languages will be supported? > As a real keyboard with the QWERTY layout, Communicator supports languages that use the Latin alphabet: [...] Russian Weird
6.
▲
by
aleksi
10mo ago
Aaaand it's gone!
7.
▲
by
aleksi
1y ago
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.
8.
▲
by
aleksi
1y ago
You are right; I stand corrected
9.
▲
by
aleksi
1y ago
> 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 pointers, I don't think what you say is true. runtime.
10.
▲
by
aleksi
1y ago
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 do anything about it.
11.
▲
by
aleksi
1y ago
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 subset, making things quite impractical.
12.
▲
by
aleksi
1y ago
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 problems with supported types; see my other comments. 2) It
13.
▲
by
aleksi
1y ago
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 structured logging interface.
14.
▲
by
aleksi
1y ago
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 extensively. Go is my primary language since r60. I think I know
15.
▲
by
aleksi
1y ago
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 supported, for example? Should I create a wrapper for i
16.
▲
by
aleksi
1y ago
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, nil)).Info("text&
17.
▲
by
aleksi
1y ago
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" functions (like slog.String, slog.Duration, etc), but i
18.
▲
Linux Foundation says yes to NoSQL via DocumentDB
(theregister.com)
5 points
by
aleksi
1y ago
|
0 comments
19.
▲
by
aleksi
1y ago
And our (FerretDB) take on it: https://www.linkedin.com/feed/update/urn:li:share:7365677213...
20.
▲
by
aleksi
1y ago
And our take on it: https://www.linkedin.com/feed/update/urn:li:share:7365677213...
21.
▲
DocumentDB Joins the Linux Foundation
(opensource.microsoft.com)
11 points
by
aleksi
1y ago
|
1 comments
22.
▲
by
aleksi
1y ago
I open-sourced my MongoDB alternative, and all I got was this lousy lawsuit.
23.
▲
by
aleksi
1y ago
> 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 are running with it just fine.
24.
▲
by
aleksi
1y ago
See https://manticoresearch.com/comparison/vs-sphinx/ . Sphinx is no longer open-source.
25.
▲
by
aleksi
1y ago
> Tigris means tiger I'm pretty sure Tigris Data is named after the Tigris river ( https://en.wikipedia.org/wiki/Tigris ), and the name does not mean "tiger".
26.
▲
Learning Elvish (but not the Middle-earth one)
(nevkontakte.com)
2 points
by
aleksi
1y ago
|
1 comments
27.
▲
by
aleksi
1y ago
There is FerretDB v1, which provides MongoDB protocol for SQLite. See https://github.com/FerretDB/FerretDB/tree/main-v1
28.
▲
by
aleksi
1y ago
FerretDB v2 is built on top of this extension. See https://github.com/FerretDB/FerretDB
29.
▲
by
aleksi
1y ago
Curious that Editor's Draft has "bikeshed" in the URL.
30.
▲
by
aleksi
1y ago
https://en.wikipedia.org/wiki/WikiReader (remember Openmoko Neo 1973 and FreeRunner?)
More ›