Where should I keep JS and CSS code — inline or in an external file

Hamlet's great question ("To be or not to be"), turns in web development and mobile world into Javascript (or CSS stylesheet) asking the developer: "To be inline or not to be". In other words: what is better -- to put code inline of HTML page or to put it in an external file? I was more than sure, that the answer is pretty straightforward -- external file is always better. And I keep myself with this answer. However, I found a few arguments, that my sound interesting at first, but must be answered.

Read More "Where should I keep JS and CSS code — inline or in an external file"

Invert non-consecutive data column in Excel

Let's say, that you have a one or more columns, in which you would like to invert data. What is most important -- data does not follow step-by-step (in which case you'd use simple data sorting function in Excel), It can have something like –1, 5, 76, 23, –65, 124 in each following row of column and you want it to have like 124, –65, 23, 76, 5, –1. How to do this, if you deal with hundreds or thousands of rows, so manual change is not an option?

Read More "Invert non-consecutive data column in Excel"

A library for gauges, charts or data visualisation

There are certain drawing and graphic libraries in Javascript that can be considered for:

  • drawing charts,
  • doing some data visualization for the website,
  • using them as gauges / clocks for the mobile client

(gauges can be used in limited manner on the website as well).

This article deals with most interesting ones that you may consider for above purposes.

Read More "A library for gauges, charts or data visualisation"

Reverse geolocation with OpenStreet Maps reverse geocoder. Pros and cons

Reverse geolocation is a process of obtaining certain geographical information (like street name, city, country etc.) based on geographical coordinates only.

OpenStreet Maps offers a cool looking (at least at first sight) reverse geocoder that can feed your application or website with a valuable geolocation data. However, as you go deeper in to the details, more cons over pros can appear.

Read More "Reverse geolocation with OpenStreet Maps reverse geocoder. Pros and cons"