Skip to main content

Posts

Showing posts from 2023

A program removing qTranslate language section

Overview This is a program for migrating from a Wordpress with qTranslate to Wordpress multi-site. It removes the language-specific contents and tags attached by qTranslate plugin. Keywords: qTranslate, qTranslate-X, multi-site, multi-language, Wordpress Introduction Ten years ago from now (abound 2013), it is common that the cheapest web hosting service had 0 SQL databases, and even the next level service with database had up to 2 SQL databases. Therefore, if you want to use Wordpress in multiple languages, qTranslate multilingual plug-ins https://qtranslatexteam.wordpress.com/ was a common solution to reduce the number of database use. How does the qTranslate plugin work? The qTranslate plugin puts special tags ([:ja], [:], etc.) in the text. The plugin will retrieve the specific language text based on the tag. Advantages and disadvantage of the qTranslate plugin The biggest advantage of the qTranslate plugin is that it needs only one database even if it is multilingual. Ten years a

A story on Japanese blogs about potatoes being convicted in a Catholic religious trial. (I cannot find it in other languages.)

One of my favorite YouTube Channels is "Miscellaneous History Historica (歴史雑記ヒストリカ)" by Mondo ( https://www.youtube.com/@mond_historica ). It's a Japanese channel. There is a video about the history of potatoes. https://youtu.be/qiJNxcjQBtk  【ゆっくり歴史解説】じゃがいもはどうやって食卓に浸透したのか?世界史の中のイモ史。 (Yukkuri-history explanation: How did potatoes make their way to our tables? The history of potatoes in world history.) In this video, there were stories about Marie-Antoinette and Louis XVI's attempts to introduce potatoes, and the relationship between the English royal family and potatoes. Potatoes are "unbiblical crop" and therefore they are evil. The fact that they grow from seed potatoes is "sexually impure" because "potatoes grow in a way other than the union between a male and a female ordained by God. The Roman Catholic Church accused them, and they were guilty. Then, potatoes were burned at the stake."  I thought this story was interesting because Rom

How to fix VirtualBox Linux boot error: vboxadd-service.service failed.

Problem: 2023-05-25, suddenly I cannot boot my linux virtual machine with an error vboxadd-service.service failed. My environment   Host: Windows 11   VirtualBox 7.0.6. r155176 (Qt5.15.2)   Linux kernel 5.19.0-42-generic, Kubuntu Solution: Remove the additional module. It seems this is no longer needed. mount the VBox_GAs_7.0.6 (You need to mont VBoxGuestAdditions.iso and need to see it at /media/<username>/VBox_GAs_7.0.6/) cd /media/<username>/VBox_GAs_7.0.6/ sudo ./VBoxLinuxAdditions.run uninstall Solution (updated 2023-06-02) The issue seemed caused by the wrong display setting. Removed VBoxLinuxAdditions makes VBoxVGA Graphics controller works, but the clipboard between host and guest didn't work. So removing the VBoxLinuxAdditions is not a solution. I have no idea why the Graphics controller setting suddenly causing a problem. But here is the solution. Setting the Graphics controller to VMSVGA resolved the problem. VBoxLinuxAdditional.run should be executed. Otherw