Jan, after having switched jobs: After building ‘just websites’ for 5 years it amazes me how many other tools exist to create the most awesome things while being efficient … and I’m having the time of my life learning all these new things! It feels like I’ve broken out of a routine I was stuck …
Run a PHP script as a service/daemon using start-stop-daemon
In a recent project I needed to permanently run a PHP CLI script; it needed to run as a service/daemon. A few Google search coupons later I got my answer: use start-stop-daemon to make it work. To not manually type in those lengthy commands it’s possible to wrap these in a handy little script, as …
Continue reading “Run a PHP script as a service/daemon using start-stop-daemon”
PHP is meant to die
PHP is meant to die. It doesn’t mean that it will disappear into nothingness, it just means that your PHP code can’t run forever; The core PHP feature follows the most simple programming workflow: get input data, process it, display the output, and die. … If you want to keep [PHP] processes running forever they …
Web Animations Polyfill
<div class=”pulse” style=”width:150px;”>Hello world!</div> <script> var elem = document.querySelector(‘.pulse’); var player = document.timeline.play(new Animation(elem, [ {opacity: “0.5”, transform: “scale(0.5)”}, {opacity: “1.0”, transform: “scale(1)”} ], { direction: “alternate”, duration: 0.5, iterations: Infinity })); </script> An emulator of the Web Animations specification. Please note that this is still experimental, and that the specification is likely to change …
Zaarly Employee Handbook
We are building something that could quite literally create a new economy and transform lives by connecting people. We work for those people. If we do our job well, we’ll create something that matters as much to them as it does to us, and all of our lives will be better for it. We have …
MapBox styleguide
High Performance Animations
Modern browsers can animate four things really cheaply: position, scale, rotation and opacity. If you animate anything else, it’s at your own risk, and the chances are you’re not going to hit a silky smooth 60fps. True story. A recent animation-heavy prototype I once made was, at first, quickly thrown together by animating top/left, scrollTop …
Coding-Style Conventions
It’s a man’s phone
As a woman, I’ve slowly been written out of the phone world and the phone market. That extra “.2″ inches of screen size on each upgrade simply means that I can no longer do what I enviously observe men do every day: Check messages one-handed while carrying groceries or a bag; type a quick note …