Blog

Quick Tip - Multiline md-tooltip

by caliche on Dec 11 2016 - 12:38pm
Filed under angular, css, tooltip
There's was issue opened in angular that wasn't resolve, about how the md-tooltip does not support multiple lines of text. Since there's not a straight forward solution you can use CSS to solve this issue.
The most important css to add would be:

.md-content._md.md-show {
height: auto... Full Article

How To - Create a reusable autocomplete component in angular

by caliche on Dec 4 2016 - 3:11pm
By creating an autocomplete component you ensure flexibility and maintainability in your application. Changes and business rules are all concentrated in a single place making your views unchangeable if new features are needed or if perhaps your consumable service changes.
To create a re-usable... Full Article

Quick Tip - Prevent to commit unformatted Go code

by caliche on Jul 3 2016 - 7:44pm
Filed under go, git, commit, tip, golang
One of the many things a love about Go, is that it gives you a set of tools so that you can keep true to your own code style. People can adapt to different formatting styles but it's better if they don't have to, and less time is devoted to the topic if everyone adheres to the same style. Go... Full Article

How To - Simple Java Reflection

by caliche on Jun 27 2016 - 10:57pm
Reflection is the ability of a computer program to examine, introspect, and modify its own structure and behavior at runtime. Reflection is very useful for creating frameworks, serializers, metaprogramming, among other solutions. Let’s have a quick intro on how to do reflection in Java and how it... Full Article

Even with slf4j, should you guard your logging?

by caliche on Jun 23 2016 - 9:38pm
Filed under slf4j, logging, Java
The slf4j site, indicates that because of the parameterized logging, logging guards are not necessary.I.e. instead of writing:

if(logger.isDebugEnabled()) {    
    logger.debug("Entry number: " + i + " is " + String.valueOf(entry[i]));
}
You can write... Full Article