Month: November 2015
How do Promises Work?
GraphQL is the King. Long Live the King! (R.I.P. REST)
The Cost of Frameworks
https://aerotwist.com/blog/the-cost-of-frameworks/ ᔥ
At work, there’s talk of moving to a completely JavaScript front end, so this is timely.
A bird’s eye view on API development
Conway’s law
organizations which design systems … are constrained to produce designs which are copies of the communication structures of these organizations
— M. Conway
Open-Source Service Discovery
http://jasonwilder.com/blog/2014/02/04/service-discovery-in-the-cloud/
Service discovery is a key component of most distributed systems and service oriented architectures.
The problem seems simple at first: How do clients determine the IP and port for a service that exist on multiple hosts?
Solutions described in the blog post:
Print all duplicate lines in a text file to another file
http://explainshell.com/explain?cmd=uniq+-d+temp.xml+%3E+duplicates-only.xml
I used this the other day to quickly get a list of duplicate lines in a file.
Staticman: Commenting platform for static sites
I’m not sure how I feel about regenerating the site every time someone leaves a comment. I like the idea that comments are stored in plain text along with the rest of the site content without the need for iframes or 3rd party JavaScript.
Caffeine: High performance caching library for Java 8
https://github.com/ben-manes/caffeine
Take a look at this page discussing caching algorithm efficiency.