Technologies

HTML5 Video tag, and webm

HTML5 Video tag, and webm

In ancient times, when youtube was born, we didn’t have VIDEO tag. We used to have Flash. To play video on the website, we had to convert it to weird Flash video format, leave mp4 for safety and hope that everything will work fine. Later on, when HTML5 became a industry standard, our live become some much easier. In the theory VIDEO tag solves all out issues. When browser can handle webm (Chrome family) we play webm.
PHP returning wrong date

PHP returning wrong date

From time to time we are working on small campaigns, where competition starts at given time. Because in Australia we have “so many” timezones, it’s critical to set things correctly according to the time zone.

Australian postcode to state conversion

Australian postcode to state conversion

list of Australian postcodes by the state

Recently I was working on a project, when I had super boring address form. I figure out that we need to help poor users fill boring forms, so made a little code snippet / function which gets postcode and returns state. Postcode ranges were taken from wikipedia , so blame them if something isn’t working as expected.

Binary compression still alive – golang binary compression.

Binary compression still alive – golang binary compression.

In the ancient times, when I was coding mostly in Pascal – size did matter. People were using RAR to shave couple kilobytes from archives, and having 2mb executable was better then having 4mb executable file. In that beautiful time we used UPX – I wasn’t aware that this project is still alive, and works nicely with binaries create bo go lang. Ultimate Packer for eXecutables Copyright (C) 1996 - 2017 UPX 3.