React Native + SwiftUI

Kureev Alexey on how to use SwiftUI Components in an React Native App. Today, we’ll write a proxy that allows developers to use SwiftUI in their React Native applications. The Native SwiftUI Button Component looks like this: struct SwiftUIButton : View { @ObservedObject var props = ButtonProps() var body: some View { VStack { Text("Count …

Google Cloud Build + Google Cloud Run: Fixing “ERROR: (gcloud.run.deploy) PERMISSION_DENIED: The caller does not have permission

Google Cloud Build is cool. Google Cloud Run is awesome. But when configuring Google Cloud Build to automatically deploy your built container to Google Cloud Run you might see this error: ERROR: (gcloud.run.deploy) PERMISSION_DENIED: The caller does not have permission If you’re seeing this error you forgot to set up the required IAM Permissions for …

Delete untagged image refs in Google Container Registry, as a service, with gcr-cleaner

GCR Cleaner deletes untagged images in Google Container Registry. This can help reduce costs and keep your container images list in order. GCR Cleaner is designed to be deployed as a Cloud Run service and invoked periodically via Cloud Scheduler. Clever! All commands to install this one are provided. gcr-cleaner →

Today, the Trident Era Ends

IE6 vs. the Acid2 test. It was only until IE8 that it passed Acid2. When “Edgium” got released about a month ago, Schepp also wrote an extensive piece to commemorate the Trident rendering engine. Back in the days, Microsoft was single-handedly pushing the web forward, with around 1.000(!) people working on Internet Explorer and with …

How ads follow you around the internet

A video-version of How tracking pixels work by Vox: In this video, we explain how cookies work and what you should know about how they’re being used. And we get a little help from the man who invented them. Spot on “Finding Dory” analogy. One thing where they do go off a bit is that …

New in Chrome 80

Chrome 80 recently got released, with some nice new features. To me the highlights are: Support for Optional Chaining SVG favicons, which also support prefers-color-scheme BTW New in Chrome 80 → 💁‍♂️ Also on my list of highlights is Linking to text fragments using a special URL fragment in the form of :~:text=[prefix-,]textStart[,textEnd][,-suffix]. It’s a …

An Overview of JSX With 3 Non-React Examples

Valeri Karpov on how JSX is transformed into JavaScript: The JSX compiler parses all the element types, props, and children, and passes each of the nodes in the tree through a pragma. The pragma is just a fancy term for the function that JSX calls on each node. In the case of React, React.createElement is …

Fire and forget HTTP requests in PHP

Chris White, on creating really fast HTTP requests in PHP, by manually building an HTTP request and sending a payload: Hand-crafting HTTP requests seemed like an unreliable method at first, but after some pretty extensive testing I can vouch for it reliably sending the requests and the remote server receiving them in full. It can …

The Wall of Technical Debt

Mathias Verraes on Technical Debt: The problem isn’t technical debt, it’s unmanaged technical debt. In any company, the CFO knows exactly how much financial debt there is. There are spreadsheets, quarterly reports, payment plans, and options to refinance or sell debt. But ask your CTO how much technical debt your organisation has, and you’ll get …