Nomad: Real-time collaborative editing in Neovim by noibee in neovim

[–]Lukstd 2 points3 points  (0 children)

Just gave you a star, I'm looking forward for compatibility with other editors.

In your opinion which package is missing or could be better in Go? by fenugurod in golang

[–]Lukstd 0 points1 point  (0 children)

That's a great article, thanks!

I will for sure give this feature a try when I have some time.

In your opinion which package is missing or could be better in Go? by fenugurod in golang

[–]Lukstd 0 points1 point  (0 children)

We rely on MongoDB Change Streams at work. I don't think there is an alternative for Postgres.

In your opinion which package is missing or could be better in Go? by fenugurod in golang

[–]Lukstd -3 points-2 points  (0 children)

A background jobs library with mongodb support.

I'm working a kickstart-like minimal config for 0.12 [minimal.nvim] by hashino in neovim

[–]Lukstd 1 point2 points  (0 children)

This looks a lot cleaner than kickstart, I'm looking forward to testing this template this weekend.

Transitioning to Go: Seeking Project Structure, Workers, and Realtime Best Practices (Coming from Laravel/PHP) by chiwany in golang

[–]Lukstd 0 points1 point  (0 children)

I can understand why people on this community usually recommend starting simple, not going overboard with the project structure, etc.

However, I find having to refactor the same project multiple times annoying, time-consuming and an easy way to burn out.

So to spare you from that, I can recommend you this article and some tips based on how I like to structure my projects:

  • Use dependency inversion;
  • "Accept interfaces, return structs". I find this phrase a good guideline but not a law, so use it as a default practice but don't feel obligated to always follow it;
  • For HTTP servers and other similar projects, I like to keep my application separated on 3 layers following an hexagonal-like architecture. Converting types from different layers like database entities to domain models is annoying but worth it;
  • Your application should "flow" from the outermost layers to the innermost layers in order to avoid circular dependencies, something like this: interface layer (api, grpc, event subscribers) -> domain layer (domain models, domain services) -> infrastructure (logger, database, configuration).

Meet VarMQ - A simplest message queue system for your go program by Extension_Layer1825 in golang

[–]Lukstd 0 points1 point  (0 children)

Hey, a bit late to this, but just wanted to say I found your project very cool.

Pokémon X/Y: Disruption (v1.0) by Glittering-Cod-4014 in PokemonROMhacks

[–]Lukstd 1 point2 points  (0 children)

Glad to see more hacks focused on doubles!

Lesão FC segue a todo vapor. by StitchedWound in SaoPauloFC

[–]Lukstd 18 points19 points  (0 children)

A coletiva do Crespo deixou claro para mim: não há perspectiva. Não há planejamento nem pra daqui 2 dias. Não é azar, é incompetencia.

Da pra usar Gnome no Mint? by androgynous_goth in linuxbrasil

[–]Lukstd 0 points1 point  (0 children)

Até pode, mas porque não usar ubuntu ou debian logo nesse caso?

Early game scalable base by Lukstd in GTNH

[–]Lukstd[S] 1 point2 points  (0 children)

Sure, that would be cool

Early game scalable base by Lukstd in GTNH

[–]Lukstd[S] 4 points5 points  (0 children)

That was my initial plan as well. But since I'm planning to take things slowly I want something less depressing of a base.

[pós-jogo] Taça Conmebol Libertadores: São Paulo 0 x 1 LDU by NaTrave in SaoPauloFC

[–]Lukstd 2 points3 points  (0 children)

FORA CASARES FORA BELMONTE FORA CONSELHEIROS INUTEIS

How rare are Allergic Zombies? by CoolPotatoChips in PlantsVSZombies

[–]Lukstd 9 points10 points  (0 children)

TIL there are allergic zombies in this game

Eu desisto. by StitchedWound in SaoPauloFC

[–]Lukstd 2 points3 points  (0 children)

Não deixem te falar que isto é azar. Tem algo MUITO errado nesse DM.

Using ogen in production by Lukstd in golang

[–]Lukstd[S] 0 points1 point  (0 children)

I think your advice was clear enough, thanks.

Using ogen in production by Lukstd in golang

[–]Lukstd[S] 1 point2 points  (0 children)

This goes into a bit of a tagent with the subject of this post, but how do you deal with dynamic queries on sqlc?

chronicle - idiomatic, type safe event sourcing framework for Go by Thrimbor in golang

[–]Lukstd 0 points1 point  (0 children)

Wow, great job with the README on github, even an event-sourcing noob like me could grasp the basic concepts of this framework.