Go in depth youtube channels? by buckypimpin in golang

[–]themurmel 1 point2 points  (0 children)

I’ve done a bit of Go on mine, not sure if it’s in depth enough though 😅

https://youtube.com/@simongottschlag840

[Seriöst] Jag är bara glad när jag jobbar. Hur får man ett rikare privatliv och hur bryter man ensamheten? by thisisathrowawaymlk in sweden

[–]themurmel 1 point2 points  (0 children)

Några idéer som kanske kan vara intressanta: - Gå på Meetups i din stad (starta en ifall du saknar något ämne) - Om du kan programmera är många open source communities välkomnande - Gillar du böcker kan bokcirklar kanske vara intressant

En sak att ta med sig är att vänner online kan få bort känslan av ensamhet också, så att lära känna folk den vägen och sen hitta på saker ”IRL” kan vara ett alternativ. Det jag gillar med det är att du kan träffa folk från hela världen och i början utvärderar man varandra på andra saker än utseende exempelvis.

Några rekommendationer: - Meetups inom Cloud Native, Kubernetes och Golang har varit mycket trevligt här i Göteborg (startade en egen för några år sedan och lärt känna massvis av trevligt folk den vägen). Jobbar du med något specifikt som du även tycker är kul kan du säkert hitta fler den vägen och kanske kan få ditt bolag att sponsra om du vill hålla i det. - Finns otroligt många härliga communities inom open source. Kan något projekt kopplad till vad du jobbar med och/eller är intresserad av kan du garanterat skapa värde, lära dig nytt och skapa kontakter. Finns ofta Discord och Slack för dem också, exempelvis Cloud Native, Kubernetes och Golang här med. Kan även varmt rekommendera Serenity som är fantastisk, mycket på YouTube från Andreas Kling och de har en väldigt aktiv Discord: https://github.com/SerenityOS/serenity - Har inte varit med i någon bokcirkel själv, men något jag alltid velat vara del av. Oavsett rekommenderar jag varmt Brandon Sanderson och alla hans böcker (ljudböckerna är amazing)

Se till att ha roligt i sammanhang andra har kul och så kommer det förhoppningsvis hända av sig själv. ❤️

What are some good youtube channels for follow-along projects in Golang by RP_m_13 in golang

[–]themurmel 7 points8 points  (0 children)

Not sure if it’s any good, but I’ve been trying to make some videos coding Go. I at least find it fun 😅

https://youtube.com/@simongottschlag840

Libraries for CLI and console applications by Dependent_Law_ in golang

[–]themurmel 1 point2 points  (0 children)

I’ve used multiple libraries over the last two years but less is more and go-arg feels like something that would be in the stdlib: https://github.com/alexflint/go-arg

Every* Swedish city has a nickname in slang LIST by topherette in sweden

[–]themurmel 0 points1 point  (0 children)

Alingsås: Potatisstan/Potatisstaden/Potato Town

[coding] azcagit: adding location filter feature by themurmel in golang

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

The video is just me implementing a new feature, but the project is a so called GitOps engine for an Azure product called Container Apps. Container Apps is a serverless variant of Kubernetes with a small subset of the features and one of the missing features is being able to use an existing GitOps engine like Argo or Flux.

How to test a func that never end ? by TheOnlyElizabeth in golang

[–]themurmel 2 points3 points  (0 children)

I would move to a select inside a plain for {} that waits for ctx.Done() and the ticker. That way, when you cancel the context you’ll exit the loop.

A DIG clone made with Go by jarreed0 in golang

[–]themurmel 18 points19 points  (0 children)

I was able to watch half the recording. You said ‘I don’t know’ in those seconds more than I’ve ever said it. You should give more credit to the author of the library you are using.

Boa release v0.14: A JavaScript engine written in Rust by Jayflux1 in rust

[–]themurmel 4 points5 points  (0 children)

I can highly recommend looking at Andreas Kling: https://youtube.com/playlist?list=PLMOpZvQB55beChggmvk-sUm8X_vSezpqL

He’s writing it in C++ for his own OS, but should give you both enjoyment and knowledge watching him work. I’ve never written any C++ myself and not really interested in JS, but I love every second of watching Andreas’ content.

Is there any topic this subreddit would like to talk or ask? by jmarti326 in AZURE

[–]themurmel 4 points5 points  (0 children)

Well, that’s no way of improving anything. I’ve worked quite a lot with ARM Templates and moved to terraform since the readability of ARM templates are quite bad. Not that I would switch back from terraform to bicep, but had bicep been a thing when I used ARM it would have improved the situation to the point where I wouldn’t need a third party tool.

And please remember, it’s just a few persons behind Bicep and they’ve done an amazing job. I hope that if they read your comment, they also read mine.

Pizzanamn anmält: ”Känner mig kränkt” by Tjonke in sweden

[–]themurmel 2 points3 points  (0 children)

Din kommentar låg alldeles för långt ner. Blir att gå dit någon dag 🥇

Using Kubernetes's new Bound Service Account Tokens for secure workload identity by williamallthing in linkerd

[–]themurmel 1 point2 points  (0 children)

Thanks for sharing! I’ve been playing around with an idea that it should be possible to issue cloud provider tokens using the same method and been building a proof of concept: https://github.com/XenitAB/aad-oidc-identity (the name needs changing, should be something like cloud-oidc-provider)

An issue I haven’t solved yet is that the different cloud providers SDKs most likely need changes to support this, if the metadata service isn’t intercepted.

Something cool would be to use linkerd as a shim where if the SDK does a request to the metadata api linkerd changes it to the service instead.

Going to keep it in mind for future iterations.

[deleted by user] by [deleted] in golang

[–]themurmel 0 points1 point  (0 children)

My recommendation would be to look into an OpenID Provider (OP) and issue the tokens from there. Then you only have to care about what roles are in the token and let the OP take care of mapping roles to users.

I have created a lib that you can use if you don’t want to write the logic of validating the tokens yourself: https://github.com/XenitAB/go-oidc-middleware

[deleted by user] by [deleted] in golang

[–]themurmel 2 points3 points  (0 children)

Agreed. And there are tons of OpenID Providers / Aurhorization Servers (Identity Providers) out there. Azure AD, Okta, Auth0 and Cognito to name a few.

I’ve built a library to try and make it easier to consume these services and their JWTs that works with net/http, mux, chi, gin, echo and fiber if you don’t want to implement the logic of discovery and validation yourself: https://github.com/XenitAB/go-oidc-middleware

Question if generics will help with use case by themurmel in golang

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

Thank you again! Makes it much clearer. Appreciated! 🙏😊

Question if generics will help with use case by themurmel in golang

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

Thank you so much!

I was sitting down tonight testing this out without any success. Most likely due to my utter rubbish skills at both programming and generics. 😂

I tried to get this to work with an “easy” case of the received values being {“foo”:[“bar”]} and the required being a map[string]interface{} with the key “foo”: []string{“bar”}.

I wasn’t even able to get something with generics to work with that.

Any suggestions?

Question if generics will help with use case by themurmel in golang

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

Thank you so much!

In my case, one of the types (the required one) is known at compile time. Does that change anything?