If you are developing a website on Linux or Mac you may want to check the behavior of the website in Windows with the Internet Explorer or with the latest Microsoft Edge web browser. I am developing the most projects local in a Docker container, a Vagrant box or for example on a local Apache server. Sometimes also with the build in webserver of PHP or grunt-contrib-connect. The type of local webserver is not that important, more important is the fact that the webserver is not reachable from outside. Developing on my Linux machine and switching to an Windows machine in my network to check the behavior of the website is no option as workflow. Luckily is Microsoft providing Free Virtual Machines from IE8 to MS Edge.
I am working on a small PHP library that should use some new features from PHP 7, for example scalar type declarations and return type declarations. But my current Debian 8 has only PHP 5.6.29 for me at the moment. The unstable distribution sid is no option to me and in general I try to avoid installing a specific PHP interpreter on my OS. Fortunately I need PHP only on the command line to test my library so I can use Docker to switch between the versions.
I made a small post about
Inexact rounding up or down with decimal digits.
But it is also possible to run into the same bug when rounding floating point numbers to the next number with
restricted decimal digits. A really common example is the price calculation. You have the price
for example and the tax is maybe 19%. The resulting price with tax would be
2.3681. So you will
need to round the price with two decimal digits to
The most D3 examples that I can find are not responsive embedded SVG. I guess the main reason for that is not to confuse the reader of a tutorial with stuff outside of D3. With the help of How to Scale SVG from Amelia Bellamy-Royds I would like to show on a minimal D3 example how to make the resulting SVG responsive.
4.0.0 seems to be released soon. My small blog is mostly based on plain Bootstrap with a few color changes. I will
try to upgrade from Bootstrap
3.3.6 to version
v4.0.0-alpha.5. This post will just
document the changes that I have noticed while upgrading.
web browser. There was always the global
Node.js has changed this assumption.
I need to resize all images in a directory. The
convert command from
combined with a loop over all image files in a directory seems to be a good solution.