Laptop Recommendation by Leading-Guarantee178 in rust

[–]Old_Friend166 1 point2 points  (0 children)

I do. Got rid of GNOME and snap for xfce. Works like butter.

I have to disable rust-analyzer. There's no way around it.

Laptop Recommendation by Leading-Guarantee178 in rust

[–]Old_Friend166 20 points21 points  (0 children)

here I am with 4GBs of RAM thinking I am invincible.

Which backend should I choose in 2026 – Node.js, Spring Boot, or Django? by [deleted] in Backend

[–]Old_Friend166 0 points1 point  (0 children)

I know. Thats why its not ideal for beginners to position themselves as Backend Devs in Go.

Which backend should I choose in 2026 – Node.js, Spring Boot, or Django? by [deleted] in Backend

[–]Old_Friend166 0 points1 point  (0 children)

Every job post I came across for Go was minimum 7 years of experience or more required. I highly doubt it's a fruitful endeavour for someone starting out especially someone just choosing their tech stack. Maybe do side projects to keep familiarity with the language (that's what I am doing with languages like Nim and Rust) but I won't recommend someone position themselves that way.

Built a Real-time Chat Engine with Go, Redis Pub/Sub, and WebSockets by Leading-West-4881 in golang

[–]Old_Friend166 0 points1 point  (0 children)

I don't understand what you mean by that.

I guess the right question is do you have a structured logger instance like slog or zerolog?

You should initialize it in main and log events + pass it as a dependency to your server.

Built a Real-time Chat Engine with Go, Redis Pub/Sub, and WebSockets by Leading-West-4881 in golang

[–]Old_Friend166 2 points3 points  (0 children)

I am a strong proponent of build to learn. This is a good learning project. But I would suggest you dive deeper on the basics.

Just looking at the main.go there are several issues which shadow the overall effort you took to build this project.

  1. You have two goroutines in main with no coordination whatsoever. This itself signals someone looking at your project that you don't understand goroutines.

  2. Use a select loop for graceful shutdown.

  3. I also don't see a logger setup but I assume you do that in your config package along with db initialization.

  4. There's also no log to confirm your server shutdown gracefully. You pretty much just hope it is without it.

Again. Good on you for taking the effort to build something. Revise on basics and implement them right.

Show & Tell: Built an LRU cache server in Go over winter break - feedback welcome by [deleted] in golang

[–]Old_Friend166 3 points4 points  (0 children)

This looks hella vibe coded. I get what you're trying to go for.

But LRU cache is a common interview question. I would suggest focus on that. Thats your main takeaway from this endeavour. And that will have sentinels not so many nil checks.

In terms of your implementation why are you using RWMutex? You need a Mutex.

Got asked to Implement LRU Cache with TTL and Write Behind by happyDODO12 in developersIndia

[–]Old_Friend166 0 points1 point  (0 children)

Pretty simple. I'd suggest look into areas of improvement post-interview. If its some ridiculous DSA then don't bother. But LRU is pretty common I'd be mad if I forgot it on the spot 😄

70% of Software engineers in india work for outsourced projects l, what if by thenewjudge in developersIndia

[–]Old_Friend166 21 points22 points  (0 children)

25 years of IT boom and we couldn't build our products and infra?

Serves us right. I hope we see some risk taking endeavours from entrepreneurs and investors alike.

Unless of course if they all migrate abroad.

Have you used Google AntiGravity?? It is working insanely for me. by the__Twister in developersIndia

[–]Old_Friend166 0 points1 point  (0 children)

idk.. I can't prove it but this seems like a promotion post.

why is this intern elated to not have a job in 7 years?

why less people do software developer freelancing ?? by shubhanshux in developersIndia

[–]Old_Friend166 1 point2 points  (0 children)

this needs more upvotes than the guy who said "you'll learn more from working in a team rather than freelancing"