 
      
    | You are here | antonz.org | ||
| | | | | pboyd.io | |
| | | | | The flower bed in the front of my house. Yes, it's overgrown. I'm sure an upstanding citizen concerned with suburban respectability, such as yourself, will agree with my wife that I "should really do something about that." I had plenty of time this week, so naturally, I used that time to ignore the flower bed and write a mosaic generator. That way, I can give you this lovely mosaic of my not-so-lovely flower bed: | |
| | | | | rmoff.net | |
| | | | | ||
| | | | | golangbot.com | |
| | | | | A Mutex is used to provide a locking mechanism to ensure that only one Goroutine is running the critical section of code at any point in time. Mutexes help avoid race conditions. | |
| | | | | jbrandhorst.com | |
| | | I've had my fair share of dealing with proto files in go (and to some extent JS), so I thought I'd share some stuff I've learnt the hard way by working with proto files. Protoc include paths The protoc include paths can be pretty confusing, so I'll give a few examples of how to use it properly. Just include the current directory protoc requires that the files referenced are in the include path, so if you're referencing files relative to the current directory, you'll need to specify -I. | ||