154 karma · joined Aug 22, 2021 (5y ago) · 41 submissions
comment 8mo ago · link · parent
comment 9mo ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
11.
The Compressed Book Edition(solar.lowtechmagazine.com ↗)
45 points · by skowalak · 1y ago · 7 comments
comment 1y ago · link · parent
The Ket language of central Siberia has long been believed to be isolate, but was later classified as a member of the Dene–Yeniseian language family (or at least proposed, afaik this research is still ongoing).
comment 2y ago · link · parent
https://github.com/Anuken/Mindustry/commit/5548e727501793479...
comment 2y ago · link · parent
Notice: Virtual Distributed Ethernet is not related in any way with
www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
i.e. the German "Association for Electrical, Electronic & Information
Technologies").
I wonder how many times that came up, that they had to put it in the README.comment 2y ago · link · parent
https://learn.microsoft.com/en-us/powershell/module/microsof...
comment 2y ago · link · parent
Sure, the author could have prevented some of their problems by reading the documentation, but Matrix is trying to become a solution everyone can use. And noone wants to read a manifest only to send some messages.
comment 2y ago · link · parent
The original link highlighted this snippet:
Future<void> insertEmbedding(EmbeddingProto embedding) async {
final db = await _database;
await db.writeTransaction((tx) async {
await tx.execute('INSERT INTO $tableName ($columnEmbedding) values(?)',
[embedding.writeToBuffer()]);
});
}
Now highlighted: Future<void> insertMultipleEmbeddings(List<EmbeddingProto> embeddings) async {
final db = await _database;
final inputs = embeddings.map((e) => [e.writeToBuffer()]).toList();
await db.executeBatch(
'INSERT INTO $tableName ($columnEmbedding) values(?)', inputs);
}
Did you post the wrong link the first time and corrected your mistake? Or did you change the snippet because @electroly was right about the code being inefficient?comment 3y ago · link · parent
Have you noticed something similar? Other than that they feel really nice and I like them a lot.
comment 3y ago · link · parent
comment 3y ago · link · parent
A good (although opinionated) resource for learning how to use hledger is the manual, which goes in depth about different accounting and modeling concepts [1].
comment 3y ago · link · parent
My implementation is probably not that great, but I put it online anyway if anyone is interested: https://github.com/skowalak/fastapi-raft/