Speaking of IE in the previous post: Microsoft just (officially) released the first preview builds for Microsoft Edge for macOS, which uses the Chromium rendering engine internally. Although I don’t use my Mac’s Touch Bar – I’ve got set it to always show the full control strip – I really like how they’ve linked it …
A Conspiracy To Kill IE6 — How YouTube got rid of IE6 for us
Great read on how a few YouTube engineers bypassed the internal Google politics in order to abolish IE6 from their list of supported browsers: One idea rose to the surface that quickly captured everyone’s attention. Instead of outright dropping IE6 support, what if we just threatened to? How would users react? Would they revolt against …
Continue reading “A Conspiracy To Kill IE6 — How YouTube got rid of IE6 for us”
Selling Composer Packages through “Private Packagist for Vendors”
Nice new addition by Packagist: If you’re selling PHP packages, the easiest way to offer Composer package installation to your customers is now “Private Packagist for Vendors”. You get a unique URL and authentication token for each customer and they can use these in their composer.json file to install your packages. Especially if you’re still …
Continue reading “Selling Composer Packages through “Private Packagist for Vendors””
The Grocery Store Receipt, Reimagined
Data Visualization Engineer Susie Lu wondered: how can viz be integrated into everyday experiences?. This is what they did with the classical grocery store receipt: Wow, that’s … great! 😔 Unfortunately we all know that stores won’t do this, as it will lead to people to be more aware of what they are spending, and …
Can you spot a Map Trap?
Truncating Multi-line Text with CSS
To truncate multiline text in CSS, Safari introduced -webkit-line-clamp a long time ago (first mentions I found date back to 2010). .line-clamp-3 { /* Required declarations: */ overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; /* Limit the text block to three lines */ -webkit-line-clamp: 3; } By now the property has been standardised as line-clamp. Firefox …
Optimizing JavaScript packages for tree shaking
Geoffrey Dhuyvetters from madewithlove on how authors of (open source) JavaScript packages can optimize their builds for tree shaking: How do we create a package that exposes both CommonJS & ES modules while making sure we don’t break cross-platform support? Publishing 2 separate packages is an option (e.g. lodash/lodash-es). But there is a nicer, more …
Continue reading “Optimizing JavaScript packages for tree shaking”
Bash/Shell Autocompletion for Composer
The other day I opened up a PHP project that I hadn’t worked on in a while. No longer remembering which Composer Scripts I had defined for it, I needed to take a peek inside composer.json to see which ones were available to me. Then it hit me: why is there no autocompletion for composer …
Making Future Interfaces: ES Modules
Disable Hardware Media Keys Support in Chrome
A new feature that landed in Chrome 73 is support for hardware Media Keys. Whenever you press one of the play/pause/next/prev buttons on your keyboard, Chrome can now respond to this and will pause/play the actively playing element. Whilst this might be a good addition for many, it doesn’t work me, as I’m constantly playing …
Continue reading “Disable Hardware Media Keys Support in Chrome”