PHPNews

Exploring interdependencies in global resource trade

The volume of natural resources traded globally has increased over 60% since the turn of the century, reflecting and reinforcing new economic and geopolitical realities and bringing new environmental and social challenges – as well as opportunities. Now everyone can explore these fast-evolving dynamics through Chatham …

Continue reading »

Written by Bram.us - - Aggregated on Monday June 19, 2017


Aspect Ratios in CSS are a Hack

Right now I’m in Amsterdam attending CSSDay (my fourth time already!) . Earlier this morning Bert Bos and Håkon Wium Lie – yes, the inventors of CSS – were on stage reflecting on the first days of CSS and things they’d’ve done differently or turned out differently than they expected. At the end of the talk the …

Continue reading »

Written by Bram.us - - Aggregated on Friday June 16, 2017


Zttp, a developer friendly wrapper for Guzzle

If you’re not familiar with the evolution of Guzzle, the library has basically gotten more professional and less usable with each new version. New layers upon layers of specification-respecting abstractions and rules made Guzzle incredibly difficult to get started with. Zttp solves just that, by keeping things …

Continue reading »

Written by Bram.us - - Aggregated on Thursday June 15, 2017


Inclusive Design Principles

These Inclusive Design Principles are about putting people first. It’s about designing for the needs of people with permanent, temporary, situational, or changing disabilities — all of us really. They are intended to give anyone involved in the design and development of websites and applications – designers, user …

Continue reading »

Written by Bram.us - - Aggregated on Thursday June 15, 2017


CSS Shapes, Clipping and Masking

The release of Firefox 54 is just around the corner and it will introduce new features into an already cool CSS property: clip-path . clip-path is a property that allows us to clip (i.e., cut away) parts of an element. Up until now, in Firefox you could only use an SVG to clip an element: But with Firefox 54, …

Continue reading »

Written by Bram.us - - Aggregated on Thursday June 15, 2017


Safari Auto-Play Policy Changes for macOS

The Safari team: Safari in macOS High Sierra uses an automatic inference engine to block media elements with sound from auto-playing by default on most websites. Safari 11 also gives users control over which websites are allowed to auto-play video and audio by opening Safari’s new “Websites” preferences pane, or …

Continue reading »

Written by Bram.us - - Aggregated on Friday June 9, 2017


Polluted Water Popsicles

What if one were to create water popsicles from sewage water? Art students Hung I-chen, Guo Yi-hui, and Cheng Yu-ti from the National Taiwan University of the Arts did just so: The group collected polluted water from 100 locations in Taiwan, first freezing the collected sewage samples and then preserving their …

Continue reading »

Written by Bram.us - - Aggregated on Friday June 9, 2017


Gallery Invasion

A dynamic projection mapping by Antoon Verbeeck and Filip Sterckx located in Leuven, Belgium: We used a Panasonic PT-VZ570U projector, which had the MH12-VZ75L Mirror Head from Dynamic Projection Institute mounted in front of the projector’s lens. This is basically a mirror that is motorized and programmable and …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday June 7, 2017


git-blame-someone-else

Always dissatisfying when running git blame , and turning out that it was you yourself whodunit . This is where git-blame-someone-else comes into place: $ git blame-someone-else <author> <commit> * evil laughter * git-blame-someone-else →

Continue reading »

Written by Bram.us - - Aggregated on Tuesday June 6, 2017


How the CSS minmax() Function Works

One incredibly useful new feature introduced with the CSS Grid Layout Specification is the minmax() function. This function opens the door to us being able to write much more powerful and succinct CSS by allowing us to set, as a value for a grid track, a function including both a minimum and maximum value. Using …

Continue reading »

Written by Bram.us - - Aggregated on Tuesday June 6, 2017


The problem with maps // Playing with Projections

One of the core ideas covered in my talk named “Geoshizzle” on mapping is that the Mercator projection is way overdue. It’s main feature of preserving angle measurements is no longer feasible in this time and age (it was back when you were sailing a boat to get somewhere) , and it’s distortion of areas has affected …

Continue reading »

Written by Bram.us - - Aggregated on Friday June 2, 2017


Introduction to commonly used ES2015 (ES6) features

Good overview to get started with ES2015 by Zell Liew in case you’re still not using it (which you should; just do it!) . As he puts it: JavaScript has progressed a ton in the recent years. If you’re learning JavaScript in 2017 and you haven’t touched ES6 ES2015, you’re missing out on an easier way to read and …

Continue reading »

Written by Bram.us - - Aggregated on Friday June 2, 2017


Debugging Node.js using the Chrome DevTools

With Chrome 57+, the Node.js debugging feature is enabled by default. To start debugging, run your Node.js application [using Node 6.4+] with the --inspect flag. Like so: $ node --inspect <your_file>.js Open the outputted URL or visit chrome://inspect/ to open dedicated DevTools for Node to …

Continue reading »

Written by Bram.us - - Aggregated on Tuesday May 30, 2017


Google Maps’s Quiet Transformation

Justin O’Beirne kept an eye on how a specific area evolved on Google Maps and on Apple Maps over time: Patricia’s Green is the centerpiece of a vibrant and trendy neighborhood in central San Francisco, just blocks away from City Hall. I wrote a script that takes monthly screenshots of Google and Apple Maps. …

Continue reading »

Written by Bram.us - - Aggregated on Tuesday May 30, 2017


npm v5.0.0

This release marks months of hard work for the young, scrappy, and hungry CLI team, and includes some changes we’ve been hoping to do for literally years. npm@5 takes npm a pretty big step forward, significantly improving its performance in almost all common situations, fixing a bunch of old errors due to the …

Continue reading »

Written by Bram.us - - Aggregated on Monday May 29, 2017


Learning Music with Ableton

Nice work by the Ableton folks. A website to experiment with beats, melody, harmony, basslines, and song structure: In these lessons, you’ll learn the basics of music making. No prior experience or equipment is required; you’ll do everything right here in your browser. Right here in your browser™ Learning …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday May 24, 2017


Scaling your Redux App with ducks

It’s one of these things I too keep struggling with from time to time: do you organize your project files per type/functionality, or per feature? Alex Moldovan from FortechRomania: Our approach starts from the need to isolate the React code into a single folder — called views  — and the redux code into a …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday May 24, 2017


Nobody knows what the fuck they’re doing.

Max Stoiber, on determining if you’re qualified or not for a specific (frontend) job listing: If you’ve built a side project with React.js and know your way around JavaScript in general, you’re at least as qualified as 90% of all other devs out there. I’ll tell you a secret: Nobody knows what the fuck they’re …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday May 24, 2017