WordPress, Nginx, Apache and webp images
So you want to use webp with WordPress but not install just another (paid) plugin? With the help of some bash, ImageMagick and nginx or apache you're ready to go.
Read More »So you want to use webp with WordPress but not install just another (paid) plugin? With the help of some bash, ImageMagick and nginx or apache you're ready to go.
Read More »It was one of my best tweets regarding engagement was related to Password Managers and why people use them.
The question was:
What password manager(s) do you use (or do you?)
The following is not a conclusive list. But, I distilled the 4 most mentioned Password Managers and the reasoning.
If you're further interested in this kind of topic, take a look at my password handler without storing passwords at all.
Also, as a developer one could think about using blackbox in combination with Git/GitHub.
Recently, I took a look at the ext-php-rs project.
With ext-php-rs you can very easily write extensions for PHP in Rust.
So, for testing, I developed a little extension implementing a function I recently used in native PHP.
Read More »If you're still using HDDs (Hard disks) you might run into some issues with it over time. It might even fail completely or just give you some corrupted data. Here's how I restored a hard disk's data for a friend, recently.
Read More »After saving a lot of companies during COVID-19 many companies picked working from home as their new bargaining topic and declare remote work or workers as the reason for bad economics.
Read More »While the default linking is dynamic for Rust and using OpenSSL you can change the default and use static linking as well. For my use case I had a different setup on the build machine and the target deployment (yes, no docker here). So I needed to statically link OpenSSL instead.
Turns out you can very easily change that in Rust via:
OPENSSL_STATIC=yes OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu OPENSSL_INCLUDE_DIR=/usr/include/ cargo build
The first OPENSSL_STATIC
param tells cargo to use static binding for OpenSSL.
Whilst the second param OPENSSL_LIB_DIR
is used to specify OpenSSL's library folder.
Last but not least we have OPENSSL_INCLUDE_DIR
for telling cargo where to find the OpenSSL header files.
And that's it.
Of course, in most cases you probably want dynamic linking (and get a smaller executable) but in some cases this helps a lot.
Ever wondered about serde's custom deserialization because of multiple possible types? Me too! After some researching and testing I found a way to easily convert all possible data types into one single type so your application can handle it.
Read More »Recently there was a court ruling in Germany making Google Fonts an issue with GDPR. I wrote a script to detect and replace its usage in a compliant way.
Read More »The war in Ukraine and the everlasting climate change issue made me think about how fucked we as a species really are. So I got the idea of creating a website to document our species' progress on that matter.
Read More »Here are some of the most interesting articles about innovation, money and work I read the last 2 weeks.
Should you start from scratch when building something? Or do innovations come from iteration?
That's what James Clear writes about in his article Don't start from scratch.
Summing it up: No, most of the time you shouldn't start from scratch! Most innovation comes from iterating on or building on already existing technologies or solutions.
You probably already thought about the question: How much money is enough?.
Turns out there's an answer for that.
It's an individual one for each of us. And it might not be what you think it is.
Having not enough money sucks. Having too much can suck as well.
So there's not a threshold but a range of wealth where you can truly do and say what you want.
Hence, f**ck you money.
Essentially, this article how to use daily quadrants is about when to be most effective and to do what kind of work.
In the end: do the heavy (brain) lifting in the morning when you're more focused and alert.
Also, what about the work as a developer: What do you think about Pull Requests?
Are they a good thing for your professional work or could they hold you back?
There's evidence stating that high performance teams do not seem to use PRs quite often. Which might either be because they just don't need it since they're just a well oiled team who found their ideal workflows and processes. Or that those teams might not profit from using PRs at all.
The article tends to conclude that it works well for managing trust i.e. in Open Source development teams.
But professional teams working in a company shouldn't use this additional step. At least not if they want to be a fast moving team producing rapid results.
If you're into Rust and web development here are some interesting Rust related articles I've read lately.
If you're interested in Rust and missing image recognition features like with OpenCV this article about Rust with OpenCV got you covered.
So, I like developing with Svelte and Rust. When I found this article about developing a Svelte store with Rust I was instantly hooked.
Do you know the book Effective C++? It's quite popular in the C++ world and if you enjoyed it and are about to learn Rust you might like the book Effective Rust.
I happened to stumble upon this article from 2019 about "the feedback fallacy", again. If you don't know it, it's a very good read!
You might have asked yourself if there was anything good about those feedback rounds.
This article pretty much sums this up and handles the good and especially the bad parts.
And makes suggestions on how to do it better.
This article is part of a new format called shorts.
Here I will just share one or a few links, maybe an interesting video or podcast.
Or some outlines about what I learned today.
If you're about to use GitHub actions to deploy, there's a perfect blog article by Zell Liev about getting scp and ssh to work in GitHub actions.
To reduce the amount of recruiting messages I wrote a questionnaire tool (retrap) recruiters can use to see if it makes sense to write to me. But what do you do once you get an interesting offer and time still matters?
Read More »Calculating the break-even is a helpful tool in determining if a venture or project has the potential to succeed.
Here's how you do it and how to create an app simplifying the result's representation.
You may have heard the term 'Micro Service'.
Shortly summarized it coins for a very small (as in features) application often providing an API that can be used by another app or service.
So, what about when you add a simple frontend to the pile?
Derzeit stoße ich auf einige Studien und Artikel, die sich des Themas Homeoffice zu Zeiten der Pandemie annehmen.
Meiner Meinung nach sind diese häufig (in die eine oder andere Richtung) tendenziös, weshalb ich hier mit einigen Missverständnissen aufräumen möchte.
Using sveltekit if you have used svelte before is quite straightforward. At least most of the time.
Loading and displaying dynamic (as in by API call) wasn't that obvious to me at first.
So here's a short description of the most important things to keep in mind.
When I searched for a new display with more space I wanted to know if using a curved for programming tasks could work. Turns out it is great!
Read More »You probably thought fast concurrency powers were only possible with NodeJs or maybe Go, even Rust? Well, think again! Here's how to do it with PHP
Read More »