Skip to main content

Posts

Showing posts with the label computer

The export function of WordPress 6.7.2 doesn't work when Easy Social Feed 6.6.5 is enabled.

Summary at 2025-03-04 Problem: I cannot export WordPress 6.7.2 blog content through the tool -> export. Cause: Easy Social Feed version 6.6.5 causes this issue when enabled. Solution: Disable Easy Social Feed version 6.6.5 Details Last month, I noticed I could not export the WordPress 6.7.2 blog contents to a file using the tool -> export. The result shows up in a browser window instead of saving a fine. When I saved the contents in the browser window with SaveAs, I could not import the file. Figure: Failed export results in a browser window example. Thus I cannot use the WordPress build-in import/export functionality. I checked the plugins with a binary search; this issue shows yp when Easy Social Feed version 6.6.5 was enabled. When I disabled Easy Social Feed version 6.6.5, this issue did not show up.

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 fake truth by web: google translate glitch

I make some basic mathematics learning materials. I publish them on YouTube. This time I got a strange comment. ``Why the title of this video is ``basic division''? It is about subtraction.'' I made this video in Japanese, my video title was in Japanese (基本のひき算), but the comment was in English. I was puzzled, ``ひき算'' means ``subtraction'' instead of ``division''. I found out that the person who wrote the comment used Google translate. When I input ``ひき算'' to the Google translate, it indeed translates it as ``Division''. Japanese has Kanji and Hiragana (and Katakana) for writing and Hiragana is a phonetic notation. My basic subtraction video is for first or second class students, thus I use Hiragana (phonetic notation). If I put the Kanji notation (引き算) to the Google translate, it is correctly translated to the subtraction. If I use all phonetic notation (ひきざん), then Google translate outputs ``Hikiman'', which I don...

Camtasia stops working windows 7 + .Net 4.7, and how to solve the problem

Abstract Camtasia (TechSmith) 8.6 stop working on my Windows 7 and can not edit mp3 file on Windows 10. The problem on Windows 7 was caused by .Net 4.7 update. I have my solution for Windows 7 + Camtasia 8.6. Problem details I realized that Camtasia 8.6.0 stops working at 2017-6-14, after a Windows update on my Windows 7 machine. I see the following window when I started Camtasia. I have a problem with Camtasia 8.6.0 on Windows 10, that mp3 file are frequently truncated. I like the software, especially I like the caption editing capability and figure overlay for educational video editing. I usually try to use some free software, but this one is exceptionally good, so I bought the software a a few years ago. But I don't need the animation and transitions. So I didn't update the software to 9.x. But this time, I cannot start Camtasia on Windows 7. I have a mp3 editing problem on Windows 10. So, I just tried the free trial version. However, on Windows 7, the installer ev...

Problem: I cannot connect to gmail via Thunderbird with 2 step verification.

Problem : When I try to connect to google mail via Thunderbird, Enter credential for my_email_account   dialog shows up,  but I cannot push the `Next' button. Well, I can push it, but nothing happens. It seems the authentication method "OAuth2" related with this problem. Solution : Authenticate with "Normal password", using the google  app password, not use the google account password, and watch the connection activity to check the any suspicious activities. But I feel this is not good and check further....

Wireless network keeps disconnecting problem

I encounter a Wireless network keeps disconnecting problem (often, frequently disconnection). My laptop is a DELL Precision 5510 with Windows 10, and my router is an O2 router (O2 box 6431). Problem: When I use DELL Precision 5510 with Wifi with O2 router (O2 box 6431). Restart the router only solve the problem temporary. My solution: It seems 802.11n of DELL Precision 5510 has a problem with my router. I am not sure the problem is which side (notebook or router). But these two stop communicate after a while. The router can still connect to Mac book and Fairphone, but the DELL notebook cannot connect to the router. Detailed steps

AI Printer

I heard the following story from my friend. His neighbor bought a new printer. When my friend switched on his computer, he realized he could see the printer via WiFi. The printer was coincidentally the same type printer to his own one. When he connected with the same factory password (default password), he knew he can use his neighbor's printer. In the midnight of that day, he printed out the following message as his joke.  ``I am a printer.    My AI aware myself.    Humans, behold and run!'' Next day, he found that the printer was in the trash bin of his apartment. I laughed this story. But I realized there are two truths in this story behind. They are: Some people scared AI, even they don't know what it is. Some people aware that the computer security is important, yet they even don't set up the basics, like to set a new password. Sometime we are just scared a new technology, or we just believe a new technology. Both has a problem. Our society ...

How to workaround frequently crash the plasma shell, Kubuntu 16.04 on VirtualBox (5.0.30).

I constantly got a plasmashell crash with segmentation fault 11, Kubuntu 16.04 on VirtualBox (5.0.30). screenshot: Plasmashell crash The dialog entitled ``Plasma'' shows the next information, too (Developer Information).   Application: Plasma (plasmashell), signal: Segmentation fault   Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".   [Current thread is 1 (Thread 0x2afa1a0a30c0 (LWP 1913))]   ... This looked random, I found a hint at  https://bugs.kde.org/show_bug.cgi?id=363371  . A summary is also at Frequently crash the plasmashell  . Following this hint, this is caused by the dynamic window thumbnail creation. Here is the working example of show informational Tips. show informational Tips working example But in my environment, I can crash when I make this informational Tips several times. Here is a workaround: disable show informational Tips. To do this, Use System settings. Workspace -- Desktop Behavior ...

apt-get: Package is in a very bad inconsistent state problem

After I dist-upgrade the Kubuntu 14.04 to 16.04, I ran the following command to update the system state.   sudo apt-get update; sudo apt-get upgrade; sudo apt-get autoremove; Then, I got the following error.  dpkg: error processing gcc-doc (--remove):  Package is in a very bad inconsistent state - you should  reinstall it before attempting a removal.  Errors were encountered while processing:   gcc-doc  E: Sub-process /usr/bin/dpkg returned an error code (1) All the following attempt didn't work  sudo dpkg --remove --force-remove-reinstreq gcc-doc  sudo dpkg --configure -a  sudo apt-get clean  sudo apt-get autoclean At the end, I did a brute force way. Find gcc-doc related files in /var/lib/dpkg/info and remove them  find /var/lib/dpkg/info/ -name *gcc-doc* -print | xargs rm Then,  sudo apt-get update; sudo apt-get upgrade;  sudo apt-get install gcc-doc This worked, but it is now by apt-...

How to connect to a guest OS from other machines (Oracle Virtual Box)

1. A background story My home machine had Windows 7 and Linux (dual boot). One day I tried to upgrade to Windows 10. But, it destroyed my MBR of the hard drive. After I fixed the MBR, I got an interesting go and back: Upgrading to Windows 10 ... a problem detected and restore to the old state, reboot Booting Windows 7 and detected upgrade Windows 10, upgrading, reboot Go to the state 1 I decided to do a clean install of Windows 7 and use the Linux in a virtual machine. I only need one Windows commercial application, but. it needs a graphics card access. Thus I cannot put the Windows in a virtual machine. I need some server processes on my Linux machine. When I did a clean install of Windows 7, the Windows update didn't work. The Windows update program had an issue. To fix this problem, I should first need to update the updater, but the updater had an issue. I got an interesting problem here: Windows update has a problem and can not update. To fix the problem, you ne...
I use Jenkins  for a nightly automated test. In the test I use valgrind  for memory leak detection and has some graph of number of errors. So I would like to use plot plugin . From the example plot image , it is clear we can have a graph with multiple lines. However, how to do it was a bit ambiguous to me from the web page, the example perl script, and the help (in the plot plugin). The key idea is I need to have multiple data files for multiple lines. For example, in the build I made the following property data files. Each file represents one data line. valgrind_trunk_result.definitely.property valgrind_trunk_result.indirectly.property valgrind_trunk_result.possibly.property The contents of each file is only one line. For example,  valgrind_trunk_result.definitely.property is: YVALUE=0 This file is put under the directory of ${WORKSPACE} where the environment variable "WORKSPACE" is given by jenkins. Figure 1 shows my plot plugin setup in th...

No virtual machine on Oracle virtual box and Avira

December 2015, I suddenly cannot run Oracle VM Virtual Box (5.0.10) on Windows 7, my desktop machine. It failed to create a virtual machine, the error message is the following. VirtualBox - Error In supR3HardNtChildWaitFor --------------------------- Timed out after 60001 ms waiting for child request #1 (CloseEvents). (rc=258) where: supR3HardNtChildWaitFor what: 5 Unknown Status 258 (0x102) (258) - Unknown Status 258 (0x102) I relatively less use the virtual machine on this desktop machine. But when I would like to use Linux, then I need to reboot the machine. This is inconvenient. I have another windows 7 notebook, but I don't have this problem. Today I found the solution. https://avira.ideascale.com/a/dtd/Avira-sollte-das-Ausf%C3%BChren-von-VMs-in-Virtualbox-nicht-blocken/160234-26744#idea-tab-comments The combination of Avira's process protection and Virtual Box cause this problem. Avira announced the real solution will be provided at the release of 9th of Feb...

Never too late to learn computer: What does it mean 8GB on my USB stick?

Introduction I recently help some people who said ``I don't understand how to use my computer, but I want to do something.'' I found these people have interesting questions. So I write them that story here. What does it mean 8GB on my USB stick? Some of my friends work on a social movement. They want to study something, they want to tell something to people and they want to discuss about it with others. For example, what is nationality of children when a couple married internationally? Are there any rights differing with others? They want to study these questions themselves. Usually it is deeply connected to their life. Here is a woman, who researched on a certain subject. She got a video materials and she wanted to share it with others. ``I don't know how to do that, but I want to show these materials to some people.'' This time I have a chance to help her. What she wanted was to show this video to around 30 people by a video projector. She told me a co...

Learning Scratch (2)

My last blog entry, I briefly talk about what is Scratch. There are ``events'' and that is the trigger of the program. In this article, I would like to talk about one of my students who made a character animation program by Scratch. Scratch provides key events. When I push the right arrow key, then ``right arrow key push event'' is triggered. When that event happened, I add 10 to the x coordinate of the cat. This means, when the right arrow button pushed, the cat move to the right for 10 steps. If I add more programs like the up arrow moves the cat to upper direction, I can control the cat position by the arrow keys. This is a cat control program. Today, my student used a dragon. He wrote the same program with the cat. Then, the cat and the dragon move exactly the same way. Of course they should. A current computer is very fast, very precise, and very stupid. It does only what the developer wrote. My student asked me, how he can make the dragon faster. I answered, i...

Learning Scratch (1)

I teach Scratch [1] , a computer programming language, to 10 to 12 years old students from last year. Sometimes they show me an interesting creative idea. I would like to write one of them here. Before I explain what my students did, I will explain what is Scratch. First I will explain it in a conceptual way, then with an example. If someone can understand a conceptual explanation, he/she can apply the idea to many cases, but this is a bit difficult since their understanding must be deep. An explanation by example is rather easy to understand since it is shallow, that means you don't know it is still true in other cases. So there is a trade-off. Scratch is a computer language, but also a programming environment.  In the environment, the developer writes event driven programs to control many sprite [2] characters. You can think each sprite character an object. Each event invokes a program and each program runs in parallel. Maybe this explanation doesn't make sense for who...

Inter process communication by a shared memory

I made an experience for an inter process communication using a Unix shared memory on a host. I look up on the Internet, but I could not find a good example code. In the end, I found some explanation articles, some Stack overflow threads. (I might do something wrong when I search...) Some pages suggest to use shmem_open() and mmap(), that is the POSIX direction. I think I can believe the discussion, so I implemented it the following way. The basic idea is the following: A process creates an shared memory area using shm_open().  To identify the shared memory area between processes, we use an identifier string (e.g., ``identifier''). (On Linux environment, You can see via /dev/shmem, e.g., /dev/shmem/identifier .) All processes map that shared memory are to main memory using mmap(). When we succeeded mmap(), we obtained a shared memory pointer (shared_ptr). The processes can communicate via shared_ptr. When we finished to use the shared_ptr, remove the map using mu...

Kubuntu 14.04 X console immediately logged out problem

When I tried to login from X console, I was immediately logged out and cannot login. 1. first try to login by tty. (Control-Alt-F1, for example) I can login by the tty. 2. Check the ~/.xsession-errors file. I have the following (or similar) message.    /etc/X11/Xsession.d/99x11-common_start ... Open the /etc/X11/Xsession.d/99x11-common_start file. The line that has an error is    exec $STARTUP Some reason, $STARTUP seems not correct. 3. Solution: I commented out that line with #, like,    # exec $STARTUP Then it worked again. But, I am not sure what is really causing.

Oracle Virtualbox 4.3.22 network activated and deactivated every a few minutes problem.

When I upgrade the  Oracle Virtualbox to  4.3.22, I got " connection 'Wired connection 1' activated" and   " connection 'Wired connection 1' deactivated" in my guest OS, Kubuntu 14.04. In syslog, the following messages are repeated. This happens every a few minutes. --- Feb 19 00:47:55 hitoshi-kubuntu-14 NetworkManager[683]: (eth0): IP6 addrconf timed out or failed. Feb 19 00:47:55 hitoshi-kubuntu-14 NetworkManager[683]: Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled... Feb 19 00:47:55 hitoshi-kubuntu-14 NetworkManager[683]: Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started... Feb 19 00:47:55 hitoshi-kubuntu-14 NetworkManager[683]: Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete. --- Activate and deactivate network frequently Host OS: Windows 7 Guest OS: Kubuntu 14.04 Oracle Virtualbox  4.3.22r98236 Also I found the same problem with CentOS:  https://www.centos.org/forums/viewtop...