Ivan Morgillo

Programming, Life-style, Random

  • Kotlin DSL Gradle files, multiple modules and shared variables

    This doesn’t want to be a real article, but more a crash course about Kotlin DSL for Gradle. The crucial point is the possibility of migrating an existing project to the new Kotlin DSL for Gradle, in an incremental, modularized fashion. Below we have a pretty standard root project build.gradle file: https://gist.github.com/hamen/7fa25a3a7ad8452873051f7782c77db5The parts that I…

    Read all

  • Being alone is not being lonely

    I have started meditating in 2014, thanks to Francesca. I was coming from a very hard year: working in the sport event business is no joke when it comes to stressful environment. However, I was thinking I was doing OK: new year, new job, new city, new work domain. What could possibly go wrong? Well,…

    Read all

  • Push vs Pull: air conditioning system

    By Ivan Morgillo, Sasa Sekulic and Fabrizio Chignoli This article has been excerpted from Grokking ReactiveX. After a life of imperative programming, switching to a reactive mindset could seem challenging: “Why should I give up all the control and bend to this <data are in control> thing?” Let’s look at it in an everyday life scenario:…

    Read all

  • GDG Geneva — July event

    GDG Geneva is a small GDG, but we try hard 😊 Last Monday we had our July event, and, despite the tremendous heat, spent more than one hour talking about MVP on Android. I prepared a small Android app to demonstrate how we can create an app that fetches data from a backend and shows…

    Read all

  • My week at Droidcon Zagreb and App Builders

    Last week was quite intense for me. For the first time I had two conferences in two countries in 3 days. I’m definitely too old for this 😜 Droidcon Zagreb Droidcon Zagreb started like this: The moment they dropped us at the hotel, we got a bag full of gifts and candy! There were plenty of…

    Read all

  • Running Android Unit Tests before Git Push

    This is a quick note about a Git hook I use to double check that everything is fine before pushing to our remote Git repo. This covers a paranoid scenario, I know, but sometimes a refactoring can go wrong and lose pieces between production code and tests: every now and then, one of my tests…

    Read all

  • Android Library AAR and Javadoc

    As an Android developer, I’m used to ask Android Studio/Intellij Idea for documentation constantly. I have even replaced the shortcut: now, it’s F1, the old-fashion help key. When I want to know about a method or a class, I hit F1 and the JavaDoc shows up: smooth. How does this works? Story time! The Catapush user…

    Read all

  • Installing Git Cola on OSX

    There are tons of Git GUIs out there, ready to be installed with a couple of clicks. However, over the years I have always used Git Cola because it seems to be the only one providing one specific feature I use very often: Stage Selected LinesMany GUIs provide only something like this: Stage Diff HunkHunks often are…

    Read all

  • Text replacement, ASCII emoji and Slack

    Humans are creatures of habits and programmers… well, even more! Working remotely, I spent lots of hours interacting with people using a keyboard: https://giphy.com/gifs/EtB1yylKGGAUg/html5Not like that! I mean typing! Nowadays, typing emotions is a common thing: we use emojis. They are everywhere: Slack and Facebook have them. Not Twitter (Yeah, I know! I just can’t…

    Read all

  • ADB over WiFi

    A few days ago, I built a device holder to place as many devices as possible on my desk without losing my sanity (https://medium.com/@hamen/first-hardware-project-of-2016-device-holder-4ef25670c507). One more step in that direction is solving the charging issue: N devices, with turned on screen, wifi and gsm data vs Powered USB Hub Poor USB Hub cannot win against…

    Read all

Go to top