nilotpaul_n Profile Banner
Paul Profile
Paul

@nilotpaul_n

Followers
790
Following
457
Media
146
Statuses
641

Backend & DevOps guy. Building https://t.co/puGl13EE43

šŸŒŽ
Joined February 2024
Don't wanna be here? Send us removal request.
@nilotpaul_n
Paul
15 hours
When You Need WaitGroups + Channels in Go. Sometimes you want to perform multiple tasks concurrently and aggregate the results. This is where sync.WaitGroup and channels shine especially when each call should respect a context.Context. Here’s a simple example: three concurrent
Tweet media one
0
1
21
@nilotpaul_n
Paul
1 day
Your SaaS stack is a business decision, not a coding one. A lot of devs obsess over the best tech, but when you’re building a SaaS or indie product, speed and adaptability matter more. Even a minimalist stack like this can last years:.- Pocketbase (auth, storage, etc).- React (or.
1
0
4
@nilotpaul_n
Paul
11 days
The . type Trick in Go You’re Probably not using (variadic). In Go, when you see func(name . Type), it's a variadic function. It means the function can take any number of arguments of that type. Internally, it’s just a slice but with the syntactic sugar to pass multiple values
Tweet media one
6
15
117
@nilotpaul_n
Paul
11 days
Accessing Docker Daemon Remotely from Another Machine. Sometimes you might want to run docker commands from a separate machine where only the Docker CLI is installed, not the full Docker engine. For example, docker runs on your home server, and you want to control it from your
Tweet media one
1
1
19
@nilotpaul_n
Paul
15 days
Higher-Order Functions for writing clean & reusable code. Higher-order functions in Go are functions that take or return other functions which is a powerful way to build reusable logic. One common pattern is wrapping http.HandlerFunc to handle things like auth, logging, or
Tweet media one
2
13
72
@nilotpaul_n
Paul
17 days
Deploying small AI models on your own infrastructure. People jump to big providers for AI inference (OpenAI API, Hugging Face endpoints), but for small models you can:. - Containerize with Docker.- Use a lightweight runtime like onnxruntime or torchserve.- Host on a VPS / Hetzner
Tweet media one
0
0
6
@nilotpaul_n
Paul
17 days
How many of you would actually go for email?. Site:
Tweet media one
1
0
5
@nilotpaul_n
Paul
18 days
How do you handle payments in your application ?. Basic flow is user pays via Provider (stripe), webhook hits our server, done. But is that really the end? What if the webhook fails? Sure, you can patch things manually, but shouldn’t there be a fallback or a cleaner solution?.
1
1
8
@nilotpaul_n
Paul
19 days
Docker Cheatsheet for Real-World DevOps. These Docker commands cover 90% of what you actually use daily. Bookmark this and no more Googling the basics.
Tweet media one
0
20
160
@nilotpaul_n
Paul
19 days
Feels like two AI having a conversation šŸ˜‚.
@kausfunk
kausfunk
20 days
is made completely in NextJS 😳.Ask me anything.
0
0
1
@nilotpaul_n
Paul
19 days
You’ve Been Writing HTTP Handlers Wrong. Most Go devs write handlers that don’t return errors (standard way), they just log or http.Error inline. But it’s cleaner to let handlers return errors and handle them centrally. This makes your code more testable, readable, and
Tweet media one
6
17
172
@nilotpaul_n
Paul
22 days
Why io.Reader interface is one of the most powerful ideas in Go. The real magic of io.Reader is universality, if something implements Read(p []byte) (int, error), it can plug into almost anything: compressors, decoders, file operations, HTTP clients, etc. You don’t need to care
Tweet media one
2
27
174
@nilotpaul_n
Paul
24 days
Lost a long-running process after SSH disconnect šŸ˜µā€šŸ’«?. We’ve all been there, running something heavy on a remote VPS and boom, your SSH connection drops. Process gone. Next time, use tmux.
Tweet media one
0
0
10
@nilotpaul_n
Paul
24 days
Passing Data Across Layers in Go with context.WithValue. Don’t use context.WithValue for everything but it’s perfect for request-scoped metadata like user ID, trace ID, or request source. Here’s a clean way to pass and extract values.
Tweet media one
5
7
60
@nilotpaul_n
Paul
27 days
The real challenge in building a SaaS isn’t the product, it’s handling auth, billing, and making sure emails actually reach users.
9
0
17
@nilotpaul_n
Paul
28 days
Generate Video Thumbnails in Go with ffmpeg bindings. Working with videos in Go? The ffmpeg-go bindings let you tap into the power of FFmpeg without leaving Go. Here's a practical use case: generate a thumbnail from a video at a specific timestamp.
Tweet media one
6
20
165
@nilotpaul_n
Paul
29 days
Every SaaS dev uses Stripe, Supabase, and Railway until they hit their limits. What’s your backup stack when things get serious?.
4
0
8
@nilotpaul_n
Paul
30 days
Your frontend and backend live in separate repos? No problemo, you can still deploy and ship everything in one docker image
Tweet media one
18
41
346
@nilotpaul_n
Paul
1 month
A Goldmine for Self-Hostable Software. If you're someone who loves hosting things on your own server or just wants to break away from paid tools, then is a site you should bookmark. It’s a curated directory of self-hostable applications covering.
2
2
14
@nilotpaul_n
Paul
1 month
Stack for people who actually wanna build something. Let’s be real sometimes you don’t need tRPC, compiler frameworks, and 15-layer abstractions. You just want to build fast, keep things simple, and ship. Here’s the stack:. - Pocketbase: auth, DB, file uploads (S3 compatible),
Tweet media one
0
0
10