Fighting android canvas – Hexagonal imageview layout for Android
We made a simple design for one of our apps which included a hexagonal network of images which should contain profile pictures of the users who liked a certain app.
We made a simple design for one of our apps which included a hexagonal network of images which should contain profile pictures of the users who liked a certain app.
So we wanted to integrate a websockets server within our REST api for which we were using HapiJS. I was previously using Socket.IO solution for websockets and I was very happy with it. So we decided to use it with our REST server in a single codebase.
mGetActiveHubUpdatesInteractor.getActiveHubUpdates() .filter(Optional::isPresent) .firstOrError() .map(Optional::get) .flatMap(activeHub -> mGetActiveHubEventsInteractor.getActiveHubEvents(activeHub, startTime, endTime)) .flattenAsObservable(list -> list) .map(mActiveHubEventUiMapper::toUiActiveHubEvent) .toList() .subscribe(this::populateEvents, this::handleError);
I just wanted to share with you how my terminal looks like and how to export the PS1 variable. To achieve it for Ubuntu: sudo gedit ~/.bashrc For Linux Mint: sudo gedit /etc/bash.bashrc And paste the following there at the line before the last one: export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[01;33m\]$(__git_ps1)\[\033[01;34m\] \$\[\033[00m\] '
Edit: All of this happened in the long forgotten year - 2014 It is time for me to tell you a nice story. It is a long one so you can directly go to the middle of this article, which I expect to be long, so you can get the main point.
Recently, Facebook decided to turn off access to public events. So now, if you are not an administrator of the page or if you don’t have an access to the page, you don’t have access to its events, even though they are public. Here is the bug for it.
The Content I recently got to watch several videos about architecture that got me a bit deeper into the topic and I decided to share my thoughts here. There first two videos are from Realm: MVC vs MVP vs MVVM vs MVI by Marcin Moskala Android Architecture Components Considered Harmful by Vasiliy Zukanov They are mostly Android oriented but there are some general rules which are applicable to code architecture.
Short Intro For 4 months now I have been implementing “clean architecture” in my current project. The project is huge, more than 17 Android developers work on it including me, so it is important to apply an architecture that works for all of us. I will not talk about what “clean architecture” is, but I will directly dive into the code and explain step by step the purpose of the layers that we have and what each layer is about.
Recently, I had a very strange problem to debug. I had the following interactor:
Recently, I installed MongoDB following the tutorial on their site on Ubuntu 16.04 64 bit. But when trying to start the mongod service I got the following error: “Failed to start mongod.service: Unit mongod.service not found.”