Staying Mentally Sharp During The Pandemic Shutdown With An Epic Tech Adventure

Okay, so what can you do during a pandemic to keep sane and mentally sharp? Answer: work on some technology projects. Even though that’s not your business and you’re not a technologist, working on some technology projects can keep you sane and positive during the shutdown when you are at home all the time. After all, you can’t go out, you can’t do much. You can’t travel. You can’t really walk around very much. What’s going on right now is that if you have a computer and it is connected to the Internet, this is your lifeline. But it is not enough to just consume. You can’t just watch Netflix all the time. You can’t just play video games all the time. You can’t just read news all the time. You have to do something to work your brain. You have to do something to grow. And one of the things that you can do without leaving your house, your place of shelter, is work on various technology projects. You can take on projects that will be helpful to you. And if the project isn’t helpful at the very least you learn a lot of about technology.

And it’s important to learn about technology because technology is everywhere. It has seeped everywhere in our lives. And one thing for sure, in this pandemic, technology is something we can rely on. Technology ultimately is going to be the thing that saves us. It will be some scientist or company using the latest technology in biology or chemistry or both who will make a breakthrough and create a vaccine that protects us.

In terms of what we’re relying on. Just look at companies like Amazon, Apple, Google, and Microsoft. They’re the backbone of our survival right now, because they’re not going down. We are relying on them more and more. And because of that, it is helping us survive. We can communicate better with each other. We can do our job using technology. Look how Zoom has taken off for everyone, not just for businesses, schools are using Zoom. People are having private Zoom parties.

So over the last few weeks, I went on an epic adventure where I learned tech about the Internet and created projects.

So what kind of projects can you work on? Well, one thing to do is work on creating your own website. And I don’t mean do it the easy way where you go to a site like Squarespace or WordPress where they will host your website, and they will just make it easy to create a website through a few clicks. Don’t do the easy way like that. There are a number of reasons why not to do it the easy way. First it’s more expensive to create a website like that. Squarespace costs at least $12 per month. WordPress starts at $4 per month but quickly goes up if you want to add stuff to help your website.

I found a way to host multiple sites for a total of $5 per month. More on that later. But the main reason not to use turnkey services like Squarespace or WordPress hosting is that you can learn to do it yourself with any server on the Internet. That way you understand what is underneath your website, the server itself.

What do I mean by that? Well, everything on the Internet runs on something you’ve maybe heard about called a “server.” A server, just like a butler server at a party, “serves” you something. But a server on the Internet serves you digital data when you go to that server. So when you go to an Internet website, a server somewhere is sending you digital data to your browser.

A server is nothing more than a computer somewhere connected to the Internet that is hosting the data that comes to your browser. Some servers actually are sending not digital data to your browser, but sending digital data to your app on your iPhone or iPad or Android device. Also, when you talk to Amazon’s Alexa device, the information that Alexa is giving comes from a server that Amazon has hooked up to the Internet. When you make a Zoom call, a server somewhere is making the connection for you with the people that you are calling on Zoom.

Now you could have a server at home. After all, your Windows computer or Mac is a computer. So your home computer can be a server. But if you want your server at home to serve digital data outside your home, you are in trouble. Trouble because the companies hooking up your home to the Internet, like Comcast and FIOS, they are making your address at home unstable for guests in the outside world to find it. That is because you have a dynamic IP address. You see all devices hooked up to the Internet have a unique IP address. The problem with trying to run a server from your home computer is that your Internet provider, i.e. Comcast, FIOS, etc, gives you a dynamic address. Your unique number changes. You need a “static” address for your server.

So if you really want to serve digital data to the outside world, it is best to get space on a server outside your home that is specifically set up to give you a static address so people can find you on the Internet. Now when you go to a company like Squarespace and open an account, that is what Squarespace is doing. It is giving you space on a server. But is also giving you other things, like services to make it easy to design and have your own website.

Once you have a server and a static server address, you also want to have a domain name. Now this you probably know. Right? Facebook.com is a domain name. Cnn.com is a domain name. Every website name you know on the Internet is a domain name. Now a domain name is not a server and a server is not a domain name. You have to pay an annual fee, usually around $10 to $15 per year, for a domain name that isn’t already used by someone or some company. There are various companies that can help you register and get a domain name. Squarespace does it as part of its service for hosting your website. But there are companies that do nothing but register and sell you the domain names. The company I use because it has a decent reputation (i.e. not trying to up-sell you all the time or making it hard to transfer your domain to another site) is Hover. You go to a service like Hover, and you try out different domain names to see if they are available. And you can also get domain name suffixes other than the traditional .com. They have .tv, .blog., even .poker and .bet. Be careful though. Some of those suffixes are very expensive annually. Go for the traditional suffix: .com. That is a classic.

Multiple sites for $5 per month on Linode

So how did I do it so cheaply? Well what I found out is that there are various companies which give you a good server that is cheap, but you don’t get the service that holds your hands to create a website. Think of it like this. When you buy food, if you go to a store that does wholesale rather than retail, you get a better deal. That is why Costco, e.g., has such good prices. Well regarding selling servers on the Internet, there are companies selling server services wholesale. Their market is not selling retail to you and me. Their market is really selling to developers and companies that need a lot of Internet servers. The biggest company doing this is of course Amazon.

Many years ago, Amazon realized it was really good with having servers on the Internet and having services on the Internet for its own Amazon website. After all, Amazon was selling zillions of books and then selling zillions of other things on its website. Amazon realized it was so good with servers for its own business that it realized that it could sell services to third-parties. Amazon created low-priced servers on the Internet for developers. That business is called AWS: Amazon Web Services.. AWS took off; particularly with developers making apps for the iPhone. They needed services on the Internet to send digital data to the their apps on the iPhone. AWS was a very good and cheap service to do so. You probably don’t know this, but many of the web services and apps are hosted on AWS. It is a huge business for Amazon.

Well others are competing with Amazon on that wholesale business. Microsoft pivoted from just focusing on Office and Windows to now providing Internet services for developers through its Azure service. Google has its Cloud service..

Now there are Internet hosting companies that are much smaller than these big three. Several years ago, I found a good deal at one called A Small Orange (ASO).. I got 5gb of server space for $5 per month. I purchased this originally to host a website for a relative who was a doctor because my relative didn’t have website. The website was just to have straight forward information about my relative’s office.

I created the website with what some would consider a non-traditional app to create websites: Hype by Tumult.. Tumult was created by some guys who had worked at Apple. Hype was created to create animations using HTML5 technology. Do you remember Steve Job’s April 2010 “Thoughts on Flash” announcement?. It is still on Apple’s website. Flash was that technology that created all those animations on the web starting back in the 1990s and continuing to a couple of years ago. Adobe owned that technology. Apple refused to allow the iPhone and iPad to run Flash on those devices browsers. This was a big deal back in the early days of the iPhone and iPad because some sites and content on the Internet could not be accessed because of the lack of Flash support. But Steve Jobs was adamant that Flash sucked. In his lengthy polemic against Flash in April 2010, he listed many reasons Flash was not good, including that is was proprietary and chewed up battery life. Jobs and Apple pointed out that HTML5 technology, which was open source and part of the backbone of the web, could work better and replace Flash.

Tumult was created to create an app on the Mac which could create HTML5 animations that could replace Flash animations. So I dabbled in this great app when it first came out. Using this app, I created a website with buttons and menus for different pages which I uploaded to ASO and linked up to a domain name I purchased at Hover.

After I created the relative’s website, I realized that in my ASO account I could create additional sites on the same 5 gb space. I also discovered I could do this through an interface app that ASO had for my server space called cPanel. cPanel is a graphical user interface app for your the server space so you can navigate easily your server and install apps. It is not free, but it came part of my ASO account. ASO must have paid the cPanel company that leases or sells that app. So why is there this cPanel interface?

It is there because pretty much all these servers run on an operating system called Linux. It was created by this guy back in 1991 named Linus Torvold. Practically every server on the Internet runs on a version of Linux. Since it is open sourced, developers and business have created “forks” of Linux over the years. On most servers on the Internet Debian or Ubuntu is used. The most famous fork of Linux is Android, which run the smartphones and tables competing with Apple’s iPhones and iPads.

So through this cPanel interface on ASO, I created two more websites using WordPress. One for my website MacsFuture.com and the other one for my kids’ sports. I wanted to created WordPress sites because for many years I read and heard how a big chunk of the web was WordPress sites. WordPress is so successful because it’s an open program. This is what Wikipedia says:

WordPress (WordPress.org) is a free and open-source content management system (CMS) written in PHP[4] and paired with a MySQL or MariaDB database. Features include a plugin architecture and a template system, referred to within WordPress as Themes. WordPress was originally created as a blog-publishing system but has evolved to support other types of web content including more traditional mailing lists and forums, media galleries, membership sites, learning management systems (LMS) and online stores. WordPress is used by more than 60 million websites, including 33.6% of the top 10 million websites as of April 2019, WordPress is one of the most popular content management system solutions in use. WordPress has also been used for other application domains such as pervasive display systems (PDS).
Wikipedia on WordPress(footnotes omittied).

So I had never tried a self-hosted WordPress before so I went for it. Because ASO had a cPane, in cPane there are different server apps that you can put into your server. It was pretty easy. And then, I hooked it up those two sites with domain names from Hover.com. So great, I then had two websites and my relative had one website on a $5 per month server from ASO. Everything was going well. Until …..

Last year, I realized that ASO was charging me more than $5 per month. Here is how much they were charging and the increases over the years.

ASO Charges
ASO Charges

So you see it went from $40 to over $90 in a few years. But that isn’t what got me to finally switch my sites to another company that leases servers. It was SSL.

What is SSL? SSL is that lock you see on the domain address when you go to various websites.
Lock
That lock tells people going to your website that there is security on your site; particularly that you are who you claim you are. This is important if the people going to your site are putting private information on your site. For example, a bank which has customers logging in would want such security. Or if your site was collecting email address from people signing up for your site. You may have seen these locks on website address popping up a number of years ago. But the practice of having ssl certificates on sites took off and practically every site has that lock because Google says if you don’t have that lock then it would lower the score for your site:

Thursday, February 8, 2018

For the past several years, we’ve moved toward a more secure web by strongly advocating that sites adopt HTTPS encryption. And within the last year, we’ve also helped users understand that HTTP sites are not secure by gradually marking a larger subset of HTTP pages as “not secure”. Beginning in July 2018 with the release of Chrome 68, Chrome will mark all HTTP sites as “not secure”.

Google February 8, 2018 Announcement

The “s” after http is what makes the lock. What is going on is that the connection to your site is being encrypted and a third-party service is giving you a certificate certifying that your site is encrypted. Over time, particularly since the summer of 2018, I realized my sites looked poor without being “https:” and having the corresponding lock. I Googled around and found that some hosting sites for servers, particularly ones that helped host self-serving WordPress sites, provided free SSL certificates. I checked with ASO, and they didn’t provide any free SSL service. In fact, they charged a substantial amount.

ASO Add Ons
ASO Add Ons

As you can see, an add on service for an SSL would cost me $40 annually at the very least and a wildcard SSL even much more. The thing is I looked around and there is a free SSL certificate service called Certbot that is provided by the Electronic Frontier Foundation. The EFF is a highly legitimate nonprofit organization which among other things, protects the free use and free speech on the Internet. I looked around the web and found out that some server providers which had cPane installed provided an app on cPane to allow users to easily install a free Certbot SSL certificate for the self-hosted WordPress site. I checked ASO’s cPane and none existed there. I emailed ASO support and they confirmed they didn’t provide such a plug in for the free service.

The fact that ASO was charging me more than $90 per year and not even providing me with an easy way to install a free SSL certificate really bothered me. Then I took a look at Linode. For years I heard about Linode on podcasts as Linode sponsored a lot of tech podcasts. Linode I realized was for customers who are developers. Linode was really competing with Amazon’s AWS, Google Cloud and Microsofts Azure. The thing about Linode that caught my eye was it was cheap. Linode’s cheapest plan gave me 25 gb of storage on a server and 1000 Mbps out in speed all for $5 per month. By comparison, ASO only gives 500mb of space for $6.51 per month. $8.80 per month would get you just 5 gb of space. That was the plan I was on at ASO that was originally $5 per month when I signed up. Linode wasn’t offering me a cPane app for free with the server space I would lease. It turns out if I wanted a cPane I would have to pay extra. And that is part of the reason that ASO was charging more than Linode. Nor did Linode offer a free SSL certificate.

I decided to try Linode because. It had a community and answers on its website where you can find out information on how to set up a Linux server without using a cPane program. I had to figure out Linux commands to set up the Linode server. Then I had to figure out how to put SSL certificates on those severs.

I did it. I was able to transfer my sites from ASO to Linode. It wasn’t easy. It took time. But here is the important thing: It was really satisfying as I learned how to:

  • SSH communicate from my Mac to the Linode server.
  • Use the Terminal App on the Mac after SSHing to the Linode server to download and set up apps on the server using Linux commands.
  • Set up Apache on the Linux server to create virtual servers given I had only one LInode server and wanted to have more than one website on that server.
  • Download and install three WordPress sites from scratch.
  • Navigate in the server files and folder structure for WordPress.
  • Use Nano on Linux to edit and change the config documents for WordPress and Apache.
  • Configure MySql on the server as the databases for the WordPress sites.
  • Configure the DNS on Hover and Linode to set up the various domains I created on one Linode server.

After completing the set up of the various sites and setting up the domain connections, I still had to solve another problem: getting SSL certificates so I would have that lock symbol and the https addres for my sites. The great and free solution I eventually came across was to install the Certbot certificates using command line instructions on the Linode server through ssh connection through the Terminal app on my Mac. These free certificates only last three months but Certbot comes with commands where you can set up a “cron.”. Cron is a service on Linux where you can automatically run commands. So I set up a cron using Certbot so that Certbot will renew the certificates a week or two before the certificates would run out. Pretty cool.

So here you can see my https://macsfutures.com site all set up on Linode. But the fun and my learning did not stop there. I continued to explore.

Static Web Sites

While researching installing WordPress on Linode, I came across a trend that has been going on over the last five years or more: static sites. A number of bloggers and developers are arguing that static sites are faster and better on the web than dynamic sites. A dynamic site in contrast to a static site changes based on who goes to the site. So Facebook is a dynamic site because based on who goes to that site, the site changes. WordPress is a dynamic site because it uses a database, MySql, behind the website. It turns out, a number of geeks and others on the web figured out the websites that are static run faster on the Internet.

I learned that one static site publishing platform is called Hugo.. There is a website at https://gohugo.io where it says that Hugo is “The Word’s Fastest Framework for Building Websites.” It is written in Google’s developer’s language called Go. I was curious to try it because 1) it claims to be much faster, 2) you can write your posts as simple “Markdown” text files,” and 3) Linode’s new “Object Storage Plans,” can host static websites.

So let’s go through each of these. First, faster website. This one is easy. Why wouldn’t I want a faster website? If it’s quicker to load for users, users will like my website better. I hate going to websites that are slow. I hate websites that load all sorts of videos and crazy stuff and adds. Nice simple websites are the best.

Second. Hugo works with Markdown files. What is Markdown?

Markdown is a lightweight markup language, originally created by John Gruber  and Aaron Swartz allowing people “to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).   

markdown-guide.readthedocs.io citing wikipedia [1] [2]

The fact that Hugo worked with Markdown files appealed to me. I had played around with word processors that use Markdown for many years. On my Mac and my iOS devices I have long used Byword.. There are many apps on iOS and on the Mac that use Markdown. The beauty of Byword is that there isn’t hidden code and formatting such as in Microsoft Word or even Apple’s Pages program. You write in simple text. And if you are going to format it the code is simple and easy to read so it isn’t confusing. Hugo treats each Markdown text file you create as a blog post or a page on the Internet depending on what folder you put it in. It is a really simple concept. So writing in Markdown really appealed to me and is a plus for using Hugo.

Finally, if I can host a site on Linode’s Object storage, that is a great deal for website hosting. Linode gives you 250 GB of storage for just $5 per month. That is 10 times as much storage for the same price as its regular storage that can host dynamic sites like WordPress. Hosting sites cheaply on the Internet is pretty amazing after all. And the cheaper you can do it the more amazing it is. Technology is all about bringing efficiency and reducing the cost.

Think about how hard it was to publish anything so other people could see it. In the early 1700s, a young Benjamin Franklin wanted to run his own printing press and newspaper. He had worked for a press in Boston when he was a teenager. After he fled from Boston to Philadelphia, to get away from his domineering older brother, he wanted to use his experience in running press to create his own press. Franklin obtained significant funds, a fortune in todays funds, and travelled by boat all the way to London to purchase an old press and then transport it by boat to Philadelphia. The rest is history. He became a prominent publisher, inventor, legislator and founder of the United States. Read more on Franklin here

Today, you can run hundreds of sites each for under $20 day using Linode’s 250 gb Object Storage program for $5 per day. You could have all the static websites you create share the $5 per month storage on Linode. $60 per year divided by 100 sites is 60 cents per year. A domain for each site would be $15 per domain. This brings the cost to $15.60 per year for each domain. In terms of a device to set up the sites, you can get a cheap computer (like a chrome book) and use your phone’s hotspot or free Internet connection in a library or park. The friction to publish now is 1/millionth the friction that young Benjamin Franklin faced.

Hugo

Getting back to Hugo. You can install the Hugo publishing platform on your server or you can publish on your Mac and then have the static website it creates sync with your website. I decided to run it on my Mac. Here is how I did it.[3]

First, it involves using your Terminal App on your Mac. Remember what computer screens looked like before the Mac was created and Microsoft copied the Mac and created Windows? It looked like MS-Dos.
Screenshot of MSDOS

(Credit to the Interface Experience for the MS-Dos Photo.) Giving instructions by text is called using the “command line.” All of you using iOS devices, and Macs, Windows and Chrome computers may be oblivious to the subterranean world underneath the user interface. On Macs, the user interface is built on an older technology called UNIX. The operating system for the Mac is running on a relative of UNIX. UNIX was created by the telephone company’s computer lab back when there was one telephone company for the entire United States. The Terminal App is using UNIX like commands. Those commands are very similar to the Linux commands on a Linux server as they are both related to UNIX. Read more on Unix here.

For installing it on a Mac, the people behind Hugo suggested to first install Homebrew.. Homebrew is a package manager that allows you down load development software on your Mac or even Linux. The idea is once you install Homebrew you can then more easier install other things on your Mac. Here is the command on the Terminal App to do so. It is not for the faint of heart if you have never used the Terminal App before.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Then after you install Homebrew, you use that to install the Hugo package on your Mac.

brew install hugo

Once it the Hugo publication system is on your Mac, you create a Hugo command in the terminal to create a new site, and it creates a folder on your Mac for the site with various folders. (Look here for various Hugo commands.)
This is what the folder looks like after you generate a site on Hugo.
Hugo Folder

The folder that is labeled “Public” is the web documents you put on your server. The rest of the folders are what Hugo uses to make the website. The folder Content is where the content you create, i.e. writing, photos, and videos, go into. And the Folder called Themes is where the different themes you can use to make your website are put. In Content folder there is a folder called Posts. This is where your blog posts go. Take a look at mine. What you see below are separate Markdown files. Each one is a separate post.

Hugo Content Folder
Hugo Content Folder

These Markdown files for each post take up hardly any storage space as they are pure text files. They are easy to back up and use if you change where your website will be.

As for themes, you download different Hugo themes people created and put them into the Themes folder. Then you open the config file and reference the theme you want in your Theme folder for that site. It’s a simple word reference. See:
Hugo config file

I found this crazy Hugo.386 theme that makes your site look like the old 386 PCs, i.e. the ones with MS-DOS commands. I created a subdomain that shows off this Hugo theme here.. Here is a screenshot of this Hugo site.

Hugo Site
Hugo Site

To add posts to this site, I add a new Markdown post file in the post folder. Then I run a command in the Terminal App to remake the site in the public folder, and then sync that folder to the server. If you run Hugo on the server, you can just add the Markdown file on the server’s Hugo content post folder and it will rebuild the site on the server.

Swift Static Site Publisher

After I successfully created a Hugo site, I then got interested in another program to create static websites. What caught my eye about it is that it used Apple’s Swift language to create a static site. It is called Publish by John Sundell and you get it on something called Github.com.

First thing first. What is Swift? Swift is Apple’s code language that Apple developed for developers creating apps and programs for IOS devices and Macs. Back on June 2, 2014, Apple announced Swift at the WWDC conference it holds every summer.. No one saw it coming. For years Apple and developers for the iOS devices and Macs used a language called Objective-C. Swift was supposedly to be simpler to use and be more powerful. Apple has been pushing everyone to use Swift and created an App on the iPad many years ago for kids and everyday people to use Swift, called Swift Playgrounds. Over the years, I have dabbled in learning Swift through that Playgrounds app.

During the last year, one of the podcasts I have been listening to is called Stacktrace, which is hosted by two developers, John Sundell and Gui Rambo. These two young developers are very entertaining. Rambo is from Brazil and he helps out the website 9to5mac.com by looking deep into beta IOS systems for clues for what Apple is working on in the future. Sundell is a Polish developer who also runs the great Swift website Swift by Sundell. He gives tips on the Swift language and it is a great resource. It is John Sundell who during the last year created an application called Publish which uses the Swift Language to create a static website. His own website, Swift by Sundell is built with that Swift language tool. Having had success building a Hugo website, I thought what the heck, let’s try building one with Swift.

Publish by John Sundell

So John Sundell created this Swift language Publish program. You have to download it from Github. [4]. Similar to Hugo, you can download using commands on the Terminal Program on the Mac. There is one difference though. Because this Publish program uses Swift, you need to make sure you have Xcode on your Mac. Xcode is Apple’s program for developers to create apps on the IOS devices and also programs on the Mac. So similar to Hugo, after you use Publish together with Xcode it creates folders on your Mac. It looks like this.

Swift Site Folder
Swift Site Folder

Like with Hugo, the Content folder is where you put the content for your website. And again like in Hugo you put Markdown files to create your posts.
This is what the content folder looks like.

Content
Content

What goes onto your website is in the “Output” folder. This is where it differs from Hugo which calls it its “Public” folder. Now I don’t think you can run this on a server unless the server has Xcode or something that executes the Swift language. Most servers run on Linux. There are places you can rent Macs as servers. For example there is Macstadium where you can rent a Mac as a server. But that is much more expensive for a minimum plan compared to Linux as MacStadiums cheapest plan is around $80 per month for a Mac Mini. So publishing a Swift static website would require you to sync the Output folder on your Mac with your server. [5]

So I created a Swift static website successfully and I am hosting it as a subdomain. You can see it here.. It has a rather simple looking design , which you can see here.

Swift Site
Swift Site

Jitsi

The adventure didn’t stop there. I kept stumbling upon things to try out on the $5 Linode server I rented. Now during this pandemic everyone is using live video programs to connect with each other. People are using FaceTime and Skype. But Zoom became very popular because it is easy to use. Then I heard about this service, Jitsi, which is open source and is supposed to be very secure. So what is Jitsi? In the open source entity’s own words:

Jitsi is a set of open-source projects that allows you to easily build and deploy secure video conferencing solutions. At the heart of Jitsi are Jitsi Videobridge and Jitsi Meet, which let you have conferences on the Internet, while other projects in the community enable other features such as audio, dial-in, recording, and simulcasting.

So why should you install Jitsi on your own server? You can make calls for free using Jitsi’s own website. It works with the Jitsi app on the iPhone which you can get here. They also have an Android App.. The reason to get Jitsi installed on your own server is 1) it is more secure, and 2) how cool would that be? It is more secure on your own server because you control your server. You don’t have to worry that someone at Jitsi is eavesdropping on you. With Zoom or other services you don’t control the server that your calls are going through. Same with FaceTime or Google Meet. They are all going through a third company’s server. Here you can install Jitsi even on a server in your home. The Second reason to install it on your own server is it is cool to do so. You can tell people you have your own video calling service. So I decided to go forth and install Jitsi.

It wasn’t that hard to install Jitsi. The Jitsi website gives you the instruction to install it on a Debian or Ubuntu server here. I installed it as a subdomain on one of the sites I had on Linode.

One of the problems I had after I installed it is that the initial set up allows anyone to make a video call. I didn’t want that as I have a small server and if people I didn’t know were using it it could rack up my server bill. I found this video from early April 2020 from Nerd on the Street on Youtube very helpful for configuring Jitsi after I had it up and running.

Jitsi

His video showed me how to configure Jitsi so that a call could only be initiated with my password. So Jitsi works on the server I am leasing. But because it is the cheapest server and is small, I don’t think it can take a lot of calls at the same time. I would have to upgrade the power of my server if I want to make many calls.

Nextcloud

The adventure didn’t stop at Jitsi. I was recently listening to this podcast. Release Notes. One of the hosts runs a business on the Internet where he makes websites for professionals, tax accountants. I realized listening to him that his business involves creating WordPress sites on a Linode server. I heard this after first transferring my sites to LInode. On this podcast, I heard he created for his customer a service on their website where their customers could upload documents to them. In other words, his tax accountant customers could have their own Dropbox or iCloud built into their site. The way he did this was using an open system called Nextcloud.. As stated on its website:

Share and collaborate on documents, send and receive email, manage your calendar and have video chats without data leaks. As fully on-premises solution, Nextcloud Hub provides the benefits of online collaboration without the compliance and security risks.

Basically, Nextcloud is an open source system taking on big players like Microsoft, Google and Apple and allowing anyone to host cloud services on their own servers. You can use what ever you want.[6]

So I installed Nextcloud on my own site as a subdomain. It is really cool. When you open it, feels like you have your own Microsoft company on your website. Here is a screenshot.

Nextcloud
Nextcloud

Next Cloud has apps for the Mac and iOS and other devices. After I downloaded the Nextcloud app on my Mac it created a folder named Nextcloud. That folder on my Mac automatically syncs with my Next Cloud app on the server. So I have my own iCloud or Dropbox. This is really cool. You can invite users. According to Nextcloud, it is really popular in Europe particularly Germany and a lot of universities and companies use it. I don’t know why schools and companies don’t use it here. They could save so much money that they are paying to Microsoft and Google.

Transmit App for the Mac.

Finally, I should mention the one purchase I made during this crazy adventure: Panic’s Transmit 5 program for the Mac. For most of this technology adventure, I was mainly using the Terminal App on my Mac to navigate the folders and files on my Linode server. It was a real pain as you have to type out commands to get to the right folder. Then I remembered that for many many years, the bloggers and podcasters who love Apple and Mac always praised the Transmit program. I checked it out and purchased it. It was a godsend. It is basically a powerful Graphical User Interface for connecting to servers with SSH connections and navigating and editing files on servers. On its fifth generation, It is a well polished and beautiful app.

Once I started using Transmit to connect to my LInode server, it made life much easier. Transit has a feature where if you have to use the Terimal to make commands on the server, you can go straight from a folder on Transit app to the Termina and put the path from from the server on Terminal. This makes navigating the server much much quicker than doing it with command line instructions on Terminal.

Conclusion

There are many adventures in technology. Our ancestors like Ben Franklin went on their own adventures with tech. It is unfortunate that we are living through this virus pandemic that is destroying lives and taking away our normal life in the outside world. But many of us, with decent computers and Internet connections, are lucky. There are adventures and learning available on our finger tips. Use this time to explore what you don’t know. Take on a project. Take it on just to learn something and see if you can build it. Having set up various WordPress sites, created a Hugo static site, created a Swift static site, created a Jitsi server, and created a Nextcloud server, and all the while reduced my server cost by going to Linode and most importantly, got those SSL locks on my domain addresses, I am now at the end of this adventure.

What adventure comes next? Stay tuned.

Lex.


  1. John Gruber is the famous Apple-related blogger who runs DaringFireball.net  ↩
  2. Aaron Swartz is the genius on the Internet who was prosecuted for trying to make public research university publications that are subsidized by the Federal Government. He committed suicide when the prosecutors insisted he go to jail. Read more on Swartz here.  ↩
  3. Here are instructions on installing it on your Mac from Hugo’s site.  ↩
  4. Github is a famous website for developers. There you can work on codes for programs and apps or web development and work with other developers. It has been around for a long time. Microsoft purchased Github in 2018 for $7.5 billion. That is how popular it was.  ↩
  5. You probably can’t run this Publish Swift program on a non-Mac like Windows as you need something to compile the Swift language which requires Xcode from Apple.  ↩
  6. I found out that Nextcloud is an off shoot of OpenCloud, and that both were created by this man, Frank Karlitschek, a highly talented German developer. He is a big believer in open systems and individuals taking back control of their data.  ↩

John Gruber: Gate's Biggest Mistake

John Gruber:

I don’t think it’s hyperbole to argue that the Mac probably wouldn’t have survived without Office, and possibly without a good version of Office. And in 1997 Apple wouldn’t have survived if the Mac platform hadn’t made a resurgence. Apple’s own iWork suite — Pages, Numbers, Keynote — didn’t ship until 2005. Microsoft Office singlehandedly kept the Mac as a credible platform for classic productivity apps for 8 years.

I disagree with John Gruber that Microsoft Office was key to keeping Apple alive in the late 1990s. Definitely Microsoft investing in Apple having Office programs on the Macintosh helped Apple. But the thing is Microsoft Office, particular Microsoft Word on the Mac sucked compared to Microsoft Office and Microsoft Word on Windows back then. Among other things, if you used Microsoft Word on the Mac and then sent the file to your Windows computer, there were problems with the compatible format. I hardly ever used the Office program on the Mac because I was worried that the Word file would screw up the format when I opened it on Windows.
For decades I have been using Windows at work (for my day job) and at home using a Macintosh. And only in the last 10 years or so has using Microsoft Word on Mac worked well with Microsoft Word on a Windows computer. Back in the late 1990s people who really wanted to use Microsoft Office were definitely getting a Windows computer. No one in enterprise was using a Mac back then if they were mainly using the Microsoft Office. People were getting the Mac because they were enthusiastic about it or because they were working on media, like with video or photos or web etc. For me, I knew that Office sucked on the Mac for many many years. Microsoft Office was so bad on the Mac for so many years that most people wanted to use a virtual computer on their Mac to run Windows and Windows Office. That is how bad Office on the Mac was.
Now the Office Program on the Mac is much better. But I would say that is during the past 10 years. And it is certainly much better on iOS and on the iPad.

Clayton and Natali Morris: Sued for Fraud and Leaving the Country

I was taken aback today when news crossed my desk that Clayton Morris and his wife Natali and their kids moved from New Jersey to Portugal under a cloud of civil litigation alleging that Clayton has committed fraud against various investors in real estate. See the news here (Washington Examiner) and here (USA Today).
Why I am taken aback is for years I have listened to both Clayton and Natli. Both of them were tech people on the internet. For almost 20 years I have been following and listening to Leo Laporte, the king of tech on the internet and podcasting. For many years, both Natali and Clayton, who had separate tech careers, were guests on Leo Laporte’s podcasts. Natali was also co-host of another popular podcasts called Buzz Out Loud. She was then single and known as Natali Del Conti. Clayton Morris for years was the tech guy on Fox’s Fox and Friends. At some point they got married and it was really cool that two tech celebrities on the internet found each other. (Although now an internet search shows me Clayton was married and may have gotten Natali pregnant while married to his first wife.)
So a couple of years ago, I thought they did a weird move. They quit doing tech and instead did a real estate program where they were trying get investors to purchase real estate. I listed to one of the podcasts and I didn’t like it because it sounded like they were trying to make investors believe they could make easy money investing in real estate. Among other things, they created something called Morris Invest and did podcasts telling people how they could make a lot of money through real estate. They also had a Youtube channel pitching investment advice.

I found thier pitches on the podcast and YouTube to be creepy. It sounded like hard pitches and that the Morris were primarily interested in making money.
Well things started coming out about the Morrises this past spring when on March 25, 2019, the New York Times reported various civil suits filed by investors into Clayton Morris pitch accusing him and his company of fraud.
Then within recent days the press has reported that the Morris have left the country and moved to Portugal. Natali Morris confirmed this on her website.
Natatli Morris is claiming that she and her husband are innocent:

Last month my family and I moved abroad. We have many reasons for this but the other day at our visa application appointment, I realized that the main motivation was the same thing that has pushed generations of parents across borders: to seek a better life for their family.
I am not one of those who rejects America. We had a good life there. But my husband and I have had a hard few years in our business and this has forced us to question everything. 1

It is not a smart move for them to move to Portugal while there are all these lawsuits claiming that they swindled various investors. It looks like they are running away with the money to Portugal. If the lawsuits go to trial and they don’t show up they will look guilty for running away. Even if they come back for depositions and a civil trial it still looks bad that they left the country, particularly if they took the money with them.
Also, if they are concerned about a criminal case, it is not a good plan to run away to Portugal.
I keep wondering what Leo Laporte and other tech people on the internet who knew them think about this.
I guess this saga will play out on the coming years.

IOS 12, Siri ShortCuts APP and the PCalc App

Along with being a big fan of Apple, I am a fan of MacStories.Net and Federico Viticci who founded that Apple-centric website from Italy and his writing. What caught my eye recently was a great review of the PCalc App’s update (version 3.8) to take advantage of the APIs that Apple recently in IOS 12 regarding Siri Shortcuts.  Federico really praised how PCalc integrated setting up Siri Shortcuts in the app and he said it was a great model for other apps.  Federico also gave an example about how cool the automation will be in iOS 12 with the Siri Shortcuts and the Shortcut app that Apple released.    You can read Federico’s article here.   
One of the things Federico highlighted was the the PCalc app now allows you to create Siri Shortcuts using the clipboard in iOS as an input.  And he gave an example where PCalc can convert currency to another currency using input from copying a number to the clipboard.  He then explained that after you create some Siri Shortcuts for PCalc, you can then see those Shortcuts in the Shortcut App that Apple created and then you could chain together the shortcuts and name the combination for a shortcuts for that combination.  Basically, the idea is that you can pick a number for the currency you want to convert, and then it will convert it to various currency using the Shortcut App and the Shortcuts that are in PCalc that you created.  
So I tried doing that but I ran into a problem.  When I used the Shortcut App and selected PCalc Shortcuts, the problem was that once it converted one number, it than put the answer in the clipboard, and so the next conversion, rather than using the original number in the clipboard used the new number in the the clipboard.  
For example, I experimented with converting Euro’s to British Pounds and also to the U.S. Dollar.  The input was 100 Euros.  It converted to Pounds correctly, 88.88 Pounds, but then used that number to convert to dollars, instead of 100 Euros.  
So on Twitter I reached out for assistance from Federico and the developer of PCalc, James Thomson, was kind enough to respond also.   Here is what he said.
Blog picture
So James Thomson confirmed that the way PCalc works is that the output is added to the clipboard. 
Referring to features in the Shortcuts App, Mr. Thomson suggested the following that could be a possible fix.
Blog pics 2  
Well with that solution, I found a workaround.  And while I used the clipboard, I also added a feature where the Shortcut prompts me to fill in a number for the Euro, and then it first tells me that the first conversion number was an English Pound, and then when I was ready give me the Pound conversion number, and then tells me the next conversion is the U.S. Dollar, and the answer for the conversion to the Dollar, and then tell me the next conversion was the Chinese Yuan, and then the conversion answer.  
In the Shortcut App here is how I did it.  First, I used the scripting function “Ask for Input” where I set the question for the prompt to be “Enter Euro.”  That prompts an input and I set the value to “number” as I want a number, the value of the Euro I want to convert.
Then I add the script “Get Variable” and I set the “Magic Variable” to the “Ask the for Input.”  This grabs the input and then passes on that variable to the next step, the script “Copy to Clipboard.”  The number I input becomes a variable which was then pasted into the Clipboard.  Because when I first did this the output was just a number without a label, I inserted a script to first label what the next number that was shown would be.  So I installed a script “Show Result”  and typed in Pounds.  This shows the word “Pound” before the conversion number is revealed.  The next step was that I added the Siri Shortcut I created in PCalc, which take the variable I added to the clipboard and converting the Euro number to the Pound number.
 
I repeated these 5 steps for the conversion to Dollars and Yuan.  So all together 15 steps.  The trick is because each time, the “Get Variable” is set to “Ask for Input” and then pastes into the clipboard, the clipboard for the subsequent conversions is not the output from PCalc’s prior conversion, but instead the original input that I typed in. That way, for example, if I convert 100 Euros, each conversion uses my original 100 Euro input.  
Here is a video showing how it works.  
ScreenRecording_09-17-2018 20-24-45.m4v
I agree with Federico that PCalc’s implementation of Siri Shortcuts is really great.  You should check out Macstories.net and PCalc. 

Using the Wavelength App from Micro.Blog To Podcast

One of the reasons I signed up for the Micro.Blog service is because recently it created a great way to podcast using a new free app on the iPhone, Wavelength.  You pay $10 per month for Micro.Blog to host the podcast and it automatically creates a podcast feed that you can put into iTunes and other podcast apps. (More of that later in this post). 
The app is pretty straight forward and it works with the built in mic on the iPhone but also with microphones that are connected to the iPhone.  
This is what the Wavelength app looks like when you add it and open it.
IMG 1531
Here I have the the first podcast that I created.
IMG 1532
An Overview.
If you click on one of your podcast episodes, like I did above, you get the sub audio files that are part of that podcast episode.    On of the cool things is you can rearrange the sub-audio files for the podcast episode.  When you send the episode up to Micro.Blog’s servers, it stitches them together.  
But how do you add intro music, or zingers or other audio files that you didn’t record on the microphone to your podcast episode?
IMG 1537 
If you click on the + sign when you are editing a podcast episode, you can add a new recording to that episode or you can add a file.   Well adding a file is how you add music or a prerecorded opening or prerecorded ending.  
On my iPhone, when I click that Files button, I get the following “Locations” on my iPhone that I can open.  See below. 
IMG 1539
I am not sure why other cloud services are not being shown, like Dropbox or Google Drive. (Note that BitTorrent Sync is being shown in addition to iCloud Drive.)  You can add music from your iCloud file drive on your iPhone.  And then when you put that file in your podcast episode, you can drag that file to the opening or ending or somewhere else depending where you want it.
When you are editing an episode and you click on a file, you can do some rudimentary editing.  See below.
IMG 1533
Essentially you can split the file and also use a zoom button to look closer to the audio waves.  I suspect that the developer, Manton Reese, will add more editing features to this app if a lot of people sign up for the $10 plan for podcasting.
One feature I would really like to have is the ability for other audio apps to easily share to the Wavelength app. The share button on a lot of audio apps, like Ferrite, a great audio editing app, allow you to share a file to other audio apps.  Unfortunately, none of my other iOS audio apps can find Wavelength to share their audio file to the Wavelength apps.   Similarly, Wavelength doesn’t have a share button to make it easier to share the audio file to another audio app on iOS.  
Wavelength makes it really easy to create and post a podcast right from your iOS device.  For that reason, it would be great if Mr. Reese made it very easy to share files to and from the Wavelength app with other iOS apps. Then Mr. Reese wouldn’t have to add editing features on Wavelength.  One could use an app like Ferrite, which has many editing and multitrack features, and have it directly share to Wavelength.  Right now, the workaround appears to be to have another app like Ferrite record your podcast and share it to an iCloud folder that Wavelength can import.  But you can only import it into a podcast episode you already created.  You can’t import it into a brand new podcast episode.  The workaround is to create a few seconds of a new podcast, open it to edit and than add the new audio file from the iCloud and delete then the initial audio you recorded.  This isn’t ideal. But its a brand new app, and these type of basic features, like making it easy to important and export audio should be added.  
I should note that there is no easy way to save audio you created on Wavelength to another app. The only place you can send  it before you send it to Micro.Blog is a service in the cloud that cleans up your file.  Its called Auphonic.om and it gives you 2 hours per month of free audio file clean ups.  After that, it is $11 per month for 9 hours per month of audio clean up.  Basically, when you are ready to post your podcast episode to the your Micro.Blog account, and in settings you signed up for an Auphonoic account, Wavelength first sends the file to Auphonic.com which processes it and a few minutes later sends it back to Wavelength which then posts it to Micro.Blog.  
Main Settings for Wavelength in iPhone Settings
The main settings for Wavelength in the settings section of iOS are pretty limited  You can put off and on 1) allowing the app to use your microphone on the iPhone; 2) you can allow Siri and Search to use the Wavelength app; and 3) you can put on and off the cellular data to be used by Wavelength.  I am sure as this app matures Mr. Reese will put in more things into the settings.
IMG 1540
Posting to iTunes.
If you want to post to iTunes or other Podcast directories, you have to find the feed for your podcast.  Mr. Reese, answered my question regarding where I could find my podcast feed when I emailed the support for Micro.Blog.  Your feed is your URL for your Micro.Blog plus /podcast.xml.  It is that simple.   Here is my podcast feed. 

http://macsfuture.micro.blog/ podcast.xml

I submitted to iTunes and I am waiting for it to be approved.
Conclusion
Overall, this is a great service and easy way to podcast. I think it is definitely worth $10 per month. 

Are Services like Micro.Blog the answer to Problems like Facebook, Twitter and Fake News?

Recently, I have entered a Renaissance. Long after having abandoning blogging and podcasting, I have decided to start blogging and podcasting again. I was motivated listening to Mason Reece and Danial Jalkut, on their podcast, CoreIntuition. Both of them are long term developers on the Macintosh and iOS. Mr. Jalkut has long developed MarsEdit, which is a program on the Mac to blog and handling websites on different services.
For several years, I have listened to them talk about developing software and discussing the web and Apple. In recent years, Mr. Reece has discussed creating a web service called Micro.Blog. My understanding of this service is that it would be an open service on the Internet to micro blog, which is sort of like what you do on social networks like Twitter, and Facebook where you write short posts. One of the key difference between Mr. Reece’s project and Twitter and Facebook is that with his micro blog service the real customers would be the users and not advertiser. Mr. Reece pointed out that on Twitter and Facebook you don’t control your posts and work. Twitter and Facebook control your own work. And because they are free service, you are not really the customer, rather advertisers are the real customers as they are the ones who pay Twitter and Facebook.
So Mr. Reece created Micro.Blog, with the goal to create a service where the users are the real customers. It is free to use if you want to host it on your own WordPress blog (self-hosted). Alternatively, for $5 per month, his service, Micro.blog, gives you your own url sub-website and you can post your micro posts on that site.
Here is the key thing: By requiring users to pay $5 per month to have a sub-website on Micro.Blog, Mr. Reece is sending the message that the user is his real customer. And this is important, because we have seen that when these things are free, eventually the users are getting screwed. Twitter and Facebook are showing that when a social network is free, it can eventually became terrible for real users. Twitter in recent years has become filed with bots that post advertisement or worse, they post fake news. Similarly, Facebooks news feeds has been filled with creepy advertisements and of course fake news that possibly swayed the last presidential election. And now we find out that millions of users on Facebook had personal data take by entities for nefarious users. The answer is that social networks will be better off if there is a true cost to being a user.
When MySpace.com was at its zenith, Facebook was created and overtook it because MySpace had become a cesspool with junky accounts and Facebook offered quality. Facebook offered quality because you had to have a real identity. Initially you had to have a Harvard.Edu email account and later .Edu email accounts at other colleges and school. Facebook became the place where real identities had be used. This insured that real people and not fake accounts were in that social network. The problem with Facebook’s business model is that since it wasn’t charging users, it had to make revenue from advertisers. And to get advertiser, Facebook had to get more users, which resulted in Facebook making it easy for anyone to create an account, including fake accounts.  As Facebook grew its users, it grew its advertiser base.  And advertising has eroded the enjoyment of the service. Same with Twitter. Even worse, free for users meant that there is no friction for those who want to create bots and fake accounts to flood Facebook and Twitter. Free means a troll can open an account, and if its closed, it can open another account.
So the answer to creating a social network that doesn’t devolve may be what Mr. Reece has created. $5 per month is too great a cost for trolls and the creators of bots to flood Micro.Blog with users accounts. $5 per month helps keep the crud off of the social network. But it also not just about that. Micro.Blog is also about the movement to allow the users to control their own data. Mr. Reece has made it easy to use his micro blogging service for free on one’s own blog. But if you pay him to host it, he has made it easy to save your data and also to cross-post the micro posts to services like Twitter.
In the spirit of control, I have also hosted my main blog, MacsFuture.com on a web server hosting site, A SmallOrange and used WordPress software to set up the site. This way I can easily take my website to another web server host if I don’t like SmallOrange.com to host it.  Now I give up something by doing this. There are much larger users on social networks like Facebook, Twitter and Instagram than on Micro.Blog and those who come across my WordPress site. So I am likely to get fewer eyeballs looking at anything I post. But if we are going to take back the Web and keep it independent and in control of small users, we need to pursue sites like Micro.Blog. Sites that are not cynical about the user.
So let the experiment begin.