Uurgensherpainurgen.com.np·Dec 14, 2025 · 2 min readOrphan and zombie processOrphan Process An orphan process is a process that no longer has a parent process. This can occur when the parent terminates before the child. In most operating systems, the orphan process is adopted by the init process (usually PID 1), which ensures...00
Uurgensherpainurgen.com.np·Apr 23, 2024 · 2 min readCustom package in go and importing itgo mod init {REMOTE}/{USERNAME}/hellogo Where {REMOTE} is your preferred remote source provider (i.e. github.com) and {USERNAME} is your Git username. If you don't use a remote provider yet, just use example.com/username/hellogo ➜ /workspace . ├──...00
Uurgensherpainurgen.com.np·Mar 5, 2024 · 1 min readwebhooksA webhook is an event sent to your server by an external service. When building a webhook handler: Ensure your handler is idempotent, as the third-party system may retry requests. Never acknowledge a webhook request unless it's processed successful...00
Uurgensherpainurgen.com.np·Feb 17, 2024 · 2 min readRevoking JwtsACCESS TOKENS One of the main benefits of JWTs is that they're stateless. The server doesn't need to keep track of which users are logged in via JWT. The server just needs to issue a JWT to a user and the user can use that JWT to authenticate themsel...00
Uurgensherpainurgen.com.np·Feb 4, 2024 · 2 min readGO mutex -pt2RW MUTEX The standard library also exposes a sync.RWMutex. By using a sync.RWMutex, our program becomes more efficient. We can have as many readLoop() threads as we want, while still ensuring that the writers have exclusive access. In addition to the...00