Skip to main content

PHP 8.3 is out!

Submitted by mishutka on

PHP 8.3 is out! Yay!

This is first time for last years when PHP version upgrade did not brake anything in our projects. All issues were just about some dependencies did not update php version requirements. Now everything is solved so we have PHP 8.3 on our production servers and everything works good. Much faster, much less code problems to solve comparing to 8.0 -> 8.1 or 8.1 -> 8.2 upgrades.

Switching to Debian 12 "bookworm"

Submitted by mishutka on

Debian 12 bookworm was released on June 10th, 2023. And next day we tried to use it (in development environment). And it went unexpectedly easy, there were no problems at all. So we started to plan migration for all servers in three steps: development servers, testing (staging) servers, production servers. And today we finished migration of all production servers to Debian 12 bookworm.

From our 20 years of experience of using Debian Linux transition from bullseye to bookworm was smoothest and easiest ever.

Switching to Drupal 10

Submitted by mishutka on

Drupal 10 is out for more than two months already! And this is extremely exciting.

Usually it takes from a year to switch to new core version: a lot of modules to upgrade, significant code changes. But Drupal 10 has almost the same core code as previous generation Drupal 9.5. There is a lot of deprecated code removed, there are some new features, but most of 9.5-compatible code runs without any problems with 10.0-core.

PHP 8.2 support added for our composer compatible version of JpGraph library

Submitted by mishutka on

As usual long story short:

We added patches to avoid PHP 8.2 warnings and some deprecation notices. Our internal tests are passing. Plus we have several confirmations from other users about no problems with PHP 8.2. So version 10.2.1 marked as release candidate and seems to be ready for production usage.

We'll mark it stable as soon as PHP 8.2 released (expected on November 24, 2022).

mt-howmany: characters, lines, printed pages count for source code of project

Submitted by mishutka on

One day our team has discussion about how to estimate amount of source code for one of our projects. First idea was just calculate total files size, but... A whole bunch of questions arised immediately: there are a lot of vendor code in project, there are binary files, there are images, generated code, multi-byte character encodings and so on.

Our goal was to understand just how many pure code was written by our team. And we want to know characters, lines and printed-pages estimate counts for projects. So this pet-project was born as an answer to this questions.

Composer compatible version of JpGraph library with PHP 8.1 support

Submitted by mishutka on

Long story short:

We use JpGraph library in several projects. It is looks like abandoned project: almost no updates from maintainers, website and documentation is not updated either. We tried to look for alternative... and there are none! All other charts libraries are either paid ones or have much less functionality. So we stayed with JpGraph.

Moving site under Drupal 9

Submitted by mishutka on

"The shoemaker’s child always goes barefoot"... Our site was created under Drupal 6 CMS in 2008. It was almost frozen since 2012. It took several years to finally find a spare time to migrate out site to modern Drupal 9 CMS.

For now we just moved all important content from old site and did some basic setup. There is a lot of work ahead. But at least is is possible now to  add information about company, projects, team, skills and so on. So stay tuned, we'll do a lot of updates in near future.

There are also couple ideas about technical articles for site.

"Collapse" button plugin for CKEditor for Drupal

Submitted by mishutka on

Several days ago I needed to add an ability to add "spoilers" to comments and nodes at VELOBY.NET web site (Minsk's cycling community). Spoiler is a part of text, that is hidden from viewing by default. It expands by click showing previously hidden content to users.

I've googled nice Collapse Text module for Drupal. Installed it, enabled in input format settings. Everything is fine with it.