Friday, 18 November 2022

Laptop Connectivity Problems

A problem that I encounter almost daily on my 2013 MacBook Pro is a connectivity issue. Whether I'm connected wirelessly or wired via an Ethernet cable from a repeater, I lose the connection and am repeatedly prompted for the password to the WiFi network if I'm connected wirelessly. After a short while the problem goes away and all is well. The problem is annoying but doesn't seriously trouble me.

Nonetheless, I'd like to get to the bottom of it and there are plenty of requests on Internet forums from Linux Mint users for solutions to exactly this problem. The fact that it doesn't make any difference whether I'm connected via WiFi or cable rules out the WiFi hardware driver as the problem. Neither does it matter whether I'm connected to the WiFi repeater or the WiFi router.

The Internet router that I'm using is an ancient one and only operates on the 2.4 Ghz frequency with no support for 5 Ghz or any other frequencies! I don't use Bluetooth on this laptop so I've just now turned it off and I'll see if that makes any difference. It shouldn't but who knows. It's worth a try. Overall, I should be happy that things are working as well as they are given the antiquity of the technology that I'm using.

The operating system that I'm using is Linux Mint 20.3 Cinnamon with the Cinnamon version being 5.2.7. This means that the system is up-to-date. My WiFi adapter is shown in Figure 1.


Figure 1

I'd like to say that things worked flawlessly when I had Mac OS X installed on this laptop but that wasn't the case. Right from the beginning I had IP conflict alerts whenever connected to a repeater. I first encountered the issue when I stayed at a hotel in Singapore that was clearly using a repeater. In my own bedroom, where the WiFi signal was weak, I encountered the same problem when I installed a repeater. I solved the problem by connecting an Ethernet cable from the repeater to my laptop.

Thursday, 3 November 2022

Thoughts on Backing Up My Calibre Library

I thought it was time to back up my Calibre library that now is 39.8 GB in size and so I dusted off my trusty 128 GB SanDisk and thrust it into the USB 3.0 port on my old 2013 MacBook Pro. From previous experience I knew that this would be a slow process but today I got to thinking about how slow. Figure 1 shows the situation.

Figure 1

The USB 3.0 ports on the MacBook Pro can transfer data at the rate of up to 5Gbps. Now that's 5 gigabits per second. There are 8 bits in a byte and 1024 x 1024 bytes in a megabyte (MB) so that translates to a transfer speed of up to 640 MB/s.  For my file transfers I'm achieving a rate of around 4 MB/s which is 160 times slower than the maximum possible! This seems impossibly slow.

However, if we look online we find the following (see Figure 2):

Figure 2

Even SanDisk only claims a speed of up to 100 MB/s for this particular device and  presumably this is for reading of data and not writing. Furthermore, the thumb drive spends more time checking that writing and so if there are many small files (and I am transferring 34,646 of them), the transfer time will be very much longer than if I were transferring a single 39.8 MB file.

On this particular site, it's claimed that 3.0 USB has a 10~20 MB/s write speed and if that's the case then the 4 MB/s for my worst case scenario (thousands of small files) is not unreasonable. Overall it's not a problem for me because I'm in no hurry and I only carry out the backup every couple of months or so.

I'm also merging the latest library with the older one and this probably adds to the checking time as the new folder (every book has its own folder) has to be compared to the older one. It would probably be quicker just to delete the old library and simply copy the new one across.

An alternative approach would be to make a note of any new books added and then drop their folders into the library backup from time to time. On reflection this makes the most sense and the update would then be almost instantaneous given the small file sizes involved. The current library on my MacBook's SSD and the library backup on my SanDisk will be identical once the transfer is complete. This would be a good time to implement such a scheme. I'll test it out and report back.

Even if I don't make a formal note of my added books, it's easy to identify them by looking at the current library (arranged in chronological order) and noting the dates of books that are newer than the time of my last backup. This could be painful if I let too much time elapse before checking because I will have to locate each book's folder in the database and then copy and paste it across. For a few books it's no problem.

ADDENDUM: November 4th 2020

I've tested the folder copying update method out and it works fine. Quick and painless. Definitely the way to go in future. I downloaded Walter Rodney's "How Europe Underdeveloped Africa" after a recommendation by Jeremy Corbyn shown in this tweet.

The classic work of political, economic, and historical analysis, powerfully introduced by Angela DavisIn his short life, the Guyanese intellectual Walter Rodney emerged as one of the leading thinkers and activists of the anticolonial revolution, leading movements in North America, South America, the African continent, and the Caribbean. In each locale, Rodney found himself a lightning rod for working class Black Power. His deportation catalyzed 20th century Jamaica's most significant rebellion, the 1968 Rodney riots, and his scholarship trained a generation how to think politics at an international scale. In 1980, shortly after founding of the Working People's Alliance in Guyana, the 38-year-old Rodney would be assassinated. In his magnum opus, How Europe Underdeveloped Africa, Rodney incisively argues that grasping "the great divergence" between the west and the rest can only be explained as the exploitation of the latter by the former. This meticulously researched analysis of the abiding repercussions of European colonialism on the continent of Africa has not only informed decades of scholarship and activism, it remains an indispensable study for grasping global inequality today.

Sunday, 30 October 2022

Translating Figurative Language

Lately, in an effort to improve my Indonesian, I've resorted to the use of a notebook again. I decided to start with tools because I've been using them a fair bit lately. Here is what I came up with:


The more modalities that are used for vocabulary the better of course. Listening to the language using electronic devices, writing down vocabulary in a physical notebook, typing words and phrases into a computer, face-to-face interaction with a native speaker ... it all helps. The list of words above are very concrete but also very useful as most of my interactions are not of a philosophical nature!


Concrete words like "spanner" can be used figuratively in English but phrases like "throw a spanner in the works" need to be translated into Indonesian with caution. Consider the sentence: We were ready to start the project when the bank threw a spanner in the works by denying the loan. Google Translate renders this literally as: 
Kami siap untuk memulai proyek ketika bank melemparkan kunci pas dalam pekerjaan dengan menolak pinjaman

This translation really doesn't make any sense to a native speaker with little knowledge of English. A phrase in Indonesian that comes far closer is karena air setitik gula sebelanga rusak. This means literally that "a drop of water can ruin the sugar in a pan" when cooking but figuratively it means a little, seemingly inconsequential thing, can ruin a consequential undertaking. This was proposed to me by a native Indonesian speaker. It does not carry the exact same meaning as the English expression involving the spanner.


This is the problem when translating figurative language and clearly AI, as exemplified by Google Translate, struggles with it. Let's use the service to translate another phrase containing a word from the above list: thick as a brick. The translation is again literal: 
setebal batu bata whereas it really means "stupid".  An Indonesian would be baffled by such a phrase and so another fail. A similar phrase in Indonesian might be kepala udang that should translate as "a stupid person" and not "a shrimp head".

I imagine AI will rise to the challenge. It can't be too difficult to include stock phrases like "thick as a brick" in a database and to use their meanings as a first choice in preference to the meanings obtained by breaking such phrases down into individual words and then translating them. We await improvements but in the meantime it's best to avoid figurative language when trying to communicate across language barriers. 

If someone is stupid then simply say so and don't say to a non-native speaker that "he's thick as a brick". If someone or something has thrown a spanner in the works then simply say so more directly as the language in the following graphic illustrates.


Thus "
he did something that prevented the plan from succeeding" could be rendered dia melakukan sesuatu yang mencegah rencananya untuk berhasil.

Thursday, 20 October 2022

Google Docs: Lesson Learned

I had a text document on Google Docs that had swelled over the years to 422 pages with numerous diagrams and my Pi 400 with its meagre 4GB of RAM would struggle to open it. Similarly my poor old 2013 MacBook Pro with 8GB of RAM would also have trouble. I finally decided that it was time to break it up into a series of smaller files. This was easier by the fact that I had already organised the content into alphabetical order. It was a simple matter of assigning the content under each letter to a new file. The original document just served as a master index to link to these new files. Figure 1 shows what it looks like now.


Figure 1: part of the opening page

Some of the files are still over 80 pages but the loading is now much faster. There seems to be a critical size for files and that, once reached, the loading time significantly increases. Figure 2 shows what the opening page of the P file looks like.


Figure 2: opening page of P document

The number of pages of the original document grew over a period of more than seven years and the lesson learned for me is that, if you're going to create something that will grow slowly but continually, make use of multiple, linked documents and don't go for the monolithic single document. It took me a good few hours to effect the changeover and the process was quite tedious and repetitive.

It's not that my Internet is too slow. Figure 3 shows the result of the speed test that I just ran.


Figure 3

I just think that there's something about Google Docs that causes it to not cope well with documents that have hundreds of pages and numerous graphics.

Wednesday, 12 October 2022

The End of Mobi

I received this interesting email from Amazon the other day after I'd sent an ebook, in mobi format, to my Kindle via email. Here was the content:

Dear Kindle Customer,

Thank you for using the Send to Kindle service to send personal documents to your Kindle library. We noticed that the following document(s), sent by you at 07:50 AM on Monday, October 10, 2022 GMT are in MOBI (.mobi, .azw) formats: froudes-history.mobi.

We wanted to let you know that starting August 2022, you’ll no longer be able to send MOBI (.mobi, .azw) files to your Kindle library. Any MOBI files already in your library will not be affected by this change. MOBI is an older file format and won’t support the newest Kindle features for documents. Any existing MOBI files you want to read with our most up-to-date features for documents will need to be re-sent in a compatible format.

Compatible formats now include EPUB (.epub), which you can send to your library using your Send to Kindle email address. We’ll also be adding EPUB support to the free Kindle app for iOS and Android devices and the Send to Kindle desktop app for PC and Mac.      

 If you have any questions, please visit our help page or contact our Customer Service team.      

 Regards,

Amazon Kindle Support


This is the 6th generation Paperwhite Kindle that I'm using

Well it's long past August 2022 but I seemed to succeed nonetheless. Mind you the mobi version I sent proved virtually unreadable with all sorts of bizarre artefacts and so I had to resend it in PDF format.  This Wikipedia article explains what's going on:

Kindle File Format is a proprietary e-book file format created by Amazon.com that can be downloaded and read on devices like smartphones, tablets, computers, or e-readers that have Amazon's Kindle app. E-book files in the Kindle File Format originally had the filename extension .azw; version 8 (KF8) introduced HTML5 & CSS3 features and have the .azw3 extension, and version 10 introduced a new typesetting and layout engine featuring hyphens, kerning, & ligatures and have the .kfx extension.

History

Kindle devices and apps are designed to use Amazon's e-book formats: AZW that is based on Mobipocket; in fourth generation and later Kindles, AZW3, also called KF8; and in seventh generation and later Kindles, KFX. Kindles now support the EPUB file format used by many other e-book readers. Similar to EPUB, Amazon's file formats are intended for reflowable, richly formatted e-book content and support DRM restrictions, but unlike EPUB, they are proprietary formats. AZW files debuted with the first Amazon Kindle in 2007.

Software such as the free and open source Calibre, Amazon's KindleGen, and the email based Send-to-Kindle service are available to convert e-books into supported Kindle file formats. Kindle devices can also display some generic document formats such as plain text (TXT) and Portable Document Format (PDF) files; however, reflowing is not supported for these file types.

In late 2011, the Kindle Fire introduced "Kindle Format 8" (KF8), also known as AZW3 file format. AZW3 supports a subset of HTML5 and CSS3 features,while acting as a container for a backwards-compatible MOBI content document.

In August 2015, all the Kindle e-readers released within the previous two years were updated with a new typesetting and layout engine that adds hyphens, kerning and ligatures to the text; e-books that support this engine require the use of the "Kindle Format 10" (KFX) file format.[8] E-books that support the enhanced typesetting format are indicated in the e-book's description on its product page.

In 2017, Amazon released Kindle Create, a tool that can convert Microsoft Word files to Kindle file format.

In 2022, while the Send-to-Kindle service only supported the original .mobi/.azw ebook formats (along with some other non-ebook file formats),[10] Amazon announced removing this support in favor of .epub which will be converted to Amazon's KF8 (.azw3) from late-2022.

In light of this news, I've just sent a epub file to my Kindle via Amazon's email service. I grabbed the book off the Internet Archive. It's titled "English Biography" by Waldo Hilary Dunn, 1882-1969, and was published in 1916. It might be interesting but the point is to check that Amazon will convert the epub format into a Kindle readable format. The result was disappointing:

Dear Kindle Customer,

The following document, sent by you at 11:56 AM on Tuesday, October 11, 2022 GMT, could not be delivered to the address you specified: englishbiography.epub

Send to Kindle supports the following document formats:

Adobe PDF (.pdf)

Microsoft Word (.doc, .docx)

Rich Text Format (.rtf)

HTML (.htm, .html)

Text (.txt) documents

Archived documents (zip , x-zip) and compressed archived documents

MOBI (.azw, .mobi) (will not support the most up-to-date Kindle features for documents)

JPEG (.jpg), GIF (.gif), Bitmap (.bmp), and PNG (.png) images .

Additionally, Send to Kindle emails now supports EPUB (.epub). Later this year, we’ll also be adding EPUB support to the free Kindle app for iOS and Android devices and the Send to Kindle desktop app for PC and Mac.

If the format of the document that failed is supported (listed above), please ensure the document is not password protected or encrypted, and try sending it again.

You can learn more about sending personal documents to your Kindle in our product info pages: https://www.amazon.com/sendtokindle

If you would like immediate assistance, please contact customer support at +1-866-321-8851 (US customers) or +1-206-266-0927 (International customers).

Yours sincerely,

Amazon Kindle Support

The letter doesn't make much sense. The mobi format is still supported whereas, in practice, the epub format is not. Hmmm. Things seem to be in a state of transition at the moment and maybe there will some sort of resolution later in the year.

Friday, 7 October 2022

Old Webcam Finds New Life

I have my  Raspberry Pi 400 connected to an old Samsung monitor but up until now I haven't had a webcam attached to it. However, I found an old Logitech webcam that I once used with my a Toshiba Satellite laptop that I bought in 2006. Amazingly this expensive and ultimately disappointing machine didn't have a webcam which is why I purchased the Logitech accessory in October of 2007. I bought the laptop in mid-2006 and had been using a UMax webcam prior to this. Here is a short YouTube video that I made at the time announcing my purchase.


After I started using Mac laptops in 2011, there was no need for the Logitech webcam and so it was left in a drawer in my study. However, today I dusted it off and plugged it into my Pi 400. After installing Cheese, I took this 640 x 480 photo:


Well, it does the job with a decidedly retro flair. Who would have thought that I'd be using this old webcam again a full 15 years later! Not that I have much use for it as I don't use Zoom or other such software but at least it's there if I need it.

Thursday, 6 October 2022

Raspberry Pi 400 (2020) versus MacBook Pro (Retina 13" late 2013)

I have two computing devices with keyboards: one is a Raspberry Pi 400 released in 2000 and which I bought in April of 2022; the other is laptop, my MacBook Pro, released in late 2013 and which I purchased in August of 2014.

The specifications are as follows:

MacBook Pro Retina 13" with 2560-by-1600 resolution at 227 pixels per inch and 2.4GHz dual-core Intel Core i5 processor (Turbo Boost up to 2.9GHz) with 3MB shared L3 cache. It has a 256GB SSD and 8GB of 1600MHz DDR3L onboard memory. The Intel Iris Graphics support dual display and video mirroring, simultaneously supports full native resolution on the built-in display and up to 2560 by 1600 pixels on up to two external displays, both at millions of colors. There is a 720p FaceTime HD camera.

The Raspberry Pi 400 contains the same general specifications as the Raspberry Pi 4 but is tweaked for this new form factor. Thanks to work on the device’s thermal performance, the processor on Pi 400 has an increased clock speed over the base Pi 4. As a result, the Pi 400 has an increased clock rate from 1.5 GHz to 1.8 GHz. Meaning you should get slightly better performance when using this device. Unlike the Pi 4, there is only one variant of the Raspberry Pi 400. You can only get 4GB of memory with this device. Another change with this device is that it only has three USB ports. One is a USB 2.0 port, and the other two are USB 3.0 ports. The rest of the specifications of the device remains the same as the Raspberry Pi 4. You have access to the same GPIO pins, gigabit ethernet, Wi-Fi, and Bluetooth as the base device.

It's probably not fair to compare the two devices but, as I use each of them daily, I will. In its day, the MacBook Pro was a premium device and it still holds it own. I've installed Linux Mint, replacing the Mac OS, and am quite satisfied with its performance. Mind you, I don't demand much of it nowadays. At most I'd have twenty tabs open in Google Chrome at any one time, sometimes watching YouTube videos or playing music in the YouTubeMusic tab. I may do some editing in Google Docs. The laptop sometimes runs hot and the fan works overtime but only when processor intensive tabs are opened like AirTable. The only hardware problem I have is the camera which ceases to function under Linux. For me this is not a problem but it might be for others who want to use programs like Zoom or the like. The battery of course after all these years is very weak and is rapidly depleted when not connected to an AC power outlet.

The Raspberry Pi 4 performs well enough given that it is a budget device. It could definitely benefit from 8GB of RAM instead of only half that. At times there is a noticeable lag in keyboard response if too many tabs are open in the Chromium browser. The Bluetooth is faulty and I've been unable to connect wireless earphones to the device. This is a problem since for some unknown reason there is no earphone jack. I've created a workaround that I've discussed in an earlier post. The keyboard is far less satisfying than the one of the laptop. The lack of a fully fledged browser like Chrome is annoying but with the Raspberry Pi OS that's what you get. I've tried booting into Linux but things didn't go and again I've described the experience in earlier posts. There's no battery for the Pi, it must be connected to an AC power supply but its form factor makes it very portable. To function, it just needs power and a monitor or TV.

The MacBook Pro model that I have is currently selling for about US$250 on Amazon while the Raspberry Pi 400 Personal Computer Kit is selling for about US$100.

Saturday, 1 October 2022

Where Did the Martians Go?

Billions of years ago, Mars may have been habitable, with oceans and an atmosphere containing sufficient oxygen to support human life. The planet would have had a magnetosphere that protected the atmosphere from the ravages of the solar wind. As the magnetosphere weakened however, the atmosphere thinned and eventually could no longer support human life.

This would have been a gradual process and, assuming the Martians were technologically advanced, they would have had plenty of time to prepare as the strength of the planet's magnetosphere waned. What would they have done to survive the looming catastrophe? Earth was not like it is today and so, even if the Martians were capable of space travel, there was no where in the solar system to go. There only hope was to burrow beneath the surface.

Mars has never had tectonic plates and so there was no danger of serious earthquakes. When you consider that current Earthlings can tunnel under the English Channel and link England with France, the idea of burrowing down is not that unreasonable. Such habitation would be immune from the bombardment of cosmic and solar radiation. As on Earth, there would be abundant water deep beneath the surface but the main challenge would be creating breathable air.

The Martians may have learned how to harness the energy of nuclear fusion but even if they had not, geothermal energy would would have been sufficient to supply their energy needs. This energy could be harnessed to produce breathable air. How far underground would they needed to go? Probably not very far, a kilometre or two would have been sufficient. However, bombardment by space rocks would have been more frequent as the atmosphere was stripped away and so they may have chosen to go deeper in order to be better able to withstand rocks that on Earth would be deemed planet killers. 


Martian pyramid created using Wonder (AI) app

There would be no need to revisit the surface. The dangers would have been too high. The Martians would have become totally subterranean and no trace of their above ground habitation would survive the onslaught of time. Would they have left beacons on the surface to alert the inhabitants of future planets that there was life underground? Probably not. Why risk attracting attention and possible colonisation? They would have maintained remotely monitored observation posts to watch and listen to what was happening elsewhere in the solar system.

They would have begun picking up radio signals from Earth well over the century ago and they would certainly be aware of our current exploration of their planet. What would have happened to the physical appearance of the Martians over billions of years? They would probably have gotten smaller as there would be no advantage in remaining large. They may have become quite tiny, making them all the more wary of us relatively massive Earthlings. They would strive to remain invisible to us and the outside Universe.

Perhaps they recreated, underground, the life that they once enjoyed above ground. With unlimited energy from the interior of the planet or from nuclear fusion, they could have made their underground world as large as they wanted and supportive of a massive population, possibly in the trillions. Alternatively, they may have decided to strictly control their population size as the global elite are trying to do on Earth where a figure of 500 million is regarded as ideal.

It's far easier to control a population of half a billion rather than eight billion which is what Earth will be supporting by the end of 2022. I think they might have inclined to maintaining a population below one billion. Assuming the Martians were not destroyed at the hands of their own technology, they would have access to some impressive defensive resources and fearful offensive weapons. Our current exploration of the planet might be making the Martians increasingly nervous and predisposed to disabling our capability for interplanetary travel or even eliminating us altogether.

The Martians however, would have been aware that Earth had become an oasis just as Mars had been all those billions of years ago. Perhaps at some point they decided to abandon their underground world and colonise the Earth. Perhaps we are all Martians and thus to answer the question "where did the Martians ago", it might be the case that they simply become Earthlings. It's not impossible. Several science fiction stories and movies have relied on less plausible narratives.

Thursday, 15 September 2022

Chromium Problems on Raspberry Pi OS After Update

After updating my Raspberry Pi OS on my Raspberry Pi 4, I now find that YouTube and YouTubeMusic on Chromium both cause the browser to crash. The Chromium browser is a far cry from the Chrome browser. The former has multiple deficiencies and this latest disaster is further proof of this. Firefox has no such problems so I have been using that browser to launch both programs.

The solution however, proved simple enough following a recommendation from an online forum. Simply reinstall Chromium! A logical enough first step in troubleshooting software problems. Overall the Raspberry Pi 4 that I bought earlier in the year is working well enough for what I need to do. I recently purchases an M1 MacBook Pro 14" for my granddaughter who needed a computer for her University studies. I'd much prefer to be using that of course.

Such a computer does not come cheap however, and in terms of value for money, the Pi wins hands down. The Bluetooth still doesn't work but I have my wired earbuds working despite the inexplicable lack of a direct earphone jack (see earlier post).

Wednesday, 31 August 2022

Charging Issues

It's been a while since my last post but I was out of town for quite some time and did not take my laptop with me. On return however, I noticed that charging cable for my beloved MacBook Pro 2013 was playing up again. After the original, I've replaced the 60W charger twice and the current one is proving troublesome with the little green light not always lighting up unless it's tweaked.

I've ordered and received a new one which I'll keep in reserve as the current one is not too annoying just yet. It will fail eventually of course. It's worth forking out for new chargers as my laptop with Mint LInux installed is running just fine and doing everything that I want it to do. Likewise my Raspberry Pi is fully operational. The advantages of USB C charging are obvious but of course my old laptop does not have such a port and so I'm stuck. The quality of the chargers I'm buying is clearly suspect but they're cheap and work for a while at least. 

Speaking of my Raspberry Pi, I've discovered that I can listen to music via headphone jack to a USB C and then to USB 3.1 as shown in Figure 1. It's a necessary workaround because I can't get Bluetooth to function and there is no headphone jack, for some mysterious reason. Previously I'd been using the headphone jack on a USB C hub but I've given that to my granddaughter so I had to come up with a workaround.


Figure 1

I still can't get WINE to run and that's something that I'll have to keep working on if I ever want to get my astrology program, Astrolog, to work again.

Wednesday, 22 June 2022

Raspberry Pi 400 Mouse and Bardi Smart Outdoor Static IP Camera

I've had to abandon the mouse that came with the Raspberry Pi 400 that I purchased some months ago. It was never quite right, especially when it came to copying and pasting, and proved absolutely hopeless when playing online chess because it led to frequent mouse slips. I guess they added the cheapest mouse available to the package. "DESIGNED BY XIAOMI" is printed on the top cover of the mouse, not that it means anything.

It not a big deal as a wireless mouse, especially with its own proprietary dongle, can be bought very cheaply nowadays. Overall, I'm quite happy so far with the performance of this particular Raspberry Pi model. My only complaints have been directed at the deficiencies of the Chromium web browser.


Yesterday a package arrived containing a SMART OUTDOOR STATIC IP CAMERA. It had sent by relatives and today I set it up and have it running, the sound and video feed being accessible via an iPhone app. The feed can be accessed from remotely and data can be stored to an SD card although I haven't set that up yet. The maximum card size is 128 GB. The camera connects to the local WiFi network using the 2.4 GHz wavelength.

Here is a description of the product taken from the manufacturer's website:


This camera is now the only device that makes the home router accessible to the outside world. This is something to ponder and it raises security issues as the IP address is indeed static. It doesn't change, allocated presumably by the BARDI company during the registration process and built into the price of the device.

Sunday, 12 June 2022

Abandoning BlueHost and WordPress

I've decided to abandon my WordPress blog on BlueHost that I started up earlier in the year. I simply don't enjoy using it and that's reason enough to abandon it. I only made use of the blogging platform and never started building a website by transferring content from my Google Sites. All of my blog posts that I made using WordPress were mirrored on Blogger so my disengagement with the former platform is immediate and complete. There will be no transition period. It's done. However, the experience has been interesting and I no longer have to wonder about something that I never tested out.

I'll return to making blog posts on my respective Blogger accounts and using Google Sites as my personal website. It may not be cool but then again I have no reason to look more professional. I'm blogging for my own amusement and have no audience to pander to. I do what I like and I realised that I don't like BlueHost and WordPress. The dislike was causing me to reduce the frequency of my posts. 

So it's back to Blogger and more frequent posts.

Friday, 13 May 2022

WordPress Glitches

When choosing a theme for your website, one that will carry over to your WordPress blog, don't choose a dark theme. This has become more and more apparent as I kept posting to my blog. Initially the problem was with the numbering of graphics. Under each graphic, there is the opportunity to insert a caption. The problem with using a dark theme is that the caption uses black text and is therefore invisible. It must be manually changed to white text.

That wasn't too much of an inconvenience, although it was annoying. The problem extended however, to the pasting of text. Copying for example from a sequence of numbers in the OEIS, the pasted text was invisible again because of the black on black problem. Other problems occurred when dealing with mathematical content to the extent that I changed to a white background theme.

I've been unimpressed with BlueHost due its slowness and the problems in accessing it all on occasions. I find the whole experience clunky and frustrating, as if I'm back in the 1990's. It has an irritating retro-feel about it. It's hard to believe that this is the most popular blogging platform. I guess I'll persist with it while my subscription is active but I'll definitely be backing up all my posts to Blogger. The guy in the graphic above doesn't really give any good reasons why people hate bluehost but the picture helps capture my mood.

Friday, 29 April 2022

Raspberry Pi WiFi Problems

Knowing that I’d be travelling to Bali, I naturally brought my laptop with me but decided to also include my Raspberry Pi 400 so that I could test it out using the villa’s television set as a monitor. The set up for WiFi is that you first connect to a local IP address and, once connected, you then log in using the supplied user name and password. This is the same as what happens at Starbucks and McDonalds back in Jakarta.

There was no problem connecting with the laptop via the full fledged Chrome browser that is running under Mint Linux but the Raspberry Pi, running the default operating system, struggled mightily. The problem seems to be with the browsers. I tried both Chromium and Firefox ESR (which is not the full-fledged version of the browser) and each had problems with security. What should happen is that a login screen pops up and you can enter the user name and password. This did happen initially but then the connection dropped and I wasn’t able to get that login screen to come up again.

Setting up my iPhone as a hotspot, I was able to connect the Internet without any problems because all that’s required is the password, there is no intermediate step as with the villa’s WiFi. I’ve tinkered around and there’s no obvious solution: Firefox ESR and Chromium just aren’t keen on connecting to what they see as an insecure Internet connection. I don’t travel much these days and so this is not a deal breaker for me. When I return home to Jakarta, my Raspberry Pi will be working fine again but, for someone who spends a good deal of time on the road and wants to make use of hotel WiFi, this would be a major problem.

Saturday, 23 April 2022

From Logging to Blogging

A blog is of course a contraction of web and blog and my history of blogging dates back to 2006 when I started my first blog on the then very new blogging platform called Blogger, courtesy of Google. I posted intermittently over the years but only took up serious blogging after I retired in the middle of 2015. However, my history of “logging” or writing on paper rather than electronic media goes back to when I was about ten years old.

At that time I acquired a small five year diary with a very small amount of space for each day, allowing for the entry of about the same number of words as Twitter allows today. I certainly didn’t “tweet” every day but I did make sporadic entries for a couple of years. I remember getting quite upset when I discovered that my mother had been reading it! That diary is long gone now, although I did still have it in my possession for over thirty years. However, I do still have in my possession a journal that I began in mid-1972 at the age of 23 and that is now fifty years old.

Here is the front cover:

It was the dust cover of my copy of Herman Hesse’s “The Glass Bead Game” (Das Glasperlenspiel) or Magister Ludi (Master of the Game) as it is also referred to. The physical book is long gone but I have an electronic version in my Calibre library. It’s interesting that there appears to be a computer of sorts, although it could be just a depiction of television that was actually around when Hesse wrote the book. To quote from Wikipedia, the fount of all knowledge:

The Glass Bead Game (German: Das Glasperlenspielpronounced [das ˈɡlaːspɛʁlənˌʃpiːl] (listen)) is the last full-length novel by the German author Hermann Hesse. It was begun in 1931 in Switzerland, where it was published in 1943 after being rejected for publication in Germany due to Hesse’s anti-Fascist views.[1] In 1946, Hesse won the Nobel Prize in Literature. In honoring him in its Award Ceremony Speech, the Swedish Academy said that the novel “occupies a special position” in Hesse’s work.

I was quite fond of Hesse’s novels at the time and read quite a few of them. The inside cover of my journal features a photograph of my beloved William Blake’s “Death on a Pale Horse”.

I took a photograph of the first page of this journal, not because the profundity of its content, but just to be reminded of my style of writing at the time.

I actually experimented with my iPhone’s speech to text capabilities and this is how it rendered the page following my slow and deliberate recitation ( I read a little beyond the first page):

It was thought-provoking to say the least, tilting one out of the role to frequent complacency and threatening to topple the whole edifice of half by scientific theories and straight out prejudices that one inevitably accumulates in 23 years of life. The immediate reaction, the scientific reflection might call it, with skepticism, a healthy attitude of mind admittedly, but one which must be tempered with a readiness to look critically at what has been presented without projecting it out of hand. Was not too many years ago that it was scientific fact that man who developed from a boreal apes he descended from the trees to the planes and, in the struggle for survival, a species emerged which evolved, and the course of time, to present demand. Yet in the descent of woman, a woman challenges this idea by claiming our anthropoid cousins evolve not on the planes but by the seashore. How easily to archaeologists past of many of the wonders of the New World as well as the Sphinx in the pyramids, that really does fly explanation in terms of the view we have today of man’s evolution from primitive savagery. And a long-term Zürich for Deneken to propose a radical new interpretation of the past, visitors from another world. Perhaps. The point is the traditional scientific theories, which I’ve gained nearly the status of facts, are being challenged. It is so easy to have a preconceived view of things and make the facts fit into that view. Even if the fax or scan, in the case of the fossil evidence to suggest man involved on the plains, the assumption is there that the theory is incontrovertibly correct, only the facts, which will verify the theory, are awaiting discovery.

Here is the corrected text. The speech to text converter hasn’t done too bad a job at all.

It was thought-provoking to say the least, jolting me out of that all too frequent complacency and threatening to topple the whole edifice of half-baked scientific theories and straight-out prejudices that one inevitably accumulates in 23 years of life. The immediate reaction, the scientific reflex you might call it, was skepticism – a healthy attitude of mind admittedly – but one which must be tempered with a readiness to look critically at what has been presented without rejecting it out of hand. It was not too many years ago that it was scientific fact that man had developed from arboreal apes who descended from the trees to the plains and, in the struggle for survival, a species emerged which evolved, and the course of time, to present-day man. Yet in “The Descent of Woman”, a woman challenges this idea by claiming our anthropoid cousins evolve not on the plains but by the seashore. How easily too archaeologists passed off many of the wonders of the New World as well as the Sphinx in the Pyramids, that really do defy explanation in terms of the view we have today of man’s evolution from primitive savagery. And along comes Erich Von Daniken to propose a radical new interpretation of the past, visitors from another world. Perhaps. The point is the traditional scientific theories, which have gained nearly the status of facts, are being challenged. It is so easy to have a preconceived view of things and make the facts fit into that view. Even if the facts are scant, in the case of the fossil evidence to suggest man involved on the plains, the assumption is there that the theory is incontrovertibly correct, only the facts, which will verify the theory, are awaiting discovery.

It’s amusing to read back now over what I was reading then. Here is a summary of what the “The Descent of Woman” is about:

A pioneering work, the first to argue for the equal role of women in human evolution. On its first publication in 1972 it became a rallying-point for feminism and changed the terminology of anthropologists forever. It remains a key text in feminist history, as well as an extension to the author’s Aquatic Ape Hypothesis, which is gaining more academic support each year. Starting with her demolition of the Biblical myth that woman was an afterthought to the creation of man, Elaine Morgan rewrites human history and evolution.

Her theory never gained any traction among anthropologists. She died in 2013, having been born in 1920. Here is an interesting extract from Wikipedia:

Morgan read science books, which were from a library in the Welsh town Mountain Ash, but she did not agree with how those books presented human evolution due to the implication that things happened for the benefit of male hunters and that they stated nothing about protecting children. In 1972, Morgan began writing The Descent of Woman by focusing on the aquatic ape hypothesis which was coined in 1960 by marine biologist Alister Hardy. Hardy’s theory was that ancestors of humans existed during the Pliocene epoch within a forming Africa that was experiencing drought, as hairy four-legged organisms that could not communicate, but left the time period as hairless bipedal organisms. Hardy’s theory also stated that apes gained aquatic adaptations when they were stuck on an island that now circles Ethiopia, which would account for how humans are different from other primates such as how they can wade in water and become buoyant in water. It is her first book. Morgan stated, “I wanted it to be popular with ordinary people, that’s why I tried to make it light. People are funny, sex is funny”. Morgan became aware of the aquatic ape theory by reading The Naked Ape by Desmond Morris. Despite Hardy’s theory not being taken seriously within the scientific community, Morgan believed that the aquatic ape theory was the needed answer to human evolution and wondered why no one had told her about it. She asked Hardy if she could use his theory and after she received an approval from him, Morgan gave the manuscript to her agent. Morgan admitted in 2003 that the book “was a thoroughly unscientific romp riddled with errors and convenient conclusions”.

As for Von Daniken, he was a colourful character back then and his books were very popular. I even remember attending a talk he gave in Brisbane, although I can’t recall what year it was. It may have been the late 60s. Believe it or not, he’s still alive at the time of this post and is aged 87. Again Wikipedia has this to say about him:

Erich Anton Paul von Däniken (/ˈɛrɪk fɒn ˈdɛnɪkɪn/German: [ˈeːrɪç fɔn ˈdɛːnɪkən]; born 14 April 1935) is a Swiss author of several books which make claims about extraterrestrial influences on early human culture, including the best-selling Chariots of the Gods?, published in 1968. Von Däniken is one of the main figures responsible for popularizing the “paleo-contact” and ancient astronauts hypotheses. The ideas put forth in his books are rejected by virtually all scientists and academics, who categorize his work as pseudohistorypseudoarchaeology, and pseudoscience. Early in his career, he was convicted and served time for several counts of fraud or embezzlement, and wrote one of his books in prison. Von Däniken later became a co-founder of the Archaeology, Astronautics and SETI Research Association (AAS RA). He designed Mystery Park (now known as Jungfrau Park), a theme park located in Interlaken, Switzerland, that opened in May 2003.

Here is a photo of him from 2017:

I may transcribe more from journal later on. It’s only about 36 pages, mostly text but with a few diagrams. During the early 80’s and right through to 1993, I filled two thick quarto-sized journals with my scribbling. Unfortunately, before I went overseas, I decided to burn them because they were very personal and I didn’t want anybody reading them. It’s very sad to think about their destruction now. I should have thought of some way of preserving them, even burying them perhaps. Anyway, they’re gone now and there’s nothing to be done about it. Those logging days are long gone and there are certainly more blogging days yet to come.

Blogger to WordPress

Copied from my blog on voodooguru.net using the same title.

I’ve really only used Blogger as my blogging platform since I began blogging in 2006. I did have a brief flirtation with WordPress when creating a Staying Healthy on wordpress.com but I was never comfortable with it and ended up continuing it on Blogger. As I wrote at the time:

I’ve had enough of this platform and its frustrations. I’m moving to Blogger where all my other blogs are anyway. The new address is https://voodooguru1949.blogspot.com/ with the same title for the blog, namely Staying Healthy. I’ll eventually link back to the previous posts on wordpress from my new blog or maybe I can export them. We’ll see.

WordPress was unfamiliar to me at the time and I had gotten so used to Blogger that I couldn’t be bothered coming to terms with the new interface. At that time (August 28th 2020), it hadn’t occurred to me that I could have exported the WordPress blog to Blogger. I’m now realising how relatively easy it is to export and import entire blogs from one platform to another, and to back up entire blogs, using the xml file format.

On this site, there is a simple and straightforward guide on how to move an entire blog from Blogger to WordPress. I’m not sure that I really want to do that but it’s good to know that it’s possible. I’m really still coming to terms with this new WordPress blog and what I want to do with it. I’m happy that I’ve created categories in this blog that correspond to my blogs on Blogger. These categories are:

  • Mathematical Meanderings
  • Mystical Meanderings
  • Astrological Meanderings
  • Pedagogical Posturing
  • Alternative Media
  • Staying Healthy

At this point, I’m inclining to simply continuing my former blogs on the single WordPress blog, differentiating them by the use of the above categories. As I described in my previous blog post, I can export individual WordPress posts to my various blogs on Blogger (should I choose to do so). It’s good to know that I can mothball all these blogs by backing them up in xml file format and saving them on Google Drive and a local computer.

The quality of my posts on Blogger have been variable over the years. Most have been mediocre, a few downright dumb and few of high quality (in my opinion). It would be interesting to revisit my earlier blogs and evaluate them in terms of the current world situation. My blogs have never been about garnering readership. I enjoy writing and expressing my thoughts “on paper”. My electronic blogging may have started in 2006 but I was committing my thoughts to paper long before this. Perhaps this history could be the material for a future post.

Friday, 22 April 2022

WordPress to Blogger: Follow Up

The export of my posts from WordPress to Blogger using the plugin described in my previous post was successful. A little tinkering was needed such as resizing a graphic and changing LaTeX delimiters but apart from that it all went well. However, the plugin only allows export by category and not by individual post as far as I can determine. I should be able to work around this problem by creating a category called Export and apply it the post that I want to export. After doing that, I’ll remove the post from the Export category in readiness for my next export. This should work. I’ll try it now and report back.

Yes, that was successful.

WordPress to Blogger

Copied from my WordPress blog on voodooguru.net under the same title.

I have my various blogs on Blogger, some of which date back to 2006, but I only seriously started blogging when I retired in the middle of 2015. I am in a dilemma whether to keep blogging on that platform or shift to WordPress. Anything I post my voodooguru.net website will only survive as long as I keep paying the annual fee for domain name and web hosting.

There is perhaps a solution in the form of a WordPress plugin called “Export to Blogger” that boasts:

With this WordPress plugin, you can easily export WordPress data to Blogger(Blogspot).No need to use software and convert by yourself anymore! This plugin exports dedicated xml files directly, so what you need is just import it to Blogger. Source.

The instructions are straightforward enough:

  1. Upload directory export-to-blogger to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings -> Export to Blogger to export xml.

There is a website that can be referred to if I have any problems. I plan to do this and then test it out. If it works, then what I may do is to post to this blog but then export to the relevant blog on Blogger. That way I still have the posts on Blogger should I decide to stop using bluehost in the future.

Second Attempt

Copied from my WordPress blog on voodooguru.net under the same title.

I’m going to try to create some mathematical equations using the various LaTeX plugins that are available. This is my second attempt. Here goes:$$ \zeta(2)= \sum_{k=1}^{\infty} \frac{1}{k^2}=\frac{\pi^2}{6} $$As can be seen, I was successful this time after overcoming two problems. The first involved the use of a backward slash \ when a forward slash / was required in the LaTeX delimiters for WP-KaTeX. LaTeX always uses the backward slash and I had gotten very used to it, hence I was led into error. The other problem is that the equation is displayed in black and I have a black background as my theme. The result was that the equation was invisible! Changing the text to white and the background to black fixed the problem. I’m happy to have solved this problem. There is a little too much space above and below the text for my liking but the overall look is quite good, especially in the mobile display.