Tomorrow in Warsaw there will be the 4Developers festival – a conference for all kinds of software developers. It looks really interesting, and the best part of it is that I will be there, this will be fun!
Author: Łukasz Monkiewicz
It is the fourth week of work on Commutee project. Well, technically it is the fifth week, but I didn’t have much time for work on this project, so let’s pretend that it is week number four 😉
I have started thinking about the neo4j data model for all this public transport data that I have been parsing lately, and I have a big problem here…
What is Neo4j? Well, it is a database, but a different type of database, it is a graph database to be exact! And that is a really cool thing.
But what is this "graph database"? Let’s dig into it.
Another week came to pass and I have managed to do some work on my project. Unfortunately I didn’t work on it as much as I would like to, but nonetheless, I have finished writing the parser for timetables and routes data. And that counts as a success.
RxJava and Retrofit. Two really good java libraries that I recently started playing with. RxJava is a java implementation of Reactive Streams standard. It is a specification of API for processing asynchronous processing of streams. RxJava, now in version 2, is a pretty mature implementation of standard and offers a wide array of tools for use with streams. It supports basic operations like map, reduce, filtering, grouping, joining, sorting, time operations like delay, timeout, interval, window, error handling with retrying and many more. Its API is just huge, it probably has everything you may need.
Retrofit is something different and much more simple. It’s just a HTTP client library, a typed HTTP client library! It lets you easily define a java interface for remote Rest service with just a few annotations. Thanks to this, you can use your rest service like plain, local, java service, just invoke a method, pass parameters and get the results, simple as that. Oh, and it has support for RxJava, so these two play with each other really nice.
It’s one week into a competition and I already have a delay 🙁 I have planned to have the parsing of timetables done by now, but unfortunately I didn’t manage to get as much free time for this as I would like. Also, I had to make some refactorings, as my initial design had flaws.
Documentation is important, everybody knows this, especially when you are the one who needs to use some third party service or library. Without good documentation it’s often a living hell, it’s like walking through a minefield. You carefully take step after step, praying that things won’t blow up. That’s why you HAVE to create documentation, especially for your libraries and REST services. Another important thing about documentation is that you have to update it whenever code changes because the only worse thing than no documentation is wrong documentation, a documentation that is not valid for the current code base.
So if everybody knows about this, it should be ok, right? Wrong. Developers hate creating documentation and they do not do it unless it is really necessary or someone makes them do it – and unfortunately that statement is also true for me. Creating documentation is not bad, but maintaining it, may be hard, especially when you have a critical bug after bug to fix, and deadlines closing in – you just don’t have time to do it.
But there is hope… you can generate it!
It’s the first of march and this means, that Get Noticed! 2017 competition has officially begun! That also means that now there are only 3 months left to finish Commutee. I’m really curious of what will I achieve in this short time. There is a lot of work to be done. So, let’s get down to the code.
Get Noticed competition is starting soon. Only a few days left for registration. If you didn’t do it yet, do it, I assure you that it will be a great experience.
For me, it is already great, I really enjoy writing posts, it allows me to express myself, to give something back to The Internet. Yes, I know, it sounds a bit weird. But most of my professional knowledge comes from the internet, from the Stack Overflow, from the examples on GitHub, from numerous blog posts about various technologies. When I didn’t know much, all these things helped me tremendously. It allowed me to learn at my own pace, I could learn what I wanted to, what was interesting for me or what I needed at work. Everything at a click of a Google Search button.
We are really lucky to live in times when it is so easy to learn all the stuff. You just need time and motivation, and you can create anything, even if you have no idea how.
When you want to create an application, first, you have to know what this app will do. That’s a pretty important thing to know. You may know technology, know how to use it, how the user interface will look like, how data will be stored, but if you don’t know what this app have to do, you won’t be able to make it. An application must have some use cases so that users would use it for something. But wait, we know what will Commutee do, it will find me a route from here to where I want to get to, right? Yes and no. That is a general idea, but we need more than that to even start thinking about the implementation.