AMAlex Mateoinalexmateo.hashnode.dev·1h ago · 4 min readN-Queens Is Just Subsets With One Extra Line For a long time I split backtracking into two mental buckets. There was the easy bucket, subsets and permutations, which I could write in my sleep. And there was the scary bucket, N-queens and Sudoku 00
PEPrasad Ekkeinprasadekke.hashnode.dev·20h ago · 7 min readProfiling a Go Service in Production: pprof in 10 MinutesGo ships with a profiler built in. No third-party tools, no agents to install, no instrumentation to add upfront. If your service imports net/http/pprof, you can profile it live in production right no00
SHSohag Hasaninnotes.sohag.pro·1d ago · 10 min readDesigning a REST API for a Payment Ledger: Resources, Verbs, and Why I Avoided GraphQLOpen your banking app and scroll the statement. Every row has a little running balance on the right: after this coffee you had 4,210, after that salary you had 54,210, and so on down the list. It feel00
SHSohag Hasaninnotes.sohag.pro·1d ago · 9 min readAtomic Transaction Posting in Go: Getting Balance Invariants Right Under ConcurrencyImagine an account with 100 taka in it, and two withdrawals of 100 taka arriving at the exact same instant. Both read the balance, both see 100, both say "yep, enough money," and both go through. The 00
SHSohag Hasaninnotes.sohag.pro·1d ago · 9 min readPostgres Schema for a Multi-Tenant Ledger: The Trade-offs No One Talks AboutOpen your banking app and look at the balance. It feels like a saved number, a single field in a row somewhere with your name on it, that goes up when money arrives and down when it leaves. That menta00
NPNeel Patilingowithcompiler.hashnode.dev·4d ago · 3 min readGo Backend Journey — Chapter 1: Introduction to Go Why Was Go Created? Go was developed at Google to address challenges such as: Slow compilation of large projects. Complex language features that made code harder to maintain. Difficulty writing con00
MDMikhail Diesperovinbearatol.hashnode.dev·4d ago · 1 min readI created the simple logger.lg loggerI wrote a logger that is as simple as possible, suitable as a replacement for the standard logger, because it works on its basis. It can't compare with zap and logrus, it just adds the conven00
MDMikhail Diesperovinbearatol.hashnode.dev·4d ago · 2 min readA Go developer’s take on AI "vibecoding": Building a secure web utility hubI usually write backend stuff in Go, so I prefer strict typing, predictable performance, and explicit code. However, I wanted to see if the recent hype around AI-assisted development ("vibecoding") is00
SMSahasrajith Minconcurrency-in-go.hashnode.dev·5d ago · 55 min readGo Concurrency, From Zero to Under the HoodThe 3 AM Pager Story It's 3 AM. Somewhere, a server holding your half finished food order just caught fire. You don't notice. Your app keeps working. The order still arrives. You sleep through the who01S
PEPrasad Ekkeinprasadekke.hashnode.dev·Jun 23 · 8 min readcontext.Context Is Not Optional: A Practical Guide to Cancellation in Go ServicesEvery Go service that does I/O — database calls, HTTP requests, queue polling, file reads — should be passing a context.Context through every layer. In practice, a large number of codebases treat cont00