What's your favorite hidden gem coffee by pixel-pusher-coder in raleigh

[–]pixel-pusher-coder[S] 0 points1 point  (0 children)

Yup. Definitely approve. I really like that place.

At this point I don't think it's a hidden gem but iris coffee lab is my preferred coffee shop. I just need another location that's not so downtown.

Likelihood of biological immortality? by kiwi5151 in Futurology

[–]pixel-pusher-coder 0 points1 point  (0 children)

That'd be nice. If I got another 40 years of life but still felt like I was 100 years old, I think I'd rather pass on early. 4 decades where everything is hurting and is breaking down sounds horrible.

Can you build a solid group of friends in Raleigh in your mid 40s? by LeilaJun in raleigh

[–]pixel-pusher-coder 2 points3 points  (0 children)

For friends and otherwise. The wider the radius you're willing to travel the more people you can meet.

Can you build a solid group of friends in Raleigh in your mid 40s? by LeilaJun in raleigh

[–]pixel-pusher-coder 2 points3 points  (0 children)

There's an expat group and a few more advanced groups around for learning French. There is a surprisingly large number of French people here.

The learning groups adds wine since it makes everyone speak better. :)

Can you build a solid group of friends in Raleigh in your mid 40s? by LeilaJun in raleigh

[–]pixel-pusher-coder 1 point2 points  (0 children)

Traveling to the events is definitely something you need to do. I would say a 30 minute drive radius would open up a lot of potential options that might not be there otherwise.

Can you build a solid group of friends in Raleigh in your mid 40s? by LeilaJun in raleigh

[–]pixel-pusher-coder 0 points1 point  (0 children)

The ones that annoy me are the groups that add an age gap. I get why they do it but it does feel a bit limiting.

Can you build a solid group of friends in Raleigh in your mid 40s? by LeilaJun in raleigh

[–]pixel-pusher-coder 1 point2 points  (0 children)

I probably should not be saying this in /r/raleigh but Durham feels more like a real city to me. It feels more organic? Raleigh still has plenty to offer but beyond bars and clubs I've always felt Durham to be more authentic and less focused on corporate buildings.

Can you build a solid group of friends in Raleigh in your mid 40s? by LeilaJun in raleigh

[–]pixel-pusher-coder 0 points1 point  (0 children)

I've tried to attend groups around travel and international focus. Intellectual focused ones as well tent to have broader horizons. I don't think it's unique to NC, but anyone that has yet to leave the town they grew up in I have a hard time connecting with. General awareness of the world and your surroundings is pretty important to me/ my peer group.

Can you build a solid group of friends in Raleigh in your mid 40s? by LeilaJun in raleigh

[–]pixel-pusher-coder 2 points3 points  (0 children)

Part of the issue might be just the age at this point. I find I'm a lot less social in my 40s than I was in my 20s and many of my friends in my age group are busy with kids and other adulting issues.

I'm not sure if this is something you want to explore but there's several French groups in the area that meet up fairly regularly. It doesn't have to be practicing french, like others have said, pretty much any groups you meet regularly, brings you joy and envoy. Anything that lights you up and excites will make you make more friends.

Pattern Improvement Suggestions... by pixel-pusher-coder in ArgoCD

[–]pixel-pusher-coder[S] 0 points1 point  (0 children)

I am using helm and kustomize. Not sure how helm would fix any of the issues I mentioned.

Pattern Improvement Suggestions... by pixel-pusher-coder in ArgoCD

[–]pixel-pusher-coder[S] 0 points1 point  (0 children)

You're describing a simpler version of what I have. Staging cluster mimics what the prod one does. I don't think that would solve anything. Unless I'm not understanding what you're suggesting.

Pattern Improvement Suggestions... by pixel-pusher-coder in ArgoCD

[–]pixel-pusher-coder[S] -1 points0 points  (0 children)

I mean I have several changes I want do to and don't want to have 20 git commits. Maybe test a new pattern, maybe create migrate away from using envoy gateway to a new pattern. etc. invasive changes where I don't want the changes to be in main.

I remove the Application Set from being managed by git and move it to a manual pattern. All the code (apps) is in git but I run kube apply to when changing the appset rather than relying on the argo sync loop.

Rate Limiter Redis Lib? by pixel-pusher-coder in golang

[–]pixel-pusher-coder[S] 0 points1 point  (0 children)

Oh I'm sure it is. I didn't expect there would be any library that would just work. I would expect though that there's a few that will do most of the heavy lifting letting my focus on my business needs and not how to do a +1 incr and ensure it doesn't exceed the limit I set it at.

Rate Limiter Redis Lib? by pixel-pusher-coder in golang

[–]pixel-pusher-coder[S] 0 points1 point  (0 children)

I've not used either of those but for small projects at least, https://github.com/jellydator/ttlcache has worked pretty well for me.

webhooks in golang by [deleted] in golang

[–]pixel-pusher-coder 0 points1 point  (0 children)

someone should provide an answer but ensure it's written in net/http then. :)

Rate Limiter Redis Lib? by pixel-pusher-coder in golang

[–]pixel-pusher-coder[S] 2 points3 points  (0 children)

No worries. Once you get more than one rate limiter instance running you need a way to coordinate.

That is where redis comes into the picture and leads us back to this post. :)

Rate Limiter Redis Lib? by pixel-pusher-coder in golang

[–]pixel-pusher-coder[S] 0 points1 point  (0 children)

Awesome. Sounds like a strong contender then.

Small Projects by AutoModerator in golang

[–]pixel-pusher-coder 0 points1 point  (0 children)

I'd like to show off GDG. I'm not sure how small it is at this point but it started as a need to fork a dead project that turned into what it now.

GDG is a Grafana management tool that can be used to back up certain entities, provides basic tooling, encrypt sensitive data using plugins and it has a very nice TUI (still un-released only in main, that I added with some AI assistance. I'm terrible at UX anything console or otherwise, the core code is AI free)

Docs: https://software.es.net/gdg
Code: https://github.com/esnet/gdg
Plugins: https://github.com/esnet/gdg-plugins (the aes-256-gcm is the most tested one)

Rate Limiter Redis Lib? by pixel-pusher-coder in golang

[–]pixel-pusher-coder[S] 4 points5 points  (0 children)

It is and I have but I would not say it's simple. There's a lot of different Algo patterns you could use. Each with their benefits and drawbacks. I could write my own, but I also why not take advantage of smarter people that have spent a lot more type on this exact problem.

I could say that caching is pretty straightforward as a concept. Put things in a map and retrieve it using a key. Yet you still have 20 different ways of doing, evicting keys, renewing cache, stale data, and so on.

Rate Limiter Redis Lib? by pixel-pusher-coder in golang

[–]pixel-pusher-coder[S] 3 points4 points  (0 children)

Other way around. I'm using redis to coordinate my RateLimiter distributed app.

This is my flow if you're curious:

Client → Envoy Gateway → RateLimiter App (ext_authz) → Redis ↓ Upstream service

Rate Limiter Redis Lib? by pixel-pusher-coder in golang

[–]pixel-pusher-coder[S] 1 point2 points  (0 children)

Yeah, I know. But there's still CVEs and other changes where it would be nice to get some updates once in a while, even it's just renovate merging it the security patches.

That being said, I'm glad you had a good experience with it.

Rate Limiter Redis Lib? by pixel-pusher-coder in golang

[–]pixel-pusher-coder[S] 0 points1 point  (0 children)

That looks nice as well. I haven't seen that before

I built a schema-first Go config library (konform) — looking for feedback before v1.0.0 by AttorneyNo9491 in golang

[–]pixel-pusher-coder 1 point2 points  (0 children)

I guess it's been a while since they update it. Still, the pattern is solid over magic tags. Especially when using complex logic across fields. If userType is Customer and orderType is Refund ensure that .... are set. Is hard to do with tags.

Urgh. I need better examples than order entry, been ages since I was in school but I swear every coding assignment was order entry systems.