About us
Contact us
WanariLeaks
2024
2023
2022
2021
2020
2019
2018
2017
2016
Push Notifications – a bigger picture
Gábor Pap
2017-12-14
Many applications we create require the ability to send push notifications. Sometimes we are the ones who made the client and the backend side as well. The available tutorials are helpful but not always entirely clear; we met quite a few challenges. Let’s look at a specific example.
#Android
#code
#comparison
#databases
How to make a custom Username Password Authentication Filter with Spring Security
Alex Sükein
2017-11-28
Basically I’ll show you how to use Spring Security and how to customize it if you want. First we’ll implement the basic authentication with basic responses and other stuff, and I’ll show you how to customize the login and logout process as you wish Simple Authentication After you added the required dependencies described on Spring’s...
#code
#spring
#WebDevelopment
#authentication
Adventures of the Junior on the Memory Lake (Leak)
Zoltan Tudlik
2017-11-14
Introduction First of all, I’d like to apologize for the terrible pun in the title. It’s 8 o’clock in the morning and I’m just trying to get through the first hour with my coffee and my sense of humor is definitely not at the top of its game at this time. This is me, Zoli
#code
Ray Tracing with Akka – Part 4
Gergő Törcsvári
2017-11-07
Where did we stop last time? Read the first part of this series for an intorduction to ray tracing and what I wanted to achieve. Here we created a sphere and a shadow. Read part two for a discussion on creating a plane and letting our objects reflect and refract. Part three has been the most advanced, in here we built...
#Akka
#code
#Scala
#WebDevelopment
#ComputerGraphics
#raytracing
Easy open source licenses
Fanni Medvey
2017-10-31
A simple description of open source licences so you’ll know how to use them The Open Source Community and Licenses The open source community creates and uses free software. A copyright ensures that the author possesses exclusive rights to their product. With a licence the copyright holder provides the rights to study, change, and distribute the software to...
#comparison
#OpenSourceLicenses
Spring & Multiple SQLs: How to easily connect your Spring application to multiple SQL databases
Alex Sükein
2017-10-18
This post will show you how to connect your Spring application to multiple SQL Databases at the same time. But first, let’s see when multiple DB connections are useful. For example you have an application and you have that application set up in different environments (let’s call it “prod app”), and you want to write...
#code
#databases
#WebDevelopment
Ray Tracing with Akka – Part 3
Gergő Törcsvári
2017-09-25
Where we left off In the last two posts, we reached the capabilities of a simple ray-tracer. We now have two types of shapes (sphere and plane), we can calculate shadows, reflections and refractions recursively. Before we move onto the more computation-heavy shapes, I am curious about how I could move our computations to separated nodes. So...
#Akka
#raytracing
#ComputerGraphics
#Scala
#code
Using Websocket on Android
Tamás Agócs
2017-08-29
This post is the sequel to this post about WebSockets. I know what you are thinking. But why? Using WebSockets is a really useful way of building realtime applications, because they provide a fast, full-duplex communication channel between the server and the client. There are many libraries out there, usually providing straightforward, easy-to-use APIs for developers...
#Android
#code
#websocket
Ray Tracing with Akka – Part 2
Gergő Törcsvári
2017-08-16
Where we left off In the first episode, we made a really basic (but parallel) ray tracer. It can handle spheres and use diffuse mapping. We made three types of actors, the renderer, who starts the tracing, collects the answers and saves the picture; the scene, who manages the trace requests, gets the closest object...
#Akka
#code
#Scala
#ComputerGraphics
#raytracing
Couchbase vol2, with/without Sync Gateway — better than your girlfriend :P
Alex Sükein
2017-08-04
CouchbaseQueryExecutor vol2. Welcome back ! In a previous post I wrote about a library I made to dynamically build queries for Couchbase. This dynamic query-building solves the filterable + sortable list problem. Hope you liked that post. In case you didn’t read it, you totally should read it . Today I’m going to introduce the changes I made to that library.
#code
#couchbase
#syncgateway
ConstraintLayout 1.0
Tamás Agócs
2017-06-20
What happened since the first release of ConstraintLayout? Has it changed for the better or the worse? These and similar questions will be addressed below: Introduction It’s been a while since I last wrote about ConstraintLayout and how fun playing around with it is. Meanwhile it went through several alpha, beta and stable versions, so let’s dive...
#comparison
#ConstraintLayout
Ray Tracing with Akka – Part 1
Gergő Törcsvári
2017-05-31
About this series Most of the time, when you learn a new concept or a new programming language from a(n) (e-)book, you get the basics. But these are really far from the production-ready code with the new toolstack. The only good way to learn programming (like most of the other things in life) is to practice.
#Akka
#code
#Scala
#ComputerGraphics
#raytracing
Replacing fragments with Conductors’ Controllers
Gergely Szőke
2017-05-25
We got some good feedback about last week’s development workshop, titled “Replacing Fragments with Conductors’ Controllers” so we decided to share the slides, too! Replacing Fragments Workshop: Click the link to instantly download the slides (and): Get rid of Fragments! 😉
#Android
#code
Tips and Tricks for Choosing an IT Thesis Topic
Réka Bújdosó
2017-05-23
#changintheworld #oneappatatime So, thousands of Hungarian college students turned their theses in last week. It was probably the peak in the middle of a sleep deprived period, as examinations are also still taking place. I decided to save all my key insights from this extraordinarily amazing period of time. (riiiight.) Hopefully it will help...
#Android
The Best Scala Code Formatters and Linting Tools
Gergő Törcsvári
Barnabás Oláh
2017-05-04
Have you ever faced the problem: your PR on github is not merged because you didn’t follow the project style-guide? Or your IDE is reformatting the whole file when you just want to modify one line? We had some of theses problems with our own code-base here at Wanari (most of the time when we...
#code
#Scala
#CodeFormatter
Angular2 Grid Options
Vera Szikes
2017-04-27
The longest project in which I was ever involved in took a year. Thanks to this, I learned a lot. I remember how much of a beginner I was when I joined the team compared to now. For example, I couldn’t imagine how could I make a nice and clear table from lot of data...
#Angular
#comparison
XML Drawables for Android Developers
Gergely Szőke
2017-04-12
It’s good to know what you can do in xml to draw something on the UI. I recently noticed that I and some colleagues tend to overcomplicate simple tasks, because we don’t really know the built-in possibilities. Sometimes the design requires a not too complex, but not so simple (e.g. a shape) drawing on the...
#Android
#code
#drawable
#libraries
How are Scala Implicits more explicit than Java Generics?
Gergő Törcsvári
2017-04-05
This blogpost will show you how implicits can solve problems arising from/because of type erasure, proving that Scala implicits sometimes are more explicit than Java generics All of these code snippets can be copy-pasted to the REPL. Some of the require-s will fail, those are just to demonstrate the expected work without the need...
#code
#Java
#Scala
How Can I Use WebSocket on iOS?
Tamás Keller
2017-03-22
If you’re a mobile developer, there’s a pretty good chance that you’ve used some kind of networking. Apps most often use a REST API, and usually it’s enough, as it allows fast and easy JSON based communication (here is a JSON object converter). One of the downsides is, however, that REST communication requires the client to...
#iOS
#Swift
#websocket
ZeroKit and Firebase Demo App First Look
Gergely Szőke
2017-03-09
If there is sensitive data to be stored when developing a mobile app, security is of utmost importance. Developers can make hackers’ work harder, but it’s almost impossible to totally prevent a data breach if they are at it. Key and encryption handling can be a real pain-in-the-ass. Storing encrypted data is one thing, but...
#Android
#authorization
#databases
How to write cancellable http requests with Angular $http service
Csenge Sóti
2017-02-16
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...
#WebDevelopment
#AngularJs
#http
#javascript
How to Write a Custom Protocol for Gatling?
Gergő Törcsvári
2017-02-10
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...
#code
#Scala
Speed Recommendation for Keeping and Manipulating Objects
Kristóf Horváth
2017-02-02
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...
#comparison
#databases
#Java