You may want to do this if you want to write a framework that relies on the name of the resources and not the actual ID, in order to remove references to the R class. For example if you use R.layout.activity_todo_list in your class, and you want to move your class in a separate library... … Continue reading How to get Android resource ID by string
I was playing with the TypeScript playground (http://www.typescriptlang.org/play/) and noticed how cool is to have a great linter that checks your code for all kinds of errors and gives you meaningful warnings. So check this out: ... and after you hit run!
Probably many of you already know that, PWAs (Progressive Web Apps) are apps that can run in the browser or in a standalone window and can take advantage of native OS features, such as push notifications and the ability to work offline. Recently they’ve got a lot of media attention because they seem to be … Continue reading How you can develop Progressive Web Apps that feel native
Let's say we have the following piece of code: This method can be used to add a specific number of days to the current timestamp and is incorrect 🙂 . Let's assume the current timestamp is 1522734845054 (April 3, 2018 5:54:05.054 AM). If we call plusDays(10) it will correctly return something like 1523598845054 (April 13, … Continue reading Java Computation Bug
It's nice to live in a perfect world where every problem has an elegant solution but when dudes like Bruce Dawson, an awesome C++ developer from Google, commits code with this subject line, I think we can safely assume that the perfect world doesn't exists 🙂 . Avoid Windows kernel bug using Python hack I … Continue reading GIT commits a la Google
Good news for WEB fanatics, Ricky Mondello from Apple announced on Twitter that Safari will have support for Web App Manifest and Service Workers which means multi-platform PWAs are now possible. https://twitter.com/rmondello/status/956256845311590400 PWAs or Progressive Web Applications are basically enhanced web apps. When the user regularly returns to the app, browsers will invite him to … Continue reading PWAs are coming to iOS 11.3