Code Maker // Code Breaker
  • Home
  • Blog
  • Resume

Articles

January 21, 2021

Go memory leak: Close your *http.Response Body!

Go’s documentation can sometimes wildly understate the importance of one of its warnings: It is the caller’s responsibility to close Body. The default HTTP client’s Transport may not reuse HTTP/1.x “keep-alive” TCP connections if the Body is not read to completion and closed. This warning seems to say that connection pools attached to a given *http.Client may not be reusable if you fail to close to
May 14, 2016

Using Docker Compose for a Multi-App Portfolio

Maintaining a portfolio showcase of different apps can be a daunting task. Applications, particularly ones that are not developed in the same environment, often make contradictory assumptions about what they can do inside their environment. For example: They assume they have exclusive use of a port number. They make assumptions about where their root URL. 0.0.0.0/my_home_page vs 0.0.0.0/app_A/my_home_page They assume they have full control of their dependencies Application A requires version 1 of package P, but Application B requires version 2.
May 14, 2015

Curatr

UPDATE: Curatr is no longer live. I’m working on some updates to make it more usable and less of a headache to setup. RSS readers (though somewhat out of style) are still an efficient way to inform readers of new media from their favorite creators. While apps like Feedly have tried to take the place of the defunct Google Reader by making RSS feeds prettier and more automatic, they have not changed how users actually use an RSS feed.
May 14, 2015

Hello World!

This is my first blog post! I hope to post many projects, code examples, reviews(?), and musings here. Enjoy the blog! Comments welcome.
© Code Maker // Code Breaker 2022