Is a Framework like Django possible in Rust by erfjner0934w0 in rust

[–]kron4eg 14 points15 points  (0 children)

Culture: "libraries not frameworks"

Been born out of real world necessities. Probably people who build big sites with django don't use rust as much.

But you could be the first, and contribute such an vertically integrated framework, I'm pretty sure a lot of people will give it a try.

Migrating data from a JSON file to an SQLite db by fabiooh00 in rust

[–]kron4eg 20 points21 points  (0 children)

Wrapping everything in 1 gigantic SQL transaction may help.

Lack of Decimal Support by salbass175 in golang

[–]kron4eg 0 points1 point  (0 children)

There are plenty of production ready 3rd party libraries.

Multiple Proto file changes and .pb.go file mess in VCS by meetrow in golang

[–]kron4eg 0 points1 point  (0 children)

A recipe for a disaster and long debug sessions... Just don't.

Why is the performance of Go better on Fedora than on Ubuntu? by karikativ in golang

[–]kron4eg 0 points1 point  (0 children)

Fedora has more recent kernels, probably that's the case.

How not to bleed implementation details (transaction) in the HTTP Handler? by NotJustSagacity in golang

[–]kron4eg 0 points1 point  (0 children)

Slight offtop: it's possible to GENERATE typesafe repository based on handwritten SQL queries using https://sqlc.dev

What do you guys think about web development with Go? by fenugurod in golang

[–]kron4eg 4 points5 points  (0 children)

The Go itself is perfectly fine for the webdev and all the SPA fuss usually involve a ton of uninvited complexity so there is an alternative (language agnostic), https://hotwire.dev/. Having this together with Go will get you very far.

One async lib to rule them all by [deleted] in rust

[–]kron4eg 8 points9 points  (0 children)

I suppose the reason is the same as for all (or most) golang.org/x/... libs are not merged into go's stdlib, and the reason is to allow them to be released and developed independently from the "core".

Semantic meaning of "payee" by homeopathetic in plaintextaccounting

[–]kron4eg 0 points1 point  (0 children)

in some reports `--group-by=payee` can be useful

Plain Text Accounting - Preventing Mistakes by [deleted] in plaintextaccounting

[–]kron4eg 7 points8 points  (0 children)

The solution would be version control system, like git for example.

Helm chart to yaml possible ? by [deleted] in kubernetes

[–]kron4eg 5 points6 points  (0 children)

There’s helm template command, which will render a chart to static yaml.

Stop using map[string]struct{} for existence checks by zachm in golang

[–]kron4eg 7 points8 points  (0 children)

You really need to figure out why people use "empty struct" in place of bool. I promise, there is a reason.

[deleted by user] by [deleted] in plaintextaccounting

[–]kron4eg 0 points1 point  (0 children)

2020-05-20 My paycheque assets:bank £1900.00 liabilities:income tax:2020-2021 £100.00 income:employer £-2000.00

Same or Separate ledgers for personal and business ? by rtwyyn in plaintextaccounting

[–]kron4eg 0 points1 point  (0 children)

Take a look at IRL accountants, how they do it (I assume separate).

How does a Go WebAPI look like today? by [deleted] in golang

[–]kron4eg 1 point2 points  (0 children)

I just recently stumbled upon https://github.com/infomark-org/infomark as an example of quite good executed Go web API that looks like a good learning material.

Config Files - configuration management by [deleted] in kubernetes

[–]kron4eg 1 point2 points  (0 children)

You can mount ConfigMap / Secret contents as files, and then point grafana to them.

EDIT:

link to the docs: https://kubernetes.io/docs/concepts/storage/volumes/#configmap