July, 2014

now browsing by month

 

AngularJS: testing services that use $resource

when you’re writing services that interact with the backend, you may need to break your service into two services to avoid mock objects. And this is okay!

Things I have learnt in the first 5 minutes of using Elastic Search

pretty much the same experience I’ve been having, at least the documentation part. it’s almost non-existent and single sentences to explain options in the query DSL are useless, there aren’t enough examples either. what’s with JS and newer developers completely forgetting to write documentation? It’s strange and unfortunate. Get thisRead More

sweet.js macro for three.js (webgl)

By using sweet.js, the macro I wrote simplifies the render loop for three.js