Hello and welcome to WanariLeaks.

How to write cancellable http requests with Angular $http service

Inspiration The recent spread of the mobile internet connection almost completely changed the job profile of almost every frontend-developer. We steadily try to make our web pages responsive, and fearlessly fight against a wide variety of mobile browsers. But the mobile internet access has one more, a less freqently mentioned danger that causes sleepless nights […]

How to Write a Custom Protocol for Gatling?

I like to try out new tools and new things, so I decided to loadtest my newly written “simple chat” application to see how AkkaStreams handles load. Starting with load testing, there are some tools out there. The top three are JMeter, Gatling and Tsug. Tsug is written in erlang, and my half year long […]

Speed: Recommendation for Keeping and Manipulating Objects

It is often the case at Wanari that we need to convert objects of one kind to become objects of another kind. This happens because we use different models in the different levels of an application. The question obviously came up: how should we do this? Does it matter what kind of a collection we […]

A Quick Guide to Implement a Cross-Browser AngularJS Pull-to-refresh Directive

What made me do this? As a newbie in frontend development, I have to admit, a few months ago I couldn’t even imagine myself writing my own UI component. In those good days, I just carelessly included other, ready-to-use components and never thought about why and how they really work. Sometimes these plugins caused me […]

Deploying a Play! app to Azure via Jenkins

Here at Wanari, we use Play Framework for many of our projects and maintain products on our own servers. Not too long ago, a client of ours requested to move such product to Azure Cloud. After a bit of research we found 3 options: We create a Virtual Machine on which we arrange the environment we use on […]

Dynamic Constraint Calculator for iOS

In today’s world of iOS development, graphical interface editors, especially Storyboards, gain more and more popularity. It’s because they continously improve, are easy to grasp, and provide a lot of features to make our lives easier. Not to mention, they save us from a ton of coding. One of these key features is Auto Layout, […]

Monday Morning with a Content-Security-Policy HTTP Response Header

The story Mondays are always a unique mixture of a new beginning and unexpected surprises in every office. Sometimes you find a solution for a long-standing problem, but you never know what awaits you in your mailbox after a long, unclouded weekend. The Monday morning, on which my story begins, is a good example for […]

CouchBase: how can you make a filterable list in SpringData?

Sure it’s not Instagram filters; Couchbase filters are to be created here: What is Couchbase? Couchbase Server is a NoSQL document database with a distributed architecture for performance, scalability, and availability. It enables developers to build applications easier and faster by leveraging the power of SQL with the flexibility of JSON. http://www.couchbase.com/nosql-databases/couchbase-server Why do you […]

Sharing code-love with youngsters

a.k.a. I WANT THEM TO LEARN AND NOT JUST PLAY MINECRAFT ALL DAY I’m writing my post mainly to moderately desperate parents seeing their children in front of computer screens flooded with seemingly useless games. I’m also writing my post to excited older brothers/older sisters/uncles/aunts whose lives’ are devoted (~committed, ha ha.) to making the world […]

Adventures of a First Time Junior Dev

Being on the verge of employment for me was a rather scary situation as a wannabe developer. There were so many doubts in my mind – most of which in retrospect were absolutely irrational. As of now, I’ve been working at Wanari for 3 months. Here I will write about my fears as a student, […]