You are here |
marcmutz.wordpress.com | ||
| | | |
miparnisariblog.wordpress.com
|
|
| | | | A co-worker shared this article from The Guardian with me: Not using a password manager? Here's why you should be... And suggested that we read the comments. So I did. The man's got a point. I think the industry is heading in that direction. Both my phone and my laptop have fingerprint readers and I... | |
| | | |
miparnisariblog.wordpress.com
|
|
| | | | package main import ( "context" "fmt" "os" "os/signal" "time" ) func main() { fmt.Println("Press Ctrl+C to exit") ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, os.Kill) defer stop() waitForExit := make(chan struct{}) go func(ctx context.Context) { for { select { case <-ctx.Done(): fmt.Println("before exit") time.Sleep(1 * time.Second) fmt.Println("after exit") waitForExit <- struct{}{} return default: fmt.Println("long running task") time.Sleep(1... | |
| | | |
miparnisariblog.wordpress.com
|
|
| | | | AWS DynamoDB does not follow the same architecture as the Dynamo paper. If you use standard DynamoDB within a single-region, you get single-leader replication. This means that: One leader node handles all the writes. The writes are copied to follower nodes asynchronously. If you send two concurrent writes for the same PK+SK, you need to:... | |
| | | |
www.alfredo.motta.name
|
|
| |