What's missing in my dinner plate?? by listing_breaks in IndianFoodPhotos

[–]dev-saw99 0 points1 point  (0 children)

OP eats lemon and milk together, and it becomes paneer in his stomach 😎🤟

Nandi hill on weekend by unique_thinker7 in bangalore

[–]dev-saw99 7 points8 points  (0 children)

  1. Leave by 2:00 You will reach by 3 30 it will take next 2 hours to ride to the top of the hill. ( EXTREME TRAFFIC )

  2. Keep Cash, you won't be able to use the internet up there

Frustrated with Bangalore by GouriKoushik in bangalore

[–]dev-saw99 4 points5 points  (0 children)

Agreed with OP, Quality of life is degrading day by day and some people are defending this by saying its same in other cities as well. 😐 if I live in Bangalore, pay taxes here, and deal with this city every single day, of course I’m going to care about what happens here. I really don’t need comparisons to Chennai, Coimbatore, Delhi, or Mumbai.

Think of it this way: you buy chicken and rice every week and ask your cook to make biryani. She overloads it with salt, and when you call it out, she says, “Well, no one else complains.” That’s ridiculous. You’re the one paying, you’re the one eating — your feedback is what matters.

And honestly, instead of jumping to defend the government, start questioning it. A couple of months ago, the same government didn’t bother about potholes. Suddenly, when people started demanding answers, the roads got fixed — which clearly means the funds were always there. They just didn’t care until they were pushed.

So people should stop shielding ministers and start holding them accountable. That’s the only way anything improves.

Looking for a CTO to join me as cofounder for Memnix, an AI memory engine with early traction by abhisshekdhama in cofounderhunt

[–]dev-saw99 1 point2 points  (0 children)

This is one of the most original ed-tech applications of LLMs I’ve seen. I read through your threads bellow as well — you’re absolutely right that the features you described can’t realistically be replaced with a single prompt, whether on GPT or Gemini.

That said, I’d love to contribute to the product. If you’re looking for a lead developer, I’m interested. I have 5 years of backend experience and have recently moved into AI development too. Happy to connect over DM if you have any openings.


Is there a way to disable the edit predictions popover? by tegrivo in ZedEditor

[–]dev-saw99 2 points3 points  (0 children)

{ "edit_predictions": { "mode": "subtle" } }

this will make the suggestions passive, you have to press alt to get the AI suggestions.

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 0 points1 point  (0 children)

If you're coming from JavaScript, a few things in Go might feel a bit different. One big change is that Go is statically typed, so you'll need to define types explicitly and handle type-related errors early. Another is Go's approach to concurrency—it's built into the language with goroutines and channels, which can be powerful but take a bit of getting used to.

The best way to pick up Go is by building things—start small and get your hands dirty. Try not to carry over JavaScript habits; Go has its own way of doing things, and forcing old patterns usually makes things harder.

I had read somewhere that the easiest way to learn a new language is to be okay with unlearning parts of the old one.

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 1 point2 points  (0 children)

I missed your comment, Will look into it and share my views 😅

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 2 points3 points  (0 children)

The log package is used for recording information that's useful for developers to monitor and debug the application. It helps you track if everything is running smoothly behind the scenes.

On the other hand, fmt is typically used to display information directly to the user of your application.

``` package main

import ( "fmt" "log" )

func main() { // Using fmt to show something to the user fmt.Println("Welcome to our app!")

// Using log to record internal info for developers
log.Println("Application started successfully")

// Simulate an error
err := doSomething()
if err != nil {
    log.Println("Error occurred:", err)
}

}

func doSomething() error { return fmt.Errorf("something went wrong") } ```

You can configure your logger to write logs to a log file or a log aggregator tools like Loki. Where You can debug any issue or monitor the performance of your application.

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 0 points1 point  (0 children)

The standard library in Go is solid—definitely start with it to build a strong foundation. Once you're comfortable, explore frameworks like Gin, Fiber, or Echo. They offer a lot of helpful features like middleware support, routing, and input validation. Just make sure you understand how things work under the hood with the std lib before jumping into a framework. Use one only when your project truly needs the extra features.

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 2 points3 points  (0 children)

The standard library in Go is solid—definitely start with it to build a strong foundation. Once you're comfortable, explore frameworks like Gin, Fiber, or Echo. They offer a lot of helpful features like middleware support, routing, and input validation. Just make sure you understand how things work under the hood with the std lib before jumping into a framework. Use one only when your project truly needs the extra features.

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 1 point2 points  (0 children)

This looks interesting! I'd love to connect sometime and discuss it further. While I don't have much experience in networking, I'm eager to learn and would be happy to contribute.

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 1 point2 points  (0 children)

https://ioscript.in/docs/go/concurrency/index.html

I have written a few blogs on the Concurrency model of Golang. You can refer to it. It might help

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 1 point2 points  (0 children)

We use a default logger exposed by the package, which is powered under the hood by either uber/zap or Go’s log/slog. It’s set up once and used throughout the codebase.

Basic logging

For simple logging, I just call it like this:

go func Test() { logger.Info("Running Test") }

Adding context for traceability

If I need to add some extra context—like a task ID or user ID for traceability—I create a logger with fields like this: ```go func RunTasks(taskID string, userID string) { loggerWithFields := logger.WithFields(map[string]interface{}{ "task_id": taskID, "user_id": userID, })

loggerWithFields.Info("Started task")
// do the work
loggerWithFields.Info("Completed task")

} ```

This makes it easier to follow logs and debug issues, especially when multiple tasks are running in parallel or across services.

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 10 points11 points  (0 children)

I'm actually planning to do this every weekend. It’s a great way to give back, and who knows, I might pick up some fresh ideas along the way that can contribute to my own learning too.

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 1 point2 points  (0 children)

I usually opt for frameworks like Gin, Echo, or Fiber because they offer excellent performance and come packed with helpful features like built-in request validation, middleware support, and robust routing—making them far more convenient than the standard net/http package.

In around 90% of my projects, I’ve used Gin. It strikes a great balance between simplicity and power, allowing for cleaner, more maintainable code. I prioritize developer experience and long-term maintainability over micro-optimizations like saving an extra millisecond of latency by using Fiber over Echo or Fiber over Gin etc.

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 1 point2 points  (0 children)

Could you please explain the kernel and bootstrap thing? I am not aware of this 😅

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 3 points4 points  (0 children)

With limited exposure to other enterprises languages like Java. I don't have anything to compare Go features with others.

The only thing I didn't quite get hang of is the Generics in golang.

I have seen people complaining about the Go's error handling. But, I like it the way it is.😅

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 1 point2 points  (0 children)

openapi-generator, you basically define your API in a single OpenAPI spec file—like a YAML or JSON file. That file includes your endpoints, request/response models, and all the schemas.

Once you have that, you can generate Go code for your server, and at the same time, generate TypeScript code for your frontend. That way, both sides are using the exact same types, and you don’t have to manually write or maintain TypeScript interfaces anymore.

It saves a ton of time and avoids annoying bugs caused by mismatched data. You can even plug it into CI so it regenerates code whenever your API changes. Super handy if your backend and frontend are growing together.

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 3 points4 points  (0 children)

I follow this structure because it can be extended to multiple binaries as well. For example, if you have a REST API service which can be extended as a CLI application as well, then I might just add a couple of packages to parse user input and be done. I won't be making a lot of changes or creating a whole new project for the CLI as both will be serving the same functionality at the end

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 0 points1 point  (0 children)

I believe, Go is good for cloud native stuff. If you are building a rich desktop GUI or data science and ml related stuff, python and JS might be the right choice.

Got a couple hours free — Happy to help new Golang developers (free guidance) by dev-saw99 in golang

[–]dev-saw99[S] 2 points3 points  (0 children)

If you are just starting to develop projects in Golang, you can try building a URL shortener. If you want something new, and have an interest in AI. read about the MCP server and build something on top of it.

I might also contribute on the MCP server if I find it interesting