With the CSS Paint API already being available in Chrome 65 and the CSS Layout API on its way it’s a good time to look at Houdini again. Say Hello to Houdini and the CSS Paint API → Related: This talk by Sam Richard: Magic Tricks with CSS Houdini
Working with symlinked packages in React Native
For an RN app I’m co-developing we have several repos that work together. One of the repos acts a library for other repos to use. During development, in order to test a few things out, we sometimes need to have the local dev version of the library repo work with one of the other repos …
Continue reading “Working with symlinked packages in React Native”
Lesser known CSS Quirks & Advanced Tips
Introducing Flutter, Google’s new Mobile UI Framework
Recently Google announced Flutter, their mobile UI framework that “helps developers craft high-quality native interfaces for both iOS and Android”. Flutter targets the sweet spot of mobile development: performance and platform integrations of native mobile, with high-velocity development and multi-platform reach of portable UI toolkits. Here’s a simple Hello World app: import ‘package:flutter/material.dart’; void main() …
Continue reading “Introducing Flutter, Google’s new Mobile UI Framework”
Unlearning Toxic Behaviors in a Code Review Culture
Sandya Sankarram recently tweeted out this nice list of behaviors to avoid in code reviews: Behaviors to avoid in code reviews: – stating opinion as fact – avalanche of comments – asking devs to fix problems they didn’t cause – judgemental questions – sarcasm@sandyaaaas #AlterConf pic.twitter.com/LX1AeG4JOk — Rachel Thomas (@math_rachel) December 10, 2017 In an …
Continue reading “Unlearning Toxic Behaviors in a Code Review Culture”
Trigger macOS notifications from the CLI with node-notifier-cli
$ notify -t “Hello” -m “My Message” -s –open http://github.com $ notify -t “Agent Coulson” –icon https://raw.githubusercontent.com/mikaelbr/node-notifier/master/example/coulson.jpg $ notify -m “My Message” -s Glass $ echo “My Message” | notify -t “Hello” Installation per NPM/Yarn: yarn global add node-notifier-cli TIP: As with many packages you can also run it using the aforementioned npx: npx -p …
Continue reading “Trigger macOS notifications from the CLI with node-notifier-cli“
Making a Deep Copy of an Object in JavaScript
In JavaScript, when cloning an object via Object.assign({}, obj) or by destructuring it (e.g.{…obj}, only shallow copies are created. Surma has explored some unusual ways – other than JSON.parse(JSON.stringify(obj)); to create an actual deep copy: MessageChannel History API Notification API (told you they were unusual ;)) Deep-copying in JavaScript →
Dribble Inspired Todo Empty State Transition implemented in React Native
IoC containers beyond constructor injection
Talk by Hannes Van De Vreken, as given at the recent phpCE conference in Poland: Did you know your IoC container can do a whole lot more than just constructor injection? Besides that it is actually packed with features. Inflectors, resolving callbacks, aliasing, method invocation to name a few. In this talk you will learn …
Continue reading “IoC containers beyond constructor injection”
Grid Time (or “Why are clocks in Europe lagging behind by 5 minutes?”)
Yesterday I heard on the news that clocks in Europe have started to lag behind on the official time. The culprit is a fluctuation in Europe’s electricity grid. Clocks, like the ones in your microwave, that are reliant on Grid Time are affected by these fluctuations: Grid Time is a time measurement which is based …
Continue reading “Grid Time (or “Why are clocks in Europe lagging behind by 5 minutes?”)”