Tuesday, January 6, 2026
Library, “Injecting factory” and best practices for extending a library
Library has that structure: class X that hold references to other classes, that hold references to other classes and few more layers. Class hierarchy is “tree-like” structure.
I look for best way for refactoring – flexible enough to prevent people forking it. I cannot find any best practices on that problem.
Over years I use to solve it by “Injecting Factory” – Factory pattern where parent object is being injected (DI) in factory method. I cannot find any documentation on such approach and I need some feedback on it (e.g. theory or possible problems).
I describe it with an example with Car:
Thursday, January 1, 2026
Clover boot loader cannot boot from NVMe / PCIe disk - solved
Clover boot loader software could not find your NVMe partitions because it comes with no NVMe driver.
The solutions of the issue is easy - you should just download that driver (it's universal NVMe driver) and copy it to Clover boot partition in a specific directory.
Wednesday, March 12, 2025
Programming Chinese Remote Control for Garage Door or Barrier
Sometimes programming, resetting, clearing remote control for a garage door or a barrier fails even if we follow instructions from manual strictly. Symptoms of remote control are:
- RC ignores the commands
- RC looks as it has manufacturing defect.
We have found how to workaround the failure!
Our solution could work when all these conditions are true:
- you have never been bale to program your RC in the way manual states
- LED indication works fine (battery is not dead)
The reason
The issue seems Chinese manufacturer wired buttons differently.
The solution
Wednesday, December 25, 2024
Google Gemini blocked by Google Workspace - Sovled
Error message:
"I can't use Google Workspace because required Gmail settings are off. Turn on these settings, then try your prompt again."
Solution - deactivation and activation solves it:
Tuesday, October 3, 2023
Disadvantages of Modern Sleep mode (S0)
S0 sleep and overheating
Lets check requirements for DELL for using the only supported Sleep on its new computers.
https://www.dell.com/community/en/conversations/xps/faq-modern-standby/647fa2d5f4ccf8a8de87e727
Information about power consumption during different Standby Sleep modes here.
S0 sleep and battery
During S0 sleep your computer still uses power. And it uses significantly more power than in S3 sleep. Your CPU is active. Your disks are active. Your network hardware could be active all the time.
So what happens when you use your PC, your battery enters in critically low level, your computer enters into sleep and you connect it to adapter after few days?
Sleep is not visible from Shut down menu?
The problem
You have installed graphics video card drivers. They work fine and updated. But "Sleep" is still missing from "Shutdown" menu?Well known causes and solutions
You still have the issue?
Sunday, June 18, 2023
Solution when WhatsApp does not restore chat backup
WhatsApp does not restore my backup - Troubleshooting
Step 1 - Ensure you have a backup from your old device - stored into Google Drive
- If you haven't got Google Drive backup, log into the old device, and create a new Backup
- Google Backup needed. It will not work with local backup.
Step 2 - If Backup is ignored on your new device, you need to uninstall WhatsApp and install it again.
- Uninstallation - Ensure that you remove all App Data
- This will remove all chat history from your new device
- You could not merge chat history from the old device and chat history from the new device.
Thursday, April 27, 2023
Customizing Classic Editor in Wordpress
Customizations in Classic Editor in Wordpress could be done by "Advanced TinyMCE Configuration" plugin.
How it works?
Classic Editor in Wordpress is based on TinyMCE editor. Wordpress instructs it how to act, how to look as UI.
"Advanced TinyMCE Configuration" changes TinyMCE startup configuration.
To be able to configure Classic Editor you would need to know know to configure TinyMCE.
TinyMCE configuration
Here are some links from TinyMCE documentation:
Thursday, April 6, 2023
DreamsTime free – what is the catch? What is legal?
You could see that DreamsTime offer a week of free trial.
Could you get some benefits from DreamsTime free?
Short answer it NO – in almost all cases you could take no benefits from the free period.
No? Why?
For your free period you receive images with watermarks only.
In fact they cannot be used for almost nothing, not (only) because of watermarks but because of legal restrictions:
Tuesday, April 4, 2023
DreamsTime "ERROR: The login must contain only alphanumeric characters."
Error message in DreamsTime
ERROR: The login must contain only alphanumeric characters.
Solution
If you experience this error while you want to create DreamsTime account, we have solution for you.
If you experience this error with Chrome browser, try different browser, e.g. Microsoft Edge.
That's all.
Its just a bug in software and we hope DreamsTime will fix it soon.
Monday, March 27, 2023
AutoSSL missing from cPanel
If you cannot find AutoSSL in cPanel apps, it is because it is not mentioned in main screen with all apps.
It is not missing, it is just hidden. So how could we start AutoSSL?
Friday, March 24, 2023
Stop Wordpress from removing Microdata from pages and posts
Do you experience Microdata disappears from your pages and posts?
What makes Wordpress remove Microdata data?
It happens within Classic Editor or in Block Editor in sections managed by Classic Editor. I experienced that after saving my content.
It happens because the editor knows which attributes are used in standard HTML pages and it encounters new and unknown attributes. The editor decides that they are not needed and removes them.
Partial solution
One part of the solution is written in this page.
Complete solution
So here are instructions to solve the whole problem:
- Install this plugin - Advanced TinyMCE Configuration Plugin
- Dont worry that the plugin is old. It works flowlessly with Wordpress 6.2.x. I guess it would work after years because there is almost no changes in Classical editor.
- Enter this option name: extended_valid_elements
- The option value you want to add: @[itemscope|itemtype|itemid|itemprop|content],div,span,h1,h2,h2,h4,h5,h6time[datetime]
Result
Check your results
Unsupported glossary source and target language pair - DeepL
Unsupported glossary source and target language pair
DeepL API gives you this error because you missed to get the fact glossaries in DeepL are extremely reduced as functionality.Sale of FREE GPL products - the new fashion trend
GPL license
GPL license defines that a product could be used free.
- Can be used commercially
- Can be modified
- Can be distributed
- Cannot be sub-licensed
- Cannot be hold liable
- MUST disclose source
- Not forbidden GPL software to be sold.
Examples
WPML - translation plugin for Wordpress
Monday, March 20, 2023
PorkBun automatically deletes some Wordpress plugins
If you wonder why some of your plugins disappear from your PorkBun hosted account, they could be deleted by PorkBun.
There is a set of plugins that PorkBun doesn't like. Actual list with them is written here.
One of reasons PorkBun does remove plugins is that (according PorkBun) they are slow. They have different concerns for others. Soo, you need to go for alternatives.
We provide a cached version of the list with their blocked plugins:
Interview questions for Java developers
Tips for preparing for a Java developer interview:
Review Java fundamentals: It is important to have a good understanding of the core concepts of Java such as Object-Oriented Programming, Data Structures, Algorithms, Exception Handling, and Multithreading.
Know the basics of frameworks and libraries: Familiarize yourself with popular Java frameworks and libraries like Spring, Hibernate, Maven, and JUnit.
Understand the interview format: Find out what type of interview you will be having. Will it be a technical interview or a behavioral interview? Knowing the interview format in advance can help you prepare better.
Research the company: Get to know the company you are interviewing with. Look at their website, read up on their products, and try to get a sense of their company culture.
Prepare questions to ask: Have some questions prepared to ask your interviewer about the company, the role, and the team you would be working with.
Be confident: Remember to be confident in your abilities and focus on showcasing your strengths during the interview.
Practice coding: Brush up on your coding skills by practicing coding problems on platforms like LeetCode or HackerRank. This will help you develop your problem-solving skills and also give you an opportunity to practice coding under pressure.
If you want to check real questions from Java Interviews, check the link. There is a lot of practical information. Research over pages inside that site could save you a lot of research.
Friday, February 3, 2023
Gmail uploads files in Drive even small files are attached - "Your files are larger than 25 MB. They will be sent as Google Drive links."
It happens with me when attaching images. Their total size is much less than 25MB. Today it happens with images with total size of 7MB.
There is a bug report in google support center from 2020. The bug is still not fixed.
It seems as a workaround to "drag and drop" files into the area of your email. This would include the files inline.
Not the real solution but it works. Maybe we will need to wait few more years Google to fix this in GMail.
Tuesday, January 17, 2023
Acronis backup software does not support exFAT - Acronis Cyber Protect, Acronis True Image, etc
Acronis backup software cannot read files inside exFAT. It includes Acronis Cyber Protect, Acronis True Image.
Acronis software seems full of limitations and exFAT confirms it one more time.
exFAT
exFAT is introduced in 2006. Even Windows XP has support for it.
After August 2019, Microsoft published its specification.
It is even more interesting what Acronis support says about it:
"The issue here is that exFAT requires extra software to work in a Linux environment (Fuse) which is not included in the standard Acronis linux based rescue media."
FUSE
In fact FUSE is open software. What FUSE wiki page says is that
"FUSE was merged into the mainstream Linux kernel tree in kernel version 2.6.14.".
That kernel was released in October 2005.
Delay of 18 years
So Acronis is out-of-date with about 18 years.
People want to know is Acronis ATI, Acronis ACP just a software produced buy a school boy or something designed to be used in companies and in corporation?
Affected software
Acronis Cyber Protect, Acronis True Image and many other :)
Our recommendation
Do not use Acronis in any case. Never ever. For anything.
Wednesday, January 4, 2023
Exception from HRESULT: 0x80040255 - Error from CDBurnXP solved
CDBurnXP shows this message when disk is low quality.
Error text:
Exception from HRESULT: 0x80040255
Disk is not dead!
In my case Disk is not dead!
Sometimes disk could be burned with CDBurnXP. Try few times.
If it didn't help, try different speed - in my case higher speeds had higher probability rates.
If it didn't help, try to finalize disk.
I hope its a solution for you too.
Monday, June 21, 2021
Uninstall Avira unwanted programs: Phantom VPN, Game Booster, System Speedup and Optimizer Host.
Avira non-antivirus applications
Avira is a nice antivirus but last years its bundle comes with "helper" programs that most people hate:
- Avira Phantom VPN,
- Avira Game Booster,
- Avira System Speedup,
- Avira Optimizer Host
- etc
Avira knows users want to remove them, to stop them, to disable them. But Avira tries its best to keep them there in many ways: