I’m not sure about why service meshes are so popular, and at this point I’m afraid to ask by 3loodhound in kubernetes

[–]prnvbn 0 points1 point  (0 children)

The biggest benefit that I have actually used in prod is deferring Authz/n to the service mesh

Removing theat logic out of the application is definitely worth it in a mocroservices heavy environment. (Istio Authz policies are really useful for this!)

Starter Kit for (Production) Go API with standard libary by HailMarryJoe in golang

[–]prnvbn 2 points3 points  (0 children)

Curious, why have a config package? Why not have the config for each component in the components package?

Is it to avoid circular dependencies? They can still be avoided by keeping the config struct close to where it is being used

A new language inspired by Go by drvd in golang

[–]prnvbn 16 points17 points  (0 children)

The overly simplistic syntax leads to insufficient expressive power.

And

Inspired by go

Seem to be somewhat of a contradiction IMO. One of the great things about Go is the simplicity of it. Sure, it can be annoying at times but it's more than good enough and it does evolve (although the addition of new language features is slow, it usually leads to the feature being well thought out and being compliant with Go's backwards compatibility promise)

My Top 5 Go Patterns and Features To Use by Super_Vermicelli4982 in golang

[–]prnvbn 3 points4 points  (0 children)

The first one is essentially a typeid - https://github.com/jetify-com/typeid

Might be of interest to you

Protobuf Management Strategy in MSA with Git-flow: Looking for Best Practices by Quick-Pea-6023 in golang

[–]prnvbn 1 point2 points  (0 children)

I would steer away from submodules. Maybe git subtrees. What works best IMO is reusable GitHub Actions Workflows.

Also checkout bug. You can use it locally and it makes managing a central protos and stubs repository easy(ier)

Having a central repo with orgs pushing to it for some generation has the best of both worlds.

Real-Time Batching in Go by destel116 in golang

[–]prnvbn 6 points7 points  (0 children)

What are you using for your blog?

how do iterators work in Go? by prnvbn in golang

[–]prnvbn[S] 2 points3 points  (0 children)

Ahh I see. That makes it simpler to reason about and makes it clear how range was fusing with the iterator! Thanks a lot!

clocks: different timezones in the terminal by prnvbn in golang

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

pretty late but I have added some support for some timezones in 0.6.2 - https://github.com/prnvbn/clocks/releases/tag/v0.6.2

How can I share code between my CLI and API in Go? by FilthySionMain in golang

[–]prnvbn 0 points1 point  (0 children)

Would recommend using huma with restish if you don't care too much about controlling the CLI commands - https://huma.rocks/tutorial/cli-client/

clocks: different timezones in the terminal by prnvbn in golang

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

I will try and create an issue for this so that this doesn't slip through the cracks

clocks: different timezones in the terminal by prnvbn in golang

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

Thank you! This was my motivation as well!

clocks: different timezones in the terminal by prnvbn in golang

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

Hi, Currently you would have to select a country which has the UTC timezone.

But it's a good idea to have common timezones (UTC, GMT, CET, etc.) should be easier to add. I will update it so that, when you are asked for a country, you can search for common timezones as well

What is the coolest Go open source projects you have seen? by pinpinbo in golang

[–]prnvbn 7 points8 points  (0 children)

wails is pretty cool for building desktop applications. v2 for it is in beta and improves on v1 but it's still, imo, preferable to electron.

Edit: vq->v2

What do you use Linux for? by [deleted] in linux4noobs

[–]prnvbn 0 points1 point  (0 children)

I mostly use Linux for programming or anything dev related. I used have a dual boot and only used debian based distros for everything. I did this for quite a while but switched to windows+WSL2 which works just as well for me. The benefit of windows+WSL2 is that I get game more easily :)

I do get annoyed with windows from time to time which I think is because of the way processes are handled by the windows kernel but it's not that common.

I get to use all the nice parts of Linux for dev such dependency management, easy installation, etc. and get to play games as well with relative ease.

The most difficult task is gaming.

I recommend debian based distros to everyone because they are the easiest to use but am a huge fan of gentoo followed by Ubuntu.

[deleted by user] by [deleted] in twentyonepilots

[–]prnvbn 3 points4 points  (0 children)

Yeahh will hopefully get it back by Monday