If it’s been a while that you’ve touched PHP (like say, from before version 7.0) or have no idea what the language can do for you, Brent has a nice writeup on the state of PHP in 2019: Let’s focus on the things that have changed and ways to write clean and maintainable PHP code. …
Author Archives: Bramus!
Train of SpaceX‘s Starlink Satellites captured as they fly over Holland
Yesterday SpaceX deployed the first batch of satellites for “Starlink”, its ambitious internet-from-space program. In total 60 of the 12000 planned satellites got deployed. Holland based Dr. Marco Langbroek captured the train of satellites as they passed over Leiden, the Netherlands, about 22.5 hours after launch. Over the coming days the “train” of objects will …
Continue reading “Train of SpaceX‘s Starlink Satellites captured as they fly over Holland”
CSS Color Scheme Queries (“Dark Mode CSS”)
Next to Safari 12.1 earlier this month, Firefox 67 now also supports “CSS Color Scheme Queries”. The prefers-color-scheme media feature allows sites to adapt their styles to match a user’s preference for dark or light color schemes, a choice that’s begun to appear in operating systems like Windows, macOS and Android. Chrome will support + …
Continue reading “CSS Color Scheme Queries (“Dark Mode CSS”)”
Getting started with Event Sourcing (in Laravel)
I’ve seen Freek give his talk on Event Sourcing in Laravel at a Full Stack Ghent meetup recently. Glad to see the talk evolved a bit more and he now has made a recording of it. Don’t let the “in Laravel” part scare you, as the knowledge is applicable across different frameworks and languages. For …
Continue reading “Getting started with Event Sourcing (in Laravel)”
Application State Management with React
Kent C. Dodds on how he uses React itself – and not something like Redux – for his Application State Management. Here’s the real kicker, if you’re building an application with React, you already have a state management library installed in your application. You don’t even need to npm install (or yarn add) it. It …
The Most Expensive Lesson Of My Life: Details of SIM port hack
Sean Coone got hacked last week. Even with 2FA enabled, hackers got in … because his phone number got transferred to a rogue device: My personal identity was hacked last week. The attacker was able to steal $100k+ in a sweep of my Coinbase account. I’m equal parts embarrassed, hurt, and deeply remorseful. In an …
Continue reading “The Most Expensive Lesson Of My Life: Details of SIM port hack”
Symfony Form Validation: Validating a date range
One of the (Symfony based) PHP projects I’m working on contains a form which allows the user to generate video clips from CCTV footage. To do this the user can enter a start and stop DateTime. For this to work the submitted input data is then checked: both start and stop must be dates, and …
Continue reading “Symfony Form Validation: Validating a date range”
JavaScript Mouse Trail Effect
Game of Thrones: An Ending
George R.R. Martin, on his blog “Not a Blog”, now that the final episode of Game of Thrones has aired: I’m writing. Winter is coming, I told you, long ago… and so it is. THE WINDS OF WINTER is very late, I know, I know, but it will be done. I won’t say when, I’ve …
Microsoft Edge preview builds for macOS
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 …