How to create Queue Workers
In my opinion queue workers are often overlooked and underutilized as a way of dealing with background tasks. In the bad ole days of Drupal, we were stuck with hook_cron and a single wget call to cron.php with a so-called “secure key.” This post is not a “history of cron in Drupal” post. Over time, modules were created to make cron more maintainable, and Drush commands made the wget call obsolete.
Take advantage of your time off
Info: This is part three of the Freelance & Prosper series, a series about how to prosper in a job that can feel very insecure and not very stable to some. Burnout and stress are things everyone should be concerned with. As freelancers, it’s vital because we often have less of a safety net, economic, social, and otherwise. I’ve always had a high degree of self-reliance. I’m still not very good at listening to what my body is telling me.
My burnout story
Info: This is part of the Freelance & Prosper series, a series about how to prosper in a job that can feel very insecure and not very stable to some. I was early in my freelancing career when I was contacted about an opportunity to freelance for a major Danish company, which was in the process of creating a new platform for its entire portfolio. The project sounded exciting. It was a big and complicated project, I was taking the lead on it, and they were paying a high rate.
Why financial stability is freedom
Info: This is part two of the Freelance & Prosper series, a series about how to prosper in a job that can feel very insecure and not very stable to some. I have a lot of freedom of choice in my life these days, and it all comes from working as a freelancer. I can’t see myself ever going back to the “treadmill” of permanent employment. Not only because it’s a massive pay cut but also because I’ve yet to meet the employer who will let me work the way I do now.
How I choose contracts and clients
Info: This is part one of the Freelance & Prosper series, a series about how to prosper in a job that can feel very insecure and not very stable to some. Saying that I “choose” contracts and clients indicates I have plenty of offers, and I can pick and choose. The reality is a bit different. What I mean is: There are plenty of contracts out there, but I’m not interested in working on everything.
Drupal 9: Views bulk operation
Views bulk operations are a great tool for mass content operations in Drupal, and creating a bulk action is pretty simple. For this post, we’ll set ourselves the task of creating a bulk action for adding tags to the selected nodes. I have created a basic installation for my Drupal 9 Code Examples, and we’ll be using this as a baseline. Disclaimer this example does not aim to meet all possible implementations but is targeted at the specific installation.
Experience ~ Talent
I have had many titles during my career, and most of them have included the modifiers like “Junior” or “Senior”. I have also worked with many people with the same modifiers in their names. The modifiers tell me what their experience level is, but they don’t tell me if the developer is any good. One of the common recruitment questions I run into is “How do I tell if an applicant is any good?
NoTTL - A new caching concept?
There is an old joke in IT that goes “The 2 hardest things in programming is Naming, Caching, and off by one error’s”. I’ve often said there is another one: the first-hit performance problem. I’ve worked with several websites where everything is fine when the cache is there, but then it expires and you’re left with dreadful 3-5 second load times at best, and sometimes a lot more. Users leave the site, google gives you a bad score, and as a result your SEO rank drop, adding to the downward spiral.
Stop gambling with Scrum
I used to play Texas Hold’em back when it was the popular thing to do. Like so many others I’d watched it on TV, and with the sudden availability of online poker, I was hooked. I quickly learned the difference between the gamblers and the players, and it was an obvious one. The application of math, strategy and knowledge. The winning players understood how to apply probability to the game, as well as how previous actions and games affected the players and the metagame.
How to benefit from a retrospective
In my experience, the retrospective is the most underutilized and straightforward ceremony in Scrum. I’ve sat in numerous retrospectives, where issues were raised, no actions were discussed, and no attempts to address the issues were made. I’ve also sat in ones, where no issues were raised, but everyone knew what the issues were. It was like being part of a Cargo Cult and as a result, the issues often persisted throughout the projects.
When Scrum becomes a Cargo Cult
You probably started making changes to Scrum to make it “better fit” your organization or team, and at that point, it became “Scrum, but”. You know this has happened, if you are asked to explain your process, and you start by saying something like “We use Scrum, but…”. However, removing elements of Scrum without considering its effect is ill-advised. I’m not saying you shouldn’t adjust your process. I’m saying, that doing it for convenience and without thorough consideration is tantamount to starting a Cargo Cult.